1 2000-07-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3 * bits/istream.tcc (getline): Tweaks.
5 2000-07-23 Brent Verner <brent@rcfile.org>
7 * bits/istream.tcc: istream::getline(char_type*, streamsize,
8 char_type) make compliant
9 * testsuite/27_io/istream_unformatted.cc: test for compliant behavior
11 2000-07-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
13 * acinclude.m4 (enable_cshadow_headers): Fix problems with blddir
14 and srcdir used to define CSHADOW_INCLUDES..
16 * configure.in: For consistency, change .sanity_warned to
19 * acinclude.m4: Tweak formatting.
20 * Makefile.am (check): Call mkcheck with full pathname for build
22 (check-install): And here.
23 * Makefile.in: Regenerate.
25 2000-07-22 Gabriel Dos Reis <gdr@codesourcery.com>
27 Line up with libstdc++-v2 version of valarray.
28 * bits/valarray_array.h (__valarray_product): Make inline.
29 * src/valarray-inst.cc (__valarray_product): Remove explicit
32 2000-07-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
34 * src/stl-inst.cc: Change __sink_unused_warning to unsigned int
37 * testsuite/26_numerics/complex_inserters_extractors.cc (testall):
38 Change return type to void.
39 * testsuite/25_algorithms/lower_bound.cc: Add return values.
40 * testsuite/17_intro/header_ciso646.cc: Modify.
41 * bits/locale_facets.h: Add return values for the generic cases.
43 2000-07-21 H.J. Lu (hjl@gnu.org)
45 * acinclude.m4: Include <features.h> for glibc testing.
46 * aclocal.m4: Likewise.
50 2000-07-20 H.J. Lu (hjl@gnu.org)
52 * acinclude.m4: Change "#pragma system_header" to
53 "#pragma GCC system_header".
54 * aclocal.m4: Likewise.
55 * bits/std_cmath.h: Likewise.
56 * bits/std_cassert.h: Likewise.
57 * bits/std_cctype.h: Likewise.
58 * bits/std_cerrno.h: Likewise.
59 * bits/std_cfloat.h: Likewise.
60 * bits/std_climits.h: Likewise.
61 * bits/std_clocale.h: Likewise.
62 * bits/std_cwchar.h: Likewise.
63 * bits/std_csetjmp.h: Likewise.
64 * bits/std_csignal.h: Likewise.
65 * bits/std_cstdarg.h: Likewise.
66 * bits/std_cstddef.h: Likewise.
67 * bits/std_cstdio.h: Likewise.
68 * bits/std_cstdlib.h: Likewise.
69 * bits/std_cstring.h: Likewise.
70 * bits/std_ctime.h: Likewise.
71 * bits/std_cwctype.h: Likewise.
72 * bits/std_exception.h: Likewise.
73 * bits/std_new.h: Likewise.
74 * bits/std_typeinfo.h: Likewise.
75 * shadow/bits/std_cassert.h: Likewise.
76 * shadow/bits/std_cctype.h: Likewise.
77 * shadow/bits/std_cerrno.h: Likewise.
78 * shadow/bits/std_cfloat.h: Likewise.
79 * shadow/bits/std_climits.h: Likewise.
80 * shadow/bits/std_clocale.h: Likewise.
81 * shadow/bits/std_cmath.h: Likewise.
82 * shadow/bits/std_csetjmp.h: Likewise.
83 * shadow/bits/std_csignal.h: Likewise.
84 * shadow/bits/std_cstdarg.h: Likewise.
85 * shadow/bits/std_cstddef.h: Likewise.
86 * shadow/bits/std_cstdio.h: Likewise.
87 * shadow/bits/std_cstdlib.h: Likewise.
88 * shadow/bits/std_cstring.h: Likewise.
89 * shadow/bits/std_ctime.h: Likewise.
90 * shadow/bits/std_cwchar.h: Likewise.
91 * shadow/bits/std_cwctype.h: Likewise.
92 * shadow/bits/wrap_libio.h: Likewise.
93 * shadow/bits/wrap_unistd.h: Likewise.
94 * shadow/sys/cdefs.h: Likewise.
98 2000-07-20 Jakub Jelinek <jakub@redhat.com>
100 * config/cpu/sparc/sparc64/bits/atomicity.h (__exchange_and_add):
101 Use extended word instructions to match 64bit _Atomic_word.
102 (__atomic_add): Likewise.
103 * math/clog10l.c (clog10l): Use M_PIl if defined.
104 * math/c_logl.c (c_logl): Likewise.
105 * math/signbitl.c (__signbitl): Adapt for IEEE quad long doubles.
106 * math/mathconf.h (ieee_quad_double_shape_type): New type.
107 (GET_LDOUBLE_MSW64): New define.
109 2000-07-20 Benjamin Kosnik <bkoz@cygnus.com>
111 * bits/std_streambuf.h: Add bits for pback buffers here, so that
112 in_avail, etc can use them.
113 * bits/std_fstream.h: Ditto.
114 * bits/fstream.tcc: Ditto.
115 * testsuite/27_io/filebuf.cc: Tweaks.
116 * testsuite/27_io/filebuf-3.tst: Correct for pbackfail bits.
118 2000-07-19 Benjamin Kosnik <bkoz@cygnus.com>
120 * src/localename.cc: Same.
121 * src/locale.cc: Same.
122 * bits/localefwd.h: _M_init_facet to _M_facet_init.
124 * bits/locale_facets.h: _M_init_boolnames to _M_boolnames_init.
126 * bits/std_sstream.h: Change _M_init_stringbuf to _M_stringbuf_init.
128 * bits/fstream.tcc: Change _M_init_filebuf to _M_filebuf_init.
129 * bits/std_fstream.h: Same.
131 * bits/basic_string.h: Tweaks.
133 2000-07-19 Phil Edwards <pme@sourceware.cygnus.com>
135 * docs/18_support/howto.html: Update.
137 2000-07-19 Benjamin Kosnik <bkoz@milou.soma.redhat.com>
139 Internal consistency checks.....
140 * bits/ios_base.h: Change _M_locale_ios to _M_ios_locale.
143 * bits/basic_ios.h: Change _M_fctype_ios to _M_ios_fctype.
144 * bits/basic_ios.tcc: Same.
146 * bits/std_streambuf.h: Change _M_locale_buf to _M_buf_locale.
147 Change _M_fctype_buf to _M_buf_fctype.
148 * bits/fstream.tcc: Same.
150 * bits/std_streambuf.h: Change _M_buf_bump to _M_out_cur_move.
151 Change _M_locale_set to _M_buf_locale_init.
152 * bits/streambuf.tcc: Same.
153 * bits/sstream.tcc: Same.
154 * bits/fstream.tcc: Same.
156 * bits/std_streambuf.h: Make typedefs consistent.
157 (_M_buf_bump): Be more careful with input sequence.
159 * bits/std_sstream.h: Same.
160 * bits/std_fstream.h: Same.
162 2000-07-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
164 * acinclude.m4: Tweaks.
165 * config/c_io_libio.cc: Tweaks.
166 * bits/sstream.tcc (stringbuf::pbackfail): Simplify.
167 * libio/_G_config.h: Don't define _G_HAVE_ST_BLKSIZE.
168 * libio/[iofwide.c, wfiledoalloc.c, wfiteopos.c, wgenops.c]: New files.
169 * libio/iofclose.c iofopen.c, stdio.c: New files.
170 * libio/Makefile.am: Add files, add flags, etc.
171 * src/Makefile.am (sources): Add filebuf.cc.
172 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT):
173 (GLIBCPP_ENABLE_CSTDIO): Versioning testing, etc etc.
175 2000-07-17 Phil Edwards <pme@sourceware.cygnus.com>
177 * acinclude.m4: Import CHECK_GNU_MAKE from autoconf macro archive.
178 * configure.in: Use it. Also print reminders one time.
179 * aclocal.m4: Regenerate.
180 * configure: Regenerate.
182 2000-07-15 Gabriel Dos Reis <gdr@codesourcery.com>
184 * bits/valarray_array.h (__valarray_get_storage): New function.
185 (_Array<>::Array): Use it.
186 * bits/std_valarray.h (valarray<>::valarray): Likewise.
187 (valarray<>::resize): Likewise. Tweak.
188 * src/valarray-inst.cc (__valarray_product): Tweak.
190 2000-07-11 Phil Edwards <pme@sourceware.cygnus.com>
192 * docs: Update sourceware->sources in every HTML file. Minor updates.
194 2000-07-07 Benjamin Kosnik <bkoz@soma.redhat.com>
196 Clean up configure/build longstanding issues.
197 * src/Makefile.am (AC_CXXFLAGS): Don't set @SECTION_LDFLAGS@ here.
198 (CXXLINK): Add here, instead.
200 * Makefile.am (check-install): Make sure mkcheck has execute privs.
202 * configure.in (AC_OUTPUT_COMMANDS): Remove hacks here.
204 * configure.in (AC_OUTPUT_COMMANDS): Link c_io_libio.h and
205 c_io_libio.cc instead of copying.
206 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Do link here.
208 * configure.in (AC_OUTPUT_COMMANDS): Link $THREADS.h and
209 c++threads.h instead of copying.
210 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Do link here.
213 * config/c_io_libio.cc (__basic_file::_M_open_mode): Consolidate.
214 * bits/basic_file.h: Declare.
216 * mkcheck.in (TESTS_FILE): Use -v instead of --version.
218 2000-07-07 brent verner <brent@rcfile.org>
220 * testsuite/27_io/istream_unformatted.cc (test05): New test.
222 2000-07-07 Benjamin Kosnik <bkoz@gnu.org>
224 * bits/istream.tcc (istream::getline): Minor tweaks.
226 2000-07-07 Phil Edwards <pme@sourceware.cygnus.com>
228 * docs/download.html: Mention gcc_update.
229 * docs/configopts.html: Minor updates.
230 * docs/gccrebuild.html: Ditto.
231 * docs/18_support/howto.html: More tips, explanations, and reminders.
232 * docs/19_diagnostics/howto.html: Ditto.
233 * docs/21_strings/howto.html: Ditto.
234 * docs/24_iterators/howto.html: Ditto.
235 * docs/25_algorithms/howto.html: Ditto.
236 * docs/26_numerics/howto.html: Ditto.
238 2000-07-05 brent verner <brent@rcfile.org>
240 * testsuite/27_io/ifstream_members.cc (test01): Add tests.
241 * testsuite/27_io/ofstream_members.cc (test01): Add tests.
242 * config/c_io_libio.cc (__basic_file::open): Unset
243 ~_IO_DELETE_DONT_CLOSE.
245 2000-07-05 Zack Weinberg <zack@wolery.cumb.org>
247 * bits/gslice_array.h, bits/indirect_array.h, bits/mask_array.h,
248 bits/slice_array.h, bits/std_valarray.h, bits/valarray_meta.h:
249 Do not paste anything after 'operator' keyword.
251 2000-07-03 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
253 * bits/std_memory.h: Revert.
255 2000-07-03 Brendan Kehoe <brendan@zen.org>
257 * bits/std_complex.h: Fix parens. Format.
259 2000-07-03 scott snyder <snyder@fnal.gov>
261 * bits/locale_facets.tcc (_M_extract): Only figure out the base
262 from the input if base == 0.
263 * testsuite/27_io/istream_extractor_arith.cc: Test reading a
264 number with a leading `0' in hex mode.
266 * shadow/bits/std_cmath.h: Fix typo in _GLIBCPP_HAVE_CEILL test.
268 * mkinclosure: Change `==' to `=' in test.
270 2000-07-03 Chip Salzenberg <chip@valinux.com>
272 * src/Makefile.am (libio_headers): _G_config.h is found in srcdir,
274 * src/Makefile.in: Regenerate.
276 2000-07-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
277 Ulrich Drepper <drepper@purist.soma.redhat.com>
279 Sync libio to glibc-2.2 current CVS.
280 * libio/_G_config.h: New file.
281 * libio/wfileops.c: New file.
282 * libio/wfiledoalloc.c: New file.
283 * libio/wgenops.c: New file.
284 * libio/iofwide.c: New file.
285 * libio/Makefile.am: Tweaks.
286 * libio/Makefile.in: Regenerate.
287 * libio/gen-params: Remove. Generic replacement for this yet undone.
288 * libio/[filedoalloc.c, fileops.c, genops.c, iolibio.h, libio.h,
289 libioP.h, stdfiles.c]: Update.
290 * config/c_io_libio.cc: Tweaks.
291 * acinclude.m4: Complete hacks to test wide io.
292 * aclocal.m4: Regenerate.
293 * configure: Regenerate.
294 * src/Makefile.am: Update.
295 * src/Makefile.in: Regenerate.
297 * math/cargl.c: Remove underscores.
299 * bits/locale_facets.h: Tweaks. Start adding iconv details
301 * bits/locale_facets.tcc: Tweaks.
302 * bits/std_cwchar.h: Tweaks.
304 2000-06-29 scott snyder <snyder@fnal.gov>
306 * bits/concept_checks.h
307 (__less_then_comparable_requirement_violation): Only check for <.
308 * testsuite/25_algorithms/lower_bound.cc: New file.
310 2000-06-29 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
312 * testsuite/27_io/ostream_manip.cc (test02): Add tests.
313 * bits/ostream.tcc: Tweak.
314 * bits/std_fstream.h (basic_filebuf::setbuf): Reset
316 * bits/std_streambuf.h (basic_streambuf::~basic_streambuf): Zero
318 * bits/std_sstream.h (basic_stringbuf::_M_init_stringbuf): Set
319 _M_buf_size_opt out here.
320 * bits/char_traits.h (char_traits::eos): Non standard member
321 function, uglify to __eos. Return char_type().
322 * bits/std_ostream.h: Change.
324 * testsuite/27_io/ostream_seeks.cc: New file.
325 * testsuite/27_io/ostream_seeks-1.tst: New file.
326 * testsuite/27_io/istream_unformatted.cc (main): Move test04 and
328 * testsuite/27_io/istream_seeks.cc: New file.
330 2000-06-29 Branko Cibej <branko.cibej@hermes.si>
332 * bits/std_memory.h (auto_ptr_ref): Reworked and defined only if
333 _GLIBCPP_RESOLVE_LIB_DEFECTS.
334 (auto_ptr): _M_ptr changed to void*.
335 (suto_ptr::get): Cast _M_ptr to element type.
336 (auto_ptr::auto_ptr(auto_ptr<Tp1>)): Test implicit convetsion.
337 (auto_ptr::~auto_ptr): Use this->get() instead of _M_ptr.
338 (auto_ptr::operator*): Likewise.
339 (auto_ptr::operator->): Likewise.
340 (auto_ptr::release): Likewise.
341 (auto_ptr::reset): Likewise.
342 (auto_ptr::auto_ptr(auto_ptr_ref)): Initialize from __ref._M_release.
343 (auto_ptr::operator auto_ptr_rev<_Tp1>): Updated.
344 Define nested auto_ptr_ref unless _GLIBCPP_RESOLVE_LIB_DEFECTS.
345 Define operator=(auto_ptr_ref) if _GLIBCPP_RESOLVE_LIB_DEFECTS.
347 2000-06-28 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
349 * testsuite/27_io/filebuf.cc: Tweak.
350 * testsuite/27_io/filebuf_members.cc (test_01): Fix.
351 * config/c_io_libio.cc (__basic_file::~__basic_file): Match libio
353 (__basic_file::basic_file): Clean, add calls similar to
355 (__basic_file::open): Clean.
356 (__basic_file::sys_open): Clean.
358 * bits/std_fstream.h: Revert.
359 * bits/fstream.tcc (filebuf::close()): Revert.
360 (filebuf::basic_filebuf()): Revert.
362 2000-06-27 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
364 Update to SGI STL 3.3
365 * ext/hash_map, ext/hash_set, ext/slist, ext/stl_bvector.h,
366 ext/stl_rope.h, ext/ropeimpl.h: Update.
367 * bits/std_bitset.h, bits/std_map, bits/std_memory.h,
368 bits/stl_algo.h, bits/stl_algobase.h, bits/stl_alloc.h,
369 bits/stl_config.h, bits/stl_construct.h, bits/stl_deque.h,
370 bits/stl_function.h, bits/stl_heap.h, bits/stl_iterator.h,
371 bits/stl_iterator_base.h, bits/stl_list.h, bits/stl_map.h,
372 bits/stl_multimap.h, bits/stl_multiset.h, bits/stl_numeric.h,
373 bits/stl_queue.h, bits/stl_set.h, bits/stl_stack.h,
374 bits/stl_string_fwd.h, bits/stl_threads.h, bits/stl_three.h,
375 bits/stl_uninitialized.h, bits/stl_vectory.h: Update.
377 * src/Makefile.am (headers): Add new files.
378 * src/Makefile.in: Regenerate.
379 * src/stl-inst.cc (std): Add instantiation for __sink_unused_warning.
380 * bits/concept_checks.h: New file.
381 * bits/container_concepts.h: New file.
382 * bits/sequence_concepts.h: New file.
384 2000-06-27 H.J. Lu <hjl@gnu.org>
385 Loren J. Rittle <ljrittle@acm.org>
387 * mkcheck.in: Add support to print standard flags needed to
388 test g++ in build tree. Enhance command line error checking.
390 2000-06-27 Phil Edwards <pme@sourceware.cygnus.com>
392 * docs/install.html: Fix minor typo as reported.
394 2000-06-26 Brent Verner <brent@rcfile.org>
396 * bits/string.tcc (string::rfind): Fix.
397 * testsuite/21_strings/rfind.cc: New file.
399 2000-06-26 Anthony Williams <anthony@anthonyw.cjb.net>
401 * testsuite/21_strings/ctor_copy_dtor.cc: Fixed logic error.
403 2000-06-26 Branko Cibej <branko.cibej@hermes.si>
405 * testsuite/27_io/filebuf_members.cc (test_01): Fixed typos.
407 * mkcheck.in: Make the *.txt and *.tst files writable after
408 copying them to $TEST_DIR.
410 * testsuite/27_io/ostream_inserter_arith.cc: Renamed
411 __TEST_NUMPUT_VERBOSE to TEST_NUMPUT_VERBOSE. Define
412 TEST_NUMPUT_VERBOSE only if DEBUG_ASSERT.
414 2000-06-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
416 * bits/fstream.tcc (basic_filebuf::basic_filebuf(fd)): Use it.
417 (basic_filebuf::close): Use it.
418 * bits/std_fstream.h (basic_filebuf): Remove default arguments for
420 (basic_filebuf): Add _M_fileno_based data member.
421 As reported by brent verner <brent@rcfile.org>
422 * testsuite/27_io/filebuf_members.cc: New file.
423 * testsuite/27_io/filebuf_members-1.tst: New file.
425 * bits/std_fstream.h: Formatting tweaks.
426 * testsuite/27_io/ofstream_members.cc: New file.
427 * testsuite/27_io/ofstream_members-1.tst: New file.
428 * testsuite/27_io/ifstream_members.cc: New file.
429 * testsuite/27_io/ifstream_members-1.tst: New file.
431 2000-06-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
432 Ulrich Drepper <drepper@cygnus.com>
434 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Add -D_GNU_SOURCE, so
435 that all the freaky stuff like sincos will be around...
437 2000-06-22 Branko Cibej <branko.cibej@hermes.si>
439 * Makefile.am (AM_MAKEFLAGS): Added WERROR to list of flags.
441 2000-06-22 Steven King <sxking@uswest.net>
443 * acinclude.m4: Check for sinl, _sinl using 1 parameter.
445 2000-06-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
447 * acinclude.m4 (GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT): Redo. Use the
448 same approach as GLIBCPP_CHECK_MATH_SUPPORT, only don't try to
449 link against libm and don't use -fno-builtins...
450 * math/mathconf.h: Change up builtin macros to new schema.
451 * bits/std_cmath.h: And here. Wheee!
452 * shadow/bits/std_cmath.h: And here.
453 * acconfig.h: Change up builtin macros here.
454 * math/cosf.c: Remove.
455 * math/fabsf.c: Likewise.
456 * math/sinf.c: Likewise.
457 * math/sqrtf.c: Likewise.
458 * math/Makefile.am (EXTRA_DIST): Remove those four files.
459 * math/Makefile.in: Regenerate.
461 2000-06-22 Anthony Williams <anthony@anthonyw.cjb.net>
463 * testsuite/21_strings/find.cc: Patch.
465 2000-06-22 Benjamin Kosnik <bkoz@soma.redhat.com>
467 * acinclude.m4 (GLIBCPP_CHEC_LINKER_FEATURES): Use gcc + -x c++ as
468 an easy way to get at g++ without having to link in libstdc++.
470 2000-06-21 Benjamin Kosnik <bkoz@soma.redhat.com>
472 Fix alpha, powerpc build failures.
473 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Substantially
474 re-write. Need to check for both proper declaration when using a
475 c++ compiler, and "C" linkage when linking. Do both, and if both
476 exist, then define the HAVE_* bits in config.h.
477 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE): New, uber-macro. Does all.
478 (GLIBCPP_CHECK_LINKER_FEATURES): Actually link and run this
481 2000-06-20 Anthony Williams <anthony@anthonyw.cjb.net>
483 * bits/string.tcc: Fix find.
484 * testsuite/21_strings/find.cc: Patch.
486 2000-06-20 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
488 * docs/install.html: Update where to get automake, where to get
490 * acinclude.m4: Need -fno-builtins too, so gcc doesn't recognize
493 2000-06-19 Benjamin Kosnik <bkoz@soma.redhat.com>
495 * acinclude.m4 ((GLIBCPP_CHECK_MATH_SUPPORT): Revert last change.
496 Add -Werror-implicit-function-declaration instead.
498 Regenerate with fixed maintainer-tools.
499 * aclocal.m4: Regenerate.
500 * configure: Regenerate.
501 * libio/Makefile.in: Regenerate.
502 * src/Makefile.in: Regenerate.
504 2000-06-19 Russell Davidson <russell@ehess.cnrs-mrs.fr>
506 * testsuite/27_io/istream_extractor_arith.cc: Patch.
507 * bits/locale_factets.tcc: Tweak.
509 2000-06-19 Raja R Harinath <harinath@cs.umn.edu>
511 * src/Makefile.am: change @WERROR@ to $(WERROR) so that this can
512 be overridden on the command line for individual files.
514 2000-06-19 Benjamin Kosnik <bkoz@soma.redhat.com>
516 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Can't use
517 AC_LANG_CPLUSPLUS as this tries to link in libstdc++, which we are
518 building. Use -x c++ instead, which does not attempt to link
521 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Actually check for
522 not coring when we hit a try/throw block, which was the problem
523 with the linker support...
525 * docs/17_intro/contribute.html: Add bits about getting to the LWG
527 * docs/documentation.html: Rename link to make more accurate and scary.
528 * docs/gccrebuild.html: Edit for clarity as these are no longer
530 * docs/install.html: Add bits about binutils for
531 -ffunction-sections, -fdata-sections, -Wl,--gc-sections
533 * configure.in: Add call for GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT.
534 * math/Makefile.am (EXTRA_DIST): Change USE_LONG_DOUBLE to
535 USE_COMPLEX_LONG_DOUBLE.
536 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Break into
537 GLIBCPP_CHECK_MATH_SUPPORT and GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT.
538 Works around irregularies in powerpc "C" compiler, but a good idea
541 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT):
542 New. Merge both old compiler bug checks for complex into this.
544 2000-06-19 Anthony Williams <anthony@anthonyw.cjb.net>
546 * testsuite/21_strings/find.cc: Empty strings can be found at all
549 2000-06-19 Branko Cibej <branko.cibej@hermes.si>
551 * testsuite/20_utilities: New directory.
552 * testsuite/20_utilities/auto_ptr.cc: New file.
554 2000-06-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
556 * src/Makefile.am (string_sources): Simplify, assuming that with
557 -ffunction-sections, -fdata-sections, -Wl,--gc-sections, all this
558 hacking is not necessary.
559 (wstring_sources): Same.
560 (OPTIMIZE_CXXFLAGS): Enable -fdata-sections -ffunction-sections
562 * src/string-inst.cc: Remove macro blocks.
563 * mkcheck.in (CXX_FLAG): Add bits here.
565 * src/string-inst.cc: Remove iostream-related string instantiations.
566 * src/misc-inst.cc: Add here.
568 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change FMTFLAGS
570 * aclocal.m4: Regenerate.
571 * configure.in: Change up.
572 * configure: Regenerate.
574 2000-06-13 Steven King <sxking@uswest.net>
576 * acinclude.m4: Fixup some of the builtin math tests and add tests for
577 __builtin_fmod* and test libm for fmodf, fmodl or _fmodf, _fmodl.
578 * acconfig.h: Add entries for fmod*.
580 2000-06-13 Branko Cibej <branko.cibej@hermes.si>
582 * bits/std_cmath.h: Fix typos in tests (*_FMODFF -> *_FMODF).
583 Test *_MODFF not *_MODF for modf(float, float*).
584 (modf(float, float*)): Remove reference to _C_legacy.
586 2000-06-13 Benjamin Kosnik <bkoz@redhat.com>
588 * acinclude.m4 (enable_cshadow_headers): Change CSHADOWFLAGS to
589 _GNU_SOURCE instead of _ISOC9X_SOURCE, as _GNU_SOURCE is the
590 superset, and already defined at top level.
591 * aclocal.m4: Regenerate.
592 * configure: Regenerate.
594 * docs/17_intro/contribute.html: Plead with people to use -cp.
596 2000-06-13 Anthony Williams <anthony@anthonyw.cjb.net>
598 * testsuite/23_containers/bitset_ctor.cc: Qualify reverse wth std::.
600 * testsuite/27_io/filebuf.cc: Changed calls to
601 fpos<>._M_position() to implicit calls to operator streamoff().
602 * testsuite/27_io/iostream_objects.cc: Removed #include <ciso646>,
603 as not needed. Revert, as part of standard.
604 * testsuite/27_io/ostream_inserter_arith.cc: Replaced explicit
605 call to numpunct<>._M_init() with overrides of the appropriate
608 * testsuite/27_io/stringstream.cc: Removed unnecessary char *
609 pointers from test01, so no need to call base(), which isn't
610 guaranteed to be implemented as iterators may themselves be pointers
611 * testsuite/27_io/stringbuf.cc: Removed unnecessary calls to
612 _M_position() - use implicit conversion to streamoff instead
614 2000-06-13 Thomas Holenstein <thomas@hex.ch>
616 * bits/stl_iterator.h: Added inline to operators == to >=.
618 2000-06-13 Brent Verner <brent@rcfile.org>
620 * bits/streambuf.tcc: repaired _S_copy_streambufs()
621 * testsuite/27_io/ostream_inserter_other.cc (test03): Added testcase.
623 2000-06-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
625 * bits/locale_facets.h (ctype<wchar_t>): Remove unnecessary data
627 * src/locale.cc: Add cwchar include here. Remove incorrect
628 definitions, and stub them out.
629 * config/generic/ctype.cc (ctype): Remove ctype<wchar_t> bits.
630 * config/solaris/solaris2.7/ctype.cc (ctype): Same.
631 * config/solaris/solaris2.5/ctype.cc (ctype): Same.
632 * config/newlib/ctype.cc: Same.
633 * config/gnu-linux/ctype.cc: Same.
634 * config/bsd/ctype.cc: Same.
635 * config/aix/ctype.cc: Same.
637 2000-06-12 Branko Cibej <branko.cibej@hermes.si>
639 * config/solaris/solaris2.6/ctype.cc (do_toupper, do_tolower): Use
640 towupper and towlower to convert wide characters.
642 2000-06-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
644 * mkcheck.in: Clean up confusion regarding NAME, PRE_NAME.
646 2000-06-08 Branko Cibej <branko.cibej@hermes.si>
648 * acinclude.m4 (GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT): Check for
649 sinf, cosf, fabsf, and sqrtf; add to LIBMATHOBJS if missing.
650 * aclocal.m4: Regenerate.
651 * configure: Regenerate.
652 * math/cosf.c: New file.
653 * math/fabsf.c: Likewise.
654 * math/sinf.c: Likewise.
655 * math/sqrtf.c: Likewise.
656 * math/Makefile.am (EXTRA_DIST): Add those four files.
657 * math/Makefile.in: Regenerate.
659 2000-06-08 Phil Edwards <pme@sourceware.cygnus.com>
661 * testsuite/26_numerics/complex_inserters_extractors.cc: Need cmath.
663 2000-06-06 Steven King <sxking@uswest.net>
665 * acconfig.h: Added defines for HAVE_BUILTIN math functs for float,
666 double and long double. Added defines for HAVE libm math functs for
667 float and long double.
668 * aclocal.m4: Added configure checks for builtin math funcs and libm
669 support for float and long double versions of the math functions.
670 * config.h.in: Added undefs for math functs.
671 * configure: Regenerate.
672 * math/mathconf: Changed the _GLIBCPP_HAS_BUILTIN_* to
673 _GLIBCPP_HAVE_BUILTIN_*.
674 * bits/std_cmath.h: Added long double support. Use builtins for
675 float, double and long if available, otherwise, use libm versions if
676 availible, otherwise, punt.
677 * shadow/bits/std_cmath.h: ditto
679 2000-06-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
681 * bits/locale_facets.h: Tweak.
682 * src/locale.cc (codecvt<wchar_t>): Tweak.
684 * bits/locale_facets.h (_Format_cache): _S_ecks -> _S_x.
685 * bits/locale_facets.tcc (num_get<char>::_M_extract): Fix for hex.
687 * bits/basic_string.h: Move data member up.
688 * src/string-inst.cc: Fix instantiations.
689 * bits/string.tcc: Fix types.
691 2000-06-02 Anthony Williams <anthony@anthonyw.cjb.net>
693 * testsuite/21_strings/replace.cc (test01): Qualify find with std::.
695 2000-06-01 Benjamin Kosnik <bkoz@gnu.org>
697 * bits/std_cwctype.h: Clean.
698 * bits/std_cwchar.h: Clean, remove cruft.
700 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Re-work, add bits
701 for beginning iconv support.
702 Remove _GLIBCPP_HAS_WCHAR_MIN_MAX, roll into _GLIBCPP_USE_WCHAR_T
704 * acconfig.h: Remove _GLIBCPP_HAS_WCHAR_MIN_MAX.
705 * bits/limits_generic.h: Remove.
706 * src/gen-num-limits.cc: Same.
708 * src/locale.cc: Tweaks.
710 * bits/char_traits.h: Tweaks.
712 2000-05-31 Russell Davidson <russell@ehess.cnrs-mrs.fr>
714 * bits/locale_facets.tcc (num_get<char>::_M_extract): Fix signage,
715 exponent, scientific formatting issues.
716 * testsuite/27_io/istream_extractor_arith.cc (test09): Add tests.
718 2000-05-31 Branko Cibej <branko.cibej@hermes.si>
720 * bits/limits_generic.h (numeric_limits<wchar_t>): Use WCHAR_MIN
721 and WCHAR_MAX instead of WCHART_MIN and WCHART_MAX.
723 2000-05-31 Nathan Myers <ncm@cantrip.org>
725 * docs/thanks.html: edit own credits
727 2000-05-31 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
729 * bits/generic_shadow.h: Remaining _C_Shadow -> _C_shadow fix.
731 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Add strtoull checks...
733 * mkcheck.in (SH_FLAG): Add in -Wl,--rpath -Wl,$LIB_PATH. Tweaks.
735 2000-05-31 Steven King <sxking@uswest.net>
737 * shadow/time.h: fix typo
738 * shadow/wchar.h: ifdef __USE_GNU for wcsdup
739 * shadow/bits/std_cwchar.h: ditto
740 * shadow/bits/std_cstdlib.h: add overloads of abs and div for long
743 2000-05-26 Phil Edwards <pme@sourceware.cygnus.com>
745 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): If strtoll isn't
746 available, force --disable. Need to flesh this out; make smarter.
747 * aclocal.m4: Regenerate.
748 * configure: Regenerate.
750 * mkcheck.in: Minor tweaks.
751 * docs/download.html: Fix typo.
753 2000-05-25 Benjamin Kosnik <bkoz@milou.soma.redhat.com>
755 * inclosure: Change to...
758 * mkcshadow: Fix paths to bash.
760 * src/Makefile.am: Tweaks. Do cshadow header trickery at build time.
761 * src/Makefile.in: Regnerate.
762 * acinclude.m4 (GLIBCPP_COMPILER_VERSION): Fix typo.
763 (GLIBCPP_ENABLE_SHADOW): Do a less gross hack.
764 * aclocal.m4: Regenerate.
765 * mkcheck.in (INC_PATH): Tweak.
767 * configure.in: Enable long long by default.
768 * configure: Regenerate.
770 * mkcheck.in (LIB_PATH): Revert.
772 2000-05-24 Nathan "I don't write ChangeLog Entries" Myers <ncm@cantrip.org>
774 * config/cpu/i486: New directory.
775 * config/cpu/i486/bits: New directory.
776 * config/cpu/i486/bits/atomicity.h: New file.
777 * config/cpu/i386/bits/atomicity.h (__compare_and_swap): Delete
779 * acinclude.m4 (GLIBCPP_CHECK_CPU): Enable i386.
781 2000-05-24 Loren J. Rittle <ljrittle@acm.org>
783 * backward/alloc.h (__default_alloc_template): Only expose
784 implementation-specific symbol, if it exists in the
786 * backward/iostream.h (ends): Expose symbol.
787 * backward/strstream.h: New file.
788 * backward/stream.h: New file.
789 * backward/ostream.h: New file.
790 * backward/istream.h: New file.
791 * backward/fstream.h: New file.
792 * backward/complex.h: New file.
793 * backward/iomanip.h: New file.
795 * mkcheck.in (LIB_PATH): Add -R bits.
797 * math/carg.c (carg): Replace __atan2 with atan2.
799 2000-05-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
801 * Makefile.am (TAGS): Construct.
802 * Makefile.in: Rengerate.
803 * src/Makefile.am: Tweak.
804 * src/Makefile.in: Tweak.
805 * configure.in: Tweak.
807 * bits/c++config.h: Rename to ...
808 * bits/c++config: This.
809 * mkc++config: Adjust.
812 * m4/lc_message.m4: Merge into acinclude.m4.
813 * m4/mathfcts.m4: Same.
814 * m4/stringfcts.m4: Same.
815 * acinclude.m4: Add here.
816 * configure: Regnerate.
818 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Remove
819 OPTLEVEL. Add FMTFLAGS.
820 * aclocal.m4: Regenerate.
821 * src/Makefile.am (AC_CXXFLAGS): Take out OPTLEVEL, as this has
822 been disabled due to higher-level Makefiles running amuck over
823 this bit, and add in FMTFLAGS so that formatting is clear.
824 * src/Makefile.in: Regenerate.
825 * configure: Regenerate.
827 * src/ios.cc (ios_base::sync_with_stdio): Clean up buffers from
830 * docs/download.html: Remove references to Cygwin-specific bits,
831 as this can now be built natively.
832 Update with current information.
834 2000-05-24 Phil Edwards <pme@sourceware.cygnus.com>
836 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): If we can use
837 -fdiagnostics-show-location=once, do so. Expand AC_LANG_* to
838 enclose other tests in this macro, including future ones.
839 * aclocal.m4: Regenerate.
840 * configure: Regenerate.
842 * docs/faq/index.html: Update location of libg++ FAQ.
843 * docs/faq/index.txt: Regenerate.
845 2000-05-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
847 * docs/17_intro/libstdc++-assign.txt: Change Cygnus to FSF.
849 2000-05-22 Phil Edwards <pme@sourceware.cygnus.com>
851 * mkcheck.in: Tweak for Solaris 8. Additional minor output comment.
853 2000-05-22 Phil Edwards <pme@sourceware.cygnus.com>
855 * acinclude.m4: If the new pragma isn't supported, don't kill -Werror;
856 keep -Werror and add -Wno-unknown-pragma. -Werror Is Good.
857 * aclocal.m4: Regenerate.
858 * configure: Regenerate.
860 2000-05-19 Nathan C. Myers <ncm@cantrip.org>
862 * bits/generic_shadow.h: s/swamp/legacy/
864 2000-05-19 Phil Edwards <pme@sourceware.cygnus.com>
866 * acinclude.m4: Clean up comments on newer checks.
867 (GLIBCPP_CHECK_COMPILER_VERSION): Check for system_header
868 pragma support. Remove WERRORSUPPRESS variable, add WERROR.
869 * aclocal.m4: Regenerate.
870 * configure: Regenerate.
871 * Makefile.in: Regenerate.
872 * libio/Makefile.in: Regenerate.
873 * math/Makefile.in: Regenerate.
874 * src/Makefile.am: Tell make's WERROR to depend on configure's WERROR.
875 * src/Makefile.in: Regenerate.
876 * docs/configopts.html: Document changes to --enable names.
878 2000-05-18 Chip Salzenberg <chip@valinux.com>
880 * bits/ostream.tcc (_S_pad_char): Function template should not be
882 * bits/streambuf.tcc (_S_copy_streambufs): Likewise.
883 * src/string-inst.cc (__destroy_aux): Instantiate for string*.
885 2000-05-18 Nathan C. Myers <ncm@cantrip.org>
887 * mkcshadow: Change C_Swamp to C_legacy.
889 * shadow/bits/*: Same.
894 2000-05-18 Anthony Williams <anthony@anthonyw.cjb.net>
896 * bits/locale_facets.tcc (num_get::_M_extract): Change char* to
898 * src/string-inst.cc (string::_S_find): Same.
900 2000-05-18 Benjamin Kosnik <bkoz@gnu.org>
902 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Change to
903 --enable-cshadow-headers. Add output messages.
904 (GCC_ENABLE_LONG_LONG): Change to --enable-long-long, no
905 underscores (like the rest of the enable options.) Add output messages.
906 * aclocal.m4: Regenerate.
907 * configure: Regenerate.
908 * configure.in: Touch.
910 2000-05-17 Benjamin Kosnik <bkoz@cygnus.com>
912 * mkcheck.in: Enable shared library testing.
914 2000-05-17 Nathan C. Myers <ncm@cantrip.org>
916 * bits/std_cmath.h: fix sqrt(float)
918 2000-05-16 Loren J. Rittle <ljrittle@acm.org>
920 * bits/std_cassert.h: Use system_header pragma.
921 * bits/std_cctype.h: Likewise.
922 * bits/std_cerrno.h: Likewise.
923 * bits/std_cfloat.h: Likewise.
924 * bits/std_climits.h: Likewise.
925 * bits/std_clocale.h: Likewise.
926 * bits/std_cmath.h: Likewise.
927 * bits/std_csetjmp.h: Likewise.
928 * bits/std_csignal.h: Likewise.
929 * bits/std_cstdarg.h: Likewise.
930 * bits/std_cstddef.h: Likewise.
931 * bits/std_cstdio.h: Likewise.
932 * bits/std_cstdlib.h: Likewise.
933 * bits/std_cstring.h: Likewise.
934 * bits/std_ctime.h: Likewise.
935 * bits/std_cwchar.h: Likewise.
936 * bits/std_cwctype.h: Likewise.
937 * bits/std_exception.h: Likewise.
938 * bits/std_new.h: Likewise.
939 * bits/std_typeinfo.h: Likewise.
940 * shadow/bits/std_cassert.h: Likewise.
941 * shadow/bits/std_cctype.h: Likewise.
942 * shadow/bits/std_cerrno.h: Likewise.
943 * shadow/bits/std_cfloat.h: Likewise.
944 * shadow/bits/std_climits.h: Likewise.
945 * shadow/bits/std_clocale.h: Likewise.
946 * shadow/bits/std_cmath.h: Likewise.
947 * shadow/bits/std_csetjmp.h: Likewise.
948 * shadow/bits/std_csignal.h: Likewise.
949 * shadow/bits/std_cstdarg.h: Likewise.
950 * shadow/bits/std_cstddef.h: Likewise.
951 * shadow/bits/std_cstdio.h: Likewise.
952 * shadow/bits/std_cstdlib.h: Likewise.
953 * shadow/bits/std_cstring.h: Likewise.
954 * shadow/bits/std_ctime.h: Likewise.
955 * shadow/bits/std_cwchar.h: Likewise.
956 * shadow/bits/std_cwctype.h: Likewise.
957 * shadow/bits/wrap_libio.h: Likewise.
958 * shadow/bits/wrap_unistd.h: Likewise.
959 * shadow/sys/cdefs.h: Likewise.
961 2000-05-16 Nathan C. Myers <ncm@cantrip.org>
963 It appears that gcc-2.96 supports the keyword "and" now.
964 * bits/std_ciso646.h: remove.
966 * testsuite/17_intro/header_ciso646.c: enable testing.
967 * src/Makefile.am, src/Makefile.in: remove mention of
970 2000-05-16 Nathan C. Myers <ncm@cantrip.org>
972 * mkcshadow: fix typo s/_C_Swamp_/_C_Swamp/.
974 2000-05-16 Phil Edwards <pme@sourceware.cygnus.com>
976 * acinclude.m4: Fix typo, switch to decaf...
977 * aclocal.m4: Regenerate.
978 * configure: Regenerate.
980 2000-05-16 Phil Edwards <pme@sourceware.cygnus.com>
982 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): New macro, stub.
983 * aclocal.m4: Regenerate.
984 * configure.in: Call.
985 * configure: Regenerate.
986 * docs/configopts.html: Stub documentation.
988 2000-05-14 Nathan Myers <ncm@cantrip.org>
990 * mkcshadow: build in more-correct directory, create cshadow/
991 directory if needed, report progress.
993 2000-05-14 LLeweLLyn Reese <llewelly@dbritsch.dsl.xmission.com>
995 * src/Makefile.am: Fix tr commands.
996 * src/Makefile.am: Remove references to [w]stringCTORDUPAL.[lo,cc]
997 * src/string-inst.cc: Remove extra instantiation of
998 S::basic_string(S::size_type, C, S::allocator_type const&);
999 * src/string-inst.cc: Remove extra template keyword.
1001 2000-05-14 Loren J. Rittle <ljrittle@acm.org>
1003 * config/bsd/bits/ctype_base.h: Add support for plain BSD4.4.
1004 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Enhance bsd tests.
1005 * aclocal.m4: Regenerate.
1006 * configure: Regenerate.
1007 * */Makefile.in: Regenerate.
1009 2000-05-11 Phil Edwards <pme@sourceware.cygnus.com>
1011 * acinclude.m4: Fix minor typo with ctypes, add more sanity to
1012 enable-cxx-flags, and remove GLIBCPP_ENABLE_NAMESPACES altogether.
1013 * aclocal.m4: Regenerate.
1014 * configure.in: Non-blank arguments break fewer Linuxes.
1015 * configure: Regenerate.
1016 * src/Makefile.am: Re-order AC_CXXFLAGS components.
1017 * src/Makefile.in: Regenerate.
1019 2000-05-10 Benjamin Kosnik <bkoz@redhat.com>
1021 * bits/std_cmath.h: Tweaks.
1022 * math/mathconf.h: Tweaks and fixes for HP-UX 11.
1023 (sqrtf): Define away iff !builtin and !in <math.h>.
1027 At some point this directory should be converted to c++, the
1028 autoconf tests should be run by the c++ compiler (not c), and
1029 <cmath> should be used instead of math.h.
1030 Move declaration of nan() here.
1031 * math/complex-stub.h (cabsl): Remove nan() declaration.
1033 Finish up FreeBSD4.0 support.
1034 * config/bsd/ctype.cc: Scope out toupper, tolower calls.
1035 * config/generic/ctype.cc: And here.
1036 * testsuite/21_strings/char_traits.cc (test02): Guard with
1037 _GLIBCPP_USE_WCHAR_T.
1039 via Phil Edwards <pme@sourceware.cygnus.com>
1040 * bits/std_cctype.h: Remove _GLIBCPP_USE_NAMESPACES.
1041 * acconfig.h: And here.
1042 * acinclude.m4: Same.
1043 * testsuite/27_io/istream.cc: And here.
1044 * testsuite/27_io/ostream.cc: And here.
1046 2000-05-09 Benjamin Kosnik <bkoz@gnu.org>
1048 * acinclude.m4 (GLIBCPP_CHECK_CPU): Change powerpc bits to
1050 * src/Makefile.am: Disable ENABLE_CXX_FLAGS stuff for the moment.
1052 * config/generic/bits/ctype_specializations.h (ctype<char>::is):
1055 * config/bsd: New directory.
1056 * config/bsd/ctype.cc: New.
1057 * config/bsd/bits/ctype_base.h (ctype_base): New.
1058 * config/bsd/bits/ctype_specializations.h: New.
1059 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add bsd tests.
1061 2000-05-09 Phil Edwards <pme@sourceware.cygnus.com>
1063 * acinclude.m4: New macro, GLIBCPP_ENABLE_CXX_FLAGS.
1064 * configure.in: Call.
1065 * src/Makefile.am: Append results of macro to AC_CXXFLAGS.
1066 * aclocal.m4: Regenerate.
1068 * src/Makefile.in: Ditto.
1069 * docs/configopts.html: Document.
1070 * docs/download.html: Fix typo (close quote).
1071 * docs/footer.html: Update.
1073 2000-05-09 Loren J. Rittle <ljrittle@acm.org>
1075 * backward/iostream.h: Expose endl. Guard wide types.
1076 * src/Makefile.am (headers): Update list to match files.
1077 * src/Makefile.in: Regenerate.
1079 2000-05-09 Vadim Egorov <egorovv@mailandnews.com>
1080 Benjamin Kosnik <bkoz@gnu.org>
1081 Nathan Myers <ncm@cantrip.org>
1082 Dietmar Kuehl <dietmar_kuehl@yahoo.com>
1084 * bits/streambuf.tcc (basic_streambuf::xsgetn): Fix uflow case.
1085 (basic_streambuf::xsputn): Make consistent.
1086 * testsuite/27_io/filebuf.cc: Add tests.
1088 2000-05-08 Steven King <sxking@uswest.net>
1090 * bits/char_traits.h: Use wchar_t utility functions for
1091 char_traits<wchar_t> methods.
1092 * testsuite/21_string/char_traits.cc: New (test02): test
1093 char_traits<wchar_t>
1095 2000-05-08 Benjamin Kosnik <bkoz@cygnus.com>
1097 * acinclude.m4 (GLIBCPP_CXXFLAGS): Add bits for solaris2.8.
1099 * bits/fstream.tcc (filebuf::_M_init_filebuf): Don't set
1100 _M_buf_size based on macro, instead use _M_buf_size_opt.
1101 * bits/std_streambuf.h (basic_streambuf): Add _M_buf_size_opt.
1102 (basic_streambuf()): Set _M_buf_size_opt.
1103 * testsuite/27_io/filebuf.cc (filebuf): Use _M_buf_size_opt
1104 instead of _M_buf_size.
1106 2000-05-04 Branko Cibej <branko.cibej@hermes.si>
1108 * src/complex_io.cc: Don't instantiate inserters and extractors
1109 for wide-character streams unless _GLIBCPP_USE_WCHAR_T is defined.
1111 2000-05-03 Phil Edwards <pme@sourceware.cygnus.com>
1112 Felix Natter <fnatter@gmx.net>
1114 * docs/footer.html: Update to see if it takes effect.
1115 * docs/thanks.html: More people.
1116 * docs/17_intro/headers_cc.txt: Copy from testsuite, since that can't
1117 be seen from the web pages. Rename for browser-friendliness...
1118 * docs/17_intro/howto.html: ...and update here.
1119 * docs/17_intro/porting-howto.html: Changes from Felix.
1120 * docs/gccrebuild.html: Mention v3->egcs move.
1121 * docs/faq/index.html: Ditto. Also misc tweaks and URL updates.
1122 * docs/faq/index.txt: Regenerate.
1124 2000-05-01 Benjamin Kosnik <bkoz@redhat.com>
1126 * config/cpu/powerpc/bits/atomicity.h (__exchange_and_add): More
1129 2000-05-01 Vadim Egorov <egorovv@@mailandnews.com>
1131 * bits/char_traits.h: Fix parameter types.
1132 * bits/string.tcc: Avoid traits_type::move.
1134 2000-05-01 Benjamin Kosnik <bkoz@haight.constant.com>
1136 * src/Makefile.am (AC_CXXFLAGS): Add CPUFLAGS here.
1137 * src/Makefile.in: Regenerate.
1138 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Revert.
1140 2000-04-30 Steven King <sxking@uswest.net>
1142 * bits/locale_facets.h: Fix syntax error.
1143 * bits/std_fstream.h: ditto
1145 2000-04-30 Benjamin Kosnik <bkoz@gnu.org>
1147 * config/cpu/powerpc/bits/atomicity.h (__compare_and_swap): Fix typo.
1149 * mknumeric_limits (trait_name): Fix copyright notice.
1150 * src/gen-num-limits.cc: Explicitly instantiate epsilon and
1151 round_error data members of struct value. This works around
1152 weak-linking issues on AIX, HPUX.
1154 2000-04-29 Phil Edwards <pme@sourceware.cygnus.com>
1156 * docs/download.html: Add link to list of mirror sites.
1158 2000-04-28 Loren J. Rittle <ljrittle@acm.org>
1160 * mkcheck.in: Rely on exit status instead of the presence of a
1161 core file. Added comments on how/where to save core and exe
1162 files. Move shell wildcards outside quotes and fix core path.
1164 2000-04-27 scott snyder <snyder@fnal.gov>
1166 * src/misc-inst.cc: Explicitly instantiate ifstream and ofstream
1169 2000-04-26 Nathan C. Myers <ncm@cantrip.org>
1171 * bits/basic_string.h: include <bits/atomicity.h> instead
1172 of <atomicity.h>, and use the uglified names.
1173 * config/cpu/*/atomicity.h: replace with bits/atomicity.h;
1174 uglify names, eliminate dependence on <inttypes.h>.
1175 * src/Makefile.in, src/Makefile.am: refer to correct place
1176 for atomicity.h header.
1178 2000-04-25 Steven King <sxking@uswest.net>
1180 * bits/basic_string.h: Fix syntax error.
1182 2000-04-25 Benjamin Kosnik <bkoz@redhat.com>
1184 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Improve checks for
1186 (GLIBCPP_ENABLE_DEBUG): If alpha, use -gdwarf-2.
1187 * math/Makefile.am (EXTRA_LONG_DOUBLE_yes): Add all the long
1188 versions to this as copysignl is needed anyway for these targets.
1189 * math/Makefile.in: Regenerate.
1191 * bits/streambuf.tcc (streambuf::xsgetn): Tweak.
1192 * bits/fstream.tcc (underflow): Cast to libio types.
1193 * bits/basic_file.h (seekoff): Fixes for alpha: use __c_streamoff.
1194 * config/c_io_libio.cc (seekoff): And here.
1196 2000-04-24 Loren J. Rittle <ljrittle@acm.org>
1198 * mkcheck.in: Report compiler version used for test. Find
1199 the built _G_config.h instead of any old installed version.
1201 2000-04-24 Loren J. Rittle <ljrittle@acm.org>
1203 * config/generic/ctype.cc (do_toupper): Remove dependence on
1204 non-portable/non-existent lookup table.
1207 2000-04-24 Nathan Myers <ncm@cantrip.org>
1209 * src/string-inst.cc: More fixing.
1211 2000-04-24 Benjamin Kosnik <bkoz@gnu.org>
1213 * bits/stl_iterator.h: Pedantic fixing.
1214 * bits/std_sstream.h: And here.
1215 * bits/string.tcc: And here.
1217 2000-04-24 Felix Natter <fnatter@gmx.net>
1219 * docs/17_intro/howto.html: Add bits.
1220 * docs/17_intro/porting-howto.html: New file.
1222 2000-04-24 Branko Cibej <branko.cibej@hermes.si>
1224 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Expand
1225 @libinst_wstring_la@ to libinst-wstring.la when specializing for
1226 wchar_t, to empty string otherwise.
1227 * src/Makefile.am: (EXTRA_LTLIBRARIES): New.
1228 (sources): Remove $(string_sources) and $(wstring_sources).
1229 (libstdc___la_LIBADD): Add libinst-string.la and @libinst_wstring_la@.
1230 (libstdc___la_DEPENDENCIES): New.
1231 (libinst_string_la_SOURCES, libinst_wstring_la_SOURCES): New.
1233 2000-04-20 Benjamin Kosnik <bkoz@redhat.com>
1235 * bits/std_sstream.h: Tweak formatting.
1236 * bits/std_fstream.h: Make types public.
1238 * testsuite/27_io/streambuf.cc: Fix for alpha.
1240 Brad Garcia <bgarcia@laurelnetworks.com>
1241 * bits/locale_facets.h (numpunct::numpunct(size_t)): Fix bool
1243 * testsuite/27_io/ios_manip_fmtflags.cc (test02): Add test for
1246 2000-04-19 Nathan Myers <ncm@cantrip.org>
1248 * src/string-inst: consolidate _S_create,
1249 destroy, leak, clone members into stringMAIN and stringMUTATE
1251 * src/Makefile.am: Above, and eliminate dependence on
1253 * src/wstring-inst.cc: Remove.
1255 2000-04-18 Benjamin Kosnik <bkoz@redhat.com>
1257 * src/Makefile.am (AC_CXXFLAGS): Activate debugging code, again.
1258 Add flags for specialized rules dealing with instantiations.
1260 * src/string-inst.cc: Add instantiations missing from shared
1261 libraries--see stringEQ, stringCONSC.
1262 * src/Makefile.am (wstring_sources): Add.
1263 (string_sources): Same.
1264 * src/Makefile.in: Regenerate.
1266 * stl/*: Integrate contents of this directory into top-level
1268 * ext/bvector hash_map hash_set rope ropeimpl.h slist
1269 stl_bvector.h stl_hash_fun.h stl_hashtable.h stl_rope.h tree: Add.
1270 * bits/pthread_allocimpl.h std_algorithm.h std_bitset.h
1271 std_deque.h std_functional.h std_iterator.h std_list.h std_map.h
1272 std_memory.h std_numeric.h std_queue.h std_set.h std_stack.h
1273 std_stdexcept.h std_strstream.h std_utility.h std_vector.h
1274 stl_algo.h stl_algobase.h stl_alloc.h stl_config.h stl_construct.h
1275 stl_deque.h stl_function.h stl_heap.h stl_iterator.h
1276 stl_iterator_base.h stl_list.h stl_map.h stl_multimap.h
1277 stl_multiset.h stl_numeric.h stl_pair.h stl_pthread_alloc.h
1278 stl_queue.h stl_range_errors.h stl_raw_storage_iter.h stl_relops.h
1279 stl_set.h stl_stack.h stl_string_fwd.h stl_tempbuf.h stl_threads.h
1280 stl_tree.h stl_uninitialized.h stl_vector.h type_traits.h: Add.
1281 * backward/algo.h algobase.h alloc.h bvector.h defalloc.h deque.h
1282 function.h hash_map.h hash_set.h hashtable.h heap.h iterator.h
1283 list.h map.h multimap.h multiset.h pair.h rope.h set.h slist.h
1284 stack.h tempbuf.h tree.h vector.h: Add.
1285 * README (file): Update.
1286 * docs/documentation.html: README not being found.
1287 * src/Makefile.am (sources): Take out stl directory.
1288 * mkcheck.in (SRC_DIR): And here.
1289 * src/Makefile.in: Regenerate.
1291 2000-04-18 Levente Farkas <lfarkas@mindmaker.hu>
1293 * stl/bits/stl_function.h: Add bits so that const and non-const
1296 2000-04-18 scott snyder <snyder@fnal.gov>
1298 * stl/bits/stl_map.h (class map): Fix default for _Alloc template
1299 parameter. Get rid of use of __STL_DEFAULT_ALLOCATOR and
1300 __STL_LIMITED_DEFAULT_TEMPLATES macros.
1301 * stl/bits/stl_multimap.h (class multimap): Likewise. Get rid of
1302 use of __STL_DEPENDENT_DEFAULT_TMPL macro.
1304 2000-04-18 scott snyder <snyder@fnal.gov>
1306 * stl/bits/stl_config.h (__STL_DEPENDENT_DEFAULT_TMPL): Deleted
1309 * stl/ext/hash_map (class hash_map, class hash_multimap): Get rid
1310 of use of __STL_DEPENDENT_DEFAULT_TMPL macro.
1311 * stl/ext/hash_set (class hash_set, class hash_multiset):
1313 * stl/bits/stl_function.h (struct constant_unary_fun, struct
1314 constant_binary_fun): Likewise.
1315 * stl/bits/stl_queue.h (class queue, class priority_queue): Likewise.
1316 * stl/bits/stl_stack.h (class stack): Likewise.
1317 * stl/bits/stl_set.h (class set): Likewise.
1318 * stl/bits/stl_multiset.h (class multiset): Likewise.
1320 * stl/bits/stl_iterator.h (class reverse_bidirectional_iterator,
1321 class reverse_iterator): Get rid of use of
1322 __STL_LIMITED_DEFAULT_TEMPLATES macro.
1324 * stl/bits/stl_config.h (__STL_DEFAULT_ALLOCATOR): Deleted this
1327 * stl/bits/stl_deque.h (class deque): Get rid of use of
1328 __STL_DEFAULT_ALLOCATOR macro.
1329 * stl/bits/stl_list.h (class list): Likewise.
1330 * stl/bits/stl_multiset.h (class multiset): Likewise.
1331 * stl/bits/stl_set.h (class set): Likewise.
1332 * stl/bits/stl_string_fwd.h (class basic_string): Likewise.
1333 * stl/bits/stl_tree.h (class _Rb_tree, class rb_tree): Likewise.
1334 * stl/bits/stl_vector.h (class vector): Likewise.
1335 * stl/ext/ropeimpl.h (rotate): Likewise.
1336 * stl/ext/hash_map (class hash_map, class hash_multimap):
1338 * stl/ext/hash_set (class hash_set, class hash_multiset):
1340 * stl/ext/slist (class slist): Likewise.
1341 * stl/ext/stl_bvector.h (class bit_vector): Likewise.
1342 * stl/ext/stl_rope.h (class rope): Likewise.
1343 * src/locale.cc (_Impl): Likewise.
1344 * src/localename.cc (_Impl): Likewise.
1345 * bits/localefwd.h (_Impl): Likewise.
1347 2000-04-18 Phil Edwards <pme@sourceware.cygnus.com>
1349 * docs/install.html: Cleanup, minor changes.
1350 * docs/17_intro/howto.html: Ditto.
1352 2000-04-18 Nathan Myers <ncm@cantrip.org>
1354 * bits/basic_string.h: Remove "inline" from member _S_find.
1356 * src/string-inst.cc: Rewrite to reflect non-inline template
1357 instantiations in string.tcc.
1359 * src/stringADDCS.cc, stringADDPS.cc, stringADDSC.cc, stringADDSP.cc,
1360 stringADDSS.cc, stringBIST.cc, stringBOST.cc, stringCHTR.cc,
1361 stringEQPS.cc, stringEQSP.cc, stringEQSS.cc, stringEXTRA.cc,
1362 stringGEPS.cc, stringGESP.cc, stringGESS.cc, stringGETLI.cc,
1363 stringGTPS.cc, stringGTPS.cc, stringGTSP.cc, stringGTSS.cc,
1364 stringINSER.cc, stringLEPS.cc, stringLESP.cc, stringLESS.cc,
1365 stringLESP.cc, stringLTPS.cc, stringLTPS.cc, stringLTSP.cc,
1366 stringLTSS.cc, stringMAIN.cc, stringNEPS.cc, stringNESP.cc,
1367 stringNESS.cc, stringSCOPY.cc: Remove.
1368 * src/wstringADDCS.cc, etc: Remove.
1370 Benjamin Kosnik <bkoz@haight.constant.com>
1371 * src/Makefile.am: Modify to reflect above.
1372 * src/Makefile.in: Regenerate.
1374 2000-04-17 Benjamin Kosnik <bkoz@cygnus.com>
1376 * docs/install.html (--enable-libstdcxx-v3): Clean up install docs.
1378 2000-04-13 Benjamin Kosnik <bkoz@haight.cygnus.com>
1380 * bits/std_fstream.h (filebuf::sync): Need to use the abstracted
1381 io interface here instead of the libio particulars.
1383 * config/threads-posix.h: Consistency with stl_config.h.
1385 * mkcheck.in (CXX_FLAG): Add DDEBUG_ASSERT back in.
1387 2000-04-13 Loren J. Rittle <ljrittle@acm.org>
1389 * mknumeric_limits: Rename generic type template parameter name
1391 * stl/bits/type_traits.h: Ditto.
1393 2000-04-06 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
1395 * mkcheck.in (SRC_DIR): Change default mkcheck behavior, so that
1396 it is more useful for --enable-libstdcxx-v3. Use the built
1397 compilers with v3, instead of compilers in PATH, and don't
1398 re-include include directories for checking the install.
1400 2000-04-05 Benjamin Kosnik <bkoz@cygnus.com>
1402 * src/Makefile.am (AM_CXXFLAGS): Disable NAMESPACES, as this is on
1403 by default when using --enable-libstdcxx-v3.
1404 * src/Makefile.in: Regenerate.
1405 * configure.in: Disable GLIBCPP_ENABLE_NAMESPACES,
1406 GLIBCPP_ENABLE_RELIBGCC for --enable-libstdcxx-v3 flag.
1407 * configure: Regenerate.
1408 * mkcheck.in: Deal with NAMESPACES.
1410 2000-04-05 Petter Urkedal <petter@matfys.lth.se>
1412 * src/cmath.cc: New file...
1413 (pow(*, int)): Define functions...
1414 * src/Makefile.am (sources): ...register file.
1415 * src/Makefile.in: Regenerate.
1416 * bits/std_cmath.h (pow): ...declare functions here, and remove
1419 2000-04-04 Benjamin Kosnik <bkoz@redhat.com>
1421 * acinclude.m4 (GCC_OBJDIR): Tweaks
1423 2000-04-03 Benjamin Kosnik <bkoz@redhat.com>
1425 * acinclude.m4 (GLIBCPP_CHECK_CPU): Add arm configure bits.
1426 * config/cpu/arm: New directory.
1428 Jesper Skov <jskov@redhat.com>
1429 * config/cpu/arm/atomicity.h: New file.
1431 2000-03-31 Benjamin Kosnik <bkoz@redhat.com>
1433 * stl/bits/stl_config.h: Make _STL_THREADS depend on _REENTRANT.
1434 Remove unused bits. Clean.
1436 2000-03-29 Benjamin Kosnik <bkoz@cygnus.com>
1438 * testsuite/25_algorithms: New directory.
1439 * testsuite/25_algorithms/min_max.cc: New file.
1441 2000-03-29 scott snyder <snyder@fnal.gov>
1443 * bits/locale_facets.tcc (do_put): Allow a couple extra digits of
1444 precision beyond that which we get from numeric_limits::digits10.
1446 * stl/bits/stl_algobase.h (max, min): Don't use comparison
1449 * testsuite/23_containers/bitset_shift.cc: Fix.
1451 * testsuite/27_io/ios_manip_fmtflags.cc (test01): Don't give a
1452 temporary to imbue().
1454 * bits/std_fstream.h (sync): Resync libio's idea of the current
1455 file position with the external file.
1457 2000-03-28 Benjamin Kosnik <bkoz@cygnus.com>
1459 * testsuite/27_io/istream_extractor_arith.cc.cvs: Fix merge
1462 * bits/std_fstream.h (filebuf::is_open): Check for _M_file before
1463 attempting calls to it.
1464 * bits/fstream.tcc (ctors): Don't call _M_init_filebuf in
1465 ctors. Instead, call _M_init_filebuf ...
1466 (open): Here, as suggested by 27.8.1.3.
1467 * src/ios.cc (ios_base::Init::Init()): Clean up default filebufs
1468 properly when initializing cout/cin/cerr.
1470 2000-03-27 Russell Davidson <russell@ehess.cnrs-mrs.fr>
1472 * testsuite/23_containers/multiset.cc (main): Clean up for namespaces.
1473 * testsuite/22_locale/ctype_char_members.cc: And here.
1474 * testsuite/27_io/streambuf.cc (streambuf): And here.
1475 * testsuite/27_io/ostream_inserter_char.cc (test06): And here.
1476 * testsuite/27_io/istream_unformatted.cc (test05): And here.
1477 * testsuite/27_io/istream_extractor_arith.cc: And here.
1478 * testsuite/27_io/ios_manip_basefield.cc (test02): And here.
1479 * testsuite/27_io/ios_base_members_static.cc: And here.
1480 * bits/std_climits.h (_CPP_CLIMITS): Fix typo.
1482 2000-03-27 Chris Faylor <cgf@cygnus.com>
1484 * configure.in: Remove setting of CXX if canadian cross.
1485 * configure: Regenerate.
1487 2000-03-27 Nathan Myers <ncm@zembu.com>
1489 * bits/sstream.tcc: Optimize.
1490 * bits/basic_string.h(string::append): Don't inline.
1491 * bits/string.tcc: Move out-of-line.
1493 2000-03-27 Phil Edwards <pme@sourceware.cygnus.com>
1495 * acinclude.m4: (GLIBCPP_CHECK_COMPILER_VERSION) When using <2.96,
1496 define WERRORSUPPRESS so that the inlining warnings won't kill us.
1497 * aclocal.m4: Regenerate.
1498 * configure: Regenerate.
1499 * src/Makefile.am: Use WERRORSUPPRESS for the files that need it.
1500 * src/Makefile.in: Regenerate.
1502 * docs/install.html: Almost complete rewrite.
1504 2000-03-25 Phil Edwards <pme@sourceware.cygnus.com>
1506 * docs/install.html: Explain -Werror problem at "#Werror" mark.
1507 * docs/faq/index.html: Testsuite will die horribly if new libgcc.a
1509 * docs/faq/index.txt: Regenerate.
1511 2000-03-24 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1513 * src/Makefile.am (libio_headers_install): Fix.
1514 * src/Makefile.in: Regenerate.
1516 2000-03-24 Benjamin Kosnik <bkoz@cygnus.com>
1518 * docs/17_intro/RELEASE-NOTES: Fix typos.
1519 * docs/index.html: Update.
1520 * docs/17_intro/BUGS: Update.
1521 * docs/status.html: Update for 2.90.8 release.
1523 2000-03-23 Phil Edwards <pme@sourceware.cygnus.com>
1525 * Makefile.am: Better error message when missing libgcc2.ready.
1526 * Makefile.in: Regenerate.
1527 * acinclude.m4: Fastidious nitpicking reformatting.
1528 * aclocal.m4: Regenerate.
1529 * configure: Regenerate.
1530 * mkcheck.in: Must use same namespace settings as the library being
1531 tested. Also log ST_FLAG, since it's being passed.
1532 * docs/install.html: Add brief chunk on configuration.
1533 * docs/17_intro/RELEASE-NOTES: Fix minor Cygwin typo.
1534 * docs/23_containers/howto.html: Mention MT-safe string.
1535 * docs/faq/index.html: Minor updates.
1536 * docs/faq/index.txt: Regerarate.
1538 2000-03-22 Benjamin Kosnik <bkoz@cygnus.com>
1540 * bits/sstream.tcc (seekoff): Fix for gptr() null cases.
1542 * bits/fstream.tcc (seekoff): Sync.
1544 * testsuite/27_io/ostream_unformatted.cc: New file.
1545 * testsuite/27_io/stringbuf.cc: Fix.
1546 * testsuite/27_io/istream_unformatted.cc (test04): Fix.
1548 * config/newlib/bits/ctype_base.h (ctype_base): Fix.
1549 * config/newlib/ctype.cc (ctype): Change __ctype -> _ctype_.
1551 * src/complex_io.cc (operator>>complex): Tweak.
1553 * config/cpu/alpha/atomicity.h: Explicitly typedef uint32_t, int32_t if
1554 <inttypes.h> does not exist.
1555 * config/cpu/sparc/sparc64/atomicity.h: Same.
1556 * config/cpu/sparc/sparc32/atomicity.h: Same.
1557 * config/cpu/powerpc/atomicity.h: Same.
1558 * config/cpu/i386/atomicity.h: Same.
1559 * config/cpu/generic/atomicity.h: Same.
1560 * configure.in: Check for inttypes.h.
1561 * configure: Regnerate.
1563 2000-03-21 Benjamin Kosnik <bkoz@cygnus.com>
1565 * bits/std_sstream.h (_M_init_stringbuf): Set initial ate position
1567 * testsuite/27_io/ostream_inserter_char.cc (test06): Add tests for ate.
1569 * docs/17_intro/RELEASE-NOTES (New): Add bits.
1571 * configure.in: Move AC_CHECK_HEADERS to a point where we know we
1572 are compiling natively.
1574 * libio/*: Update to CVS libio from egcs.
1576 2000-03-21 Phil Edwards <pme@sourceware.cygnus.com>
1578 * docs/download.html: Document use of -z9 for CVS.
1579 * docs/index.html: Add target date (no link) for future snapshot.
1581 2000-03-21 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
1583 * bits/slice_array.h: Rename generic type template parameter name
1585 * bits/mask_array.h: Ditto
1587 2000-03-20 Benjamin Kosnik <bkoz@cygnus.com>
1589 * *: Change copyright holder from "Cygnus Solutions" to "Free
1590 Software Foundation, Inc."
1592 * docs/configopts.html: Explain what "hella versions" means.
1593 * docs/install.html: Some tweaks--nice job on this Phil.
1594 * docs/documentation.html: Add a direct link to configuration options.
1596 * src/Makefile.am (OPTIMIZE_CXXFLAGS): Add in extras.
1597 * docs/17_intro/RELEASE-NOTES (New): Add.
1598 * bits/c++config.h (__GLIBCPP__): Bump version.
1600 * config/c_io_libio.cc (__basic__file(__c_lock*)): Change argument
1601 type to match prototype.
1603 2000-03-20 Phil Edwards <pme@sourceware.cygnus.com>
1605 * docs/install.html: Update for new funky build procedure. Move
1606 description of 'configure' options to...
1607 * docs/configopts.html: ...here. New file.
1608 * docs/17_intro/howto.html: Updates for new snapshot.
1609 * docs/20_util/howto.html: Ditto.
1610 * docs/21_strings/howto.html: Ditto.
1611 * docs/21_strings/stringtok_std_h.txt: Fix example typos.
1612 * docs/22_locale/howto.html: Ditto.
1613 * docs/23_containers/howto.html: Ditto.
1614 * docs/faq/index.html: Ditto.
1616 2000-03-18 Petter Urkedal <petter@matfys.lth.se>
1617 Benjamin Kosnik <bkoz@gnu.org>
1619 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_SUPPORT): Move code for main
1621 * aclocal.m4: Regenerate.
1622 * configure: Regenerate.
1624 2000-03-16 Benjamin Kosnik <bkoz@cygnus.com>
1625 scott snyder <sss@karma.fnal.gov>
1627 * config/c_io_libio.h: Add __c_lock.
1628 * config/threads-no.h: Same here.
1629 * config/threads-posix.h: Add __mutext_type typedef.
1630 * config/c_io_libio.cc: basic_file ctor takes lock arg.
1631 * bits/basic_file.h: Ctor takes lock arg.
1632 * bits/std_fstream.h: Add _M_lock.
1633 * bits/fstream.tcc: Supply it to basic_file ctor.
1635 * mkcheck.in (resultstext): Change [[ to [.
1637 * testsuite/27_io/ostream_inserter_char.cc (test06): Tweak.
1639 * bits/locale_facets.h: Tweak.
1641 * stl/bits/stl_config.h: Fix defines.
1643 2000-03-16 Benjamin Kosnik <bkoz@cygnus.com>
1645 * mkcheck.in (INC_PATH): Add paths from cpu_include_dir to find
1647 * configure: Regenerate.
1648 * aclocal.m4: Regnerate.
1650 2000-03-16 Nathan Myers <ncm@zembu.com>
1652 * bits/string.tcc: Add MT support.
1653 * bits/basic_string.h: Same.
1655 2000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
1657 * configure.in: Make --enable-namespaces and -libgcc-rebuild=../..
1659 * configure: Regenerate.
1661 * config/solaris/solaris2.7/ctype.cc: Fix unsigned/signed comparison.
1663 2000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
1665 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): If Sol2.5 ctype is found, keep
1666 checking for 2.[67]. (GLIBCPP_ENABLE_RELIBGCC): No longer ignore
1667 any defaults passed in.
1668 * aclocal.m4: Regenerate.
1670 2000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
1672 * mkcheck.in: Report total successes and failures.
1674 2000-03-15 Benjamin Kosnik <bkoz@cygnus.com>
1676 * config/cpu: New directory, intended to be used to provide
1677 cpu-specific configuration files. In particular, assembly language
1678 primitives for thread safety.
1679 * config/cpu/alpha: Populate.
1680 * config/cpu/alpha/atomicity.h: New file.
1681 * config/cpu/arm: Populate.
1682 * config/cpu/generic: Populate.
1683 * config/cpu/generic/atomicity.h: New file.
1684 * config/cpu/hppa: Populate.
1685 * config/cpu/i386: Populate.
1686 * config/cpu/i386/atomicity.h: New file, take from i486.
1687 * config/cpu/m68k: Populate.
1688 * config/cpu/mips: Populate.
1689 * config/cpu/powerpc: Populate.
1690 * config/cpu/powerpc/atomicity.h: New file.
1691 * config/cpu/sparc: Populate.
1692 * config/cpu/sparc/sparc32: Populate.
1693 * config/cpu/sparc/sparc64: Populate.
1694 * config/cpu/sparc/sparc32/atomicity.h: New file.
1695 * config/cpu/sparc/sparc64/atomicity.h: New file.
1697 * src/Makefile.am (myinstallheaders): Add install routines.
1698 * acinclude.m4 (GLIBCPP_CHECK_CPU):Add configuration for the
1700 * configure.in: Add.
1702 * config/default: Adopt glibc naming conventions, and so move to
1703 * config/generic: Here.
1704 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Modify default case to generic.
1706 2000-03-15 Bill Thompson <billt@toast.net>
1708 * testsuite/27_io/ostream_inserter_char.cc (test06): Add test.
1710 2000-03-14 Phil Edwards <pme@sourceware.cygnus.com>
1712 * docs/17_intro/howto.html: Add missing "TOC" entry, and new section.
1714 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Fixup.
1715 * aclocal.m4: Regenerate.
1716 * configure: Regenerate.
1718 2000-03-13 scott snyder <snyder@fnal.gov>
1719 Jason Merrill <jason@cygnus.com>
1721 * bits/locale_facets.h (class ctype, class ctype<char>, class
1722 ctype<wchar_t>): More mask fixes.
1723 * testsuite/22_locale/ctype.cc: Test for the problem.
1725 2000-03-13 Benjamin Kosnik <bkoz@cygnus.com>
1727 * acconfig.h: Add bits.
1728 * configure.in: Move AM_PROG_LIBTOOL up in file.
1729 Tweak cross compiling info.
1730 * configure: Regenerate.
1732 * mknumeric_limits (XCOMPILE): Echo compilation line for
1735 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add aix checks.
1736 * aclocal.m4: Regenerate.
1737 * configure: Regenerate.
1738 * config/aix/ctype.cc (ctype): Tweak.
1739 * config/aix/bits/ctype_base.h (ctype_base): Tweak.
1740 * config/aix/bits/ctype_specializations.h: New file.
1742 2000-03-10 scott snyder <snyder@fnal.gov>
1744 * stl/bits/stl_vector.h (_M_assign_aux): Fix for __normal_iterator
1746 * testsuite/23_containers/vector_modifiers.cc (test01): Add a
1747 regression test for the problem.
1749 2000-03-09 Benjamin Kosnik <bkoz@fidel.cygnus.com>
1751 * testsuite/27_io/streambuf.cc (class testbuf): Same here.
1752 * bits/fpos.h: And here.
1753 * bits/std_ostream.h: Same here.
1754 * bits/std_istream.h: Same here.
1755 * bits/basic_ios.h: Same here.
1756 * bits/std_fstream.h: Same here.
1757 * bits/sbuf_iter.h (std): Here too.
1758 * bits/std_sstream.h: Make types public.
1760 * src/misc-inst.cc: Use size_t instead of unsigned int.
1761 * bits/locale_facets.tcc (_S_format): For now, cast to char. I
1762 suppose this should be ctype::narrow... all the ctype<wchar_t>
1763 stuff needs to be cleaned up.
1765 2000-03-09 Phil Edwards <pme@sourceware.cygnus.com>
1767 * docs/gentop: Remove entire directory, finally.
1769 2000-03-09 scott snyder <snyder@fnal.gov>
1771 * bits/std_cmath.h (modf): Fix pointer overrun.
1772 * testsuite/26_numerics/c_math.cc (test04, main): Add a regression
1773 test for the problem.
1775 2000-03-09 Phil Edwards <pme@sourceware.cygnus.com>
1777 Looks like changes to the #include'd files must be followed by a
1778 change to the #include'ing files to take effect. Caveat emptor.
1779 * docs/header.html: New file, for server-side include.
1780 * docs/footer.html: New file, for server-side include.
1781 * docs/documentation.html: Change to use SSI.
1782 * docs/download.html: Ditto.
1783 * docs/index.html: Ditto.
1784 * docs/mail.html: Ditto.
1785 * docs/status.html: Ditto.
1786 * docs/thanks.html: Ditto, plus minor updates.
1787 * docs/how.html: Remove.
1789 2000-03-09 Benjamin Kosnik <bkoz@gnu.org>
1791 Preliminary alpha-linux support.
1792 * src/locale.cc (ctype<wchar_t>): Use correct types...
1793 * bits/locale_facets.h (ctype<char>): Add __table_type typedef.
1794 (ctype<wchar_t>): Same.
1795 * bits/locale_facets.h (ctype<wchar_t>): Have char and wchar_t
1796 types match for table_size (size_t).
1798 * config/gnu-linux/ctype.cc (ctype): Change char_type to wchar_t
1799 as per char specialization.
1800 * config/*/ctype.cc: Same.
1802 2000-03-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
1804 * bits/locale_facets.h (_Ctype<>::mask): Import from base class
1805 _Ctype_nois<>. Template base classes are never examinated in
1806 first-phase name-lookup.
1808 2000-03-08 Benjamin Kosnik <bkoz@gnu.org>
1810 Add Solaris 2.5.1 support.
1811 * config/solaris/solaris2.5/bits/ctype_base.h (ctype_base): And here.
1812 * config/solaris/solaris2.5/ctype.cc: Fixup.
1813 * config/solaris/solaris2.5/bits/ctype_specializations.h: Add.
1814 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add bits for solaris2.5.1.
1815 * aclocal.m4: Regenerate.
1816 * configure: Regenerate.
1818 * config/default/ctype.cc (ctype): Fixup.
1820 2000-03-07 Benjamin Kosnik <bkoz@blues.cygnus.com>
1822 * testsuite/27_io/filebuf.cc: Activate init code from yesterday...
1823 * testsuite/27_io/ostream_inserter_arith.cc (testcases): Fix for
1826 2000-03-07 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
1828 * bits/cpp_type_traits.h: Expand on this file purpose.
1830 2000-03-06 Benjamin Kosnik <bkoz@gnu.org>
1832 * bits/locale_facets.h (ctype<char>): Remove static members, and
1833 re-work initialization code.
1834 (ctype<wchar_t>): Same.
1835 Move _S_touppper to _M_toupper and initialize in ctor.
1836 Move _S_tolower to _M_tolower and initialize in ctor.
1837 Move _S_table to _M_ctable and intialize in ctor.
1838 * bits/locale_facets.h (std): And here.
1839 * src/locale.cc (std): Tweak.
1840 * config/gnu-linux/ctype.cc: Change initialization here.
1841 * config/newlib/ctype.cc: And here.
1842 * config/solaris/solaris2.7/ctype.cc: And here.
1843 * config/solaris/solaris2.6/ctype.cc: And here.
1845 * bits/localefwd.h: Tweak.
1846 * bits/std_streambuf.h: Tweak formatting.
1848 * testsuite/27_io/filebuf.cc: Remove BUFSIZ dependancies.
1850 2000-03-05 Chip Salzenberg <chip@valinux.com>
1852 * src/misc-inst.cc (basic_iostream<>): Instantiate.
1854 2000-03-02 Phil Edwards <pme@sourceware.cygnus.com>
1855 Kevin Atkinson <kevinatk@home.com>
1857 Initial grab of SGI's strstream implementation with minor
1859 * src/strstream.cc: New file.
1860 * std/strstream: New file.
1861 * stl/bits/std_strstream.h: New file.
1862 * bits/std_streambuf.h: Add public access.
1863 * src/Makefile.am: Add strstream sources to list of dependancies.
1864 * src/Makefile.in: Regenerate.
1866 2000-03-03 2000 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
1868 * bits/valarray_meta.h: Fix typo.
1870 2000-03-02 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1871 Chip Salzenberg <chip@valinux.com>
1872 Petter Urkedal <petter@matfys.lth.se>
1874 * src/Makefile.am (myinstallheaders): Hack to avoid
1876 * src/Makefile.in: Regenerate.
1878 2000-03-02 Chip Salzenberg <chip@valinux.com>
1880 * libio/Makefile.an, math/Makefile.an, src/Makefile.am
1881 (LINK): Put quotes around "$(CC)" for libtool link mode,
1882 so libtool will use "-B" options during GCC bootstrap.
1883 * */Makefile.in: Regenerate.
1885 2000-03-02 Petter Urkedal <petter@matfys.lth.se>
1887 * config/c_io_libio.h: Enclose it all in ::std.
1888 * bits/basic_string.h (basic_string<>): Make types and
1890 * mkc++config: Truncate output file before writing.
1892 2000-03-01 Benjamin Kosnik <bkoz@gnu.org>
1894 * math/cabsf.c (__mycabsf): Rename to cabsf.
1895 * math/cabs.c (__mycabs): Rename to cabs.
1897 2000-02-29 LLeweLLyn Reese <llewelly@198.dsl.xmission.com>
1899 * bits/basic_string.h: Move declarations of __out_of_range(),
1900 __length_error() and accompanying macros ...
1901 * bits/exception_support.h: here. (Newly created file).
1902 * bits/basic_string.h: #include <bits/exception_support.h>
1903 * stl/bits/stl_vector.h: #include <bits/exception_support.h>
1904 * src/Makefile.am (headers): Add.
1905 * src/Makefile.in: Regenerate.
1907 2000-02-29 Benjamin Kosnik <bkoz@cygnus.com>
1909 * bits/cpp_type_traits.h: Rename structs so they don't clash with
1911 * bits/valarray_array.h: Synch. Fix typos.
1913 * libio/Makefile.am: Change to only compile source files that
1914 config/c_io_libio.cc actually needs.
1915 * libio/Makefile.in: Regnerate.
1916 * libio/PlotFile.hes SFile.h builtinbuf.h editbuf.h floatconv.c
1917 floatio.h fstream.h indstream.h iofclose.c iofdopen.c iofeof.c
1918 ioferror.c iofflush.c iofgetpos.c iofgets.c iofopen.c iofprintf.c
1919 iofputs.c iofread.c iofscanf.c iofsetpos.c ioftell.c iofwrite.c
1920 iogetc.c iogetdelim.c iogetline.c iogets.c ioignore.c iomanip.h
1921 iopadn.c ioperror.c iopopen.c ioprims.c ioprintf.c ioputc.c
1922 ioputs.c ioscanf.c ioseekoff.c ioseekpos.c iosetbuffer.c
1923 iosetvbuf.c iosprintf.c iosscanf.c iostream.h iostrerror.c
1924 ioungetc.c iovfprintf.c iovfscanf.c iovsprintf.c iovsscanf.c
1925 istream.h list.out ostream.h outfloat.c parsestream.h peekc.c
1926 pfstream.h procbuf.h stdiostream.h stream.h streambuf.h strfile.h
1927 strops.c strstream.h: Delete.
1929 * bits/basic_file.h: Stub out or delete unused bits in this
1931 (filepos_beg): Remove.
1932 (filepos_cur): Remove.
1933 (filepos_valid): Remove.
1934 * config/c_io_libio.cc: Resynch with the changes to basic_file.
1936 2000-02-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
1938 * bits/cpp_type_traits.h: Correct typo.
1940 2000-02-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
1942 * bits/cpp_type_traits.h: New file.
1944 * bits/valarray_array.h: Tweak. #include <bits/cpp_type_traits.h>
1945 Improve array construction.
1946 (_Array_default_ctor): New dispatcher class.
1947 (__valarray_default_construct): New function.
1948 (_Array_copy_ctor): New dispatcher class.
1949 (__valarray_copy_construct): New function.
1950 (_Array<>::free_data): Remove.
1952 * src/Makefile.am (headers): Add cpp_type_traits.h
1953 * src/Makefile.in: Regenerate.
1955 2000-02-28 Benjamin Kosnik <bkoz@cygnus.com>
1957 Prune libio directory to match files in libio/Makefile.
1958 * libio/PlotFile.cc,indstream.cc, isgetsb.cc, sbform.cc,
1959 stream.cc, SFile.cc, ioassign.cc, isscan.cc, sbgetline.cc,
1960 streambuf.cc, builtinbuf.cc, ioextend.cc, osform.cc, sbscan.cc,
1961 strstream.cc, editbuf.cc, iomanip.cc, parsestream.cc,
1962 stdiostream.cc, filebuf.cc, iostream.cc, pfstream.cc,
1963 stdstrbufs.cc, fstream.cc, isgetline.cc, procbuf.cc,
1964 stdstreams.cc: Remove.
1965 * libio/floatio.h, iolibio.h, iostdio.h, iostreamP.h: Remove.
1966 * libio/iofflush_u.c: Remove.
1968 * libio/dbz: Remove.
1969 * libio/include: Remove.
1970 * libio/stdio: Remove.
1971 * libio/tests: Remove.
1972 * libio/testsuite: Remove.
1974 * config/c_io_libio.cc: Add fcntl.h include for Solaris.
1976 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add bits.
1977 * configure.in: Replace 'grep -e' with 'grep' for Solaris.
1978 * configure: Regenerate.
1980 2000-02-25 Benjamin Kosnik <bkoz@gnu.org>
1982 Abstract out the underlying "C" io bits.
1983 * bits/std_new.h: Remove <stl_config> include, as well as <cstddef>.
1984 * stl/bits/stl_string_fwd.h: Remove <stddef> include.
1985 * bits/std_cwchar.h: Wrap with _GLIBCPP_USE_WCHAR_T guards. Don't
1987 * stl/bits/stl_config.h: Don't include _G_config.h.
1989 * bits/basic_file.h: Allow for non-inheritance based __basic_files.
1990 * config/c_io_libio.h (_GLIBCPP_BASIC_FILE_INHERITANCE): Define.
1991 * config/c_io_libio.cc: Tweak.
1993 * src/Makefile.am (TOPLEVEL_INCLUDES): Add includedir.
1994 * src/Makefile.in: Regenerate.
1995 * Makefile.am (AM_MAKEFLAGS): Define includedir so that
1996 prefix/include files will be picked up.
1997 * Makefile.in: Regenerate.
1998 * math/Makefile.am (TOPLEVEL_INCLUDES): And here.
1999 * libio/Makefile.am (TOPLEVEL_INCLUDES): And here.
2001 * bits/std_ios.h: Include <bits/c++io.h> instead of libio.
2002 * bits/fpos.h: And here.
2003 * bits/basic_file.h (get_fileno): Move definition from ...
2004 * src/basic_file.cc (std): To here.
2005 * bits/fpos.h: Move types for streamoff, streampos to..
2006 * bits/basic_file.h: Move __c_file_type and fpos typedefs to...
2007 * config/c_io_libio.h: ...here.
2008 (_GLIBCPP_[BOOLALPHA, HEX, DEC, FIXED, INTERNAL, LEFT, OCT, RIGHT,
2009 SCIENTIFIC, SHOWBASE, SHOWPOINT, SHOWPOS, SKIPWS, UNITBUF,
2010 UPPERCASE, ADJUSTFIELD, BASEFIELD, FLOATFIELD, BADBIT, EOFBIT,
2011 FAILBIT, GOODBIT, APP, ATE, BINARY, IN, OUT, TRUNC): New macros to
2012 abstract out bits in ios_base.
2013 * bits/ios_base.h: Re-macrofy.
2014 * src/basic_file.cc : Rename, move to
2015 * config/c_io_libio.cc: Here.
2016 * config/c_io_libio.h: New file. Include libio.
2017 * bits/c++config.h: Don't define _GLIBCPP_USE_LIBIO.
2018 * configure.in (blddir): Add enabling bits for GLIBCPP_ENABLE_CSTDIO.
2019 * configure: Regenerate.
2020 * src/Makefile.am (sources): Take out basic_file.cc and add c++io.cc.
2021 (generated_headers): Add c++io.h
2022 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): New function to select
2023 underlying "C" io library.
2024 * acinclude.m4 (GLIBCPP_CHECK_LIBIO): Roll functionality into
2025 GLIBCPP_ENABLE_CSTDIO.
2027 * configure.in: Add configure bits for cross compiling non-newlib
2029 GLIBCPP_CHECK_COMPILER_VERSION: Take out this test for this
2030 target, as we assume g++ support is not the limiting factor.
2031 GLIBCPP_CHECK_LIBIO: Same, know we don't need libio.
2032 * configure: Regenerate.
2034 2000-02-22 Benjamin Kosnik <bkoz@cygnus.com>
2036 * Makefile.am (INTERFACE): Define.
2037 * Makefile.in: Regenerate.
2038 * libio/ChangeLog: Add entry.
2040 2000-02-21 Benjamin Kosnik <bkoz@cygnus.com>
2042 * docs/install.html: Update install directions.
2044 * docs/status.html: Fix sidebar to be consistent.
2045 * docs/thanks.html: Same.
2046 * docs/links.html: Same.
2047 * docs/mail.html: Same.
2048 * docs/download.html: Same.
2050 * testsuite/27_io/filebuf.cc: Change BUFSIZ to buffer_size, and
2051 kill the macro BUFSIZ. I think the solaris fails lie elsewhere
2052 however, in the ctype_char_members.cc fail (for instance.)
2053 * testsuite/17_intro/headers.cc: Remove extraneous fails for hosts
2054 that do not have wchar_t enabled.
2055 * testsuite/27_io/ostream_inserter_arith.cc (struct _TestCase):
2057 * testsuite/27_io/iostream_objects.cc: And here.
2059 * libio/gen-params (CONFIG_NM): Specifically add in nm as the
2062 2000-02-18 Benjamin Kosnik <bkoz@haight.constant.com>
2063 Tom Tromey <tromey@cygnus.com>
2065 * configure.in: Manually add MULTISUBDIR.
2066 * configure: Regenerate.
2067 * src/Makefile.am (MULTISUBDIR): Add the lesser evil of Tom's two
2068 "Eww" hacks to get multilib installs working correctly.
2069 ($(headers): Test for MULTISUBDIR before installing.
2070 * Makefile.am (AM_MAKEFLAGS): Don't define MULTISUBDIR, instead
2071 have configure hack it in.
2072 * Makefile.in: Regenerate.
2073 * acinclude.m4 (GLIBCPP_CXXFLAGS): Tweak wording.
2074 Add enabling bits for native Cygwin ctypes, and other newlib-based
2077 2000-02-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
2079 * mkc++config (OUT_H): Remove EOF in cygwin.
2080 * acinclude.m4 (LIBS): Tweaks to allow cygwin to configure.
2082 Tom Tromey <tromey@cygnus.com>
2083 * src/Makefile.am: Tweaks for installing multilibs.
2085 2000-02-17 Benjamin Kosnik <bkoz@cygnus.com>
2088 (toolexeclib_LTLIBRARIES): Use this instead of lib_LTLIBRARIES.
2089 Add USE_LIBDIR bits here, not...
2090 * src/Makefile.in: Regenerate.
2091 * Makefile.am: ...here.
2092 * Makefile.in: Regenerate.
2094 2000-02-17 Benjamin Kosnik <bkoz@gnu.org>
2096 * acinclude.m4 (LIBS): Fix typos.
2097 * configure.in: _GLIBCPP_BUGGY_FLOAT_COMPLEX,
2098 _GLIBCPP_BUGGY_COMPLEX for crosses.
2099 * src/Makefile.am (std_headers): Add libio.h as install include,
2101 * src/Makefile.in: Regenerate.
2103 * mkcheck.in: Add bits to set CXX to cross compiler.
2105 * src/complex_io.cc: Tweak.
2106 * configure.in: _GLIBCPP_BUGGY_COMPLEX for crosses.
2107 * configure: Regenerate.
2109 * config/newlib/ctype.cc: Tweaks.
2110 * config/newlib/bits/ctype_base.h (ctype_base): Set mask to char,
2112 * src/complex_io.cc (operator>>(istream, complex): Define out if
2115 2000-02-16 Benjamin Kosnik <bkoz@cygnus.com>
2117 * config/newlib/bits/ctype_base.h: Correct _S_table.
2119 Reconfigure ctype support for "C" libraries that don't use arrays.
2120 * testsuite/22_locale/ctype_char_members.cc: New file. Test for
2121 basic ctype<char> functionality.
2122 * src/locale.cc: Move host-specific ctype functions that are not
2123 inlines to config/*/ctype.cc files.
2124 (ctype<char>::do_tolower): For instance.
2125 (ctype<char>::do_toupper): For instance.
2126 (ctype<wchar_t>::do_tolower): For instance.
2127 (ctype<wchar_t>::do_toupper): For instance.
2128 * config/gnu-linux/ctype.cc: Modify.
2129 * config/default/ctype.cc: Modify.
2130 * config/newlib/ctype.cc: Modify.
2131 * config/solaris/solaris2.6/ctype.cc: Modify.
2132 * config/solaris/solaris2.7/ctype.cc: Modify.
2134 * bits/locale_facets.h (ctype<char>::is): Mark inline, move
2136 (ctype<char>::scan_is): Here too.
2137 (ctype<char>::scan_not): Here too.
2138 Move out of line defs to config/*/bits/ctype_specializations.h.
2139 * config/gnu-linux/bits/ctype_specializations.h: ...here. New file.
2140 * config/default/bits/ctype_specializations.h: ...here. New file.
2141 * config/newlib/bits/ctype_specializations.h: ...here. New file.
2142 * config/solaris/solaris2.6/bits/ctype_specializations.h: New file.
2143 * config/solaris/solaris2.7/bits/ctype_specializations.h: New file.
2144 * src/Makefile.am (headers): Add ctype_specializations.h.
2145 * src/Makefile.in: Regenerate.
2147 Aaron Weiss <weiss@clearway.com>
2148 * Makefile.am (AM_MAKEFLAGS): Add NM_FOR_BUILD, NM_FOR_TARGET, and
2149 CONFIG_NM for Solaris builds.
2150 * Makefile.in: Regenerate.
2152 * src/locale.cc: Tweak formatting.
2154 2000-02-15 Benjamin Kosnik <bkoz@cygnus.com>
2156 Jim Parsons <parsons@clearway.com>
2157 * testsuite/27_io/istream_unformatted.cc (test06): Add test.
2158 * bits/istream.tcc (read): Set failbit if !good(). Don't increment
2162 Michel Decima <michel.decima@cnet.francetelecom.fr>
2163 * testsuite/27_io/streambuf.cc: Add test.
2164 * bits/streambuf.tcc (xsgetn): Don't test for valid mode.
2167 * src/Makefile.am (AM_CXXFLAGS): Pass down AC_CXXFLAGS,
2168 OPTIMIZE_CXXFLAGS, etc. So --enable-debug and --enable-namespaces
2169 will work correctly, for instance.
2170 * src/Makefile.in: Regenerate.
2172 * bits/locale_facets.h: Fix merge error.
2173 (num_put::put(unsigned long long): And here.
2174 * mknumeric_limits (trait_name): Same.
2176 2000-02-15 Chip Salzenberg <chip@valinux.com>
2178 Support 'configure --enable-long-long'.
2179 * bits/c++config.h (_GLIBCPP_USE_LONG_LONG): Remove.
2180 * stl/bits/stl_config.h (__STL_LONG_LONG): Remove '#if 0'.
2181 * acconfig.h (_GLIBCPP_USE_LONG_LONG): Add. Default to undef.
2182 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Define flag macro.
2183 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Use it.
2185 * aclocal.m4: Regenerate.
2186 * config.h.in: Regenerate.
2187 * configure: Regenerate.
2189 2000-02-15 Chip Salzenberg <chip@valinux.com>
2191 Improve (complete?) 'long long' support.
2192 * mknumeric_limits: Call $CXX with $CPPFLAGS. Define statics
2193 for {,unsigned} long long if the limits header declares them.
2194 * src/gen-num-limits.cc: Include <bits/c++config.h> early.
2195 (__USE_GNU, _GNU_SOURCE): Define if _GLIBC_USE_LONG_LONG.
2196 (long long, unsigned long long): Gen limits if _GLIBC_USE_LONG_LONG.
2197 * bits/locale_facets.h (num_get<>::get(..., long long &)): Define.
2198 (num_put<>::put(..., long long)): Likewise.
2199 (num_put<>::put(..., unsigned long long)): Likewise.
2200 * bits/locale_facets.tcc (_S_format): Rename from _S_format_long.
2201 Templatize last parameter to support 'long long'.
2202 (num_put<>::put(...)): Call _S_format with new name.
2203 (num_put<>::put(..., long long)): Define.
2204 (num_put<>::put(..., unsigned long long)): Likewise.
2205 * src/locale-inst.cc (_S_format): Instantiate under new name.
2207 2000-02-15 Petter Urkedal <petter@matfys.lth.se>
2209 * src/complex.cc (operator<<, operator>>): Moved from here...
2210 * src/complex_io.cc: ...to new file.
2211 (operator>>): Stub replaced by the real thing.
2212 * src/Makefile.am (sources): Inserted complex_io.cc.
2213 * src/Makefile.in: Regenerate.
2214 * testsuite/26_numerics/complex_inserters_extractors.cc: Check it.
2216 2000-02-14 Benjamin Kosnik <bkoz@gnu.org>
2218 Add in ctype information for newlib "C" libraries.
2219 * config/newlib: New directory
2220 * config/newlib/bits/ctype_base.h: New file.
2221 * config/newlib/ctype.cc: New file.
2223 * ctype/config/linux/*: Rename, move to...
2224 * ctype/config/gnu-linux/*: Here.
2226 Finish off multilib work.
2227 * configure.in: Don't set CXX if not Canadian cross.
2228 * configure: Regenerate.
2229 * acinclude.m4 (GLIBCPP_CHECK_LIBIO): Tweak messages.
2230 * aclocal.m4: Regenerate.
2231 * config.h.in: Regenerate.
2233 * install-sh: Remove, as AC_CONFIG_AUX_DIR(..) picks this out of
2234 the top-level gcc directory now.
2235 * mkinstalldirs: Remove.
2238 * ltmain.sh: Remove.
2239 * config.guess: Remove.
2240 * config.sub: Remove.
2242 2000-02-13 Benjamin Kosnik <bkoz@cygnus.com>
2244 * configure.in (glibcpp_basedir): Add glibcpp_basedir.
2245 * Makefile.am: Move mutlilib stuff to src/Makefile.am.
2246 * Makefile.in: Regenerate.
2247 * src/Makefile.am: Add multilib bits.
2248 * src/Makefile.in: Regenerate.
2250 2000-02-12 Benjamin Kosnik <bkoz@cygnus.com>
2252 * configure.in: Clean, add some multilib support.
2253 * configure: Regenerate.
2254 * configure.host: New file.
2256 * acinclude.m4: GLIBCPP_CHECK_LIBIO. Take bits from configure.in and
2257 roll a new function, checks for presence of libio.
2258 GLIBCPP_CHECK_COMPILER_VERSION: Same.
2259 GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT: Same.
2260 GLIBCPP_CHECK_MATH_SUPPORT: Same.
2261 GLIBCPP_CHECK_WCHAR_T_SUPPORT: Same.
2262 GLIBCPP_CHECK_LIBIO: Same.
2263 GLIBCPP_CHECK_CTYPE: Same.
2264 * aclocal.m4: Regenerate.
2265 * config.h.in: Regenerate.
2267 * Makefile.am: Tweaks.
2268 * Makefile.in: Regenerate.
2270 2000-02-11 Benjamin Kosnik <bkoz@cygnus.com>
2272 * configure.in: Make outputing the libio/Makefile
2273 conditional. Haha, yeah right. Anyway, we instead do this thing
2274 where if libio is found, then we build a null library, as there is
2275 no point in duplicating the found libio.
2276 * Makefile.am: Tweak.
2277 * Makefile: Regenerate.
2278 * libio/Makefile.am: Add _G_config.h stuff. Now cross compilers
2279 are happy happy happy.
2280 * libio/Makefile.am: Regenerate.
2281 * libio/gen-params: New file.
2282 * src/Makefile.am: Make libio.la non-conditional, as it is now a
2283 null library if it's not needed. At least we are being consistent,
2284 if not as elegant as we could be.
2285 * src/Makefile: Regenerate.
2287 2000-02-10 Benjamin Kosnik <bkoz@gnu.org>
2289 * Makefile.am (SUBDIRS): Add libio again.
2290 * Makefile.in: Regenerate.
2291 * configure.in (BUILD_LIBIO_INCLUDE): And here.
2292 (AC_OUTPUT): Generate libio/Makefile again.
2293 * configure: Regnerate.
2294 * src/Makefile.am (libstdc___la_LIBADD): Change path so that
2295 libio.la is referring back to the libio subdir again.
2296 (LIBIO_INCLUDES): And here.
2297 * src/Makefile.in: Regenerate.
2299 2000-02-09 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
2301 * math/complex-stub.h: Missed one. Change __mycabs* to cabs*.
2303 2000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
2305 * bits/valarray_array.h (<bits/std_new.h>): #include.
2306 (__valarray_get_memory): New function.
2307 (__valarray_release_memory): Likewise.
2308 (__valarray_default_construct): New functions.
2309 (__valarray_fill_construct): New function.
2310 (__valarray_copy_construct): New funstions.
2311 (__valarray_destroy_elements): New function.
2313 * bits/valarray_array.tcc (__valarray_copy_construct): New
2316 * bits/std_valarray.h (valarray<>::valarray): Use
2317 __valarray_get_memory and __valarray_fill_construct,
2318 __valarray_copy_construct, __valarray_default_construct to
2319 properly construct valarrays.
2320 (valarray<>::~valarray): Use __valarray_destroy_elements to
2321 destroy elements and __valarray_release_memory to return memory.
2322 (valarray<>::shift): Tweak.
2323 (valarray<>::cshift): Likewise.
2324 (valarray<>::resize): Robustify.
2326 2000-02-09 Benjamin Kosnik <bkoz@cygnus.com>
2328 * mknumeric_limits (XCOMPILE): Add support for cross compiling.
2329 * bits/limits_generic.h: New file, defaults.
2330 * src/limits_generic.cc: New file, defaults.
2331 * configure.in (LIBS): Run mknumeric_limits at configure time.
2332 * acconfig.h: Remove PACKAGE VERSION HAVE_COMPLEX
2333 HAVE_LC_MESSAGES, tidy, clean, etc.
2334 * src/Makefile.am (geberated_sources): Remove.
2336 * bits/fpos.h: Use _GLIBCPP_USE_LIBIO guards for libio typenames
2337 (_IO_off_t, _IO_ssize_t)
2339 * src/complex.cc: Use glibc's <complex.h> if
2340 possible. . . apparently this was not being done before. Include
2342 (abs): Enable cabs if it's around, instead of mycabs.
2343 * src/complexf.cc (FCT): Add global scope to match complex.cc.
2344 * src/complexl.cc (FCT): Same.
2345 * math/Makefile.am (EXTRA_LONG_DOUBLE_yes): Change mycabsl to cabsl.
2346 (libmath_la_SOURCES): And here.
2347 * math/(mycabs.c, mycabsf.c, mycabsl.c): Move to. . .
2348 * math/(cabs.c, cabsf.c, cabsl.c): . . . Here.
2349 * math/complex-stub.h: Move c_log declarations into. . .
2350 * math/mathconf.h: Here. This is because glibc's <complex.h>
2351 declares cclog, not c_log. The case of the dueling standards. . .
2352 * math/mathconf.h: Add _GLIBCPP_HAVE_* to macros.
2353 * math/Makefile.am: Change.
2354 * math/nan.c (nan): Change signature.
2355 * math/mathconf.h (NAN): Same.
2356 * math/complex-stub.h (nan): And here.
2358 * Makefile.am (rebuild-stamp): Remove libio and libio
2359 dependancies. Plan to take out libio subdir and just merge with
2360 libio in top level gcc directory. Of course, this assumes there is
2361 a libio in the top level directory (ie ../src_dir). This will
2362 probably change the way this library is configured by default.
2365 2000-02-09 Chip Salzenberg <chip@valinux.com>
2367 * localefwd.h (locale): Make public: facet, id, category.
2369 2000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
2371 * testsuite/26_numerics/buggy_complex.cc: Fix Origin:.
2373 * acinclude.m4: Patch only once!
2375 2000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
2377 * testsuite/26_numerics/buggy_complex.cc: New file.
2379 2000-02-05 Petter Urkedal <petter@matfys.lth.se>
2381 * acinclude.m4: New GLIBCPP_CHECK_COMPLEX_SUPPORT macro. Based
2382 on the 1999-11-21 entries by Mumit Khan.
2383 * configure.in: Use.
2384 * acconfig.h: New _GLIBCPP_BUGGY_COMPLEX macro.
2385 * bits/std_complex.h: Use.
2387 2000-02-04 Philip Martin <pm@corris.dircon.co.uk>
2389 * stl/bits/stl_algobase.h: Add traits based dispatch for
2390 __normal_iterator in the copy_backward()algorithm
2391 * stl/bits/stl_vector.h: Reduce use of __normal_iterator
2394 2000-02-04 Mumit Khan <khan@xraylith.wisc.edu>
2396 * src/gen-num-limits.cc (signal_handler): Work around signal
2397 handling problem on Cygwin.
2398 Thanks to Chris Faylor <cgf@cygnus.com>.
2400 2000-02-03 Benjamin Kosnik <bkoz@cygnus.com>
2402 * configure.in: Add (preliminary) support for cross compiles and
2404 Remove AC_C_BIGENDIAN tests. Why is this necessary? Cross
2405 compilation freaks on this.
2406 * configure: Regenerate.
2407 * src/Makefile.am: Add support for cross compiles.
2408 * src/Makefile: Regenerate.
2409 * Makefile.am: Add support for cross compiles.
2410 * Makefile.in: Regenerate.
2412 2000-02-02 Benjamin Kosnik <bkoz@cygnus.com>
2414 * configure.in (LIBS): Remove unused subdirs.
2415 * configure: Regenerate.
2416 * Makefile.am (SUBDIRS): And here.
2417 * Makefile.in: Regenerate.
2418 * src/Makefile.am (sources): And here.
2419 * src/Makefile.in: Regenerate.
2422 * generic/*: Remove.
2424 * mkcheck.in (INC_PATH): Include $BUILD_DIR before any source dirs.
2426 * libtool: Update to libtool-1.3.4.
2430 * config.guess: Same.
2432 2000-02-02 Benjamin Kosnik <bkoz@cygnus.com>
2433 Alexandre Petit-Bianco <apbianco@cygnus.com>
2435 * mkc++config: New file. Put autoconf macros into _GLIBCPP_
2436 namespace instead of polluting global namespace with duplicate
2438 * configure.in (AC_OUTPUT): Don't need to generate bits/config.h
2440 (AC_OUTPUT_COMMANDS): Make it here.
2441 * configure: Regenerate.
2442 * bits/c++config.h.in (_CPP_CPPCONFIG): Change. Tweak. Remove
2443 endif, as now we will add it manually.
2444 Move to this file. . .
2445 * bits/c++config.h: New file. Same as old c++config.h.in except
2446 the ending macro guard is now appended manually.
2448 * bits/locale_facets.tcc: Change HAVE_* macros to _GLIBCPP_HAVE_*.
2449 * bits/std_cmath.h: Same here.
2450 * bits/std_cwchar.h: And here.
2451 * src/locale.cc: And here.
2452 * src/complexl.cc: And here.
2453 * math/mathconf.h: Change to include "config.h" instead of
2456 2000-02-01 Benjamin Kosnik <bkoz@gnu.org>
2458 * configure.in: Add support for threads. Try a model closer to
2459 libjava, as hopefully if the thread bits are added carefully
2460 enough, the source code will not have gross hacks. Besides, the
2461 libstdc++-v2 model could be easily emulated without the necessity
2462 of linking files in (as currently done)--all that needs to be done
2463 is AC_DEFINE(-D_PTHREADS) etc. However, let's try something
2464 new. . . and see if we arrive at a more elegant solution.
2465 * configure: Regenerated.
2466 * config/threads-no.h: New file.
2467 * config/threads-posix.h: New file.
2468 * src/Makefile.am (myinstallheaders): Install c++threads.h.
2469 * src/Makefile.in: Regenerated.
2471 2000-01-31 Benjamin Kosnik <bkoz@gnu.org>
2473 META-QUESTION: Can we just make a "header.html" file and a
2474 "footer.html" and just include them in all the doc sub-pages. The
2475 duplication of the header info is kind of gross, and weak
2476 considering that if you change order or layout then all this stuff
2477 has to be changed in all the sub-files.
2479 * docs/17_intro/contribute.html: Take out duplicate file info.
2480 * README: Should just contain a link to the docs/index.html
2481 page. Duplicate information removed.
2482 * docs/faq/index.html: Remove indexes into HOWTOS.
2483 * docs/17_intro/howto.html: Make intro and docs part more
2484 centralized. Move intro stuff to documentation.html.
2485 * docs/how.html: Tweak. Does this file need to exist? What calls it?
2486 * docs/README.html: Move documentation files to
2487 documentation.html. Should this file be renamed
2488 "config_and_install.html" as that is what is apparently covered
2490 * docs/install.html: Yes. New file, moved and renamed README.html.
2491 * docs/documentation.html: New file. This is the index file for
2493 * docs/index.html: Edit sidebar order. Insert new link to new
2494 documentation spine, documentation.html.
2496 2000-01-31 Scott Snyder <snyder@fnal.gov>
2498 * bits/istream.tcc (operator>>(istream&, string&)): Set failbit if
2499 we don't extract any characters.
2500 * testsuite/21_strings/inserters_extractors.cc (main): New tests.
2502 2000-01-31 Anders Widell <awl@hem.passagen.se>
2504 * stl/bits/std_bitset.h (_M_do_left_shift): Handle case when shift
2505 step is a multiple of the word size.
2506 (_M_do_right_shift): Same.
2507 * testsuite/23_containers/bitset_shift.cc: New file.
2509 2000-01-31 Nathan Myers <ncm@zembu.com>
2511 * README (Documentation): Add path info, fix typos.
2513 2000-01-26 Benjamin Kosnik <bkoz@redhat.com>
2515 * bits/locale_facets.tcc (num_get::_M_extract): Add the freaking
2516 crazy group checking for numpunct, for real this time. At some
2517 point, the local variable __grp should probably get replaced a
2518 char array, or something a bit more lightweight.
2519 (num_get::do_get(bool)): Simplify. Don't set bool reference to
2520 parsed value unless err isn't failbit.
2521 (num_get::do_get(*)): Same, make consistent.
2523 Nathan Myers <ncm@zembu.com>
2524 Jim Parsons <parsons@clearway.com>
2525 * testsuite/27_io/istream_extractor_arith.cc (test08): Add
2526 more grouping tests, tweak, scold, wine.
2528 2000-01-24 Benjamin Kosnik <bkoz@gnu.org>
2530 * testsuite/27_io/istream_extractor_arith.cc (test07): Add
2532 * bits/locale_facets.tcc (num_get::_M_extract): Change to fix
2533 grouping bugs. Only allow thousands_sep if _M_use_groupings is
2536 via <llewelly@198.dsl.xmission.com>
2537 * stl/bits/stl_vector.h (vector::_M_range_check): Throw
2538 out_of_range instead of range_error.
2540 2000-01-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
2542 * bits/std_iomanip.h (setw): Fix typo.
2544 2000-01-14 Benjamin Kosnik <bkoz@gnu.org>
2546 * testsuite/27_io/istream_extractor_arith.cc: Fix.
2547 * bits/locale_facets.tcc (do_get(...void)): Change to strtoul.
2548 * testsuite/27_io/istream_unformatted.cc (test04): Tweak.
2550 2000-01-14 Phil Edwards <pme@sourceware.cygnus.com>
2552 * docs/README.html: Reformat, more installation instructions.
2553 * docs/gccrebuild.html: New file.
2554 * docs/faq/index.html: Update for new testsuite output filenames.
2555 * docs/faq/index.txt: Regenerate.
2557 2000-01-14 Phil Edwards <pme@sourceware.cygnus.com>
2559 * Makefile.am (rebuild-stamp, all-local): New targets.
2560 * Makefile.in: Regenerated.
2561 * acinclude.m4: New macro, GLIBCPP_ENABLE_RELIBGCC.
2562 * aclocal.m4: Regenerated.
2563 * configure.in: Call new macro. Also do some sanity checks
2564 for combinations of --enable's that may not make sense.
2565 * configure: Regenerated.
2567 2000-01-13 Benjamin Kosnik <bkoz@cygnus.com>
2569 * testsuite/27_io/istream_extractor_arith.cc: Add checks for void*.
2570 * bits/locale_facets.tcc (do_get::(...void)): Set fmtflags
2571 correctly for hex-formatted input.
2573 * testsuite/27_io/istream_manip.cc (test01): Fix, as per setting
2574 eofbit instead of eofbit | failbit.
2575 * testsuite/27_io/istream_unformatted.cc (test04): Fix, as
2576 ifstreams now are opened or'd with ios_base::in (as is correct).
2577 * bits/fstream.tcc (filebuf::seekoff): Simplify.
2578 * testsuite/27_io/ios_base_members_static.cc (test01): Fix thinko.
2580 2000-01-12 Benjamin Kosnik <bkoz@gnu.org>
2582 * bits/std_fstream.h: Add ios_base as a friend to basic_filebuf.
2583 * bits/basic_file.h (basic_file::filepos_cur): Remove incorrect
2585 (__basic_file::filepos_valid): Same.
2586 (__basic_file::filepos_beg): Same.
2587 (__baseic_file::get_fileno): New function.
2588 * bits/ios_base.h (ios_base::sync_with_stdio): Implement, including
2589 feedback from LWG 49.
2590 * src/ios.cc: Move definition here.
2591 * testsuite/27_io/ios_base_members_static.cc (test01): Add tests.
2593 * bits/std_sstream.h (_M_really_sync): Simplify argument list. Set
2594 output part of internal buffer based on string size, so that
2595 _M_out_end is set consistently with filebufs. Correct comments.
2596 * bits/sstream.tcc (stringbuf::overflow): Update here too.
2597 * testsuite/27_io/stringbuf.cc: Changes.
2599 2000-01-11 Benjamin Kosnik <bkoz@gnu.org>
2601 * bits/sstream.tcc (seekoff): Set based on end of written buffer,
2603 * testsuite/27_io/stringbuf.cc: Add tests for seekoff(end).
2605 * bits/std_fstream.h (ifstream::open): Add ios_base::in to openmode.
2606 (ofstream::open): Add ios_base::out to openmode.
2608 * bits/locale_facets.tcc (_M_extract): Have consistency between
2609 istream::sentry and extractors, where failbit | eofbit is
2610 set. Don't change this, but instead change. . (do some formatting
2612 * bits/istream.tcc (istream::sentry): Only set eofbit.
2614 2000-01-10 Benjamin Kosnik <bkoz@gnu.org>
2616 * testsuite/27_io/istringstream_members.cc: New file.
2618 2000-01-09 Benjamin Kosnik <bkoz@gnu.org>
2620 * bits/istream.tcc (istream::sentry): Flush.
2622 * configure.in (AC_OUTPUT_COMMANDS): Simplify.
2623 * configure: Regenerate.
2624 * src/Makefile.am (generated_headers): Remove bits/c++config.h so
2625 that make clean will not delete it.
2626 * src/Makefile: Regenerate.
2628 2000-01-07 Phil Edwards <pme@sourceware.cygnus.com>
2630 * mkcheck.in: Use host-specific invocation of size(1);
2631 GNU binutils isn't necessarily there (more's the pity).
2633 2000-01-06 Benjamin Kosnik <bkoz@cygnus.com>
2635 * configure.in (LIBS): Better tests for solaris2.6.
2636 * configure: Regenerate.
2638 <vakatov@ncbi.nlm.nih.gov>
2639 * bits/std_sstream.h: As per libstdc++20.
2641 2000-01-06 Benjamin Kosnik <bkoz@gnu.org>
2643 Break out configuration on solaris.
2644 * configure.in (ctype_solaris): Add in bits for solaris2.6 and 2.7.
2645 * config/solaris/ctype.cc: Delete and move to proper version.
2646 * config/solaris/bits: Same.
2647 * config/solaris/solaris2.5: Add this directory, with subdir bits
2648 and file ctype.cc. Probably doesn't work.
2649 * config/solaris/solaris2.6: Same.
2650 * config/solaris/solaris2.7: Same, as per specs via Phil Edwards.
2652 * Makefile.am: Change paths to mkcheck.
2653 * Makefile: Regenerate.
2654 * configure.in (AC_OUTPUT_COMMANDS): Build mkcheck here.
2655 * configure: Regenerate.
2656 * src/Makefile.am (generated_headers): Add bits/c++config.h.
2658 * mkcheck: Now autogenerated by configure and renamed. . .
2659 * mkcheck.in (INC_PATH): Add glue for ctype_include_dir.
2660 Have longer-style dates.
2661 Raja R Harinath <harinath@cs.umn.edu>
2662 * mkcheck: Change path to #!/usr/clocal/bin/bash.
2664 * docs/README.html: Correct links, maybe. FAQ, install notes, and
2665 general documentation need to be organized around each other, not
2666 fight against each other. . .
2668 2000-01-04 Phil Edwards <pme@sourceware.cygnus.com>
2669 Nicolai Josuttis <nicolai.josuttis@braunschweig.netsurf.de>
2671 * README: Add a note referring to README.html.
2672 * docs/README.html: New file from Nicolai.
2673 * docs/faq/index.html: Move "how to get a copy" to here.
2674 * docs/gentop/footchunk.html: Update.
2675 * docs/gentop/headchunk.html: New links according to
2676 bkoz's idea for "How to..." stuff.
2677 * docs/gentop/thanks: Actually put people here.
2678 * docs/download.html: Regenerated.
2679 * docs/index.html, docs/links.html, docs/mail.html,
2680 docs/status.html, docs/thanks.html, docs/faq/index.txt: Ditto.
2681 * docs/how.html: Ditto. (This file should go away soon.)
2683 1999-12-26 Phil Edwards <pme@sourceware.cygnus.com>
2685 * docs/gentop/status: Add snapshot version column, update
2687 * docs/status.html: Regenerated.
2689 1999-12-26 Phil Edwards <pme@sourceware.cygnus.com>
2691 * docs/faq/index.html: Turn README and RELEASE-NOTES into links
2692 from installation FAQ, and specify location of text files.
2693 * docs/faq/index.txt: Regenerated.
2695 1999-12-23 Phil Edwards <pme@sourceware.cygnus.com>
2697 * docs/gentop/download: Add links to prebuilds for Cygwin/Mingw32.
2698 * docs/download.html: Regenerated.
2700 1999-12-22 Phil Edwards <pme@sourceware.cygnus.com>
2702 * docs/faq/index.html: Update 'what works' for .7 snapshot,
2703 clean up various links.
2704 * docs/faq/index.txt: Regenerated.
2705 * docs/gentop/gentop: Smarter regeneration script.
2706 * docs/gentop/{head,foot}chunk.html: Updated with new
2707 contributors link and mod date.
2708 * docs/gentop/index: Snapshot relase date.
2709 * docs/gentop/thanks: New contributors page added.
2710 * docs/{download,how,index,links,mail,status,thanks}.html:
2711 Regenerated from gentop; thanks.html created.
2713 1999-12-21 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
2715 * bits/c++config.h.in (__GLIBCPP__): 19991221.
2716 * docs/index.html: Add correct information.
2718 * config/irix: New directory.
2719 * config/irix/ctype.cc: Add irix-6.5 info. Not tested.
2720 * config/irix/bits/ctype_base.h: And here.
2722 * config/aix: New directory.
2723 * config/aix/ctype.cc: Add aix-4.2 info. Not tested.
2724 * config/aix/bits/ctype_base.h: And here.
2726 1999-12-21 Philip Martin <pm@corris.dircon.co.uk>
2728 * bits/basic_string.h: Add special case handling for integral
2730 * bits/std_string.h: include type_traits.h
2731 * testsuite/21_strings/ctor_copy_dtor.cc: Tweak.
2733 1999-12-21 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
2735 * bits/fstream.tcc (seekoff): Output buffer based on _M_*_in and
2737 * bits/std_fstream.h (sync): And here.
2738 * testsuite/27_io/filebuf.cc: Revisions.
2739 * testsuite/27_io/filebuf-2.tst: Correct, remove weird character
2740 at the end of the file.
2741 * testsuite/27_io/filebuf-3.tst: Correct.
2743 1999-12-21 Phil Edwards <pedwards@jaj.com>
2745 * docs/gentop/index: Hold off on .7 announcement date.
2746 * docs/index.html: Regenerate.
2748 1999-12-21 Benjamin Kosnik <bkoz@kcygnus.com>
2750 * bits/std_fstream.h (sync): Move _M_file->sync() to
2751 _M_really_overflow().
2752 * bits/fstream.tcc (seekoff): Call sync, not _M_really_overflow so
2753 as to get the _M_file->sync action, which forces the external
2754 buffer to update itself.
2755 (underflow): Same here.
2757 1999-12-21 Phil Edwards <pedwards@jaj.com>
2759 * bits/c++config.h.in: Uncomment _GLIBCPP_USE_NAMESPACES and move...
2760 * acconfig.h: ...to here.
2761 * config.h.in: Regenerate from aclocal.
2762 * acinclude.m4: Add GLIBCPP_ENABLE_DEBUG, GLIBCPP_ENABLE_NAMESPACES.
2763 * aclocal.m4: Regenerate from acinclude.
2764 * configure.in: Use ENABLE macros here.
2765 * configure: Regenerate.
2766 * src/Makefile.am: Use results from ENABLE macros.
2767 * src/Makefile.in: Regenerate.
2769 1999-12-20 Benjamin Kosnik <bkoz@cygnus.com>
2771 * mkcheck (SRC_DIR): Now have to include config/* dir if "make
2772 check" and not "make check-install." Temporarily hack in linux
2775 * bits/std_streambuf.h: Tweaks.
2776 * bits/streambuf.tcc (xsgetn): Tweaks.
2777 * bits/std_fstream.h (sync): Make _M_really_overflow consistent.
2778 * bits/fstream.tcc (filebuf::underflow): Simplify.
2779 * bits/std_sstream.h (streambuf::underflow): Minor change to make
2780 checks for read position precisely implement the standard.
2781 * bits/basic_file.h (filepos_cur): Base this on _offset.
2782 * testsuite/21_strings/inserters_extractors.cc (test05): Tweaks.
2783 * testsuite/27_io/filebuf.cc: Tweak.
2785 1999-12-20 Benjamin Kosnik <bkoz@cygnus.com>
2787 * docs/17_intro/RELEASE-NOTES: Fix typos.
2789 * bits/locale_facets.h (ctype): Modify, use __to_type to abstract
2790 out platform-specific bits.
2791 * config/default/ctype.cc: And here.
2792 * config/defaults/bits/ctype_base.h: And here.
2793 * config/linux/ctype.cc: And here.
2794 * config/linux/bits/ctype_base.h (ctype_base): And here.
2795 * config/solaris/bits/ctype_base.h (ctype_base): Add
2796 __to_type. Comment, as it looks like this is for solaris2.6 and
2797 above: solaris2.5.1 doesn't seem to have the same definitions.
2798 * config/solaris/ctype.cc: And here.
2800 1999-12-19 Benjamin Kosnik <bkoz@cygnus.com>
2801 Ulrich Drepper <drepper@cygnus.com>
2803 * acconfig.h: Remove _GLIBCPP_USE_CTYPE_ISBIT.
2805 * src/locale.cc: Take out platform-specific hacks.
2806 * config/linux/ctype.cc: Put here.
2807 * config/solaris/ctype.cc: Put here.
2808 * config/default/ctype.cc: Put here.
2810 * bits/locale_facets.h: Take out platform-specific hacks.
2811 * config/linux/bits/ctype_base.h: Put here.
2812 * config/solaris/bits/ctype_base.h: Put here.
2813 * config/default/bits/ctype_base.h: Put here.
2815 * configure.in: Bump version.
2816 Add tests for top-level config directory.
2817 * configure: Regenerated.
2818 * src/Makefile.am (INCLUDES): Add platform-specific dir.
2819 * src/Makefile: Regenerate.
2821 1999-12-19 Benjamin Kosnik <bkoz@cygnus.com>
2822 Ulrich Drepper <drepper@cygnus.com>
2824 * bits/locale_facets.h: Hack in solaris support.
2825 * src/locale.cc: Here too.
2827 1999-12-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
2829 * docs/17_intro/TODO: Update
2830 * docs/17_intro/RELEASE-NOTES (New): Update.
2832 1999-12-17 Benjamin Kosnik <bkoz@milou.cygnus.com>
2834 * bits/c++config.h.in (__GLIBCPP__): Bump.
2835 * docs/17_intro/RELEASE-NOTES: Update, Gaby please add your stuff.
2836 * docs/17_intro/TODO: Update.
2838 * bits/locale_facets.h: Touch this too.
2839 * bits/localefwd.h: Add typedefs for loooooong vector names.
2840 * bits/locale_facets.tcc (locale::operator()): Need parens.
2841 (has_facet): Simplify.
2842 * src/locale-inst.cc: Add instantiations.
2843 * src/locale.cc: Tweaks.
2845 * bits/std_streambuf.h: Move indeterminates into. .
2846 * bits/std_fstream.h: Here.
2847 * bits/fstream.tcc (underflow): Rewind just for ios_base::out
2849 * bits/sstream.tcc: Very minor formatting tweaks.
2850 * bits/std_streambuf.h (_M_set_determinate): If exclusively an
2851 input buffer, set _M_buf to offset.
2852 * bits/istream.tcc (std): Tweaks.
2853 * testsuite/27_io/istream_unformatted.cc (test05): More tweaks,
2855 * testsuite/27_io/filebuf.cc: Tweaks.
2857 1999-12-17 Phil Edwards <pedwards@jaj.com>
2859 * configure.in: Add OPTLEVEL, -O2 for gcc 2.96+, nothing otherwise.
2860 * configure: Regenerate.
2861 * src/Makefile.am: Use OPTLEVEL in CXXFLAGS.
2862 * src/Makefile.in: Regenerate. Also picks up OTHER_CXXFLAGS rename
2863 to OPTIMIZE_CXXFLAGS from a previous revision (1.96) to Makefile.am.
2865 1999-12-17 Phil Edwards <pedwards@jaj.com>
2867 * docs/21_strings/stringtok_std_h.txt: New algorithm
2868 suggested by Chris King.
2869 * docs/21_strings/howto.html: Link to new version.
2871 1999-12-16 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
2873 * bits/valarray_array.h (__valarray_sum): Use operator+=, not
2875 * docs/17_intro/TODO: Update.
2877 1999-12-15 Phil Edwards <pme@sourceware.cygnus.com>
2879 * docs/gentop/footchunk.html: Updated, fixed CRLFs.
2880 * docs/gentop/gentop: Ditto.
2881 * docs/gentop/headchunk.html: Ditto.
2882 * docs/*.html: Regenerated from gentop.
2883 * docs/*/howto.html: Updated as test.
2884 * docs/faq/index.html: Updated, fixed CRLFs.
2885 * docs/faq/index.txt: Regenerated.
2887 1999-12-15 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
2889 * mknumeric_limits (OUT_C): restart only if $OUT_C is present.
2891 * bits/std_complex.h
2892 (complex<float>::complex(const complex<double>&),
2893 complex<float>::complex(const complex<long double>&)): Define.
2895 * docs/17_intro/TODO: Update.
2897 1999-12-13 Benjamin Kosnik <bkoz@cygnus.com>
2899 * bits/istream.tcc (seekg): Don't set _M_gcount.
2901 * bits/fstream.tcc (filebuf::underflow): Re-sync
2902 external byte sequence's input buffer only. . .
2903 * testsuite/27_io/istream_unformatted.cc (test04): New tests for
2904 tellg, seekg and filebufs.
2905 (test05): Same for stringbufs.
2906 * testsuite/27_io/istream_unformatted-2.tst: New file.
2907 * testsuite/27_io/istream_unformatted-1.tst: New file.
2908 * testsuite/27_io/istream_unformatted-1.txt: New file.
2909 * testsuite/21_strings/inserters_extractors.cc (test05): Change
2912 1999-12-13 Phil Edwards <pedwards@jaj.com>
2914 * docs/gentop/*: New directory, containing bits for the homepages.
2915 * docs/*.html: Regenerated from gentop.
2916 * docs/*/*.html: Entries added and regenerated.
2918 1999-12-13 Benjamin Kosnik <bkoz@gnu.org>
2920 Efforts to get -O2 to work with -Winline -Werrors.
2921 * bits/valarray_array.h (__valarray_fill(_Tp*, size_t, const
2922 _Tp&): Remove inline declaration, as cannot be inlined and
2923 -Winline -Werror complains. An interesting question is why this
2924 cannot be inlined, as I can see no real reason to disqualify it.
2925 (__valarray_product(const _Tp*, const _Tp*)): Same here.
2926 * bits/std_valarray.h (valarray::operator[](size_t)): Same here.
2928 * docs/17_intro/TODO: Update.
2930 1999-12-12 Benjamin Kosnik <bkoz@gnu.org>
2932 * bits/std_fstream.h (seekpos): Tweaks, fixes. Move definition to
2934 * bits/basic_file.h (filepos_cur()): Make pointers themselves be
2935 the resultant position.
2936 * bits/fstream.tcc (seekoff): Explicitly set return value to
2937 resultant external byte sequence position, not value returned from
2938 _M_file->seekoff. Need to make
2939 (seekpos): New definition.
2941 * bits/istream.tcc (seekg): As per Library Issues List 136, set to
2942 just istream. Necessary, or else tellg will give an invalid stream
2943 position, but seekg will return a valid stream position, which is
2944 not groovy: see testcase addition.
2945 * bits/ostream.tcc (seekp): Same.
2947 * bits/streambuf.tcc (_S_copy_streambufs): Simplify.
2948 * bits/sstream.tcc: Tweaks.
2949 * bits/locale_facets.tcc: Tweaks.
2950 (num_put::do_put(iter_type, ios_base, char_type, const void*)):
2951 Re-write in a way that is easier for the inliner to work with.
2952 * bits/ios_base.h: Use explicit static_cast<int>(...) notation.
2954 1999-12-10 Benjamin Kosnik <bkoz@cygnus.com>
2956 * bits/locale_facets.tcc: Tweaks.
2957 * bits/locale_facets.h (use_facet): Can't inline, remove inline
2959 * bits/localefwd.h: And here.
2960 * bits/std_ostream.h: Tweaks, sentry ctor can't be inlined.
2961 * bits/ostream.tcc: Put here.
2963 Frank Ch. Eigler <fche@cygnus.com>
2964 * src/Makefile.am: Adjust CXXFLAGS, add AM_CXXFLAGS.
2966 1999-12-08 Benjamin Kosnik <bkoz@cygnus.com>
2968 * bits/sstream.tcc (stringbuf::seekoff): Long overdue revamp. Make
2969 in and out buffers update independantly.
2971 * bits/basic_ios.h: Minor formatting.
2972 * bits/fstream.tcc (std): Fix indentation.
2974 1999-12-08 Chip Salzenberg <chip@valinux.com>
2976 * bits/char_traits.h (char_traits<>): Move not_eof() functions
2977 after corresponding eof() functions, so they're easier for the
2979 * bits/locale_facets.h (money_base::__default_pattern): Move
2980 static variable out of inline functions.
2981 (_Moneypunct<>::do_{pos,neg}_format): Use it.
2982 * src/locale-inst.cc (money_base::__default_pattern): Define it.
2984 1999-12-08 Benjamin Kosnik <bkoz@cygnus.com>
2986 * bits/std_fstream.h (filebuf::open): Tweak.
2987 * bits/fstream.tcc (filebuf::seekoff): Simplify, fix.
2988 * bits/std_ios.h: Minor tweaks for headers.
2990 1999-12-06 Benjamin Kosnik <bkoz@gnu.org>
2992 * bits/c++config.h.in (_GLIBCPP_FULLY_COMPLIANT_HEADERS): New macro.
2993 * src/string-inst.cc: Add guards . . .
2994 * src/misc-inst.cc: And here.
2995 * bits/std_sstream.h: And here.
2996 * bits/std_fstream.h: And here.
2997 * bits/std_streambuf.h: And here.
2998 * bits/std_istream.h: And here.
2999 * bits/std_ostream.h: And here.
3001 1999-12-06 Scott Snyder <snyder@fnal.gov>
3003 * bits/istream.tcc (basic_istream::read): Try to handle __n == 0
3005 (basic_istream::readsome): And here as well.
3006 * testsuite/27_io/istream_unformatted.cc: Test a zero-length
3009 1999-12-06 Mumit Khan <khan@xraylith.wisc.edu>
3011 * bits/istream.tcc (basic_istream::ignore): streamsize is not
3012 necessarily an `int'.
3014 1999-12-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3016 * mknumeric_limits: Don't use $CXXFLAGS when building
3017 gen-num-limits. It's definitely wrong to use it since $CXXFLAGS
3018 generally instructs the compiler not to emit template
3019 instantiations and we end up with undefined symbols. Sigh.
3021 1999-12-05 Benjamin Kosnik <bkoz@gnu.org>
3023 * bits/locale_facets.tcc: Tweak.
3024 (_S_format_long): Adjust showpos formatting for hex and oct.
3025 * bits/std_ostream.h (operator<<(short)): Correctly deal with hex
3026 and oct by formatting as unsigned.
3027 (operator<<(int)): Same here.
3028 * bits/ostream.tcc (operator<<(long)): Same.
3029 (operator<<(long long)): Same.
3030 (_S_pad_char): Actually treat ios_base::internal as something
3031 worth doing correctly. Remove const designation on ios argument.
3032 * testsuite/27_io/ios_manip_basefield.cc (test02): Add tests.
3033 * testsuite/27_io/ostream_inserter_arith.cc (test03): Add tests.
3035 1999-12-04 Benjamin Kosnik <bkoz@gnu.org>
3037 * bits/std_sstream.h (streambuf::underflow): Check for mode == in.
3039 1999-12-03 Benjamin Kosnik <bkoz@gnu.org>
3041 * bits/locale_facets.tcc (num_put::do_put(bool): Fix.
3043 * bits/sstream.tcc (streambuf::seekoff): Add parens.
3044 * bits/istream.tcc (istream::get(sb)): Handle exceptional events.
3045 (operator>>(istream, _CharT*)): Change streamsize to int_type.
3046 (operator>>(istream, _CharT&)): Fix typedef'd type to be _CharT.
3047 * bits/ostream.tcc (ostream::operator<<(const char*)): Stub out
3049 (ostream::operator<<(_CharT)): Fix.
3051 * bits/std_sstream.h: Temporarily disable including sstream.tcc to
3052 see if this will increase compile speed.
3053 * bits/std_ostream.h: Likewise. . .
3054 * bits/std_istream.h: And here.
3055 * bits/std_fstream.h: And here.
3056 * src/misc-inst.cc: Add relevant header file includes for
3057 instantiation purposes.
3058 * src/string-inst.cc: And here.
3059 * testsuite/27_io/ostream_inserter_arith.cc: Add test case.
3061 1999-12-02 Benjamin Kosnik <bkoz@gnu.org>
3063 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
3064 * bits/istream.tcc (get(streambuf)): More fixes.
3065 (istream::ignore): Get specific about numeric_limits<int>::max()
3068 * bits/fstream.tcc (filebuf::open): Tweaks for _M_last_overflowed.
3069 (filebuf::close): Same.
3070 * testsuite/27_io/filebuf.cc: Add tests for ios_base::ate.
3072 1999-12-01 Phil Edwards <pedwards@jaj.com>
3074 * mkcheck: Support for compilation/execution timing.
3075 * testsuite/printnow.c: New file.
3077 1999-12-01 Phil Edwards <pedwards@jaj.com>
3079 * bits/std_cwchar.h: Test for _GLIBCPP_USE_WCHAR_T.
3080 * configure.in: Test for presence of wchar.h before testing
3081 for any of its features.
3082 * configure: Regenerate.
3084 1999-11-30 Benjamin Kosnik <bkoz@gnu.org>
3086 Preliminary istream validations complete.
3087 * bits/istream.tcc (istream::getline): Fixes. Tweaks to make
3088 formatting more consistent. Removal of if-statements inside of for
3093 * bits/std_istream.h: Same.
3094 * bits/sstream.tcc (stringbuf::pbackfail): Fix.
3095 * testsuite/27_io/stringbuf.cc: Tweak.
3096 * testsuite/27_io/istream_unformatted.cc (test02): Mo' tests.
3098 * bits/ostream.tcc (ostream::operator<<(arith)): Set badbit, not
3099 failbit on failure, as per 27.6.2.5.2.
3101 * stl/bits/std_vector.h: Allow bool specializations. Should move
3102 ext/std_bvector to bits, not ext, maybe.
3104 1999-11-30 Mumit Khan <khan@xraylith.wisc.edu>
3106 * configure.in: Fix checks for mbstate_t and WCHAR_MIN/MAX.
3107 * configure: Regenerate.
3109 999-11-29 Benjamin Kosnik <bkoz@gnu.org>
3111 * bits/istream.tcc (get(streambuf, char)): Fix.
3112 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
3114 1999-11-29 Scott Snyder <snyder@fnal.gov>
3116 * bits/basic_string.h (append(const _Char*, size_type)): The
3117 length of the appended string is given exactly by the second arg,
3118 regardless of the data in the character array.
3119 * bits/string.tcc (basic_string(const _CharT*, size_type, const
3120 _Alloc&)): Likewise.
3121 * testsuite/21_strings/append.cc (test01): Remove erroneous test
3122 of basic_string::append.
3124 1999-11-29 Chip Salzenberg <chip@valinux.com>
3126 * Makefile.in: Tweaks for CXXFLAGS.
3127 * */Makefile.in: Same.
3129 1999-11-29 Mumit Khan <khan@xraylith.wisc.edu>
3131 * conficd bgure.in: Check for wide character support.
3132 * bits/c++config.h.in (_GLIBC_USE_WCHAR_T): Move from here ...
3133 * acconfig.h (_GLIBC_USE_WCHAR_T): to here.
3134 * bits/string.tcc (wstring::_S_find): Guard wchar_t specialization.
3136 1999-11-29 Mumit Khan <khan@xraylith.wisc.edu>
3138 * acinclude.m4: Fix typo.
3139 * src/complex.cc: Fix macro line continuation.
3141 1999-11-29 Petter Urkedal <petter@matfys.lth.se>
3143 * src/Makefile.am (CXXFLAGS): Add -Wno-format to allow non-
3144 string literals in format, as used in locale-facets.tcc.
3146 1999-11-28 Benjamin Kosnik <bkoz@gnu.org>
3148 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
3149 * bits/istream.tcc (istream::get): Extract to argument minus one.
3150 Various tweaks and fixes.
3152 1999-11-22 Mumit Khan <khan@xraylith.wisc.edu>
3154 * bits/locale_facets.tcc: Workaround for compiler crash on
3157 1999-11-21 Mumit Khan <khan@xraylith.wisc.edu>
3159 * acinclude.m4: New file. New _GLIBCPP_CHECK_FLOAT_SUPPORT macro.
3160 * configure.in: Use.
3161 * acconfig.h: New _GLIBCPP_BUGGY_FLOAT_COMPLEX macro.
3162 * src/complexf.cc: New _GLIBCPP_FLOAT_SPECIALIZATION macro.
3163 * bits/std_complex.h: Use.
3164 * src/complex.cc: Use.
3166 1999-11-19 Mumit Khan <khan@xraylith.wisc.edu>
3168 * testsuite/18_support/numeric_limits.cc: Add missing std:: prefix.
3169 * testsuite/21_strings/inserters_extractors.cc: Likewise.
3170 * testsuite/22_locale/ctype.cc: Likewise.
3171 * testsuite/23_containers/multiset.cc: Likewise.
3172 * testsuite/23_containers/vector_ctor.cc: Likewise.
3173 * testsuite/26_numerics/binary_closure.cc: Likewise.
3174 * testsuite/27_io/fpos.cc: Likewise.
3175 * testsuite/27_io/ios_base_callbacks.cc: Likewise.
3176 * testsuite/27_io/istream_extractor_arith.cc: Likewise.
3177 * testsuite/27_io/istream_extractor_char.cc: Likewise.
3178 * testsuite/27_io/istream_extractor_other.cc: Likewise.
3179 * testsuite/27_io/istream_sentry.cc: Likewise.
3180 * testsuite/27_io/ostream_inserter_char.cc: Likewise.
3181 * testsuite/27_io/ostream_inserter_other.cc: Likewise.
3182 * testsuite/27_io/streambuf.cc: Likewise.
3183 * testsuite/27_io/stringstream.cc: Likewise.
3185 1999-11-19 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3187 * bits/valarray_meta.h: Don't forget to define tanh
3189 1999-11-18 Philip Martin <pm@corris.dircon.co.uk>
3191 * src/stl-inst.cc: Use typedef to refer to iterator
3192 * stl/bits/stl_algobase.h: Add traits based dispatch for
3193 __normal_iterator in the copy()algorithm
3194 * stl/bits/type_traits.h: Add _Is_normal_iterator trait support
3196 1999-11-18 Kevin Ediger <kediger@licor.com>
3198 * src/locale.cc (locale::_Imp::_Imp): Use auto_ptr to make
3199 constructors for locale::_Impl exception safe.
3201 1999-11-18 Scott Snyder <snyder@fnal.gov>
3203 * stl/bits/stl_queue.h: The C++ standard gives the default for the
3204 _Sequence template argument of priority_queue<> as vector<>, not
3207 1999-11-18 Benjamin Kosnik <bkoz@gnu.org>
3209 * bits/std_sstream.h (stringbuf::_M_really_sync): Add __iend as a
3211 * bits/sstream.tcc: Adjust here too.
3213 1999-11-17 Benjamin Kosnik <bkoz@gnu.org>
3215 * bits/sbuf_iter.h (istreambuf_iter::equal): Tweak.
3216 * bits/istream.tcc (operator>>): Replace iostate(0) with
3217 iostate(ios_base::goodbit), which is the same thing, but hopefully
3219 * bits/locale_facets.tcc (do_get(bool)): Streamline, deal with
3220 libraries issue list 17.
3221 (do_gets): Don't set goodbit explicitly, instead only set on
3222 failures as good bit is the default setting.
3223 * bits/ios_base.h (setf): Set correctly.
3224 * bits/fstream.tcc: Tweak.
3225 * bits/std_sstream.h (_M_really_sync): Fix ibuffer positioning for
3226 in|out bufs that are empty. . .
3227 * testsuite/27_io/istream_extractor_arith.cc (test03): Add.
3229 1999-11-16 Benjamin Kosnik <bkoz@gnu.org>
3231 * testsuite/27_io/streambuf.cc (class testbuf): Don't set _M_buf_size.
3232 * bits/std_streambuf.h (setp): Set _M_buf_size, _M_mode.
3233 Add comments "all about _M_buf."
3234 (setg): Set _M_mode.
3236 1999-11-16 Kevin Ediger <kediger@licor.com>
3238 * bits/locale_facets.tcc (_S_build_float_format): New function.
3239 (_S_output_float): New function.
3240 (num_put::do_put(double)): Use 'em.
3241 (num_put::do_put(long double)): Use 'em.
3242 * testsuite/27_io/ostream_inserter_arith.cc: New file.
3244 1999-11-15 Scott Snyder <snyder@fnal.gov>
3246 * bits/basic_file.h: Type of __off parm should be __c_streampos, to
3247 match how libio is calling us.
3248 * src/basic_file.cc (sys_seek): Likewise.
3249 * bits/std_fstream.h (basic_filebuf::sync): Restore sync call.
3251 1999-11-15 Benjamin Kosnik <bkoz@gnu.org>
3253 * docs/17_intro/contribute.html: Add link to assignment form.
3254 * docs/17_intro/libstdc++-assign.txt: New file.
3256 * mkcheck (TESTS_FILE): Move a copy of test files as well as
3259 * bits/std_streambuf.h (_M_buf_bump): New function.
3260 * bits/streambuf.tcc: Mods to support _M_buf_bump.
3261 (xsputn): Here. Also add checks for output valid.
3262 (xsgetn): Add checks for input valid.
3264 (sgetc): Set _M_in_end to _M_buf + _M_buf_end.
3265 * bits/std_sstream.h (_M_really_sync): Set _M_buf.
3266 Set _M_out_end to variable-length-end.
3267 * bits/sstream.tcc (overflow): Use _M_buf_bump.
3270 * bits/fstream.tcc (std): Tweak formatting.
3271 (filebuf::overflow): Simplify.
3272 (filebuf::showmanyc): Same.
3273 (filebuf::underflow): Same.
3274 * testsuite/27_io/filebuf.cc: Fix.
3275 * testsuite/27_io/ostream_inserter_other.cc: Fix.
3276 * testsuite/27_io/ostream_inserter_other-2.tst: New file.
3277 * testsuite/27_io/stringbuf.cc: Tweak.
3278 * testsuite/27_io/streambuf.cc: Tweak.
3279 * testsuite/27_io/istream_extractor_other.cc: Fix.
3281 1999-11-11 Matthias Klose <doko@cs.tu-berlin.de>
3283 * stl_deque.h: Use static_casts<size_type>(signed_type).
3285 1999-11-11 Benjamin Kosnik <bkoz@gnu.org>
3287 Cleanups for callbacks, more regression hunting. Remaining
3288 failures (1) due to last unresolved stringstream issues, not
3290 * bits/std_fstream.h: Revert. Disable call to _M_file->sync as
3291 killing 27_io/filebuf.cc tests. . . need another solution.
3293 * bits/streambuf.tcc (_S_copy_streambufs): Fix.
3294 * testsuite/27_io/istream_extractor_other.cc: Tweak comments.
3296 * bits/basic_ios.h: Add cached facets here. UGH. The standard
3297 foils all attempts at a graceful, minimal implementation.
3298 * bits/basic_ios.tcc: Tweaks.
3299 * bits/istream.tcc: Fix.
3300 * bits/ostream.tcc: Fix.
3301 * bits/std_istream.h: Fix.
3302 * bits/std_ostream.h: Fix.
3303 * src/ios.cc (ios_base::imbue): Set _M_locale_ios before calling
3305 * bits/locale_facets.tcc (std): Minor, minor formatting tweak.
3306 (_S_pad_numeric): Make comprehensible.
3308 1999-11-10 Benjamin Kosnik <bkoz@cygnus.com>
3310 * bits/std_ostream.h: Add callbacks for _M_fnumput.
3311 (_S_ostream_fcache): New function.
3312 Move functions out-of-line.
3313 * bits/ostream.tcc: Put here.
3315 * bits/std_istream.h: Add callbacks for _M_fnumget.
3316 (_S_istream_fcache): New function.
3317 Move functions out-of-line.
3318 * bits/istream.tcc: Put here.
3320 * bits/basic_ios.tcc (basic_ios::imbue): Tweaks, remove call to
3321 _M_call_callbacks(), as ios_base::imbue does this already.
3322 * src/ios.cc (register_callback): Clean.
3323 (_M_call_callbacks): Same.
3324 * bits/ios_base.h: Callback work.
3325 * testsuite/27_io/ios_base_callbacks.cc (test01): New file.
3327 1999-11-10 Benjamin Kosnik <bkoz@cygnus.com>
3328 Matthias Klose <doko@cs.tu-berlin.de>
3330 * stl/ext/stl_rope.h: Fix initialization order.
3332 1999-11-09 Scott Snyder <snyder@fnal.gov>
3334 * bits/std_fstream.h (basic_filebuf::sync): Unconditionally call
3335 _M_file->sync() so that redirection works correctly.
3337 1999-11-09 Benjamin Kosnik <bkoz@gnu.org>
3339 * bits/istream.tcc: Re-order.
3340 * bits/std_istream.h: Fix getline problems.
3341 * testsuite/27_io/istream_unformatted.cc: New tests.
3343 Clean up regressions.
3344 * bits/std_sstream.h: Set initial stringbufs correctly.
3346 1999-11-09 Scott Snyder <snyder@fnal.gov>
3348 * stl_vector.h (_M_range_insert): Fix mixing pointers and
3350 * testsuite/23_containers/vector_modifiers.cc (test01): New file,
3353 1999-11-09 Benjamin Kosnik <bkoz@cygnus.com>
3355 * src/Makefile.am (CXXFLAGS): Add -Winline.
3356 * src/Makefile.in: Regenerate.
3358 1999-11-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3360 * bits/valarray_meta.h (_DEFINE_EXPR_UNARY_FUNCTION): When
3361 building meta-expressions don't forget to take the contained
3364 1999-11-02 Benjamin Kosnik <benjamin@cygnus.com>
3366 * configure: Regenerate.
3368 1999-11-02 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3370 * bits/valarray_meta.h (_Expr<>::sum): Tweak. Use copy-initialization
3372 * bits/valarray_meta.h (min): Likewise.
3373 * bits/valarray_meta.h (max): Likewise.
3375 1999-11-01 Benjamin Kosnik <bkoz@cygnus.com>
3377 * bits/std_sstream.h (_M_really_sync): Take into account in | out bufs.
3378 * bits/std_streambuf.h (_S_copy_streambufs): New function.
3379 * bits/streambuf.tcc: Define.
3380 * bits/istream.tcc (istream::operator>>(streambuf)): Rewrite.
3381 * bits/ostream.tcc (ostream::operator<<(streambuf)): Rewrite.
3382 * testsuite/27_io/ostream_inserter_other.cc: Add tests.
3383 * testsuite/27_io/ostream_inserter_other-1.tst: New file.
3385 * bits/basic_string.h: Explicitly cast npos to unsigned type,
3386 reported by Richard Atterer.
3387 * bits/char_traits.h: For consistency's sake, here too.
3389 * configure.in: Bump version to 2.90.7.
3391 1999-10-31 Benjamin Kosnik <bkoz@cygnus.com>
3393 * testsuite/27_io/ostream_inserter_char-1.tst: Check file output.
3394 * testsuite/27_io/ostream_inserter_char.cc (test05, test01): Add tests.
3395 * bits/streambuf.tcc (xsputn): Treat--size const char for long loops.
3397 * bits/sstream.tcc (seekpos): Tricks, mostly: check _M_mode before
3398 writing into buffer.
3401 1999-10-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3403 * bits/valarray_array.h (__valarray_sum): New function.
3404 * bits/valarray_array.h (__valarray_product): Same.
3406 * bits/std_valarray.h (valarray<T>::product): Comment out.
3407 * bits/std_valarray.h (valarray<T>::sum): Use __valarray_sum
3408 instead of accumulate.
3410 * src/valarray-inst.cc: Remove explicit intantiation of
3411 class multiplies<size_t>, accumulate, valarray<size_t>::product.
3412 * src/valarray-inst.cc (__valarray_product): Instantiate
3414 * src/valarray-inst.cc (__valarray_product(const
3415 valarray<size_t>&)): New function.
3416 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't use
3417 valarray<size_t>::product. Use __valarray_product instead.
3420 1999-10-25 Benjamin Kosnik <bkoz@cygnus.com>
3422 * bits/std_ostream.h (ostream.inserters.char): Correctly pad output.
3423 (_S_pad_char): New function. Not done: ios_base::internal.
3424 * bits/ostream.tcc: Clean for above.
3425 * bits/locale_facets.tcc (_S_fill): Remove ostreambufiterator
3426 specialization that was commented out, as ostreams now have to
3427 correctly deal with padding.
3428 * testsuite/27_io/ostream_inserter_char.cc (main): Add tests.
3430 * testsuite/21_strings/ctor_copy_dtor.cc(test02): Add test case
3431 from mailing list. This is a bug, and should be fixed.
3432 * testsuite/21_strings/inserters_extractors.cc (main): Tweak, fix typo.
3434 1999-10-22 Petter Urkedal <petter@matfys.lth.se>
3436 * stl/bits/stl_numeric.h (__power): Replaced argument name `__opr'
3437 to avoid conflict with gcc name mangling.
3438 * stl/bits/stl_algo.h (__transform): Same.
3440 1999-10-21 Benjamin Kosnik <bkoz@cygnus.com>
3442 * bits/ios_base.h: Change argument names.
3443 * docs/17_intro/BADNAMES: Add __opr.
3445 1999-10-20 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
3447 Work on compilation slowdowns from 10-5 to 10-12, which are
3448 related to the _Callback_list inlining/merge-ifcation, which is
3449 still a pending issue, but this stuff is necessary cleanup anyway.
3451 * src/ios.cc: Re-arrange.
3452 * bits/ios_base.h: Tweak.
3453 * bits/basic_ios.tcc: Move out of line definitions here, move
3454 small out-of-line definitions inline.
3455 * bits/basic_ios.h: From here.
3457 * bits/streambuf.tcc (pbackfail, overflow): Move back inline.
3458 * bits/std_streambuf.h: From here.
3460 1999-10-19 Benjamin Kosnik <bkoz@cygnus.com>
3462 * testsuite/27_io/istream_extractor_char.cc: Add tests.
3463 * bits/std_istream.h: Tweaks--set eofbit on eof condition.
3464 * bits/istream.tcc (operator>>(istream&, string&): Remove
3465 vestigial issspace hacks and use ctype::is instead.
3466 (getline): Remove unnecessary loops, fortify and pasteurize.
3469 1999-10-18 Benjamin Kosnik <bkoz@cygnus.com>
3471 * bits/istream.tcc (operator>>): Tweak.
3472 * bits/std_istream.h: Fix according to library issues list 68.
3475 * bits/locale_facets.h: Fix table_size to be non-zero.
3477 1999-10-18 Vadim Egorov <egorovv@HotPOP.com>
3479 * src/basic_file.cc: ifdef instead of comment for binary mode
3481 1999-10-18 Russell Davidson <russell@qed.econ.queensu.ca>
3483 * bits/std_sstream.h: Stringbuf initialization based on actual,
3484 not allocated, size.
3485 * testsuite/21_strings/inserters_extractors.cc (test06): Add test
3488 1999-10-17 Benjamin Kosnik <bkoz@cygnus.com>
3490 * testsuite/26_numerics/c_math.cc (test03): Tweak.
3491 * testsuite/27_io/istream_manip.cc (test01): Corrections due to
3493 * testsuite/21_strings/inserters_extractors.cc (test01): Same.
3495 1999-10-14 Benjamin Kosnik <bkoz@cygnus.com>
3497 * bits/std_istream.h: Tweaks.
3498 * bits/istream.tcc (istream::sentry::sentry()): Simplify, correct
3499 as per issues list addition--set failbit, eof on empty buffers.
3500 * testsuite/27_io/istream_sentry.cc: New file.
3502 1999-10-12 Chris Prince <prince@wcug.wwu.edu>
3504 * bits/std_cstdio.h: Remove Solaris hacks.
3506 1999-10-12 Phil Edwards <philip.edwards@sn.wpafb.af.mil>
3508 * docs/index.html: Fix minor typos and tweaks.
3509 * docs/17_intro/contribute.html: Ditto.
3510 * docs/*/howto.html: Ditto. More "EGCS"->"GCC" conversion, notes on
3511 thread safety and binary I/O, links to external sites.
3512 * docs/faq/index.html: EGCS/GCC cleanup, new entries for Cygwin
3515 1999-10-12 Petter Urkedal <petter@matfys.lth.se>
3517 * bits/std_cmath.h (abs(float)): When ::absf is not present, call
3518 ::fabs(double) rather than ::abs(int).
3520 1999-10-11 Benjamin Kosnik <bkoz@milou.cygnus.com>
3522 * bits/std_streambuf.h: Fix minor blip--should explicitly return
3523 *gptr(), not the result of underflow.
3524 (pbackfail): Conform to default behavior.
3526 * bits/streambuf.tcc: Add out-of-line streambuf members.
3529 * testsuite/27_io/streambuf.cc: New file.
3530 * testsuite/27_io/filebuf.cc: Correct test.
3532 1999-10-08 Benjamin Kosnik <bkoz@haight.constant.com>
3534 * bits/std_cmath.h: Correctly cast int to double.
3535 * testsuite/26_numerics/c_math.cc: Add test.
3537 * mknumeric_limits (OUT_C): Tweaks.
3538 * src/gen-num-limits.cc: Checks for WCHAR_MIN, WCHAR_MAX before
3539 trying to instantiate type_traits<wchar_t>.
3540 * acconfig.h: Add _GLIBCPP_HAS_WCHAR_MIN_MAX.
3541 * configure.in (LIBS): Plus checks for WCHAR_MIN, WCHAR_MAX.
3542 * configure: Regenerate.
3544 1999-10-06 Benjamin Kosnik <bkoz@milou.cygnus.com>
3546 * bits/streambuf.tcc (streambuf::xsgetn): Rewrite.
3547 (streambuf::xsputn): Put in break.
3548 Aiming for parity between these two (mostly) similar functions.
3549 Need to re-write tests.
3551 * bits/ios_base.h (ios_base::_M_copy_base): Remove declaration.
3552 Make data members protected, not private.
3553 * src/ios.cc (ios_base::_M_copy_base): Move _Callback_list into
3554 ios_base.h. As called only once, collapse into . . .
3555 * bits/basic_ios.h (basic_ios::copyfmt): Fix.
3556 (basic_ios::clear): Throw ios_base::failure on occasion.
3557 (basic_ios::exceptions): Fix.
3558 * testsuite/27_io/ios_members.cc (test02): Add tests.
3560 * bits/fpos.h: Default initialize.
3561 * testsuite/27_io/fpos.cc (test03): Add test.
3563 1999-10-04 Russell Davidson <russell@qed.econ.queensu.ca>
3565 * src/basic_file.cc: Fix open modes.
3567 1999-10-04 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3569 * bits/locale_facets.tcc (num_get<>::do_get): Fix typo.
3571 1999-09-23 Benjamin Kosnik <bkoz@milou.cygnus.com>
3573 * bits/streambuf.tcc: Yea. Fix this for real.
3574 * testsuite/27_io/ostream_inserter_other.cc: Add file.
3575 * src/Makefile.*: Regenerate.
3577 1999-09-22 Benjamin Kosnik <bkoz@milou.cygnus.com>
3579 * bits/std_cstdlib.h: Add more linux-specif hacks to the header
3580 files so that stdtof and strtold will be declared. Some hacks
3581 already exits in bits/std_cctype.h -- these should all be removed
3583 * bits/locale_facets.tcc: Add cstring.h include.
3584 _S_format_long: Use long, not int.
3585 Add std_limits.h include, for numeric_limits.
3586 * testsuite/27_io/istream.cc: Make instantiations work when using
3588 * testsuite/27_io/ostream.cc: Same.
3590 1999-09-21 Benjamin Kosnik <bkoz@milou.cygnus.com>
3592 * bits/fpos.h (fpos::operator streamoff): Make const, don't return
3593 a reference. Same for operators == and !=.
3594 * testsuite/27_io/fpos.cc: Add tests.
3596 1999-09-21 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3598 * bits/valarray_array.h: Fix typo.
3600 * mknumeric_limits: Make sure we are regenerating things from
3601 scratch. Otherwise things get redefined. Not good.
3603 1999-09-20 Benjamin Kosnik <bkoz@milou.cygnus.com>
3605 * bits/std_ostream.h: Fix typo.
3606 * bits/std_istream.h: Same.
3607 * bits/std_iomanip.h: Same.
3609 * bits/istream.tcc (sentry::sentry()): Remove optional tie with
3610 ostream, as happens with underflow anyway.
3611 * testsuite/27_io/istream.cc (main): New file.
3612 * testsuite/27_io/ostream.cc (main): New file.
3613 * testsuite/27_io/istream_unformatted.cc: Add tests.
3615 * src/Makefile.am (headers): Add new file.
3616 * src/Makefile.in (headers): Regenerated.
3618 * bits/basic_ios.h: Remove local-related files.
3619 * bits/basic_ios.tcc: New file, add locale-related items.
3620 * src/misc-inst.cc: Add include of basic_ios.tcc, as a hack for now.
3621 * testsuite/27_io/ios_members_static.cc: Change to
3622 * testsuite/27_io/ios_base_members_static.cc: This.
3623 * testsuite/27_io/ios_members.cc: New file.
3624 * testsuite/27_io/stdios_basefield_manip: Change to
3625 * testsuite/27_io/ios_manip_basefield.cc: This.
3626 * testsuite/27_io/stdios_fmtflags_manip: Change to
3627 * testsuite/27_io/ios_manip_fmtflags.cc: This.
3629 * bits/fpos.h: Fix discarding qualifiers on this when
3630 using _M_position with a const fpos.
3631 * bits/std_iosfwd.h: Tweak.
3632 * testsuite/27_io/fpos.cc: New file.
3634 1999-09-17 Benjamin Kosnik <bkoz@milou.cygnus.com>
3636 * bits/streambuf.tcc (streambuf::xsputn): Tweak.
3637 * bits/ostream.tcc: Tweak.
3638 * testsuite/21_strings/inserters_extractors.cc (test04, test05):
3639 Add new regressions.
3641 1999-09-16 Benjamin Kosnik <bkoz@milou.cygnus.com>
3643 * bits/basic_ios.h: Inline, tweak.
3644 * bits/fstream.tcc (basic_filebuf::_M_really_overflow): Tweak,
3645 pass back accurate return value to basic_filebuf::overflow.
3646 * bits/streambuf.tcc (streambuf::xsputn): Fix overflow accounting.
3647 This fixes sstream problems reported in libstdc++/9, but screws up
3648 filebufs. That solution is pending.
3650 1999-09-15 Vadim Egorov <egorovv@1c.ru>
3652 * bits/streambuf.tcc (basic_streambuf::xsputn): Add check for
3654 * testsuite/21_strings/inserters_extractors.cc (test01): Add test.
3656 1999-09-08 Benjamin Kosnik <bkoz@milou.cygnus.com>
3658 * bits/c++config.h.in: Add emacs hints.
3660 * stl/bits/stl_range_errors.h: Don't define here, for now define
3661 in stdexcept.cc along with string inlines __length_error, etc.
3662 * src/stdexcept.cc: Define here.
3663 * stl/bits/stl_config.h (__STL_CAN_THROW_RANGE_ERRORS): Enable, so
3664 at(size_t) will be declared/defined.
3665 (__STL_THREADS): Fix mess surrounding use of this, enable.
3667 1999-08-31 Benjamin Kosnik <bkoz@milou.cygnus.com>
3669 * testsuite/27_io/istream_extractor_arith.cc: Fix.
3670 * src/localename.cc: Tweak formatting, fix assignment to
3671 const compiler errors.
3673 1999-08-25 Benjamin Kosnik <bkoz@cygnus.com>
3675 * acconfig.h: Add absf, cosf.
3676 * configure.in (use_builtin_sinf): Same.
3677 * configure: Regenerate.
3678 * bits/std_cmath.h: Add mess of defines.
3679 * testsuite/26_numerics/modf_float.cc: Change to
3680 * testsuite/26_numerics/c_math.cc: This.
3682 * src/locale.cc: Change.
3683 * bits/locale_facets.h: Fix.
3684 * testsuite/22_locale/ctype.cc: Add temporary tests.
3686 1999-08-24 Benjamin Kosnik <bkoz@cygnus.com>
3688 * bits/fpos.h: Test.
3690 * docs/index.html: Add powerpc-linux-gnu results with gcc-2.95.1.
3691 Fix database name for "libstdc++".
3693 1999-08-23 Benjamin Kosnik <bkoz@cygnus.com>
3695 * mknumeric_limits (numeric_limits): Add default definitions to
3697 * testsuite/18_support/numeric_limits.cc: New file.
3699 1999-08-18 Benjamin Kosnik <bkoz@cygnus.com>
3701 * bits/std_istream.h: Correct initialization.
3702 * bits/std_ostream.h: Likewise.
3703 * bits/std_sstream.h: Likewise.
3704 * bits/std_fstream.h: Likewise.
3705 * testsuite/27_io/stringstream.cc: Add test case.
3707 * bits/std_sstream.h: Replace ____string_type with __string_type.
3708 * bits/basic_ios.h (basic_ios::rdbuf(sb*): Call clear(), as required.
3709 * bits/std_ostream.h: Tweak dtor.
3711 1999-08-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
3713 * src/Makefile.am (CXXFLAGS): Add -O2.
3714 * src/Makefile.in: Likewise.
3716 * src/gen-num-limits.cc: Conditionally allow wchar_t. See what
3718 * mknumeric_limits (numeric_limits): Uglify.
3720 * bits/std_istream.h: Fix warnings.
3721 * bits/locale_facets.tcc: Collateral damage from
3722 char_traits<char>::int_type change.
3724 * testsuite/27_io/istream_extractor_char.cc: Terminate strings.
3726 1999-08-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
3728 * docs/index.html: Add mailing list form.
3729 * docs/27_io/howto.html: Add link to iostreams_hierarchy.pdf.
3731 1999-08-16 Benjamin Kosnik <bkoz@cygnus.com>
3733 * bits/streambuf.tcc (streambuf::xsputn): Allow copies to continue
3734 if overflow successfully allocates more space.
3735 * bits/std_sstream.h: Adjust comments.
3736 * bits/sstream.tcc (stringbuf::overflow): Copy buffer into string
3737 before overflow forces a resize.
3738 * testsuite/27_io/ostream_inserter_char.cc: New file.
3740 * bits/std_fstream.h: Remove declaration.
3741 * bits/fstream.tcc: Move uflow.
3742 * bits/std_streambuf.h: To here.
3743 * bits/streambuf.tcc: Make consistent.
3745 * src/Makefile.am (WERROR): Enable.
3746 * src/Makefile.in: Regenerate.
3747 * bits/sbuf_iter.h: Tweak.
3748 * bits/char_traits.h: (char_traits<wchar_t>::eof): Use WEOF.
3749 Use unsigned int as char_traits<char>::int_type.
3751 * bits/ostream.tcc (ostream::putc(char)): Tweak.
3752 * testsuite/27_io/iostream_objects.cc: Terminate string.
3753 Move cin::operator>>(char*) test to extractor_char.cc.
3754 * testsuite/27_io/stringstream.cc: Add stringstream instantiation.
3755 * bits/std_istream.h (basic_iostream): Make explicit definition
3757 * bits/std_sstream.h: Fix typos.
3758 * bits/fstream.tcc (_M_init_filebuf): Set to indeterminate for
3759 basic_filebuf ctor with fileno open arguments. Thus, filebufs are
3760 initialized in a consistent manner, no matter if the underlying
3761 FILE/bit bucket is a tty or a text file or some other imaginary
3762 construct. This and setting _M_buf_size to 1 for cin allows
3763 istream::get(char) to work in a manner consistent with what others
3766 * docs/index.html: Link Stroustrup's C++ page.
3768 1999-08-12 Michael Cook <cook@sightpath.com>
3770 * bits/fstream.tcc: Fix signed/unsigned -Wall warning.
3771 * bits/istream.tcc: ditto.
3772 * bits/sbuf_iter.h: ditto.
3773 * bits/std_istream.h: ditto.
3774 * src/Makefile.am: Add -Wall to CXXFLAGS.
3775 * src/Makefile.in: ditto.
3777 1999-08-12 Benjamin Kosnik <bkoz@tintin.cygnus.com>
3778 Russell Davidson <russell@ehess.cnrs-mrs.fr>
3780 * bits/locale_facets.tcc (_M_extract): Finish off patch from yesterday.
3781 * src/Makefile.am (myinstallheaders): Tweak, remove PHONY.
3783 1999-08-11 Benjamin Kosnik <bkoz@tintin.cygnus.com>
3785 * testsuite/27_io/istream_unformatted.cc: New file.
3787 * testsuite/27_io/istream_extractor_arith.cc (test02): Add more
3788 elaborate tests for int types with noskipws.
3790 * testsuite/27_io/istream_extractor_other-1.txt: New file.
3791 * testsuite/27_io/istream_extractor_other-1.tst: New file.
3792 * testsuite/27_io/istream_extractor_other-2.tst: New file.
3793 * testsuite/27_io/istream_extractor_other.cc: Add tests.
3794 * bits/istream.tcc: Fix operator>>(streambuf*).
3796 * testsuite/23_containers/vector_ctor.cc (test01): Add.
3798 * docs/index.html: Remove references to egcs.
3799 * docs/17_intro/DESIGN: Same.
3800 * docs/17_intro/contribute.html: Same.
3801 * docs/17_intro/RELEASE-NOTES: Ditto.
3802 * docs/17_intro/howto.html: Same here.
3804 Russell Davidson <russell@ehess.cnrs-mrs.fr>
3805 * stl/bits/stl_vector.h (_M_insert_aux):
3806 * bits/locale_facets.tcc (_M_extract): Tweaks for preliminary
3807 decimal/floating point support.
3808 * bits/locale_facets.h: Change _M_extract prototype.
3809 * bits/char_traits.h (char_traits::to_int_type): Cast to unsigned.
3810 * bits/std_istream.h (istream::read(char_type, streamsize)): Fix.
3812 1999-08-10 Michael Cook <cook@sightpath.com>
3814 * bits/fstream.tcc: Fix for unused variable warning (-Wall).
3815 * bits/ios_base.h: ditto.
3816 * bits/istream.tcc: ditto.
3817 * bits/locale_facets.h: ditto.
3818 * bits/locale_facets.tcc: ditto.
3819 * bits/std_streambuf.h: ditto.
3820 * src/basic_file.cc: ditto.
3821 * src/locale.cc: ditto.
3822 * src/localename.cc: ditto.
3824 1999-08-10 Kirat Singh <singhki@jany.gs.com>
3826 * bits/std_iomanip.h: Inline.
3828 1999-08-10 Alfred Minarik <a8601248@unet.univie.ac.at>
3830 * bits/std_streambuf.h: Correct member initialization order.
3831 * src/ios.cc: Add definitions for ios_base data members.
3833 1999-08-06 Phil Edwards <pedwards@ball.com>
3835 * docs/index.html: Seventh snapshot updates. Minor tweaks.
3836 * docs/faq/index.html: Ditto. Removed bugs sections that have
3837 been fixed for a long time... Lots of "egcs" references still
3839 * docs/faq/index.txt: Regenerated.
3841 1999-08-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3842 Andreas Amann <amann@physik.tu-berlin.de>
3844 * testsuite/26_numerics/binary_closure.cc (main): new test.
3846 1999-07-29 Andreas Amann <amann@physik.tu-berlin.de>
3848 * bits/valarray_meta.h: (_BinClos<>::_Binclos): fix typo causing
3851 1999-08-04 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
3853 * docs/index.html (host): Put in testing status.
3855 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
3857 * docs/index.html: Update for libstdc++-2.90.6 release.
3858 * docs/17_intro/RELEASE-NOTES (New): Update.
3859 * docs/17_intro/BUGS: Update.
3860 * bits/c++config.h.in (__GLIBCPP__): Bump version number.
3861 * README (file): Update.
3863 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
3865 * src/Makefile.am (generated_headers): Remove bits/c++config.h as
3867 ($(generated_headers)): Same.
3868 * src/gen-c++config.cc: Remove, rename to
3869 * bits/c++config.h.in: New file. Bump version number.
3870 * configure.in: Generate bits/c++config.h at configure time.
3871 * math/mathconf.h: include bits/c++config.h, not config.h.
3873 * bits/std_cmath.h: Fix remaining link error for solaris shared
3874 builds. _GLIBCPP_HAS_BUILTIN_SINF has to be disabled for the time
3875 being, as on Solaris this silently calls sinf, which does not
3878 * src/complex.cc: More tweaks.
3880 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
3882 * src/complex.cc: Same.
3883 * math/complex-stub.h: Change.
3884 * math/c_log10*.c: Change back to clog10*.c.
3886 * configure.in (NEED_C_LOG10): Delete.
3887 * configure: Regenerate.
3888 * math/Makefile.am: Change.
3890 1999-07-30 Benjamin Kosnik <bkoz@cygnus.com>
3892 * math/Makefile.am: Fix, for real.
3893 * configure.in (use_builtin_sinf): Ok, make autoconf solution.
3894 * math/clog.c: Move to c_log.c.
3895 * math/clog*: Ditto.
3896 * math/c_log10l.c (c_log10l): Change function name.
3897 * math/c_log10f.c (c_log10f): Change function name.
3898 * math/c_log10.c (c_log10): Change function name.
3900 * math/complex-stub.h: Change to c_log* variants.
3901 * src/complex.cc: And here.
3903 1999-07-29 Benjamin Kosnik <bkoz@cygnus.com>
3905 * testsuite/27_io/istream_extractor_other.cc: Correct last test.
3906 * bits/sstream.tcc (stringbuf::overflow): Don't update the input
3907 sequence, just the output sequence.
3908 * bits/std_sstream.h (stringbuf::str()): Only in stringbufs return
3909 the original string, all others use complicated heuristic.
3911 * src/complex.cc: Assume c_log10.
3912 * math/Makefile.am (EXTRA_yes): Fix c_log/c_logf unresolved
3913 symbols in shared libraries by making c_log/c_log10 part of the
3914 "must cmpile" sources. This may not work on solaris, must check.
3916 1999-07-29 Benjamin Kosnik <bkoz@cygnus.com>
3918 * bits/istream.tcc (operator>>(streambuf*)): Re-do.
3919 * bits/std_istream.h: Fix char extractors.
3920 * testsuite/27_io/istream_extractor_char.cc: Change.
3921 * testsuite/27_io/istream_extractor_other.cc: Add tests.
3923 1999-07-28 Benjamin Kosnik <bkoz@cygnus.com>
3925 * bits/std_cctype.h: Fix for solaris2.6 builds.
3927 * bits/istream.tcc: Fix, thanks Alfred.
3928 * bits/std_istream.h: Formatting changes.
3930 * libio/Makefile.am (libio_la_SOURCES): Remove cleanup.c, so that
3931 _IO_cleanup will not be undefined.
3932 * libio/*: Regenerate.
3934 * bits/basic_string.h: More namespace-safety stuff.
3935 * testsuite/27_io/istream_extractor_char.cc: Fix.
3936 * testsuite/27_io/istream_extractor_arith.cc: Fix.
3937 * testsuite/27_io/iostream_objects.cc: Fix.
3938 * testsuite/27_io/ios_ctor.cc: Fix.
3939 * testsuite/27_io/istream_manip.cc: Make namespace safe.
3940 * testsuite/27_io/istream_extractor_other.cc: New file.
3942 * mkcheck (TESTS_FILE): Tweaks.
3944 1999-07-27 Benjamin Kosnik <bkoz@cygnus.com>
3946 * src/gen-c++config.cc: Note here, change version.
3947 * acconfig.h( _GLIBCPP_USE_CTYPE_ISBIT): New macro.
3948 * src/locale.cc: Used here.
3949 * configure.in (use_builtin_sinf): Check for _ISBit using autoconf.
3951 * aclocal.m4: Regenerate by running `aclocal -I m4.`
3953 * bits/istream.tcc: Fix.
3954 * bits/std_istream.h: More changes to extractors.
3956 * testsuite/27_io/istream_extractor_char.cc: More.
3957 * testsuite/21_strings/inserters_extractors.cc (test01): Fix logic
3958 error in testsuite construction.
3960 * bits/std_istream.h: Partially revert.
3961 * bits/std_ostream.h: Same.
3962 * bits/std_sstream.h: Revert.
3964 1999-07-26 Benjamin Kosnik <bkoz@cygnus.com>
3966 * bits/std_sstream.h: Change initialization.
3967 * bits/std_ostream.h: Make default ctor/assign/operator= private.
3968 * bits/std_istream.h: Same, also correct sentry args.
3969 * bits/istream.tcc: Add correct sentry args.
3971 * testsuite/27_io/istream_extractor_char.cc: New file.
3972 * testsuite/27_io/istream_extractor_arith.cc: New file, old file,
3973 name changes making me dizzy.
3975 1999-07-26 Ulrich Drepper <drepper@happy.cygnus.com>
3976 Benjamin Kosnik <bkoz@cygnus.com>
3978 * aclocal.m4, config.guess, config.sub, ltconfig ltmain.sh: Update
3981 1999-07-26 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3983 * bits/std_complex.h: Tweak. Make the primary template class
3984 complex work with user-defined numerical types. Provide member
3985 definitions. Restructure.
3986 (class complex<float>): Uglify. Remove __value(). Rename __val
3987 to _M_value. Rename __complex_value_type to _ComplexT. Make it
3988 private. Remove dependency on __value(). Fix various explicit
3989 specialization syntax. Declare a some functions friend. Now the
3990 implementation is nearly comforming.
3991 (class complex<double>): Likewise.
3992 (class complex<long double>): Likewise.
3994 * src/complex.cc: Tweak. Remove dependency on complex::__value().
3995 (sin, sinh, tan, than): Fix call to corresponding C9x function
3998 1999-07-24 Benjamin Kosnik <bkoz@fidel.cygnus.com>
4000 * bits/istream.tcc (ws): Fix error with failbit being set.
4002 Disabled due to egcs/gcc-2_95 internal compiler errors.
4003 * src/Makefile.am (CXXFLAGS): Add -fsquangle -fhonor-std
4004 -fnew-exceptions. Compiling with namespaces enabled will now be
4006 * mkcheck (CXX_FLAG): Same.
4007 * src/gen-c++config.cc (_GLIBCPP_USE_NAMESPACES): Yup. New macro.
4008 * bits/std_cctype.h: Not enough to just define in namespace std if
4009 ctype-isms are macros. Need to also define in namespace std:: if
4010 the C functions are just plain functions.
4012 * src/gen-num-limits.cc: Fix spelling inconsistencies.
4014 1999-07-24 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4016 * docs/18_support/howto.html: Start documentation. Need to keep
4017 track of the ongoing discussion in th LWG reflector.
4019 * src/gen-num-limits.cc: Tweak.
4020 (class predicate): New class.
4021 (class value): Likewise.
4022 Make the whole machinery more flexible. Add comments.
4024 1999-07-23 Benjamin Kosnik <bkoz@fidel.cygnus.com>
4026 * bits/ios_base.h: Move state/exception functions into basic_ios.
4027 * bits/basic_ios.h: Same.
4028 * src/ios.cc: And here. Callbacks don't attempt to reset
4031 * bits/std_streambuf.h: Separate ios and streambuf locale data
4032 members and cached facets. Using this convention: _M_locale_buf for
4033 the streambuf-related classes, and _M_locale_ios for the ios
4035 * bits/fstream.tcc: And here.
4036 * bits/basic_ios.h: And here. Also, add cached ctype.
4037 * src/ios.cc: Ditto.
4038 * bits/ios_base.h: Ditto.
4039 * bits/std_istream.h: Use cached ctype facet.
4040 * docs/27_io/iostreams_hierarchy.pdf: Update for new data member
4043 * testsuite/27_io/ios_ctor.cc: New file.
4044 * src/ios.cc: Move _M_state init to basic_ios::init().
4045 * bits/basic_ios.h: To here.
4047 Attempt for some consistency in naming for testsuite/27_io/*.cc.
4048 * testsuite/27_io/boolfmt.cc: Rename to stdios_fmtflags_manip.cc
4049 * testsuite/27_io/octfmt.cc: Rename to stdios_basefield_manip.cc
4050 * testsuite/27_io/istream_manip.cc: Rename to istringstream_manip.cc.
4051 * testsuite/27_io/ostream_manip.cc: Rename to ostringstream_manip.cc.
4053 1999-07-22 Benjamin Kosnik <bkoz@fidel.cygnus.com>
4055 * src/ios.cc: Tweak initializations of standard iostream
4056 objects to closely match the standard. Tie cin/wcin, set flags on
4058 * bits/char_traits.h: Change from size_t to int_type, as per
4059 standard. As per wide streams.
4060 * bits/basic_ios.h: Infect with __ctype_type, as a preparation
4061 for caching a bunch of ctype info. For instance, ctype_base::space
4062 info needs to be stored somewhere, somehow.
4063 * bits/std_istream.h: Also here.
4064 * bits/std_ostream.h: Ditto.
4065 * bits/std_istream.h (operator>>(istream, char): Aggh. Fixup.
4066 * testsuite/27_io/iostream_objects.cacc (test01): Oh yeah. Fix
4069 * bits/istream.tcc (ws): Fix.
4070 * testsuite/27_io/istream_manip.cc: New file, test ws.
4071 * testsuite/27_io/ostream_manip.cc: New file, test endl, ends, flush.
4073 * bits/basic_string.h: Provide a specialized member function for
4074 _S_find<char> using strchr.
4075 * src/string-inst.cc: Put specializations here.
4076 * bits/string.tcc: Small fix for find, remove typo.
4077 * testsuite/21_strings/find.cc (test01): Add tests to catch this
4080 1999-07-20 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4082 * bits/basic_ios.h: Put into basic_ios namespace.
4085 1999-07-19 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4087 * bits/std_sstream.h (stringbuf::sync): Change to _M_really_sync,
4088 adjust _M_*_cur pointers inside the function, so callee doesn't
4090 * bits/sstream.tcc (stringbuf::overflow): Tweak.
4092 * mkcheck: Tweak. Add execution time field, even though it is not
4093 implemented yet. Simplify pass/fail status notation.
4095 1999-07-18 Mumit Khan <khan@xraylith.wisc.edu>
4097 * configure.in: Check for float.h and underscored version of
4099 * acconfig.h: Add @BOTTOM@ section for handling underscored
4101 * configure: Regenerate.
4102 * config.h.in: Regenerate.
4103 * math/mathconf.h (float.h): Include conditionally.
4104 (M_PI): Define conditionally.
4105 (INFINITE_P): Define for Mingw.
4106 * bits/locale_facets.tcc: Workaround for compiler crash on
4108 * bits/std_cwchar.h (bits/std_cstddef.h): Include.
4109 * src/locale.cc (bits/std_istream.h): Include.
4110 (bits/std_ostream.h): Likewise.
4112 1999-07-18 Phil Edwards <pedwards@ball.com>
4114 * docs/faq/index.html: Updated __black_count notes, fixed typos.
4115 * docs/faq/index.txt: Regenerated.
4117 1999-07-15 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4119 * testsuite/27_io/stringbuf.cc: Cccchanges, latent bugs.
4121 * bits/sstream.tcc (stringbuf::overflow): Modify accounting of
4122 newly-allocated buffer.
4123 * bits/streambuf.tcc (streambuf::xsgetn): Aaaaaah. Fix final
4124 overflow condition bits.
4126 1999-07-14 Benjamin Kosnik <bkoz@cygnus.com>
4128 * bits/std_sstream.h (stringbuf::_M_init_stringbuf): Set
4129 _M_buf_size to initial _M_string.size(), even though for
4130 ostringstreams it is pretty pointless. It's necessary for
4132 (stringbuf::str()): Adjust.
4133 (stringbuf::str()): Adjust, call _M_init_stringbuf.
4134 * bits/streambuf.tcc (streambuf::xsgetn): Adjust return value for
4135 overflow's possible success.
4136 (streambuf::xsputn): Adjust.
4138 * testsuite/27_io/filebuf.cc: Adjust for the xsgetn re-write from
4140 * testsuite/27_io/stringbuf.cc: Tweak.
4141 * testsuite/21_strings/inserters_extractors.cc (test01): Remove
4143 * testsuite/23_containers/vector_cons.cc: Rename to be consistent
4144 with other constructor tests to. . .
4145 * testsuite/23_containers/vector_ctor.cc: New file.
4147 1999-07-14 Alfred Minarik <a8601248@unet.univie.ac.at>
4149 * testsuite/*: Changes to make the testsuit compilable with
4150 -fhonor-std. Contains direct qualification of library names with
4153 1999-07-13 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4155 * bits/streambuf.tcc: Tweaks.
4156 (streambuf::xsputn): Optimize, fix for sstreams.
4157 (streambuf::xsgetn): Same.
4158 * bits/sstream.tcc (stringbuf::overflow): Adjust _M_buf_size
4159 correctly, handle overflow/reallocate conditions correctly.
4160 * bits/std_sstream.h: Fix typo.
4161 _M_init_stringbuf(): Fix _M_buf_size initialization.
4162 (stringbuf::str()): Construct return string if output has occurred.
4164 * bits/basic_string.h: Fix typo from yesterday's patch.
4166 1999-07-12 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
4168 * bits/string.tcc: _M_mutate - clear _M_state again.
4169 * bits/basic_string.h: In the three functions that return
4170 an iterator set _M_state to -1 before return.
4171 Also optimized two cases of operator+.
4173 1999-07-12 Phil Edwards <pedwards@ball.com>
4175 * docs/index.html: Expand egcs-1.1.2 notes/links.
4176 * docs/faq/index.html: And here. Add links to LWG issues-list.
4177 * docs/faq/index.txt: Regenerate. (lynx rocks)
4178 * docs/21_strings/howto.html: Fix notes on case conversion.
4179 * docs/21_strings/stringtok_h.txt: Goodly spelling...
4180 * docs/23_containers/howto.html: Stub for bitmasks.
4181 * docs/27_io/howto.html: Add section on buffering, stub binary.
4183 1999-07-12 Nathan Myers <ncm@cantrip.org>
4185 * stl/bits/stl_tree.h (__black_count): Optimize.
4187 1999-07-09 Vadim Egorov <egorovv@1c.ru>
4189 * src/basic_file.cc: Cleanup in __basic_file destructor.
4191 1999-07-08 Benjamin Kosnik <bkoz@cygnus.com>
4193 * bits/std_streambuf.h: Changes. . .
4194 * bits/streambuf.tcc: Merge xsputn from filebuf into xsputn in
4195 basic_streambuf, to be used for both filebufs and streambufs.
4196 * bits/std_fstream.h (_M_init_filebuf): New function.
4197 Take out specialized xsputn, put into basic_streambuf.
4198 * bits/fstream.tcc: Define, call from both ctors.
4199 * bits/std_sstream.h (_M_init_stringbuf): New function.
4200 * bits/sstream.tcc: Tweak.
4202 * docs/27_io/iostreams_heirarchy.pdf: New file.
4204 * docs/17_intro/CHECKLIST (basic_string<char>): Validation and
4205 acceptance. Wooo-hoo!
4207 * bits/char_traits.h: Change int_type for char_traits general
4208 template, so that 21_strings/capacity.cc will compile.
4209 * testsuite/21_strings/capacity.cc: Add operators.
4211 * bits/string.tcc (string::compare): Clean up, re-implement.
4212 * testsuite/21_strings/compare.cc: Tweak.
4214 * bits/string.tcc (string:_M_mutate): Keep leaked value in
4215 _M_state, which means that whenever begin() or end() has been
4216 called, the string is unshareable, period. By doing this, insert
4217 and erase member functions that return iterators can remain
4218 footloose and fancy free.
4219 * testsuite/21_strings/invariants.cc: Update.
4221 * bits/basic_string.h (string::append): Fix self-referential
4222 problems, ie when "this" is also an argument to a member function.
4223 * bits/string.tcc: Tweak, same.
4224 * testsuite/21_strings/append.cc: New file.
4226 1999-07-07 Benjamin Kosnik <bkoz@cygnus.com>
4228 * bits/char_traits.h: Tweaks.
4229 * bits/basic_string.h: Tweak.
4230 * bits/fstream.tcc: Remove warning for _M_buf_size assignment.
4232 1999-07-06 Benjamin Kosnik <bkoz@cygnus.com>
4234 * bits/std_streambuf.h: Absorb/acquire data members previously
4235 working in basic_filebuf.
4236 * bits/streambuf.tcc: Tweaks.
4237 * bits/fstream.tcc: Adjust.
4238 * bits/std_fstream.h: Move and rename the following functions:
4239 _M_set_ideterminate, _M_is_indeterminate, _M_set_determinate are
4240 now declared and defined in the base class, basic_streambuf. Oh
4241 fuck it, move data members _M_buf, and _M_buf_size into
4242 basic_streambuf as well.
4244 * bits/ostream.tcc: Tweak.
4245 * bits/locale_facets.tcc: Fix typo in comments.
4247 * testsuite/21_strings/inserters_extractors.cc (test01): Change
4248 state from good to not good, as eof() is set.
4250 1999-07-05 Benjamin Kosnik <bkoz@cygnus.com>
4252 * bits/char_traits.h (char_traits::compare). Fix.
4254 * config.guess, config.sub: Update.
4256 1999-07-02 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
4258 * bits/string.tcc: Check the __res_arg for a length error.
4260 1999-07-01 Benjamin Kosnik <bkoz@nabi.net>
4262 * bits/std_streambuf.h: Tweaks. Need to move _M_is_indeterminate
4263 and related functions into basic_streambuf, from basic_filebuf to
4264 take care of ostringstreams and empty strings. So that's groovy,
4266 * bits/std_istream.h: Tweaks.
4267 * bits/istream.tcc: Implement ws, getline, operator>> for string.
4268 * bits/std_ostream.h: And here.
4269 * bits/ostream.tcc: Same.
4270 * src/misc-inst.cc: Add instantiations for ws.
4272 * src/string-inst.cc: Add instantiations for inserters and
4273 extractors (operators << and >>, getline).
4275 * testsuite/21_strings/inserters_extractors.cc: Amazingly enough,
4276 a testcase for getline and operators << and >>. Ostream tests are
4277 failing right now, but istream tests should work. . .
4279 * bits/string.tcc: Change _S_max_size, as GNU malloc won't budge.
4280 * bits/std_sstream.h: Revert.
4282 * testsuite/17_intro: header_[iosfwd, ios, iostream, iomanip,
4283 istream, ostream, streambuf, fstream, sstream].cc: New files.
4285 1999-06-30 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
4287 * bits/std_sstream.h (stringbuf::sync): Don't use string::begin()
4290 * bits/basic_string.h (basic_string<>::_S_copy_chars): Add
4291 specializations for _CharT*, iterator and const_iterator.
4292 * src/string-inst.cc: Remove explicit instantiation, as
4293 now explicitly specialized.
4295 * bits/basic_string.h: Add a size_type parameter to _M_clone with
4296 a default value set to 0.
4297 * bits/string.tcc: In _M_clone by the call of _S_create add the
4298 value of the new parameter to _M_length. In reserve check
4299 _M_state and use _M_clone instead of _M_mutate.
4301 1999-06-30 Benjamin Kosnik <bkoz@happy.cygnus.com>
4303 * bits/basic_string.h: Fix _S_max_size.
4304 * bits/string.tcc: Add def here.
4305 * testsuite/21_strings/insert.cc: Fix.
4307 * bits/sbuf_iter.h: Remove detritus.
4308 * testsuite/24_iterators/istreambuf_iterator.cc: Add tests.
4310 * src/locale-inst.cc: Elaborate iterator/locale instantiations
4311 to resolve alpha-osf4 build problems.
4313 1999-06-29 Benjamin Kosnik <bkoz@happy.cygnus.com>
4315 * bits/string.tcc: Fix signed/unsigned issues in compares.
4316 * stl/bits/stl_deque.h: And here.
4317 * stl/bits/stl_string_fwd.h: Remove __get_c_string.
4319 1999-06-29 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
4321 * bits/string.tcc: New implementation and interface of _M_mutate.
4322 Adapt the change in all functions that call _M_mutate.
4323 * bits/basic_string.h: And here.
4325 1999-06-29 Benjamin Kosnik <bkoz@happy.cygnus.com>
4327 * testsuite/21_strings/capacity.cc (test01): Fix.
4329 1999-06-29 Phil Edwards <pedwards@ball.com>
4331 * mknumeric_limits: Exit script if gen-num-limits isn't built.
4333 1999-06-29 Andreas Gruenbacher <agruenba@pent224.infosys.tuwien.ac.at>
4335 * stl/bits/stl_vector.h: Fix.
4336 * testsuite/23_containers/vector_cons.cc: Add.
4338 1999-06-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4340 * mknumeric_limits (LDFLAGS): fix.
4342 1999-06-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4344 * mknumeric_limits (LDFLAGS): set it according to the system.
4346 * math/mathconf.h (NAN): Check whether host is running under
4347 Cygwin and make the appropriate definition.
4348 * math/complex-stub.h (nan): protect declaration.
4350 1999-06-28 Benjamin Kosnik <bkoz@haight.constant.com>
4352 * bits/sbuf_iter.h: Rename internal data structure to prevent
4353 confusion between basic_ios and istreambuf_iterators internal
4354 basic_streambuf data member.
4355 * testsuite/24_iterators/istreambuf_iterator.cc: New file.
4357 * bits/basic_string.h: Remove conditionals, add input_iterator
4358 version of S_construct again.
4359 * bits/string.tcc: Same.
4360 * src/string-inst.cc: And add explicit instantiation here.
4362 * src/gen-c++config.cc (_GNU_SOURCE): Take out both _GNU_SOURCE
4363 and __USE_GNU macro defines, as single __USE_GNU use leading to
4364 confusion on glibc2.1 systems (ie, RedHat 6.0).
4366 * src/Makefile.am (headers): Add std_utility to installed headers.
4368 1999-06-25 John Potter <jpotter@eagle.lhup.edu>
4370 * stl/bits/stl_tree.h (insert_unique): Revert, just fix insert_equal.
4372 1999-06-25 Gilles Zunino <Gilles.Zunino@hei.fr>
4374 * mknumeric_limits (LDFLAGS): Swap -lc and -lgcc.
4376 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
4378 * src/gen-c++config.cc (_GLIBCPP_*): Change all
4379 macros to include _GLIBCPP as a distinct namespace.
4383 * stl/bits/std_stdexcept.h: Forward-declare __Named_exception ctor.
4384 * bits/basic_string.h: Remove __get_c_string.
4385 * src/stdexcept.cc: Define ctor here.
4386 * bits/ios_base.h: And fix ios_base::failure as well.
4387 * src/ios.cc: Define here.
4389 * bits/std_streambuf.h: Add a private copy ctor and assignment
4390 operator wrapped in _G_RESOLVE_LIB_DEFECTS.
4391 * bits/ios_base.h: And here too.
4393 * bits/basic_string.h: Tweak.
4394 * testsuite/21_strings/nonmember.cc: Add operator+ tests.
4396 * src/valarray.cc: Rename to. . .
4397 * src/valarray-inst.cc: This.
4398 * src/Makefile.am (sources): Change here.
4399 * src/Makefile.in: Regenerated.
4401 1999-06-24 Vadim Egorov <egorovv@1c.ru>
4403 * bits/string.tcc(basic_string<>::_Rep::_S_create): Fixed
4406 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
4407 Tom Tromey <tromey@cygnus.com>
4409 * configure.in (use_glibc2): Eek, correct for non-glibc systems.
4410 Use AM_CONDITIONAL to get us out of this jam. .
4411 * libio/Makefile.am: Same.
4412 * */Makefile: Regenerated.
4414 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
4415 John Potter <jpotter@eagle.lhup.edu>
4417 * stl/bits/stl_tree.h (insert_equal): Fix.
4418 * testsuite/23_containers/multiset.cc: New file.
4420 1999-06-23 Benjamin Kosnik <bkoz@cygnus.com>
4422 * configure.in (test for glibc2): Correct AC_TRY_COMPILE so that
4423 this works correctly on glibc-2 systems. This should allow
4424 simplified linking on these systems, and successful linking on Red
4426 * configure, Makefile: Regenerate.
4428 * bits/std_cwctype.h: Add missing 'w' to _S_iswpunct_helper name.
4430 * testsuite/ext: New directory.
4431 * testsuite/ext/headers.cc: New file.
4433 1999-06-23 Vadim Egorov <egorovv@1c.ru>
4435 * stl/ext/hash_set: include missing headers
4436 * stl/ext/hash_map: Same
4437 * stl/ext/slist: Same
4439 1999-06-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4441 * bits/std_cmath.h: comment out modf. Kills build on hpux10.20
4443 1999-06-15 Benjamin Kosnik <bkoz@cygnus.com>
4445 * src/Makefile.am (sources): Regenerate.
4446 * mkcheck: Add TESTS_FILE as a way of controlling what testcases
4449 1999-06-14 Benjamin Kosnik <bkoz@cygnus.com>
4451 * src/string-inst.cc: Change _S_construct signature, to
4452 track requested allocation size versus valid input iterator range.
4453 * bits/basic_string.h: Here too.
4454 * bits/string.tcc: And here.
4456 1999-06-12 Benjamin Kosnik <bkoz@cygnus.com>
4458 * mkcheck (LOG_FILE): Correctly append errors.
4460 * stl/bits/stl_iterator.h: Revert previous, delirious, change.
4462 * bits/basic_string.h: Change _Rep::_M_data to _Rep::_M_refdata,
4463 to clarify differences between basic_string::_M_data() calls and
4464 _Rep::_M_data() calls.
4465 * bits/std_string.h: Fix.
4466 Put in check for out_of_range in substr.
4467 * bits/string.tcc: Fix for _S_find.
4469 * testsuite/21_strings/compare.cc: Add tests.
4470 * testsuite/21_strings/find.cc: New file.
4471 * testsuite/21_strings/substr: New file.
4472 * testsuite/21_strings/replace.cc: New file.
4474 1999-06-11 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4476 * bits/valarray_array.h: __restrict__ify pointers.
4478 * bits/std_valarray.h: Tweak.
4479 (valarray<T>::cshift, valarray<T>::shift): use __builtin_alloca.
4481 * bits/gslice_array.h: Tweak. Reflect changes in bits/gslice.h
4483 * bits/gslice.h: Tweak.
4484 (class gslice::_Indexer): new class.
4485 (gslice::gslice(const gslice&)): implement copy-ctor to support
4487 (gslice::operator=(const gslice&)): support ref-counted index.
4488 (gslice::_M_convert_to_index): delete.
4490 * src/valarray.cc: New file.
4491 (__gslice_to_index): turn a gslice into a valarray<size_t>
4492 (ctor gslice::_Indexer::_Indexer): implement.
4494 * src/Makefile.am (sources): add valarray.cc
4495 * src/Makefile.in: regenerate.
4497 1999-06-08 Benjamin Kosnik <bkoz@cygnus.com>
4499 * stl/bits/stl_iterator.h (__normal_iterator::const_iterator
4500 ctor): Put in a const_cast.
4502 * testsuite/21_strings/invariants.cc: New file.
4504 * testsuite/21_strings/insert.cc: Add exception handling bits.
4505 * testsuite/21_strings/ctor_copy_dtor.cc: Same.
4507 * src/wstring-inst.cc: Add c++config.h include.
4509 * bits/basic_string.h: Fix const operator[] for size == pos.
4510 Add _M_leak for rbegin, non-const.
4511 Add _M_leak for rend, non-const.
4512 Make member function at standards conformant.
4513 Add _S_terminal to _Rep for operator[] const, add this into
4515 * bits/string.tcc: Add static member definition here,
4518 * testsuite/21_strings/element_access.cc: Add tests.
4520 1999-06-08 Vadim Egorov <egorovv@1c.ru>
4522 * bits/fstream.tcc (_M_really_overflow): Fixed size of
4525 1999-06-08 Phil Edwards <pedwards@ball.com>
4527 * bits/fstream.tcc (basic_filebuf::xsputn): Fix off-by-one count
4528 caused when __testinit is true.
4529 * bits/ostream.tcc (basic_ostream::op<<(streambuf*)): Write buffer
4530 using rdbuf()->sputn rather than _M_fnumput->put.
4532 1999-06-08 Benjamin Kosnik <bkoz@tintin.cygnus.com>
4534 * testsuite/23_containers/bitset_ctor.cc: New file.
4535 * stl/bits/std_bitset.h (__BITSET_WORDS): Fix integration bug.
4537 1999-06-08 Phil Edwards <pedwards@ball.com>
4539 * bits/fstream.tcc (basic_filebuf::underflow): Fix, rename local vars.
4541 1999-06-07 Benjamin Kosnik <bkoz@tintin.cygnus.com>
4543 * testsuite/21_strings/element_access.cc: Finish off these tests.
4544 * testsuite/21_strings/insert.cc (test01): Uncomment.
4545 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Finish off ctors.
4546 * bits/basic_string.h: Tweak, okay, fix for real this time.
4547 * bits/string.tcc: Same.
4548 * bits/char_traits.h: Tweak.
4550 1999-06-07 Benjamin Kosnik <bkoz@tintin.cygnus.com>
4552 * bits/std_cmath.h: Example of how to use the generated macro.
4553 * acconfig.h: Add macro for sinf here.
4554 * configure.in (LIBS): Add test for builtin math function sinf.
4555 * configure: Regenerated.
4557 * bits/basic_string.h: Fix _S_max_size.
4559 1999-06-06 Benjamin Kosnik <bkoz@tintin.cygnus.com>
4561 * bits/basic_string.h: Fixes for out-of-memory segv for large strings.
4562 Remove _S_construct signature for forward_iterator_tag and
4565 * src/string-inst.cc: Same, tweaks.
4566 * bits/string.tcc: Same, tweaks.
4568 * testsuite/21_strings/ctor_copy_dtor.cc: Add/clarify tests.
4569 * mkcheck (LOG_FILE): Fix filebuf-[2,3].tst checks.
4570 * mknumeric_limits (LD_FLAGS): Add -nodefaultlibs -lc -lgcc as per
4573 * src/locale.cc: Final separation for char/wchar_t bits.
4575 1999-06-05 Phil Edwards <pedwards@ball.com>
4577 * docs/index.html: Added link to book upon request'n'agreement.
4578 * docs/23_containers/wrappers_h.txt: Added.
4579 * docs/{23_containers,27_io}/howto.html: Added sections.
4581 * bits/std_fstream.h: Tweak.
4583 1999-06-05 Benjamin Kosnik <bkoz@tintin.cygnus.com>
4585 * src/ios.cc: Same here.
4586 * bits/std_iosfwd.h: More wchar_t defines.
4588 * bits/basic_string.h: Tweaks.
4589 * bits/string.tcc: Tweak. Fix _S_construct to check for max_size
4590 when doing error checking, as per LWG defect #83.
4592 * src/gen-c++config.cc: Fix comment.
4594 * testsuite/21_strings/ctor_copy_dtor.cc: New file, checks ctors,
4596 * testsuite/21_strings/element_access.cc: New file, checks for
4597 operator[], at(...).
4598 * testsuite/21_strings/insert.cc: New file, tests string::insert.
4599 * testsuite/21_strings/char_traits.cc: New file, tests
4600 for char_traits<char>.
4602 * bits/utility.h: Remove, again.
4603 * src/Makefile.am (std_headers): Remove utility.h.
4604 * src/Makefile.in (std_headers): Regenerate.
4606 Alfred Minarik <a8601248@unet.univie.ac.at>
4607 * bits/basic_string.h: Move __out_of_range and __length_error into
4610 1999-06-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4612 * testsuite/26_numerics/modf_float.cc: New file.
4614 * bits/std_cmath.h (modf(float, float*)): Fix signature. Correct
4615 typo: use ::modff, not ::modf.
4617 1999-06-03 Vadim Egorov <egorovv@1c.ru>
4619 * bits/string.tcc (basic_string::_M_mutate): Fixed memory
4621 * testsuite/21_strings/capacity.cc (test01): Test.
4623 1999-06-03 Phil Edwards <pedwards@ball.com>
4625 * bits/fstream.tcc: Re-order inits to stop warnings. Comment/move
4626 unused variables to within #if 0 blocks to do the same.
4627 * bits/std_fstream.h: Fix typos (one prevents compilation).
4629 1999-06-03 Benjamin Kosnik <bkoz@pacifica.cygnus.com>
4631 * src/wstring-inst.cc: Fix.
4633 1999-06-02 Benjamin Kosnik <bkoz@madcow.cygnus.com>
4635 * bits/char_traits.h: Add _G_USE_WCHAR_T macro guards.
4636 * stl/bits/stl_string_fwd.h: Same.
4637 * bits/locale_facets.h: Same.
4638 * bits/locale_facets.tcc: Same.
4639 * src/wstring-inst.cc: And here.
4641 * src/gen-c++config.cc: Comment _G_USE_WCHAR_T. Leading to
4642 problems on HPUX 10.20.
4643 * your-build-directory-here/bits/c++config.h: Just kidding, do it
4644 here as a temporary hack till the compiler/host problems get
4647 * bits/locale_facets.tcc (num_get::do_get): Change from ifdef
4648 HAVE_STRTOLD to HAVE_STRTOLD && !(__hpux). Apparently, problems
4649 converting "long double" to struct long_double. Probably should be
4650 done with one macro (HAVE_STRTOLD) at configure time.
4652 * bits/std_cmath.h: Comment out pow(double, int) defintion as
4653 gives re-declaration under hpux10.20. Revert previous change, as
4654 kills linux/x86, solaris 2.7, hpux builds. These should be done
4655 using autoconf, see std_cctype.h and the solutions started in
4656 configure.in (see config.h for the generated file.)
4658 * mknumeric_limits (LDFLAGS): Remove '-nodefaultlibs -lc', as
4659 -nodefaultlibs prevents linking under HPUX 10.20 as __main is not
4662 * docs/index.html: Add some useful links.
4663 * docs/17_intro/contribute.html: Fix broken links.
4665 1999-06-02 Benjamin Kosnik <bkoz@rhino.cygnus.com>
4667 * mkcheck (LOG_FILE): Add !/bin/bash instead of cygnus-style
4668 paths. The rest of the world should be able to run this script
4671 * src/Makefile.am ($(generated_headers)): Remove comment.
4672 * Makefile*: Regenerate.
4674 * bits/std_locale.h: Remove detritus.
4675 * bits/localefwd.h: Add <cctype> include to undefine the isspace
4678 1999-06-01 Benjamin Kosnik <bkoz@tintin.cygnus.com>
4680 * src/gen-c++config.cc: New file. Making c++config.h at configure
4681 time by catting this file (nee bits/config.h) with the build
4682 directories config.h. This is not a complete or perfect solution
4683 but is better than what was in place previously.
4684 * bits/c++config.h: Rename/move to above.
4685 * src/Makefile.am (headers): Remove c++config.h.
4686 (myinstallheaders). Add.
4687 * Makefile*: Regenerated.
4689 * bits/std_cwchar.h: Add include of c++config.h for HAVE_*
4690 definitions, so that wmemcmp, wcslen, wmemchr, etc are properly
4691 declared only if not present in the host's wchar.h.
4693 * bits/locale_facets.tcc (std): Change _G_USE_STRTO* to HAVE_STRTO*.
4695 * bits/std_cmath.h: Define out, for the moment. Linux has no
4696 __buitin_fsqrtl? Probably need some kind of configure trickery
4699 * src/Makefile.*: Regenerate.
4700 * bits/c++config.h: Add config.h include.
4702 * bits/std_cwchar.h: Remove remaining #error guard.
4704 * acconfig.h: Add bits for HAVE_LC_MESSAGES.
4706 * configure.in (LIBS): Replace previous effort for mbstate_t and
4707 strtold/strtof with this implementation.
4709 1999 06-01 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4711 * bits/std_cmath.h: Tweak. Add more functions. Use __builtin_xxx
4714 1999-05-28 Benjamin Kosnik <bkoz@cygnus.com>
4716 * bits/locale_facets.tcc (std): Eek: this left in. Autoconf bits
4717 for determining mbstate_t differences across various hosts not
4720 1999-05-26 Benjamin Kosnik <bkoz@nabi.net>
4722 * bits/locale_facets.tcc: Change to ifdef.
4724 * bits/std_sstream.h (stringbuf::setbuf): Remove dynamic_cast.
4725 * bits/std_fstream.h (filebuf::setbuf): Same.
4727 * bits/std_istream.h: Add ws declaration.
4728 * bits/istream.tcc: Stub out definition.
4730 * docs/index.html: Fix broken link for design.txt.
4732 * configure.in: Test for mbstate_t. If wchar.h doesn't have it,
4733 then set _G_NEED_MBSTATE_T.
4734 * configure: Regenerate.
4735 * bits/c++config.h: Move mbstate_t define.
4736 * bits/std_cwchar.h: To here.
4738 1999-05-25 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
4740 * bits/std_sstream.h:
4741 basic_stringbuf<>::basic_stringbuf: fix.
4742 basic_stringbuf<>::setbuf:
4743 remove the temporary __string_type object,
4744 remove the unnecessary dynymic_cast in the return value,
4745 change the type of the returned value from __streambuf_type*
4746 to basic_stringbuf<_CharT, _Traits, _Alloc>*.
4748 1999-05-25 Phil Edwards <pedwards@ball.com>
4750 * bits/std_streambuf.h (streambuf::setbuf): Always return streambuf*.
4752 1999-04-25 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4754 * bits/std_cmath.h: Tweak. Add float versions of the math functions
4755 in <math.h>. <cmath> still incomplete and incorrekt.
4757 1999-05-24 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4759 * mknumeric_limits (LDFLAGS): set appropriate link flags.
4761 1999-05-23 Phil Edwards <pedwards@ball.com>
4763 * docs/17_intro/howto.html: Added links to text docs,
4765 * docs/21_strings/howto.html: Updated sections and links.
4766 * docs/21_strings/{gotw29a.txt,stringtok_h.txt}: Added.
4767 * docs/faq/index.html: Updated what-works for sixth
4768 snapshot. Also a number of "internal" links have been
4769 fixed, now that the web pages are the docs directory...
4770 * docs/faq/index.txt: Regenerated.
4772 1999-05-21 Benjamin Kosnik <bkoz@tintin.cygnus.com>
4774 * bits/basic_string.h: Add Nathan's documentation on the string class.
4776 * testsuite/27_io/ios_members_static.cc: New file, for testing
4777 ios_base::sync_with_stdio.
4779 1999-05-21 Benjamin Kosnik <bkoz@tintin.cygnus.com>
4781 * bits/std_locale.h: Simplify includes.
4782 * bits/loccore.h: Delete.
4783 * bits/localefwd.h: Renamed, trimmed.
4784 * bits/locfacets.h: Delete.
4785 * bits/locale_facets.h: Rename, expanded.
4786 * bits/loccore.tcc: Deleted.
4787 * bits/locfacets.tcc: Deleted.
4788 * bits/locale_facets.tcc: Resultant merge.
4789 * bits/std_fstream.h: Modify include.
4790 * bits/ostream.tcc: Same.
4791 * bits/istream.tcc: Same.
4793 * src/locale-inst.cc: And here.
4794 * src/locale.cc: Ditto.
4795 * src/Makefile.am: Updated.
4796 * src/Makefile.in: Rengenerated.
4798 * bits/std_istream.h: Move istream::sentry ctor definition.
4799 * bits/istream.tcc: Move istream::sentry ctor here.
4800 Add more detailed locale include here for ctype member functions.
4801 * bits/ostream.tcc (std): And here.
4803 * bits/sbuf_iter.h: Include std_streambuf.h
4805 * bits/locfacets.h: Start separating this into a localeimp.h file.
4806 * bits/loccore.h: Start separating this into a localefwd.h file.
4807 Add std_climits for CHAR_BIT.
4809 * bits/ios_base.h (ios_base::sync_with_stdio): Stub in.
4811 * bits/char_traits.h: Tweak.
4813 * bits/ios_base.h: Remove INT_MAX, use 1<<16.
4815 * bits/std_ostream.h: Remove c++config.h include.
4816 * bits/std_istream.h: Same.
4817 * bits/std_streambuf.h: Same.
4818 * bits/std_fstream.h: Same.
4819 * bits/std_sstream.h: And here.
4821 * bits/std_iosfwd.h: Add _G_RESOLVE_LIB_DEFECTS here for streampos.
4822 * bits/char_traits.h: Add include of std_cwchar.h for mbstate_t.
4823 * bits/fpos.h: Tweak, format.
4825 * std/ciso646: New file.
4826 * bits/std_ciso646.h: New file.
4827 * src/Makefile.am (std_headers): Add ciso646.
4828 (headers): Add bits/std_ciso646.h.
4829 * src/Makefile.in: Regenerate.
4830 * testsuite/17_intro/header_ciso646.cc: New file, disable
4833 * bits/fpos.h: Remove libio.h include.
4834 * bits/basic_file.h: And here.
4835 * bits/std_ios.h: Put here.
4837 * src/ios.cc: Simplify includes, tweak.
4838 * bits/std_ios.h: Simplify include order.
4839 * bits/ios_base.h: Modify ios_base::failure.
4841 * stl/bits/std_numeric.h: Change include from stl_iterator to
4844 1999-05-19 Benjamin Kosnik <bkoz@tintin.cygnus.com>
4846 * std/iostream: Remove static member __ioint.
4847 * bits/std_iostream.h: Put here.
4849 * stl/bits/std_numeric.h: Remove unneccessary std_iostream.h include.
4850 * stl/bits/stl_algobase.h: Same.
4851 * testsuite/27_io/iostream_objects.cc: Regression tests.
4852 * testsuite/27_io/hello.cc: Remove, subset of above.
4854 1999-05-19 Phil Edwards <pedwards@ball.com>
4856 * docs/index.html: Tweak, update.
4858 1999-05-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4860 * docs/17_intro/RELEASE-NOTES: remove outdated
4861 documentation about numeric_limits. Correct CXXINCLUDE setting
4864 1999-05-18 Phil Edwards <pedwards@ball.com>
4866 * docs/{17_intro,18_support,19_diagnostics,20_util,21_strings,
4867 22_locale,23_containers,24_iterators,25_algorithms,26_numerics,
4868 27_io}/howto.html: Created, with some initial entries.
4869 * docs/faq/index.html: Fixed some links.
4870 * docs/faq/index.txt: Regenerated.
4872 1999-05-18 Benjamin Kosnik <bkoz@tintin.cygnus.com>
4874 * bits/c++config.h (__GLIBCPP__): Set version to 19990518.
4876 * docs/17_intro/RELEASE-NOTES: Update.
4877 * docs/index.html: Correct link to mailing list help page, update News.
4878 * docs/faq/index.html: Change fifth to sixth for snapshot.
4880 * src/Makefile.am (myinstallheaders): Bring over Gaby's changes to
4881 install $(top_builddir)/bits/std_limits.h into
4882 $(myincludepfx)/bits. This was mistakenly omitted from yesterday's
4883 Makefile.am changes.
4884 * *Makefile*: Regenerate using automake.
4886 * mkcheck (LOG_FILE): Fix filebuf directory oddness.
4887 * testsuite/27_io/filebuf.cc: Same.
4889 1999-05-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4891 * docs/17_intro/CHECKLIST: update.
4892 * docs/17_intro/TODO: update.
4894 1999-05-17 Phil Edwards <pedwards@ball.com>
4896 * docs/{17_intro,18_support,19_diagnostics,20_util,21_strings,
4897 22_locale,23_containers,24_iterators,25_algorithms,26_numerics,
4898 27_io}/howto.html: Created, with some initial entries.
4899 * docs/faq/index.html: Fixed some links.
4900 * docs/faq/index.txt: Regenerated.
4902 1999-05-17 Benjamin Kosnik <bkoz@unhappy.cygnus.com>
4904 * src/Makefile.am (myinstallheaders): Missed removing missing.h.
4905 * Makefile.in*: Regenerate.
4907 1999-05-17 Benjamin Kosnik <bkoz@happy.cygnus.com>
4909 * bits/std_streambuf.h: Same.
4911 * bits/loccore.h (_Bad_use_facet): Remove bits warned about.
4912 * bits/locfacets.h (std): Same.
4913 * bits/sstream.tcc: Same.
4914 * testsuite/27_io/stringstream.cc: Tweak.
4916 * testsuite/27_io/filebuf.cc: Adjust.
4917 * testsuite/21_strings/capacity.cc (test01): Add more
4918 string::reserve tests.
4920 * bits/c++config.h: Remove broken CCTYPE.
4921 * bits/std_cctype.h: Tweak, remove de-macroization, enable
4922 sequestered topper implementation.
4923 * bits/std_cwctype.h: Same.
4925 * bits/missing.h: Remove.
4926 * bits/std_locale.h: Remove missing.h include.
4928 * stl/bits/std_bitset.h (bitset::bitset(string): Tweak to compile.
4930 * src/Makefile.am (headers): Add bits/std_cwctype.h.
4931 INCLUDES: Add top_builddir.
4932 * src/Makefile.in: Regenerate.
4934 * Makefile.am: Add check and check-install as new targets.
4935 * testsuite/make_check_libfree++: Move to. . .
4937 * configure.in: Tweak versions.
4938 * mknumeric_limits: Set paths correctly.
4940 1999-05-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4942 * src/Makefile.in (myinstallheaders): add rule to install
4945 * bits/slice.h (class slice): don't const-qualify data members
4946 since the copy and assignment operator is implicitly used. The
4947 valarray specification is definitively a bad one.
4949 * Makefile.in (generate-limits-sources): fix typo.
4951 * docs/text/TODO: update.
4952 * docs/text/CHECKLIST: update.
4954 * bits/gslice.h (gslice): fix bugglet.
4955 (gslice::gslice): set _M_index_size to 0 whenever given lengths
4958 * src/Makefile.am (libstdc___la_SOURCES): add gen-num-limits.
4959 * src/Makefile.in (libstdc___la_SOURCES): keep in sync.
4960 [Note: **/Makefile.in should be generated from the corresponding
4961 Makefile.am. The current situation is a litte chaotic. ]
4963 1999-05-16 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4965 * mknumeric_limits: tweak.
4967 * Makefile.in (all): add target generate-limits-sources.
4968 (generate-limits-sources): make a directory bits/ in top_builddir
4969 where the generated std_limits.h is put; generate limitsMEMBERs.cc
4970 directly under $(top_builddir)/src. Remains to put the appropriate
4971 rule for installing std_limits.h.
4973 * src/Makefile.in (headers): remove bits/std_limits.h to this list.
4974 (INCLUDES): add -I$(top_builddir) for bits/std_limits.h which is
4975 now generated at build-time in the build directory
4976 (libstdc___la_SOURCES): remove limitsMEMBERS.cc form this list
4977 * src/Makefile.am: reflect changes in src/Makefile.in
4979 1999-05-12 Phil Edwards <pedwards@ball.com>
4981 * docs/faq/index.html: Add more entries (5.4,5.5), finish
4982 all but one empty entry. Add links for HOWTOs, but no files yet.
4983 (Corrected HOWTO links are for bkoz's new scheme.)
4984 * docs/faq/index.txt: Regenerated.
4986 1999-05-12 Benjamin Kosnik <bkoz@happy.cygnus.com>
4988 * testsuite/17_intro/headers.cc: New file.
4989 * stl/bits/std_queue.h: Change stl_bvector.h include path.
4990 * bits/std_cwctype.h: New file.
4992 * testsuite/27_io/filebuf.cc: Need to tweak directory structure.
4994 1999-05-11 Benjamin Kosnik <bkoz@loony.cygnus.com>
4996 * stl/bits/stl_config.h (__USE_MALLOC): Change underlying allocator.
4997 Check __USE_MALLOC before defining specializations containing
4998 __default_alloc_template.
4999 * src/stl-inst.cc: Here too.
5001 * bits/basic_string.h: Change.
5003 * testsuite/make_check_libfree++: More tweaks.
5004 * testsuite/21/capacity.cc: New file.
5006 * src/string.cc: Rename to be consistent with other inst files.
5007 Rename to string-inst.cc.
5008 * src/string*.cc: Change include.
5009 * src/wstring.cc: Rename to wstring-inst.cc.
5010 * src/wstring*.cc: Ditto.
5011 * src/Makefile.in: Also here.
5012 * src/Makefile.am: Ditto.
5014 * src/traits.cc: Remove.
5015 * src/wtraits.cc: Same.
5017 Try a new way of organizing documentation, one with synchronicity
5018 between testsuites and docs subdirectories, and see who yelps.
5019 * docs/html: Remove, use chapter and subject specific directories
5020 instead of forcing things immediately into format of
5024 * docs/faq/text, docs/faq/html: Remove, put in the docs/faq
5025 directory and sort by filename and extension.
5026 * docs/17_intro, 18_support, 19_diagnostics, 20_util, 21_strings,
5027 22_locale, 23_containers, 24_iterators, 25_algorithms,
5028 26_numerics, 27_io: Add.
5029 * docs/17_intro/*: Populate with all the text files. . .
5030 * docs/index.html: Construct.
5032 * testsuite/*: Update with same names as the docs subdir.
5033 * testsuite/results: Where to stash conformance results for the
5034 different snapshots, so that progress/size/speed issues can be
5037 1999-05-10 Benjamin Kosnik <bkoz@loony.cygnus.com>
5039 * src/string.cc: Add _S_copy_chars instantiation, as well as
5040 string::binary operators !=, ==, etc.
5042 * src/Makefile.am (CXXFLAGS): Remove -fvtable-thunks.
5043 * src/Makefile.in (CXXFLAGS): Same here.
5044 * testsuite/make_check_libfree++ (CXX_FLAG): And here.
5046 1999-05-07 Benjamin Kosnik <bkoz@cygnus.com>
5048 * src/string.cc: Add missing member functions to instantiation list.
5050 1999-05-07 Benjamin Kosnik <bkoz@cygnus.com>
5052 * src/misc-inst.cc: Remove unused string instantiations.
5054 * bits/string.tcc: Tweak, fix.
5055 * bits/basic_string.h: Format. Fix reported error with c_str().
5057 * testsuite/make_check_libfree++: Tweak for shared builds.
5058 * testsuite/21/operations.cc: New file for testing c_str() etc.
5060 1999-05-06 Benjamin Kosnik <bkoz@cygnus.com>
5061 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
5063 * stl/bits/stl_vector.h: Fix the code of vector<> for usage with
5064 an iterator class. Delineate pointer versus iterator differences
5066 * 23/vector_capacity.cc: New file, tests for above.
5068 1999-05-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5070 * mknumeric_limits: Fix typo. 'unsigned lont' should read
5072 * src/Makefile.am (libstdc___la_SOURCES): add limitsMEMBERS.cc,
5073 generated by mknumeric_limits to the list. Now std_limits.h is
5075 * src/Makefile.in (generate-numeric-limits): new target to handle
5076 automatic generation of bits/std_limits.h and src/limitsMEMBERS.cc.
5077 (all): add target generate-numeric-limits.
5078 (libstdc___la_OBJECTS): add limitsMEMBERS.lo
5079 (libstdc___la_SOURCES): add limitsMEMBERS.cc
5081 1999-05-05 Benjamin Kosnik <bkoz@cygnus.com>
5084 * bits/c++config.h (_G_USE_CTYPE_ISBIT): Defines new macro for
5085 mask values in ctype_base. Move hacks for _ISBit to locfacets.h.
5086 * bits/locfacts.h: Here.
5088 1999-05-05 Benjamin Kosnik <bkoz@cygnus.com>
5089 Ulrich Drepper <drepper@cygnus.com>
5091 Solaris build issues.
5092 * bits/c++config.h: Define new macros, _G_USE_STRTOF and
5095 * bits/locfacets.tcc (num_get::do_get): Tweak long double and
5096 float overloads to use the above macros. Account for the lack of
5097 strtold on some systems, and revert back to using sscanf.
5099 1999-05-04 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
5101 * bits/locfacets.tcc (num_get::do_get): Check the errno variable.
5102 Use strtoul/strtoull for unsigned types. Check the ranges for
5103 short/unsigned short and if necessary for int/unsigned int.
5105 1999-05-04 Benjamin Kosnik <bkoz@cygnus.com>
5107 * src/gen-num-limits.cc (round_style): Need to use mknumericlimits
5108 to generate bits/std_limits.h now, as the SGI std_limits.h is
5109 being depricated. Not done, but should be done immediately: need
5110 to make sure this script is run as part of the configuration
5111 process, because without it "make" in a configured build directory
5112 will fail. Also tweaked: added a space for float_round_style, and
5113 used static_cast of zero to default-initialize, which should be ok
5114 according to the standard. (see 8.5 p5 and 20.1.3).
5115 * mknumeric_limits (OUT_C): Need this for x86 long
5118 * bits/basic_file.h: Include libio.h, not libioP.h.
5119 * src/basic_file.cc: And add libioP.h include here, so that
5120 _IO_init, et. al are well-declared.
5122 * testsuite/make_check_libfree++ (LIB_PATH): Test installed
5123 headers, not source directory headers.
5125 * src/Makefile.am (headers): Add stl_range_errors.h, also adjust
5126 for ext/*. Also add basic_file.h.
5127 * src/Makefile.in (headers): Same.
5129 * bits/std_string.h: Reduce dependencies for faster
5130 pre-processing. Move istream and ostream specific defines into
5131 istream.tcc and ostream.tcc respectively.
5132 * bits/string.tcc: And here.
5133 * bits/basic_string.h: Move getline inline out-of-line, and to
5135 * bits/istream.tcc: Move string::getline and operator>> here.
5136 * bits/ostream.tcc: And here too.
5138 * bits/utility.h: Remove, as clashes with a standard header. Put
5139 __OUTOFRANGE and __LENGTHERROR macros into string.tcc for the time
5140 being, until this can be combined with SGI's approach.
5141 * bits/string.tcc: Add macros, as above.
5142 * bits/loccore.h: Add _Count_ones defines.
5143 * bits/std_string.h: And here too.
5144 * bits/std_locale.h: And here.
5145 * bits/std_ios.h: Take out include here.
5146 * src/Makefile.am (headers): Remove utility.h
5147 * src/Makefile.in (headers): Remove utility.h
5149 * stl/bits/*: Update to SGI STL 3.20.
5150 * stl/ext/pthread_alloc: Delete this file.
5152 1999-05-04 Phil Edwards <pedwards@ball.com>
5154 * docs/faq/html/index.html: Add more entries
5155 * docs/faq/html/index.txt: regenerated.
5157 1999-05-04 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5159 * src/gen-num-limits.cc (DO_DEFINE_MIN_MAX): fix typo.
5161 1999-04-29 Benjamin Kosnik <bkoz@haight.cygnus.com>
5163 * bits/locfacets.tcc (num_get::do_get): Re-implement, with input
5164 from Ulrich and Nathan. Remove extraneous string class usage,
5165 tweak, clean, simplify and consolidate with a eye towards removing
5166 duplcate code. Use strto[l, ll, f, d, ld] instead of sscanf.
5167 Not done: dealing with leading zeros, wchar_t work.
5168 * bits/locfacets.h: And here too.
5172 1999-04-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5175 * docs/faq/: New directory.
5176 * docs/faq/html/: Likewise.
5177 * docs/faq/text/: Likewise.
5178 * docs/faq/html/index.html: New file.
5179 * docs/faq/html/index.txt: Likewise. Generated from
5180 docs/faq/html/index.html by lynx.
5182 1999-04-28 Benjamin Kosnik <bkoz@happy.cygnus.com>
5183 Ryszard Kabatek and Branko Cibej
5185 * bits/locfacets.tcc: Modify.
5187 1999-04-27 Benjamin Kosnik <bkoz@happy.cygnus.com>
5189 * bits/sbuf_iter.h: Clean, fix istreambuf_iterator, make
5190 conformant to 14882, wrap non-standard extensions with
5191 _G_RESOLVE_LIB_DEFECTS, remove detritus and cruft, rennovate.
5192 * bits/locfacets.tcc (num_get::do_get(bool)): Return correct iterator.
5194 * testsuite/27/istringstream_formatted.cc: Add tests.
5196 * bits/locfacets.h: Remove cruft from _Format_cache, continue
5197 commenting, simplify.
5198 * bits/locfacets.tcc: Same.
5200 1999-04-27 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
5201 * bits/locfacets.tcc (num_get::do_get):
5202 Fix the sscanf format parameter
5203 for long long 'll' (as in C9X) instead of 'l'.
5204 Fix the order of sscanf format parameters: "%dl" --> "%ld".
5205 Change the type of the local variable '__conv' from 'string'
5206 to 'const char*' and adapt the change.
5208 1999-04-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
5210 * bits/locfacets.h: Document _Format_cache, and name data members
5211 after the corresponding functions in numpunct. For instance:
5212 _M_grsep -> _M_thousands_sep, and _M_decsep -> _M_decimal_point.
5213 Break apart _M_boolnames{2] into _M_truename and _M_falsename.
5214 * bits/locfacets.tcc: Same.
5216 * bits/locfacets.h (num_get::_M_extract): Don't allow groupings to
5217 stop parsing--store for later analysis.
5218 * testsuite/27/istringstream_formatted.cc: Add cases.
5220 1999-04-25 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5222 * bits/valarray_meta.h: tweak.
5223 (_UnFunBase, _BinFunBase, _BinFunBase1, _BinFunBase2, _BinBase1,
5224 _BinFunBase2): rename typedef-name _Tp to _Vt to keep the compiler
5225 happy -- boggus warning.
5226 * bits/std_valarray.h: Fix.
5227 (valarray<T>::shift): Fix. Update comment.
5228 (valarray<T>::cshift): Fix.
5230 1999-04-23 Benjamin Kosnik <bkoz@cygnus.com>
5232 * testsuite/27filebuf-2.txt: Delete.
5233 * testsuite/27/filebuf.cc: Put output files directly into the
5234 correct subdirectory (27).
5236 Alexandre Petit-Bianco <apbianco@cygnus.com>
5237 * testsuite/make_check_libfree++: Check generated (*.txt) file
5238 against stored results file (*.tst).
5240 1999-04-22 Benjamin Kosnik <bkoz@nabi.net>
5242 * bits/locfacets.tcc: Fix.
5244 * bits/fstream.tcc (filebuf::seekoff): Output current out pointer.
5245 (filebuf::overflow): Simplify.
5246 (filebuf::xsputn): Correctly handle indeterminate state.
5248 * testsuite/27/istringstream_formatted.cc: Tweak.
5249 * testsuite/27/filebuf.cc: Tweak.
5250 * testsuite/27/filebuf-3.tst: Correct: this is the canonical
5251 results file, please use this in the future to guarantee filebuf
5252 positioning accuracy.
5253 * testsuite/27/filebuf-2.tst: Same.
5255 1999-04-21 Benjamin Kosnik <bkoz@cygnus.com>
5257 * bits/fstream.tcc (filebuf::xsputn): Add.
5258 * bits/std_fstream.h: Declare.
5260 * src/basic_file.cc (__basic_file::open): Add O_CREAT to open
5261 calls using ios_base::trunc.
5263 * bits/sstream.tcc (streambuf::overflow): Fix crasher.
5265 * testsuite/make_check_libfree++ (LOG_FILE): Ugh. Another fix.
5266 * testsuite/27/27stringstream.cc: Same.
5267 * testsuite/27/27stringbuf.cc: More tweaks.
5268 * testsuite/27/27filebuf-2.txt: Remove.
5270 * testsuite/27/27filebuf-1.tst: Append, to force byte size over
5271 BUFSIZE so that overflows/underflow can be tested with default
5273 * testsuite/27/27filebuf-1.tst: Add.
5275 * testsuite/*/*: Remove pre-pended chapter names, as they
5276 duplicate the chapter info contained in the enclosing directory
5279 1999-04-20 Benjamin Kosnik <bkoz@cygnus.com>
5281 * bits/streambuf.tcc (streambuf::xsputn): Re-implement to conform
5282 to sputc conditions.
5284 * bits/ios_base.h: Define here.
5285 * src/ios.cc (ios_base::_M_clear): Remove hack.
5286 * bits/basic_ios.h: Fix rdstate().
5288 * bits/sstream.tcc (streambuf::seekoff): Fix.
5289 * bits/fstream.tcc (filebuf::seekoff): Tweak comments.
5291 * testsuite/make_check_libfree++ (LOG_FILE): More c-c-c-changes.
5292 * testsuite/24/24iterator.cc: Add/Fixes for DEBUG_ASSERT.
5293 * testsuite/27/27stringstream.cc: Same.
5294 * testsuite/27/27stringbuf.cc: Same.
5295 * testsuite/27/27istringstream_formatted.cc: Same.
5296 * testsuite/27/27filebuf.cc: Same.
5298 * bits/locfacets.h: Remove specializations for messages<char> and
5299 messages<wchar_t> ctors. Same for moneypunct. Not required, not used.
5300 * src/locale.cc: Remove definitions for above.
5301 * src/misc-inst.cc: Revert, take out iomanip.h include.
5302 * bits/std_iomanip.h: Tweak, format.
5304 1999-04-19 Benjamin Kosnik <bkoz@cygnus.com>
5306 * bits/loccore.h: Format, move inline.
5307 * bits/locfacets.tcc: Same.
5308 * bits/locfacets.h: Same.
5310 Ulrich Drepper <drepper@cygnus.com>
5311 * aclocal.m4: Re-generate.
5312 * configure, configure.in: Same.
5313 * m4/lc_messages.m4: New file.
5315 1999-04-18 Benjamin Kosnik <bkoz@cygnus.com>
5317 * bits/std_ostream.h: Fix typedef for wchar_t instantiations.
5318 * bits/sstream.tcc: Tweak.
5320 * std/iostream: Put __ioinit inside macro guards.
5322 * src/stlinst.cc: Delete and move to . . .
5323 * src/stl-inst.cc: New file, plus wrapping in namespace std.
5324 * src/Makefile.in: Change.
5325 * src/Makefile.am: Same.
5326 * src/misc-inst.cc: Add istringstream/ostringstream instantiations.
5328 * testsuite/make_check_libfree++: Efficiently format for minimal
5329 space. Enforce stricter execution tests by enabling
5332 1999-04-16 Benjamin Kosnik <bkoz@cygnus.com>
5334 * docs/text/RELEASE-NOTES: Fix include typo.
5336 * src/Makefile.am (headers): Add istream.tcc.
5337 * src/Makefile.in (headers): Add istream.tcc.
5339 * ltconfig, ltmain.sh, libtool: Update to libtool-1.2g.
5341 1999-04-16 Benjamin Kosnik <bkoz@cygnus.com>
5343 * bits/locfacets.tcc (num_get::do_get(long)): Finish roughing in.
5344 * bits/locfacets.h (num_get::_M_extract): New functin:
5345 consolidate logic for do_get(...) members.
5347 * bits/sbuf_iter.h (istreambuf_iterator::operator++()): Fix.
5348 * testsuite/27/27istringstream_formatted.cc: Add.
5350 1999-04-16 Martin v. Loewis <martin@mira.isdn.cs.tu-berlin.de>
5352 * src/basic_file.cc (__basic_file::open): Fix thinko in
5353 _G_HAVE_IO_FILE_OPEN bits.
5354 * bits/std_istream.h (sentry::sentry(istream, bool)): Fix isspace bug.
5355 * bits/std_cmath.h: Add stdlib.h include for ldiv_t.
5356 * src/complex.cc (FCT): Qualify all functions with global namespace.
5357 * src/locale.cc: Don't qualify memcpy and setlocale.
5358 * src/stdexcept.cc (__out_of_range): Qualify out_of_range with std::.
5359 (__length_error): Likewise, for length_error.
5360 * src/stlinst.cc: Qualify instantiations with std::.
5362 1999-04-15 Benjamin Kosnik <bkoz@cygnus.com>
5364 * C++STYLE: Add ChangeLog guidelines for member functions.
5367 * BADNAMES, BUGS, C++STYLE, CHECKLIST, COPYING,
5368 DESIGN, HEADER_POLICY, PROBLEMS, RELEASE-NOTES, TODO: Moved into
5369 docs/text and made less strident.
5371 * bits/fstream.tcc: Change non-standard ctor to match Sun's sematics.
5372 * bits/std_fstream.h: Same.
5375 * bits/locfacets.h: Touch.
5377 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
5379 * math/cexp.c (cexp): Use NAN instead of nan("").
5380 Reported by joel reed <joelreed@yahoo.com>.
5382 * libio/libioP.h: Define _IO_seek_fpos_t and _IO_seek_off_t based on
5383 _G_IO_IO_FILE_VERSION. Use these types in the prototypes.
5384 * libio/fileops.c: Use _IO_seek_fpos_t and _IO_seek_off_t types
5385 instead of #if cascades.
5386 * libio/genops.c: Likewise.
5387 * libio/ioseekoff.c: Likewise.
5388 * libio/ioseekpos.c: Likewise.
5389 * libio/strops.c: Likewise.
5390 Patch by Chip Salzenberg <chip@perlsupport.com>.
5392 1999-04-15 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5394 * docs: New directory.
5395 * docs/html: Likewise.
5396 * docs/text: Likewise.
5397 * docs/image: Likewise.
5399 * bits/std_cmath.h: Add new functions.
5400 (abs): overload for long and double.
5401 (div): overload for long.
5403 * bits/valarray_array.h: Fix.
5404 * bits/gslice.h: Adjust friend.
5405 * bits/slice_array.h: likewise.
5406 * bits/valarray_meta.h: likewise.
5408 1999-04-13 Benjamin Kosnik <bkoz@tintin.cygnus.com>
5410 * bits/locfacets.h: More changes, for num_get for insertion
5411 operators for integral types. Comment fields in _Format_cache.
5412 * bits/locfacets.tcc: And here too: add preliminary long version.
5413 * testsuite/27/27istringstream_formatted.cc: Add cases.
5415 1999-04-13 Mark Elbrecht <snowball3@usa.net>
5417 * configure.in: Add locale.h to AC_CHECK_HEADERS argument. Call
5418 AC_LC_MESSAGES macro.
5419 * aclocal.m4 (AC_LC_MESSAGES): New. Determines if a target
5420 supports LC_MESSAGES.
5421 * config.h.in: Add entry for HAVE_LC_MESSAGES.
5422 * src/locale.cc (locale::_S_normalize_category): Use the
5423 HAVE_LC_MESSAGES macro to check for LC_MESSAGES support instead of
5424 _G_NO_CLOCALE_HAS_MESSAGES.
5425 * aclocal.m4 (AM_PROG_LD): For DOS style paths, simplify test to
5426 '?:' from '?:\\' so any path beginning with a drive name matches.
5428 1999-04-12 Mark Elbrecht <snowball3@usa.net>
5430 * src/basic_file.cc(sys_open) [O_BINARY]: Declare __testb.
5432 1999-04-12 Benjamin Kosnik <bkoz@tintin.cygnus.com>
5434 * bits/locfacets.h: Tweak.
5435 * bits/locfacets.tcc(do_get): Clean/fix bool method.
5437 * testsuite/21/21nonmember.cc: Same.
5438 * testsuite/21/21compare.cc: Fix license.
5439 * testsuite/27/27istringstream_formatted.cc: New file.
5441 1999-04-12 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5443 * bits/valarray_meta.h: _BinFunBase1, _BinFunBase2, _BinBase1,
5444 _BinBase2: new template classes; put in there to work around a
5445 compiler limitation. The whole valarray architecture is now
5448 1999-04-08 Benjamin Kosnik <bkoz@haight.constant.com>
5450 * bits/locfacets.tcc: Fix, format.
5451 * bits/locfacets.h: Fix.
5452 * src/locale.cc: Same, plus format.
5454 * bits/basic_string.h: Re-add definition here.
5455 * src/string.cc: Take out.
5457 1999-04-08 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5459 * bits/std_valarray.h: tweak.
5460 * bits/valarray_array.h tweak. use _Expr.
5461 * bits/slice_array.h: likewise.
5462 * bits/gslice_array.h: likewise.
5463 * bits/mask_array.h: likewise.
5464 * bits/indirect_array.h: likewise.
5465 * bits/valarray_meta.h: tweak.
5466 _UnFunBase, _UnFunClos, _BinFunBase, _FunBase, _ValFunClos,
5467 _RefFunClos, _UnBase, _UnClos, _BinBase, _BinClos, _SClos, _GClos,
5468 _IClos: new template classes.
5469 _Meta: renamed to _Expr. Made template with args.
5470 _Constant: made template with two args.
5472 1999-04-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5474 * bits/valarray_array.h: tweak.
5476 1999-04-06 Benjamin Kosnik <bkoz@cygnus.com>
5478 * bits/basic_string.h: Whoops--fix blip.
5480 1999-04-06 Benjamin Kosnik <bkoz@cygnus.com>
5482 Update to SGI STL 3.13
5483 * bits/basic_string.h: Add __get_c_string definition.
5484 * stl/bits/stl_range_errors.h: New file.
5485 * stl/bits/std_bvector.h: Same.
5486 * stl/bits/*: Update.
5488 1999-04-04 1999 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5490 * bits/slice_array.h: tweak.
5491 * bits/gslice_array.h: tweak.
5492 * bits/mask_array.h: tweak.
5493 * bits/indirect_array.h: tweak.
5494 * bits/valarray_array.h: tweak.
5495 (__valarray_copy): replace copy with memcpy.
5496 * bits/std_valarray.h: use __valarray_copy whenever possible.
5497 use __valarray_fill instead of fill.
5499 1999-04-02 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5501 * src/gen-num-limits.cc: new file
5502 * mknumeric_limits: Ditto.
5504 1999-03-30 Benjamin Kosnik <bkoz@cygnus.com>
5506 * bits/locfacets.tcc: Do a stub version of num_get for short, int,
5508 * bits/locfacets.h: Add num_get::get methods overloaded for int
5509 and short, to resolve ambiguous overloads in istream insertion
5512 1999-03-30 Benjamin Kosnik <bkoz@cygnus.com>
5514 * bits/std_istream.h: Fix.
5515 * bits/istream.tcc: Fix.
5517 1999-03-30 Philip Martin <pm@corris.dircon.co.uk>
5519 * testsuite/24/24iterator.cc: fix ++/-- tests
5521 1999-03-29 Benjamin Kosnik <bkoz@cygnus.com>
5523 * bits/std_ostream.h: Looks like this, actually: Fix up eh-isms.
5524 * bits/ostream.tcc: Same.
5526 * bits/std_istream.h: Bring over ostream changes, implement member
5527 functions. Baseline.
5528 * bits/istream.tcc: New file.
5530 1999-03-26 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5532 * bits/gslice.h (class gslice): fix friends template.
5534 1999-03-23 Benjamin Kosnik <bkoz@cygnus.com>
5536 * bits/std_ostream.h: Fix sentry objects, implement seekp, tellp,
5538 * bits/ostream.tcc: Same.
5540 * bits/std_istream.h: Minor tweaks.
5542 1999-03-18 Benjamin Kosnik <bkoz@cygnus.com>
5544 * src/locale-inst.cc: Remove duplicate instantiations.
5545 * bits/locfacets.tcc: Tweak definitions of static member.
5547 1999-03-18 Benjamin Kosnik <bkoz@cygnus.com>
5549 * bits/std_fstream.h: Format: prepend "__" in front of
5550 non-standard typedefs.
5551 * bits/fstream.tcc: Match.
5552 * bits/std_streambuf.h: Format: prepend "__" in front of
5553 non-standard typedefs.
5555 * bits/sstream.tcc: Match.
5556 * bits/std_istream.h: Format.
5557 * src/locale-inst.cc: Add num_get instantiations.
5559 * bits/std_sstream.h: Fix crash in stringstreams. Remove member
5560 _M_sb, a basic_stringbuf object, and use the basic_ios pointer
5561 _M_streambuf instead. Make initializations sane. Fix
5562 allocation/deallocation of _M_streambuf.
5563 * bits/std_ostream.h: Fix initialization code.
5564 (ctor): Eliminate redundant this->init(), let base class initialize.
5565 (default ctor): New. Assume base classes already initialzed.
5566 * bits/std_istream.h: Parallel work to ostream.
5567 (ctor): Eliminate redundant this->init(), let base class initialize.
5568 (default ctor): New. Assume base classes already initialzed.
5569 Fix initialization of basic_iostream.
5571 * bits/std_fstream.h: While we're at it, make initializations sane
5572 here too. Now matches sstream.h.
5574 * bits/string.tcc: Fix crash in basic_string::compare.
5575 * bits/basic_string.h: And here.
5576 * bits/c++config.h: Add comment about _G_USE_EXCEPTIONS.
5578 * testsuite/make_check_libfree++: Check shared as well.
5579 * testsuite/27/27stringstream.cc: Add bits.
5580 * testsuite/27/27boolfmt.cc: Add bits.
5581 * testsuite/27/27octfmt.cc: Add bits.
5583 1999-03-17 Benjamin Kosnik <bkoz@happy.cygnus.com>
5585 * configure.in (USE_LONG_DOUBLE): signbitl link error.
5587 * bits/locfacets.h: Fix errors that cause build problems
5588 with current egcs (template parameters have class scope).
5589 * bits/locfacets.tcc: Same.
5590 * src/locale-inst.cc: Same, clean.
5591 * src/misc-inst.cc: Same, clean.
5593 1999-03-17 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
5595 * stl/bits/std_memory.h: Modify auto_ptr::reset to reflect the
5596 standard. Re-apply this previous patch.
5598 1999-03-17 Philip Martin <pm@corris.dircon.co.uk>
5600 * bits/basic_string.h: Use __normal_iterator<> for iterators.
5601 * bits/std_sstream.h: Support __normal_iterator<> iterators.
5602 * bits/string.tcc: Ditto.
5603 * src/misc-inst.cc: Ditto.
5604 * src/locale-inst.cc: Ditto.
5605 * stl/bits/stl_iterator.h: Add __normal_iterator<>.
5606 * stl/bits/stl_vector.h: Use __normal_iterator<> for iterators.
5607 * testsuite/24/24iterator.cc: Add test cases for basic_string and
5610 1999-03-16 Benjamin Kosnik <bkoz@cygnus.com>
5612 * bits/locfacets.tcc: Remove macro hack.
5613 * bits/locfacets.h: Tweaks.
5614 * src/misc-inst.cc: Weed out locale-related instantiations.
5615 * src/locale-inst.cc: Same.
5617 * RELEASE-NOTES: Make more changes.
5618 * bits/c++config.h: Bump version number.
5620 * testsuite/make_check_libfree++: Collect diagnostics.
5622 * bits/std_ostream.h: Fix ostream initialization/destruction
5623 problem, related to dtor cleanup and new cached facets, agggggggh.
5624 * bits/ostream.tcc: Tweak.
5625 * bits/locfacets.h: Remove all friends of iostream classes.
5626 * bits/ios_base.h: Same.
5627 * bits/streambuf.tcc: Tweak.
5628 * bits/std_streambuf.h: Tweak.
5629 * bits/std_fstream.h: Tweak.
5630 * bits/fstream.tcc: Tweak.
5631 * src/stdstreams.cc: Tweak.
5632 * src/ios.cc: Close streams.
5634 * math/Makefile.in: Add missing files for shared link errors.
5635 * math/Makefile.am: Same.
5637 1999-03-15 Benjamin Kosnik <bkoz@cygnus.com>
5639 * src/locale-inst.cc: More wchar_t instantiations.
5640 * src/misc-inst.cc: Missed a few bits.
5641 * testsuite/make_check_libfree++: Add static and shared runs.
5642 * src/ios.cc: Add clarity to ios_base::Init::~Init().
5644 1999-03-15 Benjamin Kosnik <bkoz@cygnus.com>
5646 * bits/std_ostream.h: Format, expunge, simplify. Add cached
5647 facets. Resolve link errors.
5648 * bits/ostream.tcc: Same.
5649 * src/misc-inst.cc: Add ostream, wostream instantiations.
5650 * src/Makefile.am: Add missing bits for stdstreams.cc.
5651 * src/Makefile.in: Same.
5652 * bits/std_iosfwd.h: Format.
5653 * bits/locfacets.h (num_put): Add basic_ostream as a friend to
5654 num_put so that cached _M_fnumput pointer can be deleted in
5655 basic_ostream's dtor. Now everybody plays nice.
5657 1999-03-12 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5659 * bits/gslice.h (class gslice): Make friends valarray,
5660 gslice_array and _GliceExpression.
5662 1999-03-11 Benjamin Kosnik <bkoz@cygnus.com>
5664 * RELEASE-NOTES: Update.
5665 * src/ios.cc: Use do proper init.
5666 * bits/std_streambuf.h: Tweak.
5667 * bits/std_iostream.h: Take out static member.
5668 * std/iostream: Put here.
5669 * bits/std_ostream.h: Non-default ctor shouldn't smash _M_streambuf.
5670 * bits/std_istream.h: Ditto.
5671 * bits/basic_ios.h: Format.
5672 * bits/ostream.tcc(write): Fix.
5673 * bits/fstream.tcc: Fix stdstreams ctor to do a proper
5674 initialization of the fstream class.
5675 * src/stdstreams.cc: I'm baaaaaaaack.
5677 1999-03-10 Benjamin Kosnik <bkoz@rhino.cygnus.com>
5679 * bits/ios_base.h: Correct comments. Add ios_base::init()
5680 functionality. Format, tweak, expunge, clean, bathe, and hang to dry.
5681 * src/misc-inst.cc: Add instantiations here.
5682 * src/ios.cc: Clean.
5683 * bits/std_iostream.h: Add wrappers, global ios_base::Init object.
5684 * src/stdstreams.cc: Delete this file, as now unnecessary.
5685 * bits/fstream.tcc: Add missing initialization bits for ctor.
5686 * src/Makefile.am (libstdc___la_SOURCES): Delete here as well.
5687 * src/Makefile.in (libstdc___la_OBJECTS): And here.
5689 * bits/streambuf.tcc: Tweak.
5690 * bits/sstream.tcc: Here too.
5692 * bits/fstream.tcc: And change definition as well.
5693 * bits/std_fstream.h: Change ctor.
5694 * src/basic_file.cc (sys_open): Add call that opens a specific fileno.
5695 * bits/basic_file.h: Add declarations.
5697 * testsuite/27/27hello.cc: New file.
5699 * bits/std_ostream.h: Move flush() inline.
5700 * bits/ostream.tcc: From here.
5702 * bits/char_traits.h: Add include of fpos.h for streamoff/streampos.
5703 * bits/std_ios.h: Change include libio to only when necessary.
5704 * bits/fpos.h: Like here.
5705 * ios_base.h: And here.
5707 * bits/locfacets.h: Change _Iostate to _Ios_Iostate.
5708 * bits/locfacets.tcc: Same.
5709 * bits/std_locale.h: Include std_ios.h not std_iosfwd.h.
5710 * bits/std_iosfwd.h: Move _Ios_Iostate to ios_base.h
5712 1999-03-09 Benjamin Kosnik <bkoz@rhino.cygnus.com>
5714 * bits/basic_ios.h: Change _M_ctype to _M_fctype.
5716 * bits/std_streambuf.h: Clean, tweak.
5717 * bits/std_fstream.h: Same.
5718 * bits/std_sstream.h: Same.
5719 * bits/streambuf.tcc: Move most member functions out-of-line.
5720 * bits/fstream.tcc: Same.
5721 * bits/streambuf.tcc: Same.
5723 * bits/basic_file.h(filepos_cur): Set correctly.
5724 (filepos_beg): Same.
5725 (seekpos): Change to __c_streampos.
5726 * src/basic_file.cc (std): Change to __c_streampos.
5728 * testsuite/27/27filebuf.cc: Round one is finished.
5729 * testsuite/27/27filebuf-2.tst: New file, final output should match.
5730 * testsuite/27/27filebuf-3.tst: Same.
5732 1999-03-08 Benjamin Kosnik <bkoz@rhino.cygnus.com>
5734 * bits/basic_file.h: Fix typo, add comments about what to expect
5735 from the various member functions in __basic_file.
5737 * bits/std_fstream.h: Re-do sync/underflow to work
5738 together. Change from sys_read to xsgetn and from sys_write to
5739 xsputn. As it should have been from the beginning. . .
5741 1999-03-06 Benjamin Kosnik <bkoz@haight.constant.com>
5743 * bits/c++config.h (__GLIBCPP__): Add versioning macro.
5745 * bits/basic_file.h(file_beg): New function.
5748 * testsuite/27/27filebuf.cc: Test in, out, in | out.
5749 * bits/std_fstream.h: More _M_mode refinements.
5750 (synch): Add bits for out mode only.
5751 * bits/std_streambuf.h(xsputn): Correct for filebufs.
5752 * bits/std_sstream.h: Ditto.
5754 1999-03-03 Benjamin Kosnik <bkoz@cygnus.com>
5756 * bits/std_fstream.h: Fix _M_mode AND with ios_base::openmode.
5757 * testsuite/27/27filebuf.cc: Modify.
5758 * bits/c++config.h: Fix.
5760 1999-03-02 Benjamin Kosnik <bkoz@tintin.cygnus.com>
5762 * bits/c++config.h: New macro, _G_RESOLVE_LIB_DEFECTS, used to put
5763 code in place that diverges from the final standard, but has been
5764 brought up on the library mailing list.
5766 * bits/std_fstream.h(underflow): Position all three internal
5767 buffer pointers at the same initial position. Re-implement with
5768 basic_filebuf abstraction.
5772 * bits/std_sstream.h: Move _M_mode down into base class
5774 * bits/sstream.tcc: Ditto.
5775 * bits/std_streambuf.h: Ditto.
5777 * testsuite/27/27filebuf.cc: Tweak.
5779 1999-02-27 Benjamin Kosnik <bkoz@slap-happy.cygnus.com>
5781 * bits/std_sstream.h: Ditto.
5782 * bits/std_fstream.h: Fix blip.
5784 1999-02-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
5786 * C++STYLE: Add cases.
5787 * bits/std_fstream.h: Format.
5788 * bits/std_streambuf.h: Ditto.
5789 * bits/std_sstream.h: Ditto.
5791 * src/basic_file.cc(sys_seek): Fix stack delirium, by keeping
5792 return type for _IO_file_seek and __basic_file::seek the same size.
5793 * bits/basic_file.h: Ditto.
5795 1999-02-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
5797 * bits/fstream.tcc: Add include guards.
5798 * src/misc-inst.cc: Add instantiations for shared libes.
5799 * src/locale-inst.cc: Add instantiaions for use_facet.
5800 * bits/loccore.h: Remove specialization foward decls for
5801 use_facet<ctype>: perhaps add the whole lot of them later on.
5802 * bits/std_fstream.h: Fix.
5803 * bits/locfacets.h: Ditto.
5804 * src/stdstreams.cc: Disable wide streams for now.
5806 * src/Makefile.am (CXXFLAGS): Change up.
5807 * src/Makefile.in (CXXFLAGS): Ditto.
5809 1999-02-25 Benjamin Kosnik <bkoz@happy.cygnus.com>
5811 * src/basic_file.cc: Change to ios_base::seekdir from int.
5812 * bits/basic_file.h: Ditto.
5813 * bits/locfacets.h : Fix blip with new guard macros.
5815 1999-02-25 Benjamin Kosnik <bkoz@cygnus.com>
5817 * stl/bits/stl_config.h (__STL_USE_STD_ALLOCATORS): Minor tweaking.
5818 * bits/c++config.h: Clean. Remove _G_NO_STREAMBUF_ITERATORS and
5820 * amm1/locale: Remove unused defines.
5821 * generic/locale: Ditto.
5822 * src/ios.cc: Ditto.
5823 * src/locale.cc: Ditto.
5824 * src/locale-inst.cc: Ditto.
5825 * src/localename.cc: Ditto.
5826 * src/stdstreams.cc: And here.
5828 * bits/c++config.h (_G_USE_WCHAR_T): Fix.
5829 * bits/loccore.h: Simplify, clean, add wchar_t guards.
5830 * bits/loccore.tcc: Ditto.
5831 * bits/locfacets.h: Ditto.
5832 * src/locale-inst.cc: Ditto.
5833 * bits/locfacets.tcc: Add do_put long long here.
5835 1999-02-24 Benjamin Kosnik <bkoz@cygnus.com>
5837 * bits/std_streambuf.h: Add cached ctype facet, _M_ctype.
5838 * bits/basic_ios.h: Clean. Replace _M_strbuf with
5839 _M_streambuf. Use cached _M_cvt in basic_streambuf.
5840 * bits/std_istream.h: Replace _M_strbuf with _M_streambuf.
5841 * bits/std_fstream.h: Tweak.
5843 * bits/char_traits.h: Remove fpos definitions from here. . .
5844 * bits/fpos.h: New file, put them here. Eventually, this may allow
5845 the severing of char_traits and fpos dependancies.
5846 * src/Makefile.in: Add fpos.h.
5847 * src/Makefile.am: Ditto.
5848 * bits/std_string.h: Add fpos.h include here.
5849 * bits/std_ios.h: And here.
5851 * bits/std_streambuf.h: Change _M_init to _M_initialized.
5852 * bits/ios_base.h: Remove cstdio include.
5853 * bits/std_ios.h: ... Place here.
5855 1999-02-23 Benjamin Kosnik <bkoz@loony.cygnus.com>
5857 * src/Makefile.in (CXXFLAGS): Re-add -fvtable-thunks.
5858 * src/Makefile.am (CXXFLAGS): Re-add -fvtable-thunks.
5860 * bits/basic_file.h: Comment, adjust arguments.
5861 * src/basic_file.cc: Ditto.
5863 * bits/std_fstream.h(seekoff): Error is of fpos type, not integral
5864 type: check and convert accordingly. Re-interpet "resultant stream
5865 position" to indicate external byte sequence location, not internal
5868 1999-02-22 Benjamin Kosnik <bkoz@loony.cygnus.com>
5870 * mkcshadow: And change copyright here.
5871 * src/Makefile.am (CXXFLAGS): Add -g -O2. Add new header
5872 dependencies for stl_pthread_alloc.h, pthread_allocimpl.h,
5873 stl_thread.h, and stl_iterator_base.h.
5874 * src/Makefile.in (CXXFLAGS): Ditto.
5875 * stl/backward/pthread_alloc.h: Remove.
5877 1999-02-19 Benjamin Kosnik <bkoz@loony.cygnus.com>
5879 * bits/std_streambuf.h (sungetc): Use standard defs for putback
5881 * bits/std_fstream.h (pbackfail): Correct.
5883 (seekoff): Implement.
5885 * testsuite/27/27filebuf.cc: Add test cases.
5887 1999-02-18 Benjamin Kosnik <bkoz@loony.cygnus.com>
5889 * bits/std_fstream.h: Go with basic_file's interfaces for dealing
5890 with the external buffers, and stop mucking around with setting
5891 and re-setting the external buf's pointers. Aka, clarity and
5892 simplicity rule the day.
5893 * src/locale.cc: Use memcpy in codecvt::do_in and codecvt::do_out.
5894 Remove partial result and support code.
5896 1999-02-18 Ulrich Drepper <drepper@cygnus.com>
5898 * configure.in: Add hypot, hypotf, atan2f, expf, and copysignf to
5899 list of function which have to be replaced.
5900 Remove expf from list of functions to test for.
5901 Define USE_LONG_DOUBLE in case the libm has partial support for long
5903 * Makefile.in: Regenerated.
5904 * config.h.in: Likewise.
5905 * configure: Likewise.
5906 * libio/Makefile.am (LIBIO_SRCS): Add missing backslash.
5907 * libio/Makefile.in: Regenerated.
5908 * src/Makefile.in: Regenerated.
5909 * string/Makefile.in: Regenerated.
5910 * math/Makefile.am (EXTRA_DIST): Add hypot.c, hypotf.c, hypotl.c,
5911 atan2f.c, expf.c, and $(EXTRA_yes).
5912 (EXTRA_yes): Add signbitl.c mycabsl.c.
5913 (libmath_la_LIBADD): Add $(EXTRA_$(USE_LONG_DOUBLE)).
5914 (libmath_la_SOURCES): remove long double versions.
5915 * math/Makefile.in: Regnerated.
5916 * math/atan2f.c: New file.
5917 * math/copysignf.c: New file.
5918 * math/expf.c: New file.
5919 * math/hypot.c: New file.
5920 * math/hypotf.c: New file.
5921 * math/hypotl.c: New file.
5922 * math/cargf.c: Use correct function and macro names.
5923 * math/ccos.c: Likewise.
5924 * math/ccosh.c: Likewise.
5925 * math/ccoshf.c: Likewise.
5926 * math/ccoshl.c: Likewise.
5927 * math/cexp.c: Likewise.
5928 * math/cexpf.c: Likewise.
5929 * math/cexpl.c: Likewise.
5930 * math/clog.c: Likewise.
5931 * math/clog10.c: Likewise.
5932 * math/clog10f.c: Likewise.
5933 * math/clog10l.c: Likewise.
5934 * math/clogf.c: Likewise.
5935 * math/clogl.c: Likewise.
5936 * math/copysignf.c: Likewise.
5937 * math/csin.c: Likewise.
5938 * math/csinf.c: Likewise.
5939 * math/csinh.c: Likewise.
5940 * math/csinhf.c: Likewise.
5941 * math/csinhl.c: Likewise.
5942 * math/csinl.c: Likewise.
5943 * math/csqrt.c: Likewise.
5944 * math/csqrtf.c: Likewise.
5945 * math/csqrtl.c: Likewise.
5946 * math/ctan.c: Likewise.
5947 * math/ctanf.c: Likewise.
5948 * math/ctanh.c: Likewise.
5949 * math/ctanhf.c: Likewise.
5950 * math/ctanhl.c: Likewise.
5951 * math/ctanl.c: Likewise.
5953 1999-02-17 Benjamin Kosnik <bkoz@cygnus.com>
5955 * testsuite/27/27filebuf.cc: Add cases.
5956 * testsuite/27/27filebuf-1.txt: Remove inadvertent garbage.
5957 * bits/std_streambuf.h: Simplify, always have one return statement.
5958 * bits/std_fstream.h: Tweak comments in underflow.
5960 1999-02-17 Ulrich Drepper <drepper@cygnus.com>
5962 * ltmain.sh: Update from libtool 1.2d and fix Solaris problems.
5963 * ltconfig: Likewise.
5965 1999-02-16 Christophe Pierret <cpierret@businessobjects.com>
5967 * src/locale.cc: Fix assert.
5969 1999-02-16 Benjamin Kosnik <bkoz@cygnus.com>
5971 FIXME: Still need some kind of solution for undefined math symbols.
5972 * src/Makefile.in (locale-inst.lo): Compile with
5973 -fimplicit-templates to fix Solaris link problem.
5974 * src/Makefile.am: Ditto.
5975 * libio/Makefile.in: Add stdfiles.c so that _IO_list_all is defined.
5976 * libio/Makefile.am: Ditto.
5977 * src/locale.cc: Provide some kind of def for _S_tolower.
5978 * bits/locfacets.h: Fix declarations of ctype<wchar_t> to
5979 match ctype<char> for _S_tolower, _S_toupper, _S_table.
5981 1999-02-10 Benjamin Kosnik <bkoz@cygnus.com>
5983 * bits/loccore.tcc: Move member-template ctor inline...
5984 * bits/loccore.h: ...here.
5985 * src/locale-inst.cc: Add instantiation here.
5987 * testsuite/27/27stringstream.cc: Tweak.
5989 * bits/ostream.tcc: Include sbuf_iter.h.
5991 * bits/ostream.tcc: Convert *this to ostreambuf_iterator before
5992 passing to num_put, as num_put's first argument is an interator,
5995 * testsuite/make_check_libfree++: New file, runs through the
5996 existing test files in the testsuite directory and makes sure
5999 1999-02-10 Brendan Kehoe <brendan@cygnus.com>
6001 * testsuite/21/21compare.cc: Fix typo.
6002 * src/locale.cc (ctype<wchar_t>::_S_{toupper,tolower,table}):
6003 Don't try to provide non-linux versions, since it's impossible to
6004 initialize their const references with the integer 0, no matter
6005 how we try to cast it.
6007 1999-02-10 Benjamin Kosnik <bkoz@cygnus.com>
6009 * bits/std_locale.h: Move std_vector.h dependency.
6010 * bits/std_ios.h: ...from here.
6011 * bits/std_string.h: ...and here.
6012 * src/locale.cc: ..to here.
6013 * bits/loccore.h: Ditto, add vector forward declaration,
6014 make locale::_Impl data members pointers not containers.
6015 * bits/loccore.tcc: Move out-of-line for now.
6016 * bits/locfacets.h: Move vector dependency from here...
6017 * bits/locfacets.tcc: ...to here.
6018 * src/localename.cc: ..and here.
6019 * src/locale-inst.cc: Add include of locfacets.tcc here.
6021 * stl/bits/stl_string_fwd.h: Make __get_c_string non-static.
6022 * bits/basic_string.h: Can't use sizeof on an incomplete type.
6023 * bits/string.tcc: Tweak.
6024 * src/string.cc: And add __get_c_string def here.
6026 * bits/std_fstream.h: Yeah, comment the fill_n idea out as impractical.
6028 * src/stlinst.cc: Add include of stl_config.h.
6030 1999-02-09 Benjamin Kosnik <bkoz@cygnus.com>
6032 * stl/bits/std_bitset.h: Update to SGI STL 3.12.
6033 * stl/bits/stl_config.h: Tweak, update.
6034 * stl/bits/std_stdexcept.h: Ditto, change stl_exception to
6036 * stl/bits/std_memory.h: Reconstructed auto_ptr, Ditto.
6037 * stl/bits/std_functional.h: Ditto.
6039 * stl/bits/stl_string.h: New file, SGI's string
6040 implementation. For reference only, corresponding to string in
6042 * stl/bits/stl_char_traits.h: As above.
6044 * stl/bits/pthread_allocimpl.h: New file corresponding to
6046 * stl/bits/stl_pthread_alloc.h: New file corresponding to
6048 * stl/bits/stl_threads.h: New file.
6050 Note that SGI STL 3.12's file iterator.h is not used.
6051 * stl/bits/std_iterator.h: Ditto.
6052 * stl/bits/stl_iterator.h: Drop in replace.
6053 * stl/bits/stl_iterator_base.h: New file, drop in replace.
6055 * stl/bits/stl_queue.h, stl_rope.h, stl_set.h, stl_stack.h,
6056 stl_string_fwd.h, stl_tempbuf.h, stl_tree.h, stl_vector.h,
6057 stl_pair.h, stl_multimap.h, stl_multiset.h, stl_list.h,
6058 stl_hashtable.h, stl_hash_set.h, stl_hash_map.h, stl_function.h,
6059 stl_deque.h, stl_alloc.h, stl_algo.h, stl_algobase.h, ropeimpl.h:
6060 Drop-in replace (ie, stop changing __SGI_STL_* to _CPP_BITS_* for
6061 preprocessor guards, but fixup include paths and names according
6062 to new directory layout).
6064 1999-02-05 Benjamin Kosnik <bkoz@cygnus.com>
6066 * bits/std_fstream.h: Remove _M_open data member.
6067 * bits/fstream.tcc: Ditto.
6069 * src/locale.cc: Tweak.
6071 * bits/std_sstream.h: Simplify.
6073 * bits/std_streambuf.h: Simplify.
6074 (sputc): Use correct definition of "write area."
6076 * bits/std_fstream.h: Fix uflow.
6077 * src/basic_file.cc: Tweak.
6078 * testsuite/27/27filebuf.cc: Add tests.
6079 * testsuite/27/27filebuf-3.txt: Rename to *-2.txt.
6081 1999-02-02 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6083 * bits/ios_base.h: Make protected.
6085 1999-02-01 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6087 * bits/ios_base.h: Changes in the class ios_base:
6088 Rename _M_exceptions member to _M_exceptions_data.
6089 Make the member functions rdstate(), clear(), exceptions()
6090 and exceptions(iostate) protected and add the "_M_" prefix.
6091 * src/ios.cc: Ditto.
6092 * bits/basic_ios.h: Adapt the changes from ios_base.
6094 1999-01-29 Benjamin Kosnik <bkoz@cygnus.com>
6096 * bits/std_fstream.h: Remove _M_flags, _M_equilibrate as unnecessary.
6097 * bits/fstream.tcc: Ditto.
6099 * bits/std_fstream.h (underflow): Resize deallocates memory and
6100 resets pointers in the internal cache according to new _M_buf. . dooh!
6101 * src/locale.cc: Mas changes with codecvt::do_in, do_out.
6103 1999-01-29 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6105 * stl/bits/std_memory.h: Modify auto_ptr::reset to reflect the
6108 1999-01-28 Benjamin Kosnik <bkoz@cygnus.com>
6110 * src/locale.cc (codecvt::do_in): Finer-grained tuning to take
6111 into account partial returns.
6112 (codecvt::do_out): Likewise.
6114 * bits/char_traits.h: Change streamsize to be a signed type, as
6115 required by 27.4.1 Types p 2. (Changing to _IO_ssize_t.)
6116 * bits/std_streambuf.h: Make
6117 in_avail() and showmanyc() have streamsize as return types, so
6118 that showmanyc()'s return of eof won't underflow in_avail's return
6119 value and give a bogus result.
6120 * src/misc-inst.cc: And more changes. . .
6122 * bits/std_streambuf.h (basic_streambuf): Add _M_buf_unified to keep
6123 track of joint in/out pointers into the internal buffer.
6124 (sbumpc): Add check for _M_buf_unified.
6128 * testsuite/27/27filebuf.cc: Add cases.
6129 * testsuite/27/27stringbuf.cc: Add showmanyc case.
6131 * bits/std_fstream.h (close): Fix logic error.
6132 (open): Initialize internal pointers based on _M_buf and _M_buf_size.
6133 (showmanyc): Add underflow component, to match the standard.
6135 * bits/fstream.tcc: Ditto.
6137 1999-01-27 Benjamin Kosnik <bkoz@cygnus.com>
6139 * bits/basic_file.h: Match vtables w/ _IO_FILE_plus.
6140 * src/basic_file.cc: Ditto.
6141 * src/Makefile.in: Add -fvtable-thunks to CXXFLAGS: preferred
6142 format for dealing with _IO_file in libio.
6144 1999-01-27 Ulrich Drepper <drepper@cygnus.com>
6146 * src/basic_file.cc: Include fcntl.h.
6148 1999-01-27 Benjamin Kosnik <bkoz@cygnus.com>
6150 * libio/Makefile.in: Add fileops.lo, genops.lo to objects to debug
6152 * bits/std_streambuf.h: Redefine read posion.
6154 * bits/std_fstream.h: Temporary hack to get vtables working again.
6155 * bits/basic_file.h: Revert.
6156 * src/basic_file.cc: Ditto.
6157 * testsuite/27/27filebuf.cc: Tweak.
6159 1999-01-26 Benjamin Kosnik <bkoz@cygnus.com>
6161 * bits/basic_file.h: Add showmanyc, underflow. .
6162 * src/basic_file.cc: Ditto.
6164 * bits/std_fstream.h (showmanyc): Add bits to ping libio to see if more
6167 * testsuite/27/27filebuf.cc: Add testcases.
6168 * src/basic_file.cc: Add O_CREAT to open calls with
6169 ios_base::trunc as part of the open mode.
6171 1999-01-26 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6173 * bits/basic_ios.h: fix basic_ios::exceptions(iostate)
6175 1999-01-25 Benjamin Kosnik <bkoz@nabi.net>
6177 * src/ios.cc (clear): Correct typo.
6178 * bits/ios_base.h: Tweak spacing.
6180 1999-01-25 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6182 * bits/basic_ios.h: fix basic_ios::fail()
6184 1999-01-25 Benjamin Kosnik <bkoz@loony.cygnus.com>
6186 * bits/basic_file.h: Include libioP.h from libio instead of here.
6187 * bits/iolibio.h: Remove.
6188 * bits/libio.h: Remove.
6190 1999-01-22 Benjamin Kosnik <bkoz@lunatic.cygnus.com>
6192 * bits/std_fstream.h: Tweak cvt-> in call for newer egcs compilers.
6194 1999-01-22 Ulrich Drepper <drepper@cygnus.com>
6196 * Makefile.am (SUBDIRS): Add libio.
6197 * configure.in: Add rule to test for glibc2.
6199 * src/Makefile.am (INCLUDES): Add -I to libio subdir.
6200 (libstdc___la_LIBADD): Add libio.la.
6202 1999-01-21 Benjamin Kosnik <bkoz@cygnus.com>
6204 * bits/basic_file.h: Make new abstraction for underlying C library
6205 FILE, named __basic_file.
6206 * src/basic_file.cc: New file.
6207 * bits/os_raw.h: Delete.
6208 * src/os_raw.cc: Delete.
6209 * src/Makefile.in: Tweak.
6210 * src/Makefile.am: Tweak.
6211 * bits/iolibio.h: Add this here, for the time being.
6212 * bits/libioP.h: Ditto.
6214 * bits/ios_base.h: Delete unused defines.
6215 * src/locale.cc (codecvt<char, char, mbstate_t>::do_in): Use
6216 strcpy to copy between the two buffers.
6218 * testsuite/27/27stringbuf.cc: Change license, fix in_avail tests.
6219 * testsuite/27/27filebuf.cc: New file.
6220 * testsuite/27/27filebuf-1.txt: Data file for above test.
6221 * testsuite/27/27filebuf-2.txt: Ditto.
6223 * bits/std_streambuf.h (uflow): Re-implement default.
6224 * bits/std_fstream.h: Set _M_buf_size based on cstdio's BUFSIZ.
6225 Re-implement virtual functions.
6226 * bits/fstream.tcc: Delete unused mf's.
6228 1998-12-31 Benjamin Kosnik <bkoz@lunatic.cygnus.com>
6230 * bits/fstream.tcc: Add fstream ctor for cin/cout/etc.
6231 * bits/std_fstream.h: Ditto.
6232 * src/stdstreams.cc: Ditto.
6234 * math/cpowl.c: Fix header typo with last change.
6236 1998-12-31 Benjamin Kosnik <bkoz@loony.cygnus.com>
6238 * COPYING: New file (GPL v 2).
6239 * LICENSE.STD: Remove.
6240 * ./*: Change license.
6242 1998-12-30 Benjamin Kosnik <bkoz@haight.constant.com>
6244 * bits/std_streambuf.h (std): Remove static on _M_init.
6245 * bits/streambuf.tcc (std): Ditto.
6247 * bits/std_fstream.h: Add changes as discussed with Nathan, including
6248 state_type and codecvt_type members, the allocation of an internal
6249 buffer, the streamlined codecvt calls, etc.
6251 1998-12-21 Benjamin Kosnik <bkoz@haight.constant.com>
6253 * bits/std_sstream.h: Tweak.
6254 * bits/fstream.tcc: Remove unused stubs.
6255 * bits/std_fstream.h: Tweak.
6257 1998-12-17 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6259 * bits/std_streambuf.h: Move _IO_file_flags into basic_filebuf.
6260 Remove unused _IO_* members, possibly put into filebuf, which may
6262 * bits/std_fstream.h: Add _M_flag.
6263 * bits/sbuf_iter.h: Tweak.
6265 * bits/std_cstdio.h: Add SEEK_SET, SEEK_END, SEEK_CUR.
6266 * bits/ios_base.h: Use.
6268 * src/stdstreams.cc: Modify to reflect standard ctors for
6270 * src/misc-inst.cc: Ditto.
6272 * bits/os_raw.h: Wrap in std namespace. Model parameters on
6273 underlying C library calls instead of the underlying unix
6275 * src/os_raw.cc (_S_os_open): Use fopen, and compute a mode
6276 string as per p.659.
6277 (_S_os_close): Model on fopen.
6278 (_S_os_read): Model on fread.
6279 (_S_os_write): Model on fwrite.
6280 (_S_os_seek): Model on fseek.
6282 * bits/ios_base.h: Tweak.
6283 * bits/std_iosfwd.h: Wrap libio.h include with extern "C".
6284 * bits/std_sstream.h: Tweak.
6285 * bits/sstream.tcc: Remove old, uncalled code.
6286 * bits/std_fstream.h: Major reconstruction.
6287 * bits/fstream.tcc: Disable for the time being.
6289 1998-12-11 Benjamin Kosnik <bkoz@haight.constant.com>
6291 * bits/basic_string.h: Fix insert method.
6292 * stl/bits/stl_iterator.h: Remove previous hack.
6293 * bits/std_streambuf.h (sbumpc): Correct increment/return oddness.
6294 * bits/std_sstream.h: Fix more regressions.
6295 * testsuite/27/27stringbuf.C: Add (almost) complete tests.
6297 1998-12-09 Benjamin Kosnik <bkoz@loony.cygnus.com>
6299 * bits/basic_string.h: Tweak.
6301 * stl/bits/stl_iterator.h: Specialize iterator_traits for int so
6302 that string::append can be instantiated. HACK--checkin
6303 basic_string::iterator class.
6305 1998-12-07 Benjamin Kosnik <bkoz@haight.constant.com>
6307 * bits/std_sstream.h: Tweak.
6308 * bits/sstream.tcc: Tweak ctors.
6310 FIXME invalid friend defs. . WHERE ARE THEY??
6312 * bits/sbuf_iter.h (istreambuf_iterator::equal): Change to new
6313 names for basic_streambuf data members.
6315 * bits/std_streambuf.h: Add getloc() initialization bits.
6316 basic_streambuf(): Initialize with global locale data.
6317 imbue(): Set _M_init.
6319 * bits/std_streambuf.h(seekoff, seekpos): Complete with invalid
6320 stream pos == pos_type(off_type(-1)).
6321 in_avail(): Complete default implementation.
6322 snextc, sbumpc, sputbackc, sungetc, sputc, setg, xsputn,
6323 underflow, uflow, xsgetn, showmany, sync: Ditto.
6325 * bits/std_streambuf.h: _M_snextc_helper(): Remove.
6327 * bits/streambuf.tcc (sputbackc): Temporarily remove, need to
6328 re-populate with in-line member functions that are too big. Add
6329 initialization for _M_init.
6331 1998-12-03 Benjamin Kosnik <bkoz@cygnus.com>
6333 * bits/sstream.tcc: Convert _Allocator to _Alloc. Add typedefs
6334 for basic_string and basic_streambuf. Scope _IO_buf_* pointers to
6337 * src/stdstreams.cc (std): Disable wchar_t instantiations.
6339 * bits/c++config.h (_G_DEPRICATED): Add.
6340 (_G_USE_WCHAR_T): Add.
6341 * bits/std_streambuf.h: Radical reconstruction of basic_streambuf.
6342 Take out _Streambuf_base. Put _IO_FILE data member in basic_filebuf.
6343 * bits/streambuf.tcc (sputbackc): Remove ctor anti-def, Tweak.
6344 * bits/std_fstream.h: Add comment for implementation.
6345 * src/streambuf.cc: Remove.
6346 * src/Makefile.in: Remove streambuf.lo.
6347 * src/misc-inst.cc: Tweak.
6349 1998-12-02 Benjamin Kosnik <bkoz@cygnus.com>
6351 * bits/std_sstream.h: Add const_cast to rdbuf returns.
6352 * testsuite/27stringstream.C: Modify.
6354 1998-11-25 Benjamin Kosnik <bkoz@haight.constant.com>
6356 * src/Makefile.in (libstdc___la_OBJECTS): Add streambuf.lo.
6357 (libstdc___la_SOURCES): Ditto.
6359 * bits/streambuf.tcc: Tweak.
6361 * src/streambuf.cc: New file, add out-of-line definitions for
6364 * src/misc-inst.cc: Remove _Streambuf_base instantiations.
6365 Comment out wchar_t versions of the buffer instantiations, for now.
6367 * bits/std_streambuf.h: Wrap libio.h include with extern "C".
6368 Remove template wrapper around _Streambuf_base.
6369 Move IO_* data members into _Streambuf_base.
6370 Move _Streambuf_base members into streambuf.tcc.
6372 * bits/c++config.h (_G_USE_LIBIO): Enable.
6374 1998-11-02 Nathan Myers <ncm@cantrip.org>
6376 * CHECKLIST: downgrade iterator implementations
6377 * DESIGN: fill out notes about unimplemented features
6379 1998-10-31 Nathan Myers <ncm@cantrip.org>
6381 * CHECKLIST: itemized list of all interfaces, and status of each.
6383 1998-10-30 Nathan Myers <ncm@cantrip.org>
6385 * RELEASE-NOTES: add notes about optional includes, linking, running
6386 * src/Makefile.am: handle header installs properly
6387 * src/Makefile.in: regenerate from new src/Makefile.am
6389 1998-10-30 Benjamin Kosnik <bkoz@loony.cygnus.com>
6391 * bits/basic_string.h: Revert npos pending ciso646.
6392 * src/Makefile.am: Revert CXX flags for now.
6393 * src/Makefile.in: Ditto.
6395 1998-10-30 Brendan Kehoe <brendan@cygnus.com>
6397 * bits/std_sstream.h: Re-order ctors to put base before member
6400 1998-10-30 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6402 * stl/bits/std_memory.h: Fix typo.
6404 1998-10-30 Nathan Myers <ncm@cantrip.org>
6406 * src/string[A-Z]+.cc: change back to include "string.cc".
6407 * src/Makefile.am: revert filename changes. We need a different
6408 way to keep filenames in std/ from confusing Make.
6409 * bits/basic_string.h: define _S_max_size right, return it from
6410 string::max_size(); churn definition of npos again.
6411 * bits/string.tcc: fix _S_frob_size to avoid uint overflow.
6412 * bits/ios.cc: remove #ifdef on ios_base locale member initialization
6413 * BUGS: clear cruft.
6414 * C++STYLE: Touchup for release.
6415 * CHECKLIST: Touchup for release.
6417 * LICENSE.STD: Add requirement to retain copyrights and to provide
6418 the license with any copies.
6419 * README: Update for release.
6420 * TODO: Minor touchup for release.
6421 * RELEASE-NOTES: prepare for release
6423 1998-10-29 Ulrich Drepper <drepper@cygnus.com>
6425 * src/string[A-Z]+.cc: Include stdstring.cc, not string.cc.
6427 * src/Makefile.am (CXXFLAGS): Define _GNU_SOURCE.
6429 * src/Makefile.am (CXXLINK): New variable. Make sure we don't use
6430 CXX to generate the shared object.
6432 * src/Makefile.am (headers): Remove duplicated char_traits.h.
6434 1998-10-29 Brendan Kehoe <brendan@cygnus.com>
6436 * bits/basic_string.h (basic_string<>::max_size): Subtract 1, not
6437 2, from npos, solving infinite loop problems.
6439 1998-10-29 18:41 Ulrich Drepper <drepper@cygnus.com>
6441 * src/Makefile.am: Add rules to install headers.
6443 1998-10-29 Nathan Myers <ncm@cantrip.org>
6445 * bits/std_ostream.h: Remove #ifdef on operator<< for long double
6446 * bits/ostream.tcc: Remove #ifdef on operator<< for long double
6449 * shadow/bits/wrap_libio.h:
6450 * shadow/bits/wrap_unistd.h: New files.
6452 1998-10-29 Brendan Kehoe <brendan@cygnus.com>
6454 * bits/ostream.tcc (operator<<): Wrap with #ifdef
6455 _G_HAVE_LONG_DOUBLE_IO, to match bits/std_ostream.h.
6457 1998-10-29 Ulrich Drepper <drepper@cygnus.com>
6459 * src/Makefile.am: Add temporarily rules to make sure misc-inst.cc
6460 is not compiled with -fno-implicit-templates in effect.
6462 * src/Makefile.am (EXTRA_SOURCES): Add string.cc and wstring.cc here.
6463 (libstdc___la_SOURCES): Add all the string*.cc and wstring*.cc files.
6464 * src/stringADDCS.cc: Wrapper around string.cc to define individual
6466 * src/stringADDPS.cc: Likewise.
6467 * src/stringADDSC.cc: Likewise.
6468 * src/stringADDSP.cc: Likewise.
6469 * src/stringADDSS.cc: Likewise.
6470 * src/stringBIST.cc: Likewise.
6471 * src/stringBOST.cc: Likewise.
6472 * src/stringCHTR.cc: Likewise.
6473 * src/stringEQPS.cc: Likewise.
6474 * src/stringEQSP.cc: Likewise.
6475 * src/stringEQSS.cc: Likewise.
6476 * src/stringEXTRA.cc: Likewise.
6477 * src/stringGEPS.cc: Likewise.
6478 * src/stringGESP.cc: Likewise.
6479 * src/stringGESS.cc: Likewise.
6480 * src/stringGETLI.cc: Likewise.
6481 * src/stringGTPS.cc: Likewise.
6482 * src/stringGTSP.cc: Likewise.
6483 * src/stringGTSS.cc: Likewise.
6484 * src/stringINSER.cc: Likewise.
6485 * src/stringLEPS.cc: Likewise.
6486 * src/stringLESP.cc: Likewise.
6487 * src/stringLESS.cc: Likewise.
6488 * src/stringLTPS.cc: Likewise.
6489 * src/stringLTSP.cc: Likewise.
6490 * src/stringLTSS.cc: Likewise.
6491 * src/stringMAIN.cc: Likewise.
6492 * src/stringNEPS.cc: Likewise.
6493 * src/stringNESP.cc: Likewise.
6494 * src/stringNESS.cc: Likewise.
6495 * src/stringSCOPY.cc: Likewise.
6496 * src/wstringADDCS.cc: Wrapper around wstring.cc to define individual
6498 * src/wstringADDPS.cc: Likewise.
6499 * src/wstringADDSC.cc: Likewise.
6500 * src/wstringADDSP.cc: Likewise.
6501 * src/wstringADDSS.cc: Likewise.
6502 * src/wstringBIST.cc: Likewise.
6503 * src/wstringBOST.cc: Likewise.
6504 * src/wstringCHTR.cc: Likewise.
6505 * src/wstringEQPS.cc: Likewise.
6506 * src/wstringEQSP.cc: Likewise.
6507 * src/wstringEQSS.cc: Likewise.
6508 * src/wstringEXTRA.cc: Likewise.
6509 * src/wstringGEPS.cc: Likewise.
6510 * src/wstringGESP.cc: Likewise.
6511 * src/wstringGESS.cc: Likewise.
6512 * src/wstringGETLI.cc: Likewise.
6513 * src/wstringGTPS.cc: Likewise.
6514 * src/wstringGTSP.cc: Likewise.
6515 * src/wstringGTSS.cc: Likewise.
6516 * src/wstringINSER.cc: Likewise.
6517 * src/wstringLEPS.cc: Likewise.
6518 * src/wstringLESP.cc: Likewise.
6519 * src/wstringLESS.cc: Likewise.
6520 * src/wstringLTPS.cc: Likewise.
6521 * src/wstringLTSP.cc: Likewise.
6522 * src/wstringLTSS.cc: Likewise.
6523 * src/wstringMAIN.cc: Likewise.
6524 * src/wstringNEPS.cc: Likewise.
6525 * src/wstringNESP.cc: Likewise.
6526 * src/wstringNESS.cc: Likewise.
6527 * src/wstringSCOPY.cc: Likewise.
6528 * src/string.cc: Remove now unneeded #defines now.
6530 1998-10-29 Nathan Myers <ncm@cantrip.org>
6532 * bits/locfacets.tcc: Define num_put::put(... const void*), improve
6534 * bits/ostream.tcc: Delete cruft, rewrite various op<< as members,
6535 add definitions for double, long double, const void*.
6536 * bits/std_ostream.h: Move op<<'s back into class ostream,
6537 define some in-line.
6538 * bits/string.tcc: fix unnecessary-copying bug in op[], typos in
6539 string construction from input iterators that Brendan reported.
6542 1998-10-28 Brendan Kehoe <brendan@cygnus.com>
6544 * stl/bits/stl_pair.h (op!=, op>, p<=, op>=): Add missing definitions.
6546 * bits/valarray_meta.h (class _Constant): Move declaration to the
6547 top, so the rest of the file can grok it.
6548 (_ApplyBinaryFunction::operator[]): Add missing parenthesis.
6550 * bits/std_sstream.h (basic_ostringstream::str): Fix typo of extra
6552 (basic_stringstream::str, both instances): Likewise.
6554 1998-10-28 Nathan Myers <ncm@cantrip.org>
6556 * bits/locfacets.h: fix num_put<>::falsename()
6557 * bits/locfacets.tcc: fix _Format_cache<>::_M_populate bool name init
6558 * testsuite/27/27octfmt.C, testsuite/27/27octfmt.C: new tests
6559 * bits/locfacets.tcc: touch up _S_group_digits.
6560 * src/misc-inst.cc: adjust _S_group_digits insts to match.
6562 1998-10-27 Nathan Myers <ncm@cantrip.org>
6564 * stl/bits/stl_config.h: Turn off long long support, for now.
6565 * src/locale-inst.cc: Instantiate num_put<> only for
6566 ostreambuf_iterator, num_get only for istreambuf_iterator.
6567 * src/misc-inst.cc: Delete duplicate locale-related instantiations,
6568 add lots of new instantiations for num_put support function templates;
6569 remove junk about __match_parallel for ostreambuf_iterator.
6571 1998-10-27 Nathan Myers <ncm@cantrip.org>
6573 * bits/locfacets.tcc: Make num_put's digit grouping work.
6574 * bits/string.tcc: More uglification.
6575 * src/ios.cc: initialize format cache right
6577 1998-10-26 Nathan Myers <ncm@cantrip.org>
6579 * bits/basic_string.h: Uglify more names.
6580 * bits/fstream.tcc: Rewrite some filebut output handling.
6581 * bits/ios_base.h: Cosmetic.
6582 * bits/locfacets.h: Changes to _Format_cache for support of num_put.
6583 Also, specialize its default ctor for optimal default case.
6584 #ifdef out "long long" prototypes for now.
6585 * bits/locfacets.tcc: Do complete, optimized num_put<>::do_put
6586 implementation for integer types. (Still needs optimized
6587 std::copy() applied to ostreambuf_iterator to be optimal.)
6588 * bits/ostream.tcc: Write operator<< for long, bool types.
6589 Make other operators<< non-members, per spec. (Many still
6590 not implemented.) Identify those that fail to create a sentry.
6591 * bits/sbuf_iter: Cosmetic.
6592 * bits/std_fstream.h: Add some filebuf members.
6593 * bits/std_locale.h: Include <limits> for use in bits/locfacets.h
6594 * bits/std_ostream.h: Make member operators<< global, per spec.
6595 (Should do the same in std_istream.h.)
6596 * bits/std_string.h: Include <limits> for use in bits/locfacets.h
6597 * bits/string.tcc: Uglify names
6598 * shadow/bits/std_cstdlib.h: Optimize std::div and std::ldiv.
6599 * src/ios.cc: Specialize _Format_cache<> for char and wchar_t,
6600 for optimal default behavior.
6602 1998-10-26 Benjamin Kosnik <bkoz@loony.cygnus.com>
6604 * src/Makefile.in (libstdc___la_SOURCES): Add misc-inst.cc again.
6606 1998-10-21 Nathan Myers <ncm@cantrip.org>
6608 * src/locale.cc: make ctype operations actually work for glibc
6609 * CHECKLIST: add a comprehensive (i.e. huge) implementation
6610 checklist of stdlib facilities. Not filled in yet.
6612 1998-10-20 Nathan Myers <ncm@cantrip.org>
6614 * bits/string.tcc: fix patching NULs on string ends.
6616 1998-10-19 Nathan Myers <ncm@cantrip.org>
6618 * bits/std_iosfwd.h: eliminate "basic_" prefix on streambuf
6619 iterator forward declarations
6620 * bits/sbuf_iter.h: eliminate default template argument definitions
6621 on streambuf iterators (rely on <iosfwd> decls).
6622 * TODO: add note about lazy facet construction
6623 * bits/basic_ios.h: hit operator void* again. This should be the
6624 last time we need to touch it.
6625 * bits/basic_ios.h: copyfmt now returns *this.
6626 * bits/basic_string.h: fix npos again. npos cannot be defined as zero.
6627 * bits/basic_string.h: put back overloaded constructors; adjust
6628 behavior for default allocator on copy constructor.
6629 * bits/char_traits.h: make not_eof return correct type.
6630 * bits/loccore.h: remove call to bits/std_stdexcept.h; subincludes
6631 cannot be in non-standard headers or we get include loops (bad)
6632 * bits/loccore.h: delete ifdef'd out workarounds for old compiler bugs.
6633 * bits/loccore.h: add apparatus to support lazy construction of
6635 * bits/locfacets.tcc: Uglify names in __match_parallel decl.
6636 * bits/std_ios.h: add include of <typeinfo> to get bad_cast for
6637 locale use_facet<> failure.
6638 * bits/std_locale.h: same.
6639 * bits/std_string.h: same.
6640 * bits/std_stdexcept.h: change exception member __msg from a
6641 reference to a regular object.
6642 * bits/string.tcc: add pasting a NUL on the end of strings after
6643 each operation. We had already left room for it, but previously
6644 plugged it only on a call to c_str(), but the WG changed the
6645 requirement when I wasn't looking. (Can't leave them alone for
6646 a second without they break something else.)
6647 * bits/valarray_meta.h: add Gaby's changes from 981018.
6648 * src/locale.cc: add new type _Bad_use_facet to be thrown on
6649 failure of use_facet<>().
6650 * src/stdexcept.cc: remove pragma, remove bkoz's #if 0,
6651 comment out leftover member definitions
6653 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
6655 * string/Makefile.am: Revert last change.
6656 * math/Makefile.am: Likewise.
6658 1998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
6660 * bits/std_sstream.h: Fix typo.
6662 1998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
6664 * src/Makefile.am (libstdc___la_SOURCES): Add misc-inst.cc.
6666 * bits/std_sstream.h: Add typedefs, member definitions. Clean.
6667 * bits/std_stdexcept.h: Remove.
6669 1998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
6671 * src/misc-inst.cc: Tweak again.
6673 * bits/std_sstream.h: Move out-of-line definitions to sstream.tcc.
6674 * bits/sstream.tcc: New file.
6676 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
6678 * configure.in: Test for machine/param.h, sys/machine.h and fp.h.
6679 Don't run AC_C_BIGENDIAN if machine/param.h or sys/machine.h are
6682 * math/mathconf.h: Include sys/machine.h, machine/param.h and fp.h
6684 (INFINITE_P): Use IS_INF macro if available.
6686 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
6688 * math/Makefile.am (EXTRA_LTLIBRARIES): Renamed from
6690 * string/Makefile.am: Likewise.
6692 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
6694 * configure.in (AC_CHECK_FUNCS): Add finite, qfinite, fpclass, and
6696 (AC_CHECK_HEADERS): Add machine/endian.h. If no header specifying
6697 endianess is available run AC_C_BIGENDIAN.
6699 * math/clog10l.c: Add ugly hack around bug in Irix 6.2 header until
6700 fixincludes is fixed.
6701 * math/clogl.c: Likewise.
6702 * math/csqrtl.c: Likewise.
6703 * math/mycabsl.c: Likewise.
6705 * math/mathconf.h: Include machine/endian.h if possible. If no
6706 header describing endianess is available rely on WORDS_BIGENDIAN
6708 (FINITE_P, FINITEF_P, FINITEL_P): Use finite functino if available.
6709 (INFINITE_P, INFINITEF_P, INFINITEL_P): Use fpclass function if
6712 * src/complex.cc (polar): Don't use sincos on OSF machines.
6714 1998-10-09 Benjamin Kosnik <bkoz@loony.cygnus.com>
6716 * src/locale-inst.cc: Don't instantiate time_get for
6717 ostreambuf_iterators as time_get::do_get_weekday and
6718 time_get::do_get_monthname use __match_parallel, which is illegal
6719 for ostreambuf_iterators to use, as they don't have operator== or
6721 * bits/std_stdexcept.h: Add dtor definitions.
6722 Use stl/bits/std_stdexcept.h instead of this file?
6723 * bits/sbuf_iter.h : Tweak.
6724 * src/misc-inst.cc: Tweak.
6726 1998-10-09 Benjamin Kosnik <bkoz@haight.constant.com>
6728 * bits/std_stdexcept.h: New file.
6729 * src/stdexcept.cc: Define the following:
6731 runtime_error::what()
6733 * src/misc-inst.cc: New file.
6734 * src/Makefile.in (libstdc___la_SOURCES): Add misc-inst.cc.
6735 (libstdc___la_OBJECTS): Add misc-inst.lo.
6737 * bits/basic_string.h: Disable non-standard ctor declarations.
6738 * bits/string.tcc: Disable definitions as well.
6739 * src/string.cc: Disable <ios> dependancies.
6740 * bits/sbuf_iter.h (std): Add default to template parameter for
6741 ostreambuf_iterator and istreambuf_iterator.
6742 * bits/std_iosfwd.h: Change istreambuf_iterator to
6743 basic_istreambuf_iterator. Likewise for ostreambuf.
6744 * bits/locfacets.tcc (__match_parallel): Fix typo.
6745 * src/ios.cc (imbue): Remove the _G_HAVE_LOCALE guards around
6747 * bits/std_streambuf.h: Define _Streambuf_base::getloc().
6748 * bits/std_istream.h: Define the following:
6749 get (basic_streambuf<char_type,_Traits>& __sb, char_type __delim)
6750 get (char_type* __s, streamsize __n, char_type __delim);
6751 getline (char_type* __s, streamsize __n, char_type __delim)
6752 * bits/loccore.h : FIXME friend template code for use_facet.
6753 Add std_stdexcept.h include so that range_error will be defined.
6754 Add explicit conversion to string for range_error throws. (HACK?)
6756 1998-10-8 Ulrich Drepper <drepepr@cygnus.com>
6758 * configure.in: Check for sincos, sincosf, and sincosl.
6759 * src/complex.cc (polar): Use sincos if available.
6761 * bits/c++config.h: Fix hack to get LONG_LONG* definitions on Linux.
6762 * stl/bits/std_limits.h: Include bits/c++config.h. HACK!!!
6764 * math/clog10.c: Fix typo (FP_INIFITE_P -> INFINITE_P).
6766 * math/cpow.c: Use c_log, not clog.
6767 * math/cpowf.c: Likewise.
6768 * math/cpowl.c: Likewise.
6770 * math/cexp.c: Remove unused fpclassify calls. Use FINITE_P instead
6773 * math/mathconf.h (FINITE_P, FINITEF_P, FINITEL_P): Define using
6774 isfinite macro if it is available.
6775 (INFINITE_P, INFINITEF_P, INFINITEL_P): Define using isinf macro.
6777 * math/ccosf.c: Use appropriate test macros for this type.
6778 * math/ccoshf.c: Likewise.
6779 * math/ccoshl.c: Likewise.
6780 * math/ccosl.c: Likewise.
6781 * math/cexpf.c: Likewise.
6782 * math/cexpl.c: Likewise.
6783 * math/clog10f.c: Likewise.
6784 * math/clog10l.c: Likewise.
6785 * math/clogf.c: Likewise.
6786 * math/clogl.c: Likewise.
6787 * math/csinf.c: Likewise.
6788 * math/csinhf.c: Likewise.
6789 * math/csinhl.c: Likewise.
6790 * math/csinl.c: Likewise.
6791 * math/csqrtf.c: Likewise.
6792 * math/csqrtl.c: Likewise.
6793 * math/ctanf.c: Likewise.
6794 * math/ctanhf.c: Likewise.
6795 * math/ctanhl.c: Likewise.
6796 * math/ctanl.c: Likewise.
6798 1998-10-06 Benjamin Kosnik <bkoz@bliss.nabi.net>
6800 * bits/basic_ios.h: Fix previous change.
6802 1998-10-06 Benjamin Kosnik <bkoz@bliss.nabi.net>
6804 * bits/basic_ios.h: Add const_cast<basic_ios&>
6805 (operator void*): As per 5.2.9 p 2, make sure static_cast is
6807 * bits/char_traits.h: No _CharT for specialization, change to 0.
6808 * bits/basic_string.h: As per 9.4.2 p4, initialize with
6809 constant-initializer.
6810 * bits/locfacets.tcc: Add template parameter to initialization list.
6812 1998-10-02 Benjamin Kosnik <bkoz@loony.cygnus.com>
6814 * bits/basic_string.h: Should just be <, not <=.
6816 1998-10-01 Benjamin Kosnik <bkoz@bliss.nabi.net>
6818 * bits/string.tcc (compare): Fix for strings that are similar, but
6819 not the same length.
6821 1998-09-04 Brendan Kehoe <brendan@cygnus.com>
6823 * bits/c++config.h: For __linux__, define _GNU_SOURCE. This is
6824 required for us to get LONG_LONG_{MIN,MAX} out of gcc's limits.h.
6825 We can't check for __GLIBC__ here, since this header can be read
6826 before any system one (that would lead to features.h) being used.
6828 * stl/bits/stl_config.h (__STL_LONG_LONG): Re-enabled
6830 * stl/bits/std_limits.h [__STL_LONG_LONG]: Fix usage to use
6831 LONG_LONG_MIN, LONG_LONG_MAX, and ULONG_LONG_MAX.
6833 * stl/bits/stl_config.h: Don't do __STL_LONG_LONG, it uses
6834 LONGLONG_{MIN,MAX} which I can't find the origin of.
6836 1998-09-03 Brendan Kehoe <brendan@cygnus.com>
6838 * stl/bits/stl_iterator.h: Add extern decl of cin for now; where
6839 should this come from, if not iostream.h?
6840 (class istream_iterator): Make the new operator!= a friend also.
6842 * stl/bits/stl_config.h: Define __STL_HAS_WCHAR_T,
6843 __STL_MEMBER_TEMPLATE_CLASSES, and __STL_LONG_LONG. Don't include
6844 _G_config.h like the egcs one does.
6846 1998-09-01 Brendan Kehoe <brendan@cygnus.com>
6848 * bits/string.tcc: Call `_M_destroy' instead of `destroy'.
6850 * bits/valarray_meta.h: Throughout, rename _Expr typedefs to be
6851 _Expr1 (or _Expr_def if it's taken), and change definitions.
6852 Avoids redecl of the template parm.
6854 * bits/string.tcc (basic_string copy ctor): Fix typo in declaration.
6855 (operator>>): Initialize __ERROR with ios_base::goodbit, not 0.
6857 * bits/std_streambuf.h (_POSIX_SOURCE): Only define if it's not
6860 * src/locale-inst.cc: New file, **TOTAL HACK**. There has GOT to
6861 be a better way to do this.
6863 * src/stlinst.cc: New file.
6865 * BUGS: New file, with various discovered bugs that need to be
6868 * Makefile.in, math/Makefile.in, string/Makefile.in,
6869 src/Makefile.in: Reran automake.
6871 Workarounds, these may not all be the final fixes:
6873 * bits/basic_ios.h (class basic_ios): Make _M_strbuf be protected,
6874 not private, for basic_istream::get() in std_istream.h to be able
6876 (basic_ios::operator void*): Don't use static_cast for the false
6878 (basic_ios::copyfmt): Fix `rhs.except' to be `rhs.exceptions ()'.
6879 This appears to have been in sep94, but didn't get corrected
6882 * bits/basic_string.h (npos): Don't init here.
6883 * bits/string.tcc: Instead, do initialization here, to -1 instead
6884 of the size_type destructor.
6886 * src/traits.cc, src/wtraits.cc: New files.
6887 * bits/char_traits.h: For char_traits<char> and
6888 char_traits<wchar_t>, declare static, but define over in the src
6891 * bits/gslice.h: Comment out forward decls of _Array, valarray,
6892 gslice_array, and _GsliceExpression.
6894 * bits/std_cstdio.h [__sparc__ && __svr4__]: #undef all of
6895 clearerr, feof, ferror, getc, getchar, putc, putchar, stdin,
6896 stdout, and stderr. Note we do get unresolved refs to stdin, but
6897 that'll get fixed by the "true" solution.
6899 * bits/std_ios.h: Include <bits/std_streambuf.h> to get the
6900 definition of basic_streambuf.h, which is used in basic_ios.h to
6903 * bits/std_streambuf.h: Don't include libio.h for now.
6904 (class basic_streambuf): Define missing methods pubimbue and
6907 * src/Makefile.am (libstdc___la_SOURCES): Add stdexcept.cc,
6908 ios.cc, os_raw.cc, stdstreams.cc, locale.cc, localename.cc,
6909 locale-inst.cc, stlinst.cc, traits.cc, wtraits.cc.
6911 * src/ios.cc: Instantiate basic_ios<char> and basic_ios<wchar_t>.
6913 * src/locale.cc: Come up with munged versions of _S_toupper,
6914 _S_tolower, and _S_table instead of the glibc-specific ones, so
6915 they're at least defined, if not necessarily usable. The glibc
6916 ones on any other system will yield unresolved refs to
6917 __ctype_{b,toupper,tolower}.
6919 * src/string.cc: Define all of ADDCS, ADDPS, et al. Add
6920 basic_ios, basic_istream, basic_ostream. Don't do char_traits
6921 anymore cuz of the explicit specialization in char_traits.h.
6922 Also add _S_string_copy, but this doesn't fix it -- cf the BUGS
6923 file for the details.
6925 * stl/bits/stl_algobase.h (equal): Fix to do `! (x==y)'.
6926 * stl/bits/stl_iterator.h (__distance): Likewise.
6928 * stl/bits/stl_iterator.h: As with 8/18 set, define missing op!=,
6929 op>, op<=, and op>= for reverse_iterator. Also add op!= for
6932 1998-08-26 Brendan Kehoe <brendan@cygnus.com>
6934 * bits/string.tcc (basic_string::compare (const char*)): Fix to
6937 1998-08-25 Brendan Kehoe <brendan@cygnus.com>
6939 This should really be fixed with __asm__ directives renaming the
6940 symbol, but keeping the function.
6941 * math/clogf.c (c_logf): Renamed from `clogf'.
6942 * math/clogl.c (c_logl): Renamed from `clogl'.
6943 * math/complex-stub.h (c_logf, c_logl): Change decls.
6945 * bits/locfacets.h (class _Numeric_get): For friend decls, rename
6946 _CharT and _InIter parms, since they duplicate the enclosing ones.
6948 1998-08-19 Brendan Kehoe <brendan@cygnus.com>
6950 Deal with conflict of the iostreams `clog' and our internal
6951 complex number `clog'.
6952 * src/complex.cc: Call `c_log' instead of `clog'.
6953 * math/clog.c (c_log):: Renamed from clog.
6954 * math/complex-stub.h (c_log): Renamed from clog decl.
6956 * bits/locfacets.h (class _Numeric_get): Tweak fwd decls of the
6958 (num_put::put): #if 0 long long version, since we don't declare or
6959 define the long long version of do_put.
6961 1998-08-18 Nathan Myers <ncm@cantrip.org>
6963 * bits/basic_string.h: add basic_string<>::push_back(), fix return
6964 type of get_allocator (thanks to Ryszard Kabatek).
6965 * bits/char_traits.h: make init order of fpos<> members
6967 * bits/ios_base.h: fix decls of ios_base bitmask & enum types, add
6968 flags _S_fd_in etc. for special filebuf ctor.
6969 * bits/locfacets.h: make _Numeric_get and _Format_cache public
6970 to work around problems in friend declarations.
6971 * bits/locfacets.tcc: qualify _S_get_cache in num_get<>::get(..bool&),
6972 fix random type errors & typos
6973 * bits/std_fstream.h: major refitting to bypass libio (for now),
6974 instrument to use bits/fstream.tcc template definitions
6975 * bits/std_iosfwd.h: mess with wrappers
6976 * bits/std_istream.h: remove meaningless comment
6977 * bits/std_ostream.h: instrument to work with ostream.tcc.
6978 * bits/std_streambuf.h: instrument to work with streambuf.tcc
6979 * bits/fstream.tcc: template defs for <fstream>
6980 * bits/ostream.tcc: template defs for <ostream>
6981 * bits/streambuf.tcc: template defs for <streambuf>
6982 * bits/os_raw.h: thin OS interface wrapper, to bypass libio (for now).
6983 * Delete .cc files, replace with bits/*.tcc
6989 src/os_raw.cc: thin interface to OS, to bypass libio (for now).
6990 src/stdstreams.cc: cout, cin, etc. definitions
6991 (these still need work: must be init'd before user statics.)
6994 1998-08-18 Brendan Kehoe <brendan@cygnus.com>
6996 Sent to SGI before checkin:
6997 * stl/bits/stl_vector.h (operator!=, operator>, operator<=,
6998 operator>=): Define.
6999 * stl/bits/stl_bvector.h (vector<bool>::flip): Define method.
7000 * stl/bits/stl_deque.h (operator!=, operator>, operator<=,
7001 operator>=): Define.
7002 (operator==, operator<): Add inline.
7003 * stl/bits/stl_map.h (operator!=, operator<, operator<=,
7004 operator>=): Define.
7005 * stl/bits/stl_multimap.h (operator!=, operator<, operator<=,
7006 operator>=): Define.
7007 * stl/bits/stl_list.h (operator!=, operator<, operator<=,
7008 operator>=): Define.
7009 * stl/bits/stl_set.h (operator!=, operator<, operator<=,
7010 operator>=): Define.
7011 * stl/bits/stl_multiset.h (operator!=, operator<, operator<=,
7012 operator>=): Define.
7014 * bits/std_valarray.h (_Shift_left, _Shift_right): Inherit from
7017 1998-08-15 Nathan Myers <ncm@cantrip.org>
7019 * bits/ios_base.h: change nominal bitmask and enum types to real enums
7020 * bits/locfacets.h: make _Format_cache bool names usable by num_get
7021 * bits/locfacets.tcc: make num_get<>::get(... bool&) use _Format_cache
7022 * bits/std_fstream.h: minor cleanups: ctors delegate to open()
7023 * bits/std_iosfwd.h: more bitmask changes, for ios_base::iostate
7024 * bits/std_sstream.h: formatting cleanups
7026 1998-08-14 Nathan Myers <ncm@cantrip.org>
7028 * bits/locfacets.tcc: implement num_get<>::do_get(..., bool&)
7029 * bits/locfacets.tcc: implement time_get<>::do_get_weekday
7030 * bits/locfacets.tcc: implement time_get<>::do_get_monthname
7031 * bits/locfacets.h: fix missing argument in do_get_monthname
7032 (this is a bug in the standard, ref. 36 in my list.)
7033 * bits/locfacets.h: make month and day name caches mutable
7034 * bits/locfacets.tcc: various typos in get() functions
7035 * bits/sbuf_iter.h: fix omission in istreambuf_iterator::op++().
7036 * bits/std_streambuf.h: fix typo in sgetn (Brendan)
7038 1998-08-12 Nathan Myers <ncm@cantrip.org>
7039 * move streambuf iterators to bits/sbuf_iter.h
7040 * optimize streambuf iterators
7041 * begin generalizing streambuf
7042 * begin implementing num_get<>::get (starting with bool)
7043 * patch stl/bits/stl_config.h so that relops operators are
7044 contained properly, out of the way.
7046 1998-07-24 Nathan Myers <ncm@cantrip.org>
7047 * Fold in SGI 3.11 changes (uglified names, some algorithm
7048 improvements, very minor bug fixes.)
7049 * Uglify names elsewhere to match (s/_T/_Tp/).
7050 * Begin work on optimized streambuf
7051 * Put complex.cc in namespace std:: (thanks Martin)
7053 1998-07-17 Nathan Myers <ncm@cantrip.org>
7055 * bits/char_traits.h: add _Char_traits_match template.
7056 * bits/string.tcc: fix bugs in various find_last* members.
7057 * bits/basic_string.h: redeclare member _S_find.
7058 * stl/bits/stl_iterator.h: change member names in nonstandard
7059 templates bidirectional_reverse_iterator and
7060 random_access_reverse_iterator to match expected changes
7062 * src/string.cc: fix definitions of stream operators.
7064 1998-07-14 16:06 Ulrich Drepper <drepper@cygnus.com>
7066 * Makefile.am (SUBDIRS): Add string.
7068 * configure.in: Test for long double functions separately. Test for
7069 ISO C 89 float functions. Test for endian.h and sys/isa_defs.h.
7070 Generate string/Makefile.
7072 * bits/c++config.h: Define mbstate_t for Solaris.
7074 * bits/char_traits.h: Remove unused #if.
7076 * bits/std_cwchar.h: Declare wide char string functions.
7078 * m4/stringfcts.m4: New file.
7080 * math/complex-stub.h: Declare nan.
7081 * math/nan.c: New file.
7083 * math/mathconf.h: Hack around missing endian.h file.
7084 Handle missing NAN definition.
7085 Handle missing float math functions.
7087 * src/Makefile.am (libstdc___la_LIBADD): Add libstring.la.
7088 (libstdc___la_LDFLAGS): Set version information.
7090 * src/complexl.cc: Don't compile any code if no long double functions
7093 * string/Makefile.am: New file.
7094 * string/dummy.c: New file.
7095 * string/wmemchr.c: New file.
7096 * string/wmemcmp.c: New file.
7097 * string/wmemcpy.c: New file.
7098 * string/wmemmove.c: New file.
7099 * string/wmemset.c: New file.
7101 1998-07-14 10:45 Ulrich Drepper <drepper@cygnus.com>
7103 * configure.in: Make it work.
7104 * install-sh: New file.
7105 * missing: New file.
7106 * mkinstalldirs: New file.
7107 * m4/mathfcts.m4: New file.
7108 * math/Makefile.am: New file.
7110 * bits/std_complex.h (conj): Mark specializations as inline.
7112 * math/carg.c: New file.
7113 * math/cargf.c: New file.
7114 * math/cargl.c: New file.
7115 * math/mycabs.c: New file.
7116 * math/mycabsf.c: New file.
7117 * math/mycabsl.c: New file.
7118 * math/signbit.c: New file.
7119 * math/signbitf.c: New file.
7120 * math/signbitl.c: New file.
7122 * math/ccos.c: Avoid ISO C 9x functionality.
7123 * math/ccosf.c: Likewise.
7124 * math/ccosh.c: Likewise.
7125 * math/ccoshf.c: Likewise.
7126 * math/ccoshl.c: Likewise.
7127 * math/ccosl.c: Likewise.
7128 * math/cexp.c: Likewise.
7129 * math/cexpf.c: Likewise.
7130 * math/cexpl.c: Likewise.
7131 * math/clog.c: Likewise.
7132 * math/clog10.c: Likewise.
7133 * math/clog10f.c: Likewise.
7134 * math/clog10l.c: Likewise.
7135 * math/clogf.c: Likewise.
7136 * math/clogl.c: Likewise.
7137 * math/cpow.c: Likewise.
7138 * math/cpowf.c: Likewise.
7139 * math/cpowl.c: Likewise.
7140 * math/csin.c: Likewise.
7141 * math/csinf.c: Likewise.
7142 * math/csinh.c: Likewise.
7143 * math/csinhf.c: Likewise.
7144 * math/csinhl.c: Likewise.
7145 * math/csinl.c: Likewise.
7146 * math/csqrt.c: Likewise.
7147 * math/csqrtf.c: Likewise.
7148 * math/csqrtl.c: Likewise.
7149 * math/ctan.c: Likewise.
7150 * math/ctanf.c: Likewise.
7151 * math/ctanh.c: Likewise.
7152 * math/ctanhf.c: Likewise.
7153 * math/ctanhl.c: Likewise.
7154 * math/ctanl.c: Likewise.
7156 * math/complex-stub.h: New file.
7158 * math/mathconf.h: New file.
7160 * src/Makefile.am: New file.
7162 * src/complex.cc: Use mathconf.h instead of complex.h.
7163 Don't use cabs, always use __mycabs.
7165 1998-02-13 Brendan Kehoe <brendan@cygnus.com>
7167 * iterator (class reverse_iterator): Do some tweaks to be in sync