1 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
3 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
5 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
7 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
9 2001-02-08 David Edelsohn <edelsohn@gnu.org>
11 * configure.target (aix4*): Remove extra set of brackets.
13 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
16 * include/bits/stringfwd.h: New file.
17 * include/bits/stl_string_fwd.h: Remove.
18 * include/bits/localefwd.h: Remove declaration for allocator.
19 * include/bits/std_iosfwd: Same.
20 * include/bits/std_string.h: Include it.
21 * include/bits/std_ios.h: Remove include.
22 * include/bits/basic_string.h: Tweak.
23 * libsupc++/new: Format.
24 * src/Makefile.am (base_headers): Add stringfwd.h, remove
26 * src/Makefile.in: Regenerate.
27 * include/bits/std_stdexcept.h: Rewrite.
28 * src/stdexcept.cc: Same.
30 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
32 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
33 install locations too.
34 * aclocal.m4: Regenerate.
35 * configure.in: Remove USE_LIBDIR.
36 * configure: Regenerate.
37 * src/Makefile.am (toolexecdir): Simplify, use
38 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
39 * src/Makefile.in: Regenerate.
40 * libsupc++/Makefile.am: Same.
41 * libsupc++/Makefile.in: Regenerate.
43 * src/Makefile.am: Just remove special rules for locale-inst.cc and
44 misc-inst.cc as no longer necessary.
46 Follow C++STYLE for naming non-static functions.
47 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
49 * include/bits/streambuf.tcc: Same.
50 * include/bits/ostream.tcc: Same.
51 * include/bits/istream.tcc: Same.
52 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
53 (_S_output_float): To __output_float.
54 * include/bits/std_streambuf.h (_S_copy_streambufs): To
56 * include/bits/locale_facets.tcc (_S_build_float_format): To
58 (_S_format): To __output_integer.
60 * src/locale.cc: Same.
61 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
63 * include/bits/locale_facets.tcc (_S_group_digits): To
65 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
66 for collate, numpunct.
68 2001-02-06 Phil Edwards <pme@sources.redhat.com>
70 * docs/html/configopts.html: Fix HTML markup.
71 * docs/html/install.html: Bring up to date.
72 * docs/html/17_intro/C++STYLE: Add global variable conventions.
73 * docs/html/21_strings/howto.html: More notes.
74 * docs/html/22_locale/howto.html: Fix HTML markup.
75 * docs/html/27_io/howto.html: More notes.
76 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
77 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
79 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
81 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
82 to match header files.
83 (_S_output_float): Likewise.
84 (_S_copy_streambufs): Likewise.
86 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
87 Phil Edwards <pme@sources.redhat.com>
89 * include/bits/std_istream.h (op>> signed,unsigned char): Must
90 use reinterpret_cast, not static_cast.
92 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
94 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
95 * aclocal.m4: Regenerate.
96 * configure: Regenerate.
98 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
100 * include/bits/locale_facets.h (class moneypunct): Fix typos.
101 * libsupc++/pure.cc: Revert.
103 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
105 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
106 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
107 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
108 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
109 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
110 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
111 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
112 * aclocal.m4: Regenerate.
113 * configure: Regenerate.
115 2001-02-05 Mark Mitchell <mark@codesourcery.com>
117 * include/bits/locale_facets.tcc: Remove `static' keyword on
118 function definitions.
119 * include/bits/std_streambuf.h: Likewise.
120 * src/Makefile.am: Remove use of -fimplicit-templates.
121 * src/Makefile.in: Regenerated.
122 * src/locale-inst.cc: Explicitly instantiate more functions.
123 * src/misc-inst.cc: Likewise.
124 * src/string-inst.cc: Likewise.
126 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
128 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
129 macro. Consolidate all the bits to do with where includes might be
131 * aclocal.m4: Regenerate.
132 * configure.in: Use it.
133 * configure: Regenerate.
134 * src/Makefile.am (targetincludep): Use simplified rules.
135 (targetincludep): Rename gxx_target_include_dir.
136 (myincludep): Rename gxx_include_dir.
137 * src/Makefile.in: Regenerate.
138 * libsupc++/Makefile.am: Use simplified rules.
139 * libsupc++/Makefile.in: Regenerate.
141 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
143 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
144 * include/c_std/bits/std_cctype.h: Same.
145 * include/c_std/bits/std_cassert.h: Same.
146 * include/c_std/bits/std_cstdarg.h: Same.
147 * include/c_std/bits/std_cstddef.h: Same.
149 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
151 * include/c_std/bits/std_ctime.h: Same.
152 * include/c_std/bits/std_clocale.h: Same.
153 * include/c_std/bits/std_cmath.h: Same.
154 * include/c_std/bits/std_csetjmp.h: Same.
155 * include/c_std/bits/std_csignal.h: Same.
156 * include/c_std/bits/std_cstring.h: Same.
157 * include/c_std/bits/std_cstdlib.h: Same.
158 * include/c_std/bits/std_cwchar.h: Same.
160 2001-02-05 Phil Edwards <pme@sources.redhat.com>
162 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
164 2001-02-05 Mark Mitchell <mark@codesourcery.com>
166 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
167 (string::_S_construct): Likewise.
169 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
171 * testsuite/config/default.exp: New file.
172 * testsuite/config: New directory.
174 2001-02-04 Mark Mitchell <mark@codesourcery.com>
176 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
177 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
178 whenever !__GXX_MERGED_TYPEINFO_NAMES.
179 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
181 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
182 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
184 * Makefile.am (mkinstalldirs): Set.
185 * src/Makefile.am (mkinstalldirs): Set.
186 * libmath/Makefile.am (mkinstalldirs): Set.
187 * libsup++/Makefile.am (mkinstalldirs): Set.
188 * libio/Makefile.am (mkinstalldirs): Set.
189 * */Makefile.in: Regenerate.
191 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
193 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
194 * include/bits/localefwd.h: More initialization cleanups.
196 2001-02-03 Jeffrey A Law <law@cygnus.com>
198 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
199 correctly targets with 16bit ints.
200 (_S_ios_openmode_end): Similarly.
201 (_S_ios_iostate_end): Similarly.
202 (_S_ios_Seekdir_end): Similarly.
204 2001-02-02 Phil Edwards <pme@sources.redhat.com>
206 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
208 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
210 * configure.in (toplevel_srcdir, auxdir): Set.
211 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
212 * aclocal.m4, configure, Makefile.in: Rebuilt.
213 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
214 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
215 * libsupc++-v3/Makefile.in: Rebuilt.
216 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
217 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
219 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
221 * config/c_locale_generic.cc: Remove langinfo include.
223 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
225 Preliminary named locales.
226 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
227 * aclocal.m4: Regenerate.
228 * configure.in: Use it.
229 * configure: Regerate.
230 * src/Makefile.am (sources): Add c++locale.cc.
231 (build_headers): Add c++locale.h.
232 * src/Makefile.in: Regenerate.
233 * config/c_locale_gnu.h: New file.
234 * config/c_locale_gnu.cc: New file. Non-inline member functions
235 for named locales, gnu-specific.
236 * config/c_locale_generic.h: New file.
237 * config/c_locale_generic.cc: New file. Non-inline member
238 functions for named locales, generic version.
239 * docs/html/configopts.html: Add documentation on new options.
241 * include/bits/locale_facets.h (class _Messages): Remove.
242 (class _Moneypunct): Remove.
243 * src/locale-inst.cc: Remove.
245 * include/bits/locale_facets.h (class _Collate): Remove.
246 * src/locale-inst.cc (std): Remove.
247 * src/locale.cc: And here.
249 * include/bits/localefwd.h (locale::_M_coalesce): New
250 function. Correctly put together multi-name locales.
251 (_Impl(const _Impl&, category, size_t)): Remove.
253 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
255 (_M_normalize_category_names): Remove.
256 (_M_replace_categories): Fix.
258 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
259 (locale::_Impl::_M_construct_ctype): Remove.
260 (locale::_Impl::_M_construct_monetary): Remove.
261 (locale::_Impl::_M_construct_numeric): Remove.
262 (locale::_Impl::_M_construct_time): Remove.
263 (locale::_Impl::_M_construct_messages): Remove.
265 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
266 (_Use_facet_failure_handle): Remove.
267 * src/locale.cc: Remove definitions.
268 * src/locale-inst.cc: And here.
270 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
272 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
273 create and error-check underlying locale object.
274 (locale::facet::_S_destroy_c_locale): Add, take care of properly
275 tearing down underlying locale object.
276 * include/bits/localefwd.h (locale::facet): Declare.
277 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
278 correctness, as glibc apparently has incorrect info in it. Test
279 with it when it works again.....
281 * include/bits/localefwd.h (locale::_Impl::__vec_string):
282 Remove. Number of categories is fixed at six, so just simplify and
283 make this an array of strings.
284 (locale::_Impl::_M_has_name): Remove.
285 (locale::_Impl::_M_name): Remove.
286 (locale::_Impl::_M_category_names): Turns into...
287 (locale::_Impl::_M_names): ...this.
288 (locale::_Impl::_M_has_same_name()): New function.
289 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
290 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
292 * src/locale.cc (locale::name()): Construct mangled name
293 accurately reflecting combined locale categories.
295 * src/locale.cc (locale::classic()): Don't initialize here.
296 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
297 __refs, bool __has_name, string __str): Do it here.
299 * include/bits/localefwd.h: _S_categories_num to
300 _S_num_categories. _S_facets_num to _S_num_facets.
301 (locale::id::id()): Explicitly set _M_index to zero.
302 * src/locale.cc: Same.
304 * src/locale.cc: (locale::locale(const char*)): Construct named
307 * src/locale.cc: Remove numpunct_byname ctors.
308 * testsuite/22_locale/numpunct_byname.cc: New file.
309 * testsuite/22_locale/numpunct.cc: New file.
311 * include/bits/localefwd.h (class locale): Change data members to
312 protected, from private.
313 (_Impl::_M_get_c_locale): Add member function.
314 (locale::facet::_M_get_global_impl()): Add member function.
315 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
316 a __c_locale pointer.
317 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
319 * testsuite/22_locale/members.cc: New file, test name and combine.
321 * include/bits/locale_facets.h (class numpunct): Remove class
322 _Punct and _Numpunct. Rewrite class numpunct to be correct for
324 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
325 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
326 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
327 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
328 * testsuite/22_locale/numpunct_char_members.cc: New file.
330 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
332 * testsuite/README: Add more comment.
333 * testsuite/lib/libstdc++.exp: Tweak comment.
335 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
337 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
339 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
341 * testsuite/21_strings/inserters_extractors.cc: Remove
342 explicit reference to 'testsuite/'.
344 2001-01-25 Richard Henderson <rth@redhat.com>
346 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
347 bits. Fixes Tru64 build issues.
349 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
351 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
352 (use ${MAKE-make}, not ${MAKE:-make}).
353 * aclocal.m4, configure: Regenerate.
355 2001-01-25 Mark Mitchell <mark@codesourcery.com>
357 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
360 * src/Makefile.am (sources): Add globals.cc.
361 * src/Makefile.in: Regenerated.
362 * src/globals.cc: New file.
363 * src/ios.cc (cin): Don't define here, just declare extern.
372 2001-01-25 Phil Edwards <pme@sources.redhat.com>
374 * include/bits/std_iterator.h: Do not include stl_relops.h.
375 * include/bits/std_numeric.h: Ditto.
376 * include/bits/stl_algobase.h: Ditto.
377 * include/bits/stl_relops.h: Add comment warning about problems.
379 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
381 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
382 in testcases. Prepare for the DejaGnu based framework.
383 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
384 directory -- it is now mkcheck working directory.
385 * tests_flags.in: Remove reference to $(top_srcdir). Use
387 * Makefile.am (check, check-install): Change mkcheck invocation
389 * Makefile.in: Regenerate.
391 2001-01-24 Mark Mitchell <mark@codesourcery.com>
393 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
394 (__always_swap): Likewise.
396 2001-01-23 Chris Demetriou <cgd@broadcom.com>
398 * libsupc++/exception_support.cc (__terminate_func): Remove
400 (__terminate_func_ptr): New typedef.
401 (__terminate, __terminate_set_func): New extern function
403 (std::terminate): Use __terminate function.
404 (std::set_terminate): Use __terminate_set_func function.
406 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
408 * configure.target: Just use os_include_dir always.
409 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
410 Link atomicity files and ctype files here.
411 * configure: Regenerate.
412 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
413 (GLIBCPP_ENABLE_ATOMICITY): Remove.
414 * aclocal.m4: Regenerate.
416 2001-01-23 Chris Demetriou <cgd@broadcom.com>
418 * configure.in: Place definition of MULTISUBDIR in
419 libsupc++/Makefile as is done for src/Makefile.
420 * configure: Regenerate.
422 2001-01-23 Phil Edwards <pme@sources.redhat.com>
424 * acinclude.m4: Cosmetic changes only.
425 * aclocal.m4: Regenerated.
426 * configure: Regenerated.
427 * configure.target: Update documented list of changed variables.
428 * docs/html/install.html: Fix typo.
429 * docs/html/20_util/howto.html: More notes on auto_ptr.
430 * docs/html/27_io/howto.html: More notes on streabufs.
431 * docs/html/faq/index.html: Add rel_ops problem and mention the
432 DEC as(1) .subsection difficulty.
433 * docs/html/faq/index.txt: Regenerated.
435 2001-01-23 Mark Mitchell <mark@codesourcery.com>
437 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
438 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
439 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
440 its already provided in config.target.
441 * aclocal.m4: Regenerated.
442 * configure: Likewise.
443 * configure.target: Set ctype_include_dir for lots of systems.
444 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
445 * libsupc++/Makefile.in: Regenerated.
447 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
449 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
452 * testsuite/README: Add comment.
454 2001-01-21 Phil Edwards <pme@sources.redhat.com>
456 * docs/html/configopts.html: Update for current status. Fix HTML.
457 * docs/html/install.html: Update for current status.
459 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
461 * testsuite/libstdc++.tests/tests.exp: New file.
462 * testsuite/lib/libstdc++.exp: Itou.
463 * testsuite/README: Itou.
465 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
467 * tests_flags.in: Just output the bare minimum to run tests.
468 Let's the caller do its own arrangement.
470 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
473 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
475 * testsuite/17_intro: Prepare testcases for new style DejaGnu
478 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
480 * testsuite/libstdc++.tests, testsuite/lib: New directories.
482 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
484 * mkcheck.in: Construct file names that match $objdir structure.
485 * testsuite/27_io/filebuf_members-1.txt: New file.
486 * testsuite/27_io/ifstream_members-1.txt: New file.
487 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
489 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
490 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
492 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
494 * testsuite/27_io/istream_sentry.cc (test02): Fix.
496 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
499 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
500 * src/ios.cc (ios_base::failure): Make definitions match.
501 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
502 (class bad_cast): Same.
503 * libsupc++/exception (class exception): Add throw specs.
504 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
505 (set_unexpected): Same.
506 (uncaught_exception): Same.
509 * docs/html/17_intro/C++STYLE (classname): Fix.
511 2001-01-16 Mark Mitchell <mark@codesourcery.com>
513 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
514 Use it do explicitly instantiate predicate<T> and value<T> for
517 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
519 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
520 uninitialized thinko in last change.
522 2001-01-16 Mark Mitchell <mark@codesourcery.com>
524 * libsupc++/exception_support.cc (__cp_pop_exception): Change
527 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
529 * docs/html/17_intro/C++STYLE (classname): Add more existing
530 and stylish patterns.
533 * include/bits/istream.tcc (istream::sentry::sentry()): Set
534 failbit if the state of the stream is not good.
535 * testsuite/27_io/istream_sentry.cc (test02): Add test.
536 * testsuite/27_io/istream_manip.cc (test01): Modify.
539 reported by Paolo Carlini <pcarlini@unitus.it>
540 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
541 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
544 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
545 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
546 (xsgetn): Same. Simplify.
547 * testsuite/27_io/streambuf.cc (test04): Add testcases.
549 reported by Larry Evans <jcampbell3@prodigy.net>
550 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
551 equality with eof on returned value from overflow.
553 2001-01-14 Andreas Jaeger <aj@suse.de>
555 * libio/libio.h: Add test for glibc 2.0.
557 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
559 * config/os/djgpp/bits/*: Fix dates.
561 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
562 _CharT* __end, _CharT __c): Remove.
563 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
564 * include/bits/char_traits.h: Tweak.
566 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
568 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
569 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
571 * aclocal.m4: regenerated.
572 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
573 * configure: regenerated.
574 * config/os/djgpp, config/os/djgpp/bits: new directories.
575 * config/os/djgpp/bits/ctype_base.h,
576 config/os/djgpp/bits/ctype_inline.h,
577 config/os/djgpp/bits/ctype_noninline.h,
578 config/os/djgpp/bits/os_defines.h: new files.
580 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
582 * include/c_std/bits/std_cstdio.h: Undef printf.
584 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
586 * src/ios.cc: Fix typo: change cout->wcout.
588 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
589 * src/Makefile.in: Regenerate.
591 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
593 * include/bits/std_complex.h: Fix a typo.
595 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
598 Fixes for libstdc++/1576
599 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
600 file, move contents into....
601 * src/ios.cc: ...Here. Put defines for iostreams objects and
602 initialization routines into one file to simplify DSO interaction.
603 * include/bits/std_iostream.h: Touch.
604 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
605 * src/Makefile.am (sources): Remove stdstreams.cc.
606 * src/Makefile.in: Regenerate.
608 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
610 * tests_flags.in (check_directory): Fix typo.
612 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
614 * include/bits/std_complex.h: Fix a typo.
616 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
618 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
619 code path:) Remove magic constants and restructure to handle
620 ctype.h bit mask layout changes more gracefully. (Make fast
621 code path:) Use __maskrune (), if available.
622 (is): Remove special case for digit and xdigit masks.
624 2001-01-09 Robert Lipe <robertlipe@usa.net>
626 * include/c_std/bits/std_ctime.h: Undefine difftime.
628 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
630 * src/gen-num-limits.cc (signal_adapter): New template function.
631 (signal_handler): Use it, instead of signal.
632 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
633 require both tests to trap to set trap_flag.
635 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
637 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
638 initialize mbstate_t member, name offset data members *off, not pos.
639 * include/bits/fstream.tcc (filebuf::filebuf): Same.
641 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
643 reported by Chris G. Demetriou <cgd@sibyte.com>
644 * configure.in: Change -linux-* to -linux*.
645 * configure: Regenerate.
647 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
649 Fix 27_io/filebuf_members.cc
650 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
651 const string& __name, category __cat, size_t __refs): Set
652 _M_has_name with _M_name.
653 * include/bits/localefwd.h (locale::operator!=): Protect member
654 function call with this->.
655 * src/locale.cc (locale::operator==): Make fast checks first.
656 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
658 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
660 * src/ios.cc (ios_base::Init::Init): Initialize here.
661 (ios_base::sync_with_stdio): Set here.
663 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
665 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
666 systems that support it, call dup() before fdopen().
668 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
670 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
671 * testsuite/17_intro/header_cwctype.cc (main): New file.
673 * src/Makefile.am (base_headers): Change.
674 * include/bits/std_string.h: And here.
675 * include/bits/string.tcc: Tweaks, move to...
676 * include/bits/basic_string.tcc: ...Here.
677 * src/string-inst.cc: Simplify, just instantiate the whole class,
678 not member-by-member.
680 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
682 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
683 * aclocal.m4: Regenerate.
684 * configure: Regenerate.
686 * include/bits/c++config (__GLIBCPP__): Bump version number.
688 * ChangeLog: Start new log for year 2001
689 * ChangeLog-2000: New file.
691 * docs/html/configopts.html: Make sure default values are current,
694 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
696 * include/c_std/bits/std_cwchar.h: Same.
697 * testsuite/17_intro/header_cwchar.cc: Same.
698 * include/c_std/bits/std_ctime.h: Same.
699 * testsuite/17_intro/header_ctime.cc: Same.
700 * include/c_std/bits/std_cstdlib.h: Same.
701 Clean up undefs, make consistent with cwchar and cmath, etc.
702 * testsuite/17_intro/header_cstdlib.cc: Same.
703 * include/c_std/bits/std_cstdio.h: Same here.
704 * testsuite/17_intro/header_cstring.cc: Same.
705 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
706 * testsuite/17_intro/header_cstring.cc: New file. Check for
707 size_t in namespace std.
709 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
710 * acconfig.h (HAVE_MBSTATE_T): Add.
711 * config.h.in: Regenerate.
712 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
714 * aclocal.m4: Regenerate.
715 * configure: Regenerate.
716 * testsuite/17_intro/headers_c++.cc: New file.
717 * testsuite/17_intro/headers_c.cc: Small changes.
719 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
721 * tests_flags.in: Fix typo in usage.
723 * tests_flags.in: Set target specific LIBS for cygwin.