OSDN Git Service

2002-07-23 Benjamin Kosnik <bkoz@redhat.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
1 2002-07-23  Benjamin Kosnik  <bkoz@redhat.com>
2
3         * docs/html/documentation.html: Remove libstdc++-v3.0.86 links,
4         confusing usage of "latest."
5         De-tangle contributor information from introductory notes.
6         Move abi.txt link placement, activate.
7         Re-organize.
8         Move chapter info into old FAQ format. 
9         * docs/html/organization.html: Removed, obsoleted by doxygen work.
10         * docs/html/abi.txt: Add notes on testing ABI changes.
11         
12 2002-07-20  Phil Edwards  <pme@gcc.gnu.org>
13
14         * docs/html/abi.txt:  New file.
15         * docs/html/23_containers/howto.html:  Tweak vector-overhead text.
16         * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
17         Import from upstream, R22.
18
19         * include/bits/char_traits.h, include/bits/stl_iterator.h,
20         include/bits/stl_iterator_base_types.h, libsupc++/exception,
21         libsupc++/new, libsupc++/typeinfo:  Use @brief markup.
22
23         * include/bits/deque.tcc, include/bits/stl_alloc.h,
24         include/bits/stl_deque.h, include/bits/stl_list.h:  Postpone removal
25         of deprecated functions until 3.4.  (Same timeframe, different text.)
26         * include/bits/stl_vector.h:  Ditto.  Also do the same cleanups that
27         the other sequence classes received.
28
29 2002-07-18  Brendan Kehoe  <brendan@zen.org>
30
31         * bits/slice_array.h (_DEFINE_VALARRAY_OPERATOR): Fix typo of
32         _Nname to _Name.
33         
34 2002-07-19  Gabriel Dos Reis  <gdr@nerim.net>
35
36         DR/123
37         * include/bits/slice_array.h 
38         (slice_array<T>::operator=(const T&)): Constify.
39         * include/bits/gslice_array.h 
40         (gslice_array<T>::operator=(const T&)):  Likewise.
41         * include/bits/mask_array.h 
42         (mask_array<T>::operator=(const T&)): Likewise.
43         * include/bits/indirect_array.h
44         (indirect_array<T>::operator=(const T&): Likewise.
45
46 2002-07-17  Phil Edwards  <pme@gcc.gnu.org>
47
48         * docs/doxygen/run_doxygen:  Remove template parameter names from
49         "Compound List" summary page.  Reformat.
50         * docs/html/documentation.html:  XHTML fixes.
51
52 2002-07-16  Andreas Schwab  <schwab@suse.de>
53
54         * libsupc++/new (set_new_handler): Declare to not throw any
55         exceptions.
56         * libsupc++/new_handler.cc (set_new_handler): Likewise.
57
58 2002-07-16  Gabriel Dos Reis  <gdr@nerim.net>
59
60         * include/Makefile.am (bits_headers): Remove slice.h
61         * include/Makefile.in: Regenerate.
62         * include/bits/slice.h (slice): move to include/bits/slice_array.h
63         * include/bits/slice.h Remove.
64         * include/std/std_valarray.h: Don't #include bits/slice.h anymore.
65         * include/bits/slice_array.h: Comply to official coding styles.
66         * testsuite/26_numerics/slice.cc: New test.
67
68 2002-07-15  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
69
70         * config/os/solaris/solaris2.5/ctype_base.h (ctype_base): Fix
71         print to match vendor <ctype.h>.
72
73 2002-07-15  Phil Edwards  <pme@gcc.gnu.org>
74
75         * docs/html/faq/index.html:  Fix download links.
76         * docs/html/faq/index.txt:  Regenerate.
77         * docs/html/17_intro/porting.html:  Regenerate from earlier changes.
78
79 2002-07-11  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
80
81         * configure.target (target_os switch): Allow for irix6*o32
82         configurations.
83
84 2002-07-10  Gabriel Dos Reis  <gdr@nerim.net>
85
86         * include/bits/valarray_meta.h (_UnFunBase): Take a second
87         template parameter. Remove _M_func data member.
88         (_UnFunClos): Take a third template parameter.
89         (__abs, __cos, __acos, __cosh, __sin, __asin, __sinh, __tan,
90         __atan, __tanh, __exp, __log, __log10, __sqrt): New classes.
91         (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
92
93 2002-07-08  Eric Christopher  <echristo@redhat.com>
94
95         * configure.target: Fix comment for mips atomicity. Add
96         mips*-*-linux* target, enable atomic operations there.
97         * config/cpu/mips/atomicity.h: Fix comments, remove
98         #ifndef/#endif. Add push/pop mips2.
99
100 2002-07-08  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
101
102         * include/bits/stl_deque.h (_Deque_alloc_base):  Change order of
103         member declarations to avoid compiler warnings and restore 3.1 ABI.
104
105 2002-07-08  Phil Edwards  <pme@gcc.gnu.org>
106
107         * docs/html/23_containers/howto.html:  Link to dk_std::vector paper
108         and homepage.
109
110 2002-07-07  Paolo Carlini  <pcarlini@unitus.it>
111
112         PR libstdc++/7186
113         * include/bits/stl_deque.h (_Deque_iterator::operator-):
114         Make non-member, as already happens for the comparison
115         operators in accord with DR179 (Ready).
116         * testsuite/23_containers/deque_operators.cc: Add test02.
117
118 2002-07-04  Benjamin Kosnik  <bkoz@redhat.com>
119             Jack Reeves  <jackw_reeves@hotmail.com>
120
121         * include/std/std_streambuf.h (basic_streambuf::_M_buf): Change to
122         size_t, from int_type.
123         (basic_streambuf::_M_buf_size_opt): Same.
124         (basic_streambuf::_S_pback_sizex): Same.
125         * include/bits/streambuf.tcc: Same.
126         * include/std/std_streambuf.h (basic_streambuf::snextc): Use
127         eq_int_type.
128         (basic_streambuf::uflow): Same.
129         * include/bits/sstream.tcc (basic_stringbuf::overflow): Use
130         to_char_type.
131         * include/bits/basic_ios.tcc (basic_ios::init): Use _CharT().
132         * include/bits/streambuf.tcc (basic_streambuf::xsgetn): Use
133         eq_int_type.
134         (basic_streambuf::xsputn): Same.
135         (__copy_streambufs): Same.
136
137 2002-07-03  Benjamin Kosnik  <bkoz@redhat.com>
138
139         * include/std/std_memory.h: Fix formatting.
140         * testsuite/20_util/auto_ptr_neg.cc: New.
141         * testsuite/20_util/auto_ptr.cc: Tweaks.
142         * testsuite/23_containers/map_operators.cc (test01): Split into..
143         * testsuite/23_containers/map_operators_neg.cc (test01): ...this. New.
144         * testsuite/23_containers/set_operators.cc: Move to...
145         * testsuite/23_containers/set_operators_neg.cc: ...here.
146         * testsuite/README: Add some more naming rules.
147
148 2002-07-03  Steev Wilcox  <steev@paradigmds.com>
149
150         PR libstdc++/7057
151         * include/ext/stl_hashtable.h: Fix.
152         * testsuite/ext/hash_map.cc: New.
153
154 2002-07-03  Jack Reeves  <jackw_reeves@hotmail.com>
155             Kenny Simpson  <theonetruekenny@yahoo.com>
156             Phil Edwards  <pme@gcc.gnu.org>
157
158         PR libstdc++/3946
159         * testsuite/20_util/auto_ptr.cc (test08):  New test.
160         * include/std/std_memory.h (auto_ref_ptr):  Make constructor explicit.
161         (auto_ptr::operator auto_ptr_ref):  Fix typo.
162         General reformatting and doxygenating of the whole file.
163
164 2002-07-03  Benjamin Kosnik  <bkoz@redhat.com>
165
166         PR libstdc++/7097
167         * include/c/std_cwchar.h: Fix.
168
169 2002-07-02  Benjamin Kosnik  <bkoz@redhat.com>
170
171         PR libstdc++/6410
172         * include/bits/locale_facets.h (moneypunct::moneypunct): Add const
173         char* name parameter.
174         * config/locale/gnu/monetary_members.cc: Use it.
175         * config/locale/generic/monetary_members.cc: Same.
176         * src/localename.cc (_Impl::_Impl(const char*, size_t)): Use it.
177
178         * include/backward/strstream.h: Update date.
179
180 2002-07-02  Paolo Carlini  <pcarlini@unitus.it>
181
182         PR libstdc++/6642
183         * include/bits/stl_iterator.h
184         (__normal_iterator::operator-(const __normal_iterator&)):
185         Make non-member, as already happens for the comparison
186         operators in accord with DR179 (Ready).
187         * testsuite/24_iterators/iterator.cc: Add test from the PR.
188
189 2002-07-02  Phil Edwards  <pme@gcc.gnu.org>
190
191         PR libstdc++/7173
192         * acinclude.m4:  Simplify determination of gcc_version, and move
193         up to GLIBCPP_CONFIGURE.
194         * configure.in (release_VERSION):  Really remove.
195         (AM_INIT_AUTOMAKE, AM_CONFIG_HEADER):  Move after GLIBCPP_CONFIGURE.
196         * aclocal.m4, configure:  Regenerate.
197
198 2002-07-02  Phil Edwards  <pme@gcc.gnu.org>
199
200         * docs/html/configopts.html, docs/html/install.html:  Tweaks.
201         * include/ext/algorithm, include/ext/hash_map, include/ext/hash_set,
202         include/ext/iterator, include/ext/numeric, include/ext/rb_tree,
203         include/ext/slist, include/ext/stl_rope.h:  Add doxygen hooks.
204
205 2002-07-01  Benjamin Kosnik  <bkoz@redhat.com>
206
207         * include/backward/strstream: Remove namespace std. Transfer to...
208         * include/backward/strstream.h: ...here. Qualify std names.
209         * src/strstream.cc: Remove namespace std.
210         * include/Makefile.am (backward_headers): Remove strstream.h.
211         * include/Makefile.in: Regenerate.
212         * config/linker-map.gnu: Export strstream bits.
213
214         * src/fstream-inst.cc: Tweak.
215         * src/io-inst.cc: Same.
216         * src/istream-inst.cc: Same.
217         * src/misc-inst.cc: Same.
218         * src/ostream-inst.cc: Same.
219         * src/sstream-inst.cc: Same.
220         * src/valarray-inst.cc: Same.
221         * src/misc-inst.cc: Remove unused instantiations.
222
223 2002-07-01  Benjamin Kosnik  <bkoz@redhat.com>
224
225         * configure.in (libtool_VERSION): Bump to 5:0:0.
226         * configure: Regenerate.
227
228 2002-06-28  Phil Edwards  <pme@gcc.gnu.org>
229
230         PR libstdc++/7157, PR libstdc++/7158, PR libstdc++/7161
231         * include/std/std_queue.h:  Include deque.tcc, vector.tcc.
232         * include/std/std_stack.h:  Include deque.tcc.
233         * testsuite/23_containers/adaptors.cc:  New file.
234
235 2002-06-27  Phil Edwards  <pme@gcc.gnu.org>
236
237         * include/bits/stl_alloc.h:  Deprecate all 'reallocate' memfns.
238         * docs/html/ext/howto.html:  Update allocator notes.
239
240 2002-06-26  Benjamin Kosnik  <bkoz@redhat.com>
241
242         * configure.in (INTERFACE): Remove.
243         (release_VERSION): Remove.
244         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Change include placement.
245         (libstdcxx_interface): Change. Use gcc methods to determine version.
246         * configure: Regenerate.
247         * aclocal.m4: Regenerate.
248
249 2002-06-25  DJ Delorie  <dj@redhat.com>
250
251         * acinclude.m4 (GLIBCPP_CONFIGURE): Split out
252         GLIBCPP_TOPREL_CONFIGURE.
253         * aclocal.m4: Likewise.
254         * configure.in: Call it before AC_CANONICAL_SYSTEM.
255         * configure: Regenerate.
256
257 2002-06-25  Jessica Han  <jessica@cup.hp.com>
258
259         * config/os/hpux/os_defines.h Define _GLIBCPP_VTABLE_PADDING
260         * libsupc++/tinfo.cc Handle the 8 byte aligned vtable entries when
261         _GLIBCPP_VTABLE_PADDING is defined.
262
263 2002-06-25  Benjamin Kosnik  <bkoz@redhat.com>
264
265         * include/bits/stl_alloc.h: Additional formatting.
266
267 2002-06-24  Phil Edwards  <pme@gcc.gnu.org>
268
269         * include/bits/stl_alloc.h:  Reformat as per C++STYLE.
270
271 2002-06-24  Phil Edwards  <pme@gcc.gnu.org>
272
273         * config/cpu/*/bits/*:  Move header files up a level.  Remove bits.
274         * config/os/*/bits/*:  Likewise.
275         * configure.in:  Update.
276         * configure:  Regenerate.
277         * configure.target:  Update.
278         * docs/html/17_intro/porting.texi:  Update.
279
280 2002-06-21  Phil Edwards  <pme@gcc.gnu.org>
281
282         * include/bits/stl_map.h, include/bits/stl_multimap.h,
283         include/bits/stl_queue.h, include/bits/stl_stack.h:  Reformat and
284         complete doxygenation.
285         * include/bits/boost_concept_check.h:  Minor comment.
286
287 2002-06-21  Benjamin Kosnik  <bkoz@redhat.com>
288
289         * include/c_compatibility: New.
290         * include/c_compatibility/assert.h: New.
291         * include/c_compatibility/ctype.h: New.
292         * include/c_compatibility/errno.h: New.
293         * include/c_compatibility/float.h: New.
294         * include/c_compatibility/iso646.h: New.
295         * include/c_compatibility/limits.h: New.
296         * include/c_compatibility/locale.h: New.
297         * include/c_compatibility/math.h: New.
298         * include/c_compatibility/setjmp.h: New.
299         * include/c_compatibility/signal.h: New.
300         * include/c_compatibility/stdarg.h: New.
301         * include/c_compatibility/stddef.h: New.
302         * include/c_compatibility/stdio.h: New.
303         * include/c_compatibility/stdlib.h: New.
304         * include/c_compatibility/string.h: New.
305         * include/c_compatibility/time.h: New.
306         * include/c_compatibility/wchar.h: New.
307         * include/c_compatibility/wctype.h: New.
308
309         * include/c/std_cerrno.h: Get out of the way... define errno.
310         * include/c/std_cmath.h: Add abs, modf overloads.
311         Undefine C99 isms. Still not sure how to deal with this sanely.
312         * include/c/std_csetjmp.h: Tweak.
313         * include/c/std_cwchar.h: Include cstddef for size_t.
314
315         * include/c_std/std_cmath.h: Remove extra function.
316
317         Pendantic std usage in testsuites.
318         * testsuite/17_intro/header_cstdlib.cc (test01): Qualify ldiv_t
319         with std.
320         * testsuite/17_intro/header_cwchar.cc: Tweak.
321         * testsuite/22_locale/codecvt_members_char_char.cc (test03): Use
322         std::setlocale.
323         * testsuite/22_locale/ctype_to_wchar_t.cc (test05): Same.
324         * testsuite/22_locale/ctype_to_char.cc (test05): Same.
325         * testsuite/22_locale/ctype_is_wchar_t.cc (test05): Same.
326         * testsuite/22_locale/ctype_is_char.cc (test05): Same.
327         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Same.
328         * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Same.
329         * testsuite/22_locale/time_get_members_char.cc (test08): Same.
330         * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Same.
331         * testsuite/22_locale/time_put_members_char.cc (test04): Same.
332         * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Same.
333         * testsuite/22_locale/num_put_members_char.cc (test04): Same.
334         * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Same.
335         * testsuite/22_locale/numpunct_members_char.cc (test03): Same.
336         * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
337         * testsuite/22_locale/num_get_members_char.cc: Same.
338         * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Same.
339         * testsuite/22_locale/money_put_members_char.cc (test07): Same.
340         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Same.
341         * testsuite/22_locale/moneypunct_members_char.cc (test03): Same.
342         * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Same.
343         * testsuite/22_locale/money_get_members_char.cc (test08): Same.
344         * testsuite/22_locale/messages_members_char.cc (test03): Same.
345         * testsuite/22_locale/collate_members_wchar_t.cc (test04): Same.
346         * testsuite/22_locale/collate_members_char.cc (test04): Same.
347         * testsuite/26_numerics/fabs_inline.cc: Use std::printf.
348         * testsuite/27_io/istream_seeks.cc (test02): Qualify abort.
349         * testsuite/27_io/istream_extractor_arith.cc (test11): Qualify strtol.
350
351 2002-06-20  Benjamin Kosnik  <bkoz@redhat.com>
352
353         * libsupc++/Makefile.am (libsupc__convenience_la_SOURCES): Add
354         c_sources.
355
356 2002-06-20  Benjamin Kosnik  <bkoz@redhat.com>
357
358         * src/ext-inst.cc (__gnu_cxx): Use instead of std:: for extensions.
359         Use size_type instead of unsigned long.
360
361 2002-06-20  Steve Ellcey  <sje@cup.hp.com>
362
363         * src/ext-inst.cc (_S_fetch): Add explicit templates for char and
364         wchar types.
365         (_S_min_len): Ditto.
366
367 2002-06-20  Benjamin Kosnik  <bkoz@redhat.com>
368
369         * include/Makefile.am: Add rules.
370         * include/Makefile.in: Regenerate.
371
372         * acinclude.m4: Define GLIBCPP_C_HEADERS_COMPATIBILITY.
373         * aclocal.m4: Regenerate.
374         * configure: Regenerate.
375         * configure.target (c_model, c_compatibility): Add.
376
377         * libsupc++/Makefile.am (c_sources): New.
378         (libsupc___la_SOURCES): Add c_sources.
379         (LTCOMPILE): Remove INCLUDES.
380         (GCC_INCLUDES): New.
381         (C_COMPILE): New, like COMPILE but without INCLUDES.
382         (cxa_demangle.o): Use C_COMPILE.
383         (dyn-string.o): Use C_COMPILE.
384
385         * include/c/std_cstdarg.h: Define __need___va_list.
386         * include/c/std_cstddef.h: Define need_size_t, need_ptrdiff_t,
387         need_NULL, need_offsetof.
388
389 2002-06-19  Steve Ellcey  <sje@cup.hp.com>
390
391         * configure.in (HAVE_FINITE*, HAVE_ISINF*, HAVE_ISNAN*):  Remove
392         definitions in hpux11 cross-build because these functions do
393         not exist on hpux11 (but some exist on hpux10); move defaults out
394         into existing sections.
395         * configure:  Regenerate.
396
397 2002-06-18  Benjamin Kosnik  <bkoz@redhat.com>
398
399         * include/c/std_cwchar.h: Guard. Add mbstate_t bits.
400         * include/c/std_cwctype.h: Guard.
401
402         * libsupc++/eh_alloc.cc: Tweak include order.
403         * libsupc++/pure.cc: Use cstdio.
404         * libsupc++/new_op.cc: Remove malloc forward declaration, as
405         cstdlib brings it in. Use std::malloc.
406
407         * src/Makefile.am (sources): Remove cmath.cc.
408         * src/Makefile.in: Regenerate.
409         * src/cmath.cc: Remove.
410
411 2002-06-18  Phil Edwards  <pme@gcc.gnu.org>
412
413         * configure.target:  Force mips to use the generic cpu routines.
414
415 2002-06-18  Phil Edwards  <pme@gcc.gnu.org>
416
417         * configure.host:  Delete file.
418         * configure.target:  More documentation.  Factor out common parts of
419         script into "intelligent" settings about defaults.  Remove redundancy.
420
421         * acinclude.m4:  Update comments.  Do not call configure.host.
422         (GLIBCPP_ENABLE_SYMVERS):  If disabled, do not bother checking for
423         libgcc_s.
424         * configure.in:  Slight reformatting, more comments.  Factor out
425         "config/" from all the directories.
426         * docs/html/17_intro/porting.texi:  Update and expand.
427         * testsuite/Makefile.am (AM_RUNTESTFLAGS):  Move empty setting
428         from configure.host.
429
430         * aclocal.m4, configure, docs/html/17_intro/porting.html,
431         testsuite/Makefile.in:  Regenerate.
432
433 2002-06-16  Phil Edwards  <pme@gcc.gnu.org>
434
435         * docs/doxygen/TODO:  Update.
436         * docs/doxygen/tables.html:  Uncomment magical middle column.
437         * docs/doxygen/user.cfg.in:  Kludge to ignore function-like macros.
438         * include/bits/stl_queue.h:  Doxygenate and reformat.
439         * include/bits/ios_base.h, include/std/std_streambuf.h:  Add comment
440         for deprecated names required by the standard.
441
442 2002-06-14  J.T. Conklin  <jtc@acorntoolworks.com>
443
444         * configure.in (target_alias): Fix.
445         * configure: Regenerate.
446         * aclocal.m4: Regenerate.
447
448 2002-06-12  Phil Edwards  <pme@gcc.gnu.org>
449
450         * include/Makefile.am:  Add new files.
451         * include/Makefile.in:  Regenerate.
452
453         * include/bits/stl_deque.h, include/bits/stl_list.h,
454         include/bits/stl_vector.h:  Clean up, reformat.  Move definitions...
455         * include/bits/deque.tcc, include/bits/list.tcc,
456         include/bits/vector.tcc:  ...to here.  New files.
457
458         * include/ext/stl_hashtable.h:  Inclide correct full headers.
459         * include/std/std_deque.h:  Include .tcc files for now.
460         * include/std/std_list.h:  Likewise.
461         * include/std/std_vector.h:  Likewise.
462
463 2002-06-12  Daniel Jacobowitz  <drow@mvista.com>
464
465         * Makefile.am: Add FLAGS_TO_PASS.
466         * Makefile.in: Regenerated.
467
468 2002-06-11  J.T. Conklin  <jtc@acorntoolworks.com>
469             Benjamin Kosnik  <bkoz@redhat.com>
470
471         * configure.target: Set os_include_dir to config/os/qnx/qnx6.1
472         under *-qnx6.[12]*.
473         * configure.in: Add support for *-qnx6.[12]*.
474         * configure: Regenerate.
475
476         * config/os/qnx, config/os/qnx/qnx6.1, config/os/qnx/qnx6.1/bits:
477         New directories.
478         * config/os/qnx/qnx6.1/bits/ctype_base.h, ctype_inline.h,
479         ctype_noninline.h, os_defines.h: New files.
480
481 2002-06-10  Loren J. Rittle <ljrittle@acm.org>
482
483         * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): Reorder and
484         include all required headers for test against older POSIX standard.
485         (GLIBCPP_CHECK_SETRLIMIT): Likewise.
486         (ac_setrlimit): Likewise.
487         * aclocal.m4: Regenerate.
488         * configure: Regenerate.
489         * testsuite/testsuite_hooks.cc: Reorder and include all
490         required headers for use against older POSIX standard.
491
492 2002-06-08  Paolo Carlini  <pcarlini@unitus.it>
493
494         * testsuite/backwards/strstream_members.cc: New.
495
496 2002-06-08  Benjamin Kosnik  <bkoz@redhat.com>
497
498         * include/backwards/strstream: Format.
499         * src/strstream.cc: Format.
500
501 2002-06-08  Andreas Schwab  <schwab@suse.de>
502
503         * src/strstream.cc (strstreambuf::overflow): Set _M_buf,
504         _M_buf_size and _M_buf_size_opt to the new buffer and size.
505
506 2002-06-08  Benjamin Kosnik  <bkoz@redhat.com>
507
508         * config/os/generic/bits/ctype_noninline.h: Tweak format.
509
510 2002-06-07  Steve Ellcey  <sje@cup.hp.com>
511
512         * src/locale-inst.cc (__codecvt_abstract_base):
513         Put inside _GLIBCPP_USE_WCHAR_T ifdef.
514         * include/bits/istream.tcc (basic_istream): Ditto.
515         (ws) Ditto.
516         (operator>>) Ditto.
517         * include/bits/ostream.tcc (basic_ostream): Ditto.
518         (endl): Ditto.
519         (ends): Ditto.
520         (flush): Ditto.
521         (operator<<): Ditto.
522
523 2002-06-07  Phil Edwards  <pme@gcc.gnu.org>
524
525         * mkcheck.in:  Link against local testsuite library.
526         * testsuite/testsuite_hooks.h (__set_testsuite_memlimit):  Move null
527         implementation out...
528         * testsuite/testsuite_hooks.cc:  ...to here.
529
530 2002-06-06  Loren J. Rittle <ljrittle@acm.org>
531
532         * src/Makefile.am (AUTOMAKE_OPTIONS): Use cygnus-style generation.
533         * include/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
534         * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
535         * src/Makefile.in: Regenerate (explicitly with --cygnus option).
536         * testsuite/Makefile.in: Likewise.
537
538 2002-06-05  David Edelsohn  <edelsohn@gnu.org>
539
540         * config/os/aix/bits/ctype_noninline.h (do_toupper,do_tolower):
541         Call external symbol.
542
543 2002-06-04  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
544
545         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
546         Search correct multilib testsuite dir for libv3test.
547
548 2002-06-04  Paolo Carlini  <pcarlini@unitus.it>
549             Gaby Dos Reis  <gdr@codesourcery.com>
550
551         * include/bits/basic_string.tcc
552         (basic_string::_S_construct(forward_iterator_tag):
553         Fix typo in null pointer check.
554         * testsuite/21_strings/ctor_copy_dtor.cc: Add test04.
555
556 2002-06-04  Paolo Carlini  <pcarlini@unitus.it>
557
558         * testsuite/22_locale/money_get_members_char.cc
559         (test02): Add decimal point to long double constants.
560         * testsuite/22_locale/money_get_members_wchar_t.cc
561         (test02): Likewise.
562         * testsuite/22_locale/money_put_members_char.cc
563         (test02, test03, test06): Likewise.
564         * testsuite/22_locale/money_put_members_wchar_t.cc:
565         (test02, test03, test06): Likewise.
566         * testsuite/22_locale/num_get_members_char.cc:
567         (test02, test01): Likewise; suffix long long constants with LL.
568         * testsuite/22_locale/num_get_members_wchar_t.cc:
569         (test02, test01): Likewise.
570         * testsuite/22_locale/num_put_members_char.cc:
571         (test02, test01): Likewise.
572         * testsuite/22_locale/num_put_members_wchar_t.cc:
573         (test02, test01): Likewise.
574
575 2002-06-03  Marc Espie  <espie@openbsd.org>
576
577         * config/cpu/m68k/bits/atomicity.h(__exchange_and_add): Fix inline
578         assembly for old assemblers.
579
580 2002-06-03  Phil Edwards  <pme@gcc.gnu.org>
581
582         * include/bits/stl_bvector.h (swap(_Bit_reference,_Bit_reference)):
583         Move/rename...
584         (vector<bool>::swap(reference,reference)): ...to this.
585
586 2002-06-03  Phil Edwards  <pme@gcc.gnu.org>
587
588         * docs/doxygen/TODO:  Update.
589         * docs/doxygen/user.cfg.in (SORT_MEMBER_DOCS):  Set to off, now that
590         some class members are in 14882 order.
591         * docs/html/ext/howto.html:  3.1 is in the past now, not the future.
592
593         * include/std/std_bitset.h:  Update comment.
594         * src/bitset.cc:  Update comments, clean up spacing.
595
596         * src/Makefile.am (sources):  Alphabetize for convenience.
597         * src/Makefile.in:  Regenerate.
598
599 2002-06-03  Phil Edwards  <pme@gcc.gnu.org>
600
601         * include/bits/stl_deque.h, include/bits/stl_list.h,
602         include/bits/stl_vector.h:  Reformat to (mostly) match C++STYLE.
603         Reorder to match 14882.  Doxygen blocks for all public members.
604
605 2002-05-31  Marcus Meissner  <meissner@suse.de>
606
607         PR libstdc++/6886
608         * include/bits/stl_bvector.h:  Use UL suffix for unsigned longs.
609         * testsuite/23_containers/vector_bool.cc (test02):  New test.
610
611 2002-05-30  Marc Espie  <espie@openbsd.org>
612
613         * configure.in: Always check for sys/types.h
614         * configure: Regenerate.
615
616 2002-05-28  Nick Clifton  <nickc@cambridge.redhat.com>
617
618         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):
619         Rebuild the wrapper file every time this proc is called.
620
621 2002-05-28  Phil Edwards  <pme@gcc.gnu.org>
622
623         * testsuite/Makefile.am (noinst_LIBRARIES):  New target.  Pull in
624         CXX/INCLUDES.
625         * testsuite/Makefile.in:  Regenerate.
626         * testsuite/testsuite_hooks.h (gnu_copy_tracker):  Move from
627         list_modifiers.cc and rename from 'T'.  Move code bodies...
628         * testsuite/testsuite_hooks.cc:  ...to here.  New file.
629         * testsuite/23_containers/list_modifiers.cc:  Move 'T' class out.
630         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
631         Add libv3test.a to link options.
632
633 2002-05-27  Benjamin Kosnik  <bkoz@redhat.com>
634
635         * src/misc-inst.cc: Define unnecessary algorithm
636         instantiations. Break apart instantiations into groupings below.
637         * src/fstream-inst.cc: New.
638         * src/io-inst.cc: New.
639         * src/istream-inst.cc: New.
640         * src/ostream-inst.cc: New.
641         * src/streambuf-inst.cc: New.
642         * src/sstream-inst.cc: New.
643         * src/Makefile.am (sources): Add files.
644         * src/Makefile.in: Regenerate.
645
646         * acinclude.m4: Work around automake 1.4-p5 bug, change
647         AM_GNU_GETTEXT in comments to AM-GNU-GETTEXT.
648
649 2002-05-27  Benjamin Kosnik  <bkoz@redhat.com>
650
651         PR libstdc++/6795.
652         * config/os/solaris/solaris2.6/bits/ctype_noninline.h
653         (classic_table): Fix.
654         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
655
656 2002-05-27  Benjamin Kosnik  <bkoz@redhat.com>
657
658         * testsuite/22_locale/ctype_is_wchar_t.cc: Guard with
659         _GLIBCPP_USE_WCHAR_T.
660         * testsuite/22_locale/ctype_narrow_wchar_t.cc: Same.
661         * testsuite/22_locale/ctype_to_wchar_t.cc: Same.
662         * testsuite/22_locale/ctype_widen_wchar_t.cc: Same.
663
664 2002-05-26  Carlo Wood  <carlo@alinoe.com>
665             Paolo Carlini  <pcarlini@unitus.it>
666
667         PR libstdc++/6811
668         * config/locale/ieee_1003.1-2001/codecvt_specializations.h
669         (__enc_traits::operator=): add missing return statement.
670
671 2002-05-24  Phil Edwards  <pme@gcc.gnu.org>
672
673         PR libstdc++/6282
674         * include/std/std_bitset.h (_Base_biteset<0>):  New specialization.
675         (operator>>):  If nothing was extracted, don't fail in the
676         zero-length case.
677         * testsuite/23_containers/bitset_ctor.cc (test02):  New test.
678
679 2002-05-24  Benjamin Kosnik  <bkoz@redhat.com>
680
681         PR libstdc++/6701
682         * testsuite/22_locale/ctype_narrow_char.cc: New.
683         * testsuite/22_locale/ctype_narrow_wchar_t.cc: New.
684         * testsuite/22_locale/ctype_widen_char.cc: New.
685         * testsuite/22_locale/ctype_widen_wchar_t.cc: New.
686         * testsuite/22_locale/ctype_members_char.cc: Move some bits into...
687         * testsuite/22_locale/ctype_is_char.cc: ...this.
688         * testsuite/22_locale/ctype_to_char.cc: ...and this.
689         * testsuite/22_locale/ctype_members_wchar_t.cc: Move some bits into...
690         * testsuite/22_locale/ctype_is_wchar_t.cc: ...this.
691         * testsuite/22_locale/ctype_to_wchar_t.cc: ...and this.
692
693         * testsuite/22_locale/ctype_scan_wchar_t.cc: Should pass.
694
695 2002-05-24  Dale Peakall <dale@peakall.net>
696
697         PR libstdc++/6701
698         * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_narrow): Fix.
699         * config/locale/generic/ctype_members.cc: Same.
700
701 2002-05-24  Benjamin Kosnik  <bkoz@redhat.com>
702
703         PR libstdc++/6750
704         * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
705         for empty string literal.
706         (ostream::operator<<(const _CharT*)): Same.
707         (ostream<char>::operator<<(const char*)): Same.
708         (ostream<char>::operator<<(streambuf*)): Same.
709         * testsuite/27_io/ostream_inserter_char.cc (test08): Add tests.
710         * testsuite/27_io/ostream_inserter_other.cc (test02): Modify.
711
712 2002-05-23  Benjamin Kosnik  <bkoz@redhat.com>
713
714         * configure.in (release_VERSION): Update to 3.1.1.
715         (libtool_VERSION): Update to 4:1:0.
716         * configure: Regenerate.
717
718 2002-05-21  Phil Edwards  <pme@gcc.gnu.org>
719
720         * include/bits/stl_pair.h:  Tweak comment markup.
721
722 2002-05-21  Phil Edwards  <pme@gcc.gnu.org>
723
724         * include/ext/stdio_filebuf.h:  Add header guards.  Doxygenate.
725
726 2002-05-21  Phil Edwards  <pme@gcc.gnu.org>
727
728         * docs/doxygen/user.cfg.in (EXCLUDE):  Add 'CVS'.
729
730 2002-05-21  Phil Edwards  <pme@gcc.gnu.org>
731
732         * include/bits/stl_vector.h:  Reformat to follow C++STYLE.
733         Doxygenate all public members.  Reorder to follow 14882.
734         (vector::push_back(void)):  Remove previously-deprecated fn.
735         (vector::insert(iterator), vector::_M_insert_aux(iterator)):
736         Deprecate for removal in 3.3.
737
738 2002-05-20  Phil Edwards  <pme@gcc.gnu.org>
739
740         * docs/html/faq/index.html (5.4):  Recommend against -I options for
741         finding the ext headers.
742         * docs/html/faq/index.txt:  Regenerate.
743
744 2002-05-19  Paolo Carlini  <pcarlini@unitus.it>
745
746         * testsuite/23_containers/deque_operators.cc (test01):
747         Fix minor typo in last commit.
748
749 2002-05-18  Paolo Carlini  <pcarlini@unitus.it>
750
751         PR libstdc++/6503
752         * include/bits/stl_deque.h (_Deque_iterator::operator==,
753         operator!=, operator<, operator>, operator>=, operator<=):
754         Make non-member functions, to allow comparing const and
755         non-const iterators in any order.
756         * testsuite/23_containers/deque_operators.cc: New testfile.
757
758 2002-05-16  Phil Edwards  <pme@gcc.gnu.org>
759
760         * docs/html/faq/index.html:  Update not-a-bug list with basic_file.h.
761         * docs/html/faq/index.txt:  Regenerate.
762
763 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
764
765         * Makefile.am: Allow for PWDCMD to override hardcoded pwd.
766         * acinclude.m4: Likewise.
767         * docs/html/Makefile: Likewise.
768         * aclocal.m4: Regenerate.
769         * configure: Regenerate.
770         * Makefile.in: Regenerate.
771
772 2002-05-15  Loren J. Rittle <ljrittle@acm.org>
773
774         libstdc++/6641
775         * include/bits/c++config (__USE_MALLOC): Report case where
776         the user improperly defined it on the command line.
777
778 2002-05-15  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
779
780         * testsuite/testsuite_hooks.h (__set_testsuite_memlimit):
781         Retrieve current limits before setting.
782
783 2002-05-15  Benjamin Kosnik  <bkoz@redhat.com>
784
785         PR libstdc++/6518
786         * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
787         for null case.
788         (ostream::operator<<(const _CharT*)): Same.
789         (ostream<char>::operator<<(const char*)): Same.
790         * testsuite/27_io/ostream_inserter_char.cc (test07): Add test.
791
792 2002-05-15  Benjamin Kosnik  <bkoz@redhat.com>
793
794         PR libstdc++/6594
795         * src/strstream.cc (strstreambuf): Fix leak.
796
797 2002-05-15  Paolo Carlini  <pcarlini@unitus.it>
798
799         PR libstdc++/6648
800         * include/bits/istream.tcc (istream::getline, ignore):
801         Upon __idelim (__delim) call sbumpc() not snextc().
802         * testsuite/27_io/narrow_stream_objects.cc:
803         Add test08 and test09.
804
805 2002-05-13  Benjamin Kosnik  <bkoz@redhat.com>
806
807         * testsuite/22_locale/ctype_scan_char.cc: Tweak.
808         * testsuite/22_locale/ctype_scan_wchar_t.cc: New.
809
810         * docs/html/install.html: Fix.
811
812 2002-05-13  Benjamin Kosnik  <bkoz@redhat.com>
813
814         * include/bits/fstream.tcc
815         (basic_filebuf::_M_allocate_internal_buffer): Remove extraneous
816         try/catch blocks.
817         * src/localename.cc (locale::_Impl::_M_install_facet): Same.
818
819         * docs/html/install.html: Tweak, add bits about required locales
820         for the 22_locale tests when using the gnu model.
821
822         * testsuite/27_io/istream_sentry.cc: Tweak.
823
824 2002-05-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
825
826         * config/os/irix/irix5.2/bits/ctype_inline.h (scan_is, scan_not):
827         Fix typo, use this->is() rather than manually (and perhaps
828         incorrectly) inlining it.
829         * config/os/irix/irix6.5/bits/ctype_inline.h (scan_is, scan_not):
830         Likewise.
831         * testsuite/22_locale/ctype_scan_char.cc: New file.
832
833 2002-05-13  Paolo Carlini  <pcarlini@unitus.it>
834             Jakub Jelinek  <jakub@redhat.com>
835
836         * testsuite/22_locale/money_get_members_char.cc
837         (test01, test02, test04): Use the de_DE@euro named locale
838         instead of de_DE to allow for an uniform behaviour with
839         both old and Euro-era localedata; tweak some tests.
840         * testsuite/22_locale/money_get_members_wchar_t.cc
841         (test01, test02, test04): Likewise.
842         * testsuite/22_locale/money_put_members_char.cc
843         (test01, test02, test04): Likewise.
844         * testsuite/22_locale/money_put_members_wchar_t.cc
845         (test01, test02, test04): Likewise.
846
847 2002-05-13  Paolo Carlini  <pcarlini@unitus.it>
848
849         * testsuite/22_locale/codecvt_members_char_char.cc
850         (test03): Robustify wrt localedata.
851         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Likewise.
852         * testsuite/22_locale/collate_members_char.cc (test04): Likewise.
853         * testsuite/22_locale/collate_members_wchar_t.cc (test04): Likewise.
854         * testsuite/22_locale/ctype_members_char.cc (test05): Likewise.
855         * testsuite/22_locale/ctype_members_wchar_t.cc (test04): Likewise.
856         * testsuite/22_locale/messages_members_char.cc (test03): Likewise.
857         * testsuite/22_locale/money_get_members_char.cc (test08): Likewise.
858         * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Likewise.
859         * testsuite/22_locale/money_put_members_char.cc (test07): Likewise.
860         * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Likewise.
861         * testsuite/22_locale/moneypunct_members_char.cc (test03): Likewise.
862         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Likewise.
863         * testsuite/22_locale/num_get_members_char.cc (test06): Likewise.
864         * testsuite/22_locale/num_get_members_wchar_t.cc (test06): Likewise.
865         * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
866         * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
867         * testsuite/22_locale/numpunct_members_char.cc (test03): Likewise.
868         * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Likewise.
869         * testsuite/22_locale/time_get_members_char.cc (test08): Likewise.
870         * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Likewise.
871         * testsuite/22_locale/time_put_members_char.cc (test04): Likewise.
872         * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Likewise.
873
874 2002-05-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
875
876         * config/os/irix/irix5.2/bits/os_defines.h: Revert 2002-05-06
877         change.
878
879 2002-05-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
880
881         * config/os/gnu-linux/bits/os_defines.h (__glibcpp_long_bits): Define
882         to 64 for hppa 64-bit port.
883         (__glibcpp_long_double_bits): Define to 64 for all hppa ports.
884
885 2002-05-10  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
886
887         * acinclude.m4 (enable_symvers): Quote $LD.
888         * aclocal.m4: Regenerate.
889         * configure: Likewise.
890
891 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
892
893         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Append all
894         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
895         LD_LIBRARY_PATH.
896
897 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
898
899         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
900         script entry, and set LD to it when configuring multilibs.
901         * configure: Rebuilt.
902
903 2002-05-07  Mark Mitchell  <mark@codesourcery.com>
904
905         * configure.in: Add support for WindISS.
906         * configure: Regenerated.
907         * configure.target: Add support for WindISS.
908         * config/os/windiss/bits/ctype_base.h: New file.
909         * config/os/windiss/bits/ctype_inline.h: Likewise.
910         * config/os/windiss/bits/ctype_noninline.h: Likewise.
911         * config/os/windiss/bits/os_defines.h: Likewise.
912
913 2002-05-06  Paolo Carlini  <pcarlini@unitus.it>
914
915         Test all the facets for the temporary "C" locale switch issue.
916         * testsuite/22_locale/codecvt_members_char_char.cc: Add test03.
917         * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
918         * testsuite/22_locale/collate_members_char.cc: Add test04.
919         * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
920         * testsuite/22_locale/ctype_members_char.cc: Add test05.
921         * testsuite/22_locale/ctype_members_wchar_t.cc: Add test04.
922         * testsuite/22_locale/messages_members_char.cc: Add test03.
923         * testsuite/22_locale/money_get_members_char.cc: Add test08.
924         * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
925         * testsuite/22_locale/money_put_members_char.cc: Add test07.
926         * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
927         * testsuite/22_locale/moneypunct_members_char.cc: Add test03.
928         * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
929         * testsuite/22_locale/num_get_members_char.cc: Add test06.
930         * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
931         * testsuite/22_locale/numpunct_members_char.cc: Add test03.
932         * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
933         * testsuite/22_locale/time_get_members_char.cc: Add test08.
934         * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
935         * testsuite/22_locale/time_put_members_char.cc: Add test04.
936         * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
937
938         * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
939         * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
940
941 2002-05-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
942
943         * config/os/irix/irix5.2/bits/os_defines.h (_SGI_SOURCE,
944         __EXTENSIONS__): Ensure they are always defined.
945
946 2002-05-06  Phil Edwards  <pme@gcc.gnu.org>
947
948         * docs/html/documentation.html:  Fix broken link.
949
950 2002-05-04  Benjamin Kosnik  <bkoz@redhat.com>
951             Paolo Carlini  <pcarlini@unitus.it>
952
953         * testsuite/22_locale/num_put_members_char.cc: Add test04(),
954         testing for the locale_facets.tcc entry of the previous commit.
955         * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
956
957 2002-05-04  Takeshi Kobayakawa  <tskoba@mte.biglobe.ne.jp>
958
959         * config/locale/generic/c_locale.cc
960         (__convert_to_v(float, double, long double)):
961         Fix the temporary switch to the "C" locale, saving and
962         restoring in the proper way the current locale.
963         * config/locale/generic/time_members.cc
964         (__timepunct<char, wchar_t>::_M_put): Likewise.
965         * config/locale/gnu/messages_members.cc
966         (messages<char>::do_get): Likewise.
967         * config/locale/gnu/messages_members.h
968         (messages<_CharT>::do_get): Likewise.
969         * config/locale/gnu/time_members.cc
970         (__timepunct<char, wchar_t>::_M_put): Likewise.
971         * include/bits/locale_facets.tcc (__convert_from_v): Likewise.
972
973 2002-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
974
975         * configure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h.
976         * libsupc++/Makefile.am (LTCOMPILE): Add $(DEFS).
977
978         * Makefile.in, config.h.in, configure: Regenerate.
979
980 2002-05-03  Benjamin Kosnik  <bkoz@redhat.com>
981
982         PR libstdc++/6549.
983         * include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert.
984         * testsuite/27_io/narrow_stream_objects.cc (test07): Add.
985
986 2002-05-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
987
988         * config/os/irix/irix5.2/bits/ctype_noninline.h (classic_table):
989         Return __ctype + 1.
990         (ctype:_M_table): Initialize to classic_table(), not __ctype.
991
992 2002-05-03  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
993
994         * configure.in: Update local install.html, configopts.html paths.
995         * configure: Regenerate.
996
997 2002-05-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
998
999         * config/os/irix/irix5.2/bits/os_defines.h
1000         (__glibcpp_long_double_bits, __glibcpp_long_bits): Define.
1001
1002         * config/os/irix/irix5.2/bits/ctype_inline.h: Cast to unsigned
1003         char.
1004
1005 2002-05-02  Phil Edwards  <pme@gcc.gnu.org>
1006
1007         * docs/html/faq/index.html:  Update list in #4.1.
1008         * docs/html/faq/index.txt:  Regenerated.
1009
1010 2002-05-02  Benjamin Kosnik  <bkoz@redhat.com>
1011
1012         * docs/html/17_intro/RELEASE-NOTES (New): Update.
1013
1014 2002-05-01  Phil Edwards  <pme@gcc.gnu.org>
1015
1016         * include/std/std_bitset.h:  Fix doxygen comments.
1017         * docs/html/documentation.html:  Minor tweaks for 3.1.
1018         * docs/html/27_io/howto.html:  Likewise.
1019         * docs/html/ext/howto.html:  Likewise, mention stdio_filebuf.
1020         * docs/html/faq/index.html:  Likewise.
1021         * docs/html/faq/index.txt:  Regenerated.
1022
1023 2002-05-01  Benjamin Kosnik  <bkoz@redhat.com>
1024
1025         PR libstdc++/6533
1026         * include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): New.
1027         (istreambuf_iterator::equal): Use it.
1028         (istreambuf_iterator::operator*): Use it.
1029
1030 2002-05-01  Paolo Carlini  <pcarlini@unitus.it>
1031
1032         PR libstdc++/6513
1033         * include/bits/stl_uninitialized.h
1034         (uninitialized_copy(_InputIter, _InputIter, _ForwardIter)):
1035         Fix typo in 2001-07-17 commit: typedef _ValueType to
1036         iterator_traits<_ForwardIter> not <_InputIter>.
1037         * testsuite/23_containers/vector_ctor.cc: Add test04.
1038
1039 2002-04-30  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1040
1041         PR libstdc++/6501
1042         * include/c_std/std_cctype.h: Include bits/c++config.h.
1043         * config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define.
1044
1045 2002-04-30  Benjamin Kosnik  <bkoz@redhat.com>
1046
1047         * include/ext/stdio_filebuf.h: New file.
1048         * include/ext/enc_filebuf.h: New file.
1049         * config/io/basic_file_stdio.h (__basic_file::sys_open): Add fd ctor.
1050         * config/io/basic_file_stdio.cc: Same.
1051         * include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer):
1052         Remove _M_unbuf hacks.
1053         (filebuf::_M_destroy_internal_buffer): Same.
1054         (filebuf::filebuf(cfile, openmode, int_type): Remove definition.
1055         (filebuf::fd): Remove.
1056         * include/std/std_fstream.h (filebuf::_M_unbuf): Remove.
1057         (filebuf::filebuf(__c_file*, openmode, int_type)): Remove.
1058         (filebuf::fd): Remove.
1059         * src/ios.cc (ios_base::_S_ios_create): Change to use specialized
1060         filebufs.
1061         (ios_base::_S_ios_destroy): Same.
1062         * src/misc-inst.cc (file_filebuf<char>): Add instantiation.
1063         * include/Makefile.am (ext_headers): Add ext_filebuf.h,
1064         stdio_filebuf.h.  * include/Makefile.in: Regenerate.
1065
1066 2002-04-30  Benjamin Kosnik  <bkoz@redhat.com>
1067
1068         PR libstdc++/6511
1069         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Fix typo.
1070
1071 2002-04-29  Benjamin Kosnik  <bkoz@redhat.com>
1072
1073         PR libstdc++/5820
1074         * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
1075         Check for eof.
1076         * include/bits/streambuf_iterator.h: Match stream_iterator.h.
1077         (istreambuf_iterator::operator++): Invalidate on eof.
1078         (istreambuf_iterator::operator++(int)): Same.
1079         (istreambuf_iterator::operator*): Same.
1080
1081 2002-04-29  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1082
1083         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all
1084         of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH,
1085         LD_LIBRARY64_PATH.
1086
1087 2002-04-28  Benjamin Kosnik  <bkoz@redhat.com>
1088
1089         PR libstdc++/5820
1090         * config/io/basic_file_stdio.h (__basic_file::sys_getc): Return int.
1091         (__basic_file::sys_ungetc): Take int.
1092         * config/io/basic_file_stdio.cc (__basic_file::sys_ungetc): Same.
1093         * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
1094         Use sys_getc for unbuffered input.
1095         * testsuite/27_io/narrow_stream_objects.cc (test06): New.
1096
1097         * src/ios.cc (_M_grow_words): Adjust error checking.
1098         * testsuite/27_io/ios_base_storage.cc: Same.
1099
1100 2002-04-28  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1101
1102         * include/ext/stl_hashtable.h: Import __iterator_category
1103
1104 2002-04-28  Paolo Carlini  <pcarlini@unitus.it>
1105             Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1106
1107         * testsuite/ext/hash_set.cc: New testfile.
1108
1109 2002-04-27  Benjamin Kosnik  <bkoz@redhat.com>
1110
1111         * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
1112         _G_USING_THUNKS.
1113         * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
1114         * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
1115
1116 2002-04-26  Paolo Carlini  <pcarlini@unitus.it>
1117
1118         * include/bits/basic_string.h (replace(__pos, __n1, __s, __n2):
1119         Fix and tighten __throw_length_error check.
1120         * testsuite/21_strings/replace.cc (test05): New.
1121         * testsuite/21_strings/replace.cc (test02, test03, test04): Tweak.
1122
1123 2002-04-23  Loren J. Rittle <ljrittle@acm.org>
1124
1125         * include/std/std_fstream.h (basic_filebuf::sync): Hoist
1126         unconditional flush on lower-layer handle to here...
1127         * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow):
1128         ...from here.  Optimize remaining _M_file.sync() call pattern.
1129         * testsuite/27_io/narrow_stream_objects.cc (test04): New test.
1130         (test05): Likewise.
1131
1132 2002-04-23  Jason Merrill  <jason@redhat.com>
1133
1134         * include/bits/fstream.tcc (basic_filebuf::seekoff): Fix for
1135         output-only filebufs.
1136         * include/std/std_fstream.h (basic_filebuf::_M_set_indeterminate):
1137         Likewise.
1138         (basic_filebuf::_M_set_determinate): Likewise.
1139
1140         PR libstdc++/6414
1141         * include/bits/fstream.tcc (basic_filebuf::seekoff): Adjust return
1142         value properly in the trivial case.
1143         * testsuite/27_io/istream_seeks.cc (test04): Make sure that
1144         tellg() returns the right value after a read.
1145
1146 2002-04-23  Hans-Peter Nilsson  <hp@bitrange.com>
1147
1148         * config/cpu/mmix/bits/cpu_limits.h: New file.
1149         * configure.target (CPULIMITSH): Use it.
1150
1151 2002-04-22  Loren J. Rittle <ljrittle@acm.org>
1152
1153         * docs/html/17_intro/porting.texi (_GLIBCPP_AVOID_FSEEK): Remove.
1154         * docs/html/17_intro/porting.html: Rebuilt.
1155
1156 2002-04-20  Jason Merrill  <jason@redhat.com>
1157
1158         PR libstdc++/4150
1159         * include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate):
1160         Move to filebuf.
1161         (basic_streambuf::_M_set_determinate): Likewise.
1162         (basic_streambuf::_M_is_indeterminate): Likewise.
1163         * include/bits/std_fstream.h (basic_filebuf::_M_filepos): New
1164         non-static data member.
1165         (basic_filebuf::_M_underflow_common): New non-static member function.
1166         (basic_filebuf::_M_underflow, _M_uflow): Call it.
1167         (basic_filebuf::sync): Avoid useless seeking.
1168         (basic_filebuf::_M_set_indeterminate): Move here from streambuf.
1169         Set _M_filepos.
1170         (basic_filebuf::_M_set_determinate): Likewise.
1171         (basic_filebuf::_M_is_indeterminate): Likewise.
1172         * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): Seek
1173         back to _M_out_beg if necessary.
1174         (basic_filebuf::seekoff): Likewise.
1175         (basic_filebuf::_M_underflow_common): Generalization of old
1176         underflow().  Don't seek back to _M_in_beg.
1177         * src/ios.cc: Lose _GLIBCPP_AVOID_FSEEK stuff.
1178         * config/os/solaris/solaris2.?/bits/os_defines.h: Likewise.
1179         * config/os/bsd/freebsd/bits/os_defines.h: Likewise.
1180         * config/os/mingw32/bits/os_defines.h: Likewise.
1181         * testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify
1182         ungetc test.
1183
1184 2002-04-22  Benjamin Kosnik  <bkoz@redhat.com>
1185
1186         * include/bits/istream.tcc (istream::read): Fix.
1187         * testsuite/27_io/istream_unformatted.cc (main): Add.
1188
1189 2002-04-20  Benjamin Kosnik  <bkoz@redhat.com>
1190
1191         PR libstdc++/6360
1192         * include/bits/istream.tcc (istream::ignore): Streamline, use
1193         delimiter as is.
1194         * include/bits/streambuf.tcc: Use this->gptr.
1195         * testsuite/27_io/istream_unformatted.cc (test08): Add test.
1196
1197 2002-04-18  Benjamin Kosnik  <bkoz@redhat.com>
1198
1199         * include/bits/localefwd.h (locale::id::_M_id): Do this correctly,
1200         as type safety is important, especially on solaris.
1201         * include/bits/istream.tcc (istream::read): Clean.
1202         (istream::readsome): Same.
1203         * locale.cc: Wrap lines.
1204
1205         * testsuite/21_strings/inserters_extractors.cc: Tweaks.
1206         * testsuite/27_io/instantiations.cc (test): Add bool variable...
1207         * testsuite/21_strings/capacity.cc: Clean.
1208
1209 2002-04-17  Phil Edwards  <pme@gcc.gnu.org>
1210
1211         * docs/doxygen/doxygroups.cc:  New group on binary searching.
1212         * include/bits/stl_algo.h:  Document binary searches and merges.
1213         * include/bits/stl_deque.h:  The 'map' member is not the 'map' class.
1214
1215 2002-04-17  Phil Edwards  <pme@gcc.gnu.org>
1216
1217         * docs/doxygen/mainpage.html:  Doxygen logo is now a PNG file.
1218         * docs/doxygen/run_doxygen:  Bump required version.
1219         * docs/doxygen/user.cfg.in:  Revert accidental change.
1220         * docs/html/faq/index.html:  Reindent a block of links.
1221         (4.4):  New note on using dlsym.
1222         * docs/html/faq/index.txt:  Regenerated.
1223
1224 2002-04-17  Phil Edwards  <pme@gcc.gnu.org>
1225
1226         * testsuite_flags.in (cxxflags):  Also pass @EXTRA_CXX_FLAGS@.
1227
1228 2002-04-17  Benjamin Kosnik  <bkoz@redhat.com>
1229
1230         * config/linker-map.gnu (__malloc_alloc_template): Add.
1231         (__default_alloc_template): Same.
1232         * include/bits/stl_alloc.h (__malloc_alloc_template): Add extern
1233         template.
1234         (__default_alloc_template): Same.
1235
1236 2002-04-17  Benjamin Kosnik  <bkoz@redhat.com>
1237
1238         * testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation.
1239
1240 2002-04-16  Benjamin Kosnik  <bkoz@redhat.com>
1241
1242         * src/concept-inst.cc (vector<locale::facet*>): Remove instantiations.
1243         * src/stl-inst.cc (vector::_M_insert_aux): Remove instantiation.
1244         (__malloc_alloc_template): Conditionalize.
1245
1246         * include/bits/istream.tcc: Remove sputbackc calls.
1247
1248         * testsuite/19_diagnostics/stdexceptions.cc: Fix comment.
1249
1250 2002-04-16  Paolo Carlini <pcarlini@unitus.it>
1251
1252         * testsuite/24_iterators/rel_ops.cc: New test.
1253
1254 2002-04-16  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1255
1256         * include/bits/type_traits.h (__normal_iterator): Declare in
1257         __gnu_cxx.  Adjust use at global namespace.
1258         * include/bits/stl_iterator.h (__normal_iterator): Move definition
1259         into __gnu_cxx::. Add more operator overloads.  Tidy existing ones.
1260         * include/bits/basic_string.h (basic_string): Adjust use of
1261         __normal_iterator.
1262         * include/bits/stl_vector.h (_Alloc>): Likewise.
1263         * src/concept-inst.cc (__gnu_cxx): __normal_iterator<> is now here.
1264         * src/string-inst.cc (operator==): Instantiate in __gnu_cxx.
1265
1266 2002-04-15  Benjamin Kosnik  <bkoz@redhat.com>
1267
1268         PR libstdc++/4164
1269         Valgrind fixes.
1270         * config/io/basic_file_stdio.cc (__basic_file::~__basic_file):
1271         Call close.
1272         (__basic_file::close): Call fflush. Correct return if fclose ok.
1273         (__basic_file::is_open): Make const.
1274         Change __c_file_type to __c_file.
1275         * config/io/basic_file_stdio.h: Change __c_file_type to __c_file.
1276         (__basic_file::is_open): Make const.
1277         * config/io/c_io_stdio.h: Change __c_file_type to __c_file.
1278         * include/std/std_fstream.h (filebuf::_M_allocate_file): Remove.
1279         (filebuf::_M_unbuf): Add.
1280         (filebuf::_M_file): Change to non-pointer.
1281         (filebuf::_M_allocate_pback_buffer): Remove.
1282         * include/bits/fstream.tcc (filebuf::_M_allocate_file): Remove.
1283         (filebuf::_M_allocate_internal_buffer): Use _M_unbuf.
1284         Change initialization list for _M_file change.
1285         (filebuf::_M_allocate_pback_buffer): Remove.
1286         Change _M_file usage to reflect non-pointer data member.
1287
1288         * config/locale/generic/c_locale.cc
1289         (locale::facet::_S_create_c_locale): Add parameter.
1290         * config/locale/generic/collate_members.cc: Change
1291         _M_compare_helper to _M_compare.
1292         Change _M_transform_helper to _M_transform.
1293         * config/locale/generic/monetary_members.cc: Changeup data types.
1294         Add dtors.
1295         * config/locale/generic/numeric_members.cc: Add dtors.
1296         * config/locale/generic/time_members.cc: Add dtors.
1297         * config/locale/gnu/c_locale.cc: Add parameter.
1298         * config/locale/gnu/collate_members.cc:Change
1299         _M_compare_helper to _M_compare.
1300         Change _M_transform_helper to _M_transform.
1301         * config/locale/gnu/ctype_members.cc: Better error checking.
1302         * config/os/gnu-linux/bits/ctype_noninline.h: Better error checking.
1303         * config/locale/gnu/messages_members.cc: Tweak comment.
1304         * config/locale/gnu/monetary_members.cc: Change data types.
1305         Add dtors.
1306         * config/locale/gnu/numeric_members.cc: Add dtors, better error
1307         checking.
1308         * config/locale/gnu/time_members.cc: Same.
1309         * config/locale/ieee_1003.1-2001/c_locale.cc
1310         (locale::facet::_S_create_c_locale): Add parameter.
1311         * config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef.
1312         * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove
1313         bogus ctor.
1314
1315         * include/bits/locale_facets.h (moneypunct): Use string literals.
1316         Don't define dtor.
1317         (numpunct): Same.
1318         (__timepunct): Same.
1319         (locale::_Impl::_M_facets): Change from vector to array.
1320         (locale::_Impl::_M_names): Change from array of strings to array
1321         of string literals.
1322         (locale::facet::_S_create_c_locale): Add parameter.
1323         (locale::locale::_S_num_facets): Move to...
1324         (locale::_Impl::_M_facets_size): Here.
1325         * include/bits/locale_facets.tcc: Fixups for _M_facets, _M_name
1326         changes.
1327         * include/bits/localefwd.h: (locale::id::_M_id): Add member function.
1328         (locale::_Impl::_Impl(facet**, size_t, bool)): Add.
1329         (locale::_Impl::_Impl(string, size_t)): Change to
1330         (locale::_Impl::_Impl(const char*, size_t)): This.
1331
1332         * include/bits/streambuf.tcc (streambuf::_S_pback_size): Define.
1333         * include/std/std_streambuf.h (streambuf::_M_pback_size): Change to
1334         (streambuf::_S_pback_size): This.
1335
1336         * src/globals.cc: Add pre-allocations for "C" facets.
1337         * src/locale-inst.cc: Remove vector instantiations.
1338         * src/locale.cc: Remove vector include. Fixups for _M_names,
1339         _M_facets changes.
1340         * src/localename.cc: Same.
1341
1342         * include/bits/stl_vector.h: Fix odd formatting.
1343
1344         * include/bits/basic_string.tcc: Tweak comment.
1345
1346         * libsupc++/new: Make sure parameters are uglified.
1347         * libsupc++/typeinfo: Same.
1348
1349         * testsuite/22_locale/num_get_members_char.cc: Fixup.
1350         * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
1351         * testsuite/27_io/filebuf_members.cc: Same.
1352
1353 2002-04-12  Steve Ellcey  <sje@cup.hp.com>
1354
1355         * gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h
1356         (strtoll, strtoull): In 64 bit mode HP-UX (IA64 and HPPA)
1357         does not define strtoll or strtoull, but does define strtol
1358         and strtoul which are the same since in 64 bit mode
1359         sizeof(long) == sizeof(long long).
1360
1361 2002-04-12  Phil Edwards  <pme@gcc.gnu.org>
1362
1363         * include/std/std_bitset.h:  Doxygenate std::bitset<>.  Clean up
1364         trailing spaces, indentation, and macro names.  Make exception
1365         messages more informative.
1366
1367 2002-04-11  Richard Henderson  <rth@redhat.com>
1368
1369         * include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering.
1370         * include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same.
1371         (basic_ostream<>::operator<<(long long)): Same.
1372
1373 2002-04-11  Richard Henderson  <rth@redhat.com>
1374
1375         * config/linker-map.gnu: Add __gxx_personality_sj0.
1376
1377 2002-04-09  Benjamin Kosnik  <bkoz@redhat.com>
1378
1379         libstdc++/1072
1380         * include/bits/localefwd.h (locale::_Impl::_M_facets): Change from
1381         pointer to vector.
1382         Remove forward declaration of vector.
1383         Include vector.
1384         * include/bits/locale_facets.tcc: Remove vector include.
1385         (use_locale): Adjust.
1386         (has_locale): Adjust.
1387         * src/locale.cc: Adjust.
1388         * src/localename.cc: Same.
1389
1390 2002-04-09  Benjamin Kosnik  <bkoz@redhat.com>
1391             Richard Henderson  <rth@redhat.com>
1392
1393         * include/bits/sstream.tcc: Clean up bit ops.
1394         * include/bits/fstream.tcc: Same.
1395
1396 2002-04-09  Jakub Jelinek  <jakub@redhat.com>
1397
1398         * include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove.
1399         (__num_base::_S_scale_oct): Remove.
1400         * src/locale.cc (__num_base::_S_scale_hex): Remove.
1401         (__num_base::_S_scale_oct): Remove.
1402
1403 2002-04-09  Benjamin Kosnik  <bkoz@redhat.com>
1404
1405         libstdc++/6124
1406         * testsuite/23_containers/bitset_members.cc: New test.
1407         * include/std/std_bitset.h (_Bit_count::_S_bit_count): Move..
1408         (_S_bit_count): Here.
1409         (_First_one::_S_first_one): Move...
1410         (_S_first_one): Here.
1411         Format.
1412         * src/bitset.cc: Adjust.
1413         * config/linker-map.gnu: Export.
1414
1415 2002-04-08  Benjamin Kosnik  <bkoz@redhat.com>
1416
1417         libstdc++/5180
1418         * include/bits/fstream.tcc (filebuf::seekpos): Fix.
1419         * include/std/std_fstream.h: Clean.
1420         * include/bits/ostream.tcc: Remove extraneous variables.
1421         * include/bits/sstream.tcc (stringbuf::seekoff): Be strict about
1422         open modes and which modes.
1423         (stringbuf::seekpos): Same.
1424         * testsuite/27_io/stringbuf_virtuals.cc: New tests.
1425
1426 2002-04-05  Jonathan Wakely <jw@kayari.org>
1427
1428         * include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy,
1429         random_shuffle, partition, stable_partition, sort, stable_sort,
1430         partial_sort, partial_sort_copy, nth_element):  Doxygenate.
1431
1432 2002-04-05  David S. Miller  <davem@redhat.com>
1433
1434         * config/os/gnu-linux/bits/os_defines.h
1435         (__glibcpp_long_double_bits): Set to 64 on 32-bit Sparc.
1436
1437 2002-04-04  Benjamin Kosnik  <bkoz@redhat.com>
1438
1439         libstdc++/3457
1440         via gawrilow@math.tu-berlin.de
1441         * acinclude.m4 (version_specific_libs): Fix combo usage with
1442         --with-gxx-include-dir.
1443         * aclocal.m4: Regenerate.
1444         * configure: Same.
1445
1446 2002-04-03  Benjamin Kosnik  <bkoz@redhat.com>
1447
1448         As per DR 184, libstdc++/3139
1449         * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1.
1450         (numeric_limits<bool>::is_iec559): False.
1451         (numeric_limits<bool>::is_modulo): False.
1452
1453         * testsuite/27_io/ios_init.cc: Add instantiations.
1454
1455 2002-04-02  Benjamin Kosnik  <bkoz@redhat.com>
1456
1457         libstdc++/5268
1458         * src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
1459         * testsuite/27_io/ios_init.cc (tests04): Add test.
1460
1461         libstdc++/3983
1462         * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
1463         (basic_ios::_M_ios_fctype): Consistently name to _M_fctype.
1464         * include/bits/basic_ios.tcc: Same. Remove outdated comments.
1465         * include/bits/istream.tcc: Use _M_fctype, make consistent with
1466         ostream.
1467         * testsuite/27_io/ios_init.cc (tests03): Add test.
1468
1469 2002-04-02  Phil Edwards  <pme@gcc.gnu.org>
1470
1471         * include/Makefile.am (install-data-local):  Use mkinstalldirs.
1472         * include/Makefile.in:  Regenerate.
1473
1474 2002-04-02  Paolo Carlini  <pcarlini@unitus.it>
1475             Nathan Myers  <ncm@cantrip.org>
1476             Philip Martin  <philip@codematters.co.uk>
1477
1478         * include/bits/basic_string.h
1479         (replace(i1, i2, _CharT* k1, _CharT* k2),
1480         replace(i2, i2, const _CharT* k1, const _CharT* k2),
1481         replace(i1, i2, iterator k1, iterator k2,
1482         replace(i1, i2, const_iterator k1, const_iterator k2):
1483         New specializations to optimize for the common cases of
1484         pointers and iterators.
1485         (replace(pos, n1, s, n2)): Tweak.
1486         * include/bits/basic_string.tcc: Tweak comments.
1487         * testsuite/21_strings/replace.cc (test04): New tests.
1488
1489 2002-04-01  Benjamin Kosnik  <bkoz@redhat.com>
1490
1491         libstdc++/5542
1492         * acinclude: More extensive checks for msgfmt, --enable-nls.
1493         * aclocal.m4: Regenerate.
1494         * configure: Regenerate.
1495
1496 2002-04-01  Phil Edwards  <pme@gcc.gnu.org>
1497
1498         * libsupc++/exception (__verbose_terminate_handler):  Point to docs.
1499         * docs/doxygen/doxygroups.cc:  Doxygen hooks for abi::__cxa_demangle.
1500         * docs/html/18_support/howto.html:  Document the demangler.
1501         * docs/html/17_intro/howto.html:  And link to it.
1502
1503         * docs/doxygen/mainpage.html:  Describe user-vs-maintainer docs.
1504         * docs/doxygen/run_doxygen:  Print user-vs-maintainer.
1505
1506 2002-04-01  Phil Edwards  <pme@gcc.gnu.org>
1507
1508         * config/linker-map.gnu:  Export __verbose_terminate_handler.
1509         * libsupc++/Makefile.am (sources):  Add cxa_demangle.c, dyn-string.c.
1510         Make new LTCOMPILE variable, use it in new special build rules.
1511         * libsupc++/Makefile.in:  Rebuild.
1512         * src/vterminate.cc (__verbose_terminate_handler):  Enable use of
1513         runtime __cxa_demangle.
1514
1515         * docs/html/install.html:  Update prereqs and instructions.
1516         * docs/html/19_diagnostics/howto.html:  Bring naming for
1517         verbose_terminate_handler into line with reality.
1518
1519 2002-04-01  Benjamin Kosnik  <bkoz@redhat.com>
1520
1521         libstdc++/3129
1522         * include/bits/basic_ios.h (basic_ios::_M_exception): Move.
1523         (basic_ios::_M_streambuf_state): Move.
1524         * include/bits/ios_base (ios_base): To here.
1525         * include/bits/ios_base.h (ios_base::_S_local_words): To
1526         _S_local_word_size.
1527         (ios_base::_M_word_array): To _M_local_word.
1528         (ios_base::_M_words_limit): To _M_word_size.
1529         (ios_base::_M_words): To _M_word.
1530         Comment.
1531         * include/bits/basic_ios.tcc: Adjust.
1532         * src/ios.cc (ios_base::_M_grow_words): Tweak.
1533         * testsuite/27_io/ios_base_storage.cc: Add tests.
1534
1535         libstdc++/5207
1536         Kenny Simpson <theonetruekenny@yahoo.com>
1537         * include/bits/ios_base.h: Fix.
1538
1539         Richard Henderson  <rth@redhat.com>
1540         * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
1541         last change.
1542
1543         * include/bits/basic_string.h: Tweak formatting.
1544
1545 2002-04-01  Paolo Carlini  <pcarlini@unitus.it>
1546
1547         * config/locale/ieee_1003.1-2001/codecvt_specializations.h
1548         (codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
1549         By definition, sizeof(char) == 1.
1550         * include/bits/locale_facets.tcc (money_get::do_get,
1551         money_put::do_put): Ditto.
1552         * testsuite/21_strings/inserters_extractors.cc
1553         (test04): Ditto.
1554
1555 2002-03-30  Richard Henderson  <rth@redhat.com>
1556
1557         PR c++/3719
1558         * libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler
1559         data out of the exception struct before calling unexpectedHandler.
1560
1561 2002-03-28  Roger Sayle  <roger@eyesopen.com>
1562
1563         * include/c_std/std_cmath.h:  To prevent problems overloading
1564         g++ builtins, use the double variants from the global namespace
1565         before defining float and long double variants in std::.
1566
1567 2002-03-28  Loren J. Rittle <ljrittle@acm.org>
1568
1569         * testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
1570
1571 2002-03-28  Paolo Carlini  <pcarlini@unitus.it>
1572
1573         * testsuite/24_iterators/istream_iterator.cc
1574         (test02): New tests.
1575
1576 2002-03-28  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1577             Paolo Carlini  <pcarlini@unitus.it>
1578
1579         * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
1580         (test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
1581         fix i_lit_base e_lit_base arrays, making them independent
1582         from the endianness of the platform; tweak UCS4 to UCS-4BE.
1583
1584 2002-03-27  Benjamin Kosnik  <bkoz@redhat.com>
1585
1586         * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
1587         allocate at least a byte.
1588
1589         * testsuite/18_support/numeric_limits.cc (test_extrema): Make
1590         debugger-friendly.
1591         * testsuite/27_io/streambuf.cc (test07): Fix.
1592         (test06): Enable.
1593
1594 2002-03-27  Phil Edwards  <pme@gcc.gnu.org>
1595
1596         * docs/doxygen/Intro.3:  Date tweak.
1597         * docs/doxygen/TODO:  Update.
1598         * docs/doxygen/doxygroups.cc:  Point to tables.html.
1599         * docs/doxygen/mainpage.html:  Date tweak.
1600         * docs/doxygen/run_doxygen:  Version tweak.  Copy tables.html over.
1601         * docs/doxygen/tables.html:  Fill in the blanks.
1602
1603         * docs/doxygen/user.cfg.in (ALIASES):  Remove maint and endmaint.
1604         * include/bits/stl_algo.h:  Likewise; use expanded form.
1605         * include/bits/stl_alloc.h:  Likewise.
1606         * include/bits/stl_construct.h:  Likewise.
1607         * include/bits/stl_deque.h:  Likewise.
1608         * include/bits/stl_iterator_base_types.h:  Likewise.
1609         * include/bits/stl_list.h:  Likewise.
1610         * include/bits/stl_relops.h:  Likewise.
1611         * include/bits/stl_tempbuf.h:  Likewise.
1612         * include/bits/stl_vector.h:  Likewise.
1613         * include/std/std_memory.h:  Likewise.
1614
1615         * include/bits/stl_deque.h:  Point into tables.html and add @ingroup.
1616         * include/bits/stl_list.h:  Likewise.
1617         * include/bits/stl_vector.h:  Likewise.
1618
1619 2002-03-26  Benjamin Kosnik  <bkoz@redhat.com>
1620
1621         * include/c/: Guard with _CPP_.
1622         * include/c_std/: Same.
1623         * include/Makefile.am: Fixup install, link routines for null
1624         c_base_headers_extra scenarios.
1625         * include/Makefile.in: Regerate.
1626
1627 2002-03-25  Paolo Carlini <pcarlini@unitus.it>
1628             Richard Henderson  <rth@redhat.com>
1629
1630         * testsuite/22_locale/codecvt_members_unicode_char.cc
1631         (test01, test02): make sure that the i_lit_base array
1632         is sufficiently aligned.
1633
1634 2002-03-25  Benjamin Kosnik  <bkoz@redhat.com>
1635
1636         * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
1637         _ctype_.
1638
1639 2002-03-25  Paolo Carlini  <pcarlini@unitus.it>
1640
1641         * testsuite/22_locale/collate_byname.cc
1642         (test01): compare the result of collate::compare with
1643         that of collate::transform + string::compare, not with
1644         that of collate::transform + collate::compare; values
1645         returned by collate::compare are normalized, therefore
1646         test against +-1.
1647
1648 2002-03-25  Benjamin Kosnik  <bkoz@redhat.com>
1649             Jakub Jelinek  <jakub@redhat.com>
1650
1651         * config/locale/gnu/messages_members.h: Correct conditional.
1652         * config/locale/gnu/messages_members.cc: Same.
1653         * config/locale/gnu/time_members.cc: Same.
1654
1655 2002-03-25  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1656             Paolo Carlini  <pcarlini@unitus.it>
1657
1658         * testsuite/22_locale/codecvt_members_unicode_char.cc
1659         (test01, test02): Fix i_lit_base arrays, making them
1660         independent from the endianness of the platform.
1661
1662 2002-03-22  Benjamin Kosnik  <bkoz@redhat.com>
1663
1664         * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
1665         signbit and __signbit directly.
1666         * aclocal.m4: Regenerate.
1667         * configure: Regenerate.
1668         * config.h.in: Regenerate.
1669         * libmath/Makefile.am: Simplify.
1670         * libmath/Makefile.in: Regenerate.
1671         * include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
1672
1673         * include/Makefile.am: Clean up handling of extra "C" header files.
1674         Add hooks for "C" compatibility headers.
1675         * include/Makefile.in: Regenerate.
1676
1677         * include/c/*: Formatting tweaks, cleanups.
1678         * include/c_std/*: Same.
1679
1680 2002-03-22  Benjamin Kosnik  <bkoz@redhat.com>
1681
1682         * config/locale/gnu/messages_members.h: Add __uselocale bits.
1683         * config/locale/gnu/messages_members.cc: Same.
1684         * config/locale/gnu/time_members.cc: Same.
1685
1686 2002-03-22  Benjamin Kosnik  <bkoz@redhat.com>
1687
1688         * src/vterminate.cc: Format, -fno-exceptions cleanup.
1689
1690 2002-03-21  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1691
1692         * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
1693         (GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
1694         * aclocal.m4: Regenerate.
1695         * configure: Likewise.
1696
1697 2002-03-19  Paolo Carlini  <pcarlini@unitus.it>
1698             Ulrich Drepper  <drepper@redhat.com>
1699
1700         * src/locale-inst.cc (__convert_from_v): Add an additional
1701         __size parameter in the declarations.
1702         * include/bits/locale_facets.tcc
1703         (__convert_from_v): When available (that is,
1704         _GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
1705         (num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
1706         being defined or not, call and use __convert_from_v in the
1707         appropriate way.
1708         (num_put::_M_convert_int): Same here.
1709         (money_put::do_put(long double)): Same here.
1710
1711 2002-03-19  Phil Edwards  <pme@gcc.gnu.org>
1712
1713         * docs/html/faq/index.html (#3.6):  Rewrap and close <a href> tags.
1714         * docs/html/faq/index.txt:  Regenerate.
1715
1716 2002-03-19  Steve Ellcey  <sje@cup.hp.com>
1717
1718         * acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
1719         GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
1720         --enable-libunwind-exceptions is set.
1721         * configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
1722         macro to check for libunwind.
1723         * configure: Regenerate.
1724         * src/Makefile.am (libstdc___la_LDFLAGS): Add
1725         LIBUNWIND_FLAG to libstdc link line.
1726         * src/Makefile.in: Regenerate.
1727
1728 2002-03-19  Benjamin Kosnik  <bkoz@redhat.com>
1729
1730         * docs/html/faq/index.html: Add OS X workaround.
1731         * docs/html/17_intro/TODO: Update.
1732
1733 2002-03-18  Paolo Carlini  <pcarlini@unitus.it>
1734
1735         * include/bits/locale_facets.tcc
1736         (money_put::do_put(long double)): Fix dimensioning of
1737         temporary buffers to avoid risk of overruns.
1738         (money_put::do_put(string)): Same for the buffer used to
1739         add the grouping chars.
1740         * testsuite/22_locale/money_put_members_char.cc: Add test06.
1741         * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
1742
1743         * include/bits/locale_facets.tcc
1744         (collate::do_transform): Simplify.
1745
1746 2002-03-18  Phil Edwards  <pme@gcc.gnu.org>
1747
1748         * acinclude.m4 (GLIBCPP_CONFIGURE):  Make indentation/spacing uniform.
1749         * configure.in:  Add comments pointing the way for autoconf 2.5x.
1750         * aclocal.m4, config.h.in, configure:  Regenerate.
1751
1752 2002-03-18  Philipp Thomas  <pthomas@suse.de>
1753
1754         * include/backward/hash_map.h: hash, hashtable, hash_map and
1755         hash_multimap are in namespace __gnu_cxx.
1756         include/backward/hash_set.h: hash, hashtable, hash_set and
1757         hash_multiset are in namespace __gnu_cxx.
1758         include/backward/hashtable.h: hash and hashtable are in
1759         namespace __gnu_cxx.
1760         include/backward/rope.h: char_producer, sequence_buffer,
1761         rope, crope and wrope are in namespace __gnu_cxx.
1762         include/backward/slist.h: slist is in namespace __gnu_cxx.
1763         * testsuite/backward/header_hash_map_h.cc
1764         testsuite/backward/header_hash_set_h.cc
1765         testsuite/backward/header_hashtable_h.cc
1766         testsuite/backward/header_rope_h.cc
1767         testsuite/backward/header_slist_h.cc
1768         testsuite/backward/header_tempbuf_h.cc: New tests for
1769         checking that we're using the correct namespace.
1770
1771 2002-03-17  Jason Merrill  <jason@redhat.com>
1772
1773         PR c++/4381
1774         * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
1775         (check_exception_spec): Call it.  Take the thrown pointer.
1776         (__cxa_call_unexpected): Pass it.
1777         (PERSONALITY_FUNCTION): Likewise.  Use get_adjusted_ptr.
1778
1779 2002-03-15  Anthony Green  <green@redhat.com>
1780
1781         * configure.in: Remove useless is_mingw32.
1782         * configure: Rebuilt.
1783
1784 2002-03-15  Paolo Carlini  <pcarlini@unitus.it>
1785
1786         * testsuite/22_locale/collate_members_char.cc
1787         (test01): compare the result of collate::compare with
1788         that of collate::transform + string::compare, not with
1789         that of collate::transform + collate::compare.
1790         (test01): values returned by collate::compare are
1791         normalized, therefore test against +-1.
1792         * testsuite/22_locale/collate_members_wchar_t.cc: Ditto.
1793
1794 2002-03-12  Loren Rittle  <ljrittle@acm.org>
1795
1796         reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1797         * testsuite/thread/pthread4.cc: Lower nominal iteration counter.
1798
1799 2002-03-12  Benjamin Kosnik  <bkoz@redhat.com>
1800             Per Liboriussen  <liborius@stofanet.dk>
1801
1802         * config/os/gnu-linux/bits/ctype_noninline.h: Cast to
1803         unsigned char.
1804         * config/os/gnu-linux/bits/ctype_inline.h: Same.
1805
1806         * config/os/irix/irix6.5/bits/ctype_inline.h: Same.
1807
1808         * config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
1809         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1810
1811         * config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
1812         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
1813
1814         * config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
1815         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
1816
1817         * testsuite/22_locale/ctype_members_char.cc (main): Add tests.
1818
1819 2002-03-12  Benjamin Kosnik  <bkoz@redhat.com>
1820
1821         * include/bits/basic_string.tcc (string::_S_construct(_InIter,
1822         _InIter, const _Alloc&, forward_iterator_tag): Check for null.
1823         (string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
1824         * testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
1825         that memory limits are in place.
1826         (test03): Add tests.
1827
1828 2002-03-11  Benjamin Kosnik  <bkoz@redhat.com>
1829
1830         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
1831         * aclocal.m4: Regenerate.
1832         * config.h.in: Regenerate.
1833         * configure: Regenerate.
1834         * include/c_std/std_cwctype.h: Guard.
1835
1836 2002-03-11  Chris Demetriou  <cgd@broadcom.com>
1837
1838         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
1839         whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
1840         * aclocal.m4: Regenerate.
1841         * configure: Regenerate.
1842
1843 2002-03-11  Benjamin Kosnik  <bkoz@redhat.com>
1844
1845         * include/bits/stl_bvector.h: Fix warning.
1846
1847 2002-03-11  Richard Henderson  <rth@redhat.com>
1848
1849         * include/bits/stl_bvector.h (_Bit_type): New.  Use throughout.
1850
1851 2002-03-11  Phil Edwards  <pme@gcc.gnu.org>
1852
1853         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
1854         New function.  Build the list of tests to run in testsuite_files.
1855         * testsuite/libstdc++-v3.dg/dg.exp:  Use it.
1856
1857 2002-03-11  Phil Edwards  <pme@gcc.gnu.org>
1858
1859         * testsuite/21_strings/capacity.cc:  Only explicitly instantiate on
1860         platforms with no weak support.
1861         * testsuite/27_io/ios_init.cc:  Likewise.
1862
1863 2002-03-10  Paolo Carlini  <pcarlini@unitus.it>
1864
1865         * include/bits/locale_facets.tcc (time_put::do_put):
1866         Consider sizeof(char_type) in allocating the buffer.
1867
1868         * include/bits/locale_facets.tcc (collate::do_tranform):
1869         Remove redundant variable.
1870
1871 2002-03-10  Ulrich Drepper  <drepper@redhat.com>
1872             Paolo Carlini  <pcarlini@unitus.it>
1873
1874         * config/locale/generic/collate_members.cc
1875         (collate<char,wchar_t>::_M_compare_helper): normalize
1876         values returned by strcoll and wcscoll.
1877         * config/locale/gnu/collate_members.cc
1878         (collate<char,wchar_t>::_M_compare_helper): ditto
1879         for __strcoll_l and __wcscoll_l.
1880
1881 2002-03-10  Anthony Green  <green@redhat.com>
1882
1883         * configure.in: Support cross builds to mingw32 target.
1884         * configure: Rebuilt.
1885
1886 2002-03-09  Paolo Carlini  <pcarlini@unitus.it>
1887
1888         * include/bits/locale_facets.tcc (collate::do_transform):
1889         Rewrite to fix problems with long transformed strings.
1890
1891 2002-03-08  Benjamin Kosnik  <bkoz@redhat.com>
1892
1893         * c_locale_generic.cc: Move to...
1894         * generic/c_locale.cc
1895         * c_locale_generic.h: Move to...
1896         * generic/c_locale.h
1897         * codecvt_specializations_generic.h: Move to...
1898         * generic/codecvt_specializations.h
1899         * collate_members_generic.cc: Move to...
1900         * generic/collate_members.cc
1901         * ctype_members_generic.cc: Move to...
1902         * generic/ctype_members.cc
1903         * messages_members_generic.cc: Move to...
1904         * generic/messages_members.cc
1905         * messages_members_generic.h: Move to...
1906         * generic/messages_members.h
1907         * moneypunct_members_generic.cc: Move to...
1908         * generic/monetary_members.cc
1909         * numpunct_members_generic.cc: Move to...
1910         * generic/numeric_members.cc
1911         * time_members_generic.cc: Move to...
1912         * generic/time_members.cc
1913         * c_locale_gnu.cc: Move to...
1914         * gnu/c_locale.cc
1915         * c_locale_gnu.h: Move to...
1916         * gnu/c_locale.h
1917         * collate_members_gnu.cc: Move to...
1918         * gnu/collate_members.cc
1919         * ctype_members_gnu.cc: Move to...
1920         * gnu/ctype_members.cc
1921         * messages_members_gnu.cc: Move to...
1922         * gnu/messages_members.cc
1923         * messages_members_gnu.h: Move to...
1924         * gnu/messages_members.h
1925         * moneypunct_members_gnu.cc: Move to...
1926         * gnu/monetary_members.cc
1927         * numpunct_members_gnu.cc: Move to...
1928         * gnu/numeric_members.cc
1929         * time_members_gnu.cc: Move to...
1930         * gnu/time_members.cc
1931         * c_locale_ieee_1003.1-200x.cc: Move to...
1932         * ieee_1003.1-2001/c_locale.cc
1933         * c_locale_ieee_1003.1-200x.h: Move to...
1934         * ieee_1003.1-2001/c_locale.h
1935         * codecvt_specializations_ieee_1003.1-200x.h: Move to...
1936         * ieee_1003.1-2001/codecvt_specializations.h
1937         * messages_members_ieee_1003.1-200x.cc: Move to...
1938         * ieee_1003.1-2001/messages_members.cc
1939         * messages_members_ieee_1003.1-200x.h: Move to...
1940         * ieee_1003.1-2001/messages_members.h
1941
1942         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
1943         * aclocal.m4: Regenerate.
1944         * configure: Regenerate.
1945         * src/Makefile.am (sources): Change to monetary and numeric.
1946         * src/Makefile.in: Regenerate.
1947         * docs/html/configopts.html: Update to ieee_1003.1-2001.
1948
1949 2002-03-08  scott snyder  <snyder@fnal.gov>
1950
1951         libstdc++/5875
1952         * include/bits/locale_facets.tcc (num_put::_M_convert_float):
1953         Allow one more digit of precision.
1954         * testsuite/27_io/ostream_inserter_arith.cc: Test that we can
1955         write a double and read back in the same value.
1956
1957 2002-03-08  Benjamin Kosnik  <bkoz@redhat.com>
1958
1959         * include/std/std_limits.h: Move static const data members out of
1960         generic template, into base class __numeric_limits_base.
1961         * src/limits.cc: Add definitions.
1962         * config/linker-map.gnu: Add __numeric_limits_base.
1963         * testsuite/18_support/numeric_limits.cc: Declare test in scope.
1964
1965 2002-03-07  Benjamin Kosnik  <bkoz@redhat.com>
1966
1967         * include/bits/stl_alloc.h: Add extern implicit allocator
1968         instantiations.
1969         * include/bits/basic_string.tcc: Tweak.
1970         * include/bits/locale_facets.tcc: Remove default args. Add
1971         has_facet, use_facet extern instantiations.
1972         * src/stl-inst.cc: Add explicit instantiation.
1973         * src/locale-inst.cc: Clean. Remove locale member template
1974         instantiations.
1975
1976         * testsuite/22_locale/operators.cc (test02): Enable.
1977
1978 2002-03-06  Benjamin Kosnik  <bkoz@redhat.com>
1979             Stephen M. Webb  <stephen.webb@bregmasoft.com>
1980
1981         * include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
1982         (_S_rb_tree_black): Make enum.
1983         Clean. Format.
1984         * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
1985         * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
1986         (__stl_threshold): _M_threshold, enum.
1987         * src/stl-inst.cc: Same.
1988         * config/linker-map.gnu: Remove.
1989
1990         * testsuite/23_containers/vector_bool.cc: New.
1991
1992 2002-03-06  Phil Edwards  <pme@gcc.gnu.org>
1993
1994         * docs/doxygen/user.cfg.in:  Also document deprecated entries.
1995         * docs/html/Makefile:  Example rule to rebuild porting-howto.html.
1996         * docs/html/17_intro/howto.html:  "gcc"->"GCC" changes, when
1997         referring to the collection as a whole.  New section on which macros
1998         can be redefined by the user.
1999         * docs/html/19_diagnostics/howto.html:  Update note for concepts.
2000         * docs/html/20_util/howto.html:  Update link to SGI.
2001         * docs/html/faq/index.html:  Update snapshot versions.  New entry
2002         on why g++ (but not gcc) must currently predefine certain macros.
2003         * docs/html/faq/index.txt:  Regenerated.
2004
2005         * include/bits/basic_string.h (basic_string::_S_construct):  Fix
2006         names in declaration.
2007         (basic_string::compare):  These are no longer optional.
2008         * include/bits/ostream.tcc:  Tweak closing brace placement.
2009         * include/bits/stl_algo.h:  Lots of initial doxygen comment hooks.
2010         * include/std/std_sstream.h:  Fix typo in comment.
2011         * include/bits/locale_facets.tcc:  Remove unneeded header inclusion.
2012         * src/locale.cc:  Likewise.
2013
2014 2002-03-06  Phil Edwards  <pme@gcc.gnu.org>
2015
2016         PR libstdc++/5734
2017         * include/bits/stl_vector.h (vector::push_back()):  Guard with
2018         _GLIBCPP_DEPRECATED.
2019
2020 2002-03-06  Phil Edwards  <pme@gcc.gnu.org>
2021
2022         * include/bits/c++config:  Fix misplaced leading blanks on first line.
2023
2024 2002-03-05  Benjamin Kosnik  <bkoz@redhat.com>
2025
2026         * docs/html/17_intro/RELEASE-NOTES: Fix usage.
2027         * README (libmath): Make clear.
2028
2029 2002-03-05  Jakub Jelinek  <jakub@redhat.com>
2030
2031         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
2032         script globbing in ld.
2033         * aclocal.m4: Rebuilt.
2034         * configure: Rebuilt.
2035
2036 2002-03-05  Benjamin Kosnik  <bkoz@redhat.com>
2037
2038         * docs/html/17_intro/RELEASE-NOTES: Update.
2039         * README: Format subdirectories.
2040
2041 2002-03-05  Paolo Carlini  <pcarlini@unitus.it>
2042
2043         libstdc++/5816
2044         * include/bits/locale_facets.tcc
2045         (num_get::_M_extract_float): Fix the parsing of __dec, since
2046         the standard prescribes that if no grouping characters are
2047         seen, no grouping check is applied.
2048         * testsuite/22_locale/num_get_members_char.cc: Add test05
2049         distilled from the PR.
2050         * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
2051
2052 2002-03-04  Craig Rodrigues  <rodrigc@gcc.gnu.org>
2053
2054         * docs/html/17_intro/porting-howto.xml: Refer to
2055         http://www.oasis-open.org for docbookx.dtd.
2056         * docs/html/17_intro/porting-howto.html: Regenerated.
2057
2058 2002-03-03  Phil Edwards  <pme@gcc.gnu.org>
2059
2060         PR libstdc++/3955
2061         * include/std/std_sstream.h:  Remove trailing spaces.
2062         (basic_stringbuf::_M_stringbuf_init):  Also check for ios_base::app.
2063         * testsuite/27_io/stringbuf.cc (test05, test06):  New tests.
2064
2065 2002-03-02  Paolo Carlini  <pcarlini@unitus.it>
2066
2067         * testsuite/22_locale/num_get_members_char.cc (test04):
2068         Use a named locale expecting grouping (de_DE).
2069         * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
2070         Ditto.
2071         * testsuite/27_io/ios_manip_basefield.cc (test01):
2072         Extend coverage, uniform treatment of hexs and octs.
2073
2074 2002-02-28  Richard Henderson  <rth@redhat.com>
2075
2076         * config/linker-map.gnu: Export operator new with unsigned long,
2077         and with std::nothrow_t.  Likewise operator delete.
2078
2079 2002-02-28  Paolo Carlini  <pcarlini@unitus.it>
2080
2081         * include/bits/locale_facets.tcc (num_get::_M_extract_int):
2082         Admit grouping for octals and hexadecimals too.
2083         * testsuite/22_locale/num_get_members_char.cc: Add test04.
2084         (test01): Tweak "." -> "," in void* test.
2085         * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
2086
2087         * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
2088         * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
2089
2090 2002-02-27  Paolo Carlini  <pcarlini@unitus.it>
2091
2092         * testsuite/27_io/ios_manip_basefield.cc (test01):
2093         Fix for 64 bit machines.
2094
2095 2002-02-26  Benjamin Kosnik  <bkoz@redhat.com>
2096
2097         libstdc++/3983
2098         * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
2099         Adjust comment.
2100         * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
2101         (basic_ios::_M_fill_init): New.
2102         (basic_ios::fill()): Delay dealing with _M_fill.
2103         Adjust comment.
2104         * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
2105         (ios_base::_M_call_callbacks): Adjust.
2106         * testsuite/27_io/ios_init.cc (test02): Adjust testcase.
2107
2108 2002-02-26  Loren Rittle  <ljrittle@acm.org>
2109
2110         * include/Makefile.am (thread_target_headers): Unconditionally
2111         stage and install gthr-posix.h.
2112         (${target_builddir}/gthr-posix.h): New rule cloned off
2113         ${target_builddir}/gthr-default.h.
2114         (${target_builddir}/gthr-default.h): Support chained inclusion
2115         of gthr support headers.
2116         * include/Makefile.in: Rebuilt.
2117
2118 2002-02-26  Paolo Carlini  <pcarlini@unitus.it>
2119
2120         * include/bits/locale_facets.tcc (num_put::_M_widen_int):
2121         Group all the integral types, not only decs.
2122         * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
2123         tests, add a few more.
2124
2125 2002-02-25  Benjamin Kosnik  <bkoz@redhat.com>
2126
2127         * src/ios.cc (ios_base::~ios_base): Tweak.
2128         (ios_base::_M_call_callbacks): Deal with null __p.
2129         (ios_base::ios_base): Set _M_callbacks.
2130         * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
2131         * testsuite/27_io/ios_init.cc (test02): Fix.
2132
2133         * mkcheck.in (static_fail): Failed links go to output file.
2134
2135 2002-02-25  Phil Edwards  <pme@gcc.gnu.org>
2136
2137         * docs/html/faq/index.html:  Update.
2138         * docs/html/faq/index.txt:  Regenerate.
2139
2140 2002-02-22  Phil Edwards  <pme@gcc.gnu.org>
2141
2142         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS):  Fix comment.
2143         * aclocal.m4:  Regenerate.
2144         * docs/html/configopts.html:  Document --enable-symvers.
2145         * config/linker-map.gnu:  Break libsupc++ symbols out to their own tag.
2146
2147 2002-02-22  Philipp Thomas  <pthomas@suse.de>
2148
2149         * include/backward/tempbuf.h: get_temporary_buffer and
2150         return_temporary_buffer are in namespace std, not in __gnu_cxx.
2151
2152 2002-02-21  Benjamin Kosnik  <bkoz@redhat.com>
2153
2154         * configure.in (target_alias): Default to yes.
2155         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
2156         libgcc to default case.
2157
2158 2002-02-20  Phil Edwards  <pme@gcc.gnu.org>
2159
2160         * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES):  Also check version.
2161         (GLIBCPP_ENABLE_SYMVERS):  Redo logic, use linker version.
2162         * configure.in (GLIBCPP_ENABLE_SYMVERS):  Move later in the script.
2163         * aclocal.m4:  Regenerate.
2164         * configure:  Regenerate.
2165         * config/linker-map.dummy:  New file.  Contains nothing useful.
2166
2167 2002-02-20  Benjamin Kosnik  <bkoz@redhat.com>
2168
2169         * testsuite/22_locale/money_put_members_char.cc: Fix.
2170         * testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
2171
2172         * testsuite/27_io/standard_manipulators.cc: New file.
2173
2174         * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
2175         * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
2176
2177 2002-02-20  Danny Smith  <dannysmith@users.sourceforge.net>
2178
2179         * config/os/mingw32/bits/ctype_noninline.h
2180         (ctype<char>::ctype): Remove default args from parm list.
2181         * config/os/djgpp/bits/ctype_noninline.h: Same.
2182
2183 2002-02-19  Benjamin Kosnik  <bkoz@redhat.com>
2184
2185         * include/std/std_iomanip.h: Inline, tweaks.
2186         * config/linker-map.gnu: Remove hacks.
2187
2188         * testsuite/21_strings/capacity.cc: Add explicit instantiations.
2189         * testsuite/27_io/ios_init.cc: Same.
2190         * testsuite/22_locale/money_get_members_char.cc (test07): Fix.
2191         * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
2192
2193 2002-02-19  Benjamin Kosnik  <bkoz@redhat.com>
2194
2195         * config/linker-map.gnu: Export global vtable, typeinfo, guard
2196         variable, and thunk info as per CXXABI docs.
2197
2198 2002-02-19  Loren Rittle <ljrittle@acm.org>
2199
2200         * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
2201         * include/Makefile.in: Rebuilt.
2202
2203 2002-02-18  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2204
2205         * testsuite/22_locale/collate_byname.cc (test01): Replace size4
2206           with size3 for the string collations of str5.
2207
2208 2002-02-18  Paolo Carlini  <pcarlini@unitus.it>
2209
2210         libstdc++/5708
2211         * include/bits/locale_facets.tcc (money_put::do_put):
2212         For the space field use __fill instead of ' ', uniformly.
2213         * testsuite/22_locale/money_put_members_char.cc:
2214         Add test05 distilled from PR.
2215         (test01-02-03): Trim some '*' to ' '.
2216         * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
2217
2218 2002-02-18  Loren Rittle <ljrittle@acm.org>
2219
2220         libstdc++/5697
2221         * include/Makefile.am (thread_builddir): Remove (map all
2222         existing uses to target_builddir).
2223         (thread_headers): Rename to...
2224         (thread_target_headers): ...this.
2225         (stamp-thread): Remove.
2226         (stamp-target): Correctly state the position as built.
2227         Update all dependencies to match the new reality.  Remove all
2228         dependency calculations on directories.
2229         * include/Makefile.in: Rebuilt.
2230
2231 2002-02-16   Benjamin Kosnik  <bkoz@redhat.com>
2232
2233         * include/bits/locale_facets.tcc: Add pragma GCC system_header.
2234         * include/bits/fstream.tcc: Same.
2235         * include/bits/sstream.tcc: Same.
2236         * include/bits/ostream.tcc: Same.
2237         * include/bits/istream.tcc: Same.
2238         * include/bits/streambuf.tcc: Same.
2239         * include/bits/basic_ios.tcc: Same.
2240         * include/bits/basic_string.tcc: Same.
2241
2242 2002-02-15  Benjamin Kosnik  <bkoz@redhat.com>
2243
2244         * include/std/std_iosfwd.h: Don't guard typedefs with
2245         _GLIBCPP_USE_WCHAR_T
2246         * include/bits/stringfwd.h: Same.
2247
2248 2002-02-15  Benjamin Kosnik  <bkoz@redhat.com>
2249
2250         * src/locale.cc (moneypunct_byname): Remove definitions.
2251         * include/std/std_streambuf.h (streambuf::operator=): Return.
2252
2253 2002-02-15  Benjamin Kosnik  <bkoz@redhat.com>
2254
2255         Tune for size.
2256         * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
2257         explicit instantiation.
2258         (string::_Rep::_S_max_size): Same.
2259         * include/bits/basic_string.tcc: Add extern explicit
2260         instantiations for string, wstring.
2261         * include/bits/basic_ios.tcc: Add extern explicit instantiations
2262         for ios, wios.
2263         * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
2264         * include/bits/istream.tcc: Same, for istream, wistream.
2265         * include/bits/ostream.tcc: Same for ostream, wostream, iostream,
2266         wiostream.
2267         * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
2268         istringstream, wistringstream, ostringstream, wostringstream,
2269         stringstream, wstringstream.
2270         * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
2271         wifstream, ofstream, wofstream, fstream, wfstream.
2272         * src/misc-inst.cc: Correct comments.
2273         Add iomanip instantiations for wide streams.
2274         * include/std/std_iomanip.h: Same.
2275         * include/bits/locale_facets.tcc: Same.
2276
2277         * include/std/std_streambuf.h: Correct
2278         _GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
2279         * include/std/std_sstream.h: Same.
2280         * include/std/std_ostream.h: Same.
2281         * include/std/std_istream.h: Same.
2282         * include/std/std_fstream.h: Same.
2283
2284         * include/std/std_streambuf.h: Add definitions for private copy
2285         ctor and assignment operator.
2286         * include/std/std_istream.h: Remove declared but undefined copy
2287         ctor and assignment operator. This is taken care of in ios_base,
2288         so adding it in the derived class as well is superfluous.
2289         * include/std/std_ostream.h: Same.
2290
2291         * include/bits/basic_ios.h (basic_ios::clear): Don't inline.
2292         * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
2293
2294 2002-02-14  Benjamin Kosnik  <bkoz@redhat.com>
2295
2296         * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
2297         Add typeinfo bits. Smooth.
2298         * aclocal.m4: Regenerate.
2299         * configure: Same.
2300         * src/Makefile.in: Same.
2301
2302 2001-02-14  Joel Sherrill  <joel@OARcorp.com>
2303
2304         * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
2305         which do not have a CAS instruction.
2306
2307 2002-02-14  Phil Edwards  <pme@gcc.gnu.org>
2308
2309         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS):  New macro, initial revision.
2310         * configure.in:  Call it.
2311         * config/linker-map.gnu:  New file, initial incomplete revision.
2312         * src/Makefile.am:  Optionally pass version script to the linker.
2313         * aclocal.m4:  Regenerate.
2314         * configure:  Regenerate.
2315         * src/Makefile.in:  Regenerate.
2316
2317 2002-02-13  Benjamin Kosnik  <bkoz@redhat.com>
2318
2319         * src/localename.cc: Remove stdexcept include.
2320         * src/locale-inst.cc: Same.
2321         * src/locale.cc: Same.
2322         * src/functexcept.cc: Remove string includes.
2323         * include/std/std_bitset.h: Remove stdexcept include.
2324         * testsuite/23_containers/bitset_members.cc: Add stdexcept.
2325         * testsuite/23_containers/bitset_ctor.cc: Same.
2326
2327 2002-02-11  Benjamin Kosnik  <bkoz@redhat.com>
2328
2329         * include/bits/stl_algo (__stl_threshold): Declare external.
2330         (__stl_chunk_size): Same.
2331         * include/bits/stl_bvector.h (__WORD_BIT): Same.
2332         * include/bits/stl_tree.h (_S_rb_tree_red): Same.
2333         (_S_rb_tree_black): Same.
2334         * src/stl-inst.cc (__stl_threshold): Define.
2335         (__stl_chunk_size): Same.
2336         (__WORD_BIT): Same.
2337         (_S_rb_tree_red): Same.
2338         (_S_rb_tree_black): Same.
2339
2340         * config/io/basic_file_libio.h (__basic_file): Add declarations.
2341         * include/bits/basic_file.h: Remove.
2342         * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
2343         Declare generic types, specialization.
2344         * config/io/basic_file_stdio.cc: Definitions.
2345         * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
2346         Declare generic types.
2347         * include/Makefile.am (bits_headers): Remove basic_file.h.
2348         (extra_target_headers): Change basic_file_model.h to basic_file.h.
2349         (stamp-target): Same.
2350
2351         * include/bits/stl_alloc.h: Tweaks.
2352         * include/bits/localefwd.h: Same.
2353
2354 2002-02-11  Aaron W LaFramboise  <AWLaFramboise@aol.com>
2355
2356         * include/bits/locale_facets.tcc (collate::do_hash): Fix.
2357         * testsuite/22_locale/collate_members_char.cc (test03): New test.
2358         * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
2359
2360 2002-02-10  Phil Edwards  <pme@gcc.gnu.org>
2361
2362         * include/bits/stl_algo.h (transform (both signatures), generate_n):
2363         Use __typeof__ in concept checks.
2364
2365 2002-02-10  Jonathan Wakely  <cow@compsoc.man.ac.uk>
2366
2367         * include/bits/stl_algo.h (__median, for_each, find, find_if,
2368         adjacent_find, count, count_if, search, search_n, swap_ranges,
2369         transform, replace, replace_if, replace_copy, replace_copy_if,
2370         generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
2371         unique, unique_copy, reverse, reverse_copy):  Doxygenate.
2372
2373 2002-02-08  Benjamin Kosnik  <bkoz@redhat.com>
2374
2375         * include/bits/locale_facets.h
2376         (numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
2377         (__timepunct<_CharT>::_M_initialize_timepunct): Same.
2378         (__timepunct<_CharT>::_M_put_helper): Same.
2379         (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
2380
2381         * include/bits/fstream.tcc (filebuf::underflow): Remove
2382         __codecvt_type typedef.
2383         (filebuf::_M_convert_to_external): Same.
2384
2385 2002-02-08  Phil Edwards  <pme@gcc.gnu.org>
2386
2387         * docs/doxygen/TODO:  Update.
2388         * docs/doxygen/doxygroups.cc:  Tweak __gnu_cxx description.
2389         * docs/doxygen/mainpage.html:  Add TODO list link.
2390         * docs/doxygen/user.cfg.in:  Add @doctodo hook.
2391         * docs/doxygen/tables.html:  New file, emoty structure only.
2392
2393         * include/bits/stl_iterator.h:  Doxygenate just about everything.
2394         * include/bits/stl_iterator_base_funcs.h:  Ditto, clean up spaces.
2395         * include/bits/stl_iterator_base_types.h:  Add notes.
2396
2397 2002-02-07  Stephan Buys  <sbproxy@icon.co.za>
2398
2399         * include/bits/stl_map.h:  Tweak doxygen markup.
2400         * include/bits/stl_multimap.h:  Doxygenate and remove extra spaces.
2401         * include/bits/stl_vector.h:  Likewise.
2402
2403 2002-02-07  Benjamin Kosnik  <bkoz@redhat.com>
2404
2405         libstdc++/5286
2406         libstdc++/3860
2407         * include/std/std_fstream.h (filebuf::__file_type): Change to
2408         __basic_file<char>.
2409         (filebuf::_M_convert_to_external): Declare.
2410         * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
2411         codecvt bits for wide streams.
2412         (filebuf::_M_really_overflow): Use it.
2413         (filebuf::underflow): Use codecvt.
2414         * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
2415         (codecvt<__enc_traits>::do_out): Deal with partial.
2416         (codecvt<__enc_traits>::do_encoding): Return something useful.
2417         * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
2418         wchar_t.
2419         * testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
2420         Change expected encoding output.
2421         (test02): Same.
2422         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
2423         (test02): Same.
2424
2425 2002-02-07  Benjamin Kosnik  <bkoz@redhat.com>
2426             Wolfgang Bangerth  <wolfgang.bangerth@iwr.uni-heidelberg.de>
2427
2428         * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
2429         (basic_ios::widen): Same.
2430
2431 2002-02-07  Paolo Carlini  <pcarlini@unitus.it>
2432
2433         * testsuite/22_locale/money_get_members_char.cc:
2434         Add comment, tidy up.
2435         (test01): more "en_HK" tests (without showbase).
2436         * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
2437
2438 2002-02-06  Loren Rittle <ljrittle@acm.org>
2439
2440         * config/locale/c_locale_generic.cc: Do not trust
2441         _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
2442         set by configure.
2443
2444 2002-02-06  Loren Rittle <ljrittle@acm.org>
2445
2446         * acinclude.m4: Add C++ linkage check for strtof.
2447         * aclocal.m4: Rebuilt.
2448         * config.h.in: Rebuilt.
2449         * configure: Rebuilt.
2450         * config/locale/c_locale_generic.cc: Conditionally include
2451         <ieeefp.h>.  Improve handling and error checking of float
2452         and long double input for non-C99 configurations.
2453
2454 2002-02-06  Paolo Carlini  <pcarlini@unitus.it>
2455
2456         * include/bits/locale_facets.tcc (money_get::do_get(string)):
2457         In case money_base::symbol deal properly with multi-char sign
2458         for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
2459         * testsuite/22_locale/money_get_members_char.cc: Add test07.
2460         * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
2461
2462 2002-02-05  Paolo Carlini  <pcarlini@unitus.it>
2463
2464         * include/bits/locale_facets.tcc (money_get::do_get(string)):
2465         First construct a tentative returned string, then, only if the
2466         parsing succeeds, copy it into the string passed by reference.
2467         * testsuite/22_locale/money_get_members_char.cc: Add test06.
2468         * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
2469
2470 2002-02-04  Phil Edwards  <pme@gcc.gnu.org>
2471
2472         * docs/doxygen/TODO:  Impl-defined behavior now documented...
2473         * docs/html/17_intro/howto.html:  ...here.
2474         * docs/doxygen/mainpage.doxy:  Remove, rename...
2475         * docs/doxygen/mainpage.html:  ...to this.  Tweak HTML, add license.
2476         * docs/doxygen/style.css:  Add small text.
2477         * docs/doxygen/run_doxygen:  Adjust for new mainpage.
2478         * docs/doxygen/user.cfg.in:  Likewise.
2479
2480 2002-02-04  Stephan Buys  <sbproxy@icon.co.za>
2481
2482         * include/bits/stl_map.h:  Initial doxygen markup.
2483         * include/std/std_fstream.h:  Initial doxygen markup.
2484
2485 2002-02-04  Paolo Carlini  <pcarlini@unitus.it>
2486
2487         libstdc++/5579
2488         * include/bits/locale_facets.tcc (money_get::do_get(string)):
2489         Deal correctly with !(__io.flags() & ios_base::showbase)
2490         for case money_base::symbol.
2491         * testsuite/22_locale/money_get_members_char.cc: Add test05.
2492         * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
2493
2494 2002-02-02  Paolo Carlini  <pcarlini@unitus.it>
2495
2496         * testsuite/22_locale/operators.cc
2497         (gnu_collate::do_compare()): Add return statement to
2498         suppress "no return statement" warning.
2499
2500 2002-02-01  Paolo Carlini  <pcarlini@unitus.it>
2501
2502         * testsuite/27_io/ostream_manip.cc: Enable test02.
2503
2504 2002-02-01  Phil Edwards  <pme@gcc.gnu.org>
2505
2506         * docs/html/documentation.html:  Update for 3.0.96.
2507         * docs/html/faq/index.html:  Update for 3.0.96.
2508         * docs/html/faq/index.txt:  Regenerated.
2509         * docs/doxygen/TODO:  Update notes.
2510         * docs/html/17_intro/howto.html:  Initial impl-specific listing.
2511
2512 2002-01-31  Benjamin Kosnik  <bkoz@redhat.com>
2513
2514         * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
2515         Initialize all data members in copy ctor. Make ctors explicit.
2516         (__enc_traits::__enc_traits()): Default ctor does nothing.
2517         (__enc_traits::_M_init): Guard against multiple iconv_opens.
2518         * include/std/std_sstream.h (basic_stringbuf): Make data members
2519         protected.
2520         * include/std/std_fstream.h (basic_filebuf): Same.
2521         * include/std/std_streambuf.h: Tweak.
2522         * include/bits/streambuf.tcc: Same.
2523         * include/bits/sstream.tcc: Same.
2524         * include/bits/fstream.tcc: Same.
2525
2526 2002-01-31  Loren Rittle <ljrittle@acm.org>
2527
2528         * testsuite/22_locale/codecvt_members_char_char.cc: Do not
2529         allow NULL argument to be passed to setenv().
2530         * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
2531         * testsuite/22_locale/collate_members_char.cc: Likewise.
2532         * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
2533         * testsuite/22_locale/ctype_members_char.cc: Likewise.
2534         * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
2535         * testsuite/22_locale/messages_members_char.cc: Likewise.
2536         * testsuite/22_locale/money_get_members_char.cc: Likewise.
2537         * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
2538         * testsuite/22_locale/money_put_members_char.cc: Likewise.
2539         * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
2540         * testsuite/22_locale/moneypunct_members_char.cc: Likewise.
2541         * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
2542         * testsuite/22_locale/num_get_members_char.cc: Likewise.
2543         * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
2544         * testsuite/22_locale/num_put_members_char.cc: Likewise.
2545         * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
2546         * testsuite/22_locale/numpunct_members_char.cc: Likewise.
2547         * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
2548         * testsuite/22_locale/time_get_members_char.cc: Likewise.
2549         * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
2550         * testsuite/22_locale/time_put_members_char.cc: Likewise.
2551         * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
2552
2553 2002-01-30  Benjamin Kosnik  <bkoz@redhat.com>
2554
2555         * config/locale/c_locale_gnu.cc: Same errno fixes as generic.
2556
2557         * ChangeLog-2001: Fix spelling errors...
2558         * docs/html/17_intro/RELEASE-NOTES: Update.
2559         * docs/html/17_intro/TODO: Update.
2560         * README (file): Update.
2561
2562 2002-01-30  Loren Rittle <ljrittle@acm.org>
2563
2564         * config/locale/c_locale_generic.cc: Check errno for ERANGE
2565         instead of non-zero to aid portability.
2566
2567 2002-01-30  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2568
2569         * docs/html/22_locale/messages.html: Fix example code.
2570
2571 2002-01-30  Richard Henderson  <rth@redhat.com>
2572
2573         * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
2574         out from test03 and templatize.
2575         (test03): Use it.
2576
2577 2002-01-30  Paolo Carlini  <pcarlini@unitus.it>
2578
2579         * config/locale/numpunct_members_gnu.cc
2580         (numpunct<char, wchar_t>::_M_initialize_numpunct()):
2581         Fix initialization of _M_grouping for locales which have
2582         _M_thousands_sep == '\0'(L'\0', respectively).
2583         * testsuite/22_locale/numpunct_byname.cc (test02): Add test.
2584
2585 2002-01-30  Paolo Carlini  <pcarlini@unitus.it>
2586
2587         * testsuite/27_io/ostream_inserter_arith.cc (test03):
2588         Better fix for 32/64 bit architectures, avoiding the
2589         implicit assumption that CHAR_BIT == 8.
2590
2591 2002-01-28  Phil Edwards  <pme@gcc.gnu.org>
2592
2593         * Makefile.am (doxygen, doxygen-maint, doxygen-man):  Tweak targets.
2594         * Makefile.in:  Regenerate.
2595
2596         * docs/doxygen/run_doxygen:  Update, mostly for man pages.
2597         * docs/doxygen/Intro.3:  Update.
2598         * docs/doxygen/TODO:  Update.
2599         * docs/doxygen/doxygroups.cc:  Add namespace hook for __gnu_cxx.
2600         * docs/doxygen/mainpage.doxy:  Update.
2601         * docs/doxygen/user.cfg.in:  Update for header rename.  Also
2602         regenerate comments and variables with 1.2.12.
2603         * docs/doxygen/maint.cfg.in:  Remove file.
2604
2605         * include/bits/stl_relops.h:  Doxygenate.
2606         * include/bits/stl_tempbuf.h (std::_Temporary_buffer):  Likewise.
2607
2608         * include/c_std/std_cassert.h, include/c_std/std_cctype.h,
2609         include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
2610         include/c_std/std_ciso646.h, include/c_std/std_climits.h,
2611         include/c_std/std_clocale.h, include/c_std/std_cmath.h,
2612         include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
2613         include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
2614         include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
2615         include/c_std/std_cstring.h, include/c_std/std_ctime.h,
2616         include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
2617         include/ext/algorithm, include/ext/functional, include/ext/hash_map,
2618         include/ext/hash_set, include/ext/iterator, include/ext/memory,
2619         include/ext/numeric, include/ext/rb_tree, include/ext/rope,
2620         include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
2621         include/ext/stl_hashtable.h, include/ext/stl_rope.h,
2622         include/std/std_algorithm.h, include/std/std_bitset.h,
2623         include/std/std_complex.h, include/std/std_deque.h,
2624         include/std/std_fstream.h, include/std/std_functional.h,
2625         include/std/std_iomanip.h, include/std/std_ios.h,
2626         include/std/std_iosfwd.h, include/std/std_iostream.h,
2627         include/std/std_istream.h, include/std/std_iterator.h,
2628         include/std/std_limits.h, include/std/std_list.h,
2629         include/std/std_locale.h, include/std/std_map.h,
2630         include/std/std_memory.h, include/std/std_numeric.h,
2631         include/std/std_ostream.h, include/std/std_queue.h,
2632         include/std/std_set.h, include/std/std_sstream.h,
2633         include/std/std_stack.h, include/std/std_stdexcept.h,
2634         include/std/std_streambuf.h, include/std/std_string.h,
2635         include/std/std_utility.h, include/std/std_valarray.h,
2636         include/std/std_vector.h:  Add/correct @file doxygen hook.
2637
2638         * include/ext/memory:  Doxygenate most of rest of file.
2639         * libsupc++/exception:  Doxygen output formatting.
2640         * libsupc++/new:  Say which header it is.
2641
2642         * testsuite/lib/libstdc++-v3-dg.exp:  Fix spacing.
2643         * docs/html/19_diagnostics/howto.html:  Describe concept-checks switch.
2644         * docs/html/23_containers/howto.html:  Describe O(n) list::size().
2645         * docs/html/27_io/howto.html:  Also link to Langer and Kreft text.
2646
2647 2002-01-28  Paolo Carlini  <pcarlini@unitus.it>
2648             Charles Leggett <CGLeggett@lbl.gov>
2649
2650         * testsuite/27_io/filebuf_members.cc (test_05): Add test.
2651
2652 2002-01-28  Paolo Carlini  <pcarlini@unitus.it>
2653
2654         * testsuite/27_io/ostream_inserter_arith.cc (test03):
2655         Fix to deal correctly with both 32 bit and 64 bit architectures
2656
2657 2002-01-25  Loren Rittle <ljrittle@acm.org>
2658
2659         * testsuite/thread/pthread1.cc: Use one condition variable
2660         per predicate instead of tricky use of one condition variable.
2661
2662 2002-01-25  Benjamin Kosnik  <bkoz@redhat.com>
2663
2664         * include/bits/fstream.tcc (filebuf::close()): Fix close for input
2665         streams.
2666         (filebuf::_M_really_overflow): Match indeterminate and sync calls.
2667         * testsuite/27_io/filebuf.cc: Compile only.
2668         * testsuite/27_io/filebuf_members.cc: Move tests to here.
2669         * testsuite/27_io/filebuf_virtuals.cc: And here.
2670         Revert sungetc, sync changes for expected values.
2671         * testsuite/27_io/filebuf-*: Move to...
2672         * testsuite/27_io/filebuf_virtuals-*: ...here.
2673         * testsuite/27_io/istream.cc: Compile only, activate.
2674         * testsuite/27_io/ostream.cc: Same.
2675         * testsuite/27_io/iostream.cc: New.
2676         * testsuite/27_io/iostream_members.cc: New.
2677
2678 2002-01-25  David Billinghurst <David.Billinghurst@riotinto.com>
2679
2680         * testsuite/thread/pthread1.cc: Enable on cygwin.
2681         * testsuite/thread/pthread2.cc: Likewise.
2682         * testsuite/thread/pthread3.cc: Likewise.
2683         * testsuite/thread/pthread4.cc: Likewise.
2684         * testsuite/thread/pthread5.cc: Likewise.
2685         * testsuite/thread/pthread6.cc: Likewise.
2686
2687 2002-01-24  Benjamin Kosnik  <bkoz@redhat.com>
2688
2689         * testsuite/27_io/ostream_inserter_char.cc (test07): New.
2690
2691 2002-01-24  Benjamin Kosnik  <bkoz@redhat.com>
2692
2693         * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
2694         const, tweak.
2695         (basic_ios::fill(char_type)): Use fill().
2696         * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
2697         (basic_ios::narrow): Same.
2698         (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
2699         if they are invalid.
2700         (basic_ios::init): Comment.
2701         * testsuite/27_io/ios_init.cc (test02): New.
2702
2703 2002-01-24  Phil Edwards  <pme@gcc.gnu.org>
2704
2705         * include/bits/stl_tempbuf.h (_Temporary_buffer):  Add doxygen hook.
2706         * include/bits/stl_algo.h:  Include stl_tempbuf.h.
2707         * include/ext/memory:  Do not include stl_tempbuf.h.
2708         (temporary_buffer):  Add doxygen hook.
2709         (__get_temporary_buffer, get_temporary_buffer,
2710         return_temporary_buffer):  Move back to std:: header...
2711         * include/std/std_memory.h:  ...here.  Do not include stl_tempbuf.h.
2712         * include/ext/rope:  Do not include stl_tempbuf.h.
2713         * include/ext/stl_hashtable.h:  Likewise.
2714         * include/std/std_algorithm.h:  Likewise.
2715         * testsuite/20_util/temporary_buffer.cc:  New file.
2716
2717 2002-01-24  andrew@andypo.net
2718             (tweaks, test and commit by Loren J. Rittle  <ljrittle@acm.org>)
2719
2720         libstdc++/5432
2721         * include/bits/ios_base.h: Use _Atomic_word for reference counts.
2722         * include/bits/localefwd.h: Likewise.
2723         Also use for std::locale::id::_S_highwater.
2724         * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
2725         * src/locale.cc: Support new usage of _Atomic_word.
2726         (std::locale::classic): Guard entire function against reentry.
2727         * src/localename.cc: Support new usage of _Atomic_word.
2728
2729 2002-01-24   Benjamin Kosnik  <bkoz@redhat.com>
2730
2731         * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
2732         _GLIBCPP_HAVE_SETENV.
2733         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
2734         * testsuite/22_locale/collate_members_char.cc (test02): Same.
2735         * testsuite/22_locale/ctype_members_char.cc (test03): Same.
2736         * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
2737         * testsuite/22_locale/messages_members_char.cc (test02): Same.
2738         * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
2739         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
2740         * testsuite/22_locale/money_put_members_char.cc (test04): Same.
2741         * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
2742         * testsuite/22_locale/num_get_members_char.cc (test03): Same.
2743         * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
2744         * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
2745         * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
2746         * testsuite/22_locale/time_get_members_char.cc (test07): Same.
2747         * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
2748         * testsuite/22_locale/time_put_members_char.cc (test03): Same.
2749         * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
2750         * testsuite/22_locale/num_put_members_char.cc (test03): Same.
2751         * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
2752         * aclocal.m4: Regenerate.
2753         * configure: Regenerate.
2754         * config.h.in: Regenerate.
2755
2756 2002-01-23  Loren Rittle <ljrittle@acm.org>
2757
2758         * testsuite/thread/pthread1.cc: New test.
2759         * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
2760         * testsuite/thread/pthread3.cc: Likewise.
2761         * testsuite/thread/pthread4.cc: New test adapted from
2762         http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
2763         * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
2764         * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
2765
2766 2002-01-23  Richard Henderson  <rth@redhat.com>
2767
2768         PR libstdc++/5198
2769         * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
2770         CAS on the cpu variants that support it.  Add versions that use
2771         TAS and that disable interrupts.
2772         (__atomic_add): Use __exchange_and_add to guarantee atomicity.
2773
2774 2002-01-23  Matt Kraai  <kraai@alumni.cmu.edu>
2775
2776         * include/bits/locale_facets.tcc: Remove old comments.
2777
2778 2002-01-23  Andreas Tobler  <toa@pop.agri.ch>
2779
2780         * include/bits/locale_facets.tcc (__convert_to_v): Change template
2781         parameter to _Tv.
2782         (__convert_from_v): Same.
2783
2784 2002-01-23  Benjamin Kosnik  <bkoz@redhat.com>
2785
2786         * include/bits/locale_facets.h (num_get::_M_extract_int): Change
2787         prototype.
2788         * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
2789         __max_digits checks, adjust arguments.
2790         (num_get::do_get(*)): Changeup.
2791
2792 2002-01-23  Loren Rittle <ljrittle@acm.org>
2793
2794         * config/locale/c_locale_generic.cc: Fix typename usage.
2795
2796 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
2797
2798         * config/locale/c_locale_generic.cc: Fix.
2799
2800 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
2801
2802         * docs/html/22_locale/messages.html: Remove angle brackets.
2803         * docs/html/17_intro/TODO: Add.
2804
2805 2002-01-22  Paolo Carlini  <pcarlini@unitus.it>
2806
2807         * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
2808         * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
2809         * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
2810         * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
2811
2812 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
2813
2814         Audit for LANG independence.
2815         * include/bits/localefwd.h: Tweaks.
2816         * include/bits/locale_facets.tcc (money_get::do_get(long double)):
2817         Use __convert_to_v.
2818         (time_get::do_get_year): Same.
2819         (__convert_from_v): Add.
2820         (num_put::_M_convert_float): Use.
2821         (num_put::_M_convert_int): Same.
2822         (money_put::do_put): Same.
2823
2824         * src/locale-inst.cc: Add instantiations for __convert_from_v.
2825         * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
2826         * config/locale/time_members_generic.cc:
2827         * config/locale/messages_members_gnu.cc: Same.
2828         * config/locale/messages_members_gnu.h: Same.
2829
2830         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
2831         * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
2832         * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
2833         * testsuite/22_locale/collate_members_char.cc (test02): New.
2834         * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
2835         * testsuite/22_locale/ctype_members_char.cc (test03): New.
2836         * testsuite/22_locale/messages_members_char.cc (test02): New.
2837         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
2838         * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
2839         * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
2840         * testsuite/22_locale/money_get_members_char.cc (test04): New.
2841         * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
2842         * testsuite/22_locale/money_put_members_char.cc (test04): New.
2843         * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
2844         * testsuite/22_locale/numpunct_members_char.cc (test02): New.
2845         * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
2846         * testsuite/22_locale/time_put_members_char.cc (test03): New.
2847         * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
2848         * testsuite/22_locale/time_get_members_char.cc (test07): New.
2849         * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
2850         * testsuite/22_locale/num_get_members_char.cc (test03): New.
2851         * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
2852         * testsuite/22_locale/num_put_members_char.cc (test03): New.
2853
2854         * testsuite/22_locale/time_get_members_char.cc: Fixups for global
2855         locale issues.
2856         * testsuite/22_locale/time_get_members_char.cc: Same.
2857
2858 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
2859
2860         libstdc++/5280
2861         * include/bits/localefwd.h: Tweak comments.
2862         * include/bits/locale_facets.h (__convert_to_v): Add.
2863         * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
2864         (num_get::do_get(float)): Same.
2865         (num_get::do_get(long double)): Same.
2866         (num_get::do_get(bool)): Same.
2867         (num_get::do_get(long)): Same.
2868         (num_get::do_get(long long)): Same.
2869         (num_get::do_get(unsigned int)): Same.
2870         (num_get::do_get(unsigned short)): Same.
2871         (num_get::do_get(unsigned long)): Same.
2872         (num_get::do_get(unsigned long long)): Same.
2873         * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
2874         * config/locale/c_locale_generic.cc: Same.
2875
2876 2002-01-22  Loren Rittle <ljrittle@acm.org>
2877
2878         * include/Makefile.am (c_base_builddir): Remove redundant slash.
2879         (std_builddir): Likewise.
2880         (std_headers_rename): Fix cut-n-paste typo.
2881         (install-data-local): Concat path per element instead of once to
2882         first element of list.
2883         * include/Makefile.in: Rebuilt.
2884
2885 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
2886
2887         * config/os/aix/bits/ctype_noninline.h: Fix formatting.
2888         * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
2889         * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
2890
2891 2002-01-20  Benjamin Kosnik  <bkoz@redhat.com>
2892
2893         * include/bits/locale_facets.h (ctype<char>::classic_table):
2894         Remove definition.
2895         (ctype<char>::_S_ctable): Remove.
2896         * config/os/gnu-linux/bits/ctype_noninline.h
2897         (ctype<char>::_S_table): Remove definition.
2898         (ctype<char>::classic_table): Define.
2899         (ctype<char>::ctype): Replace _S_ctable with classic_table().
2900         * config/os/aix/bits/ctype_noninline.h: Same.
2901         * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
2902         * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
2903         * config/os/djgpp/bits/ctype_noninline.h: Same.
2904         * config/os/generic/bits/ctype_noninline.h: Same.
2905         * config/os/gnu-linux/bits/ctype_noninline.h: Same.
2906         * config/os/hpux/bits/ctype_noninline.h: Same.
2907         * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
2908         * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
2909         * config/os/mingw32/bits/ctype_noninline.h: Same.
2910         * config/os/newlib/bits/ctype_noninline.h: Same.
2911         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
2912         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
2913         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
2914
2915 2002-01-20  Danny Smith  <dannysmith@users.sourceforge.net>
2916
2917         * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
2918         of _pctype. Use to define _S_ctable.  Add definition for alternate
2919         ctor.  Initialise _M_ctable to _S_ctable in ctors.
2920         (do_toupper, do_tolower): Use inline code appropriate for C-locale
2921         rather than ::toupper, ::tolower.
2922
2923 2002-01-18  Loren Rittle <ljrittle@acm.org>
2924
2925         * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
2926         Add specialization for FreeBSD systems only to avoid losing test
2927         only due to extra precision unmentioned in system headers.
2928
2929 2002-01-18  David Billinghurst <David.Billinghurst@riotinto.com>
2930
2931         * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
2932
2933 2002-01-17  Nick Clifton  <nickc@cambridge.redhat.com>
2934
2935         * testsuite/testsuite_hooks.h: Fix comment typo.  Memory
2936         limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
2937
2938 2002-01-17  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2939
2940         * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
2941
2942 2002-01-17  David Edelsohn  <edelsohn@gnu.org>
2943
2944         * configure.target: Define OPT_LDFLAGS for AIX case.
2945
2946 2002-01-17  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2947
2948         * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
2949         __glibcpp_double_has_quiet_NaN): Correct mispelling.
2950
2951 2002-01-17  Andreas Tobler  <toa@pop.agri.ch>
2952
2953         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
2954
2955 2002-01-16  David Edelsohn  <dje@watson.ibm.com>
2956
2957         * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
2958         SECTION_LDFLAGS and OPT_LDFLAGS.  Fix ac_sectionLDflags type.
2959         * aclocal.m4: Regenerate.
2960         * configure: Regenerate.
2961
2962 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
2963
2964         * include/Makefile.am (c_base_headers_rename): New.
2965         (c_base_headers_extra): New.
2966         (stamp-c_base): Modify.
2967         (install-data-local): Use both.
2968         * include/Makefile.in: Regenerate.
2969         * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
2970         csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
2971         cstdio ctime cwctype]: Move to..
2972         * include/c/std_*: Here.
2973         * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
2974         csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
2975         cstdio ctime cwctype]: Move to..
2976         * include/c_std/std_*: Here.
2977
2978         Alexandre Oliva  <aoliva@redhat.com>
2979         * include/Makefile.am (.PRECIOUS): Add rule.
2980         * include/Makefile.in: Regenerate.
2981
2982 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
2983             Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2984
2985         * include/bits/stl_iterator.h (reverse_iterator::_M_current):
2986         Deuglify, should be current.
2987         (back_insert_iterator::_M_container): Deuglify, should be container.
2988         (front_insert_iterator::_M_container): Same.
2989         (insert_iterator::_M_container): Same.
2990         * testsuite/24_iterators/reverse_iterator.cc: Add check.
2991         * testsuite/24_iterators/back_insert_iterator.cc: Add check.
2992         * testsuite/24_iterators/front_insert_iterator.cc: Same.
2993         * testsuite/24_iterators/insert_iterator.cc: Same.
2994
2995 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
2996
2997         * include/bits/locale_facets.h (ctype<char>::classic_table): Make
2998         static.
2999         (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
3000         * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
3001         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
3002         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
3003         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
3004         * config/os/newlib/bits/ctype_noninline.h: Same.
3005         * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
3006         * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
3007         * config/os/hpux/bits/ctype_noninline.h: Same.
3008         * config/os/djgpp/bits/ctype_noninline.h: Same.
3009         * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
3010         * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
3011         * config/os/aix/bits/ctype_noninline.h: Same.
3012
3013         Testcase by Dietmar Kühl via Peter Schmid
3014         * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
3015         classic_table().
3016
3017 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
3018
3019         * libmath/signbitl.c: Copyright years as list, not range.
3020         * libmath/Makefile.am: Same.
3021         * libmath/Makefie.in: Regenerate.
3022         * libmath/signbit.c: Same.
3023         * libmath/nan.c: Same.
3024         * libmath/copysignf.c: Same.
3025         * libmath/signbitf.c: Same.
3026         * testsuite/22_locale/money_get_members_char.cc: Same.
3027         * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
3028         * testsuite/22_locale/money_put_members_char.cc: Same.
3029         * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
3030         * testsuite/22_locale/time_get_members_char.cc: Same.
3031         * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
3032         * testsuite/22_locale/time_put_members_char.cc: Same.
3033         * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
3034         * testsuite/21_strings/nonmember.cc: Same.
3035         * testsuite/21_strings/compare.cc: Same.
3036         * testsuite/27_io/stringstream.cc: Same.
3037         * testsuite/27_io/stringbuf.cc: Same.
3038         * testsuite/27_io/filebuf.cc: Same.
3039         * testsuite/27_io/ios_manip_basefield.cc: Same.
3040         * testsuite/27_io/ios_manip_fmtflags.cc: Same.
3041         * include/bits/cpp_type_traits.h: Same.
3042         * include/bits/generic_shadow.h: Same.
3043         * include/bits/gslice_array.h: Same.
3044         * include/bits/gslice.h: Same.
3045         * include/bits/indirect_array.h: Same.
3046         * include/bits/slice_array.h: Same.
3047         * include/bits/sstream.tcc: Same.
3048         * include/bits/streambuf_iterator.h: Same.
3049         * include/bits/valarray_array.tcc: Same.
3050         * include/bits/valarray_meta.h: Same.
3051         * include/bits/valarray_array.h: Same.
3052         * config/os/mingw32/bits/ctype_noninline.h: Same.
3053         * config/os/mingw32/bits/ctype_base.h: Same.
3054         * config/os/hpux/bits/ctype_noninline.h: Same.
3055         * config/os/hpux/bits/ctype_base.h: Same.
3056         * config/os/gnu-linux/bits/ctype_noninline.h: Same.
3057         * config/os/gnu-linux/bits/ctype_base.h: Same.
3058         * config/os/generic/bits/ctype_noninline.h: Same.
3059         * config/os/generic/bits/ctype_base.h: Same.
3060
3061         * libsupc++/tinfo.h: Tweaks.
3062
3063 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
3064
3065         * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
3066         * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
3067         * testsuite/22_locale/ctype_members_char.cc: Tweak.
3068
3069 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
3070
3071         * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
3072         (num_put::do_put(void*)): Fix.
3073         * testsuite/22_locale/num_put_members_char.cc (test02): Add.
3074         * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
3075         * testsuite/22_locale/num_get_members_char.cc (test02): Add
3076         long double, void, bool types.
3077         * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
3078
3079 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
3080             Alexandre Oliva  <aoliva@redhat.com>
3081
3082         * libmath/Makefile.am (LINK): Add --tag CC.
3083         * libmath/Makefile.in: Regenerate.
3084
3085 2002-01-15  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3086
3087         * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
3088         of character to attribute mapping table.
3089
3090 2002-01-15  David Billinghurst <David.Billinghurst@riotinto.com>
3091
3092         * testsuite/26_numerics/c99_classification_macros_c.cc
3093         Remove dg-error and dg-excess-errors comments.
3094
3095 2002-01-14  Benjamin Kosnik  <bkoz@redhat.com>
3096
3097         * include/bits/locale_facets.tcc (time_put::put): Correct output
3098         iterator positions.
3099         * testsuite/22_locale/time_put_members_char.cc (test02): Add.
3100         * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
3101         * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
3102         * testsuite/22_locale/time_get_members_char.cc (test06): Add.
3103
3104 2002-01-14  Craig Rodrigues  <rodrigc@gcc.gnu.org>
3105
3106         * docs/html/17_intro/porting-howto.xml: Update filebuf section.
3107
3108 2002-01-14  Paolo Carlini  <pcarlini@unitus.it>
3109             Nathan Myers  <ncm@cantrip.org>
3110
3111         * include/bits/basic_string.h
3112         (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
3113         temporaries (i.e., call _M_replace_safe) when possible.
3114         (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
3115         (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
3116         (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
3117         (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
3118         (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
3119         * include/bits/basic_string.tcc
3120         (replace(__pos1, __n1, __str, __pos2, __n2)): Call
3121         replace(__pos, __n1, __s, __n2).
3122         * testsuite/21_strings/replace.cc (test03): New testcases.
3123
3124         * include/bits/basic_string.h (insert(__pos, __s, __n)):
3125         Adjust comparison wrt overflow.
3126
3127 2002-01-12  Benjamin Kosnik  <bkoz@redhat.com>
3128
3129         * include/Makefile.am (std_headers_rename): New variable.
3130         (install-data-local): Use it.
3131         * include/Makefile.in: Regenerate.
3132
3133 2002-01-12  Benjamin Kosnik  <bkoz@redhat.com>
3134
3135         * include/bits/locale_facets.tcc (money_put::do_put(string):
3136         Correct output iterator value.
3137         * testsuite/22_locale/money_put_members_char.cc (test03): Add.
3138         * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
3139
3140 2002-01-11  Phil Edwards  <pme@gcc.gnu.org>
3141
3142         * include/Makefile.am, include/Makefile.in (stamp-std):  Fix typo from
3143         previous commit.
3144
3145 2002-01-11  Phil Edwards  <pme@gcc.gnu.org>
3146
3147         * include/Makefile.am (std_headers):  Update list with new names.
3148         (stamp-std):  Link to standardized name.
3149         * include/Makefile.in:  Regenerate.
3150
3151         * include/std/algorithm, include/std/bitset, include/std/complex,
3152         include/std/deque, include/std/fstream, include/std/functional,
3153         include/std/iomanip, include/std/ios, include/std/iosfwd,
3154         include/std/iostream, include/std/istream, include/std/iterator,
3155         include/std/limits, include/std/list, include/std/locale,
3156         include/std/map, include/std/memory, include/std/numeric,
3157         include/std/ostream, include/std/queue, include/std/set,
3158         include/std/sstream, include/std/stack, include/std/stdexcept,
3159         include/std/streambuf, include/std/string, include/std/utility,
3160         include/std/valarray, include/std/vector:  Rename to...
3161
3162         * include/std/std_algorithm.h, include/std/std_bitset.h,
3163         include/std/std_complex.h, include/std/std_deque.h,
3164         include/std/std_fstream.h, include/std/std_functional.h,
3165         include/std/std_iomanip.h, include/std/std_ios.h,
3166         include/std/std_iosfwd.h, include/std/std_iostream.h,
3167         include/std/std_istream.h, include/std/std_iterator.h,
3168         include/std/std_limits.h, include/std/std_list.h,
3169         include/std/std_locale.h, include/std/std_map.h,
3170         include/std/std_memory.h, include/std/std_numeric.h,
3171         include/std/std_ostream.h, include/std/std_queue.h,
3172         include/std/std_set.h, include/std/std_sstream.h,
3173         include/std/std_stack.h, include/std/std_stdexcept.h,
3174         include/std/std_streambuf.h, include/std/std_string.h,
3175         include/std/std_utility.h, include/std/std_valarray.h,
3176         include/std/std_vector.h:  ...this.
3177
3178 2002-01-11  Loren Rittle <ljrittle@acm.org>
3179
3180         * include/Makefile.am (extra_target_headers): New list of all
3181         target files built with ad hoc naming rules.
3182         (stamp-*): Handle LN_S failure in manner portable across make
3183         implementations.
3184         (install-data-local): Install header files from human-maintained
3185         file lists and directory components instead of non-robust find.
3186         * include/Makefile.in: Rebuilt.
3187
3188 2002-01-11  Benjamin Kosnik  <bkoz@redhat.com>
3189
3190         * include/bits/locale_facets.tcc (money_get::do_get(string)):
3191         Check for zero-length negative sign before adding it to output
3192         string.
3193         (money_get::do_get(long double)): Return beg.
3194         * testsuite/22_locale/money_get_members_char.cc (test02): Add
3195         iterator checks.
3196         * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
3197
3198 2002-01-10  David Seymour  <seymour_dj@yahoo.com>
3199
3200         libstdc++/5331
3201         * include/bits/locale_facets.h (num_get<>): Return advanced iterator
3202         for _M_extract_float and _M_extract_int
3203         * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
3204         (num_get<>::_M_extract_int): Likewise, all callers changed
3205         * testsuite/22_locale/num_get_members_char.cc: Testcase
3206
3207 2002-01-09  Paolo Carlini <pcarlini@unitus.it>
3208
3209         * libsupc++/exception (bad_exception): Add comment.
3210         * libsupc++/new (bad_alloc): Same.
3211         * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
3212
3213 2002-01-09  Paolo Carlini <pcarlini@unitus.it>
3214
3215         libstdc++/3150: revert 2001-11-30 commit. DR266 only means
3216         that the destructors should be removed from the descriptions
3217         in the standard: writing them explicitly allows the vtable
3218         heuristic to work. For additional information see:
3219         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
3220         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
3221         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
3222         * libsupc++/exception (bad_exception::~bad_exception()):
3223         Reintroduce declaration.
3224         * libsupc++/new (bad_alloc::~bad_alloc()): Same.
3225         * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
3226         (bad_typeid::~bad_typeid()): Same.
3227         * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
3228         Reintroduce definition.
3229         * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
3230         * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
3231         (bad_typeid::~bad_typeid()): Same.
3232
3233 2002-01-09  Benjamin Kosnik  <bkoz@redhat.com>
3234
3235         * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
3236         * include/Makefile.in: Regenerate.
3237
3238 2002-01-09  Bo Thorsen  <bo@suse.co.uk>
3239
3240         * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
3241         definition.
3242
3243 2002-01-08  Benjamin Kosnik  <bkoz@redhat.com>
3244
3245         libstdc++/2913
3246         libstdc++/4879
3247         * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
3248         return value of _M_file->sync().
3249         (filebuf::showmanyc): Check for is_open.
3250         * include/std/fstream (filebuf::sync): Tweak.
3251         * testsuite/27_io/filebuf.cc: Tweak.
3252
3253 2002-01-08  John Fardo  <jfardo@laurelnetworks.com>
3254             Brad Garcia  <garsh@attbi.com>
3255
3256         * testsuite/27_io/filebuf_members.cc: Add test.
3257
3258 2002-01-07  Benjamin Kosnik  <bkoz@redhat.com>
3259             Craig Rodrigues  <rodrigc@mediaone.net>
3260
3261         libstdc++/5174
3262         * po/Makefile.am (mkinstalldirs): Add.
3263         * po/Makefile.in: Regenerate.
3264
3265 2002-01-07  David Billinghurst  <David.Billinghurst@riotinto.com>
3266
3267         * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
3268         testsuite/lib/prune.exp: Delete lines ":In function ..."  from
3269         compiler output.
3270         * testsuite/23_containers/map_operators.cc: Remove
3271         dg-excess-errors comment.
3272         * testsuite/23_containers/set_operators.cc: Likewise.
3273
3274 2002-01-06  Paolo Carlini  <pcarlini@unitus.it>
3275
3276         * include/bits/stl_function.h:  Remove two lines of comments;
3277         adjust copyright years.
3278
3279 2002-01-04  Benjamin  Kosnik  <bkoz@redhat.com>
3280
3281         * include/Makefile.am (std_headers): Remove cXXX from list.
3282         (c_base_srcdir): No bits subdirectory.
3283         (c_base_builddir): Same.
3284         (c_base_headers): Adjust names, add ciso646.
3285         (bits_headers): Remove std_xxx.h headers.
3286         * include/Makefile.in: Regenerate.
3287
3288         * include/ext/iterator: Adjust includes.
3289         * include/ext/ropeimpl.h: Same.
3290         * include/ext/stl_hash_fun.h: Same.
3291         * include/ext/algorithm: Same.
3292
3293         * include/backward/bvector.h: Adjust includes.
3294         * include/backward/vector.h: Same.
3295         * include/backward/strstream: Same.
3296         * include/backward/streambuf.h: Same.
3297         * include/backward/stack.h: Same.
3298         * include/backward/set.h: Same.
3299         * include/backward/queue.h: Same.
3300         * include/backward/multiset.h: Same.
3301         * include/backward/multimap.h: Same.
3302         * include/backward/map.h: Same.
3303         * include/backward/list.h: Same.
3304         * include/backward/iterator.h: Same.
3305         * include/backward/iostream.h: Same.
3306         * include/backward/iomanip.h: Same.
3307         * include/backward/fstream.h: Same.
3308         * include/backward/deque.h: Same.
3309         * include/backward/complex.h: Same.
3310
3311         * include/bits/std_algorithm.h: Move to...
3312         * include/std/algorithm: ...here.
3313         * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
3314         std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
3315         std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
3316         std_deque.h, std_istream.h, std_numeric.h, std_string.h,
3317         std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
3318         std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
3319         std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
3320         Same.
3321
3322         * include/c_std/bits/std_cassert.h: Move to...
3323         * include/c_std/cassert: Here.
3324         * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
3325         std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
3326         std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
3327         std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
3328         std_cwctype.h: Same.
3329         * include/c_std/cmath: Adjust cmath.tcc include.
3330         * include/c_std/cstdlib: Adjust includes.
3331         * include/c_std/cwchar: Same.
3332         * include/c_std/ctime: Same.
3333         * include/c_std/cstring: Same.
3334         * include/c_std/cstdio: Same.
3335         * include/c_std/bits: Remove directory.
3336
3337         * include/c/bits/std_cassert.h: Move to...
3338         * include/c/cassert: Here.
3339         * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
3340         std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
3341         std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
3342         std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
3343         std_cwctype.h: Same.
3344         * include/c/bits: Remove directory.
3345
3346         * include/std/cwctype: Remove.
3347         * include/std/cwchar: Remove.
3348         * include/std/ctime: Remove.
3349         * include/std/cstring: Remove.
3350         * include/std/cstdlib: Remove.
3351         * include/std/cstdio: Remove.
3352         * include/std/cstddef: Remove.
3353         * include/std/cstdarg: Remove.
3354         * include/std/csignal: Remove.
3355         * include/std/csetjmp: Remove.
3356         * include/std/cmath: Remove.
3357         * include/std/clocale: Remove.
3358         * include/std/climits: Remove.
3359         * include/std/ciso646: Remove.
3360         * include/std/cfloat: Remove.
3361         * include/std/cerrno: Remove.
3362         * include/std/cctype: Remove.
3363         * include/std/cassert: Remove.
3364
3365         * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
3366         files and subsituting <xxx>.
3367         * include/bits/valarray_array.h: Same.
3368         * include/bits/stl_uninitialized.h: Same.
3369         * include/bits/stl_alloc.h: Same.
3370         * include/bits/stl_algobase.h: Same.
3371         * include/bits/sstream.tcc: Same.
3372         * include/bits/pthread_allocimpl.h: Same.
3373         * include/bits/ostream.tcc: Same.
3374         * include/bits/localefwd.h: Same.
3375         * include/bits/locale_facets.tcc: Same.
3376         * include/bits/locale_facets.h: Same.
3377         * include/bits/istream.tcc: Same.
3378         * include/bits/char_traits.h: Same.
3379         * include/bits/boost_concept_check.h: Same.
3380         * include/bits/basic_file.h: Same.
3381         * include/std/bitset: Same.
3382         * include/std/complex: Same.
3383         * include/std/fstream: Same.
3384         * include/std/functional: Same.
3385         * include/std/ios: Same.
3386         * include/std/iostream: Same.
3387         * include/std/ostream: Same.
3388         * include/std/sstream: Same.
3389         * include/std/streambuf: Same.
3390         * include/std/string: Same.
3391         * include/std/iterator: Same.
3392         * include/std/valarray: Same.
3393
3394         * src/ios.cc: Adjust includes.
3395         * src/valarray-inst.cc: Same.
3396         * src/string-inst.cc: Same.
3397         * src/stl-inst.cc: Same.
3398         * src/stdexcept.cc: Same.
3399         * src/misc-inst.cc: Same.
3400         * src/localename.cc: Same.
3401         * src/locale-inst.cc: Same.
3402         * src/locale.cc: Same.
3403         * src/limits.cc: Same.
3404         * src/concept-inst.cc: Same.
3405         * src/complex_io.cc: Same.
3406         * src/codecvt.cc: Same.
3407         * src/bitset.cc: Same.
3408         * src/cmath.cc: Same.
3409
3410 2002-01-04  Paolo Carlini  <pcarlini@unitus.it>
3411
3412         * include/bits/stl_tree.h (rb_tree):  Move to...
3413         * include/ext/rb_tree:  ...here, new file.
3414         * include/Makefile.am (ext_headers):  Add new file.
3415         * include/Makefile.in:  Regenerate.
3416         * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
3417         return_temporary_buffer, struct temporary_buffer):  Move to...
3418         * include/ext/memory:  ...here.
3419         * testsuite/ext/headers.cc:  Include <ext/rb_tree>.
3420         * include/backward/tempbuf.h:  Include <ext/memory>, tweak.
3421         * include/backward/tree.h:  Include <ext/rb_tree), tweak.
3422
3423 2002-01-03  Paolo Carlini  <pcarlini@unitus.it>
3424
3425         * include/bits/stl_numeric.h (power + helpers, iota):  Move to...
3426         * include/ext/numeric:  ...here, new file.
3427         * include/bits/stl_function.h (identity_element, unary_compose,
3428         binary_compose, compose1, compose2, identity, select1st,
3429         select2nd, project1st + helper, project2nd + helper,
3430         constant_void_fun + helper, constant_unary_fun + helper,
3431         costant_binary_fun + helper, constant0, constant1, constant2,
3432         subtractive_rng, mem_fun1, mem_fun1_ref):  Move to...
3433         * include/ext/functional:  ...here, new file.
3434         * include/Makefile.am (ext_headers):  Add new files.
3435         * include/Makefile.in:  Regenerate.
3436         * testsuite/ext/headers.cc:  Include <ext/numeric> and
3437         <ext/functional>.
3438         * include/backward/algo.h:  Include <ext/numeric>, tweak.
3439         * include/backward/function.h:  Include <ext/functional>, tweak.
3440         * include/ext/ropeimpl.h:  Include <ext/numeric>.
3441
3442 2002-01-03  Jeffrey A Law  <law@redhat.com>
3443
3444         * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
3445         __strtoull declarations with __extension__.
3446
3447 2002-01-03  David Billinghurst <David.Billinghurst@riotinto.com>
3448
3449         * testsuite/lib/prune.exp: Correct regular expression for
3450         -ffunction-sections
3451
3452 2002-01-02  Phil Edwards  <pme@gcc.gnu.org>
3453
3454         * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
3455         Change concept checks, as with lower_bound and PR 2054.
3456         * testsuite/ext/concept_checks.cc:  Expand test to include those.
3457
3458 2002-01-02  Phil Edwards  <pme@gcc.gnu.org>
3459
3460         * include/bits/boost_concept_check.h:  Import some changes from
3461         upsteam (Boost) version.
3462
3463 2002-01-02  Paolo Carlini  <pcarlini@unitus.it>
3464
3465         * include/bits/stl_algobase.h (copy_n + helpers,
3466         lexicographical_compare_3way + helpers):  Move to...
3467         * include/ext/algorithm:  ...here.
3468         * include/bits/stl_uninitialized.h (uninitialized_copy_n +
3469         helpers):  Move to...
3470         * include/ext/memory:  ...here, new file.
3471         * include/Makefile.am (ext_headers):  Add new file.
3472         * include/Makefile.in:  Regenerate.
3473         * testsuite/ext/headers.cc:  Include <ext/memory>.
3474         * include/backward/algobase.h:  Include <ext/memory> and
3475         <ext/algorithm>, tweak.
3476         * include/ext/ropeimpl.h:  Include <ext/memory>, tweak.
3477         * include/ext/stl_rope.h:  Include <ext/memory>, tweak.
3478
3479 2002-01-01  Roger Sayle <roger@eyesopen.com>
3480
3481         * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
3482         equivalent ___builtin__ versions.
3483
3484         * include/c_shadow/bits/std_cmath.h: All __builtin math functions
3485         are available in libstdc++ as the necessary stub implementations
3486         are provided by libmath/stubs.c.
3487
3488 2002-01-01  Jason Thorpe  <thorpej@wasabisystems.com>
3489
3490         * configure.in: Add support for NetBSD cross compiles.
3491         * configure: Regenerate.