source: trunk/gcc/libstdc++-v3/ChangeLog

Last change on this file was 1598, checked in by bird, 21 years ago

This commit was generated by cvs2svn to compensate for changes in r1597,
which included commits to RCS files with non-trunk default branches.

  • Property cvs2svn:cvs-rev set to 1.1.1.4
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 253.1 KB
Line 
12004-09-30 Release Manager
2
3 * GCC 3.3.5 Released.
4
52004-08-25 Jonathan Wakely <redi@gcc.gnu.org>
6
7 * include/ext/enc_filebuf.h: Move concept-check macro to class scope.
8
92004-07-27 Benjamin Kosnik <bkoz@redhat.com>
10
11 * config/linker-map.gnu: Export typeinfo information.
12 * configure.in (libtool_VERSION): To 5:7:0.
13 * configure: Regenerate.
14 * testsuite/abi_check.cc (check_version): Add CXXABI_1.2.2.
15
162004-07-25 Kaz Kojima <kkojima@gcc.gnu.org>
17
18 PR bootstrap/15120
19 * configure: Rebuilt.
20
212004-07-08 Ulrich Weigand <uweigand@de.ibm.com>
22
23 * testsuite/22_locale/time_put_members_char.cc (test01): Allow either
24 "Son" or "So" as abbreviated name for Sunday in de_DE locale.
25 * testsuite/22_locale/time_put_members_wchar_t.cc (test01): Likewise.
26
272004-06-28 David Asher <david.asher@cavium.com>
28
29 PR libstdc++/11352
30 * include/bits/locale_facets.tcc (__pad<>::_S_pad): Don't
31 access __olds beyond __oldlen.
32
332004-05-31 Release Manager
34
35 * GCC 3.3.4 Released.
36
372004-05-24 Ronald Landheer-Cieslak <ronald@landheer.com>
38
39 PR libstdc++/11171
40 * acinclude.m4: Deal with --with-newlib.
41 * aclocal.m4: Regenerate.
42 * configure.in: Set os_include_dir correctly when --with-newlib.
43 * configure: Regenerate.
44
452004-05-13 Benjamin Kosnik <bkoz@redhat.com>
46
47 PR libstdc++/14720
48 * config/linker-map.gnu: Export basic_ios::_M_setstate.
49 * testsuite/abi_check.cc (check_version): Add GLIBCXX_3.2.4
50 to known versions.
51 * configure.in (libtool_VERSION): To 5:6:0.
52 * configure: Regenerated.
53
542004-05-07 Matthias Klose <doko@debian.org>
55
56 * include/backward/iterator.h: Add GPL copyright info,
57 with exception clause.
58 * config/cpu/hppa/atomicity.h: Likewise.
59 * config/io/c_io_libio_codecvt.c: Likewise.
60 * include/bits/boost_concept_check.h: Likewise.
61 * include/backward/iterator.h: Likewise.
62 * libsupc++/tinfo.h: Likewise.
63 * po/string_literals.cc: Likewise.
64 * src/wstring-inst.cc: Likewise.
65 * libio/_G_config.h: Likewise.
66 * libio/iolibio.h: Likewise.
67
682004-02-22 Paolo Carlini <pcarlini@suse.de>
69
70 PR libstdc++/14220
71 * include/bits/locale_facets.tcc (num_put<>::_M_convert_float):
72 Don't clip the precision passed down to __convert_from_v:
73 22.2.2.2.2 nowhere says so.
74
752004-02-14 Release Manager
76
77 * GCC 3.3.3 Released.
78
792004-02-04 Benjamin Kosnik <bkoz@redhat.com>
80 Zack Weinberg <zack@codesourcery.com>
81
82 * config/io/basic_file_stdio.cc (__gnu_internal::fopen_mode):
83 New function.
84 (__basic_file<char>::sys_open, __basic_file<char>::open): Use it.
85 (__basic_file<char>::_M_open_mode): Use it. Mark deprecated.
86
87 * testsuite/27_io/filebuf_members.cc (test_06, test_07):
88 Correct flags to filebuf::open calls.
89
902004-01-29 Paolo Carlini <pcarlini@suse.de>
91
92 PR libstdc++/12657
93 * include/bits/basic_ios.tcc (copyfmt(const basic_ios&)):
94 Implement resolution of DR 292 (WP).
95
962004-01-28 Paolo Carlini <pcarlini@suse.de>
97
98 PR libstdc++/13369
99 * include/bits/locale_facets.tcc (__verify_grouping):
100 Fix to deal properly with __grouping_tmp.size() >
101 __grouping.size().
102
1032004-01-29 Paolo Carlini <pcarlini@suse.de>
104
105 * Reverting Sylvain Pion's patch to libstdc++/10783, backported
106 from mainline: probably not safe for the ABI.
107
1082004-01-28 Andrew Pinski <pinskia@physics.uc.edu>
109
110 PR libstdc++/13462
111 * include/bits/stl_multiset.h (std::multiset): Define pointer
112 as allocator's pointer, likewise for reference, const_pointer, and
113 const_reference.
114 * include/bits/stl_set.h (std::set): Likewise.
115 * include/ext/hash_set (__gnu_cxx::hash_set): Likewise.
116 (__gnu_cxx::hash_multiset): Likewise.
117
1182004-01-28 Sylvain Pion <Sylvain.Pion@mpi-sb.mpg.de>
119
120 PR libstdc++/10783
121 * include/bits/stl_iterator.h (class __normal_iterator):
122 Don't inherit from iterator, add missing typedefs.
123
1242004-01-27 Paolo Carlini <pcarlini@suse.de>
125
126 PR libstdc++/12967
127 * include/bits/list.tcc (merge): Implement resolution of
128 DR 300 [WP].
129
1302004-01-27 Paolo Carlini <pcarlini@suse.de>
131
132 PR libstdc++/13884
133 * include/bits/sstream.tcc: Guard use of extern template.
134
1352004-01-27 Paolo Carlini <pcarlini@suse.de>
136
137 * include/bits/locale_facets.tcc
138 (money_put::do_put(..., long double)): Use the basic_string
139 constructor for char arrays, not that for C-strings, to pass
140 __digits to do_put(..., const string_type&): __ws isn't
141 null-terminated.
142
1432004-01-27 Paolo Carlini <pcarlini@suse.de>
144
145 * include/bits/locale_facets.tcc (__pad<>::_S_pad):
146 Improve performance-wise: avoid one traits::copy, avoid
147 the __builtin_alloca, streamline.
148
1492004-01-26 Paolo Carlini <pcarlini@suse.de>
150
151 PR libstdc++/12971
152 * include/bits/locale_facets.tcc
153 (money_put::do_put(..., long double)): Fix conversion
154 specification as per DR 328 [WP].
155
1562004-01-26 Paolo Carlini <pcarlini@suse.de>
157
158 PR libstdc++/12540
159 * config/locale/gnu/monetary_members.cc: Don't leak memory
160 on exception.
161
1622004-01-26 Andreas Schwab <schwab@suse.de>
163
164 * config/locale/gnu/monetary_members.cc: Restore locale before
165 rethrowing exception.
166
1672004-01-25 Paolo Carlini <pcarlini@suse.de>
168
169 PR libstdc++/13650
170 * include/bits/basic_string.tcc (compare(size_type, size_type,
171 const _CharT*, size_type)): Implement correctly the resolution
172 of DR 5: basically, s is a char array, -not- a C string.
173
174 * include/bits/basic_string.tcc (_M_clone): Null-terminate.
175
1762004-01-19 Paolo Carlini <pcarlini@suse.de>
177
178 PR libstdc++/12352
179 PR libstdc++/12438
180 * include/bits/locale_classes.h (locale::locale(const locale&,
181 _Facet*)): Don't leak memory on exception.
182 * include/bits/locale_facets.tcc (locale::combine(const locale&)):
183 Likewise.
184 * src/locale.cc (locale::locale(const char*)): Likewise.
185 * src/localename.cc (locale::_Impl::~_Impl(),
186 locale::_Impl::_Impl(const _Impl&, size_t),
187 locale::_Impl::_Impl(const char*, size_t)): Likewise.
188 (locale::_Impl::_M_replace_categories(const _Impl*, category):
189 Tweak.
190
1912004-01-12 Marc Espie <espie@openbsd.org>
192
193 * src/Makefile.am (version.dep): backport from HEAD.
194 * src/Makefile.in: regen.
195
1962004-01-12 Gernot Hillier <gernot.hillier@siemens.com>
197
198 * configure.in: GLIBCXX->GLIBCPP.
199 * configure: Regenerated.
200 * aclocal.m4: Regenerated.
201
2022004-01-07 Benjamin Kosnik <bkoz@redhat.com>
203
204 * configure.in: Add io bits to linux cross config.
205 * configure: Regenerate.
206
2072004-01-07 Paolo Carlini <pcarlini@suse.de>
208 Petur Runolfsson <peturr02@ru.is>
209
210 PR libstdc++/13007
211 * include/bits/fstream.tcc (imbue): Don't touch the stored
212 locale.
213 * include/std/std_streambuf.h (imbue): According to the
214 standard, base class version does nothing.
215 (pubimbue): Store the locale.
216
2172003-12-10 Benjamin Kosnik <bkoz@redhat.com>
218
219 PR libstdc++/6243
220 * testsuite/lib/libstdc++.exp (v3-init): Add
221 original_ld_library_path, calculate ld_library path, set
222 LD_LIBRARY_PATH to both. Based on libjava.exp.
223
2242003-12-10 Benjamin Kosnik <bkoz@redhat.com>
225 Alexandre Oliva <aoliva@redhat.com>
226
227 PR libstdc++/11612
228 * testsuite/Makefile.am (GLIBCXX_DIR): New.
229 (GLIBGCC_DIR): New.
230 (CXXLINK): Use both with -R so libtool links the correct libs.
231
2322003-12-08 David S. Miller <davem@redhat.com>
233
234 PR libstdc++/12496
235 * config/cpu/sparc/atomicity.h (__exchange_and_add, __atomic_add):
236 Extend increment to _Atomic_word before giving to assembler.
237
2382003-12-04 Christopher Saunders <ctsa@u.washington.edu>
239
240 PR libstdc++/13290
241 * include/bits/stl_algo.h (generate_n): Fix typo.
242
2432003-12-03 Benjamin Kosnik <bkoz@redhat.com>
244
245 * include/bits/basic_ios.h (basic_ios::setstate): Revert.
246 * include/bits/istream.tcc: Only call setstate if __err != goodbit.
247 * include/bits/ostream.tcc: Same.
248 * testsuite/27_io/basic_ios/exceptions/char/2.cc: New.
249
2502003-12-03 Benjamin Kosnik <bkoz@redhat.com>
251
252 PR libstdc++/9371
253 PR libstdc++/9546
254 PR libstdc++/10093
255 PR libstdc++/10095
256 * include/bits/basic_ios.h (basic_ios::setstate): Elide if goodbit.
257 (basic_ios::_M_setstate): Consolidate common error handling code.
258 * include/bits/basic_ios.tcc: Tweak.
259 * include/bits/fstream.tcc: Tweak.
260 * include/bits/istream.tcc: Use _M_setstate for common exception
261 handling. Move setstate calls after catch.
262 (basic_istream::tellg): Check for exceptions thrown by streambuf
263 virtual functions.
264 (basic_istream::seekg): Same.
265 * include/bits/ostream.tcc: Same, but for ostream.
266 (basic_ostream::flush): Check for exceptions thrown by streambuf
267 virtual functions.
268 (basic_istream::tellp): Same.
269 (basic_istream::seekp): Same.
270 * include/bits/locale_facets.tcc: Tweak.
271 * include/bits/streambuf.tcc: Tweak.
272 (__copy_streambufs): Propagate exceptions.
273
2742003-11-26 Benjamin Kosnik <bkoz@redhat.com>
275
276 PR libstdc++/12297
277 * include/bits/istream.tcc
278 (basic_istream::sentry::sentry): Set failbit and eofbit when eof.
279
2802003-11-26 Petur Runolfsson <peturr02@ru.is>
281
282 PR libstdc++/12594
283 * include/bits/ostream.tcc
284 (basic_ostream::operator<<(basic_ostream& (*)(basic_ostream&)),
285 basic_ostream::operator<<(basic_ios& (*)(basic_ios&)),
286 basic_ostream::operator<<(ios_base& (*)(ios_base&))):
287 Implement the resolution of DR 60 (TC): These are not formatted
288 output functions so don't construct sentry objects and don't
289 catch exceptions.
290 (basic_ostream::put, basic_ostream::write): Implement the
291 resolution of DR 63 (TC) by catching exceptions and setting
292 badbit.
293 (basic_ostream::flush): Implement the resolution of DR 60 (TC):
294 This is not an unformatted output function so don't construct
295 a sentry object.
296
2972003-10-25 Paolo Carlini <pcarlini@suse.de>
298
299 * include/bits/locale_facets.tcc (money_get::do_get(...,
300 long double&): Properly size the temporary buffer.
301
3022003-10-20 Benjamin Kosnik <bkoz@redhat.com>
303
304 PR libstdc++/10081
305 * include/bits/basic_ios.h (basic_ios::basic_ios): Initialize
306 _M_fctype, _M_fnumput, _M_fnumget.
307
3082003-10-16 Release Manager
309
310 * GCC 3.3.2 Released.
311
3122003-10-07 Paolo Carlini <pcarlini@unitus.it>
313
314 PR libstdc++/11740
315 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_is):
316 Fix to actually return (M & m) != 0 as per 22.2.1.1.2.
317 * config/locale/generic/ctype_members.cc: Same.
318
3192003-10-02 Harald Boehme <boehme@informatik.hu-berlin.de>
320
321 PR libstdc++/12451
322 * libsupc++/cxxabi.h: Move forward declaration of __class_type_info.
323
3242003-10-01 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
325
326 * configure.target: Handle Solaris 2.5 micro releases explicitly.
327 Remove wildcards from Solaris 2.6, 7-9: there were no
328 micro releases.
329 Treat Solaris 10 and up like 7-9.
330
3312003-09-30 Paolo Carlini <pcarlini@unitus.it>
332
333 PR libstdc++/12296
334 * include/bits/istream.tcc (peek): Set eofbit if sgetc
335 returns eof.
336
3372003-09-30 Nathan Myers <ncm@cantrip.org>
338 Paolo Carlini <pcarlini@unitus.it>
339
340 PR libstdc++/11400
341 * include/bits/stl_algo.h (search_n):
342 Use iterator_traits<>::difference_type for __n.
343
3442003-09-25 Benjamin Kosnik <bkoz@redhat.com>
345
346 PR libstdc++/11065
347 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_is): Fix.
348 * config/locale/generic/ctype_members.cc: Same.
349
350 * config/os/generic/ctype_inline.h: Update.
351
3522003-09-10 Daniel Jacobowitz <drow@mvista.com>
353 Andreas Jaeger <aj@suse.de>
354
355 PR libstdc++/12189
356 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Don't build
357 abi_check if cross compiling.
358 * aclocal.m4: Regenerated.
359 * configure: Regenerated.
360
3612003-09-09 Alan Modra <amodra@bigpond.net.au>
362
363 * configure: Regenerate.
364
3652003-08-25 Zack Weinberg <zack@codesourcery.com>
366
367 * config/os/hpux/os_defines.h: Unconditionally define
368 _GLIBCPP_GTHREAD_USE_WEAK to 0.
369
3702003-08-11 Andreas Jaeger <aj@suse.de>
371
372 * include/Makefile.am (stamp-c_base): Add dependency on stamp-bits
373 to make SMP-safe.
374 * include/Makefile.in: Regenerated.
375
3762003-08-07 Bernardo Innocenti <bernie@develer.com>
377
378 PR libstdc++/11784
379 * libstdc++-v3/config/cpu/m68k/atomicity.h (__exchange_and_add):
380 Replace variants with new BSET-based version.
381
3822003-08-04 Release Manager
383
384 * GCC 3.3.1 Released.
385
3862003-08-04 Release Manager
387
388 * GCC 3.3.1 Released.
389
3902003-07-24 Nathan Myers <ncm-nospam@cantrip.org>
391
392 * testsuite/23_containers/map_operators.cc: Conform to
393 container requirement as value must be Assignable.
394
3952003-07-18 Andreas Jaeger <aj@suse.de>
396
397 * config/abi/sparc-linux-gnu/baseline_symbols.txt: New file.
398 * config/abi/mips-linux-gnu/baseline_symbols.txt: New file.
399 * config/abi/hppa-linux-gnu/baseline_symbols.txt: New file.
400 * config/abi/x86_64-linux-gnu/baseline_symbols.txt: Regenerated.
401
4022003-07-17 Greg Schafer <gschafer@zip.com.au>
403
404 * configure.in: Use 'true' and 'false' for
405 GLIBCPP_IS_CROSS_COMPILING, otherwise memory limits are
406 not checked when not cross compiling.
407 * configure: Regenerate.
408
4092003-07-17 Paolo Carlini <pcarlini@unitus.it>
410
411 PR libstdc++/11528
412 * include/bits/locale_facets.tcc (money_get::do_get):
413 Strip only _leading_ zeros.
414
4152003-07-15 Loren J. Rittle <ljrittle@acm.org>
416
417 * testsuite/thread/pthread4.cc: Further tweak to avoid fini race.
418
4192003-07-15 Petur Runolfsson <peturr02@ru.is>
420
421 * Revert previous commit: not safe on platforms with
422 wint_t != size_t.
423
4242003-07-15 Petur Runolfsson <peturr02@ru.is>
425
426 * include/bits/char_traits.h (char_traits<wchar_t>::move):
427 Change last parameter from int_type to size_t.
428
4292003-07-08 Benjamin Kosnik <bkoz@redhat.com>
430 Jerry Quinn <jlquinn@optonline.net>
431
432 * include/bits/ios_base.h (ios_base::_M_getloc): Return reference
433 to the imbued locale.
434 * include/bits/locale_classes.h
435 (__locale_cache_base,__locale_cache): Declare.
436 (locale,locale::_Impl): Befriend __use_cache.
437 (locale::_Impl::_M_get_cache): New function.
438 (locale::_Impl::_M_install_cache): New function.
439 * include/bits/locale_facets.h (__locale_cache): Declare.
440 (numpunct): Befriend __locale_cache.
441 (__locale_cache_base): New class.
442 (__locale_cache): New class.
443 * include/bits/locale_facets.tcc (__use_cache): New function.
444 (num_put::_M_convert_int,_M_convert_float,do_put): Use it.
445 Use cache data members in place of calls to facet.
446 (num_put::_M_convert_int): Use _M_getloc.
447 (num_put::_M_convert_float): Use _M_getloc.
448 (__locale_cache::__locale_cache(locale&): New.
449 (__locale_cache::__locale_cache(locale&,bool)): New.
450 * src/globals.cc (facet_cache_vec): New.
451 (locale_cache_np_c, locale_cache_np_w): New.
452 * src/locale-inst.cc
453 (__locale_cache<numpunct<char> >): Define.
454 (__locale_cache<numpunct<wchar_t> >): Define.
455 (__use_cache<numpunct<char> >): Define.
456 (__use_cache<numpunct<wchar_t> >): Define.
457 * src/localename.cc (facet_cache_vec): Declare.
458 (locale_cache_np_c, locale_cache_np_w): Declare.
459 (locale::_Impl::~Impl): Destroy caches.
460 (locale::_Impl::Impl): Initialize cache storage. Fill in
461 static caches.
462 (locale::_Impl::_M_install_facet): Expand cache storage.
463
4642003-07-04 Jerry Quinn <jlquinn@optonline.net>
465
466 * include/bits/locale_facets.tcc (__int_to_char): Move common
467 case to the top.
468
4692003-07-04 Jerry Quinn <jlquinn@optonline.net>
470
471 * testsuite/27_io/ostream_inserter_arith.cc (test05, test06):
472 Add missing bool test.
473
4742003-07-04 H.J. Lu <hongjiu.lu@intel.com>
475
476 * Makefile.am: Replace PWD with PWD_COMMAND.
477 * Makefile.in: Regenerated.
478 * docs/html/Makefile: Likewise.
479
4802003-07-01 Roger Sayle <roger@eyesopen.com>
481
482 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Fix typo in CXXFLAGS.
483 (GLIBCPP_CHECK_MATH_SUPPORT): Likewise.
484 * aclocal.m4: Regenerate.
485 * configure: Regenerate.
486
4872003-06-27 Matthias Klose <doko@debian.org>
488
489 * testsuite/Makefile.am (check-abi, check-abi-verbose): Save
490 output of abi-check in libstdc++-v3-abi.sum.
491 * testsuite/Makefile.in: Regenerate.
492
4932003-06-25 Phil Edwards <pme@gcc.gnu.org>
494
495 Bulk documentation merge (copy) from trunk.
496 * docs/doxygen/filter, docs/doxygen/filter.sed,
497 docs/doxygen/mainpage.html, docs/doxygen/run_doxygen,
498 docs/doxygen/user.cfg.in, docs/html/configopts.html,
499 docs/html/documentation.html, docs/html/explanations.html,
500 docs/html/install.html, docs/html/test.html, docs/html/17_intro/BUGS,
501 docs/html/17_intro/CHECKLIST, docs/html/17_intro/contribute.html,
502 docs/html/20_util/howto.html, docs/html/ext/howto.html,
503 docs/html/ext/sgiexts.html, docs/html/faq/index.html,
504 docs/html/faq/index.txt: Merge from trunk.
505
5062003-06-23 Loren J. Rittle <ljrittle@acm.org>
507
508 * configure.target (freebsd*): Set abi_baseline_pair.
509 * config/abi/i386-freebsd4/baseline_symbols.txt: Update from 3.2
510 (at or near first release) to 3.3.
511 * config/abi/i386-freebsd5/baseline_symbols.txt: New file.
512 * config/abi/alpha-freebsd5/baseline_symbols.txt: New file.
513 * config/abi/sparc-freebsd5/baseline_symbols.txt: New file.
514
5152003-06-21 Eric Botcazou <ebotcazou@libertysurf.fr>
516
517 PR bootstrap/11272
518 Backport from mainline:
519
520 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
521
522 * config/io/basic_file_stdio.cc: include <unistd.h>.
523
5242003-06-20 Matthias Klose <doko@debian.org>
525
526 * configure.target: Set try_cpu to target_cpu for existing
527 baseline files.
528
5292003-06-19 Andreas Jaeger <aj@suse.de>
530
531 * configure.in: Pass MULTISUBDIR to testsuite/Makefile.
532 * configure: Regenerated.
533
5342003-06-19 Andreas Jaeger <aj@suse.de>
535
536 Backport from mainline:
537 2003-06-18 Andreas Jaeger <aj@suse.de>
538
539 * testsuite/Makefile.am (new-abi-baseline): Create baseline
540 directory.
541 (baseline_file): Use baseline_dir.
542 (baseline_dir): New.
543 (mkinstalldirs): New.
544
545 * acinclude.m4: Rename baseline_file to baseline_dir, strip
546 filename from baseline_dir.
547
548 * testsuite/Makefile.in: Regenerated.
549 * Makefile.in: Regenerated.
550 * aclocal.m4: Regenerated.
551 * configure: Regenerated.
552
553 2003-06-17 Benjamin Kosnik <bkoz@redhat.com>
554
555 * config/abi/i486-linux-gnu/baseline_symbols.txt: Update to 3.3.0.
556
557 2003-06-16 Benjamin Kosnik <bkoz@redhat.com>
558
559 * Makefile.am (check-abi): Move...
560 (new-abi-baseline): Move...
561 * testsuite/Makefile.am: ...here.
562 (new-abi-baseline): Conditionalize.
563 (check-abi): Conditionalize.
564 (check-abi-verbose): New.
565 * Makefile.in: Regenerate.
566 * testsuite/Makefile.in: Regenerate.
567 * configure.in: Consolidate testsuite configure bits.
568 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Same.
569 * configure: Regenerate.
570 * aclocal.m4: Regenerate.
571 * testsuite/abi_check.cc: Add --check-verbose.
572 Only output detailed information if --check-verbose.
573
574
575 2003-06-16 Andreas Jaeger <aj@suse.de>
576
577 * testsuite/abi_check.cc: Create summary report.
578
579 2003-06-16 Andreas Jaeger <aj@suse.de>
580
581 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Make
582 check-abi multilib aware.
583 * aclocal.m4: Regenerate.
584 * configure: Regenerate.
585
586 2003-06-16 Benjamin Kosnik <bkoz@redhat.com>
587 Andreas Jaeger <aj@suse.de>
588
589 * configure.target: Set x86_64 abi_baseline pair correctly.
590
591
592 2003-06-13 Benjamin Kosnik <bkoz@redhat.com>
593
594 * config/abi/i686-pc-linux-gnu: To..
595 * config/abi/i486-linux-gnu: ...this.
596 * config/abi/alphaev67-unknown-linux-gnu: To..
597 * config/abi/alpha-linux-gnu: ...this.
598 * config/abi/ia64-unknown-linux-gnu: To...
599 * config/abi/ia64-linux-gnu: ...this.
600 * config/abi/x86_64-unknown-linux-gnu: To...
601 * config/abi/x86_64-linux-gnu: ...this.
602 * config/abi/i386-unknown-freebsd4: To...
603 * config/abi/i386-freebsd4: ...this.
604 * configure.target: abi_baseline_triplet to abi_baseline_pair.
605 Simplify cpu bits so that abi_baseline_pair can use the same
606 cpu configuration.
607 * acinclude.m4: Same.
608 * aclocal.m4: Regenerate.
609 * configure.in: Can't get enable_abi_check to yes unless native.
610 * configure: Regenerate.
611
6122003-06-11 Benjamin Kosnik <bkoz@redhat.com>
613
614 * configure.in (libtool_VERSION): To 5:5:0.
615 * configure: Regenerated.
616
6172003-06-07 Paolo Carlini <pcarlini@unitus.it>
618
619 PR libstdc++/11095
620 * include/bits/istream.tcc (operator>>(basic_istream&, _CharT*)):
621 Deal with width() smaller than zero.
622 * include/bits/ostream.tcc (operator<<(basic_ostream&, _CharT),
623 operator<<(basic_ostream&, char), operator<<(basic_ostream&,
624 const _CharT*), operator<<(basic_ostream<_CharT, _Traits>&,
625 const char*), operator<<(basic_ostream<char, _Traits>&,
626 const char*), operator<<(basic_ostream, const basic_string&)): Likewise.
627
6282003-06-06 Nathan Myers <ncm-nospam@cantrip.org>
629
630 * include/bits/stl_iterator.h (reverse_iterator::reverse_iterator()):
631 Apply DR235: default constructor default-initializes data member.
632 Instantiated on a pointer type, the member has to end up equal
633 to zero.
634
6352003-06-02 Andrew Pinski <pinskia@physics.uc.edu>
636
637 PR libstdc++/9815
638 * config/cpu/i386/atomicity.h (__exchange_and_add): add intel
639 asm case to asm.
640 * config/cpu/i486/atomicity.h (__exchange_and_add): Likewise.
641 (__atomic_add): likewise.
642
6432003-06-02 Richard Kreckel <Richard.Kreckel@GiNaC.DE>
644
645 PR libstdc++/11062
646 * config/cpu/mips/atomicity.h: Change __attribute__ ((unused)) to
647 __attribute__ ((__unused__)).
648 * config/os/aix/atomicity.h: Likewise.
649
6502003-05-27 Steve Ellcey <sje@cup.hp.com>
651
652 * config/os/hpux/os_defines.h: Define _LIBUNWIND_STD_ABI if we are
653 on IA64 HP-UX.
654 * libsupc++/eh_throw.cc: Don't call _Unwind_Resume_or_Rethrow if
655 _LIBUNWIND_STD_ABI is set.
656
6572003-05-21 Danny Smith <dannysmith@users.sourceforge.net>
658
659 * libmath/stubs.c (hypot, hypotf, hypotl): Don't divide by
660 zero.
661 Update copyright year.
662
6632003-05-21 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
664
665 * include/bits/stl_alloc.h (__default_alloc_template::_S_chunk_alloc):
666 Cast via void* to avoid -Wcast-align warnings.
667 (__default_alloc_template::_S_refill): Likewise.
668
6692003-05-20 Gabriel Dos Reis <gdr@integrable-solutions.net>
670
671 PR libstdc++/10689
672 * include/std/std_complex.h (pow): Tidy.
673
6742003-05-17 Nathan Myers <ncm@cantrip.org>
675
676 * include/bits/streambuf.tcc (__copy_streambufs): Rewrote.
677
6782003-05-15 Phil Edwards <pme@gcc.gnu.org>
679
680 * testsuite/Makefile.am: Properly quote LD_RUN_PATH.
681 * testsuite/Makefile.in: Regenerate.
682
6832003-05-14 Loren J. Rittle <ljrittle@acm.org>
684
685 * testsuite/thread/pthread4.cc: Tweak test.
686
6872003-05-13 Release Manager
688
689 * GCC 3.3 Released.
690
6912003-05-06 Phil Edwards <pme@gcc.gnu.org>
692
693 * docs/html/faq/index.html (3.10): Add note about mips atomicity.h.
694 * docs/html/faq/index.txt: Regenerated.
695
6962003-05-02 Joel Sherrill <joel.sherrill@OARcorp.com>
697 Loren J. Rittle <ljrittle@acm.org>
698 Martin v. Loewis <martin@v.loewis.de>
699
700 libstdc++/10556
701 * config/cpu/i386/atomicity.h: New file.
702
7032003-05-02 Richard Henderson <rth@redhat.com>
704
705 PR c++/10570
706 * libsupc++/eh_catch.cc (__cxa_begin_catch): Handle foreign exceptions.
707 (__cxa_end_catch): Likewise.
708 * libsupc++/eh_throw.cc (__cxa_rethrow): Likewise. Use
709 _Unwind_Resume_or_Rethrow.
710 * libsupc++/eh_personality.cc (empty_exception_spec): New.
711 (PERSONALITY_FUNCTION): Don't ignore terminate or catch-all
712 for _UA_FORCE_UNWIND. Honor empty filter spec for foreign
713 exceptions. Don't push terminate/unexpected to cxa functions.
714 (__cxa_call_unexpected): Remove foreign exception fixmes.
715
7162003-05-01 Benjamin Kosnik <bkoz@redhat.com>
717
718 Revert __locale_cache.
719 * include/bits/locale_facets.tcc (num_put::_M_convert_int): Remove
720 __locale_cache.
721 (num_put::_M_convert_int): Same.
722 (num_put::do_put(bool)): Same.
723 (__locale_cache::_M_init): Same.
724 (__locale_cache::_S_callback): Same.
725 * include/bits/locale_facets.h (__locale_cache_base): Remove.
726 (__locale_cache): Remove.
727 * include/bits/basic_ios.h (basic_ios::init): Remove __locale_cache.
728 (basic_ios::_M_cache_locale): Same.
729 * include/bits/basic_ios.tcc: Same.
730 * include/bits/ios_base.h: Same.
731 (ios_base::_M_cache): Remove.
732 * src/locale-inst.cc: Same.
733 * src/ios.cc: Same.
734 * src/globals.cc: Same.
735
736 * config/linker-map.gnu: Same.
737
7382003-05-01 Benjamin Kosnik <bkoz@redhat.com>
739
740 * configure.in (libtool_VERSION): To 5:4:0.
741 * configure: Regenerated.
742
743 * testsuite/abi_check.cc (check_version): Update known versions.
744 Check added symbols for version_name != base version. Add missing
745 symbols to incompatible list.
746
747 * config/linker-map.gnu: Fixup for __basic_file::showmanyc_helper.
748
7492003-05-01 Benjamin Kosnik <bkoz@redhat.com>
750
751 * acinclude.m4 (GLIBCPP_EXPORT_FLAGS): Remove -Winline.
752 * aclocal.m4: Regenerated.
753 * configure: Regenerated.
754
7552003-05-01 Paolo Carlini <pcarlini@unitus.it>
756 Nathan Myers <ncm@cantrip.org>
757
758 Backport from mainline fix of 2003-03-28.
759 PR libstdc++/9533
760 * include/bits/fstream.tcc (basic_filebuf<>::open): Don't
761 call underflow().
762 (basic_filebuf<>::showmanyc): Use the information provided
763 by codecvt and __basic_file<>::showmanyc_helper to implement
764 a non-trivial showmanyc.
765 * config/io/basic_file_stdio.h
766 (__basic_file<>::showmanyc_helper): New, declare.
767 * config/io/basic_file_stdio.cc
768 (__basic_file<>::showmanyc_helper): Define.
769 (__basic_file<>::_M_open_mode): Don't set O_NONBLOCK.
770 (__basic_file<char>::open): Don't call fcntl().
771 * acinclude.m4 (GLIBCPP_CHECK_S_ISREG_OR_S_IFREG,
772 GLIBCPP_CHECK_POLL): New macros.
773 * configure.in: Call here.
774 * acconfig.h: Add #undefs for the corresponding symbols.
775 * aclocal.m4: Regenerate.
776 * configure: Regenerate.
777 * config.h.in: Regenerate.
778
7792003-04-29 Phil Edwards <pme@gcc.gnu.org>
780
781 Bulk documentation merge (copy) from trunk.
782 * docs/doxygen/Intro.3, docs/doxygen/TODO, docs/doxygen/mainpage.html,
783 docs/doxygen/run_doxygen, docs/doxygen/user.cfg.in,
784 docs/html/configopts.html, docs/html/debug.html,
785 docs/html/documentation.html, docs/html/explanations.html,
786 docs/html/install.html, docs/html/17_intro/howto.html,
787 docs/html/17_intro/porting.html, docs/html/18_support/howto.html,
788 docs/html/19_diagnostics/howto.html, docs/html/27_io/howto.html,
789 docs/html/ext/howto.html, docs/html/ext/sgiexts.html,
790 docs/html/faq/index.html, docs/html/faq/index.txt:
791 Merge from trunk.
792
7932003-04-28 Nathan Myers <ncm@cantrip.org>
794
795 Move some basic_string members out of line because
796 they are too big to reasonably be inline.
797 * include/bits/basic_string.h
798 (assign(const basic_string&, size_type, size_type),
799 assign(const _CharT*, size_type),
800 insert(size_type, const basic_string&, size_type, size_type),
801 insert(size_type, const _CharT*, size_type),
802 replace(size_type, size_type, const _CharT*, size_type)):
803 Move from here to...
804 * include/bits/basic_string.tcc: ...here.
805
8062003-04-28 Benjamin Kosnik <bkoz@redhat.com>
807
808 PR libstdc++/10132
809 * include/std/std_fstream.h (basic_filebuf::is_open): Add throw()
810 exception specifications.
811 (basic_filebuf::close): Same.
812 (basic_filebuf::_M_destroy_internal_buffer): Same.
813 (basic_filebuf): Remove __res_type typedef.
814 * include/std/std_streambuf.h:
815 (basic_streambuf::_M_pback_destroy): Same.
816 * src/fstream.cc: Same.
817 * include/bits/fstream.tcc
818 (basic_filebuf::_M_convert_to_external): Simplify.
819 (basic_filebuf::seekoff): Use has_facet before use_facet.
820 (basic_filebuf::close): Add exception specification of throw().
821
8222003-04-25 Ranjit Mathew <rmathew@hotmail.com>
823 Phil Edwards <pme@gcc.gnu.org>
824
825 * testsuite_flags.in: Guard against the possibility
826 of having "xgcc" as a part of a folder name in the
827 path to the GCC build folder.
828 * testsuite/Makefile.am: Likewise.
829 * testsuite/Makefile.in: Regenerated.
830
8312003-04-24 Richard Sandiford <rsandifo@redhat.com>
832
833 * src/localename.cc (__gnu_cxx::facet_vec): Correct types.
834
8352003-04-24 Benjamin Kosnik <bkoz@redhat.com>
836
837 * config/locale/generic/c_locale.h: Fix placement for old parser.
838
8392003-04-23 Benjamin Kosnik <bkoz@redhat.com>
840
841 * config/locale/generic/c_locale.h (__convert_from_v): Use
842 attribute unused.
843
8442003-04-23 Phil Edwards <pme@gcc.gnu.org>
845
846 * include/bits/istream.tcc (putback, unget, sync, tellg, seekg):
847 Comment and change to comply with DR 60 and the effect on gcount().
848 * include/std/std_istream.h: Update comments.
849
8502003-04-22 Loren J. Rittle <ljrittle@acm.org>
851
852 * testsuite/27_io/filebuf_members.cc (test_07): Adjust timing.
853
8542003-04-22 Jerry Quinn <jlquinn@optonline.net>
855 Benjamin Kosnik <bkoz at redhat dot com>
856
857 * include/bits/basic_ios.h (ios_base::Init::_S_ios_create):
858 Declare friend.
859 (basic_ios::init, basic_ios::_M_cache_locale): Add locale
860 cache argument.
861 * include/bits/basic_ios.tcc (basic_ios::init): Pass cache to
862 _M_cache_locale.
863 (basic_ios::_M_cache_locale): Use placement new if cache is
864 provided. Track the distinction in iword(0).
865 * include/bits/locale_facets.tcc
866 (__locale_cache::_S_callback): Only delete cache if iword(0)
867 is 0, i.e. not static.
868 * src/globals.cc: Allocate space for __locale_cache objects.
869 * src/ios.cc (__gnu_cxx): Declare extern __locale_cache objects
870 for standard wide and narrow stream objects.
871 (ios_base::Init::_S_ios_create): Use them.
872
8732003-04-18 Loren J. Rittle <ljrittle@acm.org>
874
875 * config/os/bsd/freebsd/ctype_inline.h: Support _M_table
876 when so installed.
877
878 * docs/html/17_intro/porting.texi (_GLIBCPP_USE_C99_CHECK): New macro.
879 (_GLIBCPP_USE_C99_DYNAMIC): New macro.
880 (_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
881 (_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
882 * config/os/bsd/freebsd/os_defines.h (_GLIBCPP_USE_C99_CHECK):
883 New macro.
884 (_GLIBCPP_USE_C99_DYNAMIC): New macro.
885 (_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
886 (_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
887 * include/c_std/std_cstdlib.h: Use new macros.
888 * include/c_std/std_cstdio.h: Use new macros.
889 * include/c_std/std_cwchar.h: Use new macros.
890
8912003-04-17 Benjamin Kosnik <bkoz@redhat.com>
892
893 PR libstdc++/9555
894 * include/bits/ostream.tcc: Catch all exceptions for formatted
895 output, instead of std::exception and derivatives.
896 * include/bits/istream.tcc: Same.
897
8982003-04-17 Andreas Tobler <toa@pop.agri.ch>
899 Benjamin Kosnik <bkoz@redhat.com>
900
901 * config/os/generic/ctype_inline.h: Fix.
902
9032003-04-17 Andreas Tobler <toa@pop.agri.ch>
904
905 * configure.target (_cpu_incdir_fullpath): Solaris 2.9 uses
906 solaris includes, not generic.
907
9082003-04-15 Benjamin Kosnik <bkoz@redhat.com>
909 Paolo Carlini <pcarlini@unitus.it>
910
911 PR libstdc++/9423
912 * docs/html/27_io/howto.html
913 ('The buffering is screwing up my program!'): Explain that
914 opening counts as an I/O operation.
915
9162003-04-15 Andreas Tobler <a.tobler@schweiz.ch>
917
918 * testsuite/thread/pthread1.cc: Enable for darwin test.
919 * testsuite/thread/pthread2.cc: Same.
920 * testsuite/thread/pthread3.cc: Same.
921 * testsuite/thread/pthread4.cc: Same.
922 * testsuite/thread/pthread5.cc: Same.
923 * testsuite/thread/pthread6.cc: Same.
924
9252003-04-15 Loren J. Rittle <ljrittle@acm.org>
926
927 * include/bits/concept_check.h: Fix multi-line comment.
928 * testsuite/17_intro/headers.cc (dg-options): Add -Wall -Wsystem-header
929 when target is *-*-freebsd*.
930
931 libstdc++/7680
932 * include/c_std/std_cmath.h (__gnu_cx::__c99_binding): New namespace.
933 Populate it with multiple legal ways to obtain the C99 float
934 transcendentals. Use them instead of direct global reference.
935 (C99 FP capture): Guard usage with _GLIBCPP_USE_C99_FP_MACROS_DYNAMIC.
936 * docs/html/17_intro/porting.texi
937 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
938 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
939 (_GLIBCPP_USE_C99_FP_MACROS_DYNAMIC): New macro.
940 * config/os/bsd/freebsd/os_defines.h
941 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
942 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
943 * testsuite/26_numerics/c_math_dynamic.cc: New file.
944
945 * testsuite/26_numerics/c99_classification_macros_c.cc: Add XFAIL.
946
9472003-04-14 M. Warner Losh <imp@bsdimp.com>
948
949 * include/std/std_fstream.h: Add required typename.
950
9512003-04-12 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
952
953 * os/hpux/ctype_inline.h: Replace with gnu-linux version.
954
9552003-04-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
956
957 * basic_file_stdio.cc (__basic_file<char>::close): Don't flush stream
958 twice. Always set _M_cfile to 0 when stream was open.
959
9602003-04-04 Jerry Quinn <jlquinn@optonline.net>
961
962 PR libstdc++/10276
963 * src/ios.cc (ios_base::_M_init): Remove _M_callbacks
964 initialization.
965
9662003-03-31 Paolo Carlini <pcarlini@unitus.it>
967
968 * include/ext/stdio_filebuf.h
969 (stdio_filebuf::stdio_filebuf(int, openmode, bool, size_t),
970 stdio_filebuf::stdio_filebuf(__c_file*, openmode, size_t):
971 _M_buf_size_opt == 0 means only "not to use an allocated buffer"
972 since a stack-based buffer is used for small values of the size_t
973 parameter.
974 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow).
975 If _M_buf_size != 0 flush out the buffer (any kind, stack-based too).
976 * testsuite/ext/stdio_filebuf_2.cc: New testfile.
977
9782003-03-25 Paolo Carlini <pcarlini@unitus.it>
979 Petur Runolfsson <peturr02@ru.is>
980
981 PR libstdc++/10097
982 * src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
983 basic_filebuf<wchar_t>::_M_underflow_common):
984 if (gptr() < egptr()) return *gptr().
985 * testsuite/27_io/filebuf_virtuals.cc (test15): Add.
986
987 * testsuite/27_io/filebuf_members.cc (test_04): Minor
988 changes: unlink fifo before making it, fix spelling error.
989
9902003-03-22 Loren J. Rittle <ljrittle@acm.org>
991
992 * config/os/hpux/ctype_noninline.h (ctype<char>::classic_table):
993 Correct return value.
994
9952003-03-21 Jerry Quinn <jlquinn@optonline.net>
996
997 PR libstdc++/5730
998 * include/bits/c++config (_GLIBCPP_FAST_MATH): Define.
999 * include/std/std_complex.h (norm): Use faster,
1000 less accurate computation for builtin float types under --fast-math.
1001
10022003-03-21 Paolo Carlini <pcarlini@unitus.it>
1003
1004 PR libstdc++/10167
1005 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
1006 (do_out, do_unshift, do_in): qualify 'ok', 'error', 'partial',
1007 'noconv' with codecvt_base::.
1008
10092003-03-19 Alexandre Oliva <aoliva@redhat.com>
1010
1011 * src/strstream.cc (strstreambuf::overflow): Make sure operands of
1012 min and max have the same type.
1013 * include/bits/basic_string.tcc (append, rfind, compare): Likewise.
1014
10152003-03-17 Benjamin Kosnik <bkoz@redhat.com>
1016
1017 * testsuite/Makefile.am (CLEANFILES): Add tmp*.
1018 * testsuite/Makefile.in: Regenerate.
1019 * testsuite/27_io/filebuf_members.cc: Consistently name tmp files.
1020 Cleanups.
1021
10222003-03-17 Petur Runolfsson <peturr02@ru.is>
1023
1024 PR libstdc++/9964
1025 * include/bits/fstream.tcc (basic_filebuf::close):
1026 Always close file, even when write fails.
1027 * testsuite/27_io/filebuf_members.cc (test_07): New test.
1028
10292003-03-17 Danny Smith <dannysmith@users.sourceforge.net>
1030
1031 * libsupc++/Makefile.am (LTCOMPILE): Add $(AM_CFLAGS) $(CFLAGS).
1032 * libsupc++/Makefile.in: Regenerate.
1033
10342003-03-09 Paolo Carlini <pcarlini@unitus.it>
1035
1036 PR libstdc++/9988
1037 * include/bits/fstream.tcc (overflow): don't write EOF to file.
1038 * testsuite/27_io/filebuf_virtuals.cc (test14): Add.
1039
10402003-03-09 Paolo Carlini <pcarlini@unitus.it>
1041 Petur Runolfsson <peturr02@ru.is>
1042
1043 PR libstdc++/9424
1044 * include/bits/streambuf.tcc (__copy_streambufs): Use
1045 sgetn-sputn only when sputn cannot fail, otherwise fall back
1046 to safe snextc-sputc.
1047 * testsuite/27_io/streambuf_members.cc (test11, test12): Add.
1048
10492003-03-08 Jerry Quinn <jlquinn@optonline.net>
1050
1051 PR libstdc++/9561
1052 * include/bits/basic_ios.h (_M_setstate): New.
1053 * include/bits/ostream.tcc (operator<<): Use it.
1054 * include/bits/istream.tcc (operator>>): Use it.
1055 * include/std/std_ostream.h (operator<<): Make friends.
1056 * include/std/std_istream.h (operator>>): Make friends.
1057 * testsuite/27_io/ostream_exception.cc,
1058 testsuite/27_io/istream_exception.cc: New tests.
1059
10602003-03-08 Paolo Carlini <pcarlini@unitus.it>
1061
1062 PR libstdc++/9182
1063 * include/bits/fstream.tcc (_M_really_overflow): Check
1064 for _M_convert_to_external possible failures.
1065 * include/std/std_fstream.h (sync): Check _M_really_overflow
1066 return value and return -1 in case of failure.
1067 * testsuite/27_io/filebuf_virtuals.cc (test12, test13): Add.
1068
1069 * include/bits/fstream.tcc (_M_convert_to_external):
1070 Set __elen to zero if codecvt::out eventually fails.
1071
10722003-03-08 Paolo Carlini <pcarlini@unitus.it>
1073
1074 PR libstdc++/9826
1075 * include/bits/istream.tcc (operator>>(_CharT*),
1076 operator>>(basic_string&), ws): Pass a char_type to __ctype.is.
1077 * testsuite/27_io/stringstream.cc (test02): Add.
1078
1079 * include/bits/istream.tcc (operator>>(_CharT*)):
1080 Assign a char_type to *__s.
1081
10822003-03-08 Jerry Quinn <jlquinn@optonline.net>
1083
1084 * src/ios.cc (ios_base::ios_base): Correct order of _M_word and
1085 _M_word_size initialization.
1086
10872003-03-07 Benjamin Kosnik <bkoz@redhat.com>
1088
1089 * config/linker-map.gnu: Tweak.
1090
10912003-03-07 Petur Runolfsson <peturr02@ru.is>
1092
1093 PR libstdc++/9817
1094 * include/bits/locale_facets.tcc
1095 (collate::do_compare, collate::do_transform):
1096 Handle nul characters in input.
1097
10982003-03-07 Jerry Quinn <jlquinn@tiamat>
1099
1100 * include/bits/streambuf_iterator.h (_M_put): Set _M_failed if
1101 sputn fails.
1102 * testsuite/27_io/ostream_fail.cc: New test.
1103
11042003-03-07 Matthias Klose <doko@debian.org>
1105
1106 * Makefile.am (AM_MAKEFLAGS): Also pass gxx_include_dir.
1107 FLAGS_TO_PASS: Set to AM_MAKEFLAGS
1108 * Makefile.in: Regenerate.
1109 * libsupc++/Makefile.am: Express glibcppinstalldir in terms
1110 of gxx_include_dir.
1111 AM_MAKEFLAGS: Pass gxx_include_dir.
1112 * libsupc++/Makefile.in: Regenerate.
1113
11142003-03-06 Jerry Quinn <jlquinn@optonline.net>
1115
1116 * src/ios.cc (ios_base::_M_init): Remove _M_word_size.
1117 (ios_base::ios_base): Set _M_word, _M_word_size.
1118 (ios_base::~ios_base): Remove redundant test.
1119 * testsuite/27_io/ios_base_storage.cc (test03): New.
1120
11212003-03-05 Jerry Quinn <jlquinn@optonline.net>
1122
1123 * testsuite/27_io/ios_base_storage.cc (test02): Set exception
1124 mask. Test setting small-numbered pword and iword slots. Test
1125 behavior at limit of numeric_limits::max. Check that values are
1126 still good after failures.
1127
11282003-03-05 Carlo Wood <carlo@alinoe.com>
1129
1130 * include/bits/ios_base.h(ios_base::Init::_S_initialized()): Added
1131 _S_initialized() in order to allow debugging libraries to detect
1132 when the std streams are initialized from an overloaded operator
1133 new.
1134
11352003-03-04 Benjamin Kosnik <bkoz@redhat.com>
1136
1137 * config/linker-map.gnu: Version.
1138
11392003-03-04 Jerry Quinn <jlquinn@optonline.net>
1140
1141 * include/bits/basic_ios.h: Update copyright.
1142 (_M_cache_locale): New.
1143 (_M_cache_facets): Deprecate.
1144 * include/bits/basic_ios.tcc (basic_ios::copyfmt): Set up locale
1145 caching.
1146 (basic_ios::imbue,basic_ios::init): Use _M_cache_locale.
1147 (basic_ios::_M_cache_locale): New.
1148 (basic_ios::_M_cache_facets): Deprecate.
1149 * include/bits/ios_base.h (__locale_cache_base): Declare.
1150 (ios_base::_M_cache): Define.
1151 * include/bits/locale_facets.h
1152 (__locale_cache_base,__locale_cache<_CharT>): New classes.
1153 * include/bits/locale_facets.tcc
1154 (num_put::_M_convert_int): Use locale cache literal string,
1155 grouping flag, thousands separator.
1156 (num_out::_M_convert_float): Use locale cache grouping flag, decimal
1157 point, thousands separator.
1158 (__locale_cache<_CharT>::_M_init,__locale_cache<_CharT>::_S_callback):
1159 New.
1160 * src/locale-inst.cc
1161 (__locale_cache<_CharT>::_S_callback, __locale_cache<char>,
1162 __locale_cache<wchar_t>): New.
1163
11642003-03-04 Jerry Quinn <jlquinn@optonline.net>
1165
1166 * src/ios.cc (ios_base::_M_grow_words): Don't delete _M_word on
1167 new failure. Throw exception if badbit and exception mask when ix
1168 >= numeric_limits<int>::max().
1169
11702003-03-03 Benjamin Kosnik <benjamin@redhat.com>
1171
1172 * config/linker-map.gnu (GLIBCPP_3.2.3): New.
1173 Add new symbols.
1174 * testsuite/abi_check.cc: Update.
1175
11762003-03-03 Jerry Quinn <jlquinn@optonline.net>
1177 Benjamin Kosnik <benjamin@redhat.com>
1178
1179 * include/bits/locale_facets.h (__num_base): Add _S_atoms_out.
1180 Add indexes into this array.
1181 (__num_base::_S_atoms): To _S_atoms_in.
1182 (num_put::_M_insert): Rename to _M_pad.
1183 (num_put::_M_convert_int): Adjust remove __mod, __modl arguments.
1184 (num_put::_M_widen_int): Rename to _M_group_int.
1185 (num_put::_M_widen_float): Rename to _M_group_float.
1186 * include/bits/locale_facets.tcc (__int_to_char): New inline
1187 function and adapter functions.
1188 (num_put::_M_group_int): Streamline.
1189 (num_put::_M_group_float): Streamline.
1190 (num_put::_M_convert_int): Remove unused parameter names. Choose
1191 large enough buffer for text. Use __int_to_char instead of
1192 __convert_from_v. Formatted text is now at the end of the buffer.
1193 (num_put::_M_convert_float): Preliminary fixups.
1194 * src/locale-inst.cc (__convert_from_v<long long>): Add ifdef.
1195 (__int_to_char<unsigned long long>): Same.
1196 (__int_to_char<char, unsigned long>): New.
1197 (__int_to_char<char, unsigned long long>): New.
1198 (__int_to_char<wchar_t, unsigned long>): New.
1199 (__int_to_char<wchar_t, unsigned long long>): New.
1200 * src/locale.cc: Add _S_atoms_in, _S_atoms_out.
1201
12022003-02-28 Benjamin Kosnik <bkoz@redhat.com>
1203
1204 * testsuite/27_io/ios_base_storage.cc (main): Call
1205 set_memory_limits.
1206
12072003-02-28 Brad Spencer <spencer@infointeractive.com>
1208 Nathan Myers <ncm@cantrip.org>
1209
1210 * src/Makefile.am (stamp-debug): Clean.
1211 * src/Makefile.in: Regenerate.
1212
12132002-02-28 Loren J. Rittle <ljrittle@acm.org>
1214
1215 * src/Makefile.am: Resolve non-portable use of $<.
1216 * src/Makefile.in: Rebuilt.
1217
12182002-02-28 Phil Edwards <pme@gcc.gnu.org>
1219
1220 * configure.in (GLIBCPP_ENABLE_CXX_FLAGS): Do not pass arguments,
1221 let the defaults work.
1222 * configure: Regenerate.
1223
12242002-02-28 Phil Edwards <pme@gcc.gnu.org>
1225
1226 * acinclude.m4: Remove trailing whitespace.
1227 (GLIBCPP_ENABLE_CXX_FLAGS): Fix.
1228 * aclocal.m4, configure: Regenerate.
1229
12302003-02-27 Benjamin Kosnik <bkoz@redhat.com>
1231
1232 * configure.in (GLIBCPP_ENABLE_DEBUG): Default to none.
1233 Call GLIBCPP_ENABLE_DEBUG_FLAGS.
1234 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): GLIBCPP_BUILD_DEBUG, new
1235 conditional if --enable-debug is yes. Rework.
1236 (GLIBCPP_ENABLE_DEBUG_FLAGS): New.
1237 * aclocal.m4: Regenerate.
1238 * libio/Makefile.am: Remove DEBUG_FLAGS.
1239 * libio/Makefile.in: Regenerate.
1240 * libsupc++/Makefile.am: Remove DEBUG_FLAGS.
1241 * libsupc++/Makefile.in: Regenerate.
1242 * docs/html/configopts.html: Add docs for --enable-debug,
1243 --enable-debug-flags.
1244
12452003-02-27 Benjamin Kosnik <bkoz@redhat.com>
1246
1247 Correct dependency tracking, build warts.
1248 * configure.in: Correct repeated AC_OUTPUT thrashing by
1249 config-ml.in
1250 * configure: Regenerate.
1251 * include/Makefile.am (stamp-target): Stamp in top_builddir.
1252 * include/Makefile.in: Regenerate.
1253 * src/Makefile.am (codecvt_members.cc): New rule.
1254 (collate_members.cc): Same.
1255 (ctype_members.cc): Same.
1256 (messages_members.cc): Same.
1257 (monetary_members.cc): Same.
1258 (numeric_members.cc): Same.
1259 (time_members.cc): Same.
1260 (c++locale.cc): Same.
1261 (basic_file.cc): Same.
1262 * src/Makefile.in: Regenerate.
1263 * acinclude.m4 (CCTYPE_CHAR_CC): Remove.
1264 (CCCODECVT_CC): Don't link, AC_SUBST.
1265 (CCOLLATE_CC): Same.
1266 (CCTYPE_CC): Same.
1267 (CMESSAGES_CC): Same.
1268 (CMONEY_CC): Same.
1269 (CNUMERIC_CC): Same.
1270 (CTIME_CC): Same.
1271 (CLOCALE_CC): Same.
1272 * aclocal.m4: Regenerate.
1273
1274 * src/Makefile.am (libstdc___la_LIBADD): Use top_builddir
1275 for convenience libraries.
1276 (version_arg): Rename linker.map to libstdc++.ver.
1277 (libstdc___la_DEPENDENCIES): Remove linker.map, add
1278 libstdc++-symbol.ver as a dependency.
1279 (libstdc++-symbol.ver): Add rule.
1280 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Change LINKER_MAP to
1281 SYMVER_MAP. Don't link, AC_SUBST.
1282
1283 * include/Makefile.am (target_headers_noinst): New.
1284 (stamp-target): Add CLOCALE_INTERNAL_H.
1285 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't link
1286 CLOCALE_INTERNAL_H, AC_SUBST.
1287 * config/locale/gnu/c_locale.cc: Modify c++locale_internal.h
1288 include.
1289 * config/locale/gnu/time_members.cc: Same.
1290 * config/locale/gnu/numeric_members.cc: Same.
1291 * config/locale/gnu/monetary_members.cc: Same.
1292 * config/locale/gnu/messages_members.cc: Same.
1293 * config/locale/gnu/ctype_members.cc: Same.
1294 * config/locale/gnu/collate_members.cc: Same.
1295 * config/locale/gnu/codecvt_members.cc: Same.
1296 * config/locale/generic/codecvt_members.cc: Remove.
1297
12982003-02-27 Jerry Quinn <jlquinn@optonline.net>
1299
1300 * config/locale/generic/messages_members.h (messages::messages):
1301 Remove name from unused parameter.
1302
13032003-02-27 Benjamin Kosnik <bkoz@redhat.com>
1304
1305 * include/Makefile.am (stamp-std-precompile): Add rule.
1306 * include/Makefile.in: Regenerated.
1307
13082003-02-27 Benjamin Kosnik <bkoz@redhat.com>
1309
1310 * include/bits/c++config (_GLIBCPP_EXTERN_TEMPLATE): Define.
1311 * include/bits/basic_ios.tcc: Guard use of extern template.
1312 * include/std/std_iomanip.h: Same.
1313 * include/bits/streambuf.tcc: Same.
1314 * include/bits/stl_alloc.h: Same.
1315 * include/bits/locale_facets.tcc: Same.
1316 * include/bits/ostream.tcc: Same.
1317 * include/bits/istream.tcc: Same.
1318 * include/bits/fstream.tcc: Same.
1319 * include/bits/basic_string.tcc: Same.
1320
13212003-02-25 Paolo Carlini <pcarlini@unitus.it>
1322
1323 PR libstdc++/9825
1324 * src/fstream.cc
1325 (basic_filebuf<char/wchar_t>::_M_underflow_common): When
1326 __bump is true (uflow), always increment the read pointer
1327 (_M_in_cur) before returning successfully.
1328 * testsuite/27_io/filebuf_virtuals.cc (test11): Add.
1329
13302003-02-25 Paolo Carlini <pcarlini@unitus.it>
1331
1332 * include/std/std_sstream.h (str()): the size of the
1333 current string may be different from the initial one
1334 whenever _M_out_end > _M_out_beg.
1335 * testsuite/27_io/stringbuf_members.cc (test07): Add.
1336
13372003-02-21 Phil Edwards <pme@gcc.gnu.org>
1338
1339 * config/cpu/generic/atomicity.h (_Atomic_add_mutex): Fix declaration.
1340 (_GLIBCPP_NEED_GENERIC_MUTEX): Define for this file.
1341 (_Atomic_add_mutex_once, __gthread_atomic_add_mutex_once): Declare
1342 when we don't have static mutex initialization.
1343 (__exchange_and_add): Use _Atomic_add_mutex_once.
1344 * src/misc-inst.cc: Definitions of all the above.
1345 * config/linker-map.gnu: Also export locking symbols needed for the
1346 generic atomicity.h case.
1347
13482003-02-20 Alexandre Oliva <aoliva@redhat.com>
1349
1350 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
1351 config.status.
1352 * configure: Rebuilt.
1353
13542003-02-19 Phil Edwards <pme@gcc.gnu.org>
1355
1356 PR libstdc++/9582
1357 * include/bits/stl_alloc.h: Remove all traces of assert().
1358
13592003-02-18 Paolo Carlini <pcarlini@unitus.it>
1360
1361 PR libstdc++/9582
1362 * include/bits/stl_alloc.h (__pool_alloc::allocate): Remove assert.
1363
13642003-02-17 Paolo Carlini <pcarlini@unitus.it>
1365
1366 * src/locale-inst.cc: Do not include <cassert>.
1367 * src/locale.cc: Likewise.
1368
13692003-02-17 Paolo Carlini <pcarlini@unitus.it>
1370
1371 PR libstdc++/9169
1372 * include/bits/fstream.tcc (_M_convert_to_external):
1373 Deal correctly with noconv, as prescribed by 27.8.1.4,p8.
1374 * testsuite/27_io/filebuf_virtuals.cc (test10): Add.
1375
13762003-02-13 Paolo Carlini <pcarlini@unitus.it>
1377
1378 * include/bits/ostream.tcc (sentry::sentry): Improve
1379 performance-wise the fix for libstdc++/9563.
1380
13812003-02-13 Paolo Carlini <pcarlini@unitus.it>
1382
1383 PR libstdc++/9320
1384 * include/ext/stdio_filebuf.h
1385 (stdio_filebuf(int, std::ios_base::openmode, bool, int_type),
1386 stdio_filebuf(std::__c_file*, std::ios_base::openmode, int_type)):
1387 Change to take a __size parameter of type size_t, not
1388 of type (template parameter dependent) int_type.
1389 * src/ios.cc (ios_base::Init::_S_ios_create): Change type of
1390 size vars to size_t.
1391 * testsuite/ext/stdio_filebuf.cc: Add.
1392
13932003-02-12 Paolo Carlini <pcarlini@unitus.it>
1394
1395 PR libstdc++/9563
1396 * include/bits/ostream.tcc (sentry::sentry): Check
1397 the state of the stream after the preparation.
1398 * testsuite/27_io/ostream_sentry.cc: Add.
1399
14002003-02-11 Scott Snyder <snyder@fnal.gov>
1401
1402 PR libstdc++/9659
1403 * include/bits/fstream.tcc (seekoff): Avoid operator+
1404 for pos_type.
1405
14062003-02-11 Paolo Carlini <pcarlini@unitus.it>
1407 Petur Runolfsson <peturr02@ru.is>
1408
1409 PR libstdc++/9318
1410 * include/bits/streambuf.tcc (__copy_streambufs):
1411 Don't conditionalize the copy to __testput.
1412 * testsuite/27_io/streambuf_members.cc (test09, test10): Add.
1413
14142003-02-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1415
1416 * hppa/atomicity.h (__Atomicity_lock<__inst>::_S_atomicity_lock):
1417 Correct alignment.
1418 (__exchange_and_add, __atomic_add): Use PA 2.0 ordered store to reset
1419 lock.
1420
14212003-02-07 Paolo Carlini <pcarlini@unitus.it>
1422
1423 PR libstdc++/9548
1424 Implement resolution of DR 231 (Ready)
1425 * include/bits/locale_facets.h (__num_base::_S_format_float):
1426 Return void.
1427 * src/locale.cc (__num_base::_S_format_float): Implement
1428 resolution of DR 231.
1429 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
1430 Tweak uses. Check for negative precision.
1431 * testsuite/22_locale/num_put_members_char.cc (test06): Add
1432 * testsuite/22_locale/num_put_members_wchar_t.cc (test06): Ditto.
1433
14342003-02-07 Paolo Carlini <pcarlini@unitus.it>
1435
1436 * testsuite/27_io/filebuf_virtuals.cc (test08): Fix for
1437 unsigned char platforms.
1438
14392003-02-05 Benjamin Kosnik <bkoz@redhat.com>
1440
1441 * include/bits/locale_facets.tcc (time_put::do_put): Use __write.
1442 (money_put::do_put): Same.
1443
14442003-02-05 Jerry Quinn <jlquinn@optonline.net>
1445
1446 * include/bits/ios_base.h (ios_base): Document reserved storage.
1447
1448 * include/bits/locale_facets.h: (struct __pad): Comment on
1449 implementation.
1450 (__verify_grouping): Same.
1451 (__add_grouping): Same.
1452 * include/bits/locale_facets.tcc (__verify_grouping): Move
1453 comments to declaration.
1454 (__add_grouping): Same.
1455
1456 * include/bits/locale_facets.tcc:
1457 (__write<_CharT, _OutIter>): New function.
1458 (__write<_CharT>): New function specialization.
1459 (num_put::_M_insert): Remove explicit loop over iterator. Use
1460 __write.
1461 (num_put::_M_widen_float): Remove __basefield.
1462 (num_put::_M_widen_int): Move __basefield to within grouping block.
1463
1464 * include/bits/streambuf_iterator.h: Include <streambuf>.
1465 (ostreambuf_iterator::_M_put): Add.
1466
14672003-02-05 Paolo Carlini <pcarlini@unitus.it>
1468
1469 * testsuite/26_numerics/valarray_name_lookup.cc: Fix typo.
1470
14712003-02-05 Paolo Carlini <pcarlini@unitus.it>
1472
1473 PR libstdc++/9439, PR libstdc++/9425
1474 * config/io/basic_file_stdio.cc
1475 (__basic_file<char>::seekoff, seekpos): Return -1L if
1476 fseek fails.
1477 * include/bits/fstream.tcc (basic_filebuf::seekoff):
1478 Check _M_file.seekoff return value; always return
1479 pos_type(off_type(-1)) in case of failure.
1480 (basic_filebuf::pbackfail): Check this->seekoff return
1481 value and return traits_type::eof() in case of failure.
1482 * testsuite/27_io/filebuf_virtuals.cc (test09): Add.
1483
14842003-02-05 Benjamin Kosnik <bkoz@redhat.com>
1485
1486 * testsuite/26_numerics/valarray_name_lookup.cc: Fix.
1487
14882003-02-05 Benjamin Kosnik <bkoz@redhat.com>
1489
1490 * configure.in (libtool_VERSION): To 5:3:0.
1491 * configure: Regenerated.
1492
14932003-02-04 Paolo Carlini <pcarlini@unitus.it>
1494
1495 PR libstdc++/9538
1496 * include/bits/streambuf.tcc (sputbackc): Access
1497 this->gptr()[-1] only if _M_in_beg < _M_in_cur.
1498 * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
1499
15002003-02-04 Paolo Carlini <pcarlini@unitus.it>
1501
1502 PR libstdc++/9507
1503 * include/bits/fstream.tcc (open): If the 'ate' repositioning
1504 operation fails, calls close _and_ returns a null pointer
1505 to indicate failure (27.8.1.3,4).
1506 * testsuite/27_io/filebuf_members.cc (test_06): Add.
1507
15082003-02-04 Petur Runolfsson <peturr02@ru.is>
1509
1510 * testsuite/27_io/filebuf_members.cc (test_04): Remove exit(0).
1511
15122003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
1513
1514 * docs/html/17_intro/porting.texi: Update to GFDL 1.2.
1515 * docs/html/17_intro/porting.html: Regenerate.
1516
15172003-02-03 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
1518
1519 PR libstdc++/9234
1520 * include/bits/valarray_meta.h (_UnBase::operator[]): Apply unary
1521 operator.
1522
1523 * include/bits/valarray_meta.h (__not_equal_to): Use != instead of ==.
1524
1525 * testsuite/26_numerics/valarray_operators.cc: New test.
1526
15272003-01-28 Nathan Sidwell <nathan@codesourcery.com>
1528
1529 PR c++/9433
1530 * libsupc++/tinfo.cc (__vmi_class_type_info::__do_dyncast): Cope
1531 with bases which are very ambiguous.
1532
15332003-01-28 Danny Smith <dannysmith@users.sourceforge.net>
1534
1535 * src/Makefile.am (CONFIG_CXXFLAGS): Reverse order of
1536 @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@.
1537 * libsupc++/Makefile.am (CONFIG_CXXFLAGS): Likewise.
1538 * src/Makefile.in: Regenerate.
1539 * libsupc++/Makefile.in: Regenerate.
1540
15412003-01-27 Alexandre Oliva <aoliva@redhat.com>
1542
1543 * acinclude.m4 (glibcpp_toolexeclibdir): Instead of
1544 $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
1545 version_specific_libs is enabled.
1546 * aclocal.m4, configure: Rebuilt.
1547
15482003-01-26 Christian Cornelssen <ccorn@cs.tu-berlin.de>
1549
1550 * include/Makefile.am (install-data-local): Prepend
1551 $(DESTDIR) to destination paths in all (un)installation
1552 commands. Use ${c_base_builddir} and ${std_builddir}
1553 as destination subdirectories to achieve consistency with
1554 preceding mkinstalldirs commands. No effect because both
1555 variables contain "." only.
1556 * include/Makefile.in: Regenerate.
1557
15582003-01-23 Phil Edwards <pme@gcc.gnu.org>
1559
1560 Bulk documentation merge (copy) from trunk.
1561 * docs/doxygen/tables.html, docs/doxygen/user.cfg.in,
1562 docs/html/configopts.html, docs/html/debug.html,
1563 docs/html/documentation.html, docs/html/17_intro/howto.html,
1564 docs/html/19_diagnostics/howto.html, docs/html/ext/sgiexts.html:
1565 Merge from trunk.
1566
15672003-01-23 Petur Runolfsson <peturr02@ru.is>
1568
1569 PR libstdc++/9322
1570 * include/std/std_streambuf.h
1571 (basic_streambuf::basic_streambuf,
1572 basic_streambuf::~basic_streambuf,
1573 basic_streambuf::getloc, basic_streambuf::imbue):
1574 Remove _M_buf_locale_init use.
1575 * include/bits/fstream.tcc (basic_filebuf::imbue): Likewise
1576 * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
1577 * testsuite/27_io/streambuf_members.cc (test08): Add.
1578 * testsuite/27_io/stringbuf_virtuals.cc (test08): Add.
1579
15802003-01-23 Benjamin Kosnik <bkoz@redhat.com>
1581
1582 Revert include ordering.
1583 * config/locale/generic/c_locale.h: Add include guards.
1584 * config/locale/gnu/c_locale.h: Same.
1585 * include/bits/locale_classes.h: Remove cctype include.
1586 * include/std/std_iosfwd.h: Add c++locale.h, cctype includes.
1587 * include/std/std_fstream.h: Remove streambuf include.
1588 * include/std/std_sstream.h: Remove streambuf include.
1589
15902003-01-23 Benjamin Kosnik <bkoz@redhat.com>
1591
1592 Match 3.2.0 ABI.
1593 * include/bits/stl_alloc.h: Revert.
1594
1595 * include/bits/codecvt.h: Revert.
1596 * config/locale/gnu/codecvt_members.cc: Revert.
1597 * src/codecvt.cc: Revert.
1598 * src/localename.cc: Revert.
1599
1600 * include/bits/ios_base.h (ios_base::~ios_base): Revert.
1601
1602 * config/linker-map.gnu: Mostly match 3_2-branch file.
1603
16042003-01-22 Benjamin Kosnik <bkoz@redhat.com>
1605
1606 * include/bits/locale_facets.h: Move non-facet classes requiring
1607 <string> to...
1608 * include/bits/locale_classes.h: New.
1609 * include/bits/Makefile.am (bits_headers_src): Add locale_classes.h.
1610 * include/bits/Makefile.in: Regenerate.
1611
1612 * include/bits/locale_facets.tcc (__convert_from_v): Move to...
1613 * config/locale/gnu/c_locale.h: ...here.
1614 * config/locale/generic/c_locale.h: Same.
1615
1616 * include/bits/locale_facets.tcc: Move declarations to...
1617 * include/bits/locale_facets.h: ...here.
1618 * include/bits/basic_ios.h: Tweak includes accordingly.
1619 * include/std/std_sstream.h: Add streambuf include.
1620 * include/std/std_fstream.h: Ditto.
1621 * include/std/std_locale.h: Add locale_classes.h include.
1622 * include/std/std_iosfwd.h: Tweak.
1623 * src/concept-inst.cc: Add iterator include.
1624
1625 * config/linker-map.gnu: Specify __cxa functions, mark __cxa_dyn_*
1626 bits as unexported in the future.
1627
16282003-01-15 Benjamin Kosnik <bkoz@redhat.com>
1629
1630 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Substitute
1631 GLIBCPP_TEST_WCHAR_T if building wchar_t bits in the library.
1632 * aclocal.m4: Regenerate.
1633 * configure: Regenerate.
1634 * testsuite/Makefile.am (all-local): Add conditional rule to
1635 generate testsuite_wchar_t.
1636 * testsuite/Makefile.in: Regenerate.
1637 * testsuite/lib/libstdc++-v3-dg.exp
1638 (libstdc++-v3-list-sourcefiles): Remove wchar_t files if
1639 testsuite_wchar_t is not present in the build directory.
1640 * testsuite/libstdc++-v3.dg/dg.exp: Add -g -O2 to DEFAULT_CXXFLAGS.
1641 Remove setulimit bits.
1642 * testsuite/26_numerics/complex_value.cc: Set to noopts.
1643 * testsuite/Makefile.am (CLEANFILES): Add.
1644 * testsuite/Makefile.in: Regenerate.
1645
16462003-01-15 Benjamin Kosnik <bkoz@redhat.com>
1647
1648 Renames, namespaces for testsuite utilities.
1649 * testsuite/testsuite_hooks.h: Put into namespace __gnu_cxx_test.
1650 (gnu_allocator_tracker): Rename to allocation_tracker.
1651 (gnu_new_allocator): Rename to tracker_alloc.
1652 (__set_testsuite_memlimit): Rename to set_memory_limits.
1653 (gnu_assignment_operator): Rename to assignment_operator.
1654 (gnu_destructor): Rename to destructor.
1655 (gnu_copy_tracker): Rename to copy_tracker.
1656 (gnu_char, gnu_int, gnu_long): Rename to pod_char, pod_int, pod_long.
1657 (run_tests_wrapped_locale): New.
1658 (run_tests_wrapped_env): New.
1659 * testsuite/testsuite_hooks.cc: Same.
1660 (class locale_data): Add.
1661 (class enviornment_variable): Add.
1662 (class not_found): Add.
1663 * testsuite/testsuite_allocator.h: Same.
1664 * testsuite/testsuite_allocator.cc: Same.
1665 * testsuite/23_containers/deque_ctor.cc
1666 (test_copy_ctor_exception_safety): Change gnu_allocator_tracker to
1667 allocation_tracker.
1668 Change gnu_new_allocator to tracker_alloc.
1669 Change gnu_counting_struct to counter.
1670 Change gnu_copy_tracker to copy_tracker.
1671 Change gnu_copy_constructor to copy_constructor.
1672 Change gnu_assignment_operator to assignment_operator.
1673 Inject.
1674 * testsuite/23_containers/vector_capacity.cc: Same.
1675 * testsuite/23_containers/vector_ctor.cc (test01): Same.
1676 * testsuite/23_containers/list_modifiers.cc: Change
1677 gnu_copy_tracker to copy_tracker.
1678 * testsuite/21_strings/ctor_copy_dtor.cc (main): Change
1679 __set_testsuite_memlimit to set_memory_limits.
1680 * testsuite/21_strings/insert.cc (main): Same.
1681 * testsuite/27_io/filebuf.cc: Change gnu_char to pod_char.
1682 * testsuite/27_io/stringstream.cc: Same.
1683 * testsuite/27_io/stringbuf.cc: Same.
1684 * testsuite/27_io/streambuf.cc: Same.
1685 * testsuite/27_io/ostream.cc: Same.
1686 * testsuite/27_io/istream.cc: Same.
1687 * testsuite/27_io/fstream.cc: Same.
1688 * testsuite/lib/libstdc++-v3-dg.exp
1689 (libstdc++-v3-list-sourcefiles): Additionally handle files two and
1690 three levels deeper in glob patterns.
1691
16922003-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
1693
1694 * config/os/hpux/os_defines.h (_GLIBCPP_GTHREAD_USE_WEAK): Define for
1695 __hppa__.
1696
16972003-01-10 Benjamin Kosnik <bkoz@redhat.com>
1698 Sysoltsev Slawa <Vyatcheslav.Sysoltsev@intel.com>
1699
1700 PR libstdc++/9269
1701 * include/std/std_fstream.h (basic_filebuf::uflow): Declare.
1702 (basic_filebuf::underflow): Declare.
1703 Move definitions.
1704
17052003-01-07 Benjamin Kosnik <bkoz@redhat.com>
1706
1707 PR libstdc++/8707
1708 * Makefile.am (distclean-multi): Fix.
1709 * Makefile.in: Regenerate.
1710
17112003-01-06 Benjamin Kosnik <bkoz@redhat.com>
1712
1713 * include/bits/locale_facets.h (messages): Move ctor, dtor
1714 definitions to..
1715 (__timepunct): Same.
1716 * config/locale/gnu/messages_members.h (messages): Add dtor, ctor
1717 definitions. Conditionalize for GNU systems.
1718 * config/locale/generic/messages_members.h (messages): Add dtor, ctor
1719 definitions.
1720 * config/locale/gnu/time_members.h (messages): New. Add dtor, ctor
1721 definitions. Conditionalize for GNU systems.
1722 * config/locale/generic/time_members.h (messages): New. Add dtor, ctor
1723 definitions.
1724 * include/bits/localefwd.h (locale::facet::_S_c_name): Add.
1725 * src/locale.cc: Define.
1726 * src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool):
1727 Use it.
1728 * config/locale/gnu/time_members.h: Use it.
1729 * config/locale/gnu/messages_members.h: Use it.
1730 * config/linker-map.gnu: Add locale::facets details.
1731 * include/Makefile.am (target_headers_extra): Add time_members.h.
1732 * include/Makefile.in: Regenerate.
1733 * acinclude.m4: Export CTIME_H.
1734 * aclocal.m4: Regenerate.
1735 * configure: Regnerate.
1736
17372003-01-06 Paolo Carlini <pcarlini@unitus.it>
1738
1739 * src/codecvt.cc
1740 (codecvt<char, char, mbstate_t>::do_in, do_out):
1741 Tweak parameters to avoid unused parameter warnings.
1742
17432003-01-06 Paolo Carlini <pcarlini@unitus.it>
1744
1745 PR libstdc++/9151
1746 * include/bits/locale_facets.cc (num_put::_M_convert_float):
1747 Limit __prec to digits10 + 2, not digits10 + 1, taking into
1748 account the possibility of %{g,G} conversion specifiers
1749 inside _S_format_float.
1750 * testsuite/27_io/ostream_inserter_arith.cc (test06): Add.
1751
17522003-01-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1753
1754 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init,
1755 libstdc++-v3-list-sourcefiles): Additionally handle files one
1756 level deeper in glob patterns.
1757
1758 * testsuite/27_io/istream_extractor_arith.cc: Delete, split...
1759 * testsuite/27_io/istream_extractor_arith/01.cc,
1760 testsuite/27_io/istream_extractor_arith/02.cc,
1761 testsuite/27_io/istream_extractor_arith/03.cc,
1762 testsuite/27_io/istream_extractor_arith/06.cc,
1763 testsuite/27_io/istream_extractor_arith/07.cc,
1764 testsuite/27_io/istream_extractor_arith/08.cc,
1765 testsuite/27_io/istream_extractor_arith/09.cc,
1766 testsuite/27_io/istream_extractor_arith/10.cc,
1767 testsuite/27_io/istream_extractor_arith/11.cc,
1768 testsuite/27_io/istream_extractor_arith/12.cc,
1769 testsuite/27_io/istream_extractor_arith/13.cc: ... to new files.
1770 * testsuite/27_io/istream_extractor_arith/12.cc: Add XFAIL for
1771 sparc*-*-solaris2*.
1772
17732003-01-05 Paolo Carlini <pcarlini@unitus.it>
1774
1775 PR libstdc++/9168
1776 * src/codecvt.cc
1777 (codecvt<char, char, mbstate_t>::do_in, do_out):
1778 Implement the resolution of DR19 (TC).
1779 * testsuite/22_locale/codecvt_members_char_char.cc
1780 (test01): Tweak.
1781
17822002-12-29 Phil Edwards <pme@gcc.gnu.org>
1783
1784 * include/std/std_bitset.h: Better comments.
1785
17862002-12-29 Phil Edwards <pme@gcc.gnu.org>
1787
1788 * include/std/std_bitset.h (_Base_bitset::_M_do_left_shift,
1789 _Base_bitset::_M_do_right_shift): Expect a non-zero shift.
1790 (bitset::operator<<=, bitset::operator>>=): When shifting more bits
1791 than are in the bitset, zero memory rather than segfault.
1792 (operator>>(basic_istream,bitset): Only call setstate once, after
1793 all work has been done.
1794
1795 * testsuite/23_containers/bitset_members.cc (test03): New test.
1796 * testsuite/23_containers/bitset_shift.cc (test02): New test.
1797
17982002-12-28 Joseph S. Myers <jsm@polyomino.org.uk>
1799
1800 * docs/html/17_intro/porting.texi: Use @copying.
1801 * docs/html/17_intro/porting.html: Regenerate.
1802
18032002-12-23 Danny Smith <dannysmith@users.sourceforge.net>
1804
1805 * config/io/basic_file_stdio.cc (__basic_file::_M_open_mode):
1806 Don't use O_NONBLOCK if it is not defined.
1807 (__basic_file::open): Don't use fcntl either.
1808
18092002-12-19 Paolo Carlini <pcarlini@unitus.it>
1810
1811 PR libstdc++/8949
1812 * include/std/std_limits.h
1813 (struct numeric_limits<short>,
1814 struct numeric_limits<unsigned short>,
1815 struct numeric_limits<int>,
1816 struct numeric_limits<unsigned int>,
1817 struct numeric_limits<long>,
1818 struct numeric_limits<unsigned long>,
1819 struct numeric_limits<long long>,
1820 struct numeric_limits<unsigned long long>): According
1821 to 18.2.1.2,53 and 18.2.1.5,1 is_iec559 shall be false.
1822 * testsuite/18_support/numeric_limits.cc: Add test04.
1823
18242002-12-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1825
1826 * testsuite/23_containers/vector_capacity.cc (test03): Move ...
1827 * testsuite/23_containers/vector_resize.cc: ...here as a new file.
1828 Pass in -lmalloc for irix6.
1829 * testsuite/27_io/ios_base_storage.cc: Pass in -lmalloc for irix6.
1830
18312002-12-11 Paolo Carlini <pcarlini@unitus.it>
1832
1833 PR libstdc++/8887
1834 * config/locale/generic/time_members.cc
1835 (__timepunct<char>::_M_initialize_timepunct): Fix typos
1836 in _M_date_format and _M_date_era_format string literals.
1837
18382002-12-10 Mark Mitchell <mark@codesourcery.com>
1839
1840 * libsupc++/cxxabi.h (__cxa_bad_cast): Declare it.
1841 (__cxa_bad_typeid): Likewise.
1842 (__cxa_atexit): Likewise.
1843 (__cxa_finalize): Likewise.
1844
18452002-12-09 Gabriel Dos Reis <gdr@integrable-solutions.net>
1846
1847 * include/bits/slice_array.h (slice_array<>::operator=): Fix typo.
1848
18492002-12-09 Mark Mitchell <mark@codesourcery.com>
1850
1851 * libsupc++/cxxabi.h (__cxa_pure_virtual): Declare it.
1852
18532002-12-05 Benjamin Kosnik <bkoz@redhat.com>
1854
1855 * testsuite/abi_check.cc: Add GLIBCPP_3.2.2.
1856
18572002-12-02 Paolo Carlini <pcarlini@unitus.it>
1858
1859 * include/bits/basic_string.h (compare(const basic_string&)):
1860 Fully qualify min() with std::.
1861
18622002-12-02 Benjamin Kosnik <bkoz@redhat.com>
1863
1864 * configure.in (libtool_VERSION): Update to 5:2:0.
1865 * configure: Regenerate.
1866
18672002-12-02 Paolo Carlini <pcarlini@unitus.it>
1868
1869 * include/bits/basic_string.tcc
1870 (basic_string::append(const basic_string&, size_type,
1871 size_type), basic_string::compare(size_type, size_type,
1872 const basic_string&), basic_string::compare(size_type,
1873 size_type, const basic_string&, size_type, size_type),
1874 basic_string::compare(const _CharT*), basic_string::
1875 compare(size_type, size_type, const _CharT*),
1876 basic_string::compare(size_type, size_type, const _CharT*,
1877 size_type), _S_string_copy(const basic_string&, _CharT*,
1878 typename _Alloc::size_type)): Fully qualify min() with std::.
1879
18802002-12-02 Paolo Carlini <pcarlini@unitus.it>
1881
1882 * include/bits/basic_string.tcc
1883 (basic_string::_S_construct(_InIter, _InIter, const _Alloc&,
1884 forward_iterator_tag)): Delay the declaration of __dnew,
1885 fully qualify distance() with std::.
1886 (basic_string::_M_replace_safe): Fully qualify distance()
1887 with std::.
1888
18892002-11-28 Phil Edwards <pme@gcc.gnu.org>
1890
1891 PR libstdc++/8716
1892 * testsuite/21_strings/ctor_copy_dtor.cc (test05): Also test
1893 the NULL-pointer, zero-size case.
1894
18952002-11-28 Jonathan Wakely <redi@gcc.gnu.org>
1896
1897 * docs/html/faq/index.html: Add tip about a namespace for extensions.
1898
18992002-11-28 Paolo Carlini <pcarlini@unitus.it>
1900 Nathan Myers <ncm@cantrip.org>
1901
1902 * src/localename.cc
1903 (locale::_Impl::_Impl(const char*, size_t)):
1904 Improve previous fix for the strtok vs MT issue.
1905
19062002-11-28 Paolo Carlini <pcarlini@unitus.it>
1907
1908 * config/locale/gnu/c_locale.cc (locale::_S_categories):
1909 Reorder the categories to match that of glibc's setlocale(LC_ALL, ""))
1910 * config/locale/generic/c_locale.cc (locale::_S_categories): Ditto.
1911 * testsuite/22_locale/ctor_copy_dtor.cc (test04): Tweak.
1912
19132002-11-25 Benjamin Kosnik <bkoz@redhat.com>
1914
1915 * testsuite/abi_check.cc: Add CXXABI_1.2.1 as compatible.
1916 * config/linker-map.gnu: Version __cxa_guard_acquire,
1917 __cxa_guard_release, __cxa_guard_abort in CXXABI_1.2.1.
1918
19192002-11-25 Paolo Carlini <pcarlini@unitus.it>
1920 Nathan Myers <ncm@cantrip.org>
1921
1922 * src/localename.cc
1923 (locale::_Impl::_Impl(const char*, size_t)):
1924 Avoid strtok for thread safety.
1925
19262002-11-25 Stephen M. Webb <stephen@bregmasoft.com>
1927
1928 * testsuite/testsuite_allocator.h: New file.
1929 * testsuite/testsuite_allocator.cc: New file.
1930 * testsuite/Makefile.am: Added testsuite_allocator to test library.
1931 * testsuite/testsuite_hooks.h: Added more detailed tracker objects
1932 gnu_copy_constructor, gnu_assignment_operator, and gnu_destructor.
1933 * testsuite/testsuite_hooks.cc: Added new static objects definitions.
1934 * testsuite/23_containers/vector_capacity.cc: Added reserve() tests.
1935 * testsuite/23_containers/vector_ctor.cc: Added a plethora of tests.
1936 * testsuite/23_containers/deque_ctor.cc: Added a slew of new tests.
1937
19382002-11-25 Mark Mitchell <mark@codesourcery.com>
1939
1940 * libsupc++/Makefile.am (sources): Add guard.cc.
1941 * libsupc++/Makefile.in: Regenerated.
1942 * libsupc++/cxxabi.h (__cxa_guard_acquire): New function.
1943 (__cxa_guard_release): Likewise.
1944 (__cxa_guard_abort): Likewise.
1945 * libsupc++/guard.cc: New file.
1946
19472002-11-25 Wolfgang Bangerth <bangerth@ticam.utexas.edu>
1948
1949 * include/std/std_complex.h
1950 (operator<<(basic_ostream&, const complex&)): Prefer 'x'
1951 to "x" for efficiency sake.
1952 * src/locale.cc (locale::locale(const char*)): Ditto.
1953
19542002-11-24 Paolo Carlini <pcarlini@unitus.it>
1955
1956 * src/locale.cc (locale::locale(const char*)):
1957 Trivial cosmetic tweaks.
1958
19592002-11-22 Laszlo Ersek <erseklaszlo@chello.hu>
1960 Paolo Carlini <pcarlini@unitus.it>
1961
1962 PR libstdc++/8645
1963 * include/bits/stl_tree.h (_Rb_tree_rebalance_for_erase):
1964 Don't check that __w->_M_left != 0 and __w->_M_right != 0
1965 when they can't be otherwise.
1966
19672002-11-21 Phil Edwards <pme@gcc.gnu.org>
1968
1969 * docs/html/documentation.html: Fix broken/thinko'd URL.
1970
19712002-11-21 Phil Edwards <pme@gcc.gnu.org>
1972
1973 * docs/doxygen/run_doxygen: Tighter search expression for sed.
1974 * docs/doxygen/stdheader.cc: Handle the case of good headers.
1975
19762002-11-21 Phil Edwards <pme@gcc.gnu.org>
1977
1978 * acinclude.m4: Uniform formatting.
1979 * configure.in: Warn when generic atomicity.h is used.
1980 * configure.target: Fix comment.
1981 * aclocal.m4, configure: Regenerate.
1982
19832002-11-21 Phil Edwards <pme@gcc.gnu.org>
1984
1985 * include/bits/streambuf.tcc (basic_streambuf::sputbackc): Prefix
1986 "this->" to call to pbackfail.
1987
19882002-11-21 Phil Edwards <pme@gcc.gnu.org>
1989
1990 * docs/doxygen/style.css: Update.
1991 * docs/doxygen/user.cfg.in: Update.
1992 * docs/html/documentation.html: Regenerate.
1993 * docs/html/17_intro/howto.html: Tweak I/O sentry entry.
1994 * docs/html/27_io/howto.html: New section on headers.
1995 * docs/html/faq/index.html: Add i386 threading entry.
1996 * docs/html/faq/index.txt: Regenerate.
1997
1998 * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
1999 Import R23.
2000
20012002-11-21 Phil Edwards <pme@gcc.gnu.org>
2002
2003 * docs/doxygen/TODO: Note change in clause 27 docs.
2004 * include/bits/basic_ios.h, include/bits/fpos.h,
2005 include/bits/ios_base.h, include/bits/stl_deque.h,
2006 include/bits/stl_iterator_base_types.h, include/std/std_fstream.h,
2007 include/std/std_iomanip.h, include/std/std_iosfwd.h,
2008 include/std/std_iostream.h, include/std/std_istream.h,
2009 include/std/std_ostream.h, include/std/std_sstream.h,
2010 include/std/std_streambuf.h: Doxygenate all I/O entities.
2011
20122002-11-20 Benjamin Kosnik <bkoz@redhat.com>
2013 Jonathan Lennox <lennox@cs.columbia.edu>
2014
2015 * include/bits/streambuf.tcc (__copy_streambufs):
2016 Revert previous fix for the interactive half of
2017 libstdc++/6745, use _M_buf_size_opt to set dynamically
2018 the correct buffer size.
2019
20202002-11-20 Jonathan Wakely <redi@gcc.gnu.org>
2021
2022 * docs/html/21_strings/howto.html: Fix example code, cite Gaby's
2023 explanation of "<unknown type>" error with toupper/tolower.
2024 * docs/html/22_locale/howto.html: Be more consistent with
2025 example in 21_strings.
2026
20272002-11-19 John Gustafsson <forgoil@rsn.bth.se>
2028
2029 * docs/html/20_util/howto.html: Fix typo.
2030
20312002-11-18 Jonathan Lennox <lennox@cs.columbia.edu>
2032
2033 * include/bits/streambuf.tcc (__copy_streambufs): verify
2034 __sbin->gptr() + __bufsize < __sbin->egptr() before using.
2035 * testsuite/27_io/ostream_inserter_other.cc (test_buffer_4): Add.
2036 (test05): Use test_buffer_4. Delete unused ostringstream
2037 variables.
2038
20392002-11-18 Paolo Carlini <pcarlini@unitus.it>
2040
2041 PR libstdc++/6745 (continued)
2042 * include/bits/streambuf.tcc (__copy_streambufs):
2043 Deal with interactive input by using isatty as in the
2044 fix for libstdc++/8399.
2045
20462002-11-17 Jakub Jelinek <jakub@redhat.com>
2047
2048 * config/linker-map.gnu: Export _S_construct even if size_t is
2049 unsigned long. Collapse std::codecvt<char>::codecvt(size_t)
2050 and std::codecvt<wchar_t>::codecvt(size_t) into one export pattern.
2051
20522002-11-15 Benjamin Kosnik <bkoz@redhat.com>
2053 Gabriel Dos Reis <gdr@integrable-solutions.net>
2054
2055 PR libstdc++/8230
2056 * include/bits/stl_alloc.h: Use builtin_expect for the most
2057 obvious limit checks.
2058 (__default_alloc_template::allocate): Check for null, throw
2059 bad_alloc.
2060 * include/bits/vector.tcc: Formatting tweaks.
2061 * include/bits/stl_vector.h: Same.
2062 * testsuite/20_util/allocator_members.cc (test02): Add.
2063 * testsuite/23_containers/vector_capacity.cc (test03): Add.
2064
20652002-11-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2066
2067 * src/ios.cc [_GLIBCPP_HAVE_UNISTD_H]: Include unistd.h.
2068
20692002-11-15 Paolo Carlini <pcarlini@unitus.it>
2070 Loren J. Rittle <ljrittle@acm.org>
2071
2072 PR libstdc++/8399
2073 * acinclude.m4
2074 (GLIBCPP_CHECK_UNISTD_DECL_AND_LINKAGE_1): New macro to
2075 check for unistd.h functions.
2076 (GLIBCPP_CHECK_UNISTD_SUPPORT): New macro, check for isatty
2077 in unistd.h.
2078 * configure.in: Call here.
2079 * src/ios.cc (ios_base::Init::_S_ios_create(bool)):
2080 Use _GLIBCPP_HAVE_ISATTY: ifdef, in case of interactive
2081 input __in_size = 1 even when sync_with_stdio is false;
2082 otherwise fall back to __in_size = 1.
2083 * aclocal.m4: Regenerate.
2084 * config.h.in: Regenerate.
2085 * configure: Regenerate.
2086
20872002-11-13 Benjamin Kosnik <bkoz@redhat.com>
2088
2089 * acconfig.h (HAVE_DRAND48): Add.
2090 (HAVE_GETPAGESIZE): Add.
2091 (HAVE_SETENV): Add.
2092 (HAVE_SIGSETJMP): Add.
2093 * config.h.in: Regenerate.
2094 * configure: Regenerate.
2095
20962002-11-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
2097
2098 * config/os/hpux/os_defines.h (_GLIBCPP_INST_ATOMICITY_LOCK): Define
2099 on hppa when there is no weak support.
2100
21012002-11-13 Benjamin Kosnik <bkoz@redhat.com>
2102
2103 PR libstdc++/8230
2104 * include/bits/vector.tcc (vector::reserve): Throw length_error if
2105 requested size is bigger than max_size().
2106 * include/bits/stl_bvector.h (vector<bool>::reserve): Same.
2107 * testsuite/23_containers/vector_capacity.cc (test02): Add.
2108
21092002-11-13 Benjamin Kosnik <bkoz@redhat.com>
2110
2111 * config/linker-map.gnu: Export all _S_construct.
2112
21132002-11-13 Loren J. Rittle <ljrittle@acm.org>
2114
2115 PR libstdc++/7445
2116 * src/locale.cc (std::locale::classic()): Weaken locking protocol.
2117
21182002-11-13 Jonathan Wakely <redi@gcc.gnu.org>
2119
2120 * docs/html/install.html, docs/html/22_locale/locale.html: HTML fix.
2121
21222002-11-11 Benjamin Kosnik <bkoz@redhat.com>
2123
2124 PR libstdc++/6746
2125 * include/bits/fstream.tcc (filebuf::open): Set input pointers.
2126 * config/io/basic_file_stdio.cc (__basic_file::_M_open_mode): Set
2127 __p_mode as well.
2128 (__basic_file::open): Set to non-block for input.
2129 * testsuite/27_io/istream_unformatted.cc (test12): Add.
2130 (test13): Same.
2131
21322002-11-11 Jonathan Wakely <redi@gcc.gnu.org>
2133
2134 * docs/html/17_intro/howto.html: Make "chapter 22 notes" a link.
2135 * docs/html/faq/index.html: Mention that GCC ships with a newer
2136 version of the library than the last snapshot. Make "see below" a
2137 link. Add missing <html> tag.
2138 * docs/html/faq/index.txt: Regenerate.
2139 * docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
2140 docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
2141 docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
2142 docs/html/27_io/howto.html, docs/html/ext/howto.html,
2143 docs/html/ext/sgiexts.html: Add missing <html> tag.
2144
21452002-11-07 Phil Edwards <pme@gcc.gnu.org>
2146 Richard Earnshaw <rearnsha@arm.com>
2147
2148 * config/cpu/generic/atomicity.h: Provide atomic __exchange_and_add
2149 and __atomic_add.
2150
21512002-11-08 Paolo Carlini <pcarlini@unitus.it>
2152
2153 * config/locale/gnu/monetary_members.cc
2154 (moneypunct<wchar_t, true>::_M_initialize_moneypunct(__c_locale,
2155 const char*),
2156 moneypunct<wchar_t, false>::_M_initialize_moneypunct(__c_locale,
2157 const char*)): Tweak parameters for glibc2.3 systems, thus
2158 avoiding unused parameter warnings.
2159
21602002-11-05 Jonathan Wakely <cow@compsoc.man.ac.uk>
2161
2162 * include/std/std_sstream.h
2163 (basic_stringbuf::str(const __string_type&)):
2164 Prefer data() to c_str(), thus avoiding assigning the
2165 unnecessary NULL-terminator.
2166
21672002-11-05 Benjamin Kosnik <bkoz@redhat.com>
2168
2169 PR libstdc++/8258
2170 * include/bits/istream.tcc (istream::readsome): Don't set eofbit
2171 for null buffer.
2172 (istream::operator>>(_CharT*)): Use traits_type.
2173 (istream::ws): Same.
2174 (istream::operator>>(string)): Same.
2175 * testsuite/27_io/istream_unformatted.cc (test11): Add.
2176
21772002-11-05 Paolo Carlini <pcarlini@unitus.it>
2178
2179 PR libstdc++/8466
2180 * include/std/std_sstream.h
2181 (basic_stringbuf::str(const __string_type&)):
2182 Cannot use simple assignment since the COW-nature of v3
2183 basic_string is not taken into account in basic_stringbuf.
2184 * testsuite/27_io/stringstream_members.cc: Add test04 from PR.
2185
21862002-11-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
2187
2188 * configure.target (hppa*): Define cpu_include_dir.
2189 * config/os/hpux/os_defines.h (_GLIBCPP_INST_ATOMICITY_LOCK): Define.
2190 * src/misc-inst.cc: Instantiate atomicity lock when
2191 _GLIBCPP_INST_ATOMICITY_LOCK is defined.
2192 * config/cpu/hppa/atomicity.h: New file.
2193
21942002-11-05 Benjamin Kosnik <bkoz@redhat.com>
2195
2196 PR libstdc++/8463
2197 * include/bits/ios_base.h (~ios_base): Make virtual.
2198
21992002-11-04 Benjamin Kosnik <bkoz@redhat.com>
2200
2201 * config/linker-map.gnu: Export string operator+.
2202 Export __default_alloc_template::_S_force_new.
2203 * testsuite/abi_check.cc: Output tweaks.
2204
22052002-11-01 Benjamin Kosnik <bkoz@redhat.com>
2206
2207 PR libstdc++/8172
2208 * src/string-inst.cc: Add instantiation.
2209
22102002-11-01 Benjamin Kosnik <bkoz@redhat.com>
2211
2212 PR libstdc++/7926
2213 * configure.target: Simplify.
2214 * config/cpu/i386/atomicity.h: Remove.
2215 * config/cpu/i386: Remove.
2216 * config/cpu/arm/atomicity.h: Remove.
2217 * config/cpu/arm: Remove.
2218 * config/cpu/x86-64/atomicity.h: Remove.
2219 * config/cpu/x86-64: Remove.
2220
22212002-11-01 Christian Ehrhardt <ehrhardt@mathematik.uni-ulm.de>
2222
2223 PR libstdc++/8197
2224 * config/link-map.gnu: Export math stubbs.
2225
22262002-11-01 Benjamin Kosnik <bkoz@redhat.com>
2227
2228 PR libstdc++/8318
2229 * include/std/std_iostream.h: Tweak.
2230 * include/std/std_iosfwd.h: Add _GLIBCPP_USE_WCHAR_T.
2231 * include/std/std_iomanip.h: Same.
2232 * include/bits/stringfwd.h: Same.
2233 * include/bits/basic_string.tcc: Same.
2234 * include/bits/sstream.tcc: Same.
2235 * include/bits/fstream.tcc: Same.
2236 * include/bits/basic_ios.tcc: Same.
2237 * include/bits/streambuf.tcc: Same.
2238 * include/bits/locale_facets.tcc: Same.
2239
22402002-11-01 John Carter <john.carter@tait.co.nz>
2241
2242 PR libstdc++/7961
2243 * include/bits/basic_string.tcc
2244 (compare(const _CharT* __s)): Don't access __s past its length.
2245
22462002-10-31 Benjamin Kosnik <bkoz@redhat.com>
2247
2248 PR libstdc++/8348
2249 * include/bits/istream.tcc (istream::tellg): Remove sentry bits.
2250 (istream::seekg): Same.
2251 * testsuite/27_io/istream_seeks.cc (test06): New.
2252
22532002-10-28 Jason Thorpe <thorpej@wasabisystems.com>
2254
2255 * testsuite/thread/pthread5.cc: Include <unistd.h>
2256 if _GLIBCPP_HAVE_UNISTD_H is defined.
2257 (main): Only use pthread_attr_setscope if
2258 _POSIX_THREAD_PRIORITY_SCHEDULING is defined.
2259
22602002-10-28 Jason Thorpe <thorpej@wasabisystems.com>
2261
2262 * testsuite/thread/pthread1.cc: Enable on *-*-netbsd*.
2263 * testsuite/thread/pthread2.cc: Likewise.
2264 * testsuite/thread/pthread3.cc: Likewise.
2265 * testsuite/thread/pthread4.cc: Likewise.
2266 * testsuite/thread/pthread5.cc: Likewise.
2267 * testsuite/thread/pthread6.cc: Likewise.
2268
22692002-10-27 Paolo Carlini <pcarlini@unitus.it>
2270
2271 PR libstdc++/8347
2272 * include/bits/basic_string.tcc
2273 (string::_S_construct(_InIter, _InIter, const _Alloc&,
2274 forward_iterator_tag)): Do not throw logic error if
2275 __beg == NULL && __end == __beg.
2276 (string::string(const _CharT*, const _Alloc&)): Tweak.
2277 * testsuite/21_strings/ctor_copy_dtor.cc: Add test05 from PR.
2278
22792002-10-24 Hans-Peter Nilsson <hp@bitrange.com>
2280
2281 PR other/3337
2282 PR bootstrap/6763
2283 PR bootstrap/8122
2284 * testsuite/testsuite_hooks.cc (__set_testsuite_memlimit): Use
2285 __typeof__ (r.rlim_cur), not rlim_t in declaration of limit.
2286
22872002-10-23 Jakub Jelinek <jakub@redhat.com>
2288
2289 * testsuite/22_locale/num_put_members_char.cc (test01): Swap size
2290 and decimal_point arguments of find.
2291 * testsuite/22_locale/num_put_members_wchar_t.cc (test01): Likewise.
2292
22932002-10-22 Jakub Jelinek <jakub@redhat.com>
2294
2295 * Makefile.am (check-abi, new-abi-baseline): Use @glibcpp_srcdir@
2296 instead of ${top_srcdir}.
2297 * Makefile.in: Rebuilt.
2298
22992002-10-22 Loren J. Rittle <ljrittle@acm.org>
2300
2301 * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
2302 Remove specialization for FreeBSD systems.
2303
23042002-10-18 Loren J. Rittle <ljrittle@acm.org>
2305
2306 * configure.target (freebsd*): Use abi_baseline_triplet.
2307 * config/abi/i386-unknown-freebsd4/baseline_symbols.txt: New file.
2308 * config/abi/i386-unknown-freebsd4.7/baseline_symbols.txt: Remove.
2309
2310 * testsuite/thread/pthread1.cc: Remove needless workaround
2311 for FreeBSD 5.
2312
23132002-10-18 Loren J. Rittle <ljrittle@acm.org>
2314 Brad Spencer <spencer@infointeractive.com>
2315 (provided alternate patch and improvements)
2316
2317 * docs/html/23_containers/howto.html (GLIBCPP_FORCE_NEW): Document
2318 new environment variable which replaces all uses of __USE_MALLOC
2319 macro.
2320 * docs/html/ext/howto.html (GLIBCPP_FORCE_NEW): Likewise.
2321 (__mem_interface): Remove all references to old internal typedef.
2322 * include/backward/alloc.h (__USE_MALLOC): Remove it and all
2323 guarded code.
2324 * include/bits/c++config (__USE_MALLOC): Update related error
2325 message and comment.
2326 * include/bits/stl_alloc.h (__USE_MALLOC): Remove it and all
2327 guarded code. Update all related comments.
2328 (__mem_interface): Unconditionally replace it with __new_alloc.
2329 However, leave the typedef around in case anyone used it.
2330 (__default_alloc_template<>::_S_force_new): New class static.
2331 (__default_alloc_template<>::allocate, deallocate): Add
2332 run-time controlled feature similar to what __USE_MALLOC code
2333 path had provided.
2334 * src/stl-inst.cc (__USE_MALLOC): Remove it and all
2335 guarded code.
2336 * testsuite/21_strings/capacity.cc: Remove reference to __USE_MALLOC.
2337 Add documentation on GLIBCPP_FORCE_NEW environment variable.
2338 * testsuite/ext/allocators.cc: Likewise.
2339
23402002-10-18 Phil Edwards <pme@gcc.gnu.org>
2341
2342 * configure.in: Use target, not target_alias, when matching triplet
2343 patterns.
2344 * configure: Regenerate.
2345
23462002-10-17 Momchil Velikov <velco@fadata.bg>
2347 Loren J. Rittle <ljrittle@acm.org>
2348
2349 * configure.in: Add *-freebsd* to cross list.
2350 * configure: Rebuilt.
2351
23522002-10-16 Benjamin Kosnik <bkoz@redhat.com>
2353
2354 * include/bits/locale_facets.h (__timepunct::__timepunct): Allocate
2355 _M_name_timepunct.
2356 (__timepunct::~__timepunct): Deallocate, remove specialization
2357 declarations.
2358 (messages::messages): Allocate _M_name_messages.
2359 (messages::~messages): Deallocate.
2360 (messages_byname): Same.
2361 * config/locale/gnu/time_members.cc (__timepunct::~__timepunct):
2362 Remove.
2363 * config/locale/generic/time_members.cc (__timepunct::~__timepunct):
2364 Remove.
2365
2366 * docs/html/install.html: Add es_MX, en_PH to required locales list.
2367
23682002-10-16 Benjamin Kosnik <bkoz@redhat.com>
2369
2370 * config/linker-map.gnu: Add exports for codecvt constructors
2371 where size_t == unsigned long.
2372
23732002-10-14 Benjamin Kosnik <bkoz@redhat.com>
2374
2375 * src/globals.cc (__gnu_cxx::c_locale_impl_compat): Add, alias to
2376 c_locale_impl.
2377 * testsuite/abi_check.cc (line_to_symbol_info): Collect size info.
2378 * docs/html/abi.txt: Update.
2379
23802002-10-14 Benjamin Kosnik <bkoz@redhat.com>
2381
2382 * testsuite/22_locale/static_members.cc (test02): Less provincial.
2383
23842002-10-14 Benjamin Kosnik <bkoz@redhat.com>
2385
2386 * testsuite/22_locale/static_members.cc (test02): Disable for
2387 systems without named locale support.
2388 * testsuite/22_locale/ctor_copy_dtor.cc (test04): Don't assume
2389 running the testsuites in "C" environment.
2390 Add new tests.
2391 * docs/html/22_locale/locale.html: Update.
2392
23932002-10-13 Danny Smith <dannysmith@users.sourceforge.net>
2394
2395 * include/bits/stl_threads.h (_GLIBCPP_mutex,
2396 _GLIBCPP_mutex_init,_GLIBCPP_mutex_address,
2397 _GLIBCPP_mutex_address_init, _GLIBCPP_once):
2398 Declare in namespace __gnu_cxx.
2399 (_STL_mutex_lock::_M_initialize): Qualify __gnu_cxx
2400 names.
2401 Adjust copyright.
2402
24032002-10-12 Benjamin Kosnik <bkoz@redhat.com>
2404
2405 * testsuite/abi_check.cc (hash<string>): Specialize.
2406 Simplify. Check compatible symbol versions.
2407 * config/linker-map.gnu: Clarify, explicitly export
2408 std::codecvt::c* symbols.
2409
2410 * testsuite/22_locale/static_members.cc (test02): Avoid null strings.
2411
24122002-10-12 Jonathan Wakely <jw@kayari.org>
2413 Gabriel Dos Reis <gdr@integrable-solutions.net>
2414
2415 * docs/html/21_strings/howto.html#5: Correct nasting of XHTML
2416 elements. Correct allocator-related text.
2417
24182002-10-11 Benjamin Kosnik <bkoz@redhat.com>
2419
2420 * testsuite/22_locale/static_members.cc (test02): Fix.
2421
24222002-10-11 Benjamin Kosnik <bkoz@redhat.com>
2423
2424 * acconfig.h (_GLIBCPP_SYMVER): Add.
2425 (_GLIBCPP_ASM_SYMVER): Add.
2426 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Define _GLIBCPP_SYMVER.
2427 * aclocal.m4: Regenerate.
2428 * config.h.in: Regenerate.
2429 * configure: Regenerate.
2430 * include/bits/c++config (_GLIBCPP_AT_AT): Define, as an expedient
2431 hack around m4 issues with quoting '@'.
2432 * src/locale.cc: Use _GLIBCPP_ASM_SYMVER.
2433 * src/globals.cc: Same.
2434
2435 * testsuite/22_locale/ctor_copy_dtor.cc (test04): Fix for
2436 non-glibc systems.
2437
24382002-10-10 Benjamin Kosnik <bkoz@redhat.com>
2439
2440 * config/linker-map.gnu (GLIBCPP_3.2.1): Add.
2441 (GLIBCPP_3.2): Don't export locale::_S_*.
2442 * src/ios.cc: Move globals into __gnu_cxx. Make old exported
2443 symbols match.
2444 * src/locale.cc: Same.
2445 * src/localename.cc: Same.
2446 * src/globals.cc: Same.
2447
24482002-10-10 Phil Edwards <pme@gcc.gnu.org>
2449
2450 * docs/html/21_strings/howto.html: Write #5, char_traits.
2451 * docs/html/17_intro/porting.texi: Expand on os_include_dir.
2452 * docs/html/17_intro/porting.html: Regenerate.
2453
24542002-10-09 Benjamin Kosnik <bkoz@redhat.com>
2455
2456 * src/locale.cc: Fix comments, move ctors together.
2457 * testsuite/22_locale/static_members.cc (test03): Add.
2458
24592002-10-08 Jonathan Lennox <lennox@cs.columbia.edu>
2460
2461 PR libstdc++/8071, libstdc++/8127, libstdc++/6745
2462 * streambuf.tcc (__copy_streambufs): Handle cases where
2463 __sbin->in_avail() returns 0, or where __sbin doesn't set gptr().
2464 * testsuite/27_io/ostream_inserter_other.cc (test05): Add.
2465
24662002-10-08 Paolo Carlini <pcarlini@unitus.it>
2467 Benjamin Kosnik <bkoz@redhat.com>
2468
2469 * include/bits/localefwd.h (class locale): Add static member
2470 _S_num_extra_categories, encoding the number of additional
2471 categories.
2472 Change _S_num_categories to _S_categories_size.
2473 (class locale::_Impl): Add _M_c_cats.
2474 (class locale::_Impl::_M_names): Change to array of chars.
2475 (class locale::_Impl::_M_check_same_name): Use
2476 _S_extra_categories_size, tweak.
2477 (locale::locale(const locale&, _Facet*)): Ditto.
2478 * src/locale.cc (locale::locale(const char* )): Rewrite to deal
2479 with the environment in a POSIX-compliant way while being thread
2480 safe.
2481 (locale::name()): Update to output POSIX environment strings.
2482 * src/localename.cc
2483 (locale::_Impl::_Impl(const _Impl&, size_t): Use
2484 _S_categories_size_*, tweak.
2485 (locale::_Impl::_Impl(facet**, size_t, bool)): Ditto.
2486 (locale::_Impl::_Impl(const char*, size_t)): Name each category
2487 individually.
2488 (locale::_Impl::_M_replace_categories): Use strcpy.
2489
2490 * include/bits/locale_facets.h (numpunct::_M_initialize_numpunct):
2491 Change default argument to NULL from _S_c_locale.
2492 (timepunct::_M_initialize_timepunct): Same.
2493 _S_c_locale cleanups.
2494 * src/codecvt.c: _S_c_locale simplification.
2495 * src/ctype.c: Same.
2496 * src/globals.cc: Add fake_name.
2497 * src/locale-inst.cc: Remove extra includes.
2498 * src/locale.cc: Remove extra includes.
2499 Add _S_extra_categories_size definition.
2500 Correct "C" initialization.
2501 (locale::facet::facet): Don't initialize _S_c_locale.
2502 (locale::facet::_M_remove_reference): Adjust.
2503 * src/localename: Use facet_vec, facet_name.
2504 (locale::_Impl::_Impl(facet** __f, size_t __refs, bool)): Set
2505 facet ref counts to one. Initialize _S_c_locale.
2506 (locale::_Impl::_M_install_facet(id*, facet*)): Adjust facet ref
2507 counts when installing unilaterally.
2508
2509 * config/locale/generic/c_locale.cc: Add _S_categories definition.
2510 * config/locale/generic/c_locale.h: Add _GLIBCPP_NUM_CATEGORIES macro.
2511 * config/locale/generic/time_members.cc: _S_c_locale cleanup.
2512
2513 * config/locale/gnu/c_locale.cc: Add _S_categories definition.
2514 (_S_destroy_c_locale): Move checks against _S_c_locale here.
2515 * config/locale/gnu/c_locale.h: Add _GLIBCPP_NUM_CATEGORIES macro.
2516 * config/locale/gnu/ctype_members.cc: Simplify _S_destroy_c_locale
2517 calls, _S_c_locale usage.
2518 * config/locale/gnu/monetary_members.cc: Same, tweaks.
2519 * config/locale/gnu/monetary_members.cc: Same.
2520 * config/locale/gnu/time_members.cc: Same.
2521 * config/os/gnu-linux/ctype_noninline.h: Use locale::classic().
2522
2523 * docs/html/22_locale/locale.html: Add bits about global locales
2524 and "C" setlocale.
2525
2526 * testsuite/22_locale/facet.cc (test02): Add.
2527 * testsuite/22_locale/static_members.cc (test02): Add.
2528 * testsuite/22_locale/ctor_copy_dtor.cc (test04): Add.
2529
25302002-10-07 Jonathan Wakely <jw@kayari.org>
2531
2532 * docs/html/configopts.html, docs/html/documentation.html,
2533 docs/html/explanations.html, docs/html/install.html,
2534 docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
2535 docs/html/17_intro/license.html, docs/html/18_support/howto.html,
2536 docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
2537 docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
2538 docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
2539 docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
2540 docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
2541 docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
2542 docs/html/27_io/howto.html, docs/html/ext/howto.html,
2543 docs/html/ext/sgiexts.html, docs/html/faq/index.html: Add DOCTYPEs.
2544
25452002-10-03 Richard Earnshaw <rearnsha@arm.com>
2546
2547 PR libstdc++/3584
2548 * config/cpu/arm/atomicity.h (__exchange_and_add): Don't try to use
2549 ASM sequences that don't give us atomic addition operations. Instead
2550 just add a comment explaining why it doesn't work.
2551 (__atomic_add): Just use __exchange_and_add.
2552 (__test_and_set, __always_swap): Delete.
2553
25542002-10-02 Andreas Jaeger <aj@suse.de>
2555
2556 * config/abi/x86_64-unknown-linux-gnu/baseline_symbols.txt:
2557 New file.
2558
25592002-10-01 Phil Edwards <pme@gcc.gnu.org>
2560
2561 * Makefile.am (check-abi): Add @ to rule.
2562 * Makefile.in: Regenerated.
2563
25642002-09-27 Paolo Carlini <pcarlini@unitus.it>
2565
2566 * include/bits/locale_facets.tcc (num_put::_M_widen_int):
2567 Deal correctly with grouped, showbased (oct or hex) zero.
2568 * testsuite/22_locale/num_put_members_char.cc: Add test05.
2569 * testsuite/22_locale/num_put_members_wchar_t.cc: Ditto.
2570
25712002-09-27 Richard Henderson <rth@redhat.com>
2572
2573 * config/os/hpux/cpu_limits.h: Remove.
2574
2575 * include/std/std_limits.h (numeric_limits<T>::is_iec559): False
2576 if denormals are not supported.
2577
25782002-09-25 Benjamin Kosnik <bkoz@redhat.com>
2579
2580 * include/Makefile.am (target_headers): Remove cpu_limits.h.
2581 * include/Makefile.in: Regenerate.
2582 * configure.in (CPU_LIMITS_INC_SRCDIR): Remove
2583 * configure: Regenerate.
2584 * configure.target (CPULIMITS): Remove.
2585
2586 * include/std/std_limits.h: Remove cpu_limits.h include.
2587
2588 * config/os/solaris/solaris2.7/os_defines.h (__glibcpp_long_bits):
2589 Remove.
2590 * config/os/irix/irix6.5/os_defines.h
2591 (__glibcpp_long_double_bits): Remove.
2592 (__glibcpp_wchar_t_bits): Remove.
2593 (__glibcpp_long_bits): Remove.
2594 * config/os/irix/irix5.2/os_defines.h
2595 (__glibcpp_long_double_bits): Remove.
2596 (__glibcpp_long_bits): Remove.
2597 * config/os/hpux/os_defines.h (__glibcpp_wchar_t_is_signed): Remove.
2598 * config/os/bsd/freebsd/os_defines.h:
2599 (__glibcpp_long_double_bits): Remove.
2600 * config/os/aix/os_defines.h (__glibcpp_wchar_t_bits): Remove.
2601 (__glibcpp_wchar_t_is_signed): Remove.
2602 (__glibcpp_long_bits): Remove.
2603 * config/os/gnu-linux/os_defines.h (__glibcpp_long_bits): Remove.
2604 (__glibcpp_long_double_bits): Remove.
2605
2606 * config/os/osf/osf5.0/cpu_limits.h: Remove.
2607 * config/cpu/alpha/cpu_limits.h: Remove.
2608 * config/cpu/arm/cpu_limits.h: Remove.
2609 * config/cpu/cris/cpu_limits.h: Remove.
2610 * config/cpu/generic/cpu_limits.h: Remove.
2611 * config/cpu/generic/limits.h: Remove.
2612 * config/cpu/ia64/cpu_limits.h: Remove.
2613 * config/cpu/m68k/cpu_limits.h: Remove.
2614 * config/cpu/mmix/cpu_limits.h: Remove.
2615 * config/cpu/powerpc/cpu_limits.h: Remove.
2616 * config/cpu/S390/cpu_limits.h: Remove.
2617
26182002-09-25 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2619
2620 * testsuite/18_support/numeric_limits.cc: Check the maximum and
2621 minimum values of the wchar_t type.
2622
26232002-09-25 Mark Mitchell <mark@codesourcery.com>
2624
2625 * include/std/std_limits.h (numeric_limits<unsigned char>::digits):
2626 Fix typo.
2627
26282002-09-23 Richard Henderson <rth@redhat.com>
2629
2630 * include/std/std_limits.h (__glibcpp_plain_char_is_signed,
2631 __glibcpp_wchar_t_is_signed, __glibcpp_s8_max, __glibcpp_s8_min,
2632 __glibcpp_s8_digits, __glibcpp_s8_digits10, __glibcpp_u8_min,
2633 __glibcpp_u8_max, __glibcpp_u8_digits, __glibcpp_u8_digits10,
2634 __glibcpp_s16_max, __glibcpp_s16_min, __glibcpp_s16_digits,
2635 __glibcpp_s16_digits10, __glibcpp_u16_min, __glibcpp_u16_max,
2636 __glibcpp_u16_digits, __glibcpp_u16_digits10, __glibcpp_s32_max,
2637 __glibcpp_s32_min, __glibcpp_s32_digits, __glibcpp_s32_digits10,
2638 __glibcpp_u32_min, __glibcpp_u32_max, __glibcpp_u32_digits,
2639 __glibcpp_u32_digits10, __glibcpp_s64_max, __glibcpp_s64_min,
2640 __glibcpp_s64_digits, __glibcpp_s64_digits10, __glibcpp_u64_min,
2641 __glibcpp_u64_max, __glibcpp_u64_digits, __glibcpp_u64_digits10,
2642 __glibcpp_bool_digits, __glibcpp_signed_char_min,
2643 __glibcpp_signed_char_max, __glibcpp_signed_char_digits,
2644 __glibcpp_signed_char_digits10, __glibcpp_unsigned_char_min,
2645 __glibcpp_unsigned_char_max, __glibcpp_unsigned_char_digits,
2646 __glibcpp_unsigned_char_digits10, __glibcpp_char_min,
2647 __glibcpp_char_max, __glibcpp_char_digits, __glibcpp_char_digits10,
2648 __glibcpp_signed_short_min, __glibcpp_signed_short_max,
2649 __glibcpp_signed_short_digits, __glibcpp_signed_short_digits10,
2650 __glibcpp_unsigned_short_min, __glibcpp_unsigned_short_max,
2651 __glibcpp_unsigned_short_digits, __glibcpp_unsigned_short_digits10,
2652 __glibcpp_signed_int_min, __glibcpp_signed_int_max,
2653 __glibcpp_signed_int_digits, __glibcpp_signed_int_digits10,
2654 __glibcpp_unsigned_int_min, __glibcpp_unsigned_int_max,
2655 __glibcpp_unsigned_int_digits, __glibcpp_unsigned_int_digits10,
2656 __glibcpp_signed_long_min, __glibcpp_signed_long_max,
2657 __glibcpp_unsigned_long_digits, __glibcpp_unsigned_long_digits10,
2658 __glibcpp_signed_long_long_min, __glibcpp_signed_long_long_max,
2659 __glibcpp_signed_long_long_digits, __glibcpp_signed_long_long_digits10,
2660 __glibcpp_wchar_t_min, __glibcpp_wchar_t_max, __glibcpp_wchar_t_digits,
2661 __glibcpp_wchar_t_digits10): Remove.
2662 (__glibcpp_byte, __glibcpp_word_bits, __glibcpp_word): Remove.
2663 (__float_storage, __double_storage, __long_double_storage): Remove.
2664 (__glibcpp_signed, __glibcpp_min, __glibcpp_max): New.
2665 (__glibcpp_digits, __glibcpp_digits10): New.
2666 (numeric_limits<T>::min): Use __glibcpp_min or limits.h builtins.
2667 (numeric_limits<T>::max): Use __glibcpp_max or limits.h builtins.
2668 (numeric_limits<T>::is_signed, T=char,wchar_t): Use __glibcpp_signed.
2669 (numeric_limits<T>::digits): Use __glibcpp_digits.
2670 (numeric_limits<T>::digits10): Use __glibcpp_digits10.
2671 * testsuite/18_support/numeric_limits.cc (test03): Don't use
2672 __glibcpp_s8_digits10 et al; check vs the installed versions
2673 of digits10 for particular sizes.
2674
2675 * include/std/std_limits.h (__glibcpp_float_is_modulo,
2676 __glibcpp_double_is_modulo, __glibcpp_long_double_is_modulo): Kill.
2677 (numeric_limits<T>::is_modulo, T floating): Use false.
2678
26792002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2680
2681 * Makefile.am (all-multi): Fix multilib parallel build.
2682
26832002-09-22 Richard Henderson <rth@redhat.com>
2684
2685 * include/std/std_limits.h (__glibcpp_f32_round_error,
2686 __glibcpp_f64_round_error, __glibcpp_f80_round_error,
2687 __glibcpp_f96_round_error, __glibcpp_f128_round_error,
2688 __glibcpp_float_round_error, __glibcpp_double_round_error,
2689 __glibcpp_long_double_round_error, __glibcpp_float_round_style,
2690 __glibcpp_double_round_style, __glibcpp_long_double_round_style): Kill.
2691 (numeric_limits<char>::epsilon, round_error): Use constant 0.
2692 (numeric_limits<float>::round_error): Use constant 0.5.
2693 (numeric_limits<float>::round_style): Use round_to_nearest.
2694 (numeric_limits<double>, numeric_limits<long double>): Similarly.
2695
2696 * include/std/std_limits.h (__glibcpp_f32_is_iec559,
2697 __glibcpp_f64_is_iec559, __glibcpp_f80_is_iec559,
2698 __glibcpp_f96_is_iec559, __glibcpp_f128_is_iec559,
2699 __glibcpp_float_is_iec559, __glibcpp_double_is_iec559,
2700 __glibcpp_long_double_is_iec559): Remove.
2701 (numeric_limits<float>::is_iec559): Use has_infinity & has_quiet_NaN.
2702 (numeric_limits<double>, numeric_limits<long double>): Similarly.
2703
2704 * include/std/std_limits.h (__glibcpp_integral_traps): New.
2705 (__glibcpp_char_traps, __glibcpp_short_traps, __glibcpp_int_traps,
2706 __glibcpp_long_traps, __glibcpp_wchar_t_traps,
2707 __glibcpp_long_long_traps, __glibcpp_plain_char_traps,
2708 __glibcpp_signed_char_traps, __glibcpp_unsigned_char_traps,
2709 __glibcpp_signed_short_traps, __glibcpp_unsigned_short_traps,
2710 __glibcpp_signed_int_traps, __glibcpp_unsigned_int_traps,
2711 __glibcpp_signed_long_traps, __glibcpp_unsigned_long_traps,
2712 __glibcpp_signed_long_long_traps, __glibcpp_unsigned_long_long_traps,
2713 __glibcpp_char_is_modulo, __glibcpp_signed_char_is_modulo,
2714 __glibcpp_signed_short_is_modulo, __glibcpp_signed_int_is_modulo,
2715 __glibcpp_signed_long_is_modulo, __glibcpp_signed_long_long_is_modulo,
2716 __glibcpp_wchar_t_is_modulo, __glibcpp_float_is_bounded,
2717 __glibcpp_double_is_bounded, __glibcpp_long_double_is_bounded): Kill.
2718 (numeric_limits<T>::traps, T integral): Use __glibcpp_integral_traps.
2719 (numeric_limits<T>::is_modulo, T integral): Use true.
2720 (numeric_limits<T>::is_bounded, T floating): Use true.
2721
27222002-09-18 Loren J. Rittle <ljrittle@acm.org>
2723
2724 * testsuite/18_support/numeric_limits.cc (test_epsilon): New.
2725
27262002-09-18 Richard Henderson <rth@redhat.com>
2727
2728 * testsuite/18_support/numeric_limits.cc: Add -mieee for alpha.
2729
27302002-09-16 Benjamin Kosnik <bkoz@redhat.com>
2731
2732 * include/c_shadow: Remove.
2733 * include/bits/generic_shadow.h: Remove.
2734 * include/Makefile.am: Remove generic_shadow.h.
2735 * acinclude.m4: Remove c_shadow references.
2736 * aclocal.m4: Regenerate.
2737 * configure: Regenerate.
2738 * mkcshadow: Remove.
2739 * mkinclosure: Remove.
2740
27412002-09-16 Loren J. Rittle <ljrittle@acm.org>
2742
2743 libstdc++/7922
2744 * include/ext/stl_rope.h (rope<>): Qualify dependent names
2745 with `typename'.
2746
27472002-09-16 Richard Henderson <rth@redhat.com>
2748
2749 * include/std/std_limits.h (__glibcpp_f32_QNaN_bytes,
2750 __glibcpp_f32_has_QNaN, __glibcpp_f32_SNaN_bytes,
2751 __glibcpp_f32_has_SNaN, __glibcpp_f64_QNaN_bytes,
2752 __glibcpp_f64_has_QNaN, __glibcpp_f64_SNaN_bytes,
2753 __glibcpp_f64_has_SNaN, __glibcpp_f80_QNaN_bytes,
2754 __glibcpp_f80_has_QNaN, __glibcpp_f80_SNaN_bytes,
2755 __glibcpp_f80_has_SNaN, __glibcpp_f96_QNaN_bytes,
2756 __glibcpp_f96_has_QNaN, __glibcpp_f96_SNaN_bytes,
2757 __glibcpp_f96_has_SNaN, __glibcpp_f128_QNaN_bytes,
2758 __glibcpp_f128_has_QNaN, __glibcpp_f128_SNaN_bytes,
2759 __glibcpp_f128_has_SNaN, __glibcpp_float_QNaN_bytes,
2760 __glibcpp_float_has_QNaN, __glibcpp_float_SNaN_bytes,
2761 __glibcpp_float_has_SNaN, __glibcpp_double_QNaN_bytes,
2762 __glibcpp_double_has_QNaN, __glibcpp_double_SNaN_bytes,
2763 __glibcpp_double_has_SNaN, __glibcpp_long_double_QNaN_bytes,
2764 __glibcpp_long_double_has_QNaN, __glibcpp_long_double_SNaN_bytes,
2765 __glibcpp_long_double_has_SNaN): Remove.
2766 (__glibcpp_f128_is_iec559): True if IEEE.
2767 (__glibcpp_float_QNaN, __glibcpp_float_SNaN): Remove.
2768 (__glibcpp_double_QNaN, __glibcpp_double_SNaN): Remove.
2769 (__glibcpp_long_double_QNaN, __glibcpp_long_double_SNaN): Remove.
2770 (std::numeric_limits<float>::has_quiet_NaN): Use __builtin_nanf.
2771 (std::numeric_limits<float>::has_signaling_NaN): Mirror has_quiet_NaN.
2772 (std::numeric_limits<float>::quiet_NaN): Use __builtin_nanf.
2773 (std::numeric_limits<float>::signaling_NaN): Use __builtin_nansf.
2774 (std::numeric_limits<double>): Similarly.
2775 (std::numeric_limits<long double>): Similarly.
2776 * src/limits.cc (__glibcpp_float_QNaN, __glibcpp_float_SNaN): Remove.
2777 (__glibcpp_double_QNaN, __glibcpp_double_SNaN): Remove.
2778 (__glibcpp_long_double_QNaN, __glibcpp_long_double_SNaN): Remove.
2779
2780 * testsuite/18_support/numeric_limits.cc (test_infinity): New.
2781 (test_denorm_min, test_qnan, test_is_iec559): New.
2782
27832002-09-16 Phil Edwards <pme@gcc.gnu.org>
2784
2785 * testsuite/abi_check.cc: Pull shell fragments out into...
2786 * config/abi/extract_symvers: ...here. New file.
2787 * Makefile.am (check_abi): Change to match.
2788 (new-abi-baseline): New target.
2789 * Makefile.in: Regenerated.
2790
27912002-09-16 Richard Henderson <rth@redhat.com>
2792
2793 * include/std/std_limits.h (__glibcpp_f32_denorm_min_bytes,
2794 __glibcpp_f32_has_denorm, __glibcpp_f64_denorm_min_bytes,
2795 __glibcpp_f64_has_denorm, __glibcpp_f80_denorm_min_bytes,
2796 __glibcpp_f80_has_denorm, __glibcpp_f96_denorm_min_bytes,
2797 __glibcpp_f96_has_denorm, __glibcpp_f128_denorm_min_bytes,
2798 __glibcpp_f128_has_denorm, __glibcpp_float_denorm_min_bytes,
2799 __glibcpp_float_has_denorm, __glibcpp_double_denorm_min_bytes,
2800 __glibcpp_double_has_denorm, __glibcpp_long_double_denorm_min_bytes,
2801 __glibcpp_long_double_has_denorm): Remove.
2802 (__glibcpp_float_denorm_min, __glibcpp_double_denorm_min,
2803 __glibcpp_long_double_denorm_min): Remove.
2804 (std::numeric_limits<float>::has_denorm): Use __FLT_DENORM_MIN__.
2805 (std::numeric_limits<float>::denorm_min): Likewise.
2806 (std::numeric_limits<double>): Similarly.
2807 (std::numeric_limits<long double>): Similarly.
2808 * src/limits.cc (__glibcpp_float_denorm_min,
2809 __glibcpp_double_denorm_min, __glibcpp_long_double_denorm_min): Remove.
2810
28112002-09-13 Andy Felt <afelt@uwsp.edu>
2812
2813 * docs/html/17_intro/howto.html: Update link.
2814
28152002-09-13 Phil Edwards <pme@gcc.gnu.org>
2816
2817 * docs/doxygen/run_doxygen: Massage man page for Iterator_types.3.
2818 * docs/html/faq/index.html: Whitespace fixes.
2819
28202002-09-12 Benjamin Kosnik <bkoz@redhat.com>
2821
2822 * libmath/Makefile.am (LIBTOOL): Use --tag CC always for this
2823 directory.
2824 * libmath/Makefile.in: Regenerate.
2825 * src/Makefile.am: Tweak comment.
2826 * src/Makefile.in: Regenerate.
2827
2828 * config/locale/gnu/c_locale.h: Remove warnings.
2829 Inject __uselocale into __gnu_cxx.
2830 * config/locale/generic/c_locale.h: Match.
2831
28322002-09-11 Benjamin Kosnik <bkoz@redhat.com>
2833
2834 * include/bits/locale_facets.tcc (__convert_from_v): Remove.
2835 * config/locale/gnu/c_locale.h (__convert_from_v): Add.
2836 * config/locale/generic/c_locale.h (__convert_from_v): Add.
2837
28382002-09-11 Paolo Carlini <pcarlini@unitus.it>
2839
2840 * include/bits/locale_facets.tcc (__convert_from_v):
2841 Use __uselocale instead of setlocale for glibc 2.3+.
2842
28432002-09-10 Benjamin Kosnik <bkoz@redhat.com>
2844
2845 * src/Makefile.am (sources): Edit.
2846 (target_sources): New.
2847 (target_sources_extra): New.
2848 * src/Makefile.in: Regenerate.
2849 * acinclude.m4: Set CCODECVT_CC.
2850 * aclocal.m4: Regenerate.
2851 * configure: Regenerate.
2852 * src/locale.cc: Move ctype definitions...
2853 * src/ctype.cc: ...here. New file.
2854 * src/locale.cc: Move codecvt definitions...
2855 * src/codecvt.cc: ...here.
2856 * config/generic/codecvt_members.cc: ...and here.
2857 * config/gnu/codecvt_members.cc: ...and here.
2858 * include/bits/codecvt.h: Tweak.
2859 * include/bits/locale_facets: Tweak.
2860
2861 * src/bitset.cc: Correct license text.
2862 * src/concept-inst.cc: Same.
2863 * src/strstream.cc: Same.
2864 * src/vterminate.cc: Same.
2865
28662002-09-10 Gabriel Dos Reis <gdr@soliton.integrable-solutions.net>
2867
2868 * include/bits/stl_vector.h (vector<>): Don't use a name with
2869 different meanings before and after re-evaluation in the completed
2870 scope.
2871 * include/bits/basic_string.h (basic_string<>): Likewise.
2872 * include/bits/stl_bvector.h (vector<bool>): Likewise.
2873 * include/bits/stl_deque.h (std): Likewise.
2874 * include/bits/stl_list.h (list<>): Likewise.
2875 * include/bits/stl_tree.h (_Rb_tree<>): Likewise.
2876
28772002-09-10 Paolo Carlini <pcarlini@unitus.it>
2878
2879 * include/bits/codecvt.h (class __codecvt_abstract_base):
2880 Add __c_locale type _M_c_locale_codecvt member.
2881 (class codecvt<char, char, mbstate_t>,
2882 class codecvt<wchar_t, char, mbstate_t>): Add new
2883 codecvt(__c_locale, size_t) constructor.
2884 (codecvt_byname::codecvt_byname): Update.
2885 * src/codecvt.cc (class codecvt<char, char, mbstate_t>,
2886 class codecvt<wchar_t, char, mbstate_t>): Update codecvt(size_t)
2887 constructor and ~codecvt() destructor; define
2888 codecvt(__c_locale, size_t) constructor.
2889 (codecvt::do_out): Switch to _M_c_locale_codecvt around wcsrtombs call.
2890 (codecvt::do_in): Ditto for mbsrtowcs call.
2891 * src/localename.cc (locale::_Impl::_Impl(const char*, size_t)):
2892 Tweak construction of codecvt facets.
2893
28942002-09-10 Danny Smith <dannysmith@users.sourceforge.net>
2895
2896 * include/bits/locale_facets.tcc (__convert_from_v):
2897 Replace strdup with ISO malloc and strcpy.
2898
28992002-09-09 Benjamin Kosnik <bkoz@redhat.com>
2900
2901 * docs/html/configopts.html: Change grouping. Note ABI impacts.
2902 Update information for locale model defaults.
2903 * docs/html/install.html: Update include directory
2904 information.
2905 Update testing information.
2906 Update linux issues for named locales.
2907 * docs/html/abi.txt: Fix typos.
2908 Add more info.
2909
2910 * src/misc-inst.cc: Add missing instantiations.
2911
2912 * testsuite/abi_check.cc: Make output results more verbose.
2913
2914 * config/os/gnu-linux/ctype_base.h: Remove shadow headers injections.
2915
29162002-09-07 Jakub Jelinek <jakub@redhat.com>
2917
2918 * config/locale/generic/messages_members.cc: Add specialization for
2919 messages<wchar_t>.
2920 * config/locale/ieee_1003.1-20021/messages_members.cc: Likewise.
2921
29222002-09-06 Benjamin Kosnik <bkoz@redhat.com>
2923
2924 * include/bits/localefwd.h: Tweak formatting.
2925 * docs/html/abi.txt: Add.
2926
29272002-09-06 Jakub Jelinek <jakub@redhat.com>
2928
2929 * configure.target: Use cpu_include_dir="config/cpu/sparc" for all
2930 sparc targets.
2931 * config/cpu/sparc/atomicity.h: New file.
2932 * config/cpu/sparc/sparc32/atomicity.h: Removed.
2933 * config/cpu/sparc/sparc64/atomicity.h: Removed.
2934
29352002-09-06 Jakub Jelinek <jakub@redhat.com>
2936
2937 * config/os/gnu-linux/ctype_noninline.h
2938 [_GLIBCPP_USE_SHADOW_HEADERS]: Remove using _C_legacy::__ctype_*.
2939 (ctype<char>::classic_table): If _GLIBCPP_C_LOCALE_GNU, return
2940 _S_c_locale->__ctype_b, otherwise temporarily switch to "C" locale
2941 and return __ctype_b.
2942 (ctype<char>::ctype(__c_locale, const mask*, bool, size_t)): If not
2943 _GLIBCPP_C_LOCALE_GNU, temporarily switch to "C" locale and
2944 initialize using __ctype_{b,tolower,toupper}.
2945 (ctype<char>::ctype(const mask*, bool, size_t)): If
2946 _GLIBCPP_C_LOCALE_GNU, initialize using
2947 _S_c_locale->__ctype_{b,tolower,toupper}, otherwise temporarily
2948 switch to "C" locale and initialize using __ctype_{b,tolower,toupper}.
2949
29502002-09-05 Paolo Carlini <pcarlini@unitus.it>
2951 Roland McGrath <roland@redhat.com>
2952
2953 PR libstdc++/7811
2954 * src/locale.cc (locale::locale(__s)): Use getenv instead
2955 of setenv for the environment locale.
2956 * testsuite/22_locale/ctor_copy_dtor.cc (test03): New.
2957
29582002-09-05 Jakub Jelinek <jakub@redhat.com>
2959
2960 * config/abi/ia64-unknown-linux-gnu: Add.
2961 * config/abi/ia64-unknown-linux-gnu/baseline_symbols.txt: New file.
2962 * config/abi/alphaev67-unknown-linux-gnu: Add.
2963 * config/abi/alphaev67-unknown-linux-gnu/baseline_symbols.txt: New file.
2964
29652002-09-05 Jonathan Wakely <jw@kayari.org>
2966
2967 * docs/html/Makefile: Use more portable shell wildcard.
2968 * docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
2969 * docs/html/configopts.html, docs/html/documentation.html,
2970 docs/html/explanations.html, docs/html/install.html,
2971 docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
2972 docs/html/17_intro/license.html, docs/html/18_support/howto.html,
2973 docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
2974 docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
2975 docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
2976 docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
2977 docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
2978 docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
2979 docs/html/27_io/howto.html, docs/html/ext/howto.html,
2980 docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
2981 to XHTML.
2982 * docs/html/faq/index.txt: Regenerate.
2983
29842002-09-05 Jakub Jelinek <jakub@redhat.com>
2985
2986 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_widen(char)):
2987 Switch to _M_c_locale_ctype around btowc call.
2988 (ctype<wchar_t>::do_widen(const char*, const char *, wchar_t*)):
2989 Switch to _M_c_locale_ctype around mbsrtowcs call.
2990 (ctype<wchar_t>::do_narrow(char)): Switch to _M_c_locale_ctype around
2991 wctob call.
2992 (ctype<wchar_t>::do_narrow(const char*, const char *, wchar_t*)):
2993 Switch to _M_c_locale_ctype around wcsrtombs call.
2994
29952002-09-05 Jakub Jelinek <jakub@redhat.com>
2996
2997 * config/locale/gnu/monetary_members.cc
2998 (moneypunct<wchar_t, true>::_M_initialize_moneypunct,
2999 moneypunct<wchar_t, false>::_M_initialize_moneypunct): Use
3000 __uselocale instead of setlocale for glibc 2.3.
3001
30022002-09-05 Jakub Jelinek <jakub@redhat.com>
3003
3004 * config/locale/generic/c++locale_internal.h: New header.
3005 * config/locale/gnu/c++locale_internal.h: New header.
3006 * config/locale/gnu/c_locale.cc: Include it.
3007 * config/locale/gnu/collate_members.cc: Include it.
3008 * config/locale/gnu/ctype_members.cc: Include it.
3009 * config/locale/gnu/messages_members.cc: Include it.
3010 * config/locale/gnu/monetary_members.cc: Include it.
3011 * config/locale/gnu/numeric_members.cc: Include it.
3012 * config/locale/gnu/time_members.cc: Include it.
3013 (_M_put): Reorder __strftime_l and __wcsftime_l arguments to match
3014 glibc.
3015 (_M_initialize_timepunct): Initialize _M_c_locale_timepunct for
3016 C locale.
3017 * acinclude.m4: Include string.h when testing strcoll_l.
3018 For glibc 2.3 provide __-prefixed prototypes.
3019 (CLOCALE_INTERNAL_H): Set, add AC_LINK_FILES line.
3020 * aclocal.m4, configure: Rebuilt.
3021
30222002-09-05 Benjamin Kosnik <bkoz@redhat.com>
3023
3024 * include/bits/locale_facets.h: Add declaration of specialization
3025 here.
3026 * config/locale/gnu/messages_members.cc: Add specialization for
3027 messages<wchar_t>.
3028 * config/locale/gnu/messages_members.h: Remove generic definition
3029 of do_get.
3030
30312002-09-04 Richard Henderson <rth@redhat.com>
3032
3033 * include/std/std_limits.h (__glibcpp_f32_infinity_bytes,
3034 __glibcpp_f32_has_infinity, __glibcpp_f64_infinity_bytes,
3035 __glibcpp_f64_has_infinity, __glibcpp_f80_infinity_bytes,
3036 __glibcpp_f80_has_infinity, __glibcpp_f96_infinity_bytes,
3037 __glibcpp_f96_has_infinity, __glibcpp_f128_infinity_bytes,
3038 __glibcpp_f128_has_infinity, __glibcpp_float_infinity_bytes,
3039 __glibcpp_float_has_infinity, __glibcpp_double_infinity_bytes,
3040 __glibcpp_double_has_infinity, __glibcpp_long_double_infinity_bytes,
3041 __glibcpp_long_double_has_infinity): Remove.
3042 (std::numeric_limits<float>, std::numeric_limits<double>,
3043 std::numeric_limits<long double>): Use __builtin_huge_val
3044 to implement has_infinity and infinity().
3045 * src/limits.cc (__glibcpp_float_infinity, __glibcpp_double_infinity,
3046 __glibcpp_long_double_infinity): Remove.
3047
30482002-09-03 Richard Henderson <rth@redhat.com>
3049
3050 * include/std/std_limits.h (__glibcpp_f32_min, __glibcpp_f32_max,
3051 __glibcpp_f32_digits, __glibcpp_f32_digits10, __glibcpp_f32_radix,
3052 __glibcpp_f32_epsilon, __glibcpp_f32_min_exponent,
3053 __glibcpp_f32_min_exponent10, __glibcpp_f32_max_exponent,
3054 __glibcpp_f32_max_exponent10, __glibcpp_f64_min, __glibcpp_f64_max,
3055 __glibcpp_f64_digits, __glibcpp_f64_digits10, __glibcpp_f64_radix,
3056 __glibcpp_f64_min_exponent, __glibcpp_f64_min_exponent10,
3057 __glibcpp_f64_max_exponent, __glibcpp_f64_max_exponent10,
3058 __glibcpp_f80_min, __glibcpp_f80_max, __glibcpp_f80_digits,
3059 __glibcpp_f80_digits10, __glibcpp_f80_radix, __glibcpp_f80_epsilon,
3060 __glibcpp_f80_min_exponent, __glibcpp_f80_min_exponent10,
3061 __glibcpp_f80_max_exponent, __glibcpp_f80_max_exponent10,
3062 __glibcpp_f96_min, __glibcpp_f96_max, __glibcpp_f96_digits,
3063 __glibcpp_f96_digits10, __glibcpp_f96_radix, __glibcpp_f96_epsilon,
3064 __glibcpp_f96_min_exponent, __glibcpp_f96_min_exponent10,
3065 __glibcpp_f96_max_exponent, __glibcpp_f96_max_exponent10,
3066 __glibcpp_f128_min, __glibcpp_f128_max, __glibcpp_f128_digits,
3067 __glibcpp_f128_digits10, __glibcpp_f128_radix, __glibcpp_f128_epsilon,
3068 __glibcpp_f128_min_exponent, __glibcpp_f128_min_exponent10,
3069 __glibcpp_f128_max_exponent, __glibcpp_f128_max_exponent10,
3070 __glibcpp_float_min, __glibcpp_float_max, __glibcpp_float_digits,
3071 __glibcpp_float_digits10, __glibcpp_float_radix,
3072 __glibcpp_float_epsilon, __glibcpp_float_min_exponent,
3073 __glibcpp_float_min_exponent10, __glibcpp_float_max_exponent,
3074 __glibcpp_float_max_exponent10, __glibcpp_double_min,
3075 __glibcpp_double_max, __glibcpp_double_digits,
3076 __glibcpp_double_digits10, __glibcpp_double_radix,
3077 __glibcpp_double_epsilon, __glibcpp_double_min_exponent,
3078 __glibcpp_double_min_exponent10, __glibcpp_double_max_exponent,
3079 __glibcpp_double_max_exponent10, __glibcpp_long_double_min,
3080 __glibcpp_long_double_max, __glibcpp_long_double_digits,
3081 __glibcpp_long_double_digits10, __glibcpp_long_double_radix,
3082 __glibcpp_long_double_epsilon, __glibcpp_long_double_min_exponent,
3083 __glibcpp_long_double_min_exponent10,
3084 __glibcpp_long_double_max_exponent,
3085 __glibcpp_long_double_max_exponent10): Remove macros.
3086 (std::numeric_limits<float>, std::numeric_limits<double>,
3087 std::numeric_limits<long double>): Use protected float.h macros.
3088
30892002-09-01 Phil Edwards <pme@gcc.gnu.org>
3090
3091 * testsuite/Makefile.am: Use LD_RUN_PATH when linking abi_check.
3092 Fix spelling in comment.
3093 * testsuite/Makefile.in: Regenerate.
3094 * testsuite/abi_check.cc: Use string literals to build 'cmd' rather
3095 than 'quote' and 'bslash'.
3096
30972002-08-31 Phil Edwards <pme@gcc.gnu.org>
3098
3099 * acinclude.m4: Minor comment tweaks.
3100
3101 * docs/html/makedoc.awk: New file...
3102 * docs/html/Makefile: ...called from here...
3103 * docs/html/documentation.html: ...to help generate this.
3104
3105 * docs/html/21_strings/howto.html: Prepare for new entry.
3106 * include/bits/basic_string.h: Initial basic_stirng hook for
3107 doxygen. Remove trailing whitespace.
3108 * include/bits/char_traits.h: Point to onlinedocs for new entry.
3109 * include/bits/stringfwd.h: Add doxygen hooks for string and
3110 wstring typedefs.
3111
31122002-08-29 Richard Earnshaw <rearnshaw@arm.com>
3113
3114 * config/cpu/arm/cpu_limits.h: New file.
3115 * configure.target: Use config/cpu/arm for XScale and StrongARM
3116 configurations.
3117
31182002-08-28 Gabriel Dos Reis <gdr@integrable-solutions.net>
3119
3120 * include/std/std_limits.h (__glibcpp_char_bits,
3121 __glibcpp_short_bits, __glibcpp_int_bits, __glibcpp_long_bits,
3122 __glibcpp_long_long_bits, __glibcpp_float_bits,
3123 __glibcpp_double_bits, __glibcpp_long_double_bits): Remove. Use
3124 compiler predifined macros.
3125 (__glibcpp_wchar_t_is_signed): Define based on compiler predefined
3126 __WCHAR_UNSIGNED__.
3127
31282002-08-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
3129
3130 * include/std/std_limits.h (__glibcpp_f32_infinity_bytes,
3131 __glibcpp_f32_has_infinity, __glibcpp_f32_QNaN_bytes,
3132 __glibcpp_f32_has_QNaN, __glibcpp_f32_SNaN_bytes,
3133 __glibcpp_f32_has_SNaN, __glibcpp_f32_denorm_min_bytes,
3134 __glibcpp_f32_has_denorm, __glibcpp_f32_is_iec559,
3135 __glibcpp_f64_infinity_bytes,
3136 __glibcpp_f64_has_infinity, __glibcpp_f64_QNaN_bytes,
3137 __glibcpp_f64_has_QNaN, __glibcpp_f64_SNaN_bytes,
3138 __glibcpp_f64_has_SNaN, __glibcpp_f64_denorm_min_bytes,
3139 __glibcpp_f64_has_denorm, __glibcpp_f64_is_iec559,
3140 __glibcpp_f80_infinity_bytes,
3141 __glibcpp_f80_has_infinity, __glibcpp_f80_QNaN_bytes,
3142 __glibcpp_f80_has_QNaN, __glibcpp_f80_SNaN_bytes,
3143 __glibcpp_f80_has_SNaN, __glibcpp_f80_denorm_min_bytes,
3144 __glibcpp_f80_has_denorm, __glibcpp_f80_is_iec559,
3145 __glibcpp_f96_infinity_bytes,
3146 __glibcpp_f96_has_infinity, __glibcpp_f96_QNaN_bytes,
3147 __glibcpp_f96_has_QNaN, __glibcpp_f96_SNaN_bytes,
3148 __glibcpp_f96_has_SNaN, __glibcpp_f96_denorm_min_bytes,
3149 __glibcpp_f96_has_denorm, __glibcpp_f96_is_iec559,
3150 __glibcpp_f128_infinity_bytes,
3151 __glibcpp_f128_has_infinity, __glibcpp_f128_QNaN_bytes,
3152 __glibcpp_f128_has_QNaN, __glibcpp_f128_SNaN_bytes,
3153 __glibcpp_f128_has_SNaN, __glibcpp_f128_denorm_min_bytes,
3154 __glibcpp_f128_has_denorm, __glibcpp_f128_is_iec559,
3155 __glibcpp_float_infinity_bytes,
3156 __glibcpp_float_has_infinity, __glibcpp_float_QNaN_bytes,
3157 __glibcpp_float_has_QNaN, __glibcpp_float_SNaN_bytes,
3158 __glibcpp_float_has_SNaN, __glibcpp_float_denorm_min_bytes,
3159 __glibcpp_float_has_denorm, __glibcpp_float_is_iec559,
3160 __glibcpp_double_infinity_bytes,
3161 __glibcpp_double_has_infinity, __glibcpp_double_QNaN_bytes,
3162 __glibcpp_double_has_QNaN, __glibcpp_double_SNaN_bytes,
3163 __glibcpp_double_has_SNaN, __glibcpp_double_denorm_min_bytes,
3164 __glibcpp_double_has_denorm, __glibcpp_double_is_iec559,
3165 __glibcpp_long_double_infinity_bytes,
3166 __glibcpp_long_double_has_infinity, __glibcpp_long_double_QNaN_bytes,
3167 __glibcpp_long_double_has_QNaN, __glibcpp_long_double_SNaN_bytes,
3168 __glibcpp_long_double_has_SNaN, __glibcpp_long_double_denorm_min_bytes,
3169 __glibcpp_long_double_has_denorm, __glibcpp_long_double_is_iec559:
3170 New macros.
3171 (__glibcpp_word_bits, __glibcpp_word): Likewise.
3172 (__glibcpp_byte): New typedef.
3173 (__float_storage, __double_storage, __long_double_storage): New types.
3174 (__glibcpp_float_infinity, __glibcpp_float_QNaN,
3175 __glibcpp_float_SNaN, __glibcpp_float_denorm_min): Now
3176 objects. Declare.
3177 (__glibcpp_double_infinity, __glibcpp_double_QNaN,
3178 __glibcpp_double_SNaN, __glibcpp_double_denorm_min): Likewise.
3179 (__glibcpp_long_double_infinity, __glibcpp_long_double_QNaN,
3180 __glibcpp_long_double_SNaN, __glibcpp_long_double_denorm_min):
3181 Likewise.
3182
3183 * src/limits.cc (__glibcpp_float_infinity, __glibcpp_float_QNaN,
3184 __glibcpp_float_SNaN, __glibcpp_float_denorm_min): Define.
3185 (__glibcpp_double_infinity, __glibcpp_double_QNaN,
3186 __glibcpp_double_SNaN, __glibcpp_double_denorm_min): Likewise.
3187 (__glibcpp_long_double_infinity, __glibcpp_long_double_QNaN,
3188 __glibcpp_long_double_SNaN, __glibcpp_long_double_denorm_min):
3189 Likewise.
3190
31912002-08-25 Gabriel Dos Reis <gdr@integrable-solutions.net>
3192
3193 * include/std/std_limits.h: Indent conditional macro definitions.
3194
31952002-08-23 Phil Edwards <pme@gcc.gnu.org>
3196
3197 * Makefile.am (check-abi): Specify current directory.
3198 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Fix shell syntax, use
3199 abi_baseline_triplet in baseline_file.
3200 * Makefile.in, aclocal.m4, configure: Regenerate.
3201 * configure.target: Add abi_baseline_triplet with default.
3202 * testsuite/abi_check.cc: More error checking.
3203
32042002-08-23 Phil Edwards <pme@gcc.gnu.org>
3205
3206 * config/linker-map.gnu: Verbose comments, clean up spacing.
3207 * include/bits/stl_alloc.h: Fix indentation of 'if' bodies, return
3208 statements.
3209 __allocator: Change class declaration to struct.
3210 * docs/html/17_intro/C++STYLE: Fix typo.
3211 * include/bits/stl_deque.h, include/bits/stl_list.h,
3212 include/bits/stl_map.h, include/bits/stl_multimap.h,
3213 include/bits/stl_vector.h: Fix fallout from typo.
3214
32152002-08-22 Benjamin Kosnik <bkoz@redhat.com>
3216
3217 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Set
3218 GLIBCPP_BUILD_ABI_CHECK based on cross compiling, build, host
3219 variables.
3220 * aclocal.m4: Regenerate.
3221 * testsuite/Makefile.am (noinst_PROGRAMS): Make conditional on
3222 native compiling.
3223 * testsuite/Makefile.in: Regenerate.
3224
32252002-08-22 Loren J. Rittle <ljrittle@acm.org>
3226
3227 * testsuite/abi_check.cc: Enhance shell portability.
3228 Support older binutils/readelf.
3229 * config/abi/i386-unknown-freebsd4.6: Add.
3230 * config/abi/i386-unknown-freebsd4.6/baseline_symbols.txt: New file.
3231
32322002-08-22 Paolo Carlini <pcarlini@unitus.it>
3233
3234 * docs/html/faq/index.html: Add Loren James Rittle and
3235 Paolo Carlini to the list of v3 maintainers.
3236 * docs/html/faq/index.txt: Ditto.
3237 * docs/html/17_intro/RELEASE-NOTES: Ditto.
3238
32392002-08-22 Benjamin Kosnik <bkoz@redhat.com>
3240 Phil Edwards <pme@gcc.gnu.org>
3241 Ulrich Drepper <drepper@redhat.com>
3242
3243 * Makefile.am (check-abi): New rule.
3244 * Makefile.in: Regenerate.
3245 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Export baseline_file.
3246 * aclocal.m4: Regenerate.
3247 * configure: Regenerate.
3248 * testsuite/Makefile.am (noinst_PROGRAMS): Add abi_check.
3249 (abi_check_SOURCES): Add.
3250 * testsuite/Makefile.in: Regenerate.
3251 * testsuite/abi_check.cc: New file.
3252 * config/abi: Add.
3253 * config/abi/i686-pc-linux-gnu: Add.
3254 * config/abi/i686-pc-linux-gnu/baseline_symbols.txt: New file.
3255
32562002-08-19 Benjamin Kosnik <bkoz@redhat.com>
3257
3258 * configure.in (libtool_VERSION): Update to 5:1:0.
3259 * configure: Regenerate.
3260
32612002-08-19 Jonathan Wakely <jw@kayari.org>
3262
3263 * docs/html/configopts.html, docs/html/documentation.html,
3264 docs/html/install.html, docs/html/22_locale/codecvt.html,
3265 docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
3266 docs/html/22_locale/locale.html,
3267 docs/html/22_locale/messages.html: Conform to HTML 4.01 standard.
3268
32692002-08-15 Benjamin Kosnik <bkoz@redhat.com>
3270
3271 * include/ext/stdio_filebuf.h (stdio_filebuf): Explicitly set
3272 _M_buf_size_opt to zero when unbuffering.
3273 * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
3274 Consistency checks for _M_buf_size_opt.
3275
3276 Revert PR libstdc++/7445
3277 * src/locale.cc (locale::classic): Revert.
3278
3279 * docs/html/17_intro/TODO: Add.
3280
32812002-08-15 Phil Edwards <pme@gcc.gnu.org>
3282
3283 * docs/html/documentation.html: Update doxygen links for 3.2.
3284
32852002-08-15 Steve Ellcey <sje@cup.hp.com>
3286
3287 * libsupc++/unwind-cxx.h (__cxa_exception): Change catchTemp
3288 type from void* to _Unwind_Ptr.
3289 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION):
3290 Do not cast landing_pad or base_of_encoded_value to (void *).
3291 * libsupc++/eh_throw.cc (__gxx_exception_cleanup):
3292 Accept _URC_NO_REASON as a valid reason code.
3293
32942002-08-14 Jonathan Wakely <jw@kayari.org>
3295
3296 * docs/html/22_locale/messages.html: Use HTML entities for
3297 punctuation.
3298
32992002-08-13 Jonathan Wakely <jw@kayari.org>
3300 Phil Edwards <pme@gcc.gnu.org>
3301
3302 * docs/html/documentation.html: Use HTML entities for punctuation.
3303
33042002-08-09 Phil Edwards <pme@gcc.gnu.org>
3305
3306 * include/bits/deque.tcc, include/bits/list.tcc,
3307 include/bits/stl_deque.h, include/bits/stl_iterator_base_funcs.h,
3308 include/bits/stl_list.h, include/bits/stl_map.h,
3309 include/bits/stl_multimap.h, include/bits/stl_queue.h,
3310 include/bits/stl_stack.h, include/bits/stl_vector.h,
3311 include/bits/vector.tcc: Re-indent contents of namespace std,
3312 re-wrap comment lines as necessary.
3313
33142002-08-08 Danny Smith <dannysmith@users.sourceforge.net>
3315 Benjamin Kosnik <bkoz@redhat.com>
3316
3317 * include/bits/istream.tcc (basic_istream::ignore): Use sbumpc,
3318 not snextc.
3319 * testsuite/27_io/narrow_stream_objects.cc (test10): Add.
3320
33212002-08-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
3322
3323 * libsupc++/Makefile.am (LTCOMPILE): Add LIBSUPCXX_PICFLAGS.
3324 * libsupc++/Makefile.in: Regenerate.
3325
33262002-08-05 Gabriel Dos Reis <gdr@nerim.net>
3327
3328 PR/7491
3329 * include/bits/slice_array.h(_DEFINE_VALARRAY_OPERATOR):
3330 Instantiate with new function objects.
3331 * include/bits/mask_array.h (_DEFINE_VALARRAY_OPERATOR): Likewise.
3332 Reformat. Uglify.
3333 * include/bits/gslice_array.h: Likewise.
3334 * include/bits/indirect_array.h: Likewise.
3335
33362002-08-03 Gabriel Dos Reis <gdr@nerim.net>
3337
3338 * testsuite/26_numerics/valarray_name_lookup.cc: Rename from
3339 testsuite/26_numerics/valarray_name_lookup.C
3340
3341 * include/bits/valarray_array.h (_DEFINE_ARRAY_FUNCTION): Use our
3342 object function surrogates.
3343 * include/bits/valarray_meta.h (__shift_left): Fix typo.
3344 (_BinFunClos<>): Remove.
3345 (_BinFunBase<>): Likewise.
3346 (_BinFunBase1<>):Likewise.
3347 (_BinFunBase2<>): Likewise.
3348 (_DEFINE_EXPR_RELATIONAL_OPERATOR): Likewise.
3349 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
3350 (_DEFINE_EXPR_BINARY_OPERATOR): Likewise.
3351 (_DEFINE_EXPR_BINARY_FUNCTION): Likewise.
3352 * include/std/std_valarray.h: Dont #include <functional> anymore.
3353 (_Bitwise_or<>, _Bitwise_and<>, _Bitwise_xor<>, _Shift_left<>,
3354 _Shift_right<>): Remove.
3355 (_DEFINE_VALARRAY_AUGMENTED_ASSIGNMENT): Adjust instantiation.
3356 (_DEFINE_BINARY_OPERATOR): Tweak definition.
3357 (_DEFINE_LOGICAL_OPERATOR): Remove.
3358 * testsuite/26_numerics/valarray_name_lookup.C (main): Add more tests.
3359
33602002-08-02 Gabriel Dos Reis <gdr@nerim.net>
3361
3362 * include/bits/valarray_meta.h (_UnFunBase<>): Remove.
3363 (_UnFunClos<>): Same.
3364 (_UnBase<>): Reformat. Make first template-parameter non
3365 template.
3366 (_UnClos<>): Likewise.
3367 (_Expr<>): Reformate. Adjust unary member operator return types.
3368 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
3369 (_DEFINE_EXPR_UNARY_FUNCTION): Likewise.
3370 * include/std/std_valarray.h (_UnClos<>): Adjust declaration.
3371 (valarray<>::_UnaryOp<>): New nested traits. Adjust unary member
3372 operator return types. Reformat.
3373 (_Bitwise_not): Remove.
3374 (_DEFINE_VALARRAY_UNARY_OPERATOR): Adjust definition.
3375 * testsuite/26_numerics/valarray_name_lookup.C: New test.
3376
33772002-08-02 Danny Smith <dannysmith@users.sourceforge.net>
3378
3379 * config/os/newlib/ctype_inline.h (is): Don't offset _M_table.
3380 (scan_is): Use this->is.
3381 (scan_not): Likewise.
3382
33832002-08-02 Benjamin Kosnik <bkoz@redhat.com>
3384
3385 Revert PR libstdc++/6594
3386 * src/strstream.cc (strstreambuf): Revert.
3387 (strstreambuf::overflow): Same.
3388 (strstreambuf::~strstreambuf): Same.
3389 * testsuite/backward/strstream_members.cc (test02): Add.
3390
3391 * docs/html/abi.txt: Update. Spell check.
3392
3393 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add bool test.
3394
3395 * testsuite/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES.
3396 * testsuite/Makefile.in: Regenerate.
3397 * testsuite/testsuite_hooks.h: Use __throw_exception_again,
3398 include functexcept.h so that -fno-exceptions will build.
3399
34002002-08-02 Gabriel Dos Reis <gdr@nerim.net>
3401
3402 * include/bits/valarray_meta.h (__unary_plus, __negate,
3403 __bitwise_not, __plus, __minus, __multiplies, __divides,
3404 __modulus, __bitwise_xor, __bitwise_or, __bitwise_and,
3405 __shift_left, __shift_right, __logical_and, __logical_or,
3406 __logical_not, __equal_to, __not_equal_to, __less, __less_equal,
3407 __greater_equal, __greater, __atan2, __pow): New function object
3408 classes.
3409 (__fun<>): New function traits class.
3410
34112002-08-01 Rick Danos <rdanos@hotmail.com>
3412
3413 PR libstdc++/7461
3414 * config/os/newlib/ctype_noninline.h (classic_table): Add offset.
3415 * config/os/newlib/ctype_inline.h (is): Use static_cast.
3416
34172002-08-01 Neil Booth <neil@daikokuya.co.uk>
3418
3419 * libsupc++/Makefile.am (LT_COMPILE): Remove C++ flags.
3420 * libsupc++/Makefile.in: Regenerate.
3421
34222002-08-01 Benjamin Kosnik <bkoz@redhat.com>
3423 Jakub Jelinek <jakub@redhat.com>
3424
3425 * config/linker-map.gnu: Change CXXABI_1 to CXXABI_1.2,
3426 GLIBCPP_3.1 to GLIBCPP_3.2.
3427
34282002-07-31 Benjamin Kosnik <bkoz@redhat.com>
3429 Mark Mitchell <mark@codesourcery.com>
3430
3431 PR libstdc++/7442
3432 * libsupc++/cxxabi.h (class __base_class_type_info::hwm_bit):
3433 Change to __hwm_bit.
3434 (__class_type_info): And here.
3435
34362002-07-31 Benjamin Kosnik <bkoz@redhat.com>
3437
3438 PR libstdc++/7442
3439 * libsupc++/cxxabi.h
3440 (__base_class_info): Change to __base_class_type_info. 2.9.5p6c
3441 (__base_class_info::__base): Change to __base_type. 2.9.5p6c
3442 (__base_class_info::offset_shift): Change to __offset_shift. 2.9.5p6c
3443 (__vmi_class_type_info::__base_info): Don't make const, of type
3444 __base_class_type_info, as per 2.9.5p6c
3445 (__pbase_type_info::__qualifier_flags): Change to __flags, as per
3446 2.9.5p7.
3447 (__pbase_type_info::__qualifier_masks): Change to __masks, as per
3448 2.9.5p7.
3449 (__pointer_to_member_type_info::__context_class): Change member to
3450 __context, as per 2.9.5p9.
3451 * libsupc++/tinfo2.cc (__pointer_catch): Change __context_class to
3452 __context.
3453 * libsupc++/tinfo2.cc (__do_catch): Change __qualifier_flags to
3454 __flags.
3455 * libsupc++/tinfo.cc (__do_find_public_src): Change __base to
3456 __base_type.
3457 * libsupc++/tinfo.cc (__do_dyncast): Same.
3458 * libsupc++/tinfo.cc (__do_upcast): Same.
3459
34602002-07-31 Benjamin Kosnik <bkoz@redhat.com>
3461
3462 * src/fstream.cc: Add _GLIBCPP_USE_WCHAR_T guards.
3463
34642002-07-31 Simon Whomsley <whomsley@avacadcam.com>
3465
3466 * docs/html/22_locale/howto.html: Fix.
3467
34682002-07-31 Alex Kompel <shurik@sequoiap.com>
3469
3470 PR libstdc++/7445
3471 * src/locale.cc (locale::classic): Move locks inside !_S_classic
3472 block.
3473
34742002-07-31 Benjamin Kosnik <bkoz@redhat.com>
3475
3476 * docs/html/abi.txt: Update.
3477
34782002-07-30 Benjamin Kosnik <bkoz@redhat.com>
3479 Gabriel Dos Reis <gdr@nerim.net>
3480
3481 * include/bits/char_traits.h: Remove generic definitions.
3482 * include/bits/streambuf_iterator.h (istreambuf_iterator): Use
3483 eof, not -2.
3484 * include/bits/istream.tcc (istream::readsome): Don't check
3485 against eof, instead use constants.
3486 (istream::sync): Same.
3487 (istream::sentry::sentry): Use eq_int_type.
3488 (istream::get): Same.
3489 * include/bits/ostream.tcc: Change __pad to
3490 __pad<_CharT, _Traits>::_S_pad.
3491 * include/bits/locale_facets.h: Add __pad_traits generic and
3492 ostreambuf_iterator specialization.
3493 * include/bits/locale_facets.tcc: Change __pad into struct __pad
3494 with a _CharT and _Traits template parameter and _S_pad static
3495 member function.
3496 * src/locale-inst.cc: Update __pad instantiations.
3497
3498 * include/std/std_fstream.h: Declare _M_underflow_common
3499 specializations.
3500 * src/fstream.cc: New. Add _M_underflow_common specializations.
3501 * include/bits/fstream.tcc (filebuf::close): Use traits_type.
3502 (filebuf::_M_underflow_common(bool)): Remove generic version, as
3503 sys_ungetc and custom int_types don't get along.
3504 * include/std/std_streambuf.h: Add _M_pos.
3505 * src/Makefile.am (sources): Add fstream.cc.
3506 * src/Makefile.in: Regenerate.
3507
3508 * testsuite/21_strings/capacity.cc: Add char_traits specializations.
3509 * testsuite/22_locale/codecvt_members_unicode_char.cc: Same.
3510 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc: Same.
3511 * testsuite/22_locale/ctor_copy_dtor.cc: Same.
3512 * testsuite/27_io/filebuf_virtuals.cc (test07): Move to...
3513 * testsuite/27_io/filebuf.cc: ...here.
3514 * testsuite/testsuite_hooks.h: Add gnu_char, gnu_int, char_traits
3515 specialization for both.
3516 * testsuite/27_io/streambuf.cc: Add instantiation test,
3517 testsuite_hooks include.
3518 * testsuite/27_io/istream.cc: Same.
3519 * testsuite/27_io/ostream.cc: Same.
3520 * testsuite/27_io/fstream.cc: Same.
3521 * testsuite/27_io/stringstream.cc: Same.
3522 * testsuite/27_io/filebuf.cc: Same.
3523 * testsuite/27_io/stringbuf.cc: Same.
3524
35252002-07-29 Alan Modra <amodra@bigpond.net.au>
3526
3527 * config/cpu/powerpc/cpu_limits.h (__glibcpp_long_bits): Define.
3528 * configure.target (cpu_include_dir): Use cpu/powerpc for powerpc64.
3529 * config/cpu/powerpc/atomicity.h (__always_swap): Remove.
3530 (__test_and_set): Remove.
3531 (_STWCX): Define and use.
3532
35332002-07-26 Phil Edwards <pme@gcc.gnu.org>
3534
3535 * libsupc++/new (placement delete): Remove unused parameter names.
3536
35372002-07-25 Benjamin Kosnik <bkoz@redhat.com>
3538
3539 PR libstdc++/7216
3540 * include/std/std_istream.h (basic_iostream): Add typedefs for
3541 char_type, int_type, pos_type, off_type, and traits_type.
3542 * testsuite/27_io/iostream.cc (test01): Add typedef tests.
3543 * testsuite/27_io/istream.cc: Same.
3544 * testsuite/27_io/ostream.cc: Same.
3545 * testsuite/27_io/filebuf.cc: Same.
3546 * testsuite/27_io/stringbuf.cc: Replace content, move to...
3547 * testsuite/27_io/stringbuf_members.cc: ...here.
3548 * testsuite/27_io/streambuf.cc: Replace content, move to...
3549 * testsuite/27_io/streambuf_members.cc: ...here.
3550 * testsuite/27_io/stringstream.cc: Replace content, move to...
3551 * testsuite/27_io/stringstream_members.cc: ...here.
3552 * testsuite/27_io/ios.cc: New file.
3553 * testsuite/27_io/fstream.cc: New file.
3554 * testsuite/27_io/ifstream.cc: New file.
3555 * testsuite/27_io/ofstream.cc: New file.
3556 * testsuite/27_io/istringstream.cc: New file.
3557 * testsuite/27_io/ostringstream.cc: New file.
3558
35592002-07-25 Benjamin Kosnik <bkoz@redhat.com>
3560
3561 PR libstdc++/7220
3562 * include/bits/istream.tcc (istream::ignore): Don't extract on
3563 zero.
3564 * testsuite/27_io/istream_unformatted.cc (test10): Add.
3565
35662002-07-25 Benjamin Kosnik <bkoz@redhat.com>
3567
3568 * testsuite/27_io/ios_base_type.cc: Move to...
3569 * testsuite/27_io/ios_base_types.cc: ...here.
3570
35712002-07-24 Benjamin Kosnik <bkoz@redhat.com>
3572
3573 PR libstdc++/7222
3574 * src/locale.cc (locale::locale(const char*)): Use setlocale NULL.
3575 * testsuite/22_locale/ctor_copy_dtor.cc (test02): New.
3576
35772002-07-24 Benjamin Kosnik <bkoz@redhat.com>
3578
3579 PR libstdc++/7230
3580 * config/linker-map.gnu: Revert strstream patch from 2002-07-01.
3581 * include/Makefile.am (backward_headers): Use strstream, not
3582 strstream.h.
3583 * include/Makefile.in: Regenerate.
3584 * include/backward/strstream: Revert.
3585 * include/backward/strstream.h: Remove.
3586 * src/strstream.cc: Revert.
3587 * testsuite/backward/strstream_members.cc: Change include.
3588
35892002-07-24 Benjamin Kosnik <bkoz@redhat.com>
3590
3591 PR libstdc++/7219
3592 * include/bits/ios_base.h (ios_base::streampos): Add.
3593 (ios_base::streamoff): Add.
3594 * testsuite/27_io/ios_base_type.cc: New.
3595
35962002-07-24 Benjamin Kosnik <bkoz@redhat.com>
3597
3598 PR libstdc++/7286
3599 * libsupc++/new: Add placement delete.
3600 * testsuite/18_support/new_delete_placement.cc: New.
3601
3602 * docs/html/abi.txt: Fix typos.
3603
36042002-07-23 Benjamin Kosnik <bkoz@redhat.com>
3605
3606 * docs/html/documentation.html: Remove libstdc++-v3.0.86 links,
3607 confusing usage of "latest."
3608 De-tangle contributor information from introductory notes.
3609 Move abi.txt link placement, activate.
3610 Re-organize.
3611 Move chapter info into old FAQ format.
3612 * docs/html/organization.html: Removed, obsoleted by doxygen work.
3613 * docs/html/abi.txt: Add notes on testing ABI changes.
3614
36152002-07-20 Phil Edwards <pme@gcc.gnu.org>
3616
3617 * docs/html/abi.txt: New file.
3618 * docs/html/23_containers/howto.html: Tweak vector-overhead text.
3619 * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
3620 Import from upstream, R22.
3621
3622 * include/bits/char_traits.h, include/bits/stl_iterator.h,
3623 include/bits/stl_iterator_base_types.h, libsupc++/exception,
3624 libsupc++/new, libsupc++/typeinfo: Use @brief markup.
3625
3626 * include/bits/deque.tcc, include/bits/stl_alloc.h,
3627 include/bits/stl_deque.h, include/bits/stl_list.h: Postpone removal
3628 of deprecated functions until 3.4. (Same timeframe, different text.)
3629 * include/bits/stl_vector.h: Ditto. Also do the same cleanups that
3630 the other sequence classes received.
3631
36322002-07-18 Brendan Kehoe <brendan@zen.org>
3633
3634 * bits/slice_array.h (_DEFINE_VALARRAY_OPERATOR): Fix typo of
3635 _Nname to _Name.
3636
36372002-07-19 Gabriel Dos Reis <gdr@nerim.net>
3638
3639 DR/123
3640 * include/bits/slice_array.h
3641 (slice_array<T>::operator=(const T&)): Constify.
3642 * include/bits/gslice_array.h
3643 (gslice_array<T>::operator=(const T&)): Likewise.
3644 * include/bits/mask_array.h
3645 (mask_array<T>::operator=(const T&)): Likewise.
3646 * include/bits/indirect_array.h
3647 (indirect_array<T>::operator=(const T&): Likewise.
3648
36492002-07-17 Phil Edwards <pme@gcc.gnu.org>
3650
3651 * docs/doxygen/run_doxygen: Remove template parameter names from
3652 "Compound List" summary page. Reformat.
3653 * docs/html/documentation.html: XHTML fixes.
3654
36552002-07-16 Andreas Schwab <schwab@suse.de>
3656
3657 * libsupc++/new (set_new_handler): Declare to not throw any
3658 exceptions.
3659 * libsupc++/new_handler.cc (set_new_handler): Likewise.
3660
36612002-07-16 Gabriel Dos Reis <gdr@nerim.net>
3662
3663 * include/Makefile.am (bits_headers): Remove slice.h
3664 * include/Makefile.in: Regenerate.
3665 * include/bits/slice.h (slice): move to include/bits/slice_array.h
3666 * include/bits/slice.h Remove.
3667 * include/std/std_valarray.h: Don't #include bits/slice.h anymore.
3668 * include/bits/slice_array.h: Comply to official coding styles.
3669 * testsuite/26_numerics/slice.cc: New test.
3670
36712002-07-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3672
3673 * config/os/solaris/solaris2.5/ctype_base.h (ctype_base): Fix
3674 print to match vendor <ctype.h>.
3675
36762002-07-15 Phil Edwards <pme@gcc.gnu.org>
3677
3678 * docs/html/faq/index.html: Fix download links.
3679 * docs/html/faq/index.txt: Regenerate.
3680 * docs/html/17_intro/porting.html: Regenerate from earlier changes.
3681
36822002-07-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3683
3684 * configure.target (target_os switch): Allow for irix6*o32
3685 configurations.
3686
36872002-07-10 Gabriel Dos Reis <gdr@nerim.net>
3688
3689 * include/bits/valarray_meta.h (_UnFunBase): Take a second
3690 template parameter. Remove _M_func data member.
3691 (_UnFunClos): Take a third template parameter.
3692 (__abs, __cos, __acos, __cosh, __sin, __asin, __sinh, __tan,
3693 __atan, __tanh, __exp, __log, __log10, __sqrt): New classes.
3694 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
3695
36962002-07-08 Eric Christopher <echristo@redhat.com>
3697
3698 * configure.target: Fix comment for mips atomicity. Add
3699 mips*-*-linux* target, enable atomic operations there.
3700 * config/cpu/mips/atomicity.h: Fix comments, remove
3701 #ifndef/#endif. Add push/pop mips2.
3702
37032002-07-08 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3704
3705 * include/bits/stl_deque.h (_Deque_alloc_base): Change order of
3706 member declarations to avoid compiler warnings and restore 3.1 ABI.
3707
37082002-07-08 Phil Edwards <pme@gcc.gnu.org>
3709
3710 * docs/html/23_containers/howto.html: Link to dk_std::vector paper
3711 and homepage.
3712
37132002-07-07 Paolo Carlini <pcarlini@unitus.it>
3714
3715 PR libstdc++/7186
3716 * include/bits/stl_deque.h (_Deque_iterator::operator-):
3717 Make non-member, as already happens for the comparison
3718 operators in accord with DR179 (Ready).
3719 * testsuite/23_containers/deque_operators.cc: Add test02.
3720
37212002-07-04 Benjamin Kosnik <bkoz@redhat.com>
3722 Jack Reeves <jackw_reeves@hotmail.com>
3723
3724 * include/std/std_streambuf.h (basic_streambuf::_M_buf): Change to
3725 size_t, from int_type.
3726 (basic_streambuf::_M_buf_size_opt): Same.
3727 (basic_streambuf::_S_pback_sizex): Same.
3728 * include/bits/streambuf.tcc: Same.
3729 * include/std/std_streambuf.h (basic_streambuf::snextc): Use
3730 eq_int_type.
3731 (basic_streambuf::uflow): Same.
3732 * include/bits/sstream.tcc (basic_stringbuf::overflow): Use
3733 to_char_type.
3734 * include/bits/basic_ios.tcc (basic_ios::init): Use _CharT().
3735 * include/bits/streambuf.tcc (basic_streambuf::xsgetn): Use
3736 eq_int_type.
3737 (basic_streambuf::xsputn): Same.
3738 (__copy_streambufs): Same.
3739
37402002-07-03 Benjamin Kosnik <bkoz@redhat.com>
3741
3742 * include/std/std_memory.h: Fix formatting.
3743 * testsuite/20_util/auto_ptr_neg.cc: New.
3744 * testsuite/20_util/auto_ptr.cc: Tweaks.
3745 * testsuite/23_containers/map_operators.cc (test01): Split into..
3746 * testsuite/23_containers/map_operators_neg.cc (test01): ...this. New.
3747 * testsuite/23_containers/set_operators.cc: Move to...
3748 * testsuite/23_containers/set_operators_neg.cc: ...here.
3749 * testsuite/README: Add some more naming rules.
3750
37512002-07-03 Steev Wilcox <steev@paradigmds.com>
3752
3753 PR libstdc++/7057
3754 * include/ext/stl_hashtable.h: Fix.
3755 * testsuite/ext/hash_map.cc: New.
3756
37572002-07-03 Jack Reeves <jackw_reeves@hotmail.com>
3758 Kenny Simpson <theonetruekenny@yahoo.com>
3759 Phil Edwards <pme@gcc.gnu.org>
3760
3761 PR libstdc++/3946
3762 * testsuite/20_util/auto_ptr.cc (test08): New test.
3763 * include/std/std_memory.h (auto_ref_ptr): Make constructor explicit.
3764 (auto_ptr::operator auto_ptr_ref): Fix typo.
3765 General reformatting and doxygenating of the whole file.
3766
37672002-07-03 Benjamin Kosnik <bkoz@redhat.com>
3768
3769 PR libstdc++/7097
3770 * include/c/std_cwchar.h: Fix.
3771
37722002-07-02 Benjamin Kosnik <bkoz@redhat.com>
3773
3774 PR libstdc++/6410
3775 * include/bits/locale_facets.h (moneypunct::moneypunct): Add const
3776 char* name parameter.
3777 * config/locale/gnu/monetary_members.cc: Use it.
3778 * config/locale/generic/monetary_members.cc: Same.
3779 * src/localename.cc (_Impl::_Impl(const char*, size_t)): Use it.
3780
3781 * include/backward/strstream.h: Update date.
3782
37832002-07-02 Paolo Carlini <pcarlini@unitus.it>
3784
3785 PR libstdc++/6642
3786 * include/bits/stl_iterator.h
3787 (__normal_iterator::operator-(const __normal_iterator&)):
3788 Make non-member, as already happens for the comparison
3789 operators in accord with DR179 (Ready).
3790 * testsuite/24_iterators/iterator.cc: Add test from the PR.
3791
37922002-07-02 Phil Edwards <pme@gcc.gnu.org>
3793
3794 PR libstdc++/7173
3795 * acinclude.m4: Simplify determination of gcc_version, and move
3796 up to GLIBCPP_CONFIGURE.
3797 * configure.in (release_VERSION): Really remove.
3798 (AM_INIT_AUTOMAKE, AM_CONFIG_HEADER): Move after GLIBCPP_CONFIGURE.
3799 * aclocal.m4, configure: Regenerate.
3800
38012002-07-02 Phil Edwards <pme@gcc.gnu.org>
3802
3803 * docs/html/configopts.html, docs/html/install.html: Tweaks.
3804 * include/ext/algorithm, include/ext/hash_map, include/ext/hash_set,
3805 include/ext/iterator, include/ext/numeric, include/ext/rb_tree,
3806 include/ext/slist, include/ext/stl_rope.h: Add doxygen hooks.
3807
38082002-07-01 Benjamin Kosnik <bkoz@redhat.com>
3809
3810 * include/backward/strstream: Remove namespace std. Transfer to...
3811 * include/backward/strstream.h: ...here. Qualify std names.
3812 * src/strstream.cc: Remove namespace std.
3813 * include/Makefile.am (backward_headers): Remove strstream.h.
3814 * include/Makefile.in: Regenerate.
3815 * config/linker-map.gnu: Export strstream bits.
3816
3817 * src/fstream-inst.cc: Tweak.
3818 * src/io-inst.cc: Same.
3819 * src/istream-inst.cc: Same.
3820 * src/misc-inst.cc: Same.
3821 * src/ostream-inst.cc: Same.
3822 * src/sstream-inst.cc: Same.
3823 * src/valarray-inst.cc: Same.
3824 * src/misc-inst.cc: Remove unused instantiations.
3825
38262002-07-01 Benjamin Kosnik <bkoz@redhat.com>
3827
3828 * configure.in (libtool_VERSION): Bump to 5:0:0.
3829 * configure: Regenerate.
3830
38312002-06-28 Phil Edwards <pme@gcc.gnu.org>
3832
3833 PR libstdc++/7157, PR libstdc++/7158, PR libstdc++/7161
3834 * include/std/std_queue.h: Include deque.tcc, vector.tcc.
3835 * include/std/std_stack.h: Include deque.tcc.
3836 * testsuite/23_containers/adaptors.cc: New file.
3837
38382002-06-27 Phil Edwards <pme@gcc.gnu.org>
3839
3840 * include/bits/stl_alloc.h: Deprecate all 'reallocate' memfns.
3841 * docs/html/ext/howto.html: Update allocator notes.
3842
38432002-06-26 Benjamin Kosnik <bkoz@redhat.com>
3844
3845 * configure.in (INTERFACE): Remove.
3846 (release_VERSION): Remove.
3847 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Change include placement.
3848 (libstdcxx_interface): Change. Use gcc methods to determine version.
3849 * configure: Regenerate.
3850 * aclocal.m4: Regenerate.
3851
38522002-06-25 DJ Delorie <dj@redhat.com>
3853
3854 * acinclude.m4 (GLIBCPP_CONFIGURE): Split out
3855 GLIBCPP_TOPREL_CONFIGURE.
3856 * aclocal.m4: Likewise.
3857 * configure.in: Call it before AC_CANONICAL_SYSTEM.
3858 * configure: Regenerate.
3859
38602002-06-25 Jessica Han <jessica@cup.hp.com>
3861
3862 * config/os/hpux/os_defines.h Define _GLIBCPP_VTABLE_PADDING
3863 * libsupc++/tinfo.cc Handle the 8 byte aligned vtable entries when
3864 _GLIBCPP_VTABLE_PADDING is defined.
3865
38662002-06-25 Benjamin Kosnik <bkoz@redhat.com>
3867
3868 * include/bits/stl_alloc.h: Additional formatting.
3869
38702002-06-24 Phil Edwards <pme@gcc.gnu.org>
3871
3872 * include/bits/stl_alloc.h: Reformat as per C++STYLE.
3873
38742002-06-24 Phil Edwards <pme@gcc.gnu.org>
3875
3876 * config/cpu/*/bits/*: Move header files up a level. Remove bits.
3877 * config/os/*/bits/*: Likewise.
3878 * configure.in: Update.
3879 * configure: Regenerate.
3880 * configure.target: Update.
3881 * docs/html/17_intro/porting.texi: Update.
3882
38832002-06-21 Phil Edwards <pme@gcc.gnu.org>
3884
3885 * include/bits/stl_map.h, include/bits/stl_multimap.h,
3886 include/bits/stl_queue.h, include/bits/stl_stack.h: Reformat and
3887 complete doxygenation.
3888 * include/bits/boost_concept_check.h: Minor comment.
3889
38902002-06-21 Benjamin Kosnik <bkoz@redhat.com>
3891
3892 * include/c_compatibility: New.
3893 * include/c_compatibility/assert.h: New.
3894 * include/c_compatibility/ctype.h: New.
3895 * include/c_compatibility/errno.h: New.
3896 * include/c_compatibility/float.h: New.
3897 * include/c_compatibility/iso646.h: New.
3898 * include/c_compatibility/limits.h: New.
3899 * include/c_compatibility/locale.h: New.
3900 * include/c_compatibility/math.h: New.
3901 * include/c_compatibility/setjmp.h: New.
3902 * include/c_compatibility/signal.h: New.
3903 * include/c_compatibility/stdarg.h: New.
3904 * include/c_compatibility/stddef.h: New.
3905 * include/c_compatibility/stdio.h: New.
3906 * include/c_compatibility/stdlib.h: New.
3907 * include/c_compatibility/string.h: New.
3908 * include/c_compatibility/time.h: New.
3909 * include/c_compatibility/wchar.h: New.
3910 * include/c_compatibility/wctype.h: New.
3911
3912 * include/c/std_cerrno.h: Get out of the way... define errno.
3913 * include/c/std_cmath.h: Add abs, modf overloads.
3914 Undefine C99 isms. Still not sure how to deal with this sanely.
3915 * include/c/std_csetjmp.h: Tweak.
3916 * include/c/std_cwchar.h: Include cstddef for size_t.
3917
3918 * include/c_std/std_cmath.h: Remove extra function.
3919
3920 Pendantic std usage in testsuites.
3921 * testsuite/17_intro/header_cstdlib.cc (test01): Qualify ldiv_t
3922 with std.
3923 * testsuite/17_intro/header_cwchar.cc: Tweak.
3924 * testsuite/22_locale/codecvt_members_char_char.cc (test03): Use
3925 std::setlocale.
3926 * testsuite/22_locale/ctype_to_wchar_t.cc (test05): Same.
3927 * testsuite/22_locale/ctype_to_char.cc (test05): Same.
3928 * testsuite/22_locale/ctype_is_wchar_t.cc (test05): Same.
3929 * testsuite/22_locale/ctype_is_char.cc (test05): Same.
3930 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Same.
3931 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Same.
3932 * testsuite/22_locale/time_get_members_char.cc (test08): Same.
3933 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Same.
3934 * testsuite/22_locale/time_put_members_char.cc (test04): Same.
3935 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Same.
3936 * testsuite/22_locale/num_put_members_char.cc (test04): Same.
3937 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Same.
3938 * testsuite/22_locale/numpunct_members_char.cc (test03): Same.
3939 * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
3940 * testsuite/22_locale/num_get_members_char.cc: Same.
3941 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Same.
3942 * testsuite/22_locale/money_put_members_char.cc (test07): Same.
3943 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Same.
3944 * testsuite/22_locale/moneypunct_members_char.cc (test03): Same.
3945 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Same.
3946 * testsuite/22_locale/money_get_members_char.cc (test08): Same.
3947 * testsuite/22_locale/messages_members_char.cc (test03): Same.
3948 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Same.
3949 * testsuite/22_locale/collate_members_char.cc (test04): Same.
3950 * testsuite/26_numerics/fabs_inline.cc: Use std::printf.
3951 * testsuite/27_io/istream_seeks.cc (test02): Qualify abort.
3952 * testsuite/27_io/istream_extractor_arith.cc (test11): Qualify strtol.
3953
39542002-06-20 Benjamin Kosnik <bkoz@redhat.com>
3955
3956 * libsupc++/Makefile.am (libsupc__convenience_la_SOURCES): Add
3957 c_sources.
3958
39592002-06-20 Benjamin Kosnik <bkoz@redhat.com>
3960
3961 * src/ext-inst.cc (__gnu_cxx): Use instead of std:: for extensions.
3962 Use size_type instead of unsigned long.
3963
39642002-06-20 Steve Ellcey <sje@cup.hp.com>
3965
3966 * src/ext-inst.cc (_S_fetch): Add explicit templates for char and
3967 wchar types.
3968 (_S_min_len): Ditto.
3969
39702002-06-20 Benjamin Kosnik <bkoz@redhat.com>
3971
3972 * include/Makefile.am: Add rules.
3973 * include/Makefile.in: Regenerate.
3974
3975 * acinclude.m4: Define GLIBCPP_C_HEADERS_COMPATIBILITY.
3976 * aclocal.m4: Regenerate.
3977 * configure: Regenerate.
3978 * configure.target (c_model, c_compatibility): Add.
3979
3980 * libsupc++/Makefile.am (c_sources): New.
3981 (libsupc___la_SOURCES): Add c_sources.
3982 (LTCOMPILE): Remove INCLUDES.
3983 (GCC_INCLUDES): New.
3984 (C_COMPILE): New, like COMPILE but without INCLUDES.
3985 (cxa_demangle.o): Use C_COMPILE.
3986 (dyn-string.o): Use C_COMPILE.
3987
3988 * include/c/std_cstdarg.h: Define __need___va_list.
3989 * include/c/std_cstddef.h: Define need_size_t, need_ptrdiff_t,
3990 need_NULL, need_offsetof.
3991
39922002-06-19 Steve Ellcey <sje@cup.hp.com>
3993
3994 * configure.in (HAVE_FINITE*, HAVE_ISINF*, HAVE_ISNAN*): Remove
3995 definitions in hpux11 cross-build because these functions do
3996 not exist on hpux11 (but some exist on hpux10); move defaults out
3997 into existing sections.
3998 * configure: Regenerate.
3999
40002002-06-18 Benjamin Kosnik <bkoz@redhat.com>
4001
4002 * include/c/std_cwchar.h: Guard. Add mbstate_t bits.
4003 * include/c/std_cwctype.h: Guard.
4004
4005 * libsupc++/eh_alloc.cc: Tweak include order.
4006 * libsupc++/pure.cc: Use cstdio.
4007 * libsupc++/new_op.cc: Remove malloc forward declaration, as
4008 cstdlib brings it in. Use std::malloc.
4009
4010 * src/Makefile.am (sources): Remove cmath.cc.
4011 * src/Makefile.in: Regenerate.
4012 * src/cmath.cc: Remove.
4013
40142002-06-18 Phil Edwards <pme@gcc.gnu.org>
4015
4016 * configure.target: Force mips to use the generic cpu routines.
4017
40182002-06-18 Phil Edwards <pme@gcc.gnu.org>
4019
4020 * configure.host: Delete file.
4021 * configure.target: More documentation. Factor out common parts of
4022 script into "intelligent" settings about defaults. Remove redundancy.
4023
4024 * acinclude.m4: Update comments. Do not call configure.host.
4025 (GLIBCPP_ENABLE_SYMVERS): If disabled, do not bother checking for
4026 libgcc_s.
4027 * configure.in: Slight reformatting, more comments. Factor out
4028 "config/" from all the directories.
4029 * docs/html/17_intro/porting.texi: Update and expand.
4030 * testsuite/Makefile.am (AM_RUNTESTFLAGS): Move empty setting
4031 from configure.host.
4032
4033 * aclocal.m4, configure, docs/html/17_intro/porting.html,
4034 testsuite/Makefile.in: Regenerate.
4035
40362002-06-16 Phil Edwards <pme@gcc.gnu.org>
4037
4038 * docs/doxygen/TODO: Update.
4039 * docs/doxygen/tables.html: Uncomment magical middle column.
4040 * docs/doxygen/user.cfg.in: Kludge to ignore function-like macros.
4041 * include/bits/stl_queue.h: Doxygenate and reformat.
4042 * include/bits/ios_base.h, include/std/std_streambuf.h: Add comment
4043 for deprecated names required by the standard.
4044
40452002-06-14 J.T. Conklin <jtc@acorntoolworks.com>
4046
4047 * configure.in (target_alias): Fix.
4048 * configure: Regenerate.
4049 * aclocal.m4: Regenerate.
4050
40512002-06-12 Phil Edwards <pme@gcc.gnu.org>
4052
4053 * include/Makefile.am: Add new files.
4054 * include/Makefile.in: Regenerate.
4055
4056 * include/bits/stl_deque.h, include/bits/stl_list.h,
4057 include/bits/stl_vector.h: Clean up, reformat. Move definitions...
4058 * include/bits/deque.tcc, include/bits/list.tcc,
4059 include/bits/vector.tcc: ...to here. New files.
4060
4061 * include/ext/stl_hashtable.h: Inclide correct full headers.
4062 * include/std/std_deque.h: Include .tcc files for now.
4063 * include/std/std_list.h: Likewise.
4064 * include/std/std_vector.h: Likewise.
4065
40662002-06-12 Daniel Jacobowitz <drow@mvista.com>
4067
4068 * Makefile.am: Add FLAGS_TO_PASS.
4069 * Makefile.in: Regenerated.
4070
40712002-06-11 J.T. Conklin <jtc@acorntoolworks.com>
4072 Benjamin Kosnik <bkoz@redhat.com>
4073
4074 * configure.target: Set os_include_dir to config/os/qnx/qnx6.1
4075 under *-qnx6.[12]*.
4076 * configure.in: Add support for *-qnx6.[12]*.
4077 * configure: Regenerate.
4078
4079 * config/os/qnx, config/os/qnx/qnx6.1, config/os/qnx/qnx6.1/bits:
4080 New directories.
4081 * config/os/qnx/qnx6.1/bits/ctype_base.h, ctype_inline.h,
4082 ctype_noninline.h, os_defines.h: New files.
4083
40842002-06-10 Loren J. Rittle <ljrittle@acm.org>
4085
4086 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): Reorder and
4087 include all required headers for test against older POSIX standard.
4088 (GLIBCPP_CHECK_SETRLIMIT): Likewise.
4089 (ac_setrlimit): Likewise.
4090 * aclocal.m4: Regenerate.
4091 * configure: Regenerate.
4092 * testsuite/testsuite_hooks.cc: Reorder and include all
4093 required headers for use against older POSIX standard.
4094
40952002-06-08 Paolo Carlini <pcarlini@unitus.it>
4096
4097 * testsuite/backwards/strstream_members.cc: New.
4098
40992002-06-08 Benjamin Kosnik <bkoz@redhat.com>
4100
4101 * include/backwards/strstream: Format.
4102 * src/strstream.cc: Format.
4103
41042002-06-08 Andreas Schwab <schwab@suse.de>
4105
4106 * src/strstream.cc (strstreambuf::overflow): Set _M_buf,
4107 _M_buf_size and _M_buf_size_opt to the new buffer and size.
4108
41092002-06-08 Benjamin Kosnik <bkoz@redhat.com>
4110
4111 * config/os/generic/bits/ctype_noninline.h: Tweak format.
4112
41132002-06-07 Steve Ellcey <sje@cup.hp.com>
4114
4115 * src/locale-inst.cc (__codecvt_abstract_base):
4116 Put inside _GLIBCPP_USE_WCHAR_T ifdef.
4117 * include/bits/istream.tcc (basic_istream): Ditto.
4118 (ws) Ditto.
4119 (operator>>) Ditto.
4120 * include/bits/ostream.tcc (basic_ostream): Ditto.
4121 (endl): Ditto.
4122 (ends): Ditto.
4123 (flush): Ditto.
4124 (operator<<): Ditto.
4125
41262002-06-07 Phil Edwards <pme@gcc.gnu.org>
4127
4128 * mkcheck.in: Link against local testsuite library.
4129 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Move null
4130 implementation out...
4131 * testsuite/testsuite_hooks.cc: ...to here.
4132
41332002-06-06 Loren J. Rittle <ljrittle@acm.org>
4134
4135 * src/Makefile.am (AUTOMAKE_OPTIONS): Use cygnus-style generation.
4136 * include/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
4137 * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
4138 * src/Makefile.in: Regenerate (explicitly with --cygnus option).
4139 * testsuite/Makefile.in: Likewise.
4140
41412002-06-05 David Edelsohn <edelsohn@gnu.org>
4142
4143 * config/os/aix/bits/ctype_noninline.h (do_toupper,do_tolower):
4144 Call external symbol.
4145
41462002-06-04 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4147
4148 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
4149 Search correct multilib testsuite dir for libv3test.
4150
41512002-06-04 Paolo Carlini <pcarlini@unitus.it>
4152 Gaby Dos Reis <gdr@codesourcery.com>
4153
4154 * include/bits/basic_string.tcc
4155 (basic_string::_S_construct(forward_iterator_tag):
4156 Fix typo in null pointer check.
4157 * testsuite/21_strings/ctor_copy_dtor.cc: Add test04.
4158
41592002-06-04 Paolo Carlini <pcarlini@unitus.it>
4160
4161 * testsuite/22_locale/money_get_members_char.cc
4162 (test02): Add decimal point to long double constants.
4163 * testsuite/22_locale/money_get_members_wchar_t.cc
4164 (test02): Likewise.
4165 * testsuite/22_locale/money_put_members_char.cc
4166 (test02, test03, test06): Likewise.
4167 * testsuite/22_locale/money_put_members_wchar_t.cc:
4168 (test02, test03, test06): Likewise.
4169 * testsuite/22_locale/num_get_members_char.cc:
4170 (test02, test01): Likewise; suffix long long constants with LL.
4171 * testsuite/22_locale/num_get_members_wchar_t.cc:
4172 (test02, test01): Likewise.
4173 * testsuite/22_locale/num_put_members_char.cc:
4174 (test02, test01): Likewise.
4175 * testsuite/22_locale/num_put_members_wchar_t.cc:
4176 (test02, test01): Likewise.
4177
41782002-06-03 Marc Espie <espie@openbsd.org>
4179
4180 * config/cpu/m68k/bits/atomicity.h(__exchange_and_add): Fix inline
4181 assembly for old assemblers.
4182
41832002-06-03 Phil Edwards <pme@gcc.gnu.org>
4184
4185 * include/bits/stl_bvector.h (swap(_Bit_reference,_Bit_reference)):
4186 Move/rename...
4187 (vector<bool>::swap(reference,reference)): ...to this.
4188
41892002-06-03 Phil Edwards <pme@gcc.gnu.org>
4190
4191 * docs/doxygen/TODO: Update.
4192 * docs/doxygen/user.cfg.in (SORT_MEMBER_DOCS): Set to off, now that
4193 some class members are in 14882 order.
4194 * docs/html/ext/howto.html: 3.1 is in the past now, not the future.
4195
4196 * include/std/std_bitset.h: Update comment.
4197 * src/bitset.cc: Update comments, clean up spacing.
4198
4199 * src/Makefile.am (sources): Alphabetize for convenience.
4200 * src/Makefile.in: Regenerate.
4201
42022002-06-03 Phil Edwards <pme@gcc.gnu.org>
4203
4204 * include/bits/stl_deque.h, include/bits/stl_list.h,
4205 include/bits/stl_vector.h: Reformat to (mostly) match C++STYLE.
4206 Reorder to match 14882. Doxygen blocks for all public members.
4207
42082002-05-31 Marcus Meissner <meissner@suse.de>
4209
4210 PR libstdc++/6886
4211 * include/bits/stl_bvector.h: Use UL suffix for unsigned longs.
4212 * testsuite/23_containers/vector_bool.cc (test02): New test.
4213
42142002-05-30 Marc Espie <espie@openbsd.org>
4215
4216 * configure.in: Always check for sys/types.h
4217 * configure: Regenerate.
4218
42192002-05-28 Nick Clifton <nickc@cambridge.redhat.com>
4220
4221 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):
4222 Rebuild the wrapper file every time this proc is called.
4223
42242002-05-28 Phil Edwards <pme@gcc.gnu.org>
4225
4226 * testsuite/Makefile.am (noinst_LIBRARIES): New target. Pull in
4227 CXX/INCLUDES.
4228 * testsuite/Makefile.in: Regenerate.
4229 * testsuite/testsuite_hooks.h (gnu_copy_tracker): Move from
4230 list_modifiers.cc and rename from 'T'. Move code bodies...
4231 * testsuite/testsuite_hooks.cc: ...to here. New file.
4232 * testsuite/23_containers/list_modifiers.cc: Move 'T' class out.
4233 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
4234 Add libv3test.a to link options.
4235
42362002-05-27 Benjamin Kosnik <bkoz@redhat.com>
4237
4238 * src/misc-inst.cc: Define unnecessary algorithm
4239 instantiations. Break apart instantiations into groupings below.
4240 * src/fstream-inst.cc: New.
4241 * src/io-inst.cc: New.
4242 * src/istream-inst.cc: New.
4243 * src/ostream-inst.cc: New.
4244 * src/streambuf-inst.cc: New.
4245 * src/sstream-inst.cc: New.
4246 * src/Makefile.am (sources): Add files.
4247 * src/Makefile.in: Regenerate.
4248
4249 * acinclude.m4: Work around automake 1.4-p5 bug, change
4250 AM_GNU_GETTEXT in comments to AM-GNU-GETTEXT.
4251
42522002-05-27 Benjamin Kosnik <bkoz@redhat.com>
4253
4254 PR libstdc++/6795.
4255 * config/os/solaris/solaris2.6/bits/ctype_noninline.h
4256 (classic_table): Fix.
4257 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
4258
42592002-05-27 Benjamin Kosnik <bkoz@redhat.com>
4260
4261 * testsuite/22_locale/ctype_is_wchar_t.cc: Guard with
4262 _GLIBCPP_USE_WCHAR_T.
4263 * testsuite/22_locale/ctype_narrow_wchar_t.cc: Same.
4264 * testsuite/22_locale/ctype_to_wchar_t.cc: Same.
4265 * testsuite/22_locale/ctype_widen_wchar_t.cc: Same.
4266
42672002-05-26 Carlo Wood <carlo@alinoe.com>
4268 Paolo Carlini <pcarlini@unitus.it>
4269
4270 PR libstdc++/6811
4271 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
4272 (__enc_traits::operator=): add missing return statement.
4273
42742002-05-24 Phil Edwards <pme@gcc.gnu.org>
4275
4276 PR libstdc++/6282
4277 * include/std/std_bitset.h (_Base_biteset<0>): New specialization.
4278 (operator>>): If nothing was extracted, don't fail in the
4279 zero-length case.
4280 * testsuite/23_containers/bitset_ctor.cc (test02): New test.
4281
42822002-05-24 Benjamin Kosnik <bkoz@redhat.com>
4283
4284 PR libstdc++/6701
4285 * testsuite/22_locale/ctype_narrow_char.cc: New.
4286 * testsuite/22_locale/ctype_narrow_wchar_t.cc: New.
4287 * testsuite/22_locale/ctype_widen_char.cc: New.
4288 * testsuite/22_locale/ctype_widen_wchar_t.cc: New.
4289 * testsuite/22_locale/ctype_members_char.cc: Move some bits into...
4290 * testsuite/22_locale/ctype_is_char.cc: ...this.
4291 * testsuite/22_locale/ctype_to_char.cc: ...and this.
4292 * testsuite/22_locale/ctype_members_wchar_t.cc: Move some bits into...
4293 * testsuite/22_locale/ctype_is_wchar_t.cc: ...this.
4294 * testsuite/22_locale/ctype_to_wchar_t.cc: ...and this.
4295
4296 * testsuite/22_locale/ctype_scan_wchar_t.cc: Should pass.
4297
42982002-05-24 Dale Peakall <dale@peakall.net>
4299
4300 PR libstdc++/6701
4301 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_narrow): Fix.
4302 * config/locale/generic/ctype_members.cc: Same.
4303
43042002-05-24 Benjamin Kosnik <bkoz@redhat.com>
4305
4306 PR libstdc++/6750
4307 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
4308 for empty string literal.
4309 (ostream::operator<<(const _CharT*)): Same.
4310 (ostream<char>::operator<<(const char*)): Same.
4311 (ostream<char>::operator<<(streambuf*)): Same.
4312 * testsuite/27_io/ostream_inserter_char.cc (test08): Add tests.
4313 * testsuite/27_io/ostream_inserter_other.cc (test02): Modify.
4314
43152002-05-23 Benjamin Kosnik <bkoz@redhat.com>
4316
4317 * configure.in (release_VERSION): Update to 3.1.1.
4318 (libtool_VERSION): Update to 4:1:0.
4319 * configure: Regenerate.
4320
43212002-05-21 Phil Edwards <pme@gcc.gnu.org>
4322
4323 * include/bits/stl_pair.h: Tweak comment markup.
4324
43252002-05-21 Phil Edwards <pme@gcc.gnu.org>
4326
4327 * include/ext/stdio_filebuf.h: Add header guards. Doxygenate.
4328
43292002-05-21 Phil Edwards <pme@gcc.gnu.org>
4330
4331 * docs/doxygen/user.cfg.in (EXCLUDE): Add 'CVS'.
4332
43332002-05-21 Phil Edwards <pme@gcc.gnu.org>
4334
4335 * include/bits/stl_vector.h: Reformat to follow C++STYLE.
4336 Doxygenate all public members. Reorder to follow 14882.
4337 (vector::push_back(void)): Remove previously-deprecated fn.
4338 (vector::insert(iterator), vector::_M_insert_aux(iterator)):
4339 Deprecate for removal in 3.3.
4340
43412002-05-20 Phil Edwards <pme@gcc.gnu.org>
4342
4343 * docs/html/faq/index.html (5.4): Recommend against -I options for
4344 finding the ext headers.
4345 * docs/html/faq/index.txt: Regenerate.
4346
43472002-05-19 Paolo Carlini <pcarlini@unitus.it>
4348
4349 * testsuite/23_containers/deque_operators.cc (test01):
4350 Fix minor typo in last commit.
4351
43522002-05-18 Paolo Carlini <pcarlini@unitus.it>
4353
4354 PR libstdc++/6503
4355 * include/bits/stl_deque.h (_Deque_iterator::operator==,
4356 operator!=, operator<, operator>, operator>=, operator<=):
4357 Make non-member functions, to allow comparing const and
4358 non-const iterators in any order.
4359 * testsuite/23_containers/deque_operators.cc: New testfile.
4360
43612002-05-16 Phil Edwards <pme@gcc.gnu.org>
4362
4363 * docs/html/faq/index.html: Update not-a-bug list with basic_file.h.
4364 * docs/html/faq/index.txt: Regenerate.
4365
43662002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4367
4368 * Makefile.am: Allow for PWDCMD to override hardcoded pwd.
4369 * acinclude.m4: Likewise.
4370 * docs/html/Makefile: Likewise.
4371 * aclocal.m4: Regenerate.
4372 * configure: Regenerate.
4373 * Makefile.in: Regenerate.
4374
43752002-05-15 Loren J. Rittle <ljrittle@acm.org>
4376
4377 libstdc++/6641
4378 * include/bits/c++config (__USE_MALLOC): Report case where
4379 the user improperly defined it on the command line.
4380
43812002-05-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4382
4383 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit):
4384 Retrieve current limits before setting.
4385
43862002-05-15 Benjamin Kosnik <bkoz@redhat.com>
4387
4388 PR libstdc++/6518
4389 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
4390 for null case.
4391 (ostream::operator<<(const _CharT*)): Same.
4392 (ostream<char>::operator<<(const char*)): Same.
4393 * testsuite/27_io/ostream_inserter_char.cc (test07): Add test.
4394
43952002-05-15 Benjamin Kosnik <bkoz@redhat.com>
4396
4397 PR libstdc++/6594
4398 * src/strstream.cc (strstreambuf): Fix leak.
4399
44002002-05-15 Paolo Carlini <pcarlini@unitus.it>
4401
4402 PR libstdc++/6648
4403 * include/bits/istream.tcc (istream::getline, ignore):
4404 Upon __idelim (__delim) call sbumpc() not snextc().
4405 * testsuite/27_io/narrow_stream_objects.cc:
4406 Add test08 and test09.
4407
44082002-05-13 Benjamin Kosnik <bkoz@redhat.com>
4409
4410 * testsuite/22_locale/ctype_scan_char.cc: Tweak.
4411 * testsuite/22_locale/ctype_scan_wchar_t.cc: New.
4412
4413 * docs/html/install.html: Fix.
4414
44152002-05-13 Benjamin Kosnik <bkoz@redhat.com>
4416
4417 * include/bits/fstream.tcc
4418 (basic_filebuf::_M_allocate_internal_buffer): Remove extraneous
4419 try/catch blocks.
4420 * src/localename.cc (locale::_Impl::_M_install_facet): Same.
4421
4422 * docs/html/install.html: Tweak, add bits about required locales
4423 for the 22_locale tests when using the gnu model.
4424
4425 * testsuite/27_io/istream_sentry.cc: Tweak.
4426
44272002-05-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4428
4429 * config/os/irix/irix5.2/bits/ctype_inline.h (scan_is, scan_not):
4430 Fix typo, use this->is() rather than manually (and perhaps
4431 incorrectly) inlining it.
4432 * config/os/irix/irix6.5/bits/ctype_inline.h (scan_is, scan_not):
4433 Likewise.
4434 * testsuite/22_locale/ctype_scan_char.cc: New file.
4435
44362002-05-13 Paolo Carlini <pcarlini@unitus.it>
4437 Jakub Jelinek <jakub@redhat.com>
4438
4439 * testsuite/22_locale/money_get_members_char.cc
4440 (test01, test02, test04): Use the de_DE@euro named locale
4441 instead of de_DE to allow for an uniform behaviour with
4442 both old and Euro-era localedata; tweak some tests.
4443 * testsuite/22_locale/money_get_members_wchar_t.cc
4444 (test01, test02, test04): Likewise.
4445 * testsuite/22_locale/money_put_members_char.cc
4446 (test01, test02, test04): Likewise.
4447 * testsuite/22_locale/money_put_members_wchar_t.cc
4448 (test01, test02, test04): Likewise.
4449
44502002-05-13 Paolo Carlini <pcarlini@unitus.it>
4451
4452 * testsuite/22_locale/codecvt_members_char_char.cc
4453 (test03): Robustify wrt localedata.
4454 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Likewise.
4455 * testsuite/22_locale/collate_members_char.cc (test04): Likewise.
4456 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Likewise.
4457 * testsuite/22_locale/ctype_members_char.cc (test05): Likewise.
4458 * testsuite/22_locale/ctype_members_wchar_t.cc (test04): Likewise.
4459 * testsuite/22_locale/messages_members_char.cc (test03): Likewise.
4460 * testsuite/22_locale/money_get_members_char.cc (test08): Likewise.
4461 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Likewise.
4462 * testsuite/22_locale/money_put_members_char.cc (test07): Likewise.
4463 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Likewise.
4464 * testsuite/22_locale/moneypunct_members_char.cc (test03): Likewise.
4465 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Likewise.
4466 * testsuite/22_locale/num_get_members_char.cc (test06): Likewise.
4467 * testsuite/22_locale/num_get_members_wchar_t.cc (test06): Likewise.
4468 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
4469 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
4470 * testsuite/22_locale/numpunct_members_char.cc (test03): Likewise.
4471 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Likewise.
4472 * testsuite/22_locale/time_get_members_char.cc (test08): Likewise.
4473 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Likewise.
4474 * testsuite/22_locale/time_put_members_char.cc (test04): Likewise.
4475 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Likewise.
4476
44772002-05-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4478
4479 * config/os/irix/irix5.2/bits/os_defines.h: Revert 2002-05-06
4480 change.
4481
44822002-05-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
4483
4484 * config/os/gnu-linux/bits/os_defines.h (__glibcpp_long_bits): Define
4485 to 64 for hppa 64-bit port.
4486 (__glibcpp_long_double_bits): Define to 64 for all hppa ports.
4487
44882002-05-10 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4489
4490 * acinclude.m4 (enable_symvers): Quote $LD.
4491 * aclocal.m4: Regenerate.
4492 * configure: Likewise.
4493
44942002-05-09 Jakub Jelinek <jakub@redhat.com>
4495
4496 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Append all
4497 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
4498 LD_LIBRARY_PATH.
4499
45002002-05-08 Alexandre Oliva <aoliva@redhat.com>
4501
4502 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
4503 script entry, and set LD to it when configuring multilibs.
4504 * configure: Rebuilt.
4505
45062002-05-07 Mark Mitchell <mark@codesourcery.com>
4507
4508 * configure.in: Add support for WindISS.
4509 * configure: Regenerated.
4510 * configure.target: Add support for WindISS.
4511 * config/os/windiss/bits/ctype_base.h: New file.
4512 * config/os/windiss/bits/ctype_inline.h: Likewise.
4513 * config/os/windiss/bits/ctype_noninline.h: Likewise.
4514 * config/os/windiss/bits/os_defines.h: Likewise.
4515
45162002-05-06 Paolo Carlini <pcarlini@unitus.it>
4517
4518 Test all the facets for the temporary "C" locale switch issue.
4519 * testsuite/22_locale/codecvt_members_char_char.cc: Add test03.
4520 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
4521 * testsuite/22_locale/collate_members_char.cc: Add test04.
4522 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
4523 * testsuite/22_locale/ctype_members_char.cc: Add test05.
4524 * testsuite/22_locale/ctype_members_wchar_t.cc: Add test04.
4525 * testsuite/22_locale/messages_members_char.cc: Add test03.
4526 * testsuite/22_locale/money_get_members_char.cc: Add test08.
4527 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
4528 * testsuite/22_locale/money_put_members_char.cc: Add test07.
4529 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
4530 * testsuite/22_locale/moneypunct_members_char.cc: Add test03.
4531 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
4532 * testsuite/22_locale/num_get_members_char.cc: Add test06.
4533 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
4534 * testsuite/22_locale/numpunct_members_char.cc: Add test03.
4535 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
4536 * testsuite/22_locale/time_get_members_char.cc: Add test08.
4537 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
4538 * testsuite/22_locale/time_put_members_char.cc: Add test04.
4539 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
4540
4541 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
4542 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
4543
45442002-05-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4545
4546 * config/os/irix/irix5.2/bits/os_defines.h (_SGI_SOURCE,
4547 __EXTENSIONS__): Ensure they are always defined.
4548
45492002-05-06 Phil Edwards <pme@gcc.gnu.org>
4550
4551 * docs/html/documentation.html: Fix broken link.
4552
45532002-05-04 Benjamin Kosnik <bkoz@redhat.com>
4554 Paolo Carlini <pcarlini@unitus.it>
4555
4556 * testsuite/22_locale/num_put_members_char.cc: Add test04(),
4557 testing for the locale_facets.tcc entry of the previous commit.
4558 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
4559
45602002-05-04 Takeshi Kobayakawa <tskoba@mte.biglobe.ne.jp>
4561
4562 * config/locale/generic/c_locale.cc
4563 (__convert_to_v(float, double, long double)):
4564 Fix the temporary switch to the "C" locale, saving and
4565 restoring in the proper way the current locale.
4566 * config/locale/generic/time_members.cc
4567 (__timepunct<char, wchar_t>::_M_put): Likewise.
4568 * config/locale/gnu/messages_members.cc
4569 (messages<char>::do_get): Likewise.
4570 * config/locale/gnu/messages_members.h
4571 (messages<_CharT>::do_get): Likewise.
4572 * config/locale/gnu/time_members.cc
4573 (__timepunct<char, wchar_t>::_M_put): Likewise.
4574 * include/bits/locale_facets.tcc (__convert_from_v): Likewise.
4575
45762002-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4577
4578 * configure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h.
4579 * libsupc++/Makefile.am (LTCOMPILE): Add $(DEFS).
4580
4581 * Makefile.in, config.h.in, configure: Regenerate.
4582
45832002-05-03 Benjamin Kosnik <bkoz@redhat.com>
4584
4585 PR libstdc++/6549.
4586 * include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert.
4587 * testsuite/27_io/narrow_stream_objects.cc (test07): Add.
4588
45892002-05-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4590
4591 * config/os/irix/irix5.2/bits/ctype_noninline.h (classic_table):
4592 Return __ctype + 1.
4593 (ctype:_M_table): Initialize to classic_table(), not __ctype.
4594
45952002-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4596
4597 * configure.in: Update local install.html, configopts.html paths.
4598 * configure: Regenerate.
4599
46002002-05-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4601
4602 * config/os/irix/irix5.2/bits/os_defines.h
4603 (__glibcpp_long_double_bits, __glibcpp_long_bits): Define.
4604
4605 * config/os/irix/irix5.2/bits/ctype_inline.h: Cast to unsigned
4606 char.
4607
46082002-05-02 Phil Edwards <pme@gcc.gnu.org>
4609
4610 * docs/html/faq/index.html: Update list in #4.1.
4611 * docs/html/faq/index.txt: Regenerated.
4612
46132002-05-02 Benjamin Kosnik <bkoz@redhat.com>
4614
4615 * docs/html/17_intro/RELEASE-NOTES (New): Update.
4616
46172002-05-01 Phil Edwards <pme@gcc.gnu.org>
4618
4619 * include/std/std_bitset.h: Fix doxygen comments.
4620 * docs/html/documentation.html: Minor tweaks for 3.1.
4621 * docs/html/27_io/howto.html: Likewise.
4622 * docs/html/ext/howto.html: Likewise, mention stdio_filebuf.
4623 * docs/html/faq/index.html: Likewise.
4624 * docs/html/faq/index.txt: Regenerated.
4625
46262002-05-01 Benjamin Kosnik <bkoz@redhat.com>
4627
4628 PR libstdc++/6533
4629 * include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): New.
4630 (istreambuf_iterator::equal): Use it.
4631 (istreambuf_iterator::operator*): Use it.
4632
46332002-05-01 Paolo Carlini <pcarlini@unitus.it>
4634
4635 PR libstdc++/6513
4636 * include/bits/stl_uninitialized.h
4637 (uninitialized_copy(_InputIter, _InputIter, _ForwardIter)):
4638 Fix typo in 2001-07-17 commit: typedef _ValueType to
4639 iterator_traits<_ForwardIter> not <_InputIter>.
4640 * testsuite/23_containers/vector_ctor.cc: Add test04.
4641
46422002-04-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
4643
4644 PR libstdc++/6501
4645 * include/c_std/std_cctype.h: Include bits/c++config.h.
4646 * config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define.
4647
46482002-04-30 Benjamin Kosnik <bkoz@redhat.com>
4649
4650 * include/ext/stdio_filebuf.h: New file.
4651 * include/ext/enc_filebuf.h: New file.
4652 * config/io/basic_file_stdio.h (__basic_file::sys_open): Add fd ctor.
4653 * config/io/basic_file_stdio.cc: Same.
4654 * include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer):
4655 Remove _M_unbuf hacks.
4656 (filebuf::_M_destroy_internal_buffer): Same.
4657 (filebuf::filebuf(cfile, openmode, int_type): Remove definition.
4658 (filebuf::fd): Remove.
4659 * include/std/std_fstream.h (filebuf::_M_unbuf): Remove.
4660 (filebuf::filebuf(__c_file*, openmode, int_type)): Remove.
4661 (filebuf::fd): Remove.
4662 * src/ios.cc (ios_base::_S_ios_create): Change to use specialized
4663 filebufs.
4664 (ios_base::_S_ios_destroy): Same.
4665 * src/misc-inst.cc (file_filebuf<char>): Add instantiation.
4666 * include/Makefile.am (ext_headers): Add ext_filebuf.h,
4667 stdio_filebuf.h. * include/Makefile.in: Regenerate.
4668
46692002-04-30 Benjamin Kosnik <bkoz@redhat.com>
4670
4671 PR libstdc++/6511
4672 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Fix typo.
4673
46742002-04-29 Benjamin Kosnik <bkoz@redhat.com>
4675
4676 PR libstdc++/5820
4677 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
4678 Check for eof.
4679 * include/bits/streambuf_iterator.h: Match stream_iterator.h.
4680 (istreambuf_iterator::operator++): Invalidate on eof.
4681 (istreambuf_iterator::operator++(int)): Same.
4682 (istreambuf_iterator::operator*): Same.
4683
46842002-04-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4685
4686 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all
4687 of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH,
4688 LD_LIBRARY64_PATH.
4689
46902002-04-28 Benjamin Kosnik <bkoz@redhat.com>
4691
4692 PR libstdc++/5820
4693 * config/io/basic_file_stdio.h (__basic_file::sys_getc): Return int.
4694 (__basic_file::sys_ungetc): Take int.
4695 * config/io/basic_file_stdio.cc (__basic_file::sys_ungetc): Same.
4696 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
4697 Use sys_getc for unbuffered input.
4698 * testsuite/27_io/narrow_stream_objects.cc (test06): New.
4699
4700 * src/ios.cc (_M_grow_words): Adjust error checking.
4701 * testsuite/27_io/ios_base_storage.cc: Same.
4702
47032002-04-28 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4704
4705 * include/ext/stl_hashtable.h: Import __iterator_category
4706
47072002-04-28 Paolo Carlini <pcarlini@unitus.it>
4708 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4709
4710 * testsuite/ext/hash_set.cc: New testfile.
4711
47122002-04-27 Benjamin Kosnik <bkoz@redhat.com>
4713
4714 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
4715 _G_USING_THUNKS.
4716 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
4717 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
4718
47192002-04-26 Paolo Carlini <pcarlini@unitus.it>
4720
4721 * include/bits/basic_string.h (replace(__pos, __n1, __s, __n2):
4722 Fix and tighten __throw_length_error check.
4723 * testsuite/21_strings/replace.cc (test05): New.
4724 * testsuite/21_strings/replace.cc (test02, test03, test04): Tweak.
4725
47262002-04-23 Loren J. Rittle <ljrittle@acm.org>
4727
4728 * include/std/std_fstream.h (basic_filebuf::sync): Hoist
4729 unconditional flush on lower-layer handle to here...
4730 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow):
4731 ...from here. Optimize remaining _M_file.sync() call pattern.
4732 * testsuite/27_io/narrow_stream_objects.cc (test04): New test.
4733 (test05): Likewise.
4734
47352002-04-23 Jason Merrill <jason@redhat.com>
4736
4737 * include/bits/fstream.tcc (basic_filebuf::seekoff): Fix for
4738 output-only filebufs.
4739 * include/std/std_fstream.h (basic_filebuf::_M_set_indeterminate):
4740 Likewise.
4741 (basic_filebuf::_M_set_determinate): Likewise.
4742
4743 PR libstdc++/6414
4744 * include/bits/fstream.tcc (basic_filebuf::seekoff): Adjust return
4745 value properly in the trivial case.
4746 * testsuite/27_io/istream_seeks.cc (test04): Make sure that
4747 tellg() returns the right value after a read.
4748
47492002-04-23 Hans-Peter Nilsson <hp@bitrange.com>
4750
4751 * config/cpu/mmix/bits/cpu_limits.h: New file.
4752 * configure.target (CPULIMITSH): Use it.
4753
47542002-04-22 Loren J. Rittle <ljrittle@acm.org>
4755
4756 * docs/html/17_intro/porting.texi (_GLIBCPP_AVOID_FSEEK): Remove.
4757 * docs/html/17_intro/porting.html: Rebuilt.
4758
47592002-04-20 Jason Merrill <jason@redhat.com>
4760
4761 PR libstdc++/4150
4762 * include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate):
4763 Move to filebuf.
4764 (basic_streambuf::_M_set_determinate): Likewise.
4765 (basic_streambuf::_M_is_indeterminate): Likewise.
4766 * include/bits/std_fstream.h (basic_filebuf::_M_filepos): New
4767 non-static data member.
4768 (basic_filebuf::_M_underflow_common): New non-static member function.
4769 (basic_filebuf::_M_underflow, _M_uflow): Call it.
4770 (basic_filebuf::sync): Avoid useless seeking.
4771 (basic_filebuf::_M_set_indeterminate): Move here from streambuf.
4772 Set _M_filepos.
4773 (basic_filebuf::_M_set_determinate): Likewise.
4774 (basic_filebuf::_M_is_indeterminate): Likewise.
4775 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): Seek
4776 back to _M_out_beg if necessary.
4777 (basic_filebuf::seekoff): Likewise.
4778 (basic_filebuf::_M_underflow_common): Generalization of old
4779 underflow(). Don't seek back to _M_in_beg.
4780 * src/ios.cc: Lose _GLIBCPP_AVOID_FSEEK stuff.
4781 * config/os/solaris/solaris2.?/bits/os_defines.h: Likewise.
4782 * config/os/bsd/freebsd/bits/os_defines.h: Likewise.
4783 * config/os/mingw32/bits/os_defines.h: Likewise.
4784 * testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify
4785 ungetc test.
4786
47872002-04-22 Benjamin Kosnik <bkoz@redhat.com>
4788
4789 * include/bits/istream.tcc (istream::read): Fix.
4790 * testsuite/27_io/istream_unformatted.cc (main): Add.
4791
47922002-04-20 Benjamin Kosnik <bkoz@redhat.com>
4793
4794 PR libstdc++/6360
4795 * include/bits/istream.tcc (istream::ignore): Streamline, use
4796 delimiter as is.
4797 * include/bits/streambuf.tcc: Use this->gptr.
4798 * testsuite/27_io/istream_unformatted.cc (test08): Add test.
4799
48002002-04-18 Benjamin Kosnik <bkoz@redhat.com>
4801
4802 * include/bits/localefwd.h (locale::id::_M_id): Do this correctly,
4803 as type safety is important, especially on solaris.
4804 * include/bits/istream.tcc (istream::read): Clean.
4805 (istream::readsome): Same.
4806 * locale.cc: Wrap lines.
4807
4808 * testsuite/21_strings/inserters_extractors.cc: Tweaks.
4809 * testsuite/27_io/instantiations.cc (test): Add bool variable...
4810 * testsuite/21_strings/capacity.cc: Clean.
4811
48122002-04-17 Phil Edwards <pme@gcc.gnu.org>
4813
4814 * docs/doxygen/doxygroups.cc: New group on binary searching.
4815 * include/bits/stl_algo.h: Document binary searches and merges.
4816 * include/bits/stl_deque.h: The 'map' member is not the 'map' class.
4817
48182002-04-17 Phil Edwards <pme@gcc.gnu.org>
4819
4820 * docs/doxygen/mainpage.html: Doxygen logo is now a PNG file.
4821 * docs/doxygen/run_doxygen: Bump required version.
4822 * docs/doxygen/user.cfg.in: Revert accidental change.
4823 * docs/html/faq/index.html: Reindent a block of links.
4824 (4.4): New note on using dlsym.
4825 * docs/html/faq/index.txt: Regenerated.
4826
48272002-04-17 Phil Edwards <pme@gcc.gnu.org>
4828
4829 * testsuite_flags.in (cxxflags): Also pass @EXTRA_CXX_FLAGS@.
4830
48312002-04-17 Benjamin Kosnik <bkoz@redhat.com>
4832
4833 * config/linker-map.gnu (__malloc_alloc_template): Add.
4834 (__default_alloc_template): Same.
4835 * include/bits/stl_alloc.h (__malloc_alloc_template): Add extern
4836 template.
4837 (__default_alloc_template): Same.
4838
48392002-04-17 Benjamin Kosnik <bkoz@redhat.com>
4840
4841 * testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation.
4842
48432002-04-16 Benjamin Kosnik <bkoz@redhat.com>
4844
4845 * src/concept-inst.cc (vector<locale::facet*>): Remove instantiations.
4846 * src/stl-inst.cc (vector::_M_insert_aux): Remove instantiation.
4847 (__malloc_alloc_template): Conditionalize.
4848
4849 * include/bits/istream.tcc: Remove sputbackc calls.
4850
4851 * testsuite/19_diagnostics/stdexceptions.cc: Fix comment.
4852
48532002-04-16 Paolo Carlini <pcarlini@unitus.it>
4854
4855 * testsuite/24_iterators/rel_ops.cc: New test.
4856
48572002-04-16 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4858
4859 * include/bits/type_traits.h (__normal_iterator): Declare in
4860 __gnu_cxx. Adjust use at global namespace.
4861 * include/bits/stl_iterator.h (__normal_iterator): Move definition
4862 into __gnu_cxx::. Add more operator overloads. Tidy existing ones.
4863 * include/bits/basic_string.h (basic_string): Adjust use of
4864 __normal_iterator.
4865 * include/bits/stl_vector.h (_Alloc>): Likewise.
4866 * src/concept-inst.cc (__gnu_cxx): __normal_iterator<> is now here.
4867 * src/string-inst.cc (operator==): Instantiate in __gnu_cxx.
4868
48692002-04-15 Benjamin Kosnik <bkoz@redhat.com>
4870
4871 PR libstdc++/4164
4872 Valgrind fixes.
4873 * config/io/basic_file_stdio.cc (__basic_file::~__basic_file):
4874 Call close.
4875 (__basic_file::close): Call fflush. Correct return if fclose ok.
4876 (__basic_file::is_open): Make const.
4877 Change __c_file_type to __c_file.
4878 * config/io/basic_file_stdio.h: Change __c_file_type to __c_file.
4879 (__basic_file::is_open): Make const.
4880 * config/io/c_io_stdio.h: Change __c_file_type to __c_file.
4881 * include/std/std_fstream.h (filebuf::_M_allocate_file): Remove.
4882 (filebuf::_M_unbuf): Add.
4883 (filebuf::_M_file): Change to non-pointer.
4884 (filebuf::_M_allocate_pback_buffer): Remove.
4885 * include/bits/fstream.tcc (filebuf::_M_allocate_file): Remove.
4886 (filebuf::_M_allocate_internal_buffer): Use _M_unbuf.
4887 Change initialization list for _M_file change.
4888 (filebuf::_M_allocate_pback_buffer): Remove.
4889 Change _M_file usage to reflect non-pointer data member.
4890
4891 * config/locale/generic/c_locale.cc
4892 (locale::facet::_S_create_c_locale): Add parameter.
4893 * config/locale/generic/collate_members.cc: Change
4894 _M_compare_helper to _M_compare.
4895 Change _M_transform_helper to _M_transform.
4896 * config/locale/generic/monetary_members.cc: Changeup data types.
4897 Add dtors.
4898 * config/locale/generic/numeric_members.cc: Add dtors.
4899 * config/locale/generic/time_members.cc: Add dtors.
4900 * config/locale/gnu/c_locale.cc: Add parameter.
4901 * config/locale/gnu/collate_members.cc:Change
4902 _M_compare_helper to _M_compare.
4903 Change _M_transform_helper to _M_transform.
4904 * config/locale/gnu/ctype_members.cc: Better error checking.
4905 * config/os/gnu-linux/bits/ctype_noninline.h: Better error checking.
4906 * config/locale/gnu/messages_members.cc: Tweak comment.
4907 * config/locale/gnu/monetary_members.cc: Change data types.
4908 Add dtors.
4909 * config/locale/gnu/numeric_members.cc: Add dtors, better error
4910 checking.
4911 * config/locale/gnu/time_members.cc: Same.
4912 * config/locale/ieee_1003.1-2001/c_locale.cc
4913 (locale::facet::_S_create_c_locale): Add parameter.
4914 * config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef.
4915 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove
4916 bogus ctor.
4917
4918 * include/bits/locale_facets.h (moneypunct): Use string literals.
4919 Don't define dtor.
4920 (numpunct): Same.
4921 (__timepunct): Same.
4922 (locale::_Impl::_M_facets): Change from vector to array.
4923 (locale::_Impl::_M_names): Change from array of strings to array
4924 of string literals.
4925 (locale::facet::_S_create_c_locale): Add parameter.
4926 (locale::locale::_S_num_facets): Move to...
4927 (locale::_Impl::_M_facets_size): Here.
4928 * include/bits/locale_facets.tcc: Fixups for _M_facets, _M_name
4929 changes.
4930 * include/bits/localefwd.h: (locale::id::_M_id): Add member function.
4931 (locale::_Impl::_Impl(facet**, size_t, bool)): Add.
4932 (locale::_Impl::_Impl(string, size_t)): Change to
4933 (locale::_Impl::_Impl(const char*, size_t)): This.
4934
4935 * include/bits/streambuf.tcc (streambuf::_S_pback_size): Define.
4936 * include/std/std_streambuf.h (streambuf::_M_pback_size): Change to
4937 (streambuf::_S_pback_size): This.
4938
4939 * src/globals.cc: Add pre-allocations for "C" facets.
4940 * src/locale-inst.cc: Remove vector instantiations.
4941 * src/locale.cc: Remove vector include. Fixups for _M_names,
4942 _M_facets changes.
4943 * src/localename.cc: Same.
4944
4945 * include/bits/stl_vector.h: Fix odd formatting.
4946
4947 * include/bits/basic_string.tcc: Tweak comment.
4948
4949 * libsupc++/new: Make sure parameters are uglified.
4950 * libsupc++/typeinfo: Same.
4951
4952 * testsuite/22_locale/num_get_members_char.cc: Fixup.
4953 * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
4954 * testsuite/27_io/filebuf_members.cc: Same.
4955
49562002-04-12 Steve Ellcey <sje@cup.hp.com>
4957
4958 * gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h
4959 (strtoll, strtoull): In 64 bit mode HP-UX (IA64 and HPPA)
4960 does not define strtoll or strtoull, but does define strtol
4961 and strtoul which are the same since in 64 bit mode
4962 sizeof(long) == sizeof(long long).
4963
49642002-04-12 Phil Edwards <pme@gcc.gnu.org>
4965
4966 * include/std/std_bitset.h: Doxygenate std::bitset<>. Clean up
4967 trailing spaces, indentation, and macro names. Make exception
4968 messages more informative.
4969
49702002-04-11 Richard Henderson <rth@redhat.com>
4971
4972 * include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering.
4973 * include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same.
4974 (basic_ostream<>::operator<<(long long)): Same.
4975
49762002-04-11 Richard Henderson <rth@redhat.com>
4977
4978 * config/linker-map.gnu: Add __gxx_personality_sj0.
4979
49802002-04-09 Benjamin Kosnik <bkoz@redhat.com>
4981
4982 libstdc++/1072
4983 * include/bits/localefwd.h (locale::_Impl::_M_facets): Change from
4984 pointer to vector.
4985 Remove forward declaration of vector.
4986 Include vector.
4987 * include/bits/locale_facets.tcc: Remove vector include.
4988 (use_locale): Adjust.
4989 (has_locale): Adjust.
4990 * src/locale.cc: Adjust.
4991 * src/localename.cc: Same.
4992
49932002-04-09 Benjamin Kosnik <bkoz@redhat.com>
4994 Richard Henderson <rth@redhat.com>
4995
4996 * include/bits/sstream.tcc: Clean up bit ops.
4997 * include/bits/fstream.tcc: Same.
4998
49992002-04-09 Jakub Jelinek <jakub@redhat.com>
5000
5001 * include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove.
5002 (__num_base::_S_scale_oct): Remove.
5003 * src/locale.cc (__num_base::_S_scale_hex): Remove.
5004 (__num_base::_S_scale_oct): Remove.
5005
50062002-04-09 Benjamin Kosnik <bkoz@redhat.com>
5007
5008 libstdc++/6124
5009 * testsuite/23_containers/bitset_members.cc: New test.
5010 * include/std/std_bitset.h (_Bit_count::_S_bit_count): Move..
5011 (_S_bit_count): Here.
5012 (_First_one::_S_first_one): Move...
5013 (_S_first_one): Here.
5014 Format.
5015 * src/bitset.cc: Adjust.
5016 * config/linker-map.gnu: Export.
5017
50182002-04-08 Benjamin Kosnik <bkoz@redhat.com>
5019
5020 libstdc++/5180
5021 * include/bits/fstream.tcc (filebuf::seekpos): Fix.
5022 * include/std/std_fstream.h: Clean.
5023 * include/bits/ostream.tcc: Remove extraneous variables.
5024 * include/bits/sstream.tcc (stringbuf::seekoff): Be strict about
5025 open modes and which modes.
5026 (stringbuf::seekpos): Same.
5027 * testsuite/27_io/stringbuf_virtuals.cc: New tests.
5028
50292002-04-05 Jonathan Wakely <jw@kayari.org>
5030
5031 * include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy,
5032 random_shuffle, partition, stable_partition, sort, stable_sort,
5033 partial_sort, partial_sort_copy, nth_element): Doxygenate.
5034
50352002-04-05 David S. Miller <davem@redhat.com>
5036
5037 * config/os/gnu-linux/bits/os_defines.h
5038 (__glibcpp_long_double_bits): Set to 64 on 32-bit Sparc.
5039
50402002-04-04 Benjamin Kosnik <bkoz@redhat.com>
5041
5042 libstdc++/3457
5043 via gawrilow@math.tu-berlin.de
5044 * acinclude.m4 (version_specific_libs): Fix combo usage with
5045 --with-gxx-include-dir.
5046 * aclocal.m4: Regenerate.
5047 * configure: Same.
5048
50492002-04-03 Benjamin Kosnik <bkoz@redhat.com>
5050
5051 As per DR 184, libstdc++/3139
5052 * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1.
5053 (numeric_limits<bool>::is_iec559): False.
5054 (numeric_limits<bool>::is_modulo): False.
5055
5056 * testsuite/27_io/ios_init.cc: Add instantiations.
5057
50582002-04-02 Benjamin Kosnik <bkoz@redhat.com>
5059
5060 libstdc++/5268
5061 * src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
5062 * testsuite/27_io/ios_init.cc (tests04): Add test.
5063
5064 libstdc++/3983
5065 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
5066 (basic_ios::_M_ios_fctype): Consistently name to _M_fctype.
5067 * include/bits/basic_ios.tcc: Same. Remove outdated comments.
5068 * include/bits/istream.tcc: Use _M_fctype, make consistent with
5069 ostream.
5070 * testsuite/27_io/ios_init.cc (tests03): Add test.
5071
50722002-04-02 Phil Edwards <pme@gcc.gnu.org>
5073
5074 * include/Makefile.am (install-data-local): Use mkinstalldirs.
5075 * include/Makefile.in: Regenerate.
5076
50772002-04-02 Paolo Carlini <pcarlini@unitus.it>
5078 Nathan Myers <ncm@cantrip.org>
5079 Philip Martin <philip@codematters.co.uk>
5080
5081 * include/bits/basic_string.h
5082 (replace(i1, i2, _CharT* k1, _CharT* k2),
5083 replace(i2, i2, const _CharT* k1, const _CharT* k2),
5084 replace(i1, i2, iterator k1, iterator k2,
5085 replace(i1, i2, const_iterator k1, const_iterator k2):
5086 New specializations to optimize for the common cases of
5087 pointers and iterators.
5088 (replace(pos, n1, s, n2)): Tweak.
5089 * include/bits/basic_string.tcc: Tweak comments.
5090 * testsuite/21_strings/replace.cc (test04): New tests.
5091
50922002-04-01 Benjamin Kosnik <bkoz@redhat.com>
5093
5094 libstdc++/5542
5095 * acinclude: More extensive checks for msgfmt, --enable-nls.
5096 * aclocal.m4: Regenerate.
5097 * configure: Regenerate.
5098
50992002-04-01 Phil Edwards <pme@gcc.gnu.org>
5100
5101 * libsupc++/exception (__verbose_terminate_handler): Point to docs.
5102 * docs/doxygen/doxygroups.cc: Doxygen hooks for abi::__cxa_demangle.
5103 * docs/html/18_support/howto.html: Document the demangler.
5104 * docs/html/17_intro/howto.html: And link to it.
5105
5106 * docs/doxygen/mainpage.html: Describe user-vs-maintainer docs.
5107 * docs/doxygen/run_doxygen: Print user-vs-maintainer.
5108
51092002-04-01 Phil Edwards <pme@gcc.gnu.org>
5110
5111 * config/linker-map.gnu: Export __verbose_terminate_handler.
5112 * libsupc++/Makefile.am (sources): Add cxa_demangle.c, dyn-string.c.
5113 Make new LTCOMPILE variable, use it in new special build rules.
5114 * libsupc++/Makefile.in: Rebuild.
5115 * src/vterminate.cc (__verbose_terminate_handler): Enable use of
5116 runtime __cxa_demangle.
5117
5118 * docs/html/install.html: Update prereqs and instructions.
5119 * docs/html/19_diagnostics/howto.html: Bring naming for
5120 verbose_terminate_handler into line with reality.
5121
51222002-04-01 Benjamin Kosnik <bkoz@redhat.com>
5123
5124 libstdc++/3129
5125 * include/bits/basic_ios.h (basic_ios::_M_exception): Move.
5126 (basic_ios::_M_streambuf_state): Move.
5127 * include/bits/ios_base (ios_base): To here.
5128 * include/bits/ios_base.h (ios_base::_S_local_words): To
5129 _S_local_word_size.
5130 (ios_base::_M_word_array): To _M_local_word.
5131 (ios_base::_M_words_limit): To _M_word_size.
5132 (ios_base::_M_words): To _M_word.
5133 Comment.
5134 * include/bits/basic_ios.tcc: Adjust.
5135 * src/ios.cc (ios_base::_M_grow_words): Tweak.
5136 * testsuite/27_io/ios_base_storage.cc: Add tests.
5137
5138 libstdc++/5207
5139 Kenny Simpson <theonetruekenny@yahoo.com>
5140 * include/bits/ios_base.h: Fix.
5141
5142 Richard Henderson <rth@redhat.com>
5143 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
5144 last change.
5145
5146 * include/bits/basic_string.h: Tweak formatting.
5147
51482002-04-01 Paolo Carlini <pcarlini@unitus.it>
5149
5150 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
5151 (codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
5152 By definition, sizeof(char) == 1.
5153 * include/bits/locale_facets.tcc (money_get::do_get,
5154 money_put::do_put): Ditto.
5155 * testsuite/21_strings/inserters_extractors.cc
5156 (test04): Ditto.
5157
51582002-03-30 Richard Henderson <rth@redhat.com>
5159
5160 PR c++/3719
5161 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler
5162 data out of the exception struct before calling unexpectedHandler.
5163
51642002-03-28 Roger Sayle <roger@eyesopen.com>
5165
5166 * include/c_std/std_cmath.h: To prevent problems overloading
5167 g++ builtins, use the double variants from the global namespace
5168 before defining float and long double variants in std::.
5169
51702002-03-28 Loren J. Rittle <ljrittle@acm.org>
5171
5172 * testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
5173
51742002-03-28 Paolo Carlini <pcarlini@unitus.it>
5175
5176 * testsuite/24_iterators/istream_iterator.cc
5177 (test02): New tests.
5178
51792002-03-28 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5180 Paolo Carlini <pcarlini@unitus.it>
5181
5182 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
5183 (test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
5184 fix i_lit_base e_lit_base arrays, making them independent
5185 from the endianness of the platform; tweak UCS4 to UCS-4BE.
5186
51872002-03-27 Benjamin Kosnik <bkoz@redhat.com>
5188
5189 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
5190 allocate at least a byte.
5191
5192 * testsuite/18_support/numeric_limits.cc (test_extrema): Make
5193 debugger-friendly.
5194 * testsuite/27_io/streambuf.cc (test07): Fix.
5195 (test06): Enable.
5196
51972002-03-27 Phil Edwards <pme@gcc.gnu.org>
5198
5199 * docs/doxygen/Intro.3: Date tweak.
5200 * docs/doxygen/TODO: Update.
5201 * docs/doxygen/doxygroups.cc: Point to tables.html.
5202 * docs/doxygen/mainpage.html: Date tweak.
5203 * docs/doxygen/run_doxygen: Version tweak. Copy tables.html over.
5204 * docs/doxygen/tables.html: Fill in the blanks.
5205
5206 * docs/doxygen/user.cfg.in (ALIASES): Remove maint and endmaint.
5207 * include/bits/stl_algo.h: Likewise; use expanded form.
5208 * include/bits/stl_alloc.h: Likewise.
5209 * include/bits/stl_construct.h: Likewise.
5210 * include/bits/stl_deque.h: Likewise.
5211 * include/bits/stl_iterator_base_types.h: Likewise.
5212 * include/bits/stl_list.h: Likewise.
5213 * include/bits/stl_relops.h: Likewise.
5214 * include/bits/stl_tempbuf.h: Likewise.
5215 * include/bits/stl_vector.h: Likewise.
5216 * include/std/std_memory.h: Likewise.
5217
5218 * include/bits/stl_deque.h: Point into tables.html and add @ingroup.
5219 * include/bits/stl_list.h: Likewise.
5220 * include/bits/stl_vector.h: Likewise.
5221
52222002-03-26 Benjamin Kosnik <bkoz@redhat.com>
5223
5224 * include/c/: Guard with _CPP_.
5225 * include/c_std/: Same.
5226 * include/Makefile.am: Fixup install, link routines for null
5227 c_base_headers_extra scenarios.
5228 * include/Makefile.in: Regerate.
5229
52302002-03-25 Paolo Carlini <pcarlini@unitus.it>
5231 Richard Henderson <rth@redhat.com>
5232
5233 * testsuite/22_locale/codecvt_members_unicode_char.cc
5234 (test01, test02): make sure that the i_lit_base array
5235 is sufficiently aligned.
5236
52372002-03-25 Benjamin Kosnik <bkoz@redhat.com>
5238
5239 * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
5240 _ctype_.
5241
52422002-03-25 Paolo Carlini <pcarlini@unitus.it>
5243
5244 * testsuite/22_locale/collate_byname.cc
5245 (test01): compare the result of collate::compare with
5246 that of collate::transform + string::compare, not with
5247 that of collate::transform + collate::compare; values
5248 returned by collate::compare are normalized, therefore
5249 test against +-1.
5250
52512002-03-25 Benjamin Kosnik <bkoz@redhat.com>
5252 Jakub Jelinek <jakub@redhat.com>
5253
5254 * config/locale/gnu/messages_members.h: Correct conditional.
5255 * config/locale/gnu/messages_members.cc: Same.
5256 * config/locale/gnu/time_members.cc: Same.
5257
52582002-03-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5259 Paolo Carlini <pcarlini@unitus.it>
5260
5261 * testsuite/22_locale/codecvt_members_unicode_char.cc
5262 (test01, test02): Fix i_lit_base arrays, making them
5263 independent from the endianness of the platform.
5264
52652002-03-22 Benjamin Kosnik <bkoz@redhat.com>
5266
5267 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
5268 signbit and __signbit directly.
5269 * aclocal.m4: Regenerate.
5270 * configure: Regenerate.
5271 * config.h.in: Regenerate.
5272 * libmath/Makefile.am: Simplify.
5273 * libmath/Makefile.in: Regenerate.
5274 * include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
5275
5276 * include/Makefile.am: Clean up handling of extra "C" header files.
5277 Add hooks for "C" compatibility headers.
5278 * include/Makefile.in: Regenerate.
5279
5280 * include/c/*: Formatting tweaks, cleanups.
5281 * include/c_std/*: Same.
5282
52832002-03-22 Benjamin Kosnik <bkoz@redhat.com>
5284
5285 * config/locale/gnu/messages_members.h: Add __uselocale bits.
5286 * config/locale/gnu/messages_members.cc: Same.
5287 * config/locale/gnu/time_members.cc: Same.
5288
52892002-03-22 Benjamin Kosnik <bkoz@redhat.com>
5290
5291 * src/vterminate.cc: Format, -fno-exceptions cleanup.
5292
52932002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
5294
5295 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
5296 (GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
5297 * aclocal.m4: Regenerate.
5298 * configure: Likewise.
5299
53002002-03-19 Paolo Carlini <pcarlini@unitus.it>
5301 Ulrich Drepper <drepper@redhat.com>
5302
5303 * src/locale-inst.cc (__convert_from_v): Add an additional
5304 __size parameter in the declarations.
5305 * include/bits/locale_facets.tcc
5306 (__convert_from_v): When available (that is,
5307 _GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
5308 (num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
5309 being defined or not, call and use __convert_from_v in the
5310 appropriate way.
5311 (num_put::_M_convert_int): Same here.
5312 (money_put::do_put(long double)): Same here.
5313
53142002-03-19 Phil Edwards <pme@gcc.gnu.org>
5315
5316 * docs/html/faq/index.html (#3.6): Rewrap and close <a href> tags.
5317 * docs/html/faq/index.txt: Regenerate.
5318
53192002-03-19 Steve Ellcey <sje@cup.hp.com>
5320
5321 * acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
5322 GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
5323 --enable-libunwind-exceptions is set.
5324 * configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
5325 macro to check for libunwind.
5326 * configure: Regenerate.
5327 * src/Makefile.am (libstdc___la_LDFLAGS): Add
5328 LIBUNWIND_FLAG to libstdc link line.
5329 * src/Makefile.in: Regenerate.
5330
53312002-03-19 Benjamin Kosnik <bkoz@redhat.com>
5332
5333 * docs/html/faq/index.html: Add OS X workaround.
5334 * docs/html/17_intro/TODO: Update.
5335
53362002-03-18 Paolo Carlini <pcarlini@unitus.it>
5337
5338 * include/bits/locale_facets.tcc
5339 (money_put::do_put(long double)): Fix dimensioning of
5340 temporary buffers to avoid risk of overruns.
5341 (money_put::do_put(string)): Same for the buffer used to
5342 add the grouping chars.
5343 * testsuite/22_locale/money_put_members_char.cc: Add test06.
5344 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
5345
5346 * include/bits/locale_facets.tcc
5347 (collate::do_transform): Simplify.
5348
53492002-03-18 Phil Edwards <pme@gcc.gnu.org>
5350
5351 * acinclude.m4 (GLIBCPP_CONFIGURE): Make indentation/spacing uniform.
5352 * configure.in: Add comments pointing the way for autoconf 2.5x.
5353 * aclocal.m4, config.h.in, configure: Regenerate.
5354
53552002-03-18 Philipp Thomas <pthomas@suse.de>
5356
5357 * include/backward/hash_map.h: hash, hashtable, hash_map and
5358 hash_multimap are in namespace __gnu_cxx.
5359 include/backward/hash_set.h: hash, hashtable, hash_set and
5360 hash_multiset are in namespace __gnu_cxx.
5361 include/backward/hashtable.h: hash and hashtable are in
5362 namespace __gnu_cxx.
5363 include/backward/rope.h: char_producer, sequence_buffer,
5364 rope, crope and wrope are in namespace __gnu_cxx.
5365 include/backward/slist.h: slist is in namespace __gnu_cxx.
5366 * testsuite/backward/header_hash_map_h.cc
5367 testsuite/backward/header_hash_set_h.cc
5368 testsuite/backward/header_hashtable_h.cc
5369 testsuite/backward/header_rope_h.cc
5370 testsuite/backward/header_slist_h.cc
5371 testsuite/backward/header_tempbuf_h.cc: New tests for
5372 checking that we're using the correct namespace.
5373
53742002-03-17 Jason Merrill <jason@redhat.com>
5375
5376 PR c++/4381
5377 * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
5378 (check_exception_spec): Call it. Take the thrown pointer.
5379 (__cxa_call_unexpected): Pass it.
5380 (PERSONALITY_FUNCTION): Likewise. Use get_adjusted_ptr.
5381
53822002-03-15 Anthony Green <green@redhat.com>
5383
5384 * configure.in: Remove useless is_mingw32.
5385 * configure: Rebuilt.
5386
53872002-03-15 Paolo Carlini <pcarlini@unitus.it>
5388
5389 * testsuite/22_locale/collate_members_char.cc
5390 (test01): compare the result of collate::compare with
5391 that of collate::transform + string::compare, not with
5392 that of collate::transform + collate::compare.
5393 (test01): values returned by collate::compare are
5394 normalized, therefore test against +-1.
5395 * testsuite/22_locale/collate_members_wchar_t.cc: Ditto.
5396
53972002-03-12 Loren Rittle <ljrittle@acm.org>
5398
5399 reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5400 * testsuite/thread/pthread4.cc: Lower nominal iteration counter.
5401
54022002-03-12 Benjamin Kosnik <bkoz@redhat.com>
5403 Per Liboriussen <liborius@stofanet.dk>
5404
5405 * config/os/gnu-linux/bits/ctype_noninline.h: Cast to
5406 unsigned char.
5407 * config/os/gnu-linux/bits/ctype_inline.h: Same.
5408
5409 * config/os/irix/irix6.5/bits/ctype_inline.h: Same.
5410
5411 * config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
5412 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
5413
5414 * config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
5415 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
5416
5417 * config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
5418 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
5419
5420 * testsuite/22_locale/ctype_members_char.cc (main): Add tests.
5421
54222002-03-12 Benjamin Kosnik <bkoz@redhat.com>
5423
5424 * include/bits/basic_string.tcc (string::_S_construct(_InIter,
5425 _InIter, const _Alloc&, forward_iterator_tag): Check for null.
5426 (string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
5427 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
5428 that memory limits are in place.
5429 (test03): Add tests.
5430
54312002-03-11 Benjamin Kosnik <bkoz@redhat.com>
5432
5433 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
5434 * aclocal.m4: Regenerate.
5435 * config.h.in: Regenerate.
5436 * configure: Regenerate.
5437 * include/c_std/std_cwctype.h: Guard.
5438
54392002-03-11 Chris Demetriou <cgd@broadcom.com>
5440
5441 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
5442 whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
5443 * aclocal.m4: Regenerate.
5444 * configure: Regenerate.
5445
54462002-03-11 Benjamin Kosnik <bkoz@redhat.com>
5447
5448 * include/bits/stl_bvector.h: Fix warning.
5449
54502002-03-11 Richard Henderson <rth@redhat.com>
5451
5452 * include/bits/stl_bvector.h (_Bit_type): New. Use throughout.
5453
54542002-03-11 Phil Edwards <pme@gcc.gnu.org>
5455
5456 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
5457 New function. Build the list of tests to run in testsuite_files.
5458 * testsuite/libstdc++-v3.dg/dg.exp: Use it.
5459
54602002-03-11 Phil Edwards <pme@gcc.gnu.org>
5461
5462 * testsuite/21_strings/capacity.cc: Only explicitly instantiate on
5463 platforms with no weak support.
5464 * testsuite/27_io/ios_init.cc: Likewise.
5465
54662002-03-10 Paolo Carlini <pcarlini@unitus.it>
5467
5468 * include/bits/locale_facets.tcc (time_put::do_put):
5469 Consider sizeof(char_type) in allocating the buffer.
5470
5471 * include/bits/locale_facets.tcc (collate::do_tranform):
5472 Remove redundant variable.
5473
54742002-03-10 Ulrich Drepper <drepper@redhat.com>
5475 Paolo Carlini <pcarlini@unitus.it>
5476
5477 * config/locale/generic/collate_members.cc
5478 (collate<char,wchar_t>::_M_compare_helper): normalize
5479 values returned by strcoll and wcscoll.
5480 * config/locale/gnu/collate_members.cc
5481 (collate<char,wchar_t>::_M_compare_helper): ditto
5482 for __strcoll_l and __wcscoll_l.
5483
54842002-03-10 Anthony Green <green@redhat.com>
5485
5486 * configure.in: Support cross builds to mingw32 target.
5487 * configure: Rebuilt.
5488
54892002-03-09 Paolo Carlini <pcarlini@unitus.it>
5490
5491 * include/bits/locale_facets.tcc (collate::do_transform):
5492 Rewrite to fix problems with long transformed strings.
5493
54942002-03-08 Benjamin Kosnik <bkoz@redhat.com>
5495
5496 * c_locale_generic.cc: Move to...
5497 * generic/c_locale.cc
5498 * c_locale_generic.h: Move to...
5499 * generic/c_locale.h
5500 * codecvt_specializations_generic.h: Move to...
5501 * generic/codecvt_specializations.h
5502 * collate_members_generic.cc: Move to...
5503 * generic/collate_members.cc
5504 * ctype_members_generic.cc: Move to...
5505 * generic/ctype_members.cc
5506 * messages_members_generic.cc: Move to...
5507 * generic/messages_members.cc
5508 * messages_members_generic.h: Move to...
5509 * generic/messages_members.h
5510 * moneypunct_members_generic.cc: Move to...
5511 * generic/monetary_members.cc
5512 * numpunct_members_generic.cc: Move to...
5513 * generic/numeric_members.cc
5514 * time_members_generic.cc: Move to...
5515 * generic/time_members.cc
5516 * c_locale_gnu.cc: Move to...
5517 * gnu/c_locale.cc
5518 * c_locale_gnu.h: Move to...
5519 * gnu/c_locale.h
5520 * collate_members_gnu.cc: Move to...
5521 * gnu/collate_members.cc
5522 * ctype_members_gnu.cc: Move to...
5523 * gnu/ctype_members.cc
5524 * messages_members_gnu.cc: Move to...
5525 * gnu/messages_members.cc
5526 * messages_members_gnu.h: Move to...
5527 * gnu/messages_members.h
5528 * moneypunct_members_gnu.cc: Move to...
5529 * gnu/monetary_members.cc
5530 * numpunct_members_gnu.cc: Move to...
5531 * gnu/numeric_members.cc
5532 * time_members_gnu.cc: Move to...
5533 * gnu/time_members.cc
5534 * c_locale_ieee_1003.1-200x.cc: Move to...
5535 * ieee_1003.1-2001/c_locale.cc
5536 * c_locale_ieee_1003.1-200x.h: Move to...
5537 * ieee_1003.1-2001/c_locale.h
5538 * codecvt_specializations_ieee_1003.1-200x.h: Move to...
5539 * ieee_1003.1-2001/codecvt_specializations.h
5540 * messages_members_ieee_1003.1-200x.cc: Move to...
5541 * ieee_1003.1-2001/messages_members.cc
5542 * messages_members_ieee_1003.1-200x.h: Move to...
5543 * ieee_1003.1-2001/messages_members.h
5544
5545 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
5546 * aclocal.m4: Regenerate.
5547 * configure: Regenerate.
5548 * src/Makefile.am (sources): Change to monetary and numeric.
5549 * src/Makefile.in: Regenerate.
5550 * docs/html/configopts.html: Update to ieee_1003.1-2001.
5551
55522002-03-08 scott snyder <snyder@fnal.gov>
5553
5554 libstdc++/5875
5555 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
5556 Allow one more digit of precision.
5557 * testsuite/27_io/ostream_inserter_arith.cc: Test that we can
5558 write a double and read back in the same value.
5559
55602002-03-08 Benjamin Kosnik <bkoz@redhat.com>
5561
5562 * include/std/std_limits.h: Move static const data members out of
5563 generic template, into base class __numeric_limits_base.
5564 * src/limits.cc: Add definitions.
5565 * config/linker-map.gnu: Add __numeric_limits_base.
5566 * testsuite/18_support/numeric_limits.cc: Declare test in scope.
5567
55682002-03-07 Benjamin Kosnik <bkoz@redhat.com>
5569
5570 * include/bits/stl_alloc.h: Add extern implicit allocator
5571 instantiations.
5572 * include/bits/basic_string.tcc: Tweak.
5573 * include/bits/locale_facets.tcc: Remove default args. Add
5574 has_facet, use_facet extern instantiations.
5575 * src/stl-inst.cc: Add explicit instantiation.
5576 * src/locale-inst.cc: Clean. Remove locale member template
5577 instantiations.
5578
5579 * testsuite/22_locale/operators.cc (test02): Enable.
5580
55812002-03-06 Benjamin Kosnik <bkoz@redhat.com>
5582 Stephen M. Webb <stephen.webb@bregmasoft.com>
5583
5584 * include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
5585 (_S_rb_tree_black): Make enum.
5586 Clean. Format.
5587 * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
5588 * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
5589 (__stl_threshold): _M_threshold, enum.
5590 * src/stl-inst.cc: Same.
5591 * config/linker-map.gnu: Remove.
5592
5593 * testsuite/23_containers/vector_bool.cc: New.
5594
55952002-03-06 Phil Edwards <pme@gcc.gnu.org>
5596
5597 * docs/doxygen/user.cfg.in: Also document deprecated entries.
5598 * docs/html/Makefile: Example rule to rebuild porting-howto.html.
5599 * docs/html/17_intro/howto.html: "gcc"->"GCC" changes, when
5600 referring to the collection as a whole. New section on which macros
5601 can be redefined by the user.
5602 * docs/html/19_diagnostics/howto.html: Update note for concepts.
5603 * docs/html/20_util/howto.html: Update link to SGI.
5604 * docs/html/faq/index.html: Update snapshot versions. New entry
5605 on why g++ (but not gcc) must currently predefine certain macros.
5606 * docs/html/faq/index.txt: Regenerated.
5607
5608 * include/bits/basic_string.h (basic_string::_S_construct): Fix
5609 names in declaration.
5610 (basic_string::compare): These are no longer optional.
5611 * include/bits/ostream.tcc: Tweak closing brace placement.
5612 * include/bits/stl_algo.h: Lots of initial doxygen comment hooks.
5613 * include/std/std_sstream.h: Fix typo in comment.
5614 * include/bits/locale_facets.tcc: Remove unneeded header inclusion.
5615 * src/locale.cc: Likewise.
5616
56172002-03-06 Phil Edwards <pme@gcc.gnu.org>
5618
5619 PR libstdc++/5734
5620 * include/bits/stl_vector.h (vector::push_back()): Guard with
5621 _GLIBCPP_DEPRECATED.
5622
56232002-03-06 Phil Edwards <pme@gcc.gnu.org>
5624
5625 * include/bits/c++config: Fix misplaced leading blanks on first line.
5626
56272002-03-05 Benjamin Kosnik <bkoz@redhat.com>
5628
5629 * docs/html/17_intro/RELEASE-NOTES: Fix usage.
5630 * README (libmath): Make clear.
5631
56322002-03-05 Jakub Jelinek <jakub@redhat.com>
5633
5634 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
5635 script globbing in ld.
5636 * aclocal.m4: Rebuilt.
5637 * configure: Rebuilt.
5638
56392002-03-05 Benjamin Kosnik <bkoz@redhat.com>
5640
5641 * docs/html/17_intro/RELEASE-NOTES: Update.
5642 * README: Format subdirectories.
5643
56442002-03-05 Paolo Carlini <pcarlini@unitus.it>
5645
5646 libstdc++/5816
5647 * include/bits/locale_facets.tcc
5648 (num_get::_M_extract_float): Fix the parsing of __dec, since
5649 the standard prescribes that if no grouping characters are
5650 seen, no grouping check is applied.
5651 * testsuite/22_locale/num_get_members_char.cc: Add test05
5652 distilled from the PR.
5653 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
5654
56552002-03-04 Craig Rodrigues <rodrigc@gcc.gnu.org>
5656
5657 * docs/html/17_intro/porting-howto.xml: Refer to
5658 http://www.oasis-open.org for docbookx.dtd.
5659 * docs/html/17_intro/porting-howto.html: Regenerated.
5660
56612002-03-03 Phil Edwards <pme@gcc.gnu.org>
5662
5663 PR libstdc++/3955
5664 * include/std/std_sstream.h: Remove trailing spaces.
5665 (basic_stringbuf::_M_stringbuf_init): Also check for ios_base::app.
5666 * testsuite/27_io/stringbuf.cc (test05, test06): New tests.
5667
56682002-03-02 Paolo Carlini <pcarlini@unitus.it>
5669
5670 * testsuite/22_locale/num_get_members_char.cc (test04):
5671 Use a named locale expecting grouping (de_DE).
5672 * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
5673 Ditto.
5674 * testsuite/27_io/ios_manip_basefield.cc (test01):
5675 Extend coverage, uniform treatment of hexs and octs.
5676
56772002-02-28 Richard Henderson <rth@redhat.com>
5678
5679 * config/linker-map.gnu: Export operator new with unsigned long,
5680 and with std::nothrow_t. Likewise operator delete.
5681
56822002-02-28 Paolo Carlini <pcarlini@unitus.it>
5683
5684 * include/bits/locale_facets.tcc (num_get::_M_extract_int):
5685 Admit grouping for octals and hexadecimals too.
5686 * testsuite/22_locale/num_get_members_char.cc: Add test04.
5687 (test01): Tweak "." -> "," in void* test.
5688 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
5689
5690 * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
5691 * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
5692
56932002-02-27 Paolo Carlini <pcarlini@unitus.it>
5694
5695 * testsuite/27_io/ios_manip_basefield.cc (test01):
5696 Fix for 64 bit machines.
5697
56982002-02-26 Benjamin Kosnik <bkoz@redhat.com>
5699
5700 libstdc++/3983
5701 * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
5702 Adjust comment.
5703 * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
5704 (basic_ios::_M_fill_init): New.
5705 (basic_ios::fill()): Delay dealing with _M_fill.
5706 Adjust comment.
5707 * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
5708 (ios_base::_M_call_callbacks): Adjust.
5709 * testsuite/27_io/ios_init.cc (test02): Adjust testcase.
5710
57112002-02-26 Loren Rittle <ljrittle@acm.org>
5712
5713 * include/Makefile.am (thread_target_headers): Unconditionally
5714 stage and install gthr-posix.h.
5715 (${target_builddir}/gthr-posix.h): New rule cloned off
5716 ${target_builddir}/gthr-default.h.
5717 (${target_builddir}/gthr-default.h): Support chained inclusion
5718 of gthr support headers.
5719 * include/Makefile.in: Rebuilt.
5720
57212002-02-26 Paolo Carlini <pcarlini@unitus.it>
5722
5723 * include/bits/locale_facets.tcc (num_put::_M_widen_int):
5724 Group all the integral types, not only decs.
5725 * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
5726 tests, add a few more.
5727
57282002-02-25 Benjamin Kosnik <bkoz@redhat.com>
5729
5730 * src/ios.cc (ios_base::~ios_base): Tweak.
5731 (ios_base::_M_call_callbacks): Deal with null __p.
5732 (ios_base::ios_base): Set _M_callbacks.
5733 * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
5734 * testsuite/27_io/ios_init.cc (test02): Fix.
5735
5736 * mkcheck.in (static_fail): Failed links go to output file.
5737
57382002-02-25 Phil Edwards <pme@gcc.gnu.org>
5739
5740 * docs/html/faq/index.html: Update.
5741 * docs/html/faq/index.txt: Regenerate.
5742
57432002-02-22 Phil Edwards <pme@gcc.gnu.org>
5744
5745 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Fix comment.
5746 * aclocal.m4: Regenerate.
5747 * docs/html/configopts.html: Document --enable-symvers.
5748 * config/linker-map.gnu: Break libsupc++ symbols out to their own tag.
5749
57502002-02-22 Philipp Thomas <pthomas@suse.de>
5751
5752 * include/backward/tempbuf.h: get_temporary_buffer and
5753 return_temporary_buffer are in namespace std, not in __gnu_cxx.
5754
57552002-02-21 Benjamin Kosnik <bkoz@redhat.com>
5756
5757 * configure.in (target_alias): Default to yes.
5758 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
5759 libgcc to default case.
5760
57612002-02-20 Phil Edwards <pme@gcc.gnu.org>
5762
5763 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Also check version.
5764 (GLIBCPP_ENABLE_SYMVERS): Redo logic, use linker version.
5765 * configure.in (GLIBCPP_ENABLE_SYMVERS): Move later in the script.
5766 * aclocal.m4: Regenerate.
5767 * configure: Regenerate.
5768 * config/linker-map.dummy: New file. Contains nothing useful.
5769
57702002-02-20 Benjamin Kosnik <bkoz@redhat.com>
5771
5772 * testsuite/22_locale/money_put_members_char.cc: Fix.
5773 * testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
5774
5775 * testsuite/27_io/standard_manipulators.cc: New file.
5776
5777 * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
5778 * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
5779
57802002-02-20 Danny Smith <dannysmith@users.sourceforge.net>
5781
5782 * config/os/mingw32/bits/ctype_noninline.h
5783 (ctype<char>::ctype): Remove default args from parm list.
5784 * config/os/djgpp/bits/ctype_noninline.h: Same.
5785
57862002-02-19 Benjamin Kosnik <bkoz@redhat.com>
5787
5788 * include/std/std_iomanip.h: Inline, tweaks.
5789 * config/linker-map.gnu: Remove hacks.
5790
5791 * testsuite/21_strings/capacity.cc: Add explicit instantiations.
5792 * testsuite/27_io/ios_init.cc: Same.
5793 * testsuite/22_locale/money_get_members_char.cc (test07): Fix.
5794 * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
5795
57962002-02-19 Benjamin Kosnik <bkoz@redhat.com>
5797
5798 * config/linker-map.gnu: Export global vtable, typeinfo, guard
5799 variable, and thunk info as per CXXABI docs.
5800
58012002-02-19 Loren Rittle <ljrittle@acm.org>
5802
5803 * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
5804 * include/Makefile.in: Rebuilt.
5805
58062002-02-18 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5807
5808 * testsuite/22_locale/collate_byname.cc (test01): Replace size4
5809 with size3 for the string collations of str5.
5810
58112002-02-18 Paolo Carlini <pcarlini@unitus.it>
5812
5813 libstdc++/5708
5814 * include/bits/locale_facets.tcc (money_put::do_put):
5815 For the space field use __fill instead of ' ', uniformly.
5816 * testsuite/22_locale/money_put_members_char.cc:
5817 Add test05 distilled from PR.
5818 (test01-02-03): Trim some '*' to ' '.
5819 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
5820
58212002-02-18 Loren Rittle <ljrittle@acm.org>
5822
5823 libstdc++/5697
5824 * include/Makefile.am (thread_builddir): Remove (map all
5825 existing uses to target_builddir).
5826 (thread_headers): Rename to...
5827 (thread_target_headers): ...this.
5828 (stamp-thread): Remove.
5829 (stamp-target): Correctly state the position as built.
5830 Update all dependencies to match the new reality. Remove all
5831 dependency calculations on directories.
5832 * include/Makefile.in: Rebuilt.
5833
58342002-02-16 Benjamin Kosnik <bkoz@redhat.com>
5835
5836 * include/bits/locale_facets.tcc: Add pragma GCC system_header.
5837 * include/bits/fstream.tcc: Same.
5838 * include/bits/sstream.tcc: Same.
5839 * include/bits/ostream.tcc: Same.
5840 * include/bits/istream.tcc: Same.
5841 * include/bits/streambuf.tcc: Same.
5842 * include/bits/basic_ios.tcc: Same.
5843 * include/bits/basic_string.tcc: Same.
5844
58452002-02-15 Benjamin Kosnik <bkoz@redhat.com>
5846
5847 * include/std/std_iosfwd.h: Don't guard typedefs with
5848 _GLIBCPP_USE_WCHAR_T
5849 * include/bits/stringfwd.h: Same.
5850
58512002-02-15 Benjamin Kosnik <bkoz@redhat.com>
5852
5853 * src/locale.cc (moneypunct_byname): Remove definitions.
5854 * include/std/std_streambuf.h (streambuf::operator=): Return.
5855
58562002-02-15 Benjamin Kosnik <bkoz@redhat.com>
5857
5858 Tune for size.
5859 * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
5860 explicit instantiation.
5861 (string::_Rep::_S_max_size): Same.
5862 * include/bits/basic_string.tcc: Add extern explicit
5863 instantiations for string, wstring.
5864 * include/bits/basic_ios.tcc: Add extern explicit instantiations
5865 for ios, wios.
5866 * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
5867 * include/bits/istream.tcc: Same, for istream, wistream.
5868 * include/bits/ostream.tcc: Same for ostream, wostream, iostream,
5869 wiostream.
5870 * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
5871 istringstream, wistringstream, ostringstream, wostringstream,
5872 stringstream, wstringstream.
5873 * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
5874 wifstream, ofstream, wofstream, fstream, wfstream.
5875 * src/misc-inst.cc: Correct comments.
5876 Add iomanip instantiations for wide streams.
5877 * include/std/std_iomanip.h: Same.
5878 * include/bits/locale_facets.tcc: Same.
5879
5880 * include/std/std_streambuf.h: Correct
5881 _GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
5882 * include/std/std_sstream.h: Same.
5883 * include/std/std_ostream.h: Same.
5884 * include/std/std_istream.h: Same.
5885 * include/std/std_fstream.h: Same.
5886
5887 * include/std/std_streambuf.h: Add definitions for private copy
5888 ctor and assignment operator.
5889 * include/std/std_istream.h: Remove declared but undefined copy
5890 ctor and assignment operator. This is taken care of in ios_base,
5891 so adding it in the derived class as well is superfluous.
5892 * include/std/std_ostream.h: Same.
5893
5894 * include/bits/basic_ios.h (basic_ios::clear): Don't inline.
5895 * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
5896
58972002-02-14 Benjamin Kosnik <bkoz@redhat.com>
5898
5899 * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
5900 Add typeinfo bits. Smooth.
5901 * aclocal.m4: Regenerate.
5902 * configure: Same.
5903 * src/Makefile.in: Same.
5904
59052001-02-14 Joel Sherrill <joel@OARcorp.com>
5906
5907 * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
5908 which do not have a CAS instruction.
5909
59102002-02-14 Phil Edwards <pme@gcc.gnu.org>
5911
5912 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): New macro, initial revision.
5913 * configure.in: Call it.
5914 * config/linker-map.gnu: New file, initial incomplete revision.
5915 * src/Makefile.am: Optionally pass version script to the linker.
5916 * aclocal.m4: Regenerate.
5917 * configure: Regenerate.
5918 * src/Makefile.in: Regenerate.
5919
59202002-02-13 Benjamin Kosnik <bkoz@redhat.com>
5921
5922 * src/localename.cc: Remove stdexcept include.
5923 * src/locale-inst.cc: Same.
5924 * src/locale.cc: Same.
5925 * src/functexcept.cc: Remove string includes.
5926 * include/std/std_bitset.h: Remove stdexcept include.
5927 * testsuite/23_containers/bitset_members.cc: Add stdexcept.
5928 * testsuite/23_containers/bitset_ctor.cc: Same.
5929
59302002-02-11 Benjamin Kosnik <bkoz@redhat.com>
5931
5932 * include/bits/stl_algo (__stl_threshold): Declare external.
5933 (__stl_chunk_size): Same.
5934 * include/bits/stl_bvector.h (__WORD_BIT): Same.
5935 * include/bits/stl_tree.h (_S_rb_tree_red): Same.
5936 (_S_rb_tree_black): Same.
5937 * src/stl-inst.cc (__stl_threshold): Define.
5938 (__stl_chunk_size): Same.
5939 (__WORD_BIT): Same.
5940 (_S_rb_tree_red): Same.
5941 (_S_rb_tree_black): Same.
5942
5943 * config/io/basic_file_libio.h (__basic_file): Add declarations.
5944 * include/bits/basic_file.h: Remove.
5945 * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
5946 Declare generic types, specialization.
5947 * config/io/basic_file_stdio.cc: Definitions.
5948 * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
5949 Declare generic types.
5950 * include/Makefile.am (bits_headers): Remove basic_file.h.
5951 (extra_target_headers): Change basic_file_model.h to basic_file.h.
5952 (stamp-target): Same.
5953
5954 * include/bits/stl_alloc.h: Tweaks.
5955 * include/bits/localefwd.h: Same.
5956
59572002-02-11 Aaron W LaFramboise <AWLaFramboise@aol.com>
5958
5959 * include/bits/locale_facets.tcc (collate::do_hash): Fix.
5960 * testsuite/22_locale/collate_members_char.cc (test03): New test.
5961 * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
5962
59632002-02-10 Phil Edwards <pme@gcc.gnu.org>
5964
5965 * include/bits/stl_algo.h (transform (both signatures), generate_n):
5966 Use __typeof__ in concept checks.
5967
59682002-02-10 Jonathan Wakely <cow@compsoc.man.ac.uk>
5969
5970 * include/bits/stl_algo.h (__median, for_each, find, find_if,
5971 adjacent_find, count, count_if, search, search_n, swap_ranges,
5972 transform, replace, replace_if, replace_copy, replace_copy_if,
5973 generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
5974 unique, unique_copy, reverse, reverse_copy): Doxygenate.
5975
59762002-02-08 Benjamin Kosnik <bkoz@redhat.com>
5977
5978 * include/bits/locale_facets.h
5979 (numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
5980 (__timepunct<_CharT>::_M_initialize_timepunct): Same.
5981 (__timepunct<_CharT>::_M_put_helper): Same.
5982 (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
5983
5984 * include/bits/fstream.tcc (filebuf::underflow): Remove
5985 __codecvt_type typedef.
5986 (filebuf::_M_convert_to_external): Same.
5987
59882002-02-08 Phil Edwards <pme@gcc.gnu.org>
5989
5990 * docs/doxygen/TODO: Update.
5991 * docs/doxygen/doxygroups.cc: Tweak __gnu_cxx description.
5992 * docs/doxygen/mainpage.html: Add TODO list link.
5993 * docs/doxygen/user.cfg.in: Add @doctodo hook.
5994 * docs/doxygen/tables.html: New file, emoty structure only.
5995
5996 * include/bits/stl_iterator.h: Doxygenate just about everything.
5997 * include/bits/stl_iterator_base_funcs.h: Ditto, clean up spaces.
5998 * include/bits/stl_iterator_base_types.h: Add notes.
5999
60002002-02-07 Stephan Buys <sbproxy@icon.co.za>
6001
6002 * include/bits/stl_map.h: Tweak doxygen markup.
6003 * include/bits/stl_multimap.h: Doxygenate and remove extra spaces.
6004 * include/bits/stl_vector.h: Likewise.
6005
60062002-02-07 Benjamin Kosnik <bkoz@redhat.com>
6007
6008 libstdc++/5286
6009 libstdc++/3860
6010 * include/std/std_fstream.h (filebuf::__file_type): Change to
6011 __basic_file<char>.
6012 (filebuf::_M_convert_to_external): Declare.
6013 * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
6014 codecvt bits for wide streams.
6015 (filebuf::_M_really_overflow): Use it.
6016 (filebuf::underflow): Use codecvt.
6017 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
6018 (codecvt<__enc_traits>::do_out): Deal with partial.
6019 (codecvt<__enc_traits>::do_encoding): Return something useful.
6020 * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
6021 wchar_t.
6022 * testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
6023 Change expected encoding output.
6024 (test02): Same.
6025 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
6026 (test02): Same.
6027
60282002-02-07 Benjamin Kosnik <bkoz@redhat.com>
6029 Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de>
6030
6031 * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
6032 (basic_ios::widen): Same.
6033
60342002-02-07 Paolo Carlini <pcarlini@unitus.it>
6035
6036 * testsuite/22_locale/money_get_members_char.cc:
6037 Add comment, tidy up.
6038 (test01): more "en_HK" tests (without showbase).
6039 * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
6040
60412002-02-06 Loren Rittle <ljrittle@acm.org>
6042
6043 * config/locale/c_locale_generic.cc: Do not trust
6044 _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
6045 set by configure.
6046
60472002-02-06 Loren Rittle <ljrittle@acm.org>
6048
6049 * acinclude.m4: Add C++ linkage check for strtof.
6050 * aclocal.m4: Rebuilt.
6051 * config.h.in: Rebuilt.
6052 * configure: Rebuilt.
6053 * config/locale/c_locale_generic.cc: Conditionally include
6054 <ieeefp.h>. Improve handling and error checking of float
6055 and long double input for non-C99 configurations.
6056
60572002-02-06 Paolo Carlini <pcarlini@unitus.it>
6058
6059 * include/bits/locale_facets.tcc (money_get::do_get(string)):
6060 In case money_base::symbol deal properly with multi-char sign
6061 for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
6062 * testsuite/22_locale/money_get_members_char.cc: Add test07.
6063 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
6064
60652002-02-05 Paolo Carlini <pcarlini@unitus.it>
6066
6067 * include/bits/locale_facets.tcc (money_get::do_get(string)):
6068 First construct a tentative returned string, then, only if the
6069 parsing succeeds, copy it into the string passed by reference.
6070 * testsuite/22_locale/money_get_members_char.cc: Add test06.
6071 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
6072
60732002-02-04 Phil Edwards <pme@gcc.gnu.org>
6074
6075 * docs/doxygen/TODO: Impl-defined behavior now documented...
6076 * docs/html/17_intro/howto.html: ...here.
6077 * docs/doxygen/mainpage.doxy: Remove, rename...
6078 * docs/doxygen/mainpage.html: ...to this. Tweak HTML, add license.
6079 * docs/doxygen/style.css: Add small text.
6080 * docs/doxygen/run_doxygen: Adjust for new mainpage.
6081 * docs/doxygen/user.cfg.in: Likewise.
6082
60832002-02-04 Stephan Buys <sbproxy@icon.co.za>
6084
6085 * include/bits/stl_map.h: Initial doxygen markup.
6086 * include/std/std_fstream.h: Initial doxygen markup.
6087
60882002-02-04 Paolo Carlini <pcarlini@unitus.it>
6089
6090 libstdc++/5579
6091 * include/bits/locale_facets.tcc (money_get::do_get(string)):
6092 Deal correctly with !(__io.flags() & ios_base::showbase)
6093 for case money_base::symbol.
6094 * testsuite/22_locale/money_get_members_char.cc: Add test05.
6095 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
6096
60972002-02-02 Paolo Carlini <pcarlini@unitus.it>
6098
6099 * testsuite/22_locale/operators.cc
6100 (gnu_collate::do_compare()): Add return statement to
6101 suppress "no return statement" warning.
6102
61032002-02-01 Paolo Carlini <pcarlini@unitus.it>
6104
6105 * testsuite/27_io/ostream_manip.cc: Enable test02.
6106
61072002-02-01 Phil Edwards <pme@gcc.gnu.org>
6108
6109 * docs/html/documentation.html: Update for 3.0.96.
6110 * docs/html/faq/index.html: Update for 3.0.96.
6111 * docs/html/faq/index.txt: Regenerated.
6112 * docs/doxygen/TODO: Update notes.
6113 * docs/html/17_intro/howto.html: Initial impl-specific listing.
6114
61152002-01-31 Benjamin Kosnik <bkoz@redhat.com>
6116
6117 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
6118 Initialize all data members in copy ctor. Make ctors explicit.
6119 (__enc_traits::__enc_traits()): Default ctor does nothing.
6120 (__enc_traits::_M_init): Guard against multiple iconv_opens.
6121 * include/std/std_sstream.h (basic_stringbuf): Make data members
6122 protected.
6123 * include/std/std_fstream.h (basic_filebuf): Same.
6124 * include/std/std_streambuf.h: Tweak.
6125 * include/bits/streambuf.tcc: Same.
6126 * include/bits/sstream.tcc: Same.
6127 * include/bits/fstream.tcc: Same.
6128
61292002-01-31 Loren Rittle <ljrittle@acm.org>
6130
6131 * testsuite/22_locale/codecvt_members_char_char.cc: Do not
6132 allow NULL argument to be passed to setenv().
6133 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
6134 * testsuite/22_locale/collate_members_char.cc: Likewise.
6135 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
6136 * testsuite/22_locale/ctype_members_char.cc: Likewise.
6137 * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
6138 * testsuite/22_locale/messages_members_char.cc: Likewise.
6139 * testsuite/22_locale/money_get_members_char.cc: Likewise.
6140 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
6141 * testsuite/22_locale/money_put_members_char.cc: Likewise.
6142 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
6143 * testsuite/22_locale/moneypunct_members_char.cc: Likewise.
6144 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
6145 * testsuite/22_locale/num_get_members_char.cc: Likewise.
6146 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
6147 * testsuite/22_locale/num_put_members_char.cc: Likewise.
6148 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
6149 * testsuite/22_locale/numpunct_members_char.cc: Likewise.
6150 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
6151 * testsuite/22_locale/time_get_members_char.cc: Likewise.
6152 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
6153 * testsuite/22_locale/time_put_members_char.cc: Likewise.
6154 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
6155
61562002-01-30 Benjamin Kosnik <bkoz@redhat.com>
6157
6158 * config/locale/c_locale_gnu.cc: Same errno fixes as generic.
6159
6160 * ChangeLog-2001: Fix spelling errors...
6161 * docs/html/17_intro/RELEASE-NOTES: Update.
6162 * docs/html/17_intro/TODO: Update.
6163 * README (file): Update.
6164
61652002-01-30 Loren Rittle <ljrittle@acm.org>
6166
6167 * config/locale/c_locale_generic.cc: Check errno for ERANGE
6168 instead of non-zero to aid portability.
6169
61702002-01-30 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
6171
6172 * docs/html/22_locale/messages.html: Fix example code.
6173
61742002-01-30 Richard Henderson <rth@redhat.com>
6175
6176 * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
6177 out from test03 and templatize.
6178 (test03): Use it.
6179
61802002-01-30 Paolo Carlini <pcarlini@unitus.it>
6181
6182 * config/locale/numpunct_members_gnu.cc
6183 (numpunct<char, wchar_t>::_M_initialize_numpunct()):
6184 Fix initialization of _M_grouping for locales which have
6185 _M_thousands_sep == '\0'(L'\0', respectively).
6186 * testsuite/22_locale/numpunct_byname.cc (test02): Add test.
6187
61882002-01-30 Paolo Carlini <pcarlini@unitus.it>
6189
6190 * testsuite/27_io/ostream_inserter_arith.cc (test03):
6191 Better fix for 32/64 bit architectures, avoiding the
6192 implicit assumption that CHAR_BIT == 8.
6193
61942002-01-28 Phil Edwards <pme@gcc.gnu.org>
6195
6196 * Makefile.am (doxygen, doxygen-maint, doxygen-man): Tweak targets.
6197 * Makefile.in: Regenerate.
6198
6199 * docs/doxygen/run_doxygen: Update, mostly for man pages.
6200 * docs/doxygen/Intro.3: Update.
6201 * docs/doxygen/TODO: Update.
6202 * docs/doxygen/doxygroups.cc: Add namespace hook for __gnu_cxx.
6203 * docs/doxygen/mainpage.doxy: Update.
6204 * docs/doxygen/user.cfg.in: Update for header rename. Also
6205 regenerate comments and variables with 1.2.12.
6206 * docs/doxygen/maint.cfg.in: Remove file.
6207
6208 * include/bits/stl_relops.h: Doxygenate.
6209 * include/bits/stl_tempbuf.h (std::_Temporary_buffer): Likewise.
6210
6211 * include/c_std/std_cassert.h, include/c_std/std_cctype.h,
6212 include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
6213 include/c_std/std_ciso646.h, include/c_std/std_climits.h,
6214 include/c_std/std_clocale.h, include/c_std/std_cmath.h,
6215 include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
6216 include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
6217 include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
6218 include/c_std/std_cstring.h, include/c_std/std_ctime.h,
6219 include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
6220 include/ext/algorithm, include/ext/functional, include/ext/hash_map,
6221 include/ext/hash_set, include/ext/iterator, include/ext/memory,
6222 include/ext/numeric, include/ext/rb_tree, include/ext/rope,
6223 include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
6224 include/ext/stl_hashtable.h, include/ext/stl_rope.h,
6225 include/std/std_algorithm.h, include/std/std_bitset.h,
6226 include/std/std_complex.h, include/std/std_deque.h,
6227 include/std/std_fstream.h, include/std/std_functional.h,
6228 include/std/std_iomanip.h, include/std/std_ios.h,
6229 include/std/std_iosfwd.h, include/std/std_iostream.h,
6230 include/std/std_istream.h, include/std/std_iterator.h,
6231 include/std/std_limits.h, include/std/std_list.h,
6232 include/std/std_locale.h, include/std/std_map.h,
6233 include/std/std_memory.h, include/std/std_numeric.h,
6234 include/std/std_ostream.h, include/std/std_queue.h,
6235 include/std/std_set.h, include/std/std_sstream.h,
6236 include/std/std_stack.h, include/std/std_stdexcept.h,
6237 include/std/std_streambuf.h, include/std/std_string.h,
6238 include/std/std_utility.h, include/std/std_valarray.h,
6239 include/std/std_vector.h: Add/correct @file doxygen hook.
6240
6241 * include/ext/memory: Doxygenate most of rest of file.
6242 * libsupc++/exception: Doxygen output formatting.
6243 * libsupc++/new: Say which header it is.
6244
6245 * testsuite/lib/libstdc++-v3-dg.exp: Fix spacing.
6246 * docs/html/19_diagnostics/howto.html: Describe concept-checks switch.
6247 * docs/html/23_containers/howto.html: Describe O(n) list::size().
6248 * docs/html/27_io/howto.html: Also link to Langer and Kreft text.
6249
62502002-01-28 Paolo Carlini <pcarlini@unitus.it>
6251 Charles Leggett <CGLeggett@lbl.gov>
6252
6253 * testsuite/27_io/filebuf_members.cc (test_05): Add test.
6254
62552002-01-28 Paolo Carlini <pcarlini@unitus.it>
6256
6257 * testsuite/27_io/ostream_inserter_arith.cc (test03):
6258 Fix to deal correctly with both 32 bit and 64 bit architectures
6259
62602002-01-25 Loren Rittle <ljrittle@acm.org>
6261
6262 * testsuite/thread/pthread1.cc: Use one condition variable
6263 per predicate instead of tricky use of one condition variable.
6264
62652002-01-25 Benjamin Kosnik <bkoz@redhat.com>
6266
6267 * include/bits/fstream.tcc (filebuf::close()): Fix close for input
6268 streams.
6269 (filebuf::_M_really_overflow): Match indeterminate and sync calls.
6270 * testsuite/27_io/filebuf.cc: Compile only.
6271 * testsuite/27_io/filebuf_members.cc: Move tests to here.
6272 * testsuite/27_io/filebuf_virtuals.cc: And here.
6273 Revert sungetc, sync changes for expected values.
6274 * testsuite/27_io/filebuf-*: Move to...
6275 * testsuite/27_io/filebuf_virtuals-*: ...here.
6276 * testsuite/27_io/istream.cc: Compile only, activate.
6277 * testsuite/27_io/ostream.cc: Same.
6278 * testsuite/27_io/iostream.cc: New.
6279 * testsuite/27_io/iostream_members.cc: New.
6280
62812002-01-25 David Billinghurst <David.Billinghurst@riotinto.com>
6282
6283 * testsuite/thread/pthread1.cc: Enable on cygwin.
6284 * testsuite/thread/pthread2.cc: Likewise.
6285 * testsuite/thread/pthread3.cc: Likewise.
6286 * testsuite/thread/pthread4.cc: Likewise.
6287 * testsuite/thread/pthread5.cc: Likewise.
6288 * testsuite/thread/pthread6.cc: Likewise.
6289
62902002-01-24 Benjamin Kosnik <bkoz@redhat.com>
6291
6292 * testsuite/27_io/ostream_inserter_char.cc (test07): New.
6293
62942002-01-24 Benjamin Kosnik <bkoz@redhat.com>
6295
6296 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
6297 const, tweak.
6298 (basic_ios::fill(char_type)): Use fill().
6299 * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
6300 (basic_ios::narrow): Same.
6301 (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
6302 if they are invalid.
6303 (basic_ios::init): Comment.
6304 * testsuite/27_io/ios_init.cc (test02): New.
6305
63062002-01-24 Phil Edwards <pme@gcc.gnu.org>
6307
6308 * include/bits/stl_tempbuf.h (_Temporary_buffer): Add doxygen hook.
6309 * include/bits/stl_algo.h: Include stl_tempbuf.h.
6310 * include/ext/memory: Do not include stl_tempbuf.h.
6311 (temporary_buffer): Add doxygen hook.
6312 (__get_temporary_buffer, get_temporary_buffer,
6313 return_temporary_buffer): Move back to std:: header...
6314 * include/std/std_memory.h: ...here. Do not include stl_tempbuf.h.
6315 * include/ext/rope: Do not include stl_tempbuf.h.
6316 * include/ext/stl_hashtable.h: Likewise.
6317 * include/std/std_algorithm.h: Likewise.
6318 * testsuite/20_util/temporary_buffer.cc: New file.
6319
63202002-01-24 andrew@andypo.net
6321 (tweaks, test and commit by Loren J. Rittle <ljrittle@acm.org>)
6322
6323 libstdc++/5432
6324 * include/bits/ios_base.h: Use _Atomic_word for reference counts.
6325 * include/bits/localefwd.h: Likewise.
6326 Also use for std::locale::id::_S_highwater.
6327 * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
6328 * src/locale.cc: Support new usage of _Atomic_word.
6329 (std::locale::classic): Guard entire function against reentry.
6330 * src/localename.cc: Support new usage of _Atomic_word.
6331
63322002-01-24 Benjamin Kosnik <bkoz@redhat.com>
6333
6334 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
6335 _GLIBCPP_HAVE_SETENV.
6336 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
6337 * testsuite/22_locale/collate_members_char.cc (test02): Same.
6338 * testsuite/22_locale/ctype_members_char.cc (test03): Same.
6339 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
6340 * testsuite/22_locale/messages_members_char.cc (test02): Same.
6341 * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
6342 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
6343 * testsuite/22_locale/money_put_members_char.cc (test04): Same.
6344 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
6345 * testsuite/22_locale/num_get_members_char.cc (test03): Same.
6346 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
6347 * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
6348 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
6349 * testsuite/22_locale/time_get_members_char.cc (test07): Same.
6350 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
6351 * testsuite/22_locale/time_put_members_char.cc (test03): Same.
6352 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
6353 * testsuite/22_locale/num_put_members_char.cc (test03): Same.
6354 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
6355 * aclocal.m4: Regenerate.
6356 * configure: Regenerate.
6357 * config.h.in: Regenerate.
6358
63592002-01-23 Loren Rittle <ljrittle@acm.org>
6360
6361 * testsuite/thread/pthread1.cc: New test.
6362 * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
6363 * testsuite/thread/pthread3.cc: Likewise.
6364 * testsuite/thread/pthread4.cc: New test adapted from
6365 http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
6366 * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
6367 * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
6368
63692002-01-23 Richard Henderson <rth@redhat.com>
6370
6371 PR libstdc++/5198
6372 * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
6373 CAS on the cpu variants that support it. Add versions that use
6374 TAS and that disable interrupts.
6375 (__atomic_add): Use __exchange_and_add to guarantee atomicity.
6376
63772002-01-23 Matt Kraai <kraai@alumni.cmu.edu>
6378
6379 * include/bits/locale_facets.tcc: Remove old comments.
6380
63812002-01-23 Andreas Tobler <toa@pop.agri.ch>
6382
6383 * include/bits/locale_facets.tcc (__convert_to_v): Change template
6384 parameter to _Tv.
6385 (__convert_from_v): Same.
6386
63872002-01-23 Benjamin Kosnik <bkoz@redhat.com>
6388
6389 * include/bits/locale_facets.h (num_get::_M_extract_int): Change
6390 prototype.
6391 * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
6392 __max_digits checks, adjust arguments.
6393 (num_get::do_get(*)): Changeup.
6394
63952002-01-23 Loren Rittle <ljrittle@acm.org>
6396
6397 * config/locale/c_locale_generic.cc: Fix typename usage.
6398
63992002-01-22 Benjamin Kosnik <bkoz@redhat.com>
6400
6401 * config/locale/c_locale_generic.cc: Fix.
6402
64032002-01-22 Benjamin Kosnik <bkoz@redhat.com>
6404
6405 * docs/html/22_locale/messages.html: Remove angle brackets.
6406 * docs/html/17_intro/TODO: Add.
6407
64082002-01-22 Paolo Carlini <pcarlini@unitus.it>
6409
6410 * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
6411 * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
6412 * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
6413 * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
6414
64152002-01-22 Benjamin Kosnik <bkoz@redhat.com>
6416
6417 Audit for LANG independence.
6418 * include/bits/localefwd.h: Tweaks.
6419 * include/bits/locale_facets.tcc (money_get::do_get(long double)):
6420 Use __convert_to_v.
6421 (time_get::do_get_year): Same.
6422 (__convert_from_v): Add.
6423 (num_put::_M_convert_float): Use.
6424 (num_put::_M_convert_int): Same.
6425 (money_put::do_put): Same.
6426
6427 * src/locale-inst.cc: Add instantiations for __convert_from_v.
6428 * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
6429 * config/locale/time_members_generic.cc:
6430 * config/locale/messages_members_gnu.cc: Same.
6431 * config/locale/messages_members_gnu.h: Same.
6432
6433 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
6434 * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
6435 * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
6436 * testsuite/22_locale/collate_members_char.cc (test02): New.
6437 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
6438 * testsuite/22_locale/ctype_members_char.cc (test03): New.
6439 * testsuite/22_locale/messages_members_char.cc (test02): New.
6440 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
6441 * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
6442 * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
6443 * testsuite/22_locale/money_get_members_char.cc (test04): New.
6444 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
6445 * testsuite/22_locale/money_put_members_char.cc (test04): New.
6446 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
6447 * testsuite/22_locale/numpunct_members_char.cc (test02): New.
6448 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
6449 * testsuite/22_locale/time_put_members_char.cc (test03): New.
6450 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
6451 * testsuite/22_locale/time_get_members_char.cc (test07): New.
6452 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
6453 * testsuite/22_locale/num_get_members_char.cc (test03): New.
6454 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
6455 * testsuite/22_locale/num_put_members_char.cc (test03): New.
6456
6457 * testsuite/22_locale/time_get_members_char.cc: Fixups for global
6458 locale issues.
6459 * testsuite/22_locale/time_get_members_char.cc: Same.
6460
64612002-01-22 Benjamin Kosnik <bkoz@redhat.com>
6462
6463 libstdc++/5280
6464 * include/bits/localefwd.h: Tweak comments.
6465 * include/bits/locale_facets.h (__convert_to_v): Add.
6466 * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
6467 (num_get::do_get(float)): Same.
6468 (num_get::do_get(long double)): Same.
6469 (num_get::do_get(bool)): Same.
6470 (num_get::do_get(long)): Same.
6471 (num_get::do_get(long long)): Same.
6472 (num_get::do_get(unsigned int)): Same.
6473 (num_get::do_get(unsigned short)): Same.
6474 (num_get::do_get(unsigned long)): Same.
6475 (num_get::do_get(unsigned long long)): Same.
6476 * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
6477 * config/locale/c_locale_generic.cc: Same.
6478
64792002-01-22 Loren Rittle <ljrittle@acm.org>
6480
6481 * include/Makefile.am (c_base_builddir): Remove redundant slash.
6482 (std_builddir): Likewise.
6483 (std_headers_rename): Fix cut-n-paste typo.
6484 (install-data-local): Concat path per element instead of once to
6485 first element of list.
6486 * include/Makefile.in: Rebuilt.
6487
64882002-01-22 Benjamin Kosnik <bkoz@redhat.com>
6489
6490 * config/os/aix/bits/ctype_noninline.h: Fix formatting.
6491 * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
6492 * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
6493
64942002-01-20 Benjamin Kosnik <bkoz@redhat.com>
6495
6496 * include/bits/locale_facets.h (ctype<char>::classic_table):
6497 Remove definition.
6498 (ctype<char>::_S_ctable): Remove.
6499 * config/os/gnu-linux/bits/ctype_noninline.h
6500 (ctype<char>::_S_table): Remove definition.
6501 (ctype<char>::classic_table): Define.
6502 (ctype<char>::ctype): Replace _S_ctable with classic_table().
6503 * config/os/aix/bits/ctype_noninline.h: Same.
6504 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
6505 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
6506 * config/os/djgpp/bits/ctype_noninline.h: Same.
6507 * config/os/generic/bits/ctype_noninline.h: Same.
6508 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
6509 * config/os/hpux/bits/ctype_noninline.h: Same.
6510 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
6511 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
6512 * config/os/mingw32/bits/ctype_noninline.h: Same.
6513 * config/os/newlib/bits/ctype_noninline.h: Same.
6514 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
6515 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
6516 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
6517
65182002-01-20 Danny Smith <dannysmith@users.sourceforge.net>
6519
6520 * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
6521 of _pctype. Use to define _S_ctable. Add definition for alternate
6522 ctor. Initialise _M_ctable to _S_ctable in ctors.
6523 (do_toupper, do_tolower): Use inline code appropriate for C-locale
6524 rather than ::toupper, ::tolower.
6525
65262002-01-18 Loren Rittle <ljrittle@acm.org>
6527
6528 * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
6529 Add specialization for FreeBSD systems only to avoid losing test
6530 only due to extra precision unmentioned in system headers.
6531
65322002-01-18 David Billinghurst <David.Billinghurst@riotinto.com>
6533
6534 * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
6535
65362002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
6537
6538 * testsuite/testsuite_hooks.h: Fix comment typo. Memory
6539 limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
6540
65412002-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
6542
6543 * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
6544
65452002-01-17 David Edelsohn <edelsohn@gnu.org>
6546
6547 * configure.target: Define OPT_LDFLAGS for AIX case.
6548
65492002-01-17 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
6550
6551 * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
6552 __glibcpp_double_has_quiet_NaN): Correct mispelling.
6553
65542002-01-17 Andreas Tobler <toa@pop.agri.ch>
6555
6556 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
6557
65582002-01-16 David Edelsohn <dje@watson.ibm.com>
6559
6560 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
6561 SECTION_LDFLAGS and OPT_LDFLAGS. Fix ac_sectionLDflags type.
6562 * aclocal.m4: Regenerate.
6563 * configure: Regenerate.
6564
65652002-01-16 Benjamin Kosnik <bkoz@redhat.com>
6566
6567 * include/Makefile.am (c_base_headers_rename): New.
6568 (c_base_headers_extra): New.
6569 (stamp-c_base): Modify.
6570 (install-data-local): Use both.
6571 * include/Makefile.in: Regenerate.
6572 * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
6573 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
6574 cstdio ctime cwctype]: Move to..
6575 * include/c/std_*: Here.
6576 * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
6577 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
6578 cstdio ctime cwctype]: Move to..
6579 * include/c_std/std_*: Here.
6580
6581 Alexandre Oliva <aoliva@redhat.com>
6582 * include/Makefile.am (.PRECIOUS): Add rule.
6583 * include/Makefile.in: Regenerate.
6584
65852002-01-16 Benjamin Kosnik <bkoz@redhat.com>
6586 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
6587
6588 * include/bits/stl_iterator.h (reverse_iterator::_M_current):
6589 Deuglify, should be current.
6590 (back_insert_iterator::_M_container): Deuglify, should be container.
6591 (front_insert_iterator::_M_container): Same.
6592 (insert_iterator::_M_container): Same.
6593 * testsuite/24_iterators/reverse_iterator.cc: Add check.
6594 * testsuite/24_iterators/back_insert_iterator.cc: Add check.
6595 * testsuite/24_iterators/front_insert_iterator.cc: Same.
6596 * testsuite/24_iterators/insert_iterator.cc: Same.
6597
65982002-01-16 Benjamin Kosnik <bkoz@redhat.com>
6599
6600 * include/bits/locale_facets.h (ctype<char>::classic_table): Make
6601 static.
6602 (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
6603 * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
6604 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
6605 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
6606 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
6607 * config/os/newlib/bits/ctype_noninline.h: Same.
6608 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
6609 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
6610 * config/os/hpux/bits/ctype_noninline.h: Same.
6611 * config/os/djgpp/bits/ctype_noninline.h: Same.
6612 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
6613 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
6614 * config/os/aix/bits/ctype_noninline.h: Same.
6615
6616 Testcase by Dietmar Kühl via Peter Schmid
6617 * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
6618 classic_table().
6619
66202002-01-16 Benjamin Kosnik <bkoz@redhat.com>
6621
6622 * libmath/signbitl.c: Copyright years as list, not range.
6623 * libmath/Makefile.am: Same.
6624 * libmath/Makefie.in: Regenerate.
6625 * libmath/signbit.c: Same.
6626 * libmath/nan.c: Same.
6627 * libmath/copysignf.c: Same.
6628 * libmath/signbitf.c: Same.
6629 * testsuite/22_locale/money_get_members_char.cc: Same.
6630 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
6631 * testsuite/22_locale/money_put_members_char.cc: Same.
6632 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
6633 * testsuite/22_locale/time_get_members_char.cc: Same.
6634 * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
6635 * testsuite/22_locale/time_put_members_char.cc: Same.
6636 * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
6637 * testsuite/21_strings/nonmember.cc: Same.
6638 * testsuite/21_strings/compare.cc: Same.
6639 * testsuite/27_io/stringstream.cc: Same.
6640 * testsuite/27_io/stringbuf.cc: Same.
6641 * testsuite/27_io/filebuf.cc: Same.
6642 * testsuite/27_io/ios_manip_basefield.cc: Same.
6643 * testsuite/27_io/ios_manip_fmtflags.cc: Same.
6644 * include/bits/cpp_type_traits.h: Same.
6645 * include/bits/generic_shadow.h: Same.
6646 * include/bits/gslice_array.h: Same.
6647 * include/bits/gslice.h: Same.
6648 * include/bits/indirect_array.h: Same.
6649 * include/bits/slice_array.h: Same.
6650 * include/bits/sstream.tcc: Same.
6651 * include/bits/streambuf_iterator.h: Same.
6652 * include/bits/valarray_array.tcc: Same.
6653 * include/bits/valarray_meta.h: Same.
6654 * include/bits/valarray_array.h: Same.
6655 * config/os/mingw32/bits/ctype_noninline.h: Same.
6656 * config/os/mingw32/bits/ctype_base.h: Same.
6657 * config/os/hpux/bits/ctype_noninline.h: Same.
6658 * config/os/hpux/bits/ctype_base.h: Same.
6659 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
6660 * config/os/gnu-linux/bits/ctype_base.h: Same.
6661 * config/os/generic/bits/ctype_noninline.h: Same.
6662 * config/os/generic/bits/ctype_base.h: Same.
6663
6664 * libsupc++/tinfo.h: Tweaks.
6665
66662002-01-15 Benjamin Kosnik <bkoz@redhat.com>
6667
6668 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
6669 * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
6670 * testsuite/22_locale/ctype_members_char.cc: Tweak.
6671
66722002-01-15 Benjamin Kosnik <bkoz@redhat.com>
6673
6674 * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
6675 (num_put::do_put(void*)): Fix.
6676 * testsuite/22_locale/num_put_members_char.cc (test02): Add.
6677 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
6678 * testsuite/22_locale/num_get_members_char.cc (test02): Add
6679 long double, void, bool types.
6680 * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
6681
66822002-01-15 Benjamin Kosnik <bkoz@redhat.com>
6683 Alexandre Oliva <aoliva@redhat.com>
6684
6685 * libmath/Makefile.am (LINK): Add --tag CC.
6686 * libmath/Makefile.in: Regenerate.
6687
66882002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
6689
6690 * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
6691 of character to attribute mapping table.
6692
66932002-01-15 David Billinghurst <David.Billinghurst@riotinto.com>
6694
6695 * testsuite/26_numerics/c99_classification_macros_c.cc
6696 Remove dg-error and dg-excess-errors comments.
6697
66982002-01-14 Benjamin Kosnik <bkoz@redhat.com>
6699
6700 * include/bits/locale_facets.tcc (time_put::put): Correct output
6701 iterator positions.
6702 * testsuite/22_locale/time_put_members_char.cc (test02): Add.
6703 * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
6704 * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
6705 * testsuite/22_locale/time_get_members_char.cc (test06): Add.
6706
67072002-01-14 Craig Rodrigues <rodrigc@gcc.gnu.org>
6708
6709 * docs/html/17_intro/porting-howto.xml: Update filebuf section.
6710
67112002-01-14 Paolo Carlini <pcarlini@unitus.it>
6712 Nathan Myers <ncm@cantrip.org>
6713
6714 * include/bits/basic_string.h
6715 (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
6716 temporaries (i.e., call _M_replace_safe) when possible.
6717 (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
6718 (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
6719 (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
6720 (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
6721 (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
6722 * include/bits/basic_string.tcc
6723 (replace(__pos1, __n1, __str, __pos2, __n2)): Call
6724 replace(__pos, __n1, __s, __n2).
6725 * testsuite/21_strings/replace.cc (test03): New testcases.
6726
6727 * include/bits/basic_string.h (insert(__pos, __s, __n)):
6728 Adjust comparison wrt overflow.
6729
67302002-01-12 Benjamin Kosnik <bkoz@redhat.com>
6731
6732 * include/Makefile.am (std_headers_rename): New variable.
6733 (install-data-local): Use it.
6734 * include/Makefile.in: Regenerate.
6735
67362002-01-12 Benjamin Kosnik <bkoz@redhat.com>
6737
6738 * include/bits/locale_facets.tcc (money_put::do_put(string):
6739 Correct output iterator value.
6740 * testsuite/22_locale/money_put_members_char.cc (test03): Add.
6741 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
6742
67432002-01-11 Phil Edwards <pme@gcc.gnu.org>
6744
6745 * include/Makefile.am, include/Makefile.in (stamp-std): Fix typo from
6746 previous commit.
6747
67482002-01-11 Phil Edwards <pme@gcc.gnu.org>
6749
6750 * include/Makefile.am (std_headers): Update list with new names.
6751 (stamp-std): Link to standardized name.
6752 * include/Makefile.in: Regenerate.
6753
6754 * include/std/algorithm, include/std/bitset, include/std/complex,
6755 include/std/deque, include/std/fstream, include/std/functional,
6756 include/std/iomanip, include/std/ios, include/std/iosfwd,
6757 include/std/iostream, include/std/istream, include/std/iterator,
6758 include/std/limits, include/std/list, include/std/locale,
6759 include/std/map, include/std/memory, include/std/numeric,
6760 include/std/ostream, include/std/queue, include/std/set,
6761 include/std/sstream, include/std/stack, include/std/stdexcept,
6762 include/std/streambuf, include/std/string, include/std/utility,
6763 include/std/valarray, include/std/vector: Rename to...
6764
6765 * include/std/std_algorithm.h, include/std/std_bitset.h,
6766 include/std/std_complex.h, include/std/std_deque.h,
6767 include/std/std_fstream.h, include/std/std_functional.h,
6768 include/std/std_iomanip.h, include/std/std_ios.h,
6769 include/std/std_iosfwd.h, include/std/std_iostream.h,
6770 include/std/std_istream.h, include/std/std_iterator.h,
6771 include/std/std_limits.h, include/std/std_list.h,
6772 include/std/std_locale.h, include/std/std_map.h,
6773 include/std/std_memory.h, include/std/std_numeric.h,
6774 include/std/std_ostream.h, include/std/std_queue.h,
6775 include/std/std_set.h, include/std/std_sstream.h,
6776 include/std/std_stack.h, include/std/std_stdexcept.h,
6777 include/std/std_streambuf.h, include/std/std_string.h,
6778 include/std/std_utility.h, include/std/std_valarray.h,
6779 include/std/std_vector.h: ...this.
6780
67812002-01-11 Loren Rittle <ljrittle@acm.org>
6782
6783 * include/Makefile.am (extra_target_headers): New list of all
6784 target files built with ad hoc naming rules.
6785 (stamp-*): Handle LN_S failure in manner portable across make
6786 implementations.
6787 (install-data-local): Install header files from human-maintained
6788 file lists and directory components instead of non-robust find.
6789 * include/Makefile.in: Rebuilt.
6790
67912002-01-11 Benjamin Kosnik <bkoz@redhat.com>
6792
6793 * include/bits/locale_facets.tcc (money_get::do_get(string)):
6794 Check for zero-length negative sign before adding it to output
6795 string.
6796 (money_get::do_get(long double)): Return beg.
6797 * testsuite/22_locale/money_get_members_char.cc (test02): Add
6798 iterator checks.
6799 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
6800
68012002-01-10 David Seymour <seymour_dj@yahoo.com>
6802
6803 libstdc++/5331
6804 * include/bits/locale_facets.h (num_get<>): Return advanced iterator
6805 for _M_extract_float and _M_extract_int
6806 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
6807 (num_get<>::_M_extract_int): Likewise, all callers changed
6808 * testsuite/22_locale/num_get_members_char.cc: Testcase
6809
68102002-01-09 Paolo Carlini <pcarlini@unitus.it>
6811
6812 * libsupc++/exception (bad_exception): Add comment.
6813 * libsupc++/new (bad_alloc): Same.
6814 * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
6815
68162002-01-09 Paolo Carlini <pcarlini@unitus.it>
6817
6818 libstdc++/3150: revert 2001-11-30 commit. DR266 only means
6819 that the destructors should be removed from the descriptions
6820 in the standard: writing them explicitly allows the vtable
6821 heuristic to work. For additional information see:
6822 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
6823 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
6824 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
6825 * libsupc++/exception (bad_exception::~bad_exception()):
6826 Reintroduce declaration.
6827 * libsupc++/new (bad_alloc::~bad_alloc()): Same.
6828 * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
6829 (bad_typeid::~bad_typeid()): Same.
6830 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
6831 Reintroduce definition.
6832 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
6833 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
6834 (bad_typeid::~bad_typeid()): Same.
6835
68362002-01-09 Benjamin Kosnik <bkoz@redhat.com>
6837
6838 * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
6839 * include/Makefile.in: Regenerate.
6840
68412002-01-09 Bo Thorsen <bo@suse.co.uk>
6842
6843 * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
6844 definition.
6845
68462002-01-08 Benjamin Kosnik <bkoz@redhat.com>
6847
6848 libstdc++/2913
6849 libstdc++/4879
6850 * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
6851 return value of _M_file->sync().
6852 (filebuf::showmanyc): Check for is_open.
6853 * include/std/fstream (filebuf::sync): Tweak.
6854 * testsuite/27_io/filebuf.cc: Tweak.
6855
68562002-01-08 John Fardo <jfardo@laurelnetworks.com>
6857 Brad Garcia <garsh@attbi.com>
6858
6859 * testsuite/27_io/filebuf_members.cc: Add test.
6860
68612002-01-07 Benjamin Kosnik <bkoz@redhat.com>
6862 Craig Rodrigues <rodrigc@mediaone.net>
6863
6864 libstdc++/5174
6865 * po/Makefile.am (mkinstalldirs): Add.
6866 * po/Makefile.in: Regenerate.
6867
68682002-01-07 David Billinghurst <David.Billinghurst@riotinto.com>
6869
6870 * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
6871 testsuite/lib/prune.exp: Delete lines ":In function ..." from
6872 compiler output.
6873 * testsuite/23_containers/map_operators.cc: Remove
6874 dg-excess-errors comment.
6875 * testsuite/23_containers/set_operators.cc: Likewise.
6876
68772002-01-06 Paolo Carlini <pcarlini@unitus.it>
6878
6879 * include/bits/stl_function.h: Remove two lines of comments;
6880 adjust copyright years.
6881
68822002-01-04 Benjamin Kosnik <bkoz@redhat.com>
6883
6884 * include/Makefile.am (std_headers): Remove cXXX from list.
6885 (c_base_srcdir): No bits subdirectory.
6886 (c_base_builddir): Same.
6887 (c_base_headers): Adjust names, add ciso646.
6888 (bits_headers): Remove std_xxx.h headers.
6889 * include/Makefile.in: Regenerate.
6890
6891 * include/ext/iterator: Adjust includes.
6892 * include/ext/ropeimpl.h: Same.
6893 * include/ext/stl_hash_fun.h: Same.
6894 * include/ext/algorithm: Same.
6895
6896 * include/backward/bvector.h: Adjust includes.
6897 * include/backward/vector.h: Same.
6898 * include/backward/strstream: Same.
6899 * include/backward/streambuf.h: Same.
6900 * include/backward/stack.h: Same.
6901 * include/backward/set.h: Same.
6902 * include/backward/queue.h: Same.
6903 * include/backward/multiset.h: Same.
6904 * include/backward/multimap.h: Same.
6905 * include/backward/map.h: Same.
6906 * include/backward/list.h: Same.
6907 * include/backward/iterator.h: Same.
6908 * include/backward/iostream.h: Same.
6909 * include/backward/iomanip.h: Same.
6910 * include/backward/fstream.h: Same.
6911 * include/backward/deque.h: Same.
6912 * include/backward/complex.h: Same.
6913
6914 * include/bits/std_algorithm.h: Move to...
6915 * include/std/algorithm: ...here.
6916 * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
6917 std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
6918 std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
6919 std_deque.h, std_istream.h, std_numeric.h, std_string.h,
6920 std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
6921 std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
6922 std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
6923 Same.
6924
6925 * include/c_std/bits/std_cassert.h: Move to...
6926 * include/c_std/cassert: Here.
6927 * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
6928 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
6929 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
6930 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
6931 std_cwctype.h: Same.
6932 * include/c_std/cmath: Adjust cmath.tcc include.
6933 * include/c_std/cstdlib: Adjust includes.
6934 * include/c_std/cwchar: Same.
6935 * include/c_std/ctime: Same.
6936 * include/c_std/cstring: Same.
6937 * include/c_std/cstdio: Same.
6938 * include/c_std/bits: Remove directory.
6939
6940 * include/c/bits/std_cassert.h: Move to...
6941 * include/c/cassert: Here.
6942 * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
6943 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
6944 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
6945 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
6946 std_cwctype.h: Same.
6947 * include/c/bits: Remove directory.
6948
6949 * include/std/cwctype: Remove.
6950 * include/std/cwchar: Remove.
6951 * include/std/ctime: Remove.
6952 * include/std/cstring: Remove.
6953 * include/std/cstdlib: Remove.
6954 * include/std/cstdio: Remove.
6955 * include/std/cstddef: Remove.
6956 * include/std/cstdarg: Remove.
6957 * include/std/csignal: Remove.
6958 * include/std/csetjmp: Remove.
6959 * include/std/cmath: Remove.
6960 * include/std/clocale: Remove.
6961 * include/std/climits: Remove.
6962 * include/std/ciso646: Remove.
6963 * include/std/cfloat: Remove.
6964 * include/std/cerrno: Remove.
6965 * include/std/cctype: Remove.
6966 * include/std/cassert: Remove.
6967
6968 * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
6969 files and subsituting <xxx>.
6970 * include/bits/valarray_array.h: Same.
6971 * include/bits/stl_uninitialized.h: Same.
6972 * include/bits/stl_alloc.h: Same.
6973 * include/bits/stl_algobase.h: Same.
6974 * include/bits/sstream.tcc: Same.
6975 * include/bits/pthread_allocimpl.h: Same.
6976 * include/bits/ostream.tcc: Same.
6977 * include/bits/localefwd.h: Same.
6978 * include/bits/locale_facets.tcc: Same.
6979 * include/bits/locale_facets.h: Same.
6980 * include/bits/istream.tcc: Same.
6981 * include/bits/char_traits.h: Same.
6982 * include/bits/boost_concept_check.h: Same.
6983 * include/bits/basic_file.h: Same.
6984 * include/std/bitset: Same.
6985 * include/std/complex: Same.
6986 * include/std/fstream: Same.
6987 * include/std/functional: Same.
6988 * include/std/ios: Same.
6989 * include/std/iostream: Same.
6990 * include/std/ostream: Same.
6991 * include/std/sstream: Same.
6992 * include/std/streambuf: Same.
6993 * include/std/string: Same.
6994 * include/std/iterator: Same.
6995 * include/std/valarray: Same.
6996
6997 * src/ios.cc: Adjust includes.
6998 * src/valarray-inst.cc: Same.
6999 * src/string-inst.cc: Same.
7000 * src/stl-inst.cc: Same.
7001 * src/stdexcept.cc: Same.
7002 * src/misc-inst.cc: Same.
7003 * src/localename.cc: Same.
7004 * src/locale-inst.cc: Same.
7005 * src/locale.cc: Same.
7006 * src/limits.cc: Same.
7007 * src/concept-inst.cc: Same.
7008 * src/complex_io.cc: Same.
7009 * src/codecvt.cc: Same.
7010 * src/bitset.cc: Same.
7011 * src/cmath.cc: Same.
7012
70132002-01-04 Paolo Carlini <pcarlini@unitus.it>
7014
7015 * include/bits/stl_tree.h (rb_tree): Move to...
7016 * include/ext/rb_tree: ...here, new file.
7017 * include/Makefile.am (ext_headers): Add new file.
7018 * include/Makefile.in: Regenerate.
7019 * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
7020 return_temporary_buffer, struct temporary_buffer): Move to...
7021 * include/ext/memory: ...here.
7022 * testsuite/ext/headers.cc: Include <ext/rb_tree>.
7023 * include/backward/tempbuf.h: Include <ext/memory>, tweak.
7024 * include/backward/tree.h: Include <ext/rb_tree), tweak.
7025
70262002-01-03 Paolo Carlini <pcarlini@unitus.it>
7027
7028 * include/bits/stl_numeric.h (power + helpers, iota): Move to...
7029 * include/ext/numeric: ...here, new file.
7030 * include/bits/stl_function.h (identity_element, unary_compose,
7031 binary_compose, compose1, compose2, identity, select1st,
7032 select2nd, project1st + helper, project2nd + helper,
7033 constant_void_fun + helper, constant_unary_fun + helper,
7034 costant_binary_fun + helper, constant0, constant1, constant2,
7035 subtractive_rng, mem_fun1, mem_fun1_ref): Move to...
7036 * include/ext/functional: ...here, new file.
7037 * include/Makefile.am (ext_headers): Add new files.
7038 * include/Makefile.in: Regenerate.
7039 * testsuite/ext/headers.cc: Include <ext/numeric> and
7040 <ext/functional>.
7041 * include/backward/algo.h: Include <ext/numeric>, tweak.
7042 * include/backward/function.h: Include <ext/functional>, tweak.
7043 * include/ext/ropeimpl.h: Include <ext/numeric>.
7044
70452002-01-03 Jeffrey A Law <law@redhat.com>
7046
7047 * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
7048 __strtoull declarations with __extension__.
7049
70502002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
7051
7052 * testsuite/lib/prune.exp: Correct regular expression for
7053 -ffunction-sections
7054
70552002-01-02 Phil Edwards <pme@gcc.gnu.org>
7056
7057 * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
7058 Change concept checks, as with lower_bound and PR 2054.
7059 * testsuite/ext/concept_checks.cc: Expand test to include those.
7060
70612002-01-02 Phil Edwards <pme@gcc.gnu.org>
7062
7063 * include/bits/boost_concept_check.h: Import some changes from
7064 upsteam (Boost) version.
7065
70662002-01-02 Paolo Carlini <pcarlini@unitus.it>
7067
7068 * include/bits/stl_algobase.h (copy_n + helpers,
7069 lexicographical_compare_3way + helpers): Move to...
7070 * include/ext/algorithm: ...here.
7071 * include/bits/stl_uninitialized.h (uninitialized_copy_n +
7072 helpers): Move to...
7073 * include/ext/memory: ...here, new file.
7074 * include/Makefile.am (ext_headers): Add new file.
7075 * include/Makefile.in: Regenerate.
7076 * testsuite/ext/headers.cc: Include <ext/memory>.
7077 * include/backward/algobase.h: Include <ext/memory> and
7078 <ext/algorithm>, tweak.
7079 * include/ext/ropeimpl.h: Include <ext/memory>, tweak.
7080 * include/ext/stl_rope.h: Include <ext/memory>, tweak.
7081
70822002-01-01 Roger Sayle <roger@eyesopen.com>
7083
7084 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
7085 equivalent ___builtin__ versions.
7086
7087 * include/c_shadow/bits/std_cmath.h: All __builtin math functions
7088 are available in libstdc++ as the necessary stub implementations
7089 are provided by libmath/stubs.c.
7090
70912002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
7092
7093 * configure.in: Add support for NetBSD cross compiles.
7094 * configure: Regenerate.
Note: See TracBrowser for help on using the repository browser.