OSDN Git Service

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