OSDN Git Service

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