1 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
3 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
5 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
7 * include/bits/istream.tcc: change type of __extracted to __size_type
9 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
11 * src/wstring-inst.cc: New file.
12 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
13 (libinst_wstring_la_SOURCES): Remove.
14 (libstdc___la_LIBADD): Remove libinst_wstring_la.
15 (sources): Add wstring-inst.cc
16 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
19 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
21 * src/locale.cc: initialise __ret with zero
22 * src/strstream.cc:cast gptr to int_type
24 2001-03-01 Phil Edwards <pme@sources.redhat.com>
26 * docs/html/faq/index.html: Update broken links.
27 * docs/html/faq/index.txt: Regenerated.
29 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
32 * configure.target: Change irix* to irix6.5* in target_os table.
34 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
37 * include/bits/c++config (__GLIBCPP__): Bump number in
40 * include/bits/codecvt.h: Fix typo.
41 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
43 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
44 instantiations for stdio model.
46 2001-02-28 Phil Edwards <pme@sources.redhat.com>
48 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
49 and GLIBCPP_CXXFLAGS as unused variables.
50 * configure.host: Likewise.
51 * configure.target: Likewise.
52 * aclocal.m4: Regenerated.
53 * configure: Regenerated.
54 * Makefile.in: Regenerated.
55 * libio/Makefile.in: Regenerated.
56 * libmath/Makefile.in: Regenerated.
57 * libsupc++/Makefile.in: Regenerated.
58 * src/Makefile.in: Regenerated.
60 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
63 * include/bits/basic_file.h: Include basic_file_model.h.
64 * config/c_io_libio.cc: Move to...
65 * config/basic_file_libio.cc: Here.
66 * config/basic_file_libio.h: New file.
67 * config/c_io_stdio.cc: Move to...
68 * config/basic_file_stdio.cc: Here.
69 * config/basic_file_stdio.h: New file.
70 * config/c_io_libio.h: Tweak.
71 * config/c_io_stdio.h: Tweak.
72 * src/Makefile.am (build_headers): Add basic_file_model.h.
73 (sources): Add basic_file.cc, remove c++io.cc.
74 * src/Makefile.in: Regenerate.
75 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
76 basic_file_model.h and basic_file.cc.
77 * aclocal.m4: Regenerate.
78 * configure: Regenerate.
79 * testsuite/27_io/filebuf.cc (test05): Add regression.
81 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
84 * config/cpu/alpha/bits/atomicity.h: Change.
85 * config/cpu/arm/bits/atomicit3y.h
86 * config/cpu/generic/bits/atomicity.h
87 * config/cpu/i386/bits/atomicity.h
88 * config/cpu/i486/bits/atomicity.h
89 * config/cpu/ia64/bits/atomicity.h
90 * config/cpu/powerpc/bits/atomicity.h
91 * config/cpu/sparc/sparc32/bits/atomicity.h
92 * config/cpu/sparc/sparc64/bits/atomicity.h
93 * config/os/aix/bits/atomicity.h
94 * config/os/irix/bits/atomicity.h
96 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
98 * include/bits/std_stdexcept.h (runtime_error): Make string
101 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
104 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
108 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
109 string object, not reference.
110 (runtime_error::runtime_error): Same.
111 * testsuite/19_diagnostics/stdexceptions.cc: New file.
113 2001-02-26 Phil Edwards <pme@sources.redhat.com>
115 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
116 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
117 diagnostics. Remove WFMT_FLAGS.
118 * configure.in: Replace WFMT_FLAGS with diagnostics options.
119 * libsupc++/Makefile.am: Likewise.
120 * src/Makefile.am: Likewise.
121 * aclocal.m4: Regenerated.
122 * configure: Regenerated.
123 * Makefile.in: Regenerated.
124 * libio/Makefile.in: Regenerated.
125 * libmath/Makefile.in: Regenerated.
126 * libsupc++/Makefile.in: Regenerated.
127 * src/Makefile.in: Regenerated.
129 2001-02-26 Phil Edwards <pme@sources.redhat.com>
132 * include/backward/iomanip.h: Expose <ios> manipulators to global
134 * include/backward/iostream.h: Also expose std::ws.
136 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
138 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
140 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
142 * include/bits/codecvt.h: Use __builtin_alloca.
143 * include/bits/ostream.tcc: Same.
144 * include/bits/fstream.tcc: Same.
146 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
148 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
150 2001-02-23 David Edelsohn <dje@watson.ibm.com>
152 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
154 2001-02-23 Phil Edwards <pme@sources.redhat.com>
157 * include/backward/iostream.h: Expose std::flush in old headers.
159 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
161 * mknumeric_limits: Remove special-casing on target. Use gcc
162 instead of g++ to build gen-num-limits.cc
164 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
166 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
168 * include/bits/codecvt.h: Use alloca instead of __extension__ for
170 * include/bits/ostream.tcc: Same.
171 * include/bits/std_ostream.h: Same.
172 * include/bits/fstream.tcc: Same.
173 * include/bits/locale_facets.tcc: Add typename.
174 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
176 2001-02-21 Phil Edwards <pme@sources.redhat.com>
178 * tests_flags.in: Remove -n flag from call to echo.
180 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
182 * config/c_locale_gnu.h: Add clocale include.
184 2001-02-20 Phil Edwards <pme@sources.redhat.com>
186 * include/bits/stl_config.h: Remove file.
187 * src/Makefile.am (base_headers): Remove from list.
188 * configure: Regenerate.
189 * Makefile.in: Ditto.
190 * libio/Makefile.in: Ditto.
191 * libmath/Makefile.in: Ditto.
192 * libsupc++/Makefile.in: Ditto.
193 * src/Makefile.in: Ditto.
195 * include/bits/c++config: Move relevant macros to here.
196 * include/backward/alloc.h: Include c++config.h instead.
197 * include/backward/function.h: Ditto.
198 * include/backward/heap.h: Ditto.
199 * include/backward/pair.h: Ditto.
200 * include/bits/pthread_allocimpl.h: Ditto.
201 * include/bits/std_functional.h: Ditto.
202 * include/bits/std_iterator.h: Ditto.
203 * include/bits/std_numeric.h: Ditto.
204 * include/bits/std_utility.h: Ditto.
205 * include/bits/stl_algobase.h: Ditto.
206 * include/bits/type_traits.h: Ditto.
207 * src/stl-inst.cc: Ditto.
209 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
211 * include/bits/basic_file.h: Add #pragma system_header
212 * include/bits/basic_ios.h: Ditto.
213 * include/bits/basic_string.h: Ditto.
214 * include/bits/char_traits.h: Ditto.
215 * include/bits/codecvt.h: Ditto.
216 * include/bits/cpp_type_traits.h: Ditto.
217 * include/bits/fpos.h: Ditto.
218 * include/bits/gslice.h: Ditto.
219 * include/bits/gslice_array.h: Ditto.
220 * include/bits/indirect_array.h: Ditto.
221 * include/bits/ios_base.h: Ditto.
222 * include/bits/limits_generic.h: Ditto.
223 * include/bits/locale_facets.h: Ditto.
224 * include/bits/localefwd.h: Ditto.
225 * include/bits/mask_array.h: Ditto.
226 * include/bits/sbuf_iter.h: Ditto.
227 * include/bits/sequence_concepts.h: Ditto.
228 * include/bits/slice.h: Ditto.
229 * include/bits/slice_array.h: Ditto.
230 * include/bits/std_algorithm.h: Likewise.
231 * include/bits/std_bitset.h: Likewise.
232 * include/bits/std_complex.h: Likewise.
233 * include/bits/std_deque.h: Likewise.
234 * include/bits/std_fstream.h: Likewise.
235 * include/bits/std_functional.h: Likewise.
236 * include/bits/std_iomanip.h: Likewise.
237 * include/bits/std_ios.h: Likewise.
238 * include/bits/std_iosfwd.h: Likewise.
239 * include/bits/std_iostream.h: Likewise.
240 * include/bits/std_istream.h: Likewise.
241 * include/bits/std_iterator.h: Likewise.
242 * include/bits/std_list.h: Likewise.
243 * include/bits/std_locale.h: Likewise.
244 * include/bits/std_map.h: Likewise.
245 * include/bits/std_memory.h: Likewise.
246 * include/bits/std_numeric.h: Likewise.
247 * include/bits/std_ostream.h: Likewise.
248 * include/bits/std_queue.h: Likewise.
249 * include/bits/std_set.h: Likewise.
250 * include/bits/std_sstream.h: Likewise.
251 * include/bits/std_stack.h: Likewise.
252 * include/bits/std_stdexcept.h: Likewise.
253 * include/bits/std_streambuf.h: Likewise.
254 * include/bits/std_string.h: Likewise.
255 * include/bits/std_utility.h: Likewise.
256 * include/bits/std_valarray.h: Likewise.
257 * include/bits/std_vector.h: Likewise.
258 * include/bits/stringfwd.h: Likewise.
259 * include/bits/type_traits.h: Likewise.
260 * include/bits/valarray_array.h: Likewise.
261 * include/bits/valarray_meta.h: Likewise.
263 2001-02-19 Andreas Jaeger <aj@suse.de>
265 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
268 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
271 * include/bits/std_ostream.h: Replaced usage of
272 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
273 * include/bits/char_traits.h: Removed non-standard
274 methods that cannot be used elsewhere.
277 * include/bits/basic_ios.h: Uncommented #include of
281 * include/bits/codecvt.h: See next...
282 * include/bits/fstream.tcc: See next...
283 * include/bits/ostream.tcc: Add __extension__
284 to variable-length arrays.
287 * include/bits/localefwd.h: Changed int counter type to size_t.
290 * include/bits/std_fstream.h: Added typedef for __ctype_type.
292 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
294 * testsuite/21_strings/char_traits.cc: Move to ...
295 * testsuite/21_strings/char_traits_requirements.cc: ..here.
296 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
297 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
299 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
301 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
304 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
306 * include/bits/c++config: Revert.
308 2001-02-15 Mark Mitchell <mark@codesourcery.com>
310 * include/bits/istream.tcc: Use ios_base::iostate in place of
311 iostate throughout. Insert `typename' keyword where necessary.
312 * include/bits/ostream.tcc: Insert `typename' keyword where
315 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
317 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
318 Define so library is compliant.
320 2001-02-15 Anthony Green <green@redhat.com>
322 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
324 * aclocal.m4: Regenerate.
325 * configure: Regenerate.
327 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
329 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
330 Include ieeefp.h for fpclass on UnixWare{2,7}.
331 * aclocal.m4: Regenerate.
332 * configure: Regenerate.
333 * mkcheck.in (size_command): Do without GNU-grep when using
336 2001-02-15 Mark Mitchell <mark@codesourcery.com>
338 Remove old ABI support from libsupc++.
339 * libsupc++/cxxabi.h: Remove conditionally compiled code.
340 * libsupc++/exception_support.cc: Likewise.
341 * libsupc++/pure.cc: Likewise.
342 * libsupc++/tinfo.cc: Likewise.
343 * libsupc++/tinfo.h: Likewise.
344 * libsupc++/tinfo2.cc: Likewise.
345 * libsupc++/typeinfo: Likewise.
346 * libsupc++/vec.cc: Likewise.
348 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
350 Add support for -fno-exceptions.
351 * include/bits/exception_support.h: Remove.
352 * include/bits/basic_string.h: Remove exception_support.
353 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
355 (string::substr): Same.
356 * include/bits/basic_string.tcc (string::reserve): Replace
357 __LENGTHERROR with __throw_length_error.
358 (string::_S_create): Same.
359 (string::resize): Same.
360 (string::_M_replace): Same.
361 (string::replace): Same.
362 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
363 (string::compare): Same.
364 * include/bits/stl_vector.h: Remove exception_support.
365 * src/Makefile.am (base_headers): Remove here.
366 * src/Makefile.in: Regenerate.
368 * include/bits/stl_range_errors.h: Remove.
369 * include/bits/stl_deque.h: Use __throw_range_error.
370 * include/bits/std_deque.h: Include functexcept.h.
371 * include/bits/std_vector.h: Same.
372 * src/Makefile.am (base_headers): Remove here.
373 * src/Makefile.in: Regenerate.
374 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
375 * include/ext/bvector: Remove stl_range_errors.h
377 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
379 * include/bits/functexcept.h: New file.
380 * src/functexcept.cc: New file. Definitions for function-based
382 * src/Makefile.am (sources): Add functexcept.cc.
383 * src/Makefile.in: Regenerate.
385 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
388 * include/bits/localefwd.h: Include functexcept.h.
389 * include/bits/std_iosfwd.h: Same.
391 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
392 throw basic_ios::failure.
393 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
394 Use __throw_exception_again.
395 (filebuf::_M_filebuf_init): Same.
396 * include/bits/streambuf.tcc (__copy_streambufs): Same.
397 * include/bits/ostream.tcc (ostream::operator<<): Same.
398 * include/bits/istream.tcc (istream::operator>>): Same.
399 * include/bits/basic_string.tcc (string::_M_mutate): Same.
400 (string::_S_construct): Same.
401 (string::_M_clone): Same.
402 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
404 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
405 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
406 __throw_exception_again.
407 (locale::_Imp::_Imp(string, size_t): Same.
408 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
409 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
410 (locale::locale(const char*)): Use __throw_runtime_error.
411 (locale::classic): Use __throw_exception_again.
412 (locale::_S_normalize_category): Use __throw_runtime_error.
414 * src/stdexcept.cc: Remove cruft.
416 * libsupc++/exception_defines.h: New file.
417 * libsupc++/new_opnt.cc: Include exception_defines.h.
418 * libsupc++/vec.cc: Same.
419 (__cxa_vec_new2): Use __throw_exception_again.
420 (__cxa_vec_new3): Same.
421 (__cxa_vec_ctor): Same.
422 (__cxa_vec_delete3): Same.
423 (__cxa_vec_cctor): Same.
424 (__cxa_vec_delete2): Same.
425 (__cxa_vec_dtor): Same.
426 * libsupc++/exception_support.cc: Include exception_defines.h. Only
427 compile exception-handling bits if __EXCEPTIONS is defined.
428 Remove old ABI support.
429 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
430 std::__throw_bad_alloc() instead of throw bad_alloc.
431 * libsupc++/Makefile.am: Add exception_defines.h.
432 * libsupc++/Makefile.in: Reformat.
433 * libsupc++/*: Format.
435 2001-02-15 Phil Edwards <pme@sources.redhat.com>
437 * docs/html/configopts.html: Minor updates and typo fixes.
438 * docs/html/faq/index.html: Updates of the "not really bugs" list.
439 * docs/html/faq/index.txt: Regenerated.
441 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
443 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
444 dejagnu/dg.exp. Adapt to log options used to run testcases.
446 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
448 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
451 2001-02-13 Dirk Mueller <dmuell@gmx.net>
452 Phil Edwards <pme@sources.redhat.com>
454 * include/backward/function.h: Do not use rel_ops for older
456 * include/backward/pair.h: Likewise.
458 2001-02-12 Mark Mitchell <mark@codesourcery.com>
460 * src/locale.cc: Remove bogus locale::id definitions.
462 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
464 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
465 not _DEFINE_VALARRAY_OPERATOR which is not existent.
467 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
468 thinko in member initialisation.
470 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
472 * include/bits/std_valarray.h(valarray<>::shift): Avoid
473 comparaison between signed and unsigned integer types.
474 (valarray<>::cshift): Reformat.
476 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
478 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
479 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
480 * configure.in: Test for sigsetjmp.
481 * configure, config.h.in: Rebuilt.
483 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
485 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
487 (__gslice_to_index): Document.
489 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
491 * include/bits/char_traits.h char_traits<char>::int_type: Change
492 to `int' to match 21.1.3.1/2.
494 * testsuite/21_strings/char_traits-int_type.C: New test.
496 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
498 * testsuite/Makefile.am: New file.
500 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
502 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
504 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
506 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
508 2001-02-08 David Edelsohn <edelsohn@gnu.org>
510 * configure.target (aix4*): Remove extra set of brackets.
512 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
515 * include/bits/stringfwd.h: New file.
516 * include/bits/stl_string_fwd.h: Remove.
517 * include/bits/localefwd.h: Remove declaration for allocator.
518 * include/bits/std_iosfwd: Same.
519 * include/bits/std_string.h: Include it.
520 * include/bits/std_ios.h: Remove include.
521 * include/bits/basic_string.h: Tweak.
522 * libsupc++/new: Format.
523 * src/Makefile.am (base_headers): Add stringfwd.h, remove
525 * src/Makefile.in: Regenerate.
526 * include/bits/std_stdexcept.h: Rewrite.
527 * src/stdexcept.cc: Same.
529 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
531 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
532 install locations too.
533 * aclocal.m4: Regenerate.
534 * configure.in: Remove USE_LIBDIR.
535 * configure: Regenerate.
536 * src/Makefile.am (toolexecdir): Simplify, use
537 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
538 * src/Makefile.in: Regenerate.
539 * libsupc++/Makefile.am: Same.
540 * libsupc++/Makefile.in: Regenerate.
542 * src/Makefile.am: Just remove special rules for locale-inst.cc and
543 misc-inst.cc as no longer necessary.
545 Follow C++STYLE for naming non-static functions.
546 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
548 * include/bits/streambuf.tcc: Same.
549 * include/bits/ostream.tcc: Same.
550 * include/bits/istream.tcc: Same.
551 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
552 (_S_output_float): To __output_float.
553 * include/bits/std_streambuf.h (_S_copy_streambufs): To
555 * include/bits/locale_facets.tcc (_S_build_float_format): To
556 __build_float_format.
557 (_S_format): To __output_integer.
559 * src/locale.cc: Same.
560 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
562 * include/bits/locale_facets.tcc (_S_group_digits): To
564 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
565 for collate, numpunct.
567 2001-02-06 Phil Edwards <pme@sources.redhat.com>
569 * docs/html/configopts.html: Fix HTML markup.
570 * docs/html/install.html: Bring up to date.
571 * docs/html/17_intro/C++STYLE: Add global variable conventions.
572 * docs/html/21_strings/howto.html: More notes.
573 * docs/html/22_locale/howto.html: Fix HTML markup.
574 * docs/html/27_io/howto.html: More notes.
575 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
576 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
578 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
580 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
581 to match header files.
582 (_S_output_float): Likewise.
583 (_S_copy_streambufs): Likewise.
585 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
586 Phil Edwards <pme@sources.redhat.com>
588 * include/bits/std_istream.h (op>> signed,unsigned char): Must
589 use reinterpret_cast, not static_cast.
591 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
593 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
594 * aclocal.m4: Regenerate.
595 * configure: Regenerate.
597 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
599 * include/bits/locale_facets.h (class moneypunct): Fix typos.
600 * libsupc++/pure.cc: Revert.
602 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
604 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
605 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
606 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
607 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
608 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
609 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
610 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
611 * aclocal.m4: Regenerate.
612 * configure: Regenerate.
614 2001-02-05 Mark Mitchell <mark@codesourcery.com>
616 * include/bits/locale_facets.tcc: Remove `static' keyword on
617 function definitions.
618 * include/bits/std_streambuf.h: Likewise.
619 * src/Makefile.am: Remove use of -fimplicit-templates.
620 * src/Makefile.in: Regenerated.
621 * src/locale-inst.cc: Explicitly instantiate more functions.
622 * src/misc-inst.cc: Likewise.
623 * src/string-inst.cc: Likewise.
625 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
627 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
628 macro. Consolidate all the bits to do with where includes might be
630 * aclocal.m4: Regenerate.
631 * configure.in: Use it.
632 * configure: Regenerate.
633 * src/Makefile.am (targetincludep): Use simplified rules.
634 (targetincludep): Rename gxx_target_include_dir.
635 (myincludep): Rename gxx_include_dir.
636 * src/Makefile.in: Regenerate.
637 * libsupc++/Makefile.am: Use simplified rules.
638 * libsupc++/Makefile.in: Regenerate.
640 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
642 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
643 * include/c_std/bits/std_cctype.h: Same.
644 * include/c_std/bits/std_cassert.h: Same.
645 * include/c_std/bits/std_cstdarg.h: Same.
646 * include/c_std/bits/std_cstddef.h: Same.
648 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
650 * include/c_std/bits/std_ctime.h: Same.
651 * include/c_std/bits/std_clocale.h: Same.
652 * include/c_std/bits/std_cmath.h: Same.
653 * include/c_std/bits/std_csetjmp.h: Same.
654 * include/c_std/bits/std_csignal.h: Same.
655 * include/c_std/bits/std_cstring.h: Same.
656 * include/c_std/bits/std_cstdlib.h: Same.
657 * include/c_std/bits/std_cwchar.h: Same.
659 2001-02-05 Phil Edwards <pme@sources.redhat.com>
661 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
663 2001-02-05 Mark Mitchell <mark@codesourcery.com>
665 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
666 (string::_S_construct): Likewise.
668 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
670 * testsuite/config/default.exp: New file.
671 * testsuite/config: New directory.
673 2001-02-04 Mark Mitchell <mark@codesourcery.com>
675 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
676 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
677 whenever !__GXX_MERGED_TYPEINFO_NAMES.
678 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
680 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
681 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
683 * Makefile.am (mkinstalldirs): Set.
684 * src/Makefile.am (mkinstalldirs): Set.
685 * libmath/Makefile.am (mkinstalldirs): Set.
686 * libsup++/Makefile.am (mkinstalldirs): Set.
687 * libio/Makefile.am (mkinstalldirs): Set.
688 * */Makefile.in: Regenerate.
690 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
692 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
693 * include/bits/localefwd.h: More initialization cleanups.
695 2001-02-03 Jeffrey A Law <law@cygnus.com>
697 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
698 correctly targets with 16bit ints.
699 (_S_ios_openmode_end): Similarly.
700 (_S_ios_iostate_end): Similarly.
701 (_S_ios_Seekdir_end): Similarly.
703 2001-02-02 Phil Edwards <pme@sources.redhat.com>
705 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
707 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
709 * configure.in (toplevel_srcdir, auxdir): Set.
710 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
711 * aclocal.m4, configure, Makefile.in: Rebuilt.
712 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
713 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
714 * libsupc++-v3/Makefile.in: Rebuilt.
715 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
716 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
718 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
720 * config/c_locale_generic.cc: Remove langinfo include.
722 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
724 Preliminary named locales.
725 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
726 * aclocal.m4: Regenerate.
727 * configure.in: Use it.
728 * configure: Regerate.
729 * src/Makefile.am (sources): Add c++locale.cc.
730 (build_headers): Add c++locale.h.
731 * src/Makefile.in: Regenerate.
732 * config/c_locale_gnu.h: New file.
733 * config/c_locale_gnu.cc: New file. Non-inline member functions
734 for named locales, gnu-specific.
735 * config/c_locale_generic.h: New file.
736 * config/c_locale_generic.cc: New file. Non-inline member
737 functions for named locales, generic version.
738 * docs/html/configopts.html: Add documentation on new options.
740 * include/bits/locale_facets.h (class _Messages): Remove.
741 (class _Moneypunct): Remove.
742 * src/locale-inst.cc: Remove.
744 * include/bits/locale_facets.h (class _Collate): Remove.
745 * src/locale-inst.cc (std): Remove.
746 * src/locale.cc: And here.
748 * include/bits/localefwd.h (locale::_M_coalesce): New
749 function. Correctly put together multi-name locales.
750 (_Impl(const _Impl&, category, size_t)): Remove.
752 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
754 (_M_normalize_category_names): Remove.
755 (_M_replace_categories): Fix.
757 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
758 (locale::_Impl::_M_construct_ctype): Remove.
759 (locale::_Impl::_M_construct_monetary): Remove.
760 (locale::_Impl::_M_construct_numeric): Remove.
761 (locale::_Impl::_M_construct_time): Remove.
762 (locale::_Impl::_M_construct_messages): Remove.
764 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
765 (_Use_facet_failure_handle): Remove.
766 * src/locale.cc: Remove definitions.
767 * src/locale-inst.cc: And here.
769 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
771 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
772 create and error-check underlying locale object.
773 (locale::facet::_S_destroy_c_locale): Add, take care of properly
774 tearing down underlying locale object.
775 * include/bits/localefwd.h (locale::facet): Declare.
776 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
777 correctness, as glibc apparently has incorrect info in it. Test
778 with it when it works again.....
780 * include/bits/localefwd.h (locale::_Impl::__vec_string):
781 Remove. Number of categories is fixed at six, so just simplify and
782 make this an array of strings.
783 (locale::_Impl::_M_has_name): Remove.
784 (locale::_Impl::_M_name): Remove.
785 (locale::_Impl::_M_category_names): Turns into...
786 (locale::_Impl::_M_names): ...this.
787 (locale::_Impl::_M_has_same_name()): New function.
788 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
789 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
791 * src/locale.cc (locale::name()): Construct mangled name
792 accurately reflecting combined locale categories.
794 * src/locale.cc (locale::classic()): Don't initialize here.
795 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
796 __refs, bool __has_name, string __str): Do it here.
798 * include/bits/localefwd.h: _S_categories_num to
799 _S_num_categories. _S_facets_num to _S_num_facets.
800 (locale::id::id()): Explicitly set _M_index to zero.
801 * src/locale.cc: Same.
803 * src/locale.cc: (locale::locale(const char*)): Construct named
806 * src/locale.cc: Remove numpunct_byname ctors.
807 * testsuite/22_locale/numpunct_byname.cc: New file.
808 * testsuite/22_locale/numpunct.cc: New file.
810 * include/bits/localefwd.h (class locale): Change data members to
811 protected, from private.
812 (_Impl::_M_get_c_locale): Add member function.
813 (locale::facet::_M_get_global_impl()): Add member function.
814 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
815 a __c_locale pointer.
816 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
818 * testsuite/22_locale/members.cc: New file, test name and combine.
820 * include/bits/locale_facets.h (class numpunct): Remove class
821 _Punct and _Numpunct. Rewrite class numpunct to be correct for
823 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
824 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
825 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
826 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
827 * testsuite/22_locale/numpunct_char_members.cc: New file.
829 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
831 * testsuite/README: Add more comment.
832 * testsuite/lib/libstdc++.exp: Tweak comment.
834 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
836 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
838 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
840 * testsuite/21_strings/inserters_extractors.cc: Remove
841 explicit reference to 'testsuite/'.
843 2001-01-25 Richard Henderson <rth@redhat.com>
845 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
846 bits. Fixes Tru64 build issues.
848 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
850 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
851 (use ${MAKE-make}, not ${MAKE:-make}).
852 * aclocal.m4, configure: Regenerate.
854 2001-01-25 Mark Mitchell <mark@codesourcery.com>
856 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
859 * src/Makefile.am (sources): Add globals.cc.
860 * src/Makefile.in: Regenerated.
861 * src/globals.cc: New file.
862 * src/ios.cc (cin): Don't define here, just declare extern.
871 2001-01-25 Phil Edwards <pme@sources.redhat.com>
873 * include/bits/std_iterator.h: Do not include stl_relops.h.
874 * include/bits/std_numeric.h: Ditto.
875 * include/bits/stl_algobase.h: Ditto.
876 * include/bits/stl_relops.h: Add comment warning about problems.
878 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
880 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
881 in testcases. Prepare for the DejaGnu based framework.
882 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
883 directory -- it is now mkcheck working directory.
884 * tests_flags.in: Remove reference to $(top_srcdir). Use
886 * Makefile.am (check, check-install): Change mkcheck invocation
888 * Makefile.in: Regenerate.
890 2001-01-24 Mark Mitchell <mark@codesourcery.com>
892 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
893 (__always_swap): Likewise.
895 2001-01-23 Chris Demetriou <cgd@broadcom.com>
897 * libsupc++/exception_support.cc (__terminate_func): Remove
899 (__terminate_func_ptr): New typedef.
900 (__terminate, __terminate_set_func): New extern function
902 (std::terminate): Use __terminate function.
903 (std::set_terminate): Use __terminate_set_func function.
905 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
907 * configure.target: Just use os_include_dir always.
908 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
909 Link atomicity files and ctype files here.
910 * configure: Regenerate.
911 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
912 (GLIBCPP_ENABLE_ATOMICITY): Remove.
913 * aclocal.m4: Regenerate.
915 2001-01-23 Chris Demetriou <cgd@broadcom.com>
917 * configure.in: Place definition of MULTISUBDIR in
918 libsupc++/Makefile as is done for src/Makefile.
919 * configure: Regenerate.
921 2001-01-23 Phil Edwards <pme@sources.redhat.com>
923 * acinclude.m4: Cosmetic changes only.
924 * aclocal.m4: Regenerated.
925 * configure: Regenerated.
926 * configure.target: Update documented list of changed variables.
927 * docs/html/install.html: Fix typo.
928 * docs/html/20_util/howto.html: More notes on auto_ptr.
929 * docs/html/27_io/howto.html: More notes on streabufs.
930 * docs/html/faq/index.html: Add rel_ops problem and mention the
931 DEC as(1) .subsection difficulty.
932 * docs/html/faq/index.txt: Regenerated.
934 2001-01-23 Mark Mitchell <mark@codesourcery.com>
936 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
937 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
938 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
939 its already provided in config.target.
940 * aclocal.m4: Regenerated.
941 * configure: Likewise.
942 * configure.target: Set ctype_include_dir for lots of systems.
943 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
944 * libsupc++/Makefile.in: Regenerated.
946 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
948 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
951 * testsuite/README: Add comment.
953 2001-01-21 Phil Edwards <pme@sources.redhat.com>
955 * docs/html/configopts.html: Update for current status. Fix HTML.
956 * docs/html/install.html: Update for current status.
958 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
960 * testsuite/libstdc++.tests/tests.exp: New file.
961 * testsuite/lib/libstdc++.exp: Itou.
962 * testsuite/README: Itou.
964 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
966 * tests_flags.in: Just output the bare minimum to run tests.
967 Let's the caller do its own arrangement.
969 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
972 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
974 * testsuite/17_intro: Prepare testcases for new style DejaGnu
977 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
979 * testsuite/libstdc++.tests, testsuite/lib: New directories.
981 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
983 * mkcheck.in: Construct file names that match $objdir structure.
984 * testsuite/27_io/filebuf_members-1.txt: New file.
985 * testsuite/27_io/ifstream_members-1.txt: New file.
986 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
988 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
989 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
991 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
993 * testsuite/27_io/istream_sentry.cc (test02): Fix.
995 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
998 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
999 * src/ios.cc (ios_base::failure): Make definitions match.
1000 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
1001 (class bad_cast): Same.
1002 * libsupc++/exception (class exception): Add throw specs.
1003 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
1004 (set_unexpected): Same.
1005 (uncaught_exception): Same.
1008 * docs/html/17_intro/C++STYLE (classname): Fix.
1010 2001-01-16 Mark Mitchell <mark@codesourcery.com>
1012 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
1013 Use it do explicitly instantiate predicate<T> and value<T> for
1016 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
1018 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
1019 uninitialized thinko in last change.
1021 2001-01-16 Mark Mitchell <mark@codesourcery.com>
1023 * libsupc++/exception_support.cc (__cp_pop_exception): Change
1026 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
1028 * docs/html/17_intro/C++STYLE (classname): Add more existing
1029 and stylish patterns.
1032 * include/bits/istream.tcc (istream::sentry::sentry()): Set
1033 failbit if the state of the stream is not good.
1034 * testsuite/27_io/istream_sentry.cc (test02): Add test.
1035 * testsuite/27_io/istream_manip.cc (test01): Modify.
1038 reported by Paolo Carlini <pcarlini@unitus.it>
1039 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
1040 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
1043 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
1044 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
1045 (xsgetn): Same. Simplify.
1046 * testsuite/27_io/streambuf.cc (test04): Add testcases.
1048 reported by Larry Evans <jcampbell3@prodigy.net>
1049 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
1050 equality with eof on returned value from overflow.
1052 2001-01-14 Andreas Jaeger <aj@suse.de>
1054 * libio/libio.h: Add test for glibc 2.0.
1056 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
1058 * config/os/djgpp/bits/*: Fix dates.
1060 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
1061 _CharT* __end, _CharT __c): Remove.
1062 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
1063 * include/bits/char_traits.h: Tweak.
1065 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
1067 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
1068 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
1070 * aclocal.m4: regenerated.
1071 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
1072 * configure: regenerated.
1073 * config/os/djgpp, config/os/djgpp/bits: new directories.
1074 * config/os/djgpp/bits/ctype_base.h,
1075 config/os/djgpp/bits/ctype_inline.h,
1076 config/os/djgpp/bits/ctype_noninline.h,
1077 config/os/djgpp/bits/os_defines.h: new files.
1079 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
1081 * include/c_std/bits/std_cstdio.h: Undef printf.
1083 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
1085 * src/ios.cc: Fix typo: change cout->wcout.
1087 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
1088 * src/Makefile.in: Regenerate.
1090 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1092 * include/bits/std_complex.h: Fix a typo.
1094 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
1097 Fixes for libstdc++/1576
1098 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
1099 file, move contents into....
1100 * src/ios.cc: ...Here. Put defines for iostreams objects and
1101 initialization routines into one file to simplify DSO interaction.
1102 * include/bits/std_iostream.h: Touch.
1103 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
1104 * src/Makefile.am (sources): Remove stdstreams.cc.
1105 * src/Makefile.in: Regenerate.
1107 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1109 * tests_flags.in (check_directory): Fix typo.
1111 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1113 * include/bits/std_complex.h: Fix a typo.
1115 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
1117 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
1118 code path:) Remove magic constants and restructure to handle
1119 ctype.h bit mask layout changes more gracefully. (Make fast
1120 code path:) Use __maskrune (), if available.
1121 (is): Remove special case for digit and xdigit masks.
1123 2001-01-09 Robert Lipe <robertlipe@usa.net>
1125 * include/c_std/bits/std_ctime.h: Undefine difftime.
1127 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
1129 * src/gen-num-limits.cc (signal_adapter): New template function.
1130 (signal_handler): Use it, instead of signal.
1131 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
1132 require both tests to trap to set trap_flag.
1134 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
1136 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
1137 initialize mbstate_t member, name offset data members *off, not pos.
1138 * include/bits/fstream.tcc (filebuf::filebuf): Same.
1140 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
1142 reported by Chris G. Demetriou <cgd@sibyte.com>
1143 * configure.in: Change -linux-* to -linux*.
1144 * configure: Regenerate.
1146 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
1148 Fix 27_io/filebuf_members.cc
1149 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
1150 const string& __name, category __cat, size_t __refs): Set
1151 _M_has_name with _M_name.
1152 * include/bits/localefwd.h (locale::operator!=): Protect member
1153 function call with this->.
1154 * src/locale.cc (locale::operator==): Make fast checks first.
1155 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
1157 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
1159 * src/ios.cc (ios_base::Init::Init): Initialize here.
1160 (ios_base::sync_with_stdio): Set here.
1162 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
1164 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
1165 systems that support it, call dup() before fdopen().
1167 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
1169 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
1170 * testsuite/17_intro/header_cwctype.cc (main): New file.
1172 * src/Makefile.am (base_headers): Change.
1173 * include/bits/std_string.h: And here.
1174 * include/bits/string.tcc: Tweaks, move to...
1175 * include/bits/basic_string.tcc: ...Here.
1176 * src/string-inst.cc: Simplify, just instantiate the whole class,
1177 not member-by-member.
1179 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
1181 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
1182 * aclocal.m4: Regenerate.
1183 * configure: Regenerate.
1185 * include/bits/c++config (__GLIBCPP__): Bump version number.
1187 * ChangeLog: Start new log for year 2001
1188 * ChangeLog-2000: New file.
1190 * docs/html/configopts.html: Make sure default values are current,
1193 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
1195 * include/c_std/bits/std_cwchar.h: Same.
1196 * testsuite/17_intro/header_cwchar.cc: Same.
1197 * include/c_std/bits/std_ctime.h: Same.
1198 * testsuite/17_intro/header_ctime.cc: Same.
1199 * include/c_std/bits/std_cstdlib.h: Same.
1200 Clean up undefs, make consistent with cwchar and cmath, etc.
1201 * testsuite/17_intro/header_cstdlib.cc: Same.
1202 * include/c_std/bits/std_cstdio.h: Same here.
1203 * testsuite/17_intro/header_cstring.cc: Same.
1204 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
1205 * testsuite/17_intro/header_cstring.cc: New file. Check for
1206 size_t in namespace std.
1208 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
1209 * acconfig.h (HAVE_MBSTATE_T): Add.
1210 * config.h.in: Regenerate.
1211 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
1213 * aclocal.m4: Regenerate.
1214 * configure: Regenerate.
1215 * testsuite/17_intro/headers_c++.cc: New file.
1216 * testsuite/17_intro/headers_c.cc: Small changes.
1218 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
1220 * tests_flags.in: Fix typo in usage.
1222 * tests_flags.in: Set target specific LIBS for cygwin.