OSDN Git Service

2002-01-28 Paolo Carlini <pcarlini@unitus.it>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
1 2002-01-28  Paolo Carlini  <pcarlini@unitus.it>
2             Charles Leggett <CGLeggett@lbl.gov>
3
4         * testsuite/27_io/filebuf_members.cc (test_05): Add test.
5
6 2002-01-28  Paolo Carlini  <pcarlini@unitus.it>
7
8         * testsuite/27_io/ostream_inserter_arith.cc (test03):
9         Fix to deal correctly with both 32 bit and 64 bit architectures
10
11 2002-01-25  Loren Rittle <ljrittle@acm.org>
12
13         * testsuite/thread/pthread1.cc: Use one condition variable
14         per predicate instead of tricky use of one condition variable.
15
16 2002-01-25  Benjamin Kosnik  <bkoz@redhat.com>
17
18         * include/bits/fstream.tcc (filebuf::close()): Fix close for input
19         streams.
20         (filebuf::_M_really_overflow): Match indeterminate and sync calls.
21         * testsuite/27_io/filebuf.cc: Compile only.
22         * testsuite/27_io/filebuf_members.cc: Move tests to here.
23         * testsuite/27_io/filebuf_virtuals.cc: And here.
24         Revert sungetc, sync changes for expected values.
25         * testsuite/27_io/filebuf-*: Move to...
26         * testsuite/27_io/filebuf_virtuals-*: ...here.
27         * testsuite/27_io/istream.cc: Compile only, activate.
28         * testsuite/27_io/ostream.cc: Same.
29         * testsuite/27_io/iostream.cc: New.
30         * testsuite/27_io/iostream_members.cc: New.
31
32 2002-01-25  David Billinghurst <David.Billinghurst@riotinto.com>
33
34         * testsuite/thread/pthread1.cc: Enable on cygwin.
35         * testsuite/thread/pthread2.cc: Likewise.
36         * testsuite/thread/pthread3.cc: Likewise.
37         * testsuite/thread/pthread4.cc: Likewise.
38         * testsuite/thread/pthread5.cc: Likewise.
39         * testsuite/thread/pthread6.cc: Likewise.
40
41 2002-01-24  Benjamin Kosnik  <bkoz@redhat.com>
42
43         * testsuite/27_io/ostream_inserter_char.cc (test07): New. 
44         
45 2002-01-24  Benjamin Kosnik  <bkoz@redhat.com>
46
47         * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
48         const, tweak.
49         (basic_ios::fill(char_type)): Use fill().       
50         * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
51         (basic_ios::narrow): Same.
52         (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
53         if they are invalid.
54         (basic_ios::init): Comment.
55         * testsuite/27_io/ios_init.cc (test02): New.
56         
57 2002-01-24  Phil Edwards  <pme@gcc.gnu.org>
58
59         * include/bits/stl_tempbuf.h (_Temporary_buffer):  Add doxygen hook.
60         * include/bits/stl_algo.h:  Include stl_tempbuf.h.
61         * include/ext/memory:  Do not include stl_tempbuf.h.
62         (temporary_buffer):  Add doxygen hook.
63         (__get_temporary_buffer, get_temporary_buffer,
64         return_temporary_buffer):  Move back to std:: header...
65         * include/std/std_memory.h:  ...here.  Do not include stl_tempbuf.h.
66         * include/ext/rope:  Do not include stl_tempbuf.h.
67         * include/ext/stl_hashtable.h:  Likewise.
68         * include/std/std_algorithm.h:  Likewise.
69         * testsuite/20_util/temporary_buffer.cc:  New file.
70
71 2002-01-24  andrew@andypo.net
72             (tweaks, test and commit by Loren J. Rittle  <ljrittle@acm.org>)
73
74         libstdc++/5432
75         * include/bits/ios_base.h: Use _Atomic_word for reference counts.
76         * include/bits/localefwd.h: Likewise.
77         Also use for std::locale::id::_S_highwater.
78         * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
79         * src/locale.cc: Support new usage of _Atomic_word.
80         (std::locale::classic): Guard entire function against reentry.
81         * src/localename.cc: Support new usage of _Atomic_word.
82
83 2002-01-24   Benjamin Kosnik  <bkoz@redhat.com>
84
85         * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
86         _GLIBCPP_HAVE_SETENV.
87         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
88         * testsuite/22_locale/collate_members_char.cc (test02): Same.
89         * testsuite/22_locale/ctype_members_char.cc (test03): Same.
90         * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
91         * testsuite/22_locale/messages_members_char.cc (test02): Same.
92         * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
93         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
94         * testsuite/22_locale/money_put_members_char.cc (test04): Same.
95         * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
96         * testsuite/22_locale/num_get_members_char.cc (test03): Same.
97         * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
98         * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
99         * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
100         * testsuite/22_locale/time_get_members_char.cc (test07): Same.
101         * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
102         * testsuite/22_locale/time_put_members_char.cc (test03): Same.
103         * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
104         * testsuite/22_locale/num_put_members_char.cc (test03): Same.
105         * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
106         * aclocal.m4: Regenerate.
107         * configure: Regenerate.
108         * config.h.in: Regenerate.
109         
110 2002-01-23  Loren Rittle <ljrittle@acm.org>
111
112         * testsuite/thread/pthread1.cc: New test.
113         * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
114         * testsuite/thread/pthread3.cc: Likewise.
115         * testsuite/thread/pthread4.cc: New test adapted from
116         http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
117         * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
118         * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
119
120 2002-01-23  Richard Henderson  <rth@redhat.com>
121
122         PR libstdc++/5198
123         * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
124         CAS on the cpu variants that support it.  Add versions that use
125         TAS and that disable interrupts.
126         (__atomic_add): Use __exchange_and_add to guarantee atomicity.
127
128 2002-01-23  Matt Kraai  <kraai@alumni.cmu.edu>
129
130         * include/bits/locale_facets.tcc: Remove old comments.
131
132 2002-01-23  Andreas Tobler  <toa@pop.agri.ch>
133
134         * include/bits/locale_facets.tcc (__convert_to_v): Change template
135         parameter to _Tv.
136         (__convert_from_v): Same.
137         
138 2002-01-23  Benjamin Kosnik  <bkoz@redhat.com>
139
140         * include/bits/locale_facets.h (num_get::_M_extract_int): Change
141         prototype.
142         * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
143         __max_digits checks, adjust arguments.
144         (num_get::do_get(*)): Changeup.
145
146 2002-01-23  Loren Rittle <ljrittle@acm.org>
147
148         * config/locale/c_locale_generic.cc: Fix typename usage.
149
150 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
151
152         * config/locale/c_locale_generic.cc: Fix.
153
154 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
155
156         * docs/html/22_locale/messages.html: Remove angle brackets.
157         * docs/html/17_intro/TODO: Add.
158         
159 2002-01-22  Paolo Carlini  <pcarlini@unitus.it>
160
161         * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
162         * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
163         * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
164         * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
165
166 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
167
168         Audit for LANG independence.
169         * include/bits/localefwd.h: Tweaks.
170         * include/bits/locale_facets.tcc (money_get::do_get(long double)):
171         Use __convert_to_v.
172         (time_get::do_get_year): Same.
173         (__convert_from_v): Add.
174         (num_put::_M_convert_float): Use.
175         (num_put::_M_convert_int): Same.
176         (money_put::do_put): Same.
177         
178         * src/locale-inst.cc: Add instantiations for __convert_from_v.
179         * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
180         * config/locale/time_members_generic.cc: 
181         * config/locale/messages_members_gnu.cc: Same.
182         * config/locale/messages_members_gnu.h: Same.
183         
184         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
185         * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
186         * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
187         * testsuite/22_locale/collate_members_char.cc (test02): New.
188         * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
189         * testsuite/22_locale/ctype_members_char.cc (test03): New.
190         * testsuite/22_locale/messages_members_char.cc (test02): New.
191         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
192         * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
193         * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
194         * testsuite/22_locale/money_get_members_char.cc (test04): New.
195         * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
196         * testsuite/22_locale/money_put_members_char.cc (test04): New.
197         * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
198         * testsuite/22_locale/numpunct_members_char.cc (test02): New.
199         * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
200         * testsuite/22_locale/time_put_members_char.cc (test03): New.
201         * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
202         * testsuite/22_locale/time_get_members_char.cc (test07): New.
203         * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
204         * testsuite/22_locale/num_get_members_char.cc (test03): New.
205         * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
206         * testsuite/22_locale/num_put_members_char.cc (test03): New.
207
208         * testsuite/22_locale/time_get_members_char.cc: Fixups for global
209         locale issues.
210         * testsuite/22_locale/time_get_members_char.cc: Same.
211         
212 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
213
214         libstdc++/5280
215         * include/bits/localefwd.h: Tweak comments.
216         * include/bits/locale_facets.h (__convert_to_v): Add.
217         * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
218         (num_get::do_get(float)): Same.
219         (num_get::do_get(long double)): Same.
220         (num_get::do_get(bool)): Same.
221         (num_get::do_get(long)): Same.
222         (num_get::do_get(long long)): Same.
223         (num_get::do_get(unsigned int)): Same.
224         (num_get::do_get(unsigned short)): Same.
225         (num_get::do_get(unsigned long)): Same.
226         (num_get::do_get(unsigned long long)): Same.
227         * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
228         * config/locale/c_locale_generic.cc: Same.
229         
230 2002-01-22  Loren Rittle <ljrittle@acm.org>
231
232         * include/Makefile.am (c_base_builddir): Remove redundant slash.
233         (std_builddir): Likewise.
234         (std_headers_rename): Fix cut-n-paste typo.
235         (install-data-local): Concat path per element instead of once to
236         first element of list.
237         * include/Makefile.in: Rebuilt.
238
239 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
240
241         * config/os/aix/bits/ctype_noninline.h: Fix formatting.
242         * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
243         * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
244
245 2002-01-20  Benjamin Kosnik  <bkoz@redhat.com>
246
247         * include/bits/locale_facets.h (ctype<char>::classic_table):
248         Remove definition.
249         (ctype<char>::_S_ctable): Remove.
250         * config/os/gnu-linux/bits/ctype_noninline.h
251         (ctype<char>::_S_table): Remove definition.
252         (ctype<char>::classic_table): Define.
253         (ctype<char>::ctype): Replace _S_ctable with classic_table().
254         * config/os/aix/bits/ctype_noninline.h: Same.
255         * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
256         * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
257         * config/os/djgpp/bits/ctype_noninline.h: Same.
258         * config/os/generic/bits/ctype_noninline.h: Same.
259         * config/os/gnu-linux/bits/ctype_noninline.h: Same.
260         * config/os/hpux/bits/ctype_noninline.h: Same.
261         * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
262         * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
263         * config/os/mingw32/bits/ctype_noninline.h: Same.
264         * config/os/newlib/bits/ctype_noninline.h: Same.
265         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
266         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
267         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
268
269 2002-01-20  Danny Smith  <dannysmith@users.sourceforge.net>
270
271         * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
272         of _pctype. Use to define _S_ctable.  Add definition for alternate
273         ctor.  Initialise _M_ctable to _S_ctable in ctors.
274         (do_toupper, do_tolower): Use inline code appropriate for C-locale
275         rather than ::toupper, ::tolower.
276
277 2002-01-18  Loren Rittle <ljrittle@acm.org>
278
279         * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
280         Add specialization for FreeBSD systems only to avoid losing test
281         only due to extra precision unmentioned in system headers.
282
283 2002-01-18  David Billinghurst <David.Billinghurst@riotinto.com>
284
285         * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
286
287 2002-01-17  Nick Clifton  <nickc@cambridge.redhat.com>
288
289         * testsuite/testsuite_hooks.h: Fix comment typo.  Memory
290         limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
291
292 2002-01-17  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
293         
294         * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
295
296 2002-01-17  David Edelsohn  <edelsohn@gnu.org>
297
298         * configure.target: Define OPT_LDFLAGS for AIX case.
299
300 2002-01-17  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
301
302         * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
303         __glibcpp_double_has_quiet_NaN): Correct mispelling.
304
305 2002-01-17  Andreas Tobler  <toa@pop.agri.ch>
306
307         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
308
309 2002-01-16  David Edelsohn  <dje@watson.ibm.com>
310
311         * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
312         SECTION_LDFLAGS and OPT_LDFLAGS.  Fix ac_sectionLDflags type.
313         * aclocal.m4: Regenerate.
314         * configure: Regenerate.
315         
316 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
317
318         * include/Makefile.am (c_base_headers_rename): New.
319         (c_base_headers_extra): New.
320         (stamp-c_base): Modify.
321         (install-data-local): Use both.
322         * include/Makefile.in: Regenerate.
323         * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
324         csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
325         cstdio ctime cwctype]: Move to..
326         * include/c/std_*: Here.
327         * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
328         csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
329         cstdio ctime cwctype]: Move to..
330         * include/c_std/std_*: Here.
331
332         Alexandre Oliva  <aoliva@redhat.com>    
333         * include/Makefile.am (.PRECIOUS): Add rule.
334         * include/Makefile.in: Regenerate.
335         
336 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
337             Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
338         
339         * include/bits/stl_iterator.h (reverse_iterator::_M_current):
340         Deuglify, should be current.
341         (back_insert_iterator::_M_container): Deuglify, should be container.
342         (front_insert_iterator::_M_container): Same.    
343         (insert_iterator::_M_container): Same.
344         * testsuite/24_iterators/reverse_iterator.cc: Add check.
345         * testsuite/24_iterators/back_insert_iterator.cc: Add check.    
346         * testsuite/24_iterators/front_insert_iterator.cc: Same.
347         * testsuite/24_iterators/insert_iterator.cc: Same.
348         
349 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
350
351         * include/bits/locale_facets.h (ctype<char>::classic_table): Make
352         static.
353         (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
354         * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
355         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
356         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
357         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
358         * config/os/newlib/bits/ctype_noninline.h: Same.
359         * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
360         * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
361         * config/os/hpux/bits/ctype_noninline.h: Same.
362         * config/os/djgpp/bits/ctype_noninline.h: Same.
363         * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
364         * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
365         * config/os/aix/bits/ctype_noninline.h: Same.
366         
367         Testcase by Dietmar Kühl via Peter Schmid 
368         * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
369         classic_table().
370
371 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
372
373         * libmath/signbitl.c: Copyright years as list, not range.       
374         * libmath/Makefile.am: Same.
375         * libmath/Makefie.in: Regenerate.
376         * libmath/signbit.c: Same.
377         * libmath/nan.c: Same.
378         * libmath/copysignf.c: Same.
379         * libmath/signbitf.c: Same.
380         * testsuite/22_locale/money_get_members_char.cc: Same.
381         * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
382         * testsuite/22_locale/money_put_members_char.cc: Same.
383         * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
384         * testsuite/22_locale/time_get_members_char.cc: Same.
385         * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
386         * testsuite/22_locale/time_put_members_char.cc: Same.
387         * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
388         * testsuite/21_strings/nonmember.cc: Same.
389         * testsuite/21_strings/compare.cc: Same.
390         * testsuite/27_io/stringstream.cc: Same.
391         * testsuite/27_io/stringbuf.cc: Same.
392         * testsuite/27_io/filebuf.cc: Same.
393         * testsuite/27_io/ios_manip_basefield.cc: Same.
394         * testsuite/27_io/ios_manip_fmtflags.cc: Same.
395         * include/bits/cpp_type_traits.h: Same.
396         * include/bits/generic_shadow.h: Same.
397         * include/bits/gslice_array.h: Same.
398         * include/bits/gslice.h: Same.
399         * include/bits/indirect_array.h: Same.
400         * include/bits/slice_array.h: Same.
401         * include/bits/sstream.tcc: Same.
402         * include/bits/streambuf_iterator.h: Same.
403         * include/bits/valarray_array.tcc: Same.
404         * include/bits/valarray_meta.h: Same.
405         * include/bits/valarray_array.h: Same.
406         * config/os/mingw32/bits/ctype_noninline.h: Same.
407         * config/os/mingw32/bits/ctype_base.h: Same.
408         * config/os/hpux/bits/ctype_noninline.h: Same.
409         * config/os/hpux/bits/ctype_base.h: Same.
410         * config/os/gnu-linux/bits/ctype_noninline.h: Same.
411         * config/os/gnu-linux/bits/ctype_base.h: Same.
412         * config/os/generic/bits/ctype_noninline.h: Same.
413         * config/os/generic/bits/ctype_base.h: Same.
414
415         * libsupc++/tinfo.h: Tweaks.
416
417 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
418
419         * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
420         * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
421         * testsuite/22_locale/ctype_members_char.cc: Tweak.     
422
423 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
424
425         * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
426         (num_put::do_put(void*)): Fix.
427         * testsuite/22_locale/num_put_members_char.cc (test02): Add.
428         * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
429         * testsuite/22_locale/num_get_members_char.cc (test02): Add
430         long double, void, bool types.
431         * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
432         
433 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
434             Alexandre Oliva  <aoliva@redhat.com>
435
436         * libmath/Makefile.am (LINK): Add --tag CC.
437         * libmath/Makefile.in: Regenerate.
438
439 2002-01-15  John David Anglin  <dave@hiauly1.hia.nrc.ca>
440
441         * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
442         of character to attribute mapping table.
443
444 2002-01-15  David Billinghurst <David.Billinghurst@riotinto.com>
445
446         * testsuite/26_numerics/c99_classification_macros_c.cc
447         Remove dg-error and dg-excess-errors comments.
448
449 2002-01-14  Benjamin Kosnik  <bkoz@redhat.com>
450
451         * include/bits/locale_facets.tcc (time_put::put): Correct output
452         iterator positions.
453         * testsuite/22_locale/time_put_members_char.cc (test02): Add.
454         * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
455         * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
456         * testsuite/22_locale/time_get_members_char.cc (test06): Add.
457
458 2002-01-14  Craig Rodrigues  <rodrigc@gcc.gnu.org>
459
460         * docs/html/17_intro/porting-howto.xml: Update filebuf section.
461
462 2002-01-14  Paolo Carlini  <pcarlini@unitus.it>
463             Nathan Myers  <ncm@cantrip.org>
464
465         * include/bits/basic_string.h
466         (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
467         temporaries (i.e., call _M_replace_safe) when possible.
468         (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
469         (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
470         (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
471         (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
472         (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
473         * include/bits/basic_string.tcc
474         (replace(__pos1, __n1, __str, __pos2, __n2)): Call
475         replace(__pos, __n1, __s, __n2).
476         * testsuite/21_strings/replace.cc (test03): New testcases.
477
478         * include/bits/basic_string.h (insert(__pos, __s, __n)):
479         Adjust comparison wrt overflow.
480         
481 2002-01-12  Benjamin Kosnik  <bkoz@redhat.com>
482
483         * include/Makefile.am (std_headers_rename): New variable.
484         (install-data-local): Use it.
485         * include/Makefile.in: Regenerate.
486         
487 2002-01-12  Benjamin Kosnik  <bkoz@redhat.com>
488
489         * include/bits/locale_facets.tcc (money_put::do_put(string):
490         Correct output iterator value.
491         * testsuite/22_locale/money_put_members_char.cc (test03): Add.
492         * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
493         
494 2002-01-11  Phil Edwards  <pme@gcc.gnu.org>
495
496         * include/Makefile.am, include/Makefile.in (stamp-std):  Fix typo from
497         previous commit.
498
499 2002-01-11  Phil Edwards  <pme@gcc.gnu.org>
500
501         * include/Makefile.am (std_headers):  Update list with new names.
502         (stamp-std):  Link to standardized name.
503         * include/Makefile.in:  Regenerate.
504
505         * include/std/algorithm, include/std/bitset, include/std/complex,
506         include/std/deque, include/std/fstream, include/std/functional,
507         include/std/iomanip, include/std/ios, include/std/iosfwd,
508         include/std/iostream, include/std/istream, include/std/iterator,
509         include/std/limits, include/std/list, include/std/locale,
510         include/std/map, include/std/memory, include/std/numeric,
511         include/std/ostream, include/std/queue, include/std/set,
512         include/std/sstream, include/std/stack, include/std/stdexcept,
513         include/std/streambuf, include/std/string, include/std/utility,
514         include/std/valarray, include/std/vector:  Rename to...
515
516         * include/std/std_algorithm.h, include/std/std_bitset.h,
517         include/std/std_complex.h, include/std/std_deque.h,
518         include/std/std_fstream.h, include/std/std_functional.h,
519         include/std/std_iomanip.h, include/std/std_ios.h,
520         include/std/std_iosfwd.h, include/std/std_iostream.h,
521         include/std/std_istream.h, include/std/std_iterator.h,
522         include/std/std_limits.h, include/std/std_list.h,
523         include/std/std_locale.h, include/std/std_map.h,
524         include/std/std_memory.h, include/std/std_numeric.h,
525         include/std/std_ostream.h, include/std/std_queue.h,
526         include/std/std_set.h, include/std/std_sstream.h,
527         include/std/std_stack.h, include/std/std_stdexcept.h,
528         include/std/std_streambuf.h, include/std/std_string.h,
529         include/std/std_utility.h, include/std/std_valarray.h,
530         include/std/std_vector.h:  ...this.
531
532 2002-01-11  Loren Rittle <ljrittle@acm.org>
533
534         * include/Makefile.am (extra_target_headers): New list of all
535         target files built with ad hoc naming rules.
536         (stamp-*): Handle LN_S failure in manner portable across make
537         implementations.
538         (install-data-local): Install header files from human-maintained
539         file lists and directory components instead of non-robust find.
540         * include/Makefile.in: Rebuilt.
541
542 2002-01-11  Benjamin Kosnik  <bkoz@redhat.com>
543
544         * include/bits/locale_facets.tcc (money_get::do_get(string)):
545         Check for zero-length negative sign before adding it to output
546         string.
547         (money_get::do_get(long double)): Return beg.
548         * testsuite/22_locale/money_get_members_char.cc (test02): Add
549         iterator checks.
550         * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
551         
552 2002-01-10  David Seymour  <seymour_dj@yahoo.com>
553
554         libstdc++/5331
555         * include/bits/locale_facets.h (num_get<>): Return advanced iterator
556         for _M_extract_float and _M_extract_int
557         * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
558         (num_get<>::_M_extract_int): Likewise, all callers changed
559         * testsuite/22_locale/num_get_members_char.cc: Testcase
560
561 2002-01-09  Paolo Carlini <pcarlini@unitus.it>
562
563         * libsupc++/exception (bad_exception): Add comment.
564         * libsupc++/new (bad_alloc): Same.
565         * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
566
567 2002-01-09  Paolo Carlini <pcarlini@unitus.it>
568
569         libstdc++/3150: revert 2001-11-30 commit. DR266 only means
570         that the destructors should be removed from the descriptions
571         in the standard: writing them explicitly allows the vtable
572         heuristic to work. For additional information see:
573         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
574         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
575         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
576         * libsupc++/exception (bad_exception::~bad_exception()):
577         Reintroduce declaration.
578         * libsupc++/new (bad_alloc::~bad_alloc()): Same.
579         * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
580         (bad_typeid::~bad_typeid()): Same.
581         * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
582         Reintroduce definition.
583         * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
584         * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
585         (bad_typeid::~bad_typeid()): Same.
586
587 2002-01-09  Benjamin Kosnik  <bkoz@redhat.com>
588
589         * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
590         * include/Makefile.in: Regenerate.
591         
592 2002-01-09  Bo Thorsen  <bo@suse.co.uk>
593
594         * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
595         definition.
596
597 2002-01-08  Benjamin Kosnik  <bkoz@redhat.com>
598
599         libstdc++/2913
600         libstdc++/4879
601         * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
602         return value of _M_file->sync().
603         (filebuf::showmanyc): Check for is_open.
604         * include/std/fstream (filebuf::sync): Tweak.
605         * testsuite/27_io/filebuf.cc: Tweak.
606
607 2002-01-08  John Fardo  <jfardo@laurelnetworks.com>
608             Brad Garcia  <garsh@attbi.com>
609         
610         * testsuite/27_io/filebuf_members.cc: Add test.
611         
612 2002-01-07  Benjamin Kosnik  <bkoz@redhat.com>
613             Craig Rodrigues  <rodrigc@mediaone.net>
614
615         libstdc++/5174
616         * po/Makefile.am (mkinstalldirs): Add.
617         * po/Makefile.in: Regenerate.
618
619 2002-01-07  David Billinghurst  <David.Billinghurst@riotinto.com>
620
621         * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
622         testsuite/lib/prune.exp: Delete lines ":In function ..."  from
623         compiler output.
624         * testsuite/23_containers/map_operators.cc: Remove
625         dg-excess-errors comment.
626         * testsuite/23_containers/set_operators.cc: Likewise.
627
628 2002-01-06  Paolo Carlini  <pcarlini@unitus.it>
629
630         * include/bits/stl_function.h:  Remove two lines of comments;
631         adjust copyright years.
632
633 2002-01-04  Benjamin  Kosnik  <bkoz@redhat.com>
634
635         * include/Makefile.am (std_headers): Remove cXXX from list.
636         (c_base_srcdir): No bits subdirectory.
637         (c_base_builddir): Same.
638         (c_base_headers): Adjust names, add ciso646.
639         (bits_headers): Remove std_xxx.h headers.
640         * include/Makefile.in: Regenerate.
641         
642         * include/ext/iterator: Adjust includes.
643         * include/ext/ropeimpl.h: Same.
644         * include/ext/stl_hash_fun.h: Same.
645         * include/ext/algorithm: Same.
646         
647         * include/backward/bvector.h: Adjust includes.
648         * include/backward/vector.h: Same.
649         * include/backward/strstream: Same.
650         * include/backward/streambuf.h: Same.
651         * include/backward/stack.h: Same.
652         * include/backward/set.h: Same.
653         * include/backward/queue.h: Same.
654         * include/backward/multiset.h: Same.
655         * include/backward/multimap.h: Same.
656         * include/backward/map.h: Same.
657         * include/backward/list.h: Same.
658         * include/backward/iterator.h: Same.
659         * include/backward/iostream.h: Same.
660         * include/backward/iomanip.h: Same.
661         * include/backward/fstream.h: Same.
662         * include/backward/deque.h: Same.
663         * include/backward/complex.h: Same.
664
665         * include/bits/std_algorithm.h: Move to...
666         * include/std/algorithm: ...here.
667         * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
668         std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
669         std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
670         std_deque.h, std_istream.h, std_numeric.h, std_string.h,
671         std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
672         std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
673         std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
674         Same.
675         
676         * include/c_std/bits/std_cassert.h: Move to...
677         * include/c_std/cassert: Here.
678         * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
679         std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
680         std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
681         std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
682         std_cwctype.h: Same.
683         * include/c_std/cmath: Adjust cmath.tcc include.
684         * include/c_std/cstdlib: Adjust includes.
685         * include/c_std/cwchar: Same.
686         * include/c_std/ctime: Same.
687         * include/c_std/cstring: Same.
688         * include/c_std/cstdio: Same.
689         * include/c_std/bits: Remove directory.
690         
691         * include/c/bits/std_cassert.h: Move to...
692         * include/c/cassert: Here.
693         * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
694         std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
695         std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
696         std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
697         std_cwctype.h: Same.
698         * include/c/bits: Remove directory.
699         
700         * include/std/cwctype: Remove.
701         * include/std/cwchar: Remove.
702         * include/std/ctime: Remove.
703         * include/std/cstring: Remove.
704         * include/std/cstdlib: Remove.
705         * include/std/cstdio: Remove.
706         * include/std/cstddef: Remove.
707         * include/std/cstdarg: Remove.
708         * include/std/csignal: Remove.
709         * include/std/csetjmp: Remove.
710         * include/std/cmath: Remove.
711         * include/std/clocale: Remove.
712         * include/std/climits: Remove.
713         * include/std/ciso646: Remove.
714         * include/std/cfloat: Remove.
715         * include/std/cerrno: Remove.
716         * include/std/cctype: Remove.
717         * include/std/cassert: Remove.
718
719         * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
720         files and subsituting <.xxx>
721         * include/bits/valarray_array.h: Same.
722         * include/bits/stl_uninitialized.h: Same.
723         * include/bits/stl_alloc.h: Same.
724         * include/bits/stl_algobase.h: Same.
725         * include/bits/sstream.tcc: Same.
726         * include/bits/pthread_allocimpl.h: Same.
727         * include/bits/ostream.tcc: Same.
728         * include/bits/localefwd.h: Same.
729         * include/bits/locale_facets.tcc: Same.
730         * include/bits/locale_facets.h: Same.
731         * include/bits/istream.tcc: Same.
732         * include/bits/char_traits.h: Same.
733         * include/bits/boost_concept_check.h: Same.
734         * include/bits/basic_file.h: Same.
735         * include/std/bitset: Same.
736         * include/std/complex: Same.
737         * include/std/fstream: Same.
738         * include/std/functional: Same.
739         * include/std/ios: Same.
740         * include/std/iostream: Same.
741         * include/std/ostream: Same.
742         * include/std/sstream: Same.
743         * include/std/streambuf: Same.
744         * include/std/string: Same.
745         * include/std/iterator: Same.
746         * include/std/valarray: Same.
747
748         * src/ios.cc: Adjust includes.
749         * src/valarray-inst.cc: Same.
750         * src/string-inst.cc: Same.
751         * src/stl-inst.cc: Same.
752         * src/stdexcept.cc: Same.
753         * src/misc-inst.cc: Same.
754         * src/localename.cc: Same.
755         * src/locale-inst.cc: Same.
756         * src/locale.cc: Same.
757         * src/limits.cc: Same.
758         * src/concept-inst.cc: Same.
759         * src/complex_io.cc: Same.
760         * src/codecvt.cc: Same.
761         * src/bitset.cc: Same.
762         * src/cmath.cc: Same.
763
764 2002-01-04  Paolo Carlini  <pcarlini@unitus.it>
765
766         * include/bits/stl_tree.h (rb_tree):  Move to...
767         * include/ext/rb_tree:  ...here, new file.
768         * include/Makefile.am (ext_headers):  Add new file.
769         * include/Makefile.in:  Regenerate.
770         * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
771         return_temporary_buffer, struct temporary_buffer):  Move to...
772         * include/ext/memory:  ...here.
773         * testsuite/ext/headers.cc:  Include <ext/rb_tree>.
774         * include/backward/tempbuf.h:  Include <ext/memory>, tweak.
775         * include/backward/tree.h:  Include <ext/rb_tree), tweak.
776
777 2002-01-03  Paolo Carlini  <pcarlini@unitus.it>
778
779         * include/bits/stl_numeric.h (power + helpers, iota):  Move to...
780         * include/ext/numeric:  ...here, new file.
781         * include/bits/stl_function.h (identity_element, unary_compose,
782         binary_compose, compose1, compose2, identity, select1st,
783         select2nd, project1st + helper, project2nd + helper,
784         constant_void_fun + helper, constant_unary_fun + helper,
785         costant_binary_fun + helper, constant0, constant1, constant2,
786         subtractive_rng, mem_fun1, mem_fun1_ref):  Move to...
787         * include/ext/functional:  ...here, new file.
788         * include/Makefile.am (ext_headers):  Add new files.
789         * include/Makefile.in:  Regenerate.
790         * testsuite/ext/headers.cc:  Include <ext/numeric> and
791         <ext/functional>.
792         * include/backward/algo.h:  Include <ext/numeric>, tweak.
793         * include/backward/function.h:  Include <ext/functional>, tweak.
794         * include/ext/ropeimpl.h:  Include <ext/numeric>.
795
796 2002-01-03  Jeffrey A Law  <law@redhat.com>
797
798         * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
799         __strtoull declarations with __extension__.
800
801 2002-01-03  David Billinghurst <David.Billinghurst@riotinto.com>
802
803         * testsuite/lib/prune.exp: Correct regular expression for
804         -ffunction-sections
805
806 2002-01-02  Phil Edwards  <pme@gcc.gnu.org>
807
808         * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
809         Change concept checks, as with lower_bound and PR 2054.
810         * testsuite/ext/concept_checks.cc:  Expand test to include those.
811
812 2002-01-02  Phil Edwards  <pme@gcc.gnu.org>
813
814         * include/bits/boost_concept_check.h:  Import some changes from
815         upsteam (Boost) version.
816
817 2002-01-02  Paolo Carlini  <pcarlini@unitus.it>
818
819         * include/bits/stl_algobase.h (copy_n + helpers,
820         lexicographical_compare_3way + helpers):  Move to...
821         * include/ext/algorithm:  ...here.
822         * include/bits/stl_uninitialized.h (uninitialized_copy_n +
823         helpers):  Move to...
824         * include/ext/memory:  ...here, new file.
825         * include/Makefile.am (ext_headers):  Add new file.
826         * include/Makefile.in:  Regenerate.
827         * testsuite/ext/headers.cc:  Include <ext/memory>.
828         * include/backward/algobase.h:  Include <ext/memory> and
829         <ext/algorithm>, tweak.
830         * include/ext/ropeimpl.h:  Include <ext/memory>, tweak.
831         * include/ext/stl_rope.h:  Include <ext/memory>, tweak.
832
833 2002-01-01  Roger Sayle <roger@eyesopen.com>
834
835         * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
836         equivalent ___builtin__ versions.
837
838         * include/c_shadow/bits/std_cmath.h: All __builtin math functions
839         are available in libstdc++ as the necessary stub implementations
840         are provided by libmath/stubs.c.
841
842 2002-01-01  Jason Thorpe  <thorpej@wasabisystems.com>
843
844         * configure.in: Add support for NetBSD cross compiles.
845         * configure: Regenerate.
846
847 2001-12-31  Paolo Carlini  <pcarlini@unitus.it>
848
849         * include/ext/iterator:  Add #include <bits/std_iterator.h>, tweak.
850         * testsuite/ext/headers.cc:  Add <ext/iterator>.
851
852 2001-12-31  Paolo Carlini  <pcarlini@unitus.it>
853
854         * include/backward/algo.h:  Add two more using declarations.
855         * include/backward/iterator.h:  Include <ext/iterator>,
856         add using declaration.
857         * include/ext/algorithm:  Add #pragma GCC system_header.
858
859 2001-12-31  Phil Edwards  <pme@gcc.gnu.org>
860
861         * include/bits/stl_bvector.h:  Change calls to 3-argument distance()
862         into standard 2-argument version.
863         * include/bits/stl_deque.h:  Likewise.
864         * include/bits/stl_tempbuf.h:  Likewise.
865         * include/bits/stl_tree.h:  Likewise.
866         * include/bits/stl_vector.h:  Likewise.
867         * include/ext/stl_hashtable.h:  Likewise.
868         * include/bits/stl_iterator_base_funcs.h:  Move distance() extension...
869         * include/ext/iterator:  to here.  New file.
870         * include/Makefile.am (ext_headers):  Add new file, alphabatize.
871         * include/Makefile.in:  Regenerate.
872
873 2001-12-31  Phil Edwards  <pme@gcc.gnu.org>
874
875         * include/bits/stl_deque.h:  Doxygenate with initial/example hooks.
876         Clean up spacing and indentation.
877
878 2001-12-31  Paolo Carlini  <pcarlini@unitus.it>
879
880         * include/ext/slist:  Move into __gnu_cxx,
881         tweak, add using declarations.
882
883 2001-12-31  Paolo Carlini  <pcarlini@unitus.it>
884
885         * include/ext/hash_map:  Move into __gnu_cxx,
886         tweak, add using declarations.
887         * include/ext/hash_set:  Ditto.
888         * include/ext/ropeimpl.h:  Ditto.
889         * include/ext/stl_hash_fun.h:  Ditto.
890         * include/ext/stl_hashtable.h:  Ditto.
891         * include/ext/stl_rope.h:  Ditto.
892         * src/ext-inst.cc: Tweak.
893         * testsuite/ext/rope.cc: Tweak.
894
895 2001-12-31  Paolo Carlini  <pcarlini@unitus.it>
896
897         * include/backward/algo.h:  Include <ext/algorithm>,
898         tweak using declarations.
899
900 2001-12-29  Richard Henderson  <rth@redhat.com>
901
902         * config/os/hpux/bits/os_defines.h: Don't define __glibcpp_long_bits.
903         * config/os/hpux/bits/cpu_limits.h: New file.
904         * configure.target (CPULIMITSH): Use it.
905
906 2001-12-28  Richard Henderson  <rth@redhat.com>
907
908         * config/cpu/ia64/bits/cpu_limits.h: New file.
909         * config/os/osf/osf5.0/bits/cpu_limits.h: New file.
910         * configure.target (CPULIMITSH): Use them.
911
912 2001-12-28  Phil Edwards  <pme@gcc.gnu.org>
913
914         * include/bits/c++config:  Move doxygen hook comment...
915         * docs/doxygen/doxygroups.cc:  ...to here.
916
917 2001-12-28  Phil Edwards  <pme@gcc.gnu.org>
918
919         PR libstdc++/2054
920         * include/bits/stl_algo.h (lower_bound):  Relax concept checks.
921         * testsuite/ext/concept_checks.cc:  New file.
922
923 2001-12-28  Paolo Carlini  <pcarlini@unitus.it>
924
925         * include/bits/stl_algo.h (count returning void,
926         count_if returning void, __random_sample, random_sample,
927         random_sample_n, __is_heap, is_heap, is_sorted):  Move to...
928         * include/ext/algorithm:  ...here, new file.
929         * include/Makefile.am (ext_headers):  Add new file.
930         * include/Makefile.in:  Regenerate.
931         * testsuite/ext/headers.cc:  Include <ext/algorithm>.
932
933 2001-12-28  Paolo Carlini  <pcarlini@unitus.it>
934             Nathan Myers  <ncm@cantrip.org>
935
936         * include/bits/basic_string.h (insert(__pos, __s, __n)):
937         Optimize by avoiding temporaries and working in-place when possible.
938         (insert(__pos1, __str)): Call insert(__pos1, __str, __pos2, __n).
939         (insert(__pos1, __str, __pos2, __n)): Call insert(__pos, __s, __n).
940         * testsuite/21_strings/insert.cc (test02): New testcases.
941
942 2001-12-27  Phil Edwards  <pme@gcc.gnu.org>
943
944         * testsuite/testsuite_hooks.h (gnu_counting_struct):  Add.
945         * testsuite/23_containers/deque_ctor.cc:  New file.
946
947 2001-12-27  Paolo Carlini  <pcarlini@unitus.it>
948
949         * include/bits/locale_facets.tcc (collate::do_transform):
950         Adjust implicit typename.
951         * config/locale/messages_members_generic.h (messages::open,
952         messages::do_open, messages::do_get): Adjust implicit typename.
953         * config/locale/messages_members_gnu.h (messages::open,
954         messages::do_open, messages::do_get): Adjust Implicit typename.
955         * config/locale/messages_members_ieee_1003.1-200x.h (messages::open,
956         messages::do_open, messages::do_get): Adjust implicit typename.
957
958 2001-12-27  Phil Edwards  <pme@gcc.gnu.org>
959
960         PR libstdc++/3829
961         * src/misc-inst.cc:  Many additional I/O-related instantiations.
962         * testsuite/27_io/instantiations.cc:  New file.
963
964 2001-12-26  Benjamin Kosnik  <bkoz@waller.constant.com>
965
966         * testsuite/24_iterators/insert_iterator.cc (test02): Add.
967         * testsuite/24_iterators/front_insert_iterator.cc (test02): Add.
968         * testsuite/24_iterators/back_insert_iterator.cc (test02): Add.
969         * testsuite/24_iterators/reverse_iterator.cc (test02): Add.
970
971         * include/bits/stl_iterator.h (reverse_iterator): Uglify member
972         current to _M_current.
973         (back_insert_iterator): Uglify member container to _M_container.
974         (front_insert_iterator): Same.
975         (insert_iterator): Same.
976
977 2001-12-25  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
978
979         * include/bits/std_limits.h (__glibcpp_xxx_is_modulo): New
980         macros for signed types; default value is true.
981         (numeric_limits<>::is_modulo): Get value from corresponding
982         __glibcpp_xxx_is_modulo macro.
983
984 2001-12-23  Jeffrey A Law  <law@redhat.com>
985
986         * config/os/hpux/bits/os_defines.h: Do not include <_sys/inttypes.h>.
987         Twiddle return types for strtoll and strtoull to avoid using
988         intmax_t and uintmax-t.
989
990 2001-12-22  Richard Henderson  <rth@redhat.com>
991
992         * configure.target (CPULIMITSH): Fix typo in alpha case.
993
994 2001-12-22  Jeffrey A Law  <law@redhat.com>
995
996         * config/os/hpux/bits/os_defines.h: Update to avoid #defines
997         for strtoll and strtoull.
998
999 2001-12-21  Jeffrey A Law  <law@redhat.com>
1000
1001         * config/os/hpux/bits/os_defines.h: Include <sys/_inttypes.h.
1002         Define strtoll and strtoull.  Provide prototypes for
1003         __strtoll and __strtoull.  Define _GLIBCPP_USE_LONG_LONG
1004         unconditionally.
1005
1006         * src/locale-inst.cc: Include <bits/std_cstdlib.h>
1007
1008         * configure.target: Fix typo in hpux case.
1009
1010 2001-12-21  Paolo Carlini  <pcarlini@unitus.it>
1011
1012         * include/ext/stl_rope.h (_Rope_iterator):
1013         Add local typedef to fix implicit typename problems.
1014
1015 2001-12-19  Phil Edwards  <pme@gcc.gnu.org>
1016
1017         * docs/doxygen/Intro.3:  New 'Allocators' module.
1018         * docs/doxygen/TODO:  Update.
1019         * docs/doxygen/doxygroups.cc:  Update.
1020         * docs/doxygen/run_doxygen:  Update.
1021
1022         * include/bits/stl_alloc.h:  Tweak doxygen hooks in comments.
1023         * include/bits/std_memory.h:  Doxygenate.
1024         * include/bits/stl_iterator_base_types.h:  Likewise.
1025         * include/bits/stl_raw_storage_iter.h:  Likewise.
1026         * include/bits/stl_tempbuf.h:  Likewise.
1027         (get_temporary_buffer):  Remove unused nonstandard overload.
1028         * include/bits/stl_uninitialized.h:  Likewise.
1029
1030         * include/bits/stl_iterator_base_types.h (input_iterator,
1031         output_iterator, forward_iterator, bidirectional_iterator,
1032         random_access_iterator):  Move old names...
1033         * include/backward/iterator.h:  ...to here.
1034         * include/bits/stl_bvector.h:  Update.
1035         * include/ext/stl_rope.h:  Update.
1036
1037 2001-12-19  Phil Edwards  <pme@gcc.gnu.org>
1038
1039         * docs/html/configopts.html:  Describe recent options.
1040         * docs/html/documentation.html:  Point to new doxygen tarballs.
1041         * docs/html/install.html:  Brief updates.
1042         * docs/html/17_intro/RELEASE-NOTES:  Remove weird control character.
1043         * docs/html/ext/howto.html:  Fix typos, describe filebuf::fd().
1044         * docs/html/faq/index.html:  Update for 3.0.95.
1045         * docs/html/faq/index.txt:  Regenerate.
1046
1047 2001-12-19  David Billinghurst <David.Billinghurst@riotinto.com>
1048
1049         libstdc++-v3/5148
1050         * testsuite/lib/libstdc++-v3-dg.exp:  Append .exe to
1051         executable filenames
1052
1053 2001-12-18  Benjamin Kosnik  <bkoz@redhat.com>
1054
1055         * docs/html/17_intro/TODO: Update.
1056         * docs/html/17_intro/RELEASE-NOTES: Edits, update.
1057         * README: Edit for clarity, update to reflect current directory
1058         structure.
1059
1060 2001-12-18  Benjamin Kosnik  <bkoz@redhat.com>
1061
1062         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Extended checking before
1063         enabling gnu model.
1064         * aclocal.m4: Rebuild.
1065         * configure: Rebuild.
1066
1067 2001-12-18  Paolo Carlini  <pcarlini@unitus.it>
1068             Nathan Myers  <ncm@cantrip.org>
1069
1070         * include/bits/basic_string.h (assign(__str, __pos, __n)):
1071         Call assign(__s, __n).
1072         (assign(__s, __n)): Terminate the string with _S_terminal.
1073
1074 2001-12-17  Benjamin Kosnik  <bkoz@redhat.com>
1075
1076         * include/bits/std_limits.h (__glibcpp_long_double_is_bounded):
1077         Set to true, like float and double.
1078
1079 2001-12-17  David Billinghurst <David.Billinghurst@riotinto.com>
1080
1081         libstdc++/5136
1082         * testsuite/lib/prune.exp: New file
1083         * testsuite/lib/libstdc++-v3-dg.exp: Use it
1084
1085 2001-12-17  Phil Edwards  <pme@gcc.gnu.org>
1086
1087         * include/bits/basic_file.h (__basic_file::fd):  New function.
1088         * config/io/basic_file_stdio.h (__basic_file::fd):  Define.
1089         * include/bits/std_fstream.h (basic_filebuf::fd):  New function.
1090         * include/bits/fstream.tcc (basic_filebuf::fd):  Define.
1091         * testsuite/27_io/filebuf_members.cc (test_02):  New test.
1092
1093 2001-12-16  Nathan Sidwell  <nathan@codesourcery.com>
1094
1095         * po/Makefile.am (.po.mo): Use POSIXLY_CORRECT argument ordering.
1096         * po/Makefile.in: Regenerated.
1097
1098 2001-12-16  Paolo Carlini  <pcarlini@unitus.it>
1099
1100         * testsuite/21_strings/assign.cc (test01): Add tests.
1101
1102 2001-12-15  Paolo Carlini  <pcarlini@unitus.it>
1103             Nathan Myers  <ncm@cantrip.org>
1104
1105         * include/bits/basic_string.h
1106         (assign(__str, __pos, __n), assign(__s, __n)):  Optimize
1107         by avoiding unnecessary temporaries.
1108         (assign(__s)): Call assign(__s, __n).
1109         * include/bits/basic_string.tcc (_M_replace_safe): Adjust comment.
1110         * include/bits/std_string.h: include stl_function.h.
1111         * testsuite/21_strings/assign.cc (test02, test03): New tests.
1112
1113 2001-12-15  Benjamin Kosnik  <bkoz@redhat.com>
1114
1115         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Enable gnu locale model
1116         on linux by default.
1117         * aclocal.m4: Regenerate.
1118         * configure: Regenerate.
1119
1120 2001-12-14  Benjamin Kosnik  <bkoz@redhat.com>
1121
1122         Clean up initialization and simplfy caching of underlying "C"
1123         default locale objects.
1124         * src/localename.cc (locale::_Impl::_Impl(string, size_t):
1125         Unconditionally create __clocale object for all named locales,
1126         including "C" and "POSIX".
1127         * config/locale/c_locale_generic.cc
1128         (locale::facet::_S_create_c_locale): Always set __cloc to zero.
1129         * config/locale/c_locale_gnu.cc: Always delete.
1130         * include/bits/localefwd.h (locale::facet::_S_c_locale): New.
1131         * src/locale.cc (locale::classic()): Initialize
1132         locale::facet::_S_c_locale.
1133         (locale::facet::_S_c_locale): Define.
1134
1135         * include/bits/locale_facets.h: Add ctype_byname<wchar_t> ctor
1136         specialization.
1137         * src/locale.cc: Add definition here.
1138         * config/os/gnu-linux/bits/ctype_inline.h: Tweak.
1139         * config/os/gnu-linux/bits/ctype_noninline.h: Adjust initializations.
1140         * include/bits/locale_facets.h (ctype<char>::_M_c_locale_ctype): Add.
1141         Adjust ctors, dtors.
1142         (ctype<char>::_M_toupper): Remove const&.
1143         (ctype<char>::_M_tolower): Remove const&.
1144         (ctype<char>::_M_ctable): Remove const&.
1145
1146         * include/bits/locale_facets.h (collate): Clean up initialization
1147         of _M_c_locale_collate in ctors and dtors.
1148         * config/locale/collate_members_gnu.cc: Always use extended
1149         functions.
1150
1151         * include/bits/locale_facets.h (messages): Clean up inits in ctor/dtor.
1152         (messages_byname): Same.
1153         * config/locale/messages_members_generic.h (messages::~messages):
1154         Remove.
1155         * config/locale/messages_members_gnu.h: Same.
1156
1157         * include/bits/localefwd.h: Clean. Move dtor definitions to
1158         * src/locale.cc: Here.
1159         * testsuite/22_locale/facet.cc: Fix spelling.
1160
1161         Named locale support for ctype<wchar_t>.
1162         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add variable
1163         ctype_members_* bits.
1164         * aclocal.m4: Regenerate.
1165         * configure: Regenerate.
1166         * src/Makefile.am (sources): Add ctype.cc.
1167         * src/Makefile.in: Regenerate.
1168         * config/locale/ctype_members_generic.cc: New file.
1169         * config/locale/ctype_members_gnu.cc: New file.
1170         * src/locale.cc: Remove ctype<wchart_t> definitions.
1171
1172 2001-12-13  Roger Sayle <roger@eyesopen.com>
1173
1174         * acconfig.h: Test for __builtin_sqrt instead of
1175         __builtin_fsqrt.
1176         * acinclude.m4: Same.
1177         * include/c_shadow/bits/std_cmath.h: Same.
1178         * aclocal.m4: Regenerated.
1179         * config.h.in: Regenerated.
1180         * configure: Regenerated.
1181
1182 2001-12-13  Phil Edwards  <pme@gcc.gnu.org>
1183
1184         * docs/html/ext/howto.html:  Fix typos.
1185
1186 2001-12-13  Benjamin Kosnik  <bkoz@redhat.com>
1187
1188         libstdc++/3679
1189         * src/locale.cc (locale::locale(const char*)): Deal with locales
1190         named "".
1191         * testsuite/22_locale/ctor_copy_dtor.cc (test01): Modify.
1192
1193 2001-12-12  Paolo Carlini  <pcarlini@unitus.it>
1194
1195         * include/ext/ropeimpl.h (rope::_S_leaf_concat_char_iter,
1196         _S_destr_leaf_concat_char_iter, _S_tree_concat, _S_concat_char_iter,
1197         _S_destr_concat_char_iter, _S_concat, _S_substring, _S_balance)
1198         : Adjust implicit typename.
1199         * include/ext/stl_rope.h (_Rope_iterator::operator=, rope::npos):
1200         Adjust implicit typename.
1201         * testsuite/27_io/streambuf.cc: Adjust implicit typename.
1202
1203 2001-12-12  Benjamin Kosnik  <bkoz@redhat.com>
1204
1205         Named locale support for ctype<char>.
1206         * config/locale/c_locale_gnu.h (_GLIBCPP_C_LOCALE_GNU): New.
1207         * config/os/gnu-linux/bits/ctype_noninline.h (ctype<char>): Add
1208         definitions for alternate constructor.
1209         * config/os/solaris/solaris2.7/bits/ctype_noninline.h (ctype): Same.
1210         * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
1211         * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
1212         * config/os/newlib/bits/ctype_noninline.h (ctype): Same.
1213         * config/os/irix/irix6.5/bits/ctype_noninline.h (ctype): Same.
1214         * config/os/irix/irix5.2/bits/ctype_noninline.h (ctype): Same.
1215         * config/os/hpux/bits/ctype_noninline.h (ctype): Same.
1216         * config/os/generic/bits/ctype_noninline.h (ctype): Same.
1217         * config/os/djgpp/bits/ctype_noninline.h (ctype): Same.
1218         * config/os/bsd/netbsd/bits/ctype_noninline.h (ctype): Same.
1219         * config/os/bsd/freebsd/bits/ctype_noninline.h (ctype): Same.
1220         * config/os/aix/bits/ctype_noninline.h (ctype): Same.
1221         * include/bits/locale_facets.h (ctype<_CharT>): Remove dummy
1222         definitions for all virtual functions. These are now explicitly
1223         undefined for non-required factets, ie any non-char, non-wchar_t
1224         instantiations.
1225         * src/localename.cc (locale::_Impl::_Impl(string, size_t): Named
1226         locales use alternate constructor for ctype facet.
1227         * include/bits/locale_facets.h (ctype<char>::ctype(__c_locale, const
1228         mask*, bool, size_t): Add.
1229         (ctype<wchar_t>::ctype(__c_locale, size_t): Add.
1230         * src/locale.cc (ctype<wchar_t>::ctype(__c_locale, size_t)): Add
1231         definition.
1232
1233         * testsuite/22_locale/ctype_members_char.cc (test02): Add, mark
1234         XFAIL for non-gnu locale models.
1235
1236 2001-12-12  Philip Martin  <philip@codematters.co.uk>
1237             Ross Smith     <r-smith@ihug.co.nz>
1238             Paolo Carlini  <pcarlini@unitus.it>
1239
1240         libstdc++/5045
1241         * include/bits/std_limits.h (defines, numeric_limits<bool>::digits10):
1242         Fix digits10 values for integral types.
1243         * include/bits/locale_facets.tcc (num_get::do_get for integral types):
1244         Tweak _M_extract_int call.
1245         * testsuite/27_io/istream_extractor_arith.cc (test13, test12_aux):
1246         Tweak overflowing number of digits.
1247         * testsuite/18_support/numeric_limits.cc (test03): New testcase.
1248
1249 2001-12-11  Benjamin Kosnik  <bkoz@redhat.com>
1250
1251         * config/os/generic/bits/ctype_inline.h: Remove spaces.
1252         * config/os/gnu-linux/bits/ctype_noninline.h: Same.
1253         * include/bits/locale_facets.h (__num_base): Move double data
1254         members to first in class.
1255         * include/bits/locale_facets.tcc: Re-arrange, tweak.
1256         * src/locale.cc: Clean.
1257         *include/bits/stl_vector.h: Space typedefs.
1258
1259 2001-12-11  Phil Edwards  <pme@gcc.gnu.org>
1260
1261         * testsuite/ext/allocators.cc:  New file.
1262
1263 2001-12-11  Jason Merrill  <jason@redhat.com>
1264
1265         * include/bits/locale_facets.tcc (_M_extract_int): Avoid
1266         uninitialized warning.
1267
1268 2001-12-11  Loren Rittle <ljrittle@acm.org>
1269
1270         * config/cpu/sparc/sparc32/bits/atomicity.h
1271         (__Atomicity_lock<0>::_S_atomicity_lock): Add.
1272
1273 2001-12-10  Paolo Carlini  <pcarlini@unitus.it>
1274
1275         * include/bits/basic_string.tcc (_M_replace_safe):  Fix typos.
1276         * include/bits/basic_string.h:  Fix typos.
1277
1278 2001-12-10  Paolo Carlini  <pcarlini@unitus.it>
1279             Nathan Myers  <ncm@cantrip.org>
1280
1281         * include/bits/basic_string.tcc (_M_replace_safe):  New function.
1282         (_M_replace(input_iterator_tag), append members):  Use it.
1283         (_M_replace(forward_iterator_tag)):  Remove.
1284         * include/bits/basic_string.h:  Adjust declarations.
1285         * src/string-inst.cc:  Adjust declarations.
1286
1287 2001-12-09  Benjamin Kosnik  <bkoz@redhat.com>
1288             Philip Martin <pmartin@uklinux.net>
1289
1290         * include/bits/locale_facets.h (__num_base::_S_scale_hex): Add.
1291         (__num_base::_S_scale_oct): Add.
1292         * include/bits/locale_facets.tcc (_M_extract_int): Use them.
1293         * src/locale.cc: Add definitions.
1294         * testsuite/27_io/istream_extractor_arith.cc (main): Call test13.
1295
1296         * testsuite/testsuite_hooks.h: Remove duplicate VERIFY define.
1297
1298 2001-12-07  Nathan Myers  <ncm@cantrip.org>
1299             Loren Rittle <ljrittle@acm.org>
1300
1301         libstdc++/5037
1302         * config/cpu/sparc/sparc32/bits/atomicity.h
1303         (struct __Atomicity_lock<__inst>): Add.
1304         (__Atomicity_lock<__inst>::_S_atomicity_lock): Add.
1305         (__exchange_and_add): Use __Atomicity_lock<0>::_S_atomicity_lock
1306         instead of lock local to static function.
1307         (__atomic_add): Likewise.
1308
1309 2001-12-07  Phil Edwards  <pme@gcc.gnu.org>
1310
1311         * src/globals.cc:  Remove __GTHREADS guard.
1312
1313 2001-12-07  Paolo Carlini  <pcarlini@unitus.it>
1314
1315         * include/bits/locale_facets.tcc (num_put::_M_convert_float):
1316         Extend comment, reduce __cs_size for non-fixed outputs.
1317
1318 2001-12-07  Paolo Carlini  <pcarlini@unitus.it>
1319
1320         * include/bits/basic_string.tcc (_M_mutate): Fix typo
1321         in the previous check in.
1322
1323 2001-12-06  Paolo Carlini  <pcarlini@unitus.it>
1324             Loren J. Rittle <ljrittle@acm.org>
1325
1326         * include/bits/basic_string.tcc (_M_mutate, _M_clone): Implement
1327         exponential growth policy to meet linear amortized time
1328         requirements of the standard.
1329         (_S_create): Adjust comment.
1330
1331 2001-12-06  Benjamin Kosnik  <bkoz@redhat.com>
1332
1333         libstdc++/3720
1334         * include/bits/locale_facets.tcc (num_put): Clean.
1335         (num_get::_M_extract_float): Change argument to string.
1336         (num_get::do_get(float)): Fixup.
1337         (num_get::do_get(double)): Same.
1338         (num_get::do_get(long double)): Same.
1339         (num_get::_M_extract_int): Add maximum length parameter, __max.
1340         (num_get::_M_extract_float): Correct zeros, use string.
1341         * include/bits/locale_facets.h (num_get::_M_extract_float): Change
1342         declaration here.
1343         * src/locale.cc (__num_base::_S_atoms): Remove x, X.
1344         * testsuite/27_io/istream_extractor_arith.cc (test13): Add.
1345
1346 2001-12-06  Philip Martin  <pmartin@uklinux.net>
1347
1348         * testsuite/27_io/istream_extractor_arith.cc (test12): Add
1349         tests for excess input digits.
1350
1351 2001-12-06  Phil Edwards  <pme@gcc.gnu.org>
1352
1353         * include/bits/std_bitset.h:  Use GLIBCPP in multiple-inclusion guard.
1354         * include/bits/stl_algo.h:  Likewise.
1355         * include/bits/stl_algobase.h:  Likewise.
1356         * include/bits/stl_bvector.h:  Likewise.
1357         * include/bits/stl_deque.h:  Likewise.
1358         * include/bits/stl_function.h:  Likewise.
1359         * include/bits/stl_iterator.h:  Likewise.
1360         * include/bits/stl_iterator_base_funcs.h:  Likewise.
1361         * include/bits/stl_iterator_base_types.h:  Likewise.
1362         * include/bits/stl_list.h:  Likewise.
1363         * include/bits/stl_multimap.h:  Likewise.
1364         * include/bits/stl_multiset.h:  Likewise.
1365         * include/bits/stl_pair.h:  Likewise.
1366         * include/bits/stl_queue.h:  Likewise.
1367         * include/bits/stl_set.h:  Likewise.
1368         * include/bits/stl_stack.h:  Likewise.
1369         * include/bits/stl_tempbuf.h:  Likewise.
1370         * include/bits/stl_tree.h:  Likewise.
1371         * include/bits/stl_vector.h:  Likewise.
1372
1373         * include/bits/stl_alloc.h:  Use our own multiple inclusion guards.
1374         Doxygenate more comments.  Correct historical artifacts in comments.
1375         (alloc, single_alloc):  Uglify non-standard names.
1376         (__default_alloc_template::_NFREELISTS):  Calculate from other
1377         parameters.
1378         (__default_alloc_template::_S_free_list):  Remove SunPro workaround.
1379         (__default_alloc_template::_Lock):  Mark as "unused".
1380         * include/backward/alloc.h:  Update.
1381         * include/bits/stl_bvector.h:  Likewise.
1382         * include/ext/ropeimpl.h:  Likewise.
1383         * include/ext/stl_hashtable.h:  Likewise.
1384
1385 2001-12-05  Benjamin Kosnik  <bkoz@redhat.com>
1386
1387         DR/282
1388         * include/bits/locale_facets.tcc (num_put::_M_widen_float): Add
1389         grouping to floating point types.
1390         * testsuite/27_io/ostream_inserter_arith.cc (test02): Add test.
1391
1392 2001-12-04  Paolo Carlini <pcarlini@unitus.it>
1393
1394         libstdc++/4402
1395         * testsuite/27_io/ostream_inserter_arith.cc (test02): Add testcase
1396         from the PR.
1397         * include/bits/locale_facets.tcc (num_put::_M_convert_float):
1398         Deal properly with long ios_base::fixed floats.
1399         (num_put::_M_widen_float): use
1400         __len in __builtin_alloca call.
1401
1402 2001-12-04  Benjamin Kosnik  <bkoz@redhat.com>
1403
1404         * src/Makefile.am (sources): Add ext-inst.cc.
1405         * src/Makefile.in: Regenerate.
1406         * src/ext-inst.cc: New file.
1407         * include/bits/stl_threads.h: Format.
1408         * src/globals.cc: Add instantiation for _S_swap_lock.
1409
1410         * testsuite/18_support/numeric_limits.cc: Add numeric_limits<B>
1411         instantiation.
1412
1413 2001-12-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1414
1415         * testsuite/22_locale/numpunct_members_wchar_t.cc: Only compile
1416         and execute test01 if _GLIBCPP_USE_WCHAR_T is defined.
1417         * testsuite/26_numerics/complex_inserters_extractors.cc: Provide
1418         for explicit instantiation of class std::basic_string<char,
1419         gnu_char_traits, std::allocator<char> >.
1420
1421 2001-12-03  Benjamin Kosnik  <bkoz@redhat.com>
1422
1423         * testsuite/22_locale/collate.cc: Compile-only.
1424         * testsuite/22_locale/time_get.cc: Same.
1425         * testsuite/22_locale/time_put.cc: Same.
1426         * testsuite/22_locale/numpunct.cc: Same.
1427         * testsuite/22_locale/num_put.cc: Same.
1428         * testsuite/22_locale/num_get.cc: Same.
1429         * testsuite/22_locale/moneypunct.cc: Same.
1430         * testsuite/22_locale/money_get.cc: Same.
1431         * testsuite/22_locale/messages.cc: Same.
1432         * testsuite/22_locale/ctype.cc: Same.
1433
1434 2001-12-03  Benjamin Kosnik  <bkoz@redhat.com>
1435
1436         * src/string-inst.cc (string::_Rep::_S_terminal): Add static data
1437         member instantiations.
1438
1439 2001-12-03  Steve Ellcey  <sje@cup.hp.com>
1440
1441         * libstdc++-v3/configure.in: Add support for hpux cross compiles,
1442         combine common linux/hpux/generic cross compile support to reduce
1443         redundent lines.
1444         * libstdc++-v3/configure: Regenerate.
1445
1446 2001-12-03  Loren J. Rittle  <ljrittle@acm.org>
1447
1448         * docs/html/ext/howto.html: Update commentary.
1449         * include/bits/c++config: Update threading configuration comment.
1450         (__STL_GTHREADS): Remove macro definition.
1451         (__STL_THREADS): Likewise.
1452         * include/bits/stl_threads.h: Leave only the configuration
1453         path which had been guarded by __STL_GTHREADS.  Remove all
1454         guards related to __STL_GTHREADS, __STL_SGI_THREADS,
1455         __STL_PTHREADS, __STL_UITHREADS and __STL_WIN32THREADS.
1456         * include/bits/stl_alloc.h: Leave only the configuration path
1457         which had been guarded by __STL_THREADS.  Remove configuration
1458         path and guards for __STL_SGI_THREADS.
1459         (__NODE_ALLOCATOR_THREADS): Remove macro definition.  Unroll its use.
1460         (__NODE_ALLOCATOR_LOCK): Likewise.
1461         (__NODE_ALLOCATOR_UNLOCK): Likewise.
1462         (_NOTHREADS): Remove guards related to macro.
1463         * include/ext/stl_rope.h: Remove configuration path and guards
1464         for __STL_SGI_THREADS.
1465         * src/stl-inst.cc: Remove use of __NODE_ALLOCATOR_THREADS.
1466
1467 2001-12-02  Phil Edwards  <pme@gcc.gnu.org>
1468
1469         * docs/html/ext/howto.html:  Update list of implemented DRs.
1470         * docs/html/ext/lwg-active.html:  Import R20 from upstream.
1471         * docs/html/ext/lwg-defects.html:  Import R20 from upstream.
1472
1473 2001-11-30  Benjamin Kosnik  <bkoz@redhat.com>
1474
1475         libstdc++/3150
1476         DR/266
1477         * libsupc++/exception (bad_exception::~bad_exception()): Remove
1478         declaration.
1479         * libsupc++/new (bad_alloc::~bad_alloc()): Remove.
1480         * libsupc++/typeinfo (bad_cast::~bad_cast()): Remove.
1481         (bad_typeid::~bad_typeid()): Remove.
1482         * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Remove definition.
1483         (bad_typeid::~bad_typeid()): Same.
1484         * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
1485         * libsupc++/eh_exception.cc (bad_exception::~bad_exception()): Same.
1486
1487         * include/bits/std_iomanip.h: Tweak.
1488
1489 2001-11-29  Paolo Carlini  <pcarlini@unitus.it>
1490
1491         libstdc++/3655
1492         * include/bits/locale_facets.tcc (__pad): Add bool parameter to
1493         correctly pad internal-adjusted const char*-type objects.
1494         * include/bits/locale_facts.tcc (num_put::_M_insert): Update call.
1495         * include/bits/ostream.tcc (operator<<(_CharT , char, const
1496         _CharT*, const char*, const basic_string&): Update calls.
1497         * src/locale-inst.tcc: Update declarations.
1498         * testsuite/27_io/ostream_inserter_arith.cc (test04): Add test.
1499
1500 2001-11-29  Phil Edwards  <pme@gcc.gnu.org>
1501
1502         * docs/html/ext/howto.html:  Finish allocator notes (inst and 3.0).
1503
1504 2001-11-29  Benjamin Kosnik  <bkoz@redhat.com>
1505
1506         * include/bits/locale_facets.tcc (num_get::do_get(long double)):
1507         Fix __traits_type typo.
1508
1509 2001-11-28  Paolo Carlini  <pcarlini@unitus.it>
1510
1511         * include/bits/locale_facets.tcc (__pad): Correctly pad
1512         internal-adjusted hex numbers.
1513         * testsuite/27_io/ostream_inserter_arith.cc: Add testcase.
1514
1515 2001-11-28  Paolo Carlini <pcarlini@unitus.it>
1516             Loren J. Rittle <ljrittle@acm.org>
1517
1518         * include/bits/basic_string.h
1519         (basic_string::_Rep::__default_excess, _S_excess_slop):
1520         Unused, remove.
1521         * include/bits/basic_string.tcc: Remove dead code.
1522         * include/bits/c++config: Remove comment.
1523
1524 2001-11-28  Benjamin Kosnik  <bkoz@redhat.com>
1525             Jakub Jelinek  <jakub@redhat.com>
1526
1527         * config/locale/moneypunct_members_gnu.cc
1528         (moneypunct<wchar_t>::_M_initialize_moneypunct): Correctly cast
1529         for ia64, others.
1530         * config/locale/numpunct_members_gnu.cc
1531         (numpunct<wchar_t>::_M_initialize_numpunct): Same.
1532
1533 2001-11-27  Benjamin Kosnik  <bkoz@redhat.com>
1534
1535         * include/bits/locale_facets.tcc: Formatting tweaks.
1536
1537         * testsuite/23_containers/map_operators.cc: Don't xfail.
1538         * testsuite/23_containers/set_operators.cc: Same.
1539         * testsuite/backward/header_iterator_h.cc: Pass in -Wno-deprecated.
1540         * testsuite/backward/header_deque_h.cc: Same.
1541
1542 2001-11-27  Loren J. Rittle  <ljrittle@acm.org>
1543             Paolo Carlini  <pcarlini@unitus.it>
1544
1545         * include/bits/basic_string.tcc (basic_string::_Rep::_S_create):
1546         Enforce allocation size blocking policy to reduce
1547         fragmentation and enhance performance with common malloc
1548         implementations.
1549
1550 2001-11-27  Benjamin Kosnik  <bkoz@redhat.com>
1551
1552         Numeric facets cleanup.
1553         * include/bits/locale_facets.h (__num_base::_S_atoms): Add, remove
1554         + and - signs.
1555         (__num_base::_M_zero): Add
1556         (__num_base::_M_e): Add.
1557         (__num_base::_M_E): Add.
1558         * include/bits/locale_facets.tcc (num_get::_M_extract): Remove.
1559         (num_get::_M_extract_float): New.
1560         (num_get::_M_extract_int): New.
1561         * src/locale.cc (num_get::_M_extract): Remove.
1562
1563         * include/bits/locale_facets.tcc (num_put::_M_insert_float):
1564         Simplify, use _M_insert.
1565         (num_put::do_put(bool)): Simplify, remove __pad.
1566         (__pad): Remove.
1567         (__pad_output): Change to __pad.
1568         * include/bits/ostream.tcc: And here.
1569         * src/locale-inst: Remove instantiations.
1570
1571         * include/bits/locale_facets.h: Move helper functions in to class
1572         num_put.
1573         (num_put::_M_insert_float): Same, for __output_integer.
1574         (num_put::_M_insert_int): Same, for __output_float.
1575         (num_put::_M_insert): New.
1576         (__num_base): Add.
1577         (__num_base::_S_format_float): Move
1578         __build_float_format into class __num_base.
1579         (__num_base::_S_format_int): Move __build_int_format into class
1580         __num_base.
1581         * include/bits/locale_facets.tcc (__group_digits): Change to
1582         (__add_grouping): This.
1583         * src/locale-inst.cc: And here. Tweak instantiations.
1584         * src/misc-inst.cc: Remove instantiations.
1585
1586         * include/bits/ostream.tcc (__pad_char): Rename, adjust inserters
1587         for new calling conventions, move to...
1588         * include/bits/locale_facets.tcc (__pad_output): Here. Adjust
1589         signature to make it useful for both ostream and num_put.
1590         (__pad_numeric): Remove.
1591         * src/misc-inst.cc: Remove instantiations.
1592         * src/locale-inst.cc: Same.
1593
1594         * include/bits/locale_facets.h (_Numeric_get): Remove.
1595         (_Numeric_put): Remove.
1596         (num_get::get(short)): Remove.
1597         (num_get::get(int)): Remove.
1598         (num_get::do_get(short)): Remove.
1599         (num_get::do_get(int)): Remove.
1600         * include/bits/istream.tcc (istream::operator>>(short)): Fix as
1601         per DR 118.
1602         (istream::operator>>(int)): Same.
1603
1604         * include/bits/locale_facets.h (_Format_cache): Remove.
1605         * include/bits/locale_facets.tcc: Same.
1606         * src/locale.cc: Same.
1607         * src/locale-inst.cc: Same.
1608         * include/bits/ostream.tcc: Same.
1609         * src/ios.cc (ios_base::imbue): Remove here as well.
1610
1611         * testsuite/22_locale/num_get.cc: New file.
1612         * testsuite/22_locale/num_get_members_char.cc: New file.
1613         * testsuite/22_locale/num_get_members_wchar_t.cc: New.
1614         * testsuite/22_locale/numpunct_members_wchar_t.cc: New file.
1615         * testsuite/22_locale/num_put.cc: New file.
1616         * testsuite/22_locale/num_put_members_char.cc: New file.
1617         * testsuite/22_locale/num_put_members_wchar_t.cc: New file.
1618         * testsuite/27_io/ostream_inserter_arith.cc: Fix.
1619         * testsuite/27_io/istream_extractor_arith.cc: Fix.
1620
1621 2001-11-27  Phil Edwards  <pme@gcc.gnu.org>
1622
1623         * docs/html/explanations.html:  New section, empty for now.
1624         * docs/html/17_intro/howto.html:  Cleanup.  Move unrelated link...
1625         * docs/html/23_containers/howto.html:  ...to here.  Break up and
1626         rewrap threading discussion to emphasize warning.  Move malloc text...
1627         * docs/html/ext/howto.html:  ...to here.  New section.  Describe
1628         allocators and __USE_MALLOC effects.
1629         * docs/html/ext/sgiexts.html:  Mention their code.
1630
1631 2001-11-24  Joseph S. Myers  <jsm28@cam.ac.uk>
1632
1633         * docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
1634         docs/html/27_io/binary_iostreams_kuehl.txt: Revert previous
1635         changes.
1636
1637 2001-11-23  Phil Edwards  <pme@gcc.gnu.org>
1638
1639         * Makefile.am (doxygen-maint):  The script isn't executable in CVS.
1640         * Makefile.in:  Regenerated.
1641         * docs/doxygen/TODO:  New file listing doxygen work to be done.
1642         * docs/doxygen/run_doxygen:  Fix up man pages.
1643         * docs/doxygen/user.cfg.in:  Insert maint-only toggles.
1644         * docs/doxygen/maint.cfg.in:  Copy from user.cfg and turn toggles on.
1645         * include/bits/stl_construct.h:  Use new hooks for internal functions.
1646
1647         * docs/html/17_intro/TODO:  Small updates.
1648         * docs/html/faq/index.html:  Likewise.
1649         * docs/html/faq/index.txt:  Regenerated.
1650
1651         * include/bits/stl_alloc.h:  Doxygenate, reindent comments, remove
1652         SGI-isms and wrappers.
1653         (simple_alloc, debug_alloc):  Uglify class names.
1654         (__default_alloc_template):  Uglify "threads" template parameter and
1655         update corresponding macros.
1656         * include/backward/alloc.h:  Bring up to date.
1657
1658 2001-11-23  Jason Merrill  <jason@redhat.com>
1659
1660         * src/vterminate.cc (__verbose_terminate_handler): Add leading
1661         underscores.
1662
1663 2001-11-23  Joseph S. Myers  <jsm28@cam.ac.uk>
1664
1665         * ChangeLog, docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
1666         docs/doxygen/doxygroups.cc, docs/doxygen/Intro.3,
1667         docs/html/17_intro/BUGS, docs/html/17_intro/C++STYLE,
1668         docs/html/17_intro/CHECKLIST, docs/html/17_intro/DESIGN,
1669         docs/html/17_intro/howto.html, docs/html/17_intro/porting.html,
1670         docs/html/17_intro/porting.texi, docs/html/18_support/howto.html,
1671         docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
1672         docs/html/21_strings/howto.html,
1673         docs/html/23_containers/howto.html,
1674         docs/html/26_numerics/howto.html, docs/html/27_io/howto.html,
1675         docs/html/27_io/binary_iostreams_kuehl.txt,
1676         docs/html/ext/sgiexts.html, docs/html/faq/index.html,
1677         docs/html/faq/index.txt, testsuite/24_iterators/iterator.cc,
1678         include/bits/basic_file.h, include/bits/locale_facets.h,
1679         include/bits/locale_facets.tcc, include/bits/std_sstream.h,
1680         include/ext/ropeimpl.h, include/ext/stl_rope.h,
1681         libsupc++/tinfo.cc, libsupc++/cxxabi.h, libsupc++/typeinfo,
1682         libsupc++/eh_throw.cc, acinclude.m4, aclocal.m4, configure,
1683         configure.target, ChangeLog-2000: Fix spelling errors.
1684
1685         * config/locale/moneypunct_members_gnu.cc,
1686         include/bits/locale_facets.h: Fix spelling errors.
1687
1688 2001-11-22  Stephen M. Webb  <stephen@bregmasoft.com>
1689
1690         * testsuite/23_containers/list_capacity.cc: New file.
1691         * testsuite/23_containers/list_ctor.cc: New file.
1692         * testsuite/23_containers/list_modifiers.cc: New file.
1693         * testsuite/23_containers/list_operators.cc: New file.
1694
1695 2001-11-22  Stephen M. Webb  <stephen@bregmasoft.com>
1696
1697         * include/bits/stl_list.h: Reformatted according to C++STYLE rules.
1698         (size): Replaced nonstandard distance() call with the standard one.
1699         (transfer): Uglified to _M_transfer.
1700
1701 2001-11-21  Paolo Carlini  <pcarlini@unitus.it>
1702
1703         PR libstdc++/4548
1704         * include/bits/basic_string.tcc (basic_string::reserve):  Never shrink
1705         below the current size.
1706         * testsuite/21_strings/capacity.cc (test02):  Add test.
1707
1708 2001-11-19  Phil Edwards  <pme@gcc.gnu.org>
1709
1710         * docs/doxygen/Intro.3:  More notes.
1711         * docs/doxygen/style.css:  Update to default style from Doxygen 1.2.10.
1712         * include/bits/stl_algobase.h:  Add doxygen hooks for functions.
1713         * include/ext/hash_map:  Add @file hook.
1714         * include/ext/hash_set:  Likewise.
1715         * include/ext/rope:  Likewise.
1716         * include/ext/ropeimpl.h:  Likewise.
1717         * include/ext/slist:  Likewise.
1718         * include/ext/stl_hash_fun.h:  Likewise.
1719         * include/ext/stl_hashtable.h:  Likewise.
1720         * include/ext/stl_rope.h:  Likewise.
1721
1722         * docs/html/17_intro/license.html:  Remove "experimental" sentence.
1723         * docs/html/19_diagnostics/howto.html:  Document new verbose
1724         terminate handler.
1725         * testsuite/27_io/filebuf.cc:  Fix comment, move tweakable parameter
1726         to more visible (closer to description) position.
1727
1728         * libsupc++/eh_type.cc:  Formatting tweak.
1729         * libsupc++/exception:  Likewise.
1730         * src/vterminate.cc:  Likewise.
1731
1732         * docs/html/17_intro/porting.html:  Regenerate.
1733         * docs/html/faq/index.txt:  Regenerate.
1734
1735 2001-11-18  Jason Merrill  <jason@redhat.com>
1736
1737         * libsupc++/eh_personality.cc (__cxa_call_unexpected): Take void*.
1738         * libsupc++/eh_catch.cc (__cxa_begin_catch): Likewise.
1739         * libsupc++/unwind-cxx.h: Adjust.
1740         * src/Makefile.am (strstream.o): Pass -Wno-deprecated.
1741
1742         * libsupc++/eh_type.cc (__cxa_current_exception_type): New file.
1743         * libsupc++/cxxabi.h: Declare it.
1744         * libsupc++/Makefile.am (sources): Add it.
1745         * src/vterminate.cc (verbose_terminate_handler): New file.
1746         * libsupc++/exception: Declare it.
1747         * src/Makefile.am (sources): Add it.
1748
1749         * src/Makefile.am (VPATH): Check the src directory before the top one.
1750
1751 2001-11-16  Paolo Carlini  <pcarlini@unitus.it>
1752
1753         * include/bits/stl_deque.h (deque::erase()):  Fix memory leak.
1754
1755 2001-11-16  Loren J. Rittle  <ljrittle@acm.org>
1756
1757         * docs/html/17_intro/howto.html (Thread-safety): Rename
1758         section to ``The Standard C++ library and multithreading'' and
1759         update information based on recent mailing list traffic.  Move
1760         all discussion of __USE_MALLOC to...
1761         * docs/html/23_containers/howto.html (Containers and multithreading):
1762         ...here and rework it based on recent mailing list traffic.
1763
1764 2001-11-15  Loren J. Rittle  <ljrittle@acm.org>
1765
1766         * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Clarify
1767         wording.
1768
1769 2001-11-15  <bjornw@planetarion.com>
1770             Loren J. Rittle  <ljrittle@acm.org>
1771
1772         libstc++/4219
1773         * include/bits/stl_alloc.h (alloc): Update to use __mem_interface.
1774         (single_client_alloc): Likewise.
1775
1776 2001-11-08  Danny Smith  <dannysmith@users.sourceforge.net>
1777
1778         * configure.target: Add os_include_dir for mingw32* target.
1779         * docs/html/17_intro/porting.texi: Mention mingw32 as target benefiting
1780         from _GLIBCPP_AVOID_FSEEK.
1781         * config/os/mingw32/bits/ctype_base.h: New file.
1782         * config/os/mingw32/bits/ctype_inline.h: New file.
1783         * config/os/mingw32/bits/ctype_noninline.h: New file.
1784         * config/os/mingw32/bits/os_defines.h: New file.
1785
1786 2001-11-07  Nathan Myers  <ncm@cantrip.org>
1787
1788         * docs/html/faq/index.html (5.8):  New entry on ABIs.
1789         * docs/html/faq/index.txt:  Regenerate.
1790
1791 2001-11-07  Phil Edwards  <pme@gcc.gnu.org>
1792
1793         * docs/html/faq/index.html:  Explain libsupc++, mention 'long long'
1794         bugfixes on Solaris.
1795         * docs/html/faq/index.txt:  Regenerate.
1796
1797 2001-11-06  Phil Edwards  <pme@gcc.gnu.org>
1798
1799         * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG):  Run the test in
1800         LANG_CPLUSPLUS mode.
1801         * aclocal.m4:  Regenerate.
1802         * configure:  Regenerate.
1803
1804 2001-11-05  Phil Edwards  <pme@gcc.gnu.org>
1805
1806         * porting.texi:  Move...
1807         * docs/html/17_intro/porting.texi:  ...to here.
1808         * docs/html/Makefile:  Add rule to rebuild...
1809         * docs/html/17_intro/porting.html:  ...this.  New file.
1810
1811 2001-11-05  Felix Natter  <fnatter@gmx.net>
1812
1813         * docs/html/17_intro/porting-howto.xml:  check in v0.9.4
1814         * docs/html/17_intro/porting-howto.html:  regenerate
1815
1816 2001-11-02  Loren J. Rittle  <ljrittle@acm.org>
1817
1818         * include/bits/stl_threads.h (_Atomic_swap): Only enable path
1819         when platform supports __GTHREAD_MUTEX_INIT.
1820
1821 2001-11-02  Phil Edwards  <pme@gcc.gnu.org>
1822
1823         * acconfig.h:  Update comments.
1824         * acinclude.m4 (GLIBCPP_ENABLE_C99):  Move strtoll, strtoull tests...
1825         (GLIBCPP_ENABLE_LONG_LONG):  ...to here.  Don't check enable_c99.
1826         * aclocal.m4:  Regenerate.
1827         * config.h.in:  Regenerate.
1828         * configure:  Regenerate.
1829
1830         * include/bits/boost_concept_check.h:  Unconditionally compile uses
1831         of 'long long' which require only compiler support, not C lib support.
1832         * include/bits/cpp_type_traits.h:  Likewise.
1833         * include/bits/std_limits.h:  Likewise.
1834         * include/bits/type_traits.h:  Likewise.
1835         * src/concept-inst.cc:  Likewise.
1836         * src/limits.cc:  Likewise.
1837         * include/c_shadow/stdlib.h:  Compile conditionally on _GLIBCPP_USE_C99
1838         instead of _GLIBCPP_USE_LONG_LONG.
1839         * include/c_shadow/bits/std_cstdlib.h:  Likewise.
1840
1841 2001-11-02  Phil Edwards  <pme@gcc.gnu.org>
1842
1843         * config/io/c_io_stdio.h:  Correct grammar in comments.
1844         * docs/doxygen/Intro.3:  Expand "top-level" man page.
1845         * docs/doxygen/doxygroups.cc:  New module definitions (comments).
1846         * docs/doxygen/mainpage.doxy:  Tweaks.
1847         * docs/doxygen/run_doxygen:  Update Doxygen version, massage man pages.
1848
1849         Add @file hooks so that headers are considered to be documented.
1850         * include/bits/basic_ios.h, include/bits/basic_file.h,
1851         include/bits/basic_string.h, include/bits/boost_concept_check.h,
1852         include/bits/char_traits.h, include/bits/codecvt.h,
1853         include/bits/concept_check.h, include/bits/cpp_type_traits.h,
1854         include/bits/fpos.h, include/bits/gslice.h, include/bits/gslice_array.h,
1855         include/bits/indirect_array.h, include/bits/ios_base.h,
1856         include/bits/locale_facets.h, include/bits/localefwd.h,
1857         include/bits/mask_array.h, include/bits/pthread_allocimpl.h,
1858         include/bits/slice.h, include/bits/slice_array.h,
1859         include/bits/std_algorithm.h, include/bits/std_bitset.h,
1860         include/bits/std_complex.h, include/bits/std_deque.h,
1861         include/bits/std_fstream.h, include/bits/std_functional.h,
1862         include/bits/std_iomanip.h, include/bits/std_ios.h,
1863         include/bits/std_iosfwd.h, include/bits/std_iostream.h,
1864         include/bits/std_istream.h, include/bits/std_iterator.h,
1865         include/bits/std_limits.h, include/bits/std_list.h,
1866         include/bits/std_locale.h, include/bits/std_map.h,
1867         include/bits/std_memory.h, include/bits/std_numeric.h,
1868         include/bits/std_ostream.h, include/bits/std_queue.h,
1869         include/bits/std_set.h, include/bits/std_sstream.h,
1870         include/bits/std_stack.h, include/bits/std_streambuf.h,
1871         include/bits/std_string.h, include/bits/std_utility.h,
1872         include/bits/std_valarray.h, include/bits/std_vector.h,
1873         include/bits/stl_algo.h, include/bits/stl_alloc.h,
1874         include/bits/stl_bvector.h, include/bits/stl_construct.h,
1875         include/bits/stl_deque.h, include/bits/stl_heap.h,
1876         include/bits/stl_iterator.h, include/bits/stl_iterator_base_funcs.h,
1877         include/bits/stl_iterator_base_types.h, include/bits/stl_list.h,
1878         include/bits/stl_map.h, include/bits/stl_multimap.h,
1879         include/bits/stl_multiset.h, include/bits/stl_numeric.h,
1880         include/bits/stl_pair.h, include/bits/stl_pthread_alloc.h,
1881         include/bits/stl_queue.h, include/bits/stl_raw_storage_iter.h,
1882         include/bits/stl_relops.h, include/bits/stl_set.h,
1883         include/bits/stl_stack.h, include/bits/stl_tempbuf.h,
1884         include/bits/stl_threads.h, include/bits/stl_tree.h,
1885         include/bits/stl_uninitialized.h, include/bits/stl_vector.h,
1886         include/bits/stream_iterator.h, include/bits/streambuf_iterator.h,
1887         include/bits/stringfwd.h, include/bits/type_traits.h,
1888         include/bits/valarray_array.h, include/bits/valarray_meta.h:
1889         Add hooks, tweak comments only.
1890
1891         * include/bits/stl_algobase.h (swap, min, iter_swap):  Also
1892         document these functions.
1893         * include/bits/stl_function.h:  Tweak link comments.
1894
1895 2001-11-01  Paolo Carlini  <pcarlini@unitus.it>
1896             Benjamin Kosnik  <bkoz@redhat.com>
1897
1898         * testsuite/27_io/ios_manip_fmtflags.cc: Fix for non-interactive
1899         output.
1900         * include/bits/locale_facets.tcc (num_put::do_put(bool)): Fix.
1901
1902 2001-11-01  Egor Duda  <deo@logos-m.ru>
1903
1904         * config/os/newlib/bits/ctype_noninline.h
1905         (ctype<char>::do_toupper(char __c)): Check for proper character class.
1906         (ctype<char>::do_tolower(char __c)): Ditto.
1907
1908 2001-11-01  Phil Edwards  <pme@gcc.gnu.org>
1909
1910         * acinclude.m4:  Fix spacing.
1911         (GLIBCPP_ENABLE_CONCEPT_CHECKS):  New macro.
1912         * configure.in:  Call here.
1913         * acconfig.h:  Add _GLIBCPP_CONCEPT_CHECKS.
1914         * include/bits/boost_concept_check.h:  Fix headers.
1915         (__function_requires):  Make inline.
1916         * include/bits/c++config (_GLIBCPP_CONCEPT_CHECKS):  Remove.
1917         * aclocal.m4:  Regenerate.
1918         * config.h.in:  Regenerate.
1919         * configure:  Regenerate.
1920
1921         Move trailing ';' inside macro, PR libstdc++/3666.
1922         * include/bits/concept_check.h:  Add semicolon.
1923         * include/bits/stl_algo.h:  Remove semicolon.
1924         * include/bits/stl_algobase.h:  Likewise.
1925         * include/bits/stl_deque.h:  Likewise.
1926         * include/bits/stl_heap.h:  Likewise.
1927         * include/bits/stl_iterator_base_funcs.h:  Likewise.
1928         * include/bits/stl_list.h:  Likewise.
1929         * include/bits/stl_map.h:  Likewise.
1930         * include/bits/stl_multimap.h:  Likewise.
1931         * include/bits/stl_multiset.h:  Likewise.
1932         * include/bits/stl_numeric.h:  Likewise.
1933         * include/bits/stl_queue.h:  Likewise.
1934         * include/bits/stl_set.h:  Likewise.
1935         * include/bits/stl_stack.h:  Likewise.
1936         * include/bits/stl_vector.h:  Likewise.
1937         * include/ext/hash_map:  Likewise.
1938         * include/ext/hash_set:  Likewise.
1939         * include/ext/slist:  Likewise.
1940
1941         * src/concept-inst.cc:  New file with explicit instantiations.
1942         * src/Makefile.am (sources):  Add here, with special build rules.
1943         * src/Makefile.in:  Regenerate.
1944
1945 2001-11-01  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1946
1947         * include/bits/std_complex.h (_Norm_helper): New class template.
1948         (norm): Tweak.
1949         (abs): Tweak. Fix Thinko.
1950
1951 2001-10-31  Benjamin Kosnik  <bkoz@redhat.com>
1952
1953         libstdc++/4749
1954         * include/bits/codecvt.h: Add virtual member function declarations.
1955         * src/codecvt.cc: Tweaks.
1956         * testsuite/22_locale/codecvt.cc: Test compilation only,
1957         non-required facets not required to have linkage.
1958
1959 2001-10-31  Edward E. Meyer  <edward.e.meyer@boeing.com>
1960
1961         libstdc++/4622
1962         * include/bits/std_complex.h (complex::operator/=): Correct sign.
1963
1964 2001-10-30  Paolo Carlini  <pcarlini@unitus.it>
1965             Benjamin Kosnik  <bkoz@redhat.com>
1966
1967         libstdc++/4354
1968         * include/bits/basic_string.h: Tweaks.
1969         * include/bits/basic_string.tcc (string::_M_replace(iterator,
1970         iterator, _ForwardIter, _ForwardIter, forward_iterator_tag): Fix.
1971         * src/string-inst.cc: Tweaks, add instantiation.
1972         * testsuite/21_strings/replace.cc (test02): Add test.
1973         * testsuite/21_strings/assign.cc (test01): New file.
1974
1975 2001-10-30  Jakub Jelinek  <jakub@redhat.com>
1976
1977         * include/bits/stl_deque.h (_M_new_elements_at_front): Use
1978         __throw_exception_again.
1979         (_M_new_elements_at_back): Likewise.
1980
1981 2001-10-29  Benjamin Kosnik  <bkoz@redhat.com>
1982
1983         libstdc++/3647
1984         * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
1985         * testsuite/27_io/filebuf.cc (test07): New test.
1986         (test03): Modify showmanyc test.
1987
1988 2001-10-26  Benjamin Kosnik  <bkoz@redhat.com>
1989
1990         libstdc++/4503
1991         * config/locale/codecvt_specializations_ieee_1003.1-200x.h
1992         (__enc_traits::~__enc_traits): Fix.
1993         (__enc_traits::_M_init): Add error checking.
1994
1995 2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>
1996
1997         libstdc++/4542
1998         * include/bits/locale_facets.tcc (time_get::_M_extract_name): Fix.
1999
2000 2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>
2001
2002         libstdc++/4545
2003         * include/bits/ostream.tcc (ostream::operator<<(streambuf*)): Fix
2004         exceptions.
2005         * include/bits/istream.tcc (istream::operator>>(streambuf*): Make
2006         consistent, where possible.
2007         * include/bits/streambuf.tcc: Tweak.
2008
2009 2001-10-25  Brendan Kehoe  <brendan@zen.org>
2010
2011         libstdc++/4536
2012         * bits/ostream.tcc (seekp): Scope use as ios_base::failbit.
2013         * bits/istream.tcc (seekg): Likewise.
2014
2015 2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>
2016             Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2017             Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2018
2019         * config/os/gnu-linux/bits/os_defines.h: Set to 64 bit longs with
2020         __s390x__ only.
2021         * include/bits/std_limits.h: Fix wchar_t issues.
2022         * config/os/aix/bits/os_defines.h: Fix.
2023
2024 2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>
2025
2026         * include/bits/locale_facets.tcc (collate::do_transform): Fix.
2027
2028 2001-10-25  Phil Edwards  <pme@gcc.gnu.org>
2029
2030         * docs/html/documentation.html:  Fix typo.
2031
2032 2001-10-23  Benjamin Kosnik  <bkoz@redhat.com>
2033
2034         Make -fno-exceptions work.
2035         * config/locale/c_locale_gnu.cc: Use functexcept.
2036         * include/bits/c++config (__stl_assert): Remove.
2037         (__STL_USE_EXCEPTIONS): Same.
2038         (__STL_TRY): Same.
2039         (__STL_CATCH_ALL): Same.
2040         (__STL_THROW): Same.
2041         (__STL_RETHROW): Same.
2042         (__STL_NOTHROW): Same.
2043         (__STL_UNWIND): Same.
2044         * include/bits/pthread_allocimpl.h: Fix.
2045         * include/bits/std_bitset.h: Same.
2046         * include/bits/std_list.h: Same.
2047         * include/bits/std_memory.h: Same.
2048         * include/bits/std_queue.h: Same.
2049         * include/bits/stl_alloc.h: Same.
2050         * include/bits/stl_deque.h: Same.
2051         * include/bits/stl_list.h: Same.
2052         * include/bits/stl_queue.h: Same.
2053         * include/bits/stl_tempbuf.h: Same.
2054         * include/bits/stl_tree.h: Same.
2055         * include/bits/stl_uninitialized.h: Same.
2056         * include/bits/stl_vector.h: Same.
2057         * include/ext/ropeimpl.h: Same.
2058         * include/ext/slist: Same.
2059         * include/ext/stl_hashtable.h: Same.
2060         * include/ext/stl_rope.h: Same.
2061         * libsupc++/new_op.cc: Include cstdlib.
2062         * libsupc++/eh_personality.cc: Add exception_defines include. Use
2063         __throw_exception_again, tweak.
2064         * libsupc++/eh_aux_runtime.cc: Include stdlib for abort.
2065         * libsupc++/vec.cc: Tweak.
2066         * src/functexcept.cc: Remove unused arguments.
2067         * testsuite/23_containers/bitset_members.cc: Tweak.
2068
2069 2001-10-22  Benjamin Kosnik  <bkoz@redhat.com>
2070
2071         * config/cpu/i386/bits/limits.h: Move to...
2072         * config/cpu/i386/bits/cpu_limits.h: ...here.
2073         * config/cpu/cris/bits/cpu_limits.h: Same.
2074         * config/cpu/powerpc/bits/cpu_limits.h: Same.
2075         * config/cpu/x86-64/bits/cpu_limits.h: Same.
2076         * config/cpu/alpha/bits/cpu_limits.h: New.
2077         * config/cpu/m68k/bits/cpu_limits.h: New.
2078         * config/cpu/s390/bits/cpu_limits.h: New.
2079         * config/os/aix/bits/os_defines.h: Tweaks.
2080         * config/os/bsd/freebsd/bits/os_defines.h: Same.
2081         * config/os/bsd/netbsd/bits/os_defines.h: Same.
2082         * config/os/djgpp/bits/os_defines.h: Same.
2083         * config/os/generic/bits/os_defines.h: Same.
2084         * config/os/gnu-linux/bits/os_defines.h: Same.
2085         * config/os/hpux/bits/os_defines.h: Same.
2086         * config/os/irix/irix5.2/bits/os_defines.h: Same.
2087         * config/os/irix/irix6.5/bits/os_defines.h: Same.
2088         * config/os/newlib/bits/os_defines.h: Same.
2089         * config/os/solaris/solaris2.5/bits/os_defines.h: Same.
2090         * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
2091         * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
2092
2093         * include/bits/c++config: Remove include.
2094         * include/bits/limits_generic.h: Remove.
2095         * include/bits/std_limits.h: Include cpu_limits.h.
2096         * include/Makefile.am: Fixup.
2097         * src/limits.cc: Tweak.
2098         * src/limits_generic.cc: Remove.
2099         * src/gen-num-limits.cc: Remove.
2100         * mknumeric_limits: Remove.
2101
2102 2001-10-20  Brendan Kehoe  <brendan@zen.org>
2103
2104         * bits/type_traits.h (_Bool): Removed this type.
2105         (__true_type, __false_type): Change to be plain structs.
2106         * src/string-inst.cc (__destroy_aux): Change third parm to be
2107         __false_type instead of _Bool<false>.
2108         * src/misc-inst.cc (__uninitialized_fill_n_aux,
2109         __uninitialized_copy_aux): Likewise.
2110
2111 2001-10-19  Benjamin Kosnik  <bkoz@redhat.com>
2112
2113         * mkcheck.in (static_fail): Remove older memory limit functionality.
2114         Disable E_TIME due to formatting issues.
2115
2116         * README: Update.
2117
2118 2001-10-19  Brendan Kehoe  <brendan@zen.org>
2119
2120         * include/bits/std_complex.h: Default initialize second argument
2121         of polar to 0, as specified in Library DR #79
2122
2123 2001-10-19  Brendan Kehoe  <brendan@zen.org>
2124
2125         * include/bits/stl_raw_storage_iter.h (operator=): Fix to call
2126         _Construct instead of construct.
2127
2128 2001-10-19  Brendan Kehoe  <brendan@zen.org>
2129
2130         * include/bits/basic_string.tcc (find_first_not_of): Take out check for
2131         __n being non-zero, since the standard does not mandate that.
2132         e.g., a search for "" in "" should yield position 0, not npos.
2133         (find_last_not_of): Likewise.
2134
2135 2001-10-19  Brendan Kehoe  <brendan@zen.org>
2136
2137         * include/bits/stl_bvector.h (vector<bool>::_M_range_check): Fix
2138         to throw out_of_range, not range_error, thus sayeth $23.1.1.13.
2139
2140 2001-10-19  Brendan Kehoe  <brendan@zen.org>
2141
2142         * include/bits/stl_iterator.h (reverse_iterator::current): Rename
2143         member from _M_current, and change all uses; thus sayeth $24.4.1.1.
2144
2145 2001-10-19  Brendan Kehoe  <brendan@zen.org>
2146
2147         * include/bits/stl_algo.h (partial_sort): Add missing `>' on the
2148         template parameter _ValueType.
2149
2150 2001-10-19  Brendan Kehoe  <brendan@zen.org>
2151
2152         * include/bits/std_limits.h: Clean up extra semicolons.
2153         * include/bits/locale_facets.h: Likewise.
2154         * include/bits/type_traits.h: Likewise.
2155
2156 2001-10-19  Brendan Kehoe  <brendan@zen.org>
2157
2158         * include/bits/localefwd.h (locale::combine): Add const for lib DR 14.
2159         * include/bits/locale_facets.tcc (locale::combine): Likewise.
2160
2161 2001-10-19  Benjamin Kosnik  <bkoz@redhat.com>
2162
2163         * include/bits/locale_facets.h (__timepunct::_M_put_helper):
2164         Declare specializations for char, wchar_t.
2165
2166 2001-10-19  Andreas Jaeger  <aj@suse.de>
2167
2168         * config/cpu/x86-64/bits/limits.h: New file.
2169         * config/cpu/x86-64/bits/atomicity.h: New file.
2170         * configure.target: Add x86-64.
2171
2172 2001-10-17  Phil Edwards  <pme@gcc.gnu.org>
2173
2174         * docs/html/17_intro/howto.html:  Remove 1999 links (and explain
2175         why).  Add link to recent message.
2176         * docs/html/faq/index.html (5.6):  Reformat text only; fixup <pre>
2177         markup.
2178         * docs/html/faq/index.txt:  Regenerate.
2179
2180 2001-10-12  Loren J. Rittle  <ljrittle@acm.org>
2181
2182         * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Update
2183         based on Nathan's review.  Use Nathan's words.
2184
2185 2001-10-11  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
2186
2187         * docs/html/configopts.html: Quote StyleSheet attribute values.
2188         * docs/html/documentation.html: Likewise.
2189         * docs/html/explanations.html: Likewise.
2190         * docs/html/install.html: Likewise.
2191         * docs/html/17_intro/howto.html: Likewise.
2192         * docs/html/17_intro/license.html: Likewise.
2193         * docs/html/18_support/howto.html: Likewise.
2194         * docs/html/19_diagnostics/howto.html: Likewise.
2195         * docs/html/20_util/howto.html: Likewise.
2196         * docs/html/21_strings/howto.html: Likewise.
2197         * docs/html/22_locale/howto.html: Likewise.
2198         * docs/html/23_containers/howto.html: Likewise.
2199         * docs/html/24_iterators/howto.html: Likewise.
2200         * docs/html/25_algorithms/howto.html: Likewise.
2201         * docs/html/26_numerics/howto.html: Likewise.
2202         * docs/html/27_io/howto.html: Likewise.
2203         * docs/html/ext/howto.html: Likewise.
2204         * docs/html/ext/sgiexts.html: Likewise.
2205         * docs/html/faq/index.html: Likewise.
2206
2207 2001-10-11  Loren J. Rittle  <ljrittle@acm.org>
2208
2209         * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Rewrite.
2210         * docs/html/23_containers/howto.html (Containers and multithreading):
2211         Update.
2212
2213 2001-10-09  Phil Edwards  <pme@gcc.gnu.org>
2214
2215         * docs/html/17_intro/howto.html:  Tweak markup and value type.
2216         * docs/html/27_io/howto.html:  Tweak markup, describe setbuf() for
2217         nonzero arguments, add new note on threading.
2218         * docs/html/faq/index.html:  Update.
2219         * docs/html/faq/index.txt:  Regenerate.
2220
2221 2001-10-09  Phil Edwards  <pme@gcc.gnu.org>
2222
2223         * docs/html/configopts.html:  More HTML->XHTML and lowercasing of tags.
2224         * docs/html/documentation.html:  Likewise.
2225         * docs/html/explanations.html:  Likewise.
2226         * docs/html/install.html:  Likewise.
2227         * docs/html/17_intro/howto.html:  Likewise.
2228         * docs/html/17_intro/license.html:  Likewise.  Tighten up language.
2229         * docs/html/18_support/howto.html:  Likewise.
2230         * docs/html/19_diagnostics/howto.html:  Likewise.
2231         * docs/html/20_util/howto.html:  Likewise.
2232         * docs/html/21_strings/howto.html:  Likewise.
2233         * docs/html/22_locale/howto.html:  Likewise.
2234         * docs/html/23_containers/howto.html:  Likewise.
2235         * docs/html/24_iterators/howto.html:  Likewise.
2236         * docs/html/25_algorithms/howto.html:  Likewise.
2237         * docs/html/26_numerics/howto.html:  Likewise.
2238         * docs/html/27_io/howto.html:  Likewise.
2239         * docs/html/ext/howto.html:  Likewise.
2240         * docs/html/ext/sgiexts.html:  Likewise.
2241         * docs/html/faq/index.html:  Likewise.  Not so many absolute links.
2242         * docs/html/faq/index.txt:  Regenerate.
2243
2244 2001-10-07  Joseph S. Myers  <jsm28@cam.ac.uk>
2245
2246         * docs/html/22_locale/locale.html, docs/html/faq/index.html: Fix
2247         spelling errors of "separate" as "seperate", and corresponding
2248         spelling errors of related words.
2249         * docs/html/faq/index.txt: Regenerate.
2250
2251 2001-10-05  Phil Edwards  <pme@gcc.gnu.org>
2252
2253         * config/cpu/alpha/bits/atomicity.h (__compare_and_swap):  Remove
2254         unused function.
2255         * config/cpu/arm/bits/atomicity.h:  Likewise.
2256         * config/cpu/generic/bits/atomicity.h:  Likewise.
2257         * config/cpu/i486/bits/atomicity.h:  Likewise.
2258         * config/cpu/ia64/bits/atomicity.h:  Likewise.
2259         * config/cpu/mips/bits/atomicity.h:  Likewise.
2260         * config/cpu/powerpc/bits/atomicity.h:  Likewise.
2261         * config/cpu/sparc/sparc32/bits/atomicity.h:  Likewise.
2262         * config/cpu/sparc/sparc64/bits/atomicity.h:  Likewise.
2263
2264 2001-10-04  Phil Edwards  <pme@gcc.gnu.org>
2265
2266         * docs/html/faq/index.html:  Describe DR #22, and a workaround.
2267         * docs/html/faq/index.txt:  Regenerate.
2268
2269 2001-10-04  Phil Edwards  <pme@gcc.gnu.org>
2270
2271         * docs/html/17_intro/COPYING.DOC:  New file, GFDL v1.1 from the FSF.
2272         * docs/html/17_intro/license.html:  New file.  Explain the licenses
2273         in use.
2274
2275         * docs/html/configopts.html:  Link to license.html.
2276         * docs/html/documentation.html:  Likewise.
2277         * docs/html/explanations.html:  Likewise.
2278         * docs/html/install.html:  Likewise.
2279         * docs/html/17_intro/howto.html:  Likewise.
2280         * docs/html/18_support/howto.html:  Likewise.
2281         * docs/html/19_diagnostics/howto.html:  Likewise.
2282         * docs/html/20_util/howto.html:  Likewise.
2283         * docs/html/21_strings/howto.html:  Likewise.
2284         * docs/html/22_locale/howto.html:  Likewise.
2285         * docs/html/23_containers/howto.html:  Likewise.
2286         * docs/html/24_iterators/howto.html:  Likewise.
2287         * docs/html/25_algorithms/howto.html:  Likewise.
2288         * docs/html/26_numerics/howto.html:  Likewise.
2289         * docs/html/27_io/howto.html:  Likewise.
2290         * docs/html/ext/howto.html:  Likewise.
2291         * docs/html/ext/sgiexts.html:  Likewise.
2292         * docs/html/faq/index.html:  Likewise.  New question, linking to
2293         the new license.html.
2294
2295 2001-10-04  Phil Edwards  <pme@gcc.gnu.org>
2296
2297         * docs/html/17_intro/howto.html:  Fix mis-sed in header from 20010917.
2298         * docs/html/18_support/howto.html:  Likewise.
2299         * docs/html/19_diagnostics/howto.html:  Likewise.
2300         * docs/html/20_util/howto.html:  Likewise.
2301         * docs/html/21_strings/howto.html:  Likewise.
2302         * docs/html/22_locale/howto.html:  Likewise.
2303         * docs/html/23_containers/howto.html:  Likewise.
2304         * docs/html/24_iterators/howto.html:  Likewise.
2305         * docs/html/25_algorithms/howto.html:  Likewise.
2306         * docs/html/26_numerics/howto.html:  Likewise.
2307         * docs/html/27_io/howto.html:  Likewise.
2308         * docs/html/ext/howto.html:  Likewise.
2309         * docs/html/faq/index.html:  Likewise.  Spacing fix.
2310
2311 2001-10-03  Dimitris Vyzovitis  <vyzo@media.mit.edu>
2312
2313         * include/bits/stl_threads.h (_Atomic_swap): New function.
2314         (_Swap_lock_struct<__dummy>::_S_swap_lock): New data.
2315         * testsuite/ext/rope.cc: New file.
2316
2317 2001-10-02  Benjamin Kosnik  <bkoz@redhat.com>
2318
2319         * config/locale/time_members_gnu.h: Remove.
2320         * config/locale/time_members_generic.h: Remove.
2321         * config/locale/time_members_gnu.cc (__timepunct::_M_put_helper): Add.
2322         * config/locale/time_members_generic.cc: Same.
2323         * include/bits/locale_facets.h: Add data members.
2324         (__timepunct::_M_put_helper): Change signature.
2325         (__timepunct::_M_date_formats): Same.
2326         (__timepunct::_M_time_formats): Same.
2327         (__timepunct::_M_ampm): Add.
2328         (__timepunct::_M_date_time_formats): Add.
2329         (time_get::_M_extract_via_format): Add.
2330         (time_get::_M_extract_time): Change to...
2331         (time_get::_M_extract_num): ... this, modify signature.
2332         * include/bits/locale_facets.tcc (time_get::do_get_year): Fix.
2333         (time_get::do_get_time): Fix.
2334         (time_get::do_get_date): Fix.
2335
2336         * acinclude.m4: Remove CTIME_H.
2337         * aclocal.m4: Regenerate.
2338         * include/Makefile.am: Same.
2339         * include/Makefile.in: Regenerate.
2340         * configure: Regenerate.
2341
2342         * testsuite/22_locale/time_get_members_char.cc: Fix.
2343         * testsuite/22_locale/time_get_members_wchar_t.cc: Add.
2344         * testsuite/22_locale/time_put_members_wchar_t.cc: Add.
2345
2346 2001-10-01  Hans-Peter Nilsson  <hp@axis.com>
2347
2348         * config/cpu/cris/bits/atomicity.h: Correct file header.
2349
2350 2001-09-29  Hans-Peter Nilsson  <hp@axis.com>
2351
2352         * configure.target (LIMITSH): Set for cris.
2353         (cpu_include_dir): Set for cris-*-*.
2354         * config/cpu/cris/bits/atomicity.h: New file.
2355         * config/cpu/cris/bits/limits.h: New file.
2356
2357 2001-09-28  Benjamin Kosnik  <bkoz@redhat.com>
2358
2359         * config/locale/time_members_gnu.h (__timepunct::_M_get_helper): Add.
2360         (__timepunct::_M_put_helper): Add.
2361         * config/locale/time_members_generic.h: Same.
2362         * include/bits/locale_facets.h (__match_parallel): Remove. Format.
2363         (__timepunct): Add data members.
2364         (__timepunct::_M_days): Add.
2365         (__timepunct::_M_days_abbreviated): Add.
2366         (__timepunct::_M_months): Add.
2367         (__timepunct::_M_months_abbreviated): Add.
2368         (__timepunct::_M_initialize_timepunct): Add.
2369         * include/bits/locale_facets.tcc: Same.
2370         * src/locale-inst.cc: Remove instantiations for __match_parallel.
2371         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_CC.
2372         * aclocal.m4: Regenerate.
2373         * configure: Regenerate.
2374         * testsuite/22_locale/time_put_members_char.cc: Mark XFAIL.
2375         * testsuite/22_locale/time_put_members_char.cc (test01): New file.
2376         * testsuite/22_locale/time_get.cc: New file.
2377
2378 2001-09-28  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2379
2380         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
2381         correct multilib builddir.
2382         Properly locate libgcc_s.
2383
2384 2001-09-27  Phil Edwards  <pme@gcc.gnu.org>
2385
2386         * include/std/*:  Add Doxygen hooks.
2387         * docs/doxygen/Intro.3:  New file, general intro to the man pages.
2388         * docs/doxygen/mainpage.doxy:  Formatting tweaks.  List our own links
2389         rather than using a generated index.
2390         * docs/doxygen/user.cfg.in:  Disable the index, enable man pages.
2391         * docs/doxygen/run_doxygen:  Massage the generated man pages, using...
2392         * docs/doxygen/stdheader.cc:  ...this new file.
2393
2394 2001-09-26  Stan Shebs  <shebs@apple.com>
2395
2396         * include/Makefile.am: Remove RCS Id strings.
2397         * src/Makefile.am: Ditto.
2398         * docs/doxygen/run_doxygen: Ditto.
2399         * docs/html/configopts.html: Ditto.
2400         * docs/html/documentation.html: Ditto.
2401         * docs/html/explanations.html: Ditto.
2402         * docs/html/install.html: Ditto.
2403         * docs/html/17_intro/howto.html: Ditto.
2404         * docs/html/18_support/howto.html: Ditto.
2405         * docs/html/19_diagnostics/howto.html: Ditto.
2406         * docs/html/20_util/howto.html: Ditto.
2407         * docs/html/21_strings/howto.html: Ditto.
2408         * docs/html/22_locale/howto.html: Ditto.
2409         * docs/html/23_containers/howto.html: Ditto.
2410         * docs/html/24_iterators/howto.html: Ditto.
2411         * docs/html/25_algorithms/howto.html: Ditto.
2412         * docs/html/26_numerics/howto.html: Ditto.
2413         * docs/html/27_io/howto.html: Ditto.
2414         * docs/html/ext/howto.html: Ditto.
2415         * docs/html/ext/sgiexts.html: Ditto.
2416         * docs/html/faq/index.html: Ditto.
2417         * docs/html/faq/index.txt: Ditto.
2418
2419 2001-09-25  Phil Edwards  <pme@gcc.gnu.org>
2420
2421         * testsuite/21_strings/c_strings.cc (test01, test02):  Increase
2422         `carray' size.
2423
2424 2001-09-25  Phil Edwards  <pme@gcc.gnu.org>
2425
2426         * docs/html/20_util/howto.html:  Add anchor name.
2427         * docs/html/23_containers/howto.html:  Line wrapping, another link.
2428         * docs/html/25_algorithms/howto.html:  Another note.
2429
2430         * docs/html/ext/howto.html:  Link to SGI extensions.  List DRs and
2431         link to them...
2432         * docs/html/ext/lwg-active.html:  ...in this new file (from R19),
2433         * docs/html/ext/lwg-defects.html:  and this new file (from R19).
2434         * docs/html/ext/sgiexts.html:  New file.  Mention SGI extensions
2435         carried over to libstdc++-v3.
2436         * docs/html/faq/index.html:  Link to SGI extensions.  Mention the
2437         "missing .." pseudobug.
2438         * docs/html/faq/index.txt:  Regenerate.
2439
2440         * include/bits/ios_base.h:  DR-related comment cleanup.
2441         * include/bits/istream.tcc:  Likewise.
2442         * include/bits/locale_facets.h:  Likewise.
2443         * include/bits/locale_facets.tcc:  Likewise.
2444         * include/bits/ostream.tcc:  Likewise.
2445         * include/bits/std_bitset.h:  Likewise.
2446         * include/bits/std_iosfwd.h:  Likewise.
2447         * include/bits/std_istream.h:  Likewise.
2448         * include/bits/std_ostream.h:  Likewise.
2449         * include/bits/std_streambuf.h:  Likewise.
2450         * include/bits/stl_pair.h:  Likewise.
2451         * include/bits/streambuf_iterator.h:  Likewise.
2452
2453         * include/bits/std_map.h:  Remove unused header inclusion guard
2454         _CPP_BITS_STL_TREE_H from around bits/stl_tree.h.
2455         * include/bits/std_set.h:  Likewise.
2456
2457         * include/bits/stl_function.h:  Doxygen markup.
2458         * docs/doxygen/doxygroups.cc:  New file, specifying module grouping.
2459         * libsupc++/typeinfo:  Doxygen markup tweak.
2460
2461 2001-09-20  Scott Johnston <scott@accom.com>
2462             Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2463
2464         * include/backward/alloc.h: Conditionally define malloc_alloc
2465         * testsuite/backward/header_deque_h.cc: New file.
2466
2467 2001-09-20  Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
2468
2469         * libstdc++-v3/include/bits/locale_facets.tcc (money_put::do_put):
2470         change variable name so that it works with -fno-for-scope.
2471
2472 2001-09-20  Benjamin Kosnik  <bkoz@redhat.com>
2473
2474         * testsuite/22_locale/numpunct_members_char.cc (test01): Remove
2475         redundant sanity checks.
2476         * testsuite/22_locale/money_put_members_wchar_t.cc (test01): Same.
2477         (test02): Same.
2478         * testsuite/22_locale/money_put_members_char.cc (test01): Same.
2479         (test02): Same.
2480         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test01): Same.
2481         * testsuite/22_locale/moneypunct_members_char.cc (test01): Same.
2482         * testsuite/22_locale/money_get_members_wchar_t.cc (test01): Same.
2483         (test02): Same.
2484         * testsuite/22_locale/money_get_members_char.cc (test01): Same.
2485         (test02): Same.
2486
2487 2001-09-19  Benjamin Kosnik  <bkoz@redhat.com>
2488
2489         Implement std::time_put.
2490         * include/bits/locale_facets.h: Include time_members.h.
2491         (__timepunct): New.
2492         (time_put): Implement.
2493         * include/bits/locale_facets.tcc (do_put): Put generic versions here.
2494         * include/bits/localefwd.h: Bump number of facets.
2495         * config/locale/time_members_generic.h: New file.
2496         * config/locale/time_members_gnu.h: New file.
2497         * config/locale/c_locale_generic.h: Include clocale.
2498         * src/locale-inst.cc: Add use_facet instantiations for __timepunct.
2499         * src/locale.cc: Add __timepunct initializations.
2500         * src/localename.cc (locale::_Impl::_Impl(string, size_t)): Same.
2501         * include/Makefile.am (stamp-target): Add time_members.h.
2502         * include/Makefile.in: Regenerate.
2503         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_H.
2504         * aclocal.m4: Regenerate.
2505         * configure: Regenerate.
2506         * testsuite/22_locale/time_put.cc: New file.
2507         * testsuite/22_locale/time_put_members_char.cc: New file.
2508
2509         * docs/html/22_locale/locale.html: Add note.
2510
2511 2001-09-17  Phil Edwards  <pme@gcc.gnu.org>
2512
2513         * docs/html/configopts.html:  HTML to XHTML change.  Lowercase tags.
2514         * docs/html/documentation.html:  Likewise.
2515         * docs/html/explanations.html:  Likewise.
2516         * docs/html/install.html:  Likewise.
2517         * docs/html/17_intro/howto.html:  Likewise.
2518         * docs/html/18_support/howto.html:  Likewise.
2519         * docs/html/19_diagnostics/howto.html:  Likewise.
2520         * docs/html/20_util/howto.html:  Likewise.
2521         * docs/html/21_strings/howto.html:  Likewise.
2522         * docs/html/22_locale/codecvt.html:  Likewise.
2523         * docs/html/22_locale/ctype.html:  Likewise.
2524         * docs/html/22_locale/howto.html:  Likewise.
2525         * docs/html/22_locale/locale.html:  Likewise.
2526         * docs/html/22_locale/messages.html:  Likewise.
2527         * docs/html/23_containers/howto.html:  Likewise.
2528         * docs/html/24_iterators/howto.html:  Likewise.
2529         * docs/html/25_algorithms/howto.html:  Likewise.
2530         * docs/html/26_numerics/howto.html:  Likewise.
2531         * docs/html/27_io/howto.html:  Likewise.
2532         * docs/html/ext/howto.html:  Likewise.
2533         * docs/html/faq/index.html:  Likewise.
2534         * docs/html/faq/index.txt:  Regenerated.
2535
2536 2001-09-14  Phil Edwards  <pme@sources.redhat.com>
2537
2538         * docs/html/17_intro/headers_cc.txt:  "Sync"/copy real file over.
2539         * docs/html/17_intro/howto.html:  Spacing and HTML markup fixes.
2540         * docs/html/18_support/howto.html:  It won't compile; it's not code.
2541         * docs/html/19_diagnostics/howto.html:  Point diagram seekers to
2542         doxygen'd pages.
2543         * docs/html/22_locale/howto.html:  Comment for future work.
2544         * docs/html/23_containers/howto.html:  More comments.
2545         * docs/html/25_algorithms/howto.html:  It's a comment, not a
2546         blunt command to the reader.  (English grammar.)
2547
2548 2001-09-14  Benjamin Kosnik  <bkoz@redhat.com>
2549
2550         * config/locale/moneypunct_members_gnu.cc: Fix initialization of
2551         wchar_t members.
2552         * testsuite/22_locale/money_get_members_wchar_t.cc (test02): New file.
2553         * testsuite/22_locale/money_put_members_wchar_t.cc (test02): Fix.
2554
2555 2001-09-14  Benjamin Kosnik  <bkoz@redhat.com>
2556
2557         * include/bits/locale_facets.tcc: Conditionalize use of strtold.
2558
2559 2001-09-13  Alexandre Petit-Bianco  <apbianco@redhat.com>
2560
2561         * testsuite/22_locale/money_get_members_char.cc: Fixed typo in comment.
2562         * testsuite/22_locale/money_put_members_char.cc: Likewise.
2563         * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
2564
2565 2001-09-13  Benjamin Kosnik  <bkoz@redhat.com>
2566
2567         Implement std::money_get.
2568         * include/bits/locale_facets.tcc (money_get::do_get): Implement.
2569         * include/bits/locale_facets.h (money_get): Correct signatures.
2570         * testsuite/22_locale/money_get.cc: New file.
2571         * testsuite/22_locale/money_get_members_char.cc: New file.
2572
2573         * include/bits/locale_facets.tcc (__verify_grouping): New
2574         function. Consolidate num_get and money_get group checking into
2575         one function.
2576         (money_get): Use it.
2577         * src/locale.cc (num_get::_M_extract): Use it.
2578         * src/locale-inst.cc: Add instantiation.
2579
2580 2001-09-12  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2581
2582         * include/bits/std_limits.h (numeric_limits<float>::radix,
2583         numeric_limits<float>::epsilon:  Fix thinko.
2584
2585 2001-09-10  Benjamin Kosnik  <bkoz@redhat.com>
2586
2587         * configure.in: Fix cross compiling math routines. Correct
2588         comments for cross compiling and limits. Add floating point math
2589         routines found in newlib.
2590         * configure: Regenerate.
2591         * acconfig.h: Add macros.
2592         * config.h.in: Regenerate.
2593
2594 2001-09-10  Benjamin Kosnik  <bkoz@redhat.com>
2595
2596         * config/locale/moneypunct_members_generic.cc
2597         (money_base::_S_construct_pattern): Remove unused parameters.
2598
2599 2001-09-10  Benjamin Kosnik  <bkoz@redhat.com>
2600
2601         * include/Makefile.am (stamp-target): Remove link to self.
2602         * inclulde/Makefile.in: Regenerate.
2603
2604 2001-09-09  Benjamin Kosnik  <bkoz@redhat.com>
2605
2606         Implement std::money_put.
2607         * include/bits/locale_facets.h
2608         (moneypunct::_M_initialize_moneypunct): Split up specializations
2609         to account for _Intl.  More grody hacking to get around the
2610         ill-considered use of const bool as a template parameter.
2611         * config/locale/moneypunct_members_gnu.cc: And here.
2612         * config/locale/moneypunct_members_generic.cc: And here.
2613         * testsuite/22_locale/moneypunct_members_char.cc: Add tests.
2614         * testsuite/22_locale/moneypunct.cc: Add tests.
2615         * testsuite/22_locale/money_put_members_wchar_t.cc: New file.
2616         * testsuite/22_locale/moneypunct_members_wchar_t.cc: New file.
2617
2618         * src/locale.cc (money_base::_S_construct_pattern): Move into
2619         gnu-specific file.
2620         * config/locale/moneypunct_members_gnu.cc: Add here.
2621         * config/locale/moneypunct_members_generic.cc: Add generic version
2622         here.
2623
2624         * include/bits/locale_facets.tcc (money_put::do_put): Move member
2625         function definitions here.
2626         * include/bits/locale_facets.h (money_put): Implement.
2627         * src/locale-inst.cc: Add use_facet instantiations for moneypunct.
2628         Correct money_get, money_put instantiations.
2629         * src/locale.cc (money_base::_S_construct_pattern): Handle case
2630         where __posn == 0.
2631         * testsuite/22_locale/money_put_members_char.cc: Add tests.
2632
2633 2001-09-05  Phil Edwards  <pme@sources.redhat.com>
2634
2635         * testsuite_flags.in:  No longer need to search testsuite builddir.
2636         * src/stl-inst.cc (__sink_unused_warning):  Unused, remove.
2637         * Makefile.am:  The testsuite directory never needs to be made here.
2638         * Makefile.in:  Regenerate.
2639         * include/Makefile.in:  Regenerate.
2640         * libio/Makefile.in:  Regenerate.
2641         * libmath/Makefile.in:  Regenerate.
2642         * libsupc++/Makefile.in:  Regenerate.
2643         * po/Makefile.in:  Regenerate.
2644         * src/Makefile.in:  Regenerate.
2645         * testsuite/Makefile.in:  Regenerate.
2646
2647 2001-09-04  Scott Johnston  <scott@accom.com>
2648             Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2649
2650         * include/backward/iterator.h: Include <bits/std_iterator.h>,
2651         remove reverse_bidirectional_iterator.
2652         * testsuite/backward: New directory.
2653         * testsuite/backward/header_iterator_h.cc: New file.
2654
2655 2001-09-04  Benjamin Kosnik  <bkoz@redhat.com>
2656
2657         * include/c_std/bits/std_c*.h: Don't use include_next.
2658
2659 2001-09-03  Richard Sandiford  <rsandifo@redhat.com>
2660
2661         * libsupc++/eh_personality.cc (parse_lsda_header): Change type of
2662         tmp from _Unwind_Ptr to _Unwind_Word.
2663
2664 2001-08-31  Jason Merrill  <jason_merrill@redhat.com>
2665
2666         * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Simplify
2667         leb128 handling.
2668
2669 2001-08-28  Loren J. Rittle  <ljrittle@acm.org>
2670
2671         * include/Makefile.am: Use toplevel_srcdir to refer to src files
2672         outside this component.
2673         * include/Makefile.in: Regenerate.
2674
2675 2001-08-27  Benjamin Kosnik  <bkoz@redhat.com>
2676
2677         * config/locale/c_locale_gnu.cc: Move facet info to separate files...
2678         * config/locale/c_locale_generic.cc: Same.
2679         * config/locale/moneypunct_members_gnu.cc: New file.
2680         * config/locale/moneypunct_members_generic.cc: New file.
2681         * config/locale/numpunct_members_gnu.cc: New file.
2682         * config/locale/numpunct_members_generic.cc: New file.
2683         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add moneypunct, numpunct
2684         options.
2685         * aclocal.m4: Regenerate.
2686         * configure: Regenerate.
2687         * src/Makefile.am (sources): And here.
2688         * src/Makefile.in: Regenerate.
2689
2690         Rename for consistency with rest of testsuite.
2691         * testsuite/22_locale/codecvt.cc: New file.
2692         * testsuite/22_locale/money_put.cc: New file.
2693         * testsuite/22_locale/money_put_members_char.cc: New file.
2694
2695 2001-08-27  Phil Edwards  <pme@sources.redhat.com>
2696
2697         PR libstdc++/4143
2698         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO):  Handle enable/disable
2699         correctly for version-specific-runtime-libs.
2700         * aclocal.m4:  Regenerate.
2701         * configure:  Regenerate.
2702
2703 2001-08-24  Loren J. Rittle  <ljrittle@acm.org>
2704
2705         * config/cpu/i386/bits/limits.h (__glibcpp_long_double_bits): Only
2706         define if not already provided by per-OS file.
2707         * config/os/bsd/freebsd/bits/os_defines.h (__glibcpp_long_double_bits):
2708         Define.
2709
2710 2001-08-24  Jan van Male <jan.vanmale@fenk.wau.nl>
2711
2712         * docs/html/17_intro/C++STYLE:  Fix typo.
2713
2714 2001-08-24  Phil Edwards  <pme@sources.redhat.com>
2715
2716         * docs/html/23_containers/howto.html:  Describe implementation of
2717         insertion with hints.
2718
2719 2001-08-24  Kenny Simpson  <kenny.simpson@gs.com>
2720
2721         libstdc++/3740
2722         * include/bits/std_sstream.h (basic_ostringstream): Fix ctor.
2723
2724 2001-08-24  Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
2725             Phil Edwards  <pme@sources.redhat.com>
2726
2727         PR libstdc++/3349
2728         * include/bits/stl_tree.h (insert_unique):  Revert last change.
2729         Values inserted at begin() must be less, not greater, than *begin()'s.
2730         * testsuite/23_containers/map_insert.cc:  New file.
2731
2732 2001-08-23  Benjamin Kosnik  <bkoz@redhat.com>
2733
2734         * config/locale/c_locale_gnu.cc: Minor tweaks.
2735         (moneypunct<wchar_t>): Implement.
2736         * include/bits/locale_facets.h: Same.
2737         * testsuite/22_locale/moneypunct.cc: New file.
2738         * testsuite/22_locale/moneypunct_byname.cc: New file.
2739         * testsuite/22_locale/moneypunct_char_members.cc: New file.
2740
2741 2001-08-23  David Edelsohn  <edelsohn@gnu.org>
2742
2743         * config/os/gnu-linux/bits/os_defines.h: Correct __s390__ definitions.
2744         Set __powerpc__ long double definition based on __LONG_DOUBLE_128__.
2745
2746 2001-08-23  Jason Merrill  <jason_merrill@redhat.com>
2747
2748         * testsuite_flags.in (build-includes): Re-add backward.
2749
2750 2001-08-22  Benjamin Kosnik  <bkoz@redhat.com>
2751
2752         * testsuite/22_locale/collate_wchar_t_members.cc: Guard
2753         with _GLIBCPP_USE_WCHAR_T.
2754
2755 2001-08-21  Benjamin Kosnik  <bkoz@redhat.com>
2756
2757         * testsuite/22_locale/collate_byname.cc (test01): Fix.
2758
2759 2001-08-18  Vladimir A Merzliakov  <wanderer@rsu.ru>
2760
2761         * include/bits/locale_facets.tcc (collate::do_transform): Add typename.
2762
2763 2001-08-18  Benjamin Kosnik  <bkoz@redhat.com>
2764
2765         * testsuite/22_locale/operators.cc: Add test.
2766
2767 2001-08-17  Benjamin Kosnik  <bkoz@redhat.com>
2768
2769         Implement std::collate.
2770         * config/locale/collate_specializations_gnu.cc: Add here, implement in
2771         MT-safe way.
2772         * config/locale/collate_specializations_generic.cc: Add here, but
2773         in a less sophisticated manner.
2774         * include/bits/locale_facets.tcc (collate): Add generic definition.
2775         * include/bits/locale_facets.h (~collate): Mark virtual.
2776         (collate::_M_compare_helper): New.
2777         (collate::_M_transform_helper): New.
2778         * src/locale.cc: Remove unnecessary specializations.
2779         * src/string-inst.cc: Tweak instantiation of ctors.
2780
2781         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Do configury for collate.
2782         * aclocal.m4: Regenerate.
2783         * configure: Regenerate.
2784         * src/Makefile.am (sources): Add collate.cc.
2785         * src/Makefile.in: Regenerate.
2786
2787         * testsuite/22_locale/collate_byname.cc: New.
2788         * testsuite/22_locale/collate.cc: New file.
2789         * testsuite/22_locale/collate_char_members.cc: New file.
2790         * testsuite/22_locale/collate_wchar_t_members.cc: New file.
2791
2792 2001-08-16  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2793
2794         * configure.target: Set LIMITSH for powerpc-*-*.
2795         * config/cpu/powerpc/bits/limits.h: New file.
2796
2797 2001-08-16  Marc Espie <espie@openbsd.org>
2798
2799         * configure.in:  Check for <sys/types.h>.
2800         * configure:  Rebuild.
2801         * config.h.in:  Rebuild.
2802         * libmath/mathconf.h:  Include <sys/types.h> prior to
2803         <machine/endian.h> if available.
2804
2805 2001-08-15  Andreas Schwab  <schwab@suse.de>
2806
2807         * configure.target (cpu_include_dir): Set to `config/cpu/m68k' for
2808         m68k and m680[246]0.
2809         * config/cpu/m68k/bits/atomicity.h: New file.
2810
2811         * include/bits/std_limits.h [__glibcpp_long_double_bits == 96]:
2812         Define appropriate long double limits for m68k extended floating
2813         point.
2814         (__glibcpp_f32_digits10): Corrected, off by one.
2815         (__glibcpp_f80_digits10): Likewise.
2816         (__glibcpp_f128_digits10): Likewise.
2817         * config/os/gnu-linux/bits/os_defines.h
2818         (__glibcpp_long_double_bits) [__mc68000__]: Define to 96.
2819
2820 2001-08-15  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2821
2822         * testsuite/18_support/numeric_limits.cc: Add more tests.
2823         * include/bits/std_limits.h (numeric_limits<char>::max): Fix
2824         typo.
2825
2826 2001-08-14  Ulrich Weigand  <uweigand@de.ibm.com>
2827
2828         * configure.target (cpu_include_dir): Set to `config/cpu/s390'
2829         for s390 and s390x.
2830
2831         * config/cpu/s390/bits/atomicity.h: New.
2832
2833 2001-08-14  Gabriel Dos Reis  <gdr@codesourcery.com>
2834
2835         * include/bits/std_limits.h: Fix thinko.
2836
2837 2001-08-14  Benjamin Kosnik  <bkoz@redhat.com>
2838
2839         * include/Makefile.am: Consolidate target rules. Don't clean stamp
2840         files. Tweak target build directory stamp.
2841         * include/Makefile.in: Regenerate.
2842
2843 2001-08-14  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2844
2845         * libstdc++-v3/libmath/stubs.c: Fix PR/3988, replace
2846         _GBLICPP_HAVE_LOGL with HAVE_LOGL
2847
2848 2001-08-13  Benjamin Kosnik  <bkoz@redhat.com>
2849
2850         * configure.in (libtool_VERSION): Add.
2851         (VERSION): Change to
2852         (release_VERSION): This.
2853         * configure: Regenerate.
2854         * src/Makefile.am (libstdc___la_LDFLAGS): Use -version-info with
2855         libtool_VERSION.
2856         * src/Makefile.in: Regenerate.
2857
2858         * intl/Makefile.am: Remove.
2859         * intl/Makefile.in: Remove.
2860         * intl: Remove.
2861         * Makefile.am (SUBDIRS): Remove intl.
2862         * po/Makefile.am (DISTFILES): Add string_literals.cc
2863         (MSGFMT): Add.
2864         * po/string_literals.cc: Add.
2865         * po/POTFILES.in: Fix path.
2866         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't call AM_GNU_GETTEXT.
2867         * aclocal.m4: Regenerate.
2868         * configure.in: Remove AC_OUTPUT of intl/Makefile.
2869
2870         * include/backward/backward_warning.h: Clarify message.
2871
2872         * testsuite_flags.in (--cxxflags): Use same debug flags for
2873         library and testsuite.
2874
2875         * include/Makefile.am (c_compatibility): Remove.
2876         * include/Makefile.in: Regenerate.
2877
2878 2001-08-13  Mark Mitchell  <mark@codesourcery.com>
2879
2880         * configure.in (LIMITS_INC_SRCDIR): New variable.
2881         * configure.target (LIMITSH): New variable.
2882         * porting.texi: Discuss numeric limits.
2883         * config/cpu/generic/bits/limits.h: New file.
2884         * config/cpu/i386/bits/limits.h: New file.
2885         * include/Makefile.am: Install bits/limits.h.
2886         * include/bits/c++config: Include bits/limits.h.
2887
2888 2001-08-13  H.J. Lu  (hjl@gnu.org)
2889
2890         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-copy-files):
2891         New. Copy files.
2892         (libstdc++-v3-init ): Use it.
2893
2894 2001-08-13  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2895
2896         * include/bits/ostream.tcc (__pad_char): Change toplevel '__fmt'
2897         to '__adjust' to avoid shadowing in nested scope.
2898
2899 2001-08-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2900
2901         * include/bits/std_limits.h(__glibcpp_char_is_signed): Use
2902         __CHAR_UNSIGNED__.
2903
2904         * config/os/gnu-linux/bits/os_defines.h(__glibcpp_char_is_signed):
2905         Likewise.
2906         * config/os/aix/bits/os_defines.h(__glibcpp_plain_char_is_signed):
2907         Remove.
2908
2909 2001-08-10  Loren J. Rittle  <ljrittle@acm.org>
2910
2911         * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Add
2912         dummy default argument to the non-limit implementation.
2913
2914         bootstrap/3963
2915         * include/Makefile.am: Use relative file path in rule to allow
2916         colon in $(objdir).
2917         * include/Makefile.in: Rebuilt.
2918
2919 2001-08-10  Gunter Winkler  <gunter.winkler@mathematik.tu-chemnitz.de>
2920
2921         * include/bits/std_complex.h (complex<long double>::operator*=,
2922         complex<long double>::operator/=): Fix thinko.
2923
2924 2001-08-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2925
2926         * include/bits/std_limits.h: New file.
2927         * include/Makefile.am (bits_headers): Add std_limits.h
2928         (all-local): std_limits.h is no longer built.
2929         (${target_builddir}/std_limits.h): Remove.
2930         * include/Makefile.in: Regenerate.
2931         * src/limits.cc: New file.
2932         * src/Makefile.am (sources): Add limits.cc in replacement of
2933         limitsMEMBERS.cc.
2934         * src/Makefile.in: Regenerate.
2935
2936 2001-08-09  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2937
2938         * src/gen-num-limits.cc (digits10): Fix thinko.
2939
2940 2001-08-09  Benjamin Kosnik  <bkoz@redhat.com>
2941
2942         * po/Makefile.am (check-no): Add.
2943         (check-yes): Same.
2944         * po/Makefile.in: Regenerate.
2945
2946 2001-08-09  Benjamin Kosnik  <bkoz@redhat.com>
2947
2948         * acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
2949         * config.h.in: Regenerate.
2950         * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT): Check for setrlimit
2951         function.
2952         * aclocal.m4: Regenerate.
2953         * configure.in: Remove duplicate AM_CONFIG_HEADER.
2954         (AM_CONFIG_HEADER): Remove testsuite/testsuite_hooks.h.
2955         Only call GLIBCPP_CHECK_SETRLIMIT for native compiles.
2956         * configure: Regenerate.
2957         * testsuite_hooks.h.in: Move to...
2958         * testsuite_hooks.h: Here, include c++config.h. Use it.
2959
2960         * Makefile.am (SUBDIRS): Move testsuite to last directory.
2961         * Makefile.in: Regenerate.
2962         * po/Makefile.am (stamp-po): Add.
2963
2964 2001-08-09  David Edelsohn  <edelsohn@gnu.org>
2965
2966         * config/os/aix/bits/os_defines.h: Define std_limits.h macros.
2967         * config/os/generic/bits/os_defines.h: Likewise.
2968         * config/os/gnu-linux/bits/os_defines.h: Likewise.
2969         * config/os/hpux/bits/os_defines.h: Likewise.
2970         * config/os/irix/irix6.5/bits/os_defines.h: Likewise.
2971         * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
2972
2973 2001-08-08  Benjamin Kosnik  <bkoz@redhat.com>
2974
2975         * src/Makefile.am (libstdc___la_LDFLAGS): Use -release instead of
2976         -version-info, use substituted VERSION info.
2977         * src/Makefile.in: Regenerate.
2978
2979 2001-08-07  Benjamin Kosnik  <bkoz@redhat.com>
2980
2981         Implement std::messages.
2982         Make config a fully-nested directory.
2983         * config/locale: New directory.
2984         * config/c_locale_generic.cc: Move into locale subdirectory.
2985         * config/c_locale_generic.h: Same.
2986         * config/c_locale_gnu.cc: Same.
2987         * config/c_locale_gnu.h: Same.
2988         * config/c_locale_ieee_1003.1-200x.cc: Same.
2989         * config/c_locale_ieee_1003.1-200x_.h: Same.
2990         * config/codecvt_specializations_generic.h: Same.
2991         * config/codecvt_specializations_ieee_1003.1-200x.h: Same.
2992         * config/messages_members_gnu.h: Same.
2993         * config/messaages_members_gnu.cc: Same.
2994         * config/messages_members_generic.h: Same.
2995         * config/messaages_members_generic.cc: Same.
2996         * config/messages_members_ieee_1003.1-200x.h: Same.
2997         * config/messaages_members_ieee_1003.1-200x.cc: Same.
2998         * config/io: New directory.
2999         * config/basic_file_libio.h: Move into io subdirectory.
3000         * config/basic_file_libio.cc: Same.
3001         * config/c_io_libio.h: Same.
3002         * config/c_io_libio_codecvt.c: Same.
3003         * config/basic_file_stdio.h: Same.
3004         * config/basic_file_stdio.cc: Same.
3005         * config/c_io_stdio.h: Same.
3006
3007         * po: New directory.
3008         * po/POTFILES.in: New file.
3009         * po/Makefile.am: New file.
3010         * po/Makefile.in: New file.
3011         * po/libstdc++.pot: Generic translation file.
3012         * po/fr.po: Preliminary French translation.
3013         * po/de.po: Preliminary German translation.
3014         * intl: New directory.
3015         * intl/Makefile.am: New file.
3016         * intl/Makefile.in: New file.
3017         * intl/string_literals.cc: New file.
3018         * acinclude.m4 (GLIBCPP_CONFIGURE): Bump VERSION to 3.1.0. Add
3019         requisite setup for gettext. Re-arrange.
3020         * aclocal.m4: Regenerate.
3021         * configure.in: Don't call GLIBCPP_CHECK_COMPILER_VERSION.
3022         Output Makefile bits for po and intl.
3023         * configure: Regenerate.
3024         * Makefile.am (SUBDIRS): Add intl, po. Add rule for dist.
3025         * Makefile.in: Regenerate.
3026         * acconfig.h: Add ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY.
3027         * config.h.in: Regenerate.
3028
3029         * acinclude.m4 (AC_REPLACE_STRINGFUNCS): Remove.
3030
3031         * include/Makefile.am (install-data-local): Don't install Makefile.
3032         * include/Makefile.in: Regenerate.
3033
3034         * include/bits/locale_facet.h (locale::facet::_S_clone_c_locale):
3035         Add member.
3036         * config/locale/c_locale_gnu.cc (_S_clone_c_locale): Add definition.
3037         * config/locale/c_locale_generic.cc: Same.
3038         * config/locale/c_locale_ieee_1003.1-200x.cc: Same.
3039
3040         * include/bits/codecvt.h: Excise non-standard, non-required
3041         bits. This includes __enc_traits, and partial specializations of
3042         codecvt for __enc_traits.
3043         * src/codecvt.cc (__enc_traits::_S_max_size): Guard
3044         * config/codecvt_partials_ieee_1003.1-200x.h: New file.
3045         * config/codecvt_partials_generic.h: New file.
3046         * include/Makefile.am (allstamps): Add stamp-codecvt_model.
3047         (stamp-codecvt_model): Add.
3048         * include/Makefile.in: Regenerate.
3049         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in codecvt configury.
3050         * aclocal.m4: Regenerate.
3051         * configure: Regenerate.
3052         * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Use macro guard.
3053         * testsuite/22_locale/codecvt_unicode_char.cc: Same.
3054         * testsuite/22_locale/ctor_copy_dtor.cc: And here.
3055
3056         * include/bits/localefwd.h (class locale::facet): Add __enc_traits
3057         as a friend for _S_*_c_locale functions.
3058         * include/bits/codecvt.h (__enc_traits::__enc_traits): Add locale
3059         argument to default constructor so that CODESET information can be
3060         deduced.
3061         * include/bits/locale_facets.h (messages_byname):
3062         Re-implement. Remove specializations.
3063         * src/locale.cc (messages_byname<char>): Remove specialization.
3064         (messages_byname<wchar_t>): Same.
3065         * config/locale/c_locale_ieee_1003.1-200x.cc: New file.
3066         * config/locale/c_locale_ieee_1003.1-200x.h: New file.
3067         * config/locale/messages_members_ieee_1003.1-200x.cc: New file.
3068         * config/locale/messages_members_ieee_1003.1-200x.h: New file.
3069         * config/locale/messages_members_gnu.cc: New file.
3070         * config/locale/messages_members_gnu.h: New file.
3071         * config/locale/messages_members_generic.cc: New file.
3072         * config/locale/messages_members_generic.h: New file.
3073
3074         * docs/html/configopts.html: Add documentation for new locale
3075         model, ieee_1003.1. Adjust other flags for current defaults.
3076         * docs/html/22_locale/locale.html: Update.
3077         * docs/html/22_locale/howto.html: Add link to messages.html. Organize.
3078         * docs/html/22_locale/messages.html: New.
3079
3080         * src/Makefile.am (sources): Add messages_virtuals.cc.
3081         * src/Makefile.in: Regenerate.
3082         * include/Makefile.am (allstamps): Add stamp-messages_model.
3083         (stamp-messages_model): Add.
3084         * include/Makefile.in: Regenerate.
3085         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in messages configury.
3086         * aclocal.m4: Regenerate.
3087         * configure: Regenerate.
3088
3089         * testsuite_flags.in (--cxxflags): Add LOCALEDIR.
3090         * testsuite/lib/libstdc++-v3-dg.exp: Remove broken LD_LIBRARY_PATH
3091         bits for Irix.
3092         * acinclude (GLIBCPP_ENABLE_CLOCALE): Set glibcpp_localedir to the
3093         build directories message catalog base directory, and export.
3094         Eventually this should probably be made to deal with build and
3095         install directories. For now, punt on this as the library itself
3096         doesn't use message catalogs (yet).
3097         * testsuite/22_locale/messages.cc: New file.
3098         * testsuite/22_locale/messages_char_members.cc: New file.
3099         * testsuite/22_locale/messages_byname.cc: New file.
3100
3101 2001-08-06  Phil Edwards  <pme@sources.redhat.com>
3102
3103         * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE):  New macro, calls...
3104         (GLIBCPP_CHECK_SETRLIMIT):  ...this new macro, which also uses...
3105         (GLIBCPP_CHECK_SETRLIMIT_ancilliary):  ...this new macro.
3106         * configure.in (AM_CONFIG_HEADER):  Also generate testsuite_hooks.h.
3107         Call GLIBCPP_CONFIGURE_TESTSUITE.
3108         * aclocal.m4:  Regenerate.
3109         * config.h.in:  Regenerate.
3110         * configure:  Regenerate.
3111
3112         * testsuite/lib/libstdc++-v3-dg.exp:  Download new header instead
3113         of old header.
3114
3115         * testsuite_flags.in:  Add build dir's testsuite to INCLUDES.
3116         * testsuite/debug_assert.h:  Removed; contents merged into...
3117         * testsuite/testsuite_hooks.h.in:  ...here.  New file.
3118         * testsuite/17_intro/header_ciso646.cc:  No longer include
3119         debug_assert.h, include testsuite_hooks.h instead.
3120         * testsuite/17_intro/header_fstream.cc:  Likewise.
3121         * testsuite/17_intro/header_iomanip.cc:  Likewise.
3122         * testsuite/17_intro/header_ios.cc:  Likewise.
3123         * testsuite/17_intro/header_iosfwd.cc:  Likewise.
3124         * testsuite/17_intro/header_iostream.cc:  Likewise.
3125         * testsuite/17_intro/header_istream.cc:  Likewise.
3126         * testsuite/17_intro/header_ostream.cc:  Likewise.
3127         * testsuite/17_intro/header_sstream.cc:  Likewise.
3128         * testsuite/17_intro/header_streambuf.cc:  Likewise.
3129         * testsuite/18_support/numeric_limits.cc:  Likewise.
3130         * testsuite/19_diagnostics/stdexceptions.cc:  Likewise.
3131         * testsuite/20_util/allocator_members.cc:  Likewise.
3132         * testsuite/20_util/auto_ptr.cc:  Likewise.
3133         * testsuite/20_util/pairs.cc:  Likewise.
3134         * testsuite/21_strings/append.cc:  Likewise.
3135         * testsuite/21_strings/capacity.cc:  Likewise.
3136         * testsuite/21_strings/char_traits_requirements.cc:  Likewise.
3137         * testsuite/21_strings/compare.cc:  Likewise.
3138         * testsuite/21_strings/ctor_copy_dtor.cc:  Likewise.  Also set up
3139         call to (disabled) __set_testsuite_memlimit() wrapper.
3140         * testsuite/21_strings/element_access.cc:  Likewise.
3141         * testsuite/21_strings/find.cc:  Likewise.
3142         * testsuite/21_strings/insert.cc:  Likewise.  Also set up call to
3143         (disabled) __set_testsuite_memlimit() wrapper.
3144         * testsuite/21_strings/inserters_extractors.cc:  Likewise.
3145         * testsuite/21_strings/invariants.cc:  Likewise.
3146         * testsuite/21_strings/nonmember.cc:  Likewise.
3147         * testsuite/21_strings/operations.cc:  Likewise.
3148         * testsuite/21_strings/replace.cc:  Likewise.
3149         * testsuite/21_strings/rfind.cc:  Likewise.
3150         * testsuite/21_strings/substr.cc:  Likewise.
3151         * testsuite/22_locale/codecvt_char_char.cc:  Likewise.
3152         * testsuite/22_locale/codecvt_unicode_char.cc:  Likewise.
3153         * testsuite/22_locale/codecvt_unicode_wchar_t.cc:  Likewise.
3154         * testsuite/22_locale/codecvt_wchar_t_char.cc:  Likewise.
3155         * testsuite/22_locale/ctor_copy_dtor.cc:  Likewise.
3156         * testsuite/22_locale/ctype_char_members.cc:  Likewise.
3157         * testsuite/22_locale/ctype_wchar_t_members.cc:  Likewise.
3158         * testsuite/22_locale/facet.cc:  Likewise.
3159         * testsuite/22_locale/global_templates.cc:  Likewise.
3160         * testsuite/22_locale/members.cc:  Likewise.
3161         * testsuite/22_locale/numpunct_byname.cc:  Likewise.
3162         * testsuite/22_locale/numpunct_char_members.cc:  Likewise.
3163         * testsuite/22_locale/operators.cc:  Likewise.
3164         * testsuite/22_locale/static_members.cc:  Likewise.
3165         * testsuite/23_containers/bitset_ctor.cc:  Likewise.
3166         * testsuite/23_containers/bitset_members.cc:  Likewise.
3167         * testsuite/23_containers/bitset_shift.cc:  Likewise.
3168         * testsuite/23_containers/vector_capacity.cc:  Likewise.
3169         * testsuite/23_containers/vector_ctor.cc:  Likewise.
3170         * testsuite/23_containers/vector_element_access.cc:  Likewise.
3171         * testsuite/23_containers/vector_modifiers.cc:  Likewise.
3172         * testsuite/24_iterators/istreambuf_iterator.cc:  Likewise.
3173         * testsuite/24_iterators/iterator.cc:  Likewise.
3174         * testsuite/24_iterators/ostreambuf_iterator.cc:  Likewise.
3175         * testsuite/25_algorithms/binary_search.cc:  Likewise.
3176         * testsuite/25_algorithms/copy.cc:  Likewise.
3177         * testsuite/25_algorithms/heap.cc:  Likewise.
3178         * testsuite/25_algorithms/lower_bound.cc:  Likewise.
3179         * testsuite/25_algorithms/min_max.cc:  Likewise.
3180         * testsuite/25_algorithms/partition.cc:  Likewise.
3181         * testsuite/25_algorithms/rotate.cc:  Likewise.
3182         * testsuite/25_algorithms/sort.cc:  Likewise.
3183         * testsuite/26_numerics/c_math.cc:  Likewise.
3184         * testsuite/26_numerics/complex_inserters_extractors.cc:  Likewise.
3185         * testsuite/26_numerics/complex_value.cc:  Likewise.
3186         * testsuite/27_io/filebuf.cc:  Likewise.
3187         * testsuite/27_io/filebuf_members.cc:  Likewise.
3188         * testsuite/27_io/filebuf_virtuals.cc:  Likewise.
3189         * testsuite/27_io/fpos.cc:  Likewise.
3190         * testsuite/27_io/fstream_members.cc:  Likewise.
3191         * testsuite/27_io/ifstream_members.cc:  Likewise.
3192         * testsuite/27_io/ios_base_callbacks.cc:  Likewise.
3193         * testsuite/27_io/ios_base_members_static.cc:  Likewise.
3194         * testsuite/27_io/ios_base_storage.cc:  Likewise.
3195         * testsuite/27_io/ios_ctor.cc:  Likewise.
3196         * testsuite/27_io/ios_init.cc:  Likewise.
3197         * testsuite/27_io/ios_manip_basefield.cc:  Likewise.
3198         * testsuite/27_io/ios_manip_fmtflags.cc:  Likewise.
3199         * testsuite/27_io/ios_members.cc:  Likewise.
3200         * testsuite/27_io/istream_extractor_arith.cc:  Likewise.
3201         * testsuite/27_io/istream_extractor_char.cc:  Likewise.
3202         * testsuite/27_io/istream_extractor_other.cc:  Likewise.
3203         * testsuite/27_io/istream_manip.cc:  Likewise.
3204         * testsuite/27_io/istream_seeks.cc:  Likewise.
3205         * testsuite/27_io/istream_sentry.cc:  Likewise.
3206         * testsuite/27_io/istream_unformatted.cc:  Likewise.
3207         * testsuite/27_io/istringstream_members.cc:  Likewise.
3208         * testsuite/27_io/narrow_stream_objects.cc:  Likewise.
3209         * testsuite/27_io/ofstream_members.cc:  Likewise.
3210         * testsuite/27_io/ostream_inserter_arith.cc:  Likewise.
3211         * testsuite/27_io/ostream_inserter_char.cc:  Likewise.
3212         * testsuite/27_io/ostream_inserter_other.cc:  Likewise.
3213         * testsuite/27_io/ostream_manip.cc:  Likewise.
3214         * testsuite/27_io/ostream_seeks.cc:  Likewise.
3215         * testsuite/27_io/ostream_unformatted.cc:  Likewise.
3216         * testsuite/27_io/ostringstream_members.cc:  Likewise.
3217         * testsuite/27_io/streambuf.cc:  Likewise.
3218         * testsuite/27_io/stringbuf.cc:  Likewise.
3219         * testsuite/27_io/stringbuf_virtuals.cc:  Likewise.
3220         * testsuite/27_io/stringstream.cc:  Likewise.
3221         * testsuite/27_io/stringstream_members.cc:  Likewise.
3222         * testsuite/27_io/wide_stream_objects.cc:  Likewise.
3223
3224 2001-07-31  Loren J. Rittle  <ljrittle@acm.org>
3225
3226         * src/gen-num-limits.cc:  Use __LONG_LONG_MAX__.
3227
3228 2001-07-30  Benjamin Kosnik  <bkoz@redhat.com>
3229
3230         * configure.target: Remove mips from cpu table.
3231         * config/cpu/mips/bits/atomicity.h: Remove generic
3232         versions. Comment sgidefs include.
3233
3234 2001-07-25  H.J. Lu <hjl@gnu.org>
3235
3236         * configure.target (cpu_include_dir): Set to `config/cpu/mips'
3237         for mips.
3238
3239         * config/cpu/mips/bits/atomicity.h: New.
3240
3241 2001-07-25  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3242
3243         * acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf,
3244         hypotl, atan2f, atan2l.  Remove from REPLACE_MATHFUNCS list.
3245         * aclocal.m4: Regenerate.
3246         * config.h.in: Likewise.
3247         * configure: Likewise.
3248         * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove hypotl.c
3249         (EXTRA_DIST): Remove hypot.c hypotf.c.
3250         * libmath/Makefile.am: Regenerate.
3251         * libmath/hypotf.c: Remove.
3252         * libmath/hypot.c: Likewise.
3253         * libmath/hypotl.c: Likewise.
3254         * libmath/stubs.c: The macros seen here are HAVE_xxx, not
3255         _GLIBCPP_HAVE_xxx.  Add long double versions.
3256
3257 2001-07-23  David Edelsohn  <edelsohn@gnu.org>
3258
3259         * include/bits/limits_generic.h (int): Set digits and digits10
3260         appropriately for word size.
3261         (unsigned int,long,unsigned long): Likewise.
3262
3263 2001-07-19  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
3264
3265         * include/bits/stl_algo.h : Fix typos.
3266         * testsuite/25_algorithms/unique.cc: New file.
3267
3268 2001-07-19  Phil Edwards  <pme@sources.redhat.com>
3269             Mark Mitchell <mark@codesourcery.com>
3270
3271         Merge from cp-parser-branch.
3272         * include/bits/basic_string.h:  Qualify symbols with 'template'.
3273         * include/bits/basic_string.tcc:  Likewise.
3274         * include/bits/fstream.tcc:  Likewise.
3275         * include/bits/istream.tcc:  Likewise.
3276         * include/bits/sstream.tcc:  Likewise.
3277         * include/bits/std_istream.h:  Likewise.
3278         * include/bits/stl_iterator.h:  Likewise.
3279         * include/bits/streambuf.tcc:  Likewise.
3280         * src/gen-num-limits.cc:  Add 'template<>' to specializations.
3281         * src/locale.cc:  Likewise.
3282
3283 2001-07-19  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3284             Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
3285
3286         * src/gen-num-limits.cc (set_signals_handler): New function.
3287         Factor out signals setting.  Set signal handler for SIGILL.
3288
3289 2001-07-18  Phil Edwards  <pme@sources.redhat.com>
3290
3291         * docs/html/27_io/howto.html:  Fix typo.
3292         * docs/html/faq/index.html:  Minor updates for 3.0 all around.
3293         * docs/html/faq/index.txt:  Regenerated.
3294