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