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