OSDN Git Service

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