OSDN Git Service

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