OSDN Git Service

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