1 2000-05-01 Vadim Egorov <egorovv@@mailandnews.com>
3 * bits/char_traits.h: Fix parameter types.
4 * bits/string.tcc: Avoid traits_type::move.
6 2000-05-01 Benjamin Kosnik <bkoz@haight.constant.com>
8 * src/Makefile.am (AC_CXXFLAGS): Add CPUFLAGS here.
9 * src/Makefile.in: Regenerate.
10 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Revert.
12 2000-04-30 Steven King <sxking@uswest.net>
14 * bits/locale_facets.h: Fix syntax error.
15 * bits/std_fstream.h: ditto
17 2000-04-30 Benjamin Kosnik <bkoz@gnu.org>
19 * config/cpu/powerpc/bits/atomicity.h (__compare_and_swap): Fix typo.
21 * mknumeric_limits (trait_name): Fix copyright notice.
22 * src/gen-num-limits.cc: Explicitly instantiate epsilon and
23 round_error data members of struct value. This works around
24 weak-linking issues on AIX, HPUX.
26 2000-04-29 Phil Edwards <pme@sourceware.cygnus.com>
28 * docs/download.html: Add link to list of mirror sites.
30 2000-04-28 Loren J. Rittle <ljrittle@acm.org>
32 * mkcheck.in: Rely on exit status instead of the presence of a
33 core file. Added comments on how/where to save core and exe
34 files. Move shell wildcards outside quotes and fix core path.
36 2000-04-27 scott snyder <snyder@fnal.gov>
38 * src/misc-inst.cc: Explicitly instantiate ifstream and ofstream
41 2000-04-26 Nathan C. Myers <ncm@cantrip.org>
43 * bits/basic_string.h: include <bits/atomicity.h> instead
44 of <atomicity.h>, and use the uglified names.
45 * config/cpu/*/atomicity.h: replace with bits/atomicity.h;
46 uglify names, eliminate dependence on <inttypes.h>.
47 * src/Makefile.in, src/Makefile.am: refer to correct place
48 for atomicity.h header.
50 2000-04-25 Steven King <sxking@uswest.net>
52 * bits/basic_string.h: Fix syntax error.
54 2000-04-25 Benjamin Kosnik <bkoz@redhat.com>
56 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Improve checks for
58 (GLIBCPP_ENABLE_DEBUG): If alpha, use -gdwarf-2.
59 * math/Makefile.am (EXTRA_LONG_DOUBLE_yes): Add all the long
60 versions to this as copysignl is needed anyway for these targets.
61 * math/Makefile.in: Regenerate.
63 * bits/streambuf.tcc (streambuf::xsgetn): Tweak.
64 * bits/fstream.tcc (underflow): Cast to libio types.
65 * bits/basic_file.h (seekoff): Fixes for alpha: use __c_streamoff.
66 * config/c_io_libio.cc (seekoff): And here.
68 2000-04-24 Loren J. Rittle <ljrittle@acm.org>
70 * mkcheck.in: Report compiler version used for test. Find
71 the built _G_config.h instead of any old installed version.
73 2000-04-24 Loren J. Rittle <ljrittle@acm.org>
75 * config/generic/ctype.cc (do_toupper): Remove dependence on
76 non-portable/non-existent lookup table.
79 2000-04-24 Nathan Myers <ncm@cantrip.org>
81 * src/string-inst.cc: More fixing.
83 2000-04-24 Benjamin Kosnik <bkoz@gnu.org>
85 * bits/stl_iterator.h: Pedantic fixing.
86 * bits/std_sstream.h: And here.
87 * bits/string.tcc: And here.
89 2000-04-24 Felix Natter <fnatter@gmx.net>
91 * docs/17_intro/howto.html: Add bits.
92 * docs/17_intro/porting-howto.html: New file.
94 2000-04-24 Branko Cibej <branko.cibej@hermes.si>
96 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Expand
97 @libinst_wstring_la@ to libinst-wstring.la when specializing for
98 wchar_t, to empty string otherwise.
99 * src/Makefile.am: (EXTRA_LTLIBRARIES): New.
100 (sources): Remove $(string_sources) and $(wstring_sources).
101 (libstdc___la_LIBADD): Add libinst-string.la and @libinst_wstring_la@.
102 (libstdc___la_DEPENDENCIES): New.
103 (libinst_string_la_SOURCES, libinst_wstring_la_SOURCES): New.
105 2000-04-20 Benjamin Kosnik <bkoz@redhat.com>
107 * bits/std_sstream.h: Tweak formatting.
108 * bits/std_fstream.h: Make types public.
110 * testsuite/27_io/streambuf.cc: Fix for alpha.
112 Brad Garcia <bgarcia@laurelnetworks.com>
113 * bits/locale_facets.h (numpunct::numpunct(size_t)): Fix bool
115 * testsuite/27_io/ios_manip_fmtflags.cc (test02): Add test for
118 2000-04-19 Nathan Myers <ncm@cantrip.org>
120 * src/string-inst: consolidate _S_create,
121 destroy, leak, clone members into stringMAIN and stringMUTATE
123 * src/Makefile.am: Above, and eliminate dependence on
125 * src/wstring-inst.cc: Remove.
127 2000-04-18 Benjamin Kosnik <bkoz@redhat.com>
129 * src/Makefile.am (AC_CXXFLAGS): Activate debugging code, again.
130 Add flags for specialized rules dealing with instantiations.
132 * src/string-inst.cc: Add instantiations missing from shared
133 libraries--see stringEQ, stringCONSC.
134 * src/Makefile.am (wstring_sources): Add.
135 (string_sources): Same.
136 * src/Makefile.in: Regenerate.
138 * stl/*: Integrate contents of this directory into top-level
140 * ext/bvector hash_map hash_set rope ropeimpl.h slist
141 stl_bvector.h stl_hash_fun.h stl_hashtable.h stl_rope.h tree: Add.
142 * bits/pthread_allocimpl.h std_algorithm.h std_bitset.h
143 std_deque.h std_functional.h std_iterator.h std_list.h std_map.h
144 std_memory.h std_numeric.h std_queue.h std_set.h std_stack.h
145 std_stdexcept.h std_strstream.h std_utility.h std_vector.h
146 stl_algo.h stl_algobase.h stl_alloc.h stl_config.h stl_construct.h
147 stl_deque.h stl_function.h stl_heap.h stl_iterator.h
148 stl_iterator_base.h stl_list.h stl_map.h stl_multimap.h
149 stl_multiset.h stl_numeric.h stl_pair.h stl_pthread_alloc.h
150 stl_queue.h stl_range_errors.h stl_raw_storage_iter.h stl_relops.h
151 stl_set.h stl_stack.h stl_string_fwd.h stl_tempbuf.h stl_threads.h
152 stl_tree.h stl_uninitialized.h stl_vector.h type_traits.h: Add.
153 * backward/algo.h algobase.h alloc.h bvector.h defalloc.h deque.h
154 function.h hash_map.h hash_set.h hashtable.h heap.h iterator.h
155 list.h map.h multimap.h multiset.h pair.h rope.h set.h slist.h
156 stack.h tempbuf.h tree.h vector.h: Add.
157 * README (file): Update.
158 * docs/documentation.html: README not being found.
159 * src/Makefile.am (sources): Take out stl directory.
160 * mkcheck.in (SRC_DIR): And here.
161 * src/Makefile.in: Regenerate.
163 2000-04-18 Levente Farkas <lfarkas@mindmaker.hu>
165 * stl/bits/stl_function.h: Add bits so that const and non-const
168 2000-04-18 scott snyder <snyder@fnal.gov>
170 * stl/bits/stl_map.h (class map): Fix default for _Alloc template
171 parameter. Get rid of use of __STL_DEFAULT_ALLOCATOR and
172 __STL_LIMITED_DEFAULT_TEMPLATES macros.
173 * stl/bits/stl_multimap.h (class multimap): Likewise. Get rid of
174 use of __STL_DEPENDENT_DEFAULT_TMPL macro.
176 2000-04-18 scott snyder <snyder@fnal.gov>
178 * stl/bits/stl_config.h (__STL_DEPENDENT_DEFAULT_TMPL): Deleted
181 * stl/ext/hash_map (class hash_map, class hash_multimap): Get rid
182 of use of __STL_DEPENDENT_DEFAULT_TMPL macro.
183 * stl/ext/hash_set (class hash_set, class hash_multiset):
185 * stl/bits/stl_function.h (struct constant_unary_fun, struct
186 constant_binary_fun): Likewise.
187 * stl/bits/stl_queue.h (class queue, class priority_queue): Likewise.
188 * stl/bits/stl_stack.h (class stack): Likewise.
189 * stl/bits/stl_set.h (class set): Likewise.
190 * stl/bits/stl_multiset.h (class multiset): Likewise.
192 * stl/bits/stl_iterator.h (class reverse_bidirectional_iterator,
193 class reverse_iterator): Get rid of use of
194 __STL_LIMITED_DEFAULT_TEMPLATES macro.
196 * stl/bits/stl_config.h (__STL_DEFAULT_ALLOCATOR): Deleted this
199 * stl/bits/stl_deque.h (class deque): Get rid of use of
200 __STL_DEFAULT_ALLOCATOR macro.
201 * stl/bits/stl_list.h (class list): Likewise.
202 * stl/bits/stl_multiset.h (class multiset): Likewise.
203 * stl/bits/stl_set.h (class set): Likewise.
204 * stl/bits/stl_string_fwd.h (class basic_string): Likewise.
205 * stl/bits/stl_tree.h (class _Rb_tree, class rb_tree): Likewise.
206 * stl/bits/stl_vector.h (class vector): Likewise.
207 * stl/ext/ropeimpl.h (rotate): Likewise.
208 * stl/ext/hash_map (class hash_map, class hash_multimap):
210 * stl/ext/hash_set (class hash_set, class hash_multiset):
212 * stl/ext/slist (class slist): Likewise.
213 * stl/ext/stl_bvector.h (class bit_vector): Likewise.
214 * stl/ext/stl_rope.h (class rope): Likewise.
215 * src/locale.cc (_Impl): Likewise.
216 * src/localename.cc (_Impl): Likewise.
217 * bits/localefwd.h (_Impl): Likewise.
219 2000-04-18 Phil Edwards <pme@sourceware.cygnus.com>
221 * docs/install.html: Cleanup, minor changes.
222 * docs/17_intro/howto.html: Ditto.
224 2000-04-18 Nathan Myers <ncm@cantrip.org>
226 * bits/basic_string.h: Remove "inline" from member _S_find.
228 * src/string-inst.cc: Rewrite to reflect non-inline template
229 instantiations in string.tcc.
231 * src/stringADDCS.cc, stringADDPS.cc, stringADDSC.cc, stringADDSP.cc,
232 stringADDSS.cc, stringBIST.cc, stringBOST.cc, stringCHTR.cc,
233 stringEQPS.cc, stringEQSP.cc, stringEQSS.cc, stringEXTRA.cc,
234 stringGEPS.cc, stringGESP.cc, stringGESS.cc, stringGETLI.cc,
235 stringGTPS.cc, stringGTPS.cc, stringGTSP.cc, stringGTSS.cc,
236 stringINSER.cc, stringLEPS.cc, stringLESP.cc, stringLESS.cc,
237 stringLESP.cc, stringLTPS.cc, stringLTPS.cc, stringLTSP.cc,
238 stringLTSS.cc, stringMAIN.cc, stringNEPS.cc, stringNESP.cc,
239 stringNESS.cc, stringSCOPY.cc: Remove.
240 * src/wstringADDCS.cc, etc: Remove.
242 Benjamin Kosnik <bkoz@haight.constant.com>
243 * src/Makefile.am: Modify to reflect above.
244 * src/Makefile.in: Regenerate.
246 2000-04-17 Benjamin Kosnik <bkoz@cygnus.com>
248 * docs/install.html (--enable-libstdcxx-v3): Clean up install docs.
250 2000-04-13 Benjamin Kosnik <bkoz@haight.cygnus.com>
252 * bits/std_fstream.h (filebuf::sync): Need to use the abstracted
253 io interface here instead of the libio particulars.
255 * config/threads-posix.h: Consistency with stl_config.h.
257 * mkcheck.in (CXX_FLAG): Add DDEBUG_ASSERT back in.
259 2000-04-13 Loren J. Rittle <ljrittle@acm.org>
261 * mknumeric_limits: Rename generic type template parameter name
263 * stl/bits/type_traits.h: Ditto.
265 2000-04-06 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
267 * mkcheck.in (SRC_DIR): Change default mkcheck behavior, so that
268 it is more useful for --enable-libstdcxx-v3. Use the built
269 compilers with v3, instead of compilers in PATH, and don't
270 re-include include directories for checking the install.
272 2000-04-05 Benjamin Kosnik <bkoz@cygnus.com>
274 * src/Makefile.am (AM_CXXFLAGS): Disable NAMESPACES, as this is on
275 by default when using --enable-libstdcxx-v3.
276 * src/Makefile.in: Regenerate.
277 * configure.in: Disable GLIBCPP_ENABLE_NAMESPACES,
278 GLIBCPP_ENABLE_RELIBGCC for --enable-libstdcxx-v3 flag.
279 * configure: Regenerate.
280 * mkcheck.in: Deal with NAMESPACES.
282 2000-04-05 Petter Urkedal <petter@matfys.lth.se>
284 * src/cmath.cc: New file...
285 (pow(*, int)): Define functions...
286 * src/Makefile.am (sources): ...register file.
287 * src/Makefile.in: Regenerate.
288 * bits/std_cmath.h (pow): ...declare functions here, and remove
291 2000-04-04 Benjamin Kosnik <bkoz@redhat.com>
293 * acinclude.m4 (GCC_OBJDIR): Tweaks
295 2000-04-03 Benjamin Kosnik <bkoz@redhat.com>
297 * acinclude.m4 (GLIBCPP_CHECK_CPU): Add arm configure bits.
298 * config/cpu/arm: New directory.
300 Jesper Skov <jskov@redhat.com>
301 * config/cpu/arm/atomicity.h: New file.
303 2000-03-31 Benjamin Kosnik <bkoz@redhat.com>
305 * stl/bits/stl_config.h: Make _STL_THREADS depend on _REENTRANT.
306 Remove unused bits. Clean.
308 2000-03-29 Benjamin Kosnik <bkoz@cygnus.com>
310 * testsuite/25_algorithms: New directory.
311 * testsuite/25_algorithms/min_max.cc: New file.
313 2000-03-29 scott snyder <snyder@fnal.gov>
315 * bits/locale_facets.tcc (do_put): Allow a couple extra digits of
316 precision beyond that which we get from numeric_limits::digits10.
318 * stl/bits/stl_algobase.h (max, min): Don't use comparison
321 * testsuite/23_containers/bitset_shift.cc: Fix.
323 * testsuite/27_io/ios_manip_fmtflags.cc (test01): Don't give a
324 temporary to imbue().
326 * bits/std_fstream.h (sync): Resync libio's idea of the current
327 file position with the external file.
329 2000-03-28 Benjamin Kosnik <bkoz@cygnus.com>
331 * testsuite/27_io/istream_extractor_arith.cc.cvs: Fix merge
334 * bits/std_fstream.h (filebuf::is_open): Check for _M_file before
335 attempting calls to it.
336 * bits/fstream.tcc (ctors): Don't call _M_init_filebuf in
337 ctors. Instead, call _M_init_filebuf ...
338 (open): Here, as suggested by 27.8.1.3.
339 * src/ios.cc (ios_base::Init::Init()): Clean up default filebufs
340 properly when initializing cout/cin/cerr.
342 2000-03-27 Russell Davidson <russell@ehess.cnrs-mrs.fr>
344 * testsuite/23_containers/multiset.cc (main): Clean up for namespaces.
345 * testsuite/22_locale/ctype_char_members.cc: And here.
346 * testsuite/27_io/streambuf.cc (streambuf): And here.
347 * testsuite/27_io/ostream_inserter_char.cc (test06): And here.
348 * testsuite/27_io/istream_unformatted.cc (test05): And here.
349 * testsuite/27_io/istream_extractor_arith.cc: And here.
350 * testsuite/27_io/ios_manip_basefield.cc (test02): And here.
351 * testsuite/27_io/ios_base_members_static.cc: And here.
352 * bits/std_climits.h (_CPP_CLIMITS): Fix typo.
354 2000-03-27 Chris Faylor <cgf@cygnus.com>
356 * configure.in: Remove setting of CXX if canadian cross.
357 * configure: Regenerate.
359 2000-03-27 Nathan Myers <ncm@zembu.com>
361 * bits/sstream.tcc: Optimize.
362 * bits/basic_string.h(string::append): Don't inline.
363 * bits/string.tcc: Move out-of-line.
365 2000-03-27 Phil Edwards <pme@sourceware.cygnus.com>
367 * acinclude.m4: (GLIBCPP_CHECK_COMPILER_VERSION) When using <2.96,
368 define WERRORSUPPRESS so that the inlining warnings won't kill us.
369 * aclocal.m4: Regenerate.
370 * configure: Regenerate.
371 * src/Makefile.am: Use WERRORSUPPRESS for the files that need it.
372 * src/Makefile.in: Regenerate.
374 * docs/install.html: Almost complete rewrite.
376 2000-03-25 Phil Edwards <pme@sourceware.cygnus.com>
378 * docs/install.html: Explain -Werror problem at "#Werror" mark.
379 * docs/faq/index.html: Testsuite will die horribly if new libgcc.a
381 * docs/faq/index.txt: Regenerate.
383 2000-03-24 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
385 * src/Makefile.am (libio_headers_install): Fix.
386 * src/Makefile.in: Regenerate.
388 2000-03-24 Benjamin Kosnik <bkoz@cygnus.com>
390 * docs/17_intro/RELEASE-NOTES: Fix typos.
391 * docs/index.html: Update.
392 * docs/17_intro/BUGS: Update.
393 * docs/status.html: Update for 2.90.8 release.
395 2000-03-23 Phil Edwards <pme@sourceware.cygnus.com>
397 * Makefile.am: Better error message when missing libgcc2.ready.
398 * Makefile.in: Regenerate.
399 * acinclude.m4: Fastidious nitpicking reformatting.
400 * aclocal.m4: Regenerate.
401 * configure: Regenerate.
402 * mkcheck.in: Must use same namespace settings as the library being
403 tested. Also log ST_FLAG, since it's being passed.
404 * docs/install.html: Add brief chunk on configuration.
405 * docs/17_intro/RELEASE-NOTES: Fix minor Cygwin typo.
406 * docs/23_containers/howto.html: Mention MT-safe string.
407 * docs/faq/index.html: Minor updates.
408 * docs/faq/index.txt: Regerarate.
410 2000-03-22 Benjamin Kosnik <bkoz@cygnus.com>
412 * bits/sstream.tcc (seekoff): Fix for gptr() null cases.
414 * bits/fstream.tcc (seekoff): Sync.
416 * testsuite/27_io/ostream_unformatted.cc: New file.
417 * testsuite/27_io/stringbuf.cc: Fix.
418 * testsuite/27_io/istream_unformatted.cc (test04): Fix.
420 * config/newlib/bits/ctype_base.h (ctype_base): Fix.
421 * config/newlib/ctype.cc (ctype): Change __ctype -> _ctype_.
423 * src/complex_io.cc (operator>>complex): Tweak.
425 * config/cpu/alpha/atomicity.h: Explicitly typedef uint32_t, int32_t if
426 <inttypes.h> does not exist.
427 * config/cpu/sparc/sparc64/atomicity.h: Same.
428 * config/cpu/sparc/sparc32/atomicity.h: Same.
429 * config/cpu/powerpc/atomicity.h: Same.
430 * config/cpu/i386/atomicity.h: Same.
431 * config/cpu/generic/atomicity.h: Same.
432 * configure.in: Check for inttypes.h.
433 * configure: Regnerate.
435 2000-03-21 Benjamin Kosnik <bkoz@cygnus.com>
437 * bits/std_sstream.h (_M_init_stringbuf): Set initial ate position
439 * testsuite/27_io/ostream_inserter_char.cc (test06): Add tests for ate.
441 * docs/17_intro/RELEASE-NOTES (New): Add bits.
443 * configure.in: Move AC_CHECK_HEADERS to a point where we know we
444 are compiling natively.
446 * libio/*: Update to CVS libio from egcs.
448 2000-03-21 Phil Edwards <pme@sourceware.cygnus.com>
450 * docs/download.html: Document use of -z9 for CVS.
451 * docs/index.html: Add target date (no link) for future snapshot.
453 2000-03-21 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
455 * bits/slice_array.h: Rename generic type template parameter name
457 * bits/mask_array.h: Ditto
459 2000-03-20 Benjamin Kosnik <bkoz@cygnus.com>
461 * *: Change copyright holder from "Cygnus Solutions" to "Free
462 Software Foundation, Inc."
464 * docs/configopts.html: Explain what "hella versions" means.
465 * docs/install.html: Some tweaks--nice job on this Phil.
466 * docs/documentation.html: Add a direct link to configuration options.
468 * src/Makefile.am (OPTIMIZE_CXXFLAGS): Add in extras.
469 * docs/17_intro/RELEASE-NOTES (New): Add.
470 * bits/c++config.h (__GLIBCPP__): Bump version.
472 * config/c_io_libio.cc (__basic__file(__c_lock*)): Change argument
473 type to match prototype.
475 2000-03-20 Phil Edwards <pme@sourceware.cygnus.com>
477 * docs/install.html: Update for new funky build procedure. Move
478 description of 'configure' options to...
479 * docs/configopts.html: ...here. New file.
480 * docs/17_intro/howto.html: Updates for new snapshot.
481 * docs/20_util/howto.html: Ditto.
482 * docs/21_strings/howto.html: Ditto.
483 * docs/21_strings/stringtok_std_h.txt: Fix example typos.
484 * docs/22_locale/howto.html: Ditto.
485 * docs/23_containers/howto.html: Ditto.
486 * docs/faq/index.html: Ditto.
488 2000-03-18 Petter Urkedal <petter@matfys.lth.se>
489 Benjamin Kosnik <bkoz@gnu.org>
491 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_SUPPORT): Move code for main
493 * aclocal.m4: Regenerate.
494 * configure: Regenerate.
496 2000-03-16 Benjamin Kosnik <bkoz@cygnus.com>
497 scott snyder <sss@karma.fnal.gov>
499 * config/c_io_libio.h: Add __c_lock.
500 * config/threads-no.h: Same here.
501 * config/threads-posix.h: Add __mutext_type typedef.
502 * config/c_io_libio.cc: basic_file ctor takes lock arg.
503 * bits/basic_file.h: Ctor takes lock arg.
504 * bits/std_fstream.h: Add _M_lock.
505 * bits/fstream.tcc: Supply it to basic_file ctor.
507 * mkcheck.in (resultstext): Change [[ to [.
509 * testsuite/27_io/ostream_inserter_char.cc (test06): Tweak.
511 * bits/locale_facets.h: Tweak.
513 * stl/bits/stl_config.h: Fix defines.
515 2000-03-16 Benjamin Kosnik <bkoz@cygnus.com>
517 * mkcheck.in (INC_PATH): Add paths from cpu_include_dir to find
519 * configure: Regenerate.
520 * aclocal.m4: Regnerate.
522 2000-03-16 Nathan Myers <ncm@zembu.com>
524 * bits/string.tcc: Add MT support.
525 * bits/basic_string.h: Same.
527 2000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
529 * configure.in: Make --enable-namespaces and -libgcc-rebuild=../..
531 * configure: Regenerate.
533 * config/solaris/solaris2.7/ctype.cc: Fix unsigned/signed comparison.
535 2000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
537 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): If Sol2.5 ctype is found, keep
538 checking for 2.[67]. (GLIBCPP_ENABLE_RELIBGCC): No longer ignore
539 any defaults passed in.
540 * aclocal.m4: Regenerate.
542 2000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
544 * mkcheck.in: Report total successes and failures.
546 2000-03-15 Benjamin Kosnik <bkoz@cygnus.com>
548 * config/cpu: New directory, intended to be used to provide
549 cpu-specific configuration files. In particular, assembly language
550 primitives for thread safety.
551 * config/cpu/alpha: Populate.
552 * config/cpu/alpha/atomicity.h: New file.
553 * config/cpu/arm: Populate.
554 * config/cpu/generic: Populate.
555 * config/cpu/generic/atomicity.h: New file.
556 * config/cpu/hppa: Populate.
557 * config/cpu/i386: Populate.
558 * config/cpu/i386/atomicity.h: New file, take from i486.
559 * config/cpu/m68k: Populate.
560 * config/cpu/mips: Populate.
561 * config/cpu/powerpc: Populate.
562 * config/cpu/powerpc/atomicity.h: New file.
563 * config/cpu/sparc: Populate.
564 * config/cpu/sparc/sparc32: Populate.
565 * config/cpu/sparc/sparc64: Populate.
566 * config/cpu/sparc/sparc32/atomicity.h: New file.
567 * config/cpu/sparc/sparc64/atomicity.h: New file.
569 * src/Makefile.am (myinstallheaders): Add install routines.
570 * acinclude.m4 (GLIBCPP_CHECK_CPU):Add configuration for the
574 * config/default: Adopt glibc naming conventions, and so move to
575 * config/generic: Here.
576 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Modify default case to generic.
578 2000-03-15 Bill Thompson <billt@toast.net>
580 * testsuite/27_io/ostream_inserter_char.cc (test06): Add test.
582 2000-03-14 Phil Edwards <pme@sourceware.cygnus.com>
584 * docs/17_intro/howto.html: Add missing "TOC" entry, and new section.
586 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Fixup.
587 * aclocal.m4: Regenerate.
588 * configure: Regenerate.
590 2000-03-13 scott snyder <snyder@fnal.gov>
591 Jason Merrill <jason@cygnus.com>
593 * bits/locale_facets.h (class ctype, class ctype<char>, class
594 ctype<wchar_t>): More mask fixes.
595 * testsuite/22_locale/ctype.cc: Test for the problem.
597 2000-03-13 Benjamin Kosnik <bkoz@cygnus.com>
599 * acconfig.h: Add bits.
600 * configure.in: Move AM_PROG_LIBTOOL up in file.
601 Tweak cross compiling info.
602 * configure: Regenerate.
604 * mknumeric_limits (XCOMPILE): Echo compilation line for
607 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add aix checks.
608 * aclocal.m4: Regenerate.
609 * configure: Regenerate.
610 * config/aix/ctype.cc (ctype): Tweak.
611 * config/aix/bits/ctype_base.h (ctype_base): Tweak.
612 * config/aix/bits/ctype_specializations.h: New file.
614 2000-03-10 scott snyder <snyder@fnal.gov>
616 * stl/bits/stl_vector.h (_M_assign_aux): Fix for __normal_iterator
618 * testsuite/23_containers/vector_modifiers.cc (test01): Add a
619 regression test for the problem.
621 2000-03-09 Benjamin Kosnik <bkoz@fidel.cygnus.com>
623 * testsuite/27_io/streambuf.cc (class testbuf): Same here.
624 * bits/fpos.h: And here.
625 * bits/std_ostream.h: Same here.
626 * bits/std_istream.h: Same here.
627 * bits/basic_ios.h: Same here.
628 * bits/std_fstream.h: Same here.
629 * bits/sbuf_iter.h (std): Here too.
630 * bits/std_sstream.h: Make types public.
632 * src/misc-inst.cc: Use size_t instead of unsigned int.
633 * bits/locale_facets.tcc (_S_format): For now, cast to char. I
634 suppose this should be ctype::narrow... all the ctype<wchar_t>
635 stuff needs to be cleaned up.
637 2000-03-09 Phil Edwards <pme@sourceware.cygnus.com>
639 * docs/gentop: Remove entire directory, finally.
641 2000-03-09 scott snyder <snyder@fnal.gov>
643 * bits/std_cmath.h (modf): Fix pointer overrun.
644 * testsuite/26_numerics/c_math.cc (test04, main): Add a regression
645 test for the problem.
647 2000-03-09 Phil Edwards <pme@sourceware.cygnus.com>
649 Looks like changes to the #include'd files must be followed by a
650 change to the #include'ing files to take effect. Caveat emptor.
651 * docs/header.html: New file, for server-side include.
652 * docs/footer.html: New file, for server-side include.
653 * docs/documentation.html: Change to use SSI.
654 * docs/download.html: Ditto.
655 * docs/index.html: Ditto.
656 * docs/mail.html: Ditto.
657 * docs/status.html: Ditto.
658 * docs/thanks.html: Ditto, plus minor updates.
659 * docs/how.html: Remove.
661 2000-03-09 Benjamin Kosnik <bkoz@gnu.org>
663 Preliminary alpha-linux support.
664 * src/locale.cc (ctype<wchar_t>): Use correct types...
665 * bits/locale_facets.h (ctype<char>): Add __table_type typedef.
666 (ctype<wchar_t>): Same.
667 * bits/locale_facets.h (ctype<wchar_t>): Have char and wchar_t
668 types match for table_size (size_t).
670 * config/gnu-linux/ctype.cc (ctype): Change char_type to wchar_t
671 as per char specialization.
672 * config/*/ctype.cc: Same.
674 2000-03-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
676 * bits/locale_facets.h (_Ctype<>::mask): Import from base class
677 _Ctype_nois<>. Template base classes are never examinated in
678 first-phase name-lookup.
680 2000-03-08 Benjamin Kosnik <bkoz@gnu.org>
682 Add Solaris 2.5.1 support.
683 * config/solaris/solaris2.5/bits/ctype_base.h (ctype_base): And here.
684 * config/solaris/solaris2.5/ctype.cc: Fixup.
685 * config/solaris/solaris2.5/bits/ctype_specializations.h: Add.
686 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add bits for solaris2.5.1.
687 * aclocal.m4: Regenerate.
688 * configure: Regenerate.
690 * config/default/ctype.cc (ctype): Fixup.
692 2000-03-07 Benjamin Kosnik <bkoz@blues.cygnus.com>
694 * testsuite/27_io/filebuf.cc: Activate init code from yesterday...
695 * testsuite/27_io/ostream_inserter_arith.cc (testcases): Fix for
698 2000-03-07 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
700 * bits/cpp_type_traits.h: Expand on this file purpose.
702 2000-03-06 Benjamin Kosnik <bkoz@gnu.org>
704 * bits/locale_facets.h (ctype<char>): Remove static members, and
705 re-work initialization code.
706 (ctype<wchar_t>): Same.
707 Move _S_touppper to _M_toupper and initialize in ctor.
708 Move _S_tolower to _M_tolower and initialize in ctor.
709 Move _S_table to _M_ctable and intialize in ctor.
710 * bits/locale_facets.h (std): And here.
711 * src/locale.cc (std): Tweak.
712 * config/gnu-linux/ctype.cc: Change initialization here.
713 * config/newlib/ctype.cc: And here.
714 * config/solaris/solaris2.7/ctype.cc: And here.
715 * config/solaris/solaris2.6/ctype.cc: And here.
717 * bits/localefwd.h: Tweak.
718 * bits/std_streambuf.h: Tweak formatting.
720 * testsuite/27_io/filebuf.cc: Remove BUFSIZ dependancies.
722 2000-03-05 Chip Salzenberg <chip@valinux.com>
724 * src/misc-inst.cc (basic_iostream<>): Instantiate.
726 2000-03-02 Phil Edwards <pme@sourceware.cygnus.com>
727 Kevin Atkinson <kevinatk@home.com>
729 Initial grab of SGI's strstream implementation with minor
731 * src/strstream.cc: New file.
732 * std/strstream: New file.
733 * stl/bits/std_strstream.h: New file.
734 * bits/std_streambuf.h: Add public access.
735 * src/Makefile.am: Add strstream sources to list of dependancies.
736 * src/Makefile.in: Regenerate.
738 2000-03-03 2000 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
740 * bits/valarray_meta.h: Fix typo.
742 2000-03-02 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
743 Chip Salzenberg <chip@valinux.com>
744 Petter Urkedal <petter@matfys.lth.se>
746 * src/Makefile.am (myinstallheaders): Hack to avoid
748 * src/Makefile.in: Regenerate.
750 2000-03-02 Chip Salzenberg <chip@valinux.com>
752 * libio/Makefile.an, math/Makefile.an, src/Makefile.am
753 (LINK): Put quotes around "$(CC)" for libtool link mode,
754 so libtool will use "-B" options during GCC bootstrap.
755 * */Makefile.in: Regenerate.
757 2000-03-02 Petter Urkedal <petter@matfys.lth.se>
759 * config/c_io_libio.h: Enclose it all in ::std.
760 * bits/basic_string.h (basic_string<>): Make types and
762 * mkc++config: Truncate output file before writing.
764 2000-03-01 Benjamin Kosnik <bkoz@gnu.org>
766 * math/cabsf.c (__mycabsf): Rename to cabsf.
767 * math/cabs.c (__mycabs): Rename to cabs.
769 2000-02-29 LLeweLLyn Reese <llewelly@198.dsl.xmission.com>
771 * bits/basic_string.h: Move declarations of __out_of_range(),
772 __length_error() and accompanying macros ...
773 * bits/exception_support.h: here. (Newly created file).
774 * bits/basic_string.h: #include <bits/exception_support.h>
775 * stl/bits/stl_vector.h: #include <bits/exception_support.h>
776 * src/Makefile.am (headers): Add.
777 * src/Makefile.in: Regenerate.
779 2000-02-29 Benjamin Kosnik <bkoz@cygnus.com>
781 * bits/cpp_type_traits.h: Rename structs so they don't clash with
783 * bits/valarray_array.h: Synch. Fix typos.
785 * libio/Makefile.am: Change to only compile source files that
786 config/c_io_libio.cc actually needs.
787 * libio/Makefile.in: Regnerate.
788 * libio/PlotFile.hes SFile.h builtinbuf.h editbuf.h floatconv.c
789 floatio.h fstream.h indstream.h iofclose.c iofdopen.c iofeof.c
790 ioferror.c iofflush.c iofgetpos.c iofgets.c iofopen.c iofprintf.c
791 iofputs.c iofread.c iofscanf.c iofsetpos.c ioftell.c iofwrite.c
792 iogetc.c iogetdelim.c iogetline.c iogets.c ioignore.c iomanip.h
793 iopadn.c ioperror.c iopopen.c ioprims.c ioprintf.c ioputc.c
794 ioputs.c ioscanf.c ioseekoff.c ioseekpos.c iosetbuffer.c
795 iosetvbuf.c iosprintf.c iosscanf.c iostream.h iostrerror.c
796 ioungetc.c iovfprintf.c iovfscanf.c iovsprintf.c iovsscanf.c
797 istream.h list.out ostream.h outfloat.c parsestream.h peekc.c
798 pfstream.h procbuf.h stdiostream.h stream.h streambuf.h strfile.h
799 strops.c strstream.h: Delete.
801 * bits/basic_file.h: Stub out or delete unused bits in this
803 (filepos_beg): Remove.
804 (filepos_cur): Remove.
805 (filepos_valid): Remove.
806 * config/c_io_libio.cc: Resynch with the changes to basic_file.
808 2000-02-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
810 * bits/cpp_type_traits.h: Correct typo.
812 2000-02-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
814 * bits/cpp_type_traits.h: New file.
816 * bits/valarray_array.h: Tweak. #include <bits/cpp_type_traits.h>
817 Improve array construction.
818 (_Array_default_ctor): New dispatcher class.
819 (__valarray_default_construct): New function.
820 (_Array_copy_ctor): New dispatcher class.
821 (__valarray_copy_construct): New function.
822 (_Array<>::free_data): Remove.
824 * src/Makefile.am (headers): Add cpp_type_traits.h
825 * src/Makefile.in: Regenerate.
827 2000-02-28 Benjamin Kosnik <bkoz@cygnus.com>
829 Prune libio directory to match files in libio/Makefile.
830 * libio/PlotFile.cc,indstream.cc, isgetsb.cc, sbform.cc,
831 stream.cc, SFile.cc, ioassign.cc, isscan.cc, sbgetline.cc,
832 streambuf.cc, builtinbuf.cc, ioextend.cc, osform.cc, sbscan.cc,
833 strstream.cc, editbuf.cc, iomanip.cc, parsestream.cc,
834 stdiostream.cc, filebuf.cc, iostream.cc, pfstream.cc,
835 stdstrbufs.cc, fstream.cc, isgetline.cc, procbuf.cc,
836 stdstreams.cc: Remove.
837 * libio/floatio.h, iolibio.h, iostdio.h, iostreamP.h: Remove.
838 * libio/iofflush_u.c: Remove.
841 * libio/include: Remove.
842 * libio/stdio: Remove.
843 * libio/tests: Remove.
844 * libio/testsuite: Remove.
846 * config/c_io_libio.cc: Add fcntl.h include for Solaris.
848 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add bits.
849 * configure.in: Replace 'grep -e' with 'grep' for Solaris.
850 * configure: Regenerate.
852 2000-02-25 Benjamin Kosnik <bkoz@gnu.org>
854 Abstract out the underlying "C" io bits.
855 * bits/std_new.h: Remove <stl_config> include, as well as <cstddef>.
856 * stl/bits/stl_string_fwd.h: Remove <stddef> include.
857 * bits/std_cwchar.h: Wrap with _GLIBCPP_USE_WCHAR_T guards. Don't
859 * stl/bits/stl_config.h: Don't include _G_config.h.
861 * bits/basic_file.h: Allow for non-inheritance based __basic_files.
862 * config/c_io_libio.h (_GLIBCPP_BASIC_FILE_INHERITANCE): Define.
863 * config/c_io_libio.cc: Tweak.
865 * src/Makefile.am (TOPLEVEL_INCLUDES): Add includedir.
866 * src/Makefile.in: Regenerate.
867 * Makefile.am (AM_MAKEFLAGS): Define includedir so that
868 prefix/include files will be picked up.
869 * Makefile.in: Regenerate.
870 * math/Makefile.am (TOPLEVEL_INCLUDES): And here.
871 * libio/Makefile.am (TOPLEVEL_INCLUDES): And here.
873 * bits/std_ios.h: Include <bits/c++io.h> instead of libio.
874 * bits/fpos.h: And here.
875 * bits/basic_file.h (get_fileno): Move definition from ...
876 * src/basic_file.cc (std): To here.
877 * bits/fpos.h: Move types for streamoff, streampos to..
878 * bits/basic_file.h: Move __c_file_type and fpos typedefs to...
879 * config/c_io_libio.h: ...here.
880 (_GLIBCPP_[BOOLALPHA, HEX, DEC, FIXED, INTERNAL, LEFT, OCT, RIGHT,
881 SCIENTIFIC, SHOWBASE, SHOWPOINT, SHOWPOS, SKIPWS, UNITBUF,
882 UPPERCASE, ADJUSTFIELD, BASEFIELD, FLOATFIELD, BADBIT, EOFBIT,
883 FAILBIT, GOODBIT, APP, ATE, BINARY, IN, OUT, TRUNC): New macros to
884 abstract out bits in ios_base.
885 * bits/ios_base.h: Re-macrofy.
886 * src/basic_file.cc : Rename, move to
887 * config/c_io_libio.cc: Here.
888 * config/c_io_libio.h: New file. Include libio.
889 * bits/c++config.h: Don't define _GLIBCPP_USE_LIBIO.
890 * configure.in (blddir): Add enabling bits for GLIBCPP_ENABLE_CSTDIO.
891 * configure: Regenerate.
892 * src/Makefile.am (sources): Take out basic_file.cc and add c++io.cc.
893 (generated_headers): Add c++io.h
894 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): New function to select
895 underlying "C" io library.
896 * acinclude.m4 (GLIBCPP_CHECK_LIBIO): Roll functionality into
897 GLIBCPP_ENABLE_CSTDIO.
899 * configure.in: Add configure bits for cross compiling non-newlib
901 GLIBCPP_CHECK_COMPILER_VERSION: Take out this test for this
902 target, as we assume g++ support is not the limiting factor.
903 GLIBCPP_CHECK_LIBIO: Same, know we don't need libio.
904 * configure: Regenerate.
906 2000-02-22 Benjamin Kosnik <bkoz@cygnus.com>
908 * Makefile.am (INTERFACE): Define.
909 * Makefile.in: Regenerate.
910 * libio/ChangeLog: Add entry.
912 2000-02-21 Benjamin Kosnik <bkoz@cygnus.com>
914 * docs/install.html: Update install directions.
916 * docs/status.html: Fix sidebar to be consistent.
917 * docs/thanks.html: Same.
918 * docs/links.html: Same.
919 * docs/mail.html: Same.
920 * docs/download.html: Same.
922 * testsuite/27_io/filebuf.cc: Change BUFSIZ to buffer_size, and
923 kill the macro BUFSIZ. I think the solaris fails lie elsewhere
924 however, in the ctype_char_members.cc fail (for instance.)
925 * testsuite/17_intro/headers.cc: Remove extraneous fails for hosts
926 that do not have wchar_t enabled.
927 * testsuite/27_io/ostream_inserter_arith.cc (struct _TestCase):
929 * testsuite/27_io/iostream_objects.cc: And here.
931 * libio/gen-params (CONFIG_NM): Specifically add in nm as the
934 2000-02-18 Benjamin Kosnik <bkoz@haight.constant.com>
935 Tom Tromey <tromey@cygnus.com>
937 * configure.in: Manually add MULTISUBDIR.
938 * configure: Regenerate.
939 * src/Makefile.am (MULTISUBDIR): Add the lesser evil of Tom's two
940 "Eww" hacks to get multilib installs working correctly.
941 ($(headers): Test for MULTISUBDIR before installing.
942 * Makefile.am (AM_MAKEFLAGS): Don't define MULTISUBDIR, instead
943 have configure hack it in.
944 * Makefile.in: Regenerate.
945 * acinclude.m4 (GLIBCPP_CXXFLAGS): Tweak wording.
946 Add enabling bits for native Cygwin ctypes, and other newlib-based
949 2000-02-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
951 * mkc++config (OUT_H): Remove EOF in cygwin.
952 * acinclude.m4 (LIBS): Tweaks to allow cygwin to configure.
954 Tom Tromey <tromey@cygnus.com>
955 * src/Makefile.am: Tweaks for installing multilibs.
957 2000-02-17 Benjamin Kosnik <bkoz@cygnus.com>
960 (toolexeclib_LTLIBRARIES): Use this instead of lib_LTLIBRARIES.
961 Add USE_LIBDIR bits here, not...
962 * src/Makefile.in: Regenerate.
963 * Makefile.am: ...here.
964 * Makefile.in: Regenerate.
966 2000-02-17 Benjamin Kosnik <bkoz@gnu.org>
968 * acinclude.m4 (LIBS): Fix typos.
969 * configure.in: _GLIBCPP_BUGGY_FLOAT_COMPLEX,
970 _GLIBCPP_BUGGY_COMPLEX for crosses.
971 * src/Makefile.am (std_headers): Add libio.h as install include,
973 * src/Makefile.in: Regenerate.
975 * mkcheck.in: Add bits to set CXX to cross compiler.
977 * src/complex_io.cc: Tweak.
978 * configure.in: _GLIBCPP_BUGGY_COMPLEX for crosses.
979 * configure: Regenerate.
981 * config/newlib/ctype.cc: Tweaks.
982 * config/newlib/bits/ctype_base.h (ctype_base): Set mask to char,
984 * src/complex_io.cc (operator>>(istream, complex): Define out if
987 2000-02-16 Benjamin Kosnik <bkoz@cygnus.com>
989 * config/newlib/bits/ctype_base.h: Correct _S_table.
991 Reconfigure ctype support for "C" libraries that don't use arrays.
992 * testsuite/22_locale/ctype_char_members.cc: New file. Test for
993 basic ctype<char> functionality.
994 * src/locale.cc: Move host-specific ctype functions that are not
995 inlines to config/*/ctype.cc files.
996 (ctype<char>::do_tolower): For instance.
997 (ctype<char>::do_toupper): For instance.
998 (ctype<wchar_t>::do_tolower): For instance.
999 (ctype<wchar_t>::do_toupper): For instance.
1000 * config/gnu-linux/ctype.cc: Modify.
1001 * config/default/ctype.cc: Modify.
1002 * config/newlib/ctype.cc: Modify.
1003 * config/solaris/solaris2.6/ctype.cc: Modify.
1004 * config/solaris/solaris2.7/ctype.cc: Modify.
1006 * bits/locale_facets.h (ctype<char>::is): Mark inline, move
1008 (ctype<char>::scan_is): Here too.
1009 (ctype<char>::scan_not): Here too.
1010 Move out of line defs to config/*/bits/ctype_specializations.h.
1011 * config/gnu-linux/bits/ctype_specializations.h: ...here. New file.
1012 * config/default/bits/ctype_specializations.h: ...here. New file.
1013 * config/newlib/bits/ctype_specializations.h: ...here. New file.
1014 * config/solaris/solaris2.6/bits/ctype_specializations.h: New file.
1015 * config/solaris/solaris2.7/bits/ctype_specializations.h: New file.
1016 * src/Makefile.am (headers): Add ctype_specializations.h.
1017 * src/Makefile.in: Regenerate.
1019 Aaron Weiss <weiss@clearway.com>
1020 * Makefile.am (AM_MAKEFLAGS): Add NM_FOR_BUILD, NM_FOR_TARGET, and
1021 CONFIG_NM for Solaris builds.
1022 * Makefile.in: Regenerate.
1024 * src/locale.cc: Tweak formatting.
1026 2000-02-15 Benjamin Kosnik <bkoz@cygnus.com>
1028 Jim Parsons <parsons@clearway.com>
1029 * testsuite/27_io/istream_unformatted.cc (test06): Add test.
1030 * bits/istream.tcc (read): Set failbit if !good(). Don't increment
1034 Michel Decima <michel.decima@cnet.francetelecom.fr>
1035 * testsuite/27_io/streambuf.cc: Add test.
1036 * bits/streambuf.tcc (xsgetn): Don't test for valid mode.
1039 * src/Makefile.am (AM_CXXFLAGS): Pass down AC_CXXFLAGS,
1040 OPTIMIZE_CXXFLAGS, etc. So --enable-debug and --enable-namespaces
1041 will work correctly, for instance.
1042 * src/Makefile.in: Regenerate.
1044 * bits/locale_facets.h: Fix merge error.
1045 (num_put::put(unsigned long long): And here.
1046 * mknumeric_limits (trait_name): Same.
1048 2000-02-15 Chip Salzenberg <chip@valinux.com>
1050 Support 'configure --enable-long-long'.
1051 * bits/c++config.h (_GLIBCPP_USE_LONG_LONG): Remove.
1052 * stl/bits/stl_config.h (__STL_LONG_LONG): Remove '#if 0'.
1053 * acconfig.h (_GLIBCPP_USE_LONG_LONG): Add. Default to undef.
1054 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Define flag macro.
1055 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Use it.
1057 * aclocal.m4: Regenerate.
1058 * config.h.in: Regenerate.
1059 * configure: Regenerate.
1061 2000-02-15 Chip Salzenberg <chip@valinux.com>
1063 Improve (complete?) 'long long' support.
1064 * mknumeric_limits: Call $CXX with $CPPFLAGS. Define statics
1065 for {,unsigned} long long if the limits header declares them.
1066 * src/gen-num-limits.cc: Include <bits/c++config.h> early.
1067 (__USE_GNU, _GNU_SOURCE): Define if _GLIBC_USE_LONG_LONG.
1068 (long long, unsigned long long): Gen limits if _GLIBC_USE_LONG_LONG.
1069 * bits/locale_facets.h (num_get<>::get(..., long long &)): Define.
1070 (num_put<>::put(..., long long)): Likewise.
1071 (num_put<>::put(..., unsigned long long)): Likewise.
1072 * bits/locale_facets.tcc (_S_format): Rename from _S_format_long.
1073 Templatize last parameter to support 'long long'.
1074 (num_put<>::put(...)): Call _S_format with new name.
1075 (num_put<>::put(..., long long)): Define.
1076 (num_put<>::put(..., unsigned long long)): Likewise.
1077 * src/locale-inst.cc (_S_format): Instantiate under new name.
1079 2000-02-15 Petter Urkedal <petter@matfys.lth.se>
1081 * src/complex.cc (operator<<, operator>>): Moved from here...
1082 * src/complex_io.cc: ...to new file.
1083 (operator>>): Stub replaced by the real thing.
1084 * src/Makefile.am (sources): Inserted complex_io.cc.
1085 * src/Makefile.in: Regenerate.
1086 * testsuite/26_numerics/complex_inserters_extractors.cc: Check it.
1088 2000-02-14 Benjamin Kosnik <bkoz@gnu.org>
1090 Add in ctype information for newlib "C" libraries.
1091 * config/newlib: New directory
1092 * config/newlib/bits/ctype_base.h: New file.
1093 * config/newlib/ctype.cc: New file.
1095 * ctype/config/linux/*: Rename, move to...
1096 * ctype/config/gnu-linux/*: Here.
1098 Finish off multilib work.
1099 * configure.in: Don't set CXX if not Canadian cross.
1100 * configure: Regenerate.
1101 * acinclude.m4 (GLIBCPP_CHECK_LIBIO): Tweak messages.
1102 * aclocal.m4: Regenerate.
1103 * config.h.in: Regenerate.
1105 * install-sh: Remove, as AC_CONFIG_AUX_DIR(..) picks this out of
1106 the top-level gcc directory now.
1107 * mkinstalldirs: Remove.
1110 * ltmain.sh: Remove.
1111 * config.guess: Remove.
1112 * config.sub: Remove.
1114 2000-02-13 Benjamin Kosnik <bkoz@cygnus.com>
1116 * configure.in (glibcpp_basedir): Add glibcpp_basedir.
1117 * Makefile.am: Move mutlilib stuff to src/Makefile.am.
1118 * Makefile.in: Regenerate.
1119 * src/Makefile.am: Add multilib bits.
1120 * src/Makefile.in: Regenerate.
1122 2000-02-12 Benjamin Kosnik <bkoz@cygnus.com>
1124 * configure.in: Clean, add some multilib support.
1125 * configure: Regenerate.
1126 * configure.host: New file.
1128 * acinclude.m4: GLIBCPP_CHECK_LIBIO. Take bits from configure.in and
1129 roll a new function, checks for presence of libio.
1130 GLIBCPP_CHECK_COMPILER_VERSION: Same.
1131 GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT: Same.
1132 GLIBCPP_CHECK_MATH_SUPPORT: Same.
1133 GLIBCPP_CHECK_WCHAR_T_SUPPORT: Same.
1134 GLIBCPP_CHECK_LIBIO: Same.
1135 GLIBCPP_CHECK_CTYPE: Same.
1136 * aclocal.m4: Regenerate.
1137 * config.h.in: Regenerate.
1139 * Makefile.am: Tweaks.
1140 * Makefile.in: Regenerate.
1142 2000-02-11 Benjamin Kosnik <bkoz@cygnus.com>
1144 * configure.in: Make outputing the libio/Makefile
1145 conditional. Haha, yeah right. Anyway, we instead do this thing
1146 where if libio is found, then we build a null library, as there is
1147 no point in duplicating the found libio.
1148 * Makefile.am: Tweak.
1149 * Makefile: Regenerate.
1150 * libio/Makefile.am: Add _G_config.h stuff. Now cross compilers
1151 are happy happy happy.
1152 * libio/Makefile.am: Regenerate.
1153 * libio/gen-params: New file.
1154 * src/Makefile.am: Make libio.la non-conditional, as it is now a
1155 null library if it's not needed. At least we are being consistent,
1156 if not as elegant as we could be.
1157 * src/Makefile: Regenerate.
1159 2000-02-10 Benjamin Kosnik <bkoz@gnu.org>
1161 * Makefile.am (SUBDIRS): Add libio again.
1162 * Makefile.in: Regenerate.
1163 * configure.in (BUILD_LIBIO_INCLUDE): And here.
1164 (AC_OUTPUT): Generate libio/Makefile again.
1165 * configure: Regnerate.
1166 * src/Makefile.am (libstdc___la_LIBADD): Change path so that
1167 libio.la is referring back to the libio subdir again.
1168 (LIBIO_INCLUDES): And here.
1169 * src/Makefile.in: Regenerate.
1171 2000-02-09 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
1173 * math/complex-stub.h: Missed one. Change __mycabs* to cabs*.
1175 2000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
1177 * bits/valarray_array.h (<bits/std_new.h>): #include.
1178 (__valarray_get_memory): New function.
1179 (__valarray_release_memory): Likewise.
1180 (__valarray_default_construct): New functions.
1181 (__valarray_fill_construct): New function.
1182 (__valarray_copy_construct): New funstions.
1183 (__valarray_destroy_elements): New function.
1185 * bits/valarray_array.tcc (__valarray_copy_construct): New
1188 * bits/std_valarray.h (valarray<>::valarray): Use
1189 __valarray_get_memory and __valarray_fill_construct,
1190 __valarray_copy_construct, __valarray_default_construct to
1191 properly construct valarrays.
1192 (valarray<>::~valarray): Use __valarray_destroy_elements to
1193 destroy elements and __valarray_release_memory to return memory.
1194 (valarray<>::shift): Tweak.
1195 (valarray<>::cshift): Likewise.
1196 (valarray<>::resize): Robustify.
1198 2000-02-09 Benjamin Kosnik <bkoz@cygnus.com>
1200 * mknumeric_limits (XCOMPILE): Add support for cross compiling.
1201 * bits/limits_generic.h: New file, defaults.
1202 * src/limits_generic.cc: New file, defaults.
1203 * configure.in (LIBS): Run mknumeric_limits at configure time.
1204 * acconfig.h: Remove PACKAGE VERSION HAVE_COMPLEX
1205 HAVE_LC_MESSAGES, tidy, clean, etc.
1206 * src/Makefile.am (geberated_sources): Remove.
1208 * bits/fpos.h: Use _GLIBCPP_USE_LIBIO guards for libio typenames
1209 (_IO_off_t, _IO_ssize_t)
1211 * src/complex.cc: Use glibc's <complex.h> if
1212 possible. . . apparently this was not being done before. Include
1214 (abs): Enable cabs if it's around, instead of mycabs.
1215 * src/complexf.cc (FCT): Add global scope to match complex.cc.
1216 * src/complexl.cc (FCT): Same.
1217 * math/Makefile.am (EXTRA_LONG_DOUBLE_yes): Change mycabsl to cabsl.
1218 (libmath_la_SOURCES): And here.
1219 * math/(mycabs.c, mycabsf.c, mycabsl.c): Move to. . .
1220 * math/(cabs.c, cabsf.c, cabsl.c): . . . Here.
1221 * math/complex-stub.h: Move c_log declarations into. . .
1222 * math/mathconf.h: Here. This is because glibc's <complex.h>
1223 declares cclog, not c_log. The case of the dueling standards. . .
1224 * math/mathconf.h: Add _GLIBCPP_HAVE_* to macros.
1225 * math/Makefile.am: Change.
1226 * math/nan.c (nan): Change signature.
1227 * math/mathconf.h (NAN): Same.
1228 * math/complex-stub.h (nan): And here.
1230 * Makefile.am (rebuild-stamp): Remove libio and libio
1231 dependancies. Plan to take out libio subdir and just merge with
1232 libio in top level gcc directory. Of course, this assumes there is
1233 a libio in the top level directory (ie ../src_dir). This will
1234 probably change the way this library is configured by default.
1237 2000-02-09 Chip Salzenberg <chip@valinux.com>
1239 * localefwd.h (locale): Make public: facet, id, category.
1241 2000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
1243 * testsuite/26_numerics/buggy_complex.cc: Fix Origin:.
1245 * acinclude.m4: Patch only once!
1247 2000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
1249 * testsuite/26_numerics/buggy_complex.cc: New file.
1251 2000-02-05 Petter Urkedal <petter@matfys.lth.se>
1253 * acinclude.m4: New GLIBCPP_CHECK_COMPLEX_SUPPORT macro. Based
1254 on the 1999-11-21 entries by Mumit Khan.
1255 * configure.in: Use.
1256 * acconfig.h: New _GLIBCPP_BUGGY_COMPLEX macro.
1257 * bits/std_complex.h: Use.
1259 2000-02-04 Philip Martin <pm@corris.dircon.co.uk>
1261 * stl/bits/stl_algobase.h: Add traits based dispatch for
1262 __normal_iterator in the copy_backward()algorithm
1263 * stl/bits/stl_vector.h: Reduce use of __normal_iterator
1266 2000-02-04 Mumit Khan <khan@xraylith.wisc.edu>
1268 * src/gen-num-limits.cc (signal_handler): Work around signal
1269 handling problem on Cygwin.
1270 Thanks to Chris Faylor <cgf@cygnus.com>.
1272 2000-02-03 Benjamin Kosnik <bkoz@cygnus.com>
1274 * configure.in: Add (preliminary) support for cross compiles and
1276 Remove AC_C_BIGENDIAN tests. Why is this necessary? Cross
1277 compilation freaks on this.
1278 * configure: Regenerate.
1279 * src/Makefile.am: Add support for cross compiles.
1280 * src/Makefile: Regenerate.
1281 * Makefile.am: Add support for cross compiles.
1282 * Makefile.in: Regenerate.
1284 2000-02-02 Benjamin Kosnik <bkoz@cygnus.com>
1286 * configure.in (LIBS): Remove unused subdirs.
1287 * configure: Regenerate.
1288 * Makefile.am (SUBDIRS): And here.
1289 * Makefile.in: Regenerate.
1290 * src/Makefile.am (sources): And here.
1291 * src/Makefile.in: Regenerate.
1294 * generic/*: Remove.
1296 * mkcheck.in (INC_PATH): Include $BUILD_DIR before any source dirs.
1298 * libtool: Update to libtool-1.3.4.
1302 * config.guess: Same.
1304 2000-02-02 Benjamin Kosnik <bkoz@cygnus.com>
1305 Alexandre Petit-Bianco <apbianco@cygnus.com>
1307 * mkc++config: New file. Put autoconf macros into _GLIBCPP_
1308 namespace instead of polluting global namespace with duplicate
1310 * configure.in (AC_OUTPUT): Don't need to generate bits/config.h
1312 (AC_OUTPUT_COMMANDS): Make it here.
1313 * configure: Regenerate.
1314 * bits/c++config.h.in (_CPP_CPPCONFIG): Change. Tweak. Remove
1315 endif, as now we will add it manually.
1316 Move to this file. . .
1317 * bits/c++config.h: New file. Same as old c++config.h.in except
1318 the ending macro guard is now appended manually.
1320 * bits/locale_facets.tcc: Change HAVE_* macros to _GLIBCPP_HAVE_*.
1321 * bits/std_cmath.h: Same here.
1322 * bits/std_cwchar.h: And here.
1323 * src/locale.cc: And here.
1324 * src/complexl.cc: And here.
1325 * math/mathconf.h: Change to include "config.h" instead of
1328 2000-02-01 Benjamin Kosnik <bkoz@gnu.org>
1330 * configure.in: Add support for threads. Try a model closer to
1331 libjava, as hopefully if the thread bits are added carefully
1332 enough, the source code will not have gross hacks. Besides, the
1333 libstdc++-v2 model could be easily emulated without the necessity
1334 of linking files in (as currently done)--all that needs to be done
1335 is AC_DEFINE(-D_PTHREADS) etc. However, let's try something
1336 new. . . and see if we arrive at a more elegant solution.
1337 * configure: Regenerated.
1338 * config/threads-no.h: New file.
1339 * config/threads-posix.h: New file.
1340 * src/Makefile.am (myinstallheaders): Install c++threads.h.
1341 * src/Makefile.in: Regenerated.
1343 2000-01-31 Benjamin Kosnik <bkoz@gnu.org>
1345 META-QUESTION: Can we just make a "header.html" file and a
1346 "footer.html" and just include them in all the doc sub-pages. The
1347 duplication of the header info is kind of gross, and weak
1348 considering that if you change order or layout then all this stuff
1349 has to be changed in all the sub-files.
1351 * docs/17_intro/contribute.html: Take out duplicate file info.
1352 * README: Should just contain a link to the docs/index.html
1353 page. Duplicate information removed.
1354 * docs/faq/index.html: Remove indexes into HOWTOS.
1355 * docs/17_intro/howto.html: Make intro and docs part more
1356 centralized. Move intro stuff to documentation.html.
1357 * docs/how.html: Tweak. Does this file need to exist? What calls it?
1358 * docs/README.html: Move documentation files to
1359 documentation.html. Should this file be renamed
1360 "config_and_install.html" as that is what is apparently covered
1362 * docs/install.html: Yes. New file, moved and renamed README.html.
1363 * docs/documentation.html: New file. This is the index file for
1365 * docs/index.html: Edit sidebar order. Insert new link to new
1366 documentation spine, documentation.html.
1368 2000-01-31 Scott Snyder <snyder@fnal.gov>
1370 * bits/istream.tcc (operator>>(istream&, string&)): Set failbit if
1371 we don't extract any characters.
1372 * testsuite/21_strings/inserters_extractors.cc (main): New tests.
1374 2000-01-31 Anders Widell <awl@hem.passagen.se>
1376 * stl/bits/std_bitset.h (_M_do_left_shift): Handle case when shift
1377 step is a multiple of the word size.
1378 (_M_do_right_shift): Same.
1379 * testsuite/23_containers/bitset_shift.cc: New file.
1381 2000-01-31 Nathan Myers <ncm@zembu.com>
1383 * README (Documentation): Add path info, fix typos.
1385 2000-01-26 Benjamin Kosnik <bkoz@redhat.com>
1387 * bits/locale_facets.tcc (num_get::_M_extract): Add the freaking
1388 crazy group checking for numpunct, for real this time. At some
1389 point, the local variable __grp should probably get replaced a
1390 char array, or something a bit more lightweight.
1391 (num_get::do_get(bool)): Simplify. Don't set bool reference to
1392 parsed value unless err isn't failbit.
1393 (num_get::do_get(*)): Same, make consistent.
1395 Nathan Myers <ncm@zembu.com>
1396 Jim Parsons <parsons@clearway.com>
1397 * testsuite/27_io/istream_extractor_arith.cc (test08): Add
1398 more grouping tests, tweak, scold, wine.
1400 2000-01-24 Benjamin Kosnik <bkoz@gnu.org>
1402 * testsuite/27_io/istream_extractor_arith.cc (test07): Add
1404 * bits/locale_facets.tcc (num_get::_M_extract): Change to fix
1405 grouping bugs. Only allow thousands_sep if _M_use_groupings is
1408 via <llewelly@198.dsl.xmission.com>
1409 * stl/bits/stl_vector.h (vector::_M_range_check): Throw
1410 out_of_range instead of range_error.
1412 2000-01-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
1414 * bits/std_iomanip.h (setw): Fix typo.
1416 2000-01-14 Benjamin Kosnik <bkoz@gnu.org>
1418 * testsuite/27_io/istream_extractor_arith.cc: Fix.
1419 * bits/locale_facets.tcc (do_get(...void)): Change to strtoul.
1420 * testsuite/27_io/istream_unformatted.cc (test04): Tweak.
1422 2000-01-14 Phil Edwards <pme@sourceware.cygnus.com>
1424 * docs/README.html: Reformat, more installation instructions.
1425 * docs/gccrebuild.html: New file.
1426 * docs/faq/index.html: Update for new testsuite output filenames.
1427 * docs/faq/index.txt: Regenerate.
1429 2000-01-14 Phil Edwards <pme@sourceware.cygnus.com>
1431 * Makefile.am (rebuild-stamp, all-local): New targets.
1432 * Makefile.in: Regenerated.
1433 * acinclude.m4: New macro, GLIBCPP_ENABLE_RELIBGCC.
1434 * aclocal.m4: Regenerated.
1435 * configure.in: Call new macro. Also do some sanity checks
1436 for combinations of --enable's that may not make sense.
1437 * configure: Regenerated.
1439 2000-01-13 Benjamin Kosnik <bkoz@cygnus.com>
1441 * testsuite/27_io/istream_extractor_arith.cc: Add checks for void*.
1442 * bits/locale_facets.tcc (do_get::(...void)): Set fmtflags
1443 correctly for hex-formatted input.
1445 * testsuite/27_io/istream_manip.cc (test01): Fix, as per setting
1446 eofbit instead of eofbit | failbit.
1447 * testsuite/27_io/istream_unformatted.cc (test04): Fix, as
1448 ifstreams now are opened or'd with ios_base::in (as is correct).
1449 * bits/fstream.tcc (filebuf::seekoff): Simplify.
1450 * testsuite/27_io/ios_base_members_static.cc (test01): Fix thinko.
1452 2000-01-12 Benjamin Kosnik <bkoz@gnu.org>
1454 * bits/std_fstream.h: Add ios_base as a friend to basic_filebuf.
1455 * bits/basic_file.h (basic_file::filepos_cur): Remove incorrect
1457 (__basic_file::filepos_valid): Same.
1458 (__basic_file::filepos_beg): Same.
1459 (__baseic_file::get_fileno): New function.
1460 * bits/ios_base.h (ios_base::sync_with_stdio): Implement, including
1461 feedback from LWG 49.
1462 * src/ios.cc: Move definition here.
1463 * testsuite/27_io/ios_base_members_static.cc (test01): Add tests.
1465 * bits/std_sstream.h (_M_really_sync): Simplify argument list. Set
1466 output part of internal buffer based on string size, so that
1467 _M_out_end is set consistently with filebufs. Correct comments.
1468 * bits/sstream.tcc (stringbuf::overflow): Update here too.
1469 * testsuite/27_io/stringbuf.cc: Changes.
1471 2000-01-11 Benjamin Kosnik <bkoz@gnu.org>
1473 * bits/sstream.tcc (seekoff): Set based on end of written buffer,
1475 * testsuite/27_io/stringbuf.cc: Add tests for seekoff(end).
1477 * bits/std_fstream.h (ifstream::open): Add ios_base::in to openmode.
1478 (ofstream::open): Add ios_base::out to openmode.
1480 * bits/locale_facets.tcc (_M_extract): Have consistency between
1481 istream::sentry and extractors, where failbit | eofbit is
1482 set. Don't change this, but instead change. . (do some formatting
1484 * bits/istream.tcc (istream::sentry): Only set eofbit.
1486 2000-01-10 Benjamin Kosnik <bkoz@gnu.org>
1488 * testsuite/27_io/istringstream_members.cc: New file.
1490 2000-01-09 Benjamin Kosnik <bkoz@gnu.org>
1492 * bits/istream.tcc (istream::sentry): Flush.
1494 * configure.in (AC_OUTPUT_COMMANDS): Simplify.
1495 * configure: Regenerate.
1496 * src/Makefile.am (generated_headers): Remove bits/c++config.h so
1497 that make clean will not delete it.
1498 * src/Makefile: Regenerate.
1500 2000-01-07 Phil Edwards <pme@sourceware.cygnus.com>
1502 * mkcheck.in: Use host-specific invocation of size(1);
1503 GNU binutils isn't necessarily there (more's the pity).
1505 2000-01-06 Benjamin Kosnik <bkoz@cygnus.com>
1507 * configure.in (LIBS): Better tests for solaris2.6.
1508 * configure: Regenerate.
1510 <vakatov@ncbi.nlm.nih.gov>
1511 * bits/std_sstream.h: As per libstdc++20.
1513 2000-01-06 Benjamin Kosnik <bkoz@gnu.org>
1515 Break out configuration on solaris.
1516 * configure.in (ctype_solaris): Add in bits for solaris2.6 and 2.7.
1517 * config/solaris/ctype.cc: Delete and move to proper version.
1518 * config/solaris/bits: Same.
1519 * config/solaris/solaris2.5: Add this directory, with subdir bits
1520 and file ctype.cc. Probably doesn't work.
1521 * config/solaris/solaris2.6: Same.
1522 * config/solaris/solaris2.7: Same, as per specs via Phil Edwards.
1524 * Makefile.am: Change paths to mkcheck.
1525 * Makefile: Regenerate.
1526 * configure.in (AC_OUTPUT_COMMANDS): Build mkcheck here.
1527 * configure: Regenerate.
1528 * src/Makefile.am (generated_headers): Add bits/c++config.h.
1530 * mkcheck: Now autogenerated by configure and renamed. . .
1531 * mkcheck.in (INC_PATH): Add glue for ctype_include_dir.
1532 Have longer-style dates.
1533 Raja R Harinath <harinath@cs.umn.edu>
1534 * mkcheck: Change path to #!/usr/clocal/bin/bash.
1536 * docs/README.html: Correct links, maybe. FAQ, install notes, and
1537 general documentation need to be organized around each other, not
1538 fight against each other. . .
1540 2000-01-04 Phil Edwards <pme@sourceware.cygnus.com>
1541 Nicolai Josuttis <nicolai.josuttis@braunschweig.netsurf.de>
1543 * README: Add a note referring to README.html.
1544 * docs/README.html: New file from Nicolai.
1545 * docs/faq/index.html: Move "how to get a copy" to here.
1546 * docs/gentop/footchunk.html: Update.
1547 * docs/gentop/headchunk.html: New links according to
1548 bkoz's idea for "How to..." stuff.
1549 * docs/gentop/thanks: Actually put people here.
1550 * docs/download.html: Regenerated.
1551 * docs/index.html, docs/links.html, docs/mail.html,
1552 docs/status.html, docs/thanks.html, docs/faq/index.txt: Ditto.
1553 * docs/how.html: Ditto. (This file should go away soon.)
1555 1999-12-26 Phil Edwards <pme@sourceware.cygnus.com>
1557 * docs/gentop/status: Add snapshot version column, update
1559 * docs/status.html: Regenerated.
1561 1999-12-26 Phil Edwards <pme@sourceware.cygnus.com>
1563 * docs/faq/index.html: Turn README and RELEASE-NOTES into links
1564 from installation FAQ, and specify location of text files.
1565 * docs/faq/index.txt: Regenerated.
1567 1999-12-23 Phil Edwards <pme@sourceware.cygnus.com>
1569 * docs/gentop/download: Add links to prebuilds for Cygwin/Mingw32.
1570 * docs/download.html: Regenerated.
1572 1999-12-22 Phil Edwards <pme@sourceware.cygnus.com>
1574 * docs/faq/index.html: Update 'what works' for .7 snapshot,
1575 clean up various links.
1576 * docs/faq/index.txt: Regenerated.
1577 * docs/gentop/gentop: Smarter regeneration script.
1578 * docs/gentop/{head,foot}chunk.html: Updated with new
1579 contributors link and mod date.
1580 * docs/gentop/index: Snapshot relase date.
1581 * docs/gentop/thanks: New contributors page added.
1582 * docs/{download,how,index,links,mail,status,thanks}.html:
1583 Regenerated from gentop; thanks.html created.
1585 1999-12-21 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
1587 * bits/c++config.h.in (__GLIBCPP__): 19991221.
1588 * docs/index.html: Add correct information.
1590 * config/irix: New directory.
1591 * config/irix/ctype.cc: Add irix-6.5 info. Not tested.
1592 * config/irix/bits/ctype_base.h: And here.
1594 * config/aix: New directory.
1595 * config/aix/ctype.cc: Add aix-4.2 info. Not tested.
1596 * config/aix/bits/ctype_base.h: And here.
1598 1999-12-21 Philip Martin <pm@corris.dircon.co.uk>
1600 * bits/basic_string.h: Add special case handling for integral
1602 * bits/std_string.h: include type_traits.h
1603 * testsuite/21_strings/ctor_copy_dtor.cc: Tweak.
1605 1999-12-21 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
1607 * bits/fstream.tcc (seekoff): Output buffer based on _M_*_in and
1609 * bits/std_fstream.h (sync): And here.
1610 * testsuite/27_io/filebuf.cc: Revisions.
1611 * testsuite/27_io/filebuf-2.tst: Correct, remove weird character
1612 at the end of the file.
1613 * testsuite/27_io/filebuf-3.tst: Correct.
1615 1999-12-21 Phil Edwards <pedwards@jaj.com>
1617 * docs/gentop/index: Hold off on .7 announcement date.
1618 * docs/index.html: Regenerate.
1620 1999-12-21 Benjamin Kosnik <bkoz@kcygnus.com>
1622 * bits/std_fstream.h (sync): Move _M_file->sync() to
1623 _M_really_overflow().
1624 * bits/fstream.tcc (seekoff): Call sync, not _M_really_overflow so
1625 as to get the _M_file->sync action, which forces the external
1626 buffer to update itself.
1627 (underflow): Same here.
1629 1999-12-21 Phil Edwards <pedwards@jaj.com>
1631 * bits/c++config.h.in: Uncomment _GLIBCPP_USE_NAMESPACES and move...
1632 * acconfig.h: ...to here.
1633 * config.h.in: Regenerate from aclocal.
1634 * acinclude.m4: Add GLIBCPP_ENABLE_DEBUG, GLIBCPP_ENABLE_NAMESPACES.
1635 * aclocal.m4: Regenerate from acinclude.
1636 * configure.in: Use ENABLE macros here.
1637 * configure: Regenerate.
1638 * src/Makefile.am: Use results from ENABLE macros.
1639 * src/Makefile.in: Regenerate.
1641 1999-12-20 Benjamin Kosnik <bkoz@cygnus.com>
1643 * mkcheck (SRC_DIR): Now have to include config/* dir if "make
1644 check" and not "make check-install." Temporarily hack in linux
1647 * bits/std_streambuf.h: Tweaks.
1648 * bits/streambuf.tcc (xsgetn): Tweaks.
1649 * bits/std_fstream.h (sync): Make _M_really_overflow consistent.
1650 * bits/fstream.tcc (filebuf::underflow): Simplify.
1651 * bits/std_sstream.h (streambuf::underflow): Minor change to make
1652 checks for read position precisely implement the standard.
1653 * bits/basic_file.h (filepos_cur): Base this on _offset.
1654 * testsuite/21_strings/inserters_extractors.cc (test05): Tweaks.
1655 * testsuite/27_io/filebuf.cc: Tweak.
1657 1999-12-20 Benjamin Kosnik <bkoz@cygnus.com>
1659 * docs/17_intro/RELEASE-NOTES: Fix typos.
1661 * bits/locale_facets.h (ctype): Modify, use __to_type to abstract
1662 out platform-specific bits.
1663 * config/default/ctype.cc: And here.
1664 * config/defaults/bits/ctype_base.h: And here.
1665 * config/linux/ctype.cc: And here.
1666 * config/linux/bits/ctype_base.h (ctype_base): And here.
1667 * config/solaris/bits/ctype_base.h (ctype_base): Add
1668 __to_type. Comment, as it looks like this is for solaris2.6 and
1669 above: solaris2.5.1 doesn't seem to have the same definitions.
1670 * config/solaris/ctype.cc: And here.
1672 1999-12-19 Benjamin Kosnik <bkoz@cygnus.com>
1673 Ulrich Drepper <drepper@cygnus.com>
1675 * acconfig.h: Remove _GLIBCPP_USE_CTYPE_ISBIT.
1677 * src/locale.cc: Take out platform-specific hacks.
1678 * config/linux/ctype.cc: Put here.
1679 * config/solaris/ctype.cc: Put here.
1680 * config/default/ctype.cc: Put here.
1682 * bits/locale_facets.h: Take out platform-specific hacks.
1683 * config/linux/bits/ctype_base.h: Put here.
1684 * config/solaris/bits/ctype_base.h: Put here.
1685 * config/default/bits/ctype_base.h: Put here.
1687 * configure.in: Bump version.
1688 Add tests for top-level config directory.
1689 * configure: Regenerated.
1690 * src/Makefile.am (INCLUDES): Add platform-specific dir.
1691 * src/Makefile: Regenerate.
1693 1999-12-19 Benjamin Kosnik <bkoz@cygnus.com>
1694 Ulrich Drepper <drepper@cygnus.com>
1696 * bits/locale_facets.h: Hack in solaris support.
1697 * src/locale.cc: Here too.
1699 1999-12-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
1701 * docs/17_intro/TODO: Update
1702 * docs/17_intro/RELEASE-NOTES (New): Update.
1704 1999-12-17 Benjamin Kosnik <bkoz@milou.cygnus.com>
1706 * bits/c++config.h.in (__GLIBCPP__): Bump.
1707 * docs/17_intro/RELEASE-NOTES: Update, Gaby please add your stuff.
1708 * docs/17_intro/TODO: Update.
1710 * bits/locale_facets.h: Touch this too.
1711 * bits/localefwd.h: Add typedefs for loooooong vector names.
1712 * bits/locale_facets.tcc (locale::operator()): Need parens.
1713 (has_facet): Simplify.
1714 * src/locale-inst.cc: Add instantiations.
1715 * src/locale.cc: Tweaks.
1717 * bits/std_streambuf.h: Move indeterminates into. .
1718 * bits/std_fstream.h: Here.
1719 * bits/fstream.tcc (underflow): Rewind just for ios_base::out
1721 * bits/sstream.tcc: Very minor formatting tweaks.
1722 * bits/std_streambuf.h (_M_set_determinate): If exclusively an
1723 input buffer, set _M_buf to offset.
1724 * bits/istream.tcc (std): Tweaks.
1725 * testsuite/27_io/istream_unformatted.cc (test05): More tweaks,
1727 * testsuite/27_io/filebuf.cc: Tweaks.
1729 1999-12-17 Phil Edwards <pedwards@jaj.com>
1731 * configure.in: Add OPTLEVEL, -O2 for gcc 2.96+, nothing otherwise.
1732 * configure: Regenerate.
1733 * src/Makefile.am: Use OPTLEVEL in CXXFLAGS.
1734 * src/Makefile.in: Regenerate. Also picks up OTHER_CXXFLAGS rename
1735 to OPTIMIZE_CXXFLAGS from a previous revision (1.96) to Makefile.am.
1737 1999-12-17 Phil Edwards <pedwards@jaj.com>
1739 * docs/21_strings/stringtok_std_h.txt: New algorithm
1740 suggested by Chris King.
1741 * docs/21_strings/howto.html: Link to new version.
1743 1999-12-16 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
1745 * bits/valarray_array.h (__valarray_sum): Use operator+=, not
1747 * docs/17_intro/TODO: Update.
1749 1999-12-15 Phil Edwards <pme@sourceware.cygnus.com>
1751 * docs/gentop/footchunk.html: Updated, fixed CRLFs.
1752 * docs/gentop/gentop: Ditto.
1753 * docs/gentop/headchunk.html: Ditto.
1754 * docs/*.html: Regenerated from gentop.
1755 * docs/*/howto.html: Updated as test.
1756 * docs/faq/index.html: Updated, fixed CRLFs.
1757 * docs/faq/index.txt: Regenerated.
1759 1999-12-15 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
1761 * mknumeric_limits (OUT_C): restart only if $OUT_C is present.
1763 * bits/std_complex.h
1764 (complex<float>::complex(const complex<double>&),
1765 complex<float>::complex(const complex<long double>&)): Define.
1767 * docs/17_intro/TODO: Update.
1769 1999-12-13 Benjamin Kosnik <bkoz@cygnus.com>
1771 * bits/istream.tcc (seekg): Don't set _M_gcount.
1773 * bits/fstream.tcc (filebuf::underflow): Re-sync
1774 external byte sequence's input buffer only. . .
1775 * testsuite/27_io/istream_unformatted.cc (test04): New tests for
1776 tellg, seekg and filebufs.
1777 (test05): Same for stringbufs.
1778 * testsuite/27_io/istream_unformatted-2.tst: New file.
1779 * testsuite/27_io/istream_unformatted-1.tst: New file.
1780 * testsuite/27_io/istream_unformatted-1.txt: New file.
1781 * testsuite/21_strings/inserters_extractors.cc (test05): Change
1784 1999-12-13 Phil Edwards <pedwards@jaj.com>
1786 * docs/gentop/*: New directory, containing bits for the homepages.
1787 * docs/*.html: Regenerated from gentop.
1788 * docs/*/*.html: Entries added and regenerated.
1790 1999-12-13 Benjamin Kosnik <bkoz@gnu.org>
1792 Efforts to get -O2 to work with -Winline -Werrors.
1793 * bits/valarray_array.h (__valarray_fill(_Tp*, size_t, const
1794 _Tp&): Remove inline declaration, as cannot be inlined and
1795 -Winline -Werror complains. An interesting question is why this
1796 cannot be inlined, as I can see no real reason to disqualify it.
1797 (__valarray_product(const _Tp*, const _Tp*)): Same here.
1798 * bits/std_valarray.h (valarray::operator[](size_t)): Same here.
1800 * docs/17_intro/TODO: Update.
1802 1999-12-12 Benjamin Kosnik <bkoz@gnu.org>
1804 * bits/std_fstream.h (seekpos): Tweaks, fixes. Move definition to
1806 * bits/basic_file.h (filepos_cur()): Make pointers themselves be
1807 the resultant position.
1808 * bits/fstream.tcc (seekoff): Explicitly set return value to
1809 resultant external byte sequence position, not value returned from
1810 _M_file->seekoff. Need to make
1811 (seekpos): New definition.
1813 * bits/istream.tcc (seekg): As per Library Issues List 136, set to
1814 just istream. Necessary, or else tellg will give an invalid stream
1815 position, but seekg will return a valid stream position, which is
1816 not groovy: see testcase addition.
1817 * bits/ostream.tcc (seekp): Same.
1819 * bits/streambuf.tcc (_S_copy_streambufs): Simplify.
1820 * bits/sstream.tcc: Tweaks.
1821 * bits/locale_facets.tcc: Tweaks.
1822 (num_put::do_put(iter_type, ios_base, char_type, const void*)):
1823 Re-write in a way that is easier for the inliner to work with.
1824 * bits/ios_base.h: Use explicit static_cast<int>(...) notation.
1826 1999-12-10 Benjamin Kosnik <bkoz@cygnus.com>
1828 * bits/locale_facets.tcc: Tweaks.
1829 * bits/locale_facets.h (use_facet): Can't inline, remove inline
1831 * bits/localefwd.h: And here.
1832 * bits/std_ostream.h: Tweaks, sentry ctor can't be inlined.
1833 * bits/ostream.tcc: Put here.
1835 Frank Ch. Eigler <fche@cygnus.com>
1836 * src/Makefile.am: Adjust CXXFLAGS, add AM_CXXFLAGS.
1838 1999-12-08 Benjamin Kosnik <bkoz@cygnus.com>
1840 * bits/sstream.tcc (stringbuf::seekoff): Long overdue revamp. Make
1841 in and out buffers update independantly.
1843 * bits/basic_ios.h: Minor formatting.
1844 * bits/fstream.tcc (std): Fix indentation.
1846 1999-12-08 Chip Salzenberg <chip@valinux.com>
1848 * bits/char_traits.h (char_traits<>): Move not_eof() functions
1849 after corresponding eof() functions, so they're easier for the
1851 * bits/locale_facets.h (money_base::__default_pattern): Move
1852 static variable out of inline functions.
1853 (_Moneypunct<>::do_{pos,neg}_format): Use it.
1854 * src/locale-inst.cc (money_base::__default_pattern): Define it.
1856 1999-12-08 Benjamin Kosnik <bkoz@cygnus.com>
1858 * bits/std_fstream.h (filebuf::open): Tweak.
1859 * bits/fstream.tcc (filebuf::seekoff): Simplify, fix.
1860 * bits/std_ios.h: Minor tweaks for headers.
1862 1999-12-06 Benjamin Kosnik <bkoz@gnu.org>
1864 * bits/c++config.h.in (_GLIBCPP_FULLY_COMPLIANT_HEADERS): New macro.
1865 * src/string-inst.cc: Add guards . . .
1866 * src/misc-inst.cc: And here.
1867 * bits/std_sstream.h: And here.
1868 * bits/std_fstream.h: And here.
1869 * bits/std_streambuf.h: And here.
1870 * bits/std_istream.h: And here.
1871 * bits/std_ostream.h: And here.
1873 1999-12-06 Scott Snyder <snyder@fnal.gov>
1875 * bits/istream.tcc (basic_istream::read): Try to handle __n == 0
1877 (basic_istream::readsome): And here as well.
1878 * testsuite/27_io/istream_unformatted.cc: Test a zero-length
1881 1999-12-06 Mumit Khan <khan@xraylith.wisc.edu>
1883 * bits/istream.tcc (basic_istream::ignore): streamsize is not
1884 necessarily an `int'.
1886 1999-12-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
1888 * mknumeric_limits: Don't use $CXXFLAGS when building
1889 gen-num-limits. It's definitely wrong to use it since $CXXFLAGS
1890 generally instructs the compiler not to emit template
1891 instantiations and we end up with undefined symbols. Sigh.
1893 1999-12-05 Benjamin Kosnik <bkoz@gnu.org>
1895 * bits/locale_facets.tcc: Tweak.
1896 (_S_format_long): Adjust showpos formatting for hex and oct.
1897 * bits/std_ostream.h (operator<<(short)): Correctly deal with hex
1898 and oct by formatting as unsigned.
1899 (operator<<(int)): Same here.
1900 * bits/ostream.tcc (operator<<(long)): Same.
1901 (operator<<(long long)): Same.
1902 (_S_pad_char): Actually treat ios_base::internal as something
1903 worth doing correctly. Remove const designation on ios argument.
1904 * testsuite/27_io/ios_manip_basefield.cc (test02): Add tests.
1905 * testsuite/27_io/ostream_inserter_arith.cc (test03): Add tests.
1907 1999-12-04 Benjamin Kosnik <bkoz@gnu.org>
1909 * bits/std_sstream.h (streambuf::underflow): Check for mode == in.
1911 1999-12-03 Benjamin Kosnik <bkoz@gnu.org>
1913 * bits/locale_facets.tcc (num_put::do_put(bool): Fix.
1915 * bits/sstream.tcc (streambuf::seekoff): Add parens.
1916 * bits/istream.tcc (istream::get(sb)): Handle exceptional events.
1917 (operator>>(istream, _CharT*)): Change streamsize to int_type.
1918 (operator>>(istream, _CharT&)): Fix typedef'd type to be _CharT.
1919 * bits/ostream.tcc (ostream::operator<<(const char*)): Stub out
1921 (ostream::operator<<(_CharT)): Fix.
1923 * bits/std_sstream.h: Temporarily disable including sstream.tcc to
1924 see if this will increase compile speed.
1925 * bits/std_ostream.h: Likewise. . .
1926 * bits/std_istream.h: And here.
1927 * bits/std_fstream.h: And here.
1928 * src/misc-inst.cc: Add relevant header file includes for
1929 instantiation purposes.
1930 * src/string-inst.cc: And here.
1931 * testsuite/27_io/ostream_inserter_arith.cc: Add test case.
1933 1999-12-02 Benjamin Kosnik <bkoz@gnu.org>
1935 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
1936 * bits/istream.tcc (get(streambuf)): More fixes.
1937 (istream::ignore): Get specific about numeric_limits<int>::max()
1940 * bits/fstream.tcc (filebuf::open): Tweaks for _M_last_overflowed.
1941 (filebuf::close): Same.
1942 * testsuite/27_io/filebuf.cc: Add tests for ios_base::ate.
1944 1999-12-01 Phil Edwards <pedwards@jaj.com>
1946 * mkcheck: Support for compilation/execution timing.
1947 * testsuite/printnow.c: New file.
1949 1999-12-01 Phil Edwards <pedwards@jaj.com>
1951 * bits/std_cwchar.h: Test for _GLIBCPP_USE_WCHAR_T.
1952 * configure.in: Test for presence of wchar.h before testing
1953 for any of its features.
1954 * configure: Regenerate.
1956 1999-11-30 Benjamin Kosnik <bkoz@gnu.org>
1958 Preliminary istream validations complete.
1959 * bits/istream.tcc (istream::getline): Fixes. Tweaks to make
1960 formatting more consistent. Removal of if-statements inside of for
1965 * bits/std_istream.h: Same.
1966 * bits/sstream.tcc (stringbuf::pbackfail): Fix.
1967 * testsuite/27_io/stringbuf.cc: Tweak.
1968 * testsuite/27_io/istream_unformatted.cc (test02): Mo' tests.
1970 * bits/ostream.tcc (ostream::operator<<(arith)): Set badbit, not
1971 failbit on failure, as per 27.6.2.5.2.
1973 * stl/bits/std_vector.h: Allow bool specializations. Should move
1974 ext/std_bvector to bits, not ext, maybe.
1976 1999-11-30 Mumit Khan <khan@xraylith.wisc.edu>
1978 * configure.in: Fix checks for mbstate_t and WCHAR_MIN/MAX.
1979 * configure: Regenerate.
1981 999-11-29 Benjamin Kosnik <bkoz@gnu.org>
1983 * bits/istream.tcc (get(streambuf, char)): Fix.
1984 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
1986 1999-11-29 Scott Snyder <snyder@fnal.gov>
1988 * bits/basic_string.h (append(const _Char*, size_type)): The
1989 length of the appended string is given exactly by the second arg,
1990 regardless of the data in the character array.
1991 * bits/string.tcc (basic_string(const _CharT*, size_type, const
1992 _Alloc&)): Likewise.
1993 * testsuite/21_strings/append.cc (test01): Remove erroneous test
1994 of basic_string::append.
1996 1999-11-29 Chip Salzenberg <chip@valinux.com>
1998 * Makefile.in: Tweaks for CXXFLAGS.
1999 * */Makefile.in: Same.
2001 1999-11-29 Mumit Khan <khan@xraylith.wisc.edu>
2003 * conficd bgure.in: Check for wide character support.
2004 * bits/c++config.h.in (_GLIBC_USE_WCHAR_T): Move from here ...
2005 * acconfig.h (_GLIBC_USE_WCHAR_T): to here.
2006 * bits/string.tcc (wstring::_S_find): Guard wchar_t specialization.
2008 1999-11-29 Mumit Khan <khan@xraylith.wisc.edu>
2010 * acinclude.m4: Fix typo.
2011 * src/complex.cc: Fix macro line continuation.
2013 1999-11-29 Petter Urkedal <petter@matfys.lth.se>
2015 * src/Makefile.am (CXXFLAGS): Add -Wno-format to allow non-
2016 string literals in format, as used in locale-facets.tcc.
2018 1999-11-28 Benjamin Kosnik <bkoz@gnu.org>
2020 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
2021 * bits/istream.tcc (istream::get): Extract to argument minus one.
2022 Various tweaks and fixes.
2024 1999-11-22 Mumit Khan <khan@xraylith.wisc.edu>
2026 * bits/locale_facets.tcc: Workaround for compiler crash on
2029 1999-11-21 Mumit Khan <khan@xraylith.wisc.edu>
2031 * acinclude.m4: New file. New _GLIBCPP_CHECK_FLOAT_SUPPORT macro.
2032 * configure.in: Use.
2033 * acconfig.h: New _GLIBCPP_BUGGY_FLOAT_COMPLEX macro.
2034 * src/complexf.cc: New _GLIBCPP_FLOAT_SPECIALIZATION macro.
2035 * bits/std_complex.h: Use.
2036 * src/complex.cc: Use.
2038 1999-11-19 Mumit Khan <khan@xraylith.wisc.edu>
2040 * testsuite/18_support/numeric_limits.cc: Add missing std:: prefix.
2041 * testsuite/21_strings/inserters_extractors.cc: Likewise.
2042 * testsuite/22_locale/ctype.cc: Likewise.
2043 * testsuite/23_containers/multiset.cc: Likewise.
2044 * testsuite/23_containers/vector_ctor.cc: Likewise.
2045 * testsuite/26_numerics/binary_closure.cc: Likewise.
2046 * testsuite/27_io/fpos.cc: Likewise.
2047 * testsuite/27_io/ios_base_callbacks.cc: Likewise.
2048 * testsuite/27_io/istream_extractor_arith.cc: Likewise.
2049 * testsuite/27_io/istream_extractor_char.cc: Likewise.
2050 * testsuite/27_io/istream_extractor_other.cc: Likewise.
2051 * testsuite/27_io/istream_sentry.cc: Likewise.
2052 * testsuite/27_io/ostream_inserter_char.cc: Likewise.
2053 * testsuite/27_io/ostream_inserter_other.cc: Likewise.
2054 * testsuite/27_io/streambuf.cc: Likewise.
2055 * testsuite/27_io/stringstream.cc: Likewise.
2057 1999-11-19 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
2059 * bits/valarray_meta.h: Don't forget to define tanh
2061 1999-11-18 Philip Martin <pm@corris.dircon.co.uk>
2063 * src/stl-inst.cc: Use typedef to refer to iterator
2064 * stl/bits/stl_algobase.h: Add traits based dispatch for
2065 __normal_iterator in the copy()algorithm
2066 * stl/bits/type_traits.h: Add _Is_normal_iterator trait support
2068 1999-11-18 Kevin Ediger <kediger@licor.com>
2070 * src/locale.cc (locale::_Imp::_Imp): Use auto_ptr to make
2071 constructors for locale::_Impl exception safe.
2073 1999-11-18 Scott Snyder <snyder@fnal.gov>
2075 * stl/bits/stl_queue.h: The C++ standard gives the default for the
2076 _Sequence template argument of priority_queue<> as vector<>, not
2079 1999-11-18 Benjamin Kosnik <bkoz@gnu.org>
2081 * bits/std_sstream.h (stringbuf::_M_really_sync): Add __iend as a
2083 * bits/sstream.tcc: Adjust here too.
2085 1999-11-17 Benjamin Kosnik <bkoz@gnu.org>
2087 * bits/sbuf_iter.h (istreambuf_iter::equal): Tweak.
2088 * bits/istream.tcc (operator>>): Replace iostate(0) with
2089 iostate(ios_base::goodbit), which is the same thing, but hopefully
2091 * bits/locale_facets.tcc (do_get(bool)): Streamline, deal with
2092 libraries issue list 17.
2093 (do_gets): Don't set goodbit explicitly, instead only set on
2094 failures as good bit is the default setting.
2095 * bits/ios_base.h (setf): Set correctly.
2096 * bits/fstream.tcc: Tweak.
2097 * bits/std_sstream.h (_M_really_sync): Fix ibuffer positioning for
2098 in|out bufs that are empty. . .
2099 * testsuite/27_io/istream_extractor_arith.cc (test03): Add.
2101 1999-11-16 Benjamin Kosnik <bkoz@gnu.org>
2103 * testsuite/27_io/streambuf.cc (class testbuf): Don't set _M_buf_size.
2104 * bits/std_streambuf.h (setp): Set _M_buf_size, _M_mode.
2105 Add comments "all about _M_buf."
2106 (setg): Set _M_mode.
2108 1999-11-16 Kevin Ediger <kediger@licor.com>
2110 * bits/locale_facets.tcc (_S_build_float_format): New function.
2111 (_S_output_float): New function.
2112 (num_put::do_put(double)): Use 'em.
2113 (num_put::do_put(long double)): Use 'em.
2114 * testsuite/27_io/ostream_inserter_arith.cc: New file.
2116 1999-11-15 Scott Snyder <snyder@fnal.gov>
2118 * bits/basic_file.h: Type of __off parm should be __c_streampos, to
2119 match how libio is calling us.
2120 * src/basic_file.cc (sys_seek): Likewise.
2121 * bits/std_fstream.h (basic_filebuf::sync): Restore sync call.
2123 1999-11-15 Benjamin Kosnik <bkoz@gnu.org>
2125 * docs/17_intro/contribute.html: Add link to assignment form.
2126 * docs/17_intro/libstdc++-assign.txt: New file.
2128 * mkcheck (TESTS_FILE): Move a copy of test files as well as
2131 * bits/std_streambuf.h (_M_buf_bump): New function.
2132 * bits/streambuf.tcc: Mods to support _M_buf_bump.
2133 (xsputn): Here. Also add checks for output valid.
2134 (xsgetn): Add checks for input valid.
2136 (sgetc): Set _M_in_end to _M_buf + _M_buf_end.
2137 * bits/std_sstream.h (_M_really_sync): Set _M_buf.
2138 Set _M_out_end to variable-length-end.
2139 * bits/sstream.tcc (overflow): Use _M_buf_bump.
2142 * bits/fstream.tcc (std): Tweak formatting.
2143 (filebuf::overflow): Simplify.
2144 (filebuf::showmanyc): Same.
2145 (filebuf::underflow): Same.
2146 * testsuite/27_io/filebuf.cc: Fix.
2147 * testsuite/27_io/ostream_inserter_other.cc: Fix.
2148 * testsuite/27_io/ostream_inserter_other-2.tst: New file.
2149 * testsuite/27_io/stringbuf.cc: Tweak.
2150 * testsuite/27_io/streambuf.cc: Tweak.
2151 * testsuite/27_io/istream_extractor_other.cc: Fix.
2153 1999-11-11 Matthias Klose <doko@cs.tu-berlin.de>
2155 * stl_deque.h: Use static_casts<size_type>(signed_type).
2157 1999-11-11 Benjamin Kosnik <bkoz@gnu.org>
2159 Cleanups for callbacks, more regression hunting. Remaining
2160 failures (1) due to last unresolved stringstream issues, not
2162 * bits/std_fstream.h: Revert. Disable call to _M_file->sync as
2163 killing 27_io/filebuf.cc tests. . . need another solution.
2165 * bits/streambuf.tcc (_S_copy_streambufs): Fix.
2166 * testsuite/27_io/istream_extractor_other.cc: Tweak comments.
2168 * bits/basic_ios.h: Add cached facets here. UGH. The standard
2169 foils all attempts at a graceful, minimal implementation.
2170 * bits/basic_ios.tcc: Tweaks.
2171 * bits/istream.tcc: Fix.
2172 * bits/ostream.tcc: Fix.
2173 * bits/std_istream.h: Fix.
2174 * bits/std_ostream.h: Fix.
2175 * src/ios.cc (ios_base::imbue): Set _M_locale_ios before calling
2177 * bits/locale_facets.tcc (std): Minor, minor formatting tweak.
2178 (_S_pad_numeric): Make comprehensible.
2180 1999-11-10 Benjamin Kosnik <bkoz@cygnus.com>
2182 * bits/std_ostream.h: Add callbacks for _M_fnumput.
2183 (_S_ostream_fcache): New function.
2184 Move functions out-of-line.
2185 * bits/ostream.tcc: Put here.
2187 * bits/std_istream.h: Add callbacks for _M_fnumget.
2188 (_S_istream_fcache): New function.
2189 Move functions out-of-line.
2190 * bits/istream.tcc: Put here.
2192 * bits/basic_ios.tcc (basic_ios::imbue): Tweaks, remove call to
2193 _M_call_callbacks(), as ios_base::imbue does this already.
2194 * src/ios.cc (register_callback): Clean.
2195 (_M_call_callbacks): Same.
2196 * bits/ios_base.h: Callback work.
2197 * testsuite/27_io/ios_base_callbacks.cc (test01): New file.
2199 1999-11-10 Benjamin Kosnik <bkoz@cygnus.com>
2200 Matthias Klose <doko@cs.tu-berlin.de>
2202 * stl/ext/stl_rope.h: Fix initialization order.
2204 1999-11-09 Scott Snyder <snyder@fnal.gov>
2206 * bits/std_fstream.h (basic_filebuf::sync): Unconditionally call
2207 _M_file->sync() so that redirection works correctly.
2209 1999-11-09 Benjamin Kosnik <bkoz@gnu.org>
2211 * bits/istream.tcc: Re-order.
2212 * bits/std_istream.h: Fix getline problems.
2213 * testsuite/27_io/istream_unformatted.cc: New tests.
2215 Clean up regressions.
2216 * bits/std_sstream.h: Set initial stringbufs correctly.
2218 1999-11-09 Scott Snyder <snyder@fnal.gov>
2220 * stl_vector.h (_M_range_insert): Fix mixing pointers and
2222 * testsuite/23_containers/vector_modifiers.cc (test01): New file,
2225 1999-11-09 Benjamin Kosnik <bkoz@cygnus.com>
2227 * src/Makefile.am (CXXFLAGS): Add -Winline.
2228 * src/Makefile.in: Regenerate.
2230 1999-11-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
2232 * bits/valarray_meta.h (_DEFINE_EXPR_UNARY_FUNCTION): When
2233 building meta-expressions don't forget to take the contained
2236 1999-11-02 Benjamin Kosnik <benjamin@cygnus.com>
2238 * configure: Regenerate.
2240 1999-11-02 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
2242 * bits/valarray_meta.h (_Expr<>::sum): Tweak. Use copy-initialization
2244 * bits/valarray_meta.h (min): Likewise.
2245 * bits/valarray_meta.h (max): Likewise.
2247 1999-11-01 Benjamin Kosnik <bkoz@cygnus.com>
2249 * bits/std_sstream.h (_M_really_sync): Take into account in | out bufs.
2250 * bits/std_streambuf.h (_S_copy_streambufs): New function.
2251 * bits/streambuf.tcc: Define.
2252 * bits/istream.tcc (istream::operator>>(streambuf)): Rewrite.
2253 * bits/ostream.tcc (ostream::operator<<(streambuf)): Rewrite.
2254 * testsuite/27_io/ostream_inserter_other.cc: Add tests.
2255 * testsuite/27_io/ostream_inserter_other-1.tst: New file.
2257 * bits/basic_string.h: Explicitly cast npos to unsigned type,
2258 reported by Richard Atterer.
2259 * bits/char_traits.h: For consistency's sake, here too.
2261 * configure.in: Bump version to 2.90.7.
2263 1999-10-31 Benjamin Kosnik <bkoz@cygnus.com>
2265 * testsuite/27_io/ostream_inserter_char-1.tst: Check file output.
2266 * testsuite/27_io/ostream_inserter_char.cc (test05, test01): Add tests.
2267 * bits/streambuf.tcc (xsputn): Treat--size const char for long loops.
2269 * bits/sstream.tcc (seekpos): Tricks, mostly: check _M_mode before
2270 writing into buffer.
2273 1999-10-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
2275 * bits/valarray_array.h (__valarray_sum): New function.
2276 * bits/valarray_array.h (__valarray_product): Same.
2278 * bits/std_valarray.h (valarray<T>::product): Comment out.
2279 * bits/std_valarray.h (valarray<T>::sum): Use __valarray_sum
2280 instead of accumulate.
2282 * src/valarray-inst.cc: Remove explicit intantiation of
2283 class multiplies<size_t>, accumulate, valarray<size_t>::product.
2284 * src/valarray-inst.cc (__valarray_product): Instantiate
2286 * src/valarray-inst.cc (__valarray_product(const
2287 valarray<size_t>&)): New function.
2288 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't use
2289 valarray<size_t>::product. Use __valarray_product instead.
2292 1999-10-25 Benjamin Kosnik <bkoz@cygnus.com>
2294 * bits/std_ostream.h (ostream.inserters.char): Correctly pad output.
2295 (_S_pad_char): New function. Not done: ios_base::internal.
2296 * bits/ostream.tcc: Clean for above.
2297 * bits/locale_facets.tcc (_S_fill): Remove ostreambufiterator
2298 specialization that was commented out, as ostreams now have to
2299 correctly deal with padding.
2300 * testsuite/27_io/ostream_inserter_char.cc (main): Add tests.
2302 * testsuite/21_strings/ctor_copy_dtor.cc(test02): Add test case
2303 from mailing list. This is a bug, and should be fixed.
2304 * testsuite/21_strings/inserters_extractors.cc (main): Tweak, fix typo.
2306 1999-10-22 Petter Urkedal <petter@matfys.lth.se>
2308 * stl/bits/stl_numeric.h (__power): Replaced argument name `__opr'
2309 to avoid conflict with gcc name mangling.
2310 * stl/bits/stl_algo.h (__transform): Same.
2312 1999-10-21 Benjamin Kosnik <bkoz@cygnus.com>
2314 * bits/ios_base.h: Change argument names.
2315 * docs/17_intro/BADNAMES: Add __opr.
2317 1999-10-20 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
2319 Work on compilation slowdowns from 10-5 to 10-12, which are
2320 related to the _Callback_list inlining/merge-ifcation, which is
2321 still a pending issue, but this stuff is necessary cleanup anyway.
2323 * src/ios.cc: Re-arrange.
2324 * bits/ios_base.h: Tweak.
2325 * bits/basic_ios.tcc: Move out of line definitions here, move
2326 small out-of-line definitions inline.
2327 * bits/basic_ios.h: From here.
2329 * bits/streambuf.tcc (pbackfail, overflow): Move back inline.
2330 * bits/std_streambuf.h: From here.
2332 1999-10-19 Benjamin Kosnik <bkoz@cygnus.com>
2334 * testsuite/27_io/istream_extractor_char.cc: Add tests.
2335 * bits/std_istream.h: Tweaks--set eofbit on eof condition.
2336 * bits/istream.tcc (operator>>(istream&, string&): Remove
2337 vestigial issspace hacks and use ctype::is instead.
2338 (getline): Remove unnecessary loops, fortify and pasteurize.
2341 1999-10-18 Benjamin Kosnik <bkoz@cygnus.com>
2343 * bits/istream.tcc (operator>>): Tweak.
2344 * bits/std_istream.h: Fix according to library issues list 68.
2347 * bits/locale_facets.h: Fix table_size to be non-zero.
2349 1999-10-18 Vadim Egorov <egorovv@HotPOP.com>
2351 * src/basic_file.cc: ifdef instead of comment for binary mode
2353 1999-10-18 Russell Davidson <russell@qed.econ.queensu.ca>
2355 * bits/std_sstream.h: Stringbuf initialization based on actual,
2356 not allocated, size.
2357 * testsuite/21_strings/inserters_extractors.cc (test06): Add test
2360 1999-10-17 Benjamin Kosnik <bkoz@cygnus.com>
2362 * testsuite/26_numerics/c_math.cc (test03): Tweak.
2363 * testsuite/27_io/istream_manip.cc (test01): Corrections due to
2365 * testsuite/21_strings/inserters_extractors.cc (test01): Same.
2367 1999-10-14 Benjamin Kosnik <bkoz@cygnus.com>
2369 * bits/std_istream.h: Tweaks.
2370 * bits/istream.tcc (istream::sentry::sentry()): Simplify, correct
2371 as per issues list addition--set failbit, eof on empty buffers.
2372 * testsuite/27_io/istream_sentry.cc: New file.
2374 1999-10-12 Chris Prince <prince@wcug.wwu.edu>
2376 * bits/std_cstdio.h: Remove Solaris hacks.
2378 1999-10-12 Phil Edwards <philip.edwards@sn.wpafb.af.mil>
2380 * docs/index.html: Fix minor typos and tweaks.
2381 * docs/17_intro/contribute.html: Ditto.
2382 * docs/*/howto.html: Ditto. More "EGCS"->"GCC" conversion, notes on
2383 thread safety and binary I/O, links to external sites.
2384 * docs/faq/index.html: EGCS/GCC cleanup, new entries for Cygwin
2387 1999-10-12 Petter Urkedal <petter@matfys.lth.se>
2389 * bits/std_cmath.h (abs(float)): When ::absf is not present, call
2390 ::fabs(double) rather than ::abs(int).
2392 1999-10-11 Benjamin Kosnik <bkoz@milou.cygnus.com>
2394 * bits/std_streambuf.h: Fix minor blip--should explicitly return
2395 *gptr(), not the result of underflow.
2396 (pbackfail): Conform to default behavior.
2398 * bits/streambuf.tcc: Add out-of-line streambuf members.
2401 * testsuite/27_io/streambuf.cc: New file.
2402 * testsuite/27_io/filebuf.cc: Correct test.
2404 1999-10-08 Benjamin Kosnik <bkoz@haight.constant.com>
2406 * bits/std_cmath.h: Correctly cast int to double.
2407 * testsuite/26_numerics/c_math.cc: Add test.
2409 * mknumeric_limits (OUT_C): Tweaks.
2410 * src/gen-num-limits.cc: Checks for WCHAR_MIN, WCHAR_MAX before
2411 trying to instantiate type_traits<wchar_t>.
2412 * acconfig.h: Add _GLIBCPP_HAS_WCHAR_MIN_MAX.
2413 * configure.in (LIBS): Plus checks for WCHAR_MIN, WCHAR_MAX.
2414 * configure: Regenerate.
2416 1999-10-06 Benjamin Kosnik <bkoz@milou.cygnus.com>
2418 * bits/streambuf.tcc (streambuf::xsgetn): Rewrite.
2419 (streambuf::xsputn): Put in break.
2420 Aiming for parity between these two (mostly) similar functions.
2421 Need to re-write tests.
2423 * bits/ios_base.h (ios_base::_M_copy_base): Remove declaration.
2424 Make data members protected, not private.
2425 * src/ios.cc (ios_base::_M_copy_base): Move _Callback_list into
2426 ios_base.h. As called only once, collapse into . . .
2427 * bits/basic_ios.h (basic_ios::copyfmt): Fix.
2428 (basic_ios::clear): Throw ios_base::failure on occasion.
2429 (basic_ios::exceptions): Fix.
2430 * testsuite/27_io/ios_members.cc (test02): Add tests.
2432 * bits/fpos.h: Default initialize.
2433 * testsuite/27_io/fpos.cc (test03): Add test.
2435 1999-10-04 Russell Davidson <russell@qed.econ.queensu.ca>
2437 * src/basic_file.cc: Fix open modes.
2439 1999-10-04 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
2441 * bits/locale_facets.tcc (num_get<>::do_get): Fix typo.
2443 1999-09-23 Benjamin Kosnik <bkoz@milou.cygnus.com>
2445 * bits/streambuf.tcc: Yea. Fix this for real.
2446 * testsuite/27_io/ostream_inserter_other.cc: Add file.
2447 * src/Makefile.*: Regenerate.
2449 1999-09-22 Benjamin Kosnik <bkoz@milou.cygnus.com>
2451 * bits/std_cstdlib.h: Add more linux-specif hacks to the header
2452 files so that stdtof and strtold will be declared. Some hacks
2453 already exits in bits/std_cctype.h -- these should all be removed
2455 * bits/locale_facets.tcc: Add cstring.h include.
2456 _S_format_long: Use long, not int.
2457 Add std_limits.h include, for numeric_limits.
2458 * testsuite/27_io/istream.cc: Make instantiations work when using
2460 * testsuite/27_io/ostream.cc: Same.
2462 1999-09-21 Benjamin Kosnik <bkoz@milou.cygnus.com>
2464 * bits/fpos.h (fpos::operator streamoff): Make const, don't return
2465 a reference. Same for operators == and !=.
2466 * testsuite/27_io/fpos.cc: Add tests.
2468 1999-09-21 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
2470 * bits/valarray_array.h: Fix typo.
2472 * mknumeric_limits: Make sure we are regenerating things from
2473 scratch. Otherwise things get redefined. Not good.
2475 1999-09-20 Benjamin Kosnik <bkoz@milou.cygnus.com>
2477 * bits/std_ostream.h: Fix typo.
2478 * bits/std_istream.h: Same.
2479 * bits/std_iomanip.h: Same.
2481 * bits/istream.tcc (sentry::sentry()): Remove optional tie with
2482 ostream, as happens with underflow anyway.
2483 * testsuite/27_io/istream.cc (main): New file.
2484 * testsuite/27_io/ostream.cc (main): New file.
2485 * testsuite/27_io/istream_unformatted.cc: Add tests.
2487 * src/Makefile.am (headers): Add new file.
2488 * src/Makefile.in (headers): Regenerated.
2490 * bits/basic_ios.h: Remove local-related files.
2491 * bits/basic_ios.tcc: New file, add locale-related items.
2492 * src/misc-inst.cc: Add include of basic_ios.tcc, as a hack for now.
2493 * testsuite/27_io/ios_members_static.cc: Change to
2494 * testsuite/27_io/ios_base_members_static.cc: This.
2495 * testsuite/27_io/ios_members.cc: New file.
2496 * testsuite/27_io/stdios_basefield_manip: Change to
2497 * testsuite/27_io/ios_manip_basefield.cc: This.
2498 * testsuite/27_io/stdios_fmtflags_manip: Change to
2499 * testsuite/27_io/ios_manip_fmtflags.cc: This.
2501 * bits/fpos.h: Fix discarding qualifiers on this when
2502 using _M_position with a const fpos.
2503 * bits/std_iosfwd.h: Tweak.
2504 * testsuite/27_io/fpos.cc: New file.
2506 1999-09-17 Benjamin Kosnik <bkoz@milou.cygnus.com>
2508 * bits/streambuf.tcc (streambuf::xsputn): Tweak.
2509 * bits/ostream.tcc: Tweak.
2510 * testsuite/21_strings/inserters_extractors.cc (test04, test05):
2511 Add new regressions.
2513 1999-09-16 Benjamin Kosnik <bkoz@milou.cygnus.com>
2515 * bits/basic_ios.h: Inline, tweak.
2516 * bits/fstream.tcc (basic_filebuf::_M_really_overflow): Tweak,
2517 pass back accurate return value to basic_filebuf::overflow.
2518 * bits/streambuf.tcc (streambuf::xsputn): Fix overflow accounting.
2519 This fixes sstream problems reported in libstdc++/9, but screws up
2520 filebufs. That solution is pending.
2522 1999-09-15 Vadim Egorov <egorovv@1c.ru>
2524 * bits/streambuf.tcc (basic_streambuf::xsputn): Add check for
2526 * testsuite/21_strings/inserters_extractors.cc (test01): Add test.
2528 1999-09-08 Benjamin Kosnik <bkoz@milou.cygnus.com>
2530 * bits/c++config.h.in: Add emacs hints.
2532 * stl/bits/stl_range_errors.h: Don't define here, for now define
2533 in stdexcept.cc along with string inlines __length_error, etc.
2534 * src/stdexcept.cc: Define here.
2535 * stl/bits/stl_config.h (__STL_CAN_THROW_RANGE_ERRORS): Enable, so
2536 at(size_t) will be declared/defined.
2537 (__STL_THREADS): Fix mess surrounding use of this, enable.
2539 1999-08-31 Benjamin Kosnik <bkoz@milou.cygnus.com>
2541 * testsuite/27_io/istream_extractor_arith.cc: Fix.
2542 * src/localename.cc: Tweak formatting, fix assignment to
2543 const compiler errors.
2545 1999-08-25 Benjamin Kosnik <bkoz@cygnus.com>
2547 * acconfig.h: Add absf, cosf.
2548 * configure.in (use_builtin_sinf): Same.
2549 * configure: Regenerate.
2550 * bits/std_cmath.h: Add mess of defines.
2551 * testsuite/26_numerics/modf_float.cc: Change to
2552 * testsuite/26_numerics/c_math.cc: This.
2554 * src/locale.cc: Change.
2555 * bits/locale_facets.h: Fix.
2556 * testsuite/22_locale/ctype.cc: Add temporary tests.
2558 1999-08-24 Benjamin Kosnik <bkoz@cygnus.com>
2560 * bits/fpos.h: Test.
2562 * docs/index.html: Add powerpc-linux-gnu results with gcc-2.95.1.
2563 Fix database name for "libstdc++".
2565 1999-08-23 Benjamin Kosnik <bkoz@cygnus.com>
2567 * mknumeric_limits (numeric_limits): Add default definitions to
2569 * testsuite/18_support/numeric_limits.cc: New file.
2571 1999-08-18 Benjamin Kosnik <bkoz@cygnus.com>
2573 * bits/std_istream.h: Correct initialization.
2574 * bits/std_ostream.h: Likewise.
2575 * bits/std_sstream.h: Likewise.
2576 * bits/std_fstream.h: Likewise.
2577 * testsuite/27_io/stringstream.cc: Add test case.
2579 * bits/std_sstream.h: Replace ____string_type with __string_type.
2580 * bits/basic_ios.h (basic_ios::rdbuf(sb*): Call clear(), as required.
2581 * bits/std_ostream.h: Tweak dtor.
2583 1999-08-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
2585 * src/Makefile.am (CXXFLAGS): Add -O2.
2586 * src/Makefile.in: Likewise.
2588 * src/gen-num-limits.cc: Conditionally allow wchar_t. See what
2590 * mknumeric_limits (numeric_limits): Uglify.
2592 * bits/std_istream.h: Fix warnings.
2593 * bits/locale_facets.tcc: Collateral damage from
2594 char_traits<char>::int_type change.
2596 * testsuite/27_io/istream_extractor_char.cc: Terminate strings.
2598 1999-08-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
2600 * docs/index.html: Add mailing list form.
2601 * docs/27_io/howto.html: Add link to iostreams_hierarchy.pdf.
2603 1999-08-16 Benjamin Kosnik <bkoz@cygnus.com>
2605 * bits/streambuf.tcc (streambuf::xsputn): Allow copies to continue
2606 if overflow successfully allocates more space.
2607 * bits/std_sstream.h: Adjust comments.
2608 * bits/sstream.tcc (stringbuf::overflow): Copy buffer into string
2609 before overflow forces a resize.
2610 * testsuite/27_io/ostream_inserter_char.cc: New file.
2612 * bits/std_fstream.h: Remove declaration.
2613 * bits/fstream.tcc: Move uflow.
2614 * bits/std_streambuf.h: To here.
2615 * bits/streambuf.tcc: Make consistent.
2617 * src/Makefile.am (WERROR): Enable.
2618 * src/Makefile.in: Regenerate.
2619 * bits/sbuf_iter.h: Tweak.
2620 * bits/char_traits.h: (char_traits<wchar_t>::eof): Use WEOF.
2621 Use unsigned int as char_traits<char>::int_type.
2623 * bits/ostream.tcc (ostream::putc(char)): Tweak.
2624 * testsuite/27_io/iostream_objects.cc: Terminate string.
2625 Move cin::operator>>(char*) test to extractor_char.cc.
2626 * testsuite/27_io/stringstream.cc: Add stringstream instantiation.
2627 * bits/std_istream.h (basic_iostream): Make explicit definition
2629 * bits/std_sstream.h: Fix typos.
2630 * bits/fstream.tcc (_M_init_filebuf): Set to indeterminate for
2631 basic_filebuf ctor with fileno open arguments. Thus, filebufs are
2632 initialized in a consistent manner, no matter if the underlying
2633 FILE/bit bucket is a tty or a text file or some other imaginary
2634 construct. This and setting _M_buf_size to 1 for cin allows
2635 istream::get(char) to work in a manner consistent with what others
2638 * docs/index.html: Link Stroustrup's C++ page.
2640 1999-08-12 Michael Cook <cook@sightpath.com>
2642 * bits/fstream.tcc: Fix signed/unsigned -Wall warning.
2643 * bits/istream.tcc: ditto.
2644 * bits/sbuf_iter.h: ditto.
2645 * bits/std_istream.h: ditto.
2646 * src/Makefile.am: Add -Wall to CXXFLAGS.
2647 * src/Makefile.in: ditto.
2649 1999-08-12 Benjamin Kosnik <bkoz@tintin.cygnus.com>
2650 Russell Davidson <russell@ehess.cnrs-mrs.fr>
2652 * bits/locale_facets.tcc (_M_extract): Finish off patch from yesterday.
2653 * src/Makefile.am (myinstallheaders): Tweak, remove PHONY.
2655 1999-08-11 Benjamin Kosnik <bkoz@tintin.cygnus.com>
2657 * testsuite/27_io/istream_unformatted.cc: New file.
2659 * testsuite/27_io/istream_extractor_arith.cc (test02): Add more
2660 elaborate tests for int types with noskipws.
2662 * testsuite/27_io/istream_extractor_other-1.txt: New file.
2663 * testsuite/27_io/istream_extractor_other-1.tst: New file.
2664 * testsuite/27_io/istream_extractor_other-2.tst: New file.
2665 * testsuite/27_io/istream_extractor_other.cc: Add tests.
2666 * bits/istream.tcc: Fix operator>>(streambuf*).
2668 * testsuite/23_containers/vector_ctor.cc (test01): Add.
2670 * docs/index.html: Remove references to egcs.
2671 * docs/17_intro/DESIGN: Same.
2672 * docs/17_intro/contribute.html: Same.
2673 * docs/17_intro/RELEASE-NOTES: Ditto.
2674 * docs/17_intro/howto.html: Same here.
2676 Russell Davidson <russell@ehess.cnrs-mrs.fr>
2677 * stl/bits/stl_vector.h (_M_insert_aux):
2678 * bits/locale_facets.tcc (_M_extract): Tweaks for preliminary
2679 decimal/floating point support.
2680 * bits/locale_facets.h: Change _M_extract prototype.
2681 * bits/char_traits.h (char_traits::to_int_type): Cast to unsigned.
2682 * bits/std_istream.h (istream::read(char_type, streamsize)): Fix.
2684 1999-08-10 Michael Cook <cook@sightpath.com>
2686 * bits/fstream.tcc: Fix for unused variable warning (-Wall).
2687 * bits/ios_base.h: ditto.
2688 * bits/istream.tcc: ditto.
2689 * bits/locale_facets.h: ditto.
2690 * bits/locale_facets.tcc: ditto.
2691 * bits/std_streambuf.h: ditto.
2692 * src/basic_file.cc: ditto.
2693 * src/locale.cc: ditto.
2694 * src/localename.cc: ditto.
2696 1999-08-10 Kirat Singh <singhki@jany.gs.com>
2698 * bits/std_iomanip.h: Inline.
2700 1999-08-10 Alfred Minarik <a8601248@unet.univie.ac.at>
2702 * bits/std_streambuf.h: Correct member initialization order.
2703 * src/ios.cc: Add definitions for ios_base data members.
2705 1999-08-06 Phil Edwards <pedwards@ball.com>
2707 * docs/index.html: Seventh snapshot updates. Minor tweaks.
2708 * docs/faq/index.html: Ditto. Removed bugs sections that have
2709 been fixed for a long time... Lots of "egcs" references still
2711 * docs/faq/index.txt: Regenerated.
2713 1999-08-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
2714 Andreas Amann <amann@physik.tu-berlin.de>
2716 * testsuite/26_numerics/binary_closure.cc (main): new test.
2718 1999-07-29 Andreas Amann <amann@physik.tu-berlin.de>
2720 * bits/valarray_meta.h: (_BinClos<>::_Binclos): fix typo causing
2723 1999-08-04 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
2725 * docs/index.html (host): Put in testing status.
2727 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
2729 * docs/index.html: Update for libstdc++-2.90.6 release.
2730 * docs/17_intro/RELEASE-NOTES (New): Update.
2731 * docs/17_intro/BUGS: Update.
2732 * bits/c++config.h.in (__GLIBCPP__): Bump version number.
2733 * README (file): Update.
2735 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
2737 * src/Makefile.am (generated_headers): Remove bits/c++config.h as
2739 ($(generated_headers)): Same.
2740 * src/gen-c++config.cc: Remove, rename to
2741 * bits/c++config.h.in: New file. Bump version number.
2742 * configure.in: Generate bits/c++config.h at configure time.
2743 * math/mathconf.h: include bits/c++config.h, not config.h.
2745 * bits/std_cmath.h: Fix remaining link error for solaris shared
2746 builds. _GLIBCPP_HAS_BUILTIN_SINF has to be disabled for the time
2747 being, as on Solaris this silently calls sinf, which does not
2750 * src/complex.cc: More tweaks.
2752 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
2754 * src/complex.cc: Same.
2755 * math/complex-stub.h: Change.
2756 * math/c_log10*.c: Change back to clog10*.c.
2758 * configure.in (NEED_C_LOG10): Delete.
2759 * configure: Regenerate.
2760 * math/Makefile.am: Change.
2762 1999-07-30 Benjamin Kosnik <bkoz@cygnus.com>
2764 * math/Makefile.am: Fix, for real.
2765 * configure.in (use_builtin_sinf): Ok, make autoconf solution.
2766 * math/clog.c: Move to c_log.c.
2767 * math/clog*: Ditto.
2768 * math/c_log10l.c (c_log10l): Change function name.
2769 * math/c_log10f.c (c_log10f): Change function name.
2770 * math/c_log10.c (c_log10): Change function name.
2772 * math/complex-stub.h: Change to c_log* variants.
2773 * src/complex.cc: And here.
2775 1999-07-29 Benjamin Kosnik <bkoz@cygnus.com>
2777 * testsuite/27_io/istream_extractor_other.cc: Correct last test.
2778 * bits/sstream.tcc (stringbuf::overflow): Don't update the input
2779 sequence, just the output sequence.
2780 * bits/std_sstream.h (stringbuf::str()): Only in stringbufs return
2781 the original string, all others use complicated heuristic.
2783 * src/complex.cc: Assume c_log10.
2784 * math/Makefile.am (EXTRA_yes): Fix c_log/c_logf unresolved
2785 symbols in shared libraries by making c_log/c_log10 part of the
2786 "must cmpile" sources. This may not work on solaris, must check.
2788 1999-07-29 Benjamin Kosnik <bkoz@cygnus.com>
2790 * bits/istream.tcc (operator>>(streambuf*)): Re-do.
2791 * bits/std_istream.h: Fix char extractors.
2792 * testsuite/27_io/istream_extractor_char.cc: Change.
2793 * testsuite/27_io/istream_extractor_other.cc: Add tests.
2795 1999-07-28 Benjamin Kosnik <bkoz@cygnus.com>
2797 * bits/std_cctype.h: Fix for solaris2.6 builds.
2799 * bits/istream.tcc: Fix, thanks Alfred.
2800 * bits/std_istream.h: Formatting changes.
2802 * libio/Makefile.am (libio_la_SOURCES): Remove cleanup.c, so that
2803 _IO_cleanup will not be undefined.
2804 * libio/*: Regenerate.
2806 * bits/basic_string.h: More namespace-safety stuff.
2807 * testsuite/27_io/istream_extractor_char.cc: Fix.
2808 * testsuite/27_io/istream_extractor_arith.cc: Fix.
2809 * testsuite/27_io/iostream_objects.cc: Fix.
2810 * testsuite/27_io/ios_ctor.cc: Fix.
2811 * testsuite/27_io/istream_manip.cc: Make namespace safe.
2812 * testsuite/27_io/istream_extractor_other.cc: New file.
2814 * mkcheck (TESTS_FILE): Tweaks.
2816 1999-07-27 Benjamin Kosnik <bkoz@cygnus.com>
2818 * src/gen-c++config.cc: Note here, change version.
2819 * acconfig.h( _GLIBCPP_USE_CTYPE_ISBIT): New macro.
2820 * src/locale.cc: Used here.
2821 * configure.in (use_builtin_sinf): Check for _ISBit using autoconf.
2823 * aclocal.m4: Regenerate by running `aclocal -I m4.`
2825 * bits/istream.tcc: Fix.
2826 * bits/std_istream.h: More changes to extractors.
2828 * testsuite/27_io/istream_extractor_char.cc: More.
2829 * testsuite/21_strings/inserters_extractors.cc (test01): Fix logic
2830 error in testsuite construction.
2832 * bits/std_istream.h: Partially revert.
2833 * bits/std_ostream.h: Same.
2834 * bits/std_sstream.h: Revert.
2836 1999-07-26 Benjamin Kosnik <bkoz@cygnus.com>
2838 * bits/std_sstream.h: Change initialization.
2839 * bits/std_ostream.h: Make default ctor/assign/operator= private.
2840 * bits/std_istream.h: Same, also correct sentry args.
2841 * bits/istream.tcc: Add correct sentry args.
2843 * testsuite/27_io/istream_extractor_char.cc: New file.
2844 * testsuite/27_io/istream_extractor_arith.cc: New file, old file,
2845 name changes making me dizzy.
2847 1999-07-26 Ulrich Drepper <drepper@happy.cygnus.com>
2848 Benjamin Kosnik <bkoz@cygnus.com>
2850 * aclocal.m4, config.guess, config.sub, ltconfig ltmain.sh: Update
2853 1999-07-26 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
2855 * bits/std_complex.h: Tweak. Make the primary template class
2856 complex work with user-defined numerical types. Provide member
2857 definitions. Restructure.
2858 (class complex<float>): Uglify. Remove __value(). Rename __val
2859 to _M_value. Rename __complex_value_type to _ComplexT. Make it
2860 private. Remove dependency on __value(). Fix various explicit
2861 specialization syntax. Declare a some functions friend. Now the
2862 implementation is nearly comforming.
2863 (class complex<double>): Likewise.
2864 (class complex<long double>): Likewise.
2866 * src/complex.cc: Tweak. Remove dependency on complex::__value().
2867 (sin, sinh, tan, than): Fix call to corresponding C9x function
2870 1999-07-24 Benjamin Kosnik <bkoz@fidel.cygnus.com>
2872 * bits/istream.tcc (ws): Fix error with failbit being set.
2874 Disabled due to egcs/gcc-2_95 internal compiler errors.
2875 * src/Makefile.am (CXXFLAGS): Add -fsquangle -fhonor-std
2876 -fnew-exceptions. Compiling with namespaces enabled will now be
2878 * mkcheck (CXX_FLAG): Same.
2879 * src/gen-c++config.cc (_GLIBCPP_USE_NAMESPACES): Yup. New macro.
2880 * bits/std_cctype.h: Not enough to just define in namespace std if
2881 ctype-isms are macros. Need to also define in namespace std:: if
2882 the C functions are just plain functions.
2884 * src/gen-num-limits.cc: Fix spelling inconsistencies.
2886 1999-07-24 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
2888 * docs/18_support/howto.html: Start documentation. Need to keep
2889 track of the ongoing discussion in th LWG reflector.
2891 * src/gen-num-limits.cc: Tweak.
2892 (class predicate): New class.
2893 (class value): Likewise.
2894 Make the whole machinery more flexible. Add comments.
2896 1999-07-23 Benjamin Kosnik <bkoz@fidel.cygnus.com>
2898 * bits/ios_base.h: Move state/exception functions into basic_ios.
2899 * bits/basic_ios.h: Same.
2900 * src/ios.cc: And here. Callbacks don't attempt to reset
2903 * bits/std_streambuf.h: Separate ios and streambuf locale data
2904 members and cached facets. Using this convention: _M_locale_buf for
2905 the streambuf-related classes, and _M_locale_ios for the ios
2907 * bits/fstream.tcc: And here.
2908 * bits/basic_ios.h: And here. Also, add cached ctype.
2909 * src/ios.cc: Ditto.
2910 * bits/ios_base.h: Ditto.
2911 * bits/std_istream.h: Use cached ctype facet.
2912 * docs/27_io/iostreams_hierarchy.pdf: Update for new data member
2915 * testsuite/27_io/ios_ctor.cc: New file.
2916 * src/ios.cc: Move _M_state init to basic_ios::init().
2917 * bits/basic_ios.h: To here.
2919 Attempt for some consistency in naming for testsuite/27_io/*.cc.
2920 * testsuite/27_io/boolfmt.cc: Rename to stdios_fmtflags_manip.cc
2921 * testsuite/27_io/octfmt.cc: Rename to stdios_basefield_manip.cc
2922 * testsuite/27_io/istream_manip.cc: Rename to istringstream_manip.cc.
2923 * testsuite/27_io/ostream_manip.cc: Rename to ostringstream_manip.cc.
2925 1999-07-22 Benjamin Kosnik <bkoz@fidel.cygnus.com>
2927 * src/ios.cc: Tweak initializations of standard iostream
2928 objects to closely match the standard. Tie cin/wcin, set flags on
2930 * bits/char_traits.h: Change from size_t to int_type, as per
2931 standard. As per wide streams.
2932 * bits/basic_ios.h: Infect with __ctype_type, as a preparation
2933 for caching a bunch of ctype info. For instance, ctype_base::space
2934 info needs to be stored somewhere, somehow.
2935 * bits/std_istream.h: Also here.
2936 * bits/std_ostream.h: Ditto.
2937 * bits/std_istream.h (operator>>(istream, char): Aggh. Fixup.
2938 * testsuite/27_io/iostream_objects.cacc (test01): Oh yeah. Fix
2941 * bits/istream.tcc (ws): Fix.
2942 * testsuite/27_io/istream_manip.cc: New file, test ws.
2943 * testsuite/27_io/ostream_manip.cc: New file, test endl, ends, flush.
2945 * bits/basic_string.h: Provide a specialized member function for
2946 _S_find<char> using strchr.
2947 * src/string-inst.cc: Put specializations here.
2948 * bits/string.tcc: Small fix for find, remove typo.
2949 * testsuite/21_strings/find.cc (test01): Add tests to catch this
2952 1999-07-20 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
2954 * bits/basic_ios.h: Put into basic_ios namespace.
2957 1999-07-19 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
2959 * bits/std_sstream.h (stringbuf::sync): Change to _M_really_sync,
2960 adjust _M_*_cur pointers inside the function, so callee doesn't
2962 * bits/sstream.tcc (stringbuf::overflow): Tweak.
2964 * mkcheck: Tweak. Add execution time field, even though it is not
2965 implemented yet. Simplify pass/fail status notation.
2967 1999-07-18 Mumit Khan <khan@xraylith.wisc.edu>
2969 * configure.in: Check for float.h and underscored version of
2971 * acconfig.h: Add @BOTTOM@ section for handling underscored
2973 * configure: Regenerate.
2974 * config.h.in: Regenerate.
2975 * math/mathconf.h (float.h): Include conditionally.
2976 (M_PI): Define conditionally.
2977 (INFINITE_P): Define for Mingw.
2978 * bits/locale_facets.tcc: Workaround for compiler crash on
2980 * bits/std_cwchar.h (bits/std_cstddef.h): Include.
2981 * src/locale.cc (bits/std_istream.h): Include.
2982 (bits/std_ostream.h): Likewise.
2984 1999-07-18 Phil Edwards <pedwards@ball.com>
2986 * docs/faq/index.html: Updated __black_count notes, fixed typos.
2987 * docs/faq/index.txt: Regenerated.
2989 1999-07-15 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
2991 * testsuite/27_io/stringbuf.cc: Cccchanges, latent bugs.
2993 * bits/sstream.tcc (stringbuf::overflow): Modify accounting of
2994 newly-allocated buffer.
2995 * bits/streambuf.tcc (streambuf::xsgetn): Aaaaaah. Fix final
2996 overflow condition bits.
2998 1999-07-14 Benjamin Kosnik <bkoz@cygnus.com>
3000 * bits/std_sstream.h (stringbuf::_M_init_stringbuf): Set
3001 _M_buf_size to initial _M_string.size(), even though for
3002 ostringstreams it is pretty pointless. It's necessary for
3004 (stringbuf::str()): Adjust.
3005 (stringbuf::str()): Adjust, call _M_init_stringbuf.
3006 * bits/streambuf.tcc (streambuf::xsgetn): Adjust return value for
3007 overflow's possible success.
3008 (streambuf::xsputn): Adjust.
3010 * testsuite/27_io/filebuf.cc: Adjust for the xsgetn re-write from
3012 * testsuite/27_io/stringbuf.cc: Tweak.
3013 * testsuite/21_strings/inserters_extractors.cc (test01): Remove
3015 * testsuite/23_containers/vector_cons.cc: Rename to be consistent
3016 with other constructor tests to. . .
3017 * testsuite/23_containers/vector_ctor.cc: New file.
3019 1999-07-14 Alfred Minarik <a8601248@unet.univie.ac.at>
3021 * testsuite/*: Changes to make the testsuit compilable with
3022 -fhonor-std. Contains direct qualification of library names with
3025 1999-07-13 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
3027 * bits/streambuf.tcc: Tweaks.
3028 (streambuf::xsputn): Optimize, fix for sstreams.
3029 (streambuf::xsgetn): Same.
3030 * bits/sstream.tcc (stringbuf::overflow): Adjust _M_buf_size
3031 correctly, handle overflow/reallocate conditions correctly.
3032 * bits/std_sstream.h: Fix typo.
3033 _M_init_stringbuf(): Fix _M_buf_size initialization.
3034 (stringbuf::str()): Construct return string if output has occurred.
3036 * bits/basic_string.h: Fix typo from yesterday's patch.
3038 1999-07-12 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
3040 * bits/string.tcc: _M_mutate - clear _M_state again.
3041 * bits/basic_string.h: In the three functions that return
3042 an iterator set _M_state to -1 before return.
3043 Also optimized two cases of operator+.
3045 1999-07-12 Phil Edwards <pedwards@ball.com>
3047 * docs/index.html: Expand egcs-1.1.2 notes/links.
3048 * docs/faq/index.html: And here. Add links to LWG issues-list.
3049 * docs/faq/index.txt: Regenerate. (lynx rocks)
3050 * docs/21_strings/howto.html: Fix notes on case conversion.
3051 * docs/21_strings/stringtok_h.txt: Goodly spelling...
3052 * docs/23_containers/howto.html: Stub for bitmasks.
3053 * docs/27_io/howto.html: Add section on buffering, stub binary.
3055 1999-07-12 Nathan Myers <ncm@cantrip.org>
3057 * stl/bits/stl_tree.h (__black_count): Optimize.
3059 1999-07-09 Vadim Egorov <egorovv@1c.ru>
3061 * src/basic_file.cc: Cleanup in __basic_file destructor.
3063 1999-07-08 Benjamin Kosnik <bkoz@cygnus.com>
3065 * bits/std_streambuf.h: Changes. . .
3066 * bits/streambuf.tcc: Merge xsputn from filebuf into xsputn in
3067 basic_streambuf, to be used for both filebufs and streambufs.
3068 * bits/std_fstream.h (_M_init_filebuf): New function.
3069 Take out specialized xsputn, put into basic_streambuf.
3070 * bits/fstream.tcc: Define, call from both ctors.
3071 * bits/std_sstream.h (_M_init_stringbuf): New function.
3072 * bits/sstream.tcc: Tweak.
3074 * docs/27_io/iostreams_heirarchy.pdf: New file.
3076 * docs/17_intro/CHECKLIST (basic_string<char>): Validation and
3077 acceptance. Wooo-hoo!
3079 * bits/char_traits.h: Change int_type for char_traits general
3080 template, so that 21_strings/capacity.cc will compile.
3081 * testsuite/21_strings/capacity.cc: Add operators.
3083 * bits/string.tcc (string::compare): Clean up, re-implement.
3084 * testsuite/21_strings/compare.cc: Tweak.
3086 * bits/string.tcc (string:_M_mutate): Keep leaked value in
3087 _M_state, which means that whenever begin() or end() has been
3088 called, the string is unshareable, period. By doing this, insert
3089 and erase member functions that return iterators can remain
3090 footloose and fancy free.
3091 * testsuite/21_strings/invariants.cc: Update.
3093 * bits/basic_string.h (string::append): Fix self-referential
3094 problems, ie when "this" is also an argument to a member function.
3095 * bits/string.tcc: Tweak, same.
3096 * testsuite/21_strings/append.cc: New file.
3098 1999-07-07 Benjamin Kosnik <bkoz@cygnus.com>
3100 * bits/char_traits.h: Tweaks.
3101 * bits/basic_string.h: Tweak.
3102 * bits/fstream.tcc: Remove warning for _M_buf_size assignment.
3104 1999-07-06 Benjamin Kosnik <bkoz@cygnus.com>
3106 * bits/std_streambuf.h: Absorb/acquire data members previously
3107 working in basic_filebuf.
3108 * bits/streambuf.tcc: Tweaks.
3109 * bits/fstream.tcc: Adjust.
3110 * bits/std_fstream.h: Move and rename the following functions:
3111 _M_set_ideterminate, _M_is_indeterminate, _M_set_determinate are
3112 now declared and defined in the base class, basic_streambuf. Oh
3113 fuck it, move data members _M_buf, and _M_buf_size into
3114 basic_streambuf as well.
3116 * bits/ostream.tcc: Tweak.
3117 * bits/locale_facets.tcc: Fix typo in comments.
3119 * testsuite/21_strings/inserters_extractors.cc (test01): Change
3120 state from good to not good, as eof() is set.
3122 1999-07-05 Benjamin Kosnik <bkoz@cygnus.com>
3124 * bits/char_traits.h (char_traits::compare). Fix.
3126 * config.guess, config.sub: Update.
3128 1999-07-02 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
3130 * bits/string.tcc: Check the __res_arg for a length error.
3132 1999-07-01 Benjamin Kosnik <bkoz@nabi.net>
3134 * bits/std_streambuf.h: Tweaks. Need to move _M_is_indeterminate
3135 and related functions into basic_streambuf, from basic_filebuf to
3136 take care of ostringstreams and empty strings. So that's groovy,
3138 * bits/std_istream.h: Tweaks.
3139 * bits/istream.tcc: Implement ws, getline, operator>> for string.
3140 * bits/std_ostream.h: And here.
3141 * bits/ostream.tcc: Same.
3142 * src/misc-inst.cc: Add instantiations for ws.
3144 * src/string-inst.cc: Add instantiations for inserters and
3145 extractors (operators << and >>, getline).
3147 * testsuite/21_strings/inserters_extractors.cc: Amazingly enough,
3148 a testcase for getline and operators << and >>. Ostream tests are
3149 failing right now, but istream tests should work. . .
3151 * bits/string.tcc: Change _S_max_size, as GNU malloc won't budge.
3152 * bits/std_sstream.h: Revert.
3154 * testsuite/17_intro: header_[iosfwd, ios, iostream, iomanip,
3155 istream, ostream, streambuf, fstream, sstream].cc: New files.
3157 1999-06-30 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
3159 * bits/std_sstream.h (stringbuf::sync): Don't use string::begin()
3162 * bits/basic_string.h (basic_string<>::_S_copy_chars): Add
3163 specializations for _CharT*, iterator and const_iterator.
3164 * src/string-inst.cc: Remove explicit instantiation, as
3165 now explicitly specialized.
3167 * bits/basic_string.h: Add a size_type parameter to _M_clone with
3168 a default value set to 0.
3169 * bits/string.tcc: In _M_clone by the call of _S_create add the
3170 value of the new parameter to _M_length. In reserve check
3171 _M_state and use _M_clone instead of _M_mutate.
3173 1999-06-30 Benjamin Kosnik <bkoz@happy.cygnus.com>
3175 * bits/basic_string.h: Fix _S_max_size.
3176 * bits/string.tcc: Add def here.
3177 * testsuite/21_strings/insert.cc: Fix.
3179 * bits/sbuf_iter.h: Remove detritus.
3180 * testsuite/24_iterators/istreambuf_iterator.cc: Add tests.
3182 * src/locale-inst.cc: Elaborate iterator/locale instantiations
3183 to resolve alpha-osf4 build problems.
3185 1999-06-29 Benjamin Kosnik <bkoz@happy.cygnus.com>
3187 * bits/string.tcc: Fix signed/unsigned issues in compares.
3188 * stl/bits/stl_deque.h: And here.
3189 * stl/bits/stl_string_fwd.h: Remove __get_c_string.
3191 1999-06-29 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
3193 * bits/string.tcc: New implementation and interface of _M_mutate.
3194 Adapt the change in all functions that call _M_mutate.
3195 * bits/basic_string.h: And here.
3197 1999-06-29 Benjamin Kosnik <bkoz@happy.cygnus.com>
3199 * testsuite/21_strings/capacity.cc (test01): Fix.
3201 1999-06-29 Phil Edwards <pedwards@ball.com>
3203 * mknumeric_limits: Exit script if gen-num-limits isn't built.
3205 1999-06-29 Andreas Gruenbacher <agruenba@pent224.infosys.tuwien.ac.at>
3207 * stl/bits/stl_vector.h: Fix.
3208 * testsuite/23_containers/vector_cons.cc: Add.
3210 1999-06-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3212 * mknumeric_limits (LDFLAGS): fix.
3214 1999-06-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3216 * mknumeric_limits (LDFLAGS): set it according to the system.
3218 * math/mathconf.h (NAN): Check whether host is running under
3219 Cygwin and make the appropriate definition.
3220 * math/complex-stub.h (nan): protect declaration.
3222 1999-06-28 Benjamin Kosnik <bkoz@haight.constant.com>
3224 * bits/sbuf_iter.h: Rename internal data structure to prevent
3225 confusion between basic_ios and istreambuf_iterators internal
3226 basic_streambuf data member.
3227 * testsuite/24_iterators/istreambuf_iterator.cc: New file.
3229 * bits/basic_string.h: Remove conditionals, add input_iterator
3230 version of S_construct again.
3231 * bits/string.tcc: Same.
3232 * src/string-inst.cc: And add explicit instantiation here.
3234 * src/gen-c++config.cc (_GNU_SOURCE): Take out both _GNU_SOURCE
3235 and __USE_GNU macro defines, as single __USE_GNU use leading to
3236 confusion on glibc2.1 systems (ie, RedHat 6.0).
3238 * src/Makefile.am (headers): Add std_utility to installed headers.
3240 1999-06-25 John Potter <jpotter@eagle.lhup.edu>
3242 * stl/bits/stl_tree.h (insert_unique): Revert, just fix insert_equal.
3244 1999-06-25 Gilles Zunino <Gilles.Zunino@hei.fr>
3246 * mknumeric_limits (LDFLAGS): Swap -lc and -lgcc.
3248 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
3250 * src/gen-c++config.cc (_GLIBCPP_*): Change all
3251 macros to include _GLIBCPP as a distinct namespace.
3255 * stl/bits/std_stdexcept.h: Forward-declare __Named_exception ctor.
3256 * bits/basic_string.h: Remove __get_c_string.
3257 * src/stdexcept.cc: Define ctor here.
3258 * bits/ios_base.h: And fix ios_base::failure as well.
3259 * src/ios.cc: Define here.
3261 * bits/std_streambuf.h: Add a private copy ctor and assignment
3262 operator wrapped in _G_RESOLVE_LIB_DEFECTS.
3263 * bits/ios_base.h: And here too.
3265 * bits/basic_string.h: Tweak.
3266 * testsuite/21_strings/nonmember.cc: Add operator+ tests.
3268 * src/valarray.cc: Rename to. . .
3269 * src/valarray-inst.cc: This.
3270 * src/Makefile.am (sources): Change here.
3271 * src/Makefile.in: Regenerated.
3273 1999-06-24 Vadim Egorov <egorovv@1c.ru>
3275 * bits/string.tcc(basic_string<>::_Rep::_S_create): Fixed
3278 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
3279 Tom Tromey <tromey@cygnus.com>
3281 * configure.in (use_glibc2): Eek, correct for non-glibc systems.
3282 Use AM_CONDITIONAL to get us out of this jam. .
3283 * libio/Makefile.am: Same.
3284 * */Makefile: Regenerated.
3286 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
3287 John Potter <jpotter@eagle.lhup.edu>
3289 * stl/bits/stl_tree.h (insert_equal): Fix.
3290 * testsuite/23_containers/multiset.cc: New file.
3292 1999-06-23 Benjamin Kosnik <bkoz@cygnus.com>
3294 * configure.in (test for glibc2): Correct AC_TRY_COMPILE so that
3295 this works correctly on glibc-2 systems. This should allow
3296 simplified linking on these systems, and successful linking on Red
3298 * configure, Makefile: Regenerate.
3300 * bits/std_cwctype.h: Add missing 'w' to _S_iswpunct_helper name.
3302 * testsuite/ext: New directory.
3303 * testsuite/ext/headers.cc: New file.
3305 1999-06-23 Vadim Egorov <egorovv@1c.ru>
3307 * stl/ext/hash_set: include missing headers
3308 * stl/ext/hash_map: Same
3309 * stl/ext/slist: Same
3311 1999-06-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3313 * bits/std_cmath.h: comment out modf. Kills build on hpux10.20
3315 1999-06-15 Benjamin Kosnik <bkoz@cygnus.com>
3317 * src/Makefile.am (sources): Regenerate.
3318 * mkcheck: Add TESTS_FILE as a way of controlling what testcases
3321 1999-06-14 Benjamin Kosnik <bkoz@cygnus.com>
3323 * src/string-inst.cc: Change _S_construct signature, to
3324 track requested allocation size versus valid input iterator range.
3325 * bits/basic_string.h: Here too.
3326 * bits/string.tcc: And here.
3328 1999-06-12 Benjamin Kosnik <bkoz@cygnus.com>
3330 * mkcheck (LOG_FILE): Correctly append errors.
3332 * stl/bits/stl_iterator.h: Revert previous, delirious, change.
3334 * bits/basic_string.h: Change _Rep::_M_data to _Rep::_M_refdata,
3335 to clarify differences between basic_string::_M_data() calls and
3336 _Rep::_M_data() calls.
3337 * bits/std_string.h: Fix.
3338 Put in check for out_of_range in substr.
3339 * bits/string.tcc: Fix for _S_find.
3341 * testsuite/21_strings/compare.cc: Add tests.
3342 * testsuite/21_strings/find.cc: New file.
3343 * testsuite/21_strings/substr: New file.
3344 * testsuite/21_strings/replace.cc: New file.
3346 1999-06-11 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3348 * bits/valarray_array.h: __restrict__ify pointers.
3350 * bits/std_valarray.h: Tweak.
3351 (valarray<T>::cshift, valarray<T>::shift): use __builtin_alloca.
3353 * bits/gslice_array.h: Tweak. Reflect changes in bits/gslice.h
3355 * bits/gslice.h: Tweak.
3356 (class gslice::_Indexer): new class.
3357 (gslice::gslice(const gslice&)): implement copy-ctor to support
3359 (gslice::operator=(const gslice&)): support ref-counted index.
3360 (gslice::_M_convert_to_index): delete.
3362 * src/valarray.cc: New file.
3363 (__gslice_to_index): turn a gslice into a valarray<size_t>
3364 (ctor gslice::_Indexer::_Indexer): implement.
3366 * src/Makefile.am (sources): add valarray.cc
3367 * src/Makefile.in: regenerate.
3369 1999-06-08 Benjamin Kosnik <bkoz@cygnus.com>
3371 * stl/bits/stl_iterator.h (__normal_iterator::const_iterator
3372 ctor): Put in a const_cast.
3374 * testsuite/21_strings/invariants.cc: New file.
3376 * testsuite/21_strings/insert.cc: Add exception handling bits.
3377 * testsuite/21_strings/ctor_copy_dtor.cc: Same.
3379 * src/wstring-inst.cc: Add c++config.h include.
3381 * bits/basic_string.h: Fix const operator[] for size == pos.
3382 Add _M_leak for rbegin, non-const.
3383 Add _M_leak for rend, non-const.
3384 Make member function at standards conformant.
3385 Add _S_terminal to _Rep for operator[] const, add this into
3387 * bits/string.tcc: Add static member definition here,
3390 * testsuite/21_strings/element_access.cc: Add tests.
3392 1999-06-08 Vadim Egorov <egorovv@1c.ru>
3394 * bits/fstream.tcc (_M_really_overflow): Fixed size of
3397 1999-06-08 Phil Edwards <pedwards@ball.com>
3399 * bits/fstream.tcc (basic_filebuf::xsputn): Fix off-by-one count
3400 caused when __testinit is true.
3401 * bits/ostream.tcc (basic_ostream::op<<(streambuf*)): Write buffer
3402 using rdbuf()->sputn rather than _M_fnumput->put.
3404 1999-06-08 Benjamin Kosnik <bkoz@tintin.cygnus.com>
3406 * testsuite/23_containers/bitset_ctor.cc: New file.
3407 * stl/bits/std_bitset.h (__BITSET_WORDS): Fix integration bug.
3409 1999-06-08 Phil Edwards <pedwards@ball.com>
3411 * bits/fstream.tcc (basic_filebuf::underflow): Fix, rename local vars.
3413 1999-06-07 Benjamin Kosnik <bkoz@tintin.cygnus.com>
3415 * testsuite/21_strings/element_access.cc: Finish off these tests.
3416 * testsuite/21_strings/insert.cc (test01): Uncomment.
3417 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Finish off ctors.
3418 * bits/basic_string.h: Tweak, okay, fix for real this time.
3419 * bits/string.tcc: Same.
3420 * bits/char_traits.h: Tweak.
3422 1999-06-07 Benjamin Kosnik <bkoz@tintin.cygnus.com>
3424 * bits/std_cmath.h: Example of how to use the generated macro.
3425 * acconfig.h: Add macro for sinf here.
3426 * configure.in (LIBS): Add test for builtin math function sinf.
3427 * configure: Regenerated.
3429 * bits/basic_string.h: Fix _S_max_size.
3431 1999-06-06 Benjamin Kosnik <bkoz@tintin.cygnus.com>
3433 * bits/basic_string.h: Fixes for out-of-memory segv for large strings.
3434 Remove _S_construct signature for forward_iterator_tag and
3437 * src/string-inst.cc: Same, tweaks.
3438 * bits/string.tcc: Same, tweaks.
3440 * testsuite/21_strings/ctor_copy_dtor.cc: Add/clarify tests.
3441 * mkcheck (LOG_FILE): Fix filebuf-[2,3].tst checks.
3442 * mknumeric_limits (LD_FLAGS): Add -nodefaultlibs -lc -lgcc as per
3445 * src/locale.cc: Final separation for char/wchar_t bits.
3447 1999-06-05 Phil Edwards <pedwards@ball.com>
3449 * docs/index.html: Added link to book upon request'n'agreement.
3450 * docs/23_containers/wrappers_h.txt: Added.
3451 * docs/{23_containers,27_io}/howto.html: Added sections.
3453 * bits/std_fstream.h: Tweak.
3455 1999-06-05 Benjamin Kosnik <bkoz@tintin.cygnus.com>
3457 * src/ios.cc: Same here.
3458 * bits/std_iosfwd.h: More wchar_t defines.
3460 * bits/basic_string.h: Tweaks.
3461 * bits/string.tcc: Tweak. Fix _S_construct to check for max_size
3462 when doing error checking, as per LWG defect #83.
3464 * src/gen-c++config.cc: Fix comment.
3466 * testsuite/21_strings/ctor_copy_dtor.cc: New file, checks ctors,
3468 * testsuite/21_strings/element_access.cc: New file, checks for
3469 operator[], at(...).
3470 * testsuite/21_strings/insert.cc: New file, tests string::insert.
3471 * testsuite/21_strings/char_traits.cc: New file, tests
3472 for char_traits<char>.
3474 * bits/utility.h: Remove, again.
3475 * src/Makefile.am (std_headers): Remove utility.h.
3476 * src/Makefile.in (std_headers): Regenerate.
3478 Alfred Minarik <a8601248@unet.univie.ac.at>
3479 * bits/basic_string.h: Move __out_of_range and __length_error into
3482 1999-06-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3484 * testsuite/26_numerics/modf_float.cc: New file.
3486 * bits/std_cmath.h (modf(float, float*)): Fix signature. Correct
3487 typo: use ::modff, not ::modf.
3489 1999-06-03 Vadim Egorov <egorovv@1c.ru>
3491 * bits/string.tcc (basic_string::_M_mutate): Fixed memory
3493 * testsuite/21_strings/capacity.cc (test01): Test.
3495 1999-06-03 Phil Edwards <pedwards@ball.com>
3497 * bits/fstream.tcc: Re-order inits to stop warnings. Comment/move
3498 unused variables to within #if 0 blocks to do the same.
3499 * bits/std_fstream.h: Fix typos (one prevents compilation).
3501 1999-06-03 Benjamin Kosnik <bkoz@pacifica.cygnus.com>
3503 * src/wstring-inst.cc: Fix.
3505 1999-06-02 Benjamin Kosnik <bkoz@madcow.cygnus.com>
3507 * bits/char_traits.h: Add _G_USE_WCHAR_T macro guards.
3508 * stl/bits/stl_string_fwd.h: Same.
3509 * bits/locale_facets.h: Same.
3510 * bits/locale_facets.tcc: Same.
3511 * src/wstring-inst.cc: And here.
3513 * src/gen-c++config.cc: Comment _G_USE_WCHAR_T. Leading to
3514 problems on HPUX 10.20.
3515 * your-build-directory-here/bits/c++config.h: Just kidding, do it
3516 here as a temporary hack till the compiler/host problems get
3519 * bits/locale_facets.tcc (num_get::do_get): Change from ifdef
3520 HAVE_STRTOLD to HAVE_STRTOLD && !(__hpux). Apparently, problems
3521 converting "long double" to struct long_double. Probably should be
3522 done with one macro (HAVE_STRTOLD) at configure time.
3524 * bits/std_cmath.h: Comment out pow(double, int) defintion as
3525 gives re-declaration under hpux10.20. Revert previous change, as
3526 kills linux/x86, solaris 2.7, hpux builds. These should be done
3527 using autoconf, see std_cctype.h and the solutions started in
3528 configure.in (see config.h for the generated file.)
3530 * mknumeric_limits (LDFLAGS): Remove '-nodefaultlibs -lc', as
3531 -nodefaultlibs prevents linking under HPUX 10.20 as __main is not
3534 * docs/index.html: Add some useful links.
3535 * docs/17_intro/contribute.html: Fix broken links.
3537 1999-06-02 Benjamin Kosnik <bkoz@rhino.cygnus.com>
3539 * mkcheck (LOG_FILE): Add !/bin/bash instead of cygnus-style
3540 paths. The rest of the world should be able to run this script
3543 * src/Makefile.am ($(generated_headers)): Remove comment.
3544 * Makefile*: Regenerate.
3546 * bits/std_locale.h: Remove detritus.
3547 * bits/localefwd.h: Add <cctype> include to undefine the isspace
3550 1999-06-01 Benjamin Kosnik <bkoz@tintin.cygnus.com>
3552 * src/gen-c++config.cc: New file. Making c++config.h at configure
3553 time by catting this file (nee bits/config.h) with the build
3554 directories config.h. This is not a complete or perfect solution
3555 but is better than what was in place previously.
3556 * bits/c++config.h: Rename/move to above.
3557 * src/Makefile.am (headers): Remove c++config.h.
3558 (myinstallheaders). Add.
3559 * Makefile*: Regenerated.
3561 * bits/std_cwchar.h: Add include of c++config.h for HAVE_*
3562 definitions, so that wmemcmp, wcslen, wmemchr, etc are properly
3563 declared only if not present in the host's wchar.h.
3565 * bits/locale_facets.tcc (std): Change _G_USE_STRTO* to HAVE_STRTO*.
3567 * bits/std_cmath.h: Define out, for the moment. Linux has no
3568 __buitin_fsqrtl? Probably need some kind of configure trickery
3571 * src/Makefile.*: Regenerate.
3572 * bits/c++config.h: Add config.h include.
3574 * bits/std_cwchar.h: Remove remaining #error guard.
3576 * acconfig.h: Add bits for HAVE_LC_MESSAGES.
3578 * configure.in (LIBS): Replace previous effort for mbstate_t and
3579 strtold/strtof with this implementation.
3581 1999 06-01 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3583 * bits/std_cmath.h: Tweak. Add more functions. Use __builtin_xxx
3586 1999-05-28 Benjamin Kosnik <bkoz@cygnus.com>
3588 * bits/locale_facets.tcc (std): Eek: this left in. Autoconf bits
3589 for determining mbstate_t differences across various hosts not
3592 1999-05-26 Benjamin Kosnik <bkoz@nabi.net>
3594 * bits/locale_facets.tcc: Change to ifdef.
3596 * bits/std_sstream.h (stringbuf::setbuf): Remove dynamic_cast.
3597 * bits/std_fstream.h (filebuf::setbuf): Same.
3599 * bits/std_istream.h: Add ws declaration.
3600 * bits/istream.tcc: Stub out definition.
3602 * docs/index.html: Fix broken link for design.txt.
3604 * configure.in: Test for mbstate_t. If wchar.h doesn't have it,
3605 then set _G_NEED_MBSTATE_T.
3606 * configure: Regenerate.
3607 * bits/c++config.h: Move mbstate_t define.
3608 * bits/std_cwchar.h: To here.
3610 1999-05-25 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
3612 * bits/std_sstream.h:
3613 basic_stringbuf<>::basic_stringbuf: fix.
3614 basic_stringbuf<>::setbuf:
3615 remove the temporary __string_type object,
3616 remove the unnecessary dynymic_cast in the return value,
3617 change the type of the returned value from __streambuf_type*
3618 to basic_stringbuf<_CharT, _Traits, _Alloc>*.
3620 1999-05-25 Phil Edwards <pedwards@ball.com>
3622 * bits/std_streambuf.h (streambuf::setbuf): Always return streambuf*.
3624 1999-04-25 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3626 * bits/std_cmath.h: Tweak. Add float versions of the math functions
3627 in <math.h>. <cmath> still incomplete and incorrekt.
3629 1999-05-24 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3631 * mknumeric_limits (LDFLAGS): set appropriate link flags.
3633 1999-05-23 Phil Edwards <pedwards@ball.com>
3635 * docs/17_intro/howto.html: Added links to text docs,
3637 * docs/21_strings/howto.html: Updated sections and links.
3638 * docs/21_strings/{gotw29a.txt,stringtok_h.txt}: Added.
3639 * docs/faq/index.html: Updated what-works for sixth
3640 snapshot. Also a number of "internal" links have been
3641 fixed, now that the web pages are the docs directory...
3642 * docs/faq/index.txt: Regenerated.
3644 1999-05-21 Benjamin Kosnik <bkoz@tintin.cygnus.com>
3646 * bits/basic_string.h: Add Nathan's documentation on the string class.
3648 * testsuite/27_io/ios_members_static.cc: New file, for testing
3649 ios_base::sync_with_stdio.
3651 1999-05-21 Benjamin Kosnik <bkoz@tintin.cygnus.com>
3653 * bits/std_locale.h: Simplify includes.
3654 * bits/loccore.h: Delete.
3655 * bits/localefwd.h: Renamed, trimmed.
3656 * bits/locfacets.h: Delete.
3657 * bits/locale_facets.h: Rename, expanded.
3658 * bits/loccore.tcc: Deleted.
3659 * bits/locfacets.tcc: Deleted.
3660 * bits/locale_facets.tcc: Resultant merge.
3661 * bits/std_fstream.h: Modify include.
3662 * bits/ostream.tcc: Same.
3663 * bits/istream.tcc: Same.
3665 * src/locale-inst.cc: And here.
3666 * src/locale.cc: Ditto.
3667 * src/Makefile.am: Updated.
3668 * src/Makefile.in: Rengenerated.
3670 * bits/std_istream.h: Move istream::sentry ctor definition.
3671 * bits/istream.tcc: Move istream::sentry ctor here.
3672 Add more detailed locale include here for ctype member functions.
3673 * bits/ostream.tcc (std): And here.
3675 * bits/sbuf_iter.h: Include std_streambuf.h
3677 * bits/locfacets.h: Start separating this into a localeimp.h file.
3678 * bits/loccore.h: Start separating this into a localefwd.h file.
3679 Add std_climits for CHAR_BIT.
3681 * bits/ios_base.h (ios_base::sync_with_stdio): Stub in.
3683 * bits/char_traits.h: Tweak.
3685 * bits/ios_base.h: Remove INT_MAX, use 1<<16.
3687 * bits/std_ostream.h: Remove c++config.h include.
3688 * bits/std_istream.h: Same.
3689 * bits/std_streambuf.h: Same.
3690 * bits/std_fstream.h: Same.
3691 * bits/std_sstream.h: And here.
3693 * bits/std_iosfwd.h: Add _G_RESOLVE_LIB_DEFECTS here for streampos.
3694 * bits/char_traits.h: Add include of std_cwchar.h for mbstate_t.
3695 * bits/fpos.h: Tweak, format.
3697 * std/ciso646: New file.
3698 * bits/std_ciso646.h: New file.
3699 * src/Makefile.am (std_headers): Add ciso646.
3700 (headers): Add bits/std_ciso646.h.
3701 * src/Makefile.in: Regenerate.
3702 * testsuite/17_intro/header_ciso646.cc: New file, disable
3705 * bits/fpos.h: Remove libio.h include.
3706 * bits/basic_file.h: And here.
3707 * bits/std_ios.h: Put here.
3709 * src/ios.cc: Simplify includes, tweak.
3710 * bits/std_ios.h: Simplify include order.
3711 * bits/ios_base.h: Modify ios_base::failure.
3713 * stl/bits/std_numeric.h: Change include from stl_iterator to
3716 1999-05-19 Benjamin Kosnik <bkoz@tintin.cygnus.com>
3718 * std/iostream: Remove static member __ioint.
3719 * bits/std_iostream.h: Put here.
3721 * stl/bits/std_numeric.h: Remove unneccessary std_iostream.h include.
3722 * stl/bits/stl_algobase.h: Same.
3723 * testsuite/27_io/iostream_objects.cc: Regression tests.
3724 * testsuite/27_io/hello.cc: Remove, subset of above.
3726 1999-05-19 Phil Edwards <pedwards@ball.com>
3728 * docs/index.html: Tweak, update.
3730 1999-05-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3732 * docs/17_intro/RELEASE-NOTES: remove outdated
3733 documentation about numeric_limits. Correct CXXINCLUDE setting
3736 1999-05-18 Phil Edwards <pedwards@ball.com>
3738 * docs/{17_intro,18_support,19_diagnostics,20_util,21_strings,
3739 22_locale,23_containers,24_iterators,25_algorithms,26_numerics,
3740 27_io}/howto.html: Created, with some initial entries.
3741 * docs/faq/index.html: Fixed some links.
3742 * docs/faq/index.txt: Regenerated.
3744 1999-05-18 Benjamin Kosnik <bkoz@tintin.cygnus.com>
3746 * bits/c++config.h (__GLIBCPP__): Set version to 19990518.
3748 * docs/17_intro/RELEASE-NOTES: Update.
3749 * docs/index.html: Correct link to mailing list help page, update News.
3750 * docs/faq/index.html: Change fifth to sixth for snapshot.
3752 * src/Makefile.am (myinstallheaders): Bring over Gaby's changes to
3753 install $(top_builddir)/bits/std_limits.h into
3754 $(myincludepfx)/bits. This was mistakenly omitted from yesterday's
3755 Makefile.am changes.
3756 * *Makefile*: Regenerate using automake.
3758 * mkcheck (LOG_FILE): Fix filebuf directory oddness.
3759 * testsuite/27_io/filebuf.cc: Same.
3761 1999-05-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3763 * docs/17_intro/CHECKLIST: update.
3764 * docs/17_intro/TODO: update.
3766 1999-05-17 Phil Edwards <pedwards@ball.com>
3768 * docs/{17_intro,18_support,19_diagnostics,20_util,21_strings,
3769 22_locale,23_containers,24_iterators,25_algorithms,26_numerics,
3770 27_io}/howto.html: Created, with some initial entries.
3771 * docs/faq/index.html: Fixed some links.
3772 * docs/faq/index.txt: Regenerated.
3774 1999-05-17 Benjamin Kosnik <bkoz@unhappy.cygnus.com>
3776 * src/Makefile.am (myinstallheaders): Missed removing missing.h.
3777 * Makefile.in*: Regenerate.
3779 1999-05-17 Benjamin Kosnik <bkoz@happy.cygnus.com>
3781 * bits/std_streambuf.h: Same.
3783 * bits/loccore.h (_Bad_use_facet): Remove bits warned about.
3784 * bits/locfacets.h (std): Same.
3785 * bits/sstream.tcc: Same.
3786 * testsuite/27_io/stringstream.cc: Tweak.
3788 * testsuite/27_io/filebuf.cc: Adjust.
3789 * testsuite/21_strings/capacity.cc (test01): Add more
3790 string::reserve tests.
3792 * bits/c++config.h: Remove broken CCTYPE.
3793 * bits/std_cctype.h: Tweak, remove de-macroization, enable
3794 sequestered topper implementation.
3795 * bits/std_cwctype.h: Same.
3797 * bits/missing.h: Remove.
3798 * bits/std_locale.h: Remove missing.h include.
3800 * stl/bits/std_bitset.h (bitset::bitset(string): Tweak to compile.
3802 * src/Makefile.am (headers): Add bits/std_cwctype.h.
3803 INCLUDES: Add top_builddir.
3804 * src/Makefile.in: Regenerate.
3806 * Makefile.am: Add check and check-install as new targets.
3807 * testsuite/make_check_libfree++: Move to. . .
3809 * configure.in: Tweak versions.
3810 * mknumeric_limits: Set paths correctly.
3812 1999-05-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3814 * src/Makefile.in (myinstallheaders): add rule to install
3817 * bits/slice.h (class slice): don't const-qualify data members
3818 since the copy and assignment operator is implicitly used. The
3819 valarray specification is definitively a bad one.
3821 * Makefile.in (generate-limits-sources): fix typo.
3823 * docs/text/TODO: update.
3824 * docs/text/CHECKLIST: update.
3826 * bits/gslice.h (gslice): fix bugglet.
3827 (gslice::gslice): set _M_index_size to 0 whenever given lengths
3830 * src/Makefile.am (libstdc___la_SOURCES): add gen-num-limits.
3831 * src/Makefile.in (libstdc___la_SOURCES): keep in sync.
3832 [Note: **/Makefile.in should be generated from the corresponding
3833 Makefile.am. The current situation is a litte chaotic. ]
3835 1999-05-16 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3837 * mknumeric_limits: tweak.
3839 * Makefile.in (all): add target generate-limits-sources.
3840 (generate-limits-sources): make a directory bits/ in top_builddir
3841 where the generated std_limits.h is put; generate limitsMEMBERs.cc
3842 directly under $(top_builddir)/src. Remains to put the appropriate
3843 rule for installing std_limits.h.
3845 * src/Makefile.in (headers): remove bits/std_limits.h to this list.
3846 (INCLUDES): add -I$(top_builddir) for bits/std_limits.h which is
3847 now generated at build-time in the build directory
3848 (libstdc___la_SOURCES): remove limitsMEMBERS.cc form this list
3849 * src/Makefile.am: reflect changes in src/Makefile.in
3851 1999-05-12 Phil Edwards <pedwards@ball.com>
3853 * docs/faq/index.html: Add more entries (5.4,5.5), finish
3854 all but one empty entry. Add links for HOWTOs, but no files yet.
3855 (Corrected HOWTO links are for bkoz's new scheme.)
3856 * docs/faq/index.txt: Regenerated.
3858 1999-05-12 Benjamin Kosnik <bkoz@happy.cygnus.com>
3860 * testsuite/17_intro/headers.cc: New file.
3861 * stl/bits/std_queue.h: Change stl_bvector.h include path.
3862 * bits/std_cwctype.h: New file.
3864 * testsuite/27_io/filebuf.cc: Need to tweak directory structure.
3866 1999-05-11 Benjamin Kosnik <bkoz@loony.cygnus.com>
3868 * stl/bits/stl_config.h (__USE_MALLOC): Change underlying allocator.
3869 Check __USE_MALLOC before defining specializations containing
3870 __default_alloc_template.
3871 * src/stl-inst.cc: Here too.
3873 * bits/basic_string.h: Change.
3875 * testsuite/make_check_libfree++: More tweaks.
3876 * testsuite/21/capacity.cc: New file.
3878 * src/string.cc: Rename to be consistent with other inst files.
3879 Rename to string-inst.cc.
3880 * src/string*.cc: Change include.
3881 * src/wstring.cc: Rename to wstring-inst.cc.
3882 * src/wstring*.cc: Ditto.
3883 * src/Makefile.in: Also here.
3884 * src/Makefile.am: Ditto.
3886 * src/traits.cc: Remove.
3887 * src/wtraits.cc: Same.
3889 Try a new way of organizing documentation, one with synchronicity
3890 between testsuites and docs subdirectories, and see who yelps.
3891 * docs/html: Remove, use chapter and subject specific directories
3892 instead of forcing things immediately into format of
3896 * docs/faq/text, docs/faq/html: Remove, put in the docs/faq
3897 directory and sort by filename and extension.
3898 * docs/17_intro, 18_support, 19_diagnostics, 20_util, 21_strings,
3899 22_locale, 23_containers, 24_iterators, 25_algorithms,
3900 26_numerics, 27_io: Add.
3901 * docs/17_intro/*: Populate with all the text files. . .
3902 * docs/index.html: Construct.
3904 * testsuite/*: Update with same names as the docs subdir.
3905 * testsuite/results: Where to stash conformance results for the
3906 different snapshots, so that progress/size/speed issues can be
3909 1999-05-10 Benjamin Kosnik <bkoz@loony.cygnus.com>
3911 * src/string.cc: Add _S_copy_chars instantiation, as well as
3912 string::binary operators !=, ==, etc.
3914 * src/Makefile.am (CXXFLAGS): Remove -fvtable-thunks.
3915 * src/Makefile.in (CXXFLAGS): Same here.
3916 * testsuite/make_check_libfree++ (CXX_FLAG): And here.
3918 1999-05-07 Benjamin Kosnik <bkoz@cygnus.com>
3920 * src/string.cc: Add missing member functions to instantiation list.
3922 1999-05-07 Benjamin Kosnik <bkoz@cygnus.com>
3924 * src/misc-inst.cc: Remove unused string instantiations.
3926 * bits/string.tcc: Tweak, fix.
3927 * bits/basic_string.h: Format. Fix reported error with c_str().
3929 * testsuite/make_check_libfree++: Tweak for shared builds.
3930 * testsuite/21/operations.cc: New file for testing c_str() etc.
3932 1999-05-06 Benjamin Kosnik <bkoz@cygnus.com>
3933 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
3935 * stl/bits/stl_vector.h: Fix the code of vector<> for usage with
3936 an iterator class. Delineate pointer versus iterator differences
3938 * 23/vector_capacity.cc: New file, tests for above.
3940 1999-05-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3942 * mknumeric_limits: Fix typo. 'unsigned lont' should read
3944 * src/Makefile.am (libstdc___la_SOURCES): add limitsMEMBERS.cc,
3945 generated by mknumeric_limits to the list. Now std_limits.h is
3947 * src/Makefile.in (generate-numeric-limits): new target to handle
3948 automatic generation of bits/std_limits.h and src/limitsMEMBERS.cc.
3949 (all): add target generate-numeric-limits.
3950 (libstdc___la_OBJECTS): add limitsMEMBERS.lo
3951 (libstdc___la_SOURCES): add limitsMEMBERS.cc
3953 1999-05-05 Benjamin Kosnik <bkoz@cygnus.com>
3956 * bits/c++config.h (_G_USE_CTYPE_ISBIT): Defines new macro for
3957 mask values in ctype_base. Move hacks for _ISBit to locfacets.h.
3958 * bits/locfacts.h: Here.
3960 1999-05-05 Benjamin Kosnik <bkoz@cygnus.com>
3961 Ulrich Drepper <drepper@cygnus.com>
3963 Solaris build issues.
3964 * bits/c++config.h: Define new macros, _G_USE_STRTOF and
3967 * bits/locfacets.tcc (num_get::do_get): Tweak long double and
3968 float overloads to use the above macros. Account for the lack of
3969 strtold on some systems, and revert back to using sscanf.
3971 1999-05-04 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
3973 * bits/locfacets.tcc (num_get::do_get): Check the errno variable.
3974 Use strtoul/strtoull for unsigned types. Check the ranges for
3975 short/unsigned short and if necessary for int/unsigned int.
3977 1999-05-04 Benjamin Kosnik <bkoz@cygnus.com>
3979 * src/gen-num-limits.cc (round_style): Need to use mknumericlimits
3980 to generate bits/std_limits.h now, as the SGI std_limits.h is
3981 being depricated. Not done, but should be done immediately: need
3982 to make sure this script is run as part of the configuration
3983 process, because without it "make" in a configured build directory
3984 will fail. Also tweaked: added a space for float_round_style, and
3985 used static_cast of zero to default-initialize, which should be ok
3986 according to the standard. (see 8.5 p5 and 20.1.3).
3987 * mknumeric_limits (OUT_C): Need this for x86 long
3990 * bits/basic_file.h: Include libio.h, not libioP.h.
3991 * src/basic_file.cc: And add libioP.h include here, so that
3992 _IO_init, et. al are well-declared.
3994 * testsuite/make_check_libfree++ (LIB_PATH): Test installed
3995 headers, not source directory headers.
3997 * src/Makefile.am (headers): Add stl_range_errors.h, also adjust
3998 for ext/*. Also add basic_file.h.
3999 * src/Makefile.in (headers): Same.
4001 * bits/std_string.h: Reduce dependencies for faster
4002 pre-processing. Move istream and ostream specific defines into
4003 istream.tcc and ostream.tcc respectively.
4004 * bits/string.tcc: And here.
4005 * bits/basic_string.h: Move getline inline out-of-line, and to
4007 * bits/istream.tcc: Move string::getline and operator>> here.
4008 * bits/ostream.tcc: And here too.
4010 * bits/utility.h: Remove, as clashes with a standard header. Put
4011 __OUTOFRANGE and __LENGTHERROR macros into string.tcc for the time
4012 being, until this can be combined with SGI's approach.
4013 * bits/string.tcc: Add macros, as above.
4014 * bits/loccore.h: Add _Count_ones defines.
4015 * bits/std_string.h: And here too.
4016 * bits/std_locale.h: And here.
4017 * bits/std_ios.h: Take out include here.
4018 * src/Makefile.am (headers): Remove utility.h
4019 * src/Makefile.in (headers): Remove utility.h
4021 * stl/bits/*: Update to SGI STL 3.20.
4022 * stl/ext/pthread_alloc: Delete this file.
4024 1999-05-04 Phil Edwards <pedwards@ball.com>
4026 * docs/faq/html/index.html: Add more entries
4027 * docs/faq/html/index.txt: regenerated.
4029 1999-05-04 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4031 * src/gen-num-limits.cc (DO_DEFINE_MIN_MAX): fix typo.
4033 1999-04-29 Benjamin Kosnik <bkoz@haight.cygnus.com>
4035 * bits/locfacets.tcc (num_get::do_get): Re-implement, with input
4036 from Ulrich and Nathan. Remove extraneous string class usage,
4037 tweak, clean, simplify and consolidate with a eye towards removing
4038 duplcate code. Use strto[l, ll, f, d, ld] instead of sscanf.
4039 Not done: dealing with leading zeros, wchar_t work.
4040 * bits/locfacets.h: And here too.
4044 1999-04-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4047 * docs/faq/: New directory.
4048 * docs/faq/html/: Likewise.
4049 * docs/faq/text/: Likewise.
4050 * docs/faq/html/index.html: New file.
4051 * docs/faq/html/index.txt: Likewise. Generated from
4052 docs/faq/html/index.html by lynx.
4054 1999-04-28 Benjamin Kosnik <bkoz@happy.cygnus.com>
4055 Ryszard Kabatek and Branko Cibej
4057 * bits/locfacets.tcc: Modify.
4059 1999-04-27 Benjamin Kosnik <bkoz@happy.cygnus.com>
4061 * bits/sbuf_iter.h: Clean, fix istreambuf_iterator, make
4062 conformant to 14882, wrap non-standard extensions with
4063 _G_RESOLVE_LIB_DEFECTS, remove detritus and cruft, rennovate.
4064 * bits/locfacets.tcc (num_get::do_get(bool)): Return correct iterator.
4066 * testsuite/27/istringstream_formatted.cc: Add tests.
4068 * bits/locfacets.h: Remove cruft from _Format_cache, continue
4069 commenting, simplify.
4070 * bits/locfacets.tcc: Same.
4072 1999-04-27 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
4073 * bits/locfacets.tcc (num_get::do_get):
4074 Fix the sscanf format parameter
4075 for long long 'll' (as in C9X) instead of 'l'.
4076 Fix the order of sscanf format parameters: "%dl" --> "%ld".
4077 Change the type of the local variable '__conv' from 'string'
4078 to 'const char*' and adapt the change.
4080 1999-04-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
4082 * bits/locfacets.h: Document _Format_cache, and name data members
4083 after the corresponding functions in numpunct. For instance:
4084 _M_grsep -> _M_thousands_sep, and _M_decsep -> _M_decimal_point.
4085 Break apart _M_boolnames{2] into _M_truename and _M_falsename.
4086 * bits/locfacets.tcc: Same.
4088 * bits/locfacets.h (num_get::_M_extract): Don't allow groupings to
4089 stop parsing--store for later analysis.
4090 * testsuite/27/istringstream_formatted.cc: Add cases.
4092 1999-04-25 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4094 * bits/valarray_meta.h: tweak.
4095 (_UnFunBase, _BinFunBase, _BinFunBase1, _BinFunBase2, _BinBase1,
4096 _BinFunBase2): rename typedef-name _Tp to _Vt to keep the compiler
4097 happy -- boggus warning.
4098 * bits/std_valarray.h: Fix.
4099 (valarray<T>::shift): Fix. Update comment.
4100 (valarray<T>::cshift): Fix.
4102 1999-04-23 Benjamin Kosnik <bkoz@cygnus.com>
4104 * testsuite/27filebuf-2.txt: Delete.
4105 * testsuite/27/filebuf.cc: Put output files directly into the
4106 correct subdirectory (27).
4108 Alexandre Petit-Bianco <apbianco@cygnus.com>
4109 * testsuite/make_check_libfree++: Check generated (*.txt) file
4110 against stored results file (*.tst).
4112 1999-04-22 Benjamin Kosnik <bkoz@nabi.net>
4114 * bits/locfacets.tcc: Fix.
4116 * bits/fstream.tcc (filebuf::seekoff): Output current out pointer.
4117 (filebuf::overflow): Simplify.
4118 (filebuf::xsputn): Correctly handle indeterminate state.
4120 * testsuite/27/istringstream_formatted.cc: Tweak.
4121 * testsuite/27/filebuf.cc: Tweak.
4122 * testsuite/27/filebuf-3.tst: Correct: this is the canonical
4123 results file, please use this in the future to guarantee filebuf
4124 positioning accuracy.
4125 * testsuite/27/filebuf-2.tst: Same.
4127 1999-04-21 Benjamin Kosnik <bkoz@cygnus.com>
4129 * bits/fstream.tcc (filebuf::xsputn): Add.
4130 * bits/std_fstream.h: Declare.
4132 * src/basic_file.cc (__basic_file::open): Add O_CREAT to open
4133 calls using ios_base::trunc.
4135 * bits/sstream.tcc (streambuf::overflow): Fix crasher.
4137 * testsuite/make_check_libfree++ (LOG_FILE): Ugh. Another fix.
4138 * testsuite/27/27stringstream.cc: Same.
4139 * testsuite/27/27stringbuf.cc: More tweaks.
4140 * testsuite/27/27filebuf-2.txt: Remove.
4142 * testsuite/27/27filebuf-1.tst: Append, to force byte size over
4143 BUFSIZE so that overflows/underflow can be tested with default
4145 * testsuite/27/27filebuf-1.tst: Add.
4147 * testsuite/*/*: Remove pre-pended chapter names, as they
4148 duplicate the chapter info contained in the enclosing directory
4151 1999-04-20 Benjamin Kosnik <bkoz@cygnus.com>
4153 * bits/streambuf.tcc (streambuf::xsputn): Re-implement to conform
4154 to sputc conditions.
4156 * bits/ios_base.h: Define here.
4157 * src/ios.cc (ios_base::_M_clear): Remove hack.
4158 * bits/basic_ios.h: Fix rdstate().
4160 * bits/sstream.tcc (streambuf::seekoff): Fix.
4161 * bits/fstream.tcc (filebuf::seekoff): Tweak comments.
4163 * testsuite/make_check_libfree++ (LOG_FILE): More c-c-c-changes.
4164 * testsuite/24/24iterator.cc: Add/Fixes for DEBUG_ASSERT.
4165 * testsuite/27/27stringstream.cc: Same.
4166 * testsuite/27/27stringbuf.cc: Same.
4167 * testsuite/27/27istringstream_formatted.cc: Same.
4168 * testsuite/27/27filebuf.cc: Same.
4170 * bits/locfacets.h: Remove specializations for messages<char> and
4171 messages<wchar_t> ctors. Same for moneypunct. Not required, not used.
4172 * src/locale.cc: Remove definitions for above.
4173 * src/misc-inst.cc: Revert, take out iomanip.h include.
4174 * bits/std_iomanip.h: Tweak, format.
4176 1999-04-19 Benjamin Kosnik <bkoz@cygnus.com>
4178 * bits/loccore.h: Format, move inline.
4179 * bits/locfacets.tcc: Same.
4180 * bits/locfacets.h: Same.
4182 Ulrich Drepper <drepper@cygnus.com>
4183 * aclocal.m4: Re-generate.
4184 * configure, configure.in: Same.
4185 * m4/lc_messages.m4: New file.
4187 1999-04-18 Benjamin Kosnik <bkoz@cygnus.com>
4189 * bits/std_ostream.h: Fix typedef for wchar_t instantiations.
4190 * bits/sstream.tcc: Tweak.
4192 * std/iostream: Put __ioinit inside macro guards.
4194 * src/stlinst.cc: Delete and move to . . .
4195 * src/stl-inst.cc: New file, plus wrapping in namespace std.
4196 * src/Makefile.in: Change.
4197 * src/Makefile.am: Same.
4198 * src/misc-inst.cc: Add istringstream/ostringstream instantiations.
4200 * testsuite/make_check_libfree++: Efficiently format for minimal
4201 space. Enforce stricter execution tests by enabling
4204 1999-04-16 Benjamin Kosnik <bkoz@cygnus.com>
4206 * docs/text/RELEASE-NOTES: Fix include typo.
4208 * src/Makefile.am (headers): Add istream.tcc.
4209 * src/Makefile.in (headers): Add istream.tcc.
4211 * ltconfig, ltmain.sh, libtool: Update to libtool-1.2g.
4213 1999-04-16 Benjamin Kosnik <bkoz@cygnus.com>
4215 * bits/locfacets.tcc (num_get::do_get(long)): Finish roughing in.
4216 * bits/locfacets.h (num_get::_M_extract): New functin:
4217 consolidate logic for do_get(...) members.
4219 * bits/sbuf_iter.h (istreambuf_iterator::operator++()): Fix.
4220 * testsuite/27/27istringstream_formatted.cc: Add.
4222 1999-04-16 Martin v. Loewis <martin@mira.isdn.cs.tu-berlin.de>
4224 * src/basic_file.cc (__basic_file::open): Fix thinko in
4225 _G_HAVE_IO_FILE_OPEN bits.
4226 * bits/std_istream.h (sentry::sentry(istream, bool)): Fix isspace bug.
4227 * bits/std_cmath.h: Add stdlib.h include for ldiv_t.
4228 * src/complex.cc (FCT): Qualify all functions with global namespace.
4229 * src/locale.cc: Don't qualify memcpy and setlocale.
4230 * src/stdexcept.cc (__out_of_range): Qualify out_of_range with std::.
4231 (__length_error): Likewise, for length_error.
4232 * src/stlinst.cc: Qualify instantiations with std::.
4234 1999-04-15 Benjamin Kosnik <bkoz@cygnus.com>
4236 * C++STYLE: Add ChangeLog guidelines for member functions.
4239 * BADNAMES, BUGS, C++STYLE, CHECKLIST, COPYING,
4240 DESIGN, HEADER_POLICY, PROBLEMS, RELEASE-NOTES, TODO: Moved into
4241 docs/text and made less strident.
4243 * bits/fstream.tcc: Change non-standard ctor to match Sun's sematics.
4244 * bits/std_fstream.h: Same.
4247 * bits/locfacets.h: Touch.
4249 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
4251 * math/cexp.c (cexp): Use NAN instead of nan("").
4252 Reported by joel reed <joelreed@yahoo.com>.
4254 * libio/libioP.h: Define _IO_seek_fpos_t and _IO_seek_off_t based on
4255 _G_IO_IO_FILE_VERSION. Use these types in the prototypes.
4256 * libio/fileops.c: Use _IO_seek_fpos_t and _IO_seek_off_t types
4257 instead of #if cascades.
4258 * libio/genops.c: Likewise.
4259 * libio/ioseekoff.c: Likewise.
4260 * libio/ioseekpos.c: Likewise.
4261 * libio/strops.c: Likewise.
4262 Patch by Chip Salzenberg <chip@perlsupport.com>.
4264 1999-04-15 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4266 * docs: New directory.
4267 * docs/html: Likewise.
4268 * docs/text: Likewise.
4269 * docs/image: Likewise.
4271 * bits/std_cmath.h: Add new functions.
4272 (abs): overload for long and double.
4273 (div): overload for long.
4275 * bits/valarray_array.h: Fix.
4276 * bits/gslice.h: Adjust friend.
4277 * bits/slice_array.h: likewise.
4278 * bits/valarray_meta.h: likewise.
4280 1999-04-13 Benjamin Kosnik <bkoz@tintin.cygnus.com>
4282 * bits/locfacets.h: More changes, for num_get for insertion
4283 operators for integral types. Comment fields in _Format_cache.
4284 * bits/locfacets.tcc: And here too: add preliminary long version.
4285 * testsuite/27/27istringstream_formatted.cc: Add cases.
4287 1999-04-13 Mark Elbrecht <snowball3@usa.net>
4289 * configure.in: Add locale.h to AC_CHECK_HEADERS argument. Call
4290 AC_LC_MESSAGES macro.
4291 * aclocal.m4 (AC_LC_MESSAGES): New. Determines if a target
4292 supports LC_MESSAGES.
4293 * config.h.in: Add entry for HAVE_LC_MESSAGES.
4294 * src/locale.cc (locale::_S_normalize_category): Use the
4295 HAVE_LC_MESSAGES macro to check for LC_MESSAGES support instead of
4296 _G_NO_CLOCALE_HAS_MESSAGES.
4297 * aclocal.m4 (AM_PROG_LD): For DOS style paths, simplify test to
4298 '?:' from '?:\\' so any path beginning with a drive name matches.
4300 1999-04-12 Mark Elbrecht <snowball3@usa.net>
4302 * src/basic_file.cc(sys_open) [O_BINARY]: Declare __testb.
4304 1999-04-12 Benjamin Kosnik <bkoz@tintin.cygnus.com>
4306 * bits/locfacets.h: Tweak.
4307 * bits/locfacets.tcc(do_get): Clean/fix bool method.
4309 * testsuite/21/21nonmember.cc: Same.
4310 * testsuite/21/21compare.cc: Fix license.
4311 * testsuite/27/27istringstream_formatted.cc: New file.
4313 1999-04-12 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4315 * bits/valarray_meta.h: _BinFunBase1, _BinFunBase2, _BinBase1,
4316 _BinBase2: new template classes; put in there to work around a
4317 compiler limitation. The whole valarray architecture is now
4320 1999-04-08 Benjamin Kosnik <bkoz@haight.constant.com>
4322 * bits/locfacets.tcc: Fix, format.
4323 * bits/locfacets.h: Fix.
4324 * src/locale.cc: Same, plus format.
4326 * bits/basic_string.h: Re-add definition here.
4327 * src/string.cc: Take out.
4329 1999-04-08 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4331 * bits/std_valarray.h: tweak.
4332 * bits/valarray_array.h tweak. use _Expr.
4333 * bits/slice_array.h: likewise.
4334 * bits/gslice_array.h: likewise.
4335 * bits/mask_array.h: likewise.
4336 * bits/indirect_array.h: likewise.
4337 * bits/valarray_meta.h: tweak.
4338 _UnFunBase, _UnFunClos, _BinFunBase, _FunBase, _ValFunClos,
4339 _RefFunClos, _UnBase, _UnClos, _BinBase, _BinClos, _SClos, _GClos,
4340 _IClos: new template classes.
4341 _Meta: renamed to _Expr. Made template with args.
4342 _Constant: made template with two args.
4344 1999-04-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4346 * bits/valarray_array.h: tweak.
4348 1999-04-06 Benjamin Kosnik <bkoz@cygnus.com>
4350 * bits/basic_string.h: Whoops--fix blip.
4352 1999-04-06 Benjamin Kosnik <bkoz@cygnus.com>
4354 Update to SGI STL 3.13
4355 * bits/basic_string.h: Add __get_c_string definition.
4356 * stl/bits/stl_range_errors.h: New file.
4357 * stl/bits/std_bvector.h: Same.
4358 * stl/bits/*: Update.
4360 1999-04-04 1999 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4362 * bits/slice_array.h: tweak.
4363 * bits/gslice_array.h: tweak.
4364 * bits/mask_array.h: tweak.
4365 * bits/indirect_array.h: tweak.
4366 * bits/valarray_array.h: tweak.
4367 (__valarray_copy): replace copy with memcpy.
4368 * bits/std_valarray.h: use __valarray_copy whenever possible.
4369 use __valarray_fill instead of fill.
4371 1999-04-02 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4373 * src/gen-num-limits.cc: new file
4374 * mknumeric_limits: Ditto.
4376 1999-03-30 Benjamin Kosnik <bkoz@cygnus.com>
4378 * bits/locfacets.tcc: Do a stub version of num_get for short, int,
4380 * bits/locfacets.h: Add num_get::get methods overloaded for int
4381 and short, to resolve ambiguous overloads in istream insertion
4384 1999-03-30 Benjamin Kosnik <bkoz@cygnus.com>
4386 * bits/std_istream.h: Fix.
4387 * bits/istream.tcc: Fix.
4389 1999-03-30 Philip Martin <pm@corris.dircon.co.uk>
4391 * testsuite/24/24iterator.cc: fix ++/-- tests
4393 1999-03-29 Benjamin Kosnik <bkoz@cygnus.com>
4395 * bits/std_ostream.h: Looks like this, actually: Fix up eh-isms.
4396 * bits/ostream.tcc: Same.
4398 * bits/std_istream.h: Bring over ostream changes, implement member
4399 functions. Baseline.
4400 * bits/istream.tcc: New file.
4402 1999-03-26 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4404 * bits/gslice.h (class gslice): fix friends template.
4406 1999-03-23 Benjamin Kosnik <bkoz@cygnus.com>
4408 * bits/std_ostream.h: Fix sentry objects, implement seekp, tellp,
4410 * bits/ostream.tcc: Same.
4412 * bits/std_istream.h: Minor tweaks.
4414 1999-03-18 Benjamin Kosnik <bkoz@cygnus.com>
4416 * src/locale-inst.cc: Remove duplicate instantiations.
4417 * bits/locfacets.tcc: Tweak definitions of static member.
4419 1999-03-18 Benjamin Kosnik <bkoz@cygnus.com>
4421 * bits/std_fstream.h: Format: prepend "__" in front of
4422 non-standard typedefs.
4423 * bits/fstream.tcc: Match.
4424 * bits/std_streambuf.h: Format: prepend "__" in front of
4425 non-standard typedefs.
4427 * bits/sstream.tcc: Match.
4428 * bits/std_istream.h: Format.
4429 * src/locale-inst.cc: Add num_get instantiations.
4431 * bits/std_sstream.h: Fix crash in stringstreams. Remove member
4432 _M_sb, a basic_stringbuf object, and use the basic_ios pointer
4433 _M_streambuf instead. Make initializations sane. Fix
4434 allocation/deallocation of _M_streambuf.
4435 * bits/std_ostream.h: Fix initialization code.
4436 (ctor): Eliminate redundant this->init(), let base class initialize.
4437 (default ctor): New. Assume base classes already initialzed.
4438 * bits/std_istream.h: Parallel work to ostream.
4439 (ctor): Eliminate redundant this->init(), let base class initialize.
4440 (default ctor): New. Assume base classes already initialzed.
4441 Fix initialization of basic_iostream.
4443 * bits/std_fstream.h: While we're at it, make initializations sane
4444 here too. Now matches sstream.h.
4446 * bits/string.tcc: Fix crash in basic_string::compare.
4447 * bits/basic_string.h: And here.
4448 * bits/c++config.h: Add comment about _G_USE_EXCEPTIONS.
4450 * testsuite/make_check_libfree++: Check shared as well.
4451 * testsuite/27/27stringstream.cc: Add bits.
4452 * testsuite/27/27boolfmt.cc: Add bits.
4453 * testsuite/27/27octfmt.cc: Add bits.
4455 1999-03-17 Benjamin Kosnik <bkoz@happy.cygnus.com>
4457 * configure.in (USE_LONG_DOUBLE): signbitl link error.
4459 * bits/locfacets.h: Fix errors that cause build problems
4460 with current egcs (template parameters have class scope).
4461 * bits/locfacets.tcc: Same.
4462 * src/locale-inst.cc: Same, clean.
4463 * src/misc-inst.cc: Same, clean.
4465 1999-03-17 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
4467 * stl/bits/std_memory.h: Modify auto_ptr::reset to reflect the
4468 standard. Re-apply this previous patch.
4470 1999-03-17 Philip Martin <pm@corris.dircon.co.uk>
4472 * bits/basic_string.h: Use __normal_iterator<> for iterators.
4473 * bits/std_sstream.h: Support __normal_iterator<> iterators.
4474 * bits/string.tcc: Ditto.
4475 * src/misc-inst.cc: Ditto.
4476 * src/locale-inst.cc: Ditto.
4477 * stl/bits/stl_iterator.h: Add __normal_iterator<>.
4478 * stl/bits/stl_vector.h: Use __normal_iterator<> for iterators.
4479 * testsuite/24/24iterator.cc: Add test cases for basic_string and
4482 1999-03-16 Benjamin Kosnik <bkoz@cygnus.com>
4484 * bits/locfacets.tcc: Remove macro hack.
4485 * bits/locfacets.h: Tweaks.
4486 * src/misc-inst.cc: Weed out locale-related instantiations.
4487 * src/locale-inst.cc: Same.
4489 * RELEASE-NOTES: Make more changes.
4490 * bits/c++config.h: Bump version number.
4492 * testsuite/make_check_libfree++: Collect diagnostics.
4494 * bits/std_ostream.h: Fix ostream initialization/destruction
4495 problem, related to dtor cleanup and new cached facets, agggggggh.
4496 * bits/ostream.tcc: Tweak.
4497 * bits/locfacets.h: Remove all friends of iostream classes.
4498 * bits/ios_base.h: Same.
4499 * bits/streambuf.tcc: Tweak.
4500 * bits/std_streambuf.h: Tweak.
4501 * bits/std_fstream.h: Tweak.
4502 * bits/fstream.tcc: Tweak.
4503 * src/stdstreams.cc: Tweak.
4504 * src/ios.cc: Close streams.
4506 * math/Makefile.in: Add missing files for shared link errors.
4507 * math/Makefile.am: Same.
4509 1999-03-15 Benjamin Kosnik <bkoz@cygnus.com>
4511 * src/locale-inst.cc: More wchar_t instantiations.
4512 * src/misc-inst.cc: Missed a few bits.
4513 * testsuite/make_check_libfree++: Add static and shared runs.
4514 * src/ios.cc: Add clarity to ios_base::Init::~Init().
4516 1999-03-15 Benjamin Kosnik <bkoz@cygnus.com>
4518 * bits/std_ostream.h: Format, expunge, simplify. Add cached
4519 facets. Resolve link errors.
4520 * bits/ostream.tcc: Same.
4521 * src/misc-inst.cc: Add ostream, wostream instantiations.
4522 * src/Makefile.am: Add missing bits for stdstreams.cc.
4523 * src/Makefile.in: Same.
4524 * bits/std_iosfwd.h: Format.
4525 * bits/locfacets.h (num_put): Add basic_ostream as a friend to
4526 num_put so that cached _M_fnumput pointer can be deleted in
4527 basic_ostream's dtor. Now everybody plays nice.
4529 1999-03-12 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4531 * bits/gslice.h (class gslice): Make friends valarray,
4532 gslice_array and _GliceExpression.
4534 1999-03-11 Benjamin Kosnik <bkoz@cygnus.com>
4536 * RELEASE-NOTES: Update.
4537 * src/ios.cc: Use do proper init.
4538 * bits/std_streambuf.h: Tweak.
4539 * bits/std_iostream.h: Take out static member.
4540 * std/iostream: Put here.
4541 * bits/std_ostream.h: Non-default ctor shouldn't smash _M_streambuf.
4542 * bits/std_istream.h: Ditto.
4543 * bits/basic_ios.h: Format.
4544 * bits/ostream.tcc(write): Fix.
4545 * bits/fstream.tcc: Fix stdstreams ctor to do a proper
4546 initialization of the fstream class.
4547 * src/stdstreams.cc: I'm baaaaaaaack.
4549 1999-03-10 Benjamin Kosnik <bkoz@rhino.cygnus.com>
4551 * bits/ios_base.h: Correct comments. Add ios_base::init()
4552 functionality. Format, tweak, expunge, clean, bathe, and hang to dry.
4553 * src/misc-inst.cc: Add instantiations here.
4554 * src/ios.cc: Clean.
4555 * bits/std_iostream.h: Add wrappers, global ios_base::Init object.
4556 * src/stdstreams.cc: Delete this file, as now unnecessary.
4557 * bits/fstream.tcc: Add missing initialization bits for ctor.
4558 * src/Makefile.am (libstdc___la_SOURCES): Delete here as well.
4559 * src/Makefile.in (libstdc___la_OBJECTS): And here.
4561 * bits/streambuf.tcc: Tweak.
4562 * bits/sstream.tcc: Here too.
4564 * bits/fstream.tcc: And change definition as well.
4565 * bits/std_fstream.h: Change ctor.
4566 * src/basic_file.cc (sys_open): Add call that opens a specific fileno.
4567 * bits/basic_file.h: Add declarations.
4569 * testsuite/27/27hello.cc: New file.
4571 * bits/std_ostream.h: Move flush() inline.
4572 * bits/ostream.tcc: From here.
4574 * bits/char_traits.h: Add include of fpos.h for streamoff/streampos.
4575 * bits/std_ios.h: Change include libio to only when necessary.
4576 * bits/fpos.h: Like here.
4577 * ios_base.h: And here.
4579 * bits/locfacets.h: Change _Iostate to _Ios_Iostate.
4580 * bits/locfacets.tcc: Same.
4581 * bits/std_locale.h: Include std_ios.h not std_iosfwd.h.
4582 * bits/std_iosfwd.h: Move _Ios_Iostate to ios_base.h
4584 1999-03-09 Benjamin Kosnik <bkoz@rhino.cygnus.com>
4586 * bits/basic_ios.h: Change _M_ctype to _M_fctype.
4588 * bits/std_streambuf.h: Clean, tweak.
4589 * bits/std_fstream.h: Same.
4590 * bits/std_sstream.h: Same.
4591 * bits/streambuf.tcc: Move most member functions out-of-line.
4592 * bits/fstream.tcc: Same.
4593 * bits/streambuf.tcc: Same.
4595 * bits/basic_file.h(filepos_cur): Set correctly.
4596 (filepos_beg): Same.
4597 (seekpos): Change to __c_streampos.
4598 * src/basic_file.cc (std): Change to __c_streampos.
4600 * testsuite/27/27filebuf.cc: Round one is finished.
4601 * testsuite/27/27filebuf-2.tst: New file, final output should match.
4602 * testsuite/27/27filebuf-3.tst: Same.
4604 1999-03-08 Benjamin Kosnik <bkoz@rhino.cygnus.com>
4606 * bits/basic_file.h: Fix typo, add comments about what to expect
4607 from the various member functions in __basic_file.
4609 * bits/std_fstream.h: Re-do sync/underflow to work
4610 together. Change from sys_read to xsgetn and from sys_write to
4611 xsputn. As it should have been from the beginning. . .
4613 1999-03-06 Benjamin Kosnik <bkoz@haight.constant.com>
4615 * bits/c++config.h (__GLIBCPP__): Add versioning macro.
4617 * bits/basic_file.h(file_beg): New function.
4620 * testsuite/27/27filebuf.cc: Test in, out, in | out.
4621 * bits/std_fstream.h: More _M_mode refinements.
4622 (synch): Add bits for out mode only.
4623 * bits/std_streambuf.h(xsputn): Correct for filebufs.
4624 * bits/std_sstream.h: Ditto.
4626 1999-03-03 Benjamin Kosnik <bkoz@cygnus.com>
4628 * bits/std_fstream.h: Fix _M_mode AND with ios_base::openmode.
4629 * testsuite/27/27filebuf.cc: Modify.
4630 * bits/c++config.h: Fix.
4632 1999-03-02 Benjamin Kosnik <bkoz@tintin.cygnus.com>
4634 * bits/c++config.h: New macro, _G_RESOLVE_LIB_DEFECTS, used to put
4635 code in place that diverges from the final standard, but has been
4636 brought up on the library mailing list.
4638 * bits/std_fstream.h(underflow): Position all three internal
4639 buffer pointers at the same initial position. Re-implement with
4640 basic_filebuf abstraction.
4644 * bits/std_sstream.h: Move _M_mode down into base class
4646 * bits/sstream.tcc: Ditto.
4647 * bits/std_streambuf.h: Ditto.
4649 * testsuite/27/27filebuf.cc: Tweak.
4651 1999-02-27 Benjamin Kosnik <bkoz@slap-happy.cygnus.com>
4653 * bits/std_sstream.h: Ditto.
4654 * bits/std_fstream.h: Fix blip.
4656 1999-02-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
4658 * C++STYLE: Add cases.
4659 * bits/std_fstream.h: Format.
4660 * bits/std_streambuf.h: Ditto.
4661 * bits/std_sstream.h: Ditto.
4663 * src/basic_file.cc(sys_seek): Fix stack delirium, by keeping
4664 return type for _IO_file_seek and __basic_file::seek the same size.
4665 * bits/basic_file.h: Ditto.
4667 1999-02-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
4669 * bits/fstream.tcc: Add include guards.
4670 * src/misc-inst.cc: Add instantiations for shared libes.
4671 * src/locale-inst.cc: Add instantiaions for use_facet.
4672 * bits/loccore.h: Remove specialization foward decls for
4673 use_facet<ctype>: perhaps add the whole lot of them later on.
4674 * bits/std_fstream.h: Fix.
4675 * bits/locfacets.h: Ditto.
4676 * src/stdstreams.cc: Disable wide streams for now.
4678 * src/Makefile.am (CXXFLAGS): Change up.
4679 * src/Makefile.in (CXXFLAGS): Ditto.
4681 1999-02-25 Benjamin Kosnik <bkoz@happy.cygnus.com>
4683 * src/basic_file.cc: Change to ios_base::seekdir from int.
4684 * bits/basic_file.h: Ditto.
4685 * bits/locfacets.h : Fix blip with new guard macros.
4687 1999-02-25 Benjamin Kosnik <bkoz@cygnus.com>
4689 * stl/bits/stl_config.h (__STL_USE_STD_ALLOCATORS): Minor tweaking.
4690 * bits/c++config.h: Clean. Remove _G_NO_STREAMBUF_ITERATORS and
4692 * amm1/locale: Remove unused defines.
4693 * generic/locale: Ditto.
4694 * src/ios.cc: Ditto.
4695 * src/locale.cc: Ditto.
4696 * src/locale-inst.cc: Ditto.
4697 * src/localename.cc: Ditto.
4698 * src/stdstreams.cc: And here.
4700 * bits/c++config.h (_G_USE_WCHAR_T): Fix.
4701 * bits/loccore.h: Simplify, clean, add wchar_t guards.
4702 * bits/loccore.tcc: Ditto.
4703 * bits/locfacets.h: Ditto.
4704 * src/locale-inst.cc: Ditto.
4705 * bits/locfacets.tcc: Add do_put long long here.
4707 1999-02-24 Benjamin Kosnik <bkoz@cygnus.com>
4709 * bits/std_streambuf.h: Add cached ctype facet, _M_ctype.
4710 * bits/basic_ios.h: Clean. Replace _M_strbuf with
4711 _M_streambuf. Use cached _M_cvt in basic_streambuf.
4712 * bits/std_istream.h: Replace _M_strbuf with _M_streambuf.
4713 * bits/std_fstream.h: Tweak.
4715 * bits/char_traits.h: Remove fpos definitions from here. . .
4716 * bits/fpos.h: New file, put them here. Eventually, this may allow
4717 the severing of char_traits and fpos dependancies.
4718 * src/Makefile.in: Add fpos.h.
4719 * src/Makefile.am: Ditto.
4720 * bits/std_string.h: Add fpos.h include here.
4721 * bits/std_ios.h: And here.
4723 * bits/std_streambuf.h: Change _M_init to _M_initialized.
4724 * bits/ios_base.h: Remove cstdio include.
4725 * bits/std_ios.h: ... Place here.
4727 1999-02-23 Benjamin Kosnik <bkoz@loony.cygnus.com>
4729 * src/Makefile.in (CXXFLAGS): Re-add -fvtable-thunks.
4730 * src/Makefile.am (CXXFLAGS): Re-add -fvtable-thunks.
4732 * bits/basic_file.h: Comment, adjust arguments.
4733 * src/basic_file.cc: Ditto.
4735 * bits/std_fstream.h(seekoff): Error is of fpos type, not integral
4736 type: check and convert accordingly. Re-interpet "resultant stream
4737 position" to indicate external byte sequence location, not internal
4740 1999-02-22 Benjamin Kosnik <bkoz@loony.cygnus.com>
4742 * mkcshadow: And change copyright here.
4743 * src/Makefile.am (CXXFLAGS): Add -g -O2. Add new header
4744 dependencies for stl_pthread_alloc.h, pthread_allocimpl.h,
4745 stl_thread.h, and stl_iterator_base.h.
4746 * src/Makefile.in (CXXFLAGS): Ditto.
4747 * stl/backward/pthread_alloc.h: Remove.
4749 1999-02-19 Benjamin Kosnik <bkoz@loony.cygnus.com>
4751 * bits/std_streambuf.h (sungetc): Use standard defs for putback
4753 * bits/std_fstream.h (pbackfail): Correct.
4755 (seekoff): Implement.
4757 * testsuite/27/27filebuf.cc: Add test cases.
4759 1999-02-18 Benjamin Kosnik <bkoz@loony.cygnus.com>
4761 * bits/std_fstream.h: Go with basic_file's interfaces for dealing
4762 with the external buffers, and stop mucking around with setting
4763 and re-setting the external buf's pointers. Aka, clarity and
4764 simplicity rule the day.
4765 * src/locale.cc: Use memcpy in codecvt::do_in and codecvt::do_out.
4766 Remove partial result and support code.
4768 1999-02-18 Ulrich Drepper <drepper@cygnus.com>
4770 * configure.in: Add hypot, hypotf, atan2f, expf, and copysignf to
4771 list of function which have to be replaced.
4772 Remove expf from list of functions to test for.
4773 Define USE_LONG_DOUBLE in case the libm has partial support for long
4775 * Makefile.in: Regenerated.
4776 * config.h.in: Likewise.
4777 * configure: Likewise.
4778 * libio/Makefile.am (LIBIO_SRCS): Add missing backslash.
4779 * libio/Makefile.in: Regenerated.
4780 * src/Makefile.in: Regenerated.
4781 * string/Makefile.in: Regenerated.
4782 * math/Makefile.am (EXTRA_DIST): Add hypot.c, hypotf.c, hypotl.c,
4783 atan2f.c, expf.c, and $(EXTRA_yes).
4784 (EXTRA_yes): Add signbitl.c mycabsl.c.
4785 (libmath_la_LIBADD): Add $(EXTRA_$(USE_LONG_DOUBLE)).
4786 (libmath_la_SOURCES): remove long double versions.
4787 * math/Makefile.in: Regnerated.
4788 * math/atan2f.c: New file.
4789 * math/copysignf.c: New file.
4790 * math/expf.c: New file.
4791 * math/hypot.c: New file.
4792 * math/hypotf.c: New file.
4793 * math/hypotl.c: New file.
4794 * math/cargf.c: Use correct function and macro names.
4795 * math/ccos.c: Likewise.
4796 * math/ccosh.c: Likewise.
4797 * math/ccoshf.c: Likewise.
4798 * math/ccoshl.c: Likewise.
4799 * math/cexp.c: Likewise.
4800 * math/cexpf.c: Likewise.
4801 * math/cexpl.c: Likewise.
4802 * math/clog.c: Likewise.
4803 * math/clog10.c: Likewise.
4804 * math/clog10f.c: Likewise.
4805 * math/clog10l.c: Likewise.
4806 * math/clogf.c: Likewise.
4807 * math/clogl.c: Likewise.
4808 * math/copysignf.c: Likewise.
4809 * math/csin.c: Likewise.
4810 * math/csinf.c: Likewise.
4811 * math/csinh.c: Likewise.
4812 * math/csinhf.c: Likewise.
4813 * math/csinhl.c: Likewise.
4814 * math/csinl.c: Likewise.
4815 * math/csqrt.c: Likewise.
4816 * math/csqrtf.c: Likewise.
4817 * math/csqrtl.c: Likewise.
4818 * math/ctan.c: Likewise.
4819 * math/ctanf.c: Likewise.
4820 * math/ctanh.c: Likewise.
4821 * math/ctanhf.c: Likewise.
4822 * math/ctanhl.c: Likewise.
4823 * math/ctanl.c: Likewise.
4825 1999-02-17 Benjamin Kosnik <bkoz@cygnus.com>
4827 * testsuite/27/27filebuf.cc: Add cases.
4828 * testsuite/27/27filebuf-1.txt: Remove inadvertent garbage.
4829 * bits/std_streambuf.h: Simplify, always have one return statement.
4830 * bits/std_fstream.h: Tweak comments in underflow.
4832 1999-02-17 Ulrich Drepper <drepper@cygnus.com>
4834 * ltmain.sh: Update from libtool 1.2d and fix Solaris problems.
4835 * ltconfig: Likewise.
4837 1999-02-16 Christophe Pierret <cpierret@businessobjects.com>
4839 * src/locale.cc: Fix assert.
4841 1999-02-16 Benjamin Kosnik <bkoz@cygnus.com>
4843 FIXME: Still need some kind of solution for undefined math symbols.
4844 * src/Makefile.in (locale-inst.lo): Compile with
4845 -fimplicit-templates to fix Solaris link problem.
4846 * src/Makefile.am: Ditto.
4847 * libio/Makefile.in: Add stdfiles.c so that _IO_list_all is defined.
4848 * libio/Makefile.am: Ditto.
4849 * src/locale.cc: Provide some kind of def for _S_tolower.
4850 * bits/locfacets.h: Fix declarations of ctype<wchar_t> to
4851 match ctype<char> for _S_tolower, _S_toupper, _S_table.
4853 1999-02-10 Benjamin Kosnik <bkoz@cygnus.com>
4855 * bits/loccore.tcc: Move member-template ctor inline...
4856 * bits/loccore.h: ...here.
4857 * src/locale-inst.cc: Add instantiation here.
4859 * testsuite/27/27stringstream.cc: Tweak.
4861 * bits/ostream.tcc: Include sbuf_iter.h.
4863 * bits/ostream.tcc: Convert *this to ostreambuf_iterator before
4864 passing to num_put, as num_put's first argument is an interator,
4867 * testsuite/make_check_libfree++: New file, runs through the
4868 existing test files in the testsuite directory and makes sure
4871 1999-02-10 Brendan Kehoe <brendan@cygnus.com>
4873 * testsuite/21/21compare.cc: Fix typo.
4874 * src/locale.cc (ctype<wchar_t>::_S_{toupper,tolower,table}):
4875 Don't try to provide non-linux versions, since it's impossible to
4876 initialize their const references with the integer 0, no matter
4877 how we try to cast it.
4879 1999-02-10 Benjamin Kosnik <bkoz@cygnus.com>
4881 * bits/std_locale.h: Move std_vector.h dependency.
4882 * bits/std_ios.h: ...from here.
4883 * bits/std_string.h: ...and here.
4884 * src/locale.cc: ..to here.
4885 * bits/loccore.h: Ditto, add vector forward declaration,
4886 make locale::_Impl data members pointers not containers.
4887 * bits/loccore.tcc: Move out-of-line for now.
4888 * bits/locfacets.h: Move vector dependency from here...
4889 * bits/locfacets.tcc: ...to here.
4890 * src/localename.cc: ..and here.
4891 * src/locale-inst.cc: Add include of locfacets.tcc here.
4893 * stl/bits/stl_string_fwd.h: Make __get_c_string non-static.
4894 * bits/basic_string.h: Can't use sizeof on an incomplete type.
4895 * bits/string.tcc: Tweak.
4896 * src/string.cc: And add __get_c_string def here.
4898 * bits/std_fstream.h: Yeah, comment the fill_n idea out as impractical.
4900 * src/stlinst.cc: Add include of stl_config.h.
4902 1999-02-09 Benjamin Kosnik <bkoz@cygnus.com>
4904 * stl/bits/std_bitset.h: Update to SGI STL 3.12.
4905 * stl/bits/stl_config.h: Tweak, update.
4906 * stl/bits/std_stdexcept.h: Ditto, change stl_exception to
4908 * stl/bits/std_memory.h: Reconstructed auto_ptr, Ditto.
4909 * stl/bits/std_functional.h: Ditto.
4911 * stl/bits/stl_string.h: New file, SGI's string
4912 implementation. For reference only, corresponding to string in
4914 * stl/bits/stl_char_traits.h: As above.
4916 * stl/bits/pthread_allocimpl.h: New file corresponding to
4918 * stl/bits/stl_pthread_alloc.h: New file corresponding to
4920 * stl/bits/stl_threads.h: New file.
4922 Note that SGI STL 3.12's file iterator.h is not used.
4923 * stl/bits/std_iterator.h: Ditto.
4924 * stl/bits/stl_iterator.h: Drop in replace.
4925 * stl/bits/stl_iterator_base.h: New file, drop in replace.
4927 * stl/bits/stl_queue.h, stl_rope.h, stl_set.h, stl_stack.h,
4928 stl_string_fwd.h, stl_tempbuf.h, stl_tree.h, stl_vector.h,
4929 stl_pair.h, stl_multimap.h, stl_multiset.h, stl_list.h,
4930 stl_hashtable.h, stl_hash_set.h, stl_hash_map.h, stl_function.h,
4931 stl_deque.h, stl_alloc.h, stl_algo.h, stl_algobase.h, ropeimpl.h:
4932 Drop-in replace (ie, stop changing __SGI_STL_* to _CPP_BITS_* for
4933 preprocessor guards, but fixup include paths and names according
4934 to new directory layout).
4936 1999-02-05 Benjamin Kosnik <bkoz@cygnus.com>
4938 * bits/std_fstream.h: Remove _M_open data member.
4939 * bits/fstream.tcc: Ditto.
4941 * src/locale.cc: Tweak.
4943 * bits/std_sstream.h: Simplify.
4945 * bits/std_streambuf.h: Simplify.
4946 (sputc): Use correct definition of "write area."
4948 * bits/std_fstream.h: Fix uflow.
4949 * src/basic_file.cc: Tweak.
4950 * testsuite/27/27filebuf.cc: Add tests.
4951 * testsuite/27/27filebuf-3.txt: Rename to *-2.txt.
4953 1999-02-02 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
4955 * bits/ios_base.h: Make protected.
4957 1999-02-01 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
4959 * bits/ios_base.h: Changes in the class ios_base:
4960 Rename _M_exceptions member to _M_exceptions_data.
4961 Make the member functions rdstate(), clear(), exceptions()
4962 and exceptions(iostate) protected and add the "_M_" prefix.
4963 * src/ios.cc: Ditto.
4964 * bits/basic_ios.h: Adapt the changes from ios_base.
4966 1999-01-29 Benjamin Kosnik <bkoz@cygnus.com>
4968 * bits/std_fstream.h: Remove _M_flags, _M_equilibrate as unnecessary.
4969 * bits/fstream.tcc: Ditto.
4971 * bits/std_fstream.h (underflow): Resize deallocates memory and
4972 resets pointers in the internal cache according to new _M_buf. . dooh!
4973 * src/locale.cc: Mas changes with codecvt::do_in, do_out.
4975 1999-01-29 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
4977 * stl/bits/std_memory.h: Modify auto_ptr::reset to reflect the
4980 1999-01-28 Benjamin Kosnik <bkoz@cygnus.com>
4982 * src/locale.cc (codecvt::do_in): Finer-grained tuning to take
4983 into account partial returns.
4984 (codecvt::do_out): Likewise.
4986 * bits/char_traits.h: Change streamsize to be a signed type, as
4987 required by 27.4.1 Types p 2. (Changing to _IO_ssize_t.)
4988 * bits/std_streambuf.h: Make
4989 in_avail() and showmanyc() have streamsize as return types, so
4990 that showmanyc()'s return of eof won't underflow in_avail's return
4991 value and give a bogus result.
4992 * src/misc-inst.cc: And more changes. . .
4994 * bits/std_streambuf.h (basic_streambuf): Add _M_buf_unified to keep
4995 track of joint in/out pointers into the internal buffer.
4996 (sbumpc): Add check for _M_buf_unified.
5000 * testsuite/27/27filebuf.cc: Add cases.
5001 * testsuite/27/27stringbuf.cc: Add showmanyc case.
5003 * bits/std_fstream.h (close): Fix logic error.
5004 (open): Initialize internal pointers based on _M_buf and _M_buf_size.
5005 (showmanyc): Add underflow component, to match the standard.
5007 * bits/fstream.tcc: Ditto.
5009 1999-01-27 Benjamin Kosnik <bkoz@cygnus.com>
5011 * bits/basic_file.h: Match vtables w/ _IO_FILE_plus.
5012 * src/basic_file.cc: Ditto.
5013 * src/Makefile.in: Add -fvtable-thunks to CXXFLAGS: preferred
5014 format for dealing with _IO_file in libio.
5016 1999-01-27 Ulrich Drepper <drepper@cygnus.com>
5018 * src/basic_file.cc: Include fcntl.h.
5020 1999-01-27 Benjamin Kosnik <bkoz@cygnus.com>
5022 * libio/Makefile.in: Add fileops.lo, genops.lo to objects to debug
5024 * bits/std_streambuf.h: Redefine read posion.
5026 * bits/std_fstream.h: Temporary hack to get vtables working again.
5027 * bits/basic_file.h: Revert.
5028 * src/basic_file.cc: Ditto.
5029 * testsuite/27/27filebuf.cc: Tweak.
5031 1999-01-26 Benjamin Kosnik <bkoz@cygnus.com>
5033 * bits/basic_file.h: Add showmanyc, underflow. .
5034 * src/basic_file.cc: Ditto.
5036 * bits/std_fstream.h (showmanyc): Add bits to ping libio to see if more
5039 * testsuite/27/27filebuf.cc: Add testcases.
5040 * src/basic_file.cc: Add O_CREAT to open calls with
5041 ios_base::trunc as part of the open mode.
5043 1999-01-26 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
5045 * bits/basic_ios.h: fix basic_ios::exceptions(iostate)
5047 1999-01-25 Benjamin Kosnik <bkoz@nabi.net>
5049 * src/ios.cc (clear): Correct typo.
5050 * bits/ios_base.h: Tweak spacing.
5052 1999-01-25 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
5054 * bits/basic_ios.h: fix basic_ios::fail()
5056 1999-01-25 Benjamin Kosnik <bkoz@loony.cygnus.com>
5058 * bits/basic_file.h: Include libioP.h from libio instead of here.
5059 * bits/iolibio.h: Remove.
5060 * bits/libio.h: Remove.
5062 1999-01-22 Benjamin Kosnik <bkoz@lunatic.cygnus.com>
5064 * bits/std_fstream.h: Tweak cvt-> in call for newer egcs compilers.
5066 1999-01-22 Ulrich Drepper <drepper@cygnus.com>
5068 * Makefile.am (SUBDIRS): Add libio.
5069 * configure.in: Add rule to test for glibc2.
5071 * src/Makefile.am (INCLUDES): Add -I to libio subdir.
5072 (libstdc___la_LIBADD): Add libio.la.
5074 1999-01-21 Benjamin Kosnik <bkoz@cygnus.com>
5076 * bits/basic_file.h: Make new abstraction for underlying C library
5077 FILE, named __basic_file.
5078 * src/basic_file.cc: New file.
5079 * bits/os_raw.h: Delete.
5080 * src/os_raw.cc: Delete.
5081 * src/Makefile.in: Tweak.
5082 * src/Makefile.am: Tweak.
5083 * bits/iolibio.h: Add this here, for the time being.
5084 * bits/libioP.h: Ditto.
5086 * bits/ios_base.h: Delete unused defines.
5087 * src/locale.cc (codecvt<char, char, mbstate_t>::do_in): Use
5088 strcpy to copy between the two buffers.
5090 * testsuite/27/27stringbuf.cc: Change license, fix in_avail tests.
5091 * testsuite/27/27filebuf.cc: New file.
5092 * testsuite/27/27filebuf-1.txt: Data file for above test.
5093 * testsuite/27/27filebuf-2.txt: Ditto.
5095 * bits/std_streambuf.h (uflow): Re-implement default.
5096 * bits/std_fstream.h: Set _M_buf_size based on cstdio's BUFSIZ.
5097 Re-implement virtual functions.
5098 * bits/fstream.tcc: Delete unused mf's.
5100 1998-12-31 Benjamin Kosnik <bkoz@lunatic.cygnus.com>
5102 * bits/fstream.tcc: Add fstream ctor for cin/cout/etc.
5103 * bits/std_fstream.h: Ditto.
5104 * src/stdstreams.cc: Ditto.
5106 * math/cpowl.c: Fix header typo with last change.
5108 1998-12-31 Benjamin Kosnik <bkoz@loony.cygnus.com>
5110 * COPYING: New file (GPL v 2).
5111 * LICENSE.STD: Remove.
5112 * ./*: Change license.
5114 1998-12-30 Benjamin Kosnik <bkoz@haight.constant.com>
5116 * bits/std_streambuf.h (std): Remove static on _M_init.
5117 * bits/streambuf.tcc (std): Ditto.
5119 * bits/std_fstream.h: Add changes as discussed with Nathan, including
5120 state_type and codecvt_type members, the allocation of an internal
5121 buffer, the streamlined codecvt calls, etc.
5123 1998-12-21 Benjamin Kosnik <bkoz@haight.constant.com>
5125 * bits/std_sstream.h: Tweak.
5126 * bits/fstream.tcc: Remove unused stubs.
5127 * bits/std_fstream.h: Tweak.
5129 1998-12-17 Benjamin Kosnik <bkoz@tintin.cygnus.com>
5131 * bits/std_streambuf.h: Move _IO_file_flags into basic_filebuf.
5132 Remove unused _IO_* members, possibly put into filebuf, which may
5134 * bits/std_fstream.h: Add _M_flag.
5135 * bits/sbuf_iter.h: Tweak.
5137 * bits/std_cstdio.h: Add SEEK_SET, SEEK_END, SEEK_CUR.
5138 * bits/ios_base.h: Use.
5140 * src/stdstreams.cc: Modify to reflect standard ctors for
5142 * src/misc-inst.cc: Ditto.
5144 * bits/os_raw.h: Wrap in std namespace. Model parameters on
5145 underlying C library calls instead of the underlying unix
5147 * src/os_raw.cc (_S_os_open): Use fopen, and compute a mode
5148 string as per p.659.
5149 (_S_os_close): Model on fopen.
5150 (_S_os_read): Model on fread.
5151 (_S_os_write): Model on fwrite.
5152 (_S_os_seek): Model on fseek.
5154 * bits/ios_base.h: Tweak.
5155 * bits/std_iosfwd.h: Wrap libio.h include with extern "C".
5156 * bits/std_sstream.h: Tweak.
5157 * bits/sstream.tcc: Remove old, uncalled code.
5158 * bits/std_fstream.h: Major reconstruction.
5159 * bits/fstream.tcc: Disable for the time being.
5161 1998-12-11 Benjamin Kosnik <bkoz@haight.constant.com>
5163 * bits/basic_string.h: Fix insert method.
5164 * stl/bits/stl_iterator.h: Remove previous hack.
5165 * bits/std_streambuf.h (sbumpc): Correct increment/return oddness.
5166 * bits/std_sstream.h: Fix more regressions.
5167 * testsuite/27/27stringbuf.C: Add (almost) complete tests.
5169 1998-12-09 Benjamin Kosnik <bkoz@loony.cygnus.com>
5171 * bits/basic_string.h: Tweak.
5173 * stl/bits/stl_iterator.h: Specialize iterator_traits for int so
5174 that string::append can be instantiated. HACK--checkin
5175 basic_string::iterator class.
5177 1998-12-07 Benjamin Kosnik <bkoz@haight.constant.com>
5179 * bits/std_sstream.h: Tweak.
5180 * bits/sstream.tcc: Tweak ctors.
5182 FIXME invalid friend defs. . WHERE ARE THEY??
5184 * bits/sbuf_iter.h (istreambuf_iterator::equal): Change to new
5185 names for basic_streambuf data members.
5187 * bits/std_streambuf.h: Add getloc() initialization bits.
5188 basic_streambuf(): Initialize with global locale data.
5189 imbue(): Set _M_init.
5191 * bits/std_streambuf.h(seekoff, seekpos): Complete with invalid
5192 stream pos == pos_type(off_type(-1)).
5193 in_avail(): Complete default implementation.
5194 snextc, sbumpc, sputbackc, sungetc, sputc, setg, xsputn,
5195 underflow, uflow, xsgetn, showmany, sync: Ditto.
5197 * bits/std_streambuf.h: _M_snextc_helper(): Remove.
5199 * bits/streambuf.tcc (sputbackc): Temporarily remove, need to
5200 re-populate with in-line member functions that are too big. Add
5201 initialization for _M_init.
5203 1998-12-03 Benjamin Kosnik <bkoz@cygnus.com>
5205 * bits/sstream.tcc: Convert _Allocator to _Alloc. Add typedefs
5206 for basic_string and basic_streambuf. Scope _IO_buf_* pointers to
5209 * src/stdstreams.cc (std): Disable wchar_t instantiations.
5211 * bits/c++config.h (_G_DEPRICATED): Add.
5212 (_G_USE_WCHAR_T): Add.
5213 * bits/std_streambuf.h: Radical reconstruction of basic_streambuf.
5214 Take out _Streambuf_base. Put _IO_FILE data member in basic_filebuf.
5215 * bits/streambuf.tcc (sputbackc): Remove ctor anti-def, Tweak.
5216 * bits/std_fstream.h: Add comment for implementation.
5217 * src/streambuf.cc: Remove.
5218 * src/Makefile.in: Remove streambuf.lo.
5219 * src/misc-inst.cc: Tweak.
5221 1998-12-02 Benjamin Kosnik <bkoz@cygnus.com>
5223 * bits/std_sstream.h: Add const_cast to rdbuf returns.
5224 * testsuite/27stringstream.C: Modify.
5226 1998-11-25 Benjamin Kosnik <bkoz@haight.constant.com>
5228 * src/Makefile.in (libstdc___la_OBJECTS): Add streambuf.lo.
5229 (libstdc___la_SOURCES): Ditto.
5231 * bits/streambuf.tcc: Tweak.
5233 * src/streambuf.cc: New file, add out-of-line definitions for
5236 * src/misc-inst.cc: Remove _Streambuf_base instantiations.
5237 Comment out wchar_t versions of the buffer instantiations, for now.
5239 * bits/std_streambuf.h: Wrap libio.h include with extern "C".
5240 Remove template wrapper around _Streambuf_base.
5241 Move IO_* data members into _Streambuf_base.
5242 Move _Streambuf_base members into streambuf.tcc.
5244 * bits/c++config.h (_G_USE_LIBIO): Enable.
5246 1998-11-02 Nathan Myers <ncm@cantrip.org>
5248 * CHECKLIST: downgrade iterator implementations
5249 * DESIGN: fill out notes about unimplemented features
5251 1998-10-31 Nathan Myers <ncm@cantrip.org>
5253 * CHECKLIST: itemized list of all interfaces, and status of each.
5255 1998-10-30 Nathan Myers <ncm@cantrip.org>
5257 * RELEASE-NOTES: add notes about optional includes, linking, running
5258 * src/Makefile.am: handle header installs properly
5259 * src/Makefile.in: regenerate from new src/Makefile.am
5261 1998-10-30 Benjamin Kosnik <bkoz@loony.cygnus.com>
5263 * bits/basic_string.h: Revert npos pending ciso646.
5264 * src/Makefile.am: Revert CXX flags for now.
5265 * src/Makefile.in: Ditto.
5267 1998-10-30 Brendan Kehoe <brendan@cygnus.com>
5269 * bits/std_sstream.h: Re-order ctors to put base before member
5272 1998-10-30 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
5274 * stl/bits/std_memory.h: Fix typo.
5276 1998-10-30 Nathan Myers <ncm@cantrip.org>
5278 * src/string[A-Z]+.cc: change back to include "string.cc".
5279 * src/Makefile.am: revert filename changes. We need a different
5280 way to keep filenames in std/ from confusing Make.
5281 * bits/basic_string.h: define _S_max_size right, return it from
5282 string::max_size(); churn definition of npos again.
5283 * bits/string.tcc: fix _S_frob_size to avoid uint overflow.
5284 * bits/ios.cc: remove #ifdef on ios_base locale member initialization
5285 * BUGS: clear cruft.
5286 * C++STYLE: Touchup for release.
5287 * CHECKLIST: Touchup for release.
5289 * LICENSE.STD: Add requirement to retain copyrights and to provide
5290 the license with any copies.
5291 * README: Update for release.
5292 * TODO: Minor touchup for release.
5293 * RELEASE-NOTES: prepare for release
5295 1998-10-29 Ulrich Drepper <drepper@cygnus.com>
5297 * src/string[A-Z]+.cc: Include stdstring.cc, not string.cc.
5299 * src/Makefile.am (CXXFLAGS): Define _GNU_SOURCE.
5301 * src/Makefile.am (CXXLINK): New variable. Make sure we don't use
5302 CXX to generate the shared object.
5304 * src/Makefile.am (headers): Remove duplicated char_traits.h.
5306 1998-10-29 Brendan Kehoe <brendan@cygnus.com>
5308 * bits/basic_string.h (basic_string<>::max_size): Subtract 1, not
5309 2, from npos, solving infinite loop problems.
5311 1998-10-29 18:41 Ulrich Drepper <drepper@cygnus.com>
5313 * src/Makefile.am: Add rules to install headers.
5315 1998-10-29 Nathan Myers <ncm@cantrip.org>
5317 * bits/std_ostream.h: Remove #ifdef on operator<< for long double
5318 * bits/ostream.tcc: Remove #ifdef on operator<< for long double
5321 * shadow/bits/wrap_libio.h:
5322 * shadow/bits/wrap_unistd.h: New files.
5324 1998-10-29 Brendan Kehoe <brendan@cygnus.com>
5326 * bits/ostream.tcc (operator<<): Wrap with #ifdef
5327 _G_HAVE_LONG_DOUBLE_IO, to match bits/std_ostream.h.
5329 1998-10-29 Ulrich Drepper <drepper@cygnus.com>
5331 * src/Makefile.am: Add temporarily rules to make sure misc-inst.cc
5332 is not compiled with -fno-implicit-templates in effect.
5334 * src/Makefile.am (EXTRA_SOURCES): Add string.cc and wstring.cc here.
5335 (libstdc___la_SOURCES): Add all the string*.cc and wstring*.cc files.
5336 * src/stringADDCS.cc: Wrapper around string.cc to define individual
5338 * src/stringADDPS.cc: Likewise.
5339 * src/stringADDSC.cc: Likewise.
5340 * src/stringADDSP.cc: Likewise.
5341 * src/stringADDSS.cc: Likewise.
5342 * src/stringBIST.cc: Likewise.
5343 * src/stringBOST.cc: Likewise.
5344 * src/stringCHTR.cc: Likewise.
5345 * src/stringEQPS.cc: Likewise.
5346 * src/stringEQSP.cc: Likewise.
5347 * src/stringEQSS.cc: Likewise.
5348 * src/stringEXTRA.cc: Likewise.
5349 * src/stringGEPS.cc: Likewise.
5350 * src/stringGESP.cc: Likewise.
5351 * src/stringGESS.cc: Likewise.
5352 * src/stringGETLI.cc: Likewise.
5353 * src/stringGTPS.cc: Likewise.
5354 * src/stringGTSP.cc: Likewise.
5355 * src/stringGTSS.cc: Likewise.
5356 * src/stringINSER.cc: Likewise.
5357 * src/stringLEPS.cc: Likewise.
5358 * src/stringLESP.cc: Likewise.
5359 * src/stringLESS.cc: Likewise.
5360 * src/stringLTPS.cc: Likewise.
5361 * src/stringLTSP.cc: Likewise.
5362 * src/stringLTSS.cc: Likewise.
5363 * src/stringMAIN.cc: Likewise.
5364 * src/stringNEPS.cc: Likewise.
5365 * src/stringNESP.cc: Likewise.
5366 * src/stringNESS.cc: Likewise.
5367 * src/stringSCOPY.cc: Likewise.
5368 * src/wstringADDCS.cc: Wrapper around wstring.cc to define individual
5370 * src/wstringADDPS.cc: Likewise.
5371 * src/wstringADDSC.cc: Likewise.
5372 * src/wstringADDSP.cc: Likewise.
5373 * src/wstringADDSS.cc: Likewise.
5374 * src/wstringBIST.cc: Likewise.
5375 * src/wstringBOST.cc: Likewise.
5376 * src/wstringCHTR.cc: Likewise.
5377 * src/wstringEQPS.cc: Likewise.
5378 * src/wstringEQSP.cc: Likewise.
5379 * src/wstringEQSS.cc: Likewise.
5380 * src/wstringEXTRA.cc: Likewise.
5381 * src/wstringGEPS.cc: Likewise.
5382 * src/wstringGESP.cc: Likewise.
5383 * src/wstringGESS.cc: Likewise.
5384 * src/wstringGETLI.cc: Likewise.
5385 * src/wstringGTPS.cc: Likewise.
5386 * src/wstringGTSP.cc: Likewise.
5387 * src/wstringGTSS.cc: Likewise.
5388 * src/wstringINSER.cc: Likewise.
5389 * src/wstringLEPS.cc: Likewise.
5390 * src/wstringLESP.cc: Likewise.
5391 * src/wstringLESS.cc: Likewise.
5392 * src/wstringLTPS.cc: Likewise.
5393 * src/wstringLTSP.cc: Likewise.
5394 * src/wstringLTSS.cc: Likewise.
5395 * src/wstringMAIN.cc: Likewise.
5396 * src/wstringNEPS.cc: Likewise.
5397 * src/wstringNESP.cc: Likewise.
5398 * src/wstringNESS.cc: Likewise.
5399 * src/wstringSCOPY.cc: Likewise.
5400 * src/string.cc: Remove now unneeded #defines now.
5402 1998-10-29 Nathan Myers <ncm@cantrip.org>
5404 * bits/locfacets.tcc: Define num_put::put(... const void*), improve
5406 * bits/ostream.tcc: Delete cruft, rewrite various op<< as members,
5407 add definitions for double, long double, const void*.
5408 * bits/std_ostream.h: Move op<<'s back into class ostream,
5409 define some in-line.
5410 * bits/string.tcc: fix unnecessary-copying bug in op[], typos in
5411 string construction from input iterators that Brendan reported.
5414 1998-10-28 Brendan Kehoe <brendan@cygnus.com>
5416 * stl/bits/stl_pair.h (op!=, op>, p<=, op>=): Add missing definitions.
5418 * bits/valarray_meta.h (class _Constant): Move declaration to the
5419 top, so the rest of the file can grok it.
5420 (_ApplyBinaryFunction::operator[]): Add missing parenthesis.
5422 * bits/std_sstream.h (basic_ostringstream::str): Fix typo of extra
5424 (basic_stringstream::str, both instances): Likewise.
5426 1998-10-28 Nathan Myers <ncm@cantrip.org>
5428 * bits/locfacets.h: fix num_put<>::falsename()
5429 * bits/locfacets.tcc: fix _Format_cache<>::_M_populate bool name init
5430 * testsuite/27/27octfmt.C, testsuite/27/27octfmt.C: new tests
5431 * bits/locfacets.tcc: touch up _S_group_digits.
5432 * src/misc-inst.cc: adjust _S_group_digits insts to match.
5434 1998-10-27 Nathan Myers <ncm@cantrip.org>
5436 * stl/bits/stl_config.h: Turn off long long support, for now.
5437 * src/locale-inst.cc: Instantiate num_put<> only for
5438 ostreambuf_iterator, num_get only for istreambuf_iterator.
5439 * src/misc-inst.cc: Delete duplicate locale-related instantiations,
5440 add lots of new instantiations for num_put support function templates;
5441 remove junk about __match_parallel for ostreambuf_iterator.
5443 1998-10-27 Nathan Myers <ncm@cantrip.org>
5445 * bits/locfacets.tcc: Make num_put's digit grouping work.
5446 * bits/string.tcc: More uglification.
5447 * src/ios.cc: initialize format cache right
5449 1998-10-26 Nathan Myers <ncm@cantrip.org>
5451 * bits/basic_string.h: Uglify more names.
5452 * bits/fstream.tcc: Rewrite some filebut output handling.
5453 * bits/ios_base.h: Cosmetic.
5454 * bits/locfacets.h: Changes to _Format_cache for support of num_put.
5455 Also, specialize its default ctor for optimal default case.
5456 #ifdef out "long long" prototypes for now.
5457 * bits/locfacets.tcc: Do complete, optimized num_put<>::do_put
5458 implementation for integer types. (Still needs optimized
5459 std::copy() applied to ostreambuf_iterator to be optimal.)
5460 * bits/ostream.tcc: Write operator<< for long, bool types.
5461 Make other operators<< non-members, per spec. (Many still
5462 not implemented.) Identify those that fail to create a sentry.
5463 * bits/sbuf_iter: Cosmetic.
5464 * bits/std_fstream.h: Add some filebuf members.
5465 * bits/std_locale.h: Include <limits> for use in bits/locfacets.h
5466 * bits/std_ostream.h: Make member operators<< global, per spec.
5467 (Should do the same in std_istream.h.)
5468 * bits/std_string.h: Include <limits> for use in bits/locfacets.h
5469 * bits/string.tcc: Uglify names
5470 * shadow/bits/std_cstdlib.h: Optimize std::div and std::ldiv.
5471 * src/ios.cc: Specialize _Format_cache<> for char and wchar_t,
5472 for optimal default behavior.
5474 1998-10-26 Benjamin Kosnik <bkoz@loony.cygnus.com>
5476 * src/Makefile.in (libstdc___la_SOURCES): Add misc-inst.cc again.
5478 1998-10-21 Nathan Myers <ncm@cantrip.org>
5480 * src/locale.cc: make ctype operations actually work for glibc
5481 * CHECKLIST: add a comprehensive (i.e. huge) implementation
5482 checklist of stdlib facilities. Not filled in yet.
5484 1998-10-20 Nathan Myers <ncm@cantrip.org>
5486 * bits/string.tcc: fix patching NULs on string ends.
5488 1998-10-19 Nathan Myers <ncm@cantrip.org>
5490 * bits/std_iosfwd.h: eliminate "basic_" prefix on streambuf
5491 iterator forward declarations
5492 * bits/sbuf_iter.h: eliminate default template argument definitions
5493 on streambuf iterators (rely on <iosfwd> decls).
5494 * TODO: add note about lazy facet construction
5495 * bits/basic_ios.h: hit operator void* again. This should be the
5496 last time we need to touch it.
5497 * bits/basic_ios.h: copyfmt now returns *this.
5498 * bits/basic_string.h: fix npos again. npos cannot be defined as zero.
5499 * bits/basic_string.h: put back overloaded constructors; adjust
5500 behavior for default allocator on copy constructor.
5501 * bits/char_traits.h: make not_eof return correct type.
5502 * bits/loccore.h: remove call to bits/std_stdexcept.h; subincludes
5503 cannot be in non-standard headers or we get include loops (bad)
5504 * bits/loccore.h: delete ifdef'd out workarounds for old compiler bugs.
5505 * bits/loccore.h: add apparatus to support lazy construction of
5507 * bits/locfacets.tcc: Uglify names in __match_parallel decl.
5508 * bits/std_ios.h: add include of <typeinfo> to get bad_cast for
5509 locale use_facet<> failure.
5510 * bits/std_locale.h: same.
5511 * bits/std_string.h: same.
5512 * bits/std_stdexcept.h: change exception member __msg from a
5513 reference to a regular object.
5514 * bits/string.tcc: add pasting a NUL on the end of strings after
5515 each operation. We had already left room for it, but previously
5516 plugged it only on a call to c_str(), but the WG changed the
5517 requirement when I wasn't looking. (Can't leave them alone for
5518 a second without they break something else.)
5519 * bits/valarray_meta.h: add Gaby's changes from 981018.
5520 * src/locale.cc: add new type _Bad_use_facet to be thrown on
5521 failure of use_facet<>().
5522 * src/stdexcept.cc: remove pragma, remove bkoz's #if 0,
5523 comment out leftover member definitions
5525 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
5527 * string/Makefile.am: Revert last change.
5528 * math/Makefile.am: Likewise.
5530 1998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
5532 * bits/std_sstream.h: Fix typo.
5534 1998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
5536 * src/Makefile.am (libstdc___la_SOURCES): Add misc-inst.cc.
5538 * bits/std_sstream.h: Add typedefs, member definitions. Clean.
5539 * bits/std_stdexcept.h: Remove.
5541 1998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
5543 * src/misc-inst.cc: Tweak again.
5545 * bits/std_sstream.h: Move out-of-line definitions to sstream.tcc.
5546 * bits/sstream.tcc: New file.
5548 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
5550 * configure.in: Test for machine/param.h, sys/machine.h and fp.h.
5551 Don't run AC_C_BIGENDIAN if machine/param.h or sys/machine.h are
5554 * math/mathconf.h: Include sys/machine.h, machine/param.h and fp.h
5556 (INFINITE_P): Use IS_INF macro if available.
5558 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
5560 * math/Makefile.am (EXTRA_LTLIBRARIES): Renamed from
5562 * string/Makefile.am: Likewise.
5564 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
5566 * configure.in (AC_CHECK_FUNCS): Add finite, qfinite, fpclass, and
5568 (AC_CHECK_HEADERS): Add machine/endian.h. If no header specifying
5569 endianess is available run AC_C_BIGENDIAN.
5571 * math/clog10l.c: Add ugly hack around bug in Irix 6.2 header until
5572 fixincludes is fixed.
5573 * math/clogl.c: Likewise.
5574 * math/csqrtl.c: Likewise.
5575 * math/mycabsl.c: Likewise.
5577 * math/mathconf.h: Include machine/endian.h if possible. If no
5578 header describing endianess is available rely on WORDS_BIGENDIAN
5580 (FINITE_P, FINITEF_P, FINITEL_P): Use finite functino if available.
5581 (INFINITE_P, INFINITEF_P, INFINITEL_P): Use fpclass function if
5584 * src/complex.cc (polar): Don't use sincos on OSF machines.
5586 1998-10-09 Benjamin Kosnik <bkoz@loony.cygnus.com>
5588 * src/locale-inst.cc: Don't instantiate time_get for
5589 ostreambuf_iterators as time_get::do_get_weekday and
5590 time_get::do_get_monthname use __match_parallel, which is illegal
5591 for ostreambuf_iterators to use, as they don't have operator== or
5593 * bits/std_stdexcept.h: Add dtor definitions.
5594 Use stl/bits/std_stdexcept.h instead of this file?
5595 * bits/sbuf_iter.h : Tweak.
5596 * src/misc-inst.cc: Tweak.
5598 1998-10-09 Benjamin Kosnik <bkoz@haight.constant.com>
5600 * bits/std_stdexcept.h: New file.
5601 * src/stdexcept.cc: Define the following:
5603 runtime_error::what()
5605 * src/misc-inst.cc: New file.
5606 * src/Makefile.in (libstdc___la_SOURCES): Add misc-inst.cc.
5607 (libstdc___la_OBJECTS): Add misc-inst.lo.
5609 * bits/basic_string.h: Disable non-standard ctor declarations.
5610 * bits/string.tcc: Disable definitions as well.
5611 * src/string.cc: Disable <ios> dependancies.
5612 * bits/sbuf_iter.h (std): Add default to template parameter for
5613 ostreambuf_iterator and istreambuf_iterator.
5614 * bits/std_iosfwd.h: Change istreambuf_iterator to
5615 basic_istreambuf_iterator. Likewise for ostreambuf.
5616 * bits/locfacets.tcc (__match_parallel): Fix typo.
5617 * src/ios.cc (imbue): Remove the _G_HAVE_LOCALE guards around
5619 * bits/std_streambuf.h: Define _Streambuf_base::getloc().
5620 * bits/std_istream.h: Define the following:
5621 get (basic_streambuf<char_type,_Traits>& __sb, char_type __delim)
5622 get (char_type* __s, streamsize __n, char_type __delim);
5623 getline (char_type* __s, streamsize __n, char_type __delim)
5624 * bits/loccore.h : FIXME friend template code for use_facet.
5625 Add std_stdexcept.h include so that range_error will be defined.
5626 Add explicit conversion to string for range_error throws. (HACK?)
5628 1998-10-8 Ulrich Drepper <drepepr@cygnus.com>
5630 * configure.in: Check for sincos, sincosf, and sincosl.
5631 * src/complex.cc (polar): Use sincos if available.
5633 * bits/c++config.h: Fix hack to get LONG_LONG* definitions on Linux.
5634 * stl/bits/std_limits.h: Include bits/c++config.h. HACK!!!
5636 * math/clog10.c: Fix typo (FP_INIFITE_P -> INFINITE_P).
5638 * math/cpow.c: Use c_log, not clog.
5639 * math/cpowf.c: Likewise.
5640 * math/cpowl.c: Likewise.
5642 * math/cexp.c: Remove unused fpclassify calls. Use FINITE_P instead
5645 * math/mathconf.h (FINITE_P, FINITEF_P, FINITEL_P): Define using
5646 isfinite macro if it is available.
5647 (INFINITE_P, INFINITEF_P, INFINITEL_P): Define using isinf macro.
5649 * math/ccosf.c: Use appropriate test macros for this type.
5650 * math/ccoshf.c: Likewise.
5651 * math/ccoshl.c: Likewise.
5652 * math/ccosl.c: Likewise.
5653 * math/cexpf.c: Likewise.
5654 * math/cexpl.c: Likewise.
5655 * math/clog10f.c: Likewise.
5656 * math/clog10l.c: Likewise.
5657 * math/clogf.c: Likewise.
5658 * math/clogl.c: Likewise.
5659 * math/csinf.c: Likewise.
5660 * math/csinhf.c: Likewise.
5661 * math/csinhl.c: Likewise.
5662 * math/csinl.c: Likewise.
5663 * math/csqrtf.c: Likewise.
5664 * math/csqrtl.c: Likewise.
5665 * math/ctanf.c: Likewise.
5666 * math/ctanhf.c: Likewise.
5667 * math/ctanhl.c: Likewise.
5668 * math/ctanl.c: Likewise.
5670 1998-10-06 Benjamin Kosnik <bkoz@bliss.nabi.net>
5672 * bits/basic_ios.h: Fix previous change.
5674 1998-10-06 Benjamin Kosnik <bkoz@bliss.nabi.net>
5676 * bits/basic_ios.h: Add const_cast<basic_ios&>
5677 (operator void*): As per 5.2.9 p 2, make sure static_cast is
5679 * bits/char_traits.h: No _CharT for specialization, change to 0.
5680 * bits/basic_string.h: As per 9.4.2 p4, initialize with
5681 constant-initializer.
5682 * bits/locfacets.tcc: Add template parameter to initialization list.
5684 1998-10-02 Benjamin Kosnik <bkoz@loony.cygnus.com>
5686 * bits/basic_string.h: Should just be <, not <=.
5688 1998-10-01 Benjamin Kosnik <bkoz@bliss.nabi.net>
5690 * bits/string.tcc (compare): Fix for strings that are similar, but
5691 not the same length.
5693 1998-09-04 Brendan Kehoe <brendan@cygnus.com>
5695 * bits/c++config.h: For __linux__, define _GNU_SOURCE. This is
5696 required for us to get LONG_LONG_{MIN,MAX} out of gcc's limits.h.
5697 We can't check for __GLIBC__ here, since this header can be read
5698 before any system one (that would lead to features.h) being used.
5700 * stl/bits/stl_config.h (__STL_LONG_LONG): Re-enabled
5702 * stl/bits/std_limits.h [__STL_LONG_LONG]: Fix usage to use
5703 LONG_LONG_MIN, LONG_LONG_MAX, and ULONG_LONG_MAX.
5705 * stl/bits/stl_config.h: Don't do __STL_LONG_LONG, it uses
5706 LONGLONG_{MIN,MAX} which I can't find the origin of.
5708 1998-09-03 Brendan Kehoe <brendan@cygnus.com>
5710 * stl/bits/stl_iterator.h: Add extern decl of cin for now; where
5711 should this come from, if not iostream.h?
5712 (class istream_iterator): Make the new operator!= a friend also.
5714 * stl/bits/stl_config.h: Define __STL_HAS_WCHAR_T,
5715 __STL_MEMBER_TEMPLATE_CLASSES, and __STL_LONG_LONG. Don't include
5716 _G_config.h like the egcs one does.
5718 1998-09-01 Brendan Kehoe <brendan@cygnus.com>
5720 * bits/string.tcc: Call `_M_destroy' instead of `destroy'.
5722 * bits/valarray_meta.h: Throughout, rename _Expr typedefs to be
5723 _Expr1 (or _Expr_def if it's taken), and change definitions.
5724 Avoids redecl of the template parm.
5726 * bits/string.tcc (basic_string copy ctor): Fix typo in declaration.
5727 (operator>>): Initialize __ERROR with ios_base::goodbit, not 0.
5729 * bits/std_streambuf.h (_POSIX_SOURCE): Only define if it's not
5732 * src/locale-inst.cc: New file, **TOTAL HACK**. There has GOT to
5733 be a better way to do this.
5735 * src/stlinst.cc: New file.
5737 * BUGS: New file, with various discovered bugs that need to be
5740 * Makefile.in, math/Makefile.in, string/Makefile.in,
5741 src/Makefile.in: Reran automake.
5743 Workarounds, these may not all be the final fixes:
5745 * bits/basic_ios.h (class basic_ios): Make _M_strbuf be protected,
5746 not private, for basic_istream::get() in std_istream.h to be able
5748 (basic_ios::operator void*): Don't use static_cast for the false
5750 (basic_ios::copyfmt): Fix `rhs.except' to be `rhs.exceptions ()'.
5751 This appears to have been in sep94, but didn't get corrected
5754 * bits/basic_string.h (npos): Don't init here.
5755 * bits/string.tcc: Instead, do initialization here, to -1 instead
5756 of the size_type destructor.
5758 * src/traits.cc, src/wtraits.cc: New files.
5759 * bits/char_traits.h: For char_traits<char> and
5760 char_traits<wchar_t>, declare static, but define over in the src
5763 * bits/gslice.h: Comment out forward decls of _Array, valarray,
5764 gslice_array, and _GsliceExpression.
5766 * bits/std_cstdio.h [__sparc__ && __svr4__]: #undef all of
5767 clearerr, feof, ferror, getc, getchar, putc, putchar, stdin,
5768 stdout, and stderr. Note we do get unresolved refs to stdin, but
5769 that'll get fixed by the "true" solution.
5771 * bits/std_ios.h: Include <bits/std_streambuf.h> to get the
5772 definition of basic_streambuf.h, which is used in basic_ios.h to
5775 * bits/std_streambuf.h: Don't include libio.h for now.
5776 (class basic_streambuf): Define missing methods pubimbue and
5779 * src/Makefile.am (libstdc___la_SOURCES): Add stdexcept.cc,
5780 ios.cc, os_raw.cc, stdstreams.cc, locale.cc, localename.cc,
5781 locale-inst.cc, stlinst.cc, traits.cc, wtraits.cc.
5783 * src/ios.cc: Instantiate basic_ios<char> and basic_ios<wchar_t>.
5785 * src/locale.cc: Come up with munged versions of _S_toupper,
5786 _S_tolower, and _S_table instead of the glibc-specific ones, so
5787 they're at least defined, if not necessarily usable. The glibc
5788 ones on any other system will yield unresolved refs to
5789 __ctype_{b,toupper,tolower}.
5791 * src/string.cc: Define all of ADDCS, ADDPS, et al. Add
5792 basic_ios, basic_istream, basic_ostream. Don't do char_traits
5793 anymore cuz of the explicit specialization in char_traits.h.
5794 Also add _S_string_copy, but this doesn't fix it -- cf the BUGS
5795 file for the details.
5797 * stl/bits/stl_algobase.h (equal): Fix to do `! (x==y)'.
5798 * stl/bits/stl_iterator.h (__distance): Likewise.
5800 * stl/bits/stl_iterator.h: As with 8/18 set, define missing op!=,
5801 op>, op<=, and op>= for reverse_iterator. Also add op!= for
5804 1998-08-26 Brendan Kehoe <brendan@cygnus.com>
5806 * bits/string.tcc (basic_string::compare (const char*)): Fix to
5809 1998-08-25 Brendan Kehoe <brendan@cygnus.com>
5811 This should really be fixed with __asm__ directives renaming the
5812 symbol, but keeping the function.
5813 * math/clogf.c (c_logf): Renamed from `clogf'.
5814 * math/clogl.c (c_logl): Renamed from `clogl'.
5815 * math/complex-stub.h (c_logf, c_logl): Change decls.
5817 * bits/locfacets.h (class _Numeric_get): For friend decls, rename
5818 _CharT and _InIter parms, since they duplicate the enclosing ones.
5820 1998-08-19 Brendan Kehoe <brendan@cygnus.com>
5822 Deal with conflict of the iostreams `clog' and our internal
5823 complex number `clog'.
5824 * src/complex.cc: Call `c_log' instead of `clog'.
5825 * math/clog.c (c_log):: Renamed from clog.
5826 * math/complex-stub.h (c_log): Renamed from clog decl.
5828 * bits/locfacets.h (class _Numeric_get): Tweak fwd decls of the
5830 (num_put::put): #if 0 long long version, since we don't declare or
5831 define the long long version of do_put.
5833 1998-08-18 Nathan Myers <ncm@cantrip.org>
5835 * bits/basic_string.h: add basic_string<>::push_back(), fix return
5836 type of get_allocator (thanks to Ryszard Kabatek).
5837 * bits/char_traits.h: make init order of fpos<> members
5839 * bits/ios_base.h: fix decls of ios_base bitmask & enum types, add
5840 flags _S_fd_in etc. for special filebuf ctor.
5841 * bits/locfacets.h: make _Numeric_get and _Format_cache public
5842 to work around problems in friend declarations.
5843 * bits/locfacets.tcc: qualify _S_get_cache in num_get<>::get(..bool&),
5844 fix random type errors & typos
5845 * bits/std_fstream.h: major refitting to bypass libio (for now),
5846 instrument to use bits/fstream.tcc template definitions
5847 * bits/std_iosfwd.h: mess with wrappers
5848 * bits/std_istream.h: remove meaningless comment
5849 * bits/std_ostream.h: instrument to work with ostream.tcc.
5850 * bits/std_streambuf.h: instrument to work with streambuf.tcc
5851 * bits/fstream.tcc: template defs for <fstream>
5852 * bits/ostream.tcc: template defs for <ostream>
5853 * bits/streambuf.tcc: template defs for <streambuf>
5854 * bits/os_raw.h: thin OS interface wrapper, to bypass libio (for now).
5855 * Delete .cc files, replace with bits/*.tcc
5861 src/os_raw.cc: thin interface to OS, to bypass libio (for now).
5862 src/stdstreams.cc: cout, cin, etc. definitions
5863 (these still need work: must be init'd before user statics.)
5866 1998-08-18 Brendan Kehoe <brendan@cygnus.com>
5868 Sent to SGI before checkin:
5869 * stl/bits/stl_vector.h (operator!=, operator>, operator<=,
5870 operator>=): Define.
5871 * stl/bits/stl_bvector.h (vector<bool>::flip): Define method.
5872 * stl/bits/stl_deque.h (operator!=, operator>, operator<=,
5873 operator>=): Define.
5874 (operator==, operator<): Add inline.
5875 * stl/bits/stl_map.h (operator!=, operator<, operator<=,
5876 operator>=): Define.
5877 * stl/bits/stl_multimap.h (operator!=, operator<, operator<=,
5878 operator>=): Define.
5879 * stl/bits/stl_list.h (operator!=, operator<, operator<=,
5880 operator>=): Define.
5881 * stl/bits/stl_set.h (operator!=, operator<, operator<=,
5882 operator>=): Define.
5883 * stl/bits/stl_multiset.h (operator!=, operator<, operator<=,
5884 operator>=): Define.
5886 * bits/std_valarray.h (_Shift_left, _Shift_right): Inherit from
5889 1998-08-15 Nathan Myers <ncm@cantrip.org>
5891 * bits/ios_base.h: change nominal bitmask and enum types to real enums
5892 * bits/locfacets.h: make _Format_cache bool names usable by num_get
5893 * bits/locfacets.tcc: make num_get<>::get(... bool&) use _Format_cache
5894 * bits/std_fstream.h: minor cleanups: ctors delegate to open()
5895 * bits/std_iosfwd.h: more bitmask changes, for ios_base::iostate
5896 * bits/std_sstream.h: formatting cleanups
5898 1998-08-14 Nathan Myers <ncm@cantrip.org>
5900 * bits/locfacets.tcc: implement num_get<>::do_get(..., bool&)
5901 * bits/locfacets.tcc: implement time_get<>::do_get_weekday
5902 * bits/locfacets.tcc: implement time_get<>::do_get_monthname
5903 * bits/locfacets.h: fix missing argument in do_get_monthname
5904 (this is a bug in the standard, ref. 36 in my list.)
5905 * bits/locfacets.h: make month and day name caches mutable
5906 * bits/locfacets.tcc: various typos in get() functions
5907 * bits/sbuf_iter.h: fix omission in istreambuf_iterator::op++().
5908 * bits/std_streambuf.h: fix typo in sgetn (Brendan)
5910 1998-08-12 Nathan Myers <ncm@cantrip.org>
5911 * move streambuf iterators to bits/sbuf_iter.h
5912 * optimize streambuf iterators
5913 * begin generalizing streambuf
5914 * begin implementing num_get<>::get (starting with bool)
5915 * patch stl/bits/stl_config.h so that relops operators are
5916 contained properly, out of the way.
5918 1998-07-24 Nathan Myers <ncm@cantrip.org>
5919 * Fold in SGI 3.11 changes (uglified names, some algorithm
5920 improvements, very minor bug fixes.)
5921 * Uglify names elsewhere to match (s/_T/_Tp/).
5922 * Begin work on optimized streambuf
5923 * Put complex.cc in namespace std:: (thanks Martin)
5925 1998-07-17 Nathan Myers <ncm@cantrip.org>
5927 * bits/char_traits.h: add _Char_traits_match template.
5928 * bits/string.tcc: fix bugs in various find_last* members.
5929 * bits/basic_string.h: redeclare member _S_find.
5930 * stl/bits/stl_iterator.h: change member names in nonstandard
5931 templates bidirectional_reverse_iterator and
5932 random_access_reverse_iterator to match expected changes
5934 * src/string.cc: fix definitions of stream operators.
5936 1998-07-14 16:06 Ulrich Drepper <drepper@cygnus.com>
5938 * Makefile.am (SUBDIRS): Add string.
5940 * configure.in: Test for long double functions separately. Test for
5941 ISO C 89 float functions. Test for endian.h and sys/isa_defs.h.
5942 Generate string/Makefile.
5944 * bits/c++config.h: Define mbstate_t for Solaris.
5946 * bits/char_traits.h: Remove unused #if.
5948 * bits/std_cwchar.h: Declare wide char string functions.
5950 * m4/stringfcts.m4: New file.
5952 * math/complex-stub.h: Declare nan.
5953 * math/nan.c: New file.
5955 * math/mathconf.h: Hack around missing endian.h file.
5956 Handle missing NAN definition.
5957 Handle missing float math functions.
5959 * src/Makefile.am (libstdc___la_LIBADD): Add libstring.la.
5960 (libstdc___la_LDFLAGS): Set version information.
5962 * src/complexl.cc: Don't compile any code if no long double functions
5965 * string/Makefile.am: New file.
5966 * string/dummy.c: New file.
5967 * string/wmemchr.c: New file.
5968 * string/wmemcmp.c: New file.
5969 * string/wmemcpy.c: New file.
5970 * string/wmemmove.c: New file.
5971 * string/wmemset.c: New file.
5973 1998-07-14 10:45 Ulrich Drepper <drepper@cygnus.com>
5975 * configure.in: Make it work.
5976 * install-sh: New file.
5977 * missing: New file.
5978 * mkinstalldirs: New file.
5979 * m4/mathfcts.m4: New file.
5980 * math/Makefile.am: New file.
5982 * bits/std_complex.h (conj): Mark specializations as inline.
5984 * math/carg.c: New file.
5985 * math/cargf.c: New file.
5986 * math/cargl.c: New file.
5987 * math/mycabs.c: New file.
5988 * math/mycabsf.c: New file.
5989 * math/mycabsl.c: New file.
5990 * math/signbit.c: New file.
5991 * math/signbitf.c: New file.
5992 * math/signbitl.c: New file.
5994 * math/ccos.c: Avoid ISO C 9x functionality.
5995 * math/ccosf.c: Likewise.
5996 * math/ccosh.c: Likewise.
5997 * math/ccoshf.c: Likewise.
5998 * math/ccoshl.c: Likewise.
5999 * math/ccosl.c: Likewise.
6000 * math/cexp.c: Likewise.
6001 * math/cexpf.c: Likewise.
6002 * math/cexpl.c: Likewise.
6003 * math/clog.c: Likewise.
6004 * math/clog10.c: Likewise.
6005 * math/clog10f.c: Likewise.
6006 * math/clog10l.c: Likewise.
6007 * math/clogf.c: Likewise.
6008 * math/clogl.c: Likewise.
6009 * math/cpow.c: Likewise.
6010 * math/cpowf.c: Likewise.
6011 * math/cpowl.c: Likewise.
6012 * math/csin.c: Likewise.
6013 * math/csinf.c: Likewise.
6014 * math/csinh.c: Likewise.
6015 * math/csinhf.c: Likewise.
6016 * math/csinhl.c: Likewise.
6017 * math/csinl.c: Likewise.
6018 * math/csqrt.c: Likewise.
6019 * math/csqrtf.c: Likewise.
6020 * math/csqrtl.c: Likewise.
6021 * math/ctan.c: Likewise.
6022 * math/ctanf.c: Likewise.
6023 * math/ctanh.c: Likewise.
6024 * math/ctanhf.c: Likewise.
6025 * math/ctanhl.c: Likewise.
6026 * math/ctanl.c: Likewise.
6028 * math/complex-stub.h: New file.
6030 * math/mathconf.h: New file.
6032 * src/Makefile.am: New file.
6034 * src/complex.cc: Use mathconf.h instead of complex.h.
6035 Don't use cabs, always use __mycabs.
6037 1998-02-13 Brendan Kehoe <brendan@cygnus.com>
6039 * iterator (class reverse_iterator): Do some tweaks to be in sync