1 2000-09-15 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3 * src/locale.cc (locale::locale(const char* __name)): Consolidate
4 name setting. Add checks for NULL __name pointers. Remove calls to
5 _S_initialize() as initial locale initialization can either be
6 assumed, or needs to be made consistent throughout locale
8 (locale::locale(const locale& __other, const char* __name,
9 category __cat): Add checks for NULL name. Add checks for
11 * src/localename.cc (locale::_Impl:: _Impl(const _Impl& __other,
12 const string& __name, category __cat, size_t __refs)): Set correct
13 name, has_name values.
14 * testsuite/22_locale/ctor_copy_dtor.cc (test01): More tests.
15 * docs/22_locale/locale.html: New file, more unfinished docs...
17 2000-09-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
19 * src/locale.cc (locale::name()): Implement.
20 (_Impl(size_t __numfacets, size_t __refs, bool __namep = false,
21 string __name = "*")): Change signature.
22 (locale::classic): Initialize the "C" locale as a named locale.
23 * bits/localefwd.h (locale): Change _M_num_references to
24 _M_references. Eliminate _M_cached_name_ok. Rename _M_cached_name
26 * bits/localefwd.h: Tweaks.
27 * src/localename.cc: Tweaks.
28 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Add tests.
31 * bits/basic_string.h: Consistency check, change _M_state ->
34 2000-09-14 Brendan Kehoe <brendan@zen.org>
36 * bits/string.tcc (_Rep::_S_max_size): Use typename for its size_type
39 * src/Makefile.an (headers): Also install backward/fstream.h.
40 * src/Makefile.in: Regenerate.
42 * bits/char_traits.h (char_traits<_CharT>::get_state,
43 char_traits<char>::get_state, char_traits<wchar_t>::get_state): Pass
44 argument in by reference, not by value. Uglify to _S_get_state.
45 (char_traits<*>::__eos): Uglify to _S_eos.
46 * bits/std_ostream.h (ends(basic_ostream<_CharT, _Traits>& __os)):
47 Change __eos to _S_eos.
49 2000-09-13 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
51 * testsuite/22_locale/static_members.cc: New file.
52 * testsuite/22_locale/ctor_copy_dtor.cc: New file.
53 * src/locale.cc: Minor formatting tweaks.
55 2000-09-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
57 * testsuite/22_locale/global_templates.cc (test01): Add negative
60 * bits/localefwd.h (locale::operator()): Minor tweaks.
61 * bits/locale_facets.tcc (locale::operator()): Same.
62 * testsuite/22_locale/operators.cc: New file.
64 * testsuite/22_locale/facet.cc (output_iterator): Remove
65 gnu_input_iterator, gnu_output_iterator.
67 2000-09-11 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
69 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Remove test != "0".
70 * aclocal.m4: Regenerate.
71 * configure: Regenerate.
73 * bits/c++config (__GLIBCPP__): Update, in the hopes of making a
74 snapshot release soon.
75 (_GNU_SOURCE): Define this in the header files, as ISO C99 support
76 is pretty much assumed.
78 * testsuite/22_locale/global_templates.cc: New file. Add tests for
79 use_facet and has_facet.
81 * bits/codecvt.h (codecvt<_InT, _ExT, __enc_traits>::do_out):
82 Modify/correct iconv signatures for glibc2.2.
84 2000-09-10 Branko Cibej <branko.cibej@hermes.si>
86 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Replace "grep -q" with
89 2000-09-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
91 * bits/localefwd.h (locale::_Impl): Scope out types to public.
92 (locale): Make _Impl declaration public.
94 2000-09-08 Felix Natter <fnatter@gmx.net>
96 * docs/17_intro/porting-howto.html: New version.
98 2000-09-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
100 * config/cpu/i386/bits/atomicity.h (__exchange_and_add): Change unused
102 * config/cpu/ia64/bits/atomicity.h (__exchange_and_add): And here.
103 * config/cpu/i486/bits/atomicity.h (__exchange_and_add): And here.
105 2000-09-07 Phil Edwards <pme@sources.redhat.com>
107 Add bits for --enable-maintainer-mode:
108 - turns on enable_debug
109 (doing "--enable-maint --disable-debug" will DTRT)
110 - turns on -Werror, now off by default
111 * acinclude.m4: Add bits.
112 * aclocal.m4: Regenerate.
113 * configure.in: Add defaults for GLIBCPP_ENABLE_DEBUG.
114 * configure: Regenerate.
116 2000-09-07 Benjamin Kosnik <bkoz@cygnus.com>
118 * bits/std_cwctype.h: Remove yesterday's hacks.
120 2000-09-07 Brad Garcia <bgarcia@laurelnetworks.com>
122 * bits/stl_tree.h: Make operators !=, == type safe for map, set.
123 * testsuite/23_containers/set_operators.cc: New file. Should not
125 * testsuite/23_containers/map_operators.cc: New file. Ditto.
127 2000-09-06 Richard Henderson <rth@cygnus.com>
128 Benjamin Kosnik <bkoz@cygnus.com>
130 * acinclude.m4 (GLIBCPP_CHECK_CPU): Add ia64 support.
131 * aclocal.m4: Regenerate.
132 * configure: Regenerate.
133 * config/cpu/ia64: New directory.
134 * config/cpu/ia64/bits: New directory.
135 * config/cpu/ia64/bits/atomicity.h: New file.
137 2000-09-06 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
139 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Force glibc_satisfactory
140 to no, so that libstdc++-v3's libio will be built on glibc-2.2
142 * aclocal.m4: Regenerate.
143 * configure: Regenerate.
144 * */Makefile.in: Regenerate.
146 * bits/std_cwctype.h: Put in temporary hack to work around -O2 +
147 glibc 2.1.x unsigned errors. Or disable -Werror by default...
149 * testsuite/23_containers/vector_element_access.cc: New file.
150 * bits/stl_config.h (__STL_THROW_RANGE_ERRORS): Define.
152 2000-09-06 Levente Farkas <lfarkas@mindmaker.hu>
154 * bits/string.tcc: Fix up more parameter names.
156 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
158 * configure: Rebuilt with new libtool.m4.
160 2000-09-01 Benjamin Kosnik <bkoz@cygnus.com>
162 * src/locale-inst.cc: Remove pre-instantiation of unicode
163 codecvt types. Now unnecessary, as locale header now correct.
165 2000-08-31 Benjamin Kosnik <bkoz@cygnus.com>
167 * bits/locale_facets.tcc (_S_build_float_format): Move ...
168 * src/locale.cc: Here.
169 * bits/locale_facets.tcc (num_get::_M_extract): Clean up generic
170 definition. Move specialization to ...
171 * src/locale.cc: Here.
172 * bits/locale_facets.tcc: Move _Format_cache specializations to ...
173 * src/locale.cc: Here.
174 * bits/locale_facets.tcc: Move use_facet<ctype> specializations to ...
175 * src/locale.cc: Here.
177 * bits/std_locale.h: Note that locale_facets.tcc should be
178 included here, for standards conformance. It may increase
179 compile times though. For the time being, enable.
180 * testsuite/22_locale/facet.cc: New file, some parts commented out
183 * mkcheck.in: Append total time to test summary file.
185 * bits/sbuf_iter.h : Formatting tweaks.
187 Clean up static const data member definitions.
188 * src/locale.cc: Add definitions for all missing locale,
189 locale::_Imp, and locale::id static data members.
190 (ctype<char>): Add table_size define.
191 (money_base): Add _S_default_pattern, uglify.
192 * bits/localefwd.h: Add definitions for static members of _Count_ones.
193 * bits/locale_facets.h: Tweaks.
194 * bits/locale_facets.tcc: Tweaks.
195 * bits/string.tcc: Add definition for npos.
196 * bits/ios_base.h: Tweaks.
197 * bits/ios_base.h (ios_base::Init::_M_ios_base_init): Change to
199 * src/ios.cc: And here. Add _S_local_words definition.
200 Add definitions for __ios_flags const static data.
201 * src/codecvt.cc: Same for __enc_traits.
202 * src/locale-inst.cc: Remove money_base data member definition
205 2000-08-30 Benjamin Kosnik <bkoz@redhat.com>
207 * testsuite/22_locale/ctype_wchar_t_members.cc (test01): New file.
209 * docs/22_locale/codecvt.html: Re-number.
210 * docs/22_locale/howto.html: Add entry for ctype
211 documentation. Add entry for Nathan's introduction to locales
213 * docs/22_locale/ctype.html: New file. In progress...
215 * docs/22_locale/codecvt.html: Formatting cleanups.
216 * src/locale.cc (ctype<wchar_t>::do_is): Fix thinko.
218 2000-08-30 Phil Edwards <pme@sources.redhat.com>
220 * docs/22_locale/codecvt.html: Behind-the-scenes ASCII->HTML
221 tweaks for certain browsers.
223 2000-08-29 Benjamin Kosnik <bkoz@redhat.com>
225 * bits/locale_facets.h (ctype<char>): Remove __table_type.
226 Add include for bits/std_cwctype.h, for wctype_t.
227 * src/locale.cc (ctype<wchar_t>): Implement.
228 * config/gnu-linux/bits/ctype_base.h (ctype_base): Remove mask
229 typedef, instead name enum.
230 * config/gnu-linux/bits/ctype_specializations.h: Tweak.
231 * config/gnu-linux/ctype.cc: Tweak.
232 * testsuite/22_locale/ctype.cc: Tweak.
234 * bits/codecvt.h (__enc_traits): Uglify names.
236 2000-08-28 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
238 * docs/22_locale/codecvt.html: Add more bits, format.
239 * bits/codecvt.h: Add copy ctor, rename types.
240 * testsuite/22_locale/codecvt_unicode_char.cc: Tweak.
242 * libio/iofwide.c: Tweak.
244 2000-08-28 Phil Edwards <pme@sources.redhat.com>
246 * docs/configopts.html: Mention new options.
247 * docs/install.html: Formatting changes for platform-specific
248 pre-reqs, previously only Cygwin.
249 * docs/mail.html: Fix new link.
250 * docs/thanks.html: A couple more people.
251 * docs/26_numerics/howto.html: Fix typo.
253 2000-08-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
255 * docs/22_locale/howto.html: Add notes on codecvt implementation.
256 * docs/22_locale/codecvt.html: New file. In progress.
258 2000-08-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
260 * acconfig.h: Revert.
261 * acinclude.m4: Revert.
262 * libio/_G_config.h: Revert.
263 * libio/libio.h: Revert.
265 2000-08-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
267 * bits/codecvt.h: Tweaks.
268 * testsuite/22_locale/codecvt_unicode_wchar_t.cc (test01): Fix up
269 initial string literals for UCS4.
271 2000-08-23 Phil Edwards <pme@sourceware.cygnus.com>
273 * acconfig.h: _GLIBCPP_USING_THREADS and some workaround types added.
274 * acinclude.m4: New macro, GLIBCPP_ENABLE_WCHAR. Set the threads
275 definition as well, and some minor spelling/spacing fixes. If
276 building libio, check for certain typedefs.
277 * libio/_G_config.h: Wrap _IO_MTSAFE_IO in _GLIBCPP_USING_THREADS.
278 Conditionally define _LARGEFILE64_SOURCE, otherwise the 64-bit types
280 * libio/libio.h: In the null case, _IO_lock_t can't just be void.
281 * src/string-inst.cc: Use _GLIBCPP_USE_WCHAR_T.
283 * configure.in: Update the cache a bit more often.
285 * mkcheck.in: For check-install, also need to -I the testsuite dir.
287 2000-08-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
289 * src/locale-inst.cc: Add codecvt<unicode_t, wchar_t,
290 __enc_traits> instantiations for has_facet and use_facet.
291 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: New file, for
292 testing two-byte unicode encodings converted to four-byte UCS4
295 * bits/codecvt.h (codecvt<__enc_traits>): Fix do_unshift.
296 * testsuite/22_locale/codecvt_unicode_char.cc (test01): Add
297 correct state/encoding information.
299 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Add wcsrtombs,
300 mbsrtowcs checks as codecvt<wchar_t, char, mbstate_t> needs them
302 Add checks for langinfo.h, nl_langinfo function call.
303 * libio/iofwide.c (_IO_fwide): Simplify, as nl_langinfo is assumed.
305 2000-08-22 Richard B. Kreckel <Richard.Kreckel@Uni-Mainz.DE>
307 * config/cpu/alpha/bits/atomicity.h: Change __attribute__
308 ((unused)) to __attribute__ ((__unused__)).
309 * config/cpu/arm/bits/atomicity.h: Same.
310 * config/cpu/generic/bits/atomicity.h: Same.
311 * config/cpu/i386/bits/atomicity.h: Same.
312 * config/cpu/i486/bits/atomicity.h: Same.
313 * config/cpu/powerpc/bits/atomicity.h: Same.
314 * config/cpu/sparc/sparc32/bits/atomicity.h: Same.
315 * config/cpu/sparc/sparc64/bits/atomicity.h: Same.
317 2000-08-22 Levente Farkas <lfarkas@mindmaker.hu>
319 * bits/basic_string.h: Fix up parameter names.
321 2000-08-22 Brent Verner <brent@rcfile.org>
323 * src/Makefile.am (INCLUDES): Put $(CSHADOW_INCLUDES) before
325 * src/Makefile.in: Regenerate.
327 2000-08-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
329 * bits/codecvt.h: Implement codecvt<wchar_t, char, mbstate_t>. Fix
330 up __enc_traits template so as to be marginally useful.
331 * src/codecvt.cc: And here.
332 * bits/char_traits: Tweak.
333 * bits/locale_facets.h: Tweak.
334 * bits/locale_facets.tcc: Tweak.
335 * bits/localefwd.h: Tweak.
336 * src/locale-inst.cc: Add use_facet/has_facet instantiations here.
337 * testsuite/22_locale/codecvt_wchar_t_cc.cc: New file.
338 * testsuite/22_locale/codecvt_char_char.cc: New file.
339 * testsuite/22_locale/codecvt_unicode_char.cc: New file.
341 2000-08-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
343 * bits/std_cmath.h (std::abs): Overload for int and long.
345 2000-08-20 Benjamin Kosnik <bkoz@gnu.org>
347 * src/string-inst.cc: Tweak instantiations for new-gxx-abi.
349 2000-08-19 Gabriel Dos Reis <gdr@codesourcery.com>
351 * bits/valarray_array.h (__valarray_min, __valarray_max): Fix
352 thinko. Diagnostic messages really need to be improved for
353 template argument deduction.
355 2000-08-18 Benjamin Kosnik <bkoz@gnu.org>
357 * bits/valarray_meta.h: Fix typos...
359 2000-08-18 Gabriel Dos Reis <gdr@codesourcery.com>
361 * bits/valarray_meta.h (_Expr<>::shift, _Expr::cshift,
362 _Expr<>::apply): Implement.
364 2000-08-18 Gabriel Dos Reis <gdr@codesourcery.com>
366 * bits/valarray_meta.h (_Expr<>::min, _Expr<>::max): Implement.
368 * bits/valarray_array.h (__valarray_min, __valarray_max): New
371 2000-08-17 Mark Mitchell <mark@codesourcery.com>
373 * bits/localefwd.h (std::locale): Use explicit `class' specified
374 when declaring friends.
375 * bits/std_fstream.h (std::basic_filebuf): Likewise.
377 2000-08-16 Alexandre Oliva <aoliva@redhat.com>
379 * src/Makefile.am (libstdc++.INC): Renamed from INCLUDES.
380 * src/Makefile.in: Regenerate.
382 2000-08-15 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
384 * bits/codecvt.h: New file.
385 * src/codecvt.cc: New file.
386 * bits/std_locale.h: Add include here.
387 * src/Makefile.am (headers): Add codecvt.h
388 (sources): Add codecvt.cc.
389 * src/Makefile.in: Regenerate.
390 * bits/locale_facets.h (codecvt): Re-implement. Rename _Codecvt to
391 __codecvt_abstract_base in an attempt to point some light this way...
392 Move __enc_traits and codecvt bits to codecvt.h.
393 * src/locale-inst.cc: Remove codecvt<wchar_t, wchar_t, mbstate_t>
394 explicit instantiation. Separate out codecvt instantations, simplify.
395 * src/locale.cc: Move codecvt bits to codecvt.cc
397 2000-08-15 Alexandre Oliva <aoliva@redhat.com>
399 * src/Makefile.am (INCLUDES): New target file, with all -I flags.
400 * src/Makefile.in: Regenerate.
402 2000-08-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
415 * config/c_io_libio.cc (__basic_file): Add hacky casts to
416 ((struct _IO_FILE_plus *) in ctors.
417 (__basic_file<wchar_t>): Adjust _wide_data->_codecvt to just _codecvt.
418 * libio/Makefile.am: Fix copyright. Remove cleanup.c.
419 * libio/cleanup.c: Remove.
420 * libio/filedoalloc.c (_IO_file_doallocate): Don't call
421 _IO_cleanup_registration_needed, even if not libc.
423 * testsuite/27_io/stringstream.cc (test02): Fix.
425 2000-08-14 Brent Verner <brent@rcfile.org>
427 * testsuite/debug_assert.h: new file
428 * testsuite/*/*.cc: s/test\s*&=([^;]+);/VERIFY($1);/g
429 changed conditional #include <c?assert.?h?> to
430 unconditional #include <debug_assert.h>
431 * mkcheck.in: added $SRC_DIR/testsuite to include search path
432 for testsuite compile command.
434 2000-08-14 Levente Farkas <lfarkas@mindmaker.hu>
436 * bits/std_fstream.h: Remove duplicate typdefs for ofstream and
437 wofstream, filebuf, wfilebuf, fstream, wfstream.
438 * bits/std_streambuf.h: Same for streambuf, wstreambuf.
439 * bits/std_sstream.h: Same for stringstream and wstringstream.
440 Same for stringbuf, wstringbuf, istringstream, wistringstream,
441 ostringstream, wostringstream.
443 * testsuite/26_numerics/valarray.cc: Add test.
445 2000-08-14 Zack Weinberg <zack@wolery.cumb.org>
447 * configure: Regenerate after change to ../libtool.m4.
449 2000-08-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
451 * bits/locale_facets.tcc: Formatting tweaks.
452 * bits/locale_facets.h (__enc_traits): Start integrating this
453 into codecvt, ctype. Formatting tweaks.
455 2000-08-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
457 Preliminary wchar_t implementation, with trivial encodings.
458 * docs/configopts.html: Add bits about canonical configure option
461 * testsuite/27_io/iostream_objects.cc: Replace this file (which
462 has newly-declared-illegal mixing of wide/narrow stdstreams) with...
463 * testsuite/27_io/narrow_stream_objects.cc: New file.
464 * testsuite/27_io/wide_stream_objects.cc: New file.
466 * bits/fstream.tcc (underflow): Temporarily hack a solution
467 together that writes from the external file to the internal
468 buffers. This removes codecvt from the loop, and is incorrect.
469 (_M_really_overflow): Same here.
471 * testsuite/21_strings/inserters_extractors.cc (test05): Tweaks.
473 2000-08-08 Benjamin Kosnik <bkoz@cygnus.com>
474 Ulrich Drepper <drepper@cygnus.com>
476 * config/c_io_libio.h: Tweak.
477 * config/c_io_libio_codecvt.c: New file.
478 * libio/Makefile.am: Add c_codecvt.c.
479 * libio/Makefile.in: Regenerate.
480 * libio/genops.c (_IO_unbuffer_write): Don't call _IO_SETBUF if the
481 stream is not orientated.
483 * acinclude.m4: Add config/c_io_libio_codecvt.c dummy file, until
484 encoding gets fleshed out.
486 * bits/basic_file.h: Add specialization declarations.
487 * config/c_io_libio.cc: Add specializations for pbackfail, uflow.
489 * config/c_io_libio.h: Add __c_wfile_type.
490 * bits/basic_file.h: Add _M_wfile.
492 * config/c_io_libio.cc (__basic_file<char>): Initialize the
493 streams without setting the orientation of the underlying FILE to
494 either wide or narrow.
495 (__basic_file<wchar_t>)): Enable tricky wchar_t io bits.
497 2000-08-07 Felix Natter <fnatter@gmx.net>
499 * docs/17_intro/porting-howto.html: New version.
501 2000-08-03 Mark Mitchell <mark@codesourcery.com>
503 * bits/locale_facets.h (ctype::ctype): Don't name unused
506 2000-08-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
508 * docs/install.html: Edit bits about requiring a special version
511 2000-07-31 Benjamin Kosnik <bkoz@cygnus.com>
513 * libio/fileops.cc: Update to current glibc sources.
514 * libio/genops.c: Same.
515 * libio/iofwide.c: Same.
516 * libio/libio.h: Same.
517 * libio/libioP.h: Same.
518 * libio/wfiledoalloc.c: Same.
519 * libio/wgenops.c: Same.
521 2000-07-28 Alexandre Oliva <aoliva@redhat.com>
523 * acinclude.m4: Include ../libtool.m4.
524 * aclocal.m4, configure: Rebuilt.
526 2000-07-26 Phil Edwards <pme@sourceware.cygnus.com>
528 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Test for GNU ld
529 before trying to use any of its options.
530 (CHECK_MATH_DECL*,CHECK_BUILTIN_MATH_DECL*): Cache tests.
531 * aclocal.m4: Regenerate.
532 * configure.in: Having found GNU make, name it.
533 * configure: Regenerate.
534 * docs/install.html: Mention possible problems with caching.
535 * src/Makefile.am (CXXLINK): Use new OPT_LDFLAGS.
536 * src/Makefile.in: Regenerate.
537 * libio/Makefile.in: Regenerate.
538 * math/Makefile.in: Regenerate.
539 * Makefile.in: Regenerate.
541 2000-07-26 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
543 * src/misc-inst.cc (std): Remove instantiations.
545 * acinclude.m4: Add forward-looking bits for autoconf.
546 * aclocal.m4: Regenerate.
548 * bits/ostream.tcc (ostream::operator<<): Fix const char* case.
550 2000-07-25 Benjamin Kosnik <bkoz@gnu.org>
552 * configure.in: Change AM_PROG_LIBTOOL to AC_PROG_LIBTOOL. Change
553 it back for current versions of maintainer-tools...
554 * acinclude.m4: Some cleanups...
555 * aclocal: Regenerated.
556 * configure: Regenerated.
558 * src/Makefile.am (CXXLINK): Add -Wl,-01 to the link line for
559 optimizing/adapting the hash table using GNU ld.
560 * src/Makefile.in: Regenerate.
562 2000-07-24 H.J. Lu <hjl@gnu.org>
564 * src/Makefile.am (LIBIO_INCLUDES): Set to -I$(top_srcdir)/libio
565 even if GLIBCPP_NEED_LIBIO is false. The installed glibc header
566 files don't include private libio header files needed by
568 * src/Makefile.in: Rebuild.
570 2000-07-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
572 * bits/std_fstream.h: Parameterize __basic_file.
573 * config/c_io_libio.cc: Add wchar_t methods for parameterization.
574 * bits/basic_file.h: Same here.
576 * bits/istream.tcc (getline): Tweaks.
578 * bits/fstream.tcc: Shorten __retval to __ret.
579 * bits/ostream.tcc: Same.
580 * bits/sbuf_iter.h: Same.
581 * bits/sstream.tcc: Same.
582 * bits/streambuf.tcc: Same.
583 * bits/std_fstream.h: Same.
584 * src/string-inst.cc: Same.
586 * config/c_io_libio.cc: Same.
587 * bits/string.tcc: Same.
588 * bits/std_streambuf.h: Same.
590 2000-07-23 Brent Verner <brent@rcfile.org>
592 * bits/istream.tcc: istream::getline(char_type*, streamsize,
593 char_type) make compliant
594 * testsuite/27_io/istream_unformatted.cc: test for compliant behavior
596 2000-07-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
598 * acinclude.m4 (enable_cshadow_headers): Fix problems with blddir
599 and srcdir used to define CSHADOW_INCLUDES..
601 * configure.in: For consistency, change .sanity_warned to
604 * acinclude.m4: Tweak formatting.
605 * Makefile.am (check): Call mkcheck with full pathname for build
607 (check-install): And here.
608 * Makefile.in: Regenerate.
610 2000-07-22 Gabriel Dos Reis <gdr@codesourcery.com>
612 Line up with libstdc++-v2 version of valarray.
613 * bits/valarray_array.h (__valarray_product): Make inline.
614 * src/valarray-inst.cc (__valarray_product): Remove explicit
617 2000-07-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
619 * src/stl-inst.cc: Change __sink_unused_warning to unsigned int
622 * testsuite/26_numerics/complex_inserters_extractors.cc (testall):
623 Change return type to void.
624 * testsuite/25_algorithms/lower_bound.cc: Add return values.
625 * testsuite/17_intro/header_ciso646.cc: Modify.
626 * bits/locale_facets.h: Add return values for the generic cases.
628 2000-07-21 H.J. Lu (hjl@gnu.org)
630 * acinclude.m4: Include <features.h> for glibc testing.
631 * aclocal.m4: Likewise.
633 * configure: Rebuild.
635 2000-07-20 H.J. Lu (hjl@gnu.org)
637 * acinclude.m4: Change "#pragma system_header" to
638 "#pragma GCC system_header".
639 * aclocal.m4: Likewise.
640 * bits/std_cmath.h: Likewise.
641 * bits/std_cassert.h: Likewise.
642 * bits/std_cctype.h: Likewise.
643 * bits/std_cerrno.h: Likewise.
644 * bits/std_cfloat.h: Likewise.
645 * bits/std_climits.h: Likewise.
646 * bits/std_clocale.h: Likewise.
647 * bits/std_cwchar.h: Likewise.
648 * bits/std_csetjmp.h: Likewise.
649 * bits/std_csignal.h: Likewise.
650 * bits/std_cstdarg.h: Likewise.
651 * bits/std_cstddef.h: Likewise.
652 * bits/std_cstdio.h: Likewise.
653 * bits/std_cstdlib.h: Likewise.
654 * bits/std_cstring.h: Likewise.
655 * bits/std_ctime.h: Likewise.
656 * bits/std_cwctype.h: Likewise.
657 * bits/std_exception.h: Likewise.
658 * bits/std_new.h: Likewise.
659 * bits/std_typeinfo.h: Likewise.
660 * shadow/bits/std_cassert.h: Likewise.
661 * shadow/bits/std_cctype.h: Likewise.
662 * shadow/bits/std_cerrno.h: Likewise.
663 * shadow/bits/std_cfloat.h: Likewise.
664 * shadow/bits/std_climits.h: Likewise.
665 * shadow/bits/std_clocale.h: Likewise.
666 * shadow/bits/std_cmath.h: Likewise.
667 * shadow/bits/std_csetjmp.h: Likewise.
668 * shadow/bits/std_csignal.h: Likewise.
669 * shadow/bits/std_cstdarg.h: Likewise.
670 * shadow/bits/std_cstddef.h: Likewise.
671 * shadow/bits/std_cstdio.h: Likewise.
672 * shadow/bits/std_cstdlib.h: Likewise.
673 * shadow/bits/std_cstring.h: Likewise.
674 * shadow/bits/std_ctime.h: Likewise.
675 * shadow/bits/std_cwchar.h: Likewise.
676 * shadow/bits/std_cwctype.h: Likewise.
677 * shadow/bits/wrap_libio.h: Likewise.
678 * shadow/bits/wrap_unistd.h: Likewise.
679 * shadow/sys/cdefs.h: Likewise.
681 * configure: Rebuild.
683 2000-07-20 Jakub Jelinek <jakub@redhat.com>
685 * config/cpu/sparc/sparc64/bits/atomicity.h (__exchange_and_add):
686 Use extended word instructions to match 64bit _Atomic_word.
687 (__atomic_add): Likewise.
688 * math/clog10l.c (clog10l): Use M_PIl if defined.
689 * math/c_logl.c (c_logl): Likewise.
690 * math/signbitl.c (__signbitl): Adapt for IEEE quad long doubles.
691 * math/mathconf.h (ieee_quad_double_shape_type): New type.
692 (GET_LDOUBLE_MSW64): New define.
694 2000-07-20 Benjamin Kosnik <bkoz@cygnus.com>
696 * bits/std_streambuf.h: Add bits for pback buffers here, so that
697 in_avail, etc can use them.
698 * bits/std_fstream.h: Ditto.
699 * bits/fstream.tcc: Ditto.
700 * testsuite/27_io/filebuf.cc: Tweaks.
701 * testsuite/27_io/filebuf-3.tst: Correct for pbackfail bits.
703 2000-07-19 Benjamin Kosnik <bkoz@cygnus.com>
705 * src/localename.cc: Same.
706 * src/locale.cc: Same.
707 * bits/localefwd.h: _M_init_facet to _M_facet_init.
709 * bits/locale_facets.h: _M_init_boolnames to _M_boolnames_init.
711 * bits/std_sstream.h: Change _M_init_stringbuf to _M_stringbuf_init.
713 * bits/fstream.tcc: Change _M_init_filebuf to _M_filebuf_init.
714 * bits/std_fstream.h: Same.
716 * bits/basic_string.h: Tweaks.
718 2000-07-19 Phil Edwards <pme@sourceware.cygnus.com>
720 * docs/18_support/howto.html: Update.
722 2000-07-19 Benjamin Kosnik <bkoz@milou.soma.redhat.com>
724 Internal consistency checks.....
725 * bits/ios_base.h: Change _M_locale_ios to _M_ios_locale.
728 * bits/basic_ios.h: Change _M_fctype_ios to _M_ios_fctype.
729 * bits/basic_ios.tcc: Same.
731 * bits/std_streambuf.h: Change _M_locale_buf to _M_buf_locale.
732 Change _M_fctype_buf to _M_buf_fctype.
733 * bits/fstream.tcc: Same.
735 * bits/std_streambuf.h: Change _M_buf_bump to _M_out_cur_move.
736 Change _M_locale_set to _M_buf_locale_init.
737 * bits/streambuf.tcc: Same.
738 * bits/sstream.tcc: Same.
739 * bits/fstream.tcc: Same.
741 * bits/std_streambuf.h: Make typedefs consistent.
742 (_M_buf_bump): Be more careful with input sequence.
744 * bits/std_sstream.h: Same.
745 * bits/std_fstream.h: Same.
747 2000-07-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
749 * acinclude.m4: Tweaks.
750 * config/c_io_libio.cc: Tweaks.
751 * bits/sstream.tcc (stringbuf::pbackfail): Simplify.
752 * libio/_G_config.h: Don't define _G_HAVE_ST_BLKSIZE.
753 * libio/[iofwide.c, wfiledoalloc.c, wfiteopos.c, wgenops.c]: New files.
754 * libio/iofclose.c iofopen.c, stdio.c: New files.
755 * libio/Makefile.am: Add files, add flags, etc.
756 * src/Makefile.am (sources): Add filebuf.cc.
757 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT):
758 (GLIBCPP_ENABLE_CSTDIO): Versioning testing, etc etc.
760 2000-07-17 Phil Edwards <pme@sourceware.cygnus.com>
762 * acinclude.m4: Import CHECK_GNU_MAKE from autoconf macro archive.
763 * configure.in: Use it. Also print reminders one time.
764 * aclocal.m4: Regenerate.
765 * configure: Regenerate.
767 2000-07-15 Gabriel Dos Reis <gdr@codesourcery.com>
769 * bits/valarray_array.h (__valarray_get_storage): New function.
770 (_Array<>::Array): Use it.
771 * bits/std_valarray.h (valarray<>::valarray): Likewise.
772 (valarray<>::resize): Likewise. Tweak.
773 * src/valarray-inst.cc (__valarray_product): Tweak.
775 2000-07-11 Phil Edwards <pme@sourceware.cygnus.com>
777 * docs: Update sourceware->sources in every HTML file. Minor updates.
779 2000-07-07 Benjamin Kosnik <bkoz@soma.redhat.com>
781 Clean up configure/build longstanding issues.
782 * src/Makefile.am (AC_CXXFLAGS): Don't set @SECTION_LDFLAGS@ here.
783 (CXXLINK): Add here, instead.
785 * Makefile.am (check-install): Make sure mkcheck has execute privs.
787 * configure.in (AC_OUTPUT_COMMANDS): Remove hacks here.
789 * configure.in (AC_OUTPUT_COMMANDS): Link c_io_libio.h and
790 c_io_libio.cc instead of copying.
791 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Do link here.
793 * configure.in (AC_OUTPUT_COMMANDS): Link $THREADS.h and
794 c++threads.h instead of copying.
795 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Do link here.
798 * config/c_io_libio.cc (__basic_file::_M_open_mode): Consolidate.
799 * bits/basic_file.h: Declare.
801 * mkcheck.in (TESTS_FILE): Use -v instead of --version.
803 2000-07-07 brent verner <brent@rcfile.org>
805 * testsuite/27_io/istream_unformatted.cc (test05): New test.
807 2000-07-07 Benjamin Kosnik <bkoz@gnu.org>
809 * bits/istream.tcc (istream::getline): Minor tweaks.
811 2000-07-07 Phil Edwards <pme@sourceware.cygnus.com>
813 * docs/download.html: Mention gcc_update.
814 * docs/configopts.html: Minor updates.
815 * docs/gccrebuild.html: Ditto.
816 * docs/18_support/howto.html: More tips, explanations, and reminders.
817 * docs/19_diagnostics/howto.html: Ditto.
818 * docs/21_strings/howto.html: Ditto.
819 * docs/24_iterators/howto.html: Ditto.
820 * docs/25_algorithms/howto.html: Ditto.
821 * docs/26_numerics/howto.html: Ditto.
823 2000-07-05 brent verner <brent@rcfile.org>
825 * testsuite/27_io/ifstream_members.cc (test01): Add tests.
826 * testsuite/27_io/ofstream_members.cc (test01): Add tests.
827 * config/c_io_libio.cc (__basic_file::open): Unset
828 ~_IO_DELETE_DONT_CLOSE.
830 2000-07-05 Zack Weinberg <zack@wolery.cumb.org>
832 * bits/gslice_array.h, bits/indirect_array.h, bits/mask_array.h,
833 bits/slice_array.h, bits/std_valarray.h, bits/valarray_meta.h:
834 Do not paste anything after 'operator' keyword.
836 2000-07-03 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
838 * bits/std_memory.h: Revert.
840 2000-07-03 Brendan Kehoe <brendan@zen.org>
842 * bits/std_complex.h: Fix parens. Format.
844 2000-07-03 scott snyder <snyder@fnal.gov>
846 * bits/locale_facets.tcc (_M_extract): Only figure out the base
847 from the input if base == 0.
848 * testsuite/27_io/istream_extractor_arith.cc: Test reading a
849 number with a leading `0' in hex mode.
851 * shadow/bits/std_cmath.h: Fix typo in _GLIBCPP_HAVE_CEILL test.
853 * mkinclosure: Change `==' to `=' in test.
855 2000-07-03 Chip Salzenberg <chip@valinux.com>
857 * src/Makefile.am (libio_headers): _G_config.h is found in srcdir,
859 * src/Makefile.in: Regenerate.
861 2000-07-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
862 Ulrich Drepper <drepper@purist.soma.redhat.com>
864 Sync libio to glibc-2.2 current CVS.
865 * libio/_G_config.h: New file.
866 * libio/wfileops.c: New file.
867 * libio/wfiledoalloc.c: New file.
868 * libio/wgenops.c: New file.
869 * libio/iofwide.c: New file.
870 * libio/Makefile.am: Tweaks.
871 * libio/Makefile.in: Regenerate.
872 * libio/gen-params: Remove. Generic replacement for this yet undone.
873 * libio/[filedoalloc.c, fileops.c, genops.c, iolibio.h, libio.h,
874 libioP.h, stdfiles.c]: Update.
875 * config/c_io_libio.cc: Tweaks.
876 * acinclude.m4: Complete hacks to test wide io.
877 * aclocal.m4: Regenerate.
878 * configure: Regenerate.
879 * src/Makefile.am: Update.
880 * src/Makefile.in: Regenerate.
882 * math/cargl.c: Remove underscores.
884 * bits/locale_facets.h: Tweaks. Start adding iconv details
886 * bits/locale_facets.tcc: Tweaks.
887 * bits/std_cwchar.h: Tweaks.
889 2000-06-29 scott snyder <snyder@fnal.gov>
891 * bits/concept_checks.h
892 (__less_then_comparable_requirement_violation): Only check for <.
893 * testsuite/25_algorithms/lower_bound.cc: New file.
895 2000-06-29 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
897 * testsuite/27_io/ostream_manip.cc (test02): Add tests.
898 * bits/ostream.tcc: Tweak.
899 * bits/std_fstream.h (basic_filebuf::setbuf): Reset
901 * bits/std_streambuf.h (basic_streambuf::~basic_streambuf): Zero
903 * bits/std_sstream.h (basic_stringbuf::_M_init_stringbuf): Set
904 _M_buf_size_opt out here.
905 * bits/char_traits.h (char_traits::eos): Non standard member
906 function, uglify to __eos. Return char_type().
907 * bits/std_ostream.h: Change.
909 * testsuite/27_io/ostream_seeks.cc: New file.
910 * testsuite/27_io/ostream_seeks-1.tst: New file.
911 * testsuite/27_io/istream_unformatted.cc (main): Move test04 and
913 * testsuite/27_io/istream_seeks.cc: New file.
915 2000-06-29 Branko Cibej <branko.cibej@hermes.si>
917 * bits/std_memory.h (auto_ptr_ref): Reworked and defined only if
918 _GLIBCPP_RESOLVE_LIB_DEFECTS.
919 (auto_ptr): _M_ptr changed to void*.
920 (suto_ptr::get): Cast _M_ptr to element type.
921 (auto_ptr::auto_ptr(auto_ptr<Tp1>)): Test implicit convetsion.
922 (auto_ptr::~auto_ptr): Use this->get() instead of _M_ptr.
923 (auto_ptr::operator*): Likewise.
924 (auto_ptr::operator->): Likewise.
925 (auto_ptr::release): Likewise.
926 (auto_ptr::reset): Likewise.
927 (auto_ptr::auto_ptr(auto_ptr_ref)): Initialize from __ref._M_release.
928 (auto_ptr::operator auto_ptr_rev<_Tp1>): Updated.
929 Define nested auto_ptr_ref unless _GLIBCPP_RESOLVE_LIB_DEFECTS.
930 Define operator=(auto_ptr_ref) if _GLIBCPP_RESOLVE_LIB_DEFECTS.
932 2000-06-28 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
934 * testsuite/27_io/filebuf.cc: Tweak.
935 * testsuite/27_io/filebuf_members.cc (test_01): Fix.
936 * config/c_io_libio.cc (__basic_file::~__basic_file): Match libio
938 (__basic_file::basic_file): Clean, add calls similar to
940 (__basic_file::open): Clean.
941 (__basic_file::sys_open): Clean.
943 * bits/std_fstream.h: Revert.
944 * bits/fstream.tcc (filebuf::close()): Revert.
945 (filebuf::basic_filebuf()): Revert.
947 2000-06-27 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
949 Update to SGI STL 3.3
950 * ext/hash_map, ext/hash_set, ext/slist, ext/stl_bvector.h,
951 ext/stl_rope.h, ext/ropeimpl.h: Update.
952 * bits/std_bitset.h, bits/std_map, bits/std_memory.h,
953 bits/stl_algo.h, bits/stl_algobase.h, bits/stl_alloc.h,
954 bits/stl_config.h, bits/stl_construct.h, bits/stl_deque.h,
955 bits/stl_function.h, bits/stl_heap.h, bits/stl_iterator.h,
956 bits/stl_iterator_base.h, bits/stl_list.h, bits/stl_map.h,
957 bits/stl_multimap.h, bits/stl_multiset.h, bits/stl_numeric.h,
958 bits/stl_queue.h, bits/stl_set.h, bits/stl_stack.h,
959 bits/stl_string_fwd.h, bits/stl_threads.h, bits/stl_three.h,
960 bits/stl_uninitialized.h, bits/stl_vectory.h: Update.
962 * src/Makefile.am (headers): Add new files.
963 * src/Makefile.in: Regenerate.
964 * src/stl-inst.cc (std): Add instantiation for __sink_unused_warning.
965 * bits/concept_checks.h: New file.
966 * bits/container_concepts.h: New file.
967 * bits/sequence_concepts.h: New file.
969 2000-06-27 H.J. Lu <hjl@gnu.org>
970 Loren J. Rittle <ljrittle@acm.org>
972 * mkcheck.in: Add support to print standard flags needed to
973 test g++ in build tree. Enhance command line error checking.
975 2000-06-27 Phil Edwards <pme@sourceware.cygnus.com>
977 * docs/install.html: Fix minor typo as reported.
979 2000-06-26 Brent Verner <brent@rcfile.org>
981 * bits/string.tcc (string::rfind): Fix.
982 * testsuite/21_strings/rfind.cc: New file.
984 2000-06-26 Anthony Williams <anthony@anthonyw.cjb.net>
986 * testsuite/21_strings/ctor_copy_dtor.cc: Fixed logic error.
988 2000-06-26 Branko Cibej <branko.cibej@hermes.si>
990 * testsuite/27_io/filebuf_members.cc (test_01): Fixed typos.
992 * mkcheck.in: Make the *.txt and *.tst files writable after
993 copying them to $TEST_DIR.
995 * testsuite/27_io/ostream_inserter_arith.cc: Renamed
996 __TEST_NUMPUT_VERBOSE to TEST_NUMPUT_VERBOSE. Define
997 TEST_NUMPUT_VERBOSE only if DEBUG_ASSERT.
999 2000-06-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1001 * bits/fstream.tcc (basic_filebuf::basic_filebuf(fd)): Use it.
1002 (basic_filebuf::close): Use it.
1003 * bits/std_fstream.h (basic_filebuf): Remove default arguments for
1005 (basic_filebuf): Add _M_fileno_based data member.
1006 As reported by brent verner <brent@rcfile.org>
1007 * testsuite/27_io/filebuf_members.cc: New file.
1008 * testsuite/27_io/filebuf_members-1.tst: New file.
1010 * bits/std_fstream.h: Formatting tweaks.
1011 * testsuite/27_io/ofstream_members.cc: New file.
1012 * testsuite/27_io/ofstream_members-1.tst: New file.
1013 * testsuite/27_io/ifstream_members.cc: New file.
1014 * testsuite/27_io/ifstream_members-1.tst: New file.
1016 2000-06-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1017 Ulrich Drepper <drepper@cygnus.com>
1019 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Add -D_GNU_SOURCE, so
1020 that all the freaky stuff like sincos will be around...
1022 2000-06-22 Branko Cibej <branko.cibej@hermes.si>
1024 * Makefile.am (AM_MAKEFLAGS): Added WERROR to list of flags.
1026 2000-06-22 Steven King <sxking@uswest.net>
1028 * acinclude.m4: Check for sinl, _sinl using 1 parameter.
1030 2000-06-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1032 * acinclude.m4 (GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT): Redo. Use the
1033 same approach as GLIBCPP_CHECK_MATH_SUPPORT, only don't try to
1034 link against libm and don't use -fno-builtins...
1035 * math/mathconf.h: Change up builtin macros to new schema.
1036 * bits/std_cmath.h: And here. Wheee!
1037 * shadow/bits/std_cmath.h: And here.
1038 * acconfig.h: Change up builtin macros here.
1039 * math/cosf.c: Remove.
1040 * math/fabsf.c: Likewise.
1041 * math/sinf.c: Likewise.
1042 * math/sqrtf.c: Likewise.
1043 * math/Makefile.am (EXTRA_DIST): Remove those four files.
1044 * math/Makefile.in: Regenerate.
1046 2000-06-22 Anthony Williams <anthony@anthonyw.cjb.net>
1048 * testsuite/21_strings/find.cc: Patch.
1050 2000-06-22 Benjamin Kosnik <bkoz@soma.redhat.com>
1052 * acinclude.m4 (GLIBCPP_CHEC_LINKER_FEATURES): Use gcc + -x c++ as
1053 an easy way to get at g++ without having to link in libstdc++.
1055 2000-06-21 Benjamin Kosnik <bkoz@soma.redhat.com>
1057 Fix alpha, powerpc build failures.
1058 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Substantially
1059 re-write. Need to check for both proper declaration when using a
1060 c++ compiler, and "C" linkage when linking. Do both, and if both
1061 exist, then define the HAVE_* bits in config.h.
1062 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE): New, uber-macro. Does all.
1063 (GLIBCPP_CHECK_LINKER_FEATURES): Actually link and run this
1066 2000-06-20 Anthony Williams <anthony@anthonyw.cjb.net>
1068 * bits/string.tcc: Fix find.
1069 * testsuite/21_strings/find.cc: Patch.
1071 2000-06-20 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1073 * docs/install.html: Update where to get automake, where to get
1075 * acinclude.m4: Need -fno-builtins too, so gcc doesn't recognize
1078 2000-06-19 Benjamin Kosnik <bkoz@soma.redhat.com>
1080 * acinclude.m4 ((GLIBCPP_CHECK_MATH_SUPPORT): Revert last change.
1081 Add -Werror-implicit-function-declaration instead.
1083 Regenerate with fixed maintainer-tools.
1084 * aclocal.m4: Regenerate.
1085 * configure: Regenerate.
1086 * libio/Makefile.in: Regenerate.
1087 * src/Makefile.in: Regenerate.
1089 2000-06-19 Russell Davidson <russell@ehess.cnrs-mrs.fr>
1091 * testsuite/27_io/istream_extractor_arith.cc: Patch.
1092 * bits/locale_factets.tcc: Tweak.
1094 2000-06-19 Raja R Harinath <harinath@cs.umn.edu>
1096 * src/Makefile.am: change @WERROR@ to $(WERROR) so that this can
1097 be overridden on the command line for individual files.
1099 2000-06-19 Benjamin Kosnik <bkoz@soma.redhat.com>
1101 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Can't use
1102 AC_LANG_CPLUSPLUS as this tries to link in libstdc++, which we are
1103 building. Use -x c++ instead, which does not attempt to link
1106 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Actually check for
1107 not coring when we hit a try/throw block, which was the problem
1108 with the linker support...
1110 * docs/17_intro/contribute.html: Add bits about getting to the LWG
1112 * docs/documentation.html: Rename link to make more accurate and scary.
1113 * docs/gccrebuild.html: Edit for clarity as these are no longer
1115 * docs/install.html: Add bits about binutils for
1116 -ffunction-sections, -fdata-sections, -Wl,--gc-sections
1118 * configure.in: Add call for GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT.
1119 * math/Makefile.am (EXTRA_DIST): Change USE_LONG_DOUBLE to
1120 USE_COMPLEX_LONG_DOUBLE.
1121 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Break into
1122 GLIBCPP_CHECK_MATH_SUPPORT and GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT.
1123 Works around irregularies in powerpc "C" compiler, but a good idea
1126 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT):
1127 New. Merge both old compiler bug checks for complex into this.
1129 2000-06-19 Anthony Williams <anthony@anthonyw.cjb.net>
1131 * testsuite/21_strings/find.cc: Empty strings can be found at all
1132 positions. Modified.
1134 2000-06-19 Branko Cibej <branko.cibej@hermes.si>
1136 * testsuite/20_utilities: New directory.
1137 * testsuite/20_utilities/auto_ptr.cc: New file.
1139 2000-06-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1141 * src/Makefile.am (string_sources): Simplify, assuming that with
1142 -ffunction-sections, -fdata-sections, -Wl,--gc-sections, all this
1143 hacking is not necessary.
1144 (wstring_sources): Same.
1145 (OPTIMIZE_CXXFLAGS): Enable -fdata-sections -ffunction-sections
1147 * src/string-inst.cc: Remove macro blocks.
1148 * mkcheck.in (CXX_FLAG): Add bits here.
1150 * src/string-inst.cc: Remove iostream-related string instantiations.
1151 * src/misc-inst.cc: Add here.
1153 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change FMTFLAGS
1155 * aclocal.m4: Regenerate.
1156 * configure.in: Change up.
1157 * configure: Regenerate.
1159 2000-06-13 Steven King <sxking@uswest.net>
1161 * acinclude.m4: Fixup some of the builtin math tests and add tests for
1162 __builtin_fmod* and test libm for fmodf, fmodl or _fmodf, _fmodl.
1163 * acconfig.h: Add entries for fmod*.
1165 2000-06-13 Branko Cibej <branko.cibej@hermes.si>
1167 * bits/std_cmath.h: Fix typos in tests (*_FMODFF -> *_FMODF).
1168 Test *_MODFF not *_MODF for modf(float, float*).
1169 (modf(float, float*)): Remove reference to _C_legacy.
1171 2000-06-13 Benjamin Kosnik <bkoz@redhat.com>
1173 * acinclude.m4 (enable_cshadow_headers): Change CSHADOWFLAGS to
1174 _GNU_SOURCE instead of _ISOC9X_SOURCE, as _GNU_SOURCE is the
1175 superset, and already defined at top level.
1176 * aclocal.m4: Regenerate.
1177 * configure: Regenerate.
1179 * docs/17_intro/contribute.html: Plead with people to use -cp.
1181 2000-06-13 Anthony Williams <anthony@anthonyw.cjb.net>
1183 * testsuite/23_containers/bitset_ctor.cc: Qualify reverse wth std::.
1185 * testsuite/27_io/filebuf.cc: Changed calls to
1186 fpos<>._M_position() to implicit calls to operator streamoff().
1187 * testsuite/27_io/iostream_objects.cc: Removed #include <ciso646>,
1188 as not needed. Revert, as part of standard.
1189 * testsuite/27_io/ostream_inserter_arith.cc: Replaced explicit
1190 call to numpunct<>._M_init() with overrides of the appropriate
1193 * testsuite/27_io/stringstream.cc: Removed unnecessary char *
1194 pointers from test01, so no need to call base(), which isn't
1195 guaranteed to be implemented as iterators may themselves be pointers
1196 * testsuite/27_io/stringbuf.cc: Removed unnecessary calls to
1197 _M_position() - use implicit conversion to streamoff instead
1199 2000-06-13 Thomas Holenstein <thomas@hex.ch>
1201 * bits/stl_iterator.h: Added inline to operators == to >=.
1203 2000-06-13 Brent Verner <brent@rcfile.org>
1205 * bits/streambuf.tcc: repaired _S_copy_streambufs()
1206 * testsuite/27_io/ostream_inserter_other.cc (test03): Added testcase.
1208 2000-06-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1210 * bits/locale_facets.h (ctype<wchar_t>): Remove unnecessary data
1212 * src/locale.cc: Add cwchar include here. Remove incorrect
1213 definitions, and stub them out.
1214 * config/generic/ctype.cc (ctype): Remove ctype<wchar_t> bits.
1215 * config/solaris/solaris2.7/ctype.cc (ctype): Same.
1216 * config/solaris/solaris2.5/ctype.cc (ctype): Same.
1217 * config/newlib/ctype.cc: Same.
1218 * config/gnu-linux/ctype.cc: Same.
1219 * config/bsd/ctype.cc: Same.
1220 * config/aix/ctype.cc: Same.
1222 2000-06-12 Branko Cibej <branko.cibej@hermes.si>
1224 * config/solaris/solaris2.6/ctype.cc (do_toupper, do_tolower): Use
1225 towupper and towlower to convert wide characters.
1227 2000-06-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1229 * mkcheck.in: Clean up confusion regarding NAME, PRE_NAME.
1231 2000-06-08 Branko Cibej <branko.cibej@hermes.si>
1233 * acinclude.m4 (GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT): Check for
1234 sinf, cosf, fabsf, and sqrtf; add to LIBMATHOBJS if missing.
1235 * aclocal.m4: Regenerate.
1236 * configure: Regenerate.
1237 * math/cosf.c: New file.
1238 * math/fabsf.c: Likewise.
1239 * math/sinf.c: Likewise.
1240 * math/sqrtf.c: Likewise.
1241 * math/Makefile.am (EXTRA_DIST): Add those four files.
1242 * math/Makefile.in: Regenerate.
1244 2000-06-08 Phil Edwards <pme@sourceware.cygnus.com>
1246 * testsuite/26_numerics/complex_inserters_extractors.cc: Need cmath.
1248 2000-06-06 Steven King <sxking@uswest.net>
1250 * acconfig.h: Added defines for HAVE_BUILTIN math functs for float,
1251 double and long double. Added defines for HAVE libm math functs for
1252 float and long double.
1253 * aclocal.m4: Added configure checks for builtin math funcs and libm
1254 support for float and long double versions of the math functions.
1255 * config.h.in: Added undefs for math functs.
1256 * configure: Regenerate.
1257 * math/mathconf: Changed the _GLIBCPP_HAS_BUILTIN_* to
1258 _GLIBCPP_HAVE_BUILTIN_*.
1259 * bits/std_cmath.h: Added long double support. Use builtins for
1260 float, double and long if available, otherwise, use libm versions if
1261 availible, otherwise, punt.
1262 * shadow/bits/std_cmath.h: ditto
1264 2000-06-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1266 * bits/locale_facets.h: Tweak.
1267 * src/locale.cc (codecvt<wchar_t>): Tweak.
1269 * bits/locale_facets.h (_Format_cache): _S_ecks -> _S_x.
1270 * bits/locale_facets.tcc (num_get<char>::_M_extract): Fix for hex.
1272 * bits/basic_string.h: Move data member up.
1273 * src/string-inst.cc: Fix instantiations.
1274 * bits/string.tcc: Fix types.
1276 2000-06-02 Anthony Williams <anthony@anthonyw.cjb.net>
1278 * testsuite/21_strings/replace.cc (test01): Qualify find with std::.
1280 2000-06-01 Benjamin Kosnik <bkoz@gnu.org>
1282 * bits/std_cwctype.h: Clean.
1283 * bits/std_cwchar.h: Clean, remove cruft.
1285 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Re-work, add bits
1286 for beginning iconv support.
1287 Remove _GLIBCPP_HAS_WCHAR_MIN_MAX, roll into _GLIBCPP_USE_WCHAR_T
1289 * acconfig.h: Remove _GLIBCPP_HAS_WCHAR_MIN_MAX.
1290 * bits/limits_generic.h: Remove.
1291 * src/gen-num-limits.cc: Same.
1293 * src/locale.cc: Tweaks.
1295 * bits/char_traits.h: Tweaks.
1297 2000-05-31 Russell Davidson <russell@ehess.cnrs-mrs.fr>
1299 * bits/locale_facets.tcc (num_get<char>::_M_extract): Fix signage,
1300 exponent, scientific formatting issues.
1301 * testsuite/27_io/istream_extractor_arith.cc (test09): Add tests.
1303 2000-05-31 Branko Cibej <branko.cibej@hermes.si>
1305 * bits/limits_generic.h (numeric_limits<wchar_t>): Use WCHAR_MIN
1306 and WCHAR_MAX instead of WCHART_MIN and WCHART_MAX.
1308 2000-05-31 Nathan Myers <ncm@cantrip.org>
1310 * docs/thanks.html: edit own credits
1312 2000-05-31 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1314 * bits/generic_shadow.h: Remaining _C_Shadow -> _C_shadow fix.
1316 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Add strtoull checks...
1318 * mkcheck.in (SH_FLAG): Add in -Wl,--rpath -Wl,$LIB_PATH. Tweaks.
1320 2000-05-31 Steven King <sxking@uswest.net>
1322 * shadow/time.h: fix typo
1323 * shadow/wchar.h: ifdef __USE_GNU for wcsdup
1324 * shadow/bits/std_cwchar.h: ditto
1325 * shadow/bits/std_cstdlib.h: add overloads of abs and div for long
1328 2000-05-26 Phil Edwards <pme@sourceware.cygnus.com>
1330 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): If strtoll isn't
1331 available, force --disable. Need to flesh this out; make smarter.
1332 * aclocal.m4: Regenerate.
1333 * configure: Regenerate.
1335 * mkcheck.in: Minor tweaks.
1336 * docs/download.html: Fix typo.
1338 2000-05-25 Benjamin Kosnik <bkoz@milou.soma.redhat.com>
1340 * inclosure: Change to...
1341 * mkinclosure: This.
1343 * mkcshadow: Fix paths to bash.
1345 * src/Makefile.am: Tweaks. Do cshadow header trickery at build time.
1346 * src/Makefile.in: Regnerate.
1347 * acinclude.m4 (GLIBCPP_COMPILER_VERSION): Fix typo.
1348 (GLIBCPP_ENABLE_SHADOW): Do a less gross hack.
1349 * aclocal.m4: Regenerate.
1350 * mkcheck.in (INC_PATH): Tweak.
1352 * configure.in: Enable long long by default.
1353 * configure: Regenerate.
1355 * mkcheck.in (LIB_PATH): Revert.
1357 2000-05-24 Nathan "I don't write ChangeLog Entries" Myers <ncm@cantrip.org>
1359 * config/cpu/i486: New directory.
1360 * config/cpu/i486/bits: New directory.
1361 * config/cpu/i486/bits/atomicity.h: New file.
1362 * config/cpu/i386/bits/atomicity.h (__compare_and_swap): Delete
1364 * acinclude.m4 (GLIBCPP_CHECK_CPU): Enable i386.
1366 2000-05-24 Loren J. Rittle <ljrittle@acm.org>
1368 * backward/alloc.h (__default_alloc_template): Only expose
1369 implementation-specific symbol, if it exists in the
1371 * backward/iostream.h (ends): Expose symbol.
1372 * backward/strstream.h: New file.
1373 * backward/stream.h: New file.
1374 * backward/ostream.h: New file.
1375 * backward/istream.h: New file.
1376 * backward/fstream.h: New file.
1377 * backward/complex.h: New file.
1378 * backward/iomanip.h: New file.
1380 * mkcheck.in (LIB_PATH): Add -R bits.
1382 * math/carg.c (carg): Replace __atan2 with atan2.
1384 2000-05-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1386 * Makefile.am (TAGS): Construct.
1387 * Makefile.in: Rengerate.
1388 * src/Makefile.am: Tweak.
1389 * src/Makefile.in: Tweak.
1390 * configure.in: Tweak.
1392 * bits/c++config.h: Rename to ...
1393 * bits/c++config: This.
1394 * mkc++config: Adjust.
1397 * m4/lc_message.m4: Merge into acinclude.m4.
1398 * m4/mathfcts.m4: Same.
1399 * m4/stringfcts.m4: Same.
1400 * acinclude.m4: Add here.
1401 * configure: Regnerate.
1403 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Remove
1404 OPTLEVEL. Add FMTFLAGS.
1405 * aclocal.m4: Regenerate.
1406 * src/Makefile.am (AC_CXXFLAGS): Take out OPTLEVEL, as this has
1407 been disabled due to higher-level Makefiles running amuck over
1408 this bit, and add in FMTFLAGS so that formatting is clear.
1409 * src/Makefile.in: Regenerate.
1410 * configure: Regenerate.
1412 * src/ios.cc (ios_base::sync_with_stdio): Clean up buffers from
1415 * docs/download.html: Remove references to Cygwin-specific bits,
1416 as this can now be built natively.
1417 Update with current information.
1419 2000-05-24 Phil Edwards <pme@sourceware.cygnus.com>
1421 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): If we can use
1422 -fdiagnostics-show-location=once, do so. Expand AC_LANG_* to
1423 enclose other tests in this macro, including future ones.
1424 * aclocal.m4: Regenerate.
1425 * configure: Regenerate.
1427 * docs/faq/index.html: Update location of libg++ FAQ.
1428 * docs/faq/index.txt: Regenerate.
1430 2000-05-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1432 * docs/17_intro/libstdc++-assign.txt: Change Cygnus to FSF.
1434 2000-05-22 Phil Edwards <pme@sourceware.cygnus.com>
1436 * mkcheck.in: Tweak for Solaris 8. Additional minor output comment.
1438 2000-05-22 Phil Edwards <pme@sourceware.cygnus.com>
1440 * acinclude.m4: If the new pragma isn't supported, don't kill -Werror;
1441 keep -Werror and add -Wno-unknown-pragma. -Werror Is Good.
1442 * aclocal.m4: Regenerate.
1443 * configure: Regenerate.
1445 2000-05-19 Nathan C. Myers <ncm@cantrip.org>
1447 * bits/generic_shadow.h: s/swamp/legacy/
1449 2000-05-19 Phil Edwards <pme@sourceware.cygnus.com>
1451 * acinclude.m4: Clean up comments on newer checks.
1452 (GLIBCPP_CHECK_COMPILER_VERSION): Check for system_header
1453 pragma support. Remove WERRORSUPPRESS variable, add WERROR.
1454 * aclocal.m4: Regenerate.
1455 * configure: Regenerate.
1456 * Makefile.in: Regenerate.
1457 * libio/Makefile.in: Regenerate.
1458 * math/Makefile.in: Regenerate.
1459 * src/Makefile.am: Tell make's WERROR to depend on configure's WERROR.
1460 * src/Makefile.in: Regenerate.
1461 * docs/configopts.html: Document changes to --enable names.
1463 2000-05-18 Chip Salzenberg <chip@valinux.com>
1465 * bits/ostream.tcc (_S_pad_char): Function template should not be
1467 * bits/streambuf.tcc (_S_copy_streambufs): Likewise.
1468 * src/string-inst.cc (__destroy_aux): Instantiate for string*.
1470 2000-05-18 Nathan C. Myers <ncm@cantrip.org>
1472 * mkcshadow: Change C_Swamp to C_legacy.
1474 * shadow/bits/*: Same.
1475 s/C_Swamp/C_legacy/g
1479 2000-05-18 Anthony Williams <anthony@anthonyw.cjb.net>
1481 * bits/locale_facets.tcc (num_get::_M_extract): Change char* to
1483 * src/string-inst.cc (string::_S_find): Same.
1485 2000-05-18 Benjamin Kosnik <bkoz@gnu.org>
1487 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Change to
1488 --enable-cshadow-headers. Add output messages.
1489 (GCC_ENABLE_LONG_LONG): Change to --enable-long-long, no
1490 underscores (like the rest of the enable options.) Add output messages.
1491 * aclocal.m4: Regenerate.
1492 * configure: Regenerate.
1493 * configure.in: Touch.
1495 2000-05-17 Benjamin Kosnik <bkoz@cygnus.com>
1497 * mkcheck.in: Enable shared library testing.
1499 2000-05-17 Nathan C. Myers <ncm@cantrip.org>
1501 * bits/std_cmath.h: fix sqrt(float)
1503 2000-05-16 Loren J. Rittle <ljrittle@acm.org>
1505 * bits/std_cassert.h: Use system_header pragma.
1506 * bits/std_cctype.h: Likewise.
1507 * bits/std_cerrno.h: Likewise.
1508 * bits/std_cfloat.h: Likewise.
1509 * bits/std_climits.h: Likewise.
1510 * bits/std_clocale.h: Likewise.
1511 * bits/std_cmath.h: Likewise.
1512 * bits/std_csetjmp.h: Likewise.
1513 * bits/std_csignal.h: Likewise.
1514 * bits/std_cstdarg.h: Likewise.
1515 * bits/std_cstddef.h: Likewise.
1516 * bits/std_cstdio.h: Likewise.
1517 * bits/std_cstdlib.h: Likewise.
1518 * bits/std_cstring.h: Likewise.
1519 * bits/std_ctime.h: Likewise.
1520 * bits/std_cwchar.h: Likewise.
1521 * bits/std_cwctype.h: Likewise.
1522 * bits/std_exception.h: Likewise.
1523 * bits/std_new.h: Likewise.
1524 * bits/std_typeinfo.h: Likewise.
1525 * shadow/bits/std_cassert.h: Likewise.
1526 * shadow/bits/std_cctype.h: Likewise.
1527 * shadow/bits/std_cerrno.h: Likewise.
1528 * shadow/bits/std_cfloat.h: Likewise.
1529 * shadow/bits/std_climits.h: Likewise.
1530 * shadow/bits/std_clocale.h: Likewise.
1531 * shadow/bits/std_cmath.h: Likewise.
1532 * shadow/bits/std_csetjmp.h: Likewise.
1533 * shadow/bits/std_csignal.h: Likewise.
1534 * shadow/bits/std_cstdarg.h: Likewise.
1535 * shadow/bits/std_cstddef.h: Likewise.
1536 * shadow/bits/std_cstdio.h: Likewise.
1537 * shadow/bits/std_cstdlib.h: Likewise.
1538 * shadow/bits/std_cstring.h: Likewise.
1539 * shadow/bits/std_ctime.h: Likewise.
1540 * shadow/bits/std_cwchar.h: Likewise.
1541 * shadow/bits/std_cwctype.h: Likewise.
1542 * shadow/bits/wrap_libio.h: Likewise.
1543 * shadow/bits/wrap_unistd.h: Likewise.
1544 * shadow/sys/cdefs.h: Likewise.
1546 2000-05-16 Nathan C. Myers <ncm@cantrip.org>
1548 It appears that gcc-2.96 supports the keyword "and" now.
1549 * bits/std_ciso646.h: remove.
1551 * testsuite/17_intro/header_ciso646.c: enable testing.
1552 * src/Makefile.am, src/Makefile.in: remove mention of
1555 2000-05-16 Nathan C. Myers <ncm@cantrip.org>
1557 * mkcshadow: fix typo s/_C_Swamp_/_C_Swamp/.
1559 2000-05-16 Phil Edwards <pme@sourceware.cygnus.com>
1561 * acinclude.m4: Fix typo, switch to decaf...
1562 * aclocal.m4: Regenerate.
1563 * configure: Regenerate.
1565 2000-05-16 Phil Edwards <pme@sourceware.cygnus.com>
1567 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): New macro, stub.
1568 * aclocal.m4: Regenerate.
1569 * configure.in: Call.
1570 * configure: Regenerate.
1571 * docs/configopts.html: Stub documentation.
1573 2000-05-14 Nathan Myers <ncm@cantrip.org>
1575 * mkcshadow: build in more-correct directory, create cshadow/
1576 directory if needed, report progress.
1578 2000-05-14 LLeweLLyn Reese <llewelly@dbritsch.dsl.xmission.com>
1580 * src/Makefile.am: Fix tr commands.
1581 * src/Makefile.am: Remove references to [w]stringCTORDUPAL.[lo,cc]
1582 * src/string-inst.cc: Remove extra instantiation of
1583 S::basic_string(S::size_type, C, S::allocator_type const&);
1584 * src/string-inst.cc: Remove extra template keyword.
1586 2000-05-14 Loren J. Rittle <ljrittle@acm.org>
1588 * config/bsd/bits/ctype_base.h: Add support for plain BSD4.4.
1589 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Enhance bsd tests.
1590 * aclocal.m4: Regenerate.
1591 * configure: Regenerate.
1592 * */Makefile.in: Regenerate.
1594 2000-05-11 Phil Edwards <pme@sourceware.cygnus.com>
1596 * acinclude.m4: Fix minor typo with ctypes, add more sanity to
1597 enable-cxx-flags, and remove GLIBCPP_ENABLE_NAMESPACES altogether.
1598 * aclocal.m4: Regenerate.
1599 * configure.in: Non-blank arguments break fewer Linuxes.
1600 * configure: Regenerate.
1601 * src/Makefile.am: Re-order AC_CXXFLAGS components.
1602 * src/Makefile.in: Regenerate.
1604 2000-05-10 Benjamin Kosnik <bkoz@redhat.com>
1606 * bits/std_cmath.h: Tweaks.
1607 * math/mathconf.h: Tweaks and fixes for HP-UX 11.
1608 (sqrtf): Define away iff !builtin and !in <math.h>.
1612 At some point this directory should be converted to c++, the
1613 autoconf tests should be run by the c++ compiler (not c), and
1614 <cmath> should be used instead of math.h.
1615 Move declaration of nan() here.
1616 * math/complex-stub.h (cabsl): Remove nan() declaration.
1618 Finish up FreeBSD4.0 support.
1619 * config/bsd/ctype.cc: Scope out toupper, tolower calls.
1620 * config/generic/ctype.cc: And here.
1621 * testsuite/21_strings/char_traits.cc (test02): Guard with
1622 _GLIBCPP_USE_WCHAR_T.
1624 via Phil Edwards <pme@sourceware.cygnus.com>
1625 * bits/std_cctype.h: Remove _GLIBCPP_USE_NAMESPACES.
1626 * acconfig.h: And here.
1627 * acinclude.m4: Same.
1628 * testsuite/27_io/istream.cc: And here.
1629 * testsuite/27_io/ostream.cc: And here.
1631 2000-05-09 Benjamin Kosnik <bkoz@gnu.org>
1633 * acinclude.m4 (GLIBCPP_CHECK_CPU): Change powerpc bits to
1635 * src/Makefile.am: Disable ENABLE_CXX_FLAGS stuff for the moment.
1637 * config/generic/bits/ctype_specializations.h (ctype<char>::is):
1640 * config/bsd: New directory.
1641 * config/bsd/ctype.cc: New.
1642 * config/bsd/bits/ctype_base.h (ctype_base): New.
1643 * config/bsd/bits/ctype_specializations.h: New.
1644 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add bsd tests.
1646 2000-05-09 Phil Edwards <pme@sourceware.cygnus.com>
1648 * acinclude.m4: New macro, GLIBCPP_ENABLE_CXX_FLAGS.
1649 * configure.in: Call.
1650 * src/Makefile.am: Append results of macro to AC_CXXFLAGS.
1651 * aclocal.m4: Regenerate.
1653 * src/Makefile.in: Ditto.
1654 * docs/configopts.html: Document.
1655 * docs/download.html: Fix typo (close quote).
1656 * docs/footer.html: Update.
1658 2000-05-09 Loren J. Rittle <ljrittle@acm.org>
1660 * backward/iostream.h: Expose endl. Guard wide types.
1661 * src/Makefile.am (headers): Update list to match files.
1662 * src/Makefile.in: Regenerate.
1664 2000-05-09 Vadim Egorov <egorovv@mailandnews.com>
1665 Benjamin Kosnik <bkoz@gnu.org>
1666 Nathan Myers <ncm@cantrip.org>
1667 Dietmar Kuehl <dietmar_kuehl@yahoo.com>
1669 * bits/streambuf.tcc (basic_streambuf::xsgetn): Fix uflow case.
1670 (basic_streambuf::xsputn): Make consistent.
1671 * testsuite/27_io/filebuf.cc: Add tests.
1673 2000-05-08 Steven King <sxking@uswest.net>
1675 * bits/char_traits.h: Use wchar_t utility functions for
1676 char_traits<wchar_t> methods.
1677 * testsuite/21_string/char_traits.cc: New (test02): test
1678 char_traits<wchar_t>
1680 2000-05-08 Benjamin Kosnik <bkoz@cygnus.com>
1682 * acinclude.m4 (GLIBCPP_CXXFLAGS): Add bits for solaris2.8.
1684 * bits/fstream.tcc (filebuf::_M_init_filebuf): Don't set
1685 _M_buf_size based on macro, instead use _M_buf_size_opt.
1686 * bits/std_streambuf.h (basic_streambuf): Add _M_buf_size_opt.
1687 (basic_streambuf()): Set _M_buf_size_opt.
1688 * testsuite/27_io/filebuf.cc (filebuf): Use _M_buf_size_opt
1689 instead of _M_buf_size.
1691 2000-05-04 Branko Cibej <branko.cibej@hermes.si>
1693 * src/complex_io.cc: Don't instantiate inserters and extractors
1694 for wide-character streams unless _GLIBCPP_USE_WCHAR_T is defined.
1696 2000-05-03 Phil Edwards <pme@sourceware.cygnus.com>
1697 Felix Natter <fnatter@gmx.net>
1699 * docs/footer.html: Update to see if it takes effect.
1700 * docs/thanks.html: More people.
1701 * docs/17_intro/headers_cc.txt: Copy from testsuite, since that can't
1702 be seen from the web pages. Rename for browser-friendliness...
1703 * docs/17_intro/howto.html: ...and update here.
1704 * docs/17_intro/porting-howto.html: Changes from Felix.
1705 * docs/gccrebuild.html: Mention v3->egcs move.
1706 * docs/faq/index.html: Ditto. Also misc tweaks and URL updates.
1707 * docs/faq/index.txt: Regenerate.
1709 2000-05-01 Benjamin Kosnik <bkoz@redhat.com>
1711 * config/cpu/powerpc/bits/atomicity.h (__exchange_and_add): More
1714 2000-05-01 Vadim Egorov <egorovv@@mailandnews.com>
1716 * bits/char_traits.h: Fix parameter types.
1717 * bits/string.tcc: Avoid traits_type::move.
1719 2000-05-01 Benjamin Kosnik <bkoz@haight.constant.com>
1721 * src/Makefile.am (AC_CXXFLAGS): Add CPUFLAGS here.
1722 * src/Makefile.in: Regenerate.
1723 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Revert.
1725 2000-04-30 Steven King <sxking@uswest.net>
1727 * bits/locale_facets.h: Fix syntax error.
1728 * bits/std_fstream.h: ditto
1730 2000-04-30 Benjamin Kosnik <bkoz@gnu.org>
1732 * config/cpu/powerpc/bits/atomicity.h (__compare_and_swap): Fix typo.
1734 * mknumeric_limits (trait_name): Fix copyright notice.
1735 * src/gen-num-limits.cc: Explicitly instantiate epsilon and
1736 round_error data members of struct value. This works around
1737 weak-linking issues on AIX, HPUX.
1739 2000-04-29 Phil Edwards <pme@sourceware.cygnus.com>
1741 * docs/download.html: Add link to list of mirror sites.
1743 2000-04-28 Loren J. Rittle <ljrittle@acm.org>
1745 * mkcheck.in: Rely on exit status instead of the presence of a
1746 core file. Added comments on how/where to save core and exe
1747 files. Move shell wildcards outside quotes and fix core path.
1749 2000-04-27 scott snyder <snyder@fnal.gov>
1751 * src/misc-inst.cc: Explicitly instantiate ifstream and ofstream
1754 2000-04-26 Nathan C. Myers <ncm@cantrip.org>
1756 * bits/basic_string.h: include <bits/atomicity.h> instead
1757 of <atomicity.h>, and use the uglified names.
1758 * config/cpu/*/atomicity.h: replace with bits/atomicity.h;
1759 uglify names, eliminate dependence on <inttypes.h>.
1760 * src/Makefile.in, src/Makefile.am: refer to correct place
1761 for atomicity.h header.
1763 2000-04-25 Steven King <sxking@uswest.net>
1765 * bits/basic_string.h: Fix syntax error.
1767 2000-04-25 Benjamin Kosnik <bkoz@redhat.com>
1769 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Improve checks for
1771 (GLIBCPP_ENABLE_DEBUG): If alpha, use -gdwarf-2.
1772 * math/Makefile.am (EXTRA_LONG_DOUBLE_yes): Add all the long
1773 versions to this as copysignl is needed anyway for these targets.
1774 * math/Makefile.in: Regenerate.
1776 * bits/streambuf.tcc (streambuf::xsgetn): Tweak.
1777 * bits/fstream.tcc (underflow): Cast to libio types.
1778 * bits/basic_file.h (seekoff): Fixes for alpha: use __c_streamoff.
1779 * config/c_io_libio.cc (seekoff): And here.
1781 2000-04-24 Loren J. Rittle <ljrittle@acm.org>
1783 * mkcheck.in: Report compiler version used for test. Find
1784 the built _G_config.h instead of any old installed version.
1786 2000-04-24 Loren J. Rittle <ljrittle@acm.org>
1788 * config/generic/ctype.cc (do_toupper): Remove dependence on
1789 non-portable/non-existent lookup table.
1792 2000-04-24 Nathan Myers <ncm@cantrip.org>
1794 * src/string-inst.cc: More fixing.
1796 2000-04-24 Benjamin Kosnik <bkoz@gnu.org>
1798 * bits/stl_iterator.h: Pedantic fixing.
1799 * bits/std_sstream.h: And here.
1800 * bits/string.tcc: And here.
1802 2000-04-24 Felix Natter <fnatter@gmx.net>
1804 * docs/17_intro/howto.html: Add bits.
1805 * docs/17_intro/porting-howto.html: New file.
1807 2000-04-24 Branko Cibej <branko.cibej@hermes.si>
1809 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Expand
1810 @libinst_wstring_la@ to libinst-wstring.la when specializing for
1811 wchar_t, to empty string otherwise.
1812 * src/Makefile.am: (EXTRA_LTLIBRARIES): New.
1813 (sources): Remove $(string_sources) and $(wstring_sources).
1814 (libstdc___la_LIBADD): Add libinst-string.la and @libinst_wstring_la@.
1815 (libstdc___la_DEPENDENCIES): New.
1816 (libinst_string_la_SOURCES, libinst_wstring_la_SOURCES): New.
1818 2000-04-20 Benjamin Kosnik <bkoz@redhat.com>
1820 * bits/std_sstream.h: Tweak formatting.
1821 * bits/std_fstream.h: Make types public.
1823 * testsuite/27_io/streambuf.cc: Fix for alpha.
1825 Brad Garcia <bgarcia@laurelnetworks.com>
1826 * bits/locale_facets.h (numpunct::numpunct(size_t)): Fix bool
1828 * testsuite/27_io/ios_manip_fmtflags.cc (test02): Add test for
1831 2000-04-19 Nathan Myers <ncm@cantrip.org>
1833 * src/string-inst: consolidate _S_create,
1834 destroy, leak, clone members into stringMAIN and stringMUTATE
1836 * src/Makefile.am: Above, and eliminate dependence on
1838 * src/wstring-inst.cc: Remove.
1840 2000-04-18 Benjamin Kosnik <bkoz@redhat.com>
1842 * src/Makefile.am (AC_CXXFLAGS): Activate debugging code, again.
1843 Add flags for specialized rules dealing with instantiations.
1845 * src/string-inst.cc: Add instantiations missing from shared
1846 libraries--see stringEQ, stringCONSC.
1847 * src/Makefile.am (wstring_sources): Add.
1848 (string_sources): Same.
1849 * src/Makefile.in: Regenerate.
1851 * stl/*: Integrate contents of this directory into top-level
1853 * ext/bvector hash_map hash_set rope ropeimpl.h slist
1854 stl_bvector.h stl_hash_fun.h stl_hashtable.h stl_rope.h tree: Add.
1855 * bits/pthread_allocimpl.h std_algorithm.h std_bitset.h
1856 std_deque.h std_functional.h std_iterator.h std_list.h std_map.h
1857 std_memory.h std_numeric.h std_queue.h std_set.h std_stack.h
1858 std_stdexcept.h std_strstream.h std_utility.h std_vector.h
1859 stl_algo.h stl_algobase.h stl_alloc.h stl_config.h stl_construct.h
1860 stl_deque.h stl_function.h stl_heap.h stl_iterator.h
1861 stl_iterator_base.h stl_list.h stl_map.h stl_multimap.h
1862 stl_multiset.h stl_numeric.h stl_pair.h stl_pthread_alloc.h
1863 stl_queue.h stl_range_errors.h stl_raw_storage_iter.h stl_relops.h
1864 stl_set.h stl_stack.h stl_string_fwd.h stl_tempbuf.h stl_threads.h
1865 stl_tree.h stl_uninitialized.h stl_vector.h type_traits.h: Add.
1866 * backward/algo.h algobase.h alloc.h bvector.h defalloc.h deque.h
1867 function.h hash_map.h hash_set.h hashtable.h heap.h iterator.h
1868 list.h map.h multimap.h multiset.h pair.h rope.h set.h slist.h
1869 stack.h tempbuf.h tree.h vector.h: Add.
1870 * README (file): Update.
1871 * docs/documentation.html: README not being found.
1872 * src/Makefile.am (sources): Take out stl directory.
1873 * mkcheck.in (SRC_DIR): And here.
1874 * src/Makefile.in: Regenerate.
1876 2000-04-18 Levente Farkas <lfarkas@mindmaker.hu>
1878 * stl/bits/stl_function.h: Add bits so that const and non-const
1881 2000-04-18 scott snyder <snyder@fnal.gov>
1883 * stl/bits/stl_map.h (class map): Fix default for _Alloc template
1884 parameter. Get rid of use of __STL_DEFAULT_ALLOCATOR and
1885 __STL_LIMITED_DEFAULT_TEMPLATES macros.
1886 * stl/bits/stl_multimap.h (class multimap): Likewise. Get rid of
1887 use of __STL_DEPENDENT_DEFAULT_TMPL macro.
1889 2000-04-18 scott snyder <snyder@fnal.gov>
1891 * stl/bits/stl_config.h (__STL_DEPENDENT_DEFAULT_TMPL): Deleted
1894 * stl/ext/hash_map (class hash_map, class hash_multimap): Get rid
1895 of use of __STL_DEPENDENT_DEFAULT_TMPL macro.
1896 * stl/ext/hash_set (class hash_set, class hash_multiset):
1898 * stl/bits/stl_function.h (struct constant_unary_fun, struct
1899 constant_binary_fun): Likewise.
1900 * stl/bits/stl_queue.h (class queue, class priority_queue): Likewise.
1901 * stl/bits/stl_stack.h (class stack): Likewise.
1902 * stl/bits/stl_set.h (class set): Likewise.
1903 * stl/bits/stl_multiset.h (class multiset): Likewise.
1905 * stl/bits/stl_iterator.h (class reverse_bidirectional_iterator,
1906 class reverse_iterator): Get rid of use of
1907 __STL_LIMITED_DEFAULT_TEMPLATES macro.
1909 * stl/bits/stl_config.h (__STL_DEFAULT_ALLOCATOR): Deleted this
1912 * stl/bits/stl_deque.h (class deque): Get rid of use of
1913 __STL_DEFAULT_ALLOCATOR macro.
1914 * stl/bits/stl_list.h (class list): Likewise.
1915 * stl/bits/stl_multiset.h (class multiset): Likewise.
1916 * stl/bits/stl_set.h (class set): Likewise.
1917 * stl/bits/stl_string_fwd.h (class basic_string): Likewise.
1918 * stl/bits/stl_tree.h (class _Rb_tree, class rb_tree): Likewise.
1919 * stl/bits/stl_vector.h (class vector): Likewise.
1920 * stl/ext/ropeimpl.h (rotate): Likewise.
1921 * stl/ext/hash_map (class hash_map, class hash_multimap):
1923 * stl/ext/hash_set (class hash_set, class hash_multiset):
1925 * stl/ext/slist (class slist): Likewise.
1926 * stl/ext/stl_bvector.h (class bit_vector): Likewise.
1927 * stl/ext/stl_rope.h (class rope): Likewise.
1928 * src/locale.cc (_Impl): Likewise.
1929 * src/localename.cc (_Impl): Likewise.
1930 * bits/localefwd.h (_Impl): Likewise.
1932 2000-04-18 Phil Edwards <pme@sourceware.cygnus.com>
1934 * docs/install.html: Cleanup, minor changes.
1935 * docs/17_intro/howto.html: Ditto.
1937 2000-04-18 Nathan Myers <ncm@cantrip.org>
1939 * bits/basic_string.h: Remove "inline" from member _S_find.
1941 * src/string-inst.cc: Rewrite to reflect non-inline template
1942 instantiations in string.tcc.
1944 * src/stringADDCS.cc, stringADDPS.cc, stringADDSC.cc, stringADDSP.cc,
1945 stringADDSS.cc, stringBIST.cc, stringBOST.cc, stringCHTR.cc,
1946 stringEQPS.cc, stringEQSP.cc, stringEQSS.cc, stringEXTRA.cc,
1947 stringGEPS.cc, stringGESP.cc, stringGESS.cc, stringGETLI.cc,
1948 stringGTPS.cc, stringGTPS.cc, stringGTSP.cc, stringGTSS.cc,
1949 stringINSER.cc, stringLEPS.cc, stringLESP.cc, stringLESS.cc,
1950 stringLESP.cc, stringLTPS.cc, stringLTPS.cc, stringLTSP.cc,
1951 stringLTSS.cc, stringMAIN.cc, stringNEPS.cc, stringNESP.cc,
1952 stringNESS.cc, stringSCOPY.cc: Remove.
1953 * src/wstringADDCS.cc, etc: Remove.
1955 Benjamin Kosnik <bkoz@haight.constant.com>
1956 * src/Makefile.am: Modify to reflect above.
1957 * src/Makefile.in: Regenerate.
1959 2000-04-17 Benjamin Kosnik <bkoz@cygnus.com>
1961 * docs/install.html (--enable-libstdcxx-v3): Clean up install docs.
1963 2000-04-13 Benjamin Kosnik <bkoz@haight.cygnus.com>
1965 * bits/std_fstream.h (filebuf::sync): Need to use the abstracted
1966 io interface here instead of the libio particulars.
1968 * config/threads-posix.h: Consistency with stl_config.h.
1970 * mkcheck.in (CXX_FLAG): Add DDEBUG_ASSERT back in.
1972 2000-04-13 Loren J. Rittle <ljrittle@acm.org>
1974 * mknumeric_limits: Rename generic type template parameter name
1976 * stl/bits/type_traits.h: Ditto.
1978 2000-04-06 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
1980 * mkcheck.in (SRC_DIR): Change default mkcheck behavior, so that
1981 it is more useful for --enable-libstdcxx-v3. Use the built
1982 compilers with v3, instead of compilers in PATH, and don't
1983 re-include include directories for checking the install.
1985 2000-04-05 Benjamin Kosnik <bkoz@cygnus.com>
1987 * src/Makefile.am (AM_CXXFLAGS): Disable NAMESPACES, as this is on
1988 by default when using --enable-libstdcxx-v3.
1989 * src/Makefile.in: Regenerate.
1990 * configure.in: Disable GLIBCPP_ENABLE_NAMESPACES,
1991 GLIBCPP_ENABLE_RELIBGCC for --enable-libstdcxx-v3 flag.
1992 * configure: Regenerate.
1993 * mkcheck.in: Deal with NAMESPACES.
1995 2000-04-05 Petter Urkedal <petter@matfys.lth.se>
1997 * src/cmath.cc: New file...
1998 (pow(*, int)): Define functions...
1999 * src/Makefile.am (sources): ...register file.
2000 * src/Makefile.in: Regenerate.
2001 * bits/std_cmath.h (pow): ...declare functions here, and remove
2004 2000-04-04 Benjamin Kosnik <bkoz@redhat.com>
2006 * acinclude.m4 (GCC_OBJDIR): Tweaks
2008 2000-04-03 Benjamin Kosnik <bkoz@redhat.com>
2010 * acinclude.m4 (GLIBCPP_CHECK_CPU): Add arm configure bits.
2011 * config/cpu/arm: New directory.
2013 Jesper Skov <jskov@redhat.com>
2014 * config/cpu/arm/atomicity.h: New file.
2016 2000-03-31 Benjamin Kosnik <bkoz@redhat.com>
2018 * stl/bits/stl_config.h: Make _STL_THREADS depend on _REENTRANT.
2019 Remove unused bits. Clean.
2021 2000-03-29 Benjamin Kosnik <bkoz@cygnus.com>
2023 * testsuite/25_algorithms: New directory.
2024 * testsuite/25_algorithms/min_max.cc: New file.
2026 2000-03-29 scott snyder <snyder@fnal.gov>
2028 * bits/locale_facets.tcc (do_put): Allow a couple extra digits of
2029 precision beyond that which we get from numeric_limits::digits10.
2031 * stl/bits/stl_algobase.h (max, min): Don't use comparison
2034 * testsuite/23_containers/bitset_shift.cc: Fix.
2036 * testsuite/27_io/ios_manip_fmtflags.cc (test01): Don't give a
2037 temporary to imbue().
2039 * bits/std_fstream.h (sync): Resync libio's idea of the current
2040 file position with the external file.
2042 2000-03-28 Benjamin Kosnik <bkoz@cygnus.com>
2044 * testsuite/27_io/istream_extractor_arith.cc.cvs: Fix merge
2047 * bits/std_fstream.h (filebuf::is_open): Check for _M_file before
2048 attempting calls to it.
2049 * bits/fstream.tcc (ctors): Don't call _M_init_filebuf in
2050 ctors. Instead, call _M_init_filebuf ...
2051 (open): Here, as suggested by 27.8.1.3.
2052 * src/ios.cc (ios_base::Init::Init()): Clean up default filebufs
2053 properly when initializing cout/cin/cerr.
2055 2000-03-27 Russell Davidson <russell@ehess.cnrs-mrs.fr>
2057 * testsuite/23_containers/multiset.cc (main): Clean up for namespaces.
2058 * testsuite/22_locale/ctype_char_members.cc: And here.
2059 * testsuite/27_io/streambuf.cc (streambuf): And here.
2060 * testsuite/27_io/ostream_inserter_char.cc (test06): And here.
2061 * testsuite/27_io/istream_unformatted.cc (test05): And here.
2062 * testsuite/27_io/istream_extractor_arith.cc: And here.
2063 * testsuite/27_io/ios_manip_basefield.cc (test02): And here.
2064 * testsuite/27_io/ios_base_members_static.cc: And here.
2065 * bits/std_climits.h (_CPP_CLIMITS): Fix typo.
2067 2000-03-27 Chris Faylor <cgf@cygnus.com>
2069 * configure.in: Remove setting of CXX if canadian cross.
2070 * configure: Regenerate.
2072 2000-03-27 Nathan Myers <ncm@zembu.com>
2074 * bits/sstream.tcc: Optimize.
2075 * bits/basic_string.h(string::append): Don't inline.
2076 * bits/string.tcc: Move out-of-line.
2078 2000-03-27 Phil Edwards <pme@sourceware.cygnus.com>
2080 * acinclude.m4: (GLIBCPP_CHECK_COMPILER_VERSION) When using <2.96,
2081 define WERRORSUPPRESS so that the inlining warnings won't kill us.
2082 * aclocal.m4: Regenerate.
2083 * configure: Regenerate.
2084 * src/Makefile.am: Use WERRORSUPPRESS for the files that need it.
2085 * src/Makefile.in: Regenerate.
2087 * docs/install.html: Almost complete rewrite.
2089 2000-03-25 Phil Edwards <pme@sourceware.cygnus.com>
2091 * docs/install.html: Explain -Werror problem at "#Werror" mark.
2092 * docs/faq/index.html: Testsuite will die horribly if new libgcc.a
2094 * docs/faq/index.txt: Regenerate.
2096 2000-03-24 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2098 * src/Makefile.am (libio_headers_install): Fix.
2099 * src/Makefile.in: Regenerate.
2101 2000-03-24 Benjamin Kosnik <bkoz@cygnus.com>
2103 * docs/17_intro/RELEASE-NOTES: Fix typos.
2104 * docs/index.html: Update.
2105 * docs/17_intro/BUGS: Update.
2106 * docs/status.html: Update for 2.90.8 release.
2108 2000-03-23 Phil Edwards <pme@sourceware.cygnus.com>
2110 * Makefile.am: Better error message when missing libgcc2.ready.
2111 * Makefile.in: Regenerate.
2112 * acinclude.m4: Fastidious nitpicking reformatting.
2113 * aclocal.m4: Regenerate.
2114 * configure: Regenerate.
2115 * mkcheck.in: Must use same namespace settings as the library being
2116 tested. Also log ST_FLAG, since it's being passed.
2117 * docs/install.html: Add brief chunk on configuration.
2118 * docs/17_intro/RELEASE-NOTES: Fix minor Cygwin typo.
2119 * docs/23_containers/howto.html: Mention MT-safe string.
2120 * docs/faq/index.html: Minor updates.
2121 * docs/faq/index.txt: Regerarate.
2123 2000-03-22 Benjamin Kosnik <bkoz@cygnus.com>
2125 * bits/sstream.tcc (seekoff): Fix for gptr() null cases.
2127 * bits/fstream.tcc (seekoff): Sync.
2129 * testsuite/27_io/ostream_unformatted.cc: New file.
2130 * testsuite/27_io/stringbuf.cc: Fix.
2131 * testsuite/27_io/istream_unformatted.cc (test04): Fix.
2133 * config/newlib/bits/ctype_base.h (ctype_base): Fix.
2134 * config/newlib/ctype.cc (ctype): Change __ctype -> _ctype_.
2136 * src/complex_io.cc (operator>>complex): Tweak.
2138 * config/cpu/alpha/atomicity.h: Explicitly typedef uint32_t, int32_t if
2139 <inttypes.h> does not exist.
2140 * config/cpu/sparc/sparc64/atomicity.h: Same.
2141 * config/cpu/sparc/sparc32/atomicity.h: Same.
2142 * config/cpu/powerpc/atomicity.h: Same.
2143 * config/cpu/i386/atomicity.h: Same.
2144 * config/cpu/generic/atomicity.h: Same.
2145 * configure.in: Check for inttypes.h.
2146 * configure: Regnerate.
2148 2000-03-21 Benjamin Kosnik <bkoz@cygnus.com>
2150 * bits/std_sstream.h (_M_init_stringbuf): Set initial ate position
2152 * testsuite/27_io/ostream_inserter_char.cc (test06): Add tests for ate.
2154 * docs/17_intro/RELEASE-NOTES (New): Add bits.
2156 * configure.in: Move AC_CHECK_HEADERS to a point where we know we
2157 are compiling natively.
2159 * libio/*: Update to CVS libio from egcs.
2161 2000-03-21 Phil Edwards <pme@sourceware.cygnus.com>
2163 * docs/download.html: Document use of -z9 for CVS.
2164 * docs/index.html: Add target date (no link) for future snapshot.
2166 2000-03-21 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
2168 * bits/slice_array.h: Rename generic type template parameter name
2170 * bits/mask_array.h: Ditto
2172 2000-03-20 Benjamin Kosnik <bkoz@cygnus.com>
2174 * *: Change copyright holder from "Cygnus Solutions" to "Free
2175 Software Foundation, Inc."
2177 * docs/configopts.html: Explain what "hella versions" means.
2178 * docs/install.html: Some tweaks--nice job on this Phil.
2179 * docs/documentation.html: Add a direct link to configuration options.
2181 * src/Makefile.am (OPTIMIZE_CXXFLAGS): Add in extras.
2182 * docs/17_intro/RELEASE-NOTES (New): Add.
2183 * bits/c++config.h (__GLIBCPP__): Bump version.
2185 * config/c_io_libio.cc (__basic__file(__c_lock*)): Change argument
2186 type to match prototype.
2188 2000-03-20 Phil Edwards <pme@sourceware.cygnus.com>
2190 * docs/install.html: Update for new funky build procedure. Move
2191 description of 'configure' options to...
2192 * docs/configopts.html: ...here. New file.
2193 * docs/17_intro/howto.html: Updates for new snapshot.
2194 * docs/20_util/howto.html: Ditto.
2195 * docs/21_strings/howto.html: Ditto.
2196 * docs/21_strings/stringtok_std_h.txt: Fix example typos.
2197 * docs/22_locale/howto.html: Ditto.
2198 * docs/23_containers/howto.html: Ditto.
2199 * docs/faq/index.html: Ditto.
2201 2000-03-18 Petter Urkedal <petter@matfys.lth.se>
2202 Benjamin Kosnik <bkoz@gnu.org>
2204 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_SUPPORT): Move code for main
2206 * aclocal.m4: Regenerate.
2207 * configure: Regenerate.
2209 2000-03-16 Benjamin Kosnik <bkoz@cygnus.com>
2210 scott snyder <sss@karma.fnal.gov>
2212 * config/c_io_libio.h: Add __c_lock.
2213 * config/threads-no.h: Same here.
2214 * config/threads-posix.h: Add __mutext_type typedef.
2215 * config/c_io_libio.cc: basic_file ctor takes lock arg.
2216 * bits/basic_file.h: Ctor takes lock arg.
2217 * bits/std_fstream.h: Add _M_lock.
2218 * bits/fstream.tcc: Supply it to basic_file ctor.
2220 * mkcheck.in (resultstext): Change [[ to [.
2222 * testsuite/27_io/ostream_inserter_char.cc (test06): Tweak.
2224 * bits/locale_facets.h: Tweak.
2226 * stl/bits/stl_config.h: Fix defines.
2228 2000-03-16 Benjamin Kosnik <bkoz@cygnus.com>
2230 * mkcheck.in (INC_PATH): Add paths from cpu_include_dir to find
2232 * configure: Regenerate.
2233 * aclocal.m4: Regnerate.
2235 2000-03-16 Nathan Myers <ncm@zembu.com>
2237 * bits/string.tcc: Add MT support.
2238 * bits/basic_string.h: Same.
2240 2000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
2242 * configure.in: Make --enable-namespaces and -libgcc-rebuild=../..
2244 * configure: Regenerate.
2246 * config/solaris/solaris2.7/ctype.cc: Fix unsigned/signed comparison.
2248 2000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
2250 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): If Sol2.5 ctype is found, keep
2251 checking for 2.[67]. (GLIBCPP_ENABLE_RELIBGCC): No longer ignore
2252 any defaults passed in.
2253 * aclocal.m4: Regenerate.
2255 2000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
2257 * mkcheck.in: Report total successes and failures.
2259 2000-03-15 Benjamin Kosnik <bkoz@cygnus.com>
2261 * config/cpu: New directory, intended to be used to provide
2262 cpu-specific configuration files. In particular, assembly language
2263 primitives for thread safety.
2264 * config/cpu/alpha: Populate.
2265 * config/cpu/alpha/atomicity.h: New file.
2266 * config/cpu/arm: Populate.
2267 * config/cpu/generic: Populate.
2268 * config/cpu/generic/atomicity.h: New file.
2269 * config/cpu/hppa: Populate.
2270 * config/cpu/i386: Populate.
2271 * config/cpu/i386/atomicity.h: New file, take from i486.
2272 * config/cpu/m68k: Populate.
2273 * config/cpu/mips: Populate.
2274 * config/cpu/powerpc: Populate.
2275 * config/cpu/powerpc/atomicity.h: New file.
2276 * config/cpu/sparc: Populate.
2277 * config/cpu/sparc/sparc32: Populate.
2278 * config/cpu/sparc/sparc64: Populate.
2279 * config/cpu/sparc/sparc32/atomicity.h: New file.
2280 * config/cpu/sparc/sparc64/atomicity.h: New file.
2282 * src/Makefile.am (myinstallheaders): Add install routines.
2283 * acinclude.m4 (GLIBCPP_CHECK_CPU):Add configuration for the
2285 * configure.in: Add.
2287 * config/default: Adopt glibc naming conventions, and so move to
2288 * config/generic: Here.
2289 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Modify default case to generic.
2291 2000-03-15 Bill Thompson <billt@toast.net>
2293 * testsuite/27_io/ostream_inserter_char.cc (test06): Add test.
2295 2000-03-14 Phil Edwards <pme@sourceware.cygnus.com>
2297 * docs/17_intro/howto.html: Add missing "TOC" entry, and new section.
2299 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Fixup.
2300 * aclocal.m4: Regenerate.
2301 * configure: Regenerate.
2303 2000-03-13 scott snyder <snyder@fnal.gov>
2304 Jason Merrill <jason@cygnus.com>
2306 * bits/locale_facets.h (class ctype, class ctype<char>, class
2307 ctype<wchar_t>): More mask fixes.
2308 * testsuite/22_locale/ctype.cc: Test for the problem.
2310 2000-03-13 Benjamin Kosnik <bkoz@cygnus.com>
2312 * acconfig.h: Add bits.
2313 * configure.in: Move AM_PROG_LIBTOOL up in file.
2314 Tweak cross compiling info.
2315 * configure: Regenerate.
2317 * mknumeric_limits (XCOMPILE): Echo compilation line for
2320 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add aix checks.
2321 * aclocal.m4: Regenerate.
2322 * configure: Regenerate.
2323 * config/aix/ctype.cc (ctype): Tweak.
2324 * config/aix/bits/ctype_base.h (ctype_base): Tweak.
2325 * config/aix/bits/ctype_specializations.h: New file.
2327 2000-03-10 scott snyder <snyder@fnal.gov>
2329 * stl/bits/stl_vector.h (_M_assign_aux): Fix for __normal_iterator
2331 * testsuite/23_containers/vector_modifiers.cc (test01): Add a
2332 regression test for the problem.
2334 2000-03-09 Benjamin Kosnik <bkoz@fidel.cygnus.com>
2336 * testsuite/27_io/streambuf.cc (class testbuf): Same here.
2337 * bits/fpos.h: And here.
2338 * bits/std_ostream.h: Same here.
2339 * bits/std_istream.h: Same here.
2340 * bits/basic_ios.h: Same here.
2341 * bits/std_fstream.h: Same here.
2342 * bits/sbuf_iter.h (std): Here too.
2343 * bits/std_sstream.h: Make types public.
2345 * src/misc-inst.cc: Use size_t instead of unsigned int.
2346 * bits/locale_facets.tcc (_S_format): For now, cast to char. I
2347 suppose this should be ctype::narrow... all the ctype<wchar_t>
2348 stuff needs to be cleaned up.
2350 2000-03-09 Phil Edwards <pme@sourceware.cygnus.com>
2352 * docs/gentop: Remove entire directory, finally.
2354 2000-03-09 scott snyder <snyder@fnal.gov>
2356 * bits/std_cmath.h (modf): Fix pointer overrun.
2357 * testsuite/26_numerics/c_math.cc (test04, main): Add a regression
2358 test for the problem.
2360 2000-03-09 Phil Edwards <pme@sourceware.cygnus.com>
2362 Looks like changes to the #include'd files must be followed by a
2363 change to the #include'ing files to take effect. Caveat emptor.
2364 * docs/header.html: New file, for server-side include.
2365 * docs/footer.html: New file, for server-side include.
2366 * docs/documentation.html: Change to use SSI.
2367 * docs/download.html: Ditto.
2368 * docs/index.html: Ditto.
2369 * docs/mail.html: Ditto.
2370 * docs/status.html: Ditto.
2371 * docs/thanks.html: Ditto, plus minor updates.
2372 * docs/how.html: Remove.
2374 2000-03-09 Benjamin Kosnik <bkoz@gnu.org>
2376 Preliminary alpha-linux support.
2377 * src/locale.cc (ctype<wchar_t>): Use correct types...
2378 * bits/locale_facets.h (ctype<char>): Add __table_type typedef.
2379 (ctype<wchar_t>): Same.
2380 * bits/locale_facets.h (ctype<wchar_t>): Have char and wchar_t
2381 types match for table_size (size_t).
2383 * config/gnu-linux/ctype.cc (ctype): Change char_type to wchar_t
2384 as per char specialization.
2385 * config/*/ctype.cc: Same.
2387 2000-03-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
2389 * bits/locale_facets.h (_Ctype<>::mask): Import from base class
2390 _Ctype_nois<>. Template base classes are never examinated in
2391 first-phase name-lookup.
2393 2000-03-08 Benjamin Kosnik <bkoz@gnu.org>
2395 Add Solaris 2.5.1 support.
2396 * config/solaris/solaris2.5/bits/ctype_base.h (ctype_base): And here.
2397 * config/solaris/solaris2.5/ctype.cc: Fixup.
2398 * config/solaris/solaris2.5/bits/ctype_specializations.h: Add.
2399 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add bits for solaris2.5.1.
2400 * aclocal.m4: Regenerate.
2401 * configure: Regenerate.
2403 * config/default/ctype.cc (ctype): Fixup.
2405 2000-03-07 Benjamin Kosnik <bkoz@blues.cygnus.com>
2407 * testsuite/27_io/filebuf.cc: Activate init code from yesterday...
2408 * testsuite/27_io/ostream_inserter_arith.cc (testcases): Fix for
2411 2000-03-07 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
2413 * bits/cpp_type_traits.h: Expand on this file purpose.
2415 2000-03-06 Benjamin Kosnik <bkoz@gnu.org>
2417 * bits/locale_facets.h (ctype<char>): Remove static members, and
2418 re-work initialization code.
2419 (ctype<wchar_t>): Same.
2420 Move _S_touppper to _M_toupper and initialize in ctor.
2421 Move _S_tolower to _M_tolower and initialize in ctor.
2422 Move _S_table to _M_ctable and intialize in ctor.
2423 * bits/locale_facets.h (std): And here.
2424 * src/locale.cc (std): Tweak.
2425 * config/gnu-linux/ctype.cc: Change initialization here.
2426 * config/newlib/ctype.cc: And here.
2427 * config/solaris/solaris2.7/ctype.cc: And here.
2428 * config/solaris/solaris2.6/ctype.cc: And here.
2430 * bits/localefwd.h: Tweak.
2431 * bits/std_streambuf.h: Tweak formatting.
2433 * testsuite/27_io/filebuf.cc: Remove BUFSIZ dependancies.
2435 2000-03-05 Chip Salzenberg <chip@valinux.com>
2437 * src/misc-inst.cc (basic_iostream<>): Instantiate.
2439 2000-03-02 Phil Edwards <pme@sourceware.cygnus.com>
2440 Kevin Atkinson <kevinatk@home.com>
2442 Initial grab of SGI's strstream implementation with minor
2444 * src/strstream.cc: New file.
2445 * std/strstream: New file.
2446 * stl/bits/std_strstream.h: New file.
2447 * bits/std_streambuf.h: Add public access.
2448 * src/Makefile.am: Add strstream sources to list of dependancies.
2449 * src/Makefile.in: Regenerate.
2451 2000-03-03 2000 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
2453 * bits/valarray_meta.h: Fix typo.
2455 2000-03-02 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2456 Chip Salzenberg <chip@valinux.com>
2457 Petter Urkedal <petter@matfys.lth.se>
2459 * src/Makefile.am (myinstallheaders): Hack to avoid
2461 * src/Makefile.in: Regenerate.
2463 2000-03-02 Chip Salzenberg <chip@valinux.com>
2465 * libio/Makefile.an, math/Makefile.an, src/Makefile.am
2466 (LINK): Put quotes around "$(CC)" for libtool link mode,
2467 so libtool will use "-B" options during GCC bootstrap.
2468 * */Makefile.in: Regenerate.
2470 2000-03-02 Petter Urkedal <petter@matfys.lth.se>
2472 * config/c_io_libio.h: Enclose it all in ::std.
2473 * bits/basic_string.h (basic_string<>): Make types and
2475 * mkc++config: Truncate output file before writing.
2477 2000-03-01 Benjamin Kosnik <bkoz@gnu.org>
2479 * math/cabsf.c (__mycabsf): Rename to cabsf.
2480 * math/cabs.c (__mycabs): Rename to cabs.
2482 2000-02-29 LLeweLLyn Reese <llewelly@198.dsl.xmission.com>
2484 * bits/basic_string.h: Move declarations of __out_of_range(),
2485 __length_error() and accompanying macros ...
2486 * bits/exception_support.h: here. (Newly created file).
2487 * bits/basic_string.h: #include <bits/exception_support.h>
2488 * stl/bits/stl_vector.h: #include <bits/exception_support.h>
2489 * src/Makefile.am (headers): Add.
2490 * src/Makefile.in: Regenerate.
2492 2000-02-29 Benjamin Kosnik <bkoz@cygnus.com>
2494 * bits/cpp_type_traits.h: Rename structs so they don't clash with
2496 * bits/valarray_array.h: Synch. Fix typos.
2498 * libio/Makefile.am: Change to only compile source files that
2499 config/c_io_libio.cc actually needs.
2500 * libio/Makefile.in: Regnerate.
2501 * libio/PlotFile.hes SFile.h builtinbuf.h editbuf.h floatconv.c
2502 floatio.h fstream.h indstream.h iofclose.c iofdopen.c iofeof.c
2503 ioferror.c iofflush.c iofgetpos.c iofgets.c iofopen.c iofprintf.c
2504 iofputs.c iofread.c iofscanf.c iofsetpos.c ioftell.c iofwrite.c
2505 iogetc.c iogetdelim.c iogetline.c iogets.c ioignore.c iomanip.h
2506 iopadn.c ioperror.c iopopen.c ioprims.c ioprintf.c ioputc.c
2507 ioputs.c ioscanf.c ioseekoff.c ioseekpos.c iosetbuffer.c
2508 iosetvbuf.c iosprintf.c iosscanf.c iostream.h iostrerror.c
2509 ioungetc.c iovfprintf.c iovfscanf.c iovsprintf.c iovsscanf.c
2510 istream.h list.out ostream.h outfloat.c parsestream.h peekc.c
2511 pfstream.h procbuf.h stdiostream.h stream.h streambuf.h strfile.h
2512 strops.c strstream.h: Delete.
2514 * bits/basic_file.h: Stub out or delete unused bits in this
2516 (filepos_beg): Remove.
2517 (filepos_cur): Remove.
2518 (filepos_valid): Remove.
2519 * config/c_io_libio.cc: Resynch with the changes to basic_file.
2521 2000-02-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
2523 * bits/cpp_type_traits.h: Correct typo.
2525 2000-02-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
2527 * bits/cpp_type_traits.h: New file.
2529 * bits/valarray_array.h: Tweak. #include <bits/cpp_type_traits.h>
2530 Improve array construction.
2531 (_Array_default_ctor): New dispatcher class.
2532 (__valarray_default_construct): New function.
2533 (_Array_copy_ctor): New dispatcher class.
2534 (__valarray_copy_construct): New function.
2535 (_Array<>::free_data): Remove.
2537 * src/Makefile.am (headers): Add cpp_type_traits.h
2538 * src/Makefile.in: Regenerate.
2540 2000-02-28 Benjamin Kosnik <bkoz@cygnus.com>
2542 Prune libio directory to match files in libio/Makefile.
2543 * libio/PlotFile.cc,indstream.cc, isgetsb.cc, sbform.cc,
2544 stream.cc, SFile.cc, ioassign.cc, isscan.cc, sbgetline.cc,
2545 streambuf.cc, builtinbuf.cc, ioextend.cc, osform.cc, sbscan.cc,
2546 strstream.cc, editbuf.cc, iomanip.cc, parsestream.cc,
2547 stdiostream.cc, filebuf.cc, iostream.cc, pfstream.cc,
2548 stdstrbufs.cc, fstream.cc, isgetline.cc, procbuf.cc,
2549 stdstreams.cc: Remove.
2550 * libio/floatio.h, iolibio.h, iostdio.h, iostreamP.h: Remove.
2551 * libio/iofflush_u.c: Remove.
2553 * libio/dbz: Remove.
2554 * libio/include: Remove.
2555 * libio/stdio: Remove.
2556 * libio/tests: Remove.
2557 * libio/testsuite: Remove.
2559 * config/c_io_libio.cc: Add fcntl.h include for Solaris.
2561 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add bits.
2562 * configure.in: Replace 'grep -e' with 'grep' for Solaris.
2563 * configure: Regenerate.
2565 2000-02-25 Benjamin Kosnik <bkoz@gnu.org>
2567 Abstract out the underlying "C" io bits.
2568 * bits/std_new.h: Remove <stl_config> include, as well as <cstddef>.
2569 * stl/bits/stl_string_fwd.h: Remove <stddef> include.
2570 * bits/std_cwchar.h: Wrap with _GLIBCPP_USE_WCHAR_T guards. Don't
2572 * stl/bits/stl_config.h: Don't include _G_config.h.
2574 * bits/basic_file.h: Allow for non-inheritance based __basic_files.
2575 * config/c_io_libio.h (_GLIBCPP_BASIC_FILE_INHERITANCE): Define.
2576 * config/c_io_libio.cc: Tweak.
2578 * src/Makefile.am (TOPLEVEL_INCLUDES): Add includedir.
2579 * src/Makefile.in: Regenerate.
2580 * Makefile.am (AM_MAKEFLAGS): Define includedir so that
2581 prefix/include files will be picked up.
2582 * Makefile.in: Regenerate.
2583 * math/Makefile.am (TOPLEVEL_INCLUDES): And here.
2584 * libio/Makefile.am (TOPLEVEL_INCLUDES): And here.
2586 * bits/std_ios.h: Include <bits/c++io.h> instead of libio.
2587 * bits/fpos.h: And here.
2588 * bits/basic_file.h (get_fileno): Move definition from ...
2589 * src/basic_file.cc (std): To here.
2590 * bits/fpos.h: Move types for streamoff, streampos to..
2591 * bits/basic_file.h: Move __c_file_type and fpos typedefs to...
2592 * config/c_io_libio.h: ...here.
2593 (_GLIBCPP_[BOOLALPHA, HEX, DEC, FIXED, INTERNAL, LEFT, OCT, RIGHT,
2594 SCIENTIFIC, SHOWBASE, SHOWPOINT, SHOWPOS, SKIPWS, UNITBUF,
2595 UPPERCASE, ADJUSTFIELD, BASEFIELD, FLOATFIELD, BADBIT, EOFBIT,
2596 FAILBIT, GOODBIT, APP, ATE, BINARY, IN, OUT, TRUNC): New macros to
2597 abstract out bits in ios_base.
2598 * bits/ios_base.h: Re-macrofy.
2599 * src/basic_file.cc : Rename, move to
2600 * config/c_io_libio.cc: Here.
2601 * config/c_io_libio.h: New file. Include libio.
2602 * bits/c++config.h: Don't define _GLIBCPP_USE_LIBIO.
2603 * configure.in (blddir): Add enabling bits for GLIBCPP_ENABLE_CSTDIO.
2604 * configure: Regenerate.
2605 * src/Makefile.am (sources): Take out basic_file.cc and add c++io.cc.
2606 (generated_headers): Add c++io.h
2607 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): New function to select
2608 underlying "C" io library.
2609 * acinclude.m4 (GLIBCPP_CHECK_LIBIO): Roll functionality into
2610 GLIBCPP_ENABLE_CSTDIO.
2612 * configure.in: Add configure bits for cross compiling non-newlib
2614 GLIBCPP_CHECK_COMPILER_VERSION: Take out this test for this
2615 target, as we assume g++ support is not the limiting factor.
2616 GLIBCPP_CHECK_LIBIO: Same, know we don't need libio.
2617 * configure: Regenerate.
2619 2000-02-22 Benjamin Kosnik <bkoz@cygnus.com>
2621 * Makefile.am (INTERFACE): Define.
2622 * Makefile.in: Regenerate.
2623 * libio/ChangeLog: Add entry.
2625 2000-02-21 Benjamin Kosnik <bkoz@cygnus.com>
2627 * docs/install.html: Update install directions.
2629 * docs/status.html: Fix sidebar to be consistent.
2630 * docs/thanks.html: Same.
2631 * docs/links.html: Same.
2632 * docs/mail.html: Same.
2633 * docs/download.html: Same.
2635 * testsuite/27_io/filebuf.cc: Change BUFSIZ to buffer_size, and
2636 kill the macro BUFSIZ. I think the solaris fails lie elsewhere
2637 however, in the ctype_char_members.cc fail (for instance.)
2638 * testsuite/17_intro/headers.cc: Remove extraneous fails for hosts
2639 that do not have wchar_t enabled.
2640 * testsuite/27_io/ostream_inserter_arith.cc (struct _TestCase):
2642 * testsuite/27_io/iostream_objects.cc: And here.
2644 * libio/gen-params (CONFIG_NM): Specifically add in nm as the
2647 2000-02-18 Benjamin Kosnik <bkoz@haight.constant.com>
2648 Tom Tromey <tromey@cygnus.com>
2650 * configure.in: Manually add MULTISUBDIR.
2651 * configure: Regenerate.
2652 * src/Makefile.am (MULTISUBDIR): Add the lesser evil of Tom's two
2653 "Eww" hacks to get multilib installs working correctly.
2654 ($(headers): Test for MULTISUBDIR before installing.
2655 * Makefile.am (AM_MAKEFLAGS): Don't define MULTISUBDIR, instead
2656 have configure hack it in.
2657 * Makefile.in: Regenerate.
2658 * acinclude.m4 (GLIBCPP_CXXFLAGS): Tweak wording.
2659 Add enabling bits for native Cygwin ctypes, and other newlib-based
2662 2000-02-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
2664 * mkc++config (OUT_H): Remove EOF in cygwin.
2665 * acinclude.m4 (LIBS): Tweaks to allow cygwin to configure.
2667 Tom Tromey <tromey@cygnus.com>
2668 * src/Makefile.am: Tweaks for installing multilibs.
2670 2000-02-17 Benjamin Kosnik <bkoz@cygnus.com>
2673 (toolexeclib_LTLIBRARIES): Use this instead of lib_LTLIBRARIES.
2674 Add USE_LIBDIR bits here, not...
2675 * src/Makefile.in: Regenerate.
2676 * Makefile.am: ...here.
2677 * Makefile.in: Regenerate.
2679 2000-02-17 Benjamin Kosnik <bkoz@gnu.org>
2681 * acinclude.m4 (LIBS): Fix typos.
2682 * configure.in: _GLIBCPP_BUGGY_FLOAT_COMPLEX,
2683 _GLIBCPP_BUGGY_COMPLEX for crosses.
2684 * src/Makefile.am (std_headers): Add libio.h as install include,
2686 * src/Makefile.in: Regenerate.
2688 * mkcheck.in: Add bits to set CXX to cross compiler.
2690 * src/complex_io.cc: Tweak.
2691 * configure.in: _GLIBCPP_BUGGY_COMPLEX for crosses.
2692 * configure: Regenerate.
2694 * config/newlib/ctype.cc: Tweaks.
2695 * config/newlib/bits/ctype_base.h (ctype_base): Set mask to char,
2697 * src/complex_io.cc (operator>>(istream, complex): Define out if
2700 2000-02-16 Benjamin Kosnik <bkoz@cygnus.com>
2702 * config/newlib/bits/ctype_base.h: Correct _S_table.
2704 Reconfigure ctype support for "C" libraries that don't use arrays.
2705 * testsuite/22_locale/ctype_char_members.cc: New file. Test for
2706 basic ctype<char> functionality.
2707 * src/locale.cc: Move host-specific ctype functions that are not
2708 inlines to config/*/ctype.cc files.
2709 (ctype<char>::do_tolower): For instance.
2710 (ctype<char>::do_toupper): For instance.
2711 (ctype<wchar_t>::do_tolower): For instance.
2712 (ctype<wchar_t>::do_toupper): For instance.
2713 * config/gnu-linux/ctype.cc: Modify.
2714 * config/default/ctype.cc: Modify.
2715 * config/newlib/ctype.cc: Modify.
2716 * config/solaris/solaris2.6/ctype.cc: Modify.
2717 * config/solaris/solaris2.7/ctype.cc: Modify.
2719 * bits/locale_facets.h (ctype<char>::is): Mark inline, move
2721 (ctype<char>::scan_is): Here too.
2722 (ctype<char>::scan_not): Here too.
2723 Move out of line defs to config/*/bits/ctype_specializations.h.
2724 * config/gnu-linux/bits/ctype_specializations.h: ...here. New file.
2725 * config/default/bits/ctype_specializations.h: ...here. New file.
2726 * config/newlib/bits/ctype_specializations.h: ...here. New file.
2727 * config/solaris/solaris2.6/bits/ctype_specializations.h: New file.
2728 * config/solaris/solaris2.7/bits/ctype_specializations.h: New file.
2729 * src/Makefile.am (headers): Add ctype_specializations.h.
2730 * src/Makefile.in: Regenerate.
2732 Aaron Weiss <weiss@clearway.com>
2733 * Makefile.am (AM_MAKEFLAGS): Add NM_FOR_BUILD, NM_FOR_TARGET, and
2734 CONFIG_NM for Solaris builds.
2735 * Makefile.in: Regenerate.
2737 * src/locale.cc: Tweak formatting.
2739 2000-02-15 Benjamin Kosnik <bkoz@cygnus.com>
2741 Jim Parsons <parsons@clearway.com>
2742 * testsuite/27_io/istream_unformatted.cc (test06): Add test.
2743 * bits/istream.tcc (read): Set failbit if !good(). Don't increment
2747 Michel Decima <michel.decima@cnet.francetelecom.fr>
2748 * testsuite/27_io/streambuf.cc: Add test.
2749 * bits/streambuf.tcc (xsgetn): Don't test for valid mode.
2752 * src/Makefile.am (AM_CXXFLAGS): Pass down AC_CXXFLAGS,
2753 OPTIMIZE_CXXFLAGS, etc. So --enable-debug and --enable-namespaces
2754 will work correctly, for instance.
2755 * src/Makefile.in: Regenerate.
2757 * bits/locale_facets.h: Fix merge error.
2758 (num_put::put(unsigned long long): And here.
2759 * mknumeric_limits (trait_name): Same.
2761 2000-02-15 Chip Salzenberg <chip@valinux.com>
2763 Support 'configure --enable-long-long'.
2764 * bits/c++config.h (_GLIBCPP_USE_LONG_LONG): Remove.
2765 * stl/bits/stl_config.h (__STL_LONG_LONG): Remove '#if 0'.
2766 * acconfig.h (_GLIBCPP_USE_LONG_LONG): Add. Default to undef.
2767 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Define flag macro.
2768 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Use it.
2770 * aclocal.m4: Regenerate.
2771 * config.h.in: Regenerate.
2772 * configure: Regenerate.
2774 2000-02-15 Chip Salzenberg <chip@valinux.com>
2776 Improve (complete?) 'long long' support.
2777 * mknumeric_limits: Call $CXX with $CPPFLAGS. Define statics
2778 for {,unsigned} long long if the limits header declares them.
2779 * src/gen-num-limits.cc: Include <bits/c++config.h> early.
2780 (__USE_GNU, _GNU_SOURCE): Define if _GLIBC_USE_LONG_LONG.
2781 (long long, unsigned long long): Gen limits if _GLIBC_USE_LONG_LONG.
2782 * bits/locale_facets.h (num_get<>::get(..., long long &)): Define.
2783 (num_put<>::put(..., long long)): Likewise.
2784 (num_put<>::put(..., unsigned long long)): Likewise.
2785 * bits/locale_facets.tcc (_S_format): Rename from _S_format_long.
2786 Templatize last parameter to support 'long long'.
2787 (num_put<>::put(...)): Call _S_format with new name.
2788 (num_put<>::put(..., long long)): Define.
2789 (num_put<>::put(..., unsigned long long)): Likewise.
2790 * src/locale-inst.cc (_S_format): Instantiate under new name.
2792 2000-02-15 Petter Urkedal <petter@matfys.lth.se>
2794 * src/complex.cc (operator<<, operator>>): Moved from here...
2795 * src/complex_io.cc: ...to new file.
2796 (operator>>): Stub replaced by the real thing.
2797 * src/Makefile.am (sources): Inserted complex_io.cc.
2798 * src/Makefile.in: Regenerate.
2799 * testsuite/26_numerics/complex_inserters_extractors.cc: Check it.
2801 2000-02-14 Benjamin Kosnik <bkoz@gnu.org>
2803 Add in ctype information for newlib "C" libraries.
2804 * config/newlib: New directory
2805 * config/newlib/bits/ctype_base.h: New file.
2806 * config/newlib/ctype.cc: New file.
2808 * ctype/config/linux/*: Rename, move to...
2809 * ctype/config/gnu-linux/*: Here.
2811 Finish off multilib work.
2812 * configure.in: Don't set CXX if not Canadian cross.
2813 * configure: Regenerate.
2814 * acinclude.m4 (GLIBCPP_CHECK_LIBIO): Tweak messages.
2815 * aclocal.m4: Regenerate.
2816 * config.h.in: Regenerate.
2818 * install-sh: Remove, as AC_CONFIG_AUX_DIR(..) picks this out of
2819 the top-level gcc directory now.
2820 * mkinstalldirs: Remove.
2823 * ltmain.sh: Remove.
2824 * config.guess: Remove.
2825 * config.sub: Remove.
2827 2000-02-13 Benjamin Kosnik <bkoz@cygnus.com>
2829 * configure.in (glibcpp_basedir): Add glibcpp_basedir.
2830 * Makefile.am: Move mutlilib stuff to src/Makefile.am.
2831 * Makefile.in: Regenerate.
2832 * src/Makefile.am: Add multilib bits.
2833 * src/Makefile.in: Regenerate.
2835 2000-02-12 Benjamin Kosnik <bkoz@cygnus.com>
2837 * configure.in: Clean, add some multilib support.
2838 * configure: Regenerate.
2839 * configure.host: New file.
2841 * acinclude.m4: GLIBCPP_CHECK_LIBIO. Take bits from configure.in and
2842 roll a new function, checks for presence of libio.
2843 GLIBCPP_CHECK_COMPILER_VERSION: Same.
2844 GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT: Same.
2845 GLIBCPP_CHECK_MATH_SUPPORT: Same.
2846 GLIBCPP_CHECK_WCHAR_T_SUPPORT: Same.
2847 GLIBCPP_CHECK_LIBIO: Same.
2848 GLIBCPP_CHECK_CTYPE: Same.
2849 * aclocal.m4: Regenerate.
2850 * config.h.in: Regenerate.
2852 * Makefile.am: Tweaks.
2853 * Makefile.in: Regenerate.
2855 2000-02-11 Benjamin Kosnik <bkoz@cygnus.com>
2857 * configure.in: Make outputing the libio/Makefile
2858 conditional. Haha, yeah right. Anyway, we instead do this thing
2859 where if libio is found, then we build a null library, as there is
2860 no point in duplicating the found libio.
2861 * Makefile.am: Tweak.
2862 * Makefile: Regenerate.
2863 * libio/Makefile.am: Add _G_config.h stuff. Now cross compilers
2864 are happy happy happy.
2865 * libio/Makefile.am: Regenerate.
2866 * libio/gen-params: New file.
2867 * src/Makefile.am: Make libio.la non-conditional, as it is now a
2868 null library if it's not needed. At least we are being consistent,
2869 if not as elegant as we could be.
2870 * src/Makefile: Regenerate.
2872 2000-02-10 Benjamin Kosnik <bkoz@gnu.org>
2874 * Makefile.am (SUBDIRS): Add libio again.
2875 * Makefile.in: Regenerate.
2876 * configure.in (BUILD_LIBIO_INCLUDE): And here.
2877 (AC_OUTPUT): Generate libio/Makefile again.
2878 * configure: Regnerate.
2879 * src/Makefile.am (libstdc___la_LIBADD): Change path so that
2880 libio.la is referring back to the libio subdir again.
2881 (LIBIO_INCLUDES): And here.
2882 * src/Makefile.in: Regenerate.
2884 2000-02-09 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
2886 * math/complex-stub.h: Missed one. Change __mycabs* to cabs*.
2888 2000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
2890 * bits/valarray_array.h (<bits/std_new.h>): #include.
2891 (__valarray_get_memory): New function.
2892 (__valarray_release_memory): Likewise.
2893 (__valarray_default_construct): New functions.
2894 (__valarray_fill_construct): New function.
2895 (__valarray_copy_construct): New funstions.
2896 (__valarray_destroy_elements): New function.
2898 * bits/valarray_array.tcc (__valarray_copy_construct): New
2901 * bits/std_valarray.h (valarray<>::valarray): Use
2902 __valarray_get_memory and __valarray_fill_construct,
2903 __valarray_copy_construct, __valarray_default_construct to
2904 properly construct valarrays.
2905 (valarray<>::~valarray): Use __valarray_destroy_elements to
2906 destroy elements and __valarray_release_memory to return memory.
2907 (valarray<>::shift): Tweak.
2908 (valarray<>::cshift): Likewise.
2909 (valarray<>::resize): Robustify.
2911 2000-02-09 Benjamin Kosnik <bkoz@cygnus.com>
2913 * mknumeric_limits (XCOMPILE): Add support for cross compiling.
2914 * bits/limits_generic.h: New file, defaults.
2915 * src/limits_generic.cc: New file, defaults.
2916 * configure.in (LIBS): Run mknumeric_limits at configure time.
2917 * acconfig.h: Remove PACKAGE VERSION HAVE_COMPLEX
2918 HAVE_LC_MESSAGES, tidy, clean, etc.
2919 * src/Makefile.am (geberated_sources): Remove.
2921 * bits/fpos.h: Use _GLIBCPP_USE_LIBIO guards for libio typenames
2922 (_IO_off_t, _IO_ssize_t)
2924 * src/complex.cc: Use glibc's <complex.h> if
2925 possible. . . apparently this was not being done before. Include
2927 (abs): Enable cabs if it's around, instead of mycabs.
2928 * src/complexf.cc (FCT): Add global scope to match complex.cc.
2929 * src/complexl.cc (FCT): Same.
2930 * math/Makefile.am (EXTRA_LONG_DOUBLE_yes): Change mycabsl to cabsl.
2931 (libmath_la_SOURCES): And here.
2932 * math/(mycabs.c, mycabsf.c, mycabsl.c): Move to. . .
2933 * math/(cabs.c, cabsf.c, cabsl.c): . . . Here.
2934 * math/complex-stub.h: Move c_log declarations into. . .
2935 * math/mathconf.h: Here. This is because glibc's <complex.h>
2936 declares cclog, not c_log. The case of the dueling standards. . .
2937 * math/mathconf.h: Add _GLIBCPP_HAVE_* to macros.
2938 * math/Makefile.am: Change.
2939 * math/nan.c (nan): Change signature.
2940 * math/mathconf.h (NAN): Same.
2941 * math/complex-stub.h (nan): And here.
2943 * Makefile.am (rebuild-stamp): Remove libio and libio
2944 dependancies. Plan to take out libio subdir and just merge with
2945 libio in top level gcc directory. Of course, this assumes there is
2946 a libio in the top level directory (ie ../src_dir). This will
2947 probably change the way this library is configured by default.
2950 2000-02-09 Chip Salzenberg <chip@valinux.com>
2952 * localefwd.h (locale): Make public: facet, id, category.
2954 2000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
2956 * testsuite/26_numerics/buggy_complex.cc: Fix Origin:.
2958 * acinclude.m4: Patch only once!
2960 2000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
2962 * testsuite/26_numerics/buggy_complex.cc: New file.
2964 2000-02-05 Petter Urkedal <petter@matfys.lth.se>
2966 * acinclude.m4: New GLIBCPP_CHECK_COMPLEX_SUPPORT macro. Based
2967 on the 1999-11-21 entries by Mumit Khan.
2968 * configure.in: Use.
2969 * acconfig.h: New _GLIBCPP_BUGGY_COMPLEX macro.
2970 * bits/std_complex.h: Use.
2972 2000-02-04 Philip Martin <pm@corris.dircon.co.uk>
2974 * stl/bits/stl_algobase.h: Add traits based dispatch for
2975 __normal_iterator in the copy_backward()algorithm
2976 * stl/bits/stl_vector.h: Reduce use of __normal_iterator
2979 2000-02-04 Mumit Khan <khan@xraylith.wisc.edu>
2981 * src/gen-num-limits.cc (signal_handler): Work around signal
2982 handling problem on Cygwin.
2983 Thanks to Chris Faylor <cgf@cygnus.com>.
2985 2000-02-03 Benjamin Kosnik <bkoz@cygnus.com>
2987 * configure.in: Add (preliminary) support for cross compiles and
2989 Remove AC_C_BIGENDIAN tests. Why is this necessary? Cross
2990 compilation freaks on this.
2991 * configure: Regenerate.
2992 * src/Makefile.am: Add support for cross compiles.
2993 * src/Makefile: Regenerate.
2994 * Makefile.am: Add support for cross compiles.
2995 * Makefile.in: Regenerate.
2997 2000-02-02 Benjamin Kosnik <bkoz@cygnus.com>
2999 * configure.in (LIBS): Remove unused subdirs.
3000 * configure: Regenerate.
3001 * Makefile.am (SUBDIRS): And here.
3002 * Makefile.in: Regenerate.
3003 * src/Makefile.am (sources): And here.
3004 * src/Makefile.in: Regenerate.
3007 * generic/*: Remove.
3009 * mkcheck.in (INC_PATH): Include $BUILD_DIR before any source dirs.
3011 * libtool: Update to libtool-1.3.4.
3015 * config.guess: Same.
3017 2000-02-02 Benjamin Kosnik <bkoz@cygnus.com>
3018 Alexandre Petit-Bianco <apbianco@cygnus.com>
3020 * mkc++config: New file. Put autoconf macros into _GLIBCPP_
3021 namespace instead of polluting global namespace with duplicate
3023 * configure.in (AC_OUTPUT): Don't need to generate bits/config.h
3025 (AC_OUTPUT_COMMANDS): Make it here.
3026 * configure: Regenerate.
3027 * bits/c++config.h.in (_CPP_CPPCONFIG): Change. Tweak. Remove
3028 endif, as now we will add it manually.
3029 Move to this file. . .
3030 * bits/c++config.h: New file. Same as old c++config.h.in except
3031 the ending macro guard is now appended manually.
3033 * bits/locale_facets.tcc: Change HAVE_* macros to _GLIBCPP_HAVE_*.
3034 * bits/std_cmath.h: Same here.
3035 * bits/std_cwchar.h: And here.
3036 * src/locale.cc: And here.
3037 * src/complexl.cc: And here.
3038 * math/mathconf.h: Change to include "config.h" instead of
3041 2000-02-01 Benjamin Kosnik <bkoz@gnu.org>
3043 * configure.in: Add support for threads. Try a model closer to
3044 libjava, as hopefully if the thread bits are added carefully
3045 enough, the source code will not have gross hacks. Besides, the
3046 libstdc++-v2 model could be easily emulated without the necessity
3047 of linking files in (as currently done)--all that needs to be done
3048 is AC_DEFINE(-D_PTHREADS) etc. However, let's try something
3049 new. . . and see if we arrive at a more elegant solution.
3050 * configure: Regenerated.
3051 * config/threads-no.h: New file.
3052 * config/threads-posix.h: New file.
3053 * src/Makefile.am (myinstallheaders): Install c++threads.h.
3054 * src/Makefile.in: Regenerated.
3056 2000-01-31 Benjamin Kosnik <bkoz@gnu.org>
3058 META-QUESTION: Can we just make a "header.html" file and a
3059 "footer.html" and just include them in all the doc sub-pages. The
3060 duplication of the header info is kind of gross, and weak
3061 considering that if you change order or layout then all this stuff
3062 has to be changed in all the sub-files.
3064 * docs/17_intro/contribute.html: Take out duplicate file info.
3065 * README: Should just contain a link to the docs/index.html
3066 page. Duplicate information removed.
3067 * docs/faq/index.html: Remove indexes into HOWTOS.
3068 * docs/17_intro/howto.html: Make intro and docs part more
3069 centralized. Move intro stuff to documentation.html.
3070 * docs/how.html: Tweak. Does this file need to exist? What calls it?
3071 * docs/README.html: Move documentation files to
3072 documentation.html. Should this file be renamed
3073 "config_and_install.html" as that is what is apparently covered
3075 * docs/install.html: Yes. New file, moved and renamed README.html.
3076 * docs/documentation.html: New file. This is the index file for
3078 * docs/index.html: Edit sidebar order. Insert new link to new
3079 documentation spine, documentation.html.
3081 2000-01-31 Scott Snyder <snyder@fnal.gov>
3083 * bits/istream.tcc (operator>>(istream&, string&)): Set failbit if
3084 we don't extract any characters.
3085 * testsuite/21_strings/inserters_extractors.cc (main): New tests.
3087 2000-01-31 Anders Widell <awl@hem.passagen.se>
3089 * stl/bits/std_bitset.h (_M_do_left_shift): Handle case when shift
3090 step is a multiple of the word size.
3091 (_M_do_right_shift): Same.
3092 * testsuite/23_containers/bitset_shift.cc: New file.
3094 2000-01-31 Nathan Myers <ncm@zembu.com>
3096 * README (Documentation): Add path info, fix typos.
3098 2000-01-26 Benjamin Kosnik <bkoz@redhat.com>
3100 * bits/locale_facets.tcc (num_get::_M_extract): Add the freaking
3101 crazy group checking for numpunct, for real this time. At some
3102 point, the local variable __grp should probably get replaced a
3103 char array, or something a bit more lightweight.
3104 (num_get::do_get(bool)): Simplify. Don't set bool reference to
3105 parsed value unless err isn't failbit.
3106 (num_get::do_get(*)): Same, make consistent.
3108 Nathan Myers <ncm@zembu.com>
3109 Jim Parsons <parsons@clearway.com>
3110 * testsuite/27_io/istream_extractor_arith.cc (test08): Add
3111 more grouping tests, tweak, scold, wine.
3113 2000-01-24 Benjamin Kosnik <bkoz@gnu.org>
3115 * testsuite/27_io/istream_extractor_arith.cc (test07): Add
3117 * bits/locale_facets.tcc (num_get::_M_extract): Change to fix
3118 grouping bugs. Only allow thousands_sep if _M_use_groupings is
3121 via <llewelly@198.dsl.xmission.com>
3122 * stl/bits/stl_vector.h (vector::_M_range_check): Throw
3123 out_of_range instead of range_error.
3125 2000-01-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3127 * bits/std_iomanip.h (setw): Fix typo.
3129 2000-01-14 Benjamin Kosnik <bkoz@gnu.org>
3131 * testsuite/27_io/istream_extractor_arith.cc: Fix.
3132 * bits/locale_facets.tcc (do_get(...void)): Change to strtoul.
3133 * testsuite/27_io/istream_unformatted.cc (test04): Tweak.
3135 2000-01-14 Phil Edwards <pme@sourceware.cygnus.com>
3137 * docs/README.html: Reformat, more installation instructions.
3138 * docs/gccrebuild.html: New file.
3139 * docs/faq/index.html: Update for new testsuite output filenames.
3140 * docs/faq/index.txt: Regenerate.
3142 2000-01-14 Phil Edwards <pme@sourceware.cygnus.com>
3144 * Makefile.am (rebuild-stamp, all-local): New targets.
3145 * Makefile.in: Regenerated.
3146 * acinclude.m4: New macro, GLIBCPP_ENABLE_RELIBGCC.
3147 * aclocal.m4: Regenerated.
3148 * configure.in: Call new macro. Also do some sanity checks
3149 for combinations of --enable's that may not make sense.
3150 * configure: Regenerated.
3152 2000-01-13 Benjamin Kosnik <bkoz@cygnus.com>
3154 * testsuite/27_io/istream_extractor_arith.cc: Add checks for void*.
3155 * bits/locale_facets.tcc (do_get::(...void)): Set fmtflags
3156 correctly for hex-formatted input.
3158 * testsuite/27_io/istream_manip.cc (test01): Fix, as per setting
3159 eofbit instead of eofbit | failbit.
3160 * testsuite/27_io/istream_unformatted.cc (test04): Fix, as
3161 ifstreams now are opened or'd with ios_base::in (as is correct).
3162 * bits/fstream.tcc (filebuf::seekoff): Simplify.
3163 * testsuite/27_io/ios_base_members_static.cc (test01): Fix thinko.
3165 2000-01-12 Benjamin Kosnik <bkoz@gnu.org>
3167 * bits/std_fstream.h: Add ios_base as a friend to basic_filebuf.
3168 * bits/basic_file.h (basic_file::filepos_cur): Remove incorrect
3170 (__basic_file::filepos_valid): Same.
3171 (__basic_file::filepos_beg): Same.
3172 (__baseic_file::get_fileno): New function.
3173 * bits/ios_base.h (ios_base::sync_with_stdio): Implement, including
3174 feedback from LWG 49.
3175 * src/ios.cc: Move definition here.
3176 * testsuite/27_io/ios_base_members_static.cc (test01): Add tests.
3178 * bits/std_sstream.h (_M_really_sync): Simplify argument list. Set
3179 output part of internal buffer based on string size, so that
3180 _M_out_end is set consistently with filebufs. Correct comments.
3181 * bits/sstream.tcc (stringbuf::overflow): Update here too.
3182 * testsuite/27_io/stringbuf.cc: Changes.
3184 2000-01-11 Benjamin Kosnik <bkoz@gnu.org>
3186 * bits/sstream.tcc (seekoff): Set based on end of written buffer,
3188 * testsuite/27_io/stringbuf.cc: Add tests for seekoff(end).
3190 * bits/std_fstream.h (ifstream::open): Add ios_base::in to openmode.
3191 (ofstream::open): Add ios_base::out to openmode.
3193 * bits/locale_facets.tcc (_M_extract): Have consistency between
3194 istream::sentry and extractors, where failbit | eofbit is
3195 set. Don't change this, but instead change. . (do some formatting
3197 * bits/istream.tcc (istream::sentry): Only set eofbit.
3199 2000-01-10 Benjamin Kosnik <bkoz@gnu.org>
3201 * testsuite/27_io/istringstream_members.cc: New file.
3203 2000-01-09 Benjamin Kosnik <bkoz@gnu.org>
3205 * bits/istream.tcc (istream::sentry): Flush.
3207 * configure.in (AC_OUTPUT_COMMANDS): Simplify.
3208 * configure: Regenerate.
3209 * src/Makefile.am (generated_headers): Remove bits/c++config.h so
3210 that make clean will not delete it.
3211 * src/Makefile: Regenerate.
3213 2000-01-07 Phil Edwards <pme@sourceware.cygnus.com>
3215 * mkcheck.in: Use host-specific invocation of size(1);
3216 GNU binutils isn't necessarily there (more's the pity).
3218 2000-01-06 Benjamin Kosnik <bkoz@cygnus.com>
3220 * configure.in (LIBS): Better tests for solaris2.6.
3221 * configure: Regenerate.
3223 <vakatov@ncbi.nlm.nih.gov>
3224 * bits/std_sstream.h: As per libstdc++20.
3226 2000-01-06 Benjamin Kosnik <bkoz@gnu.org>
3228 Break out configuration on solaris.
3229 * configure.in (ctype_solaris): Add in bits for solaris2.6 and 2.7.
3230 * config/solaris/ctype.cc: Delete and move to proper version.
3231 * config/solaris/bits: Same.
3232 * config/solaris/solaris2.5: Add this directory, with subdir bits
3233 and file ctype.cc. Probably doesn't work.
3234 * config/solaris/solaris2.6: Same.
3235 * config/solaris/solaris2.7: Same, as per specs via Phil Edwards.
3237 * Makefile.am: Change paths to mkcheck.
3238 * Makefile: Regenerate.
3239 * configure.in (AC_OUTPUT_COMMANDS): Build mkcheck here.
3240 * configure: Regenerate.
3241 * src/Makefile.am (generated_headers): Add bits/c++config.h.
3243 * mkcheck: Now autogenerated by configure and renamed. . .
3244 * mkcheck.in (INC_PATH): Add glue for ctype_include_dir.
3245 Have longer-style dates.
3246 Raja R Harinath <harinath@cs.umn.edu>
3247 * mkcheck: Change path to #!/usr/clocal/bin/bash.
3249 * docs/README.html: Correct links, maybe. FAQ, install notes, and
3250 general documentation need to be organized around each other, not
3251 fight against each other. . .
3253 2000-01-04 Phil Edwards <pme@sourceware.cygnus.com>
3254 Nicolai Josuttis <nicolai.josuttis@braunschweig.netsurf.de>
3256 * README: Add a note referring to README.html.
3257 * docs/README.html: New file from Nicolai.
3258 * docs/faq/index.html: Move "how to get a copy" to here.
3259 * docs/gentop/footchunk.html: Update.
3260 * docs/gentop/headchunk.html: New links according to
3261 bkoz's idea for "How to..." stuff.
3262 * docs/gentop/thanks: Actually put people here.
3263 * docs/download.html: Regenerated.
3264 * docs/index.html, docs/links.html, docs/mail.html,
3265 docs/status.html, docs/thanks.html, docs/faq/index.txt: Ditto.
3266 * docs/how.html: Ditto. (This file should go away soon.)
3268 1999-12-26 Phil Edwards <pme@sourceware.cygnus.com>
3270 * docs/gentop/status: Add snapshot version column, update
3272 * docs/status.html: Regenerated.
3274 1999-12-26 Phil Edwards <pme@sourceware.cygnus.com>
3276 * docs/faq/index.html: Turn README and RELEASE-NOTES into links
3277 from installation FAQ, and specify location of text files.
3278 * docs/faq/index.txt: Regenerated.
3280 1999-12-23 Phil Edwards <pme@sourceware.cygnus.com>
3282 * docs/gentop/download: Add links to prebuilds for Cygwin/Mingw32.
3283 * docs/download.html: Regenerated.
3285 1999-12-22 Phil Edwards <pme@sourceware.cygnus.com>
3287 * docs/faq/index.html: Update 'what works' for .7 snapshot,
3288 clean up various links.
3289 * docs/faq/index.txt: Regenerated.
3290 * docs/gentop/gentop: Smarter regeneration script.
3291 * docs/gentop/{head,foot}chunk.html: Updated with new
3292 contributors link and mod date.
3293 * docs/gentop/index: Snapshot relase date.
3294 * docs/gentop/thanks: New contributors page added.
3295 * docs/{download,how,index,links,mail,status,thanks}.html:
3296 Regenerated from gentop; thanks.html created.
3298 1999-12-21 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
3300 * bits/c++config.h.in (__GLIBCPP__): 19991221.
3301 * docs/index.html: Add correct information.
3303 * config/irix: New directory.
3304 * config/irix/ctype.cc: Add irix-6.5 info. Not tested.
3305 * config/irix/bits/ctype_base.h: And here.
3307 * config/aix: New directory.
3308 * config/aix/ctype.cc: Add aix-4.2 info. Not tested.
3309 * config/aix/bits/ctype_base.h: And here.
3311 1999-12-21 Philip Martin <pm@corris.dircon.co.uk>
3313 * bits/basic_string.h: Add special case handling for integral
3315 * bits/std_string.h: include type_traits.h
3316 * testsuite/21_strings/ctor_copy_dtor.cc: Tweak.
3318 1999-12-21 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
3320 * bits/fstream.tcc (seekoff): Output buffer based on _M_*_in and
3322 * bits/std_fstream.h (sync): And here.
3323 * testsuite/27_io/filebuf.cc: Revisions.
3324 * testsuite/27_io/filebuf-2.tst: Correct, remove weird character
3325 at the end of the file.
3326 * testsuite/27_io/filebuf-3.tst: Correct.
3328 1999-12-21 Phil Edwards <pedwards@jaj.com>
3330 * docs/gentop/index: Hold off on .7 announcement date.
3331 * docs/index.html: Regenerate.
3333 1999-12-21 Benjamin Kosnik <bkoz@kcygnus.com>
3335 * bits/std_fstream.h (sync): Move _M_file->sync() to
3336 _M_really_overflow().
3337 * bits/fstream.tcc (seekoff): Call sync, not _M_really_overflow so
3338 as to get the _M_file->sync action, which forces the external
3339 buffer to update itself.
3340 (underflow): Same here.
3342 1999-12-21 Phil Edwards <pedwards@jaj.com>
3344 * bits/c++config.h.in: Uncomment _GLIBCPP_USE_NAMESPACES and move...
3345 * acconfig.h: ...to here.
3346 * config.h.in: Regenerate from aclocal.
3347 * acinclude.m4: Add GLIBCPP_ENABLE_DEBUG, GLIBCPP_ENABLE_NAMESPACES.
3348 * aclocal.m4: Regenerate from acinclude.
3349 * configure.in: Use ENABLE macros here.
3350 * configure: Regenerate.
3351 * src/Makefile.am: Use results from ENABLE macros.
3352 * src/Makefile.in: Regenerate.
3354 1999-12-20 Benjamin Kosnik <bkoz@cygnus.com>
3356 * mkcheck (SRC_DIR): Now have to include config/* dir if "make
3357 check" and not "make check-install." Temporarily hack in linux
3360 * bits/std_streambuf.h: Tweaks.
3361 * bits/streambuf.tcc (xsgetn): Tweaks.
3362 * bits/std_fstream.h (sync): Make _M_really_overflow consistent.
3363 * bits/fstream.tcc (filebuf::underflow): Simplify.
3364 * bits/std_sstream.h (streambuf::underflow): Minor change to make
3365 checks for read position precisely implement the standard.
3366 * bits/basic_file.h (filepos_cur): Base this on _offset.
3367 * testsuite/21_strings/inserters_extractors.cc (test05): Tweaks.
3368 * testsuite/27_io/filebuf.cc: Tweak.
3370 1999-12-20 Benjamin Kosnik <bkoz@cygnus.com>
3372 * docs/17_intro/RELEASE-NOTES: Fix typos.
3374 * bits/locale_facets.h (ctype): Modify, use __to_type to abstract
3375 out platform-specific bits.
3376 * config/default/ctype.cc: And here.
3377 * config/defaults/bits/ctype_base.h: And here.
3378 * config/linux/ctype.cc: And here.
3379 * config/linux/bits/ctype_base.h (ctype_base): And here.
3380 * config/solaris/bits/ctype_base.h (ctype_base): Add
3381 __to_type. Comment, as it looks like this is for solaris2.6 and
3382 above: solaris2.5.1 doesn't seem to have the same definitions.
3383 * config/solaris/ctype.cc: And here.
3385 1999-12-19 Benjamin Kosnik <bkoz@cygnus.com>
3386 Ulrich Drepper <drepper@cygnus.com>
3388 * acconfig.h: Remove _GLIBCPP_USE_CTYPE_ISBIT.
3390 * src/locale.cc: Take out platform-specific hacks.
3391 * config/linux/ctype.cc: Put here.
3392 * config/solaris/ctype.cc: Put here.
3393 * config/default/ctype.cc: Put here.
3395 * bits/locale_facets.h: Take out platform-specific hacks.
3396 * config/linux/bits/ctype_base.h: Put here.
3397 * config/solaris/bits/ctype_base.h: Put here.
3398 * config/default/bits/ctype_base.h: Put here.
3400 * configure.in: Bump version.
3401 Add tests for top-level config directory.
3402 * configure: Regenerated.
3403 * src/Makefile.am (INCLUDES): Add platform-specific dir.
3404 * src/Makefile: Regenerate.
3406 1999-12-19 Benjamin Kosnik <bkoz@cygnus.com>
3407 Ulrich Drepper <drepper@cygnus.com>
3409 * bits/locale_facets.h: Hack in solaris support.
3410 * src/locale.cc: Here too.
3412 1999-12-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3414 * docs/17_intro/TODO: Update
3415 * docs/17_intro/RELEASE-NOTES (New): Update.
3417 1999-12-17 Benjamin Kosnik <bkoz@milou.cygnus.com>
3419 * bits/c++config.h.in (__GLIBCPP__): Bump.
3420 * docs/17_intro/RELEASE-NOTES: Update, Gaby please add your stuff.
3421 * docs/17_intro/TODO: Update.
3423 * bits/locale_facets.h: Touch this too.
3424 * bits/localefwd.h: Add typedefs for loooooong vector names.
3425 * bits/locale_facets.tcc (locale::operator()): Need parens.
3426 (has_facet): Simplify.
3427 * src/locale-inst.cc: Add instantiations.
3428 * src/locale.cc: Tweaks.
3430 * bits/std_streambuf.h: Move indeterminates into. .
3431 * bits/std_fstream.h: Here.
3432 * bits/fstream.tcc (underflow): Rewind just for ios_base::out
3434 * bits/sstream.tcc: Very minor formatting tweaks.
3435 * bits/std_streambuf.h (_M_set_determinate): If exclusively an
3436 input buffer, set _M_buf to offset.
3437 * bits/istream.tcc (std): Tweaks.
3438 * testsuite/27_io/istream_unformatted.cc (test05): More tweaks,
3440 * testsuite/27_io/filebuf.cc: Tweaks.
3442 1999-12-17 Phil Edwards <pedwards@jaj.com>
3444 * configure.in: Add OPTLEVEL, -O2 for gcc 2.96+, nothing otherwise.
3445 * configure: Regenerate.
3446 * src/Makefile.am: Use OPTLEVEL in CXXFLAGS.
3447 * src/Makefile.in: Regenerate. Also picks up OTHER_CXXFLAGS rename
3448 to OPTIMIZE_CXXFLAGS from a previous revision (1.96) to Makefile.am.
3450 1999-12-17 Phil Edwards <pedwards@jaj.com>
3452 * docs/21_strings/stringtok_std_h.txt: New algorithm
3453 suggested by Chris King.
3454 * docs/21_strings/howto.html: Link to new version.
3456 1999-12-16 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3458 * bits/valarray_array.h (__valarray_sum): Use operator+=, not
3460 * docs/17_intro/TODO: Update.
3462 1999-12-15 Phil Edwards <pme@sourceware.cygnus.com>
3464 * docs/gentop/footchunk.html: Updated, fixed CRLFs.
3465 * docs/gentop/gentop: Ditto.
3466 * docs/gentop/headchunk.html: Ditto.
3467 * docs/*.html: Regenerated from gentop.
3468 * docs/*/howto.html: Updated as test.
3469 * docs/faq/index.html: Updated, fixed CRLFs.
3470 * docs/faq/index.txt: Regenerated.
3472 1999-12-15 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3474 * mknumeric_limits (OUT_C): restart only if $OUT_C is present.
3476 * bits/std_complex.h
3477 (complex<float>::complex(const complex<double>&),
3478 complex<float>::complex(const complex<long double>&)): Define.
3480 * docs/17_intro/TODO: Update.
3482 1999-12-13 Benjamin Kosnik <bkoz@cygnus.com>
3484 * bits/istream.tcc (seekg): Don't set _M_gcount.
3486 * bits/fstream.tcc (filebuf::underflow): Re-sync
3487 external byte sequence's input buffer only. . .
3488 * testsuite/27_io/istream_unformatted.cc (test04): New tests for
3489 tellg, seekg and filebufs.
3490 (test05): Same for stringbufs.
3491 * testsuite/27_io/istream_unformatted-2.tst: New file.
3492 * testsuite/27_io/istream_unformatted-1.tst: New file.
3493 * testsuite/27_io/istream_unformatted-1.txt: New file.
3494 * testsuite/21_strings/inserters_extractors.cc (test05): Change
3497 1999-12-13 Phil Edwards <pedwards@jaj.com>
3499 * docs/gentop/*: New directory, containing bits for the homepages.
3500 * docs/*.html: Regenerated from gentop.
3501 * docs/*/*.html: Entries added and regenerated.
3503 1999-12-13 Benjamin Kosnik <bkoz@gnu.org>
3505 Efforts to get -O2 to work with -Winline -Werrors.
3506 * bits/valarray_array.h (__valarray_fill(_Tp*, size_t, const
3507 _Tp&): Remove inline declaration, as cannot be inlined and
3508 -Winline -Werror complains. An interesting question is why this
3509 cannot be inlined, as I can see no real reason to disqualify it.
3510 (__valarray_product(const _Tp*, const _Tp*)): Same here.
3511 * bits/std_valarray.h (valarray::operator[](size_t)): Same here.
3513 * docs/17_intro/TODO: Update.
3515 1999-12-12 Benjamin Kosnik <bkoz@gnu.org>
3517 * bits/std_fstream.h (seekpos): Tweaks, fixes. Move definition to
3519 * bits/basic_file.h (filepos_cur()): Make pointers themselves be
3520 the resultant position.
3521 * bits/fstream.tcc (seekoff): Explicitly set return value to
3522 resultant external byte sequence position, not value returned from
3523 _M_file->seekoff. Need to make
3524 (seekpos): New definition.
3526 * bits/istream.tcc (seekg): As per Library Issues List 136, set to
3527 just istream. Necessary, or else tellg will give an invalid stream
3528 position, but seekg will return a valid stream position, which is
3529 not groovy: see testcase addition.
3530 * bits/ostream.tcc (seekp): Same.
3532 * bits/streambuf.tcc (_S_copy_streambufs): Simplify.
3533 * bits/sstream.tcc: Tweaks.
3534 * bits/locale_facets.tcc: Tweaks.
3535 (num_put::do_put(iter_type, ios_base, char_type, const void*)):
3536 Re-write in a way that is easier for the inliner to work with.
3537 * bits/ios_base.h: Use explicit static_cast<int>(...) notation.
3539 1999-12-10 Benjamin Kosnik <bkoz@cygnus.com>
3541 * bits/locale_facets.tcc: Tweaks.
3542 * bits/locale_facets.h (use_facet): Can't inline, remove inline
3544 * bits/localefwd.h: And here.
3545 * bits/std_ostream.h: Tweaks, sentry ctor can't be inlined.
3546 * bits/ostream.tcc: Put here.
3548 Frank Ch. Eigler <fche@cygnus.com>
3549 * src/Makefile.am: Adjust CXXFLAGS, add AM_CXXFLAGS.
3551 1999-12-08 Benjamin Kosnik <bkoz@cygnus.com>
3553 * bits/sstream.tcc (stringbuf::seekoff): Long overdue revamp. Make
3554 in and out buffers update independantly.
3556 * bits/basic_ios.h: Minor formatting.
3557 * bits/fstream.tcc (std): Fix indentation.
3559 1999-12-08 Chip Salzenberg <chip@valinux.com>
3561 * bits/char_traits.h (char_traits<>): Move not_eof() functions
3562 after corresponding eof() functions, so they're easier for the
3564 * bits/locale_facets.h (money_base::__default_pattern): Move
3565 static variable out of inline functions.
3566 (_Moneypunct<>::do_{pos,neg}_format): Use it.
3567 * src/locale-inst.cc (money_base::__default_pattern): Define it.
3569 1999-12-08 Benjamin Kosnik <bkoz@cygnus.com>
3571 * bits/std_fstream.h (filebuf::open): Tweak.
3572 * bits/fstream.tcc (filebuf::seekoff): Simplify, fix.
3573 * bits/std_ios.h: Minor tweaks for headers.
3575 1999-12-06 Benjamin Kosnik <bkoz@gnu.org>
3577 * bits/c++config.h.in (_GLIBCPP_FULLY_COMPLIANT_HEADERS): New macro.
3578 * src/string-inst.cc: Add guards . . .
3579 * src/misc-inst.cc: And here.
3580 * bits/std_sstream.h: And here.
3581 * bits/std_fstream.h: And here.
3582 * bits/std_streambuf.h: And here.
3583 * bits/std_istream.h: And here.
3584 * bits/std_ostream.h: And here.
3586 1999-12-06 Scott Snyder <snyder@fnal.gov>
3588 * bits/istream.tcc (basic_istream::read): Try to handle __n == 0
3590 (basic_istream::readsome): And here as well.
3591 * testsuite/27_io/istream_unformatted.cc: Test a zero-length
3594 1999-12-06 Mumit Khan <khan@xraylith.wisc.edu>
3596 * bits/istream.tcc (basic_istream::ignore): streamsize is not
3597 necessarily an `int'.
3599 1999-12-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3601 * mknumeric_limits: Don't use $CXXFLAGS when building
3602 gen-num-limits. It's definitely wrong to use it since $CXXFLAGS
3603 generally instructs the compiler not to emit template
3604 instantiations and we end up with undefined symbols. Sigh.
3606 1999-12-05 Benjamin Kosnik <bkoz@gnu.org>
3608 * bits/locale_facets.tcc: Tweak.
3609 (_S_format_long): Adjust showpos formatting for hex and oct.
3610 * bits/std_ostream.h (operator<<(short)): Correctly deal with hex
3611 and oct by formatting as unsigned.
3612 (operator<<(int)): Same here.
3613 * bits/ostream.tcc (operator<<(long)): Same.
3614 (operator<<(long long)): Same.
3615 (_S_pad_char): Actually treat ios_base::internal as something
3616 worth doing correctly. Remove const designation on ios argument.
3617 * testsuite/27_io/ios_manip_basefield.cc (test02): Add tests.
3618 * testsuite/27_io/ostream_inserter_arith.cc (test03): Add tests.
3620 1999-12-04 Benjamin Kosnik <bkoz@gnu.org>
3622 * bits/std_sstream.h (streambuf::underflow): Check for mode == in.
3624 1999-12-03 Benjamin Kosnik <bkoz@gnu.org>
3626 * bits/locale_facets.tcc (num_put::do_put(bool): Fix.
3628 * bits/sstream.tcc (streambuf::seekoff): Add parens.
3629 * bits/istream.tcc (istream::get(sb)): Handle exceptional events.
3630 (operator>>(istream, _CharT*)): Change streamsize to int_type.
3631 (operator>>(istream, _CharT&)): Fix typedef'd type to be _CharT.
3632 * bits/ostream.tcc (ostream::operator<<(const char*)): Stub out
3634 (ostream::operator<<(_CharT)): Fix.
3636 * bits/std_sstream.h: Temporarily disable including sstream.tcc to
3637 see if this will increase compile speed.
3638 * bits/std_ostream.h: Likewise. . .
3639 * bits/std_istream.h: And here.
3640 * bits/std_fstream.h: And here.
3641 * src/misc-inst.cc: Add relevant header file includes for
3642 instantiation purposes.
3643 * src/string-inst.cc: And here.
3644 * testsuite/27_io/ostream_inserter_arith.cc: Add test case.
3646 1999-12-02 Benjamin Kosnik <bkoz@gnu.org>
3648 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
3649 * bits/istream.tcc (get(streambuf)): More fixes.
3650 (istream::ignore): Get specific about numeric_limits<int>::max()
3653 * bits/fstream.tcc (filebuf::open): Tweaks for _M_last_overflowed.
3654 (filebuf::close): Same.
3655 * testsuite/27_io/filebuf.cc: Add tests for ios_base::ate.
3657 1999-12-01 Phil Edwards <pedwards@jaj.com>
3659 * mkcheck: Support for compilation/execution timing.
3660 * testsuite/printnow.c: New file.
3662 1999-12-01 Phil Edwards <pedwards@jaj.com>
3664 * bits/std_cwchar.h: Test for _GLIBCPP_USE_WCHAR_T.
3665 * configure.in: Test for presence of wchar.h before testing
3666 for any of its features.
3667 * configure: Regenerate.
3669 1999-11-30 Benjamin Kosnik <bkoz@gnu.org>
3671 Preliminary istream validations complete.
3672 * bits/istream.tcc (istream::getline): Fixes. Tweaks to make
3673 formatting more consistent. Removal of if-statements inside of for
3678 * bits/std_istream.h: Same.
3679 * bits/sstream.tcc (stringbuf::pbackfail): Fix.
3680 * testsuite/27_io/stringbuf.cc: Tweak.
3681 * testsuite/27_io/istream_unformatted.cc (test02): Mo' tests.
3683 * bits/ostream.tcc (ostream::operator<<(arith)): Set badbit, not
3684 failbit on failure, as per 27.6.2.5.2.
3686 * stl/bits/std_vector.h: Allow bool specializations. Should move
3687 ext/std_bvector to bits, not ext, maybe.
3689 1999-11-30 Mumit Khan <khan@xraylith.wisc.edu>
3691 * configure.in: Fix checks for mbstate_t and WCHAR_MIN/MAX.
3692 * configure: Regenerate.
3694 999-11-29 Benjamin Kosnik <bkoz@gnu.org>
3696 * bits/istream.tcc (get(streambuf, char)): Fix.
3697 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
3699 1999-11-29 Scott Snyder <snyder@fnal.gov>
3701 * bits/basic_string.h (append(const _Char*, size_type)): The
3702 length of the appended string is given exactly by the second arg,
3703 regardless of the data in the character array.
3704 * bits/string.tcc (basic_string(const _CharT*, size_type, const
3705 _Alloc&)): Likewise.
3706 * testsuite/21_strings/append.cc (test01): Remove erroneous test
3707 of basic_string::append.
3709 1999-11-29 Chip Salzenberg <chip@valinux.com>
3711 * Makefile.in: Tweaks for CXXFLAGS.
3712 * */Makefile.in: Same.
3714 1999-11-29 Mumit Khan <khan@xraylith.wisc.edu>
3716 * conficd bgure.in: Check for wide character support.
3717 * bits/c++config.h.in (_GLIBC_USE_WCHAR_T): Move from here ...
3718 * acconfig.h (_GLIBC_USE_WCHAR_T): to here.
3719 * bits/string.tcc (wstring::_S_find): Guard wchar_t specialization.
3721 1999-11-29 Mumit Khan <khan@xraylith.wisc.edu>
3723 * acinclude.m4: Fix typo.
3724 * src/complex.cc: Fix macro line continuation.
3726 1999-11-29 Petter Urkedal <petter@matfys.lth.se>
3728 * src/Makefile.am (CXXFLAGS): Add -Wno-format to allow non-
3729 string literals in format, as used in locale-facets.tcc.
3731 1999-11-28 Benjamin Kosnik <bkoz@gnu.org>
3733 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
3734 * bits/istream.tcc (istream::get): Extract to argument minus one.
3735 Various tweaks and fixes.
3737 1999-11-22 Mumit Khan <khan@xraylith.wisc.edu>
3739 * bits/locale_facets.tcc: Workaround for compiler crash on
3742 1999-11-21 Mumit Khan <khan@xraylith.wisc.edu>
3744 * acinclude.m4: New file. New _GLIBCPP_CHECK_FLOAT_SUPPORT macro.
3745 * configure.in: Use.
3746 * acconfig.h: New _GLIBCPP_BUGGY_FLOAT_COMPLEX macro.
3747 * src/complexf.cc: New _GLIBCPP_FLOAT_SPECIALIZATION macro.
3748 * bits/std_complex.h: Use.
3749 * src/complex.cc: Use.
3751 1999-11-19 Mumit Khan <khan@xraylith.wisc.edu>
3753 * testsuite/18_support/numeric_limits.cc: Add missing std:: prefix.
3754 * testsuite/21_strings/inserters_extractors.cc: Likewise.
3755 * testsuite/22_locale/ctype.cc: Likewise.
3756 * testsuite/23_containers/multiset.cc: Likewise.
3757 * testsuite/23_containers/vector_ctor.cc: Likewise.
3758 * testsuite/26_numerics/binary_closure.cc: Likewise.
3759 * testsuite/27_io/fpos.cc: Likewise.
3760 * testsuite/27_io/ios_base_callbacks.cc: Likewise.
3761 * testsuite/27_io/istream_extractor_arith.cc: Likewise.
3762 * testsuite/27_io/istream_extractor_char.cc: Likewise.
3763 * testsuite/27_io/istream_extractor_other.cc: Likewise.
3764 * testsuite/27_io/istream_sentry.cc: Likewise.
3765 * testsuite/27_io/ostream_inserter_char.cc: Likewise.
3766 * testsuite/27_io/ostream_inserter_other.cc: Likewise.
3767 * testsuite/27_io/streambuf.cc: Likewise.
3768 * testsuite/27_io/stringstream.cc: Likewise.
3770 1999-11-19 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3772 * bits/valarray_meta.h: Don't forget to define tanh
3774 1999-11-18 Philip Martin <pm@corris.dircon.co.uk>
3776 * src/stl-inst.cc: Use typedef to refer to iterator
3777 * stl/bits/stl_algobase.h: Add traits based dispatch for
3778 __normal_iterator in the copy()algorithm
3779 * stl/bits/type_traits.h: Add _Is_normal_iterator trait support
3781 1999-11-18 Kevin Ediger <kediger@licor.com>
3783 * src/locale.cc (locale::_Imp::_Imp): Use auto_ptr to make
3784 constructors for locale::_Impl exception safe.
3786 1999-11-18 Scott Snyder <snyder@fnal.gov>
3788 * stl/bits/stl_queue.h: The C++ standard gives the default for the
3789 _Sequence template argument of priority_queue<> as vector<>, not
3792 1999-11-18 Benjamin Kosnik <bkoz@gnu.org>
3794 * bits/std_sstream.h (stringbuf::_M_really_sync): Add __iend as a
3796 * bits/sstream.tcc: Adjust here too.
3798 1999-11-17 Benjamin Kosnik <bkoz@gnu.org>
3800 * bits/sbuf_iter.h (istreambuf_iter::equal): Tweak.
3801 * bits/istream.tcc (operator>>): Replace iostate(0) with
3802 iostate(ios_base::goodbit), which is the same thing, but hopefully
3804 * bits/locale_facets.tcc (do_get(bool)): Streamline, deal with
3805 libraries issue list 17.
3806 (do_gets): Don't set goodbit explicitly, instead only set on
3807 failures as good bit is the default setting.
3808 * bits/ios_base.h (setf): Set correctly.
3809 * bits/fstream.tcc: Tweak.
3810 * bits/std_sstream.h (_M_really_sync): Fix ibuffer positioning for
3811 in|out bufs that are empty. . .
3812 * testsuite/27_io/istream_extractor_arith.cc (test03): Add.
3814 1999-11-16 Benjamin Kosnik <bkoz@gnu.org>
3816 * testsuite/27_io/streambuf.cc (class testbuf): Don't set _M_buf_size.
3817 * bits/std_streambuf.h (setp): Set _M_buf_size, _M_mode.
3818 Add comments "all about _M_buf."
3819 (setg): Set _M_mode.
3821 1999-11-16 Kevin Ediger <kediger@licor.com>
3823 * bits/locale_facets.tcc (_S_build_float_format): New function.
3824 (_S_output_float): New function.
3825 (num_put::do_put(double)): Use 'em.
3826 (num_put::do_put(long double)): Use 'em.
3827 * testsuite/27_io/ostream_inserter_arith.cc: New file.
3829 1999-11-15 Scott Snyder <snyder@fnal.gov>
3831 * bits/basic_file.h: Type of __off parm should be __c_streampos, to
3832 match how libio is calling us.
3833 * src/basic_file.cc (sys_seek): Likewise.
3834 * bits/std_fstream.h (basic_filebuf::sync): Restore sync call.
3836 1999-11-15 Benjamin Kosnik <bkoz@gnu.org>
3838 * docs/17_intro/contribute.html: Add link to assignment form.
3839 * docs/17_intro/libstdc++-assign.txt: New file.
3841 * mkcheck (TESTS_FILE): Move a copy of test files as well as
3844 * bits/std_streambuf.h (_M_buf_bump): New function.
3845 * bits/streambuf.tcc: Mods to support _M_buf_bump.
3846 (xsputn): Here. Also add checks for output valid.
3847 (xsgetn): Add checks for input valid.
3849 (sgetc): Set _M_in_end to _M_buf + _M_buf_end.
3850 * bits/std_sstream.h (_M_really_sync): Set _M_buf.
3851 Set _M_out_end to variable-length-end.
3852 * bits/sstream.tcc (overflow): Use _M_buf_bump.
3855 * bits/fstream.tcc (std): Tweak formatting.
3856 (filebuf::overflow): Simplify.
3857 (filebuf::showmanyc): Same.
3858 (filebuf::underflow): Same.
3859 * testsuite/27_io/filebuf.cc: Fix.
3860 * testsuite/27_io/ostream_inserter_other.cc: Fix.
3861 * testsuite/27_io/ostream_inserter_other-2.tst: New file.
3862 * testsuite/27_io/stringbuf.cc: Tweak.
3863 * testsuite/27_io/streambuf.cc: Tweak.
3864 * testsuite/27_io/istream_extractor_other.cc: Fix.
3866 1999-11-11 Matthias Klose <doko@cs.tu-berlin.de>
3868 * stl_deque.h: Use static_casts<size_type>(signed_type).
3870 1999-11-11 Benjamin Kosnik <bkoz@gnu.org>
3872 Cleanups for callbacks, more regression hunting. Remaining
3873 failures (1) due to last unresolved stringstream issues, not
3875 * bits/std_fstream.h: Revert. Disable call to _M_file->sync as
3876 killing 27_io/filebuf.cc tests. . . need another solution.
3878 * bits/streambuf.tcc (_S_copy_streambufs): Fix.
3879 * testsuite/27_io/istream_extractor_other.cc: Tweak comments.
3881 * bits/basic_ios.h: Add cached facets here. UGH. The standard
3882 foils all attempts at a graceful, minimal implementation.
3883 * bits/basic_ios.tcc: Tweaks.
3884 * bits/istream.tcc: Fix.
3885 * bits/ostream.tcc: Fix.
3886 * bits/std_istream.h: Fix.
3887 * bits/std_ostream.h: Fix.
3888 * src/ios.cc (ios_base::imbue): Set _M_locale_ios before calling
3890 * bits/locale_facets.tcc (std): Minor, minor formatting tweak.
3891 (_S_pad_numeric): Make comprehensible.
3893 1999-11-10 Benjamin Kosnik <bkoz@cygnus.com>
3895 * bits/std_ostream.h: Add callbacks for _M_fnumput.
3896 (_S_ostream_fcache): New function.
3897 Move functions out-of-line.
3898 * bits/ostream.tcc: Put here.
3900 * bits/std_istream.h: Add callbacks for _M_fnumget.
3901 (_S_istream_fcache): New function.
3902 Move functions out-of-line.
3903 * bits/istream.tcc: Put here.
3905 * bits/basic_ios.tcc (basic_ios::imbue): Tweaks, remove call to
3906 _M_call_callbacks(), as ios_base::imbue does this already.
3907 * src/ios.cc (register_callback): Clean.
3908 (_M_call_callbacks): Same.
3909 * bits/ios_base.h: Callback work.
3910 * testsuite/27_io/ios_base_callbacks.cc (test01): New file.
3912 1999-11-10 Benjamin Kosnik <bkoz@cygnus.com>
3913 Matthias Klose <doko@cs.tu-berlin.de>
3915 * stl/ext/stl_rope.h: Fix initialization order.
3917 1999-11-09 Scott Snyder <snyder@fnal.gov>
3919 * bits/std_fstream.h (basic_filebuf::sync): Unconditionally call
3920 _M_file->sync() so that redirection works correctly.
3922 1999-11-09 Benjamin Kosnik <bkoz@gnu.org>
3924 * bits/istream.tcc: Re-order.
3925 * bits/std_istream.h: Fix getline problems.
3926 * testsuite/27_io/istream_unformatted.cc: New tests.
3928 Clean up regressions.
3929 * bits/std_sstream.h: Set initial stringbufs correctly.
3931 1999-11-09 Scott Snyder <snyder@fnal.gov>
3933 * stl_vector.h (_M_range_insert): Fix mixing pointers and
3935 * testsuite/23_containers/vector_modifiers.cc (test01): New file,
3938 1999-11-09 Benjamin Kosnik <bkoz@cygnus.com>
3940 * src/Makefile.am (CXXFLAGS): Add -Winline.
3941 * src/Makefile.in: Regenerate.
3943 1999-11-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3945 * bits/valarray_meta.h (_DEFINE_EXPR_UNARY_FUNCTION): When
3946 building meta-expressions don't forget to take the contained
3949 1999-11-02 Benjamin Kosnik <benjamin@cygnus.com>
3951 * configure: Regenerate.
3953 1999-11-02 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3955 * bits/valarray_meta.h (_Expr<>::sum): Tweak. Use copy-initialization
3957 * bits/valarray_meta.h (min): Likewise.
3958 * bits/valarray_meta.h (max): Likewise.
3960 1999-11-01 Benjamin Kosnik <bkoz@cygnus.com>
3962 * bits/std_sstream.h (_M_really_sync): Take into account in | out bufs.
3963 * bits/std_streambuf.h (_S_copy_streambufs): New function.
3964 * bits/streambuf.tcc: Define.
3965 * bits/istream.tcc (istream::operator>>(streambuf)): Rewrite.
3966 * bits/ostream.tcc (ostream::operator<<(streambuf)): Rewrite.
3967 * testsuite/27_io/ostream_inserter_other.cc: Add tests.
3968 * testsuite/27_io/ostream_inserter_other-1.tst: New file.
3970 * bits/basic_string.h: Explicitly cast npos to unsigned type,
3971 reported by Richard Atterer.
3972 * bits/char_traits.h: For consistency's sake, here too.
3974 * configure.in: Bump version to 2.90.7.
3976 1999-10-31 Benjamin Kosnik <bkoz@cygnus.com>
3978 * testsuite/27_io/ostream_inserter_char-1.tst: Check file output.
3979 * testsuite/27_io/ostream_inserter_char.cc (test05, test01): Add tests.
3980 * bits/streambuf.tcc (xsputn): Treat--size const char for long loops.
3982 * bits/sstream.tcc (seekpos): Tricks, mostly: check _M_mode before
3983 writing into buffer.
3986 1999-10-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3988 * bits/valarray_array.h (__valarray_sum): New function.
3989 * bits/valarray_array.h (__valarray_product): Same.
3991 * bits/std_valarray.h (valarray<T>::product): Comment out.
3992 * bits/std_valarray.h (valarray<T>::sum): Use __valarray_sum
3993 instead of accumulate.
3995 * src/valarray-inst.cc: Remove explicit intantiation of
3996 class multiplies<size_t>, accumulate, valarray<size_t>::product.
3997 * src/valarray-inst.cc (__valarray_product): Instantiate
3999 * src/valarray-inst.cc (__valarray_product(const
4000 valarray<size_t>&)): New function.
4001 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't use
4002 valarray<size_t>::product. Use __valarray_product instead.
4005 1999-10-25 Benjamin Kosnik <bkoz@cygnus.com>
4007 * bits/std_ostream.h (ostream.inserters.char): Correctly pad output.
4008 (_S_pad_char): New function. Not done: ios_base::internal.
4009 * bits/ostream.tcc: Clean for above.
4010 * bits/locale_facets.tcc (_S_fill): Remove ostreambufiterator
4011 specialization that was commented out, as ostreams now have to
4012 correctly deal with padding.
4013 * testsuite/27_io/ostream_inserter_char.cc (main): Add tests.
4015 * testsuite/21_strings/ctor_copy_dtor.cc(test02): Add test case
4016 from mailing list. This is a bug, and should be fixed.
4017 * testsuite/21_strings/inserters_extractors.cc (main): Tweak, fix typo.
4019 1999-10-22 Petter Urkedal <petter@matfys.lth.se>
4021 * stl/bits/stl_numeric.h (__power): Replaced argument name `__opr'
4022 to avoid conflict with gcc name mangling.
4023 * stl/bits/stl_algo.h (__transform): Same.
4025 1999-10-21 Benjamin Kosnik <bkoz@cygnus.com>
4027 * bits/ios_base.h: Change argument names.
4028 * docs/17_intro/BADNAMES: Add __opr.
4030 1999-10-20 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4032 Work on compilation slowdowns from 10-5 to 10-12, which are
4033 related to the _Callback_list inlining/merge-ifcation, which is
4034 still a pending issue, but this stuff is necessary cleanup anyway.
4036 * src/ios.cc: Re-arrange.
4037 * bits/ios_base.h: Tweak.
4038 * bits/basic_ios.tcc: Move out of line definitions here, move
4039 small out-of-line definitions inline.
4040 * bits/basic_ios.h: From here.
4042 * bits/streambuf.tcc (pbackfail, overflow): Move back inline.
4043 * bits/std_streambuf.h: From here.
4045 1999-10-19 Benjamin Kosnik <bkoz@cygnus.com>
4047 * testsuite/27_io/istream_extractor_char.cc: Add tests.
4048 * bits/std_istream.h: Tweaks--set eofbit on eof condition.
4049 * bits/istream.tcc (operator>>(istream&, string&): Remove
4050 vestigial issspace hacks and use ctype::is instead.
4051 (getline): Remove unnecessary loops, fortify and pasteurize.
4054 1999-10-18 Benjamin Kosnik <bkoz@cygnus.com>
4056 * bits/istream.tcc (operator>>): Tweak.
4057 * bits/std_istream.h: Fix according to library issues list 68.
4060 * bits/locale_facets.h: Fix table_size to be non-zero.
4062 1999-10-18 Vadim Egorov <egorovv@HotPOP.com>
4064 * src/basic_file.cc: ifdef instead of comment for binary mode
4066 1999-10-18 Russell Davidson <russell@qed.econ.queensu.ca>
4068 * bits/std_sstream.h: Stringbuf initialization based on actual,
4069 not allocated, size.
4070 * testsuite/21_strings/inserters_extractors.cc (test06): Add test
4073 1999-10-17 Benjamin Kosnik <bkoz@cygnus.com>
4075 * testsuite/26_numerics/c_math.cc (test03): Tweak.
4076 * testsuite/27_io/istream_manip.cc (test01): Corrections due to
4078 * testsuite/21_strings/inserters_extractors.cc (test01): Same.
4080 1999-10-14 Benjamin Kosnik <bkoz@cygnus.com>
4082 * bits/std_istream.h: Tweaks.
4083 * bits/istream.tcc (istream::sentry::sentry()): Simplify, correct
4084 as per issues list addition--set failbit, eof on empty buffers.
4085 * testsuite/27_io/istream_sentry.cc: New file.
4087 1999-10-12 Chris Prince <prince@wcug.wwu.edu>
4089 * bits/std_cstdio.h: Remove Solaris hacks.
4091 1999-10-12 Phil Edwards <philip.edwards@sn.wpafb.af.mil>
4093 * docs/index.html: Fix minor typos and tweaks.
4094 * docs/17_intro/contribute.html: Ditto.
4095 * docs/*/howto.html: Ditto. More "EGCS"->"GCC" conversion, notes on
4096 thread safety and binary I/O, links to external sites.
4097 * docs/faq/index.html: EGCS/GCC cleanup, new entries for Cygwin
4100 1999-10-12 Petter Urkedal <petter@matfys.lth.se>
4102 * bits/std_cmath.h (abs(float)): When ::absf is not present, call
4103 ::fabs(double) rather than ::abs(int).
4105 1999-10-11 Benjamin Kosnik <bkoz@milou.cygnus.com>
4107 * bits/std_streambuf.h: Fix minor blip--should explicitly return
4108 *gptr(), not the result of underflow.
4109 (pbackfail): Conform to default behavior.
4111 * bits/streambuf.tcc: Add out-of-line streambuf members.
4114 * testsuite/27_io/streambuf.cc: New file.
4115 * testsuite/27_io/filebuf.cc: Correct test.
4117 1999-10-08 Benjamin Kosnik <bkoz@haight.constant.com>
4119 * bits/std_cmath.h: Correctly cast int to double.
4120 * testsuite/26_numerics/c_math.cc: Add test.
4122 * mknumeric_limits (OUT_C): Tweaks.
4123 * src/gen-num-limits.cc: Checks for WCHAR_MIN, WCHAR_MAX before
4124 trying to instantiate type_traits<wchar_t>.
4125 * acconfig.h: Add _GLIBCPP_HAS_WCHAR_MIN_MAX.
4126 * configure.in (LIBS): Plus checks for WCHAR_MIN, WCHAR_MAX.
4127 * configure: Regenerate.
4129 1999-10-06 Benjamin Kosnik <bkoz@milou.cygnus.com>
4131 * bits/streambuf.tcc (streambuf::xsgetn): Rewrite.
4132 (streambuf::xsputn): Put in break.
4133 Aiming for parity between these two (mostly) similar functions.
4134 Need to re-write tests.
4136 * bits/ios_base.h (ios_base::_M_copy_base): Remove declaration.
4137 Make data members protected, not private.
4138 * src/ios.cc (ios_base::_M_copy_base): Move _Callback_list into
4139 ios_base.h. As called only once, collapse into . . .
4140 * bits/basic_ios.h (basic_ios::copyfmt): Fix.
4141 (basic_ios::clear): Throw ios_base::failure on occasion.
4142 (basic_ios::exceptions): Fix.
4143 * testsuite/27_io/ios_members.cc (test02): Add tests.
4145 * bits/fpos.h: Default initialize.
4146 * testsuite/27_io/fpos.cc (test03): Add test.
4148 1999-10-04 Russell Davidson <russell@qed.econ.queensu.ca>
4150 * src/basic_file.cc: Fix open modes.
4152 1999-10-04 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4154 * bits/locale_facets.tcc (num_get<>::do_get): Fix typo.
4156 1999-09-23 Benjamin Kosnik <bkoz@milou.cygnus.com>
4158 * bits/streambuf.tcc: Yea. Fix this for real.
4159 * testsuite/27_io/ostream_inserter_other.cc: Add file.
4160 * src/Makefile.*: Regenerate.
4162 1999-09-22 Benjamin Kosnik <bkoz@milou.cygnus.com>
4164 * bits/std_cstdlib.h: Add more linux-specif hacks to the header
4165 files so that stdtof and strtold will be declared. Some hacks
4166 already exits in bits/std_cctype.h -- these should all be removed
4168 * bits/locale_facets.tcc: Add cstring.h include.
4169 _S_format_long: Use long, not int.
4170 Add std_limits.h include, for numeric_limits.
4171 * testsuite/27_io/istream.cc: Make instantiations work when using
4173 * testsuite/27_io/ostream.cc: Same.
4175 1999-09-21 Benjamin Kosnik <bkoz@milou.cygnus.com>
4177 * bits/fpos.h (fpos::operator streamoff): Make const, don't return
4178 a reference. Same for operators == and !=.
4179 * testsuite/27_io/fpos.cc: Add tests.
4181 1999-09-21 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4183 * bits/valarray_array.h: Fix typo.
4185 * mknumeric_limits: Make sure we are regenerating things from
4186 scratch. Otherwise things get redefined. Not good.
4188 1999-09-20 Benjamin Kosnik <bkoz@milou.cygnus.com>
4190 * bits/std_ostream.h: Fix typo.
4191 * bits/std_istream.h: Same.
4192 * bits/std_iomanip.h: Same.
4194 * bits/istream.tcc (sentry::sentry()): Remove optional tie with
4195 ostream, as happens with underflow anyway.
4196 * testsuite/27_io/istream.cc (main): New file.
4197 * testsuite/27_io/ostream.cc (main): New file.
4198 * testsuite/27_io/istream_unformatted.cc: Add tests.
4200 * src/Makefile.am (headers): Add new file.
4201 * src/Makefile.in (headers): Regenerated.
4203 * bits/basic_ios.h: Remove local-related files.
4204 * bits/basic_ios.tcc: New file, add locale-related items.
4205 * src/misc-inst.cc: Add include of basic_ios.tcc, as a hack for now.
4206 * testsuite/27_io/ios_members_static.cc: Change to
4207 * testsuite/27_io/ios_base_members_static.cc: This.
4208 * testsuite/27_io/ios_members.cc: New file.
4209 * testsuite/27_io/stdios_basefield_manip: Change to
4210 * testsuite/27_io/ios_manip_basefield.cc: This.
4211 * testsuite/27_io/stdios_fmtflags_manip: Change to
4212 * testsuite/27_io/ios_manip_fmtflags.cc: This.
4214 * bits/fpos.h: Fix discarding qualifiers on this when
4215 using _M_position with a const fpos.
4216 * bits/std_iosfwd.h: Tweak.
4217 * testsuite/27_io/fpos.cc: New file.
4219 1999-09-17 Benjamin Kosnik <bkoz@milou.cygnus.com>
4221 * bits/streambuf.tcc (streambuf::xsputn): Tweak.
4222 * bits/ostream.tcc: Tweak.
4223 * testsuite/21_strings/inserters_extractors.cc (test04, test05):
4224 Add new regressions.
4226 1999-09-16 Benjamin Kosnik <bkoz@milou.cygnus.com>
4228 * bits/basic_ios.h: Inline, tweak.
4229 * bits/fstream.tcc (basic_filebuf::_M_really_overflow): Tweak,
4230 pass back accurate return value to basic_filebuf::overflow.
4231 * bits/streambuf.tcc (streambuf::xsputn): Fix overflow accounting.
4232 This fixes sstream problems reported in libstdc++/9, but screws up
4233 filebufs. That solution is pending.
4235 1999-09-15 Vadim Egorov <egorovv@1c.ru>
4237 * bits/streambuf.tcc (basic_streambuf::xsputn): Add check for
4239 * testsuite/21_strings/inserters_extractors.cc (test01): Add test.
4241 1999-09-08 Benjamin Kosnik <bkoz@milou.cygnus.com>
4243 * bits/c++config.h.in: Add emacs hints.
4245 * stl/bits/stl_range_errors.h: Don't define here, for now define
4246 in stdexcept.cc along with string inlines __length_error, etc.
4247 * src/stdexcept.cc: Define here.
4248 * stl/bits/stl_config.h (__STL_CAN_THROW_RANGE_ERRORS): Enable, so
4249 at(size_t) will be declared/defined.
4250 (__STL_THREADS): Fix mess surrounding use of this, enable.
4252 1999-08-31 Benjamin Kosnik <bkoz@milou.cygnus.com>
4254 * testsuite/27_io/istream_extractor_arith.cc: Fix.
4255 * src/localename.cc: Tweak formatting, fix assignment to
4256 const compiler errors.
4258 1999-08-25 Benjamin Kosnik <bkoz@cygnus.com>
4260 * acconfig.h: Add absf, cosf.
4261 * configure.in (use_builtin_sinf): Same.
4262 * configure: Regenerate.
4263 * bits/std_cmath.h: Add mess of defines.
4264 * testsuite/26_numerics/modf_float.cc: Change to
4265 * testsuite/26_numerics/c_math.cc: This.
4267 * src/locale.cc: Change.
4268 * bits/locale_facets.h: Fix.
4269 * testsuite/22_locale/ctype.cc: Add temporary tests.
4271 1999-08-24 Benjamin Kosnik <bkoz@cygnus.com>
4273 * bits/fpos.h: Test.
4275 * docs/index.html: Add powerpc-linux-gnu results with gcc-2.95.1.
4276 Fix database name for "libstdc++".
4278 1999-08-23 Benjamin Kosnik <bkoz@cygnus.com>
4280 * mknumeric_limits (numeric_limits): Add default definitions to
4282 * testsuite/18_support/numeric_limits.cc: New file.
4284 1999-08-18 Benjamin Kosnik <bkoz@cygnus.com>
4286 * bits/std_istream.h: Correct initialization.
4287 * bits/std_ostream.h: Likewise.
4288 * bits/std_sstream.h: Likewise.
4289 * bits/std_fstream.h: Likewise.
4290 * testsuite/27_io/stringstream.cc: Add test case.
4292 * bits/std_sstream.h: Replace ____string_type with __string_type.
4293 * bits/basic_ios.h (basic_ios::rdbuf(sb*): Call clear(), as required.
4294 * bits/std_ostream.h: Tweak dtor.
4296 1999-08-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4298 * src/Makefile.am (CXXFLAGS): Add -O2.
4299 * src/Makefile.in: Likewise.
4301 * src/gen-num-limits.cc: Conditionally allow wchar_t. See what
4303 * mknumeric_limits (numeric_limits): Uglify.
4305 * bits/std_istream.h: Fix warnings.
4306 * bits/locale_facets.tcc: Collateral damage from
4307 char_traits<char>::int_type change.
4309 * testsuite/27_io/istream_extractor_char.cc: Terminate strings.
4311 1999-08-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4313 * docs/index.html: Add mailing list form.
4314 * docs/27_io/howto.html: Add link to iostreams_hierarchy.pdf.
4316 1999-08-16 Benjamin Kosnik <bkoz@cygnus.com>
4318 * bits/streambuf.tcc (streambuf::xsputn): Allow copies to continue
4319 if overflow successfully allocates more space.
4320 * bits/std_sstream.h: Adjust comments.
4321 * bits/sstream.tcc (stringbuf::overflow): Copy buffer into string
4322 before overflow forces a resize.
4323 * testsuite/27_io/ostream_inserter_char.cc: New file.
4325 * bits/std_fstream.h: Remove declaration.
4326 * bits/fstream.tcc: Move uflow.
4327 * bits/std_streambuf.h: To here.
4328 * bits/streambuf.tcc: Make consistent.
4330 * src/Makefile.am (WERROR): Enable.
4331 * src/Makefile.in: Regenerate.
4332 * bits/sbuf_iter.h: Tweak.
4333 * bits/char_traits.h: (char_traits<wchar_t>::eof): Use WEOF.
4334 Use unsigned int as char_traits<char>::int_type.
4336 * bits/ostream.tcc (ostream::putc(char)): Tweak.
4337 * testsuite/27_io/iostream_objects.cc: Terminate string.
4338 Move cin::operator>>(char*) test to extractor_char.cc.
4339 * testsuite/27_io/stringstream.cc: Add stringstream instantiation.
4340 * bits/std_istream.h (basic_iostream): Make explicit definition
4342 * bits/std_sstream.h: Fix typos.
4343 * bits/fstream.tcc (_M_init_filebuf): Set to indeterminate for
4344 basic_filebuf ctor with fileno open arguments. Thus, filebufs are
4345 initialized in a consistent manner, no matter if the underlying
4346 FILE/bit bucket is a tty or a text file or some other imaginary
4347 construct. This and setting _M_buf_size to 1 for cin allows
4348 istream::get(char) to work in a manner consistent with what others
4351 * docs/index.html: Link Stroustrup's C++ page.
4353 1999-08-12 Michael Cook <cook@sightpath.com>
4355 * bits/fstream.tcc: Fix signed/unsigned -Wall warning.
4356 * bits/istream.tcc: ditto.
4357 * bits/sbuf_iter.h: ditto.
4358 * bits/std_istream.h: ditto.
4359 * src/Makefile.am: Add -Wall to CXXFLAGS.
4360 * src/Makefile.in: ditto.
4362 1999-08-12 Benjamin Kosnik <bkoz@tintin.cygnus.com>
4363 Russell Davidson <russell@ehess.cnrs-mrs.fr>
4365 * bits/locale_facets.tcc (_M_extract): Finish off patch from yesterday.
4366 * src/Makefile.am (myinstallheaders): Tweak, remove PHONY.
4368 1999-08-11 Benjamin Kosnik <bkoz@tintin.cygnus.com>
4370 * testsuite/27_io/istream_unformatted.cc: New file.
4372 * testsuite/27_io/istream_extractor_arith.cc (test02): Add more
4373 elaborate tests for int types with noskipws.
4375 * testsuite/27_io/istream_extractor_other-1.txt: New file.
4376 * testsuite/27_io/istream_extractor_other-1.tst: New file.
4377 * testsuite/27_io/istream_extractor_other-2.tst: New file.
4378 * testsuite/27_io/istream_extractor_other.cc: Add tests.
4379 * bits/istream.tcc: Fix operator>>(streambuf*).
4381 * testsuite/23_containers/vector_ctor.cc (test01): Add.
4383 * docs/index.html: Remove references to egcs.
4384 * docs/17_intro/DESIGN: Same.
4385 * docs/17_intro/contribute.html: Same.
4386 * docs/17_intro/RELEASE-NOTES: Ditto.
4387 * docs/17_intro/howto.html: Same here.
4389 Russell Davidson <russell@ehess.cnrs-mrs.fr>
4390 * stl/bits/stl_vector.h (_M_insert_aux):
4391 * bits/locale_facets.tcc (_M_extract): Tweaks for preliminary
4392 decimal/floating point support.
4393 * bits/locale_facets.h: Change _M_extract prototype.
4394 * bits/char_traits.h (char_traits::to_int_type): Cast to unsigned.
4395 * bits/std_istream.h (istream::read(char_type, streamsize)): Fix.
4397 1999-08-10 Michael Cook <cook@sightpath.com>
4399 * bits/fstream.tcc: Fix for unused variable warning (-Wall).
4400 * bits/ios_base.h: ditto.
4401 * bits/istream.tcc: ditto.
4402 * bits/locale_facets.h: ditto.
4403 * bits/locale_facets.tcc: ditto.
4404 * bits/std_streambuf.h: ditto.
4405 * src/basic_file.cc: ditto.
4406 * src/locale.cc: ditto.
4407 * src/localename.cc: ditto.
4409 1999-08-10 Kirat Singh <singhki@jany.gs.com>
4411 * bits/std_iomanip.h: Inline.
4413 1999-08-10 Alfred Minarik <a8601248@unet.univie.ac.at>
4415 * bits/std_streambuf.h: Correct member initialization order.
4416 * src/ios.cc: Add definitions for ios_base data members.
4418 1999-08-06 Phil Edwards <pedwards@ball.com>
4420 * docs/index.html: Seventh snapshot updates. Minor tweaks.
4421 * docs/faq/index.html: Ditto. Removed bugs sections that have
4422 been fixed for a long time... Lots of "egcs" references still
4424 * docs/faq/index.txt: Regenerated.
4426 1999-08-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4427 Andreas Amann <amann@physik.tu-berlin.de>
4429 * testsuite/26_numerics/binary_closure.cc (main): new test.
4431 1999-07-29 Andreas Amann <amann@physik.tu-berlin.de>
4433 * bits/valarray_meta.h: (_BinClos<>::_Binclos): fix typo causing
4436 1999-08-04 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4438 * docs/index.html (host): Put in testing status.
4440 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
4442 * docs/index.html: Update for libstdc++-2.90.6 release.
4443 * docs/17_intro/RELEASE-NOTES (New): Update.
4444 * docs/17_intro/BUGS: Update.
4445 * bits/c++config.h.in (__GLIBCPP__): Bump version number.
4446 * README (file): Update.
4448 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
4450 * src/Makefile.am (generated_headers): Remove bits/c++config.h as
4452 ($(generated_headers)): Same.
4453 * src/gen-c++config.cc: Remove, rename to
4454 * bits/c++config.h.in: New file. Bump version number.
4455 * configure.in: Generate bits/c++config.h at configure time.
4456 * math/mathconf.h: include bits/c++config.h, not config.h.
4458 * bits/std_cmath.h: Fix remaining link error for solaris shared
4459 builds. _GLIBCPP_HAS_BUILTIN_SINF has to be disabled for the time
4460 being, as on Solaris this silently calls sinf, which does not
4463 * src/complex.cc: More tweaks.
4465 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
4467 * src/complex.cc: Same.
4468 * math/complex-stub.h: Change.
4469 * math/c_log10*.c: Change back to clog10*.c.
4471 * configure.in (NEED_C_LOG10): Delete.
4472 * configure: Regenerate.
4473 * math/Makefile.am: Change.
4475 1999-07-30 Benjamin Kosnik <bkoz@cygnus.com>
4477 * math/Makefile.am: Fix, for real.
4478 * configure.in (use_builtin_sinf): Ok, make autoconf solution.
4479 * math/clog.c: Move to c_log.c.
4480 * math/clog*: Ditto.
4481 * math/c_log10l.c (c_log10l): Change function name.
4482 * math/c_log10f.c (c_log10f): Change function name.
4483 * math/c_log10.c (c_log10): Change function name.
4485 * math/complex-stub.h: Change to c_log* variants.
4486 * src/complex.cc: And here.
4488 1999-07-29 Benjamin Kosnik <bkoz@cygnus.com>
4490 * testsuite/27_io/istream_extractor_other.cc: Correct last test.
4491 * bits/sstream.tcc (stringbuf::overflow): Don't update the input
4492 sequence, just the output sequence.
4493 * bits/std_sstream.h (stringbuf::str()): Only in stringbufs return
4494 the original string, all others use complicated heuristic.
4496 * src/complex.cc: Assume c_log10.
4497 * math/Makefile.am (EXTRA_yes): Fix c_log/c_logf unresolved
4498 symbols in shared libraries by making c_log/c_log10 part of the
4499 "must cmpile" sources. This may not work on solaris, must check.
4501 1999-07-29 Benjamin Kosnik <bkoz@cygnus.com>
4503 * bits/istream.tcc (operator>>(streambuf*)): Re-do.
4504 * bits/std_istream.h: Fix char extractors.
4505 * testsuite/27_io/istream_extractor_char.cc: Change.
4506 * testsuite/27_io/istream_extractor_other.cc: Add tests.
4508 1999-07-28 Benjamin Kosnik <bkoz@cygnus.com>
4510 * bits/std_cctype.h: Fix for solaris2.6 builds.
4512 * bits/istream.tcc: Fix, thanks Alfred.
4513 * bits/std_istream.h: Formatting changes.
4515 * libio/Makefile.am (libio_la_SOURCES): Remove cleanup.c, so that
4516 _IO_cleanup will not be undefined.
4517 * libio/*: Regenerate.
4519 * bits/basic_string.h: More namespace-safety stuff.
4520 * testsuite/27_io/istream_extractor_char.cc: Fix.
4521 * testsuite/27_io/istream_extractor_arith.cc: Fix.
4522 * testsuite/27_io/iostream_objects.cc: Fix.
4523 * testsuite/27_io/ios_ctor.cc: Fix.
4524 * testsuite/27_io/istream_manip.cc: Make namespace safe.
4525 * testsuite/27_io/istream_extractor_other.cc: New file.
4527 * mkcheck (TESTS_FILE): Tweaks.
4529 1999-07-27 Benjamin Kosnik <bkoz@cygnus.com>
4531 * src/gen-c++config.cc: Note here, change version.
4532 * acconfig.h( _GLIBCPP_USE_CTYPE_ISBIT): New macro.
4533 * src/locale.cc: Used here.
4534 * configure.in (use_builtin_sinf): Check for _ISBit using autoconf.
4536 * aclocal.m4: Regenerate by running `aclocal -I m4.`
4538 * bits/istream.tcc: Fix.
4539 * bits/std_istream.h: More changes to extractors.
4541 * testsuite/27_io/istream_extractor_char.cc: More.
4542 * testsuite/21_strings/inserters_extractors.cc (test01): Fix logic
4543 error in testsuite construction.
4545 * bits/std_istream.h: Partially revert.
4546 * bits/std_ostream.h: Same.
4547 * bits/std_sstream.h: Revert.
4549 1999-07-26 Benjamin Kosnik <bkoz@cygnus.com>
4551 * bits/std_sstream.h: Change initialization.
4552 * bits/std_ostream.h: Make default ctor/assign/operator= private.
4553 * bits/std_istream.h: Same, also correct sentry args.
4554 * bits/istream.tcc: Add correct sentry args.
4556 * testsuite/27_io/istream_extractor_char.cc: New file.
4557 * testsuite/27_io/istream_extractor_arith.cc: New file, old file,
4558 name changes making me dizzy.
4560 1999-07-26 Ulrich Drepper <drepper@happy.cygnus.com>
4561 Benjamin Kosnik <bkoz@cygnus.com>
4563 * aclocal.m4, config.guess, config.sub, ltconfig ltmain.sh: Update
4566 1999-07-26 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4568 * bits/std_complex.h: Tweak. Make the primary template class
4569 complex work with user-defined numerical types. Provide member
4570 definitions. Restructure.
4571 (class complex<float>): Uglify. Remove __value(). Rename __val
4572 to _M_value. Rename __complex_value_type to _ComplexT. Make it
4573 private. Remove dependency on __value(). Fix various explicit
4574 specialization syntax. Declare a some functions friend. Now the
4575 implementation is nearly comforming.
4576 (class complex<double>): Likewise.
4577 (class complex<long double>): Likewise.
4579 * src/complex.cc: Tweak. Remove dependency on complex::__value().
4580 (sin, sinh, tan, than): Fix call to corresponding C9x function
4583 1999-07-24 Benjamin Kosnik <bkoz@fidel.cygnus.com>
4585 * bits/istream.tcc (ws): Fix error with failbit being set.
4587 Disabled due to egcs/gcc-2_95 internal compiler errors.
4588 * src/Makefile.am (CXXFLAGS): Add -fsquangle -fhonor-std
4589 -fnew-exceptions. Compiling with namespaces enabled will now be
4591 * mkcheck (CXX_FLAG): Same.
4592 * src/gen-c++config.cc (_GLIBCPP_USE_NAMESPACES): Yup. New macro.
4593 * bits/std_cctype.h: Not enough to just define in namespace std if
4594 ctype-isms are macros. Need to also define in namespace std:: if
4595 the C functions are just plain functions.
4597 * src/gen-num-limits.cc: Fix spelling inconsistencies.
4599 1999-07-24 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4601 * docs/18_support/howto.html: Start documentation. Need to keep
4602 track of the ongoing discussion in th LWG reflector.
4604 * src/gen-num-limits.cc: Tweak.
4605 (class predicate): New class.
4606 (class value): Likewise.
4607 Make the whole machinery more flexible. Add comments.
4609 1999-07-23 Benjamin Kosnik <bkoz@fidel.cygnus.com>
4611 * bits/ios_base.h: Move state/exception functions into basic_ios.
4612 * bits/basic_ios.h: Same.
4613 * src/ios.cc: And here. Callbacks don't attempt to reset
4616 * bits/std_streambuf.h: Separate ios and streambuf locale data
4617 members and cached facets. Using this convention: _M_locale_buf for
4618 the streambuf-related classes, and _M_locale_ios for the ios
4620 * bits/fstream.tcc: And here.
4621 * bits/basic_ios.h: And here. Also, add cached ctype.
4622 * src/ios.cc: Ditto.
4623 * bits/ios_base.h: Ditto.
4624 * bits/std_istream.h: Use cached ctype facet.
4625 * docs/27_io/iostreams_hierarchy.pdf: Update for new data member
4628 * testsuite/27_io/ios_ctor.cc: New file.
4629 * src/ios.cc: Move _M_state init to basic_ios::init().
4630 * bits/basic_ios.h: To here.
4632 Attempt for some consistency in naming for testsuite/27_io/*.cc.
4633 * testsuite/27_io/boolfmt.cc: Rename to stdios_fmtflags_manip.cc
4634 * testsuite/27_io/octfmt.cc: Rename to stdios_basefield_manip.cc
4635 * testsuite/27_io/istream_manip.cc: Rename to istringstream_manip.cc.
4636 * testsuite/27_io/ostream_manip.cc: Rename to ostringstream_manip.cc.
4638 1999-07-22 Benjamin Kosnik <bkoz@fidel.cygnus.com>
4640 * src/ios.cc: Tweak initializations of standard iostream
4641 objects to closely match the standard. Tie cin/wcin, set flags on
4643 * bits/char_traits.h: Change from size_t to int_type, as per
4644 standard. As per wide streams.
4645 * bits/basic_ios.h: Infect with __ctype_type, as a preparation
4646 for caching a bunch of ctype info. For instance, ctype_base::space
4647 info needs to be stored somewhere, somehow.
4648 * bits/std_istream.h: Also here.
4649 * bits/std_ostream.h: Ditto.
4650 * bits/std_istream.h (operator>>(istream, char): Aggh. Fixup.
4651 * testsuite/27_io/iostream_objects.cacc (test01): Oh yeah. Fix
4654 * bits/istream.tcc (ws): Fix.
4655 * testsuite/27_io/istream_manip.cc: New file, test ws.
4656 * testsuite/27_io/ostream_manip.cc: New file, test endl, ends, flush.
4658 * bits/basic_string.h: Provide a specialized member function for
4659 _S_find<char> using strchr.
4660 * src/string-inst.cc: Put specializations here.
4661 * bits/string.tcc: Small fix for find, remove typo.
4662 * testsuite/21_strings/find.cc (test01): Add tests to catch this
4665 1999-07-20 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4667 * bits/basic_ios.h: Put into basic_ios namespace.
4670 1999-07-19 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4672 * bits/std_sstream.h (stringbuf::sync): Change to _M_really_sync,
4673 adjust _M_*_cur pointers inside the function, so callee doesn't
4675 * bits/sstream.tcc (stringbuf::overflow): Tweak.
4677 * mkcheck: Tweak. Add execution time field, even though it is not
4678 implemented yet. Simplify pass/fail status notation.
4680 1999-07-18 Mumit Khan <khan@xraylith.wisc.edu>
4682 * configure.in: Check for float.h and underscored version of
4684 * acconfig.h: Add @BOTTOM@ section for handling underscored
4686 * configure: Regenerate.
4687 * config.h.in: Regenerate.
4688 * math/mathconf.h (float.h): Include conditionally.
4689 (M_PI): Define conditionally.
4690 (INFINITE_P): Define for Mingw.
4691 * bits/locale_facets.tcc: Workaround for compiler crash on
4693 * bits/std_cwchar.h (bits/std_cstddef.h): Include.
4694 * src/locale.cc (bits/std_istream.h): Include.
4695 (bits/std_ostream.h): Likewise.
4697 1999-07-18 Phil Edwards <pedwards@ball.com>
4699 * docs/faq/index.html: Updated __black_count notes, fixed typos.
4700 * docs/faq/index.txt: Regenerated.
4702 1999-07-15 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4704 * testsuite/27_io/stringbuf.cc: Cccchanges, latent bugs.
4706 * bits/sstream.tcc (stringbuf::overflow): Modify accounting of
4707 newly-allocated buffer.
4708 * bits/streambuf.tcc (streambuf::xsgetn): Aaaaaah. Fix final
4709 overflow condition bits.
4711 1999-07-14 Benjamin Kosnik <bkoz@cygnus.com>
4713 * bits/std_sstream.h (stringbuf::_M_init_stringbuf): Set
4714 _M_buf_size to initial _M_string.size(), even though for
4715 ostringstreams it is pretty pointless. It's necessary for
4717 (stringbuf::str()): Adjust.
4718 (stringbuf::str()): Adjust, call _M_init_stringbuf.
4719 * bits/streambuf.tcc (streambuf::xsgetn): Adjust return value for
4720 overflow's possible success.
4721 (streambuf::xsputn): Adjust.
4723 * testsuite/27_io/filebuf.cc: Adjust for the xsgetn re-write from
4725 * testsuite/27_io/stringbuf.cc: Tweak.
4726 * testsuite/21_strings/inserters_extractors.cc (test01): Remove
4728 * testsuite/23_containers/vector_cons.cc: Rename to be consistent
4729 with other constructor tests to. . .
4730 * testsuite/23_containers/vector_ctor.cc: New file.
4732 1999-07-14 Alfred Minarik <a8601248@unet.univie.ac.at>
4734 * testsuite/*: Changes to make the testsuit compilable with
4735 -fhonor-std. Contains direct qualification of library names with
4738 1999-07-13 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4740 * bits/streambuf.tcc: Tweaks.
4741 (streambuf::xsputn): Optimize, fix for sstreams.
4742 (streambuf::xsgetn): Same.
4743 * bits/sstream.tcc (stringbuf::overflow): Adjust _M_buf_size
4744 correctly, handle overflow/reallocate conditions correctly.
4745 * bits/std_sstream.h: Fix typo.
4746 _M_init_stringbuf(): Fix _M_buf_size initialization.
4747 (stringbuf::str()): Construct return string if output has occurred.
4749 * bits/basic_string.h: Fix typo from yesterday's patch.
4751 1999-07-12 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
4753 * bits/string.tcc: _M_mutate - clear _M_state again.
4754 * bits/basic_string.h: In the three functions that return
4755 an iterator set _M_state to -1 before return.
4756 Also optimized two cases of operator+.
4758 1999-07-12 Phil Edwards <pedwards@ball.com>
4760 * docs/index.html: Expand egcs-1.1.2 notes/links.
4761 * docs/faq/index.html: And here. Add links to LWG issues-list.
4762 * docs/faq/index.txt: Regenerate. (lynx rocks)
4763 * docs/21_strings/howto.html: Fix notes on case conversion.
4764 * docs/21_strings/stringtok_h.txt: Goodly spelling...
4765 * docs/23_containers/howto.html: Stub for bitmasks.
4766 * docs/27_io/howto.html: Add section on buffering, stub binary.
4768 1999-07-12 Nathan Myers <ncm@cantrip.org>
4770 * stl/bits/stl_tree.h (__black_count): Optimize.
4772 1999-07-09 Vadim Egorov <egorovv@1c.ru>
4774 * src/basic_file.cc: Cleanup in __basic_file destructor.
4776 1999-07-08 Benjamin Kosnik <bkoz@cygnus.com>
4778 * bits/std_streambuf.h: Changes. . .
4779 * bits/streambuf.tcc: Merge xsputn from filebuf into xsputn in
4780 basic_streambuf, to be used for both filebufs and streambufs.
4781 * bits/std_fstream.h (_M_init_filebuf): New function.
4782 Take out specialized xsputn, put into basic_streambuf.
4783 * bits/fstream.tcc: Define, call from both ctors.
4784 * bits/std_sstream.h (_M_init_stringbuf): New function.
4785 * bits/sstream.tcc: Tweak.
4787 * docs/27_io/iostreams_heirarchy.pdf: New file.
4789 * docs/17_intro/CHECKLIST (basic_string<char>): Validation and
4790 acceptance. Wooo-hoo!
4792 * bits/char_traits.h: Change int_type for char_traits general
4793 template, so that 21_strings/capacity.cc will compile.
4794 * testsuite/21_strings/capacity.cc: Add operators.
4796 * bits/string.tcc (string::compare): Clean up, re-implement.
4797 * testsuite/21_strings/compare.cc: Tweak.
4799 * bits/string.tcc (string:_M_mutate): Keep leaked value in
4800 _M_state, which means that whenever begin() or end() has been
4801 called, the string is unshareable, period. By doing this, insert
4802 and erase member functions that return iterators can remain
4803 footloose and fancy free.
4804 * testsuite/21_strings/invariants.cc: Update.
4806 * bits/basic_string.h (string::append): Fix self-referential
4807 problems, ie when "this" is also an argument to a member function.
4808 * bits/string.tcc: Tweak, same.
4809 * testsuite/21_strings/append.cc: New file.
4811 1999-07-07 Benjamin Kosnik <bkoz@cygnus.com>
4813 * bits/char_traits.h: Tweaks.
4814 * bits/basic_string.h: Tweak.
4815 * bits/fstream.tcc: Remove warning for _M_buf_size assignment.
4817 1999-07-06 Benjamin Kosnik <bkoz@cygnus.com>
4819 * bits/std_streambuf.h: Absorb/acquire data members previously
4820 working in basic_filebuf.
4821 * bits/streambuf.tcc: Tweaks.
4822 * bits/fstream.tcc: Adjust.
4823 * bits/std_fstream.h: Move and rename the following functions:
4824 _M_set_ideterminate, _M_is_indeterminate, _M_set_determinate are
4825 now declared and defined in the base class, basic_streambuf. Oh
4826 fuck it, move data members _M_buf, and _M_buf_size into
4827 basic_streambuf as well.
4829 * bits/ostream.tcc: Tweak.
4830 * bits/locale_facets.tcc: Fix typo in comments.
4832 * testsuite/21_strings/inserters_extractors.cc (test01): Change
4833 state from good to not good, as eof() is set.
4835 1999-07-05 Benjamin Kosnik <bkoz@cygnus.com>
4837 * bits/char_traits.h (char_traits::compare). Fix.
4839 * config.guess, config.sub: Update.
4841 1999-07-02 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
4843 * bits/string.tcc: Check the __res_arg for a length error.
4845 1999-07-01 Benjamin Kosnik <bkoz@nabi.net>
4847 * bits/std_streambuf.h: Tweaks. Need to move _M_is_indeterminate
4848 and related functions into basic_streambuf, from basic_filebuf to
4849 take care of ostringstreams and empty strings. So that's groovy,
4851 * bits/std_istream.h: Tweaks.
4852 * bits/istream.tcc: Implement ws, getline, operator>> for string.
4853 * bits/std_ostream.h: And here.
4854 * bits/ostream.tcc: Same.
4855 * src/misc-inst.cc: Add instantiations for ws.
4857 * src/string-inst.cc: Add instantiations for inserters and
4858 extractors (operators << and >>, getline).
4860 * testsuite/21_strings/inserters_extractors.cc: Amazingly enough,
4861 a testcase for getline and operators << and >>. Ostream tests are
4862 failing right now, but istream tests should work. . .
4864 * bits/string.tcc: Change _S_max_size, as GNU malloc won't budge.
4865 * bits/std_sstream.h: Revert.
4867 * testsuite/17_intro: header_[iosfwd, ios, iostream, iomanip,
4868 istream, ostream, streambuf, fstream, sstream].cc: New files.
4870 1999-06-30 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
4872 * bits/std_sstream.h (stringbuf::sync): Don't use string::begin()
4875 * bits/basic_string.h (basic_string<>::_S_copy_chars): Add
4876 specializations for _CharT*, iterator and const_iterator.
4877 * src/string-inst.cc: Remove explicit instantiation, as
4878 now explicitly specialized.
4880 * bits/basic_string.h: Add a size_type parameter to _M_clone with
4881 a default value set to 0.
4882 * bits/string.tcc: In _M_clone by the call of _S_create add the
4883 value of the new parameter to _M_length. In reserve check
4884 _M_state and use _M_clone instead of _M_mutate.
4886 1999-06-30 Benjamin Kosnik <bkoz@happy.cygnus.com>
4888 * bits/basic_string.h: Fix _S_max_size.
4889 * bits/string.tcc: Add def here.
4890 * testsuite/21_strings/insert.cc: Fix.
4892 * bits/sbuf_iter.h: Remove detritus.
4893 * testsuite/24_iterators/istreambuf_iterator.cc: Add tests.
4895 * src/locale-inst.cc: Elaborate iterator/locale instantiations
4896 to resolve alpha-osf4 build problems.
4898 1999-06-29 Benjamin Kosnik <bkoz@happy.cygnus.com>
4900 * bits/string.tcc: Fix signed/unsigned issues in compares.
4901 * stl/bits/stl_deque.h: And here.
4902 * stl/bits/stl_string_fwd.h: Remove __get_c_string.
4904 1999-06-29 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
4906 * bits/string.tcc: New implementation and interface of _M_mutate.
4907 Adapt the change in all functions that call _M_mutate.
4908 * bits/basic_string.h: And here.
4910 1999-06-29 Benjamin Kosnik <bkoz@happy.cygnus.com>
4912 * testsuite/21_strings/capacity.cc (test01): Fix.
4914 1999-06-29 Phil Edwards <pedwards@ball.com>
4916 * mknumeric_limits: Exit script if gen-num-limits isn't built.
4918 1999-06-29 Andreas Gruenbacher <agruenba@pent224.infosys.tuwien.ac.at>
4920 * stl/bits/stl_vector.h: Fix.
4921 * testsuite/23_containers/vector_cons.cc: Add.
4923 1999-06-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4925 * mknumeric_limits (LDFLAGS): fix.
4927 1999-06-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4929 * mknumeric_limits (LDFLAGS): set it according to the system.
4931 * math/mathconf.h (NAN): Check whether host is running under
4932 Cygwin and make the appropriate definition.
4933 * math/complex-stub.h (nan): protect declaration.
4935 1999-06-28 Benjamin Kosnik <bkoz@haight.constant.com>
4937 * bits/sbuf_iter.h: Rename internal data structure to prevent
4938 confusion between basic_ios and istreambuf_iterators internal
4939 basic_streambuf data member.
4940 * testsuite/24_iterators/istreambuf_iterator.cc: New file.
4942 * bits/basic_string.h: Remove conditionals, add input_iterator
4943 version of S_construct again.
4944 * bits/string.tcc: Same.
4945 * src/string-inst.cc: And add explicit instantiation here.
4947 * src/gen-c++config.cc (_GNU_SOURCE): Take out both _GNU_SOURCE
4948 and __USE_GNU macro defines, as single __USE_GNU use leading to
4949 confusion on glibc2.1 systems (ie, RedHat 6.0).
4951 * src/Makefile.am (headers): Add std_utility to installed headers.
4953 1999-06-25 John Potter <jpotter@eagle.lhup.edu>
4955 * stl/bits/stl_tree.h (insert_unique): Revert, just fix insert_equal.
4957 1999-06-25 Gilles Zunino <Gilles.Zunino@hei.fr>
4959 * mknumeric_limits (LDFLAGS): Swap -lc and -lgcc.
4961 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
4963 * src/gen-c++config.cc (_GLIBCPP_*): Change all
4964 macros to include _GLIBCPP as a distinct namespace.
4968 * stl/bits/std_stdexcept.h: Forward-declare __Named_exception ctor.
4969 * bits/basic_string.h: Remove __get_c_string.
4970 * src/stdexcept.cc: Define ctor here.
4971 * bits/ios_base.h: And fix ios_base::failure as well.
4972 * src/ios.cc: Define here.
4974 * bits/std_streambuf.h: Add a private copy ctor and assignment
4975 operator wrapped in _G_RESOLVE_LIB_DEFECTS.
4976 * bits/ios_base.h: And here too.
4978 * bits/basic_string.h: Tweak.
4979 * testsuite/21_strings/nonmember.cc: Add operator+ tests.
4981 * src/valarray.cc: Rename to. . .
4982 * src/valarray-inst.cc: This.
4983 * src/Makefile.am (sources): Change here.
4984 * src/Makefile.in: Regenerated.
4986 1999-06-24 Vadim Egorov <egorovv@1c.ru>
4988 * bits/string.tcc(basic_string<>::_Rep::_S_create): Fixed
4991 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
4992 Tom Tromey <tromey@cygnus.com>
4994 * configure.in (use_glibc2): Eek, correct for non-glibc systems.
4995 Use AM_CONDITIONAL to get us out of this jam. .
4996 * libio/Makefile.am: Same.
4997 * */Makefile: Regenerated.
4999 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
5000 John Potter <jpotter@eagle.lhup.edu>
5002 * stl/bits/stl_tree.h (insert_equal): Fix.
5003 * testsuite/23_containers/multiset.cc: New file.
5005 1999-06-23 Benjamin Kosnik <bkoz@cygnus.com>
5007 * configure.in (test for glibc2): Correct AC_TRY_COMPILE so that
5008 this works correctly on glibc-2 systems. This should allow
5009 simplified linking on these systems, and successful linking on Red
5011 * configure, Makefile: Regenerate.
5013 * bits/std_cwctype.h: Add missing 'w' to _S_iswpunct_helper name.
5015 * testsuite/ext: New directory.
5016 * testsuite/ext/headers.cc: New file.
5018 1999-06-23 Vadim Egorov <egorovv@1c.ru>
5020 * stl/ext/hash_set: include missing headers
5021 * stl/ext/hash_map: Same
5022 * stl/ext/slist: Same
5024 1999-06-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5026 * bits/std_cmath.h: comment out modf. Kills build on hpux10.20
5028 1999-06-15 Benjamin Kosnik <bkoz@cygnus.com>
5030 * src/Makefile.am (sources): Regenerate.
5031 * mkcheck: Add TESTS_FILE as a way of controlling what testcases
5034 1999-06-14 Benjamin Kosnik <bkoz@cygnus.com>
5036 * src/string-inst.cc: Change _S_construct signature, to
5037 track requested allocation size versus valid input iterator range.
5038 * bits/basic_string.h: Here too.
5039 * bits/string.tcc: And here.
5041 1999-06-12 Benjamin Kosnik <bkoz@cygnus.com>
5043 * mkcheck (LOG_FILE): Correctly append errors.
5045 * stl/bits/stl_iterator.h: Revert previous, delirious, change.
5047 * bits/basic_string.h: Change _Rep::_M_data to _Rep::_M_refdata,
5048 to clarify differences between basic_string::_M_data() calls and
5049 _Rep::_M_data() calls.
5050 * bits/std_string.h: Fix.
5051 Put in check for out_of_range in substr.
5052 * bits/string.tcc: Fix for _S_find.
5054 * testsuite/21_strings/compare.cc: Add tests.
5055 * testsuite/21_strings/find.cc: New file.
5056 * testsuite/21_strings/substr: New file.
5057 * testsuite/21_strings/replace.cc: New file.
5059 1999-06-11 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5061 * bits/valarray_array.h: __restrict__ify pointers.
5063 * bits/std_valarray.h: Tweak.
5064 (valarray<T>::cshift, valarray<T>::shift): use __builtin_alloca.
5066 * bits/gslice_array.h: Tweak. Reflect changes in bits/gslice.h
5068 * bits/gslice.h: Tweak.
5069 (class gslice::_Indexer): new class.
5070 (gslice::gslice(const gslice&)): implement copy-ctor to support
5072 (gslice::operator=(const gslice&)): support ref-counted index.
5073 (gslice::_M_convert_to_index): delete.
5075 * src/valarray.cc: New file.
5076 (__gslice_to_index): turn a gslice into a valarray<size_t>
5077 (ctor gslice::_Indexer::_Indexer): implement.
5079 * src/Makefile.am (sources): add valarray.cc
5080 * src/Makefile.in: regenerate.
5082 1999-06-08 Benjamin Kosnik <bkoz@cygnus.com>
5084 * stl/bits/stl_iterator.h (__normal_iterator::const_iterator
5085 ctor): Put in a const_cast.
5087 * testsuite/21_strings/invariants.cc: New file.
5089 * testsuite/21_strings/insert.cc: Add exception handling bits.
5090 * testsuite/21_strings/ctor_copy_dtor.cc: Same.
5092 * src/wstring-inst.cc: Add c++config.h include.
5094 * bits/basic_string.h: Fix const operator[] for size == pos.
5095 Add _M_leak for rbegin, non-const.
5096 Add _M_leak for rend, non-const.
5097 Make member function at standards conformant.
5098 Add _S_terminal to _Rep for operator[] const, add this into
5100 * bits/string.tcc: Add static member definition here,
5103 * testsuite/21_strings/element_access.cc: Add tests.
5105 1999-06-08 Vadim Egorov <egorovv@1c.ru>
5107 * bits/fstream.tcc (_M_really_overflow): Fixed size of
5110 1999-06-08 Phil Edwards <pedwards@ball.com>
5112 * bits/fstream.tcc (basic_filebuf::xsputn): Fix off-by-one count
5113 caused when __testinit is true.
5114 * bits/ostream.tcc (basic_ostream::op<<(streambuf*)): Write buffer
5115 using rdbuf()->sputn rather than _M_fnumput->put.
5117 1999-06-08 Benjamin Kosnik <bkoz@tintin.cygnus.com>
5119 * testsuite/23_containers/bitset_ctor.cc: New file.
5120 * stl/bits/std_bitset.h (__BITSET_WORDS): Fix integration bug.
5122 1999-06-08 Phil Edwards <pedwards@ball.com>
5124 * bits/fstream.tcc (basic_filebuf::underflow): Fix, rename local vars.
5126 1999-06-07 Benjamin Kosnik <bkoz@tintin.cygnus.com>
5128 * testsuite/21_strings/element_access.cc: Finish off these tests.
5129 * testsuite/21_strings/insert.cc (test01): Uncomment.
5130 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Finish off ctors.
5131 * bits/basic_string.h: Tweak, okay, fix for real this time.
5132 * bits/string.tcc: Same.
5133 * bits/char_traits.h: Tweak.
5135 1999-06-07 Benjamin Kosnik <bkoz@tintin.cygnus.com>
5137 * bits/std_cmath.h: Example of how to use the generated macro.
5138 * acconfig.h: Add macro for sinf here.
5139 * configure.in (LIBS): Add test for builtin math function sinf.
5140 * configure: Regenerated.
5142 * bits/basic_string.h: Fix _S_max_size.
5144 1999-06-06 Benjamin Kosnik <bkoz@tintin.cygnus.com>
5146 * bits/basic_string.h: Fixes for out-of-memory segv for large strings.
5147 Remove _S_construct signature for forward_iterator_tag and
5150 * src/string-inst.cc: Same, tweaks.
5151 * bits/string.tcc: Same, tweaks.
5153 * testsuite/21_strings/ctor_copy_dtor.cc: Add/clarify tests.
5154 * mkcheck (LOG_FILE): Fix filebuf-[2,3].tst checks.
5155 * mknumeric_limits (LD_FLAGS): Add -nodefaultlibs -lc -lgcc as per
5158 * src/locale.cc: Final separation for char/wchar_t bits.
5160 1999-06-05 Phil Edwards <pedwards@ball.com>
5162 * docs/index.html: Added link to book upon request'n'agreement.
5163 * docs/23_containers/wrappers_h.txt: Added.
5164 * docs/{23_containers,27_io}/howto.html: Added sections.
5166 * bits/std_fstream.h: Tweak.
5168 1999-06-05 Benjamin Kosnik <bkoz@tintin.cygnus.com>
5170 * src/ios.cc: Same here.
5171 * bits/std_iosfwd.h: More wchar_t defines.
5173 * bits/basic_string.h: Tweaks.
5174 * bits/string.tcc: Tweak. Fix _S_construct to check for max_size
5175 when doing error checking, as per LWG defect #83.
5177 * src/gen-c++config.cc: Fix comment.
5179 * testsuite/21_strings/ctor_copy_dtor.cc: New file, checks ctors,
5181 * testsuite/21_strings/element_access.cc: New file, checks for
5182 operator[], at(...).
5183 * testsuite/21_strings/insert.cc: New file, tests string::insert.
5184 * testsuite/21_strings/char_traits.cc: New file, tests
5185 for char_traits<char>.
5187 * bits/utility.h: Remove, again.
5188 * src/Makefile.am (std_headers): Remove utility.h.
5189 * src/Makefile.in (std_headers): Regenerate.
5191 Alfred Minarik <a8601248@unet.univie.ac.at>
5192 * bits/basic_string.h: Move __out_of_range and __length_error into
5195 1999-06-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5197 * testsuite/26_numerics/modf_float.cc: New file.
5199 * bits/std_cmath.h (modf(float, float*)): Fix signature. Correct
5200 typo: use ::modff, not ::modf.
5202 1999-06-03 Vadim Egorov <egorovv@1c.ru>
5204 * bits/string.tcc (basic_string::_M_mutate): Fixed memory
5206 * testsuite/21_strings/capacity.cc (test01): Test.
5208 1999-06-03 Phil Edwards <pedwards@ball.com>
5210 * bits/fstream.tcc: Re-order inits to stop warnings. Comment/move
5211 unused variables to within #if 0 blocks to do the same.
5212 * bits/std_fstream.h: Fix typos (one prevents compilation).
5214 1999-06-03 Benjamin Kosnik <bkoz@pacifica.cygnus.com>
5216 * src/wstring-inst.cc: Fix.
5218 1999-06-02 Benjamin Kosnik <bkoz@madcow.cygnus.com>
5220 * bits/char_traits.h: Add _G_USE_WCHAR_T macro guards.
5221 * stl/bits/stl_string_fwd.h: Same.
5222 * bits/locale_facets.h: Same.
5223 * bits/locale_facets.tcc: Same.
5224 * src/wstring-inst.cc: And here.
5226 * src/gen-c++config.cc: Comment _G_USE_WCHAR_T. Leading to
5227 problems on HPUX 10.20.
5228 * your-build-directory-here/bits/c++config.h: Just kidding, do it
5229 here as a temporary hack till the compiler/host problems get
5232 * bits/locale_facets.tcc (num_get::do_get): Change from ifdef
5233 HAVE_STRTOLD to HAVE_STRTOLD && !(__hpux). Apparently, problems
5234 converting "long double" to struct long_double. Probably should be
5235 done with one macro (HAVE_STRTOLD) at configure time.
5237 * bits/std_cmath.h: Comment out pow(double, int) defintion as
5238 gives re-declaration under hpux10.20. Revert previous change, as
5239 kills linux/x86, solaris 2.7, hpux builds. These should be done
5240 using autoconf, see std_cctype.h and the solutions started in
5241 configure.in (see config.h for the generated file.)
5243 * mknumeric_limits (LDFLAGS): Remove '-nodefaultlibs -lc', as
5244 -nodefaultlibs prevents linking under HPUX 10.20 as __main is not
5247 * docs/index.html: Add some useful links.
5248 * docs/17_intro/contribute.html: Fix broken links.
5250 1999-06-02 Benjamin Kosnik <bkoz@rhino.cygnus.com>
5252 * mkcheck (LOG_FILE): Add !/bin/bash instead of cygnus-style
5253 paths. The rest of the world should be able to run this script
5256 * src/Makefile.am ($(generated_headers)): Remove comment.
5257 * Makefile*: Regenerate.
5259 * bits/std_locale.h: Remove detritus.
5260 * bits/localefwd.h: Add <cctype> include to undefine the isspace
5263 1999-06-01 Benjamin Kosnik <bkoz@tintin.cygnus.com>
5265 * src/gen-c++config.cc: New file. Making c++config.h at configure
5266 time by catting this file (nee bits/config.h) with the build
5267 directories config.h. This is not a complete or perfect solution
5268 but is better than what was in place previously.
5269 * bits/c++config.h: Rename/move to above.
5270 * src/Makefile.am (headers): Remove c++config.h.
5271 (myinstallheaders). Add.
5272 * Makefile*: Regenerated.
5274 * bits/std_cwchar.h: Add include of c++config.h for HAVE_*
5275 definitions, so that wmemcmp, wcslen, wmemchr, etc are properly
5276 declared only if not present in the host's wchar.h.
5278 * bits/locale_facets.tcc (std): Change _G_USE_STRTO* to HAVE_STRTO*.
5280 * bits/std_cmath.h: Define out, for the moment. Linux has no
5281 __buitin_fsqrtl? Probably need some kind of configure trickery
5284 * src/Makefile.*: Regenerate.
5285 * bits/c++config.h: Add config.h include.
5287 * bits/std_cwchar.h: Remove remaining #error guard.
5289 * acconfig.h: Add bits for HAVE_LC_MESSAGES.
5291 * configure.in (LIBS): Replace previous effort for mbstate_t and
5292 strtold/strtof with this implementation.
5294 1999 06-01 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5296 * bits/std_cmath.h: Tweak. Add more functions. Use __builtin_xxx
5299 1999-05-28 Benjamin Kosnik <bkoz@cygnus.com>
5301 * bits/locale_facets.tcc (std): Eek: this left in. Autoconf bits
5302 for determining mbstate_t differences across various hosts not
5305 1999-05-26 Benjamin Kosnik <bkoz@nabi.net>
5307 * bits/locale_facets.tcc: Change to ifdef.
5309 * bits/std_sstream.h (stringbuf::setbuf): Remove dynamic_cast.
5310 * bits/std_fstream.h (filebuf::setbuf): Same.
5312 * bits/std_istream.h: Add ws declaration.
5313 * bits/istream.tcc: Stub out definition.
5315 * docs/index.html: Fix broken link for design.txt.
5317 * configure.in: Test for mbstate_t. If wchar.h doesn't have it,
5318 then set _G_NEED_MBSTATE_T.
5319 * configure: Regenerate.
5320 * bits/c++config.h: Move mbstate_t define.
5321 * bits/std_cwchar.h: To here.
5323 1999-05-25 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
5325 * bits/std_sstream.h:
5326 basic_stringbuf<>::basic_stringbuf: fix.
5327 basic_stringbuf<>::setbuf:
5328 remove the temporary __string_type object,
5329 remove the unnecessary dynymic_cast in the return value,
5330 change the type of the returned value from __streambuf_type*
5331 to basic_stringbuf<_CharT, _Traits, _Alloc>*.
5333 1999-05-25 Phil Edwards <pedwards@ball.com>
5335 * bits/std_streambuf.h (streambuf::setbuf): Always return streambuf*.
5337 1999-04-25 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5339 * bits/std_cmath.h: Tweak. Add float versions of the math functions
5340 in <math.h>. <cmath> still incomplete and incorrekt.
5342 1999-05-24 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5344 * mknumeric_limits (LDFLAGS): set appropriate link flags.
5346 1999-05-23 Phil Edwards <pedwards@ball.com>
5348 * docs/17_intro/howto.html: Added links to text docs,
5350 * docs/21_strings/howto.html: Updated sections and links.
5351 * docs/21_strings/{gotw29a.txt,stringtok_h.txt}: Added.
5352 * docs/faq/index.html: Updated what-works for sixth
5353 snapshot. Also a number of "internal" links have been
5354 fixed, now that the web pages are the docs directory...
5355 * docs/faq/index.txt: Regenerated.
5357 1999-05-21 Benjamin Kosnik <bkoz@tintin.cygnus.com>
5359 * bits/basic_string.h: Add Nathan's documentation on the string class.
5361 * testsuite/27_io/ios_members_static.cc: New file, for testing
5362 ios_base::sync_with_stdio.
5364 1999-05-21 Benjamin Kosnik <bkoz@tintin.cygnus.com>
5366 * bits/std_locale.h: Simplify includes.
5367 * bits/loccore.h: Delete.
5368 * bits/localefwd.h: Renamed, trimmed.
5369 * bits/locfacets.h: Delete.
5370 * bits/locale_facets.h: Rename, expanded.
5371 * bits/loccore.tcc: Deleted.
5372 * bits/locfacets.tcc: Deleted.
5373 * bits/locale_facets.tcc: Resultant merge.
5374 * bits/std_fstream.h: Modify include.
5375 * bits/ostream.tcc: Same.
5376 * bits/istream.tcc: Same.
5378 * src/locale-inst.cc: And here.
5379 * src/locale.cc: Ditto.
5380 * src/Makefile.am: Updated.
5381 * src/Makefile.in: Rengenerated.
5383 * bits/std_istream.h: Move istream::sentry ctor definition.
5384 * bits/istream.tcc: Move istream::sentry ctor here.
5385 Add more detailed locale include here for ctype member functions.
5386 * bits/ostream.tcc (std): And here.
5388 * bits/sbuf_iter.h: Include std_streambuf.h
5390 * bits/locfacets.h: Start separating this into a localeimp.h file.
5391 * bits/loccore.h: Start separating this into a localefwd.h file.
5392 Add std_climits for CHAR_BIT.
5394 * bits/ios_base.h (ios_base::sync_with_stdio): Stub in.
5396 * bits/char_traits.h: Tweak.
5398 * bits/ios_base.h: Remove INT_MAX, use 1<<16.
5400 * bits/std_ostream.h: Remove c++config.h include.
5401 * bits/std_istream.h: Same.
5402 * bits/std_streambuf.h: Same.
5403 * bits/std_fstream.h: Same.
5404 * bits/std_sstream.h: And here.
5406 * bits/std_iosfwd.h: Add _G_RESOLVE_LIB_DEFECTS here for streampos.
5407 * bits/char_traits.h: Add include of std_cwchar.h for mbstate_t.
5408 * bits/fpos.h: Tweak, format.
5410 * std/ciso646: New file.
5411 * bits/std_ciso646.h: New file.
5412 * src/Makefile.am (std_headers): Add ciso646.
5413 (headers): Add bits/std_ciso646.h.
5414 * src/Makefile.in: Regenerate.
5415 * testsuite/17_intro/header_ciso646.cc: New file, disable
5418 * bits/fpos.h: Remove libio.h include.
5419 * bits/basic_file.h: And here.
5420 * bits/std_ios.h: Put here.
5422 * src/ios.cc: Simplify includes, tweak.
5423 * bits/std_ios.h: Simplify include order.
5424 * bits/ios_base.h: Modify ios_base::failure.
5426 * stl/bits/std_numeric.h: Change include from stl_iterator to
5429 1999-05-19 Benjamin Kosnik <bkoz@tintin.cygnus.com>
5431 * std/iostream: Remove static member __ioint.
5432 * bits/std_iostream.h: Put here.
5434 * stl/bits/std_numeric.h: Remove unneccessary std_iostream.h include.
5435 * stl/bits/stl_algobase.h: Same.
5436 * testsuite/27_io/iostream_objects.cc: Regression tests.
5437 * testsuite/27_io/hello.cc: Remove, subset of above.
5439 1999-05-19 Phil Edwards <pedwards@ball.com>
5441 * docs/index.html: Tweak, update.
5443 1999-05-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5445 * docs/17_intro/RELEASE-NOTES: remove outdated
5446 documentation about numeric_limits. Correct CXXINCLUDE setting
5449 1999-05-18 Phil Edwards <pedwards@ball.com>
5451 * docs/{17_intro,18_support,19_diagnostics,20_util,21_strings,
5452 22_locale,23_containers,24_iterators,25_algorithms,26_numerics,
5453 27_io}/howto.html: Created, with some initial entries.
5454 * docs/faq/index.html: Fixed some links.
5455 * docs/faq/index.txt: Regenerated.
5457 1999-05-18 Benjamin Kosnik <bkoz@tintin.cygnus.com>
5459 * bits/c++config.h (__GLIBCPP__): Set version to 19990518.
5461 * docs/17_intro/RELEASE-NOTES: Update.
5462 * docs/index.html: Correct link to mailing list help page, update News.
5463 * docs/faq/index.html: Change fifth to sixth for snapshot.
5465 * src/Makefile.am (myinstallheaders): Bring over Gaby's changes to
5466 install $(top_builddir)/bits/std_limits.h into
5467 $(myincludepfx)/bits. This was mistakenly omitted from yesterday's
5468 Makefile.am changes.
5469 * *Makefile*: Regenerate using automake.
5471 * mkcheck (LOG_FILE): Fix filebuf directory oddness.
5472 * testsuite/27_io/filebuf.cc: Same.
5474 1999-05-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5476 * docs/17_intro/CHECKLIST: update.
5477 * docs/17_intro/TODO: update.
5479 1999-05-17 Phil Edwards <pedwards@ball.com>
5481 * docs/{17_intro,18_support,19_diagnostics,20_util,21_strings,
5482 22_locale,23_containers,24_iterators,25_algorithms,26_numerics,
5483 27_io}/howto.html: Created, with some initial entries.
5484 * docs/faq/index.html: Fixed some links.
5485 * docs/faq/index.txt: Regenerated.
5487 1999-05-17 Benjamin Kosnik <bkoz@unhappy.cygnus.com>
5489 * src/Makefile.am (myinstallheaders): Missed removing missing.h.
5490 * Makefile.in*: Regenerate.
5492 1999-05-17 Benjamin Kosnik <bkoz@happy.cygnus.com>
5494 * bits/std_streambuf.h: Same.
5496 * bits/loccore.h (_Bad_use_facet): Remove bits warned about.
5497 * bits/locfacets.h (std): Same.
5498 * bits/sstream.tcc: Same.
5499 * testsuite/27_io/stringstream.cc: Tweak.
5501 * testsuite/27_io/filebuf.cc: Adjust.
5502 * testsuite/21_strings/capacity.cc (test01): Add more
5503 string::reserve tests.
5505 * bits/c++config.h: Remove broken CCTYPE.
5506 * bits/std_cctype.h: Tweak, remove de-macroization, enable
5507 sequestered topper implementation.
5508 * bits/std_cwctype.h: Same.
5510 * bits/missing.h: Remove.
5511 * bits/std_locale.h: Remove missing.h include.
5513 * stl/bits/std_bitset.h (bitset::bitset(string): Tweak to compile.
5515 * src/Makefile.am (headers): Add bits/std_cwctype.h.
5516 INCLUDES: Add top_builddir.
5517 * src/Makefile.in: Regenerate.
5519 * Makefile.am: Add check and check-install as new targets.
5520 * testsuite/make_check_libfree++: Move to. . .
5522 * configure.in: Tweak versions.
5523 * mknumeric_limits: Set paths correctly.
5525 1999-05-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5527 * src/Makefile.in (myinstallheaders): add rule to install
5530 * bits/slice.h (class slice): don't const-qualify data members
5531 since the copy and assignment operator is implicitly used. The
5532 valarray specification is definitively a bad one.
5534 * Makefile.in (generate-limits-sources): fix typo.
5536 * docs/text/TODO: update.
5537 * docs/text/CHECKLIST: update.
5539 * bits/gslice.h (gslice): fix bugglet.
5540 (gslice::gslice): set _M_index_size to 0 whenever given lengths
5543 * src/Makefile.am (libstdc___la_SOURCES): add gen-num-limits.
5544 * src/Makefile.in (libstdc___la_SOURCES): keep in sync.
5545 [Note: **/Makefile.in should be generated from the corresponding
5546 Makefile.am. The current situation is a litte chaotic. ]
5548 1999-05-16 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5550 * mknumeric_limits: tweak.
5552 * Makefile.in (all): add target generate-limits-sources.
5553 (generate-limits-sources): make a directory bits/ in top_builddir
5554 where the generated std_limits.h is put; generate limitsMEMBERs.cc
5555 directly under $(top_builddir)/src. Remains to put the appropriate
5556 rule for installing std_limits.h.
5558 * src/Makefile.in (headers): remove bits/std_limits.h to this list.
5559 (INCLUDES): add -I$(top_builddir) for bits/std_limits.h which is
5560 now generated at build-time in the build directory
5561 (libstdc___la_SOURCES): remove limitsMEMBERS.cc form this list
5562 * src/Makefile.am: reflect changes in src/Makefile.in
5564 1999-05-12 Phil Edwards <pedwards@ball.com>
5566 * docs/faq/index.html: Add more entries (5.4,5.5), finish
5567 all but one empty entry. Add links for HOWTOs, but no files yet.
5568 (Corrected HOWTO links are for bkoz's new scheme.)
5569 * docs/faq/index.txt: Regenerated.
5571 1999-05-12 Benjamin Kosnik <bkoz@happy.cygnus.com>
5573 * testsuite/17_intro/headers.cc: New file.
5574 * stl/bits/std_queue.h: Change stl_bvector.h include path.
5575 * bits/std_cwctype.h: New file.
5577 * testsuite/27_io/filebuf.cc: Need to tweak directory structure.
5579 1999-05-11 Benjamin Kosnik <bkoz@loony.cygnus.com>
5581 * stl/bits/stl_config.h (__USE_MALLOC): Change underlying allocator.
5582 Check __USE_MALLOC before defining specializations containing
5583 __default_alloc_template.
5584 * src/stl-inst.cc: Here too.
5586 * bits/basic_string.h: Change.
5588 * testsuite/make_check_libfree++: More tweaks.
5589 * testsuite/21/capacity.cc: New file.
5591 * src/string.cc: Rename to be consistent with other inst files.
5592 Rename to string-inst.cc.
5593 * src/string*.cc: Change include.
5594 * src/wstring.cc: Rename to wstring-inst.cc.
5595 * src/wstring*.cc: Ditto.
5596 * src/Makefile.in: Also here.
5597 * src/Makefile.am: Ditto.
5599 * src/traits.cc: Remove.
5600 * src/wtraits.cc: Same.
5602 Try a new way of organizing documentation, one with synchronicity
5603 between testsuites and docs subdirectories, and see who yelps.
5604 * docs/html: Remove, use chapter and subject specific directories
5605 instead of forcing things immediately into format of
5609 * docs/faq/text, docs/faq/html: Remove, put in the docs/faq
5610 directory and sort by filename and extension.
5611 * docs/17_intro, 18_support, 19_diagnostics, 20_util, 21_strings,
5612 22_locale, 23_containers, 24_iterators, 25_algorithms,
5613 26_numerics, 27_io: Add.
5614 * docs/17_intro/*: Populate with all the text files. . .
5615 * docs/index.html: Construct.
5617 * testsuite/*: Update with same names as the docs subdir.
5618 * testsuite/results: Where to stash conformance results for the
5619 different snapshots, so that progress/size/speed issues can be
5622 1999-05-10 Benjamin Kosnik <bkoz@loony.cygnus.com>
5624 * src/string.cc: Add _S_copy_chars instantiation, as well as
5625 string::binary operators !=, ==, etc.
5627 * src/Makefile.am (CXXFLAGS): Remove -fvtable-thunks.
5628 * src/Makefile.in (CXXFLAGS): Same here.
5629 * testsuite/make_check_libfree++ (CXX_FLAG): And here.
5631 1999-05-07 Benjamin Kosnik <bkoz@cygnus.com>
5633 * src/string.cc: Add missing member functions to instantiation list.
5635 1999-05-07 Benjamin Kosnik <bkoz@cygnus.com>
5637 * src/misc-inst.cc: Remove unused string instantiations.
5639 * bits/string.tcc: Tweak, fix.
5640 * bits/basic_string.h: Format. Fix reported error with c_str().
5642 * testsuite/make_check_libfree++: Tweak for shared builds.
5643 * testsuite/21/operations.cc: New file for testing c_str() etc.
5645 1999-05-06 Benjamin Kosnik <bkoz@cygnus.com>
5646 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
5648 * stl/bits/stl_vector.h: Fix the code of vector<> for usage with
5649 an iterator class. Delineate pointer versus iterator differences
5651 * 23/vector_capacity.cc: New file, tests for above.
5653 1999-05-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5655 * mknumeric_limits: Fix typo. 'unsigned lont' should read
5657 * src/Makefile.am (libstdc___la_SOURCES): add limitsMEMBERS.cc,
5658 generated by mknumeric_limits to the list. Now std_limits.h is
5660 * src/Makefile.in (generate-numeric-limits): new target to handle
5661 automatic generation of bits/std_limits.h and src/limitsMEMBERS.cc.
5662 (all): add target generate-numeric-limits.
5663 (libstdc___la_OBJECTS): add limitsMEMBERS.lo
5664 (libstdc___la_SOURCES): add limitsMEMBERS.cc
5666 1999-05-05 Benjamin Kosnik <bkoz@cygnus.com>
5669 * bits/c++config.h (_G_USE_CTYPE_ISBIT): Defines new macro for
5670 mask values in ctype_base. Move hacks for _ISBit to locfacets.h.
5671 * bits/locfacts.h: Here.
5673 1999-05-05 Benjamin Kosnik <bkoz@cygnus.com>
5674 Ulrich Drepper <drepper@cygnus.com>
5676 Solaris build issues.
5677 * bits/c++config.h: Define new macros, _G_USE_STRTOF and
5680 * bits/locfacets.tcc (num_get::do_get): Tweak long double and
5681 float overloads to use the above macros. Account for the lack of
5682 strtold on some systems, and revert back to using sscanf.
5684 1999-05-04 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
5686 * bits/locfacets.tcc (num_get::do_get): Check the errno variable.
5687 Use strtoul/strtoull for unsigned types. Check the ranges for
5688 short/unsigned short and if necessary for int/unsigned int.
5690 1999-05-04 Benjamin Kosnik <bkoz@cygnus.com>
5692 * src/gen-num-limits.cc (round_style): Need to use mknumericlimits
5693 to generate bits/std_limits.h now, as the SGI std_limits.h is
5694 being depricated. Not done, but should be done immediately: need
5695 to make sure this script is run as part of the configuration
5696 process, because without it "make" in a configured build directory
5697 will fail. Also tweaked: added a space for float_round_style, and
5698 used static_cast of zero to default-initialize, which should be ok
5699 according to the standard. (see 8.5 p5 and 20.1.3).
5700 * mknumeric_limits (OUT_C): Need this for x86 long
5703 * bits/basic_file.h: Include libio.h, not libioP.h.
5704 * src/basic_file.cc: And add libioP.h include here, so that
5705 _IO_init, et. al are well-declared.
5707 * testsuite/make_check_libfree++ (LIB_PATH): Test installed
5708 headers, not source directory headers.
5710 * src/Makefile.am (headers): Add stl_range_errors.h, also adjust
5711 for ext/*. Also add basic_file.h.
5712 * src/Makefile.in (headers): Same.
5714 * bits/std_string.h: Reduce dependencies for faster
5715 pre-processing. Move istream and ostream specific defines into
5716 istream.tcc and ostream.tcc respectively.
5717 * bits/string.tcc: And here.
5718 * bits/basic_string.h: Move getline inline out-of-line, and to
5720 * bits/istream.tcc: Move string::getline and operator>> here.
5721 * bits/ostream.tcc: And here too.
5723 * bits/utility.h: Remove, as clashes with a standard header. Put
5724 __OUTOFRANGE and __LENGTHERROR macros into string.tcc for the time
5725 being, until this can be combined with SGI's approach.
5726 * bits/string.tcc: Add macros, as above.
5727 * bits/loccore.h: Add _Count_ones defines.
5728 * bits/std_string.h: And here too.
5729 * bits/std_locale.h: And here.
5730 * bits/std_ios.h: Take out include here.
5731 * src/Makefile.am (headers): Remove utility.h
5732 * src/Makefile.in (headers): Remove utility.h
5734 * stl/bits/*: Update to SGI STL 3.20.
5735 * stl/ext/pthread_alloc: Delete this file.
5737 1999-05-04 Phil Edwards <pedwards@ball.com>
5739 * docs/faq/html/index.html: Add more entries
5740 * docs/faq/html/index.txt: regenerated.
5742 1999-05-04 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5744 * src/gen-num-limits.cc (DO_DEFINE_MIN_MAX): fix typo.
5746 1999-04-29 Benjamin Kosnik <bkoz@haight.cygnus.com>
5748 * bits/locfacets.tcc (num_get::do_get): Re-implement, with input
5749 from Ulrich and Nathan. Remove extraneous string class usage,
5750 tweak, clean, simplify and consolidate with a eye towards removing
5751 duplcate code. Use strto[l, ll, f, d, ld] instead of sscanf.
5752 Not done: dealing with leading zeros, wchar_t work.
5753 * bits/locfacets.h: And here too.
5757 1999-04-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5760 * docs/faq/: New directory.
5761 * docs/faq/html/: Likewise.
5762 * docs/faq/text/: Likewise.
5763 * docs/faq/html/index.html: New file.
5764 * docs/faq/html/index.txt: Likewise. Generated from
5765 docs/faq/html/index.html by lynx.
5767 1999-04-28 Benjamin Kosnik <bkoz@happy.cygnus.com>
5768 Ryszard Kabatek and Branko Cibej
5770 * bits/locfacets.tcc: Modify.
5772 1999-04-27 Benjamin Kosnik <bkoz@happy.cygnus.com>
5774 * bits/sbuf_iter.h: Clean, fix istreambuf_iterator, make
5775 conformant to 14882, wrap non-standard extensions with
5776 _G_RESOLVE_LIB_DEFECTS, remove detritus and cruft, rennovate.
5777 * bits/locfacets.tcc (num_get::do_get(bool)): Return correct iterator.
5779 * testsuite/27/istringstream_formatted.cc: Add tests.
5781 * bits/locfacets.h: Remove cruft from _Format_cache, continue
5782 commenting, simplify.
5783 * bits/locfacets.tcc: Same.
5785 1999-04-27 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
5786 * bits/locfacets.tcc (num_get::do_get):
5787 Fix the sscanf format parameter
5788 for long long 'll' (as in C9X) instead of 'l'.
5789 Fix the order of sscanf format parameters: "%dl" --> "%ld".
5790 Change the type of the local variable '__conv' from 'string'
5791 to 'const char*' and adapt the change.
5793 1999-04-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
5795 * bits/locfacets.h: Document _Format_cache, and name data members
5796 after the corresponding functions in numpunct. For instance:
5797 _M_grsep -> _M_thousands_sep, and _M_decsep -> _M_decimal_point.
5798 Break apart _M_boolnames{2] into _M_truename and _M_falsename.
5799 * bits/locfacets.tcc: Same.
5801 * bits/locfacets.h (num_get::_M_extract): Don't allow groupings to
5802 stop parsing--store for later analysis.
5803 * testsuite/27/istringstream_formatted.cc: Add cases.
5805 1999-04-25 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5807 * bits/valarray_meta.h: tweak.
5808 (_UnFunBase, _BinFunBase, _BinFunBase1, _BinFunBase2, _BinBase1,
5809 _BinFunBase2): rename typedef-name _Tp to _Vt to keep the compiler
5810 happy -- boggus warning.
5811 * bits/std_valarray.h: Fix.
5812 (valarray<T>::shift): Fix. Update comment.
5813 (valarray<T>::cshift): Fix.
5815 1999-04-23 Benjamin Kosnik <bkoz@cygnus.com>
5817 * testsuite/27filebuf-2.txt: Delete.
5818 * testsuite/27/filebuf.cc: Put output files directly into the
5819 correct subdirectory (27).
5821 Alexandre Petit-Bianco <apbianco@cygnus.com>
5822 * testsuite/make_check_libfree++: Check generated (*.txt) file
5823 against stored results file (*.tst).
5825 1999-04-22 Benjamin Kosnik <bkoz@nabi.net>
5827 * bits/locfacets.tcc: Fix.
5829 * bits/fstream.tcc (filebuf::seekoff): Output current out pointer.
5830 (filebuf::overflow): Simplify.
5831 (filebuf::xsputn): Correctly handle indeterminate state.
5833 * testsuite/27/istringstream_formatted.cc: Tweak.
5834 * testsuite/27/filebuf.cc: Tweak.
5835 * testsuite/27/filebuf-3.tst: Correct: this is the canonical
5836 results file, please use this in the future to guarantee filebuf
5837 positioning accuracy.
5838 * testsuite/27/filebuf-2.tst: Same.
5840 1999-04-21 Benjamin Kosnik <bkoz@cygnus.com>
5842 * bits/fstream.tcc (filebuf::xsputn): Add.
5843 * bits/std_fstream.h: Declare.
5845 * src/basic_file.cc (__basic_file::open): Add O_CREAT to open
5846 calls using ios_base::trunc.
5848 * bits/sstream.tcc (streambuf::overflow): Fix crasher.
5850 * testsuite/make_check_libfree++ (LOG_FILE): Ugh. Another fix.
5851 * testsuite/27/27stringstream.cc: Same.
5852 * testsuite/27/27stringbuf.cc: More tweaks.
5853 * testsuite/27/27filebuf-2.txt: Remove.
5855 * testsuite/27/27filebuf-1.tst: Append, to force byte size over
5856 BUFSIZE so that overflows/underflow can be tested with default
5858 * testsuite/27/27filebuf-1.tst: Add.
5860 * testsuite/*/*: Remove pre-pended chapter names, as they
5861 duplicate the chapter info contained in the enclosing directory
5864 1999-04-20 Benjamin Kosnik <bkoz@cygnus.com>
5866 * bits/streambuf.tcc (streambuf::xsputn): Re-implement to conform
5867 to sputc conditions.
5869 * bits/ios_base.h: Define here.
5870 * src/ios.cc (ios_base::_M_clear): Remove hack.
5871 * bits/basic_ios.h: Fix rdstate().
5873 * bits/sstream.tcc (streambuf::seekoff): Fix.
5874 * bits/fstream.tcc (filebuf::seekoff): Tweak comments.
5876 * testsuite/make_check_libfree++ (LOG_FILE): More c-c-c-changes.
5877 * testsuite/24/24iterator.cc: Add/Fixes for DEBUG_ASSERT.
5878 * testsuite/27/27stringstream.cc: Same.
5879 * testsuite/27/27stringbuf.cc: Same.
5880 * testsuite/27/27istringstream_formatted.cc: Same.
5881 * testsuite/27/27filebuf.cc: Same.
5883 * bits/locfacets.h: Remove specializations for messages<char> and
5884 messages<wchar_t> ctors. Same for moneypunct. Not required, not used.
5885 * src/locale.cc: Remove definitions for above.
5886 * src/misc-inst.cc: Revert, take out iomanip.h include.
5887 * bits/std_iomanip.h: Tweak, format.
5889 1999-04-19 Benjamin Kosnik <bkoz@cygnus.com>
5891 * bits/loccore.h: Format, move inline.
5892 * bits/locfacets.tcc: Same.
5893 * bits/locfacets.h: Same.
5895 Ulrich Drepper <drepper@cygnus.com>
5896 * aclocal.m4: Re-generate.
5897 * configure, configure.in: Same.
5898 * m4/lc_messages.m4: New file.
5900 1999-04-18 Benjamin Kosnik <bkoz@cygnus.com>
5902 * bits/std_ostream.h: Fix typedef for wchar_t instantiations.
5903 * bits/sstream.tcc: Tweak.
5905 * std/iostream: Put __ioinit inside macro guards.
5907 * src/stlinst.cc: Delete and move to . . .
5908 * src/stl-inst.cc: New file, plus wrapping in namespace std.
5909 * src/Makefile.in: Change.
5910 * src/Makefile.am: Same.
5911 * src/misc-inst.cc: Add istringstream/ostringstream instantiations.
5913 * testsuite/make_check_libfree++: Efficiently format for minimal
5914 space. Enforce stricter execution tests by enabling
5917 1999-04-16 Benjamin Kosnik <bkoz@cygnus.com>
5919 * docs/text/RELEASE-NOTES: Fix include typo.
5921 * src/Makefile.am (headers): Add istream.tcc.
5922 * src/Makefile.in (headers): Add istream.tcc.
5924 * ltconfig, ltmain.sh, libtool: Update to libtool-1.2g.
5926 1999-04-16 Benjamin Kosnik <bkoz@cygnus.com>
5928 * bits/locfacets.tcc (num_get::do_get(long)): Finish roughing in.
5929 * bits/locfacets.h (num_get::_M_extract): New functin:
5930 consolidate logic for do_get(...) members.
5932 * bits/sbuf_iter.h (istreambuf_iterator::operator++()): Fix.
5933 * testsuite/27/27istringstream_formatted.cc: Add.
5935 1999-04-16 Martin v. Loewis <martin@mira.isdn.cs.tu-berlin.de>
5937 * src/basic_file.cc (__basic_file::open): Fix thinko in
5938 _G_HAVE_IO_FILE_OPEN bits.
5939 * bits/std_istream.h (sentry::sentry(istream, bool)): Fix isspace bug.
5940 * bits/std_cmath.h: Add stdlib.h include for ldiv_t.
5941 * src/complex.cc (FCT): Qualify all functions with global namespace.
5942 * src/locale.cc: Don't qualify memcpy and setlocale.
5943 * src/stdexcept.cc (__out_of_range): Qualify out_of_range with std::.
5944 (__length_error): Likewise, for length_error.
5945 * src/stlinst.cc: Qualify instantiations with std::.
5947 1999-04-15 Benjamin Kosnik <bkoz@cygnus.com>
5949 * C++STYLE: Add ChangeLog guidelines for member functions.
5952 * BADNAMES, BUGS, C++STYLE, CHECKLIST, COPYING,
5953 DESIGN, HEADER_POLICY, PROBLEMS, RELEASE-NOTES, TODO: Moved into
5954 docs/text and made less strident.
5956 * bits/fstream.tcc: Change non-standard ctor to match Sun's sematics.
5957 * bits/std_fstream.h: Same.
5960 * bits/locfacets.h: Touch.
5962 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
5964 * math/cexp.c (cexp): Use NAN instead of nan("").
5965 Reported by joel reed <joelreed@yahoo.com>.
5967 * libio/libioP.h: Define _IO_seek_fpos_t and _IO_seek_off_t based on
5968 _G_IO_IO_FILE_VERSION. Use these types in the prototypes.
5969 * libio/fileops.c: Use _IO_seek_fpos_t and _IO_seek_off_t types
5970 instead of #if cascades.
5971 * libio/genops.c: Likewise.
5972 * libio/ioseekoff.c: Likewise.
5973 * libio/ioseekpos.c: Likewise.
5974 * libio/strops.c: Likewise.
5975 Patch by Chip Salzenberg <chip@perlsupport.com>.
5977 1999-04-15 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5979 * docs: New directory.
5980 * docs/html: Likewise.
5981 * docs/text: Likewise.
5982 * docs/image: Likewise.
5984 * bits/std_cmath.h: Add new functions.
5985 (abs): overload for long and double.
5986 (div): overload for long.
5988 * bits/valarray_array.h: Fix.
5989 * bits/gslice.h: Adjust friend.
5990 * bits/slice_array.h: likewise.
5991 * bits/valarray_meta.h: likewise.
5993 1999-04-13 Benjamin Kosnik <bkoz@tintin.cygnus.com>
5995 * bits/locfacets.h: More changes, for num_get for insertion
5996 operators for integral types. Comment fields in _Format_cache.
5997 * bits/locfacets.tcc: And here too: add preliminary long version.
5998 * testsuite/27/27istringstream_formatted.cc: Add cases.
6000 1999-04-13 Mark Elbrecht <snowball3@usa.net>
6002 * configure.in: Add locale.h to AC_CHECK_HEADERS argument. Call
6003 AC_LC_MESSAGES macro.
6004 * aclocal.m4 (AC_LC_MESSAGES): New. Determines if a target
6005 supports LC_MESSAGES.
6006 * config.h.in: Add entry for HAVE_LC_MESSAGES.
6007 * src/locale.cc (locale::_S_normalize_category): Use the
6008 HAVE_LC_MESSAGES macro to check for LC_MESSAGES support instead of
6009 _G_NO_CLOCALE_HAS_MESSAGES.
6010 * aclocal.m4 (AM_PROG_LD): For DOS style paths, simplify test to
6011 '?:' from '?:\\' so any path beginning with a drive name matches.
6013 1999-04-12 Mark Elbrecht <snowball3@usa.net>
6015 * src/basic_file.cc(sys_open) [O_BINARY]: Declare __testb.
6017 1999-04-12 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6019 * bits/locfacets.h: Tweak.
6020 * bits/locfacets.tcc(do_get): Clean/fix bool method.
6022 * testsuite/21/21nonmember.cc: Same.
6023 * testsuite/21/21compare.cc: Fix license.
6024 * testsuite/27/27istringstream_formatted.cc: New file.
6026 1999-04-12 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6028 * bits/valarray_meta.h: _BinFunBase1, _BinFunBase2, _BinBase1,
6029 _BinBase2: new template classes; put in there to work around a
6030 compiler limitation. The whole valarray architecture is now
6033 1999-04-08 Benjamin Kosnik <bkoz@haight.constant.com>
6035 * bits/locfacets.tcc: Fix, format.
6036 * bits/locfacets.h: Fix.
6037 * src/locale.cc: Same, plus format.
6039 * bits/basic_string.h: Re-add definition here.
6040 * src/string.cc: Take out.
6042 1999-04-08 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6044 * bits/std_valarray.h: tweak.
6045 * bits/valarray_array.h tweak. use _Expr.
6046 * bits/slice_array.h: likewise.
6047 * bits/gslice_array.h: likewise.
6048 * bits/mask_array.h: likewise.
6049 * bits/indirect_array.h: likewise.
6050 * bits/valarray_meta.h: tweak.
6051 _UnFunBase, _UnFunClos, _BinFunBase, _FunBase, _ValFunClos,
6052 _RefFunClos, _UnBase, _UnClos, _BinBase, _BinClos, _SClos, _GClos,
6053 _IClos: new template classes.
6054 _Meta: renamed to _Expr. Made template with args.
6055 _Constant: made template with two args.
6057 1999-04-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6059 * bits/valarray_array.h: tweak.
6061 1999-04-06 Benjamin Kosnik <bkoz@cygnus.com>
6063 * bits/basic_string.h: Whoops--fix blip.
6065 1999-04-06 Benjamin Kosnik <bkoz@cygnus.com>
6067 Update to SGI STL 3.13
6068 * bits/basic_string.h: Add __get_c_string definition.
6069 * stl/bits/stl_range_errors.h: New file.
6070 * stl/bits/std_bvector.h: Same.
6071 * stl/bits/*: Update.
6073 1999-04-04 1999 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6075 * bits/slice_array.h: tweak.
6076 * bits/gslice_array.h: tweak.
6077 * bits/mask_array.h: tweak.
6078 * bits/indirect_array.h: tweak.
6079 * bits/valarray_array.h: tweak.
6080 (__valarray_copy): replace copy with memcpy.
6081 * bits/std_valarray.h: use __valarray_copy whenever possible.
6082 use __valarray_fill instead of fill.
6084 1999-04-02 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6086 * src/gen-num-limits.cc: new file
6087 * mknumeric_limits: Ditto.
6089 1999-03-30 Benjamin Kosnik <bkoz@cygnus.com>
6091 * bits/locfacets.tcc: Do a stub version of num_get for short, int,
6093 * bits/locfacets.h: Add num_get::get methods overloaded for int
6094 and short, to resolve ambiguous overloads in istream insertion
6097 1999-03-30 Benjamin Kosnik <bkoz@cygnus.com>
6099 * bits/std_istream.h: Fix.
6100 * bits/istream.tcc: Fix.
6102 1999-03-30 Philip Martin <pm@corris.dircon.co.uk>
6104 * testsuite/24/24iterator.cc: fix ++/-- tests
6106 1999-03-29 Benjamin Kosnik <bkoz@cygnus.com>
6108 * bits/std_ostream.h: Looks like this, actually: Fix up eh-isms.
6109 * bits/ostream.tcc: Same.
6111 * bits/std_istream.h: Bring over ostream changes, implement member
6112 functions. Baseline.
6113 * bits/istream.tcc: New file.
6115 1999-03-26 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6117 * bits/gslice.h (class gslice): fix friends template.
6119 1999-03-23 Benjamin Kosnik <bkoz@cygnus.com>
6121 * bits/std_ostream.h: Fix sentry objects, implement seekp, tellp,
6123 * bits/ostream.tcc: Same.
6125 * bits/std_istream.h: Minor tweaks.
6127 1999-03-18 Benjamin Kosnik <bkoz@cygnus.com>
6129 * src/locale-inst.cc: Remove duplicate instantiations.
6130 * bits/locfacets.tcc: Tweak definitions of static member.
6132 1999-03-18 Benjamin Kosnik <bkoz@cygnus.com>
6134 * bits/std_fstream.h: Format: prepend "__" in front of
6135 non-standard typedefs.
6136 * bits/fstream.tcc: Match.
6137 * bits/std_streambuf.h: Format: prepend "__" in front of
6138 non-standard typedefs.
6140 * bits/sstream.tcc: Match.
6141 * bits/std_istream.h: Format.
6142 * src/locale-inst.cc: Add num_get instantiations.
6144 * bits/std_sstream.h: Fix crash in stringstreams. Remove member
6145 _M_sb, a basic_stringbuf object, and use the basic_ios pointer
6146 _M_streambuf instead. Make initializations sane. Fix
6147 allocation/deallocation of _M_streambuf.
6148 * bits/std_ostream.h: Fix initialization code.
6149 (ctor): Eliminate redundant this->init(), let base class initialize.
6150 (default ctor): New. Assume base classes already initialzed.
6151 * bits/std_istream.h: Parallel work to ostream.
6152 (ctor): Eliminate redundant this->init(), let base class initialize.
6153 (default ctor): New. Assume base classes already initialzed.
6154 Fix initialization of basic_iostream.
6156 * bits/std_fstream.h: While we're at it, make initializations sane
6157 here too. Now matches sstream.h.
6159 * bits/string.tcc: Fix crash in basic_string::compare.
6160 * bits/basic_string.h: And here.
6161 * bits/c++config.h: Add comment about _G_USE_EXCEPTIONS.
6163 * testsuite/make_check_libfree++: Check shared as well.
6164 * testsuite/27/27stringstream.cc: Add bits.
6165 * testsuite/27/27boolfmt.cc: Add bits.
6166 * testsuite/27/27octfmt.cc: Add bits.
6168 1999-03-17 Benjamin Kosnik <bkoz@happy.cygnus.com>
6170 * configure.in (USE_LONG_DOUBLE): signbitl link error.
6172 * bits/locfacets.h: Fix errors that cause build problems
6173 with current egcs (template parameters have class scope).
6174 * bits/locfacets.tcc: Same.
6175 * src/locale-inst.cc: Same, clean.
6176 * src/misc-inst.cc: Same, clean.
6178 1999-03-17 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6180 * stl/bits/std_memory.h: Modify auto_ptr::reset to reflect the
6181 standard. Re-apply this previous patch.
6183 1999-03-17 Philip Martin <pm@corris.dircon.co.uk>
6185 * bits/basic_string.h: Use __normal_iterator<> for iterators.
6186 * bits/std_sstream.h: Support __normal_iterator<> iterators.
6187 * bits/string.tcc: Ditto.
6188 * src/misc-inst.cc: Ditto.
6189 * src/locale-inst.cc: Ditto.
6190 * stl/bits/stl_iterator.h: Add __normal_iterator<>.
6191 * stl/bits/stl_vector.h: Use __normal_iterator<> for iterators.
6192 * testsuite/24/24iterator.cc: Add test cases for basic_string and
6195 1999-03-16 Benjamin Kosnik <bkoz@cygnus.com>
6197 * bits/locfacets.tcc: Remove macro hack.
6198 * bits/locfacets.h: Tweaks.
6199 * src/misc-inst.cc: Weed out locale-related instantiations.
6200 * src/locale-inst.cc: Same.
6202 * RELEASE-NOTES: Make more changes.
6203 * bits/c++config.h: Bump version number.
6205 * testsuite/make_check_libfree++: Collect diagnostics.
6207 * bits/std_ostream.h: Fix ostream initialization/destruction
6208 problem, related to dtor cleanup and new cached facets, agggggggh.
6209 * bits/ostream.tcc: Tweak.
6210 * bits/locfacets.h: Remove all friends of iostream classes.
6211 * bits/ios_base.h: Same.
6212 * bits/streambuf.tcc: Tweak.
6213 * bits/std_streambuf.h: Tweak.
6214 * bits/std_fstream.h: Tweak.
6215 * bits/fstream.tcc: Tweak.
6216 * src/stdstreams.cc: Tweak.
6217 * src/ios.cc: Close streams.
6219 * math/Makefile.in: Add missing files for shared link errors.
6220 * math/Makefile.am: Same.
6222 1999-03-15 Benjamin Kosnik <bkoz@cygnus.com>
6224 * src/locale-inst.cc: More wchar_t instantiations.
6225 * src/misc-inst.cc: Missed a few bits.
6226 * testsuite/make_check_libfree++: Add static and shared runs.
6227 * src/ios.cc: Add clarity to ios_base::Init::~Init().
6229 1999-03-15 Benjamin Kosnik <bkoz@cygnus.com>
6231 * bits/std_ostream.h: Format, expunge, simplify. Add cached
6232 facets. Resolve link errors.
6233 * bits/ostream.tcc: Same.
6234 * src/misc-inst.cc: Add ostream, wostream instantiations.
6235 * src/Makefile.am: Add missing bits for stdstreams.cc.
6236 * src/Makefile.in: Same.
6237 * bits/std_iosfwd.h: Format.
6238 * bits/locfacets.h (num_put): Add basic_ostream as a friend to
6239 num_put so that cached _M_fnumput pointer can be deleted in
6240 basic_ostream's dtor. Now everybody plays nice.
6242 1999-03-12 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6244 * bits/gslice.h (class gslice): Make friends valarray,
6245 gslice_array and _GliceExpression.
6247 1999-03-11 Benjamin Kosnik <bkoz@cygnus.com>
6249 * RELEASE-NOTES: Update.
6250 * src/ios.cc: Use do proper init.
6251 * bits/std_streambuf.h: Tweak.
6252 * bits/std_iostream.h: Take out static member.
6253 * std/iostream: Put here.
6254 * bits/std_ostream.h: Non-default ctor shouldn't smash _M_streambuf.
6255 * bits/std_istream.h: Ditto.
6256 * bits/basic_ios.h: Format.
6257 * bits/ostream.tcc(write): Fix.
6258 * bits/fstream.tcc: Fix stdstreams ctor to do a proper
6259 initialization of the fstream class.
6260 * src/stdstreams.cc: I'm baaaaaaaack.
6262 1999-03-10 Benjamin Kosnik <bkoz@rhino.cygnus.com>
6264 * bits/ios_base.h: Correct comments. Add ios_base::init()
6265 functionality. Format, tweak, expunge, clean, bathe, and hang to dry.
6266 * src/misc-inst.cc: Add instantiations here.
6267 * src/ios.cc: Clean.
6268 * bits/std_iostream.h: Add wrappers, global ios_base::Init object.
6269 * src/stdstreams.cc: Delete this file, as now unnecessary.
6270 * bits/fstream.tcc: Add missing initialization bits for ctor.
6271 * src/Makefile.am (libstdc___la_SOURCES): Delete here as well.
6272 * src/Makefile.in (libstdc___la_OBJECTS): And here.
6274 * bits/streambuf.tcc: Tweak.
6275 * bits/sstream.tcc: Here too.
6277 * bits/fstream.tcc: And change definition as well.
6278 * bits/std_fstream.h: Change ctor.
6279 * src/basic_file.cc (sys_open): Add call that opens a specific fileno.
6280 * bits/basic_file.h: Add declarations.
6282 * testsuite/27/27hello.cc: New file.
6284 * bits/std_ostream.h: Move flush() inline.
6285 * bits/ostream.tcc: From here.
6287 * bits/char_traits.h: Add include of fpos.h for streamoff/streampos.
6288 * bits/std_ios.h: Change include libio to only when necessary.
6289 * bits/fpos.h: Like here.
6290 * ios_base.h: And here.
6292 * bits/locfacets.h: Change _Iostate to _Ios_Iostate.
6293 * bits/locfacets.tcc: Same.
6294 * bits/std_locale.h: Include std_ios.h not std_iosfwd.h.
6295 * bits/std_iosfwd.h: Move _Ios_Iostate to ios_base.h
6297 1999-03-09 Benjamin Kosnik <bkoz@rhino.cygnus.com>
6299 * bits/basic_ios.h: Change _M_ctype to _M_fctype.
6301 * bits/std_streambuf.h: Clean, tweak.
6302 * bits/std_fstream.h: Same.
6303 * bits/std_sstream.h: Same.
6304 * bits/streambuf.tcc: Move most member functions out-of-line.
6305 * bits/fstream.tcc: Same.
6306 * bits/streambuf.tcc: Same.
6308 * bits/basic_file.h(filepos_cur): Set correctly.
6309 (filepos_beg): Same.
6310 (seekpos): Change to __c_streampos.
6311 * src/basic_file.cc (std): Change to __c_streampos.
6313 * testsuite/27/27filebuf.cc: Round one is finished.
6314 * testsuite/27/27filebuf-2.tst: New file, final output should match.
6315 * testsuite/27/27filebuf-3.tst: Same.
6317 1999-03-08 Benjamin Kosnik <bkoz@rhino.cygnus.com>
6319 * bits/basic_file.h: Fix typo, add comments about what to expect
6320 from the various member functions in __basic_file.
6322 * bits/std_fstream.h: Re-do sync/underflow to work
6323 together. Change from sys_read to xsgetn and from sys_write to
6324 xsputn. As it should have been from the beginning. . .
6326 1999-03-06 Benjamin Kosnik <bkoz@haight.constant.com>
6328 * bits/c++config.h (__GLIBCPP__): Add versioning macro.
6330 * bits/basic_file.h(file_beg): New function.
6333 * testsuite/27/27filebuf.cc: Test in, out, in | out.
6334 * bits/std_fstream.h: More _M_mode refinements.
6335 (synch): Add bits for out mode only.
6336 * bits/std_streambuf.h(xsputn): Correct for filebufs.
6337 * bits/std_sstream.h: Ditto.
6339 1999-03-03 Benjamin Kosnik <bkoz@cygnus.com>
6341 * bits/std_fstream.h: Fix _M_mode AND with ios_base::openmode.
6342 * testsuite/27/27filebuf.cc: Modify.
6343 * bits/c++config.h: Fix.
6345 1999-03-02 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6347 * bits/c++config.h: New macro, _G_RESOLVE_LIB_DEFECTS, used to put
6348 code in place that diverges from the final standard, but has been
6349 brought up on the library mailing list.
6351 * bits/std_fstream.h(underflow): Position all three internal
6352 buffer pointers at the same initial position. Re-implement with
6353 basic_filebuf abstraction.
6357 * bits/std_sstream.h: Move _M_mode down into base class
6359 * bits/sstream.tcc: Ditto.
6360 * bits/std_streambuf.h: Ditto.
6362 * testsuite/27/27filebuf.cc: Tweak.
6364 1999-02-27 Benjamin Kosnik <bkoz@slap-happy.cygnus.com>
6366 * bits/std_sstream.h: Ditto.
6367 * bits/std_fstream.h: Fix blip.
6369 1999-02-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
6371 * C++STYLE: Add cases.
6372 * bits/std_fstream.h: Format.
6373 * bits/std_streambuf.h: Ditto.
6374 * bits/std_sstream.h: Ditto.
6376 * src/basic_file.cc(sys_seek): Fix stack delirium, by keeping
6377 return type for _IO_file_seek and __basic_file::seek the same size.
6378 * bits/basic_file.h: Ditto.
6380 1999-02-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
6382 * bits/fstream.tcc: Add include guards.
6383 * src/misc-inst.cc: Add instantiations for shared libes.
6384 * src/locale-inst.cc: Add instantiaions for use_facet.
6385 * bits/loccore.h: Remove specialization foward decls for
6386 use_facet<ctype>: perhaps add the whole lot of them later on.
6387 * bits/std_fstream.h: Fix.
6388 * bits/locfacets.h: Ditto.
6389 * src/stdstreams.cc: Disable wide streams for now.
6391 * src/Makefile.am (CXXFLAGS): Change up.
6392 * src/Makefile.in (CXXFLAGS): Ditto.
6394 1999-02-25 Benjamin Kosnik <bkoz@happy.cygnus.com>
6396 * src/basic_file.cc: Change to ios_base::seekdir from int.
6397 * bits/basic_file.h: Ditto.
6398 * bits/locfacets.h : Fix blip with new guard macros.
6400 1999-02-25 Benjamin Kosnik <bkoz@cygnus.com>
6402 * stl/bits/stl_config.h (__STL_USE_STD_ALLOCATORS): Minor tweaking.
6403 * bits/c++config.h: Clean. Remove _G_NO_STREAMBUF_ITERATORS and
6405 * amm1/locale: Remove unused defines.
6406 * generic/locale: Ditto.
6407 * src/ios.cc: Ditto.
6408 * src/locale.cc: Ditto.
6409 * src/locale-inst.cc: Ditto.
6410 * src/localename.cc: Ditto.
6411 * src/stdstreams.cc: And here.
6413 * bits/c++config.h (_G_USE_WCHAR_T): Fix.
6414 * bits/loccore.h: Simplify, clean, add wchar_t guards.
6415 * bits/loccore.tcc: Ditto.
6416 * bits/locfacets.h: Ditto.
6417 * src/locale-inst.cc: Ditto.
6418 * bits/locfacets.tcc: Add do_put long long here.
6420 1999-02-24 Benjamin Kosnik <bkoz@cygnus.com>
6422 * bits/std_streambuf.h: Add cached ctype facet, _M_ctype.
6423 * bits/basic_ios.h: Clean. Replace _M_strbuf with
6424 _M_streambuf. Use cached _M_cvt in basic_streambuf.
6425 * bits/std_istream.h: Replace _M_strbuf with _M_streambuf.
6426 * bits/std_fstream.h: Tweak.
6428 * bits/char_traits.h: Remove fpos definitions from here. . .
6429 * bits/fpos.h: New file, put them here. Eventually, this may allow
6430 the severing of char_traits and fpos dependancies.
6431 * src/Makefile.in: Add fpos.h.
6432 * src/Makefile.am: Ditto.
6433 * bits/std_string.h: Add fpos.h include here.
6434 * bits/std_ios.h: And here.
6436 * bits/std_streambuf.h: Change _M_init to _M_initialized.
6437 * bits/ios_base.h: Remove cstdio include.
6438 * bits/std_ios.h: ... Place here.
6440 1999-02-23 Benjamin Kosnik <bkoz@loony.cygnus.com>
6442 * src/Makefile.in (CXXFLAGS): Re-add -fvtable-thunks.
6443 * src/Makefile.am (CXXFLAGS): Re-add -fvtable-thunks.
6445 * bits/basic_file.h: Comment, adjust arguments.
6446 * src/basic_file.cc: Ditto.
6448 * bits/std_fstream.h(seekoff): Error is of fpos type, not integral
6449 type: check and convert accordingly. Re-interpet "resultant stream
6450 position" to indicate external byte sequence location, not internal
6453 1999-02-22 Benjamin Kosnik <bkoz@loony.cygnus.com>
6455 * mkcshadow: And change copyright here.
6456 * src/Makefile.am (CXXFLAGS): Add -g -O2. Add new header
6457 dependencies for stl_pthread_alloc.h, pthread_allocimpl.h,
6458 stl_thread.h, and stl_iterator_base.h.
6459 * src/Makefile.in (CXXFLAGS): Ditto.
6460 * stl/backward/pthread_alloc.h: Remove.
6462 1999-02-19 Benjamin Kosnik <bkoz@loony.cygnus.com>
6464 * bits/std_streambuf.h (sungetc): Use standard defs for putback
6466 * bits/std_fstream.h (pbackfail): Correct.
6468 (seekoff): Implement.
6470 * testsuite/27/27filebuf.cc: Add test cases.
6472 1999-02-18 Benjamin Kosnik <bkoz@loony.cygnus.com>
6474 * bits/std_fstream.h: Go with basic_file's interfaces for dealing
6475 with the external buffers, and stop mucking around with setting
6476 and re-setting the external buf's pointers. Aka, clarity and
6477 simplicity rule the day.
6478 * src/locale.cc: Use memcpy in codecvt::do_in and codecvt::do_out.
6479 Remove partial result and support code.
6481 1999-02-18 Ulrich Drepper <drepper@cygnus.com>
6483 * configure.in: Add hypot, hypotf, atan2f, expf, and copysignf to
6484 list of function which have to be replaced.
6485 Remove expf from list of functions to test for.
6486 Define USE_LONG_DOUBLE in case the libm has partial support for long
6488 * Makefile.in: Regenerated.
6489 * config.h.in: Likewise.
6490 * configure: Likewise.
6491 * libio/Makefile.am (LIBIO_SRCS): Add missing backslash.
6492 * libio/Makefile.in: Regenerated.
6493 * src/Makefile.in: Regenerated.
6494 * string/Makefile.in: Regenerated.
6495 * math/Makefile.am (EXTRA_DIST): Add hypot.c, hypotf.c, hypotl.c,
6496 atan2f.c, expf.c, and $(EXTRA_yes).
6497 (EXTRA_yes): Add signbitl.c mycabsl.c.
6498 (libmath_la_LIBADD): Add $(EXTRA_$(USE_LONG_DOUBLE)).
6499 (libmath_la_SOURCES): remove long double versions.
6500 * math/Makefile.in: Regnerated.
6501 * math/atan2f.c: New file.
6502 * math/copysignf.c: New file.
6503 * math/expf.c: New file.
6504 * math/hypot.c: New file.
6505 * math/hypotf.c: New file.
6506 * math/hypotl.c: New file.
6507 * math/cargf.c: Use correct function and macro names.
6508 * math/ccos.c: Likewise.
6509 * math/ccosh.c: Likewise.
6510 * math/ccoshf.c: Likewise.
6511 * math/ccoshl.c: Likewise.
6512 * math/cexp.c: Likewise.
6513 * math/cexpf.c: Likewise.
6514 * math/cexpl.c: Likewise.
6515 * math/clog.c: Likewise.
6516 * math/clog10.c: Likewise.
6517 * math/clog10f.c: Likewise.
6518 * math/clog10l.c: Likewise.
6519 * math/clogf.c: Likewise.
6520 * math/clogl.c: Likewise.
6521 * math/copysignf.c: Likewise.
6522 * math/csin.c: Likewise.
6523 * math/csinf.c: Likewise.
6524 * math/csinh.c: Likewise.
6525 * math/csinhf.c: Likewise.
6526 * math/csinhl.c: Likewise.
6527 * math/csinl.c: Likewise.
6528 * math/csqrt.c: Likewise.
6529 * math/csqrtf.c: Likewise.
6530 * math/csqrtl.c: Likewise.
6531 * math/ctan.c: Likewise.
6532 * math/ctanf.c: Likewise.
6533 * math/ctanh.c: Likewise.
6534 * math/ctanhf.c: Likewise.
6535 * math/ctanhl.c: Likewise.
6536 * math/ctanl.c: Likewise.
6538 1999-02-17 Benjamin Kosnik <bkoz@cygnus.com>
6540 * testsuite/27/27filebuf.cc: Add cases.
6541 * testsuite/27/27filebuf-1.txt: Remove inadvertent garbage.
6542 * bits/std_streambuf.h: Simplify, always have one return statement.
6543 * bits/std_fstream.h: Tweak comments in underflow.
6545 1999-02-17 Ulrich Drepper <drepper@cygnus.com>
6547 * ltmain.sh: Update from libtool 1.2d and fix Solaris problems.
6548 * ltconfig: Likewise.
6550 1999-02-16 Christophe Pierret <cpierret@businessobjects.com>
6552 * src/locale.cc: Fix assert.
6554 1999-02-16 Benjamin Kosnik <bkoz@cygnus.com>
6556 FIXME: Still need some kind of solution for undefined math symbols.
6557 * src/Makefile.in (locale-inst.lo): Compile with
6558 -fimplicit-templates to fix Solaris link problem.
6559 * src/Makefile.am: Ditto.
6560 * libio/Makefile.in: Add stdfiles.c so that _IO_list_all is defined.
6561 * libio/Makefile.am: Ditto.
6562 * src/locale.cc: Provide some kind of def for _S_tolower.
6563 * bits/locfacets.h: Fix declarations of ctype<wchar_t> to
6564 match ctype<char> for _S_tolower, _S_toupper, _S_table.
6566 1999-02-10 Benjamin Kosnik <bkoz@cygnus.com>
6568 * bits/loccore.tcc: Move member-template ctor inline...
6569 * bits/loccore.h: ...here.
6570 * src/locale-inst.cc: Add instantiation here.
6572 * testsuite/27/27stringstream.cc: Tweak.
6574 * bits/ostream.tcc: Include sbuf_iter.h.
6576 * bits/ostream.tcc: Convert *this to ostreambuf_iterator before
6577 passing to num_put, as num_put's first argument is an interator,
6580 * testsuite/make_check_libfree++: New file, runs through the
6581 existing test files in the testsuite directory and makes sure
6584 1999-02-10 Brendan Kehoe <brendan@cygnus.com>
6586 * testsuite/21/21compare.cc: Fix typo.
6587 * src/locale.cc (ctype<wchar_t>::_S_{toupper,tolower,table}):
6588 Don't try to provide non-linux versions, since it's impossible to
6589 initialize their const references with the integer 0, no matter
6590 how we try to cast it.
6592 1999-02-10 Benjamin Kosnik <bkoz@cygnus.com>
6594 * bits/std_locale.h: Move std_vector.h dependency.
6595 * bits/std_ios.h: ...from here.
6596 * bits/std_string.h: ...and here.
6597 * src/locale.cc: ..to here.
6598 * bits/loccore.h: Ditto, add vector forward declaration,
6599 make locale::_Impl data members pointers not containers.
6600 * bits/loccore.tcc: Move out-of-line for now.
6601 * bits/locfacets.h: Move vector dependency from here...
6602 * bits/locfacets.tcc: ...to here.
6603 * src/localename.cc: ..and here.
6604 * src/locale-inst.cc: Add include of locfacets.tcc here.
6606 * stl/bits/stl_string_fwd.h: Make __get_c_string non-static.
6607 * bits/basic_string.h: Can't use sizeof on an incomplete type.
6608 * bits/string.tcc: Tweak.
6609 * src/string.cc: And add __get_c_string def here.
6611 * bits/std_fstream.h: Yeah, comment the fill_n idea out as impractical.
6613 * src/stlinst.cc: Add include of stl_config.h.
6615 1999-02-09 Benjamin Kosnik <bkoz@cygnus.com>
6617 * stl/bits/std_bitset.h: Update to SGI STL 3.12.
6618 * stl/bits/stl_config.h: Tweak, update.
6619 * stl/bits/std_stdexcept.h: Ditto, change stl_exception to
6621 * stl/bits/std_memory.h: Reconstructed auto_ptr, Ditto.
6622 * stl/bits/std_functional.h: Ditto.
6624 * stl/bits/stl_string.h: New file, SGI's string
6625 implementation. For reference only, corresponding to string in
6627 * stl/bits/stl_char_traits.h: As above.
6629 * stl/bits/pthread_allocimpl.h: New file corresponding to
6631 * stl/bits/stl_pthread_alloc.h: New file corresponding to
6633 * stl/bits/stl_threads.h: New file.
6635 Note that SGI STL 3.12's file iterator.h is not used.
6636 * stl/bits/std_iterator.h: Ditto.
6637 * stl/bits/stl_iterator.h: Drop in replace.
6638 * stl/bits/stl_iterator_base.h: New file, drop in replace.
6640 * stl/bits/stl_queue.h, stl_rope.h, stl_set.h, stl_stack.h,
6641 stl_string_fwd.h, stl_tempbuf.h, stl_tree.h, stl_vector.h,
6642 stl_pair.h, stl_multimap.h, stl_multiset.h, stl_list.h,
6643 stl_hashtable.h, stl_hash_set.h, stl_hash_map.h, stl_function.h,
6644 stl_deque.h, stl_alloc.h, stl_algo.h, stl_algobase.h, ropeimpl.h:
6645 Drop-in replace (ie, stop changing __SGI_STL_* to _CPP_BITS_* for
6646 preprocessor guards, but fixup include paths and names according
6647 to new directory layout).
6649 1999-02-05 Benjamin Kosnik <bkoz@cygnus.com>
6651 * bits/std_fstream.h: Remove _M_open data member.
6652 * bits/fstream.tcc: Ditto.
6654 * src/locale.cc: Tweak.
6656 * bits/std_sstream.h: Simplify.
6658 * bits/std_streambuf.h: Simplify.
6659 (sputc): Use correct definition of "write area."
6661 * bits/std_fstream.h: Fix uflow.
6662 * src/basic_file.cc: Tweak.
6663 * testsuite/27/27filebuf.cc: Add tests.
6664 * testsuite/27/27filebuf-3.txt: Rename to *-2.txt.
6666 1999-02-02 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6668 * bits/ios_base.h: Make protected.
6670 1999-02-01 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6672 * bits/ios_base.h: Changes in the class ios_base:
6673 Rename _M_exceptions member to _M_exceptions_data.
6674 Make the member functions rdstate(), clear(), exceptions()
6675 and exceptions(iostate) protected and add the "_M_" prefix.
6676 * src/ios.cc: Ditto.
6677 * bits/basic_ios.h: Adapt the changes from ios_base.
6679 1999-01-29 Benjamin Kosnik <bkoz@cygnus.com>
6681 * bits/std_fstream.h: Remove _M_flags, _M_equilibrate as unnecessary.
6682 * bits/fstream.tcc: Ditto.
6684 * bits/std_fstream.h (underflow): Resize deallocates memory and
6685 resets pointers in the internal cache according to new _M_buf. . dooh!
6686 * src/locale.cc: Mas changes with codecvt::do_in, do_out.
6688 1999-01-29 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6690 * stl/bits/std_memory.h: Modify auto_ptr::reset to reflect the
6693 1999-01-28 Benjamin Kosnik <bkoz@cygnus.com>
6695 * src/locale.cc (codecvt::do_in): Finer-grained tuning to take
6696 into account partial returns.
6697 (codecvt::do_out): Likewise.
6699 * bits/char_traits.h: Change streamsize to be a signed type, as
6700 required by 27.4.1 Types p 2. (Changing to _IO_ssize_t.)
6701 * bits/std_streambuf.h: Make
6702 in_avail() and showmanyc() have streamsize as return types, so
6703 that showmanyc()'s return of eof won't underflow in_avail's return
6704 value and give a bogus result.
6705 * src/misc-inst.cc: And more changes. . .
6707 * bits/std_streambuf.h (basic_streambuf): Add _M_buf_unified to keep
6708 track of joint in/out pointers into the internal buffer.
6709 (sbumpc): Add check for _M_buf_unified.
6713 * testsuite/27/27filebuf.cc: Add cases.
6714 * testsuite/27/27stringbuf.cc: Add showmanyc case.
6716 * bits/std_fstream.h (close): Fix logic error.
6717 (open): Initialize internal pointers based on _M_buf and _M_buf_size.
6718 (showmanyc): Add underflow component, to match the standard.
6720 * bits/fstream.tcc: Ditto.
6722 1999-01-27 Benjamin Kosnik <bkoz@cygnus.com>
6724 * bits/basic_file.h: Match vtables w/ _IO_FILE_plus.
6725 * src/basic_file.cc: Ditto.
6726 * src/Makefile.in: Add -fvtable-thunks to CXXFLAGS: preferred
6727 format for dealing with _IO_file in libio.
6729 1999-01-27 Ulrich Drepper <drepper@cygnus.com>
6731 * src/basic_file.cc: Include fcntl.h.
6733 1999-01-27 Benjamin Kosnik <bkoz@cygnus.com>
6735 * libio/Makefile.in: Add fileops.lo, genops.lo to objects to debug
6737 * bits/std_streambuf.h: Redefine read posion.
6739 * bits/std_fstream.h: Temporary hack to get vtables working again.
6740 * bits/basic_file.h: Revert.
6741 * src/basic_file.cc: Ditto.
6742 * testsuite/27/27filebuf.cc: Tweak.
6744 1999-01-26 Benjamin Kosnik <bkoz@cygnus.com>
6746 * bits/basic_file.h: Add showmanyc, underflow. .
6747 * src/basic_file.cc: Ditto.
6749 * bits/std_fstream.h (showmanyc): Add bits to ping libio to see if more
6752 * testsuite/27/27filebuf.cc: Add testcases.
6753 * src/basic_file.cc: Add O_CREAT to open calls with
6754 ios_base::trunc as part of the open mode.
6756 1999-01-26 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6758 * bits/basic_ios.h: fix basic_ios::exceptions(iostate)
6760 1999-01-25 Benjamin Kosnik <bkoz@nabi.net>
6762 * src/ios.cc (clear): Correct typo.
6763 * bits/ios_base.h: Tweak spacing.
6765 1999-01-25 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6767 * bits/basic_ios.h: fix basic_ios::fail()
6769 1999-01-25 Benjamin Kosnik <bkoz@loony.cygnus.com>
6771 * bits/basic_file.h: Include libioP.h from libio instead of here.
6772 * bits/iolibio.h: Remove.
6773 * bits/libio.h: Remove.
6775 1999-01-22 Benjamin Kosnik <bkoz@lunatic.cygnus.com>
6777 * bits/std_fstream.h: Tweak cvt-> in call for newer egcs compilers.
6779 1999-01-22 Ulrich Drepper <drepper@cygnus.com>
6781 * Makefile.am (SUBDIRS): Add libio.
6782 * configure.in: Add rule to test for glibc2.
6784 * src/Makefile.am (INCLUDES): Add -I to libio subdir.
6785 (libstdc___la_LIBADD): Add libio.la.
6787 1999-01-21 Benjamin Kosnik <bkoz@cygnus.com>
6789 * bits/basic_file.h: Make new abstraction for underlying C library
6790 FILE, named __basic_file.
6791 * src/basic_file.cc: New file.
6792 * bits/os_raw.h: Delete.
6793 * src/os_raw.cc: Delete.
6794 * src/Makefile.in: Tweak.
6795 * src/Makefile.am: Tweak.
6796 * bits/iolibio.h: Add this here, for the time being.
6797 * bits/libioP.h: Ditto.
6799 * bits/ios_base.h: Delete unused defines.
6800 * src/locale.cc (codecvt<char, char, mbstate_t>::do_in): Use
6801 strcpy to copy between the two buffers.
6803 * testsuite/27/27stringbuf.cc: Change license, fix in_avail tests.
6804 * testsuite/27/27filebuf.cc: New file.
6805 * testsuite/27/27filebuf-1.txt: Data file for above test.
6806 * testsuite/27/27filebuf-2.txt: Ditto.
6808 * bits/std_streambuf.h (uflow): Re-implement default.
6809 * bits/std_fstream.h: Set _M_buf_size based on cstdio's BUFSIZ.
6810 Re-implement virtual functions.
6811 * bits/fstream.tcc: Delete unused mf's.
6813 1998-12-31 Benjamin Kosnik <bkoz@lunatic.cygnus.com>
6815 * bits/fstream.tcc: Add fstream ctor for cin/cout/etc.
6816 * bits/std_fstream.h: Ditto.
6817 * src/stdstreams.cc: Ditto.
6819 * math/cpowl.c: Fix header typo with last change.
6821 1998-12-31 Benjamin Kosnik <bkoz@loony.cygnus.com>
6823 * COPYING: New file (GPL v 2).
6824 * LICENSE.STD: Remove.
6825 * ./*: Change license.
6827 1998-12-30 Benjamin Kosnik <bkoz@haight.constant.com>
6829 * bits/std_streambuf.h (std): Remove static on _M_init.
6830 * bits/streambuf.tcc (std): Ditto.
6832 * bits/std_fstream.h: Add changes as discussed with Nathan, including
6833 state_type and codecvt_type members, the allocation of an internal
6834 buffer, the streamlined codecvt calls, etc.
6836 1998-12-21 Benjamin Kosnik <bkoz@haight.constant.com>
6838 * bits/std_sstream.h: Tweak.
6839 * bits/fstream.tcc: Remove unused stubs.
6840 * bits/std_fstream.h: Tweak.
6842 1998-12-17 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6844 * bits/std_streambuf.h: Move _IO_file_flags into basic_filebuf.
6845 Remove unused _IO_* members, possibly put into filebuf, which may
6847 * bits/std_fstream.h: Add _M_flag.
6848 * bits/sbuf_iter.h: Tweak.
6850 * bits/std_cstdio.h: Add SEEK_SET, SEEK_END, SEEK_CUR.
6851 * bits/ios_base.h: Use.
6853 * src/stdstreams.cc: Modify to reflect standard ctors for
6855 * src/misc-inst.cc: Ditto.
6857 * bits/os_raw.h: Wrap in std namespace. Model parameters on
6858 underlying C library calls instead of the underlying unix
6860 * src/os_raw.cc (_S_os_open): Use fopen, and compute a mode
6861 string as per p.659.
6862 (_S_os_close): Model on fopen.
6863 (_S_os_read): Model on fread.
6864 (_S_os_write): Model on fwrite.
6865 (_S_os_seek): Model on fseek.
6867 * bits/ios_base.h: Tweak.
6868 * bits/std_iosfwd.h: Wrap libio.h include with extern "C".
6869 * bits/std_sstream.h: Tweak.
6870 * bits/sstream.tcc: Remove old, uncalled code.
6871 * bits/std_fstream.h: Major reconstruction.
6872 * bits/fstream.tcc: Disable for the time being.
6874 1998-12-11 Benjamin Kosnik <bkoz@haight.constant.com>
6876 * bits/basic_string.h: Fix insert method.
6877 * stl/bits/stl_iterator.h: Remove previous hack.
6878 * bits/std_streambuf.h (sbumpc): Correct increment/return oddness.
6879 * bits/std_sstream.h: Fix more regressions.
6880 * testsuite/27/27stringbuf.C: Add (almost) complete tests.
6882 1998-12-09 Benjamin Kosnik <bkoz@loony.cygnus.com>
6884 * bits/basic_string.h: Tweak.
6886 * stl/bits/stl_iterator.h: Specialize iterator_traits for int so
6887 that string::append can be instantiated. HACK--checkin
6888 basic_string::iterator class.
6890 1998-12-07 Benjamin Kosnik <bkoz@haight.constant.com>
6892 * bits/std_sstream.h: Tweak.
6893 * bits/sstream.tcc: Tweak ctors.
6895 FIXME invalid friend defs. . WHERE ARE THEY??
6897 * bits/sbuf_iter.h (istreambuf_iterator::equal): Change to new
6898 names for basic_streambuf data members.
6900 * bits/std_streambuf.h: Add getloc() initialization bits.
6901 basic_streambuf(): Initialize with global locale data.
6902 imbue(): Set _M_init.
6904 * bits/std_streambuf.h(seekoff, seekpos): Complete with invalid
6905 stream pos == pos_type(off_type(-1)).
6906 in_avail(): Complete default implementation.
6907 snextc, sbumpc, sputbackc, sungetc, sputc, setg, xsputn,
6908 underflow, uflow, xsgetn, showmany, sync: Ditto.
6910 * bits/std_streambuf.h: _M_snextc_helper(): Remove.
6912 * bits/streambuf.tcc (sputbackc): Temporarily remove, need to
6913 re-populate with in-line member functions that are too big. Add
6914 initialization for _M_init.
6916 1998-12-03 Benjamin Kosnik <bkoz@cygnus.com>
6918 * bits/sstream.tcc: Convert _Allocator to _Alloc. Add typedefs
6919 for basic_string and basic_streambuf. Scope _IO_buf_* pointers to
6922 * src/stdstreams.cc (std): Disable wchar_t instantiations.
6924 * bits/c++config.h (_G_DEPRICATED): Add.
6925 (_G_USE_WCHAR_T): Add.
6926 * bits/std_streambuf.h: Radical reconstruction of basic_streambuf.
6927 Take out _Streambuf_base. Put _IO_FILE data member in basic_filebuf.
6928 * bits/streambuf.tcc (sputbackc): Remove ctor anti-def, Tweak.
6929 * bits/std_fstream.h: Add comment for implementation.
6930 * src/streambuf.cc: Remove.
6931 * src/Makefile.in: Remove streambuf.lo.
6932 * src/misc-inst.cc: Tweak.
6934 1998-12-02 Benjamin Kosnik <bkoz@cygnus.com>
6936 * bits/std_sstream.h: Add const_cast to rdbuf returns.
6937 * testsuite/27stringstream.C: Modify.
6939 1998-11-25 Benjamin Kosnik <bkoz@haight.constant.com>
6941 * src/Makefile.in (libstdc___la_OBJECTS): Add streambuf.lo.
6942 (libstdc___la_SOURCES): Ditto.
6944 * bits/streambuf.tcc: Tweak.
6946 * src/streambuf.cc: New file, add out-of-line definitions for
6949 * src/misc-inst.cc: Remove _Streambuf_base instantiations.
6950 Comment out wchar_t versions of the buffer instantiations, for now.
6952 * bits/std_streambuf.h: Wrap libio.h include with extern "C".
6953 Remove template wrapper around _Streambuf_base.
6954 Move IO_* data members into _Streambuf_base.
6955 Move _Streambuf_base members into streambuf.tcc.
6957 * bits/c++config.h (_G_USE_LIBIO): Enable.
6959 1998-11-02 Nathan Myers <ncm@cantrip.org>
6961 * CHECKLIST: downgrade iterator implementations
6962 * DESIGN: fill out notes about unimplemented features
6964 1998-10-31 Nathan Myers <ncm@cantrip.org>
6966 * CHECKLIST: itemized list of all interfaces, and status of each.
6968 1998-10-30 Nathan Myers <ncm@cantrip.org>
6970 * RELEASE-NOTES: add notes about optional includes, linking, running
6971 * src/Makefile.am: handle header installs properly
6972 * src/Makefile.in: regenerate from new src/Makefile.am
6974 1998-10-30 Benjamin Kosnik <bkoz@loony.cygnus.com>
6976 * bits/basic_string.h: Revert npos pending ciso646.
6977 * src/Makefile.am: Revert CXX flags for now.
6978 * src/Makefile.in: Ditto.
6980 1998-10-30 Brendan Kehoe <brendan@cygnus.com>
6982 * bits/std_sstream.h: Re-order ctors to put base before member
6985 1998-10-30 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6987 * stl/bits/std_memory.h: Fix typo.
6989 1998-10-30 Nathan Myers <ncm@cantrip.org>
6991 * src/string[A-Z]+.cc: change back to include "string.cc".
6992 * src/Makefile.am: revert filename changes. We need a different
6993 way to keep filenames in std/ from confusing Make.
6994 * bits/basic_string.h: define _S_max_size right, return it from
6995 string::max_size(); churn definition of npos again.
6996 * bits/string.tcc: fix _S_frob_size to avoid uint overflow.
6997 * bits/ios.cc: remove #ifdef on ios_base locale member initialization
6998 * BUGS: clear cruft.
6999 * C++STYLE: Touchup for release.
7000 * CHECKLIST: Touchup for release.
7002 * LICENSE.STD: Add requirement to retain copyrights and to provide
7003 the license with any copies.
7004 * README: Update for release.
7005 * TODO: Minor touchup for release.
7006 * RELEASE-NOTES: prepare for release
7008 1998-10-29 Ulrich Drepper <drepper@cygnus.com>
7010 * src/string[A-Z]+.cc: Include stdstring.cc, not string.cc.
7012 * src/Makefile.am (CXXFLAGS): Define _GNU_SOURCE.
7014 * src/Makefile.am (CXXLINK): New variable. Make sure we don't use
7015 CXX to generate the shared object.
7017 * src/Makefile.am (headers): Remove duplicated char_traits.h.
7019 1998-10-29 Brendan Kehoe <brendan@cygnus.com>
7021 * bits/basic_string.h (basic_string<>::max_size): Subtract 1, not
7022 2, from npos, solving infinite loop problems.
7024 1998-10-29 18:41 Ulrich Drepper <drepper@cygnus.com>
7026 * src/Makefile.am: Add rules to install headers.
7028 1998-10-29 Nathan Myers <ncm@cantrip.org>
7030 * bits/std_ostream.h: Remove #ifdef on operator<< for long double
7031 * bits/ostream.tcc: Remove #ifdef on operator<< for long double
7034 * shadow/bits/wrap_libio.h:
7035 * shadow/bits/wrap_unistd.h: New files.
7037 1998-10-29 Brendan Kehoe <brendan@cygnus.com>
7039 * bits/ostream.tcc (operator<<): Wrap with #ifdef
7040 _G_HAVE_LONG_DOUBLE_IO, to match bits/std_ostream.h.
7042 1998-10-29 Ulrich Drepper <drepper@cygnus.com>
7044 * src/Makefile.am: Add temporarily rules to make sure misc-inst.cc
7045 is not compiled with -fno-implicit-templates in effect.
7047 * src/Makefile.am (EXTRA_SOURCES): Add string.cc and wstring.cc here.
7048 (libstdc___la_SOURCES): Add all the string*.cc and wstring*.cc files.
7049 * src/stringADDCS.cc: Wrapper around string.cc to define individual
7051 * src/stringADDPS.cc: Likewise.
7052 * src/stringADDSC.cc: Likewise.
7053 * src/stringADDSP.cc: Likewise.
7054 * src/stringADDSS.cc: Likewise.
7055 * src/stringBIST.cc: Likewise.
7056 * src/stringBOST.cc: Likewise.
7057 * src/stringCHTR.cc: Likewise.
7058 * src/stringEQPS.cc: Likewise.
7059 * src/stringEQSP.cc: Likewise.
7060 * src/stringEQSS.cc: Likewise.
7061 * src/stringEXTRA.cc: Likewise.
7062 * src/stringGEPS.cc: Likewise.
7063 * src/stringGESP.cc: Likewise.
7064 * src/stringGESS.cc: Likewise.
7065 * src/stringGETLI.cc: Likewise.
7066 * src/stringGTPS.cc: Likewise.
7067 * src/stringGTSP.cc: Likewise.
7068 * src/stringGTSS.cc: Likewise.
7069 * src/stringINSER.cc: Likewise.
7070 * src/stringLEPS.cc: Likewise.
7071 * src/stringLESP.cc: Likewise.
7072 * src/stringLESS.cc: Likewise.
7073 * src/stringLTPS.cc: Likewise.
7074 * src/stringLTSP.cc: Likewise.
7075 * src/stringLTSS.cc: Likewise.
7076 * src/stringMAIN.cc: Likewise.
7077 * src/stringNEPS.cc: Likewise.
7078 * src/stringNESP.cc: Likewise.
7079 * src/stringNESS.cc: Likewise.
7080 * src/stringSCOPY.cc: Likewise.
7081 * src/wstringADDCS.cc: Wrapper around wstring.cc to define individual
7083 * src/wstringADDPS.cc: Likewise.
7084 * src/wstringADDSC.cc: Likewise.
7085 * src/wstringADDSP.cc: Likewise.
7086 * src/wstringADDSS.cc: Likewise.
7087 * src/wstringBIST.cc: Likewise.
7088 * src/wstringBOST.cc: Likewise.
7089 * src/wstringCHTR.cc: Likewise.
7090 * src/wstringEQPS.cc: Likewise.
7091 * src/wstringEQSP.cc: Likewise.
7092 * src/wstringEQSS.cc: Likewise.
7093 * src/wstringEXTRA.cc: Likewise.
7094 * src/wstringGEPS.cc: Likewise.
7095 * src/wstringGESP.cc: Likewise.
7096 * src/wstringGESS.cc: Likewise.
7097 * src/wstringGETLI.cc: Likewise.
7098 * src/wstringGTPS.cc: Likewise.
7099 * src/wstringGTSP.cc: Likewise.
7100 * src/wstringGTSS.cc: Likewise.
7101 * src/wstringINSER.cc: Likewise.
7102 * src/wstringLEPS.cc: Likewise.
7103 * src/wstringLESP.cc: Likewise.
7104 * src/wstringLESS.cc: Likewise.
7105 * src/wstringLTPS.cc: Likewise.
7106 * src/wstringLTSP.cc: Likewise.
7107 * src/wstringLTSS.cc: Likewise.
7108 * src/wstringMAIN.cc: Likewise.
7109 * src/wstringNEPS.cc: Likewise.
7110 * src/wstringNESP.cc: Likewise.
7111 * src/wstringNESS.cc: Likewise.
7112 * src/wstringSCOPY.cc: Likewise.
7113 * src/string.cc: Remove now unneeded #defines now.
7115 1998-10-29 Nathan Myers <ncm@cantrip.org>
7117 * bits/locfacets.tcc: Define num_put::put(... const void*), improve
7119 * bits/ostream.tcc: Delete cruft, rewrite various op<< as members,
7120 add definitions for double, long double, const void*.
7121 * bits/std_ostream.h: Move op<<'s back into class ostream,
7122 define some in-line.
7123 * bits/string.tcc: fix unnecessary-copying bug in op[], typos in
7124 string construction from input iterators that Brendan reported.
7127 1998-10-28 Brendan Kehoe <brendan@cygnus.com>
7129 * stl/bits/stl_pair.h (op!=, op>, p<=, op>=): Add missing definitions.
7131 * bits/valarray_meta.h (class _Constant): Move declaration to the
7132 top, so the rest of the file can grok it.
7133 (_ApplyBinaryFunction::operator[]): Add missing parenthesis.
7135 * bits/std_sstream.h (basic_ostringstream::str): Fix typo of extra
7137 (basic_stringstream::str, both instances): Likewise.
7139 1998-10-28 Nathan Myers <ncm@cantrip.org>
7141 * bits/locfacets.h: fix num_put<>::falsename()
7142 * bits/locfacets.tcc: fix _Format_cache<>::_M_populate bool name init
7143 * testsuite/27/27octfmt.C, testsuite/27/27octfmt.C: new tests
7144 * bits/locfacets.tcc: touch up _S_group_digits.
7145 * src/misc-inst.cc: adjust _S_group_digits insts to match.
7147 1998-10-27 Nathan Myers <ncm@cantrip.org>
7149 * stl/bits/stl_config.h: Turn off long long support, for now.
7150 * src/locale-inst.cc: Instantiate num_put<> only for
7151 ostreambuf_iterator, num_get only for istreambuf_iterator.
7152 * src/misc-inst.cc: Delete duplicate locale-related instantiations,
7153 add lots of new instantiations for num_put support function templates;
7154 remove junk about __match_parallel for ostreambuf_iterator.
7156 1998-10-27 Nathan Myers <ncm@cantrip.org>
7158 * bits/locfacets.tcc: Make num_put's digit grouping work.
7159 * bits/string.tcc: More uglification.
7160 * src/ios.cc: initialize format cache right
7162 1998-10-26 Nathan Myers <ncm@cantrip.org>
7164 * bits/basic_string.h: Uglify more names.
7165 * bits/fstream.tcc: Rewrite some filebut output handling.
7166 * bits/ios_base.h: Cosmetic.
7167 * bits/locfacets.h: Changes to _Format_cache for support of num_put.
7168 Also, specialize its default ctor for optimal default case.
7169 #ifdef out "long long" prototypes for now.
7170 * bits/locfacets.tcc: Do complete, optimized num_put<>::do_put
7171 implementation for integer types. (Still needs optimized
7172 std::copy() applied to ostreambuf_iterator to be optimal.)
7173 * bits/ostream.tcc: Write operator<< for long, bool types.
7174 Make other operators<< non-members, per spec. (Many still
7175 not implemented.) Identify those that fail to create a sentry.
7176 * bits/sbuf_iter: Cosmetic.
7177 * bits/std_fstream.h: Add some filebuf members.
7178 * bits/std_locale.h: Include <limits> for use in bits/locfacets.h
7179 * bits/std_ostream.h: Make member operators<< global, per spec.
7180 (Should do the same in std_istream.h.)
7181 * bits/std_string.h: Include <limits> for use in bits/locfacets.h
7182 * bits/string.tcc: Uglify names
7183 * shadow/bits/std_cstdlib.h: Optimize std::div and std::ldiv.
7184 * src/ios.cc: Specialize _Format_cache<> for char and wchar_t,
7185 for optimal default behavior.
7187 1998-10-26 Benjamin Kosnik <bkoz@loony.cygnus.com>
7189 * src/Makefile.in (libstdc___la_SOURCES): Add misc-inst.cc again.
7191 1998-10-21 Nathan Myers <ncm@cantrip.org>
7193 * src/locale.cc: make ctype operations actually work for glibc
7194 * CHECKLIST: add a comprehensive (i.e. huge) implementation
7195 checklist of stdlib facilities. Not filled in yet.
7197 1998-10-20 Nathan Myers <ncm@cantrip.org>
7199 * bits/string.tcc: fix patching NULs on string ends.
7201 1998-10-19 Nathan Myers <ncm@cantrip.org>
7203 * bits/std_iosfwd.h: eliminate "basic_" prefix on streambuf
7204 iterator forward declarations
7205 * bits/sbuf_iter.h: eliminate default template argument definitions
7206 on streambuf iterators (rely on <iosfwd> decls).
7207 * TODO: add note about lazy facet construction
7208 * bits/basic_ios.h: hit operator void* again. This should be the
7209 last time we need to touch it.
7210 * bits/basic_ios.h: copyfmt now returns *this.
7211 * bits/basic_string.h: fix npos again. npos cannot be defined as zero.
7212 * bits/basic_string.h: put back overloaded constructors; adjust
7213 behavior for default allocator on copy constructor.
7214 * bits/char_traits.h: make not_eof return correct type.
7215 * bits/loccore.h: remove call to bits/std_stdexcept.h; subincludes
7216 cannot be in non-standard headers or we get include loops (bad)
7217 * bits/loccore.h: delete ifdef'd out workarounds for old compiler bugs.
7218 * bits/loccore.h: add apparatus to support lazy construction of
7220 * bits/locfacets.tcc: Uglify names in __match_parallel decl.
7221 * bits/std_ios.h: add include of <typeinfo> to get bad_cast for
7222 locale use_facet<> failure.
7223 * bits/std_locale.h: same.
7224 * bits/std_string.h: same.
7225 * bits/std_stdexcept.h: change exception member __msg from a
7226 reference to a regular object.
7227 * bits/string.tcc: add pasting a NUL on the end of strings after
7228 each operation. We had already left room for it, but previously
7229 plugged it only on a call to c_str(), but the WG changed the
7230 requirement when I wasn't looking. (Can't leave them alone for
7231 a second without they break something else.)
7232 * bits/valarray_meta.h: add Gaby's changes from 981018.
7233 * src/locale.cc: add new type _Bad_use_facet to be thrown on
7234 failure of use_facet<>().
7235 * src/stdexcept.cc: remove pragma, remove bkoz's #if 0,
7236 comment out leftover member definitions
7238 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
7240 * string/Makefile.am: Revert last change.
7241 * math/Makefile.am: Likewise.
7243 1998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
7245 * bits/std_sstream.h: Fix typo.
7247 1998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
7249 * src/Makefile.am (libstdc___la_SOURCES): Add misc-inst.cc.
7251 * bits/std_sstream.h: Add typedefs, member definitions. Clean.
7252 * bits/std_stdexcept.h: Remove.
7254 1998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
7256 * src/misc-inst.cc: Tweak again.
7258 * bits/std_sstream.h: Move out-of-line definitions to sstream.tcc.
7259 * bits/sstream.tcc: New file.
7261 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
7263 * configure.in: Test for machine/param.h, sys/machine.h and fp.h.
7264 Don't run AC_C_BIGENDIAN if machine/param.h or sys/machine.h are
7267 * math/mathconf.h: Include sys/machine.h, machine/param.h and fp.h
7269 (INFINITE_P): Use IS_INF macro if available.
7271 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
7273 * math/Makefile.am (EXTRA_LTLIBRARIES): Renamed from
7275 * string/Makefile.am: Likewise.
7277 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
7279 * configure.in (AC_CHECK_FUNCS): Add finite, qfinite, fpclass, and
7281 (AC_CHECK_HEADERS): Add machine/endian.h. If no header specifying
7282 endianess is available run AC_C_BIGENDIAN.
7284 * math/clog10l.c: Add ugly hack around bug in Irix 6.2 header until
7285 fixincludes is fixed.
7286 * math/clogl.c: Likewise.
7287 * math/csqrtl.c: Likewise.
7288 * math/mycabsl.c: Likewise.
7290 * math/mathconf.h: Include machine/endian.h if possible. If no
7291 header describing endianess is available rely on WORDS_BIGENDIAN
7293 (FINITE_P, FINITEF_P, FINITEL_P): Use finite functino if available.
7294 (INFINITE_P, INFINITEF_P, INFINITEL_P): Use fpclass function if
7297 * src/complex.cc (polar): Don't use sincos on OSF machines.
7299 1998-10-09 Benjamin Kosnik <bkoz@loony.cygnus.com>
7301 * src/locale-inst.cc: Don't instantiate time_get for
7302 ostreambuf_iterators as time_get::do_get_weekday and
7303 time_get::do_get_monthname use __match_parallel, which is illegal
7304 for ostreambuf_iterators to use, as they don't have operator== or
7306 * bits/std_stdexcept.h: Add dtor definitions.
7307 Use stl/bits/std_stdexcept.h instead of this file?
7308 * bits/sbuf_iter.h : Tweak.
7309 * src/misc-inst.cc: Tweak.
7311 1998-10-09 Benjamin Kosnik <bkoz@haight.constant.com>
7313 * bits/std_stdexcept.h: New file.
7314 * src/stdexcept.cc: Define the following:
7316 runtime_error::what()
7318 * src/misc-inst.cc: New file.
7319 * src/Makefile.in (libstdc___la_SOURCES): Add misc-inst.cc.
7320 (libstdc___la_OBJECTS): Add misc-inst.lo.
7322 * bits/basic_string.h: Disable non-standard ctor declarations.
7323 * bits/string.tcc: Disable definitions as well.
7324 * src/string.cc: Disable <ios> dependancies.
7325 * bits/sbuf_iter.h (std): Add default to template parameter for
7326 ostreambuf_iterator and istreambuf_iterator.
7327 * bits/std_iosfwd.h: Change istreambuf_iterator to
7328 basic_istreambuf_iterator. Likewise for ostreambuf.
7329 * bits/locfacets.tcc (__match_parallel): Fix typo.
7330 * src/ios.cc (imbue): Remove the _G_HAVE_LOCALE guards around
7332 * bits/std_streambuf.h: Define _Streambuf_base::getloc().
7333 * bits/std_istream.h: Define the following:
7334 get (basic_streambuf<char_type,_Traits>& __sb, char_type __delim)
7335 get (char_type* __s, streamsize __n, char_type __delim);
7336 getline (char_type* __s, streamsize __n, char_type __delim)
7337 * bits/loccore.h : FIXME friend template code for use_facet.
7338 Add std_stdexcept.h include so that range_error will be defined.
7339 Add explicit conversion to string for range_error throws. (HACK?)
7341 1998-10-8 Ulrich Drepper <drepepr@cygnus.com>
7343 * configure.in: Check for sincos, sincosf, and sincosl.
7344 * src/complex.cc (polar): Use sincos if available.
7346 * bits/c++config.h: Fix hack to get LONG_LONG* definitions on Linux.
7347 * stl/bits/std_limits.h: Include bits/c++config.h. HACK!!!
7349 * math/clog10.c: Fix typo (FP_INIFITE_P -> INFINITE_P).
7351 * math/cpow.c: Use c_log, not clog.
7352 * math/cpowf.c: Likewise.
7353 * math/cpowl.c: Likewise.
7355 * math/cexp.c: Remove unused fpclassify calls. Use FINITE_P instead
7358 * math/mathconf.h (FINITE_P, FINITEF_P, FINITEL_P): Define using
7359 isfinite macro if it is available.
7360 (INFINITE_P, INFINITEF_P, INFINITEL_P): Define using isinf macro.
7362 * math/ccosf.c: Use appropriate test macros for this type.
7363 * math/ccoshf.c: Likewise.
7364 * math/ccoshl.c: Likewise.
7365 * math/ccosl.c: Likewise.
7366 * math/cexpf.c: Likewise.
7367 * math/cexpl.c: Likewise.
7368 * math/clog10f.c: Likewise.
7369 * math/clog10l.c: Likewise.
7370 * math/clogf.c: Likewise.
7371 * math/clogl.c: Likewise.
7372 * math/csinf.c: Likewise.
7373 * math/csinhf.c: Likewise.
7374 * math/csinhl.c: Likewise.
7375 * math/csinl.c: Likewise.
7376 * math/csqrtf.c: Likewise.
7377 * math/csqrtl.c: Likewise.
7378 * math/ctanf.c: Likewise.
7379 * math/ctanhf.c: Likewise.
7380 * math/ctanhl.c: Likewise.
7381 * math/ctanl.c: Likewise.
7383 1998-10-06 Benjamin Kosnik <bkoz@bliss.nabi.net>
7385 * bits/basic_ios.h: Fix previous change.
7387 1998-10-06 Benjamin Kosnik <bkoz@bliss.nabi.net>
7389 * bits/basic_ios.h: Add const_cast<basic_ios&>
7390 (operator void*): As per 5.2.9 p 2, make sure static_cast is
7392 * bits/char_traits.h: No _CharT for specialization, change to 0.
7393 * bits/basic_string.h: As per 9.4.2 p4, initialize with
7394 constant-initializer.
7395 * bits/locfacets.tcc: Add template parameter to initialization list.
7397 1998-10-02 Benjamin Kosnik <bkoz@loony.cygnus.com>
7399 * bits/basic_string.h: Should just be <, not <=.
7401 1998-10-01 Benjamin Kosnik <bkoz@bliss.nabi.net>
7403 * bits/string.tcc (compare): Fix for strings that are similar, but
7404 not the same length.
7406 1998-09-04 Brendan Kehoe <brendan@cygnus.com>
7408 * bits/c++config.h: For __linux__, define _GNU_SOURCE. This is
7409 required for us to get LONG_LONG_{MIN,MAX} out of gcc's limits.h.
7410 We can't check for __GLIBC__ here, since this header can be read
7411 before any system one (that would lead to features.h) being used.
7413 * stl/bits/stl_config.h (__STL_LONG_LONG): Re-enabled
7415 * stl/bits/std_limits.h [__STL_LONG_LONG]: Fix usage to use
7416 LONG_LONG_MIN, LONG_LONG_MAX, and ULONG_LONG_MAX.
7418 * stl/bits/stl_config.h: Don't do __STL_LONG_LONG, it uses
7419 LONGLONG_{MIN,MAX} which I can't find the origin of.
7421 1998-09-03 Brendan Kehoe <brendan@cygnus.com>
7423 * stl/bits/stl_iterator.h: Add extern decl of cin for now; where
7424 should this come from, if not iostream.h?
7425 (class istream_iterator): Make the new operator!= a friend also.
7427 * stl/bits/stl_config.h: Define __STL_HAS_WCHAR_T,
7428 __STL_MEMBER_TEMPLATE_CLASSES, and __STL_LONG_LONG. Don't include
7429 _G_config.h like the egcs one does.
7431 1998-09-01 Brendan Kehoe <brendan@cygnus.com>
7433 * bits/string.tcc: Call `_M_destroy' instead of `destroy'.
7435 * bits/valarray_meta.h: Throughout, rename _Expr typedefs to be
7436 _Expr1 (or _Expr_def if it's taken), and change definitions.
7437 Avoids redecl of the template parm.
7439 * bits/string.tcc (basic_string copy ctor): Fix typo in declaration.
7440 (operator>>): Initialize __ERROR with ios_base::goodbit, not 0.
7442 * bits/std_streambuf.h (_POSIX_SOURCE): Only define if it's not
7445 * src/locale-inst.cc: New file, **TOTAL HACK**. There has GOT to
7446 be a better way to do this.
7448 * src/stlinst.cc: New file.
7450 * BUGS: New file, with various discovered bugs that need to be
7453 * Makefile.in, math/Makefile.in, string/Makefile.in,
7454 src/Makefile.in: Reran automake.
7456 Workarounds, these may not all be the final fixes:
7458 * bits/basic_ios.h (class basic_ios): Make _M_strbuf be protected,
7459 not private, for basic_istream::get() in std_istream.h to be able
7461 (basic_ios::operator void*): Don't use static_cast for the false
7463 (basic_ios::copyfmt): Fix `rhs.except' to be `rhs.exceptions ()'.
7464 This appears to have been in sep94, but didn't get corrected
7467 * bits/basic_string.h (npos): Don't init here.
7468 * bits/string.tcc: Instead, do initialization here, to -1 instead
7469 of the size_type destructor.
7471 * src/traits.cc, src/wtraits.cc: New files.
7472 * bits/char_traits.h: For char_traits<char> and
7473 char_traits<wchar_t>, declare static, but define over in the src
7476 * bits/gslice.h: Comment out forward decls of _Array, valarray,
7477 gslice_array, and _GsliceExpression.
7479 * bits/std_cstdio.h [__sparc__ && __svr4__]: #undef all of
7480 clearerr, feof, ferror, getc, getchar, putc, putchar, stdin,
7481 stdout, and stderr. Note we do get unresolved refs to stdin, but
7482 that'll get fixed by the "true" solution.
7484 * bits/std_ios.h: Include <bits/std_streambuf.h> to get the
7485 definition of basic_streambuf.h, which is used in basic_ios.h to
7488 * bits/std_streambuf.h: Don't include libio.h for now.
7489 (class basic_streambuf): Define missing methods pubimbue and
7492 * src/Makefile.am (libstdc___la_SOURCES): Add stdexcept.cc,
7493 ios.cc, os_raw.cc, stdstreams.cc, locale.cc, localename.cc,
7494 locale-inst.cc, stlinst.cc, traits.cc, wtraits.cc.
7496 * src/ios.cc: Instantiate basic_ios<char> and basic_ios<wchar_t>.
7498 * src/locale.cc: Come up with munged versions of _S_toupper,
7499 _S_tolower, and _S_table instead of the glibc-specific ones, so
7500 they're at least defined, if not necessarily usable. The glibc
7501 ones on any other system will yield unresolved refs to
7502 __ctype_{b,toupper,tolower}.
7504 * src/string.cc: Define all of ADDCS, ADDPS, et al. Add
7505 basic_ios, basic_istream, basic_ostream. Don't do char_traits
7506 anymore cuz of the explicit specialization in char_traits.h.
7507 Also add _S_string_copy, but this doesn't fix it -- cf the BUGS
7508 file for the details.
7510 * stl/bits/stl_algobase.h (equal): Fix to do `! (x==y)'.
7511 * stl/bits/stl_iterator.h (__distance): Likewise.
7513 * stl/bits/stl_iterator.h: As with 8/18 set, define missing op!=,
7514 op>, op<=, and op>= for reverse_iterator. Also add op!= for
7517 1998-08-26 Brendan Kehoe <brendan@cygnus.com>
7519 * bits/string.tcc (basic_string::compare (const char*)): Fix to
7522 1998-08-25 Brendan Kehoe <brendan@cygnus.com>
7524 This should really be fixed with __asm__ directives renaming the
7525 symbol, but keeping the function.
7526 * math/clogf.c (c_logf): Renamed from `clogf'.
7527 * math/clogl.c (c_logl): Renamed from `clogl'.
7528 * math/complex-stub.h (c_logf, c_logl): Change decls.
7530 * bits/locfacets.h (class _Numeric_get): For friend decls, rename
7531 _CharT and _InIter parms, since they duplicate the enclosing ones.
7533 1998-08-19 Brendan Kehoe <brendan@cygnus.com>
7535 Deal with conflict of the iostreams `clog' and our internal
7536 complex number `clog'.
7537 * src/complex.cc: Call `c_log' instead of `clog'.
7538 * math/clog.c (c_log):: Renamed from clog.
7539 * math/complex-stub.h (c_log): Renamed from clog decl.
7541 * bits/locfacets.h (class _Numeric_get): Tweak fwd decls of the
7543 (num_put::put): #if 0 long long version, since we don't declare or
7544 define the long long version of do_put.
7546 1998-08-18 Nathan Myers <ncm@cantrip.org>
7548 * bits/basic_string.h: add basic_string<>::push_back(), fix return
7549 type of get_allocator (thanks to Ryszard Kabatek).
7550 * bits/char_traits.h: make init order of fpos<> members
7552 * bits/ios_base.h: fix decls of ios_base bitmask & enum types, add
7553 flags _S_fd_in etc. for special filebuf ctor.
7554 * bits/locfacets.h: make _Numeric_get and _Format_cache public
7555 to work around problems in friend declarations.
7556 * bits/locfacets.tcc: qualify _S_get_cache in num_get<>::get(..bool&),
7557 fix random type errors & typos
7558 * bits/std_fstream.h: major refitting to bypass libio (for now),
7559 instrument to use bits/fstream.tcc template definitions
7560 * bits/std_iosfwd.h: mess with wrappers
7561 * bits/std_istream.h: remove meaningless comment
7562 * bits/std_ostream.h: instrument to work with ostream.tcc.
7563 * bits/std_streambuf.h: instrument to work with streambuf.tcc
7564 * bits/fstream.tcc: template defs for <fstream>
7565 * bits/ostream.tcc: template defs for <ostream>
7566 * bits/streambuf.tcc: template defs for <streambuf>
7567 * bits/os_raw.h: thin OS interface wrapper, to bypass libio (for now).
7568 * Delete .cc files, replace with bits/*.tcc
7574 src/os_raw.cc: thin interface to OS, to bypass libio (for now).
7575 src/stdstreams.cc: cout, cin, etc. definitions
7576 (these still need work: must be init'd before user statics.)
7579 1998-08-18 Brendan Kehoe <brendan@cygnus.com>
7581 Sent to SGI before checkin:
7582 * stl/bits/stl_vector.h (operator!=, operator>, operator<=,
7583 operator>=): Define.
7584 * stl/bits/stl_bvector.h (vector<bool>::flip): Define method.
7585 * stl/bits/stl_deque.h (operator!=, operator>, operator<=,
7586 operator>=): Define.
7587 (operator==, operator<): Add inline.
7588 * stl/bits/stl_map.h (operator!=, operator<, operator<=,
7589 operator>=): Define.
7590 * stl/bits/stl_multimap.h (operator!=, operator<, operator<=,
7591 operator>=): Define.
7592 * stl/bits/stl_list.h (operator!=, operator<, operator<=,
7593 operator>=): Define.
7594 * stl/bits/stl_set.h (operator!=, operator<, operator<=,
7595 operator>=): Define.
7596 * stl/bits/stl_multiset.h (operator!=, operator<, operator<=,
7597 operator>=): Define.
7599 * bits/std_valarray.h (_Shift_left, _Shift_right): Inherit from
7602 1998-08-15 Nathan Myers <ncm@cantrip.org>
7604 * bits/ios_base.h: change nominal bitmask and enum types to real enums
7605 * bits/locfacets.h: make _Format_cache bool names usable by num_get
7606 * bits/locfacets.tcc: make num_get<>::get(... bool&) use _Format_cache
7607 * bits/std_fstream.h: minor cleanups: ctors delegate to open()
7608 * bits/std_iosfwd.h: more bitmask changes, for ios_base::iostate
7609 * bits/std_sstream.h: formatting cleanups
7611 1998-08-14 Nathan Myers <ncm@cantrip.org>
7613 * bits/locfacets.tcc: implement num_get<>::do_get(..., bool&)
7614 * bits/locfacets.tcc: implement time_get<>::do_get_weekday
7615 * bits/locfacets.tcc: implement time_get<>::do_get_monthname
7616 * bits/locfacets.h: fix missing argument in do_get_monthname
7617 (this is a bug in the standard, ref. 36 in my list.)
7618 * bits/locfacets.h: make month and day name caches mutable
7619 * bits/locfacets.tcc: various typos in get() functions
7620 * bits/sbuf_iter.h: fix omission in istreambuf_iterator::op++().
7621 * bits/std_streambuf.h: fix typo in sgetn (Brendan)
7623 1998-08-12 Nathan Myers <ncm@cantrip.org>
7624 * move streambuf iterators to bits/sbuf_iter.h
7625 * optimize streambuf iterators
7626 * begin generalizing streambuf
7627 * begin implementing num_get<>::get (starting with bool)
7628 * patch stl/bits/stl_config.h so that relops operators are
7629 contained properly, out of the way.
7631 1998-07-24 Nathan Myers <ncm@cantrip.org>
7632 * Fold in SGI 3.11 changes (uglified names, some algorithm
7633 improvements, very minor bug fixes.)
7634 * Uglify names elsewhere to match (s/_T/_Tp/).
7635 * Begin work on optimized streambuf
7636 * Put complex.cc in namespace std:: (thanks Martin)
7638 1998-07-17 Nathan Myers <ncm@cantrip.org>
7640 * bits/char_traits.h: add _Char_traits_match template.
7641 * bits/string.tcc: fix bugs in various find_last* members.
7642 * bits/basic_string.h: redeclare member _S_find.
7643 * stl/bits/stl_iterator.h: change member names in nonstandard
7644 templates bidirectional_reverse_iterator and
7645 random_access_reverse_iterator to match expected changes
7647 * src/string.cc: fix definitions of stream operators.
7649 1998-07-14 16:06 Ulrich Drepper <drepper@cygnus.com>
7651 * Makefile.am (SUBDIRS): Add string.
7653 * configure.in: Test for long double functions separately. Test for
7654 ISO C 89 float functions. Test for endian.h and sys/isa_defs.h.
7655 Generate string/Makefile.
7657 * bits/c++config.h: Define mbstate_t for Solaris.
7659 * bits/char_traits.h: Remove unused #if.
7661 * bits/std_cwchar.h: Declare wide char string functions.
7663 * m4/stringfcts.m4: New file.
7665 * math/complex-stub.h: Declare nan.
7666 * math/nan.c: New file.
7668 * math/mathconf.h: Hack around missing endian.h file.
7669 Handle missing NAN definition.
7670 Handle missing float math functions.
7672 * src/Makefile.am (libstdc___la_LIBADD): Add libstring.la.
7673 (libstdc___la_LDFLAGS): Set version information.
7675 * src/complexl.cc: Don't compile any code if no long double functions
7678 * string/Makefile.am: New file.
7679 * string/dummy.c: New file.
7680 * string/wmemchr.c: New file.
7681 * string/wmemcmp.c: New file.
7682 * string/wmemcpy.c: New file.
7683 * string/wmemmove.c: New file.
7684 * string/wmemset.c: New file.
7686 1998-07-14 10:45 Ulrich Drepper <drepper@cygnus.com>
7688 * configure.in: Make it work.
7689 * install-sh: New file.
7690 * missing: New file.
7691 * mkinstalldirs: New file.
7692 * m4/mathfcts.m4: New file.
7693 * math/Makefile.am: New file.
7695 * bits/std_complex.h (conj): Mark specializations as inline.
7697 * math/carg.c: New file.
7698 * math/cargf.c: New file.
7699 * math/cargl.c: New file.
7700 * math/mycabs.c: New file.
7701 * math/mycabsf.c: New file.
7702 * math/mycabsl.c: New file.
7703 * math/signbit.c: New file.
7704 * math/signbitf.c: New file.
7705 * math/signbitl.c: New file.
7707 * math/ccos.c: Avoid ISO C 9x functionality.
7708 * math/ccosf.c: Likewise.
7709 * math/ccosh.c: Likewise.
7710 * math/ccoshf.c: Likewise.
7711 * math/ccoshl.c: Likewise.
7712 * math/ccosl.c: Likewise.
7713 * math/cexp.c: Likewise.
7714 * math/cexpf.c: Likewise.
7715 * math/cexpl.c: Likewise.
7716 * math/clog.c: Likewise.
7717 * math/clog10.c: Likewise.
7718 * math/clog10f.c: Likewise.
7719 * math/clog10l.c: Likewise.
7720 * math/clogf.c: Likewise.
7721 * math/clogl.c: Likewise.
7722 * math/cpow.c: Likewise.
7723 * math/cpowf.c: Likewise.
7724 * math/cpowl.c: Likewise.
7725 * math/csin.c: Likewise.
7726 * math/csinf.c: Likewise.
7727 * math/csinh.c: Likewise.
7728 * math/csinhf.c: Likewise.
7729 * math/csinhl.c: Likewise.
7730 * math/csinl.c: Likewise.
7731 * math/csqrt.c: Likewise.
7732 * math/csqrtf.c: Likewise.
7733 * math/csqrtl.c: Likewise.
7734 * math/ctan.c: Likewise.
7735 * math/ctanf.c: Likewise.
7736 * math/ctanh.c: Likewise.
7737 * math/ctanhf.c: Likewise.
7738 * math/ctanhl.c: Likewise.
7739 * math/ctanl.c: Likewise.
7741 * math/complex-stub.h: New file.
7743 * math/mathconf.h: New file.
7745 * src/Makefile.am: New file.
7747 * src/complex.cc: Use mathconf.h instead of complex.h.
7748 Don't use cabs, always use __mycabs.
7750 1998-02-13 Brendan Kehoe <brendan@cygnus.com>
7752 * iterator (class reverse_iterator): Do some tweaks to be in sync