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