OSDN Git Service

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