OSDN Git Service

2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
1 2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>
2             Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3             Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4         
5         * config/os/gnu-linux/bits/os_defines.h: Set to 64 bit longs with
6         __s390x__ only.
7         * include/bits/std_limits.h: Fix wchar_t issues.
8         * config/os/aix/bits/os_defines.h: Fix.
9         
10 2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>
11
12         * include/bits/locale_facets.tcc (collate::do_transform): Fix.
13
14 2001-10-25  Phil Edwards  <pme@gcc.gnu.org>
15
16         * docs/html/documentation.html:  Fix typo.
17
18 2001-10-23  Benjamin Kosnik  <bkoz@redhat.com>
19
20         Make -fno-exceptions work.
21         * config/locale/c_locale_gnu.cc: Use functexcept.
22         * include/bits/c++config (__stl_assert): Remove.
23         (__STL_USE_EXCEPTIONS): Same.
24         (__STL_TRY): Same.
25         (__STL_CATCH_ALL): Same.
26         (__STL_THROW): Same.
27         (__STL_RETHROW): Same.
28         (__STL_NOTHROW): Same.
29         (__STL_UNWIND): Same.
30         * include/bits/pthread_allocimpl.h: Fix.
31         * include/bits/std_bitset.h: Same.
32         * include/bits/std_list.h: Same.
33         * include/bits/std_memory.h: Same.
34         * include/bits/std_queue.h: Same.
35         * include/bits/stl_alloc.h: Same.
36         * include/bits/stl_deque.h: Same.
37         * include/bits/stl_list.h: Same.
38         * include/bits/stl_queue.h: Same.
39         * include/bits/stl_tempbuf.h: Same.
40         * include/bits/stl_tree.h: Same.
41         * include/bits/stl_uninitialized.h: Same.
42         * include/bits/stl_vector.h: Same.
43         * include/ext/ropeimpl.h: Same.
44         * include/ext/slist: Same.
45         * include/ext/stl_hashtable.h: Same.
46         * include/ext/stl_rope.h: Same.
47         * libsupc++/new_op.cc: Include cstdlib.
48         * libsupc++/eh_personality.cc: Add exception_defines include. Use
49         __throw_exception_again, tweak.
50         * libsupc++/eh_aux_runtime.cc: Include stdlib for abort.
51         * libsupc++/vec.cc: Tweak.
52         * src/functexcept.cc: Remove unused arguments.
53         * testsuite/23_containers/bitset_members.cc: Tweak.
54
55 2001-10-22  Benjamin Kosnik  <bkoz@redhat.com>
56
57         * config/cpu/i386/bits/limits.h: Move to...
58         * config/cpu/i386/bits/cpu_limits.h: ...here.
59         * config/cpu/cris/bits/cpu_limits.h: Same.
60         * config/cpu/powerpc/bits/cpu_limits.h: Same.   
61         * config/cpu/x86-64/bits/cpu_limits.h: Same.            
62         * config/cpu/alpha/bits/cpu_limits.h: New.
63         * config/cpu/m68k/bits/cpu_limits.h: New.
64         * config/cpu/s390/bits/cpu_limits.h: New.
65         * config/os/aix/bits/os_defines.h: Tweaks.
66         * config/os/bsd/freebsd/bits/os_defines.h: Same.
67         * config/os/bsd/netbsd/bits/os_defines.h: Same.
68         * config/os/djgpp/bits/os_defines.h: Same.
69         * config/os/generic/bits/os_defines.h: Same.
70         * config/os/gnu-linux/bits/os_defines.h: Same.
71         * config/os/hpux/bits/os_defines.h: Same.
72         * config/os/irix/irix5.2/bits/os_defines.h: Same.
73         * config/os/irix/irix6.5/bits/os_defines.h: Same.
74         * config/os/newlib/bits/os_defines.h: Same.
75         * config/os/solaris/solaris2.5/bits/os_defines.h: Same.
76         * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
77         * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
78         
79         * include/bits/c++config: Remove include.       
80         * include/bits/limits_generic.h: Remove.
81         * include/bits/std_limits.h: Include cpu_limits.h.
82         * include/Makefile.am: Fixup.
83         * src/limits.cc: Tweak.
84         * src/limits_generic.cc: Remove.
85         * src/gen-num-limits.cc: Remove.
86         * mknumeric_limits: Remove.
87         
88 2001-10-20  Brendan Kehoe  <brendan@zen.org>
89
90         * bits/type_traits.h (_Bool): Removed this type.
91         (__true_type, __false_type): Change to be plain structs.
92         * src/string-inst.cc (__destroy_aux): Change third parm to be
93         __false_type instead of _Bool<false>.
94         * src/misc-inst.cc (__uninitialized_fill_n_aux,
95         __uninitialized_copy_aux): Likewise.
96
97 2001-10-19  Benjamin Kosnik  <bkoz@redhat.com>
98
99         * mkcheck.in (static_fail): Remove older memory limit functionality.
100         Disable E_TIME due to formatting issues.
101
102         * README: Update.
103         
104 2001-10-19  Brendan Kehoe  <brendan@zen.org>
105
106         * include/bits/std_complex.h: Default initialize second argument
107         of polar to 0, as specified in Library DR #79
108
109 2001-10-19  Brendan Kehoe  <brendan@zen.org>
110
111         * include/bits/stl_raw_storage_iter.h (operator=): Fix to call
112         _Construct instead of construct.
113
114 2001-10-19  Brendan Kehoe  <brendan@zen.org>
115
116         * include/bits/basic_string.tcc (find_first_not_of): Take out check for
117         __n being non-zero, since the standard does not mandate that.
118         e.g., a search for "" in "" should yield position 0, not npos.
119         (find_last_not_of): Likewise.
120
121 2001-10-19  Brendan Kehoe  <brendan@zen.org>
122
123         * include/bits/stl_bvector.h (vector<bool>::_M_range_check): Fix
124         to throw out_of_range, not range_error, thus sayeth $23.1.1.13.
125
126 2001-10-19  Brendan Kehoe  <brendan@zen.org>
127
128         * include/bits/stl_iterator.h (reverse_iterator::current): Rename
129         member from _M_current, and change all uses; thus sayeth $24.4.1.1.
130
131 2001-10-19  Brendan Kehoe  <brendan@zen.org>
132  
133         * include/bits/stl_algo.h (partial_sort): Add missing `>' on the
134         template parameter _ValueType.
135
136 2001-10-19  Brendan Kehoe  <brendan@zen.org>
137
138         * include/bits/std_limits.h: Clean up extra semicolons.
139         * include/bits/locale_facets.h: Likewise.
140         * include/bits/type_traits.h: Likewise.
141
142 2001-10-19  Brendan Kehoe  <brendan@zen.org>
143
144         * include/bits/localefwd.h (locale::combine): Add const for lib DR 14.
145         * include/bits/locale_facets.tcc (locale::combine): Likewise.
146
147 2001-10-19  Benjamin Kosnik  <bkoz@redhat.com>
148
149         * include/bits/locale_facets.h (__timepunct::_M_put_helper):
150         Declare specializations for char, wchar_t.
151
152 2001-10-19  Andreas Jaeger  <aj@suse.de>
153
154         * config/cpu/x86-64/bits/limits.h: New file.
155         * config/cpu/x86-64/bits/atomicity.h: New file.
156         * configure.target: Add x86-64.
157
158 2001-10-17  Phil Edwards  <pme@gcc.gnu.org>
159
160         * docs/html/17_intro/howto.html:  Remove 1999 links (and explain
161         why).  Add link to recent message.
162         * docs/html/faq/index.html (5.6):  Reformat text only; fixup <pre>
163         markup.
164         * docs/html/faq/index.txt:  Regenerate.
165
166 2001-10-12  Loren J. Rittle  <ljrittle@acm.org>
167
168         * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Update
169         based on Nathan's review.  Use Nathan's words.
170
171 2001-10-11  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
172
173         * docs/html/configopts.html: Quote StyleSheet attribute values.
174         * docs/html/documentation.html: Likewise.
175         * docs/html/explanations.html: Likewise.
176         * docs/html/install.html: Likewise.
177         * docs/html/17_intro/howto.html: Likewise.
178         * docs/html/17_intro/license.html: Likewise.
179         * docs/html/18_support/howto.html: Likewise.
180         * docs/html/19_diagnostics/howto.html: Likewise.
181         * docs/html/20_util/howto.html: Likewise.
182         * docs/html/21_strings/howto.html: Likewise.
183         * docs/html/22_locale/howto.html: Likewise.
184         * docs/html/23_containers/howto.html: Likewise.
185         * docs/html/24_iterators/howto.html: Likewise.
186         * docs/html/25_algorithms/howto.html: Likewise.
187         * docs/html/26_numerics/howto.html: Likewise.
188         * docs/html/27_io/howto.html: Likewise.
189         * docs/html/ext/howto.html: Likewise.
190         * docs/html/ext/sgiexts.html: Likewise.
191         * docs/html/faq/index.html: Likewise.
192
193 2001-10-11  Loren J. Rittle  <ljrittle@acm.org>
194
195         * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Rewrite.
196         * docs/html/23_containers/howto.html (Containers and multithreading):
197         Update.
198
199 2001-10-09  Phil Edwards  <pme@gcc.gnu.org>
200
201         * docs/html/17_intro/howto.html:  Tweak markup and value type.
202         * docs/html/27_io/howto.html:  Tweak markup, describe setbuf() for
203         nonzero arguments, add new note on threading.
204         * docs/html/faq/index.html:  Update.
205         * docs/html/faq/index.txt:  Regenerate.
206
207 2001-10-09  Phil Edwards  <pme@gcc.gnu.org>
208
209         * docs/html/configopts.html:  More HTML->XHTML and lowercasing of tags.
210         * docs/html/documentation.html:  Likewise.
211         * docs/html/explanations.html:  Likewise.
212         * docs/html/install.html:  Likewise.
213         * docs/html/17_intro/howto.html:  Likewise.
214         * docs/html/17_intro/license.html:  Likewise.  Tighten up language.
215         * docs/html/18_support/howto.html:  Likewise.
216         * docs/html/19_diagnostics/howto.html:  Likewise.
217         * docs/html/20_util/howto.html:  Likewise.
218         * docs/html/21_strings/howto.html:  Likewise.
219         * docs/html/22_locale/howto.html:  Likewise.
220         * docs/html/23_containers/howto.html:  Likewise.
221         * docs/html/24_iterators/howto.html:  Likewise.
222         * docs/html/25_algorithms/howto.html:  Likewise.
223         * docs/html/26_numerics/howto.html:  Likewise.
224         * docs/html/27_io/howto.html:  Likewise.
225         * docs/html/ext/howto.html:  Likewise.
226         * docs/html/ext/sgiexts.html:  Likewise.
227         * docs/html/faq/index.html:  Likewise.  Not so many absolute links.
228         * docs/html/faq/index.txt:  Regenerate.
229
230 2001-10-07  Joseph S. Myers  <jsm28@cam.ac.uk>
231
232         * docs/html/22_locale/locale.html, docs/html/faq/index.html: Fix
233         spelling errors of "separate" as "seperate", and corresponding
234         spelling errors of related words.
235         * docs/html/faq/index.txt: Regenerate.
236
237 2001-10-05  Phil Edwards  <pme@gcc.gnu.org>
238
239         * config/cpu/alpha/bits/atomicity.h (__compare_and_swap):  Remove
240         unused function.
241         * config/cpu/arm/bits/atomicity.h:  Likewise.
242         * config/cpu/generic/bits/atomicity.h:  Likewise.
243         * config/cpu/i486/bits/atomicity.h:  Likewise.
244         * config/cpu/ia64/bits/atomicity.h:  Likewise.
245         * config/cpu/mips/bits/atomicity.h:  Likewise.
246         * config/cpu/powerpc/bits/atomicity.h:  Likewise.
247         * config/cpu/sparc/sparc32/bits/atomicity.h:  Likewise.
248         * config/cpu/sparc/sparc64/bits/atomicity.h:  Likewise.
249
250 2001-10-04  Phil Edwards  <pme@gcc.gnu.org>
251
252         * docs/html/faq/index.html:  Describe DR #22, and a workaround.
253         * docs/html/faq/index.txt:  Regenerate.
254
255 2001-10-04  Phil Edwards  <pme@gcc.gnu.org>
256
257         * docs/html/17_intro/COPYING.DOC:  New file, GFDL v1.1 from the FSF.
258         * docs/html/17_intro/license.html:  New file.  Explain the licenses
259         in use.
260
261         * docs/html/configopts.html:  Link to license.html.
262         * docs/html/documentation.html:  Likewise.
263         * docs/html/explanations.html:  Likewise.
264         * docs/html/install.html:  Likewise.
265         * docs/html/17_intro/howto.html:  Likewise.
266         * docs/html/18_support/howto.html:  Likewise.
267         * docs/html/19_diagnostics/howto.html:  Likewise.
268         * docs/html/20_util/howto.html:  Likewise.
269         * docs/html/21_strings/howto.html:  Likewise.
270         * docs/html/22_locale/howto.html:  Likewise.
271         * docs/html/23_containers/howto.html:  Likewise.
272         * docs/html/24_iterators/howto.html:  Likewise.
273         * docs/html/25_algorithms/howto.html:  Likewise.
274         * docs/html/26_numerics/howto.html:  Likewise.
275         * docs/html/27_io/howto.html:  Likewise.
276         * docs/html/ext/howto.html:  Likewise.
277         * docs/html/ext/sgiexts.html:  Likewise.
278         * docs/html/faq/index.html:  Likewise.  New question, linking to
279         the new license.html.
280
281 2001-10-04  Phil Edwards  <pme@gcc.gnu.org>
282
283         * docs/html/17_intro/howto.html:  Fix mis-sed in header from 20010917.
284         * docs/html/18_support/howto.html:  Likewise.
285         * docs/html/19_diagnostics/howto.html:  Likewise.
286         * docs/html/20_util/howto.html:  Likewise.
287         * docs/html/21_strings/howto.html:  Likewise.
288         * docs/html/22_locale/howto.html:  Likewise.
289         * docs/html/23_containers/howto.html:  Likewise.
290         * docs/html/24_iterators/howto.html:  Likewise.
291         * docs/html/25_algorithms/howto.html:  Likewise.
292         * docs/html/26_numerics/howto.html:  Likewise.
293         * docs/html/27_io/howto.html:  Likewise.
294         * docs/html/ext/howto.html:  Likewise.
295         * docs/html/faq/index.html:  Likewise.  Spacing fix.
296
297 2001-10-03  Dimitris Vyzovitis  <vyzo@media.mit.edu>
298
299         * include/bits/stl_threads.h (_Atomic_swap): New function.
300         (_Swap_lock_struct<__dummy>::_S_swap_lock): New data.
301         * testsuite/ext/rope.cc: New file.
302
303 2001-10-02  Benjamin Kosnik  <bkoz@redhat.com>
304
305         * config/locale/time_members_gnu.h: Remove.
306         * config/locale/time_members_generic.h: Remove. 
307         * config/locale/time_members_gnu.cc (__timepunct::_M_put_helper): Add.
308         * config/locale/time_members_generic.cc: Same.
309         * include/bits/locale_facets.h: Add data members.
310         (__timepunct::_M_put_helper): Change signature.
311         (__timepunct::_M_date_formats): Same.
312         (__timepunct::_M_time_formats): Same.   
313         (__timepunct::_M_ampm): Add.
314         (__timepunct::_M_date_time_formats): Add.
315         (time_get::_M_extract_via_format): Add.
316         (time_get::_M_extract_time): Change to...
317         (time_get::_M_extract_num): ... this, modify signature.
318         * include/bits/locale_facets.tcc (time_get::do_get_year): Fix.
319         (time_get::do_get_time): Fix.
320         (time_get::do_get_date): Fix.   
321         
322         * acinclude.m4: Remove CTIME_H.
323         * aclocal.m4: Regenerate.
324         * include/Makefile.am: Same.
325         * include/Makefile.in: Regenerate.
326         * configure: Regenerate.
327
328         * testsuite/22_locale/time_get_members_char.cc: Fix.
329         * testsuite/22_locale/time_get_members_wchar_t.cc: Add.
330         * testsuite/22_locale/time_put_members_wchar_t.cc: Add. 
331         
332 2001-10-01  Hans-Peter Nilsson  <hp@axis.com>
333
334         * config/cpu/cris/bits/atomicity.h: Correct file header.
335
336 2001-09-29  Hans-Peter Nilsson  <hp@axis.com>
337
338         * configure.target (LIMITSH): Set for cris.
339         (cpu_include_dir): Set for cris-*-*.
340         * config/cpu/cris/bits/atomicity.h: New file.
341         * config/cpu/cris/bits/limits.h: New file.
342
343 2001-09-28  Benjamin Kosnik  <bkoz@redhat.com>
344
345         * config/locale/time_members_gnu.h (__timepunct::_M_get_helper): Add.
346         (__timepunct::_M_put_helper): Add.
347         * config/locale/time_members_generic.h: Same.
348         * include/bits/locale_facets.h (__match_parallel): Remove. Format.
349         (__timepunct): Add data members.
350         (__timepunct::_M_days): Add.
351         (__timepunct::_M_days_abbreviated): Add.
352         (__timepunct::_M_months): Add.
353         (__timepunct::_M_months_abbreviated): Add.
354         (__timepunct::_M_initialize_timepunct): Add.
355         * include/bits/locale_facets.tcc: Same. 
356         * src/locale-inst.cc: Remove instantiations for __match_parallel.
357         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_CC.
358         * aclocal.m4: Regenerate.
359         * configure: Regenerate.
360         * testsuite/22_locale/time_put_members_char.cc: Mark XFAIL.
361         * testsuite/22_locale/time_put_members_char.cc (test01): New file.
362         * testsuite/22_locale/time_get.cc: New file.
363
364 2001-09-28  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
365
366         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
367         correct multilib builddir.
368         Properly locate libgcc_s.
369
370 2001-09-27  Phil Edwards  <pme@gcc.gnu.org>
371
372         * include/std/*:  Add Doxygen hooks.
373         * docs/doxygen/Intro.3:  New file, general intro to the man pages.
374         * docs/doxygen/mainpage.doxy:  Formatting tweaks.  List our own links
375         rather than using a generated index.
376         * docs/doxygen/user.cfg.in:  Disable the index, enable man pages.
377         * docs/doxygen/run_doxygen:  Massage the generated man pages, using...
378         * docs/doxygen/stdheader.cc:  ...this new file.
379
380 2001-09-26  Stan Shebs  <shebs@apple.com>
381
382         * include/Makefile.am: Remove RCS Id strings.
383         * src/Makefile.am: Ditto.
384         * docs/doxygen/run_doxygen: Ditto.
385         * docs/html/configopts.html: Ditto.
386         * docs/html/documentation.html: Ditto.
387         * docs/html/explanations.html: Ditto.
388         * docs/html/install.html: Ditto.
389         * docs/html/17_intro/howto.html: Ditto.
390         * docs/html/18_support/howto.html: Ditto.
391         * docs/html/19_diagnostics/howto.html: Ditto.
392         * docs/html/20_util/howto.html: Ditto.
393         * docs/html/21_strings/howto.html: Ditto.
394         * docs/html/22_locale/howto.html: Ditto.
395         * docs/html/23_containers/howto.html: Ditto.
396         * docs/html/24_iterators/howto.html: Ditto.
397         * docs/html/25_algorithms/howto.html: Ditto.
398         * docs/html/26_numerics/howto.html: Ditto.
399         * docs/html/27_io/howto.html: Ditto.
400         * docs/html/ext/howto.html: Ditto.
401         * docs/html/ext/sgiexts.html: Ditto.
402         * docs/html/faq/index.html: Ditto.
403         * docs/html/faq/index.txt: Ditto.
404         
405 2001-09-25  Phil Edwards  <pme@gcc.gnu.org>
406
407         * testsuite/21_strings/c_strings.cc (test01, test02):  Increase
408         `carray' size.
409
410 2001-09-25  Phil Edwards  <pme@gcc.gnu.org>
411
412         * docs/html/20_util/howto.html:  Add anchor name.
413         * docs/html/23_containers/howto.html:  Line wrapping, another link.
414         * docs/html/25_algorithms/howto.html:  Another note.
415
416         * docs/html/ext/howto.html:  Link to SGI extensions.  List DRs and
417         link to them...
418         * docs/html/ext/lwg-active.html:  ...in this new file (from R19),
419         * docs/html/ext/lwg-defects.html:  and this new file (from R19).
420         * docs/html/ext/sgiexts.html:  New file.  Mention SGI extensions
421         carried over to libstdc++-v3.
422         * docs/html/faq/index.html:  Link to SGI extensions.  Mention the
423         "missing .." pseudobug.
424         * docs/html/faq/index.txt:  Regenerate.
425
426         * include/bits/ios_base.h:  DR-related comment cleanup.
427         * include/bits/istream.tcc:  Likewise.
428         * include/bits/locale_facets.h:  Likewise.
429         * include/bits/locale_facets.tcc:  Likewise.
430         * include/bits/ostream.tcc:  Likewise.
431         * include/bits/std_bitset.h:  Likewise.
432         * include/bits/std_iosfwd.h:  Likewise.
433         * include/bits/std_istream.h:  Likewise.
434         * include/bits/std_ostream.h:  Likewise.
435         * include/bits/std_streambuf.h:  Likewise.
436         * include/bits/stl_pair.h:  Likewise.
437         * include/bits/streambuf_iterator.h:  Likewise.
438
439         * include/bits/std_map.h:  Remove unused header inclusion guard
440         _CPP_BITS_STL_TREE_H from around bits/stl_tree.h.
441         * include/bits/std_set.h:  Likewise.
442
443         * include/bits/stl_function.h:  Doxygen markup.
444         * docs/doxygen/doxygroups.cc:  New file, specifying module grouping.
445         * libsupc++/typeinfo:  Doxygen markup tweak.
446
447 2001-09-20  Scott Johnston <scott@accom.com>
448             Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
449
450         * include/backward/alloc.h: Conditionally define malloc_alloc 
451         * testsuite/backward/header_deque_h.cc: New file.
452
453 2001-09-20  Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
454
455         * libstdc++-v3/include/bits/locale_facets.tcc (money_put::do_put): 
456         change variable name so that it works with -fno-for-scope.
457
458 2001-09-20  Benjamin Kosnik  <bkoz@redhat.com>
459
460         * testsuite/22_locale/numpunct_members_char.cc (test01): Remove
461         redundant sanity checks.
462         * testsuite/22_locale/money_put_members_wchar_t.cc (test01): Same.
463         (test02): Same.
464         * testsuite/22_locale/money_put_members_char.cc (test01): Same.
465         (test02): Same.
466         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test01): Same.
467         * testsuite/22_locale/moneypunct_members_char.cc (test01): Same.
468         * testsuite/22_locale/money_get_members_wchar_t.cc (test01): Same.
469         (test02): Same.
470         * testsuite/22_locale/money_get_members_char.cc (test01): Same.
471         (test02): Same.
472
473 2001-09-19  Benjamin Kosnik  <bkoz@redhat.com>
474
475         Implement std::time_put.
476         * include/bits/locale_facets.h: Include time_members.h.
477         (__timepunct): New.
478         (time_put): Implement.
479         * include/bits/locale_facets.tcc (do_put): Put generic versions here.
480         * include/bits/localefwd.h: Bump number of facets.
481         * config/locale/time_members_generic.h: New file.
482         * config/locale/time_members_gnu.h: New file.
483         * config/locale/c_locale_generic.h: Include clocale.
484         * src/locale-inst.cc: Add use_facet instantiations for __timepunct.
485         * src/locale.cc: Add __timepunct initializations.
486         * src/localename.cc (locale::_Impl::_Impl(string, size_t)): Same.
487         * include/Makefile.am (stamp-target): Add time_members.h.
488         * include/Makefile.in: Regenerate.
489         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_H.
490         * aclocal.m4: Regenerate.
491         * configure: Regenerate.
492         * testsuite/22_locale/time_put.cc: New file.
493         * testsuite/22_locale/time_put_members_char.cc: New file.
494
495         * docs/html/22_locale/locale.html: Add note.
496
497 2001-09-17  Phil Edwards  <pme@gcc.gnu.org>
498
499         * docs/html/configopts.html:  HTML to XHTML change.  Lowercase tags.
500         * docs/html/documentation.html:  Likewise.
501         * docs/html/explanations.html:  Likewise.
502         * docs/html/install.html:  Likewise.
503         * docs/html/17_intro/howto.html:  Likewise.
504         * docs/html/18_support/howto.html:  Likewise.
505         * docs/html/19_diagnostics/howto.html:  Likewise.
506         * docs/html/20_util/howto.html:  Likewise.
507         * docs/html/21_strings/howto.html:  Likewise.
508         * docs/html/22_locale/codecvt.html:  Likewise.
509         * docs/html/22_locale/ctype.html:  Likewise.
510         * docs/html/22_locale/howto.html:  Likewise.
511         * docs/html/22_locale/locale.html:  Likewise.
512         * docs/html/22_locale/messages.html:  Likewise.
513         * docs/html/23_containers/howto.html:  Likewise.
514         * docs/html/24_iterators/howto.html:  Likewise.
515         * docs/html/25_algorithms/howto.html:  Likewise.
516         * docs/html/26_numerics/howto.html:  Likewise.
517         * docs/html/27_io/howto.html:  Likewise.
518         * docs/html/ext/howto.html:  Likewise.
519         * docs/html/faq/index.html:  Likewise.
520         * docs/html/faq/index.txt:  Regenerated.
521
522 2001-09-14  Phil Edwards  <pme@sources.redhat.com>
523
524         * docs/html/17_intro/headers_cc.txt:  "Sync"/copy real file over.
525         * docs/html/17_intro/howto.html:  Spacing and HTML markup fixes.
526         * docs/html/18_support/howto.html:  It won't compile; it's not code.
527         * docs/html/19_diagnostics/howto.html:  Point diagram seekers to
528         doxygen'd pages.
529         * docs/html/22_locale/howto.html:  Comment for future work.
530         * docs/html/23_containers/howto.html:  More comments.
531         * docs/html/25_algorithms/howto.html:  It's a comment, not a
532         blunt command to the reader.  (English grammar.)
533
534 2001-09-14  Benjamin Kosnik  <bkoz@redhat.com>
535
536         * config/locale/moneypunct_members_gnu.cc: Fix initialization of
537         wchar_t members.
538         * testsuite/22_locale/money_get_members_wchar_t.cc (test02): New file.
539         * testsuite/22_locale/money_put_members_wchar_t.cc (test02): Fix.
540
541 2001-09-14  Benjamin Kosnik  <bkoz@redhat.com>
542
543         * include/bits/locale_facets.tcc: Conditionalize use of strtold.
544
545 2001-09-13  Alexandre Petit-Bianco  <apbianco@redhat.com>
546
547         * testsuite/22_locale/money_get_members_char.cc: Fixed typo in comment.
548         * testsuite/22_locale/money_put_members_char.cc: Likewise.
549         * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
550
551 2001-09-13  Benjamin Kosnik  <bkoz@redhat.com>
552
553         Implement std::money_get.
554         * include/bits/locale_facets.tcc (money_get::do_get): Implement.
555         * include/bits/locale_facets.h (money_get): Correct signatures.
556         * testsuite/22_locale/money_get.cc: New file.
557         * testsuite/22_locale/money_get_members_char.cc: New file.
558
559         * include/bits/locale_facets.tcc (__verify_grouping): New
560         function. Consolidate num_get and money_get group checking into
561         one function.
562         (money_get): Use it.
563         * src/locale.cc (num_get::_M_extract): Use it.
564         * src/locale-inst.cc: Add instantiation.
565         
566 2001-09-12  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
567
568         * include/bits/std_limits.h (numeric_limits<float>::radix,
569         numeric_limits<float>::epsilon:  Fix thinko.
570
571 2001-09-10  Benjamin Kosnik  <bkoz@redhat.com>
572
573         * configure.in: Fix cross compiling math routines. Correct
574         comments for cross compiling and limits. Add floating point math
575         routines found in newlib.
576         * configure: Regenerate.
577         * acconfig.h: Add macros.
578         * config.h.in: Regenerate.
579         
580 2001-09-10  Benjamin Kosnik  <bkoz@redhat.com>
581
582         * config/locale/moneypunct_members_generic.cc
583         (money_base::_S_construct_pattern): Remove unused parameters.
584
585 2001-09-10  Benjamin Kosnik  <bkoz@redhat.com>
586
587         * include/Makefile.am (stamp-target): Remove link to self.
588         * inclulde/Makefile.in: Regenerate.
589         
590 2001-09-09  Benjamin Kosnik  <bkoz@redhat.com>
591
592         Implement std::money_put.
593         * include/bits/locale_facets.h
594         (moneypunct::_M_initialize_moneypunct): Split up specializations
595         to account for _Intl.  More grody hacking to get around the
596         ill-considered use of const bool as a template parameter.
597         * config/locale/moneypunct_members_gnu.cc: And here.
598         * config/locale/moneypunct_members_generic.cc: And here.        
599         * testsuite/22_locale/moneypunct_members_char.cc: Add tests.
600         * testsuite/22_locale/moneypunct.cc: Add tests.
601         * testsuite/22_locale/money_put_members_wchar_t.cc: New file.
602         * testsuite/22_locale/moneypunct_members_wchar_t.cc: New file.
603         
604         * src/locale.cc (money_base::_S_construct_pattern): Move into
605         gnu-specific file.
606         * config/locale/moneypunct_members_gnu.cc: Add here.
607         * config/locale/moneypunct_members_generic.cc: Add generic version
608         here.
609
610         * include/bits/locale_facets.tcc (money_put::do_put): Move member
611         function definitions here.
612         * include/bits/locale_facets.h (money_put): Implement.
613         * src/locale-inst.cc: Add use_facet instantiations for moneypunct.
614         Correct money_get, money_put instantiations.
615         * src/locale.cc (money_base::_S_construct_pattern): Handle case
616         where __posn == 0.
617         * testsuite/22_locale/money_put_members_char.cc: Add tests.
618         
619 2001-09-05  Phil Edwards  <pme@sources.redhat.com>
620
621         * testsuite_flags.in:  No longer need to search testsuite builddir.
622         * src/stl-inst.cc (__sink_unused_warning):  Unused, remove.
623         * Makefile.am:  The testsuite directory never needs to be made here.
624         * Makefile.in:  Regenerate.
625         * include/Makefile.in:  Regenerate.
626         * libio/Makefile.in:  Regenerate.
627         * libmath/Makefile.in:  Regenerate.
628         * libsupc++/Makefile.in:  Regenerate.
629         * po/Makefile.in:  Regenerate.
630         * src/Makefile.in:  Regenerate.
631         * testsuite/Makefile.in:  Regenerate.
632
633 2001-09-04  Scott Johnston  <scott@accom.com>
634             Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
635
636         * include/backward/iterator.h: Include <bits/std_iterator.h>,
637         remove reverse_bidirectional_iterator. 
638         * testsuite/backward: New directory.
639         * testsuite/backward/header_iterator_h.cc: New file.
640         
641 2001-09-04  Benjamin Kosnik  <bkoz@redhat.com>
642
643         * include/c_std/bits/std_c*.h: Don't use include_next.
644
645 2001-09-03  Richard Sandiford  <rsandifo@redhat.com>
646
647         * libsupc++/eh_personality.cc (parse_lsda_header): Change type of
648         tmp from _Unwind_Ptr to _Unwind_Word.
649
650 2001-08-31  Jason Merrill  <jason_merrill@redhat.com>
651
652         * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Simplify
653         leb128 handling.
654
655 2001-08-28  Loren J. Rittle  <ljrittle@acm.org>
656
657         * include/Makefile.am: Use toplevel_srcdir to refer to src files
658         outside this component.
659         * include/Makefile.in: Regenerate.
660
661 2001-08-27  Benjamin Kosnik  <bkoz@redhat.com>
662
663         * config/locale/c_locale_gnu.cc: Move facet info to separate files...
664         * config/locale/c_locale_generic.cc: Same.
665         * config/locale/moneypunct_members_gnu.cc: New file.
666         * config/locale/moneypunct_members_generic.cc: New file.        
667         * config/locale/numpunct_members_gnu.cc: New file.
668         * config/locale/numpunct_members_generic.cc: New file.  
669         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add moneypunct, numpunct
670         options.
671         * aclocal.m4: Regenerate.
672         * configure: Regenerate.
673         * src/Makefile.am (sources): And here.
674         * src/Makefile.in: Regenerate.
675         
676         Rename for consistency with rest of testsuite.
677         * testsuite/22_locale/codecvt.cc: New file.
678         * testsuite/22_locale/money_put.cc: New file.
679         * testsuite/22_locale/money_put_members_char.cc: New file.
680         
681 2001-08-27  Phil Edwards  <pme@sources.redhat.com>
682
683         PR libstdc++/4143
684         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO):  Handle enable/disable
685         correctly for version-specific-runtime-libs.
686         * aclocal.m4:  Regenerate.
687         * configure:  Regenerate.
688
689 2001-08-24  Loren J. Rittle  <ljrittle@acm.org>
690
691         * config/cpu/i386/bits/limits.h (__glibcpp_long_double_bits): Only
692         define if not already provided by per-OS file.
693         * config/os/bsd/freebsd/bits/os_defines.h (__glibcpp_long_double_bits):
694         Define.
695
696 2001-08-24  Jan van Male <jan.vanmale@fenk.wau.nl>
697
698         * docs/html/17_intro/C++STYLE:  Fix typo.
699
700 2001-08-24  Phil Edwards  <pme@sources.redhat.com>
701
702         * docs/html/23_containers/howto.html:  Describe implementation of
703         insertion with hints.
704
705 2001-08-24  Kenny Simpson  <kenny.simpson@gs.com>
706
707         libstdc++/3740
708         * include/bits/std_sstream.h (basic_ostringstream): Fix ctor.
709
710 2001-08-24  Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
711             Phil Edwards  <pme@sources.redhat.com>
712
713         PR libstdc++/3349
714         * include/bits/stl_tree.h (insert_unique):  Revert last change.
715         Values inserted at begin() must be less, not greater, than *begin()'s.
716         * testsuite/23_containers/map_insert.cc:  New file.
717
718 2001-08-23  Benjamin Kosnik  <bkoz@redhat.com>
719
720         * config/locale/c_locale_gnu.cc: Minor tweaks.
721         (moneypunct<wchar_t>): Implement.
722         * include/bits/locale_facets.h: Same.
723         * testsuite/22_locale/moneypunct.cc: New file.
724         * testsuite/22_locale/moneypunct_byname.cc: New file.
725         * testsuite/22_locale/moneypunct_char_members.cc: New file.     
726
727 2001-08-23  David Edelsohn  <edelsohn@gnu.org>
728
729         * config/os/gnu-linux/bits/os_defines.h: Correct __s390__ definitions.
730         Set __powerpc__ long double definition based on __LONG_DOUBLE_128__.
731
732 2001-08-23  Jason Merrill  <jason_merrill@redhat.com>
733
734         * testsuite_flags.in (build-includes): Re-add backward.
735
736 2001-08-22  Benjamin Kosnik  <bkoz@redhat.com>
737
738         * testsuite/22_locale/collate_wchar_t_members.cc: Guard
739         with _GLIBCPP_USE_WCHAR_T.
740
741 2001-08-21  Benjamin Kosnik  <bkoz@redhat.com>
742
743         * testsuite/22_locale/collate_byname.cc (test01): Fix.
744
745 2001-08-18  Vladimir A Merzliakov  <wanderer@rsu.ru>
746
747         * include/bits/locale_facets.tcc (collate::do_transform): Add typename.
748
749 2001-08-18  Benjamin Kosnik  <bkoz@redhat.com>
750
751         * testsuite/22_locale/operators.cc: Add test.
752         
753 2001-08-17  Benjamin Kosnik  <bkoz@redhat.com>
754
755         Implement std::collate. 
756         * config/locale/collate_specializations_gnu.cc: Add here, implement in
757         MT-safe way.
758         * config/locale/collate_specializations_generic.cc: Add here, but
759         in a less sophisticated manner.
760         * include/bits/locale_facets.tcc (collate): Add generic definition.
761         * include/bits/locale_facets.h (~collate): Mark virtual.
762         (collate::_M_compare_helper): New.
763         (collate::_M_transform_helper): New.
764         * src/locale.cc: Remove unnecessary specializations.
765         * src/string-inst.cc: Tweak instantiation of ctors.
766         
767         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Do configury for collate.
768         * aclocal.m4: Regenerate.
769         * configure: Regenerate.
770         * src/Makefile.am (sources): Add collate.cc.
771         * src/Makefile.in: Regenerate.
772         
773         * testsuite/22_locale/collate_byname.cc: New.
774         * testsuite/22_locale/collate.cc: New file.
775         * testsuite/22_locale/collate_char_members.cc: New file.
776         * testsuite/22_locale/collate_wchar_t_members.cc: New file.     
777         
778 2001-08-16  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
779
780         * configure.target: Set LIMITSH for powerpc-*-*.
781         * config/cpu/powerpc/bits/limits.h: New file.
782
783 2001-08-16  Marc Espie <espie@openbsd.org>
784
785         * configure.in:  Check for <sys/types.h>.
786         * configure:  Rebuild.
787         * config.h.in:  Rebuild.
788         * libmath/mathconf.h:  Include <sys/types.h> prior to
789         <machine/endian.h> if available.
790
791 2001-08-15  Andreas Schwab  <schwab@suse.de>
792
793         * configure.target (cpu_include_dir): Set to `config/cpu/m68k' for
794         m68k and m680[246]0.
795         * config/cpu/m68k/bits/atomicity.h: New file.
796
797         * include/bits/std_limits.h [__glibcpp_long_double_bits == 96]:
798         Define appropriate long double limits for m68k extended floating
799         point.
800         (__glibcpp_f32_digits10): Corrected, off by one.
801         (__glibcpp_f80_digits10): Likewise.
802         (__glibcpp_f128_digits10): Likewise.
803         * config/os/gnu-linux/bits/os_defines.h
804         (__glibcpp_long_double_bits) [__mc68000__]: Define to 96.
805
806 2001-08-15  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
807
808         * testsuite/18_support/numeric_limits.cc: Add more tests.
809         * include/bits/std_limits.h (numeric_limits<char>::max): Fix
810         typo. 
811
812 2001-08-14  Ulrich Weigand  <uweigand@de.ibm.com>
813  
814         * configure.target (cpu_include_dir): Set to `config/cpu/s390'
815         for s390 and s390x.
816  
817         * config/cpu/s390/bits/atomicity.h: New.
818
819 2001-08-14  Gabriel Dos Reis  <gdr@codesourcery.com>
820
821         * include/bits/std_limits.h: Fix thinko.
822
823 2001-08-14  Benjamin Kosnik  <bkoz@redhat.com>
824
825         * include/Makefile.am: Consolidate target rules. Don't clean stamp
826         files. Tweak target build directory stamp.
827         * include/Makefile.in: Regenerate.
828         
829 2001-08-14  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
830
831         * libstdc++-v3/libmath/stubs.c: Fix PR/3988, replace
832         _GBLICPP_HAVE_LOGL with HAVE_LOGL
833
834 2001-08-13  Benjamin Kosnik  <bkoz@redhat.com>
835
836         * configure.in (libtool_VERSION): Add.
837         (VERSION): Change to 
838         (release_VERSION): This.
839         * configure: Regenerate.        
840         * src/Makefile.am (libstdc___la_LDFLAGS): Use -version-info with
841         libtool_VERSION.
842         * src/Makefile.in: Regenerate.
843
844         * intl/Makefile.am: Remove.
845         * intl/Makefile.in: Remove.
846         * intl: Remove.
847         * Makefile.am (SUBDIRS): Remove intl.
848         * po/Makefile.am (DISTFILES): Add string_literals.cc
849         (MSGFMT): Add.
850         * po/string_literals.cc: Add.
851         * po/POTFILES.in: Fix path.
852         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't call AM_GNU_GETTEXT. 
853         * aclocal.m4: Regenerate.
854         * configure.in: Remove AC_OUTPUT of intl/Makefile.
855         
856         * include/backward/backward_warning.h: Clarify message.
857
858         * testsuite_flags.in (--cxxflags): Use same debug flags for
859         library and testsuite.
860
861         * include/Makefile.am (c_compatibility): Remove.
862         * include/Makefile.in: Regenerate.
863         
864 2001-08-13  Mark Mitchell  <mark@codesourcery.com>
865
866         * configure.in (LIMITS_INC_SRCDIR): New variable.
867         * configure.target (LIMITSH): New variable.
868         * porting.texi: Discuss numeric limits.
869         * config/cpu/generic/bits/limits.h: New file.
870         * config/cpu/i386/bits/limits.h: New file.
871         * include/Makefile.am: Install bits/limits.h.
872         * include/bits/c++config: Include bits/limits.h.
873
874 2001-08-13  H.J. Lu  (hjl@gnu.org)
875
876         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-copy-files):
877         New. Copy files.
878         (libstdc++-v3-init ): Use it.
879
880 2001-08-13  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
881
882         * include/bits/ostream.tcc (__pad_char): Change toplevel '__fmt'
883         to '__adjust' to avoid shadowing in nested scope.
884
885 2001-08-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
886
887         * include/bits/std_limits.h(__glibcpp_char_is_signed): Use
888         __CHAR_UNSIGNED__.
889
890         * config/os/gnu-linux/bits/os_defines.h(__glibcpp_char_is_signed):
891         Likewise. 
892         * config/os/aix/bits/os_defines.h(__glibcpp_plain_char_is_signed): 
893         Remove.
894
895 2001-08-10  Loren J. Rittle  <ljrittle@acm.org>
896
897         * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Add
898         dummy default argument to the non-limit implementation.
899
900         bootstrap/3963
901         * include/Makefile.am: Use relative file path in rule to allow
902         colon in $(objdir).
903         * include/Makefile.in: Rebuilt.
904
905 2001-08-10  Gunter Winkler  <gunter.winkler@mathematik.tu-chemnitz.de>
906
907         * include/bits/std_complex.h (complex<long double>::operator*=,
908         complex<long double>::operator/=): Fix thinko.
909
910 2001-08-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
911
912         * include/bits/std_limits.h: New file.
913         * include/Makefile.am (bits_headers): Add std_limits.h
914         (all-local): std_limits.h is no longer built.
915         (${target_builddir}/std_limits.h): Remove.
916         * include/Makefile.in: Regenerate.
917         * src/limits.cc: New file.
918         * src/Makefile.am (sources): Add limits.cc in replacement of
919         limitsMEMBERS.cc.
920         * src/Makefile.in: Regenerate.
921
922 2001-08-09  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
923
924         * src/gen-num-limits.cc (digits10): Fix thinko.
925
926 2001-08-09  Benjamin Kosnik  <bkoz@redhat.com>
927
928         * po/Makefile.am (check-no): Add.
929         (check-yes): Same.
930         * po/Makefile.in: Regenerate.
931         
932 2001-08-09  Benjamin Kosnik  <bkoz@redhat.com>
933
934         * acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
935         * config.h.in: Regenerate.
936         * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT): Check for setrlimit
937         function.
938         * aclocal.m4: Regenerate.
939         * configure.in: Remove duplicate AM_CONFIG_HEADER.
940         (AM_CONFIG_HEADER): Remove testsuite/testsuite_hooks.h.
941         Only call GLIBCPP_CHECK_SETRLIMIT for native compiles.
942         * configure: Regenerate.
943         * testsuite_hooks.h.in: Move to...
944         * testsuite_hooks.h: Here, include c++config.h. Use it.
945         
946         * Makefile.am (SUBDIRS): Move testsuite to last directory.
947         * Makefile.in: Regenerate.
948         * po/Makefile.am (stamp-po): Add.
949
950 2001-08-09  David Edelsohn  <edelsohn@gnu.org>
951
952         * config/os/aix/bits/os_defines.h: Define std_limits.h macros.
953         * config/os/generic/bits/os_defines.h: Likewise.
954         * config/os/gnu-linux/bits/os_defines.h: Likewise.
955         * config/os/hpux/bits/os_defines.h: Likewise.
956         * config/os/irix/irix6.5/bits/os_defines.h: Likewise.
957         * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
958
959 2001-08-08  Benjamin Kosnik  <bkoz@redhat.com>
960
961         * src/Makefile.am (libstdc___la_LDFLAGS): Use -release instead of
962         -version-info, use substituted VERSION info.
963         * src/Makefile.in: Regenerate.
964         
965 2001-08-07  Benjamin Kosnik  <bkoz@redhat.com>
966
967         Implement std::messages.
968         Make config a fully-nested directory.
969         * config/locale: New directory.
970         * config/c_locale_generic.cc: Move into locale subdirectory.
971         * config/c_locale_generic.h: Same.
972         * config/c_locale_gnu.cc: Same.
973         * config/c_locale_gnu.h: Same.
974         * config/c_locale_ieee_1003.1-200x.cc: Same.
975         * config/c_locale_ieee_1003.1-200x_.h: Same.
976         * config/codecvt_specializations_generic.h: Same.
977         * config/codecvt_specializations_ieee_1003.1-200x.h: Same.      
978         * config/messages_members_gnu.h: Same.
979         * config/messaages_members_gnu.cc: Same.
980         * config/messages_members_generic.h: Same.
981         * config/messaages_members_generic.cc: Same.
982         * config/messages_members_ieee_1003.1-200x.h: Same.
983         * config/messaages_members_ieee_1003.1-200x.cc: Same.
984         * config/io: New directory.
985         * config/basic_file_libio.h: Move into io subdirectory. 
986         * config/basic_file_libio.cc: Same.
987         * config/c_io_libio.h: Same.
988         * config/c_io_libio_codecvt.c: Same.    
989         * config/basic_file_stdio.h: Same.
990         * config/basic_file_stdio.cc: Same.
991         * config/c_io_stdio.h: Same.
992         
993         * po: New directory.
994         * po/POTFILES.in: New file.
995         * po/Makefile.am: New file.
996         * po/Makefile.in: New file.     
997         * po/libstdc++.pot: Generic translation file.
998         * po/fr.po: Preliminary French translation.
999         * po/de.po: Preliminary German translation.
1000         * intl: New directory.
1001         * intl/Makefile.am: New file.
1002         * intl/Makefile.in: New file.   
1003         * intl/string_literals.cc: New file.
1004         * acinclude.m4 (GLIBCPP_CONFIGURE): Bump VERSION to 3.1.0. Add
1005         requisite setup for gettext. Re-arrange.
1006         * aclocal.m4: Regenerate.
1007         * configure.in: Don't call GLIBCPP_CHECK_COMPILER_VERSION.
1008         Output Makefile bits for po and intl.
1009         * configure: Regenerate.
1010         * Makefile.am (SUBDIRS): Add intl, po. Add rule for dist.
1011         * Makefile.in: Regenerate.
1012         * acconfig.h: Add ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY.
1013         * config.h.in: Regenerate.
1014
1015         * acinclude.m4 (AC_REPLACE_STRINGFUNCS): Remove.
1016         
1017         * include/Makefile.am (install-data-local): Don't install Makefile.
1018         * include/Makefile.in: Regenerate.
1019         
1020         * include/bits/locale_facet.h (locale::facet::_S_clone_c_locale):
1021         Add member.
1022         * config/locale/c_locale_gnu.cc (_S_clone_c_locale): Add definition.
1023         * config/locale/c_locale_generic.cc: Same.
1024         * config/locale/c_locale_ieee_1003.1-200x.cc: Same.
1025
1026         * include/bits/codecvt.h: Excise non-standard, non-required
1027         bits. This includes __enc_traits, and partial specializations of
1028         codecvt for __enc_traits.
1029         * src/codecvt.cc (__enc_traits::_S_max_size): Guard 
1030         * config/codecvt_partials_ieee_1003.1-200x.h: New file. 
1031         * config/codecvt_partials_generic.h: New file.          
1032         * include/Makefile.am (allstamps): Add stamp-codecvt_model.
1033         (stamp-codecvt_model): Add.
1034         * include/Makefile.in: Regenerate.
1035         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in codecvt configury.
1036         * aclocal.m4: Regenerate.
1037         * configure: Regenerate.
1038         * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Use macro guard.
1039         * testsuite/22_locale/codecvt_unicode_char.cc: Same.
1040         * testsuite/22_locale/ctor_copy_dtor.cc: And here.
1041         
1042         * include/bits/localefwd.h (class locale::facet): Add __enc_traits
1043         as a friend for _S_*_c_locale functions.
1044         * include/bits/codecvt.h (__enc_traits::__enc_traits): Add locale
1045         argument to default constructor so that CODESET information can be
1046         deduced.
1047         * include/bits/locale_facets.h (messages_byname):
1048         Re-implement. Remove specializations.
1049         * src/locale.cc (messages_byname<char>): Remove specialization.
1050         (messages_byname<wchar_t>): Same.
1051         * config/locale/c_locale_ieee_1003.1-200x.cc: New file.
1052         * config/locale/c_locale_ieee_1003.1-200x.h: New file.  
1053         * config/locale/messages_members_ieee_1003.1-200x.cc: New file.
1054         * config/locale/messages_members_ieee_1003.1-200x.h: New file.  
1055         * config/locale/messages_members_gnu.cc: New file.
1056         * config/locale/messages_members_gnu.h: New file.       
1057         * config/locale/messages_members_generic.cc: New file.
1058         * config/locale/messages_members_generic.h: New file.   
1059         
1060         * docs/html/configopts.html: Add documentation for new locale
1061         model, ieee_1003.1. Adjust other flags for current defaults.
1062         * docs/html/22_locale/locale.html: Update.
1063         * docs/html/22_locale/howto.html: Add link to messages.html. Organize.
1064         * docs/html/22_locale/messages.html: New.
1065
1066         * src/Makefile.am (sources): Add messages_virtuals.cc.
1067         * src/Makefile.in: Regenerate.
1068         * include/Makefile.am (allstamps): Add stamp-messages_model.
1069         (stamp-messages_model): Add.
1070         * include/Makefile.in: Regenerate.
1071         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in messages configury.
1072         * aclocal.m4: Regenerate.
1073         * configure: Regenerate.
1074
1075         * testsuite_flags.in (--cxxflags): Add LOCALEDIR.
1076         * testsuite/lib/libstdc++-v3-dg.exp: Remove broken LD_LIBRARY_PATH
1077         bits for Irix. 
1078         * acinclude (GLIBCPP_ENABLE_CLOCALE): Set glibcpp_localedir to the
1079         build directories message catalog base directory, and export.
1080         Eventually this should probably be made to deal with build and
1081         install directories. For now, punt on this as the library itself
1082         doesn't use message catalogs (yet).
1083         * testsuite/22_locale/messages.cc: New file.
1084         * testsuite/22_locale/messages_char_members.cc: New file.
1085         * testsuite/22_locale/messages_byname.cc: New file.
1086
1087 2001-08-06  Phil Edwards  <pme@sources.redhat.com>
1088
1089         * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE):  New macro, calls...
1090         (GLIBCPP_CHECK_SETRLIMIT):  ...this new macro, which also uses...
1091         (GLIBCPP_CHECK_SETRLIMIT_ancilliary):  ...this new macro.
1092         * configure.in (AM_CONFIG_HEADER):  Also generate testsuite_hooks.h.
1093         Call GLIBCPP_CONFIGURE_TESTSUITE.
1094         * aclocal.m4:  Regenerate.
1095         * config.h.in:  Regenerate.
1096         * configure:  Regenerate.
1097
1098         * testsuite/lib/libstdc++-v3-dg.exp:  Download new header instead
1099         of old header.
1100
1101         * testsuite_flags.in:  Add build dir's testsuite to INCLUDES.
1102         * testsuite/debug_assert.h:  Removed; contents merged into...
1103         * testsuite/testsuite_hooks.h.in:  ...here.  New file.
1104         * testsuite/17_intro/header_ciso646.cc:  No longer include
1105         debug_assert.h, include testsuite_hooks.h instead.
1106         * testsuite/17_intro/header_fstream.cc:  Likewise.
1107         * testsuite/17_intro/header_iomanip.cc:  Likewise.
1108         * testsuite/17_intro/header_ios.cc:  Likewise.
1109         * testsuite/17_intro/header_iosfwd.cc:  Likewise.
1110         * testsuite/17_intro/header_iostream.cc:  Likewise.
1111         * testsuite/17_intro/header_istream.cc:  Likewise.
1112         * testsuite/17_intro/header_ostream.cc:  Likewise.
1113         * testsuite/17_intro/header_sstream.cc:  Likewise.
1114         * testsuite/17_intro/header_streambuf.cc:  Likewise.
1115         * testsuite/18_support/numeric_limits.cc:  Likewise.
1116         * testsuite/19_diagnostics/stdexceptions.cc:  Likewise.
1117         * testsuite/20_util/allocator_members.cc:  Likewise.
1118         * testsuite/20_util/auto_ptr.cc:  Likewise.
1119         * testsuite/20_util/pairs.cc:  Likewise.
1120         * testsuite/21_strings/append.cc:  Likewise.
1121         * testsuite/21_strings/capacity.cc:  Likewise.
1122         * testsuite/21_strings/char_traits_requirements.cc:  Likewise.
1123         * testsuite/21_strings/compare.cc:  Likewise.
1124         * testsuite/21_strings/ctor_copy_dtor.cc:  Likewise.  Also set up
1125         call to (disabled) __set_testsuite_memlimit() wrapper.
1126         * testsuite/21_strings/element_access.cc:  Likewise.
1127         * testsuite/21_strings/find.cc:  Likewise.
1128         * testsuite/21_strings/insert.cc:  Likewise.  Also set up call to
1129         (disabled) __set_testsuite_memlimit() wrapper.
1130         * testsuite/21_strings/inserters_extractors.cc:  Likewise.
1131         * testsuite/21_strings/invariants.cc:  Likewise.
1132         * testsuite/21_strings/nonmember.cc:  Likewise.
1133         * testsuite/21_strings/operations.cc:  Likewise.
1134         * testsuite/21_strings/replace.cc:  Likewise.
1135         * testsuite/21_strings/rfind.cc:  Likewise.
1136         * testsuite/21_strings/substr.cc:  Likewise.
1137         * testsuite/22_locale/codecvt_char_char.cc:  Likewise.
1138         * testsuite/22_locale/codecvt_unicode_char.cc:  Likewise.
1139         * testsuite/22_locale/codecvt_unicode_wchar_t.cc:  Likewise.
1140         * testsuite/22_locale/codecvt_wchar_t_char.cc:  Likewise.
1141         * testsuite/22_locale/ctor_copy_dtor.cc:  Likewise.
1142         * testsuite/22_locale/ctype_char_members.cc:  Likewise.
1143         * testsuite/22_locale/ctype_wchar_t_members.cc:  Likewise.
1144         * testsuite/22_locale/facet.cc:  Likewise.
1145         * testsuite/22_locale/global_templates.cc:  Likewise.
1146         * testsuite/22_locale/members.cc:  Likewise.
1147         * testsuite/22_locale/numpunct_byname.cc:  Likewise.
1148         * testsuite/22_locale/numpunct_char_members.cc:  Likewise.
1149         * testsuite/22_locale/operators.cc:  Likewise.
1150         * testsuite/22_locale/static_members.cc:  Likewise.
1151         * testsuite/23_containers/bitset_ctor.cc:  Likewise.
1152         * testsuite/23_containers/bitset_members.cc:  Likewise.
1153         * testsuite/23_containers/bitset_shift.cc:  Likewise.
1154         * testsuite/23_containers/vector_capacity.cc:  Likewise.
1155         * testsuite/23_containers/vector_ctor.cc:  Likewise.
1156         * testsuite/23_containers/vector_element_access.cc:  Likewise.
1157         * testsuite/23_containers/vector_modifiers.cc:  Likewise.
1158         * testsuite/24_iterators/istreambuf_iterator.cc:  Likewise.
1159         * testsuite/24_iterators/iterator.cc:  Likewise.
1160         * testsuite/24_iterators/ostreambuf_iterator.cc:  Likewise.
1161         * testsuite/25_algorithms/binary_search.cc:  Likewise.
1162         * testsuite/25_algorithms/copy.cc:  Likewise.
1163         * testsuite/25_algorithms/heap.cc:  Likewise.
1164         * testsuite/25_algorithms/lower_bound.cc:  Likewise.
1165         * testsuite/25_algorithms/min_max.cc:  Likewise.
1166         * testsuite/25_algorithms/partition.cc:  Likewise.
1167         * testsuite/25_algorithms/rotate.cc:  Likewise.
1168         * testsuite/25_algorithms/sort.cc:  Likewise.
1169         * testsuite/26_numerics/c_math.cc:  Likewise.
1170         * testsuite/26_numerics/complex_inserters_extractors.cc:  Likewise.
1171         * testsuite/26_numerics/complex_value.cc:  Likewise.
1172         * testsuite/27_io/filebuf.cc:  Likewise.
1173         * testsuite/27_io/filebuf_members.cc:  Likewise.
1174         * testsuite/27_io/filebuf_virtuals.cc:  Likewise.
1175         * testsuite/27_io/fpos.cc:  Likewise.
1176         * testsuite/27_io/fstream_members.cc:  Likewise.
1177         * testsuite/27_io/ifstream_members.cc:  Likewise.
1178         * testsuite/27_io/ios_base_callbacks.cc:  Likewise.
1179         * testsuite/27_io/ios_base_members_static.cc:  Likewise.
1180         * testsuite/27_io/ios_base_storage.cc:  Likewise.
1181         * testsuite/27_io/ios_ctor.cc:  Likewise.
1182         * testsuite/27_io/ios_init.cc:  Likewise.
1183         * testsuite/27_io/ios_manip_basefield.cc:  Likewise.
1184         * testsuite/27_io/ios_manip_fmtflags.cc:  Likewise.
1185         * testsuite/27_io/ios_members.cc:  Likewise.
1186         * testsuite/27_io/istream_extractor_arith.cc:  Likewise.
1187         * testsuite/27_io/istream_extractor_char.cc:  Likewise.
1188         * testsuite/27_io/istream_extractor_other.cc:  Likewise.
1189         * testsuite/27_io/istream_manip.cc:  Likewise.
1190         * testsuite/27_io/istream_seeks.cc:  Likewise.
1191         * testsuite/27_io/istream_sentry.cc:  Likewise.
1192         * testsuite/27_io/istream_unformatted.cc:  Likewise.
1193         * testsuite/27_io/istringstream_members.cc:  Likewise.
1194         * testsuite/27_io/narrow_stream_objects.cc:  Likewise.
1195         * testsuite/27_io/ofstream_members.cc:  Likewise.
1196         * testsuite/27_io/ostream_inserter_arith.cc:  Likewise.
1197         * testsuite/27_io/ostream_inserter_char.cc:  Likewise.
1198         * testsuite/27_io/ostream_inserter_other.cc:  Likewise.
1199         * testsuite/27_io/ostream_manip.cc:  Likewise.
1200         * testsuite/27_io/ostream_seeks.cc:  Likewise.
1201         * testsuite/27_io/ostream_unformatted.cc:  Likewise.
1202         * testsuite/27_io/ostringstream_members.cc:  Likewise.
1203         * testsuite/27_io/streambuf.cc:  Likewise.
1204         * testsuite/27_io/stringbuf.cc:  Likewise.
1205         * testsuite/27_io/stringbuf_virtuals.cc:  Likewise.
1206         * testsuite/27_io/stringstream.cc:  Likewise.
1207         * testsuite/27_io/stringstream_members.cc:  Likewise.
1208         * testsuite/27_io/wide_stream_objects.cc:  Likewise.
1209
1210 2001-07-31  Loren J. Rittle  <ljrittle@acm.org>
1211
1212         * src/gen-num-limits.cc:  Use __LONG_LONG_MAX__.
1213
1214 2001-07-30  Benjamin Kosnik  <bkoz@redhat.com>
1215
1216         * configure.target: Remove mips from cpu table.
1217         * config/cpu/mips/bits/atomicity.h: Remove generic
1218         versions. Comment sgidefs include.
1219         
1220 2001-07-25  H.J. Lu <hjl@gnu.org>
1221
1222         * configure.target (cpu_include_dir): Set to `config/cpu/mips'
1223         for mips.
1224
1225         * config/cpu/mips/bits/atomicity.h: New.
1226
1227 2001-07-25  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1228
1229         * acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf,
1230         hypotl, atan2f, atan2l.  Remove from REPLACE_MATHFUNCS list.
1231         * aclocal.m4: Regenerate.
1232         * config.h.in: Likewise.
1233         * configure: Likewise.
1234         * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove hypotl.c
1235         (EXTRA_DIST): Remove hypot.c hypotf.c.
1236         * libmath/Makefile.am: Regenerate.
1237         * libmath/hypotf.c: Remove.
1238         * libmath/hypot.c: Likewise.
1239         * libmath/hypotl.c: Likewise.
1240         * libmath/stubs.c: The macros seen here are HAVE_xxx, not
1241         _GLIBCPP_HAVE_xxx.  Add long double versions.
1242
1243 2001-07-23  David Edelsohn  <edelsohn@gnu.org>
1244
1245         * include/bits/limits_generic.h (int): Set digits and digits10
1246         appropriately for word size.
1247         (unsigned int,long,unsigned long): Likewise.
1248
1249 2001-07-19  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1250
1251         * include/bits/stl_algo.h : Fix typos.
1252         * testsuite/25_algorithms/unique.cc: New file.
1253         
1254 2001-07-19  Phil Edwards  <pme@sources.redhat.com>
1255             Mark Mitchell <mark@codesourcery.com>
1256
1257         Merge from cp-parser-branch.
1258         * include/bits/basic_string.h:  Qualify symbols with 'template'.
1259         * include/bits/basic_string.tcc:  Likewise.
1260         * include/bits/fstream.tcc:  Likewise.
1261         * include/bits/istream.tcc:  Likewise.
1262         * include/bits/sstream.tcc:  Likewise.
1263         * include/bits/std_istream.h:  Likewise.
1264         * include/bits/stl_iterator.h:  Likewise.
1265         * include/bits/streambuf.tcc:  Likewise.
1266         * src/gen-num-limits.cc:  Add 'template<>' to specializations.
1267         * src/locale.cc:  Likewise.
1268
1269 2001-07-19  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1270             Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
1271
1272         * src/gen-num-limits.cc (set_signals_handler): New function.
1273         Factor out signals setting.  Set signal handler for SIGILL.
1274
1275 2001-07-18  Phil Edwards  <pme@sources.redhat.com>
1276
1277         * docs/html/27_io/howto.html:  Fix typo.
1278         * docs/html/faq/index.html:  Minor updates for 3.0 all around.
1279         * docs/html/faq/index.txt:  Regenerated.
1280
1281 2001-07-18  Stephen M. Webb  <stephen@bregmasoft..com>
1282             Roman Sulzhyk  <roman_sulzhyk@yahoo.com>
1283
1284         libstdc++/3599
1285         * include/bits/ostream.tcc (ostream::put): Fixed error condition check.
1286         * testsuite/27_io/streambuf.cc (test07): Added new regression test.
1287
1288 2001-07-17  Stephen M. Webb   <stephen@bregmasoft.com>r
1289
1290         All occurrences of the __value_type() and __distance_type()
1291         functions, which were required to support the HP STL, have been
1292         removed along with all the auxiliary forwarding functions that
1293         were required to support their use.
1294
1295         The __iterator_category() function was pretty much left alone
1296         because there was no benefit to removing it and its use made code
1297         just a little more readable.
1298
1299         Incidences of distance() with nonstandard argument list were
1300         replaced by calls to the standard function (only in the files
1301         affected by the removal of the other HP functions).
1302
1303         The signature of the rotate() algorithm was changed to match the
1304         standard.
1305
1306         Headers were reformatted under C++STYLE guidelines (indentation,
1307         linebreaks, typename keyword).
1308
1309         * include/bits/stl_algo.h: replaced __value_type() and
1310         __distance_type() with iterator_traits, eliminated auxiliary
1311         support functions required to support said function usage.
1312         Changed nonstandard distance() call to standard call.
1313
1314         * include/bits/stl_algobase.h: Same.
1315         * include/bits/stl_heap.h: Same.
1316         * include/bits/stl_numeric.h: Same.
1317         * include/bits/stl_uninitialized.h: Same.
1318         * include/bits/stl_iterator_base_types.h (__value_type()):
1319         Removed.
1320         (__distance_type()): Removed.
1321         (value_type()): Gone.
1322         (distance_type()): Done in.
1323         (iterator_category()): Hasta la vista, baby.
1324
1325         * include/bits/stl_iterator_base_funcs.h (iterator_category()):
1326         Replaced with __iterator_category().
1327         * include/backward/iterator.h: moved definition of value_type(),
1328         distance_type(), and iterator_category() out of std:: and into
1329         here.
1330         * testsuite/23_containers/vector_ctor.cc (test03): New testcases.
1331         * testsuite/23_containers/vector_modifiers.cc (test03): New testcases.
1332         * testsuite/25_algorithms/rotate.cc: New testcase.
1333         * testsuite/25_algorithms/copy.cc: New testcase.
1334         * testsuite/25_algorithms/sort.cc: Same.
1335         * testsuite/25_algorithms/heap.cc: Same.
1336         * testsuite/25_algorithms/partition.cc: Same.
1337         * testsuite/25_algorithms/binary_search.cc: Same.
1338         * testsuite/26_numerics/sum_diff.cc: Ditto.
1339
1340 001-07-17  Benjamin Kosnik  <bkoz@redhat.com>
1341
1342         * testsuite/README: Add notes on naming test cases.
1343         * testsuite/22_locale/members.cc: Mark as xfail.
1344         * testsuite/22_locale/numpunct_char_members.cc: Same.
1345
1346 2001-07-16  Stephen M. Webb  <stephen@bregmasoft.com>
1347
1348         * acinclude.m4 (GLIBCPP_ENABLE_CHEADERS):  Use glibcpp_srcdir when
1349         setting C_INCLUDE_DIR.
1350         * configure.in:  Revert yesterday's LN_S change.
1351         * aclocal.m4:  Regenerate.
1352         * configure:  Regenerate.
1353
1354 2001-07-15  Phil Edwards  <pme@sources.redhat.com>
1355
1356         * configure.in:  Temporarily force LN_S to copy instead of symlink.
1357         * configure:  Regenerate.
1358
1359 2001-07-13  Phil Edwards  <pme@sources.redhat.com>
1360
1361         * include/bits/std_sstream.h (basic_stringbuf::basic_stringbuf(string):
1362         Initialize _M_string with pointer-and-size constructor, not just
1363         pointer.  Fix some comments.
1364         * testsuite/21_strings/ctor_copy_dtor.cc (test03):  New test.
1365         * testsuite/27_io/stringbuf.cc (test02):  Remove unused variable.
1366         (test03):  Add embedded-NUL tests.
1367
1368         * mkcheck.in:  When printing totals, match the order of the tests.
1369         * include/bits/stringfwd.h:  Use same declaration keywords.
1370         * include/bits/std_iosfwd.h:  Cosmetic spacing.
1371
1372 2001-07-13  Stephen M. Webb  <stephen@bregmasoft.com>
1373             Loren J. Rittle  <ljrittle@acm.org>
1374             Phil Edwards  <pme@sources.redhat.com>
1375
1376         * include/Makefile.am:  New file encapsulating header generation rules.
1377         * Makefile.am (SUBDIRS):  Prepend 'include' directory.
1378         * acinclude.m4:  Moved/removed rules for building various headers.
1379         * configure.in (AC_OUTPUT):  Add include/Makefile.
1380         * mkc++config:  Removed.
1381
1382         * testsuite_flags.in:  Changed build-includes to match new scheme.
1383         * mknumeric_limits:  Likewise.
1384         * libio/Makefile.am:  Changed INCLUDES to maatch new header scheme.
1385         * libmath/Makefile.am:  Likewise.
1386         * libsupc++/Makefile.am:  Likewise.
1387         * src/Makefile.am:  Likewise; removed rules to build headers.
1388         * libmath/mathconf.h:  Changed #include'd header names to match.
1389         * libmath/stubs.c:  Likewise.
1390         * src/gen-num-limits.cc:  Likewise.
1391
1392         * configure:  Regenerated.
1393         * config.h.in:  Regenerated.
1394         * aclocal.m4:  Regenerated.
1395         * Makefile.in:  Regenerated.
1396         * include/Makefile.in:  Regenerated.
1397         * libio/Makefile.in:  Regenerated.
1398         * libmath/Makefile.in:  Regenerated.
1399         * libsupc++/Makefile.in:  Regenerated.
1400         * src/Makefile.in:  Regenerated.
1401         * testsuite/Makefile.in:  Regenerated.
1402
1403 2001-07-11   Felix Natter  <fnatter@gmx.net>
1404
1405         * docs/html/17_intro/porting-howto.xml:  Initial checkin of
1406         master copy.
1407         * docs/html/17_intro/porting-howto.html:  check in v0.9.3
1408
1409 2001-07-11  Phil Edwards  <pme@sources.redhat.com>
1410
1411         * docs/doxygen/run_doxygen:  Don't keep output from previous run.
1412         * docs/doxygen/user.cfg.in:  Tweaks.
1413         * include/bits/c++config:  Documentation comments for Doxygen.
1414         * include/bits/char_traits.h:  Likewise.
1415         * include/bits/limits_generic.h:  Likewise.
1416         * include/bits/std_stdexcept.h:  Likewise.
1417         * include/bits/stl_pair.h:  Likewise.
1418         * libsupc++/exception:  Likewise.
1419         * libsupc++/new:  Likewise.
1420         * libsupc++/typeinfo:  Likewise.
1421         * libmath/Makefile.am:  Update and correct copyright.
1422
1423 2001-07-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1424
1425         * acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
1426         * aclocal.m4: Regenerate.
1427         * configure: Same.
1428
1429 2001-07-09  Phil Edwards  <pme@sources.redhat.com>
1430
1431         * docs/html/configopts.html:  Fix thinko.
1432         * docs/html/27_io/howto.html:  Fix thinko and HTML markup.
1433         * include/bits/stl_iterator.h:  Fix typo.
1434
1435 2001-07-09  Phil Edwards  <pme@sources.redhat.com>
1436
1437         * docs/html/explanations.html:  New file.
1438         * docs/html/configopts.html:  Link to it to provide more notes
1439         on cstdio.  Minor markup and spacing fixes.
1440         * docs/html/27_io/howto.html:  Talk about sync_with_stdio.
1441
1442 2001-07-09  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
1443
1444         * include/bits/valarray_meta.h (_Expr::operator+): Use qualified id
1445         for _Expr template template argument.
1446         (_Expr::operator-): Likewise.
1447         (_Expr::operator~): Likewise.
1448         (_Expr::operator!): Likewise.
1449         (_DEFINE_EXPR_UNARY_OPERATOR): Likewise.
1450
1451 2001-07-06  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1452
1453         * libmath/Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.c
1454         * libmath/Makefile.in: Regenerate.
1455         * libmath/expf.c: Remove.
1456         * libmath/atan2f.c: Likewise.
1457
1458 2001-07-06  Daniel Jacobowitz  <drow@mvista.com>
1459
1460         * configure.in: Remove NATIVE, NULL_TARGET.
1461         Set CANADIAN only for Canadian crosses.  Set xcompiling
1462         for both Canadian crosses and host-x-host crosses.
1463         * configure: Regenerated.
1464
1465 2001-07-06  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1466
1467         * include/bits/stl_vector.h (vector::_M_initialize_aux): Fix typo.
1468
1469 2001-07-05  Jason Merrill  <jason_merrill@redhat.com>
1470
1471         * testsuite_flags.in (--build-includes): backward, not backwards.
1472
1473 2001-07-04  Jeffrey Oldham  <oldham@codesourcery.com>
1474
1475         * include/ext/ropeimpl.h (_Rope_RopeRep::_M_free_c_string):
1476         Replace destroy by _Destroy.
1477         (_Rope_RopeRep::_S_free_string): Likewise.
1478         (rope::c_str()): Likewise.
1479         * include/ext/slist (_Slist_base::_M_erase_after>): Likewise.
1480         (_Slist_base::_M_erase_after): Likewise.
1481         (slist::_M_create_node): Replace construct by _Construct.
1482         (slist::pop_front): Replace destroy by _Destroy.
1483         * include/ext/stl_hashtable.h (hashtable::_M_new_node): Replace
1484         construct by _Construct.
1485         (hashtable::_M_delete_node): Replace destroy by _Destroy.
1486         * include/ext/stl_rope.h (rope::rope): Replace construct by
1487         _Construct.
1488         (rope::copy): Replace destroy by _Destroy.
1489
1490 2001-07-03  Benjamin Kosnik  <bkoz@redhat.com>
1491
1492         * include/bits/localefwd.h: Format.     
1493         * include/bits/locale_facts.tcc (locale::combine): Adjust.
1494         * src/locale.cc (locale::locale::(_Impl)): Don't call
1495         _M_add_reference.
1496         (locale::facet::_M_remove_reference): Simplify.
1497         * src/globals.cc (locale_impl_c): New. Format.
1498         (locale_c): New.
1499         * src/ios.cc (ios_base::Init::Init): Increment _S_ios_base_init last.
1500
1501 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
1502
1503         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
1504         expansion (thanks to Alexandre Oliva).
1505         * aclocal.m4: Regenerate.
1506         * configure: Regenerate.
1507
1508 2001-07-02  Benjamin Kosnik  <bkoz@redhat.com>
1509         
1510         * src/locale.cc (locale::locale(const char*)): Make sure global
1511         locales are initialized.
1512         * include/bits/locale_facets.tcc (locale::combine): Refcout should
1513         be zero, not one as it's return-by-value.
1514         * testsuite/27_io/ios_base_callbacks.cc (test01): Don't check for
1515         named locales here.
1516         * testsuite/22_locale/ctor_copy_dtor.cc (test01): Instead, check
1517         for it here.
1518         (test02): Add test.
1519         * libsupc++/eh_alloc.cc: Use climits, not limits.h.
1520
1521 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
1522
1523         libstdc++/3284
1524         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
1525         * aclocal.m4: Regenerate.
1526         * configure: Regenerate.
1527         
1528 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
1529
1530         libstdc++/3243
1531         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to
1532         staged/installed area to support -I-.  Document.
1533         * aclocal.m4: Regenerate.
1534         * configure: Regenerate.
1535
1536 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
1537
1538         libstdc++/2211
1539         * src/ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to
1540         __out_bufsize.  Add __in_bufsize, document it and use it.  
1541
1542 2001-07-01  Stephen M. Webb <stephen@bregmasoft.com>
1543
1544         * include/bits/stl_construct.h (construct): Remove.
1545         (destroy): Remove.
1546         (__destroy): Replaced by use of iterator_traits.
1547         * include/bits/stl_deque.h: replaced HP iterator functions with
1548         iterator_traits.
1549         (construct): changed to _Construct.
1550         (destroy): changed to _Destroy.
1551         * include/bits/stl_tempbuf.h: Same.
1552         * include/bits/stl_tree.h: Same.
1553         * include/bits/stl_vector.h: Same.
1554         * include/backward/iterator.h (construct): moved definition to here.
1555         (destroy): Same.
1556
1557 2001-06-29  Benjamin Kosnik  <bkoz@redhat.com>
1558
1559         * include/bits/locale_facets.tcc (locale::combine): Clone _Impl.
1560         before replacing facet.
1561         * include/bits/localefwd.h (locale::_Impl::_M_remove_reference):
1562         Correct decrement.
1563         * src/localename.cc (locale::_Impl): Correct ctor initialization
1564         lists. Initialize ref count with one. Simplify.
1565         * src/locale.cc: Add comment.
1566         * testsuite/22_locale/numpunct.cc (test01): Add derivation test.
1567         * testsuite/22_locale/numpunct_char_members.cc (test01): Add tests.
1568         * testsuite/22_locale/members.cc (test02): Fix.
1569
1570 2001-06-27  Phil Edwards  <pme@sources.redhat.com>
1571
1572         * include/backward/algo.h:  Add "GPL plus runtime exception" comment
1573         block, this time for real.
1574         * include/backward/algobase.h:  Likewise.
1575         * include/backward/alloc.h:  Likewise.
1576         * include/backward/bvector.h:  Likewise.
1577         * include/backward/defalloc.h:  Likewise.
1578         * include/backward/deque.h:  Likewise.
1579         * include/backward/function.h:  Likewise.
1580         * include/backward/hash_map.h:  Likewise.
1581         * include/backward/hash_set.h:  Likewise.
1582         * include/backward/hashtable.h:  Likewise.
1583         * include/backward/heap.h:  Likewise.
1584         * include/backward/iterator.h:  Likewise.
1585         * include/backward/list.h:  Likewise.
1586         * include/backward/map.h:  Likewise.
1587         * include/backward/multimap.h:  Likewise.
1588         * include/backward/multiset.h:  Likewise.
1589         * include/backward/pair.h:  Likewise.
1590         * include/backward/rope.h:  Likewise.
1591         * include/backward/set.h:  Likewise.
1592         * include/backward/slist.h:  Likewise.
1593         * include/backward/stack.h:  Likewise.
1594         * include/backward/strstream:  Likewise.
1595         * include/backward/tempbuf.h:  Likewise.
1596         * include/backward/tree.h:  Likewise.
1597         * include/backward/vector.h:  Likewise.
1598         * include/bits/pthread_allocimpl.h:  Likewise.
1599         * include/bits/std_algorithm.h:  Likewise.
1600         * include/bits/std_bitset.h:  Likewise.
1601         * include/bits/std_deque.h:  Likewise.
1602         * include/bits/std_functional.h:  Likewise.
1603         * include/bits/std_iterator.h:  Likewise.
1604         * include/bits/std_list.h:  Likewise.
1605         * include/bits/std_map.h:  Likewise.
1606         * include/bits/std_memory.h:  Likewise.
1607         * include/bits/std_numeric.h:  Likewise.
1608         * include/bits/std_queue.h:  Likewise.
1609         * include/bits/std_set.h:  Likewise.
1610         * include/bits/std_stack.h:  Likewise.
1611         * include/bits/std_utility.h:  Likewise.
1612         * include/bits/std_vector.h:  Likewise.
1613         * include/bits/stl_algo.h:  Likewise.
1614         * include/bits/stl_algobase.h:  Likewise.
1615         * include/bits/stl_alloc.h:  Likewise.
1616         * include/bits/stl_bvector.h:  Likewise.
1617         * include/bits/stl_construct.h:  Likewise.
1618         * include/bits/stl_deque.h:  Likewise.
1619         * include/bits/stl_function.h:  Likewise.
1620         * include/bits/stl_heap.h:  Likewise.
1621         * include/bits/stl_iterator.h:  Likewise.
1622         * include/bits/stl_iterator_base_funcs.h:  Likewise.
1623         * include/bits/stl_iterator_base_types.h:  Likewise.
1624         * include/bits/stl_list.h:  Likewise.
1625         * include/bits/stl_map.h:  Likewise.
1626         * include/bits/stl_multimap.h:  Likewise.
1627         * include/bits/stl_multiset.h:  Likewise.
1628         * include/bits/stl_numeric.h:  Likewise.
1629         * include/bits/stl_pair.h:  Likewise.
1630         * include/bits/stl_pthread_alloc.h:  Likewise.
1631         * include/bits/stl_queue.h:  Likewise.
1632         * include/bits/stl_raw_storage_iter.h:  Likewise.
1633         * include/bits/stl_relops.h:  Likewise.
1634         * include/bits/stl_set.h:  Likewise.
1635         * include/bits/stl_stack.h:  Likewise.
1636         * include/bits/stl_tempbuf.h:  Likewise.
1637         * include/bits/stl_threads.h:  Likewise.
1638         * include/bits/stl_tree.h:  Likewise.
1639         * include/bits/stl_uninitialized.h:  Likewise.
1640         * include/bits/stl_vector.h:  Likewise.
1641         * include/bits/type_traits.h:  Likewise.
1642         * include/ext/hash_map:  Likewise.
1643         * include/ext/hash_set:  Likewise.
1644         * include/ext/rope:  Likewise.
1645         * include/ext/ropeimpl.h:  Likewise.
1646         * include/ext/slist:  Likewise.
1647         * include/ext/stl_hash_fun.h:  Likewise.
1648         * include/ext/stl_hashtable.h:  Likewise.
1649         * include/ext/stl_rope.h:  Likewise.
1650         * src/bitset.cc:  Likewise.
1651         * src/strstream.cc:  Likewise.
1652
1653 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
1654                              <vakatov@ncbi.nlm.nih.gov>
1655
1656         libstdc++/3272
1657         * include/bits/streambuf.tcc (__copy_streambufs): Don't set eofbit.
1658         * testsuite/27_io/ostream_inserter_other.cc (test04): Add test.
1659         * testsuite/27_io/istream_extractor_other.cc: Fix.
1660         
1661 2001-06-26  Zoltan Hidvegi  <hzoli@austin.ibm.com>
1662
1663         * acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
1664         * aclocal.m4: Regenerate.
1665         * configure: Regenerate.
1666         
1667 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
1668
1669         * include/bits/stream_iterator.h (istream_iterator): Add copy ctor.
1670         (ostream_iterator): Same.
1671         * include/bits/stl_iterator.h (front_insert_iterator::operator=):
1672         Change argument to const_reference.
1673         (back_insert_iterator): Same.
1674         
1675 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
1676
1677         * include/bits/sbuf_iter.h: Change to..
1678         * include/bits/streambuf_iterator.h: This.
1679         * include/bits/stl_iterator.h: Take out of here...
1680         * include/bits/stream_iterator.h: Add.
1681         * src/Makefile.am (base_headers): Add streambuf_iterator,
1682         stream_iterator.h
1683         * src/Makefile.in: Regenerate.
1684         * include/bits/std_string.h: Adjust includes.
1685         * include/bits/basic_ios.h: Same.
1686         * include/bits/locale_facets.tcc: Same.
1687         * include/bits/std_iosfwd.h: Same.      
1688         
1689         * include/bits/std_iterator.h: Add istream, ostream includes.
1690         * include/bits/stl_iterator.h: Tweak.
1691         * testsuite/24_iterators/ostream_iterator.cc: Add test.
1692         * testsuite/24_iterators/istream_iterator.cc: Same.
1693         * testsuite/23_containers/multiset.cc: Add iterator include.
1694
1695 2001-06-26  Phil Edwards  <pme@sources.redhat.com>
1696
1697         * acinclude.m4:  Clean extraneous tabs, rewrap 'test' lines.
1698         * aclocal.m4:  Regenerate.
1699         * configure:  Regenerate.
1700
1701 2001-06-26  Felix Natter  <f.natter@ndh.net>
1702
1703         * docs/html/17_intro/porting-howto.html:  Fixed some errors.
1704
1705 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
1706
1707         * include/bits/stl_iterator.h (istream_iterator::operator->): Fix
1708         return values.
1709         (istream_iterator::operator*): Same.
1710
1711 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
1712             Alexandre Petit-Bianco  <apbianco@redhat.com>
1713
1714         * testsuite/21_strings/element_access.cc (test01): Chill Out Cafe
1715         is on 41st, not 14th.
1716
1717 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
1718
1719         * include/bits/std_iterator.h: Include sbuf_iter.h via std_ios.h.
1720
1721         * include/bits/stl_iterator.h (istream_iterator): Inherit from
1722         iterator.
1723         (ostream_iterator): Same.
1724         * testsuite/24_iterators/istream_iterator.cc: New file.
1725         * testsuite/24_iterators/ostream_iterator.cc: New file.
1726         
1727         * include/bits/sbuf_iter.h: Remove self typedef.
1728         * testsuite/24_iterators/ostreambuf_iterator.cc: Add test.
1729         * testsuite/24_iterators/istreambuf_iterator.cc: Add test.
1730         
1731         * include/bits/stl_iterator.h (reverse_iterator): Remove
1732         extraneous typedefs. Add typename.
1733         (__normal_iterator): Remove typedefs referring to self. Add typename.
1734         (reverse_bidiretional_iterator): Remove, not longer required.
1735
1736 2001-06-26  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1737
1738         * include/bits/stl_iterator.h (__normal_iterator<>): Qualify
1739         dependent names with `typename'.  Bring in various required
1740         iterator_traits members.  Can't imagine why that used to work.
1741
1742 2001-06-25  Phil Edwards  <pme@sources.redhat.com>
1743             Kurt Garloff <garloff@suse.de>
1744
1745         PR libstdc++/3377
1746         * src/cmath.cc:  New [version of an old] file; instantiate
1747         __cmath_power to start with.
1748         * src/Makefile.am (sources):  Add cmath.cc (and alphabetize).
1749         * Makefile.in:  Regenerate.
1750         * libio/Makefile.in:  Regenerate.
1751         * libmath/Makefile.in:  Regenerate.
1752         * libsupc++/Makefile.in:  Regenerate.
1753         * src/Makefile.in:  Regenerate.
1754         * testsuite/Makefile.in:  Regenerate.
1755
1756 2001-06-24  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1757
1758         * libmath/stubs.c: Fix thinko.
1759
1760 2001-06-24  David Edelsohn <dje@watson.ibm.com>
1761
1762         * libmath/stubs.c (sqrtf): Define.
1763         (tanf): Correct typo.
1764
1765 2001-06-22  Benjamin Kosnik  <bkoz@redhat.com>
1766
1767         * include/bits/stl_iterator.h (reverse_iterator): Inherit from
1768         iterator.
1769         (back_insert_iterator): Same.   
1770         (front_insert_iterator): Same.
1771         (insert_iterator): Same.
1772
1773         * testsuite/20_util/raw_storage_iterator.cc: Modify.
1774         * testsuite/24_iterators/reverse_iterator.cc: New file.
1775         * testsuite/24_iterators/back_insert_iterator.cc: New file.
1776         * testsuite/24_iterators/front_insert_iterator.cc: New file.
1777         * testsuite/24_iterators/insert_iterator.cc: New file.
1778
1779 2001-06-22  Phil Edwards  <pme@sources.redhat.com>
1780
1781         * include/*:  Revert comment/license change from yesterday for all
1782         except libsupc++/unwind-cxx.h.
1783         * src/bitset.cc:  Likewise.
1784         * src/strstream.cc:  Likewise.
1785
1786 2001-06-22  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1787
1788         * libmath/stubs.c: New file.
1789         (tanhf): Fix typo.
1790         (powf): Likewise.
1791
1792         * libmath/Makefile.am (libmath_la_SOURCES): Add.
1793         * libmath/Makefile.in.  Regenerate.
1794
1795 2001-06-21  Phil Edwards  <pme@sources.redhat.com>
1796
1797         * include/backward/algo.h:  Add "GPL plus runtime exception" comment.
1798         * include/backward/algobase.h:  Likewise.
1799         * include/backward/alloc.h:  Likewise.
1800         * include/backward/bvector.h:  Likewise.
1801         * include/backward/defalloc.h:  Likewise.
1802         * include/backward/deque.h:  Likewise.
1803         * include/backward/function.h:  Likewise.
1804         * include/backward/hash_map.h:  Likewise.
1805         * include/backward/hash_set.h:  Likewise.
1806         * include/backward/hashtable.h:  Likewise.
1807         * include/backward/heap.h:  Likewise.
1808         * include/backward/iterator.h:  Likewise.
1809         * include/backward/list.h:  Likewise.
1810         * include/backward/map.h:  Likewise.
1811         * include/backward/multimap.h:  Likewise.
1812         * include/backward/multiset.h:  Likewise.
1813         * include/backward/pair.h:  Likewise.
1814         * include/backward/rope.h:  Likewise.
1815         * include/backward/set.h:  Likewise.
1816         * include/backward/slist.h:  Likewise.
1817         * include/backward/stack.h:  Likewise.
1818         * include/backward/strstream:  Likewise.
1819         * include/backward/tempbuf.h:  Likewise.
1820         * include/backward/tree.h:  Likewise.
1821         * include/backward/vector.h:  Likewise.
1822         * include/bits/pthread_allocimpl.h:  Likewise.
1823         * include/bits/std_algorithm.h:  Likewise.
1824         * include/bits/std_bitset.h:  Likewise.
1825         * include/bits/std_deque.h:  Likewise.
1826         * include/bits/std_functional.h:  Likewise.
1827         * include/bits/std_iterator.h:  Likewise.
1828         * include/bits/std_list.h:  Likewise.
1829         * include/bits/std_map.h:  Likewise.
1830         * include/bits/std_memory.h:  Likewise.
1831         * include/bits/std_numeric.h:  Likewise.
1832         * include/bits/std_queue.h:  Likewise.
1833         * include/bits/std_set.h:  Likewise.
1834         * include/bits/std_stack.h:  Likewise.
1835         * include/bits/std_utility.h:  Likewise.
1836         * include/bits/std_vector.h:  Likewise.
1837         * include/bits/stl_algo.h:  Likewise.
1838         * include/bits/stl_algobase.h:  Likewise.
1839         * include/bits/stl_alloc.h:  Likewise.
1840         * include/bits/stl_bvector.h:  Likewise.
1841         * include/bits/stl_construct.h:  Likewise.
1842         * include/bits/stl_deque.h:  Likewise.
1843         * include/bits/stl_function.h:  Likewise.
1844         * include/bits/stl_heap.h:  Likewise.
1845         * include/bits/stl_iterator.h:  Likewise.
1846         * include/bits/stl_iterator_base_funcs.h:  Likewise.
1847         * include/bits/stl_iterator_base_types.h:  Likewise.
1848         * include/bits/stl_list.h:  Likewise.
1849         * include/bits/stl_map.h:  Likewise.
1850         * include/bits/stl_multimap.h:  Likewise.
1851         * include/bits/stl_multiset.h:  Likewise.
1852         * include/bits/stl_numeric.h:  Likewise.
1853         * include/bits/stl_pair.h:  Likewise.
1854         * include/bits/stl_pthread_alloc.h:  Likewise.
1855         * include/bits/stl_queue.h:  Likewise.
1856         * include/bits/stl_raw_storage_iter.h:  Likewise.
1857         * include/bits/stl_relops.h:  Likewise.
1858         * include/bits/stl_set.h:  Likewise.
1859         * include/bits/stl_stack.h:  Likewise.
1860         * include/bits/stl_tempbuf.h:  Likewise.
1861         * include/bits/stl_threads.h:  Likewise.
1862         * include/bits/stl_tree.h:  Likewise.
1863         * include/bits/stl_uninitialized.h:  Likewise.
1864         * include/bits/stl_vector.h:  Likewise.
1865         * include/bits/type_traits.h:  Likewise.
1866         * include/ext/hash_map:  Likewise.
1867         * include/ext/hash_set:  Likewise.
1868         * include/ext/rope:  Likewise.
1869         * include/ext/ropeimpl.h:  Likewise.
1870         * include/ext/slist:  Likewise.
1871         * include/ext/stl_hash_fun.h:  Likewise.
1872         * include/ext/stl_hashtable.h:  Likewise.
1873         * include/ext/stl_rope.h:  Likewise.
1874         * libsupc++/unwind-cxx.h:  Likewise.
1875         * src/bitset.cc:  Likewise.
1876         * src/strstream.cc:  Likewise.
1877
1878 2001-06-21  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1879
1880         * include/bits/indirect_array.h (indirect_array<>::operator=):
1881         Make copy and assignment operator public.  Implement.  Format.
1882
1883         * include/bits/valarray_array.h (__valarray_copy): Add overloads
1884         for copy between index arrays.  Format.
1885
1886 2001-06-19  Benjamin Kosnik  <bkoz@redhat.com>
1887
1888         * mknumeric_limits: Add static definitions, format.
1889         * testsuite/18_support/numeric_limits.cc (test02): Add test.
1890
1891         * include/c_std/bits/std_cwchar.h: Include ctime.
1892         * testsuite/17_intro/header_cwchar.cc : Check.
1893
1894         * include/c_std/bits/std_cwctype.h: Inject wctype.
1895         * testsuite/17_intro/header_cwctype.cc: Update.
1896
1897 2001-06-18  Benjamin Kosnik  <bkoz@redhat.com>
1898
1899         * include/bits/stl_raw_storage_iter.h: Format. Correct derivation.
1900         * testsuite/20_util/raw_storage_iterator.cc: Same.
1901         
1902         * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to
1903         operator new.
1904         (__mem_interface): New typedef for switching between malloc and new.
1905         * testsuite/20_util/allocator_members.cc: New file.     
1906
1907         * testsuite/20_util/comparisons.cc: New file.
1908         * testsuite/20_util/pairs.cc: New file. 
1909
1910 2001-06-15  Phil Edwards  <pme@sources.redhat.com>
1911
1912         * docs/html/documentation.html:  Point to new doxygen'ed collection.
1913
1914 2001-06-14  Nathan Sidwell  <nathan@codesourcery.com>
1915
1916         * configure.in (auxdir): Replace by ...
1917         (toprel): ... new variable.
1918         (toplevel_srcdir): Construct from $toprel.
1919         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
1920         rather than .. to locate gcc source directory.
1921         (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
1922         * aclocal.m4, configure: Rebuilt.
1923
1924 2001-06-13  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1925
1926         (Approved by Mark and Benjamin.  Applied by Loren.)
1927
1928         * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
1929         _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
1930         and _GLIBCPP_mutex_address.
1931         * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
1932         once-only runtime initialization of _M_lock mutex when
1933         __GTHREAD_MUTEX_INIT_FUNCTION is defined.
1934         (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
1935         for __GTHREAD_MUTEX_INIT_FUNCTION case.
1936
1937 2001-06-13  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1938
1939         * testsuite/26_numerics/slice_array_assignment.cc (main): New test.
1940
1941         * include/bits/slice_array.h (slice_array<>::operator=): Make
1942         public and implement.
1943         (slice_array<>::slice_array): Make copy-constructor public.
1944
1945         * include/bits/valarray_array.h (__valarray_copy): Add another
1946         overload to copy between strided arrays.
1947
1948 2001-06-13  Benjamin Kosnik  <bkoz@redhat.com>
1949
1950         * acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
1951         * aclocal.m4: Regenerate.
1952         * configure: Regenerate.
1953         * include/bits/c++config (__GLIBCPP__): Update date.
1954
1955 2001-06-12  Benjamin Kosnik  <bkoz@redhat.com>
1956
1957         * include/bits/fpos.h (fpos::operator-): Don't return reference,
1958         return original, non-modified version.
1959         (fpos::operator+): Same.
1960         * testsuite/27_io/fpos.cc: Add test.
1961         
1962 2001-06-12  Loren J. Rittle  <ljrittle@acm.org>
1963
1964         libstdc++/2071
1965         * porting.texi: Add documentation about libstdc++-v3-specific
1966         macros that are currently included in os_defines.h files.
1967
1968         * config/basic_file_stdio.h (sys_getc): New method.
1969         (sys_ungetc): New method.
1970         * include/bits/basic_file.h: (sys_getc): New method signature.
1971         (sys_ungetc): New method signature.
1972
1973         * include/bits/fstream.tcc (underflow): Add conditional code
1974         paths which avoid using short seeks on streams (especially
1975         useful when the stream might be interactive or a pipe).  At
1976         the moment, this alternate path only avoids seeking when the
1977         ``buffer size'' of underflow() is 1 since the C standard only
1978         guarantees buffer space for one ungetc (this technique could
1979         be extended since *-*-solaris* supports buffering for 4 calls
1980         to ungetc and *-*-*bsd* supports buffering limited only by
1981         memory resources).  Also, _GLIBCPP_AVOID_FSEEK must be defined
1982         in a port's os_defines.h file for this alternate path to even
1983         be considered.  As a bonus, the idiom of using getc/ungetc
1984         requires no system calls whereas fseek maps to one or two
1985         system call(s) on many platforms.
1986
1987         * config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
1988         Define it.
1989         * config/os/solaris/solaris2.5/bits/os_defines.h
1990         (_GLIBCPP_AVOID_FSEEK): Likewise.
1991         * config/os/solaris/solaris2.6/bits/os_defines.h
1992         (_GLIBCPP_AVOID_FSEEK): Likewise.
1993         * config/os/solaris/solaris2.7/bits/os_defines.h
1994         (_GLIBCPP_AVOID_FSEEK): Likewise.
1995
1996 2001-06-12  Benjamin Kosnik  <bkoz@redhat.com>
1997
1998         * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change to
1999         AC_TRY_COMPILE, so that the built compiler is checked, and
2000         bootstraps or cross compiles with an older compile still work.
2001         * aclocal.m4: Regenerate.
2002         * configure: Regenerate.
2003         
2004 2001-06-12  Benjamin Kosnik  <bkoz@redhat.com>
2005
2006         libstdc++/3142
2007         * include/bits/std_sstream.h: Add allocator_type, as per DR 251.
2008
2009         libstdc++/3141
2010         * include/bits/istream.tcc (getline, get): Fix as per DR 243.
2011
2012         libstdc++/3140
2013         * include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
2014
2015         libstdc++/3139
2016         * include/bits/limits_generic.h: Fix as per DR 184.
2017
2018 2001-06-11  Benjamin Kosnik  <bkoz@redhat.com>
2019
2020         libstdc++/3126
2021         * include/bits/basic_string.h (string::compare): Adjust signatures
2022         as per DR 5.
2023         * include/bits/basic_string.tcc: And here.
2024
2025         libstdc++/2346
2026         * config/c_io_stdio.h: Remove whitespace.
2027         * testsuite/27_io/istream_seeks.cc (test03): Add regression.
2028         (test02): Add regression.
2029         * testsuite/27_io/istream_seeks-3.tst: New file.
2030         
2031 2001-06-11  Phil Edwards  <pme@sources.redhat.com>
2032
2033         * README:  Update to reflect reality.
2034         * acinclude.m4:  Update descriptions, fix typos.  Comment changes only.
2035         * configure.in:  Make certain target_alias is set and subst'd for 2.50.
2036         * aclocal.m4:  Regenerate.
2037         * configure:  Regenerate (with 2.13).
2038
2039 2001-06-11  Benjamin Kosnik  <bkoz@redhat.com>
2040
2041         libstdc++/3114
2042         * include/bits/ostream.tcc (ostream::seekp): Add error checking as
2043         per DR 129.
2044         * include/bits/istream.tcc (istream::seekg): Same.
2045         * testsuite/27_io/istream_seeks.cc: Fix.
2046         
2047         libstdc++/3113
2048         * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
2049         (binder1st): Same.
2050         * include/bits/std_queue.h: Add c++config.h.
2051         * testsuite/20_util/binders.cc: New test.
2052         
2053 2001-06-11  Matthias Klose  <doko@debian.org>
2054             Phil Edwards  <pme@sources.redhat.com>
2055
2056         * docs/doxygen/run_doxygen (find_doxygen):  Tweak version check.
2057         (main script):  Echo more information.
2058
2059 2001-06-10  Benjamin Kosnik  <bkoz@redhat.com>
2060
2061         * include/c_std/bits/std_cwchar.h: Alphabetize.
2062         * include/bits/char_traits.h: Tweak.
2063         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
2064         everything used by std_cwchar.h.
2065         * aclocal.m4: Regenerate.
2066         * configure.in: Regenerate.
2067         * config.h.in: Regenerate.
2068         
2069 2001-06-10  Benjamin Kosnik  <bkoz@redhat.com>
2070
2071         * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
2072         Add checking for strtof, _Exit in stdlib.h
2073         * aclocal.m4: Regenerate.
2074         * configure.in: Regenerate.
2075         * include/c_std/bits/std_cstdio.h: Alphabetize lists. 
2076         (snprintf): Put C99 functions into __gnu_cxx namespace.
2077         (vfscanf): Same.
2078         (vscanf): Same.
2079         (vsnprintf): Same.
2080         (vsscanf): Same.
2081         * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
2082         for C99 functions within _GLIBCPP_USE_C99 guard.
2083         (_Exit): Same.
2084         (strtof): Same.
2085         (strtold): Same.
2086         * include/bits/locale_facets.tcc: Check if C99 is enabled.
2087         * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
2088         C99 guard.
2089         * include/c_std/bits/cmath.tcc: Formatting tweak.
2090         * include/c_std/bits/std_cmath.h: Same.
2091         
2092 2001-06-10  Benjamin Kosnik  <bkoz@redhat.com>
2093
2094         * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
2095
2096 2001-06-09  Alexandre Oliva  <aoliva@redhat.com> 
2097             Stephen L Moshier  <moshier@mediaone.net>
2098
2099         * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
2100         nothing, as in autoconf 2.50.
2101         * configure: Rebuilt.
2102
2103 2001-06-09  Benjamin Kosnik  <bkoz@redhat.com>
2104
2105         * include/c_std/bits/std_cwchar.h: Remove size_t injection,
2106         include std_cstddef.
2107         * include/c_std/bits/std_ctime.h: Same.
2108         * include/c_std/bits/std_cstring.h: Same.
2109         * include/c_std/bits/std_cstdlib.h: Same.
2110         
2111         * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
2112         * include/c_std/bits/std_cctype.h: Remove isblank.
2113
2114 2001-06-09  Benjamin Kosnik  <bkoz@redhat.com>
2115
2116         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
2117         fgetws.
2118         * aclocal.m4: Regenerate.
2119         * configure: Regenerate.
2120         * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
2121         injection, guard fgetwc, fgetws.
2122         * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
2123         * include/c_std/bits/std_clocale.h: And here.
2124         * include/c_std/bits/std_cctype.h: And here.
2125         * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
2126
2127         * config/basic_file_stdio.h: Don't include unistd.h.
2128         * config/c_io_stdio.h: Don't use compatibility headers.
2129         * libsupc++/eh_terminate.cc: Qualify abort.
2130         (__terminate): And here.
2131         * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
2132         
2133 2001-06-08  Benjamin Kosnik  <bkoz@redhat.com>
2134
2135         * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
2136
2137 2001-06-08  Benjamin Kosnik  <bkoz@redhat.com>
2138
2139         libstdc++/2767
2140         libstdc++/2989
2141         libstdc++/2992
2142         * include/std/*: Add copyright notice.
2143         * include/c_std/bits/*: Use using statements instead of extern "C".
2144         * include/c_std/bits/std_cmath.h: Don't overload double versions
2145         of math functions with __buitin versions, use global version to
2146         prevent ambiguities. Remove define hacks.
2147         * include/c_std/bits/std_cwchar.h: Using declarations for "C"
2148         functions that have changed signatures and std::
2149         declarations. Remove define hacks.
2150         * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
2151         __builtins in std::. Remove define hacks.
2152         * testsuite/17_intro/headers_c.cc: Add tests.
2153         * testsuite/17_intro/headers_c++.cc: Add test.
2154
2155 2001-06-07  Loren J. Rittle  <ljrittle@acm.org>
2156             John David Anglin  <dave@hiauly1.hia.nrc.ca>
2157
2158         c++/3082
2159         * libsupc++/eh_alloc.cc: Ensure that required macros are
2160         defined before including gthr.h.  Ensure that we get the
2161         version of gthr.h for which we know how to provide a
2162         configuration.
2163         * libsupc++/eh_globals.cc: Likewise.  And, bring the threading
2164         code path into line with the current EH model.  Use std, where
2165         appropriate.
2166
2167 2001-06-07  Loren J. Rittle  <ljrittle@acm.org>
2168             John David Anglin  <dave@hiauly1.hia.nrc.ca>
2169
2170         * config/threads-no.h: Remove file.
2171         * config/threads-posix.h: Remove file.
2172
2173         * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
2174         (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
2175         (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
2176         * config.h.in: Regenerate.
2177
2178         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
2179         setup and use gthr*.h files.  In particular, make gthr.h files
2180         namespace-clean in the staging area (they don't have to be for
2181         libgcc.a).
2182         * aclocal.m4: Regenerate.
2183         * configure: Regenerate.
2184
2185         * src/Makefile.am (build_headers): Remove bits/c++threads.h
2186         and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
2187         * src/Makefile.in: Regenerate.
2188
2189         * include/bits/c++config: Cleanup threading configuration macros.
2190         In particular, define __STL_GTHREADS macro which controls...
2191         * include/bits/stl_threads.h: ...a brand new gthr.h-based
2192         configuration here.
2193
2194         * config/c_io_stdio.h: Include staged gthr.h instead of local
2195         thread configuration file.  Always use __gthread_mutex_t
2196         instead of __mutext_type (or int).
2197         * include/bits/std_fstream.h: Likewise.
2198
2199         * docs/html/17_intro/howto.html: Remove placeholder comment in
2200         case this configuration patch didn't make it.  Add advice that
2201         section only applies if configured with --enable-threads.
2202         * docs/html/23_containers/howto.html: Reword to make clear
2203         that _PTHREADS is no longer required for any port to be
2204         correctly using STL with threads.  Add advice that section
2205         only applies if configured with --enable-threads.
2206
2207 2001-06-06  Benjamin Kosnik  <bkoz@redhat.com>
2208
2209         * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
2210
2211 2001-06-05  Benjamin Kosnik  <bkoz@redhat.com>
2212
2213         libstdc++/3045
2214         * include/bits/basic_ios.tcc: Formatting tweaks.
2215         * include/bits/ios_base.h: Formatting tweaks.
2216         * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
2217         (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
2218         * src/globals.cc: Allocate filebufs for standard streams here.
2219         (buf_cout, buf_cin, buf_cerr): Like so.
2220         (buf_wcout, buf_wcin, buf_wcerr): And so.
2221         * testsuite/27_io/ios_init.cc: Add.
2222         
2223 2001-06-04  Brendan Kehoe  <brendan@zen.org>
2224             Benjamin Kosnik  <bkoz@redhat.com>
2225         
2226         libstdc++/3017
2227         * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
2228         for generic ctype virtuals.
2229         * src/locale.cc: Minor tweaks, naming consistency.
2230         * testsuite/22_locale/ctype.cc: Add test.
2231         
2232 2001-06-04  Kenny Simpson <theonetruekenny@yahoo.com>
2233             Phil Edwards  <pme@sources.redhat.com>
2234
2235         PR libstdc++/3035 and PR libstdc++/3036
2236         * include/bits/stl_pair.h:  Fix pair ctor and make_pair according
2237         to LWG DR 181 and 265.
2238
2239 2001-06-04  Phil Edwards  <pme@sources.redhat.com>
2240
2241         PR libstdc++/3034
2242         * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
2243         equal_range):  Add const overloads as per LWG DR 214.
2244         * include/bits/stl_set.h:  Likewise.
2245
2246 2001-06-04  Brendan Kehoe  <brendan@zen.org>
2247             Phil Edwards  <pme@sources.redhat.com>
2248
2249         PR libstdc++/3018
2250         * include/bits/std_bitset.h (bitset::test):  Fix __pos >= _Nb
2251         comparison; all positions must be < _Nb.
2252         * testsuite/23_containers/bitset_members.cc:  New file.
2253
2254 2001-06-04  Brendan Kehoe  <brendan@zen.org>
2255
2256         PR libstdc++/3016
2257         * include/bits/stl_queue.h (classes queue, priority_queue):  Fix
2258         ctors to match the standard.
2259
2260 2001-06-04  Jeffrey Oldham  <oldham@codesourcery.com>
2261
2262         * include/bits/char_traits.h (move): Reverse qualification of
2263         memmove with std::.
2264         (copy): Reverse qualification of memcpy with std::.
2265
2266 2001-06-04  Jeffrey Oldham  <oldham@codesourcery.com>
2267
2268         * include/bits/char_traits.h (move): Qualify memmove with std::.
2269         (copy): Qualify memcpy with std::.
2270         * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
2271         strncmp with std::.
2272         (test02): Likewise.
2273         * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
2274
2275 2001-06-04  Hans-Peter Nilsson  <hp@axis.com>
2276
2277         * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
2278         uninstall-glibcppinstallHEADERS): Have explicit rules catering to
2279         SUN make VPATH peculiarities.
2280         * libsupc++/Makefile.in: Regenerate.
2281
2282 2001-06-01  Hans-Peter Nilsson  <hp@axis.com>
2283
2284         * src/Makefile.am (VPATH): Delimit with ":", not space.
2285         * src/Makefile.in: Regenerate.
2286
2287         * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
2288         make isn't found.
2289         * configure: Regenerate.
2290
2291 2001-05-31  scott snyder  <snyder@fnal.gov>
2292
2293         libstdc++/2976
2294         * include/bits/istream.tcc: Include std_ostream.h.
2295
2296 2001-05-31  Benjamin Kosnik  <bkoz@redhat.com>
2297
2298         libstdc++/2997
2299         * src/bitset.cc: Qualify size_t with std::.
2300
2301 2001-05-30  Benjamin Kosnik  <bkoz@redhat.com>
2302
2303         * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
2304         (_GLIBCPP_BUGGY_COMPLEX): Remove.
2305         * config.h.in: Regenerate.
2306         * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
2307         * aclocal.m4: Regenerate.
2308         * configure.in: Don't call it.
2309         * configure: Regenerate.
2310
2311         libstdc++/2970
2312         * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
2313         * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
2314         New test.
2315
2316         libstdc++/2985
2317         * include/bits/std_complex.h: Include sstream. Put definitions for
2318         complex inserters and extractors here, and remove them from...
2319         * src/complex_io.cc: ...here.
2320         * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
2321         parameter.
2322         (basic_ios::__numget_type): Same.
2323         * include/bits/std_istream.h: Same.
2324         * include/bits/std_ostream.h: Same.
2325         * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
2326         class iterator template arguments.
2327         * src/locale-inst.cc: Add explicit has_facet instantiations.
2328         * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
2329         (_M_get_fnumput): Remove.
2330         (_M_get_fnumget): Remove.
2331         (basic_ios::_M_check_facet): New function.
2332         (basic_ios::_M_cache_facets): New function.
2333         * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
2334         (basic_ios::imbue): Call _M_cache_facets.
2335         (basic_ios::init): Same.
2336         * include/bits/istream.tcc: Format, use _M_check_facet.
2337         * include/bits/ostream.tcc: Same.
2338         * include/bits/locale_facets.tcc (__output_float): Change
2339         signature, add _Traits.
2340         * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
2341         New test.
2342
2343 2001-05-30  Loren J. Rittle  <ljrittle@acm.org>
2344
2345         * include/bits/c++config (__USE_MALLOC): Do not define it.
2346         Document why not and give pointers to more information.
2347
2348         * docs/html/23_containers/howto.html: Update documentation
2349         to reflect recent understanding of problem.
2350         * docs/html/17_intro/howto.html: Likewise.
2351
2352 2001-05-30  Phil Edwards  <pme@sources.redhat.com>
2353
2354         * docs/doxygen/user.cfg.in:  Minor addition.
2355         * docs/html/documentation.html:  Reorganize.  Put most-looked-at
2356         stuff first.
2357         * docs/html/install.html:  Update for 3.0.  HTML fixups.
2358         * docs/html/17_intro/howto.html:  Likewise.
2359         * docs/html/18_support/howto.html:  Likewise.
2360         * docs/html/19_diagnostics/howto.html:  Likewise.
2361         * docs/html/20_util/howto.html:  Likewise.
2362         * docs/html/23_containers/howto.html:  Likewise.
2363         * docs/html/24_iterators/howto.html:  Likewise.  More notes.
2364         * docs/html/25_algorithms/howto.html:  Likewise.
2365         * docs/html/26_numerics/howto.html:  Likewise.  More notes.
2366         * docs/html/27_io/howto.html:  Likewise.
2367         * docs/html/ext/howto.html:  Likewise.
2368         * docs/html/faq/index.html:  Likewise.
2369         * docs/html/faq/index.txt:  Regenerate.
2370         * docs/html/27_io/iostreams_hierarchy.pdf:  Remove in favor of
2371         Doxygen-created documentation.
2372
2373 2001-05-30  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2374
2375         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
2376         get_multilibs to find gcc.
2377         
2378 2001-05-30  Phil Edwards  <pme@sources.redhat.com>
2379
2380         * acinclude.m4 (GLIBCPP_ENABLE_C99):  Reorder output messages.
2381         * aclocal.m4:  Regenerate.
2382         * configure:  Regenerate.
2383
2384 2001-05-29  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2385  
2386         * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::. 
2387         * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
2388  
2389 2001-05-27  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2390
2391         * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
2392         * include/c_std/bits/std_cstdlib.h: Same.
2393         * include/c_std/bits/std_cwchar.h: Same.
2394
2395 2001-05-30  Loren J. Rittle  <ljrittle@acm.org>
2396
2397         * docs/html/17_intro/howto.html: Update link.
2398         * docs/html/23_containers/howto.html: Likewise.  Add new link.
2399
2400 2001-05-26  Gabriel Dos Reis  <gdr@codesourcery.com>
2401
2402         * include/c_std/bits/std_cmath.h (sqrt): #undef.
2403         
2404 2001-05-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2405
2406         * mknumeric_limits: Stop if gen-num-limits dies.
2407
2408 2001-05-25  Benjamin Kosnik  <bkoz@redhat.com>
2409
2410         other/2931
2411         * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
2412         * aclocal.m4: Regenerate.
2413         * configure: Same.
2414         
2415 2001-05-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2416             Phil Edwards  <pme@sources.redhat.com>
2417             Alexandre Oliva  <aoliva@redhat.com>
2418
2419         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
2420         in an amd-safe manner. Revert glibcpp_prefixdir.
2421
2422 2001-05-25  Gabriel Dos Reis  <gdr@codesourcery.com>
2423
2424         * include/c_std/bits/std_cmath.h: Tweak.  #define away abs, cos,
2425         fabs, sin, sqrt.  They are now implemented in terms of __builtin_
2426         variants. 
2427
2428 2001-05-24  Benjamin Kosnik  <bkoz@redhat.com>
2429
2430         libstdc++/2830
2431         * testsuite/21_strings/inserters_extractors.cc (test09): New test.
2432         * include/bits/ostream.tcc: Format to match istream.tcc.
2433         (operator<<(basic_ostream __out, const basic_string __s)): Fix.
2434         
2435 2001-05-24  Phil Edwards  <pme@sources.redhat.com>
2436
2437         * libsupc++/eh_alloc.cc (__cxa_allocate_exception):  Qualify
2438         malloc with std:: .
2439         (__cxa_free_exception):  Likewise with free.
2440
2441 2001-05-24  Mark Mitchell  <mark@codesourcery.com>
2442
2443         * include/c_std/bin/std_cstring.h: #define away all global
2444         functions we will redeclare in namespace `std'.
2445         * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
2446         std::memset, instead of memset.
2447         * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
2448         not plain `strcmp'.
2449         * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
2450         plain `strcpy'.
2451         
2452 2001-05-24  Benjamin Kosnik  <bkoz@redhat.com>
2453
2454         libstdc++/2832
2455         * include/bits/basic_ios.tcc: Small tweak.
2456         * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
2457         ctors and dtors, and rdbuf settings.
2458         (ofstream): Same.
2459         (fstream): Same.
2460         * include/bits/std_sstream.h: Same, but for stringstream classes.
2461         * testsuite/27_io/ostringstream_members.cc: New.
2462         * testsuite/27_io/stringstream_members.cc: New. 
2463         * testsuite/27_io/fstream_members.cc: New.              
2464         * testsuite/27_io/ifstream_members.cc: Add test.
2465         * testsuite/27_io/istringstream_members.cc: Add test.
2466         * testsuite/27_io/ofstream_members.cc: Add test.
2467
2468 2001-05-24  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2469
2470         * include/bits/c++config(__NO_MATH_INLINES): Move to...
2471         * config/os/gnu-linux/bits/os_defines.h: ...here.
2472
2473 2001-05-24  Gabriel Dos Reis  <gdr@codesourcery.com>
2474
2475         * include/bits/c++config (__NO_MATH_INLINES): New macro.
2476         * testsuite/26_numerics/fabs_inline.cc (main): New test.
2477
2478 2001-05-22  Benjamin Kosnik  <bkoz@redhat.com>
2479
2480         libstdc++/2841
2481         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
2482         ld_library_path.  
2483         (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
2484         (libstdc++-v3-finish): Remove.
2485         (libstdc++-v3_exit): Remove.
2486
2487 2001-05-22  Phil Edwards  <pme@sources.redhat.com>
2488
2489         * docs/html/documentation.html:  Point to doxygen output.
2490
2491 2001-05-21  Benjamin Kosnik  <bkoz@redhat.com>
2492
2493         * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
2494
2495         * include/bits/std_sstream.h (stringbuf::setbuf): Require both
2496         arguments to be non-null.
2497         * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
2498         try allocations if allocated size is greater than zero.
2499         (filebuf::_M_filebuf_init): Change to
2500         (filebuf::_M_allocate_file): Which is what it does now. 
2501         (filebuf::_M_allocate_bufers): Change to
2502         (filebuf::_M_allocate_internal_buffer): This, and create
2503         (filebuf::_M_allocate_pback_buffer): New.
2504         (filebuf::_M_destroy_internal_buffer): New.
2505         (filebuf::_M_buf_allocated): New data member.
2506         (filebuf::setbuf): Use new logic, allow use of external buffer.
2507         * testsuite/27_io/stringbuf_virtuals.cc: New file.
2508         * testsuite/27_io/filebuf_virtuals.cc: New file.
2509
2510 2001-05-21  Stephen M. Webb  <stephen@bregmasoft.com>
2511
2512         * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
2513         __glibcpp_memchr.
2514         (strchr): Same, but to __glibcpp_strchr.
2515         (strpbrk): Same.
2516         (strrchr): Same.
2517         (strstr): Same.  
2518         * include/c_std/bits/std_cwchar.h (wcschr): Same.
2519         (wcsbrk): Same.
2520         (wcsrchr): Same.
2521         (wcsstr): Same.
2522         (wmemchr): Same.
2523
2524 2001-05-21  Benjamin Kosnik  <bkoz@redhat.com>
2525
2526         * testsuite/21_strings/c_strings.cc (main): Fix.
2527
2528 2001-05-19  Phil Edwards  <pme@sources.redhat.com>
2529
2530         * acinclude.m4:  Fix --help spacing, correct comments.
2531         * aclocal.m4:  Regenerate.
2532         * configure:  Regenerate.
2533         * mkcheck.in:  Add usage comments.
2534         * docs/html/documentation.html:  Point to doxygen'd tarball.
2535
2536 2001-05-18  Benjamin Kosnik  <bkoz@redhat.com>
2537
2538         * testsuite/README: Add notes.
2539
2540         * src/Makefile.am (libstdc++.INC): Remove.
2541         * src/Makefile.in: Regenerate.
2542
2543         Phil Edwards <pedwards@disaster.jaj.com>
2544         * mkcheck.in: Add missing '#'.
2545
2546 2001-05-18  Angela Marie Thomas <angela@cygnus.com>
2547
2548         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
2549         appropriately for remote testing and testing installed files without
2550         a build dir.
2551
2552 2001-05-18  Benjamin Kosnik  <bkoz@redhat.com>
2553
2554         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
2555         amd glibcpp_prefixdir with absolute paths.
2556
2557         * include/bits/c++config (__GLIBCPP__): Bump.
2558         * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
2559
2560 2001-05-18  Gabriel Dos Reis  <gdr@codesourcery.com>
2561
2562         * include/bits/std_valarray.h (valarray<>::operator[] const):
2563         Return a const reference. 
2564         * testsuite/26_numerics/valarray_const_bracket.cc: New test.
2565
2566 2001-05-18  Alexandre Oliva  <aoliva@redhat.com>
2567
2568         * configure.target (ATOMICITYH): Actually use AIX-specific code on
2569         earlier versions of AIX 4.*.
2570
2571 2001-05-18  Angela Marie Thomas <angela@cygnus.com>
2572
2573         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test):  Set
2574         output_file based on the name of the testcase.
2575
2576 2001-05-18  Angela Marie Thomas <angela@cygnus.com>
2577
2578         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):  Build
2579         gluefile and use it if needs_status_wrapper is set.
2580
2581 2001-05-18  Alexandre Oliva  <aoliva@redhat.com>
2582
2583         * configure.target (ATOMICITYH): Use cpu/generic code on earlier
2584         versions of AIX.
2585
2586 2001-05-17  Alexandre Oliva  <aoliva@redhat.com>
2587
2588         * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
2589         on earlier versions of AIX.
2590
2591 2001-05-15  Benjamin Kosnik  <bkoz@redhat.com>
2592
2593         * testsuite_flags.in (query): Add backwards, ext directories.
2594
2595 2001-05-15  Mark Mitchell  <mark@codesourcery.com>
2596
2597         * porting.texi: Correct documentation about handling
2598         _LARRGEFILE_SOURCE and its ilk.
2599         * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
2600         definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and 
2601         __EXTENSIONS__.
2602         * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
2603         * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
2604
2605 2001-05-15  Zack Weinberg  <zackw@stanford.edu>
2606         
2607         * testsuite/21_strings/inserters_extractors.cc,
2608         testsuite/27_io/istream_unformatted.cc,
2609         testsuite/27_io/stringstream.cc:
2610         Replace multi-line string constants with C89-style
2611         concatenated string constants.
2612         
2613 2001-05-14  Richard Henderson  <rth@redhat.com>
2614
2615         * mknumeric_limits: Build with -fno-exceptions.
2616
2617 2001-05-13   Benjamin Kosnik  <bkoz@redhat.com>
2618
2619         Switch over to new harness.
2620         * testsuite_flags.in: Tweaks via Gaby.
2621         * testsuite/Makefile.am: Change tool to libstdc++-v3.
2622         (EXPECT): Quote directly.
2623         (RUNTEST): Same.
2624         * configure.in: Output testsuite_flags.
2625         * acinclude.m4: Substitute src, bld, and prefix dirs.
2626         Remove glibcpp_expect, glibcpp_runtestflags.
2627         * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
2628         * mkcheck.in: Port to new interface.
2629         
2630         * aclocal.m4: Regerate.
2631         * configure: Regnerate.
2632         * Makefile.in: Regnerate.
2633         * */Makefile.in: Regenerate.
2634         
2635         * tests_flags.in: Remove.
2636         * testsuite/lib/libstdc++.exp: Remove.
2637         * testsuite/libstdc++.tests/tests.exp: Remove.
2638         
2639 2001-05-13  Alexandre Oliva  <aoliva@redhat.com>
2640
2641         * configure.target: Remove detection of AIX pthread multilib, now
2642         obtained from `gcc -v'.
2643
2644 2001-05-13  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2645
2646         * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
2647         size.  Add hpux case for HP size.
2648
2649 2001-05-11   Benjamin Kosnik  <bkoz@redhat.com>
2650
2651         * testsuite_flags.in: New, simplified interface.
2652         * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
2653         * testsuite/libstdc++-v3.dg: Add.
2654         * testsuite/libstdc++-v3.dg/dg.exp: Add.        
2655
2656 2001-05-11   Benjamin Kosnik  <bkoz@redhat.com>
2657
2658         * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
2659         * testsuite/config/default.exp: Update bugs email address.
2660         
2661 2001-05-11  Richard Henderson  <rth@redhat.com>
2662
2663         * libsupc++/eh_personality.cc: Include unwind-pe.h.  Remove
2664         all pointer encoding logic.
2665         (struct lsda_header_info): Add ttype_base.
2666         (get_ttype_entry): Use it instead of a context.
2667         (check_exception_spec): Likewise.
2668         (PERSONALITY_FUNCTION): Initialize ttype_base.  Store it in
2669         the c++ exception header for __cxa_call_unexpected.
2670         (__cxa_call_unexpected): Use it.
2671
2672 2001-05-09  Benjamin Kosnik  <bkoz@redhat.com>
2673
2674         * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
2675         libgloss_link_flags to find crt0.o for targets that use libgloss
2676         instead of newlib.
2677         Change LDFLAGS to LIBS.
2678         Consistently name procedures libstdc++-XXX.
2679         * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
2680         
2681 2001-05-08  Benjamin Kosnik  <bkoz@fillmore.constant.com>
2682
2683         * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
2684         (strchr): Same.
2685         (strpbrk): Same.
2686         (strrchr): Same.
2687         (strstr): Same.
2688         * include/c_std/bits/std_cwchar.h (wcschr): Same.
2689         (wcsbrk): Same.
2690         (wcsrchr): Same.
2691         (wcsstr): Same.
2692         (wmemchr): Same.
2693         * testsuite/21_strings/c_strings.cc: Add tests.
2694         
2695 2001-05-07  Benjamin Kosnik  <bkoz@redhat.com>
2696
2697         libstdc++/2523
2698         * include/bits/std_fstream.h (basic_filebuf): Change signature.
2699         * include/bits/fstream.tcc (basic_filebuf): Change bool argument
2700         to int_type, pass in buffer size info.
2701         * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
2702         unbuffered situation.
2703         (underflow): Remove codecvt bits for the time being.
2704         * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
2705         * include/bits/locale_facets.tcc (_M_extract): Cache dereference
2706         values from iterators, clean.
2707         * src/locale.cc: Ditto.
2708         * include/bits/sbuf_iter.h: Format.
2709         * src/ios.cc: Explicitly pass in buffer sizes at creation time.
2710         * testsuite/27_io/narrow_stream_objects.cc: Add tests.
2711         * testsuite/27_io/filebuf.cc: Tweaks.
2712         * testsuite/27_io/filebuf_members.cc: Tweaks.
2713         
2714 2001-05-07  Mark Mitchell  <mark@codesourcery.com>
2715
2716         * config/os/solaris/solaris2.7/bits/os_defines.h
2717         (_LARGEFILE_SOURCE): Define it.
2718
2719 2001-05-03  Alexandre Oliva  <aoliva@redhat.com>
2720
2721         * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
2722         -prefer-non-pic depending on whether libtool has shared libraries
2723         enabled or disabled.
2724         * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
2725         $(LIBSUPCXX_PICFLAGS).
2726         * configure, */Makefile.in: Rebuilt.
2727
2728 2001-05-01  Benjamin Kosnik  <bkoz@redhat.com>
2729
2730         * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
2731         * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
2732
2733         * include/bits/std_sstream.h (stringbuf): Leak
2734         copied string.
2735         * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
2736         
2737 2001-05-01  Tom Browder  <tbrowder@home.com>
2738
2739         * docs/html/ext/howto.html:  Fix typo.
2740
2741 2001-05-01  Gabriel Dos Reis  <gdr@codesourcery.com>
2742
2743         * testsuite/libstdc++.tests/tests.exp: Add comment.
2744
2745 2001-05-01  Gabriel Dos Reis  <gdr@codesourcery.com>
2746
2747         * testsuite/libstdc++.tests/tests.exp: Set ulimits.
2748
2749 2001-04-30  Mark Mitchell  <mark@codesourcery.com>
2750
2751         * porting.texi: Use the GFDL.
2752
2753 2001-04-30  Benjamin Kosnik  <bkoz@redhat.com>
2754
2755         libstdc++/2627 
2756         * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
2757         * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
2758         specializations.
2759
2760 2001-04-30  Benjamin Kosnik  <bkoz@redhat.com>
2761
2762         libstdc++/2964
2763         * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
2764
2765 2001-04-28  Phil Edwards  <pme@sources.redhat.com>
2766
2767         * docs/doxygen/run_doxygen:  Minor tweaks.
2768         * docs/doxygen/style.css:  New file.
2769         * docs/doxygen/user.cfg.in:  Update using "doxygen -u" to get the
2770         latest parameters available.  Use style.css.
2771
2772 2001-04-27  Benjamin Kosnik  <bkoz@redhat.com>
2773
2774         * docs/doxygen/mainpage.doxy: New.
2775         * docs/doxygen/user.cfg.in: Change default configuration. Single
2776         frame, other tweaks.
2777
2778 2001-04-26  Mark Mitchell  <mark@codesourcery.com>
2779
2780         * docs/html/17_intro/BADNAMES: Remove EGCS reference.
2781         Indicate obsolete nature of thelist for G++ 3.0.
2782
2783 2001-04-26  Alexandre Oliva  <aoliva@redhat.com>
2784
2785         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
2786         target_thread_file with `gcc -v'.
2787         * aclocal.m4, configure: Rebuilt.
2788
2789 2001-04-25  Benjamin Kosnik  <bkoz@redhat.com>
2790
2791         * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
2792         * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
2793         * include/c_std/bits/std_cwchar.h (std): Same.
2794         * acconfig.h (std): Remove c99 injection into std.
2795         * config.h.in: Regenerate.
2796         
2797         * testsuite/README: Fix typo.
2798
2799         * include/bits/codecvt.h: Remove warnings.
2800         
2801 2001-04-24  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2802
2803         * include/ext/slist: Include required header files. 
2804
2805 2001-04-23  Loren J. Rittle  <ljrittle@acm.org>
2806
2807         * include/c_std/bits/std_cerrno.h (errno): Define macro from
2808         identifier declared with external linkage, if needed.
2809         * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
2810         * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
2811
2812 2001-04-23  Benjamin Kosnik  <bkoz@fillmore.constant.com>
2813
2814         * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
2815         re-configures find the build compiler.
2816         (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
2817         libstdc++/2609.
2818         * aclocal.m4: Regenerate.
2819         * configure: Regenerate.
2820
2821 2001-04-20  Benjamin Kosnik  <bkoz@redhat.com>
2822
2823         * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
2824         support is enabled correctly before long long is activated.
2825         * aclocal.m4: Regenerate.
2826         * configure: Regenerate.
2827         
2828         * include/backward/backward_warning.h: Format correctly.
2829
2830         * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
2831         * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
2832         * testsuite/26_numerics/c99_macros.cc: Remove.
2833         
2834 2001-04-20  Phil Edwards  <pme@sources.redhat.com>
2835
2836         * include/bits/stl_bvector.h:  Replace __ITERATOR_CATEGORY with
2837         __iterator_category.
2838
2839 2001-04-19  Benjamin Kosnik  <bkoz@redhat.com>
2840
2841         * acconfig.h (_GLIBCPP_USE_C99): Add.
2842         * config.h.in: Regenerate.
2843         * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
2844         9899: 1999 support.
2845         * aclocal.m4: Regenerate.
2846         * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
2847         * configure: Regenerate.
2848         * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
2849         * configure: Regenerate.
2850         * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
2851         into c99.
2852         * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
2853         namespace.
2854         * include/c_std/bits/std_cstdlib.h: Same.
2855         * docs/html/configopts.html: Update.
2856         * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
2857         math.h
2858         (test_c99_classify): Add.
2859         * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
2860         (_ISOC99_SOURCE): Remove.
2861
2862         * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
2863         * include/bits/c++config (__STL_ASSERTIONS): Simplify.
2864         * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
2865         * aclocal.m4: Regenerate.
2866         * configure: Regenerate.
2867         
2868 2001-04-19  Phil Edwards  <pme@sources.redhat.com>
2869
2870         * Makefile.am (doxygen):  Assume script is missing execute perms.
2871         * Makefile.in:  Regenerated.
2872         * docs/doxygen/user.cfg.in:  Add class diagrams and source browsing.
2873
2874 2001-04-17  Loren J. Rittle  <ljrittle@acm.org>
2875
2876         * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
2877
2878 2001-04-17  Benjamin Kosnik  <bkoz@redhat.com>
2879
2880         * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
2881         * testsuite/23_containers/set_operators.cc: Same.
2882
2883         * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
2884         default.
2885         (__GLIBCPP__): Bump from value of last release.
2886         * include/bits/concept_check.h: Default to off, edit comments.
2887         * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
2888         * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS. 
2889         * src/Makefile.in: Regenerate.
2890         
2891 2001-04-14  Martin Reinecke <martin@MPA-Garching.MPG.DE>
2892
2893         * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
2894         Properly uglify member.
2895
2896 2001-04-13  Phil Edwards  <pme@sources.redhat.com>
2897
2898         * include/bits/stl_algobase.h (equal):  Use EqualOpConcept instead
2899         of EqualityCo
2900         mparableConcept.
2901
2902 2001-04-13  Phil Edwards  <pme@sources.redhat.com>
2903
2904         * include/bits/boost_concept_check.h:  Uglify, fork from Boost.
2905         * include/bits/concept_check.h:  Uglify.
2906         * include/bits/stl_algo.h:  Likewise.
2907         * include/bits/stl_algobase.h:  Likewise.
2908         * include/bits/stl_deque.h:  Likewise.
2909         * include/bits/stl_heap.h:  Likewise.
2910         * include/bits/stl_iterator_base_funcs.h:  Likewise.
2911         * include/bits/stl_list.h:  Likewise.
2912         * include/bits/stl_map.h:  Likewise.
2913         * include/bits/stl_multimap.h:  Likewise.
2914         * include/bits/stl_multiset.h:  Likewise.
2915         * include/bits/stl_numeric.h:  Likewise.
2916         * include/bits/stl_queue.h:  Likewise.
2917         * include/bits/stl_set.h:  Likewise.
2918         * include/bits/stl_stack.h:  Likewise.
2919         * include/bits/stl_vector.h:  Likewise.
2920         * include/ext/hash_map:  Likewise.
2921         * include/ext/hash_set:  Likewise.
2922         * include/ext/slist:  Likewise.
2923
2924 2001-04-13  Gabriel Dos Reis  <gdr@codesourcery.com>
2925
2926         * testsuite/23_containers/set_operators.cc: Just try to compile.
2927         Mark as XFAIL.   
2928         * testsuite/23_containers/map_operators.cc: Same.
2929
2930 2001-04-12  Jason Merrill  <jason_merrill@redhat.com>
2931
2932         * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
2933         output_file.
2934         (dg-test): Revert rth's change.
2935
2936 2001-04-12  Nathan Sidwell  <nathan@codesourcery.com>
2937
2938         * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
2939         terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
2940
2941 2001-04-12  Gabriel Dos Reis  <gdr@codesourcery.com>
2942
2943         * testsuite/README: Add DejaGnu specific documentation.
2944
2945 2001-04-11  Benjamin Kosnik  <bkoz@redhat.com>
2946         
2947         * acinclude.m4: AC_CHECK_TOOL for expect.
2948         * aclocal.m4: Regenerate.
2949         * configure: Regenerate.
2950         * testsuite/Makefile.am (RUNTEST): Use substituted.
2951         (EXPECT): Same.
2952
2953         * configure.in: Remove xcompiling substitution.
2954         * tests_flags.in (CROSS_LIB_PATH): Remove.
2955         (xcompiling): Remove.
2956         (CXX): Use substituted CXX.
2957         
2958 2001-04-11  Richard Henderson  <rth@redhat.com>
2959
2960         * testsuite/lib/libstdc++.exp: Specify path for output_file.
2961
2962 2001-04-08  Gabriel Dos Reis  <gdr@codesourcery.com>
2963
2964         * include/bits/std_valarray.h(valarray<>::operator[]): Make
2965         inline. 
2966
2967 2001-04-06  Gabriel Dos Reis  <gdr@codesourcery.com>
2968   
2969         * testsuite/25_algorithms/equal.cc: New test.
2970
2971 2001-04-06  Joe Buck  <jbuck@welsh-buck.org>
2972
2973         * stl_algobase.h (std::equal): avoid use of possibly-undefined
2974         operator != (one line patch).
2975
2976 2001-04-06   Benjamin Kosnik  <bkoz@redhat.com>
2977
2978         * include/backward/backward_warning.h: Re-enable.
2979
2980 2001-04-06  Benjamin Kosnik  <bkoz@redhat.com>
2981             Alexandre Oliva  <aoliva@redhat.com>
2982         
2983         * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
2984
2985 2001-04-06  Gabriel Dos Reis  <gdr@codesourcery.com>
2986
2987         * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
2988         * testsuite/26_numerics/c99_macros.cc: Add test.
2989
2990 2001-04-06  Phil Edwards  <pme@sources.redhat.com>
2991
2992         * docs/html/faq/index.html:  Update for 2.92, grab from RELEASE-NOTES.
2993         * docs/html/faq/index.txt:  Regenerated.
2994
2995 2001-04-06  Benjamin Kosnik  <bkoz@redhat.com>
2996
2997         * include/backward/backward_warning.h: Temporarily disable until
2998         g++ testsuite changes go in.
2999         * tests_flags.in (CROSS_LIB_PATH): Add.
3000
3001 2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>
3002
3003         Warn when using backward headers.
3004         * include/backward/algo.h: Include warning file.        
3005         * include/backward/vector.h: Same.
3006         * include/backward/tree.h: Same.
3007         * include/backward/tempbuf.h: Same.
3008         * include/backward/strstream: Same.
3009         * include/backward/streambuf.h: Same.
3010         * include/backward/stream.h: Same.
3011         * include/backward/stack.h: Same.
3012         * include/backward/slist.h: Same.
3013         * include/backward/set.h: Same.
3014         * include/backward/rope.h: 
3015         * include/backward/queue.h: Same.
3016         * include/backward/pair.h: Same.
3017         * include/backward/ostream.h: Same.
3018         * include/backward/new.h: Same.
3019         * include/backward/multiset.h: Same.
3020         * include/backward/multimap.h: Same.
3021         * include/backward/map.h: Same.
3022         * include/backward/list.h: Same.
3023         * include/backward/iterator.h: Same.
3024         * include/backward/istream.h: Same.
3025         * include/backward/iostream.h: 
3026         * include/backward/iomanip.h: 
3027         * include/backward/heap.h: Same.
3028         * include/backward/hashtable.h: 
3029         * include/backward/hash_set.h: 
3030         * include/backward/hash_map.h: 
3031         * include/backward/function.h: 
3032         * include/backward/fstream.h: 
3033         * include/backward/deque.h: 
3034         * include/backward/defalloc.h: Same.
3035         * include/backward/complex.h: Same.
3036         * include/backward/bvector.h: 
3037         * include/backward/alloc.h: 
3038         * include/backward/algobase.h: Same.
3039
3040         * include/backward/backward_warning.h: New file.
3041         * src/Makefile.am (backward_headers): Add backward_warning.h
3042         * src/Makefile.in: Regenerate.
3043
3044 2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>
3045
3046         * src/Makefile.am (myinstalldirs): Make sure backward directory is
3047         created.
3048         (myinstallheaders): Install backward headers in backward directory.
3049         * src/Makefile.in: Regenerate.
3050         
3051 2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>
3052
3053         Prepare for libstdc++-2.92.
3054         * docs/html/17_intro/RELEASE-NOTES (New): Update.
3055         * docs/html/configopts.html: Fix formatting.
3056         * README (file): Updates.
3057         * include/bits/c++config (__GLIBCPP__): Update.
3058
3059 2001-04-05  Phil Edwards  <pme@sources.redhat.com>
3060
3061         * docs/doxygen/run_doxygen:  Check for the existence of Doxygen.
3062
3063 2001-04-04  Phil Edwards  <pme@sources.redhat.com>
3064
3065         * docs/doxygen/user.cfg.in:  Extract all non-private members;
3066         reduce confusing documentation output.
3067
3068 2001-04-04  Geoffrey Keating  <geoffk@redhat.com>
3069
3070         * include/backward/fstream.h: Add missing semicolons.
3071
3072 2001-04-03  Benjamin Kosnik  <bkoz@redhat.com>
3073
3074         * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
3075         * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
3076         _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
3077         (ios_base::Init::_S_ios_create): New.
3078         (ios_base::Init::_S_ios_destroy): New.  
3079         * include/bits/std_fstream.h: Change ctor args.
3080         * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
3081         (ios_base::Init::~Init): Use _S_ios_destroy.
3082         (ios_base::sync_with_stdio): Use new members.
3083         * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
3084         filebuf ctor.
3085
3086 2001-04-03  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
3087
3088         * include/backward/fstream.h:  Expose streampos to global
3089         namespace.
3090         
3091 2001-04-03  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
3092
3093         * include/bits/stl_iterator_base_types.h: Fix typo
3094
3095 2001-04-03  Andreas Schwab  <schwab@suse.de>
3096
3097         * include/backward/fstream.h: Define filebuf and wfilebuf.
3098
3099 2001-04-02  Phil Edwards  <pme@sources.redhat.com>
3100
3101         New concept checking implementation.
3102         * docs/html/19_diagnostics/howto.html:  Document.
3103         * docs/html/17_intro/concept_check.diff:  New file, for reference.
3104         * include/bits/boost_concept_check.h:  New file from Boost.
3105         * include/bits/c++config:  Update comments.
3106
3107         * include/bits/concept_check.h:  New file.
3108         * include/bits/concept_checks.h:  Removed.
3109         * include/bits/container_concepts.h:  Removed.
3110         * include/bits/sequence_concepts.h:  Removed.
3111         * include/bits/stl_iterator_base.h:  Removed; split into...
3112         * include/bits/stl_iterator_base_funcs.h:  ...this new file...
3113         * include/bits/stl_iterator_base_types.h:  ...and this new file.
3114
3115         * include/bits/sbuf_iter.h:  Update to use new implementation.
3116         * include/bits/std_iterator.h:  Likewise.
3117         * include/bits/std_memory.h:  Likewise.
3118         * include/bits/stl_algo.h:  Likewise.
3119         * include/bits/stl_algobase.h:  Likewise.
3120         * include/bits/stl_construct.h:  Likewise.
3121         * include/bits/stl_deque.h:  Likewise.
3122         * include/bits/stl_heap.h:  Likewise.
3123         * include/bits/stl_list.h:  Likewise.
3124         * include/bits/stl_map.h:  Likewise.
3125         * include/bits/stl_multimap.h:  Likewise.
3126         * include/bits/stl_multiset.h:  Likewise.
3127         * include/bits/stl_numeric.h:  Likewise.
3128         * include/bits/stl_queue.h:  Likewise.
3129         * include/bits/stl_set.h:  Likewise.
3130         * include/bits/stl_stack.h:  Likewise.
3131         * include/bits/stl_uninitialized.h:  Likewise.
3132         * include/bits/stl_vector.h:  Likewise.
3133         * include/ext/hash_map:  Likewise.
3134         * include/ext/hash_set:  Likewise.
3135         * include/ext/slist:  Likewise.
3136         * include/ext/stl_hashtable.h:  Likewise.
3137
3138         * src/Makefile.am (base_headers):  Update list of headers.
3139         * Makefile.in:  Regenerated.
3140         * src/Makefile.in:  Regenerated.
3141         * libio/Makefile.in:  Regenerated.
3142         * libmath/Makefile.in:  Regenerated.
3143         * libsupc++/Makefile.in:  Regenerated.
3144         * testsuite/Makefile.in:  Regenerated.
3145
3146         * docs/html/install.html:  Update contact information.
3147         * docs/html/17_intro/howto.html:  Ditto.
3148         * docs/html/18_support/howto.html:  Ditto.
3149         * docs/html/20_util/howto.html:  Ditto.
3150         * docs/html/21_strings/howto.html:  Ditto.
3151         * docs/html/22_locale/howto.html:  Ditto.
3152         * docs/html/23_containers/howto.html:  Ditto.
3153         * docs/html/24_iterators/howto.html:  Ditto.
3154         * docs/html/25_algorithms/howto.html:  Ditto.
3155         * docs/html/26_numerics/howto.html:  Ditto.
3156         * docs/html/27_io/howto.html:  Ditto.
3157         * docs/html/faq/index.html:  Ditto, plus info on new checking code.
3158         * docs/html/ext/howto.html:  Ditto, plus info on new checking code.
3159         * docs/html/faq/index.txt:  Regenerated.
3160
3161 2001-04-02  Zack Weinberg  <zackw@stanford.edu>
3162
3163         * testsuite/lib/libstdc++.exp (dg-test): Annotate result
3164         messages with $which_library as well as $tool_flags and
3165         ${dg-extra-tool-flags}.  Factor out annotation text into
3166         a single variable.
3167
3168 2001-04-02  Stephen M. Webb  <stephen@bregmasoft.com>
3169
3170         * include/c_std/bits/std_cstring.h: Fix for const-correctness.
3171         * include/c_std/bits/std_cwchar.h: Same.
3172         * testsuite/21_strings/c_strings.cc: Add.
3173
3174 2001-04-01  Benjamin Kosnik  <bkoz@codesourcery.com>
3175
3176         * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
3177
3178 2001-04-01  Zack Weinberg  <zackw@stanford.edu>
3179
3180         * tests_flags.in: Use test a = b, not test a == b which is not
3181         portable.
3182
3183 2001-03-31  Benjamin Kosnik  <bkoz@redhat.com>
3184
3185         * configure.target: Remove duplicate aix entry.
3186
3187 2001-03-30  Benjamin Kosnik  <bkoz@redhat.com>
3188
3189         * include/ext/stl_bvector.h: Move to...
3190         * include/bits/stl_vector.h: ...here.
3191         * include/ext/bvector: Move to...
3192         * include/backward/bvector.h: ...here.
3193         * include/bits/std_vector.h: Change stl_bvector include.
3194         * include/bits/std_queue.h: Remove bvector include.
3195         * include/ext/tree: Insert using rb_tree, move to...
3196         * include/backward/tree.h: ...here.
3197         * include/backward/hash_map.h: Include ext/hash_map.
3198         * include/backward/hash_set.h: Include ext/hash_set.
3199         * include/backward/queue.h: New file.
3200         * include/backward/stack.h: Edit.
3201         * include/backward/algo.h: Same.
3202         * include/backward/algobase.h: Same.
3203         * include/backward/alloc.h: Same.
3204         * include/backward/function.h: Same.
3205         * include/backward/iomanip.h: Same.
3206         * include/backward/istream.h: Same.
3207         * include/backward/iterator.h: Same.
3208         * include/backward/list.h: Same.
3209         * include/backward/map.h: Same.
3210         * include/backward/multimap.h: Same.
3211         * include/backward/multiset.h: Same.
3212         * include/backward/ostream.h: Same.
3213         * include/backward/pair.h: Same
3214         * include/backward/rope.h: Same.
3215         * include/backward/set.h: Same.
3216         * include/backward/stream.h: Same.
3217         * include/backward/strstream.h: Same.
3218         * include/backward/tempbuf.h: Same.
3219         * src/Makefile.am (ext_headers): Edit.
3220         * src/Makefile.in: Regenerate.
3221         * testsuite/ext/headers.cc (main): Fix.
3222         * mkcheck.in: Fix.
3223
3224 2001-03-30  Phil Edwards  <pme@sources.redhat.com>
3225
3226         * tests_flags.in (LIBS):  Pass correct path for installed testing.
3227
3228 2001-03-28  Benjamin Kosnik  <bkoz@redhat.com>
3229
3230         * mkcheck.in (LIBTOOL): Don't construct -B argument here...
3231         * tests_flags.in (CXX): Construct here.
3232         (static_fail): Don't remove compile.out. Format with spaces.
3233         (INCLUDES): Deal with xcompiling.
3234         * configure.in (xcompiling): Substitute.
3235         * testsuite/Makefile.am: Snake libjava configury.
3236         * testsuite/Makefile.in: Regenerate.
3237         * testsuite/23_containers/map_operators.cc: Tweaks.
3238         * testsuite/23_containers/set_operators.cc: Tweaks.
3239
3240 2001-03-28  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3241
3242         Enable dejagnu testing framework.
3243         * configure.in: Generate testsuite/Makefile.
3244         * configure: Regenerate.
3245         * Makefile.am (check-install): Change rule from this...
3246         (check-script-install): ...to this.
3247         (check): Change rule from this...
3248         (check-script):...to this.
3249         * Makefile.in: Regenerate.
3250
3251 2001-03-28  Alexandre Oliva  <aoliva@redhat.com>
3252
3253         * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
3254         --tag CXX.
3255         (LIBTOOL): Let automake take care of its definition.
3256         * libsupc++/Makefile.in: Rebuilt.
3257
3258 2001-03-28  Richard Henderson  <rth@redhat.com>
3259
3260         IA-64 ABI Exception Handling:
3261         * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
3262         * configure.in: Use it.
3263         * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
3264         * libsupc++/Makefile.am (sources): Update files list.
3265         * libsupc++/Makefile.in: Regenerate.
3266         * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
3267         * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
3268         * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
3269         * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
3270         * libsupc++/exception_support.cc: Remove.
3271         * libsupc++/exception_support.h: Remove.
3272         * libsupc++/pure.cc: Use std::terminate.
3273         * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
3274         (__is_pointer): Remove.
3275         * libsupc++/unwind-cxx.h: New file.
3276         * libsupc++/vec.cc (uncatch_exception): Update for new abi.
3277
3278 2001-03-27  Alexandre Oliva  <aoliva@redhat.com>
3279
3280         * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
3281         CXX tag explicitly.
3282         * src/Makefile.am (CXXLINK): Likewise.
3283         * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
3284
3285 2001-03-27  Benjamin Kosnik  <bkoz@redhat.com>
3286
3287         * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
3288
3289 2001-03-26  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
3290
3291         * libstdc++-v3/tests_flags.in: Change the order of libstdc++
3292           and libc
3293
3294 2001-03-26  Benjamin Kosnik  <bkoz@redhat.com>
3295
3296         * include/bits/basic_file.h (get_fileno): Remove.
3297         (_M_fileno): Remove.
3298         (_M_cfile_created): Add.
3299         (basic_file::basic_file(__c_file_type*, openmode): Add.
3300         (basic_file::basic_file(int, const char*, openmode): Remove.
3301         * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
3302         const char*, ios_base::openmode): Don't allocate
3303         internal buffers. Turn off internal buffers.
3304         (basic_filebuf::overflow): Remove test for null buffer.
3305         (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
3306         * include/bits/streambuf.cc: Tweak.
3307         * include/bits/std_ostream.h: Tweak.
3308         * config/basic_file_libio.h: Same.
3309         * config/basic_file_stdio.h: Same.
3310         * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
3311         * testsuite/27_io/filebuf_members.cc: Tweaks.
3312         * testsuite/27_io/ios_base_members_static.cc: Tweaks.
3313
3314 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
3315
3316         * Makefile.am:  New targets, doxygen and doxygen-maint.
3317         * Makefile.in:  Regenerated.
3318         * docs/doxygen/run_doxygen:  Finally implemented.
3319         * docs/doxygen/maint.cfg.in:  New file.
3320         * docs/doxygen/user.cfg.in:  New file.
3321
3322 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
3323
3324         * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES):  Update comment.
3325         * src/Makefile.am:  Replace leading spaces with tabs on continuation
3326         lines.
3327         * aclocal.m4:  Regenerated.
3328         * configure:  Ditto.
3329         * Makefile.in:  Ditto.
3330         * src/Makefile.in:  Ditto.
3331         * libio/Makefile.in:  Ditto.
3332         * libmath/Makefile.in:  Ditto.
3333         * libsupc++/Makefile.in:  Ditto.
3334
3335 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
3336
3337         * docs/html/19_diagnostics/howto.html:  HTML fixup.  Describe
3338         concept-checking code and current status of same.
3339         * docs/html/ext/howto.html:  Ditto.
3340         * docs/html/faq/index.html:  Ditto.
3341         * docs/html/faq/index.txt:  Regenerated.
3342
3343 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
3344
3345         * include/bits/std_bitset.h:  Include ostream and istream headers
3346         instead of iostream.
3347
3348 2001-03-22  Greg Bumgardner <bumgard@roguewave.com>
3349
3350         * include/bits/ostream.tcc: Use __builtin_alloca.
3351
3352 2001-03-22  Benjamin Kosnik  <bkoz@redhat.com>
3353
3354         * src/misc-inst.cc (__sink_unused_warning): Move to...
3355         * src/locale-inst.cc (__sink_unused_warning): Move to...
3356         * src/stl-inst.cc: Here.
3357         * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
3358         commented it out.
3359
3360 2001-03-21  Theodore Papadopoulo  <Theodore.Papadopoulo@sophia.inria.fr>
3361
3362         * intclude/bits/basic_file.h: Fix typos in comments.
3363
3364 2001-03-20  Richard Henderson  <rth@redhat.com>
3365
3366         * src/gen-num-limits.cc: Instantiate for wchar_t.
3367         * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
3368
3369 2001-03-20  Jason Merrill  <jason@redhat.com>
3370
3371         * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
3372         (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
3373         * libsupc++/cxxabi.h: Declare it.
3374
3375 2001-03-16  Alexandre Oliva  <aoliva@redhat.com>
3376
3377         * src/gen-num-limits.cc (signal_adapter): Overloaded to match
3378         signal_func with an unspecified argument list.
3379
3380 2001-03-15  Benjamin Kosnik  <bkoz@redhat.com>
3381
3382         * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
3383
3384 2001-03-15  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3385
3386         * include/bits/basic_string.tcc (operator+): Fix thinko.
3387
3388 2001-03-14  Benjamin Kosnik  <bkoz@redhat.com>
3389
3390         libstdc++/2020
3391         * include/bits/std_streambuf.h: Remove cached locale facets.
3392         (basic_streambuf::_M_buf_fctype): Remove.
3393         (basic_streambuf::~basic_streambuf): Remove here.
3394         (basic_streambuf::basic_streambuf): Same.
3395         (basic_streambuf::imbue): Same.
3396         * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
3397         * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
3398         (basic_filebuf::~basic_filebuf()): Remove here.
3399         * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
3400         (basic_filebuf::imbue): Same.
3401         * include/bits/localefwd.h (_Count_ones): Remove.
3402         (locale::_S_num_categories): Just use 6, since this doesn't
3403         actually change, ever.
3404         * include/bits/locale_facets.tcc (has_facet): Simplify.
3405         (use_facet): Same.
3406         * testsuite/27_io/filebuf.cc (test06): Add tests.
3407
3408 2001-03-13  Steve Ellcey  <sje@cup.hp.com>
3409
3410         * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
3411         match HP-UX ctype.h header file.
3412
3413 2001-03-13  Andris Pavenis <pavenis@latnet.lv>
3414
3415         * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
3416         duplicate definitions of __dj_ctype_*
3417
3418 2001-03-13  Benjamin Kosnik  <bkoz@redhat.com>
3419
3420         * libsupc++/new: Remove pragma interface.
3421         * libsupc++/typeinfo: Same.
3422         * libsupc++/exception: Same.
3423         * libsupc++/new_handler.cc: Remove pragma implementation.
3424         (bad_alloc::~bad_alloc()): Add.
3425         * libsupc++/exception_support.cc: Same.
3426         (exception::~exception): Add.
3427         (bad_exception::~bad_exception): Add.
3428         * libsupc++/tinfo.cc: Same.
3429         (bad_cast::~bad_cast): Add.
3430         (bad_typeid::~bad_typeid): Add.
3431
3432 2001-03-13  Phil Edwards  <pme@sources.redhat.com>
3433
3434         * mkcheck.in:  Fix IFS regression for non-bash-2.01 hosts.
3435
3436 2001-03-12  Felix Lee  <flee@redhat.com>
3437
3438         * mkcheck.in: workaround for bash 2.01 IFS bug.
3439
3440 2001-03-12  Benjamin Kosnik  <bkoz@redhat.com>
3441
3442         Fixups for -fno-for-scope
3443         * include/bits/locale_facets.tcc (__match_parallel): Fixup.
3444         * src/valarray-inst.cc (__gslice_to_index): Same.
3445
3446 2001-03-12  Rodney Brown  <RodneyBrown@mynd.com>
3447
3448         * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
3449         prior to trapping signal (UnixWare 7 workaround).
3450
3451 2001-03-12  Craig Rodrigues  <rodrigc@mediaone.net>
3452
3453         * include/backward/hashtable.h: Same.
3454         * include/backward/rope.h: Fix include.
3455
3456 2001-03-12  Benjamin Kosnik  <bkoz@redhat.com>
3457
3458         * include/backward/vector.h: Include std_vector.h.
3459
3460         * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
3461         operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
3462         Fix typo.
3463
3464 2001-03-11  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
3465
3466         * include/ext/stl_hashtable.h: Change type of __n to size_t
3467         * include/backward/bvector.h: Include <ext/stl_bvector.h>
3468
3469 2001-03-09  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3470
3471         * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
3472         operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
3473         Use streamsize, not int_type.
3474
3475 2001-03-08  Benjamin Kosnik  <bkoz@redhat.com>
3476
3477         * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
3478         moment.
3479
3480 2001-03-08  Andreas Schwab  <schwab@suse.de>
3481
3482         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
3483         command.
3484         * aclocal.m4, configure: Regenerated.
3485
3486 2001-03-07  Benjamin Kosnik  <bkoz@redhat.com>
3487
3488         * include/bits/std_iosfwd.h: Remove string forward decls here.
3489         * include/bits/stringfwd.h: Add forward decls for char_traits
3490         specializations.
3491         * config/c_io_libio.h (wstreamoff): Delete.
3492         * config/c_io_stdio.h (wstreamoff): Same.
3493         * include/bits/char_traits.h: Use streamoff not wstreamoff for
3494         char_traits<wchar_t>::off_type.
3495         Remove duplicate typedefs.
3496         * include/bits/fpos.h: Define streampos/wstreampos here.
3497         * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
3498         values to off_type.
3499         (test05): Same.
3500         Changeup output files.
3501         * testsuite/27_io/istream_unformatted.cc: Change output files.
3502         * testsuite/27_io/istream_seeks-1.txt: Add.
3503         * testsuite/27_io/istream_seeks-2.tst: Add.
3504         * testsuite/27_io/istream_seeks-1.tst: Add.
3505         * testsuite/27_io/istream_unformatted-2.tst: Delete.
3506         * testsuite/27_io/istream_unformatted-3.tst: Delete.
3507         * testsuite/27_io/istream_unformatted-3.txt: Delete.
3508
3509 2001-03-07  Alexandre Oliva  <aoliva@redhat.com>
3510
3511         Add Irix 5.2, 6.3 support.
3512         * config/os/irix/bits: Renamed to...
3513         * config/os/irix/irix6.5/bits: this.
3514         * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
3515         * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
3516         _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
3517         * config/os/irix/irix5.2/bits/ctype_noninline.h
3518         (ctype<char>::ctype): Initialize _M_table with __ctype.
3519         * configure.target: Adjust.
3520
3521 2001-03-06  Benjamin Kosnik  <bkoz@redhat.com>
3522
3523         libstdc++/2181
3524         * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
3525         operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
3526         sentry.
3527         (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
3528         (*__pf)(__ios_type&)): Same.
3529         (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
3530         (*__pf)(ios_base&))): Same.
3531         * testsuite/27_io/istream_extractor_other.cc: Add tests.
3532         * testsuite/27_io/istream_manip.cc (test01): Fix.
3533
3534 2001-03-06  Nathan Myers  <ncm@cantrip.org>
3535             Benjamin Kosnik  <bkoz@redhat.com>
3536
3537         * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
3538         * testsuite/17_intro/header_cerrno.cc (test01): New file.
3539         * testsuite/17_intro/header_cassert.cc (test01): New file.
3540         * testsuite/17_intro/header_cstddef.cc (test01): New file.
3541         * testsuite/17_intro/header_csetjmp.cc (test01): New file.
3542         * testsuite/17_intro/header_cstdarg.cc (test01): New file.
3543
3544 2001-03-05  scott snyder  <snyder@fnal.gov>
3545
3546         libstdc++/2190
3547         * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
3548         from here...
3549         * include/c_std/bits/std_cstdlib.h: ... to here.
3550         * testsuite/17_intro/header_cstdlib.cc: Add test.
3551
3552 2001-03-05  Stephen M. Webb  <stephen.webb@cybersafe.com>
3553
3554         * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
3555
3556 2001-03-05  Laurynas Biveinis  <lauras@softhome.net>
3557
3558         * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
3559         definition. Replace enum with static const variables.
3560
3561         * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
3562         throw specification, fix typos, use <static_cast>.
3563         (ctype<char>::scan_is): remove throw specification.
3564         (ctype<char>::scan_not): likewise.
3565
3566         * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
3567         (ctype<char>::do_toupper(char)): use <static_cast>.
3568         (ctype<char>::do_toupper(char *, const char *)): likewise.
3569         (ctype<char>::do_tolower(char)): likewise.
3570         (ctype<char>::do_tolower(char *, const char *)): likewise.
3571
3572 2001-03-04  Phil Edwards  <pme@sources.redhat.com>
3573
3574         http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
3575         * include/backward/algo.h:  Use std not __STD.  Remove unneeded
3576         macros and "never happens" code.  Adjust to C++STYLE guidelines.
3577         * include/backward/algobase.h:  Likewise.
3578         * include/backward/alloc.h:  Likewise.
3579         * include/backward/bvector.h:  Likewise.
3580         * include/backward/deque.h:  Likewise.
3581         * include/backward/function.h:  Likewise.
3582         * include/backward/hash_map.h:  Likewise.
3583         * include/backward/hash_set.h:  Likewise.
3584         * include/backward/hashtable.h:  Likewise.
3585         * include/backward/heap.h:  Likewise.
3586         * include/backward/iterator.h:  Likewise.
3587         * include/backward/list.h:  Likewise.
3588         * include/backward/map.h:  Likewise.
3589         * include/backward/multimap.h:  Likewise.
3590         * include/backward/multiset.h:  Likewise.
3591         * include/backward/pair.h:  Likewise.
3592         * include/backward/rope.h:  Likewise.
3593         * include/backward/set.h:  Likewise.
3594         * include/backward/slist.h:  Likewise.
3595         * include/backward/stack.h:  Likewise.
3596         * include/backward/strstream:  Likewise.
3597         * include/backward/tempbuf.h:  Likewise.
3598         * include/backward/tree.h:  Likewise.
3599         * include/backward/vector.h:  Likewise.
3600         * include/bits/basic_ios.h:  Likewise.
3601         * include/bits/basic_ios.tcc:  Likewise.
3602         * include/bits/basic_string.h:  Likewise.
3603         * include/bits/c++config:  Likewise.
3604         * include/bits/concept_checks.h:  Likewise.
3605         * include/bits/fpos.h:  Likewise.
3606         * include/bits/fstream.tcc:  Likewise.
3607         * include/bits/functexcept.h:  Likewise.
3608         * include/bits/ios_base.h:  Likewise.
3609         * include/bits/istream.tcc:  Likewise.
3610         * include/bits/mask_array.h:  Likewise.
3611         * include/bits/ostream.tcc:  Likewise.
3612         * include/bits/pthread_allocimpl.h:  Likewise.
3613         * include/bits/sbuf_iter.h:  Likewise.
3614         * include/bits/slice.h:  Likewise.
3615         * include/bits/slice_array.h:  Likewise.
3616         * include/bits/sstream.tcc:  Likewise.
3617         * include/bits/std_bitset.h:  Likewise.
3618         * include/bits/std_fstream.h:  Likewise.
3619         * include/bits/std_iomanip.h:  Likewise.
3620         * include/bits/std_ios.h:  Likewise.
3621         * include/bits/std_istream.h:  Likewise.
3622         * include/bits/std_iterator.h:  Likewise.
3623         * include/bits/std_memory.h:  Likewise.
3624         * include/bits/std_ostream.h:  Likewise.
3625         * include/bits/std_sstream.h:  Likewise.
3626         * include/bits/std_streambuf.h:  Likewise.
3627         * include/bits/std_string.h:  Likewise.
3628         * include/bits/std_valarray.h:  Likewise.
3629         * include/bits/stl_algo.h:  Likewise.
3630         * include/bits/stl_algobase.h:  Likewise.
3631         * include/bits/stl_alloc.h:  Likewise.
3632         * include/bits/stl_construct.h:  Likewise.
3633         * include/bits/stl_deque.h:  Likewise.
3634         * include/bits/stl_function.h:  Likewise.
3635         * include/bits/stl_heap.h:  Likewise.
3636         * include/bits/stl_iterator.h:  Likewise.
3637         * include/bits/stl_iterator_base.h:  Likewise.
3638         * include/bits/stl_list.h:  Likewise.
3639         * include/bits/stl_map.h:  Likewise.
3640         * include/bits/stl_multimap.h:  Likewise.
3641         * include/bits/stl_multiset.h:  Likewise.
3642         * include/bits/stl_numeric.h:  Likewise.
3643         * include/bits/stl_pair.h:  Likewise.
3644         * include/bits/stl_pthread_alloc.h:  Likewise.
3645         * include/bits/stl_queue.h:  Likewise.
3646         * include/bits/stl_raw_storage_iter.h:  Likewise.
3647         * include/bits/stl_relops.h:  Likewise.
3648         * include/bits/stl_set.h:  Likewise.
3649         * include/bits/stl_stack.h:  Likewise.
3650         * include/bits/stl_tempbuf.h:  Likewise.
3651         * include/bits/stl_threads.h:  Likewise.
3652         * include/bits/stl_tree.h:  Likewise.
3653         * include/bits/stl_uninitialized.h:  Likewise.
3654         * include/bits/stl_vector.h:  Likewise.
3655         * include/bits/streambuf.tcc:  Likewise.
3656         * include/bits/type_traits.h:  Likewise.
3657         * include/bits/valarray_meta.h:  Likewise.
3658         * include/ext/bvector:  Likewise.
3659         * include/ext/hash_map:  Likewise.
3660         * include/ext/hash_set:  Likewise.
3661         * include/ext/ropeimpl.h:  Likewise.
3662         * include/ext/slist:  Likewise.
3663         * include/ext/stl_bvector.h:  Likewise.
3664         * include/ext/stl_hash_fun.h:  Likewise.
3665         * include/ext/stl_hashtable.h:  Likewise.
3666         * include/ext/stl_rope.h:  Likewise.
3667         * src/complex_io.cc:  Likewise.
3668         * src/ios.cc:  Likewise.
3669         * src/locale-inst.cc:  Likewise.
3670         * src/locale.cc:  Likewise.
3671         * src/localename.cc:  Likewise.
3672         * src/misc-inst.cc:  Likewise.
3673         * src/stdexcept.cc:  Likewise.
3674         * src/stl-inst.cc:  Likewise.
3675         * src/strstream.cc:  Likewise.
3676         * src/valarray-inst.cc:  Likewise.
3677
3678 2001-03-03  Benjamin Kosnik  <bkoz@redhat.com>
3679
3680         * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
3681
3682 2001-03-02  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
3683
3684         * include/bits/istream.tcc: change type of __extracted to __size_type
3685
3686 2001-03-02  Benjamin Kosnik  <bkoz@redhat.com>
3687
3688         * src/wstring-inst.cc: New file.
3689         * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
3690         (libinst_wstring_la_SOURCES): Remove.
3691         (libstdc___la_LIBADD): Remove libinst_wstring_la.
3692         (sources): Add wstring-inst.cc
3693         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
3694         libinst_wstring_la.
3695
3696 2001-03-02  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
3697
3698         * src/locale.cc: initialise __ret with zero
3699         * src/strstream.cc:cast gptr to int_type
3700
3701 2001-03-01  Phil Edwards  <pme@sources.redhat.com>
3702
3703         * docs/html/faq/index.html:  Update broken links.
3704         * docs/html/faq/index.txt:  Regenerated.
3705
3706 2001-02-28  Benjamin Kosnik  <bkoz@redhat.com>
3707
3708         libstdc++/2064
3709         * configure.target: Change irix* to irix6.5* in target_os table.
3710
3711 2001-02-28  Benjamin Kosnik  <bkoz@redhat.com>
3712
3713         libstdc++/2103
3714         * include/bits/c++config (__GLIBCPP__): Bump number in
3715         anticipation of 2.92.
3716
3717         * include/bits/codecvt.h: Fix typo.
3718         * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
3719         stdio model.
3720         * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
3721         instantiations for stdio model.
3722
3723 2001-02-28  Phil Edwards  <pme@sources.redhat.com>
3724
3725         * acinclude.m4 (GLIBCPP_CONFIGURE):  Remove GLIBCPP_CFLAGS
3726           and GLIBCPP_CXXFLAGS as unused variables.
3727         * configure.host:  Likewise.
3728         * configure.target:  Likewise.
3729         * aclocal.m4:  Regenerated.
3730         * configure:  Regenerated.
3731         * Makefile.in:  Regenerated.
3732         * libio/Makefile.in:  Regenerated.
3733         * libmath/Makefile.in:  Regenerated.
3734         * libsupc++/Makefile.in:  Regenerated.
3735         * src/Makefile.in:  Regenerated.
3736
3737 2001-02-27  Benjamin Kosnik  <bkoz@redhat.com>
3738
3739         libstdc++/1886
3740         * include/bits/basic_file.h: Include basic_file_model.h.
3741         * config/c_io_libio.cc: Move to...
3742         * config/basic_file_libio.cc: Here.
3743         * config/basic_file_libio.h: New file.
3744         * config/c_io_stdio.cc: Move to...
3745         * config/basic_file_stdio.cc: Here.
3746         * config/basic_file_stdio.h: New file.
3747         * config/c_io_libio.h: Tweak.
3748         * config/c_io_stdio.h: Tweak.
3749         * src/Makefile.am (build_headers): Add basic_file_model.h.
3750         (sources): Add basic_file.cc, remove c++io.cc.
3751         * src/Makefile.in: Regenerate.
3752         * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
3753         basic_file_model.h and basic_file.cc.
3754         * aclocal.m4: Regenerate.
3755         * configure: Regenerate.
3756         * testsuite/27_io/filebuf.cc (test05): Add regression.
3757
3758 2001-02-27  Benjamin Kosnik  <bkoz@redhat.com>
3759
3760         Correct license.
3761         * config/cpu/alpha/bits/atomicity.h: Change.
3762         * config/cpu/arm/bits/atomicit3y.h
3763         * config/cpu/generic/bits/atomicity.h
3764         * config/cpu/i386/bits/atomicity.h
3765         * config/cpu/i486/bits/atomicity.h
3766         * config/cpu/ia64/bits/atomicity.h
3767         * config/cpu/powerpc/bits/atomicity.h
3768         * config/cpu/sparc/sparc32/bits/atomicity.h
3769         * config/cpu/sparc/sparc64/bits/atomicity.h
3770         * config/os/aix/bits/atomicity.h
3771         * config/os/irix/bits/atomicity.h
3772
3773 2001-02-27  Benjamin Kosnik  <bkoz@redhat.com>
3774
3775         * include/bits/std_stdexcept.h (runtime_error): Make string
3776         member non-const.
3777         (logic_error): Same.
3778         * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
3779         (test03): Fix.
3780
3781 2001-02-26  Benjamin Kosnik  <bkoz@redhat.com>
3782
3783         libstdc++/1972
3784         libstdc++/2089
3785         * include/bits/std_stdexcept.h (logic_error::logic_error): Use
3786         string object, not reference.
3787         (runtime_error::runtime_error): Same.
3788         * testsuite/19_diagnostics/stdexceptions.cc: New file.
3789
3790 2001-02-26  Phil Edwards  <pme@sources.redhat.com>
3791
3792         * acinclude.m4 (GLIBCPP_CONFIGURE):  Update required compiler version.
3793           (GLIBCPP_CHECK_COMPILER_FEATURES):  Can safely assume new
3794           diagnostics.  Remove WFMT_FLAGS.
3795         * configure.in:  Replace WFMT_FLAGS with diagnostics options.
3796         * libsupc++/Makefile.am:  Likewise.
3797         * src/Makefile.am:  Likewise.
3798         * aclocal.m4:  Regenerated.
3799         * configure:  Regenerated.
3800         * Makefile.in:  Regenerated.
3801         * libio/Makefile.in:  Regenerated.
3802         * libmath/Makefile.in:  Regenerated.
3803         * libsupc++/Makefile.in:  Regenerated.
3804         * src/Makefile.in:  Regenerated.
3805
3806 2001-02-26  Phil Edwards  <pme@sources.redhat.com>
3807
3808         Fixes libstdc++/2079
3809         * include/backward/iomanip.h:  Expose <ios> manipulators to global
3810           namespace.
3811         * include/backward/iostream.h:  Also expose std::ws.
3812
3813 2001-02-25  Greg Freemyer <freemyer@NorcrossGroup.com>
3814
3815         * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
3816
3817 2001-02-23  Benjamin Kosnik  <bkoz@redhat.com>
3818
3819         * include/bits/codecvt.h: Use __builtin_alloca.
3820         * include/bits/ostream.tcc: Same.
3821         * include/bits/fstream.tcc: Same.
3822
3823 2001-02-23  Alexandre Oliva <aoliva@redhat.com>
3824
3825         * mknumeric_limits (CC): Use VAR=${VAR=...} form.
3826
3827 2001-02-23  David Edelsohn <dje@watson.ibm.com>
3828
3829         * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
3830
3831 2001-02-23  Phil Edwards  <pme@sources.redhat.com>
3832
3833         c++/2052
3834         * include/backward/iostream.h:  Expose std::flush in old headers.
3835
3836 2001-02-23  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3837
3838         * mknumeric_limits: Remove special-casing on target.  Use gcc
3839         instead of g++ to build gen-num-limits.cc
3840
3841 2001-02-22  Benjamin Kosnik  <bkoz@redhat.com>
3842
3843         * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
3844
3845         * include/bits/codecvt.h: Use alloca instead of __extension__ for
3846         the time being.
3847         * include/bits/ostream.tcc: Same.
3848         * include/bits/std_ostream.h: Same.
3849         * include/bits/fstream.tcc: Same.
3850         * include/bits/locale_facets.tcc: Add typename.
3851         * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
3852
3853 2001-02-21  Phil Edwards  <pme@sources.redhat.com>
3854
3855         * tests_flags.in:  Remove -n flag from call to echo.
3856
3857 2001-02-20  Benjamin Kosnik  <bkoz@redhat.com>
3858
3859         * config/c_locale_gnu.h: Add clocale include.
3860
3861 2001-02-20  Phil Edwards  <pme@sources.redhat.com>
3862
3863         * include/bits/stl_config.h:  Remove file.
3864         * src/Makefile.am (base_headers):  Remove from list.
3865         * configure:  Regenerate.
3866         * Makefile.in:  Ditto.
3867         * libio/Makefile.in:  Ditto.
3868         * libmath/Makefile.in:  Ditto.
3869         * libsupc++/Makefile.in:  Ditto.
3870         * src/Makefile.in:  Ditto.
3871
3872         * include/bits/c++config:  Move relevant macros to here.
3873         * include/backward/alloc.h:  Include c++config.h instead.
3874         * include/backward/function.h:  Ditto.
3875         * include/backward/heap.h:  Ditto.
3876         * include/backward/pair.h:  Ditto.
3877         * include/bits/pthread_allocimpl.h:  Ditto.
3878         * include/bits/std_functional.h:  Ditto.
3879         * include/bits/std_iterator.h:  Ditto.
3880         * include/bits/std_numeric.h:  Ditto.
3881         * include/bits/std_utility.h:  Ditto.
3882         * include/bits/stl_algobase.h:  Ditto.
3883         * include/bits/type_traits.h:  Ditto.
3884         * src/stl-inst.cc:  Ditto.
3885
3886 2001-02-19  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3887
3888         * include/bits/basic_file.h: Add #pragma system_header
3889         * include/bits/basic_ios.h: Ditto.
3890         * include/bits/basic_string.h: Ditto.
3891         * include/bits/char_traits.h: Ditto.
3892         * include/bits/codecvt.h: Ditto.
3893         * include/bits/cpp_type_traits.h:  Ditto.
3894         * include/bits/fpos.h: Ditto.
3895         * include/bits/gslice.h: Ditto.
3896         * include/bits/gslice_array.h: Ditto.
3897         * include/bits/indirect_array.h: Ditto.
3898         * include/bits/ios_base.h: Ditto.
3899         * include/bits/limits_generic.h: Ditto.
3900         * include/bits/locale_facets.h: Ditto.
3901         * include/bits/localefwd.h: Ditto.
3902         * include/bits/mask_array.h: Ditto.
3903         * include/bits/sbuf_iter.h: Ditto.
3904         * include/bits/sequence_concepts.h: Ditto.
3905         * include/bits/slice.h: Ditto.
3906         * include/bits/slice_array.h: Ditto.
3907         * include/bits/std_algorithm.h: Likewise.
3908         * include/bits/std_bitset.h: Likewise.
3909         * include/bits/std_complex.h: Likewise.
3910         * include/bits/std_deque.h: Likewise.
3911         * include/bits/std_fstream.h: Likewise.
3912         * include/bits/std_functional.h: Likewise.
3913         * include/bits/std_iomanip.h: Likewise.
3914         * include/bits/std_ios.h: Likewise.
3915         * include/bits/std_iosfwd.h: Likewise.
3916         * include/bits/std_iostream.h: Likewise.
3917         * include/bits/std_istream.h: Likewise.
3918         * include/bits/std_iterator.h: Likewise.
3919         * include/bits/std_list.h: Likewise.
3920         * include/bits/std_locale.h: Likewise.
3921         * include/bits/std_map.h: Likewise.
3922         * include/bits/std_memory.h: Likewise.
3923         * include/bits/std_numeric.h: Likewise.
3924         * include/bits/std_ostream.h: Likewise.
3925         * include/bits/std_queue.h: Likewise.
3926         * include/bits/std_set.h: Likewise.
3927         * include/bits/std_sstream.h: Likewise.
3928         * include/bits/std_stack.h: Likewise.
3929         * include/bits/std_stdexcept.h: Likewise.
3930         * include/bits/std_streambuf.h: Likewise.
3931         * include/bits/std_string.h: Likewise.
3932         * include/bits/std_utility.h: Likewise.
3933         * include/bits/std_valarray.h: Likewise.
3934         * include/bits/std_vector.h: Likewise.
3935         * include/bits/stringfwd.h: Likewise.
3936         * include/bits/type_traits.h: Likewise.
3937         * include/bits/valarray_array.h: Likewise.
3938         * include/bits/valarray_meta.h: Likewise.
3939
3940 2001-02-19  Andreas Jaeger  <aj@suse.de>
3941
3942         * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
3943         Fix typo.
3944
3945 2001-02-16  Greg Bumgardner <bumgard@roguewave.com>
3946
3947         libstdc++/1734
3948         * include/bits/std_ostream.h: Replaced usage of
3949         _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
3950         * include/bits/char_traits.h: Removed non-standard
3951         methods that cannot be used elsewhere.
3952
3953         libstdc++/1885
3954         * include/bits/basic_ios.h: Uncommented #include of
3955         bits/basic_ios.tcc
3956
3957         libstdc++/1897
3958         * include/bits/codecvt.h: See next...
3959         * include/bits/fstream.tcc: See next...
3960         * include/bits/ostream.tcc: Add __extension__
3961         to variable-length arrays.
3962
3963         libstdc++/1967
3964         * include/bits/localefwd.h: Changed int counter type to size_t.
3965
3966         libstdc++/1968
3967         * include/bits/std_fstream.h: Added typedef for __ctype_type.
3968
3969 2001-02-16  Benjamin Kosnik  <bkoz@redhat.com>
3970
3971         * testsuite/21_strings/char_traits.cc: Move to ...
3972         * testsuite/21_strings/char_traits_requirements.cc: ..here.
3973         * testsuite/21_strings/char_traits-int_type.cc: Move to ...
3974         * testsuite/21_strings/char_traits_typedefs.cc: ..here.
3975
3976 2001-02-16  Gabriel Dos Reis  <gdr@codesourcery.com>
3977
3978         * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
3979         definitions.
3980
3981 2001-02-15  Benjamin Kosnik  <bkoz@redhat.com>
3982
3983         * include/bits/c++config: Revert.
3984
3985 2001-02-15  Mark Mitchell  <mark@codesourcery.com>
3986
3987         * include/bits/istream.tcc: Use ios_base::iostate in place of
3988         iostate throughout.  Insert `typename' keyword where necessary.
3989         * include/bits/ostream.tcc: Insert `typename' keyword where
3990         necessary.
3991
3992 2001-02-15  Jeffrey Oldham  <oldham@codesourcery.com>
3993
3994         * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
3995         Define so library is compliant.
3996
3997 2001-02-15  Anthony Green  <green@redhat.com>
3998
3999         * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
4000         compilation.
4001         * aclocal.m4: Regenerate.
4002         * configure: Regenerate.
4003
4004 2001-02-15  Rodney Brown  <RodneyBrown@mynd.com>
4005
4006         * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
4007         Include ieeefp.h for fpclass on UnixWare{2,7}.
4008         * aclocal.m4: Regenerate.
4009         * configure: Regenerate.
4010         * mkcheck.in (size_command): Do without GNU-grep when using
4011         size from binutils.
4012
4013 2001-02-15  Mark Mitchell  <mark@codesourcery.com>
4014
4015         Remove old ABI support from libsupc++.
4016         * libsupc++/cxxabi.h: Remove conditionally compiled code.
4017         * libsupc++/exception_support.cc: Likewise.
4018         * libsupc++/pure.cc: Likewise.
4019         * libsupc++/tinfo.cc: Likewise.
4020         * libsupc++/tinfo.h: Likewise.
4021         * libsupc++/tinfo2.cc: Likewise.
4022         * libsupc++/typeinfo: Likewise.
4023         * libsupc++/vec.cc: Likewise.
4024
4025 2001-02-15  Benjamin Kosnik  <bkoz@redhat.com>
4026
4027         Add support for -fno-exceptions.
4028         * include/bits/exception_support.h: Remove.
4029         * include/bits/basic_string.h: Remove exception_support.
4030         (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
4031         (string::at): Same.
4032         (string::substr): Same.
4033         * include/bits/basic_string.tcc (string::reserve): Replace
4034         __LENGTHERROR with __throw_length_error.
4035         (string::_S_create): Same.
4036         (string::resize): Same.
4037         (string::_M_replace): Same.
4038         (string::replace): Same.
4039         (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
4040         (string::compare): Same.
4041         * include/bits/stl_vector.h: Remove exception_support.
4042         * src/Makefile.am (base_headers): Remove here.
4043         * src/Makefile.in: Regenerate.
4044
4045         * include/bits/stl_range_errors.h: Remove.
4046         * include/bits/stl_deque.h: Use __throw_range_error.
4047         * include/bits/std_deque.h: Include functexcept.h.
4048         * include/bits/std_vector.h: Same.
4049         * src/Makefile.am (base_headers): Remove here.
4050         * src/Makefile.in: Regenerate.
4051         * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
4052         * include/ext/bvector: Remove stl_range_errors.h
4053
4054         * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
4055
4056         * include/bits/functexcept.h: New file.
4057         * src/functexcept.cc: New file. Definitions for function-based
4058         exception routines.
4059         * src/Makefile.am (sources): Add functexcept.cc.
4060         * src/Makefile.in: Regenerate.
4061
4062         * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
4063         __EXCEPTIONS.
4064
4065         * include/bits/localefwd.h: Include functexcept.h.
4066         * include/bits/std_iosfwd.h: Same.
4067
4068         * include/bits/basic_ios.h: Use __throw_ios_failure instead of
4069         throw basic_ios::failure.
4070         * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
4071         Use __throw_exception_again.
4072         (filebuf::_M_filebuf_init): Same.
4073         * include/bits/streambuf.tcc (__copy_streambufs): Same.
4074         * include/bits/ostream.tcc (ostream::operator<<): Same.
4075         * include/bits/istream.tcc (istream::operator>>): Same.
4076         * include/bits/basic_string.tcc (string::_M_mutate): Same.
4077         (string::_S_construct): Same.
4078         (string::_M_clone): Same.
4079         * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
4080         __throw_bad_cast.
4081         (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
4082         * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
4083         __throw_exception_again.
4084         (locale::_Imp::_Imp(string, size_t): Same.
4085         (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
4086         * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
4087         (locale::locale(const char*)): Use __throw_runtime_error.
4088         (locale::classic): Use __throw_exception_again.
4089         (locale::_S_normalize_category): Use __throw_runtime_error.
4090
4091         * src/stdexcept.cc: Remove cruft.
4092
4093         * libsupc++/exception_defines.h: New file.
4094         * libsupc++/new_opnt.cc: Include exception_defines.h.
4095         * libsupc++/vec.cc: Same.
4096         (__cxa_vec_new2): Use __throw_exception_again.
4097         (__cxa_vec_new3): Same.
4098         (__cxa_vec_ctor): Same.
4099         (__cxa_vec_delete3): Same.
4100         (__cxa_vec_cctor): Same.
4101         (__cxa_vec_delete2): Same.
4102         (__cxa_vec_dtor): Same.
4103         * libsupc++/exception_support.cc: Include exception_defines.h. Only
4104         compile exception-handling bits if __EXCEPTIONS is defined.
4105         Remove old ABI support.
4106         * libsupc++/new_op.cc (new): Include exception_defines.h. Use
4107         std::__throw_bad_alloc() instead of throw bad_alloc.
4108         * libsupc++/Makefile.am: Add exception_defines.h.
4109         * libsupc++/Makefile.in: Reformat.
4110         * libsupc++/*: Format.
4111
4112 2001-02-15  Phil Edwards  <pme@sources.redhat.com>
4113
4114         * docs/html/configopts.html:  Minor updates and typo fixes.
4115         * docs/html/faq/index.html:  Updates of the "not really bugs" list.
4116         * docs/html/faq/index.txt:  Regenerated.
4117
4118 2001-02-15  Gabriel Dos Reis  <gdr@codesourcery.com>
4119
4120         * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
4121         dejagnu/dg.exp.  Adapt to log options used to run testcases.
4122
4123 2001-02-13  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
4124
4125         * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
4126         dejagnu/dg.exp.
4127
4128 2001-02-13  Dirk Mueller <dmuell@gmx.net>
4129             Phil Edwards  <pme@sources.redhat.com>
4130
4131         * include/backward/function.h:  Do not use rel_ops for older
4132           headers either.
4133         * include/backward/pair.h:  Likewise.
4134
4135 2001-02-12  Mark Mitchell  <mark@codesourcery.com>
4136
4137         * src/locale.cc: Remove bogus locale::id definitions.
4138
4139 2001-02-11  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
4140
4141         * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
4142         not _DEFINE_VALARRAY_OPERATOR which is not existent.
4143
4144         * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
4145         thinko in member initialisation.
4146
4147 2001-02-11  Gabriel Dos Reis  <gdr@codesourcery.com>
4148
4149         * include/bits/std_valarray.h(valarray<>::shift): Avoid
4150         comparaison between signed and unsigned integer types.
4151         (valarray<>::cshift): Reformat.
4152
4153 2001-02-11  Alexandre Oliva  <aoliva@redhat.com>
4154
4155         * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
4156         * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
4157         * configure.in: Test for sigsetjmp.
4158         * configure, config.h.in: Rebuilt.
4159
4160 2001-02-11  Gabriel Dos Reis  <gdr@codesourcery.com>
4161
4162         * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
4163         lengths and strides.
4164         (__gslice_to_index): Document.
4165
4166 2001-02-11  Gabriel Dos Reis  <gdr@codesourcery.com>
4167
4168         * include/bits/char_traits.h char_traits<char>::int_type: Change
4169         to `int' to match 21.1.3.1/2.
4170
4171         * testsuite/21_strings/char_traits-int_type.C: New test.
4172
4173 2001-02-10  Gabriel Dos Reis  <gdr@codesourcery.com>
4174
4175         * testsuite/Makefile.am: New file.
4176
4177 2001-02-09  Nathan Sidwell  <nathan@codesourcery.com>
4178
4179         * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
4180
4181 2001-02-08  Loren J. Rittle  <ljrittle@acm.org>
4182
4183         * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
4184
4185 2001-02-08  David Edelsohn  <edelsohn@gnu.org>
4186
4187         * configure.target (aix4*): Remove extra set of brackets.
4188
4189 2001-02-07  Benjamin Kosnik  <bkoz@redhat.com>
4190
4191         Clean up stdexcept.
4192         * include/bits/stringfwd.h: New file.
4193         * include/bits/stl_string_fwd.h: Remove.
4194         * include/bits/localefwd.h: Remove declaration for allocator.
4195         * include/bits/std_iosfwd: Same.
4196         * include/bits/std_string.h: Include it.
4197         * include/bits/std_ios.h: Remove include.
4198         * include/bits/basic_string.h: Tweak.
4199         * libsupc++/new: Format.
4200         * src/Makefile.am (base_headers): Add stringfwd.h, remove
4201         stl_string_fwd.h
4202         * src/Makefile.in: Regenerate.
4203         * include/bits/std_stdexcept.h: Rewrite.
4204         * src/stdexcept.cc: Same.
4205
4206 2001-02-06  Benjamin Kosnik  <bkoz@redhat.com>
4207
4208         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
4209         install locations too.
4210         * aclocal.m4: Regenerate.
4211         * configure.in: Remove USE_LIBDIR.
4212         * configure: Regenerate.
4213         * src/Makefile.am (toolexecdir): Simplify, use
4214         glibcpp_toolexecdir, glibcpp_toolexeclibdir.
4215         * src/Makefile.in: Regenerate.
4216         * libsupc++/Makefile.am: Same.
4217         * libsupc++/Makefile.in: Regenerate.
4218
4219         * src/Makefile.am: Just remove special rules for locale-inst.cc and
4220         misc-inst.cc as no longer necessary.
4221
4222         Follow C++STYLE for naming non-static functions.
4223         * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
4224         __pad_char.
4225         * include/bits/streambuf.tcc: Same.
4226         * include/bits/ostream.tcc: Same.
4227         * include/bits/istream.tcc: Same.
4228         * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
4229         (_S_output_float): To __output_float.
4230         * include/bits/std_streambuf.h (_S_copy_streambufs): To
4231         __copy_streambufs.
4232         * include/bits/locale_facets.tcc (_S_build_float_format): To
4233         __build_float_format.
4234         (_S_format): To __output_integer.
4235         (_S_fill): To __pad.
4236         * src/locale.cc: Same.
4237         * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
4238         names.
4239         * include/bits/locale_facets.tcc (_S_group_digits): To
4240         __group_digits.
4241         * src/locale-inst.cc: Fixup names. Add use_facet instantiations
4242         for collate, numpunct.
4243
4244 2001-02-06  Phil Edwards  <pme@sources.redhat.com>
4245
4246         * docs/html/configopts.html:  Fix HTML markup.
4247         * docs/html/install.html:  Bring up to date.
4248         * docs/html/17_intro/C++STYLE:  Add global variable conventions.
4249         * docs/html/21_strings/howto.html:  More notes.
4250         * docs/html/22_locale/howto.html:  Fix HTML markup.
4251         * docs/html/27_io/howto.html:  More notes.
4252         * docs/html/27_io/binary_iostreams_kanze.txt:  New file.
4253         * docs/html/27_io/binary_iostreams_kuehl.txt:  New file.
4254
4255 2001-02-06  Jeffrey Oldham  <oldham@codesourcery.com>
4256
4257         * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
4258         to match header files.
4259         (_S_output_float): Likewise.
4260         (_S_copy_streambufs): Likewise.
4261
4262 2001-02-06  Hyman Rosen  <Hyman.Rosen@kbcfp.com>
4263             Phil Edwards  <pme@sources.redhat.com>
4264
4265         * include/bits/std_istream.h (op>> signed,unsigned char):  Must
4266           use reinterpret_cast, not static_cast.
4267
4268 2001-02-06  Benjamin Kosnik  <bkoz@redhat.com>
4269
4270         * acinclude.m4 (gxx_include_dir): Quote, fix regression.
4271         * aclocal.m4: Regenerate.
4272         * configure: Regenerate.
4273
4274 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
4275
4276         * include/bits/locale_facets.h (class moneypunct): Fix typos.
4277         * libsupc++/pure.cc: Revert.
4278
4279 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
4280
4281         * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
4282         (GLIBCPP_CHECK_MATH_DECL_2): New macro.
4283         (GLIBCPP_CHECK_MATH_DECL_3): New macro.
4284         (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
4285         (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
4286         (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
4287         (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
4288         * aclocal.m4: Regenerate.
4289         * configure: Regenerate.
4290
4291 2001-02-05  Mark Mitchell  <mark@codesourcery.com>
4292
4293         * include/bits/locale_facets.tcc: Remove `static' keyword on
4294         function definitions.
4295         * include/bits/std_streambuf.h: Likewise.
4296         * src/Makefile.am: Remove use of -fimplicit-templates.
4297         * src/Makefile.in: Regenerated.
4298         * src/locale-inst.cc: Explicitly instantiate more functions.
4299         * src/misc-inst.cc: Likewise.
4300         * src/string-inst.cc: Likewise.
4301
4302 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
4303
4304         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
4305         macro. Consolidate all the bits to do with where includes might be
4306         installed.
4307         * aclocal.m4: Regenerate.
4308         * configure.in: Use it.
4309         * configure: Regenerate.
4310         * src/Makefile.am (targetincludep): Use simplified rules.
4311         (targetincludep): Rename gxx_target_include_dir.
4312         (myincludep): Rename gxx_include_dir.
4313         * src/Makefile.in: Regenerate.
4314         * libsupc++/Makefile.am: Use simplified rules.
4315         * libsupc++/Makefile.in: Regenerate.
4316
4317 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
4318
4319         * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
4320         * include/c_std/bits/std_cctype.h: Same.
4321         * include/c_std/bits/std_cassert.h: Same.
4322         * include/c_std/bits/std_cstdarg.h: Same.
4323         * include/c_std/bits/std_cstddef.h: Same.
4324
4325         * include/c_std/bits/std_cstdio.h: Undefine all names brought into
4326         namespace std.
4327         * include/c_std/bits/std_ctime.h: Same.
4328         * include/c_std/bits/std_clocale.h: Same.
4329         * include/c_std/bits/std_cmath.h: Same.
4330         * include/c_std/bits/std_csetjmp.h: Same.
4331         * include/c_std/bits/std_csignal.h: Same.
4332         * include/c_std/bits/std_cstring.h: Same.
4333         * include/c_std/bits/std_cstdlib.h: Same.
4334         * include/c_std/bits/std_cwchar.h: Same.
4335
4336 2001-02-05  Phil Edwards  <pme@sources.redhat.com>
4337
4338         * testsuite/27_io/ios_base_members_static.cc:  Swap order of tests.
4339
4340 2001-02-05  Mark Mitchell  <mark@codesourcery.com>
4341
4342         * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
4343         (string::_S_construct): Likewise.
4344
4345 2001-02-05  Gabriel Dos Reis  <gdr@codesourcery.com>
4346
4347         * testsuite/config/default.exp: New file.
4348         * testsuite/config: New directory.
4349
4350 2001-02-04  Mark Mitchell  <mark@codesourcery.com>
4351
4352         * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
4353         * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
4354         whenever !__GXX_MERGED_TYPEINFO_NAMES.
4355         * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
4356
4357 2001-02-03  Alexandre Oliva  <aoliva@redhat.com>
4358             Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
4359
4360         * Makefile.am (mkinstalldirs): Set.
4361         * src/Makefile.am (mkinstalldirs): Set.
4362         * libmath/Makefile.am (mkinstalldirs): Set.
4363         * libsup++/Makefile.am (mkinstalldirs): Set.
4364         * libio/Makefile.am (mkinstalldirs): Set.
4365         * */Makefile.in: Regenerate.
4366
4367 2001-02-03  Benjamin Kosnik  <bkoz@redhat.com>
4368
4369         * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
4370         * include/bits/localefwd.h: More initialization cleanups.
4371
4372 2001-02-03  Jeffrey A Law  <law@cygnus.com>
4373
4374         * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
4375         correctly targets with 16bit ints.
4376         (_S_ios_openmode_end): Similarly.
4377         (_S_ios_iostate_end): Similarly.
4378         (_S_ios_Seekdir_end): Similarly.
4379
4380 2001-02-02  Phil Edwards  <pme@sources.redhat.com>
4381
4382         * mkcheck.in:  Also limit virtual memory size, for mmap-based mallocs.
4383
4384 2001-02-01  Alexandre Oliva  <aoliva@redhat.com>
4385
4386         * configure.in (toplevel_srcdir, auxdir): Set.
4387         * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
4388         * aclocal.m4, configure, Makefile.in: Rebuilt.
4389         * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
4390         * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
4391         * libsupc++-v3/Makefile.in: Rebuilt.
4392         * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
4393         * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
4394
4395 2001-01-30   Benjamin Kosnik  <bkoz@redhat.com>
4396
4397         * config/c_locale_generic.cc: Remove langinfo include.
4398
4399 2001-01-29  Benjamin Kosnik  <bkoz@redhat.com>
4400
4401         Preliminary named locales.
4402         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
4403         * aclocal.m4: Regenerate.
4404         * configure.in: Use it.
4405         * configure: Regerate.
4406         * src/Makefile.am (sources): Add c++locale.cc.
4407         (build_headers): Add c++locale.h.
4408         * src/Makefile.in: Regenerate.
4409         * config/c_locale_gnu.h: New file.
4410         * config/c_locale_gnu.cc: New file. Non-inline member functions
4411         for named locales, gnu-specific.
4412         * config/c_locale_generic.h: New file.
4413         * config/c_locale_generic.cc: New file. Non-inline member
4414         functions for named locales, generic version.
4415         * docs/html/configopts.html: Add documentation on new options.
4416
4417         * include/bits/locale_facets.h (class _Messages): Remove.
4418         (class _Moneypunct): Remove.
4419         * src/locale-inst.cc: Remove.
4420
4421         * include/bits/locale_facets.h (class _Collate): Remove.
4422         * src/locale-inst.cc (std): Remove.
4423         * src/locale.cc: And here.
4424
4425         * include/bits/localefwd.h (locale::_M_coalesce): New
4426         function. Correctly put together multi-name locales.
4427         (_Impl(const _Impl&, category, size_t)): Remove.
4428
4429         * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
4430         member functions.
4431         (_M_normalize_category_names): Remove.
4432         (_M_replace_categories): Fix.
4433
4434         * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
4435         (locale::_Impl::_M_construct_ctype): Remove.
4436         (locale::_Impl::_M_construct_monetary): Remove.
4437         (locale::_Impl::_M_construct_numeric): Remove.
4438         (locale::_Impl::_M_construct_time): Remove.
4439         (locale::_Impl::_M_construct_messages): Remove.
4440
4441         * include/bits/locale_facets.h (_Bad_use_facet): Remove.
4442         (_Use_facet_failure_handle): Remove.
4443         * src/locale.cc: Remove definitions.
4444         * src/locale-inst.cc: And here.
4445
4446         * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
4447
4448         * src/localename.cc (locale::facet::_S_create_c_locale): Properly
4449         create and error-check underlying locale object.
4450         (locale::facet::_S_destroy_c_locale): Add, take care of properly
4451         tearing down underlying locale object.
4452         * include/bits/localefwd.h (locale::facet): Declare.
4453         * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
4454         correctness, as glibc apparently has incorrect info in it. Test
4455         with it when it works again.....
4456
4457         * include/bits/localefwd.h (locale::_Impl::__vec_string):
4458         Remove. Number of categories is fixed at six, so just simplify and
4459         make this an array of strings.
4460         (locale::_Impl::_M_has_name): Remove.
4461         (locale::_Impl::_M_name): Remove.
4462         (locale::_Impl::_M_category_names): Turns into...
4463         (locale::_Impl::_M_names): ...this.
4464         (locale::_Impl::_M_has_same_name()): New function.
4465         * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
4466         (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
4467         signature.
4468         * src/locale.cc (locale::name()): Construct mangled name
4469         accurately reflecting combined locale categories.
4470
4471         * src/locale.cc (locale::classic()): Don't initialize here.
4472         * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
4473         __refs, bool __has_name, string __str): Do it here.
4474
4475         * include/bits/localefwd.h: _S_categories_num to
4476         _S_num_categories. _S_facets_num to _S_num_facets.
4477         (locale::id::id()): Explicitly set _M_index to zero.
4478         * src/locale.cc: Same.
4479
4480         * src/locale.cc: (locale::locale(const char*)): Construct named
4481         locales uniquely.
4482
4483         * src/locale.cc: Remove numpunct_byname ctors.
4484         * testsuite/22_locale/numpunct_byname.cc: New file.
4485         * testsuite/22_locale/numpunct.cc: New file.
4486
4487         * include/bits/localefwd.h (class locale): Change data members to
4488         protected, from private.
4489         (_Impl::_M_get_c_locale): Add member function.
4490         (locale::facet::_M_get_global_impl()): Add member function.
4491         * include/bits/locale_facets.h (numpunct::_M_init): Change to take
4492         a __c_locale pointer.
4493         (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
4494         named locales.
4495         * testsuite/22_locale/members.cc: New file, test name and combine.
4496
4497         * include/bits/locale_facets.h (class numpunct): Remove class
4498         _Punct and _Numpunct. Rewrite class numpunct to be correct for
4499         named locales.
4500         * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
4501         * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
4502         (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
4503         * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
4504         * testsuite/22_locale/numpunct_char_members.cc: New file.
4505
4506 2001-01-28  Gabriel Dos Reis  <gdr@codesourcery.com>
4507
4508         * testsuite/README: Add more comment.
4509         * testsuite/lib/libstdc++.exp: Tweak comment.
4510
4511 2001-01-26  Benjamin Kosnik  <bkoz@kredhat.com>
4512
4513         * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
4514
4515 2001-01-25  Loren J. Rittle  <ljrittle@acm.org>
4516
4517         * testsuite/21_strings/inserters_extractors.cc: Remove
4518         explicit reference to 'testsuite/'.
4519
4520 2001-01-25  Richard Henderson  <rth@redhat.com>
4521
4522         * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
4523         bits. Fixes Tru64 build issues.
4524
4525 2001-01-25  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
4526
4527         * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
4528         (use ${MAKE-make}, not ${MAKE:-make}).
4529         * aclocal.m4, configure: Regenerate.
4530
4531 2001-01-25  Mark Mitchell  <mark@codesourcery.com>
4532
4533         * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
4534         checkin.
4535
4536         * src/Makefile.am (sources): Add globals.cc.
4537         * src/Makefile.in: Regenerated.
4538         * src/globals.cc: New file.
4539         * src/ios.cc (cin): Don't define here, just declare extern.
4540         (cout): Likewise.
4541         (cerr): Likewise.
4542         (clog): Likewise.
4543         (wcin): Likewise.
4544         (wcout): Likewise.
4545         (wcerr): Likewise.
4546         (wclog): Likewise.
4547
4548 2001-01-25  Phil Edwards  <pme@sources.redhat.com>
4549
4550         * include/bits/std_iterator.h:  Do not include stl_relops.h.
4551         * include/bits/std_numeric.h:  Ditto.
4552         * include/bits/stl_algobase.h:  Ditto.
4553         * include/bits/stl_relops.h:  Add comment warning about problems.
4554
4555 2001-01-25  Gabriel Dos Reis  <gdr@codesourcery.com>
4556
4557         * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
4558         in testcases.  Prepare for the DejaGnu based framework.
4559         * mkcheck.in: Adjust call to tests_flags.  Don't mmkdir testsuite
4560         directory -- it is now mkcheck working directory.
4561         * tests_flags.in: Remove reference to $(top_srcdir).  Use
4562         ${SRC_DIR} instead.
4563         * Makefile.am (check, check-install): Change mkcheck invocation
4564         logic.
4565         * Makefile.in: Regenerate.
4566
4567 2001-01-24  Mark Mitchell  <mark@codesourcery.com>
4568
4569         * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
4570         (__always_swap): Likewise.
4571
4572 2001-01-23  Chris Demetriou  <cgd@broadcom.com>
4573
4574         * libsupc++/exception_support.cc (__terminate_func): Remove
4575         declaration.
4576         (__terminate_func_ptr): New typedef.
4577         (__terminate, __terminate_set_func): New extern function
4578         prototypes.
4579         (std::terminate): Use __terminate function.
4580         (std::set_terminate): Use __terminate_set_func function.
4581
4582 2001-01-23  Benjamin Kosnik  <bkoz@redhat.com>
4583
4584         * configure.target: Just use os_include_dir always.
4585         * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
4586         Link atomicity files and ctype files here.
4587         * configure: Regenerate.
4588         * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
4589         (GLIBCPP_ENABLE_ATOMICITY): Remove.
4590         * aclocal.m4: Regenerate.
4591
4592 2001-01-23  Chris Demetriou  <cgd@broadcom.com>
4593
4594         * configure.in: Place definition of MULTISUBDIR in
4595         libsupc++/Makefile as is done for src/Makefile.
4596         * configure: Regenerate.
4597
4598 2001-01-23  Phil Edwards  <pme@sources.redhat.com>
4599
4600         * acinclude.m4:  Cosmetic changes only.
4601         * aclocal.m4:  Regenerated.
4602         * configure:  Regenerated.
4603         * configure.target:  Update documented list of changed variables.
4604         * docs/html/install.html:  Fix typo.
4605         * docs/html/20_util/howto.html:  More notes on auto_ptr.
4606         * docs/html/27_io/howto.html:  More notes on streabufs.
4607         * docs/html/faq/index.html:  Add rel_ops problem and mention the
4608           DEC as(1) .subsection difficulty.
4609         * docs/html/faq/index.txt:  Regenerated.
4610
4611 2001-01-23  Mark Mitchell  <mark@codesourcery.com>
4612
4613         * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
4614         (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
4615         (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
4616         its already provided in config.target.
4617         * aclocal.m4: Regenerated.
4618         * configure: Likewise.
4619         * configure.target: Set ctype_include_dir for lots of systems.
4620         * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
4621         * libsupc++/Makefile.in: Regenerated.
4622
4623 2001-01-23  Gabriel Dos Reis  <gdr@codesourcery.com>
4624
4625         * testsuite/lib/libstdc++.exp: Improve.  Add support for @xxx#
4626         keyword capability.
4627
4628         * testsuite/README: Add comment.
4629
4630 2001-01-21  Phil Edwards  <pme@sources.redhat.com>
4631
4632         * docs/html/configopts.html:  Update for current status.  Fix HTML.
4633         * docs/html/install.html:  Update for current status.
4634
4635 2001-01-20  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
4636
4637         * testsuite/libstdc++.tests/tests.exp: New file.
4638         * testsuite/lib/libstdc++.exp: Itou.
4639         * testsuite/README: Itou.
4640
4641 2001-01-20  Gabriel Dos Reis  <gdr@codesourcery.com>
4642
4643         * tests_flags.in: Just output the bare minimum to run tests.
4644         Let's the caller do its own arrangement.
4645
4646         * mkcheck.in: Rename INC_PATH to INCLUDES.  Adjust flags
4647         computations.
4648
4649 2001-01-19  Gabriel Dos Reis  <gdr@codesourcery.com>
4650
4651         * testsuite/17_intro: Prepare testcases for new style DejaGnu
4652         framework.
4653
4654 2001-01-18  Gabriel Dos Reis  <gdr@codesourcery.com>
4655
4656         * testsuite/libstdc++.tests, testsuite/lib: New directories.
4657
4658 2001-01-17  Loren J. Rittle  <ljrittle@acm.org>
4659
4660         * mkcheck.in: Construct file names that match $objdir structure.
4661         * testsuite/27_io/filebuf_members-1.txt: New file.
4662         * testsuite/27_io/ifstream_members-1.txt: New file.
4663         * testsuite/27_io/ostream_inserter_char-1.txt: New file.
4664
4665         * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
4666         * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
4667
4668 2001-01-17  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
4669
4670         * testsuite/27_io/istream_sentry.cc (test02): Fix.
4671
4672 2001-01-17  Benjamin Kosnik  <bkoz@redhat.com>
4673
4674         libstdc++/1605
4675         * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
4676         * src/ios.cc (ios_base::failure): Make definitions match.
4677         * libsupc++/typeinfo (class bad_typeid): Add throw specs.
4678         (class bad_cast): Same.
4679         * libsupc++/exception (class exception): Add throw specs.
4680         * libsupc++/exception_support.cc (set_terminate): Add throw specs.
4681         (set_unexpected): Same.
4682         (uncaught_exception): Same.
4683         (what): Same.
4684
4685         * docs/html/17_intro/C++STYLE (classname): Fix.
4686
4687 2001-01-16  Mark Mitchell  <mark@codesourcery.com>
4688
4689         * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
4690         Use it do explicitly instantiate predicate<T> and value<T> for
4691         all the builtin Ts.
4692
4693 2001-01-16  Nathan Sidwell  <nathan@codesourcery.com>
4694
4695         * libsupc++/exception_support.cc (__cp_pop_exception): Fix
4696         uninitialized thinko in last change.
4697
4698 2001-01-16  Mark Mitchell  <mark@codesourcery.com>
4699
4700         * libsupc++/exception_support.cc (__cp_pop_exception): Change
4701         prototype.
4702
4703 2001-01-16  Benjamin Kosnik  <bkoz@redhat.com>
4704
4705         * docs/html/17_intro/C++STYLE (classname): Add more existing
4706         and stylish patterns.
4707
4708         libstdc++/944
4709         * include/bits/istream.tcc (istream::sentry::sentry()): Set
4710         failbit if the state of the stream is not good.
4711         * testsuite/27_io/istream_sentry.cc (test02): Add test.
4712         * testsuite/27_io/istream_manip.cc (test01): Modify.
4713
4714         libstdc++/1019
4715         reported by Paolo Carlini <pcarlini@unitus.it>
4716         * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
4717         * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
4718
4719         libstdc++/1057
4720         * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
4721         * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
4722         (xsgetn): Same. Simplify.
4723         * testsuite/27_io/streambuf.cc (test04): Add testcases.
4724
4725         reported by Larry Evans <jcampbell3@prodigy.net>
4726         * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
4727         equality with eof on returned value from overflow.
4728
4729 2001-01-14  Andreas Jaeger  <aj@suse.de>
4730
4731         * libio/libio.h: Add test for glibc 2.0.
4732
4733 2001-01-12  Benjamin Kosnik  <bkoz@redhat.com>
4734
4735         * config/os/djgpp/bits/*: Fix dates.
4736
4737         * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
4738         _CharT* __end, _CharT __c): Remove.
4739         * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
4740         * include/bits/char_traits.h: Tweak.
4741
4742 2001-01-12  Laurynas Biveinis  <lauras@softhome.net>
4743
4744         * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
4745         (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
4746         bash bug.
4747         * aclocal.m4: regenerated.
4748         * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
4749         * configure: regenerated.
4750         * config/os/djgpp, config/os/djgpp/bits: new directories.
4751         * config/os/djgpp/bits/ctype_base.h,
4752         config/os/djgpp/bits/ctype_inline.h,
4753         config/os/djgpp/bits/ctype_noninline.h,
4754         config/os/djgpp/bits/os_defines.h: new files.
4755
4756 2001-01-11   Joseph S. Myers  <jsm28@cam.ac.uk>
4757
4758         * include/c_std/bits/std_cstdio.h: Undef printf.
4759
4760 2001-01-10  Benjamin Kosnik  <bkoz@redhat.com>
4761
4762         * src/ios.cc: Fix typo: change cout->wcout.
4763
4764         * src/Makefile.am (targetincludep): Fix for version-specific-libs.
4765         * src/Makefile.in: Regenerate.
4766
4767 2001-01-10  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
4768
4769          * include/bits/std_complex.h: Fix a typo.
4770
4771 2001-01-09  Benjamin Kosnik  <bkoz@redhat.com>
4772                              <kainz@ilm.com>
4773
4774         Fixes for libstdc++/1576
4775         * src/stdstreams.cc: Initialize with NULL filebuf. Delete
4776         file, move contents into....
4777         * src/ios.cc: ...Here. Put defines for iostreams objects and
4778         initialization routines into one file to simplify DSO interaction.
4779         * include/bits/std_iostream.h: Touch.
4780         * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
4781         * src/Makefile.am (sources): Remove stdstreams.cc.
4782         * src/Makefile.in: Regenerate.
4783
4784 2001-01-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
4785
4786         * tests_flags.in (check_directory): Fix typo.
4787
4788 2001-01-09  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
4789
4790          * include/bits/std_complex.h: Fix a typo.
4791
4792 2001-01-09  Loren J. Rittle  <ljrittle@acm.org>
4793
4794         * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
4795         code path:) Remove magic constants and restructure to handle
4796         ctype.h bit mask layout changes more gracefully.  (Make fast
4797         code path:) Use __maskrune (), if available.
4798         (is): Remove special case for digit and xdigit masks.
4799
4800 2001-01-09  Robert Lipe <robertlipe@usa.net>
4801
4802         * include/c_std/bits/std_ctime.h: Undefine difftime.
4803
4804 2001-01-09  Alexandre Oliva  <aoliva@redhat.com>
4805
4806         * src/gen-num-limits.cc (signal_adapter): New template function.
4807         (signal_handler): Use it, instead of signal.
4808         (traps<T>): Likewise.  Install SIGTRAP handler too.  Don't
4809         require both tests to trap to set trap_flag.
4810
4811 2001-01-08  Benjamin Kosnik  <bkoz@redhat.com>
4812
4813         * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
4814         initialize mbstate_t member, name offset data members *off, not pos.
4815         * include/bits/fstream.tcc (filebuf::filebuf): Same.
4816
4817 2001-01-08  Benjamin Kosnik  <bkoz@redhat.com>
4818
4819         reported by Chris G. Demetriou <cgd@sibyte.com>
4820         * configure.in: Change -linux-* to -linux*.
4821         * configure: Regenerate.
4822
4823 2001-01-05  Benjamin Kosnik  <bkoz@redhat.com>
4824
4825         Fix 27_io/filebuf_members.cc
4826         * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
4827         const string& __name, category __cat, size_t __refs): Set
4828         _M_has_name with _M_name.
4829         * include/bits/localefwd.h (locale::operator!=): Protect member
4830         function call with this->.
4831         * src/locale.cc (locale::operator==): Make fast checks first.
4832         * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
4833
4834         * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
4835         to ios_base::Init.
4836         * src/ios.cc (ios_base::Init::Init): Initialize here.
4837         (ios_base::sync_with_stdio): Set here.
4838
4839 2001-01-04  Loren J. Rittle  <ljrittle@acm.org>
4840
4841         * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
4842         systems that support it, call dup() before fdopen().
4843
4844 2001-01-03  Benjamin Kosnik  <bkoz@redhat.com>
4845
4846         * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
4847         * testsuite/17_intro/header_cwctype.cc (main): New file.
4848
4849         * src/Makefile.am (base_headers): Change.
4850         * include/bits/std_string.h: And here.
4851         * include/bits/string.tcc: Tweaks, move to...
4852         * include/bits/basic_string.tcc: ...Here.
4853         * src/string-inst.cc: Simplify, just instantiate the whole class,
4854         not member-by-member.
4855
4856 2001-01-02  Benjamin Kosnik  <bkoz@redhat.com>
4857
4858         * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
4859         * aclocal.m4: Regenerate.
4860         * configure: Regenerate.
4861
4862         * include/bits/c++config (__GLIBCPP__): Bump version number.
4863
4864         * ChangeLog: Start new log for year 2001
4865         * ChangeLog-2000: New file.
4866
4867         * docs/html/configopts.html: Make sure default values are current,
4868         add commentary.
4869
4870 2001-01-01  Benjamin Kosnik  <bkoz@fillmore.redhat.com>
4871
4872         * include/c_std/bits/std_cwchar.h: Same.
4873         * testsuite/17_intro/header_cwchar.cc: Same.
4874         * include/c_std/bits/std_ctime.h: Same.
4875         * testsuite/17_intro/header_ctime.cc: Same.
4876         * include/c_std/bits/std_cstdlib.h: Same.
4877         Clean up undefs, make consistent with cwchar and cmath, etc.
4878         * testsuite/17_intro/header_cstdlib.cc: Same.
4879         * include/c_std/bits/std_cstdio.h: Same here.
4880         * testsuite/17_intro/header_cstring.cc: Same.
4881         * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
4882         * testsuite/17_intro/header_cstring.cc: New file. Check for
4883         size_t in namespace std.
4884
4885         * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
4886         * acconfig.h (HAVE_MBSTATE_T): Add.
4887         * config.h.in: Regenerate.
4888         * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
4889         mbstate_t.
4890         * aclocal.m4: Regenerate.
4891         * configure: Regenerate.
4892         * testsuite/17_intro/headers_c++.cc: New file.
4893         * testsuite/17_intro/headers_c.cc: Small changes.
4894
4895 2001-01-01  David Billinghurst <David.Billinghurst@riotinto.com>
4896
4897         * tests_flags.in: Fix typo in usage.
4898
4899         * tests_flags.in: Set target specific LIBS for cygwin.