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