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