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