OSDN Git Service

2001-01-23 Chris Demetriou <cgd@broadcom.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
1 2001-01-23  Chris Demetriou  <cgd@broadcom.com>
2
3         * libsupc++/exception_support.cc (__terminate_func): Remove
4         declaration.
5         (__terminate_func_ptr): New typedef.
6         (__terminate, __terminate_set_func): New extern function
7         prototypes.
8         (std::terminate): Use __terminate function.
9         (std::set_terminate): Use __terminate_set_func function.
10
11 2001-01-23  Benjamin Kosnik  <bkoz@redhat.com>
12
13         * configure.target: Just use os_include_dir always.
14         * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
15         Link atomicity files and ctype files here.
16         * configure: Regenerate.
17         * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
18         (GLIBCPP_ENABLE_ATOMICITY): Remove.
19         * aclocal.m4: Regenerate.
20         
21 2001-01-23  Chris Demetriou  <cgd@broadcom.com>
22
23         * configure.in: Place definition of MULTISUBDIR in
24         libsupc++/Makefile as is done for src/Makefile.
25         * configure: Regenerate.
26
27 2001-01-23  Phil Edwards  <pme@sources.redhat.com>
28
29         * acinclude.m4:  Cosmetic changes only.
30         * aclocal.m4:  Regenerated.
31         * configure:  Regenerated.
32         * configure.target:  Update documented list of changed variables.
33         * docs/html/install.html:  Fix typo.
34         * docs/html/20_util/howto.html:  More notes on auto_ptr.
35         * docs/html/27_io/howto.html:  More notes on streabufs.
36         * docs/html/faq/index.html:  Add rel_ops problem and mention the
37           DEC as(1) .subsection difficulty.
38         * docs/html/faq/index.txt:  Regenerated.
39
40 2001-01-23  Mark Mitchell  <mark@codesourcery.com>
41
42         * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
43         (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
44         (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
45         its already provided in config.target.
46         * aclocal.m4: Regenerated.
47         * configure: Likewise.
48         * configure.target: Set ctype_include_dir for lots of systems.
49         * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
50         * libsupc++/Makefile.in: Regenerated.
51
52 2001-01-23  Gabriel Dos Reis  <gdr@codesourcery.com>
53
54         * testsuite/lib/libstdc++.exp: Improve.  Add support for @xxx#
55         keyword capability.
56
57         * testsuite/README: Add comment.
58
59 2001-01-21  Phil Edwards  <pme@sources.redhat.com>
60
61         * docs/html/configopts.html:  Update for current status.  Fix HTML.
62         * docs/html/install.html:  Update for current status.
63
64 2001-01-20  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
65
66         * testsuite/libstdc++.tests/tests.exp: New file.
67         * testsuite/lib/libstdc++.exp: Itou.
68         * testsuite/README: Itou.
69
70 2001-01-20  Gabriel Dos Reis  <gdr@codesourcery.com>
71
72         * tests_flags.in: Just output the bare minimum to run tests.
73         Let's the caller do its own arrangement.
74
75         * mkcheck.in: Rename INC_PATH to INCLUDES.  Adjust flags
76         computations.
77
78 2001-01-19  Gabriel Dos Reis  <gdr@codesourcery.com>
79
80         * testsuite/17_intro: Prepare testcases for new style DejaGnu
81         framework. 
82
83 2001-01-18  Gabriel Dos Reis  <gdr@codesourcery.com>
84
85         * testsuite/libstdc++.tests, testsuite/lib: New directories.
86
87 2001-01-17  Loren J. Rittle  <ljrittle@acm.org>
88
89         * mkcheck.in: Construct file names that match $objdir structure.
90         * testsuite/27_io/filebuf_members-1.txt: New file.
91         * testsuite/27_io/ifstream_members-1.txt: New file.
92         * testsuite/27_io/ostream_inserter_char-1.txt: New file.
93
94         * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
95         * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
96
97 2001-01-17  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
98
99         * testsuite/27_io/istream_sentry.cc (test02): Fix.
100
101 2001-01-17  Benjamin Kosnik  <bkoz@redhat.com>
102
103         libstdc++/1605
104         * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
105         * src/ios.cc (ios_base::failure): Make definitions match.
106         * libsupc++/typeinfo (class bad_typeid): Add throw specs.
107         (class bad_cast): Same.
108         * libsupc++/exception (class exception): Add throw specs.
109         * libsupc++/exception_support.cc (set_terminate): Add throw specs.
110         (set_unexpected): Same.
111         (uncaught_exception): Same.
112         (what): Same.
113
114         * docs/html/17_intro/C++STYLE (classname): Fix.
115         
116 2001-01-16  Mark Mitchell  <mark@codesourcery.com>
117
118         * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
119         Use it do explicitly instantiate predicate<T> and value<T> for
120         all the builtin Ts.
121
122 2001-01-16  Nathan Sidwell  <nathan@codesourcery.com>
123
124         * libsupc++/exception_support.cc (__cp_pop_exception): Fix
125         uninitialized thinko in last change.
126
127 2001-01-16  Mark Mitchell  <mark@codesourcery.com>
128
129         * libsupc++/exception_support.cc (__cp_pop_exception): Change
130         prototype.
131
132 2001-01-16  Benjamin Kosnik  <bkoz@redhat.com>
133
134         * docs/html/17_intro/C++STYLE (classname): Add more existing
135         and stylish patterns.
136
137         libstdc++/944
138         * include/bits/istream.tcc (istream::sentry::sentry()): Set
139         failbit if the state of the stream is not good.
140         * testsuite/27_io/istream_sentry.cc (test02): Add test.
141         * testsuite/27_io/istream_manip.cc (test01): Modify.
142
143         libstdc++/1019
144         reported by Paolo Carlini <pcarlini@unitus.it>
145         * include/bits/istream.tcc (operator>>(istream&, string&)): Fix. 
146         * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
147
148         libstdc++/1057
149         * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
150         * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
151         (xsgetn): Same. Simplify.
152         * testsuite/27_io/streambuf.cc (test04): Add testcases.
153
154         reported by Larry Evans <jcampbell3@prodigy.net> 
155         * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
156         equality with eof on returned value from overflow.
157
158 2001-01-14  Andreas Jaeger  <aj@suse.de>
159
160         * libio/libio.h: Add test for glibc 2.0.
161
162 2001-01-12  Benjamin Kosnik  <bkoz@redhat.com>
163
164         * config/os/djgpp/bits/*: Fix dates.
165
166         * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
167         _CharT* __end, _CharT __c): Remove.
168         * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
169         * include/bits/char_traits.h: Tweak.
170
171 2001-01-12  Laurynas Biveinis  <lauras@softhome.net>
172
173         * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
174         (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
175         bash bug.
176         * aclocal.m4: regenerated.
177         * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
178         * configure: regenerated.
179         * config/os/djgpp, config/os/djgpp/bits: new directories.
180         * config/os/djgpp/bits/ctype_base.h,
181         config/os/djgpp/bits/ctype_inline.h,
182         config/os/djgpp/bits/ctype_noninline.h,
183         config/os/djgpp/bits/os_defines.h: new files.
184
185 2001-01-11   Joseph S. Myers  <jsm28@cam.ac.uk>
186
187         * include/c_std/bits/std_cstdio.h: Undef printf.
188
189 2001-01-10  Benjamin Kosnik  <bkoz@redhat.com>
190
191         * src/ios.cc: Fix typo: change cout->wcout.
192
193         * src/Makefile.am (targetincludep): Fix for version-specific-libs.
194         * src/Makefile.in: Regenerate.
195
196 2001-01-10  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
197
198          * include/bits/std_complex.h: Fix a typo.
199
200 2001-01-09  Benjamin Kosnik  <bkoz@redhat.com>
201                              <kainz@ilm.com>
202
203         Fixes for libstdc++/1576
204         * src/stdstreams.cc: Initialize with NULL filebuf. Delete
205         file, move contents into....
206         * src/ios.cc: ...Here. Put defines for iostreams objects and
207         initialization routines into one file to simplify DSO interaction.
208         * include/bits/std_iostream.h: Touch.
209         * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
210         * src/Makefile.am (sources): Remove stdstreams.cc.
211         * src/Makefile.in: Regenerate.
212
213 2001-01-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
214
215         * tests_flags.in (check_directory): Fix typo.
216
217 2001-01-09  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
218
219          * include/bits/std_complex.h: Fix a typo.
220
221 2001-01-09  Loren J. Rittle  <ljrittle@acm.org>
222
223         * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
224         code path:) Remove magic constants and restructure to handle
225         ctype.h bit mask layout changes more gracefully.  (Make fast
226         code path:) Use __maskrune (), if available.
227         (is): Remove special case for digit and xdigit masks.
228
229 2001-01-09  Robert Lipe <robertlipe@usa.net>
230
231         * include/c_std/bits/std_ctime.h: Undefine difftime.
232
233 2001-01-09  Alexandre Oliva  <aoliva@redhat.com>
234
235         * src/gen-num-limits.cc (signal_adapter): New template function.
236         (signal_handler): Use it, instead of signal.
237         (traps<T>): Likewise.  Install SIGTRAP handler too.  Don't
238         require both tests to trap to set trap_flag.
239
240 2001-01-08  Benjamin Kosnik  <bkoz@redhat.com>
241
242         * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
243         initialize mbstate_t member, name offset data members *off, not pos.
244         * include/bits/fstream.tcc (filebuf::filebuf): Same.
245
246 2001-01-08  Benjamin Kosnik  <bkoz@redhat.com>
247
248         reported by Chris G. Demetriou <cgd@sibyte.com>
249         * configure.in: Change -linux-* to -linux*.
250         * configure: Regenerate.
251
252 2001-01-05  Benjamin Kosnik  <bkoz@redhat.com>
253
254         Fix 27_io/filebuf_members.cc
255         * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
256         const string& __name, category __cat, size_t __refs): Set
257         _M_has_name with _M_name.
258         * include/bits/localefwd.h (locale::operator!=): Protect member
259         function call with this->.
260         * src/locale.cc (locale::operator==): Make fast checks first.
261         * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
262
263         * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
264         to ios_base::Init.
265         * src/ios.cc (ios_base::Init::Init): Initialize here.
266         (ios_base::sync_with_stdio): Set here.
267
268 2001-01-04  Loren J. Rittle  <ljrittle@acm.org>
269
270         * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
271         systems that support it, call dup() before fdopen().
272
273 2001-01-03  Benjamin Kosnik  <bkoz@redhat.com>
274
275         * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
276         * testsuite/17_intro/header_cwctype.cc (main): New file.
277
278         * src/Makefile.am (base_headers): Change.
279         * include/bits/std_string.h: And here.
280         * include/bits/string.tcc: Tweaks, move to...
281         * include/bits/basic_string.tcc: ...Here.
282         * src/string-inst.cc: Simplify, just instantiate the whole class,
283         not member-by-member.
284
285 2001-01-02  Benjamin Kosnik  <bkoz@redhat.com>
286
287         * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
288         * aclocal.m4: Regenerate.
289         * configure: Regenerate.
290
291         * include/bits/c++config (__GLIBCPP__): Bump version number.
292
293         * ChangeLog: Start new log for year 2001
294         * ChangeLog-2000: New file.
295
296         * docs/html/configopts.html: Make sure default values are current,
297         add commentary.
298
299 2001-01-01  Benjamin Kosnik  <bkoz@fillmore.redhat.com>
300
301         * include/c_std/bits/std_cwchar.h: Same.
302         * testsuite/17_intro/header_cwchar.cc: Same.
303         * include/c_std/bits/std_ctime.h: Same.
304         * testsuite/17_intro/header_ctime.cc: Same.
305         * include/c_std/bits/std_cstdlib.h: Same.
306         Clean up undefs, make consistent with cwchar and cmath, etc.
307         * testsuite/17_intro/header_cstdlib.cc: Same.
308         * include/c_std/bits/std_cstdio.h: Same here.
309         * testsuite/17_intro/header_cstring.cc: Same.
310         * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
311         * testsuite/17_intro/header_cstring.cc: New file. Check for
312         size_t in namespace std.
313
314         * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
315         * acconfig.h (HAVE_MBSTATE_T): Add.
316         * config.h.in: Regenerate.
317         * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
318         mbstate_t.
319         * aclocal.m4: Regenerate.
320         * configure: Regenerate.
321         * testsuite/17_intro/headers_c++.cc: New file.
322         * testsuite/17_intro/headers_c.cc: Small changes.
323
324 2001-01-01  David Billinghurst <David.Billinghurst@riotinto.com>
325
326         * tests_flags.in: Fix typo in usage.
327
328         * tests_flags.in: Set target specific LIBS for cygwin.