OSDN Git Service

Fix typo and wrong attribution in ChangeLog itself.
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
1 2001-02-06  Hyman Rosen  <Hyman.Rosen@kbcfp.com>
2             Phil Edwards  <pme@sources.redhat.com>
3
4         * include/bits/std_istream.h (op>> signed,unsigned char):  Must
5           use reinterpret_cast, not static_cast.
6
7 2001-02-06  Benjamin Kosnik  <bkoz@redhat.com>
8
9         * acinclude.m4 (gxx_include_dir): Quote, fix regression.
10         * aclocal.m4: Regenerate.
11         * configure: Regenerate.
12         
13 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
14
15         * include/bits/locale_facets.h (class moneypunct): Fix typos.
16         * libsupc++/pure.cc: Revert.
17
18 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
19
20         * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
21         (GLIBCPP_CHECK_MATH_DECL_2): New macro.
22         (GLIBCPP_CHECK_MATH_DECL_3): New macro.
23         (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
24         (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
25         (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
26         (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
27         * aclocal.m4: Regenerate.
28         * configure: Regenerate.
29         
30 2001-02-05  Mark Mitchell  <mark@codesourcery.com>
31
32         * include/bits/locale_facets.tcc: Remove `static' keyword on
33         function definitions.
34         * include/bits/std_streambuf.h: Likewise.
35         * src/Makefile.am: Remove use of -fimplicit-templates.
36         * src/Makefile.in: Regenerated.
37         * src/locale-inst.cc: Explicitly instantiate more functions.
38         * src/msic-inst.cc: Likewise.
39         * src/string-inst.cc: Likewise.
40
41 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
42
43         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
44         macro. Consolidate all the bits to do with where includes might be
45         installed.
46         * aclocal.m4: Regenerate.
47         * configure.in: Use it.
48         * configure: Regenerate.        
49         * src/Makefile.am (targetincludep): Use simplified rules.
50         (targetincludep): Rename gxx_target_include_dir.
51         (myincludep): Rename gxx_include_dir.
52         * src/Makefile.in: Regenerate.
53         * libsupc++/Makefile.am: Use simplified rules.
54         * libsupc++/Makefile.in: Regenerate.
55         
56 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
57
58         * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
59         * include/c_std/bits/std_cctype.h: Same.
60         * include/c_std/bits/std_cassert.h: Same.
61         * include/c_std/bits/std_cstdarg.h: Same.
62         * include/c_std/bits/std_cstddef.h: Same.
63         
64         * include/c_std/bits/std_cstdio.h: Undefine all names brought into
65         namespace std.
66         * include/c_std/bits/std_ctime.h: Same.
67         * include/c_std/bits/std_clocale.h: Same.
68         * include/c_std/bits/std_cmath.h: Same.
69         * include/c_std/bits/std_csetjmp.h: Same.
70         * include/c_std/bits/std_csignal.h: Same.
71         * include/c_std/bits/std_cstring.h: Same.
72         * include/c_std/bits/std_cstdlib.h: Same.
73         * include/c_std/bits/std_cwchar.h: Same.
74         
75 2001-02-05  Phil Edwards  <pme@sources.redhat.com>
76
77         * testsuite/27_io/ios_base_members_static.cc:  Swap order of tests.
78
79 2001-02-05  Mark Mitchell  <mark@codesourcery.com>
80
81         * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
82         (string::_S_construct): Likewise.
83
84 2001-02-05  Gabriel Dos Reis  <gdr@codesourcery.com>
85
86         * testsuite/config/default.exp: New file.
87         * testsuite/config: New directory.
88
89 2001-02-04  Mark Mitchell  <mark@codesourcery.com>
90
91         * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
92         * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
93         whenever !__GXX_MERGED_TYPEINFO_NAMES.
94         * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
95
96 2001-02-03  Alexandre Oliva  <aoliva@redhat.com>
97             Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
98
99         * Makefile.am (mkinstalldirs): Set.
100         * src/Makefile.am (mkinstalldirs): Set.
101         * libmath/Makefile.am (mkinstalldirs): Set.
102         * libsup++/Makefile.am (mkinstalldirs): Set.
103         * libio/Makefile.am (mkinstalldirs): Set.       
104         * */Makefile.in: Regenerate.
105
106 2001-02-03  Benjamin Kosnik  <bkoz@redhat.com>
107
108         * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
109         * include/bits/localefwd.h: More initialization cleanups.
110
111 2001-02-03  Jeffrey A Law  <law@cygnus.com>
112
113         * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
114         correctly targets with 16bit ints.
115         (_S_ios_openmode_end): Similarly.
116         (_S_ios_iostate_end): Similarly.
117         (_S_ios_Seekdir_end): Similarly.
118         
119 2001-02-02  Phil Edwards  <pme@sources.redhat.com>
120
121         * mkcheck.in:  Also limit virtual memory size, for mmap-based mallocs.
122
123 2001-02-01  Alexandre Oliva  <aoliva@redhat.com>
124
125         * configure.in (toplevel_srcdir, auxdir): Set.
126         * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
127         * aclocal.m4, configure, Makefile.in: Rebuilt.
128         * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
129         * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
130         * libsupc++-v3/Makefile.in: Rebuilt.
131         * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
132         * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
133
134 2001-01-30   Benjamin Kosnik  <bkoz@redhat.com>
135
136         * config/c_locale_generic.cc: Remove langinfo include.
137
138 2001-01-29  Benjamin Kosnik  <bkoz@redhat.com>
139
140         Preliminary named locales.
141         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
142         * aclocal.m4: Regenerate.
143         * configure.in: Use it.
144         * configure: Regerate.
145         * src/Makefile.am (sources): Add c++locale.cc.
146         (build_headers): Add c++locale.h.
147         * src/Makefile.in: Regenerate.
148         * config/c_locale_gnu.h: New file.      
149         * config/c_locale_gnu.cc: New file. Non-inline member functions
150         for named locales, gnu-specific.
151         * config/c_locale_generic.h: New file.          
152         * config/c_locale_generic.cc: New file. Non-inline member
153         functions for named locales, generic version.
154         * docs/html/configopts.html: Add documentation on new options.
155
156         * include/bits/locale_facets.h (class _Messages): Remove.
157         (class _Moneypunct): Remove.
158         * src/locale-inst.cc: Remove.
159         
160         * include/bits/locale_facets.h (class _Collate): Remove.
161         * src/locale-inst.cc (std): Remove.
162         * src/locale.cc: And here.
163         
164         * include/bits/localefwd.h (locale::_M_coalesce): New
165         function. Correctly put together multi-name locales.
166         (_Impl(const _Impl&, category, size_t)): Remove.
167
168         * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
169         member functions.
170         (_M_normalize_category_names): Remove.
171         (_M_replace_categories): Fix.
172
173         * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
174         (locale::_Impl::_M_construct_ctype): Remove.
175         (locale::_Impl::_M_construct_monetary): Remove. 
176         (locale::_Impl::_M_construct_numeric): Remove.  
177         (locale::_Impl::_M_construct_time): Remove.             
178         (locale::_Impl::_M_construct_messages): Remove.         
179
180         * include/bits/locale_facets.h (_Bad_use_facet): Remove.
181         (_Use_facet_failure_handle): Remove.
182         * src/locale.cc: Remove definitions.
183         * src/locale-inst.cc: And here.
184         
185         * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
186
187         * src/localename.cc (locale::facet::_S_create_c_locale): Properly
188         create and error-check underlying locale object.
189         (locale::facet::_S_destroy_c_locale): Add, take care of properly
190         tearing down underlying locale object.
191         * include/bits/localefwd.h (locale::facet): Declare.
192         * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
193         correctness, as glibc apparently has incorrect info in it. Test
194         with it when it works again.....        
195
196         * include/bits/localefwd.h (locale::_Impl::__vec_string):
197         Remove. Number of categories is fixed at six, so just simplify and
198         make this an array of strings.
199         (locale::_Impl::_M_has_name): Remove.
200         (locale::_Impl::_M_name): Remove.       
201         (locale::_Impl::_M_category_names): Turns into...       
202         (locale::_Impl::_M_names): ...this.
203         (locale::_Impl::_M_has_same_name()): New function.
204         * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
205         (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
206         signature.
207         * src/locale.cc (locale::name()): Construct mangled name
208         accurately reflecting combined locale categories.
209
210         * src/locale.cc (locale::classic()): Don't initialize here.
211         * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
212         __refs, bool __has_name, string __str): Do it here.
213
214         * include/bits/localefwd.h: _S_categories_num to
215         _S_num_categories. _S_facets_num to _S_num_facets.
216         (locale::id::id()): Explicitly set _M_index to zero.
217         * src/locale.cc: Same.
218
219         * src/locale.cc: (locale::locale(const char*)): Construct named
220         locales uniquely.
221
222         * src/locale.cc: Remove numpunct_byname ctors.
223         * testsuite/22_locale/numpunct_byname.cc: New file.
224         * testsuite/22_locale/numpunct.cc: New file.    
225         
226         * include/bits/localefwd.h (class locale): Change data members to
227         protected, from private.
228         (_Impl::_M_get_c_locale): Add member function.
229         (locale::facet::_M_get_global_impl()): Add member function.
230         * include/bits/locale_facets.h (numpunct::_M_init): Change to take
231         a __c_locale pointer.
232         (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
233         named locales.
234         * testsuite/22_locale/members.cc: New file, test name and combine.
235         
236         * include/bits/locale_facets.h (class numpunct): Remove class
237         _Punct and _Numpunct. Rewrite class numpunct to be correct for
238         named locales.
239         * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
240         * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
241         (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
242         * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
243         * testsuite/22_locale/numpunct_char_members.cc: New file.
244         
245 2001-01-28  Gabriel Dos Reis  <gdr@codesourcery.com>
246
247         * testsuite/README: Add more comment.
248         * testsuite/lib/libstdc++.exp: Tweak comment.
249
250 2001-01-26  Benjamin Kosnik  <bkoz@kredhat.com>
251
252         * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
253
254 2001-01-25  Loren J. Rittle  <ljrittle@acm.org>
255
256         * testsuite/21_strings/inserters_extractors.cc: Remove
257         explicit reference to 'testsuite/'.
258
259 2001-01-25  Richard Henderson  <rth@redhat.com>
260
261         * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
262         bits. Fixes Tru64 build issues.
263         
264 2001-01-25  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
265
266         * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
267         (use ${MAKE-make}, not ${MAKE:-make}).
268         * aclocal.m4, configure: Regenerate.
269
270 2001-01-25  Mark Mitchell  <mark@codesourcery.com>
271
272         * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
273         checkin.
274
275         * src/Makefile.am (sources): Add globals.cc.
276         * src/Makefile.in: Regenerated.
277         * src/globals.cc: New file.
278         * src/ios.cc (cin): Don't define here, just declare extern.
279         (cout): Likewise.
280         (cerr): Likewise.
281         (clog): Likewise.
282         (wcin): Likewise.
283         (wcout): Likewise.
284         (wcerr): Likewise.
285         (wclog): Likewise.
286
287 2001-01-25  Phil Edwards  <pme@sources.redhat.com>
288
289         * include/bits/std_iterator.h:  Do not include stl_relops.h.
290         * include/bits/std_numeric.h:  Ditto.
291         * include/bits/stl_algobase.h:  Ditto.
292         * include/bits/stl_relops.h:  Add comment warning about problems.
293
294 2001-01-25  Gabriel Dos Reis  <gdr@codesourcery.com>
295
296         * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
297         in testcases.  Prepare for the DejaGnu based framework.
298         * mkcheck.in: Adjust call to tests_flags.  Don't mmkdir testsuite
299         directory -- it is now mkcheck working directory.
300         * tests_flags.in: Remove reference to $(top_srcdir).  Use
301         ${SRC_DIR} instead.
302         * Makefile.am (check, check-install): Change mkcheck invocation
303         logic. 
304         * Makefile.in: Regenerate.
305
306 2001-01-24  Mark Mitchell  <mark@codesourcery.com>
307
308         * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
309         (__always_swap): Likewise.
310
311 2001-01-23  Chris Demetriou  <cgd@broadcom.com>
312
313         * libsupc++/exception_support.cc (__terminate_func): Remove
314         declaration.
315         (__terminate_func_ptr): New typedef.
316         (__terminate, __terminate_set_func): New extern function
317         prototypes.
318         (std::terminate): Use __terminate function.
319         (std::set_terminate): Use __terminate_set_func function.
320
321 2001-01-23  Benjamin Kosnik  <bkoz@redhat.com>
322
323         * configure.target: Just use os_include_dir always.
324         * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
325         Link atomicity files and ctype files here.
326         * configure: Regenerate.
327         * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
328         (GLIBCPP_ENABLE_ATOMICITY): Remove.
329         * aclocal.m4: Regenerate.
330         
331 2001-01-23  Chris Demetriou  <cgd@broadcom.com>
332
333         * configure.in: Place definition of MULTISUBDIR in
334         libsupc++/Makefile as is done for src/Makefile.
335         * configure: Regenerate.
336
337 2001-01-23  Phil Edwards  <pme@sources.redhat.com>
338
339         * acinclude.m4:  Cosmetic changes only.
340         * aclocal.m4:  Regenerated.
341         * configure:  Regenerated.
342         * configure.target:  Update documented list of changed variables.
343         * docs/html/install.html:  Fix typo.
344         * docs/html/20_util/howto.html:  More notes on auto_ptr.
345         * docs/html/27_io/howto.html:  More notes on streabufs.
346         * docs/html/faq/index.html:  Add rel_ops problem and mention the
347           DEC as(1) .subsection difficulty.
348         * docs/html/faq/index.txt:  Regenerated.
349
350 2001-01-23  Mark Mitchell  <mark@codesourcery.com>
351
352         * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
353         (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
354         (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
355         its already provided in config.target.
356         * aclocal.m4: Regenerated.
357         * configure: Likewise.
358         * configure.target: Set ctype_include_dir for lots of systems.
359         * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
360         * libsupc++/Makefile.in: Regenerated.
361
362 2001-01-23  Gabriel Dos Reis  <gdr@codesourcery.com>
363
364         * testsuite/lib/libstdc++.exp: Improve.  Add support for @xxx#
365         keyword capability.
366
367         * testsuite/README: Add comment.
368
369 2001-01-21  Phil Edwards  <pme@sources.redhat.com>
370
371         * docs/html/configopts.html:  Update for current status.  Fix HTML.
372         * docs/html/install.html:  Update for current status.
373
374 2001-01-20  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
375
376         * testsuite/libstdc++.tests/tests.exp: New file.
377         * testsuite/lib/libstdc++.exp: Itou.
378         * testsuite/README: Itou.
379
380 2001-01-20  Gabriel Dos Reis  <gdr@codesourcery.com>
381
382         * tests_flags.in: Just output the bare minimum to run tests.
383         Let's the caller do its own arrangement.
384
385         * mkcheck.in: Rename INC_PATH to INCLUDES.  Adjust flags
386         computations.
387
388 2001-01-19  Gabriel Dos Reis  <gdr@codesourcery.com>
389
390         * testsuite/17_intro: Prepare testcases for new style DejaGnu
391         framework. 
392
393 2001-01-18  Gabriel Dos Reis  <gdr@codesourcery.com>
394
395         * testsuite/libstdc++.tests, testsuite/lib: New directories.
396
397 2001-01-17  Loren J. Rittle  <ljrittle@acm.org>
398
399         * mkcheck.in: Construct file names that match $objdir structure.
400         * testsuite/27_io/filebuf_members-1.txt: New file.
401         * testsuite/27_io/ifstream_members-1.txt: New file.
402         * testsuite/27_io/ostream_inserter_char-1.txt: New file.
403
404         * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
405         * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
406
407 2001-01-17  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
408
409         * testsuite/27_io/istream_sentry.cc (test02): Fix.
410
411 2001-01-17  Benjamin Kosnik  <bkoz@redhat.com>
412
413         libstdc++/1605
414         * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
415         * src/ios.cc (ios_base::failure): Make definitions match.
416         * libsupc++/typeinfo (class bad_typeid): Add throw specs.
417         (class bad_cast): Same.
418         * libsupc++/exception (class exception): Add throw specs.
419         * libsupc++/exception_support.cc (set_terminate): Add throw specs.
420         (set_unexpected): Same.
421         (uncaught_exception): Same.
422         (what): Same.
423
424         * docs/html/17_intro/C++STYLE (classname): Fix.
425         
426 2001-01-16  Mark Mitchell  <mark@codesourcery.com>
427
428         * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
429         Use it do explicitly instantiate predicate<T> and value<T> for
430         all the builtin Ts.
431
432 2001-01-16  Nathan Sidwell  <nathan@codesourcery.com>
433
434         * libsupc++/exception_support.cc (__cp_pop_exception): Fix
435         uninitialized thinko in last change.
436
437 2001-01-16  Mark Mitchell  <mark@codesourcery.com>
438
439         * libsupc++/exception_support.cc (__cp_pop_exception): Change
440         prototype.
441
442 2001-01-16  Benjamin Kosnik  <bkoz@redhat.com>
443
444         * docs/html/17_intro/C++STYLE (classname): Add more existing
445         and stylish patterns.
446
447         libstdc++/944
448         * include/bits/istream.tcc (istream::sentry::sentry()): Set
449         failbit if the state of the stream is not good.
450         * testsuite/27_io/istream_sentry.cc (test02): Add test.
451         * testsuite/27_io/istream_manip.cc (test01): Modify.
452
453         libstdc++/1019
454         reported by Paolo Carlini <pcarlini@unitus.it>
455         * include/bits/istream.tcc (operator>>(istream&, string&)): Fix. 
456         * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
457
458         libstdc++/1057
459         * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
460         * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
461         (xsgetn): Same. Simplify.
462         * testsuite/27_io/streambuf.cc (test04): Add testcases.
463
464         reported by Larry Evans <jcampbell3@prodigy.net> 
465         * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
466         equality with eof on returned value from overflow.
467
468 2001-01-14  Andreas Jaeger  <aj@suse.de>
469
470         * libio/libio.h: Add test for glibc 2.0.
471
472 2001-01-12  Benjamin Kosnik  <bkoz@redhat.com>
473
474         * config/os/djgpp/bits/*: Fix dates.
475
476         * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
477         _CharT* __end, _CharT __c): Remove.
478         * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
479         * include/bits/char_traits.h: Tweak.
480
481 2001-01-12  Laurynas Biveinis  <lauras@softhome.net>
482
483         * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
484         (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
485         bash bug.
486         * aclocal.m4: regenerated.
487         * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
488         * configure: regenerated.
489         * config/os/djgpp, config/os/djgpp/bits: new directories.
490         * config/os/djgpp/bits/ctype_base.h,
491         config/os/djgpp/bits/ctype_inline.h,
492         config/os/djgpp/bits/ctype_noninline.h,
493         config/os/djgpp/bits/os_defines.h: new files.
494
495 2001-01-11   Joseph S. Myers  <jsm28@cam.ac.uk>
496
497         * include/c_std/bits/std_cstdio.h: Undef printf.
498
499 2001-01-10  Benjamin Kosnik  <bkoz@redhat.com>
500
501         * src/ios.cc: Fix typo: change cout->wcout.
502
503         * src/Makefile.am (targetincludep): Fix for version-specific-libs.
504         * src/Makefile.in: Regenerate.
505
506 2001-01-10  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
507
508          * include/bits/std_complex.h: Fix a typo.
509
510 2001-01-09  Benjamin Kosnik  <bkoz@redhat.com>
511                              <kainz@ilm.com>
512
513         Fixes for libstdc++/1576
514         * src/stdstreams.cc: Initialize with NULL filebuf. Delete
515         file, move contents into....
516         * src/ios.cc: ...Here. Put defines for iostreams objects and
517         initialization routines into one file to simplify DSO interaction.
518         * include/bits/std_iostream.h: Touch.
519         * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
520         * src/Makefile.am (sources): Remove stdstreams.cc.
521         * src/Makefile.in: Regenerate.
522
523 2001-01-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
524
525         * tests_flags.in (check_directory): Fix typo.
526
527 2001-01-09  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
528
529          * include/bits/std_complex.h: Fix a typo.
530
531 2001-01-09  Loren J. Rittle  <ljrittle@acm.org>
532
533         * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
534         code path:) Remove magic constants and restructure to handle
535         ctype.h bit mask layout changes more gracefully.  (Make fast
536         code path:) Use __maskrune (), if available.
537         (is): Remove special case for digit and xdigit masks.
538
539 2001-01-09  Robert Lipe <robertlipe@usa.net>
540
541         * include/c_std/bits/std_ctime.h: Undefine difftime.
542
543 2001-01-09  Alexandre Oliva  <aoliva@redhat.com>
544
545         * src/gen-num-limits.cc (signal_adapter): New template function.
546         (signal_handler): Use it, instead of signal.
547         (traps<T>): Likewise.  Install SIGTRAP handler too.  Don't
548         require both tests to trap to set trap_flag.
549
550 2001-01-08  Benjamin Kosnik  <bkoz@redhat.com>
551
552         * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
553         initialize mbstate_t member, name offset data members *off, not pos.
554         * include/bits/fstream.tcc (filebuf::filebuf): Same.
555
556 2001-01-08  Benjamin Kosnik  <bkoz@redhat.com>
557
558         reported by Chris G. Demetriou <cgd@sibyte.com>
559         * configure.in: Change -linux-* to -linux*.
560         * configure: Regenerate.
561
562 2001-01-05  Benjamin Kosnik  <bkoz@redhat.com>
563
564         Fix 27_io/filebuf_members.cc
565         * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
566         const string& __name, category __cat, size_t __refs): Set
567         _M_has_name with _M_name.
568         * include/bits/localefwd.h (locale::operator!=): Protect member
569         function call with this->.
570         * src/locale.cc (locale::operator==): Make fast checks first.
571         * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
572
573         * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
574         to ios_base::Init.
575         * src/ios.cc (ios_base::Init::Init): Initialize here.
576         (ios_base::sync_with_stdio): Set here.
577
578 2001-01-04  Loren J. Rittle  <ljrittle@acm.org>
579
580         * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
581         systems that support it, call dup() before fdopen().
582
583 2001-01-03  Benjamin Kosnik  <bkoz@redhat.com>
584
585         * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
586         * testsuite/17_intro/header_cwctype.cc (main): New file.
587
588         * src/Makefile.am (base_headers): Change.
589         * include/bits/std_string.h: And here.
590         * include/bits/string.tcc: Tweaks, move to...
591         * include/bits/basic_string.tcc: ...Here.
592         * src/string-inst.cc: Simplify, just instantiate the whole class,
593         not member-by-member.
594
595 2001-01-02  Benjamin Kosnik  <bkoz@redhat.com>
596
597         * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
598         * aclocal.m4: Regenerate.
599         * configure: Regenerate.
600
601         * include/bits/c++config (__GLIBCPP__): Bump version number.
602
603         * ChangeLog: Start new log for year 2001
604         * ChangeLog-2000: New file.
605
606         * docs/html/configopts.html: Make sure default values are current,
607         add commentary.
608
609 2001-01-01  Benjamin Kosnik  <bkoz@fillmore.redhat.com>
610
611         * include/c_std/bits/std_cwchar.h: Same.
612         * testsuite/17_intro/header_cwchar.cc: Same.
613         * include/c_std/bits/std_ctime.h: Same.
614         * testsuite/17_intro/header_ctime.cc: Same.
615         * include/c_std/bits/std_cstdlib.h: Same.
616         Clean up undefs, make consistent with cwchar and cmath, etc.
617         * testsuite/17_intro/header_cstdlib.cc: Same.
618         * include/c_std/bits/std_cstdio.h: Same here.
619         * testsuite/17_intro/header_cstring.cc: Same.
620         * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
621         * testsuite/17_intro/header_cstring.cc: New file. Check for
622         size_t in namespace std.
623
624         * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
625         * acconfig.h (HAVE_MBSTATE_T): Add.
626         * config.h.in: Regenerate.
627         * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
628         mbstate_t.
629         * aclocal.m4: Regenerate.
630         * configure: Regenerate.
631         * testsuite/17_intro/headers_c++.cc: New file.
632         * testsuite/17_intro/headers_c.cc: Small changes.
633
634 2001-01-01  David Billinghurst <David.Billinghurst@riotinto.com>
635
636         * tests_flags.in: Fix typo in usage.
637
638         * tests_flags.in: Set target specific LIBS for cygwin.