]> git.ipfire.org Git - thirdparty/gcc.git/blob - libstdc++-v3/ChangeLog
configure.target (freebsd*): Use abi_baseline_triplet.
[thirdparty/gcc.git] / libstdc++-v3 / ChangeLog
1 2002-10-18 Loren J. Rittle <ljrittle@acm.org>
2
3 * configure.target (freebsd*): Use abi_baseline_triplet.
4 * config/abi/i386-unknown-freebsd4/baseline_symbols.txt: New file.
5
6 2002-10-18 Loren J. Rittle <ljrittle@acm.org>
7 Brad Spencer <spencer@infointeractive.com> (provided alternate
8 patch and improvements)
9
10 * docs/html/23_containers/howto.html (GLIBCPP_FORCE_NEW): Document
11 new environment variable which replaces all uses of __USE_MALLOC
12 macro.
13 * docs/html/ext/howto.html (GLIBCPP_FORCE_NEW): Likewise.
14 (__mem_interface): Remove all references to old internal typedef.
15 * include/backward/alloc.h (__USE_MALLOC): Remove it and all
16 guarded code.
17 * include/bits/c++config (__USE_MALLOC): Update related error
18 message and comment.
19 * include/bits/stl_alloc.h (__USE_MALLOC): Remove it and all
20 guarded code. Update all related comments.
21 (__mem_interface): Unconditionally replace it with __new_alloc.
22 However, leave the typedef around in case anyone used it.
23 (__default_alloc_template<>::_S_force_new): New class static.
24 (__default_alloc_template<>::allocate, deallocate): Add
25 run-time controlled feature similar to what __USE_MALLOC code
26 path had provided.
27 * src/stl-inst.cc (__USE_MALLOC): Remove it and all
28 guarded code.
29 * testsuite/21_strings/capacity.cc: Remove reference to __USE_MALLOC.
30 Add documentation on GLIBCPP_FORCE_NEW environment variable.
31 * testsuite/ext/allocators.cc: Likewise.
32
33 2002-10-18 Phil Edwards <pme@gcc.gnu.org>
34
35 * configure.in: Use target, not target_alias, when matching triplet
36 patterns.
37 * configure: Regenerate.
38
39 2002-10-17 Momchil Velikov <velco@fadata.bg>
40 Loren J. Rittle <ljrittle@acm.org>
41
42 * configure.in: Add *-freebsd* to cross list.
43 * configure: Rebuilt.
44
45 2002-10-16 Benjamin Kosnik <bkoz@redhat.com>
46
47 * include/bits/locale_facets.h (__timepunct::__timepunct): Allocate
48 _M_name_timepunct.
49 (__timepunct::~__timepunct): Deallocate, remove specialization
50 declarations.
51 (messages::messages): Allocate _M_name_messages.
52 (messages::~messages): Deallocate.
53 (messages_byname): Same.
54 * config/locale/gnu/time_members.cc (__timepunct::~__timepunct):
55 Remove.
56 * config/locale/generic/time_members.cc (__timepunct::~__timepunct):
57 Remove.
58
59 * docs/html/install.html: Add es_MX, en_PH to required locales list.
60
61 2002-10-16 Benjamin Kosnik <bkoz@redhat.com>
62
63 * config/linker-map.gnu: Add exports for codecvt constructors
64 where size_t == unsigned long.
65
66 2002-10-14 Benjamin Kosnik <bkoz@redhat.com>
67
68 * src/globals.cc (__gnu_cxx::c_locale_impl_compat): Add, alias to
69 c_locale_impl.
70 * testsuite/abi_check.cc (line_to_symbol_info): Collect size info.
71 * docs/html/abi.txt: Update.
72
73 2002-10-14 Benjamin Kosnik <bkoz@redhat.com>
74
75 * testsuite/22_locale/static_members.cc (test02): Less provincial.
76
77 2002-10-14 Benjamin Kosnik <bkoz@redhat.com>
78
79 * testsuite/22_locale/static_members.cc (test02): Disable for
80 systems without named locale support.
81 * testsuite/22_locale/ctor_copy_dtor.cc (test04): Don't assume
82 running the testsuites in "C" environment.
83 Add new tests.
84 * docs/html/22_locale/locale.html: Update.
85
86 2002-10-13 Danny Smith <dannysmith@users.sourceforge.net>
87
88 * include/bits/stl_threads.h (_GLIBCPP_mutex,
89 _GLIBCPP_mutex_init,_GLIBCPP_mutex_address,
90 _GLIBCPP_mutex_address_init, _GLIBCPP_once):
91 Declare in namespace __gnu_cxx.
92 (_STL_mutex_lock::_M_initialize): Qualify __gnu_cxx
93 names.
94 Adjust copyright.
95
96 2002-10-12 Benjamin Kosnik <bkoz@redhat.com>
97
98 * testsuite/abi_check.cc (hash<string>): Specialize.
99 Simplify. Check compatible symbol versions.
100 * config/linker-map.gnu: Clarify, explicitly export
101 std::codecvt::c* symbols.
102
103 * testsuite/22_locale/static_members.cc (test02): Avoid null strings.
104
105 2002-10-12 Jonathan Wakely <jw@kayari.org>
106 Gabriel Dos Reis <gdr@integrable-solutions.net>
107
108 * docs/html/21_strings/howto.html#5: Correct nasting of XHTML
109 elements. Correct allocator-related text.
110
111 2002-10-11 Benjamin Kosnik <bkoz@redhat.com>
112
113 * testsuite/22_locale/static_members.cc (test02): Fix.
114
115 2002-10-11 Benjamin Kosnik <bkoz@redhat.com>
116
117 * acconfig.h (_GLIBCPP_SYMVER): Add.
118 (_GLIBCPP_ASM_SYMVER): Add.
119 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Define _GLIBCPP_SYMVER.
120 * aclocal.m4: Regenerate.
121 * config.h.in: Regenerate.
122 * configure: Regenerate.
123 * include/bits/c++config (_GLIBCPP_AT_AT): Define, as an expedient
124 hack around m4 issues with quoting '@'.
125 * src/locale.cc: Use _GLIBCPP_ASM_SYMVER.
126 * src/globals.cc: Same.
127
128 * testsuite/22_locale/ctor_copy_dtor.cc (test04): Fix for
129 non-glibc systems.
130
131 2002-10-10 Benjamin Kosnik <bkoz@redhat.com>
132
133 * config/linker-map.gnu (GLIBCPP_3.2.1): Add.
134 (GLIBCPP_3.2): Don't export locale::_S_*.
135 * src/ios.cc: Move globals into __gnu_cxx. Make old exported
136 symbols match.
137 * src/locale.cc: Same.
138 * src/localename.cc: Same.
139 * src/globals.cc: Same.
140
141 2002-10-10 Phil Edwards <pme@gcc.gnu.org>
142
143 * docs/html/21_strings/howto.html: Write #5, char_traits.
144 * docs/html/17_intro/porting.texi: Expand on os_include_dir.
145 * docs/html/17_intro/porting.html: Regenerate.
146
147 2002-10-09 Benjamin Kosnik <bkoz@redhat.com>
148
149 * src/locale.cc: Fix comments, move ctors together.
150 * testsuite/22_locale/static_members.cc (test03): Add.
151
152 2002-10-08 Jonathan Lennox <lennox@cs.columbia.edu>
153
154 PR libstdc++/8071, libstdc++/8127, libstdc++/6745
155 * streambuf.tcc (__copy_streambufs): Handle cases where
156 __sbin->in_avail() returns 0, or where __sbin doesn't set gptr().
157 * testsuite/27_io/ostream_inserter_other.cc (test05): Add.
158
159 2002-10-08 Paolo Carlini <pcarlini@unitus.it>
160 Benjamin Kosnik <bkoz@redhat.com>
161
162 * include/bits/localefwd.h (class locale): Add static member
163 _S_num_extra_categories, encoding the number of additional
164 categories.
165 Change _S_num_categories to _S_categories_size.
166 (class locale::_Impl): Add _M_c_cats.
167 (class locale::_Impl::_M_names): Change to array of chars.
168 (class locale::_Impl::_M_check_same_name): Use
169 _S_extra_categories_size, tweak.
170 (locale::locale(const locale&, _Facet*)): Ditto.
171 * src/locale.cc (locale::locale(const char* )): Rewrite to deal
172 with the environment in a POSIX-compliant way while being thread
173 safe.
174 (locale::name()): Update to output POSIX environment strings.
175 * src/localename.cc
176 (locale::_Impl::_Impl(const _Impl&, size_t): Use
177 _S_categories_size_*, tweak.
178 (locale::_Impl::_Impl(facet**, size_t, bool)): Ditto.
179 (locale::_Impl::_Impl(const char*, size_t)): Name each category
180 individually.
181 (locale::_Impl::_M_replace_categories): Use strcpy.
182
183 * include/bits/locale_facets.h (numpunct::_M_initialize_numpunct):
184 Change default argument to NULL from _S_c_locale.
185 (timepunct::_M_initialize_timepunct): Same.
186 _S_c_locale cleanups.
187 * src/codecvt.c: _S_c_locale simplification.
188 * src/ctype.c: Same.
189 * src/globals.cc: Add fake_name.
190 * src/locale-inst.cc: Remove extra includes.
191 * src/locale.cc: Remove extra includes.
192 Add _S_extra_categories_size definition.
193 Correct "C" initialization.
194 (locale::facet::facet): Don't initialize _S_c_locale.
195 (locale::facet::_M_remove_reference): Adjust.
196 * src/localename: Use facet_vec, facet_name.
197 (locale::_Impl::_Impl(facet** __f, size_t __refs, bool)): Set
198 facet ref counts to one. Initialize _S_c_locale.
199 (locale::_Impl::_M_install_facet(id*, facet*)): Adjust facet ref
200 counts when installing unilaterally.
201
202 * config/locale/generic/c_locale.cc: Add _S_categories definition.
203 * config/locale/generic/c_locale.h: Add _GLIBCPP_NUM_CATEGORIES macro.
204 * config/locale/generic/time_members.cc: _S_c_locale cleanup.
205
206 * config/locale/gnu/c_locale.cc: Add _S_categories definition.
207 (_S_destroy_c_locale): Move checks against _S_c_locale here.
208 * config/locale/gnu/c_locale.h: Add _GLIBCPP_NUM_CATEGORIES macro.
209 * config/locale/gnu/ctype_members.cc: Simplify _S_destroy_c_locale
210 calls, _S_c_locale usage.
211 * config/locale/gnu/monetary_members.cc: Same, tweaks.
212 * config/locale/gnu/monetary_members.cc: Same.
213 * config/locale/gnu/time_members.cc: Same.
214 * config/os/gnu-linux/ctype_noninline.h: Use locale::classic().
215
216 * docs/html/22_locale/locale.html: Add bits about global locales
217 and "C" setlocale.
218
219 * testsuite/22_locale/facet.cc (test02): Add.
220 * testsuite/22_locale/static_members.cc (test02): Add.
221 * testsuite/22_locale/ctor_copy_dtor.cc (test04): Add.
222
223 2002-10-07 Jonathan Wakely <jw@kayari.org>
224
225 * docs/html/configopts.html, docs/html/documentation.html,
226 docs/html/explanations.html, docs/html/install.html,
227 docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
228 docs/html/17_intro/license.html, docs/html/18_support/howto.html,
229 docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
230 docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
231 docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
232 docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
233 docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
234 docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
235 docs/html/27_io/howto.html, docs/html/ext/howto.html,
236 docs/html/ext/sgiexts.html, docs/html/faq/index.html: Add DOCTYPEs.
237
238 2002-10-03 Richard Earnshaw <rearnsha@arm.com>
239
240 PR libstdc++/3584
241 * config/cpu/arm/atomicity.h (__exchange_and_add): Don't try to use
242 ASM sequences that don't give us atomic addition operations. Instead
243 just add a comment explaining why it doesn't work.
244 (__atomic_add): Just use __exchange_and_add.
245 (__test_and_set, __always_swap): Delete.
246
247 2002-10-02 Andreas Jaeger <aj@suse.de>
248
249 * config/abi/x86_64-unknown-linux-gnu/baseline_symbols.txt:
250 New file.
251
252 2002-10-01 Phil Edwards <pme@gcc.gnu.org>
253
254 * Makefile.am (check-abi): Add @ to rule.
255 * Makefile.in: Regenerated.
256
257 2002-09-27 Paolo Carlini <pcarlini@unitus.it>
258
259 * include/bits/locale_facets.tcc (num_put::_M_widen_int):
260 Deal correctly with grouped, showbased (oct or hex) zero.
261 * testsuite/22_locale/num_put_members_char.cc: Add test05.
262 * testsuite/22_locale/num_put_members_wchar_t.cc: Ditto.
263
264 2002-09-27 Richard Henderson <rth@redhat.com>
265
266 * config/os/hpux/cpu_limits.h: Remove.
267
268 * include/std/std_limits.h (numeric_limits<T>::is_iec559): False
269 if denormals are not supported.
270
271 2002-09-25 Benjamin Kosnik <bkoz@redhat.com>
272
273 * include/Makefile.am (target_headers): Remove cpu_limits.h.
274 * include/Makefile.in: Regenerate.
275 * configure.in (CPU_LIMITS_INC_SRCDIR): Remove
276 * configure: Regenerate.
277 * configure.target (CPULIMITS): Remove.
278
279 * include/std/std_limits.h: Remove cpu_limits.h include.
280
281 * config/os/solaris/solaris2.7/os_defines.h (__glibcpp_long_bits):
282 Remove.
283 * config/os/irix/irix6.5/os_defines.h
284 (__glibcpp_long_double_bits): Remove.
285 (__glibcpp_wchar_t_bits): Remove.
286 (__glibcpp_long_bits): Remove.
287 * config/os/irix/irix5.2/os_defines.h
288 (__glibcpp_long_double_bits): Remove.
289 (__glibcpp_long_bits): Remove.
290 * config/os/hpux/os_defines.h (__glibcpp_wchar_t_is_signed): Remove.
291 * config/os/bsd/freebsd/os_defines.h:
292 (__glibcpp_long_double_bits): Remove.
293 * config/os/aix/os_defines.h (__glibcpp_wchar_t_bits): Remove.
294 (__glibcpp_wchar_t_is_signed): Remove.
295 (__glibcpp_long_bits): Remove.
296 * config/os/gnu-linux/os_defines.h (__glibcpp_long_bits): Remove.
297 (__glibcpp_long_double_bits): Remove.
298
299 * config/os/osf/osf5.0/cpu_limits.h: Remove.
300 * config/cpu/alpha/cpu_limits.h: Remove.
301 * config/cpu/arm/cpu_limits.h: Remove.
302 * config/cpu/cris/cpu_limits.h: Remove.
303 * config/cpu/generic/cpu_limits.h: Remove.
304 * config/cpu/generic/limits.h: Remove.
305 * config/cpu/ia64/cpu_limits.h: Remove.
306 * config/cpu/m68k/cpu_limits.h: Remove.
307 * config/cpu/mmix/cpu_limits.h: Remove.
308 * config/cpu/powerpc/cpu_limits.h: Remove.
309 * config/cpu/S390/cpu_limits.h: Remove.
310
311 2002-09-25 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
312
313 * testsuite/18_support/numeric_limits.cc: Check the maximum and
314 minimum values of the wchar_t type.
315
316 2002-09-25 Mark Mitchell <mark@codesourcery.com>
317
318 * include/std/std_limits.h (numeric_limits<unsigned char>::digits):
319 Fix typo.
320
321 2002-09-23 Richard Henderson <rth@redhat.com>
322
323 * include/std/std_limits.h (__glibcpp_plain_char_is_signed,
324 __glibcpp_wchar_t_is_signed, __glibcpp_s8_max, __glibcpp_s8_min,
325 __glibcpp_s8_digits, __glibcpp_s8_digits10, __glibcpp_u8_min,
326 __glibcpp_u8_max, __glibcpp_u8_digits, __glibcpp_u8_digits10,
327 __glibcpp_s16_max, __glibcpp_s16_min, __glibcpp_s16_digits,
328 __glibcpp_s16_digits10, __glibcpp_u16_min, __glibcpp_u16_max,
329 __glibcpp_u16_digits, __glibcpp_u16_digits10, __glibcpp_s32_max,
330 __glibcpp_s32_min, __glibcpp_s32_digits, __glibcpp_s32_digits10,
331 __glibcpp_u32_min, __glibcpp_u32_max, __glibcpp_u32_digits,
332 __glibcpp_u32_digits10, __glibcpp_s64_max, __glibcpp_s64_min,
333 __glibcpp_s64_digits, __glibcpp_s64_digits10, __glibcpp_u64_min,
334 __glibcpp_u64_max, __glibcpp_u64_digits, __glibcpp_u64_digits10,
335 __glibcpp_bool_digits, __glibcpp_signed_char_min,
336 __glibcpp_signed_char_max, __glibcpp_signed_char_digits,
337 __glibcpp_signed_char_digits10, __glibcpp_unsigned_char_min,
338 __glibcpp_unsigned_char_max, __glibcpp_unsigned_char_digits,
339 __glibcpp_unsigned_char_digits10, __glibcpp_char_min,
340 __glibcpp_char_max, __glibcpp_char_digits, __glibcpp_char_digits10,
341 __glibcpp_signed_short_min, __glibcpp_signed_short_max,
342 __glibcpp_signed_short_digits, __glibcpp_signed_short_digits10,
343 __glibcpp_unsigned_short_min, __glibcpp_unsigned_short_max,
344 __glibcpp_unsigned_short_digits, __glibcpp_unsigned_short_digits10,
345 __glibcpp_signed_int_min, __glibcpp_signed_int_max,
346 __glibcpp_signed_int_digits, __glibcpp_signed_int_digits10,
347 __glibcpp_unsigned_int_min, __glibcpp_unsigned_int_max,
348 __glibcpp_unsigned_int_digits, __glibcpp_unsigned_int_digits10,
349 __glibcpp_signed_long_min, __glibcpp_signed_long_max,
350 __glibcpp_unsigned_long_digits, __glibcpp_unsigned_long_digits10,
351 __glibcpp_signed_long_long_min, __glibcpp_signed_long_long_max,
352 __glibcpp_signed_long_long_digits, __glibcpp_signed_long_long_digits10,
353 __glibcpp_wchar_t_min, __glibcpp_wchar_t_max, __glibcpp_wchar_t_digits,
354 __glibcpp_wchar_t_digits10): Remove.
355 (__glibcpp_byte, __glibcpp_word_bits, __glibcpp_word): Remove.
356 (__float_storage, __double_storage, __long_double_storage): Remove.
357 (__glibcpp_signed, __glibcpp_min, __glibcpp_max): New.
358 (__glibcpp_digits, __glibcpp_digits10): New.
359 (numeric_limits<T>::min): Use __glibcpp_min or limits.h builtins.
360 (numeric_limits<T>::max): Use __glibcpp_max or limits.h builtins.
361 (numeric_limits<T>::is_signed, T=char,wchar_t): Use __glibcpp_signed.
362 (numeric_limits<T>::digits): Use __glibcpp_digits.
363 (numeric_limits<T>::digits10): Use __glibcpp_digits10.
364 * testsuite/18_support/numeric_limits.cc (test03): Don't use
365 __glibcpp_s8_digits10 et al; check vs the installed versions
366 of digits10 for particular sizes.
367
368 * include/std/std_limits.h (__glibcpp_float_is_modulo,
369 __glibcpp_double_is_modulo, __glibcpp_long_double_is_modulo): Kill.
370 (numeric_limits<T>::is_modulo, T floating): Use false.
371
372 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
373
374 * Makefile.am (all-multi): Fix multilib parallel build.
375
376 2002-09-22 Richard Henderson <rth@redhat.com>
377
378 * include/std/std_limits.h (__glibcpp_f32_round_error,
379 __glibcpp_f64_round_error, __glibcpp_f80_round_error,
380 __glibcpp_f96_round_error, __glibcpp_f128_round_error,
381 __glibcpp_float_round_error, __glibcpp_double_round_error,
382 __glibcpp_long_double_round_error, __glibcpp_float_round_style,
383 __glibcpp_double_round_style, __glibcpp_long_double_round_style): Kill.
384 (numeric_limits<char>::epsilon, round_error): Use constant 0.
385 (numeric_limits<float>::round_error): Use constant 0.5.
386 (numeric_limits<float>::round_style): Use round_to_nearest.
387 (numeric_limits<double>, numeric_limits<long double>): Similarly.
388
389 * include/std/std_limits.h (__glibcpp_f32_is_iec559,
390 __glibcpp_f64_is_iec559, __glibcpp_f80_is_iec559,
391 __glibcpp_f96_is_iec559, __glibcpp_f128_is_iec559,
392 __glibcpp_float_is_iec559, __glibcpp_double_is_iec559,
393 __glibcpp_long_double_is_iec559): Remove.
394 (numeric_limits<float>::is_iec559): Use has_infinity & has_quiet_NaN.
395 (numeric_limits<double>, numeric_limits<long double>): Similarly.
396
397 * include/std/std_limits.h (__glibcpp_integral_traps): New.
398 (__glibcpp_char_traps, __glibcpp_short_traps, __glibcpp_int_traps,
399 __glibcpp_long_traps, __glibcpp_wchar_t_traps,
400 __glibcpp_long_long_traps, __glibcpp_plain_char_traps,
401 __glibcpp_signed_char_traps, __glibcpp_unsigned_char_traps,
402 __glibcpp_signed_short_traps, __glibcpp_unsigned_short_traps,
403 __glibcpp_signed_int_traps, __glibcpp_unsigned_int_traps,
404 __glibcpp_signed_long_traps, __glibcpp_unsigned_long_traps,
405 __glibcpp_signed_long_long_traps, __glibcpp_unsigned_long_long_traps,
406 __glibcpp_char_is_modulo, __glibcpp_signed_char_is_modulo,
407 __glibcpp_signed_short_is_modulo, __glibcpp_signed_int_is_modulo,
408 __glibcpp_signed_long_is_modulo, __glibcpp_signed_long_long_is_modulo,
409 __glibcpp_wchar_t_is_modulo, __glibcpp_float_is_bounded,
410 __glibcpp_double_is_bounded, __glibcpp_long_double_is_bounded): Kill.
411 (numeric_limits<T>::traps, T integral): Use __glibcpp_integral_traps.
412 (numeric_limits<T>::is_modulo, T integral): Use true.
413 (numeric_limits<T>::is_bounded, T floating): Use true.
414
415 2002-09-18 Loren J. Rittle <ljrittle@acm.org>
416
417 * testsuite/18_support/numeric_limits.cc (test_epsilon): New.
418
419 2002-09-18 Richard Henderson <rth@redhat.com>
420
421 * testsuite/18_support/numeric_limits.cc: Add -mieee for alpha.
422
423 2002-09-16 Benjamin Kosnik <bkoz@redhat.com>
424
425 * include/c_shadow: Remove.
426 * include/bits/generic_shadow.h: Remove.
427 * include/Makefile.am: Remove generic_shadow.h.
428 * acinclude.m4: Remove c_shadow references.
429 * aclocal.m4: Regenerate.
430 * configure: Regenerate.
431 * mkcshadow: Remove.
432 * mkinclosure: Remove.
433
434 2002-09-16 Loren J. Rittle <ljrittle@acm.org>
435
436 libstdc++/7922
437 * include/ext/stl_rope.h (rope<>): Qualify dependent names
438 with `typename'.
439
440 2002-09-16 Richard Henderson <rth@redhat.com>
441
442 * include/std/std_limits.h (__glibcpp_f32_QNaN_bytes,
443 __glibcpp_f32_has_QNaN, __glibcpp_f32_SNaN_bytes,
444 __glibcpp_f32_has_SNaN, __glibcpp_f64_QNaN_bytes,
445 __glibcpp_f64_has_QNaN, __glibcpp_f64_SNaN_bytes,
446 __glibcpp_f64_has_SNaN, __glibcpp_f80_QNaN_bytes,
447 __glibcpp_f80_has_QNaN, __glibcpp_f80_SNaN_bytes,
448 __glibcpp_f80_has_SNaN, __glibcpp_f96_QNaN_bytes,
449 __glibcpp_f96_has_QNaN, __glibcpp_f96_SNaN_bytes,
450 __glibcpp_f96_has_SNaN, __glibcpp_f128_QNaN_bytes,
451 __glibcpp_f128_has_QNaN, __glibcpp_f128_SNaN_bytes,
452 __glibcpp_f128_has_SNaN, __glibcpp_float_QNaN_bytes,
453 __glibcpp_float_has_QNaN, __glibcpp_float_SNaN_bytes,
454 __glibcpp_float_has_SNaN, __glibcpp_double_QNaN_bytes,
455 __glibcpp_double_has_QNaN, __glibcpp_double_SNaN_bytes,
456 __glibcpp_double_has_SNaN, __glibcpp_long_double_QNaN_bytes,
457 __glibcpp_long_double_has_QNaN, __glibcpp_long_double_SNaN_bytes,
458 __glibcpp_long_double_has_SNaN): Remove.
459 (__glibcpp_f128_is_iec559): True if IEEE.
460 (__glibcpp_float_QNaN, __glibcpp_float_SNaN): Remove.
461 (__glibcpp_double_QNaN, __glibcpp_double_SNaN): Remove.
462 (__glibcpp_long_double_QNaN, __glibcpp_long_double_SNaN): Remove.
463 (std::numeric_limits<float>::has_quiet_NaN): Use __builtin_nanf.
464 (std::numeric_limits<float>::has_signaling_NaN): Mirror has_quiet_NaN.
465 (std::numeric_limits<float>::quiet_NaN): Use __builtin_nanf.
466 (std::numeric_limits<float>::signaling_NaN): Use __builtin_nansf.
467 (std::numeric_limits<double>): Similarly.
468 (std::numeric_limits<long double>): Similarly.
469 * src/limits.cc (__glibcpp_float_QNaN, __glibcpp_float_SNaN): Remove.
470 (__glibcpp_double_QNaN, __glibcpp_double_SNaN): Remove.
471 (__glibcpp_long_double_QNaN, __glibcpp_long_double_SNaN): Remove.
472
473 * testsuite/18_support/numeric_limits.cc (test_infinity): New.
474 (test_denorm_min, test_qnan, test_is_iec559): New.
475
476 2002-09-16 Phil Edwards <pme@gcc.gnu.org>
477
478 * testsuite/abi_check.cc: Pull shell fragments out into...
479 * config/abi/extract_symvers: ...here. New file.
480 * Makefile.am (check_abi): Change to match.
481 (new-abi-baseline): New target.
482 * Makefile.in: Regenerated.
483
484 2002-09-16 Richard Henderson <rth@redhat.com>
485
486 * include/std/std_limits.h (__glibcpp_f32_denorm_min_bytes,
487 __glibcpp_f32_has_denorm, __glibcpp_f64_denorm_min_bytes,
488 __glibcpp_f64_has_denorm, __glibcpp_f80_denorm_min_bytes,
489 __glibcpp_f80_has_denorm, __glibcpp_f96_denorm_min_bytes,
490 __glibcpp_f96_has_denorm, __glibcpp_f128_denorm_min_bytes,
491 __glibcpp_f128_has_denorm, __glibcpp_float_denorm_min_bytes,
492 __glibcpp_float_has_denorm, __glibcpp_double_denorm_min_bytes,
493 __glibcpp_double_has_denorm, __glibcpp_long_double_denorm_min_bytes,
494 __glibcpp_long_double_has_denorm): Remove.
495 (__glibcpp_float_denorm_min, __glibcpp_double_denorm_min,
496 __glibcpp_long_double_denorm_min): Remove.
497 (std::numeric_limits<float>::has_denorm): Use __FLT_DENORM_MIN__.
498 (std::numeric_limits<float>::denorm_min): Likewise.
499 (std::numeric_limits<double>): Similarly.
500 (std::numeric_limits<long double>): Similarly.
501 * src/limits.cc (__glibcpp_float_denorm_min,
502 __glibcpp_double_denorm_min, __glibcpp_long_double_denorm_min): Remove.
503
504 2002-09-13 Andy Felt <afelt@uwsp.edu>
505
506 * docs/html/17_intro/howto.html: Update link.
507
508 2002-09-13 Phil Edwards <pme@gcc.gnu.org>
509
510 * docs/doxygen/run_doxygen: Massage man page for Iterator_types.3.
511 * docs/html/faq/index.html: Whitespace fixes.
512
513 2002-09-12 Benjamin Kosnik <bkoz@redhat.com>
514
515 * libmath/Makefile.am (LIBTOOL): Use --tag CC always for this
516 directory.
517 * libmath/Makefile.in: Regenerate.
518 * src/Makefile.am: Tweak comment.
519 * src/Makefile.in: Regenerate.
520
521 * config/locale/gnu/c_locale.h: Remove warnings.
522 Inject __uselocale into __gnu_cxx.
523 * config/locale/generic/c_locale.h: Match.
524
525 2002-09-11 Benjamin Kosnik <bkoz@redhat.com>
526
527 * include/bits/locale_facets.tcc (__convert_from_v): Remove.
528 * config/locale/gnu/c_locale.h (__convert_from_v): Add.
529 * config/locale/generic/c_locale.h (__convert_from_v): Add.
530
531 2002-09-11 Paolo Carlini <pcarlini@unitus.it>
532
533 * include/bits/locale_facets.tcc (__convert_from_v):
534 Use __uselocale instead of setlocale for glibc 2.3+.
535
536 2002-09-10 Benjamin Kosnik <bkoz@redhat.com>
537
538 * src/Makefile.am (sources): Edit.
539 (target_sources): New.
540 (target_sources_extra): New.
541 * src/Makefile.in: Regenerate.
542 * acinclude.m4: Set CCODECVT_CC.
543 * aclocal.m4: Regenerate.
544 * configure: Regenerate.
545 * src/locale.cc: Move ctype definitions...
546 * src/ctype.cc: ...here. New file.
547 * src/locale.cc: Move codecvt definitions...
548 * src/codecvt.cc: ...here.
549 * config/generic/codecvt_members.cc: ...and here.
550 * config/gnu/codecvt_members.cc: ...and here.
551 * include/bits/codecvt.h: Tweak.
552 * include/bits/locale_facets: Tweak.
553
554 * src/bitset.cc: Correct license text.
555 * src/concept-inst.cc: Same.
556 * src/strstream.cc: Same.
557 * src/vterminate.cc: Same.
558
559 2002-09-10 Gabriel Dos Reis <gdr@soliton.integrable-solutions.net>
560
561 * include/bits/stl_vector.h (vector<>): Don't use a name with
562 different meanings before and after re-evaluation in the completed
563 scope.
564 * include/bits/basic_string.h (basic_string<>): Likewise.
565 * include/bits/stl_bvector.h (vector<bool>): Likewise.
566 * include/bits/stl_deque.h (std): Likewise.
567 * include/bits/stl_list.h (list<>): Likewise.
568 * include/bits/stl_tree.h (_Rb_tree<>): Likewise.
569
570 2002-09-10 Paolo Carlini <pcarlini@unitus.it>
571
572 * include/bits/codecvt.h (class __codecvt_abstract_base):
573 Add __c_locale type _M_c_locale_codecvt member.
574 (class codecvt<char, char, mbstate_t>,
575 class codecvt<wchar_t, char, mbstate_t>): Add new
576 codecvt(__c_locale, size_t) constructor.
577 (codecvt_byname::codecvt_byname): Update.
578 * src/codecvt.cc (class codecvt<char, char, mbstate_t>,
579 class codecvt<wchar_t, char, mbstate_t>): Update codecvt(size_t)
580 constructor and ~codecvt() destructor; define
581 codecvt(__c_locale, size_t) constructor.
582 (codecvt::do_out): Switch to _M_c_locale_codecvt around wcsrtombs call.
583 (codecvt::do_in): Ditto for mbsrtowcs call.
584 * src/localename.cc (locale::_Impl::_Impl(const char*, size_t)):
585 Tweak construction of codecvt facets.
586
587 2002-09-10 Danny Smith <dannysmith@users.sourceforge.net>
588
589 * include/bits/locale_facets.tcc (__convert_from_v):
590 Replace strdup with ISO malloc and strcpy.
591
592 2002-09-09 Benjamin Kosnik <bkoz@redhat.com>
593
594 * docs/html/configopts.html: Change grouping. Note ABI impacts.
595 Update information for locale model defaults.
596 * docs/html/install.html: Update include directory
597 information.
598 Update testing information.
599 Update linux issues for named locales.
600 * docs/html/abi.txt: Fix typos.
601 Add more info.
602
603 * src/misc-inst.cc: Add missing instantiations.
604
605 * testsuite/abi_check.cc: Make output results more verbose.
606
607 * config/os/gnu-linux/ctype_base.h: Remove shadow headers injections.
608
609 2002-09-07 Jakub Jelinek <jakub@redhat.com>
610
611 * config/locale/generic/messages_members.cc: Add specialization for
612 messages<wchar_t>.
613 * config/locale/ieee_1003.1-20021/messages_members.cc: Likewise.
614
615 2002-09-06 Benjamin Kosnik <bkoz@redhat.com>
616
617 * include/bits/localefwd.h: Tweak formatting.
618 * docs/html/abi.txt: Add.
619
620 2002-09-06 Jakub Jelinek <jakub@redhat.com>
621
622 * configure.target: Use cpu_include_dir="config/cpu/sparc" for all
623 sparc targets.
624 * config/cpu/sparc/atomicity.h: New file.
625 * config/cpu/sparc/sparc32/atomicity.h: Removed.
626 * config/cpu/sparc/sparc64/atomicity.h: Removed.
627
628 2002-09-06 Jakub Jelinek <jakub@redhat.com>
629
630 * config/os/gnu-linux/ctype_noninline.h
631 [_GLIBCPP_USE_SHADOW_HEADERS]: Remove using _C_legacy::__ctype_*.
632 (ctype<char>::classic_table): If _GLIBCPP_C_LOCALE_GNU, return
633 _S_c_locale->__ctype_b, otherwise temporarily switch to "C" locale
634 and return __ctype_b.
635 (ctype<char>::ctype(__c_locale, const mask*, bool, size_t)): If not
636 _GLIBCPP_C_LOCALE_GNU, temporarily switch to "C" locale and
637 initialize using __ctype_{b,tolower,toupper}.
638 (ctype<char>::ctype(const mask*, bool, size_t)): If
639 _GLIBCPP_C_LOCALE_GNU, initialize using
640 _S_c_locale->__ctype_{b,tolower,toupper}, otherwise temporarily
641 switch to "C" locale and initialize using __ctype_{b,tolower,toupper}.
642
643 2002-09-05 Paolo Carlini <pcarlini@unitus.it>
644 Roland McGrath <roland@redhat.com>
645
646 PR libstdc++/7811
647 * src/locale.cc (locale::locale(__s)): Use getenv instead
648 of setenv for the environment locale.
649 * testsuite/22_locale/ctor_copy_dtor.cc (test03): New.
650
651 2002-09-05 Jakub Jelinek <jakub@redhat.com>
652
653 * config/abi/ia64-unknown-linux-gnu: Add.
654 * config/abi/ia64-unknown-linux-gnu/baseline_symbols.txt: New file.
655 * config/abi/alphaev67-unknown-linux-gnu: Add.
656 * config/abi/alphaev67-unknown-linux-gnu/baseline_symbols.txt: New file.
657
658 2002-09-05 Jonathan Wakely <jw@kayari.org>
659
660 * docs/html/Makefile: Use more portable shell wildcard.
661 * docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
662 * docs/html/configopts.html, docs/html/documentation.html,
663 docs/html/explanations.html, docs/html/install.html,
664 docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
665 docs/html/17_intro/license.html, docs/html/18_support/howto.html,
666 docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
667 docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
668 docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
669 docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
670 docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
671 docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
672 docs/html/27_io/howto.html, docs/html/ext/howto.html,
673 docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
674 to XHTML.
675 * docs/html/faq/index.txt: Regenerate.
676
677 2002-09-05 Jakub Jelinek <jakub@redhat.com>
678
679 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_widen(char)):
680 Switch to _M_c_locale_ctype around btowc call.
681 (ctype<wchar_t>::do_widen(const char*, const char *, wchar_t*)):
682 Switch to _M_c_locale_ctype around mbsrtowcs call.
683 (ctype<wchar_t>::do_narrow(char)): Switch to _M_c_locale_ctype around
684 wctob call.
685 (ctype<wchar_t>::do_narrow(const char*, const char *, wchar_t*)):
686 Switch to _M_c_locale_ctype around wcsrtombs call.
687
688 2002-09-05 Jakub Jelinek <jakub@redhat.com>
689
690 * config/locale/gnu/monetary_members.cc
691 (moneypunct<wchar_t, true>::_M_initialize_moneypunct,
692 moneypunct<wchar_t, false>::_M_initialize_moneypunct): Use
693 __uselocale instead of setlocale for glibc 2.3.
694
695 2002-09-05 Jakub Jelinek <jakub@redhat.com>
696
697 * config/locale/generic/c++locale_internal.h: New header.
698 * config/locale/gnu/c++locale_internal.h: New header.
699 * config/locale/gnu/c_locale.cc: Include it.
700 * config/locale/gnu/collate_members.cc: Include it.
701 * config/locale/gnu/ctype_members.cc: Include it.
702 * config/locale/gnu/messages_members.cc: Include it.
703 * config/locale/gnu/monetary_members.cc: Include it.
704 * config/locale/gnu/numeric_members.cc: Include it.
705 * config/locale/gnu/time_members.cc: Include it.
706 (_M_put): Reorder __strftime_l and __wcsftime_l arguments to match
707 glibc.
708 (_M_initialize_timepunct): Initialize _M_c_locale_timepunct for
709 C locale.
710 * acinclude.m4: Include string.h when testing strcoll_l.
711 For glibc 2.3 provide __-prefixed prototypes.
712 (CLOCALE_INTERNAL_H): Set, add AC_LINK_FILES line.
713 * aclocal.m4, configure: Rebuilt.
714
715 2002-09-05 Benjamin Kosnik <bkoz@redhat.com>
716
717 * include/bits/locale_facets.h: Add declaration of specialization
718 here.
719 * config/locale/gnu/messages_members.cc: Add specialization for
720 messages<wchar_t>.
721 * config/locale/gnu/messages_members.h: Remove generic definition
722 of do_get.
723
724 2002-09-04 Richard Henderson <rth@redhat.com>
725
726 * include/std/std_limits.h (__glibcpp_f32_infinity_bytes,
727 __glibcpp_f32_has_infinity, __glibcpp_f64_infinity_bytes,
728 __glibcpp_f64_has_infinity, __glibcpp_f80_infinity_bytes,
729 __glibcpp_f80_has_infinity, __glibcpp_f96_infinity_bytes,
730 __glibcpp_f96_has_infinity, __glibcpp_f128_infinity_bytes,
731 __glibcpp_f128_has_infinity, __glibcpp_float_infinity_bytes,
732 __glibcpp_float_has_infinity, __glibcpp_double_infinity_bytes,
733 __glibcpp_double_has_infinity, __glibcpp_long_double_infinity_bytes,
734 __glibcpp_long_double_has_infinity): Remove.
735 (std::numeric_limits<float>, std::numeric_limits<double>,
736 std::numeric_limits<long double>): Use __builtin_huge_val
737 to implement has_infinity and infinity().
738 * src/limits.cc (__glibcpp_float_infinity, __glibcpp_double_infinity,
739 __glibcpp_long_double_infinity): Remove.
740
741 2002-09-03 Richard Henderson <rth@redhat.com>
742
743 * include/std/std_limits.h (__glibcpp_f32_min, __glibcpp_f32_max,
744 __glibcpp_f32_digits, __glibcpp_f32_digits10, __glibcpp_f32_radix,
745 __glibcpp_f32_epsilon, __glibcpp_f32_min_exponent,
746 __glibcpp_f32_min_exponent10, __glibcpp_f32_max_exponent,
747 __glibcpp_f32_max_exponent10, __glibcpp_f64_min, __glibcpp_f64_max,
748 __glibcpp_f64_digits, __glibcpp_f64_digits10, __glibcpp_f64_radix,
749 __glibcpp_f64_min_exponent, __glibcpp_f64_min_exponent10,
750 __glibcpp_f64_max_exponent, __glibcpp_f64_max_exponent10,
751 __glibcpp_f80_min, __glibcpp_f80_max, __glibcpp_f80_digits,
752 __glibcpp_f80_digits10, __glibcpp_f80_radix, __glibcpp_f80_epsilon,
753 __glibcpp_f80_min_exponent, __glibcpp_f80_min_exponent10,
754 __glibcpp_f80_max_exponent, __glibcpp_f80_max_exponent10,
755 __glibcpp_f96_min, __glibcpp_f96_max, __glibcpp_f96_digits,
756 __glibcpp_f96_digits10, __glibcpp_f96_radix, __glibcpp_f96_epsilon,
757 __glibcpp_f96_min_exponent, __glibcpp_f96_min_exponent10,
758 __glibcpp_f96_max_exponent, __glibcpp_f96_max_exponent10,
759 __glibcpp_f128_min, __glibcpp_f128_max, __glibcpp_f128_digits,
760 __glibcpp_f128_digits10, __glibcpp_f128_radix, __glibcpp_f128_epsilon,
761 __glibcpp_f128_min_exponent, __glibcpp_f128_min_exponent10,
762 __glibcpp_f128_max_exponent, __glibcpp_f128_max_exponent10,
763 __glibcpp_float_min, __glibcpp_float_max, __glibcpp_float_digits,
764 __glibcpp_float_digits10, __glibcpp_float_radix,
765 __glibcpp_float_epsilon, __glibcpp_float_min_exponent,
766 __glibcpp_float_min_exponent10, __glibcpp_float_max_exponent,
767 __glibcpp_float_max_exponent10, __glibcpp_double_min,
768 __glibcpp_double_max, __glibcpp_double_digits,
769 __glibcpp_double_digits10, __glibcpp_double_radix,
770 __glibcpp_double_epsilon, __glibcpp_double_min_exponent,
771 __glibcpp_double_min_exponent10, __glibcpp_double_max_exponent,
772 __glibcpp_double_max_exponent10, __glibcpp_long_double_min,
773 __glibcpp_long_double_max, __glibcpp_long_double_digits,
774 __glibcpp_long_double_digits10, __glibcpp_long_double_radix,
775 __glibcpp_long_double_epsilon, __glibcpp_long_double_min_exponent,
776 __glibcpp_long_double_min_exponent10,
777 __glibcpp_long_double_max_exponent,
778 __glibcpp_long_double_max_exponent10): Remove macros.
779 (std::numeric_limits<float>, std::numeric_limits<double>,
780 std::numeric_limits<long double>): Use protected float.h macros.
781
782 2002-09-01 Phil Edwards <pme@gcc.gnu.org>
783
784 * testsuite/Makefile.am: Use LD_RUN_PATH when linking abi_check.
785 Fix spelling in comment.
786 * testsuite/Makefile.in: Regenerate.
787 * testsuite/abi_check.cc: Use string literals to build 'cmd' rather
788 than 'quote' and 'bslash'.
789
790 2002-08-31 Phil Edwards <pme@gcc.gnu.org>
791
792 * acinclude.m4: Minor comment tweaks.
793
794 * docs/html/makedoc.awk: New file...
795 * docs/html/Makefile: ...called from here...
796 * docs/html/documentation.html: ...to help generate this.
797
798 * docs/html/21_strings/howto.html: Prepare for new entry.
799 * include/bits/basic_string.h: Initial basic_stirng hook for
800 doxygen. Remove trailing whitespace.
801 * include/bits/char_traits.h: Point to onlinedocs for new entry.
802 * include/bits/stringfwd.h: Add doxygen hooks for string and
803 wstring typedefs.
804
805 2002-08-29 Richard Earnshaw <rearnshaw@arm.com>
806
807 * config/cpu/arm/cpu_limits.h: New file.
808 * configure.target: Use config/cpu/arm for XScale and StrongARM
809 configurations.
810
811 2002-08-28 Gabriel Dos Reis <gdr@integrable-solutions.net>
812
813 * include/std/std_limits.h (__glibcpp_char_bits,
814 __glibcpp_short_bits, __glibcpp_int_bits, __glibcpp_long_bits,
815 __glibcpp_long_long_bits, __glibcpp_float_bits,
816 __glibcpp_double_bits, __glibcpp_long_double_bits): Remove. Use
817 compiler predifined macros.
818 (__glibcpp_wchar_t_is_signed): Define based on compiler predefined
819 __WCHAR_UNSIGNED__.
820
821 2002-08-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
822
823 * include/std/std_limits.h (__glibcpp_f32_infinity_bytes,
824 __glibcpp_f32_has_infinity, __glibcpp_f32_QNaN_bytes,
825 __glibcpp_f32_has_QNaN, __glibcpp_f32_SNaN_bytes,
826 __glibcpp_f32_has_SNaN, __glibcpp_f32_denorm_min_bytes,
827 __glibcpp_f32_has_denorm, __glibcpp_f32_is_iec559,
828 __glibcpp_f64_infinity_bytes,
829 __glibcpp_f64_has_infinity, __glibcpp_f64_QNaN_bytes,
830 __glibcpp_f64_has_QNaN, __glibcpp_f64_SNaN_bytes,
831 __glibcpp_f64_has_SNaN, __glibcpp_f64_denorm_min_bytes,
832 __glibcpp_f64_has_denorm, __glibcpp_f64_is_iec559,
833 __glibcpp_f80_infinity_bytes,
834 __glibcpp_f80_has_infinity, __glibcpp_f80_QNaN_bytes,
835 __glibcpp_f80_has_QNaN, __glibcpp_f80_SNaN_bytes,
836 __glibcpp_f80_has_SNaN, __glibcpp_f80_denorm_min_bytes,
837 __glibcpp_f80_has_denorm, __glibcpp_f80_is_iec559,
838 __glibcpp_f96_infinity_bytes,
839 __glibcpp_f96_has_infinity, __glibcpp_f96_QNaN_bytes,
840 __glibcpp_f96_has_QNaN, __glibcpp_f96_SNaN_bytes,
841 __glibcpp_f96_has_SNaN, __glibcpp_f96_denorm_min_bytes,
842 __glibcpp_f96_has_denorm, __glibcpp_f96_is_iec559,
843 __glibcpp_f128_infinity_bytes,
844 __glibcpp_f128_has_infinity, __glibcpp_f128_QNaN_bytes,
845 __glibcpp_f128_has_QNaN, __glibcpp_f128_SNaN_bytes,
846 __glibcpp_f128_has_SNaN, __glibcpp_f128_denorm_min_bytes,
847 __glibcpp_f128_has_denorm, __glibcpp_f128_is_iec559,
848 __glibcpp_float_infinity_bytes,
849 __glibcpp_float_has_infinity, __glibcpp_float_QNaN_bytes,
850 __glibcpp_float_has_QNaN, __glibcpp_float_SNaN_bytes,
851 __glibcpp_float_has_SNaN, __glibcpp_float_denorm_min_bytes,
852 __glibcpp_float_has_denorm, __glibcpp_float_is_iec559,
853 __glibcpp_double_infinity_bytes,
854 __glibcpp_double_has_infinity, __glibcpp_double_QNaN_bytes,
855 __glibcpp_double_has_QNaN, __glibcpp_double_SNaN_bytes,
856 __glibcpp_double_has_SNaN, __glibcpp_double_denorm_min_bytes,
857 __glibcpp_double_has_denorm, __glibcpp_double_is_iec559,
858 __glibcpp_long_double_infinity_bytes,
859 __glibcpp_long_double_has_infinity, __glibcpp_long_double_QNaN_bytes,
860 __glibcpp_long_double_has_QNaN, __glibcpp_long_double_SNaN_bytes,
861 __glibcpp_long_double_has_SNaN, __glibcpp_long_double_denorm_min_bytes,
862 __glibcpp_long_double_has_denorm, __glibcpp_long_double_is_iec559:
863 New macros.
864 (__glibcpp_word_bits, __glibcpp_word): Likewise.
865 (__glibcpp_byte): New typedef.
866 (__float_storage, __double_storage, __long_double_storage): New types.
867 (__glibcpp_float_infinity, __glibcpp_float_QNaN,
868 __glibcpp_float_SNaN, __glibcpp_float_denorm_min): Now
869 objects. Declare.
870 (__glibcpp_double_infinity, __glibcpp_double_QNaN,
871 __glibcpp_double_SNaN, __glibcpp_double_denorm_min): Likewise.
872 (__glibcpp_long_double_infinity, __glibcpp_long_double_QNaN,
873 __glibcpp_long_double_SNaN, __glibcpp_long_double_denorm_min):
874 Likewise.
875
876 * src/limits.cc (__glibcpp_float_infinity, __glibcpp_float_QNaN,
877 __glibcpp_float_SNaN, __glibcpp_float_denorm_min): Define.
878 (__glibcpp_double_infinity, __glibcpp_double_QNaN,
879 __glibcpp_double_SNaN, __glibcpp_double_denorm_min): Likewise.
880 (__glibcpp_long_double_infinity, __glibcpp_long_double_QNaN,
881 __glibcpp_long_double_SNaN, __glibcpp_long_double_denorm_min):
882 Likewise.
883
884 2002-08-25 Gabriel Dos Reis <gdr@integrable-solutions.net>
885
886 * include/std/std_limits.h: Indent conditional macro definitions.
887
888 2002-08-23 Phil Edwards <pme@gcc.gnu.org>
889
890 * Makefile.am (check-abi): Specify current directory.
891 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Fix shell syntax, use
892 abi_baseline_triplet in baseline_file.
893 * Makefile.in, aclocal.m4, configure: Regenerate.
894 * configure.target: Add abi_baseline_triplet with default.
895 * testsuite/abi_check.cc: More error checking.
896
897 2002-08-23 Phil Edwards <pme@gcc.gnu.org>
898
899 * config/linker-map.gnu: Verbose comments, clean up spacing.
900 * include/bits/stl_alloc.h: Fix indentation of 'if' bodies, return
901 statements.
902 __allocator: Change class declaration to struct.
903 * docs/html/17_intro/C++STYLE: Fix typo.
904 * include/bits/stl_deque.h, include/bits/stl_list.h,
905 include/bits/stl_map.h, include/bits/stl_multimap.h,
906 include/bits/stl_vector.h: Fix fallout from typo.
907
908 2002-08-22 Benjamin Kosnik <bkoz@redhat.com>
909
910 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Set
911 GLIBCPP_BUILD_ABI_CHECK based on cross compiling, build, host
912 variables.
913 * aclocal.m4: Regenerate.
914 * testsuite/Makefile.am (noinst_PROGRAMS): Make conditional on
915 native compiling.
916 * testsuite/Makefile.in: Regenerate.
917
918 2002-08-22 Loren J. Rittle <ljrittle@acm.org>
919
920 * testsuite/abi_check.cc: Enhance shell portability.
921 Support older binutils/readelf.
922 * config/abi/i386-unknown-freebsd4.6: Add.
923 * config/abi/i386-unknown-freebsd4.6/baseline_symbols.txt: New file.
924
925 2002-08-22 Paolo Carlini <pcarlini@unitus.it>
926
927 * docs/html/faq/index.html: Add Loren James Rittle and
928 Paolo Carlini to the list of v3 maintainers.
929 * docs/html/faq/index.txt: Ditto.
930 * docs/html/17_intro/RELEASE-NOTES: Ditto.
931
932 2002-08-22 Benjamin Kosnik <bkoz@redhat.com>
933 Phil Edwards <pme@gcc.gnu.org>
934 Ulrich Drepper <drepper@redhat.com>
935
936 * Makefile.am (check-abi): New rule.
937 * Makefile.in: Regenerate.
938 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Export baseline_file.
939 * aclocal.m4: Regenerate.
940 * configure: Regenerate.
941 * testsuite/Makefile.am (noinst_PROGRAMS): Add abi_check.
942 (abi_check_SOURCES): Add.
943 * testsuite/Makefile.in: Regenerate.
944 * testsuite/abi_check.cc: New file.
945 * config/abi: Add.
946 * config/abi/i686-pc-linux-gnu: Add.
947 * config/abi/i686-pc-linux-gnu/baseline_symbols.txt: New file.
948
949 2002-08-19 Benjamin Kosnik <bkoz@redhat.com>
950
951 * configure.in (libtool_VERSION): Update to 5:1:0.
952 * configure: Regenerate.
953
954 2002-08-19 Jonathan Wakely <jw@kayari.org>
955
956 * docs/html/configopts.html, docs/html/documentation.html,
957 docs/html/install.html, docs/html/22_locale/codecvt.html,
958 docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
959 docs/html/22_locale/locale.html,
960 docs/html/22_locale/messages.html: Conform to HTML 4.01 standard.
961
962 2002-08-15 Benjamin Kosnik <bkoz@redhat.com>
963
964 * include/ext/stdio_filebuf.h (stdio_filebuf): Explicitly set
965 _M_buf_size_opt to zero when unbuffering.
966 * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
967 Consistency checks for _M_buf_size_opt.
968
969 Revert PR libstdc++/7445
970 * src/locale.cc (locale::classic): Revert.
971
972 * docs/html/17_intro/TODO: Add.
973
974 2002-08-15 Phil Edwards <pme@gcc.gnu.org>
975
976 * docs/html/documentation.html: Update doxygen links for 3.2.
977
978 2002-08-15 Steve Ellcey <sje@cup.hp.com>
979
980 * libsupc++/unwind-cxx.h (__cxa_exception): Change catchTemp
981 type from void* to _Unwind_Ptr.
982 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION):
983 Do not cast landing_pad or base_of_encoded_value to (void *).
984 * libsupc++/eh_throw.cc (__gxx_exception_cleanup):
985 Accept _URC_NO_REASON as a valid reason code.
986
987 2002-08-14 Jonathan Wakely <jw@kayari.org>
988
989 * docs/html/22_locale/messages.html: Use HTML entities for
990 punctuation.
991
992 2002-08-13 Jonathan Wakely <jw@kayari.org>
993 Phil Edwards <pme@gcc.gnu.org>
994
995 * docs/html/documentation.html: Use HTML entities for punctuation.
996
997 2002-08-09 Phil Edwards <pme@gcc.gnu.org>
998
999 * include/bits/deque.tcc, include/bits/list.tcc,
1000 include/bits/stl_deque.h, include/bits/stl_iterator_base_funcs.h,
1001 include/bits/stl_list.h, include/bits/stl_map.h,
1002 include/bits/stl_multimap.h, include/bits/stl_queue.h,
1003 include/bits/stl_stack.h, include/bits/stl_vector.h,
1004 include/bits/vector.tcc: Re-indent contents of namespace std,
1005 re-wrap comment lines as necessary.
1006
1007 2002-08-08 Danny Smith <dannysmith@users.sourceforge.net>
1008 Benjamin Kosnik <bkoz@redhat.com>
1009
1010 * include/bits/istream.tcc (basic_istream::ignore): Use sbumpc,
1011 not snextc.
1012 * testsuite/27_io/narrow_stream_objects.cc (test10): Add.
1013
1014 2002-08-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
1015
1016 * libsupc++/Makefile.am (LTCOMPILE): Add LIBSUPCXX_PICFLAGS.
1017 * libsupc++/Makefile.in: Regenerate.
1018
1019 2002-08-05 Gabriel Dos Reis <gdr@nerim.net>
1020
1021 PR/7491
1022 * include/bits/slice_array.h(_DEFINE_VALARRAY_OPERATOR):
1023 Instantiate with new function objects.
1024 * include/bits/mask_array.h (_DEFINE_VALARRAY_OPERATOR): Likewise.
1025 Reformat. Uglify.
1026 * include/bits/gslice_array.h: Likewise.
1027 * include/bits/indirect_array.h: Likewise.
1028
1029 2002-08-03 Gabriel Dos Reis <gdr@nerim.net>
1030
1031 * testsuite/26_numerics/valarray_name_lookup.cc: Rename from
1032 testsuite/26_numerics/valarray_name_lookup.C
1033
1034 * include/bits/valarray_array.h (_DEFINE_ARRAY_FUNCTION): Use our
1035 object function surrogates.
1036 * include/bits/valarray_meta.h (__shift_left): Fix typo.
1037 (_BinFunClos<>): Remove.
1038 (_BinFunBase<>): Likewise.
1039 (_BinFunBase1<>):Likewise.
1040 (_BinFunBase2<>): Likewise.
1041 (_DEFINE_EXPR_RELATIONAL_OPERATOR): Likewise.
1042 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
1043 (_DEFINE_EXPR_BINARY_OPERATOR): Likewise.
1044 (_DEFINE_EXPR_BINARY_FUNCTION): Likewise.
1045 * include/std/std_valarray.h: Dont #include <functional> anymore.
1046 (_Bitwise_or<>, _Bitwise_and<>, _Bitwise_xor<>, _Shift_left<>,
1047 _Shift_right<>): Remove.
1048 (_DEFINE_VALARRAY_AUGMENTED_ASSIGNMENT): Adjust instantiation.
1049 (_DEFINE_BINARY_OPERATOR): Tweak definition.
1050 (_DEFINE_LOGICAL_OPERATOR): Remove.
1051 * testsuite/26_numerics/valarray_name_lookup.C (main): Add more tests.
1052
1053 2002-08-02 Gabriel Dos Reis <gdr@nerim.net>
1054
1055 * include/bits/valarray_meta.h (_UnFunBase<>): Remove.
1056 (_UnFunClos<>): Same.
1057 (_UnBase<>): Reformat. Make first template-parameter non
1058 template.
1059 (_UnClos<>): Likewise.
1060 (_Expr<>): Reformate. Adjust unary member operator return types.
1061 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
1062 (_DEFINE_EXPR_UNARY_FUNCTION): Likewise.
1063 * include/std/std_valarray.h (_UnClos<>): Adjust declaration.
1064 (valarray<>::_UnaryOp<>): New nested traits. Adjust unary member
1065 operator return types. Reformat.
1066 (_Bitwise_not): Remove.
1067 (_DEFINE_VALARRAY_UNARY_OPERATOR): Adjust definition.
1068 * testsuite/26_numerics/valarray_name_lookup.C: New test.
1069
1070 2002-08-02 Danny Smith <dannysmith@users.sourceforge.net>
1071
1072 * config/os/newlib/ctype_inline.h (is): Don't offset _M_table.
1073 (scan_is): Use this->is.
1074 (scan_not): Likewise.
1075
1076 2002-08-02 Benjamin Kosnik <bkoz@redhat.com>
1077
1078 Revert PR libstdc++/6594
1079 * src/strstream.cc (strstreambuf): Revert.
1080 (strstreambuf::overflow): Same.
1081 (strstreambuf::~strstreambuf): Same.
1082 * testsuite/backward/strstream_members.cc (test02): Add.
1083
1084 * docs/html/abi.txt: Update. Spell check.
1085
1086 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add bool test.
1087
1088 * testsuite/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES.
1089 * testsuite/Makefile.in: Regenerate.
1090 * testsuite/testsuite_hooks.h: Use __throw_exception_again,
1091 include functexcept.h so that -fno-exceptions will build.
1092
1093 2002-08-02 Gabriel Dos Reis <gdr@nerim.net>
1094
1095 * include/bits/valarray_meta.h (__unary_plus, __negate,
1096 __bitwise_not, __plus, __minus, __multiplies, __divides,
1097 __modulus, __bitwise_xor, __bitwise_or, __bitwise_and,
1098 __shift_left, __shift_right, __logical_and, __logical_or,
1099 __logical_not, __equal_to, __not_equal_to, __less, __less_equal,
1100 __greater_equal, __greater, __atan2, __pow): New function object
1101 classes.
1102 (__fun<>): New function traits class.
1103
1104 2002-08-01 Rick Danos <rdanos@hotmail.com>
1105
1106 PR libstdc++/7461
1107 * config/os/newlib/ctype_noninline.h (classic_table): Add offset.
1108 * config/os/newlib/ctype_inline.h (is): Use static_cast.
1109
1110 2002-08-01 Neil Booth <neil@daikokuya.co.uk>
1111
1112 * libsupc++/Makefile.am (LT_COMPILE): Remove C++ flags.
1113 * libsupc++/Makefile.in: Regenerate.
1114
1115 2002-08-01 Benjamin Kosnik <bkoz@redhat.com>
1116 Jakub Jelinek <jakub@redhat.com>
1117
1118 * config/linker-map.gnu: Change CXXABI_1 to CXXABI_1.2,
1119 GLIBCPP_3.1 to GLIBCPP_3.2.
1120
1121 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
1122 Mark Mitchell <mark@codesourcery.com>
1123
1124 PR libstdc++/7442
1125 * libsupc++/cxxabi.h (class __base_class_type_info::hwm_bit):
1126 Change to __hwm_bit.
1127 (__class_type_info): And here.
1128
1129 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
1130
1131 PR libstdc++/7442
1132 * libsupc++/cxxabi.h
1133 (__base_class_info): Change to __base_class_type_info. 2.9.5p6c
1134 (__base_class_info::__base): Change to __base_type. 2.9.5p6c
1135 (__base_class_info::offset_shift): Change to __offset_shift. 2.9.5p6c
1136 (__vmi_class_type_info::__base_info): Don't make const, of type
1137 __base_class_type_info, as per 2.9.5p6c
1138 (__pbase_type_info::__qualifier_flags): Change to __flags, as per
1139 2.9.5p7.
1140 (__pbase_type_info::__qualifier_masks): Change to __masks, as per
1141 2.9.5p7.
1142 (__pointer_to_member_type_info::__context_class): Change member to
1143 __context, as per 2.9.5p9.
1144 * libsupc++/tinfo2.cc (__pointer_catch): Change __context_class to
1145 __context.
1146 * libsupc++/tinfo2.cc (__do_catch): Change __qualifier_flags to
1147 __flags.
1148 * libsupc++/tinfo.cc (__do_find_public_src): Change __base to
1149 __base_type.
1150 * libsupc++/tinfo.cc (__do_dyncast): Same.
1151 * libsupc++/tinfo.cc (__do_upcast): Same.
1152
1153 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
1154
1155 * src/fstream.cc: Add _GLIBCPP_USE_WCHAR_T guards.
1156
1157 2002-07-31 Simon Whomsley <whomsley@avacadcam.com>
1158
1159 * docs/html/22_locale/howto.html: Fix.
1160
1161 2002-07-31 Alex Kompel <shurik@sequoiap.com>
1162
1163 PR libstdc++/7445
1164 * src/locale.cc (locale::classic): Move locks inside !_S_classic
1165 block.
1166
1167 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
1168
1169 * docs/html/abi.txt: Update.
1170
1171 2002-07-30 Benjamin Kosnik <bkoz@redhat.com>
1172 Gabriel Dos Reis <gdr@nerim.net>
1173
1174 * include/bits/char_traits.h: Remove generic definitions.
1175 * include/bits/streambuf_iterator.h (istreambuf_iterator): Use
1176 eof, not -2.
1177 * include/bits/istream.tcc (istream::readsome): Don't check
1178 against eof, instead use constants.
1179 (istream::sync): Same.
1180 (istream::sentry::sentry): Use eq_int_type.
1181 (istream::get): Same.
1182 * include/bits/ostream.tcc: Change __pad to
1183 __pad<_CharT, _Traits>::_S_pad.
1184 * include/bits/locale_facets.h: Add __pad_traits generic and
1185 ostreambuf_iterator specialization.
1186 * include/bits/locale_facets.tcc: Change __pad into struct __pad
1187 with a _CharT and _Traits template parameter and _S_pad static
1188 member function.
1189 * src/locale-inst.cc: Update __pad instantiations.
1190
1191 * include/std/std_fstream.h: Declare _M_underflow_common
1192 specializations.
1193 * src/fstream.cc: New. Add _M_underflow_common specializations.
1194 * include/bits/fstream.tcc (filebuf::close): Use traits_type.
1195 (filebuf::_M_underflow_common(bool)): Remove generic version, as
1196 sys_ungetc and custom int_types don't get along.
1197 * include/std/std_streambuf.h: Add _M_pos.
1198 * src/Makefile.am (sources): Add fstream.cc.
1199 * src/Makefile.in: Regenerate.
1200
1201 * testsuite/21_strings/capacity.cc: Add char_traits specializations.
1202 * testsuite/22_locale/codecvt_members_unicode_char.cc: Same.
1203 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc: Same.
1204 * testsuite/22_locale/ctor_copy_dtor.cc: Same.
1205 * testsuite/27_io/filebuf_virtuals.cc (test07): Move to...
1206 * testsuite/27_io/filebuf.cc: ...here.
1207 * testsuite/testsuite_hooks.h: Add gnu_char, gnu_int, char_traits
1208 specialization for both.
1209 * testsuite/27_io/streambuf.cc: Add instantiation test,
1210 testsuite_hooks include.
1211 * testsuite/27_io/istream.cc: Same.
1212 * testsuite/27_io/ostream.cc: Same.
1213 * testsuite/27_io/fstream.cc: Same.
1214 * testsuite/27_io/stringstream.cc: Same.
1215 * testsuite/27_io/filebuf.cc: Same.
1216 * testsuite/27_io/stringbuf.cc: Same.
1217
1218 2002-07-29 Alan Modra <amodra@bigpond.net.au>
1219
1220 * config/cpu/powerpc/cpu_limits.h (__glibcpp_long_bits): Define.
1221 * configure.target (cpu_include_dir): Use cpu/powerpc for powerpc64.
1222 * config/cpu/powerpc/atomicity.h (__always_swap): Remove.
1223 (__test_and_set): Remove.
1224 (_STWCX): Define and use.
1225
1226 2002-07-26 Phil Edwards <pme@gcc.gnu.org>
1227
1228 * libsupc++/new (placement delete): Remove unused parameter names.
1229
1230 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
1231
1232 PR libstdc++/7216
1233 * include/std/std_istream.h (basic_iostream): Add typedefs for
1234 char_type, int_type, pos_type, off_type, and traits_type.
1235 * testsuite/27_io/iostream.cc (test01): Add typedef tests.
1236 * testsuite/27_io/istream.cc: Same.
1237 * testsuite/27_io/ostream.cc: Same.
1238 * testsuite/27_io/filebuf.cc: Same.
1239 * testsuite/27_io/stringbuf.cc: Replace content, move to...
1240 * testsuite/27_io/stringbuf_members.cc: ...here.
1241 * testsuite/27_io/streambuf.cc: Replace content, move to...
1242 * testsuite/27_io/streambuf_members.cc: ...here.
1243 * testsuite/27_io/stringstream.cc: Replace content, move to...
1244 * testsuite/27_io/stringstream_members.cc: ...here.
1245 * testsuite/27_io/ios.cc: New file.
1246 * testsuite/27_io/fstream.cc: New file.
1247 * testsuite/27_io/ifstream.cc: New file.
1248 * testsuite/27_io/ofstream.cc: New file.
1249 * testsuite/27_io/istringstream.cc: New file.
1250 * testsuite/27_io/ostringstream.cc: New file.
1251
1252 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
1253
1254 PR libstdc++/7220
1255 * include/bits/istream.tcc (istream::ignore): Don't extract on
1256 zero.
1257 * testsuite/27_io/istream_unformatted.cc (test10): Add.
1258
1259 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
1260
1261 * testsuite/27_io/ios_base_type.cc: Move to...
1262 * testsuite/27_io/ios_base_types.cc: ...here.
1263
1264 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
1265
1266 PR libstdc++/7222
1267 * src/locale.cc (locale::locale(const char*)): Use setlocale NULL.
1268 * testsuite/22_locale/ctor_copy_dtor.cc (test02): New.
1269
1270 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
1271
1272 PR libstdc++/7230
1273 * config/linker-map.gnu: Revert strstream patch from 2002-07-01.
1274 * include/Makefile.am (backward_headers): Use strstream, not
1275 strstream.h.
1276 * include/Makefile.in: Regenerate.
1277 * include/backward/strstream: Revert.
1278 * include/backward/strstream.h: Remove.
1279 * src/strstream.cc: Revert.
1280 * testsuite/backward/strstream_members.cc: Change include.
1281
1282 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
1283
1284 PR libstdc++/7219
1285 * include/bits/ios_base.h (ios_base::streampos): Add.
1286 (ios_base::streamoff): Add.
1287 * testsuite/27_io/ios_base_type.cc: New.
1288
1289 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
1290
1291 PR libstdc++/7286
1292 * libsupc++/new: Add placement delete.
1293 * testsuite/18_support/new_delete_placement.cc: New.
1294
1295 * docs/html/abi.txt: Fix typos.
1296
1297 2002-07-23 Benjamin Kosnik <bkoz@redhat.com>
1298
1299 * docs/html/documentation.html: Remove libstdc++-v3.0.86 links,
1300 confusing usage of "latest."
1301 De-tangle contributor information from introductory notes.
1302 Move abi.txt link placement, activate.
1303 Re-organize.
1304 Move chapter info into old FAQ format.
1305 * docs/html/organization.html: Removed, obsoleted by doxygen work.
1306 * docs/html/abi.txt: Add notes on testing ABI changes.
1307
1308 2002-07-20 Phil Edwards <pme@gcc.gnu.org>
1309
1310 * docs/html/abi.txt: New file.
1311 * docs/html/23_containers/howto.html: Tweak vector-overhead text.
1312 * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
1313 Import from upstream, R22.
1314
1315 * include/bits/char_traits.h, include/bits/stl_iterator.h,
1316 include/bits/stl_iterator_base_types.h, libsupc++/exception,
1317 libsupc++/new, libsupc++/typeinfo: Use @brief markup.
1318
1319 * include/bits/deque.tcc, include/bits/stl_alloc.h,
1320 include/bits/stl_deque.h, include/bits/stl_list.h: Postpone removal
1321 of deprecated functions until 3.4. (Same timeframe, different text.)
1322 * include/bits/stl_vector.h: Ditto. Also do the same cleanups that
1323 the other sequence classes received.
1324
1325 2002-07-18 Brendan Kehoe <brendan@zen.org>
1326
1327 * bits/slice_array.h (_DEFINE_VALARRAY_OPERATOR): Fix typo of
1328 _Nname to _Name.
1329
1330 2002-07-19 Gabriel Dos Reis <gdr@nerim.net>
1331
1332 DR/123
1333 * include/bits/slice_array.h
1334 (slice_array<T>::operator=(const T&)): Constify.
1335 * include/bits/gslice_array.h
1336 (gslice_array<T>::operator=(const T&)): Likewise.
1337 * include/bits/mask_array.h
1338 (mask_array<T>::operator=(const T&)): Likewise.
1339 * include/bits/indirect_array.h
1340 (indirect_array<T>::operator=(const T&): Likewise.
1341
1342 2002-07-17 Phil Edwards <pme@gcc.gnu.org>
1343
1344 * docs/doxygen/run_doxygen: Remove template parameter names from
1345 "Compound List" summary page. Reformat.
1346 * docs/html/documentation.html: XHTML fixes.
1347
1348 2002-07-16 Andreas Schwab <schwab@suse.de>
1349
1350 * libsupc++/new (set_new_handler): Declare to not throw any
1351 exceptions.
1352 * libsupc++/new_handler.cc (set_new_handler): Likewise.
1353
1354 2002-07-16 Gabriel Dos Reis <gdr@nerim.net>
1355
1356 * include/Makefile.am (bits_headers): Remove slice.h
1357 * include/Makefile.in: Regenerate.
1358 * include/bits/slice.h (slice): move to include/bits/slice_array.h
1359 * include/bits/slice.h Remove.
1360 * include/std/std_valarray.h: Don't #include bits/slice.h anymore.
1361 * include/bits/slice_array.h: Comply to official coding styles.
1362 * testsuite/26_numerics/slice.cc: New test.
1363
1364 2002-07-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1365
1366 * config/os/solaris/solaris2.5/ctype_base.h (ctype_base): Fix
1367 print to match vendor <ctype.h>.
1368
1369 2002-07-15 Phil Edwards <pme@gcc.gnu.org>
1370
1371 * docs/html/faq/index.html: Fix download links.
1372 * docs/html/faq/index.txt: Regenerate.
1373 * docs/html/17_intro/porting.html: Regenerate from earlier changes.
1374
1375 2002-07-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1376
1377 * configure.target (target_os switch): Allow for irix6*o32
1378 configurations.
1379
1380 2002-07-10 Gabriel Dos Reis <gdr@nerim.net>
1381
1382 * include/bits/valarray_meta.h (_UnFunBase): Take a second
1383 template parameter. Remove _M_func data member.
1384 (_UnFunClos): Take a third template parameter.
1385 (__abs, __cos, __acos, __cosh, __sin, __asin, __sinh, __tan,
1386 __atan, __tanh, __exp, __log, __log10, __sqrt): New classes.
1387 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
1388
1389 2002-07-08 Eric Christopher <echristo@redhat.com>
1390
1391 * configure.target: Fix comment for mips atomicity. Add
1392 mips*-*-linux* target, enable atomic operations there.
1393 * config/cpu/mips/atomicity.h: Fix comments, remove
1394 #ifndef/#endif. Add push/pop mips2.
1395
1396 2002-07-08 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1397
1398 * include/bits/stl_deque.h (_Deque_alloc_base): Change order of
1399 member declarations to avoid compiler warnings and restore 3.1 ABI.
1400
1401 2002-07-08 Phil Edwards <pme@gcc.gnu.org>
1402
1403 * docs/html/23_containers/howto.html: Link to dk_std::vector paper
1404 and homepage.
1405
1406 2002-07-07 Paolo Carlini <pcarlini@unitus.it>
1407
1408 PR libstdc++/7186
1409 * include/bits/stl_deque.h (_Deque_iterator::operator-):
1410 Make non-member, as already happens for the comparison
1411 operators in accord with DR179 (Ready).
1412 * testsuite/23_containers/deque_operators.cc: Add test02.
1413
1414 2002-07-04 Benjamin Kosnik <bkoz@redhat.com>
1415 Jack Reeves <jackw_reeves@hotmail.com>
1416
1417 * include/std/std_streambuf.h (basic_streambuf::_M_buf): Change to
1418 size_t, from int_type.
1419 (basic_streambuf::_M_buf_size_opt): Same.
1420 (basic_streambuf::_S_pback_sizex): Same.
1421 * include/bits/streambuf.tcc: Same.
1422 * include/std/std_streambuf.h (basic_streambuf::snextc): Use
1423 eq_int_type.
1424 (basic_streambuf::uflow): Same.
1425 * include/bits/sstream.tcc (basic_stringbuf::overflow): Use
1426 to_char_type.
1427 * include/bits/basic_ios.tcc (basic_ios::init): Use _CharT().
1428 * include/bits/streambuf.tcc (basic_streambuf::xsgetn): Use
1429 eq_int_type.
1430 (basic_streambuf::xsputn): Same.
1431 (__copy_streambufs): Same.
1432
1433 2002-07-03 Benjamin Kosnik <bkoz@redhat.com>
1434
1435 * include/std/std_memory.h: Fix formatting.
1436 * testsuite/20_util/auto_ptr_neg.cc: New.
1437 * testsuite/20_util/auto_ptr.cc: Tweaks.
1438 * testsuite/23_containers/map_operators.cc (test01): Split into..
1439 * testsuite/23_containers/map_operators_neg.cc (test01): ...this. New.
1440 * testsuite/23_containers/set_operators.cc: Move to...
1441 * testsuite/23_containers/set_operators_neg.cc: ...here.
1442 * testsuite/README: Add some more naming rules.
1443
1444 2002-07-03 Steev Wilcox <steev@paradigmds.com>
1445
1446 PR libstdc++/7057
1447 * include/ext/stl_hashtable.h: Fix.
1448 * testsuite/ext/hash_map.cc: New.
1449
1450 2002-07-03 Jack Reeves <jackw_reeves@hotmail.com>
1451 Kenny Simpson <theonetruekenny@yahoo.com>
1452 Phil Edwards <pme@gcc.gnu.org>
1453
1454 PR libstdc++/3946
1455 * testsuite/20_util/auto_ptr.cc (test08): New test.
1456 * include/std/std_memory.h (auto_ref_ptr): Make constructor explicit.
1457 (auto_ptr::operator auto_ptr_ref): Fix typo.
1458 General reformatting and doxygenating of the whole file.
1459
1460 2002-07-03 Benjamin Kosnik <bkoz@redhat.com>
1461
1462 PR libstdc++/7097
1463 * include/c/std_cwchar.h: Fix.
1464
1465 2002-07-02 Benjamin Kosnik <bkoz@redhat.com>
1466
1467 PR libstdc++/6410
1468 * include/bits/locale_facets.h (moneypunct::moneypunct): Add const
1469 char* name parameter.
1470 * config/locale/gnu/monetary_members.cc: Use it.
1471 * config/locale/generic/monetary_members.cc: Same.
1472 * src/localename.cc (_Impl::_Impl(const char*, size_t)): Use it.
1473
1474 * include/backward/strstream.h: Update date.
1475
1476 2002-07-02 Paolo Carlini <pcarlini@unitus.it>
1477
1478 PR libstdc++/6642
1479 * include/bits/stl_iterator.h
1480 (__normal_iterator::operator-(const __normal_iterator&)):
1481 Make non-member, as already happens for the comparison
1482 operators in accord with DR179 (Ready).
1483 * testsuite/24_iterators/iterator.cc: Add test from the PR.
1484
1485 2002-07-02 Phil Edwards <pme@gcc.gnu.org>
1486
1487 PR libstdc++/7173
1488 * acinclude.m4: Simplify determination of gcc_version, and move
1489 up to GLIBCPP_CONFIGURE.
1490 * configure.in (release_VERSION): Really remove.
1491 (AM_INIT_AUTOMAKE, AM_CONFIG_HEADER): Move after GLIBCPP_CONFIGURE.
1492 * aclocal.m4, configure: Regenerate.
1493
1494 2002-07-02 Phil Edwards <pme@gcc.gnu.org>
1495
1496 * docs/html/configopts.html, docs/html/install.html: Tweaks.
1497 * include/ext/algorithm, include/ext/hash_map, include/ext/hash_set,
1498 include/ext/iterator, include/ext/numeric, include/ext/rb_tree,
1499 include/ext/slist, include/ext/stl_rope.h: Add doxygen hooks.
1500
1501 2002-07-01 Benjamin Kosnik <bkoz@redhat.com>
1502
1503 * include/backward/strstream: Remove namespace std. Transfer to...
1504 * include/backward/strstream.h: ...here. Qualify std names.
1505 * src/strstream.cc: Remove namespace std.
1506 * include/Makefile.am (backward_headers): Remove strstream.h.
1507 * include/Makefile.in: Regenerate.
1508 * config/linker-map.gnu: Export strstream bits.
1509
1510 * src/fstream-inst.cc: Tweak.
1511 * src/io-inst.cc: Same.
1512 * src/istream-inst.cc: Same.
1513 * src/misc-inst.cc: Same.
1514 * src/ostream-inst.cc: Same.
1515 * src/sstream-inst.cc: Same.
1516 * src/valarray-inst.cc: Same.
1517 * src/misc-inst.cc: Remove unused instantiations.
1518
1519 2002-07-01 Benjamin Kosnik <bkoz@redhat.com>
1520
1521 * configure.in (libtool_VERSION): Bump to 5:0:0.
1522 * configure: Regenerate.
1523
1524 2002-06-28 Phil Edwards <pme@gcc.gnu.org>
1525
1526 PR libstdc++/7157, PR libstdc++/7158, PR libstdc++/7161
1527 * include/std/std_queue.h: Include deque.tcc, vector.tcc.
1528 * include/std/std_stack.h: Include deque.tcc.
1529 * testsuite/23_containers/adaptors.cc: New file.
1530
1531 2002-06-27 Phil Edwards <pme@gcc.gnu.org>
1532
1533 * include/bits/stl_alloc.h: Deprecate all 'reallocate' memfns.
1534 * docs/html/ext/howto.html: Update allocator notes.
1535
1536 2002-06-26 Benjamin Kosnik <bkoz@redhat.com>
1537
1538 * configure.in (INTERFACE): Remove.
1539 (release_VERSION): Remove.
1540 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Change include placement.
1541 (libstdcxx_interface): Change. Use gcc methods to determine version.
1542 * configure: Regenerate.
1543 * aclocal.m4: Regenerate.
1544
1545 2002-06-25 DJ Delorie <dj@redhat.com>
1546
1547 * acinclude.m4 (GLIBCPP_CONFIGURE): Split out
1548 GLIBCPP_TOPREL_CONFIGURE.
1549 * aclocal.m4: Likewise.
1550 * configure.in: Call it before AC_CANONICAL_SYSTEM.
1551 * configure: Regenerate.
1552
1553 2002-06-25 Jessica Han <jessica@cup.hp.com>
1554
1555 * config/os/hpux/os_defines.h Define _GLIBCPP_VTABLE_PADDING
1556 * libsupc++/tinfo.cc Handle the 8 byte aligned vtable entries when
1557 _GLIBCPP_VTABLE_PADDING is defined.
1558
1559 2002-06-25 Benjamin Kosnik <bkoz@redhat.com>
1560
1561 * include/bits/stl_alloc.h: Additional formatting.
1562
1563 2002-06-24 Phil Edwards <pme@gcc.gnu.org>
1564
1565 * include/bits/stl_alloc.h: Reformat as per C++STYLE.
1566
1567 2002-06-24 Phil Edwards <pme@gcc.gnu.org>
1568
1569 * config/cpu/*/bits/*: Move header files up a level. Remove bits.
1570 * config/os/*/bits/*: Likewise.
1571 * configure.in: Update.
1572 * configure: Regenerate.
1573 * configure.target: Update.
1574 * docs/html/17_intro/porting.texi: Update.
1575
1576 2002-06-21 Phil Edwards <pme@gcc.gnu.org>
1577
1578 * include/bits/stl_map.h, include/bits/stl_multimap.h,
1579 include/bits/stl_queue.h, include/bits/stl_stack.h: Reformat and
1580 complete doxygenation.
1581 * include/bits/boost_concept_check.h: Minor comment.
1582
1583 2002-06-21 Benjamin Kosnik <bkoz@redhat.com>
1584
1585 * include/c_compatibility: New.
1586 * include/c_compatibility/assert.h: New.
1587 * include/c_compatibility/ctype.h: New.
1588 * include/c_compatibility/errno.h: New.
1589 * include/c_compatibility/float.h: New.
1590 * include/c_compatibility/iso646.h: New.
1591 * include/c_compatibility/limits.h: New.
1592 * include/c_compatibility/locale.h: New.
1593 * include/c_compatibility/math.h: New.
1594 * include/c_compatibility/setjmp.h: New.
1595 * include/c_compatibility/signal.h: New.
1596 * include/c_compatibility/stdarg.h: New.
1597 * include/c_compatibility/stddef.h: New.
1598 * include/c_compatibility/stdio.h: New.
1599 * include/c_compatibility/stdlib.h: New.
1600 * include/c_compatibility/string.h: New.
1601 * include/c_compatibility/time.h: New.
1602 * include/c_compatibility/wchar.h: New.
1603 * include/c_compatibility/wctype.h: New.
1604
1605 * include/c/std_cerrno.h: Get out of the way... define errno.
1606 * include/c/std_cmath.h: Add abs, modf overloads.
1607 Undefine C99 isms. Still not sure how to deal with this sanely.
1608 * include/c/std_csetjmp.h: Tweak.
1609 * include/c/std_cwchar.h: Include cstddef for size_t.
1610
1611 * include/c_std/std_cmath.h: Remove extra function.
1612
1613 Pendantic std usage in testsuites.
1614 * testsuite/17_intro/header_cstdlib.cc (test01): Qualify ldiv_t
1615 with std.
1616 * testsuite/17_intro/header_cwchar.cc: Tweak.
1617 * testsuite/22_locale/codecvt_members_char_char.cc (test03): Use
1618 std::setlocale.
1619 * testsuite/22_locale/ctype_to_wchar_t.cc (test05): Same.
1620 * testsuite/22_locale/ctype_to_char.cc (test05): Same.
1621 * testsuite/22_locale/ctype_is_wchar_t.cc (test05): Same.
1622 * testsuite/22_locale/ctype_is_char.cc (test05): Same.
1623 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Same.
1624 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Same.
1625 * testsuite/22_locale/time_get_members_char.cc (test08): Same.
1626 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Same.
1627 * testsuite/22_locale/time_put_members_char.cc (test04): Same.
1628 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Same.
1629 * testsuite/22_locale/num_put_members_char.cc (test04): Same.
1630 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Same.
1631 * testsuite/22_locale/numpunct_members_char.cc (test03): Same.
1632 * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
1633 * testsuite/22_locale/num_get_members_char.cc: Same.
1634 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Same.
1635 * testsuite/22_locale/money_put_members_char.cc (test07): Same.
1636 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Same.
1637 * testsuite/22_locale/moneypunct_members_char.cc (test03): Same.
1638 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Same.
1639 * testsuite/22_locale/money_get_members_char.cc (test08): Same.
1640 * testsuite/22_locale/messages_members_char.cc (test03): Same.
1641 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Same.
1642 * testsuite/22_locale/collate_members_char.cc (test04): Same.
1643 * testsuite/26_numerics/fabs_inline.cc: Use std::printf.
1644 * testsuite/27_io/istream_seeks.cc (test02): Qualify abort.
1645 * testsuite/27_io/istream_extractor_arith.cc (test11): Qualify strtol.
1646
1647 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
1648
1649 * libsupc++/Makefile.am (libsupc__convenience_la_SOURCES): Add
1650 c_sources.
1651
1652 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
1653
1654 * src/ext-inst.cc (__gnu_cxx): Use instead of std:: for extensions.
1655 Use size_type instead of unsigned long.
1656
1657 2002-06-20 Steve Ellcey <sje@cup.hp.com>
1658
1659 * src/ext-inst.cc (_S_fetch): Add explicit templates for char and
1660 wchar types.
1661 (_S_min_len): Ditto.
1662
1663 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
1664
1665 * include/Makefile.am: Add rules.
1666 * include/Makefile.in: Regenerate.
1667
1668 * acinclude.m4: Define GLIBCPP_C_HEADERS_COMPATIBILITY.
1669 * aclocal.m4: Regenerate.
1670 * configure: Regenerate.
1671 * configure.target (c_model, c_compatibility): Add.
1672
1673 * libsupc++/Makefile.am (c_sources): New.
1674 (libsupc___la_SOURCES): Add c_sources.
1675 (LTCOMPILE): Remove INCLUDES.
1676 (GCC_INCLUDES): New.
1677 (C_COMPILE): New, like COMPILE but without INCLUDES.
1678 (cxa_demangle.o): Use C_COMPILE.
1679 (dyn-string.o): Use C_COMPILE.
1680
1681 * include/c/std_cstdarg.h: Define __need___va_list.
1682 * include/c/std_cstddef.h: Define need_size_t, need_ptrdiff_t,
1683 need_NULL, need_offsetof.
1684
1685 2002-06-19 Steve Ellcey <sje@cup.hp.com>
1686
1687 * configure.in (HAVE_FINITE*, HAVE_ISINF*, HAVE_ISNAN*): Remove
1688 definitions in hpux11 cross-build because these functions do
1689 not exist on hpux11 (but some exist on hpux10); move defaults out
1690 into existing sections.
1691 * configure: Regenerate.
1692
1693 2002-06-18 Benjamin Kosnik <bkoz@redhat.com>
1694
1695 * include/c/std_cwchar.h: Guard. Add mbstate_t bits.
1696 * include/c/std_cwctype.h: Guard.
1697
1698 * libsupc++/eh_alloc.cc: Tweak include order.
1699 * libsupc++/pure.cc: Use cstdio.
1700 * libsupc++/new_op.cc: Remove malloc forward declaration, as
1701 cstdlib brings it in. Use std::malloc.
1702
1703 * src/Makefile.am (sources): Remove cmath.cc.
1704 * src/Makefile.in: Regenerate.
1705 * src/cmath.cc: Remove.
1706
1707 2002-06-18 Phil Edwards <pme@gcc.gnu.org>
1708
1709 * configure.target: Force mips to use the generic cpu routines.
1710
1711 2002-06-18 Phil Edwards <pme@gcc.gnu.org>
1712
1713 * configure.host: Delete file.
1714 * configure.target: More documentation. Factor out common parts of
1715 script into "intelligent" settings about defaults. Remove redundancy.
1716
1717 * acinclude.m4: Update comments. Do not call configure.host.
1718 (GLIBCPP_ENABLE_SYMVERS): If disabled, do not bother checking for
1719 libgcc_s.
1720 * configure.in: Slight reformatting, more comments. Factor out
1721 "config/" from all the directories.
1722 * docs/html/17_intro/porting.texi: Update and expand.
1723 * testsuite/Makefile.am (AM_RUNTESTFLAGS): Move empty setting
1724 from configure.host.
1725
1726 * aclocal.m4, configure, docs/html/17_intro/porting.html,
1727 testsuite/Makefile.in: Regenerate.
1728
1729 2002-06-16 Phil Edwards <pme@gcc.gnu.org>
1730
1731 * docs/doxygen/TODO: Update.
1732 * docs/doxygen/tables.html: Uncomment magical middle column.
1733 * docs/doxygen/user.cfg.in: Kludge to ignore function-like macros.
1734 * include/bits/stl_queue.h: Doxygenate and reformat.
1735 * include/bits/ios_base.h, include/std/std_streambuf.h: Add comment
1736 for deprecated names required by the standard.
1737
1738 2002-06-14 J.T. Conklin <jtc@acorntoolworks.com>
1739
1740 * configure.in (target_alias): Fix.
1741 * configure: Regenerate.
1742 * aclocal.m4: Regenerate.
1743
1744 2002-06-12 Phil Edwards <pme@gcc.gnu.org>
1745
1746 * include/Makefile.am: Add new files.
1747 * include/Makefile.in: Regenerate.
1748
1749 * include/bits/stl_deque.h, include/bits/stl_list.h,
1750 include/bits/stl_vector.h: Clean up, reformat. Move definitions...
1751 * include/bits/deque.tcc, include/bits/list.tcc,
1752 include/bits/vector.tcc: ...to here. New files.
1753
1754 * include/ext/stl_hashtable.h: Inclide correct full headers.
1755 * include/std/std_deque.h: Include .tcc files for now.
1756 * include/std/std_list.h: Likewise.
1757 * include/std/std_vector.h: Likewise.
1758
1759 2002-06-12 Daniel Jacobowitz <drow@mvista.com>
1760
1761 * Makefile.am: Add FLAGS_TO_PASS.
1762 * Makefile.in: Regenerated.
1763
1764 2002-06-11 J.T. Conklin <jtc@acorntoolworks.com>
1765 Benjamin Kosnik <bkoz@redhat.com>
1766
1767 * configure.target: Set os_include_dir to config/os/qnx/qnx6.1
1768 under *-qnx6.[12]*.
1769 * configure.in: Add support for *-qnx6.[12]*.
1770 * configure: Regenerate.
1771
1772 * config/os/qnx, config/os/qnx/qnx6.1, config/os/qnx/qnx6.1/bits:
1773 New directories.
1774 * config/os/qnx/qnx6.1/bits/ctype_base.h, ctype_inline.h,
1775 ctype_noninline.h, os_defines.h: New files.
1776
1777 2002-06-10 Loren J. Rittle <ljrittle@acm.org>
1778
1779 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): Reorder and
1780 include all required headers for test against older POSIX standard.
1781 (GLIBCPP_CHECK_SETRLIMIT): Likewise.
1782 (ac_setrlimit): Likewise.
1783 * aclocal.m4: Regenerate.
1784 * configure: Regenerate.
1785 * testsuite/testsuite_hooks.cc: Reorder and include all
1786 required headers for use against older POSIX standard.
1787
1788 2002-06-08 Paolo Carlini <pcarlini@unitus.it>
1789
1790 * testsuite/backwards/strstream_members.cc: New.
1791
1792 2002-06-08 Benjamin Kosnik <bkoz@redhat.com>
1793
1794 * include/backwards/strstream: Format.
1795 * src/strstream.cc: Format.
1796
1797 2002-06-08 Andreas Schwab <schwab@suse.de>
1798
1799 * src/strstream.cc (strstreambuf::overflow): Set _M_buf,
1800 _M_buf_size and _M_buf_size_opt to the new buffer and size.
1801
1802 2002-06-08 Benjamin Kosnik <bkoz@redhat.com>
1803
1804 * config/os/generic/bits/ctype_noninline.h: Tweak format.
1805
1806 2002-06-07 Steve Ellcey <sje@cup.hp.com>
1807
1808 * src/locale-inst.cc (__codecvt_abstract_base):
1809 Put inside _GLIBCPP_USE_WCHAR_T ifdef.
1810 * include/bits/istream.tcc (basic_istream): Ditto.
1811 (ws) Ditto.
1812 (operator>>) Ditto.
1813 * include/bits/ostream.tcc (basic_ostream): Ditto.
1814 (endl): Ditto.
1815 (ends): Ditto.
1816 (flush): Ditto.
1817 (operator<<): Ditto.
1818
1819 2002-06-07 Phil Edwards <pme@gcc.gnu.org>
1820
1821 * mkcheck.in: Link against local testsuite library.
1822 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Move null
1823 implementation out...
1824 * testsuite/testsuite_hooks.cc: ...to here.
1825
1826 2002-06-06 Loren J. Rittle <ljrittle@acm.org>
1827
1828 * src/Makefile.am (AUTOMAKE_OPTIONS): Use cygnus-style generation.
1829 * include/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
1830 * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
1831 * src/Makefile.in: Regenerate (explicitly with --cygnus option).
1832 * testsuite/Makefile.in: Likewise.
1833
1834 2002-06-05 David Edelsohn <edelsohn@gnu.org>
1835
1836 * config/os/aix/bits/ctype_noninline.h (do_toupper,do_tolower):
1837 Call external symbol.
1838
1839 2002-06-04 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1840
1841 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
1842 Search correct multilib testsuite dir for libv3test.
1843
1844 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
1845 Gaby Dos Reis <gdr@codesourcery.com>
1846
1847 * include/bits/basic_string.tcc
1848 (basic_string::_S_construct(forward_iterator_tag):
1849 Fix typo in null pointer check.
1850 * testsuite/21_strings/ctor_copy_dtor.cc: Add test04.
1851
1852 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
1853
1854 * testsuite/22_locale/money_get_members_char.cc
1855 (test02): Add decimal point to long double constants.
1856 * testsuite/22_locale/money_get_members_wchar_t.cc
1857 (test02): Likewise.
1858 * testsuite/22_locale/money_put_members_char.cc
1859 (test02, test03, test06): Likewise.
1860 * testsuite/22_locale/money_put_members_wchar_t.cc:
1861 (test02, test03, test06): Likewise.
1862 * testsuite/22_locale/num_get_members_char.cc:
1863 (test02, test01): Likewise; suffix long long constants with LL.
1864 * testsuite/22_locale/num_get_members_wchar_t.cc:
1865 (test02, test01): Likewise.
1866 * testsuite/22_locale/num_put_members_char.cc:
1867 (test02, test01): Likewise.
1868 * testsuite/22_locale/num_put_members_wchar_t.cc:
1869 (test02, test01): Likewise.
1870
1871 2002-06-03 Marc Espie <espie@openbsd.org>
1872
1873 * config/cpu/m68k/bits/atomicity.h(__exchange_and_add): Fix inline
1874 assembly for old assemblers.
1875
1876 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
1877
1878 * include/bits/stl_bvector.h (swap(_Bit_reference,_Bit_reference)):
1879 Move/rename...
1880 (vector<bool>::swap(reference,reference)): ...to this.
1881
1882 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
1883
1884 * docs/doxygen/TODO: Update.
1885 * docs/doxygen/user.cfg.in (SORT_MEMBER_DOCS): Set to off, now that
1886 some class members are in 14882 order.
1887 * docs/html/ext/howto.html: 3.1 is in the past now, not the future.
1888
1889 * include/std/std_bitset.h: Update comment.
1890 * src/bitset.cc: Update comments, clean up spacing.
1891
1892 * src/Makefile.am (sources): Alphabetize for convenience.
1893 * src/Makefile.in: Regenerate.
1894
1895 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
1896
1897 * include/bits/stl_deque.h, include/bits/stl_list.h,
1898 include/bits/stl_vector.h: Reformat to (mostly) match C++STYLE.
1899 Reorder to match 14882. Doxygen blocks for all public members.
1900
1901 2002-05-31 Marcus Meissner <meissner@suse.de>
1902
1903 PR libstdc++/6886
1904 * include/bits/stl_bvector.h: Use UL suffix for unsigned longs.
1905 * testsuite/23_containers/vector_bool.cc (test02): New test.
1906
1907 2002-05-30 Marc Espie <espie@openbsd.org>
1908
1909 * configure.in: Always check for sys/types.h
1910 * configure: Regenerate.
1911
1912 2002-05-28 Nick Clifton <nickc@cambridge.redhat.com>
1913
1914 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):
1915 Rebuild the wrapper file every time this proc is called.
1916
1917 2002-05-28 Phil Edwards <pme@gcc.gnu.org>
1918
1919 * testsuite/Makefile.am (noinst_LIBRARIES): New target. Pull in
1920 CXX/INCLUDES.
1921 * testsuite/Makefile.in: Regenerate.
1922 * testsuite/testsuite_hooks.h (gnu_copy_tracker): Move from
1923 list_modifiers.cc and rename from 'T'. Move code bodies...
1924 * testsuite/testsuite_hooks.cc: ...to here. New file.
1925 * testsuite/23_containers/list_modifiers.cc: Move 'T' class out.
1926 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
1927 Add libv3test.a to link options.
1928
1929 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
1930
1931 * src/misc-inst.cc: Define unnecessary algorithm
1932 instantiations. Break apart instantiations into groupings below.
1933 * src/fstream-inst.cc: New.
1934 * src/io-inst.cc: New.
1935 * src/istream-inst.cc: New.
1936 * src/ostream-inst.cc: New.
1937 * src/streambuf-inst.cc: New.
1938 * src/sstream-inst.cc: New.
1939 * src/Makefile.am (sources): Add files.
1940 * src/Makefile.in: Regenerate.
1941
1942 * acinclude.m4: Work around automake 1.4-p5 bug, change
1943 AM_GNU_GETTEXT in comments to AM-GNU-GETTEXT.
1944
1945 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
1946
1947 PR libstdc++/6795.
1948 * config/os/solaris/solaris2.6/bits/ctype_noninline.h
1949 (classic_table): Fix.
1950 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1951
1952 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
1953
1954 * testsuite/22_locale/ctype_is_wchar_t.cc: Guard with
1955 _GLIBCPP_USE_WCHAR_T.
1956 * testsuite/22_locale/ctype_narrow_wchar_t.cc: Same.
1957 * testsuite/22_locale/ctype_to_wchar_t.cc: Same.
1958 * testsuite/22_locale/ctype_widen_wchar_t.cc: Same.
1959
1960 2002-05-26 Carlo Wood <carlo@alinoe.com>
1961 Paolo Carlini <pcarlini@unitus.it>
1962
1963 PR libstdc++/6811
1964 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
1965 (__enc_traits::operator=): add missing return statement.
1966
1967 2002-05-24 Phil Edwards <pme@gcc.gnu.org>
1968
1969 PR libstdc++/6282
1970 * include/std/std_bitset.h (_Base_biteset<0>): New specialization.
1971 (operator>>): If nothing was extracted, don't fail in the
1972 zero-length case.
1973 * testsuite/23_containers/bitset_ctor.cc (test02): New test.
1974
1975 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
1976
1977 PR libstdc++/6701
1978 * testsuite/22_locale/ctype_narrow_char.cc: New.
1979 * testsuite/22_locale/ctype_narrow_wchar_t.cc: New.
1980 * testsuite/22_locale/ctype_widen_char.cc: New.
1981 * testsuite/22_locale/ctype_widen_wchar_t.cc: New.
1982 * testsuite/22_locale/ctype_members_char.cc: Move some bits into...
1983 * testsuite/22_locale/ctype_is_char.cc: ...this.
1984 * testsuite/22_locale/ctype_to_char.cc: ...and this.
1985 * testsuite/22_locale/ctype_members_wchar_t.cc: Move some bits into...
1986 * testsuite/22_locale/ctype_is_wchar_t.cc: ...this.
1987 * testsuite/22_locale/ctype_to_wchar_t.cc: ...and this.
1988
1989 * testsuite/22_locale/ctype_scan_wchar_t.cc: Should pass.
1990
1991 2002-05-24 Dale Peakall <dale@peakall.net>
1992
1993 PR libstdc++/6701
1994 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_narrow): Fix.
1995 * config/locale/generic/ctype_members.cc: Same.
1996
1997 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
1998
1999 PR libstdc++/6750
2000 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
2001 for empty string literal.
2002 (ostream::operator<<(const _CharT*)): Same.
2003 (ostream<char>::operator<<(const char*)): Same.
2004 (ostream<char>::operator<<(streambuf*)): Same.
2005 * testsuite/27_io/ostream_inserter_char.cc (test08): Add tests.
2006 * testsuite/27_io/ostream_inserter_other.cc (test02): Modify.
2007
2008 2002-05-23 Benjamin Kosnik <bkoz@redhat.com>
2009
2010 * configure.in (release_VERSION): Update to 3.1.1.
2011 (libtool_VERSION): Update to 4:1:0.
2012 * configure: Regenerate.
2013
2014 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
2015
2016 * include/bits/stl_pair.h: Tweak comment markup.
2017
2018 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
2019
2020 * include/ext/stdio_filebuf.h: Add header guards. Doxygenate.
2021
2022 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
2023
2024 * docs/doxygen/user.cfg.in (EXCLUDE): Add 'CVS'.
2025
2026 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
2027
2028 * include/bits/stl_vector.h: Reformat to follow C++STYLE.
2029 Doxygenate all public members. Reorder to follow 14882.
2030 (vector::push_back(void)): Remove previously-deprecated fn.
2031 (vector::insert(iterator), vector::_M_insert_aux(iterator)):
2032 Deprecate for removal in 3.3.
2033
2034 2002-05-20 Phil Edwards <pme@gcc.gnu.org>
2035
2036 * docs/html/faq/index.html (5.4): Recommend against -I options for
2037 finding the ext headers.
2038 * docs/html/faq/index.txt: Regenerate.
2039
2040 2002-05-19 Paolo Carlini <pcarlini@unitus.it>
2041
2042 * testsuite/23_containers/deque_operators.cc (test01):
2043 Fix minor typo in last commit.
2044
2045 2002-05-18 Paolo Carlini <pcarlini@unitus.it>
2046
2047 PR libstdc++/6503
2048 * include/bits/stl_deque.h (_Deque_iterator::operator==,
2049 operator!=, operator<, operator>, operator>=, operator<=):
2050 Make non-member functions, to allow comparing const and
2051 non-const iterators in any order.
2052 * testsuite/23_containers/deque_operators.cc: New testfile.
2053
2054 2002-05-16 Phil Edwards <pme@gcc.gnu.org>
2055
2056 * docs/html/faq/index.html: Update not-a-bug list with basic_file.h.
2057 * docs/html/faq/index.txt: Regenerate.
2058
2059 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2060
2061 * Makefile.am: Allow for PWDCMD to override hardcoded pwd.
2062 * acinclude.m4: Likewise.
2063 * docs/html/Makefile: Likewise.
2064 * aclocal.m4: Regenerate.
2065 * configure: Regenerate.
2066 * Makefile.in: Regenerate.
2067
2068 2002-05-15 Loren J. Rittle <ljrittle@acm.org>
2069
2070 libstdc++/6641
2071 * include/bits/c++config (__USE_MALLOC): Report case where
2072 the user improperly defined it on the command line.
2073
2074 2002-05-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2075
2076 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit):
2077 Retrieve current limits before setting.
2078
2079 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
2080
2081 PR libstdc++/6518
2082 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
2083 for null case.
2084 (ostream::operator<<(const _CharT*)): Same.
2085 (ostream<char>::operator<<(const char*)): Same.
2086 * testsuite/27_io/ostream_inserter_char.cc (test07): Add test.
2087
2088 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
2089
2090 PR libstdc++/6594
2091 * src/strstream.cc (strstreambuf): Fix leak.
2092
2093 2002-05-15 Paolo Carlini <pcarlini@unitus.it>
2094
2095 PR libstdc++/6648
2096 * include/bits/istream.tcc (istream::getline, ignore):
2097 Upon __idelim (__delim) call sbumpc() not snextc().
2098 * testsuite/27_io/narrow_stream_objects.cc:
2099 Add test08 and test09.
2100
2101 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
2102
2103 * testsuite/22_locale/ctype_scan_char.cc: Tweak.
2104 * testsuite/22_locale/ctype_scan_wchar_t.cc: New.
2105
2106 * docs/html/install.html: Fix.
2107
2108 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
2109
2110 * include/bits/fstream.tcc
2111 (basic_filebuf::_M_allocate_internal_buffer): Remove extraneous
2112 try/catch blocks.
2113 * src/localename.cc (locale::_Impl::_M_install_facet): Same.
2114
2115 * docs/html/install.html: Tweak, add bits about required locales
2116 for the 22_locale tests when using the gnu model.
2117
2118 * testsuite/27_io/istream_sentry.cc: Tweak.
2119
2120 2002-05-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2121
2122 * config/os/irix/irix5.2/bits/ctype_inline.h (scan_is, scan_not):
2123 Fix typo, use this->is() rather than manually (and perhaps
2124 incorrectly) inlining it.
2125 * config/os/irix/irix6.5/bits/ctype_inline.h (scan_is, scan_not):
2126 Likewise.
2127 * testsuite/22_locale/ctype_scan_char.cc: New file.
2128
2129 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
2130 Jakub Jelinek <jakub@redhat.com>
2131
2132 * testsuite/22_locale/money_get_members_char.cc
2133 (test01, test02, test04): Use the de_DE@euro named locale
2134 instead of de_DE to allow for an uniform behaviour with
2135 both old and Euro-era localedata; tweak some tests.
2136 * testsuite/22_locale/money_get_members_wchar_t.cc
2137 (test01, test02, test04): Likewise.
2138 * testsuite/22_locale/money_put_members_char.cc
2139 (test01, test02, test04): Likewise.
2140 * testsuite/22_locale/money_put_members_wchar_t.cc
2141 (test01, test02, test04): Likewise.
2142
2143 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
2144
2145 * testsuite/22_locale/codecvt_members_char_char.cc
2146 (test03): Robustify wrt localedata.
2147 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Likewise.
2148 * testsuite/22_locale/collate_members_char.cc (test04): Likewise.
2149 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Likewise.
2150 * testsuite/22_locale/ctype_members_char.cc (test05): Likewise.
2151 * testsuite/22_locale/ctype_members_wchar_t.cc (test04): Likewise.
2152 * testsuite/22_locale/messages_members_char.cc (test03): Likewise.
2153 * testsuite/22_locale/money_get_members_char.cc (test08): Likewise.
2154 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Likewise.
2155 * testsuite/22_locale/money_put_members_char.cc (test07): Likewise.
2156 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Likewise.
2157 * testsuite/22_locale/moneypunct_members_char.cc (test03): Likewise.
2158 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Likewise.
2159 * testsuite/22_locale/num_get_members_char.cc (test06): Likewise.
2160 * testsuite/22_locale/num_get_members_wchar_t.cc (test06): Likewise.
2161 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
2162 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
2163 * testsuite/22_locale/numpunct_members_char.cc (test03): Likewise.
2164 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Likewise.
2165 * testsuite/22_locale/time_get_members_char.cc (test08): Likewise.
2166 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Likewise.
2167 * testsuite/22_locale/time_put_members_char.cc (test04): Likewise.
2168 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Likewise.
2169
2170 2002-05-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2171
2172 * config/os/irix/irix5.2/bits/os_defines.h: Revert 2002-05-06
2173 change.
2174
2175 2002-05-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
2176
2177 * config/os/gnu-linux/bits/os_defines.h (__glibcpp_long_bits): Define
2178 to 64 for hppa 64-bit port.
2179 (__glibcpp_long_double_bits): Define to 64 for all hppa ports.
2180
2181 2002-05-10 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2182
2183 * acinclude.m4 (enable_symvers): Quote $LD.
2184 * aclocal.m4: Regenerate.
2185 * configure: Likewise.
2186
2187 2002-05-09 Jakub Jelinek <jakub@redhat.com>
2188
2189 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Append all
2190 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
2191 LD_LIBRARY_PATH.
2192
2193 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
2194
2195 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
2196 script entry, and set LD to it when configuring multilibs.
2197 * configure: Rebuilt.
2198
2199 2002-05-07 Mark Mitchell <mark@codesourcery.com>
2200
2201 * configure.in: Add support for WindISS.
2202 * configure: Regenerated.
2203 * configure.target: Add support for WindISS.
2204 * config/os/windiss/bits/ctype_base.h: New file.
2205 * config/os/windiss/bits/ctype_inline.h: Likewise.
2206 * config/os/windiss/bits/ctype_noninline.h: Likewise.
2207 * config/os/windiss/bits/os_defines.h: Likewise.
2208
2209 2002-05-06 Paolo Carlini <pcarlini@unitus.it>
2210
2211 Test all the facets for the temporary "C" locale switch issue.
2212 * testsuite/22_locale/codecvt_members_char_char.cc: Add test03.
2213 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
2214 * testsuite/22_locale/collate_members_char.cc: Add test04.
2215 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
2216 * testsuite/22_locale/ctype_members_char.cc: Add test05.
2217 * testsuite/22_locale/ctype_members_wchar_t.cc: Add test04.
2218 * testsuite/22_locale/messages_members_char.cc: Add test03.
2219 * testsuite/22_locale/money_get_members_char.cc: Add test08.
2220 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
2221 * testsuite/22_locale/money_put_members_char.cc: Add test07.
2222 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
2223 * testsuite/22_locale/moneypunct_members_char.cc: Add test03.
2224 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
2225 * testsuite/22_locale/num_get_members_char.cc: Add test06.
2226 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
2227 * testsuite/22_locale/numpunct_members_char.cc: Add test03.
2228 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
2229 * testsuite/22_locale/time_get_members_char.cc: Add test08.
2230 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
2231 * testsuite/22_locale/time_put_members_char.cc: Add test04.
2232 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
2233
2234 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
2235 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
2236
2237 2002-05-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2238
2239 * config/os/irix/irix5.2/bits/os_defines.h (_SGI_SOURCE,
2240 __EXTENSIONS__): Ensure they are always defined.
2241
2242 2002-05-06 Phil Edwards <pme@gcc.gnu.org>
2243
2244 * docs/html/documentation.html: Fix broken link.
2245
2246 2002-05-04 Benjamin Kosnik <bkoz@redhat.com>
2247 Paolo Carlini <pcarlini@unitus.it>
2248
2249 * testsuite/22_locale/num_put_members_char.cc: Add test04(),
2250 testing for the locale_facets.tcc entry of the previous commit.
2251 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
2252
2253 2002-05-04 Takeshi Kobayakawa <tskoba@mte.biglobe.ne.jp>
2254
2255 * config/locale/generic/c_locale.cc
2256 (__convert_to_v(float, double, long double)):
2257 Fix the temporary switch to the "C" locale, saving and
2258 restoring in the proper way the current locale.
2259 * config/locale/generic/time_members.cc
2260 (__timepunct<char, wchar_t>::_M_put): Likewise.
2261 * config/locale/gnu/messages_members.cc
2262 (messages<char>::do_get): Likewise.
2263 * config/locale/gnu/messages_members.h
2264 (messages<_CharT>::do_get): Likewise.
2265 * config/locale/gnu/time_members.cc
2266 (__timepunct<char, wchar_t>::_M_put): Likewise.
2267 * include/bits/locale_facets.tcc (__convert_from_v): Likewise.
2268
2269 2002-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2270
2271 * configure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h.
2272 * libsupc++/Makefile.am (LTCOMPILE): Add $(DEFS).
2273
2274 * Makefile.in, config.h.in, configure: Regenerate.
2275
2276 2002-05-03 Benjamin Kosnik <bkoz@redhat.com>
2277
2278 PR libstdc++/6549.
2279 * include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert.
2280 * testsuite/27_io/narrow_stream_objects.cc (test07): Add.
2281
2282 2002-05-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2283
2284 * config/os/irix/irix5.2/bits/ctype_noninline.h (classic_table):
2285 Return __ctype + 1.
2286 (ctype:_M_table): Initialize to classic_table(), not __ctype.
2287
2288 2002-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2289
2290 * configure.in: Update local install.html, configopts.html paths.
2291 * configure: Regenerate.
2292
2293 2002-05-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2294
2295 * config/os/irix/irix5.2/bits/os_defines.h
2296 (__glibcpp_long_double_bits, __glibcpp_long_bits): Define.
2297
2298 * config/os/irix/irix5.2/bits/ctype_inline.h: Cast to unsigned
2299 char.
2300
2301 2002-05-02 Phil Edwards <pme@gcc.gnu.org>
2302
2303 * docs/html/faq/index.html: Update list in #4.1.
2304 * docs/html/faq/index.txt: Regenerated.
2305
2306 2002-05-02 Benjamin Kosnik <bkoz@redhat.com>
2307
2308 * docs/html/17_intro/RELEASE-NOTES (New): Update.
2309
2310 2002-05-01 Phil Edwards <pme@gcc.gnu.org>
2311
2312 * include/std/std_bitset.h: Fix doxygen comments.
2313 * docs/html/documentation.html: Minor tweaks for 3.1.
2314 * docs/html/27_io/howto.html: Likewise.
2315 * docs/html/ext/howto.html: Likewise, mention stdio_filebuf.
2316 * docs/html/faq/index.html: Likewise.
2317 * docs/html/faq/index.txt: Regenerated.
2318
2319 2002-05-01 Benjamin Kosnik <bkoz@redhat.com>
2320
2321 PR libstdc++/6533
2322 * include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): New.
2323 (istreambuf_iterator::equal): Use it.
2324 (istreambuf_iterator::operator*): Use it.
2325
2326 2002-05-01 Paolo Carlini <pcarlini@unitus.it>
2327
2328 PR libstdc++/6513
2329 * include/bits/stl_uninitialized.h
2330 (uninitialized_copy(_InputIter, _InputIter, _ForwardIter)):
2331 Fix typo in 2001-07-17 commit: typedef _ValueType to
2332 iterator_traits<_ForwardIter> not <_InputIter>.
2333 * testsuite/23_containers/vector_ctor.cc: Add test04.
2334
2335 2002-04-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
2336
2337 PR libstdc++/6501
2338 * include/c_std/std_cctype.h: Include bits/c++config.h.
2339 * config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define.
2340
2341 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
2342
2343 * include/ext/stdio_filebuf.h: New file.
2344 * include/ext/enc_filebuf.h: New file.
2345 * config/io/basic_file_stdio.h (__basic_file::sys_open): Add fd ctor.
2346 * config/io/basic_file_stdio.cc: Same.
2347 * include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer):
2348 Remove _M_unbuf hacks.
2349 (filebuf::_M_destroy_internal_buffer): Same.
2350 (filebuf::filebuf(cfile, openmode, int_type): Remove definition.
2351 (filebuf::fd): Remove.
2352 * include/std/std_fstream.h (filebuf::_M_unbuf): Remove.
2353 (filebuf::filebuf(__c_file*, openmode, int_type)): Remove.
2354 (filebuf::fd): Remove.
2355 * src/ios.cc (ios_base::_S_ios_create): Change to use specialized
2356 filebufs.
2357 (ios_base::_S_ios_destroy): Same.
2358 * src/misc-inst.cc (file_filebuf<char>): Add instantiation.
2359 * include/Makefile.am (ext_headers): Add ext_filebuf.h,
2360 stdio_filebuf.h. * include/Makefile.in: Regenerate.
2361
2362 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
2363
2364 PR libstdc++/6511
2365 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Fix typo.
2366
2367 2002-04-29 Benjamin Kosnik <bkoz@redhat.com>
2368
2369 PR libstdc++/5820
2370 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
2371 Check for eof.
2372 * include/bits/streambuf_iterator.h: Match stream_iterator.h.
2373 (istreambuf_iterator::operator++): Invalidate on eof.
2374 (istreambuf_iterator::operator++(int)): Same.
2375 (istreambuf_iterator::operator*): Same.
2376
2377 2002-04-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2378
2379 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all
2380 of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH,
2381 LD_LIBRARY64_PATH.
2382
2383 2002-04-28 Benjamin Kosnik <bkoz@redhat.com>
2384
2385 PR libstdc++/5820
2386 * config/io/basic_file_stdio.h (__basic_file::sys_getc): Return int.
2387 (__basic_file::sys_ungetc): Take int.
2388 * config/io/basic_file_stdio.cc (__basic_file::sys_ungetc): Same.
2389 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
2390 Use sys_getc for unbuffered input.
2391 * testsuite/27_io/narrow_stream_objects.cc (test06): New.
2392
2393 * src/ios.cc (_M_grow_words): Adjust error checking.
2394 * testsuite/27_io/ios_base_storage.cc: Same.
2395
2396 2002-04-28 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2397
2398 * include/ext/stl_hashtable.h: Import __iterator_category
2399
2400 2002-04-28 Paolo Carlini <pcarlini@unitus.it>
2401 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2402
2403 * testsuite/ext/hash_set.cc: New testfile.
2404
2405 2002-04-27 Benjamin Kosnik <bkoz@redhat.com>
2406
2407 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
2408 _G_USING_THUNKS.
2409 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
2410 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
2411
2412 2002-04-26 Paolo Carlini <pcarlini@unitus.it>
2413
2414 * include/bits/basic_string.h (replace(__pos, __n1, __s, __n2):
2415 Fix and tighten __throw_length_error check.
2416 * testsuite/21_strings/replace.cc (test05): New.
2417 * testsuite/21_strings/replace.cc (test02, test03, test04): Tweak.
2418
2419 2002-04-23 Loren J. Rittle <ljrittle@acm.org>
2420
2421 * include/std/std_fstream.h (basic_filebuf::sync): Hoist
2422 unconditional flush on lower-layer handle to here...
2423 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow):
2424 ...from here. Optimize remaining _M_file.sync() call pattern.
2425 * testsuite/27_io/narrow_stream_objects.cc (test04): New test.
2426 (test05): Likewise.
2427
2428 2002-04-23 Jason Merrill <jason@redhat.com>
2429
2430 * include/bits/fstream.tcc (basic_filebuf::seekoff): Fix for
2431 output-only filebufs.
2432 * include/std/std_fstream.h (basic_filebuf::_M_set_indeterminate):
2433 Likewise.
2434 (basic_filebuf::_M_set_determinate): Likewise.
2435
2436 PR libstdc++/6414
2437 * include/bits/fstream.tcc (basic_filebuf::seekoff): Adjust return
2438 value properly in the trivial case.
2439 * testsuite/27_io/istream_seeks.cc (test04): Make sure that
2440 tellg() returns the right value after a read.
2441
2442 2002-04-23 Hans-Peter Nilsson <hp@bitrange.com>
2443
2444 * config/cpu/mmix/bits/cpu_limits.h: New file.
2445 * configure.target (CPULIMITSH): Use it.
2446
2447 2002-04-22 Loren J. Rittle <ljrittle@acm.org>
2448
2449 * docs/html/17_intro/porting.texi (_GLIBCPP_AVOID_FSEEK): Remove.
2450 * docs/html/17_intro/porting.html: Rebuilt.
2451
2452 2002-04-20 Jason Merrill <jason@redhat.com>
2453
2454 PR libstdc++/4150
2455 * include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate):
2456 Move to filebuf.
2457 (basic_streambuf::_M_set_determinate): Likewise.
2458 (basic_streambuf::_M_is_indeterminate): Likewise.
2459 * include/bits/std_fstream.h (basic_filebuf::_M_filepos): New
2460 non-static data member.
2461 (basic_filebuf::_M_underflow_common): New non-static member function.
2462 (basic_filebuf::_M_underflow, _M_uflow): Call it.
2463 (basic_filebuf::sync): Avoid useless seeking.
2464 (basic_filebuf::_M_set_indeterminate): Move here from streambuf.
2465 Set _M_filepos.
2466 (basic_filebuf::_M_set_determinate): Likewise.
2467 (basic_filebuf::_M_is_indeterminate): Likewise.
2468 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): Seek
2469 back to _M_out_beg if necessary.
2470 (basic_filebuf::seekoff): Likewise.
2471 (basic_filebuf::_M_underflow_common): Generalization of old
2472 underflow(). Don't seek back to _M_in_beg.
2473 * src/ios.cc: Lose _GLIBCPP_AVOID_FSEEK stuff.
2474 * config/os/solaris/solaris2.?/bits/os_defines.h: Likewise.
2475 * config/os/bsd/freebsd/bits/os_defines.h: Likewise.
2476 * config/os/mingw32/bits/os_defines.h: Likewise.
2477 * testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify
2478 ungetc test.
2479
2480 2002-04-22 Benjamin Kosnik <bkoz@redhat.com>
2481
2482 * include/bits/istream.tcc (istream::read): Fix.
2483 * testsuite/27_io/istream_unformatted.cc (main): Add.
2484
2485 2002-04-20 Benjamin Kosnik <bkoz@redhat.com>
2486
2487 PR libstdc++/6360
2488 * include/bits/istream.tcc (istream::ignore): Streamline, use
2489 delimiter as is.
2490 * include/bits/streambuf.tcc: Use this->gptr.
2491 * testsuite/27_io/istream_unformatted.cc (test08): Add test.
2492
2493 2002-04-18 Benjamin Kosnik <bkoz@redhat.com>
2494
2495 * include/bits/localefwd.h (locale::id::_M_id): Do this correctly,
2496 as type safety is important, especially on solaris.
2497 * include/bits/istream.tcc (istream::read): Clean.
2498 (istream::readsome): Same.
2499 * locale.cc: Wrap lines.
2500
2501 * testsuite/21_strings/inserters_extractors.cc: Tweaks.
2502 * testsuite/27_io/instantiations.cc (test): Add bool variable...
2503 * testsuite/21_strings/capacity.cc: Clean.
2504
2505 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
2506
2507 * docs/doxygen/doxygroups.cc: New group on binary searching.
2508 * include/bits/stl_algo.h: Document binary searches and merges.
2509 * include/bits/stl_deque.h: The 'map' member is not the 'map' class.
2510
2511 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
2512
2513 * docs/doxygen/mainpage.html: Doxygen logo is now a PNG file.
2514 * docs/doxygen/run_doxygen: Bump required version.
2515 * docs/doxygen/user.cfg.in: Revert accidental change.
2516 * docs/html/faq/index.html: Reindent a block of links.
2517 (4.4): New note on using dlsym.
2518 * docs/html/faq/index.txt: Regenerated.
2519
2520 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
2521
2522 * testsuite_flags.in (cxxflags): Also pass @EXTRA_CXX_FLAGS@.
2523
2524 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
2525
2526 * config/linker-map.gnu (__malloc_alloc_template): Add.
2527 (__default_alloc_template): Same.
2528 * include/bits/stl_alloc.h (__malloc_alloc_template): Add extern
2529 template.
2530 (__default_alloc_template): Same.
2531
2532 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
2533
2534 * testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation.
2535
2536 2002-04-16 Benjamin Kosnik <bkoz@redhat.com>
2537
2538 * src/concept-inst.cc (vector<locale::facet*>): Remove instantiations.
2539 * src/stl-inst.cc (vector::_M_insert_aux): Remove instantiation.
2540 (__malloc_alloc_template): Conditionalize.
2541
2542 * include/bits/istream.tcc: Remove sputbackc calls.
2543
2544 * testsuite/19_diagnostics/stdexceptions.cc: Fix comment.
2545
2546 2002-04-16 Paolo Carlini <pcarlini@unitus.it>
2547
2548 * testsuite/24_iterators/rel_ops.cc: New test.
2549
2550 2002-04-16 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2551
2552 * include/bits/type_traits.h (__normal_iterator): Declare in
2553 __gnu_cxx. Adjust use at global namespace.
2554 * include/bits/stl_iterator.h (__normal_iterator): Move definition
2555 into __gnu_cxx::. Add more operator overloads. Tidy existing ones.
2556 * include/bits/basic_string.h (basic_string): Adjust use of
2557 __normal_iterator.
2558 * include/bits/stl_vector.h (_Alloc>): Likewise.
2559 * src/concept-inst.cc (__gnu_cxx): __normal_iterator<> is now here.
2560 * src/string-inst.cc (operator==): Instantiate in __gnu_cxx.
2561
2562 2002-04-15 Benjamin Kosnik <bkoz@redhat.com>
2563
2564 PR libstdc++/4164
2565 Valgrind fixes.
2566 * config/io/basic_file_stdio.cc (__basic_file::~__basic_file):
2567 Call close.
2568 (__basic_file::close): Call fflush. Correct return if fclose ok.
2569 (__basic_file::is_open): Make const.
2570 Change __c_file_type to __c_file.
2571 * config/io/basic_file_stdio.h: Change __c_file_type to __c_file.
2572 (__basic_file::is_open): Make const.
2573 * config/io/c_io_stdio.h: Change __c_file_type to __c_file.
2574 * include/std/std_fstream.h (filebuf::_M_allocate_file): Remove.
2575 (filebuf::_M_unbuf): Add.
2576 (filebuf::_M_file): Change to non-pointer.
2577 (filebuf::_M_allocate_pback_buffer): Remove.
2578 * include/bits/fstream.tcc (filebuf::_M_allocate_file): Remove.
2579 (filebuf::_M_allocate_internal_buffer): Use _M_unbuf.
2580 Change initialization list for _M_file change.
2581 (filebuf::_M_allocate_pback_buffer): Remove.
2582 Change _M_file usage to reflect non-pointer data member.
2583
2584 * config/locale/generic/c_locale.cc
2585 (locale::facet::_S_create_c_locale): Add parameter.
2586 * config/locale/generic/collate_members.cc: Change
2587 _M_compare_helper to _M_compare.
2588 Change _M_transform_helper to _M_transform.
2589 * config/locale/generic/monetary_members.cc: Changeup data types.
2590 Add dtors.
2591 * config/locale/generic/numeric_members.cc: Add dtors.
2592 * config/locale/generic/time_members.cc: Add dtors.
2593 * config/locale/gnu/c_locale.cc: Add parameter.
2594 * config/locale/gnu/collate_members.cc:Change
2595 _M_compare_helper to _M_compare.
2596 Change _M_transform_helper to _M_transform.
2597 * config/locale/gnu/ctype_members.cc: Better error checking.
2598 * config/os/gnu-linux/bits/ctype_noninline.h: Better error checking.
2599 * config/locale/gnu/messages_members.cc: Tweak comment.
2600 * config/locale/gnu/monetary_members.cc: Change data types.
2601 Add dtors.
2602 * config/locale/gnu/numeric_members.cc: Add dtors, better error
2603 checking.
2604 * config/locale/gnu/time_members.cc: Same.
2605 * config/locale/ieee_1003.1-2001/c_locale.cc
2606 (locale::facet::_S_create_c_locale): Add parameter.
2607 * config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef.
2608 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove
2609 bogus ctor.
2610
2611 * include/bits/locale_facets.h (moneypunct): Use string literals.
2612 Don't define dtor.
2613 (numpunct): Same.
2614 (__timepunct): Same.
2615 (locale::_Impl::_M_facets): Change from vector to array.
2616 (locale::_Impl::_M_names): Change from array of strings to array
2617 of string literals.
2618 (locale::facet::_S_create_c_locale): Add parameter.
2619 (locale::locale::_S_num_facets): Move to...
2620 (locale::_Impl::_M_facets_size): Here.
2621 * include/bits/locale_facets.tcc: Fixups for _M_facets, _M_name
2622 changes.
2623 * include/bits/localefwd.h: (locale::id::_M_id): Add member function.
2624 (locale::_Impl::_Impl(facet**, size_t, bool)): Add.
2625 (locale::_Impl::_Impl(string, size_t)): Change to
2626 (locale::_Impl::_Impl(const char*, size_t)): This.
2627
2628 * include/bits/streambuf.tcc (streambuf::_S_pback_size): Define.
2629 * include/std/std_streambuf.h (streambuf::_M_pback_size): Change to
2630 (streambuf::_S_pback_size): This.
2631
2632 * src/globals.cc: Add pre-allocations for "C" facets.
2633 * src/locale-inst.cc: Remove vector instantiations.
2634 * src/locale.cc: Remove vector include. Fixups for _M_names,
2635 _M_facets changes.
2636 * src/localename.cc: Same.
2637
2638 * include/bits/stl_vector.h: Fix odd formatting.
2639
2640 * include/bits/basic_string.tcc: Tweak comment.
2641
2642 * libsupc++/new: Make sure parameters are uglified.
2643 * libsupc++/typeinfo: Same.
2644
2645 * testsuite/22_locale/num_get_members_char.cc: Fixup.
2646 * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
2647 * testsuite/27_io/filebuf_members.cc: Same.
2648
2649 2002-04-12 Steve Ellcey <sje@cup.hp.com>
2650
2651 * gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h
2652 (strtoll, strtoull): In 64 bit mode HP-UX (IA64 and HPPA)
2653 does not define strtoll or strtoull, but does define strtol
2654 and strtoul which are the same since in 64 bit mode
2655 sizeof(long) == sizeof(long long).
2656
2657 2002-04-12 Phil Edwards <pme@gcc.gnu.org>
2658
2659 * include/std/std_bitset.h: Doxygenate std::bitset<>. Clean up
2660 trailing spaces, indentation, and macro names. Make exception
2661 messages more informative.
2662
2663 2002-04-11 Richard Henderson <rth@redhat.com>
2664
2665 * include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering.
2666 * include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same.
2667 (basic_ostream<>::operator<<(long long)): Same.
2668
2669 2002-04-11 Richard Henderson <rth@redhat.com>
2670
2671 * config/linker-map.gnu: Add __gxx_personality_sj0.
2672
2673 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
2674
2675 libstdc++/1072
2676 * include/bits/localefwd.h (locale::_Impl::_M_facets): Change from
2677 pointer to vector.
2678 Remove forward declaration of vector.
2679 Include vector.
2680 * include/bits/locale_facets.tcc: Remove vector include.
2681 (use_locale): Adjust.
2682 (has_locale): Adjust.
2683 * src/locale.cc: Adjust.
2684 * src/localename.cc: Same.
2685
2686 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
2687 Richard Henderson <rth@redhat.com>
2688
2689 * include/bits/sstream.tcc: Clean up bit ops.
2690 * include/bits/fstream.tcc: Same.
2691
2692 2002-04-09 Jakub Jelinek <jakub@redhat.com>
2693
2694 * include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove.
2695 (__num_base::_S_scale_oct): Remove.
2696 * src/locale.cc (__num_base::_S_scale_hex): Remove.
2697 (__num_base::_S_scale_oct): Remove.
2698
2699 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
2700
2701 libstdc++/6124
2702 * testsuite/23_containers/bitset_members.cc: New test.
2703 * include/std/std_bitset.h (_Bit_count::_S_bit_count): Move..
2704 (_S_bit_count): Here.
2705 (_First_one::_S_first_one): Move...
2706 (_S_first_one): Here.
2707 Format.
2708 * src/bitset.cc: Adjust.
2709 * config/linker-map.gnu: Export.
2710
2711 2002-04-08 Benjamin Kosnik <bkoz@redhat.com>
2712
2713 libstdc++/5180
2714 * include/bits/fstream.tcc (filebuf::seekpos): Fix.
2715 * include/std/std_fstream.h: Clean.
2716 * include/bits/ostream.tcc: Remove extraneous variables.
2717 * include/bits/sstream.tcc (stringbuf::seekoff): Be strict about
2718 open modes and which modes.
2719 (stringbuf::seekpos): Same.
2720 * testsuite/27_io/stringbuf_virtuals.cc: New tests.
2721
2722 2002-04-05 Jonathan Wakely <jw@kayari.org>
2723
2724 * include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy,
2725 random_shuffle, partition, stable_partition, sort, stable_sort,
2726 partial_sort, partial_sort_copy, nth_element): Doxygenate.
2727
2728 2002-04-05 David S. Miller <davem@redhat.com>
2729
2730 * config/os/gnu-linux/bits/os_defines.h
2731 (__glibcpp_long_double_bits): Set to 64 on 32-bit Sparc.
2732
2733 2002-04-04 Benjamin Kosnik <bkoz@redhat.com>
2734
2735 libstdc++/3457
2736 via gawrilow@math.tu-berlin.de
2737 * acinclude.m4 (version_specific_libs): Fix combo usage with
2738 --with-gxx-include-dir.
2739 * aclocal.m4: Regenerate.
2740 * configure: Same.
2741
2742 2002-04-03 Benjamin Kosnik <bkoz@redhat.com>
2743
2744 As per DR 184, libstdc++/3139
2745 * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1.
2746 (numeric_limits<bool>::is_iec559): False.
2747 (numeric_limits<bool>::is_modulo): False.
2748
2749 * testsuite/27_io/ios_init.cc: Add instantiations.
2750
2751 2002-04-02 Benjamin Kosnik <bkoz@redhat.com>
2752
2753 libstdc++/5268
2754 * src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
2755 * testsuite/27_io/ios_init.cc (tests04): Add test.
2756
2757 libstdc++/3983
2758 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
2759 (basic_ios::_M_ios_fctype): Consistently name to _M_fctype.
2760 * include/bits/basic_ios.tcc: Same. Remove outdated comments.
2761 * include/bits/istream.tcc: Use _M_fctype, make consistent with
2762 ostream.
2763 * testsuite/27_io/ios_init.cc (tests03): Add test.
2764
2765 2002-04-02 Phil Edwards <pme@gcc.gnu.org>
2766
2767 * include/Makefile.am (install-data-local): Use mkinstalldirs.
2768 * include/Makefile.in: Regenerate.
2769
2770 2002-04-02 Paolo Carlini <pcarlini@unitus.it>
2771 Nathan Myers <ncm@cantrip.org>
2772 Philip Martin <philip@codematters.co.uk>
2773
2774 * include/bits/basic_string.h
2775 (replace(i1, i2, _CharT* k1, _CharT* k2),
2776 replace(i2, i2, const _CharT* k1, const _CharT* k2),
2777 replace(i1, i2, iterator k1, iterator k2,
2778 replace(i1, i2, const_iterator k1, const_iterator k2):
2779 New specializations to optimize for the common cases of
2780 pointers and iterators.
2781 (replace(pos, n1, s, n2)): Tweak.
2782 * include/bits/basic_string.tcc: Tweak comments.
2783 * testsuite/21_strings/replace.cc (test04): New tests.
2784
2785 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
2786
2787 libstdc++/5542
2788 * acinclude: More extensive checks for msgfmt, --enable-nls.
2789 * aclocal.m4: Regenerate.
2790 * configure: Regenerate.
2791
2792 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
2793
2794 * libsupc++/exception (__verbose_terminate_handler): Point to docs.
2795 * docs/doxygen/doxygroups.cc: Doxygen hooks for abi::__cxa_demangle.
2796 * docs/html/18_support/howto.html: Document the demangler.
2797 * docs/html/17_intro/howto.html: And link to it.
2798
2799 * docs/doxygen/mainpage.html: Describe user-vs-maintainer docs.
2800 * docs/doxygen/run_doxygen: Print user-vs-maintainer.
2801
2802 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
2803
2804 * config/linker-map.gnu: Export __verbose_terminate_handler.
2805 * libsupc++/Makefile.am (sources): Add cxa_demangle.c, dyn-string.c.
2806 Make new LTCOMPILE variable, use it in new special build rules.
2807 * libsupc++/Makefile.in: Rebuild.
2808 * src/vterminate.cc (__verbose_terminate_handler): Enable use of
2809 runtime __cxa_demangle.
2810
2811 * docs/html/install.html: Update prereqs and instructions.
2812 * docs/html/19_diagnostics/howto.html: Bring naming for
2813 verbose_terminate_handler into line with reality.
2814
2815 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
2816
2817 libstdc++/3129
2818 * include/bits/basic_ios.h (basic_ios::_M_exception): Move.
2819 (basic_ios::_M_streambuf_state): Move.
2820 * include/bits/ios_base (ios_base): To here.
2821 * include/bits/ios_base.h (ios_base::_S_local_words): To
2822 _S_local_word_size.
2823 (ios_base::_M_word_array): To _M_local_word.
2824 (ios_base::_M_words_limit): To _M_word_size.
2825 (ios_base::_M_words): To _M_word.
2826 Comment.
2827 * include/bits/basic_ios.tcc: Adjust.
2828 * src/ios.cc (ios_base::_M_grow_words): Tweak.
2829 * testsuite/27_io/ios_base_storage.cc: Add tests.
2830
2831 libstdc++/5207
2832 Kenny Simpson <theonetruekenny@yahoo.com>
2833 * include/bits/ios_base.h: Fix.
2834
2835 Richard Henderson <rth@redhat.com>
2836 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
2837 last change.
2838
2839 * include/bits/basic_string.h: Tweak formatting.
2840
2841 2002-04-01 Paolo Carlini <pcarlini@unitus.it>
2842
2843 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
2844 (codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
2845 By definition, sizeof(char) == 1.
2846 * include/bits/locale_facets.tcc (money_get::do_get,
2847 money_put::do_put): Ditto.
2848 * testsuite/21_strings/inserters_extractors.cc
2849 (test04): Ditto.
2850
2851 2002-03-30 Richard Henderson <rth@redhat.com>
2852
2853 PR c++/3719
2854 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler
2855 data out of the exception struct before calling unexpectedHandler.
2856
2857 2002-03-28 Roger Sayle <roger@eyesopen.com>
2858
2859 * include/c_std/std_cmath.h: To prevent problems overloading
2860 g++ builtins, use the double variants from the global namespace
2861 before defining float and long double variants in std::.
2862
2863 2002-03-28 Loren J. Rittle <ljrittle@acm.org>
2864
2865 * testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
2866
2867 2002-03-28 Paolo Carlini <pcarlini@unitus.it>
2868
2869 * testsuite/24_iterators/istream_iterator.cc
2870 (test02): New tests.
2871
2872 2002-03-28 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2873 Paolo Carlini <pcarlini@unitus.it>
2874
2875 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
2876 (test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
2877 fix i_lit_base e_lit_base arrays, making them independent
2878 from the endianness of the platform; tweak UCS4 to UCS-4BE.
2879
2880 2002-03-27 Benjamin Kosnik <bkoz@redhat.com>
2881
2882 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
2883 allocate at least a byte.
2884
2885 * testsuite/18_support/numeric_limits.cc (test_extrema): Make
2886 debugger-friendly.
2887 * testsuite/27_io/streambuf.cc (test07): Fix.
2888 (test06): Enable.
2889
2890 2002-03-27 Phil Edwards <pme@gcc.gnu.org>
2891
2892 * docs/doxygen/Intro.3: Date tweak.
2893 * docs/doxygen/TODO: Update.
2894 * docs/doxygen/doxygroups.cc: Point to tables.html.
2895 * docs/doxygen/mainpage.html: Date tweak.
2896 * docs/doxygen/run_doxygen: Version tweak. Copy tables.html over.
2897 * docs/doxygen/tables.html: Fill in the blanks.
2898
2899 * docs/doxygen/user.cfg.in (ALIASES): Remove maint and endmaint.
2900 * include/bits/stl_algo.h: Likewise; use expanded form.
2901 * include/bits/stl_alloc.h: Likewise.
2902 * include/bits/stl_construct.h: Likewise.
2903 * include/bits/stl_deque.h: Likewise.
2904 * include/bits/stl_iterator_base_types.h: Likewise.
2905 * include/bits/stl_list.h: Likewise.
2906 * include/bits/stl_relops.h: Likewise.
2907 * include/bits/stl_tempbuf.h: Likewise.
2908 * include/bits/stl_vector.h: Likewise.
2909 * include/std/std_memory.h: Likewise.
2910
2911 * include/bits/stl_deque.h: Point into tables.html and add @ingroup.
2912 * include/bits/stl_list.h: Likewise.
2913 * include/bits/stl_vector.h: Likewise.
2914
2915 2002-03-26 Benjamin Kosnik <bkoz@redhat.com>
2916
2917 * include/c/: Guard with _CPP_.
2918 * include/c_std/: Same.
2919 * include/Makefile.am: Fixup install, link routines for null
2920 c_base_headers_extra scenarios.
2921 * include/Makefile.in: Regerate.
2922
2923 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
2924 Richard Henderson <rth@redhat.com>
2925
2926 * testsuite/22_locale/codecvt_members_unicode_char.cc
2927 (test01, test02): make sure that the i_lit_base array
2928 is sufficiently aligned.
2929
2930 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
2931
2932 * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
2933 _ctype_.
2934
2935 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
2936
2937 * testsuite/22_locale/collate_byname.cc
2938 (test01): compare the result of collate::compare with
2939 that of collate::transform + string::compare, not with
2940 that of collate::transform + collate::compare; values
2941 returned by collate::compare are normalized, therefore
2942 test against +-1.
2943
2944 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
2945 Jakub Jelinek <jakub@redhat.com>
2946
2947 * config/locale/gnu/messages_members.h: Correct conditional.
2948 * config/locale/gnu/messages_members.cc: Same.
2949 * config/locale/gnu/time_members.cc: Same.
2950
2951 2002-03-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2952 Paolo Carlini <pcarlini@unitus.it>
2953
2954 * testsuite/22_locale/codecvt_members_unicode_char.cc
2955 (test01, test02): Fix i_lit_base arrays, making them
2956 independent from the endianness of the platform.
2957
2958 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
2959
2960 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
2961 signbit and __signbit directly.
2962 * aclocal.m4: Regenerate.
2963 * configure: Regenerate.
2964 * config.h.in: Regenerate.
2965 * libmath/Makefile.am: Simplify.
2966 * libmath/Makefile.in: Regenerate.
2967 * include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
2968
2969 * include/Makefile.am: Clean up handling of extra "C" header files.
2970 Add hooks for "C" compatibility headers.
2971 * include/Makefile.in: Regenerate.
2972
2973 * include/c/*: Formatting tweaks, cleanups.
2974 * include/c_std/*: Same.
2975
2976 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
2977
2978 * config/locale/gnu/messages_members.h: Add __uselocale bits.
2979 * config/locale/gnu/messages_members.cc: Same.
2980 * config/locale/gnu/time_members.cc: Same.
2981
2982 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
2983
2984 * src/vterminate.cc: Format, -fno-exceptions cleanup.
2985
2986 2002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2987
2988 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
2989 (GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
2990 * aclocal.m4: Regenerate.
2991 * configure: Likewise.
2992
2993 2002-03-19 Paolo Carlini <pcarlini@unitus.it>
2994 Ulrich Drepper <drepper@redhat.com>
2995
2996 * src/locale-inst.cc (__convert_from_v): Add an additional
2997 __size parameter in the declarations.
2998 * include/bits/locale_facets.tcc
2999 (__convert_from_v): When available (that is,
3000 _GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
3001 (num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
3002 being defined or not, call and use __convert_from_v in the
3003 appropriate way.
3004 (num_put::_M_convert_int): Same here.
3005 (money_put::do_put(long double)): Same here.
3006
3007 2002-03-19 Phil Edwards <pme@gcc.gnu.org>
3008
3009 * docs/html/faq/index.html (#3.6): Rewrap and close <a href> tags.
3010 * docs/html/faq/index.txt: Regenerate.
3011
3012 2002-03-19 Steve Ellcey <sje@cup.hp.com>
3013
3014 * acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
3015 GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
3016 --enable-libunwind-exceptions is set.
3017 * configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
3018 macro to check for libunwind.
3019 * configure: Regenerate.
3020 * src/Makefile.am (libstdc___la_LDFLAGS): Add
3021 LIBUNWIND_FLAG to libstdc link line.
3022 * src/Makefile.in: Regenerate.
3023
3024 2002-03-19 Benjamin Kosnik <bkoz@redhat.com>
3025
3026 * docs/html/faq/index.html: Add OS X workaround.
3027 * docs/html/17_intro/TODO: Update.
3028
3029 2002-03-18 Paolo Carlini <pcarlini@unitus.it>
3030
3031 * include/bits/locale_facets.tcc
3032 (money_put::do_put(long double)): Fix dimensioning of
3033 temporary buffers to avoid risk of overruns.
3034 (money_put::do_put(string)): Same for the buffer used to
3035 add the grouping chars.
3036 * testsuite/22_locale/money_put_members_char.cc: Add test06.
3037 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
3038
3039 * include/bits/locale_facets.tcc
3040 (collate::do_transform): Simplify.
3041
3042 2002-03-18 Phil Edwards <pme@gcc.gnu.org>
3043
3044 * acinclude.m4 (GLIBCPP_CONFIGURE): Make indentation/spacing uniform.
3045 * configure.in: Add comments pointing the way for autoconf 2.5x.
3046 * aclocal.m4, config.h.in, configure: Regenerate.
3047
3048 2002-03-18 Philipp Thomas <pthomas@suse.de>
3049
3050 * include/backward/hash_map.h: hash, hashtable, hash_map and
3051 hash_multimap are in namespace __gnu_cxx.
3052 include/backward/hash_set.h: hash, hashtable, hash_set and
3053 hash_multiset are in namespace __gnu_cxx.
3054 include/backward/hashtable.h: hash and hashtable are in
3055 namespace __gnu_cxx.
3056 include/backward/rope.h: char_producer, sequence_buffer,
3057 rope, crope and wrope are in namespace __gnu_cxx.
3058 include/backward/slist.h: slist is in namespace __gnu_cxx.
3059 * testsuite/backward/header_hash_map_h.cc
3060 testsuite/backward/header_hash_set_h.cc
3061 testsuite/backward/header_hashtable_h.cc
3062 testsuite/backward/header_rope_h.cc
3063 testsuite/backward/header_slist_h.cc
3064 testsuite/backward/header_tempbuf_h.cc: New tests for
3065 checking that we're using the correct namespace.
3066
3067 2002-03-17 Jason Merrill <jason@redhat.com>
3068
3069 PR c++/4381
3070 * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
3071 (check_exception_spec): Call it. Take the thrown pointer.
3072 (__cxa_call_unexpected): Pass it.
3073 (PERSONALITY_FUNCTION): Likewise. Use get_adjusted_ptr.
3074
3075 2002-03-15 Anthony Green <green@redhat.com>
3076
3077 * configure.in: Remove useless is_mingw32.
3078 * configure: Rebuilt.
3079
3080 2002-03-15 Paolo Carlini <pcarlini@unitus.it>
3081
3082 * testsuite/22_locale/collate_members_char.cc
3083 (test01): compare the result of collate::compare with
3084 that of collate::transform + string::compare, not with
3085 that of collate::transform + collate::compare.
3086 (test01): values returned by collate::compare are
3087 normalized, therefore test against +-1.
3088 * testsuite/22_locale/collate_members_wchar_t.cc: Ditto.
3089
3090 2002-03-12 Loren Rittle <ljrittle@acm.org>
3091
3092 reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3093 * testsuite/thread/pthread4.cc: Lower nominal iteration counter.
3094
3095 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
3096 Per Liboriussen <liborius@stofanet.dk>
3097
3098 * config/os/gnu-linux/bits/ctype_noninline.h: Cast to
3099 unsigned char.
3100 * config/os/gnu-linux/bits/ctype_inline.h: Same.
3101
3102 * config/os/irix/irix6.5/bits/ctype_inline.h: Same.
3103
3104 * config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
3105 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
3106
3107 * config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
3108 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
3109
3110 * config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
3111 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
3112
3113 * testsuite/22_locale/ctype_members_char.cc (main): Add tests.
3114
3115 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
3116
3117 * include/bits/basic_string.tcc (string::_S_construct(_InIter,
3118 _InIter, const _Alloc&, forward_iterator_tag): Check for null.
3119 (string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
3120 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
3121 that memory limits are in place.
3122 (test03): Add tests.
3123
3124 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
3125
3126 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
3127 * aclocal.m4: Regenerate.
3128 * config.h.in: Regenerate.
3129 * configure: Regenerate.
3130 * include/c_std/std_cwctype.h: Guard.
3131
3132 2002-03-11 Chris Demetriou <cgd@broadcom.com>
3133
3134 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
3135 whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
3136 * aclocal.m4: Regenerate.
3137 * configure: Regenerate.
3138
3139 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
3140
3141 * include/bits/stl_bvector.h: Fix warning.
3142
3143 2002-03-11 Richard Henderson <rth@redhat.com>
3144
3145 * include/bits/stl_bvector.h (_Bit_type): New. Use throughout.
3146
3147 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
3148
3149 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
3150 New function. Build the list of tests to run in testsuite_files.
3151 * testsuite/libstdc++-v3.dg/dg.exp: Use it.
3152
3153 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
3154
3155 * testsuite/21_strings/capacity.cc: Only explicitly instantiate on
3156 platforms with no weak support.
3157 * testsuite/27_io/ios_init.cc: Likewise.
3158
3159 2002-03-10 Paolo Carlini <pcarlini@unitus.it>
3160
3161 * include/bits/locale_facets.tcc (time_put::do_put):
3162 Consider sizeof(char_type) in allocating the buffer.
3163
3164 * include/bits/locale_facets.tcc (collate::do_tranform):
3165 Remove redundant variable.
3166
3167 2002-03-10 Ulrich Drepper <drepper@redhat.com>
3168 Paolo Carlini <pcarlini@unitus.it>
3169
3170 * config/locale/generic/collate_members.cc
3171 (collate<char,wchar_t>::_M_compare_helper): normalize
3172 values returned by strcoll and wcscoll.
3173 * config/locale/gnu/collate_members.cc
3174 (collate<char,wchar_t>::_M_compare_helper): ditto
3175 for __strcoll_l and __wcscoll_l.
3176
3177 2002-03-10 Anthony Green <green@redhat.com>
3178
3179 * configure.in: Support cross builds to mingw32 target.
3180 * configure: Rebuilt.
3181
3182 2002-03-09 Paolo Carlini <pcarlini@unitus.it>
3183
3184 * include/bits/locale_facets.tcc (collate::do_transform):
3185 Rewrite to fix problems with long transformed strings.
3186
3187 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
3188
3189 * c_locale_generic.cc: Move to...
3190 * generic/c_locale.cc
3191 * c_locale_generic.h: Move to...
3192 * generic/c_locale.h
3193 * codecvt_specializations_generic.h: Move to...
3194 * generic/codecvt_specializations.h
3195 * collate_members_generic.cc: Move to...
3196 * generic/collate_members.cc
3197 * ctype_members_generic.cc: Move to...
3198 * generic/ctype_members.cc
3199 * messages_members_generic.cc: Move to...
3200 * generic/messages_members.cc
3201 * messages_members_generic.h: Move to...
3202 * generic/messages_members.h
3203 * moneypunct_members_generic.cc: Move to...
3204 * generic/monetary_members.cc
3205 * numpunct_members_generic.cc: Move to...
3206 * generic/numeric_members.cc
3207 * time_members_generic.cc: Move to...
3208 * generic/time_members.cc
3209 * c_locale_gnu.cc: Move to...
3210 * gnu/c_locale.cc
3211 * c_locale_gnu.h: Move to...
3212 * gnu/c_locale.h
3213 * collate_members_gnu.cc: Move to...
3214 * gnu/collate_members.cc
3215 * ctype_members_gnu.cc: Move to...
3216 * gnu/ctype_members.cc
3217 * messages_members_gnu.cc: Move to...
3218 * gnu/messages_members.cc
3219 * messages_members_gnu.h: Move to...
3220 * gnu/messages_members.h
3221 * moneypunct_members_gnu.cc: Move to...
3222 * gnu/monetary_members.cc
3223 * numpunct_members_gnu.cc: Move to...
3224 * gnu/numeric_members.cc
3225 * time_members_gnu.cc: Move to...
3226 * gnu/time_members.cc
3227 * c_locale_ieee_1003.1-200x.cc: Move to...
3228 * ieee_1003.1-2001/c_locale.cc
3229 * c_locale_ieee_1003.1-200x.h: Move to...
3230 * ieee_1003.1-2001/c_locale.h
3231 * codecvt_specializations_ieee_1003.1-200x.h: Move to...
3232 * ieee_1003.1-2001/codecvt_specializations.h
3233 * messages_members_ieee_1003.1-200x.cc: Move to...
3234 * ieee_1003.1-2001/messages_members.cc
3235 * messages_members_ieee_1003.1-200x.h: Move to...
3236 * ieee_1003.1-2001/messages_members.h
3237
3238 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
3239 * aclocal.m4: Regenerate.
3240 * configure: Regenerate.
3241 * src/Makefile.am (sources): Change to monetary and numeric.
3242 * src/Makefile.in: Regenerate.
3243 * docs/html/configopts.html: Update to ieee_1003.1-2001.
3244
3245 2002-03-08 scott snyder <snyder@fnal.gov>
3246
3247 libstdc++/5875
3248 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
3249 Allow one more digit of precision.
3250 * testsuite/27_io/ostream_inserter_arith.cc: Test that we can
3251 write a double and read back in the same value.
3252
3253 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
3254
3255 * include/std/std_limits.h: Move static const data members out of
3256 generic template, into base class __numeric_limits_base.
3257 * src/limits.cc: Add definitions.
3258 * config/linker-map.gnu: Add __numeric_limits_base.
3259 * testsuite/18_support/numeric_limits.cc: Declare test in scope.
3260
3261 2002-03-07 Benjamin Kosnik <bkoz@redhat.com>
3262
3263 * include/bits/stl_alloc.h: Add extern implicit allocator
3264 instantiations.
3265 * include/bits/basic_string.tcc: Tweak.
3266 * include/bits/locale_facets.tcc: Remove default args. Add
3267 has_facet, use_facet extern instantiations.
3268 * src/stl-inst.cc: Add explicit instantiation.
3269 * src/locale-inst.cc: Clean. Remove locale member template
3270 instantiations.
3271
3272 * testsuite/22_locale/operators.cc (test02): Enable.
3273
3274 2002-03-06 Benjamin Kosnik <bkoz@redhat.com>
3275 Stephen M. Webb <stephen.webb@bregmasoft.com>
3276
3277 * include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
3278 (_S_rb_tree_black): Make enum.
3279 Clean. Format.
3280 * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
3281 * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
3282 (__stl_threshold): _M_threshold, enum.
3283 * src/stl-inst.cc: Same.
3284 * config/linker-map.gnu: Remove.
3285
3286 * testsuite/23_containers/vector_bool.cc: New.
3287
3288 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
3289
3290 * docs/doxygen/user.cfg.in: Also document deprecated entries.
3291 * docs/html/Makefile: Example rule to rebuild porting-howto.html.
3292 * docs/html/17_intro/howto.html: "gcc"->"GCC" changes, when
3293 referring to the collection as a whole. New section on which macros
3294 can be redefined by the user.
3295 * docs/html/19_diagnostics/howto.html: Update note for concepts.
3296 * docs/html/20_util/howto.html: Update link to SGI.
3297 * docs/html/faq/index.html: Update snapshot versions. New entry
3298 on why g++ (but not gcc) must currently predefine certain macros.
3299 * docs/html/faq/index.txt: Regenerated.
3300
3301 * include/bits/basic_string.h (basic_string::_S_construct): Fix
3302 names in declaration.
3303 (basic_string::compare): These are no longer optional.
3304 * include/bits/ostream.tcc: Tweak closing brace placement.
3305 * include/bits/stl_algo.h: Lots of initial doxygen comment hooks.
3306 * include/std/std_sstream.h: Fix typo in comment.
3307 * include/bits/locale_facets.tcc: Remove unneeded header inclusion.
3308 * src/locale.cc: Likewise.
3309
3310 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
3311
3312 PR libstdc++/5734
3313 * include/bits/stl_vector.h (vector::push_back()): Guard with
3314 _GLIBCPP_DEPRECATED.
3315
3316 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
3317
3318 * include/bits/c++config: Fix misplaced leading blanks on first line.
3319
3320 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
3321
3322 * docs/html/17_intro/RELEASE-NOTES: Fix usage.
3323 * README (libmath): Make clear.
3324
3325 2002-03-05 Jakub Jelinek <jakub@redhat.com>
3326
3327 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
3328 script globbing in ld.
3329 * aclocal.m4: Rebuilt.
3330 * configure: Rebuilt.
3331
3332 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
3333
3334 * docs/html/17_intro/RELEASE-NOTES: Update.
3335 * README: Format subdirectories.
3336
3337 2002-03-05 Paolo Carlini <pcarlini@unitus.it>
3338
3339 libstdc++/5816
3340 * include/bits/locale_facets.tcc
3341 (num_get::_M_extract_float): Fix the parsing of __dec, since
3342 the standard prescribes that if no grouping characters are
3343 seen, no grouping check is applied.
3344 * testsuite/22_locale/num_get_members_char.cc: Add test05
3345 distilled from the PR.
3346 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
3347
3348 2002-03-04 Craig Rodrigues <rodrigc@gcc.gnu.org>
3349
3350 * docs/html/17_intro/porting-howto.xml: Refer to
3351 http://www.oasis-open.org for docbookx.dtd.
3352 * docs/html/17_intro/porting-howto.html: Regenerated.
3353
3354 2002-03-03 Phil Edwards <pme@gcc.gnu.org>
3355
3356 PR libstdc++/3955
3357 * include/std/std_sstream.h: Remove trailing spaces.
3358 (basic_stringbuf::_M_stringbuf_init): Also check for ios_base::app.
3359 * testsuite/27_io/stringbuf.cc (test05, test06): New tests.
3360
3361 2002-03-02 Paolo Carlini <pcarlini@unitus.it>
3362
3363 * testsuite/22_locale/num_get_members_char.cc (test04):
3364 Use a named locale expecting grouping (de_DE).
3365 * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
3366 Ditto.
3367 * testsuite/27_io/ios_manip_basefield.cc (test01):
3368 Extend coverage, uniform treatment of hexs and octs.
3369
3370 2002-02-28 Richard Henderson <rth@redhat.com>
3371
3372 * config/linker-map.gnu: Export operator new with unsigned long,
3373 and with std::nothrow_t. Likewise operator delete.
3374
3375 2002-02-28 Paolo Carlini <pcarlini@unitus.it>
3376
3377 * include/bits/locale_facets.tcc (num_get::_M_extract_int):
3378 Admit grouping for octals and hexadecimals too.
3379 * testsuite/22_locale/num_get_members_char.cc: Add test04.
3380 (test01): Tweak "." -> "," in void* test.
3381 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
3382
3383 * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
3384 * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
3385
3386 2002-02-27 Paolo Carlini <pcarlini@unitus.it>
3387
3388 * testsuite/27_io/ios_manip_basefield.cc (test01):
3389 Fix for 64 bit machines.
3390
3391 2002-02-26 Benjamin Kosnik <bkoz@redhat.com>
3392
3393 libstdc++/3983
3394 * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
3395 Adjust comment.
3396 * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
3397 (basic_ios::_M_fill_init): New.
3398 (basic_ios::fill()): Delay dealing with _M_fill.
3399 Adjust comment.
3400 * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
3401 (ios_base::_M_call_callbacks): Adjust.
3402 * testsuite/27_io/ios_init.cc (test02): Adjust testcase.
3403
3404 2002-02-26 Loren Rittle <ljrittle@acm.org>
3405
3406 * include/Makefile.am (thread_target_headers): Unconditionally
3407 stage and install gthr-posix.h.
3408 (${target_builddir}/gthr-posix.h): New rule cloned off
3409 ${target_builddir}/gthr-default.h.
3410 (${target_builddir}/gthr-default.h): Support chained inclusion
3411 of gthr support headers.
3412 * include/Makefile.in: Rebuilt.
3413
3414 2002-02-26 Paolo Carlini <pcarlini@unitus.it>
3415
3416 * include/bits/locale_facets.tcc (num_put::_M_widen_int):
3417 Group all the integral types, not only decs.
3418 * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
3419 tests, add a few more.
3420
3421 2002-02-25 Benjamin Kosnik <bkoz@redhat.com>
3422
3423 * src/ios.cc (ios_base::~ios_base): Tweak.
3424 (ios_base::_M_call_callbacks): Deal with null __p.
3425 (ios_base::ios_base): Set _M_callbacks.
3426 * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
3427 * testsuite/27_io/ios_init.cc (test02): Fix.
3428
3429 * mkcheck.in (static_fail): Failed links go to output file.
3430
3431 2002-02-25 Phil Edwards <pme@gcc.gnu.org>
3432
3433 * docs/html/faq/index.html: Update.
3434 * docs/html/faq/index.txt: Regenerate.
3435
3436 2002-02-22 Phil Edwards <pme@gcc.gnu.org>
3437
3438 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Fix comment.
3439 * aclocal.m4: Regenerate.
3440 * docs/html/configopts.html: Document --enable-symvers.
3441 * config/linker-map.gnu: Break libsupc++ symbols out to their own tag.
3442
3443 2002-02-22 Philipp Thomas <pthomas@suse.de>
3444
3445 * include/backward/tempbuf.h: get_temporary_buffer and
3446 return_temporary_buffer are in namespace std, not in __gnu_cxx.
3447
3448 2002-02-21 Benjamin Kosnik <bkoz@redhat.com>
3449
3450 * configure.in (target_alias): Default to yes.
3451 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
3452 libgcc to default case.
3453
3454 2002-02-20 Phil Edwards <pme@gcc.gnu.org>
3455
3456 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Also check version.
3457 (GLIBCPP_ENABLE_SYMVERS): Redo logic, use linker version.
3458 * configure.in (GLIBCPP_ENABLE_SYMVERS): Move later in the script.
3459 * aclocal.m4: Regenerate.
3460 * configure: Regenerate.
3461 * config/linker-map.dummy: New file. Contains nothing useful.
3462
3463 2002-02-20 Benjamin Kosnik <bkoz@redhat.com>
3464
3465 * testsuite/22_locale/money_put_members_char.cc: Fix.
3466 * testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
3467
3468 * testsuite/27_io/standard_manipulators.cc: New file.
3469
3470 * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
3471 * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
3472
3473 2002-02-20 Danny Smith <dannysmith@users.sourceforge.net>
3474
3475 * config/os/mingw32/bits/ctype_noninline.h
3476 (ctype<char>::ctype): Remove default args from parm list.
3477 * config/os/djgpp/bits/ctype_noninline.h: Same.
3478
3479 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
3480
3481 * include/std/std_iomanip.h: Inline, tweaks.
3482 * config/linker-map.gnu: Remove hacks.
3483
3484 * testsuite/21_strings/capacity.cc: Add explicit instantiations.
3485 * testsuite/27_io/ios_init.cc: Same.
3486 * testsuite/22_locale/money_get_members_char.cc (test07): Fix.
3487 * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
3488
3489 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
3490
3491 * config/linker-map.gnu: Export global vtable, typeinfo, guard
3492 variable, and thunk info as per CXXABI docs.
3493
3494 2002-02-19 Loren Rittle <ljrittle@acm.org>
3495
3496 * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
3497 * include/Makefile.in: Rebuilt.
3498
3499 2002-02-18 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3500
3501 * testsuite/22_locale/collate_byname.cc (test01): Replace size4
3502 with size3 for the string collations of str5.
3503
3504 2002-02-18 Paolo Carlini <pcarlini@unitus.it>
3505
3506 libstdc++/5708
3507 * include/bits/locale_facets.tcc (money_put::do_put):
3508 For the space field use __fill instead of ' ', uniformly.
3509 * testsuite/22_locale/money_put_members_char.cc:
3510 Add test05 distilled from PR.
3511 (test01-02-03): Trim some '*' to ' '.
3512 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
3513
3514 2002-02-18 Loren Rittle <ljrittle@acm.org>
3515
3516 libstdc++/5697
3517 * include/Makefile.am (thread_builddir): Remove (map all
3518 existing uses to target_builddir).
3519 (thread_headers): Rename to...
3520 (thread_target_headers): ...this.
3521 (stamp-thread): Remove.
3522 (stamp-target): Correctly state the position as built.
3523 Update all dependencies to match the new reality. Remove all
3524 dependency calculations on directories.
3525 * include/Makefile.in: Rebuilt.
3526
3527 2002-02-16 Benjamin Kosnik <bkoz@redhat.com>
3528
3529 * include/bits/locale_facets.tcc: Add pragma GCC system_header.
3530 * include/bits/fstream.tcc: Same.
3531 * include/bits/sstream.tcc: Same.
3532 * include/bits/ostream.tcc: Same.
3533 * include/bits/istream.tcc: Same.
3534 * include/bits/streambuf.tcc: Same.
3535 * include/bits/basic_ios.tcc: Same.
3536 * include/bits/basic_string.tcc: Same.
3537
3538 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
3539
3540 * include/std/std_iosfwd.h: Don't guard typedefs with
3541 _GLIBCPP_USE_WCHAR_T
3542 * include/bits/stringfwd.h: Same.
3543
3544 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
3545
3546 * src/locale.cc (moneypunct_byname): Remove definitions.
3547 * include/std/std_streambuf.h (streambuf::operator=): Return.
3548
3549 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
3550
3551 Tune for size.
3552 * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
3553 explicit instantiation.
3554 (string::_Rep::_S_max_size): Same.
3555 * include/bits/basic_string.tcc: Add extern explicit
3556 instantiations for string, wstring.
3557 * include/bits/basic_ios.tcc: Add extern explicit instantiations
3558 for ios, wios.
3559 * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
3560 * include/bits/istream.tcc: Same, for istream, wistream.
3561 * include/bits/ostream.tcc: Same for ostream, wostream, iostream,
3562 wiostream.
3563 * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
3564 istringstream, wistringstream, ostringstream, wostringstream,
3565 stringstream, wstringstream.
3566 * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
3567 wifstream, ofstream, wofstream, fstream, wfstream.
3568 * src/misc-inst.cc: Correct comments.
3569 Add iomanip instantiations for wide streams.
3570 * include/std/std_iomanip.h: Same.
3571 * include/bits/locale_facets.tcc: Same.
3572
3573 * include/std/std_streambuf.h: Correct
3574 _GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
3575 * include/std/std_sstream.h: Same.
3576 * include/std/std_ostream.h: Same.
3577 * include/std/std_istream.h: Same.
3578 * include/std/std_fstream.h: Same.
3579
3580 * include/std/std_streambuf.h: Add definitions for private copy
3581 ctor and assignment operator.
3582 * include/std/std_istream.h: Remove declared but undefined copy
3583 ctor and assignment operator. This is taken care of in ios_base,
3584 so adding it in the derived class as well is superfluous.
3585 * include/std/std_ostream.h: Same.
3586
3587 * include/bits/basic_ios.h (basic_ios::clear): Don't inline.
3588 * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
3589
3590 2002-02-14 Benjamin Kosnik <bkoz@redhat.com>
3591
3592 * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
3593 Add typeinfo bits. Smooth.
3594 * aclocal.m4: Regenerate.
3595 * configure: Same.
3596 * src/Makefile.in: Same.
3597
3598 2001-02-14 Joel Sherrill <joel@OARcorp.com>
3599
3600 * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
3601 which do not have a CAS instruction.
3602
3603 2002-02-14 Phil Edwards <pme@gcc.gnu.org>
3604
3605 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): New macro, initial revision.
3606 * configure.in: Call it.
3607 * config/linker-map.gnu: New file, initial incomplete revision.
3608 * src/Makefile.am: Optionally pass version script to the linker.
3609 * aclocal.m4: Regenerate.
3610 * configure: Regenerate.
3611 * src/Makefile.in: Regenerate.
3612
3613 2002-02-13 Benjamin Kosnik <bkoz@redhat.com>
3614
3615 * src/localename.cc: Remove stdexcept include.
3616 * src/locale-inst.cc: Same.
3617 * src/locale.cc: Same.
3618 * src/functexcept.cc: Remove string includes.
3619 * include/std/std_bitset.h: Remove stdexcept include.
3620 * testsuite/23_containers/bitset_members.cc: Add stdexcept.
3621 * testsuite/23_containers/bitset_ctor.cc: Same.
3622
3623 2002-02-11 Benjamin Kosnik <bkoz@redhat.com>
3624
3625 * include/bits/stl_algo (__stl_threshold): Declare external.
3626 (__stl_chunk_size): Same.
3627 * include/bits/stl_bvector.h (__WORD_BIT): Same.
3628 * include/bits/stl_tree.h (_S_rb_tree_red): Same.
3629 (_S_rb_tree_black): Same.
3630 * src/stl-inst.cc (__stl_threshold): Define.
3631 (__stl_chunk_size): Same.
3632 (__WORD_BIT): Same.
3633 (_S_rb_tree_red): Same.
3634 (_S_rb_tree_black): Same.
3635
3636 * config/io/basic_file_libio.h (__basic_file): Add declarations.
3637 * include/bits/basic_file.h: Remove.
3638 * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
3639 Declare generic types, specialization.
3640 * config/io/basic_file_stdio.cc: Definitions.
3641 * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
3642 Declare generic types.
3643 * include/Makefile.am (bits_headers): Remove basic_file.h.
3644 (extra_target_headers): Change basic_file_model.h to basic_file.h.
3645 (stamp-target): Same.
3646
3647 * include/bits/stl_alloc.h: Tweaks.
3648 * include/bits/localefwd.h: Same.
3649
3650 2002-02-11 Aaron W LaFramboise <AWLaFramboise@aol.com>
3651
3652 * include/bits/locale_facets.tcc (collate::do_hash): Fix.
3653 * testsuite/22_locale/collate_members_char.cc (test03): New test.
3654 * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
3655
3656 2002-02-10 Phil Edwards <pme@gcc.gnu.org>
3657
3658 * include/bits/stl_algo.h (transform (both signatures), generate_n):
3659 Use __typeof__ in concept checks.
3660
3661 2002-02-10 Jonathan Wakely <cow@compsoc.man.ac.uk>
3662
3663 * include/bits/stl_algo.h (__median, for_each, find, find_if,
3664 adjacent_find, count, count_if, search, search_n, swap_ranges,
3665 transform, replace, replace_if, replace_copy, replace_copy_if,
3666 generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
3667 unique, unique_copy, reverse, reverse_copy): Doxygenate.
3668
3669 2002-02-08 Benjamin Kosnik <bkoz@redhat.com>
3670
3671 * include/bits/locale_facets.h
3672 (numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
3673 (__timepunct<_CharT>::_M_initialize_timepunct): Same.
3674 (__timepunct<_CharT>::_M_put_helper): Same.
3675 (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
3676
3677 * include/bits/fstream.tcc (filebuf::underflow): Remove
3678 __codecvt_type typedef.
3679 (filebuf::_M_convert_to_external): Same.
3680
3681 2002-02-08 Phil Edwards <pme@gcc.gnu.org>
3682
3683 * docs/doxygen/TODO: Update.
3684 * docs/doxygen/doxygroups.cc: Tweak __gnu_cxx description.
3685 * docs/doxygen/mainpage.html: Add TODO list link.
3686 * docs/doxygen/user.cfg.in: Add @doctodo hook.
3687 * docs/doxygen/tables.html: New file, emoty structure only.
3688
3689 * include/bits/stl_iterator.h: Doxygenate just about everything.
3690 * include/bits/stl_iterator_base_funcs.h: Ditto, clean up spaces.
3691 * include/bits/stl_iterator_base_types.h: Add notes.
3692
3693 2002-02-07 Stephan Buys <sbproxy@icon.co.za>
3694
3695 * include/bits/stl_map.h: Tweak doxygen markup.
3696 * include/bits/stl_multimap.h: Doxygenate and remove extra spaces.
3697 * include/bits/stl_vector.h: Likewise.
3698
3699 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
3700
3701 libstdc++/5286
3702 libstdc++/3860
3703 * include/std/std_fstream.h (filebuf::__file_type): Change to
3704 __basic_file<char>.
3705 (filebuf::_M_convert_to_external): Declare.
3706 * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
3707 codecvt bits for wide streams.
3708 (filebuf::_M_really_overflow): Use it.
3709 (filebuf::underflow): Use codecvt.
3710 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
3711 (codecvt<__enc_traits>::do_out): Deal with partial.
3712 (codecvt<__enc_traits>::do_encoding): Return something useful.
3713 * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
3714 wchar_t.
3715 * testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
3716 Change expected encoding output.
3717 (test02): Same.
3718 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
3719 (test02): Same.
3720
3721 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
3722 Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de>
3723
3724 * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
3725 (basic_ios::widen): Same.
3726
3727 2002-02-07 Paolo Carlini <pcarlini@unitus.it>
3728
3729 * testsuite/22_locale/money_get_members_char.cc:
3730 Add comment, tidy up.
3731 (test01): more "en_HK" tests (without showbase).
3732 * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
3733
3734 2002-02-06 Loren Rittle <ljrittle@acm.org>
3735
3736 * config/locale/c_locale_generic.cc: Do not trust
3737 _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
3738 set by configure.
3739
3740 2002-02-06 Loren Rittle <ljrittle@acm.org>
3741
3742 * acinclude.m4: Add C++ linkage check for strtof.
3743 * aclocal.m4: Rebuilt.
3744 * config.h.in: Rebuilt.
3745 * configure: Rebuilt.
3746 * config/locale/c_locale_generic.cc: Conditionally include
3747 <ieeefp.h>. Improve handling and error checking of float
3748 and long double input for non-C99 configurations.
3749
3750 2002-02-06 Paolo Carlini <pcarlini@unitus.it>
3751
3752 * include/bits/locale_facets.tcc (money_get::do_get(string)):
3753 In case money_base::symbol deal properly with multi-char sign
3754 for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
3755 * testsuite/22_locale/money_get_members_char.cc: Add test07.
3756 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
3757
3758 2002-02-05 Paolo Carlini <pcarlini@unitus.it>
3759
3760 * include/bits/locale_facets.tcc (money_get::do_get(string)):
3761 First construct a tentative returned string, then, only if the
3762 parsing succeeds, copy it into the string passed by reference.
3763 * testsuite/22_locale/money_get_members_char.cc: Add test06.
3764 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
3765
3766 2002-02-04 Phil Edwards <pme@gcc.gnu.org>
3767
3768 * docs/doxygen/TODO: Impl-defined behavior now documented...
3769 * docs/html/17_intro/howto.html: ...here.
3770 * docs/doxygen/mainpage.doxy: Remove, rename...
3771 * docs/doxygen/mainpage.html: ...to this. Tweak HTML, add license.
3772 * docs/doxygen/style.css: Add small text.
3773 * docs/doxygen/run_doxygen: Adjust for new mainpage.
3774 * docs/doxygen/user.cfg.in: Likewise.
3775
3776 2002-02-04 Stephan Buys <sbproxy@icon.co.za>
3777
3778 * include/bits/stl_map.h: Initial doxygen markup.
3779 * include/std/std_fstream.h: Initial doxygen markup.
3780
3781 2002-02-04 Paolo Carlini <pcarlini@unitus.it>
3782
3783 libstdc++/5579
3784 * include/bits/locale_facets.tcc (money_get::do_get(string)):
3785 Deal correctly with !(__io.flags() & ios_base::showbase)
3786 for case money_base::symbol.
3787 * testsuite/22_locale/money_get_members_char.cc: Add test05.
3788 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
3789
3790 2002-02-02 Paolo Carlini <pcarlini@unitus.it>
3791
3792 * testsuite/22_locale/operators.cc
3793 (gnu_collate::do_compare()): Add return statement to
3794 suppress "no return statement" warning.
3795
3796 2002-02-01 Paolo Carlini <pcarlini@unitus.it>
3797
3798 * testsuite/27_io/ostream_manip.cc: Enable test02.
3799
3800 2002-02-01 Phil Edwards <pme@gcc.gnu.org>
3801
3802 * docs/html/documentation.html: Update for 3.0.96.
3803 * docs/html/faq/index.html: Update for 3.0.96.
3804 * docs/html/faq/index.txt: Regenerated.
3805 * docs/doxygen/TODO: Update notes.
3806 * docs/html/17_intro/howto.html: Initial impl-specific listing.
3807
3808 2002-01-31 Benjamin Kosnik <bkoz@redhat.com>
3809
3810 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
3811 Initialize all data members in copy ctor. Make ctors explicit.
3812 (__enc_traits::__enc_traits()): Default ctor does nothing.
3813 (__enc_traits::_M_init): Guard against multiple iconv_opens.
3814 * include/std/std_sstream.h (basic_stringbuf): Make data members
3815 protected.
3816 * include/std/std_fstream.h (basic_filebuf): Same.
3817 * include/std/std_streambuf.h: Tweak.
3818 * include/bits/streambuf.tcc: Same.
3819 * include/bits/sstream.tcc: Same.
3820 * include/bits/fstream.tcc: Same.
3821
3822 2002-01-31 Loren Rittle <ljrittle@acm.org>
3823
3824 * testsuite/22_locale/codecvt_members_char_char.cc: Do not
3825 allow NULL argument to be passed to setenv().
3826 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
3827 * testsuite/22_locale/collate_members_char.cc: Likewise.
3828 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
3829 * testsuite/22_locale/ctype_members_char.cc: Likewise.
3830 * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
3831 * testsuite/22_locale/messages_members_char.cc: Likewise.
3832 * testsuite/22_locale/money_get_members_char.cc: Likewise.
3833 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
3834 * testsuite/22_locale/money_put_members_char.cc: Likewise.
3835 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
3836 * testsuite/22_locale/moneypunct_members_char.cc: Likewise.
3837 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
3838 * testsuite/22_locale/num_get_members_char.cc: Likewise.
3839 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
3840 * testsuite/22_locale/num_put_members_char.cc: Likewise.
3841 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
3842 * testsuite/22_locale/numpunct_members_char.cc: Likewise.
3843 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
3844 * testsuite/22_locale/time_get_members_char.cc: Likewise.
3845 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
3846 * testsuite/22_locale/time_put_members_char.cc: Likewise.
3847 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
3848
3849 2002-01-30 Benjamin Kosnik <bkoz@redhat.com>
3850
3851 * config/locale/c_locale_gnu.cc: Same errno fixes as generic.
3852
3853 * ChangeLog-2001: Fix spelling errors...
3854 * docs/html/17_intro/RELEASE-NOTES: Update.
3855 * docs/html/17_intro/TODO: Update.
3856 * README (file): Update.
3857
3858 2002-01-30 Loren Rittle <ljrittle@acm.org>
3859
3860 * config/locale/c_locale_generic.cc: Check errno for ERANGE
3861 instead of non-zero to aid portability.
3862
3863 2002-01-30 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3864
3865 * docs/html/22_locale/messages.html: Fix example code.
3866
3867 2002-01-30 Richard Henderson <rth@redhat.com>
3868
3869 * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
3870 out from test03 and templatize.
3871 (test03): Use it.
3872
3873 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
3874
3875 * config/locale/numpunct_members_gnu.cc
3876 (numpunct<char, wchar_t>::_M_initialize_numpunct()):
3877 Fix initialization of _M_grouping for locales which have
3878 _M_thousands_sep == '\0'(L'\0', respectively).
3879 * testsuite/22_locale/numpunct_byname.cc (test02): Add test.
3880
3881 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
3882
3883 * testsuite/27_io/ostream_inserter_arith.cc (test03):
3884 Better fix for 32/64 bit architectures, avoiding the
3885 implicit assumption that CHAR_BIT == 8.
3886
3887 2002-01-28 Phil Edwards <pme@gcc.gnu.org>
3888
3889 * Makefile.am (doxygen, doxygen-maint, doxygen-man): Tweak targets.
3890 * Makefile.in: Regenerate.
3891
3892 * docs/doxygen/run_doxygen: Update, mostly for man pages.
3893 * docs/doxygen/Intro.3: Update.
3894 * docs/doxygen/TODO: Update.
3895 * docs/doxygen/doxygroups.cc: Add namespace hook for __gnu_cxx.
3896 * docs/doxygen/mainpage.doxy: Update.
3897 * docs/doxygen/user.cfg.in: Update for header rename. Also
3898 regenerate comments and variables with 1.2.12.
3899 * docs/doxygen/maint.cfg.in: Remove file.
3900
3901 * include/bits/stl_relops.h: Doxygenate.
3902 * include/bits/stl_tempbuf.h (std::_Temporary_buffer): Likewise.
3903
3904 * include/c_std/std_cassert.h, include/c_std/std_cctype.h,
3905 include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
3906 include/c_std/std_ciso646.h, include/c_std/std_climits.h,
3907 include/c_std/std_clocale.h, include/c_std/std_cmath.h,
3908 include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
3909 include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
3910 include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
3911 include/c_std/std_cstring.h, include/c_std/std_ctime.h,
3912 include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
3913 include/ext/algorithm, include/ext/functional, include/ext/hash_map,
3914 include/ext/hash_set, include/ext/iterator, include/ext/memory,
3915 include/ext/numeric, include/ext/rb_tree, include/ext/rope,
3916 include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
3917 include/ext/stl_hashtable.h, include/ext/stl_rope.h,
3918 include/std/std_algorithm.h, include/std/std_bitset.h,
3919 include/std/std_complex.h, include/std/std_deque.h,
3920 include/std/std_fstream.h, include/std/std_functional.h,
3921 include/std/std_iomanip.h, include/std/std_ios.h,
3922 include/std/std_iosfwd.h, include/std/std_iostream.h,
3923 include/std/std_istream.h, include/std/std_iterator.h,
3924 include/std/std_limits.h, include/std/std_list.h,
3925 include/std/std_locale.h, include/std/std_map.h,
3926 include/std/std_memory.h, include/std/std_numeric.h,
3927 include/std/std_ostream.h, include/std/std_queue.h,
3928 include/std/std_set.h, include/std/std_sstream.h,
3929 include/std/std_stack.h, include/std/std_stdexcept.h,
3930 include/std/std_streambuf.h, include/std/std_string.h,
3931 include/std/std_utility.h, include/std/std_valarray.h,
3932 include/std/std_vector.h: Add/correct @file doxygen hook.
3933
3934 * include/ext/memory: Doxygenate most of rest of file.
3935 * libsupc++/exception: Doxygen output formatting.
3936 * libsupc++/new: Say which header it is.
3937
3938 * testsuite/lib/libstdc++-v3-dg.exp: Fix spacing.
3939 * docs/html/19_diagnostics/howto.html: Describe concept-checks switch.
3940 * docs/html/23_containers/howto.html: Describe O(n) list::size().
3941 * docs/html/27_io/howto.html: Also link to Langer and Kreft text.
3942
3943 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
3944 Charles Leggett <CGLeggett@lbl.gov>
3945
3946 * testsuite/27_io/filebuf_members.cc (test_05): Add test.
3947
3948 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
3949
3950 * testsuite/27_io/ostream_inserter_arith.cc (test03):
3951 Fix to deal correctly with both 32 bit and 64 bit architectures
3952
3953 2002-01-25 Loren Rittle <ljrittle@acm.org>
3954
3955 * testsuite/thread/pthread1.cc: Use one condition variable
3956 per predicate instead of tricky use of one condition variable.
3957
3958 2002-01-25 Benjamin Kosnik <bkoz@redhat.com>
3959
3960 * include/bits/fstream.tcc (filebuf::close()): Fix close for input
3961 streams.
3962 (filebuf::_M_really_overflow): Match indeterminate and sync calls.
3963 * testsuite/27_io/filebuf.cc: Compile only.
3964 * testsuite/27_io/filebuf_members.cc: Move tests to here.
3965 * testsuite/27_io/filebuf_virtuals.cc: And here.
3966 Revert sungetc, sync changes for expected values.
3967 * testsuite/27_io/filebuf-*: Move to...
3968 * testsuite/27_io/filebuf_virtuals-*: ...here.
3969 * testsuite/27_io/istream.cc: Compile only, activate.
3970 * testsuite/27_io/ostream.cc: Same.
3971 * testsuite/27_io/iostream.cc: New.
3972 * testsuite/27_io/iostream_members.cc: New.
3973
3974 2002-01-25 David Billinghurst <David.Billinghurst@riotinto.com>
3975
3976 * testsuite/thread/pthread1.cc: Enable on cygwin.
3977 * testsuite/thread/pthread2.cc: Likewise.
3978 * testsuite/thread/pthread3.cc: Likewise.
3979 * testsuite/thread/pthread4.cc: Likewise.
3980 * testsuite/thread/pthread5.cc: Likewise.
3981 * testsuite/thread/pthread6.cc: Likewise.
3982
3983 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
3984
3985 * testsuite/27_io/ostream_inserter_char.cc (test07): New.
3986
3987 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
3988
3989 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
3990 const, tweak.
3991 (basic_ios::fill(char_type)): Use fill().
3992 * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
3993 (basic_ios::narrow): Same.
3994 (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
3995 if they are invalid.
3996 (basic_ios::init): Comment.
3997 * testsuite/27_io/ios_init.cc (test02): New.
3998
3999 2002-01-24 Phil Edwards <pme@gcc.gnu.org>
4000
4001 * include/bits/stl_tempbuf.h (_Temporary_buffer): Add doxygen hook.
4002 * include/bits/stl_algo.h: Include stl_tempbuf.h.
4003 * include/ext/memory: Do not include stl_tempbuf.h.
4004 (temporary_buffer): Add doxygen hook.
4005 (__get_temporary_buffer, get_temporary_buffer,
4006 return_temporary_buffer): Move back to std:: header...
4007 * include/std/std_memory.h: ...here. Do not include stl_tempbuf.h.
4008 * include/ext/rope: Do not include stl_tempbuf.h.
4009 * include/ext/stl_hashtable.h: Likewise.
4010 * include/std/std_algorithm.h: Likewise.
4011 * testsuite/20_util/temporary_buffer.cc: New file.
4012
4013 2002-01-24 andrew@andypo.net
4014 (tweaks, test and commit by Loren J. Rittle <ljrittle@acm.org>)
4015
4016 libstdc++/5432
4017 * include/bits/ios_base.h: Use _Atomic_word for reference counts.
4018 * include/bits/localefwd.h: Likewise.
4019 Also use for std::locale::id::_S_highwater.
4020 * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
4021 * src/locale.cc: Support new usage of _Atomic_word.
4022 (std::locale::classic): Guard entire function against reentry.
4023 * src/localename.cc: Support new usage of _Atomic_word.
4024
4025 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
4026
4027 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
4028 _GLIBCPP_HAVE_SETENV.
4029 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
4030 * testsuite/22_locale/collate_members_char.cc (test02): Same.
4031 * testsuite/22_locale/ctype_members_char.cc (test03): Same.
4032 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
4033 * testsuite/22_locale/messages_members_char.cc (test02): Same.
4034 * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
4035 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
4036 * testsuite/22_locale/money_put_members_char.cc (test04): Same.
4037 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
4038 * testsuite/22_locale/num_get_members_char.cc (test03): Same.
4039 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
4040 * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
4041 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
4042 * testsuite/22_locale/time_get_members_char.cc (test07): Same.
4043 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
4044 * testsuite/22_locale/time_put_members_char.cc (test03): Same.
4045 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
4046 * testsuite/22_locale/num_put_members_char.cc (test03): Same.
4047 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
4048 * aclocal.m4: Regenerate.
4049 * configure: Regenerate.
4050 * config.h.in: Regenerate.
4051
4052 2002-01-23 Loren Rittle <ljrittle@acm.org>
4053
4054 * testsuite/thread/pthread1.cc: New test.
4055 * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
4056 * testsuite/thread/pthread3.cc: Likewise.
4057 * testsuite/thread/pthread4.cc: New test adapted from
4058 http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
4059 * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
4060 * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
4061
4062 2002-01-23 Richard Henderson <rth@redhat.com>
4063
4064 PR libstdc++/5198
4065 * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
4066 CAS on the cpu variants that support it. Add versions that use
4067 TAS and that disable interrupts.
4068 (__atomic_add): Use __exchange_and_add to guarantee atomicity.
4069
4070 2002-01-23 Matt Kraai <kraai@alumni.cmu.edu>
4071
4072 * include/bits/locale_facets.tcc: Remove old comments.
4073
4074 2002-01-23 Andreas Tobler <toa@pop.agri.ch>
4075
4076 * include/bits/locale_facets.tcc (__convert_to_v): Change template
4077 parameter to _Tv.
4078 (__convert_from_v): Same.
4079
4080 2002-01-23 Benjamin Kosnik <bkoz@redhat.com>
4081
4082 * include/bits/locale_facets.h (num_get::_M_extract_int): Change
4083 prototype.
4084 * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
4085 __max_digits checks, adjust arguments.
4086 (num_get::do_get(*)): Changeup.
4087
4088 2002-01-23 Loren Rittle <ljrittle@acm.org>
4089
4090 * config/locale/c_locale_generic.cc: Fix typename usage.
4091
4092 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
4093
4094 * config/locale/c_locale_generic.cc: Fix.
4095
4096 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
4097
4098 * docs/html/22_locale/messages.html: Remove angle brackets.
4099 * docs/html/17_intro/TODO: Add.
4100
4101 2002-01-22 Paolo Carlini <pcarlini@unitus.it>
4102
4103 * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
4104 * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
4105 * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
4106 * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
4107
4108 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
4109
4110 Audit for LANG independence.
4111 * include/bits/localefwd.h: Tweaks.
4112 * include/bits/locale_facets.tcc (money_get::do_get(long double)):
4113 Use __convert_to_v.
4114 (time_get::do_get_year): Same.
4115 (__convert_from_v): Add.
4116 (num_put::_M_convert_float): Use.
4117 (num_put::_M_convert_int): Same.
4118 (money_put::do_put): Same.
4119
4120 * src/locale-inst.cc: Add instantiations for __convert_from_v.
4121 * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
4122 * config/locale/time_members_generic.cc:
4123 * config/locale/messages_members_gnu.cc: Same.
4124 * config/locale/messages_members_gnu.h: Same.
4125
4126 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
4127 * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
4128 * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
4129 * testsuite/22_locale/collate_members_char.cc (test02): New.
4130 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
4131 * testsuite/22_locale/ctype_members_char.cc (test03): New.
4132 * testsuite/22_locale/messages_members_char.cc (test02): New.
4133 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
4134 * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
4135 * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
4136 * testsuite/22_locale/money_get_members_char.cc (test04): New.
4137 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
4138 * testsuite/22_locale/money_put_members_char.cc (test04): New.
4139 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
4140 * testsuite/22_locale/numpunct_members_char.cc (test02): New.
4141 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
4142 * testsuite/22_locale/time_put_members_char.cc (test03): New.
4143 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
4144 * testsuite/22_locale/time_get_members_char.cc (test07): New.
4145 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
4146 * testsuite/22_locale/num_get_members_char.cc (test03): New.
4147 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
4148 * testsuite/22_locale/num_put_members_char.cc (test03): New.
4149
4150 * testsuite/22_locale/time_get_members_char.cc: Fixups for global
4151 locale issues.
4152 * testsuite/22_locale/time_get_members_char.cc: Same.
4153
4154 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
4155
4156 libstdc++/5280
4157 * include/bits/localefwd.h: Tweak comments.
4158 * include/bits/locale_facets.h (__convert_to_v): Add.
4159 * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
4160 (num_get::do_get(float)): Same.
4161 (num_get::do_get(long double)): Same.
4162 (num_get::do_get(bool)): Same.
4163 (num_get::do_get(long)): Same.
4164 (num_get::do_get(long long)): Same.
4165 (num_get::do_get(unsigned int)): Same.
4166 (num_get::do_get(unsigned short)): Same.
4167 (num_get::do_get(unsigned long)): Same.
4168 (num_get::do_get(unsigned long long)): Same.
4169 * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
4170 * config/locale/c_locale_generic.cc: Same.
4171
4172 2002-01-22 Loren Rittle <ljrittle@acm.org>
4173
4174 * include/Makefile.am (c_base_builddir): Remove redundant slash.
4175 (std_builddir): Likewise.
4176 (std_headers_rename): Fix cut-n-paste typo.
4177 (install-data-local): Concat path per element instead of once to
4178 first element of list.
4179 * include/Makefile.in: Rebuilt.
4180
4181 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
4182
4183 * config/os/aix/bits/ctype_noninline.h: Fix formatting.
4184 * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
4185 * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
4186
4187 2002-01-20 Benjamin Kosnik <bkoz@redhat.com>
4188
4189 * include/bits/locale_facets.h (ctype<char>::classic_table):
4190 Remove definition.
4191 (ctype<char>::_S_ctable): Remove.
4192 * config/os/gnu-linux/bits/ctype_noninline.h
4193 (ctype<char>::_S_table): Remove definition.
4194 (ctype<char>::classic_table): Define.
4195 (ctype<char>::ctype): Replace _S_ctable with classic_table().
4196 * config/os/aix/bits/ctype_noninline.h: Same.
4197 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
4198 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
4199 * config/os/djgpp/bits/ctype_noninline.h: Same.
4200 * config/os/generic/bits/ctype_noninline.h: Same.
4201 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
4202 * config/os/hpux/bits/ctype_noninline.h: Same.
4203 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
4204 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
4205 * config/os/mingw32/bits/ctype_noninline.h: Same.
4206 * config/os/newlib/bits/ctype_noninline.h: Same.
4207 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
4208 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
4209 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
4210
4211 2002-01-20 Danny Smith <dannysmith@users.sourceforge.net>
4212
4213 * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
4214 of _pctype. Use to define _S_ctable. Add definition for alternate
4215 ctor. Initialise _M_ctable to _S_ctable in ctors.
4216 (do_toupper, do_tolower): Use inline code appropriate for C-locale
4217 rather than ::toupper, ::tolower.
4218
4219 2002-01-18 Loren Rittle <ljrittle@acm.org>
4220
4221 * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
4222 Add specialization for FreeBSD systems only to avoid losing test
4223 only due to extra precision unmentioned in system headers.
4224
4225 2002-01-18 David Billinghurst <David.Billinghurst@riotinto.com>
4226
4227 * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
4228
4229 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
4230
4231 * testsuite/testsuite_hooks.h: Fix comment typo. Memory
4232 limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
4233
4234 2002-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4235
4236 * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
4237
4238 2002-01-17 David Edelsohn <edelsohn@gnu.org>
4239
4240 * configure.target: Define OPT_LDFLAGS for AIX case.
4241
4242 2002-01-17 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4243
4244 * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
4245 __glibcpp_double_has_quiet_NaN): Correct mispelling.
4246
4247 2002-01-17 Andreas Tobler <toa@pop.agri.ch>
4248
4249 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
4250
4251 2002-01-16 David Edelsohn <dje@watson.ibm.com>
4252
4253 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
4254 SECTION_LDFLAGS and OPT_LDFLAGS. Fix ac_sectionLDflags type.
4255 * aclocal.m4: Regenerate.
4256 * configure: Regenerate.
4257
4258 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
4259
4260 * include/Makefile.am (c_base_headers_rename): New.
4261 (c_base_headers_extra): New.
4262 (stamp-c_base): Modify.
4263 (install-data-local): Use both.
4264 * include/Makefile.in: Regenerate.
4265 * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
4266 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
4267 cstdio ctime cwctype]: Move to..
4268 * include/c/std_*: Here.
4269 * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
4270 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
4271 cstdio ctime cwctype]: Move to..
4272 * include/c_std/std_*: Here.
4273
4274 Alexandre Oliva <aoliva@redhat.com>
4275 * include/Makefile.am (.PRECIOUS): Add rule.
4276 * include/Makefile.in: Regenerate.
4277
4278 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
4279 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4280
4281 * include/bits/stl_iterator.h (reverse_iterator::_M_current):
4282 Deuglify, should be current.
4283 (back_insert_iterator::_M_container): Deuglify, should be container.
4284 (front_insert_iterator::_M_container): Same.
4285 (insert_iterator::_M_container): Same.
4286 * testsuite/24_iterators/reverse_iterator.cc: Add check.
4287 * testsuite/24_iterators/back_insert_iterator.cc: Add check.
4288 * testsuite/24_iterators/front_insert_iterator.cc: Same.
4289 * testsuite/24_iterators/insert_iterator.cc: Same.
4290
4291 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
4292
4293 * include/bits/locale_facets.h (ctype<char>::classic_table): Make
4294 static.
4295 (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
4296 * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
4297 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
4298 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
4299 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
4300 * config/os/newlib/bits/ctype_noninline.h: Same.
4301 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
4302 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
4303 * config/os/hpux/bits/ctype_noninline.h: Same.
4304 * config/os/djgpp/bits/ctype_noninline.h: Same.
4305 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
4306 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
4307 * config/os/aix/bits/ctype_noninline.h: Same.
4308
4309 Testcase by Dietmar Kühl via Peter Schmid
4310 * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
4311 classic_table().
4312
4313 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
4314
4315 * libmath/signbitl.c: Copyright years as list, not range.
4316 * libmath/Makefile.am: Same.
4317 * libmath/Makefie.in: Regenerate.
4318 * libmath/signbit.c: Same.
4319 * libmath/nan.c: Same.
4320 * libmath/copysignf.c: Same.
4321 * libmath/signbitf.c: Same.
4322 * testsuite/22_locale/money_get_members_char.cc: Same.
4323 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
4324 * testsuite/22_locale/money_put_members_char.cc: Same.
4325 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
4326 * testsuite/22_locale/time_get_members_char.cc: Same.
4327 * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
4328 * testsuite/22_locale/time_put_members_char.cc: Same.
4329 * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
4330 * testsuite/21_strings/nonmember.cc: Same.
4331 * testsuite/21_strings/compare.cc: Same.
4332 * testsuite/27_io/stringstream.cc: Same.
4333 * testsuite/27_io/stringbuf.cc: Same.
4334 * testsuite/27_io/filebuf.cc: Same.
4335 * testsuite/27_io/ios_manip_basefield.cc: Same.
4336 * testsuite/27_io/ios_manip_fmtflags.cc: Same.
4337 * include/bits/cpp_type_traits.h: Same.
4338 * include/bits/generic_shadow.h: Same.
4339 * include/bits/gslice_array.h: Same.
4340 * include/bits/gslice.h: Same.
4341 * include/bits/indirect_array.h: Same.
4342 * include/bits/slice_array.h: Same.
4343 * include/bits/sstream.tcc: Same.
4344 * include/bits/streambuf_iterator.h: Same.
4345 * include/bits/valarray_array.tcc: Same.
4346 * include/bits/valarray_meta.h: Same.
4347 * include/bits/valarray_array.h: Same.
4348 * config/os/mingw32/bits/ctype_noninline.h: Same.
4349 * config/os/mingw32/bits/ctype_base.h: Same.
4350 * config/os/hpux/bits/ctype_noninline.h: Same.
4351 * config/os/hpux/bits/ctype_base.h: Same.
4352 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
4353 * config/os/gnu-linux/bits/ctype_base.h: Same.
4354 * config/os/generic/bits/ctype_noninline.h: Same.
4355 * config/os/generic/bits/ctype_base.h: Same.
4356
4357 * libsupc++/tinfo.h: Tweaks.
4358
4359 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
4360
4361 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
4362 * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
4363 * testsuite/22_locale/ctype_members_char.cc: Tweak.
4364
4365 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
4366
4367 * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
4368 (num_put::do_put(void*)): Fix.
4369 * testsuite/22_locale/num_put_members_char.cc (test02): Add.
4370 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
4371 * testsuite/22_locale/num_get_members_char.cc (test02): Add
4372 long double, void, bool types.
4373 * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
4374
4375 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
4376 Alexandre Oliva <aoliva@redhat.com>
4377
4378 * libmath/Makefile.am (LINK): Add --tag CC.
4379 * libmath/Makefile.in: Regenerate.
4380
4381 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
4382
4383 * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
4384 of character to attribute mapping table.
4385
4386 2002-01-15 David Billinghurst <David.Billinghurst@riotinto.com>
4387
4388 * testsuite/26_numerics/c99_classification_macros_c.cc
4389 Remove dg-error and dg-excess-errors comments.
4390
4391 2002-01-14 Benjamin Kosnik <bkoz@redhat.com>
4392
4393 * include/bits/locale_facets.tcc (time_put::put): Correct output
4394 iterator positions.
4395 * testsuite/22_locale/time_put_members_char.cc (test02): Add.
4396 * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
4397 * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
4398 * testsuite/22_locale/time_get_members_char.cc (test06): Add.
4399
4400 2002-01-14 Craig Rodrigues <rodrigc@gcc.gnu.org>
4401
4402 * docs/html/17_intro/porting-howto.xml: Update filebuf section.
4403
4404 2002-01-14 Paolo Carlini <pcarlini@unitus.it>
4405 Nathan Myers <ncm@cantrip.org>
4406
4407 * include/bits/basic_string.h
4408 (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
4409 temporaries (i.e., call _M_replace_safe) when possible.
4410 (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
4411 (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
4412 (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
4413 (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
4414 (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
4415 * include/bits/basic_string.tcc
4416 (replace(__pos1, __n1, __str, __pos2, __n2)): Call
4417 replace(__pos, __n1, __s, __n2).
4418 * testsuite/21_strings/replace.cc (test03): New testcases.
4419
4420 * include/bits/basic_string.h (insert(__pos, __s, __n)):
4421 Adjust comparison wrt overflow.
4422
4423 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
4424
4425 * include/Makefile.am (std_headers_rename): New variable.
4426 (install-data-local): Use it.
4427 * include/Makefile.in: Regenerate.
4428
4429 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
4430
4431 * include/bits/locale_facets.tcc (money_put::do_put(string):
4432 Correct output iterator value.
4433 * testsuite/22_locale/money_put_members_char.cc (test03): Add.
4434 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
4435
4436 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
4437
4438 * include/Makefile.am, include/Makefile.in (stamp-std): Fix typo from
4439 previous commit.
4440
4441 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
4442
4443 * include/Makefile.am (std_headers): Update list with new names.
4444 (stamp-std): Link to standardized name.
4445 * include/Makefile.in: Regenerate.
4446
4447 * include/std/algorithm, include/std/bitset, include/std/complex,
4448 include/std/deque, include/std/fstream, include/std/functional,
4449 include/std/iomanip, include/std/ios, include/std/iosfwd,
4450 include/std/iostream, include/std/istream, include/std/iterator,
4451 include/std/limits, include/std/list, include/std/locale,
4452 include/std/map, include/std/memory, include/std/numeric,
4453 include/std/ostream, include/std/queue, include/std/set,
4454 include/std/sstream, include/std/stack, include/std/stdexcept,
4455 include/std/streambuf, include/std/string, include/std/utility,
4456 include/std/valarray, include/std/vector: Rename to...
4457
4458 * include/std/std_algorithm.h, include/std/std_bitset.h,
4459 include/std/std_complex.h, include/std/std_deque.h,
4460 include/std/std_fstream.h, include/std/std_functional.h,
4461 include/std/std_iomanip.h, include/std/std_ios.h,
4462 include/std/std_iosfwd.h, include/std/std_iostream.h,
4463 include/std/std_istream.h, include/std/std_iterator.h,
4464 include/std/std_limits.h, include/std/std_list.h,
4465 include/std/std_locale.h, include/std/std_map.h,
4466 include/std/std_memory.h, include/std/std_numeric.h,
4467 include/std/std_ostream.h, include/std/std_queue.h,
4468 include/std/std_set.h, include/std/std_sstream.h,
4469 include/std/std_stack.h, include/std/std_stdexcept.h,
4470 include/std/std_streambuf.h, include/std/std_string.h,
4471 include/std/std_utility.h, include/std/std_valarray.h,
4472 include/std/std_vector.h: ...this.
4473
4474 2002-01-11 Loren Rittle <ljrittle@acm.org>
4475
4476 * include/Makefile.am (extra_target_headers): New list of all
4477 target files built with ad hoc naming rules.
4478 (stamp-*): Handle LN_S failure in manner portable across make
4479 implementations.
4480 (install-data-local): Install header files from human-maintained
4481 file lists and directory components instead of non-robust find.
4482 * include/Makefile.in: Rebuilt.
4483
4484 2002-01-11 Benjamin Kosnik <bkoz@redhat.com>
4485
4486 * include/bits/locale_facets.tcc (money_get::do_get(string)):
4487 Check for zero-length negative sign before adding it to output
4488 string.
4489 (money_get::do_get(long double)): Return beg.
4490 * testsuite/22_locale/money_get_members_char.cc (test02): Add
4491 iterator checks.
4492 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
4493
4494 2002-01-10 David Seymour <seymour_dj@yahoo.com>
4495
4496 libstdc++/5331
4497 * include/bits/locale_facets.h (num_get<>): Return advanced iterator
4498 for _M_extract_float and _M_extract_int
4499 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
4500 (num_get<>::_M_extract_int): Likewise, all callers changed
4501 * testsuite/22_locale/num_get_members_char.cc: Testcase
4502
4503 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
4504
4505 * libsupc++/exception (bad_exception): Add comment.
4506 * libsupc++/new (bad_alloc): Same.
4507 * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
4508
4509 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
4510
4511 libstdc++/3150: revert 2001-11-30 commit. DR266 only means
4512 that the destructors should be removed from the descriptions
4513 in the standard: writing them explicitly allows the vtable
4514 heuristic to work. For additional information see:
4515 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
4516 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
4517 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
4518 * libsupc++/exception (bad_exception::~bad_exception()):
4519 Reintroduce declaration.
4520 * libsupc++/new (bad_alloc::~bad_alloc()): Same.
4521 * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
4522 (bad_typeid::~bad_typeid()): Same.
4523 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
4524 Reintroduce definition.
4525 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
4526 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
4527 (bad_typeid::~bad_typeid()): Same.
4528
4529 2002-01-09 Benjamin Kosnik <bkoz@redhat.com>
4530
4531 * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
4532 * include/Makefile.in: Regenerate.
4533
4534 2002-01-09 Bo Thorsen <bo@suse.co.uk>
4535
4536 * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
4537 definition.
4538
4539 2002-01-08 Benjamin Kosnik <bkoz@redhat.com>
4540
4541 libstdc++/2913
4542 libstdc++/4879
4543 * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
4544 return value of _M_file->sync().
4545 (filebuf::showmanyc): Check for is_open.
4546 * include/std/fstream (filebuf::sync): Tweak.
4547 * testsuite/27_io/filebuf.cc: Tweak.
4548
4549 2002-01-08 John Fardo <jfardo@laurelnetworks.com>
4550 Brad Garcia <garsh@attbi.com>
4551
4552 * testsuite/27_io/filebuf_members.cc: Add test.
4553
4554 2002-01-07 Benjamin Kosnik <bkoz@redhat.com>
4555 Craig Rodrigues <rodrigc@mediaone.net>
4556
4557 libstdc++/5174
4558 * po/Makefile.am (mkinstalldirs): Add.
4559 * po/Makefile.in: Regenerate.
4560
4561 2002-01-07 David Billinghurst <David.Billinghurst@riotinto.com>
4562
4563 * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
4564 testsuite/lib/prune.exp: Delete lines ":In function ..." from
4565 compiler output.
4566 * testsuite/23_containers/map_operators.cc: Remove
4567 dg-excess-errors comment.
4568 * testsuite/23_containers/set_operators.cc: Likewise.
4569
4570 2002-01-06 Paolo Carlini <pcarlini@unitus.it>
4571
4572 * include/bits/stl_function.h: Remove two lines of comments;
4573 adjust copyright years.
4574
4575 2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
4576
4577 * include/Makefile.am (std_headers): Remove cXXX from list.
4578 (c_base_srcdir): No bits subdirectory.
4579 (c_base_builddir): Same.
4580 (c_base_headers): Adjust names, add ciso646.
4581 (bits_headers): Remove std_xxx.h headers.
4582 * include/Makefile.in: Regenerate.
4583
4584 * include/ext/iterator: Adjust includes.
4585 * include/ext/ropeimpl.h: Same.
4586 * include/ext/stl_hash_fun.h: Same.
4587 * include/ext/algorithm: Same.
4588
4589 * include/backward/bvector.h: Adjust includes.
4590 * include/backward/vector.h: Same.
4591 * include/backward/strstream: Same.
4592 * include/backward/streambuf.h: Same.
4593 * include/backward/stack.h: Same.
4594 * include/backward/set.h: Same.
4595 * include/backward/queue.h: Same.
4596 * include/backward/multiset.h: Same.
4597 * include/backward/multimap.h: Same.
4598 * include/backward/map.h: Same.
4599 * include/backward/list.h: Same.
4600 * include/backward/iterator.h: Same.
4601 * include/backward/iostream.h: Same.
4602 * include/backward/iomanip.h: Same.
4603 * include/backward/fstream.h: Same.
4604 * include/backward/deque.h: Same.
4605 * include/backward/complex.h: Same.
4606
4607 * include/bits/std_algorithm.h: Move to...
4608 * include/std/algorithm: ...here.
4609 * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
4610 std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
4611 std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
4612 std_deque.h, std_istream.h, std_numeric.h, std_string.h,
4613 std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
4614 std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
4615 std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
4616 Same.
4617
4618 * include/c_std/bits/std_cassert.h: Move to...
4619 * include/c_std/cassert: Here.
4620 * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
4621 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
4622 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
4623 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
4624 std_cwctype.h: Same.
4625 * include/c_std/cmath: Adjust cmath.tcc include.
4626 * include/c_std/cstdlib: Adjust includes.
4627 * include/c_std/cwchar: Same.
4628 * include/c_std/ctime: Same.
4629 * include/c_std/cstring: Same.
4630 * include/c_std/cstdio: Same.
4631 * include/c_std/bits: Remove directory.
4632
4633 * include/c/bits/std_cassert.h: Move to...
4634 * include/c/cassert: Here.
4635 * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
4636 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
4637 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
4638 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
4639 std_cwctype.h: Same.
4640 * include/c/bits: Remove directory.
4641
4642 * include/std/cwctype: Remove.
4643 * include/std/cwchar: Remove.
4644 * include/std/ctime: Remove.
4645 * include/std/cstring: Remove.
4646 * include/std/cstdlib: Remove.
4647 * include/std/cstdio: Remove.
4648 * include/std/cstddef: Remove.
4649 * include/std/cstdarg: Remove.
4650 * include/std/csignal: Remove.
4651 * include/std/csetjmp: Remove.
4652 * include/std/cmath: Remove.
4653 * include/std/clocale: Remove.
4654 * include/std/climits: Remove.
4655 * include/std/ciso646: Remove.
4656 * include/std/cfloat: Remove.
4657 * include/std/cerrno: Remove.
4658 * include/std/cctype: Remove.
4659 * include/std/cassert: Remove.
4660
4661 * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
4662 files and subsituting <xxx>.
4663 * include/bits/valarray_array.h: Same.
4664 * include/bits/stl_uninitialized.h: Same.
4665 * include/bits/stl_alloc.h: Same.
4666 * include/bits/stl_algobase.h: Same.
4667 * include/bits/sstream.tcc: Same.
4668 * include/bits/pthread_allocimpl.h: Same.
4669 * include/bits/ostream.tcc: Same.
4670 * include/bits/localefwd.h: Same.
4671 * include/bits/locale_facets.tcc: Same.
4672 * include/bits/locale_facets.h: Same.
4673 * include/bits/istream.tcc: Same.
4674 * include/bits/char_traits.h: Same.
4675 * include/bits/boost_concept_check.h: Same.
4676 * include/bits/basic_file.h: Same.
4677 * include/std/bitset: Same.
4678 * include/std/complex: Same.
4679 * include/std/fstream: Same.
4680 * include/std/functional: Same.
4681 * include/std/ios: Same.
4682 * include/std/iostream: Same.
4683 * include/std/ostream: Same.
4684 * include/std/sstream: Same.
4685 * include/std/streambuf: Same.
4686 * include/std/string: Same.
4687 * include/std/iterator: Same.
4688 * include/std/valarray: Same.
4689
4690 * src/ios.cc: Adjust includes.
4691 * src/valarray-inst.cc: Same.
4692 * src/string-inst.cc: Same.
4693 * src/stl-inst.cc: Same.
4694 * src/stdexcept.cc: Same.
4695 * src/misc-inst.cc: Same.
4696 * src/localename.cc: Same.
4697 * src/locale-inst.cc: Same.
4698 * src/locale.cc: Same.
4699 * src/limits.cc: Same.
4700 * src/concept-inst.cc: Same.
4701 * src/complex_io.cc: Same.
4702 * src/codecvt.cc: Same.
4703 * src/bitset.cc: Same.
4704 * src/cmath.cc: Same.
4705
4706 2002-01-04 Paolo Carlini <pcarlini@unitus.it>
4707
4708 * include/bits/stl_tree.h (rb_tree): Move to...
4709 * include/ext/rb_tree: ...here, new file.
4710 * include/Makefile.am (ext_headers): Add new file.
4711 * include/Makefile.in: Regenerate.
4712 * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
4713 return_temporary_buffer, struct temporary_buffer): Move to...
4714 * include/ext/memory: ...here.
4715 * testsuite/ext/headers.cc: Include <ext/rb_tree>.
4716 * include/backward/tempbuf.h: Include <ext/memory>, tweak.
4717 * include/backward/tree.h: Include <ext/rb_tree), tweak.
4718
4719 2002-01-03 Paolo Carlini <pcarlini@unitus.it>
4720
4721 * include/bits/stl_numeric.h (power + helpers, iota): Move to...
4722 * include/ext/numeric: ...here, new file.
4723 * include/bits/stl_function.h (identity_element, unary_compose,
4724 binary_compose, compose1, compose2, identity, select1st,
4725 select2nd, project1st + helper, project2nd + helper,
4726 constant_void_fun + helper, constant_unary_fun + helper,
4727 costant_binary_fun + helper, constant0, constant1, constant2,
4728 subtractive_rng, mem_fun1, mem_fun1_ref): Move to...
4729 * include/ext/functional: ...here, new file.
4730 * include/Makefile.am (ext_headers): Add new files.
4731 * include/Makefile.in: Regenerate.
4732 * testsuite/ext/headers.cc: Include <ext/numeric> and
4733 <ext/functional>.
4734 * include/backward/algo.h: Include <ext/numeric>, tweak.
4735 * include/backward/function.h: Include <ext/functional>, tweak.
4736 * include/ext/ropeimpl.h: Include <ext/numeric>.
4737
4738 2002-01-03 Jeffrey A Law <law@redhat.com>
4739
4740 * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
4741 __strtoull declarations with __extension__.
4742
4743 2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
4744
4745 * testsuite/lib/prune.exp: Correct regular expression for
4746 -ffunction-sections
4747
4748 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
4749
4750 * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
4751 Change concept checks, as with lower_bound and PR 2054.
4752 * testsuite/ext/concept_checks.cc: Expand test to include those.
4753
4754 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
4755
4756 * include/bits/boost_concept_check.h: Import some changes from
4757 upsteam (Boost) version.
4758
4759 2002-01-02 Paolo Carlini <pcarlini@unitus.it>
4760
4761 * include/bits/stl_algobase.h (copy_n + helpers,
4762 lexicographical_compare_3way + helpers): Move to...
4763 * include/ext/algorithm: ...here.
4764 * include/bits/stl_uninitialized.h (uninitialized_copy_n +
4765 helpers): Move to...
4766 * include/ext/memory: ...here, new file.
4767 * include/Makefile.am (ext_headers): Add new file.
4768 * include/Makefile.in: Regenerate.
4769 * testsuite/ext/headers.cc: Include <ext/memory>.
4770 * include/backward/algobase.h: Include <ext/memory> and
4771 <ext/algorithm>, tweak.
4772 * include/ext/ropeimpl.h: Include <ext/memory>, tweak.
4773 * include/ext/stl_rope.h: Include <ext/memory>, tweak.
4774
4775 2002-01-01 Roger Sayle <roger@eyesopen.com>
4776
4777 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
4778 equivalent ___builtin__ versions.
4779
4780 * include/c_shadow/bits/std_cmath.h: All __builtin math functions
4781 are available in libstdc++ as the necessary stub implementations
4782 are provided by libmath/stubs.c.
4783
4784 2002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
4785
4786 * configure.in: Add support for NetBSD cross compiles.
4787 * configure: Regenerate.