1 2000-12-21 Joseph S. Myers <jsm28@cam.ac.uk>
3 * acinclude.m4, configure.in, mkcheck.in,
4 testsuite/21_strings/ctor_copy_dtor.cc,
5 testsuite/21_strings/inserters_extractors.cc,
6 testsuite/23_containers/map_operators.cc,
7 testsuite/23_containers/vector_element_access.cc,
8 testsuite/25_algorithms/lower_bound.cc,
9 testsuite/27_io/ifstream_members.cc,
10 testsuite/27_io/istream_extractor_arith.cc,
11 testsuite/27_io/istream_unformatted.cc,
12 testsuite/27_io/ofstream_members.cc,
13 testsuite/27_io/ostream_inserter_char.cc,
14 testsuite/27_io/ostream_inserter_other.cc,
15 testsuite/27_io/ostream_manip.cc, testsuite/27_io/streambuf.cc:
16 Change sourceware.cygnus.com and sources.redhat.com URLs for
17 libstdc++ web pages and list archives to point to gcc.gnu.org
18 * aclocal.m4, configure: Regenerate.
20 2000-12-21 Gabriel Dos Reis <gdr@codesourcery.com>
22 * src/Makefile.am (sources): Remove complex.cc, complexf.cc and
23 complexl.cc from list.
24 * src/Makefile.in: Regenerate.
25 * src/complex.cc: Remove.
26 * src/complexf.cc: Likewise.
27 * src/complexl.cc: Likewise.
29 * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove csqrtl.c
30 (EXTRA_DIST): Remove csqrt.c and csqrtf.c.
31 * libmath/Makefile.in: Regenerate.
32 * libmath/complex-stub.h: Remove.
33 * libmath/csqrt.c: Likewise.
34 * libmath/sqrtf.c: Likewise.
35 * libmath/sqrtl.c: Likewise.
36 * libmath/mathconf.h: Remove <complex.h> and "complex-stub.h"
39 * include/bits/std_complex.h (sqrt<>): Define primary template.
40 (complex<>): Remove sqrt friend declarations.
42 * configure.in: Initialize with src/ios.cc.
43 * configure: Regenerate.
44 * acinclude.m4: Remove check for csqrt* and <complex.h>
45 * aclocal.m4: Regenerate.
46 * config.h.in: Regenerate.
47 * Makefile.in: Regenerate.
49 2000-12-20 Phil Edwards <pme@sources.redhat.com>
51 * acinclude.m4 (SECTION_FLAGS, OPT_LDFLAGS): Fix minor thinko.
52 * aclocal.m4: Regenerate.
55 * libio/Makefile.in: Ditto.
56 * libmath/Makefile.in: Ditto.
57 * libsupc++/Makefile.in: Ditto.
58 * src/Makefile.in: Ditto.
60 * include/bits/istream.tcc: Fix clause reference in comment.
62 2000-12-20 Benjamin Kosnik <bkoz@fillmore.constant.com>
64 * testsuite/17_intro/headers_c.cc (main): New file.
66 * acinclude.m4 (SECTION_FLAGS): Only set if --enable-debug is not
68 (OPT_LDFLAGS): And here.
69 * aclocal.m4: Regenerate.
70 * configure: Regenerate.
72 2000-12-19 Curtis Janssen <cljanss@ca.sandia.gov>
74 * src/ios.cc (ios_base::_M_grow_words(int ix)): Fix libstdc++/1089.
75 * testsuite/27_io/ios_base_storage.cc (test01): New file.
77 2000-12-19 Benjamin Kosnik <bkoz@fillmore.constant.com>
79 * configure.in: Don't turn on long long by default.
80 (gxx_target_include_dir): Adjuse comment.
81 * configure: Regenerate.
82 * include/c/bits/std_cstdio.h: Remove c++config.h include.
83 * src/locale.cc: Formatting tweaks.
84 * testsuite/22_locale/ctype.cc (char<unsigned char>): Provide
87 2000-12-19 Loren J. Rittle <ljrittle@acm.org>
89 * testsuite/22_locale/ctype.cc (test01): Correct ~ operator usage.
91 2000-12-19 Mark Kettenis <kettenis@gnu.org>
93 * configure.target: Support the Hurd.
95 2000-12-19 Benjamin Kosnik <bkoz@fillmore.redhat.com>
97 * config/os/solaris/solaris2.5/bits/ctype_inline.h (is): Same.
98 * config/os/solaris/solaris2.6/bits/ctype_inline.h (is): Same.
99 * config/os/solaris/solaris2.7/bits/ctype_inline.h (is): Same.
100 * config/os/newlib/bits/ctype_inline.h (is): Same.
101 * config/os/irix/bits/ctype_inline.h (is): Same.
102 * config/os/bsd/netbsd/bits/ctype_inline.h (is): Same.
103 * config/os/bsd/freebsd/bits/ctype_inline.h (is): Same.
104 * config/os/aix/bits/ctype_inline.h (is): Same.
105 * config/os/gnu-linux/bits/ctype_inline.h (is): Revert.
106 * config/os/generic/bits/ctype_inline.h (is): Non-table based
109 * testsuite/22_locale/ctype_char_members.cc (test01): Use binary
111 (test01): Check 'A' for alnum, upper, alpha.
113 2000-12-19 Gabriel Dos Reis <gdr@codesourcery.com>
115 * include/bits/std_complex.h (complex<float>::operator-=): Fix
118 2000-12-18 Benjamin Kosnik <bkoz@redhat.com>
120 * configure.in: Set os_include_dir for cross_compiles.
121 * configure: Regenerate.
122 * configure.target (l_glibcpp_cxxflags): Don't try to be clever
123 when assigning ATOMICITYH. Only special case the special cases...
125 2000-12-18 Joseph S. Myers <jsm28@cam.ac.uk>
127 * docs/html/17_intro/COPYING: Update to current
128 ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes references
129 to 19yy as example year in copyright notice).
131 2000-12-15 Benjamin Kosnik <bkoz@redhat.com>
133 * configure.in (gxx_target_include_dir): Install target-dependent
134 include files in a target-dependent place.
135 * configure: Regenerate.
136 * src/Makefile.am: Add in support here.
137 * src/Makefile.in: Regenerate.
139 2000-12-14 Benjamin Kosnik <bkoz@fillmore.redhat.com>
141 * src/Makefile.am (myinstallheaders): Install backwards headers in
142 prefix, not prefix/backward.
143 * src/Makefile.in: Regenerate.
145 2000-12-14 Benjamin Kosnik <bkoz@haight.redhat.com>
147 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Revert changes
148 touching copysignf, atan2f, expf.
149 (GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT): Add it back here.
150 * aclocal.m4: Regenerate.
151 * configure: Regenerate.
153 2000-12-14 Benjamin Kosnik <bkoz@fillmore.redhat.com>
155 * configure.in (CXX): Exit out if mknumeric_limits fails.
156 * mknumeric_limits (CXX): Use BUILD_DIR/g++, not g++ in
157 path. Consistency with tests_flags.in.
159 2000-12-14 Benjamin Kosnik <bkoz@haight.redhat.com>
161 * include/c/bits/*.h: Remove include_next, replace with include,
162 as include_next does not work host-x-host, and include_next not
165 2000-12-13 Benjamin Kosnik <bkoz@redhat.com>
167 * include/bits/locale_facets.h (ctype<char>): Remove throw specs not in
168 base class signature.
169 * config/os/*/bits/ctype_inline.h (is): Same.
171 2000-12-13 Benjamin Kosnik <bkoz@redhat.com>
173 * config/os/generic/bits/ctype_base.h (ctype_base): Consistency
175 * config/os/generic/bits/ctype_inline.h (is): Same.
176 * config/os/solaris/solaris2.5/bits/ctype_inline.h (is): Same.
177 * config/os/solaris/solaris2.5/bits/ctype_base.h: Same.
178 * config/os/solaris/solaris2.6/bits/ctype_inline.h (is): Same.
179 * config/os/solaris/solaris2.6/bits/ctype_base.h: Same.
180 * config/os/solaris/solaris2.7/bits/ctype_inline.h (is): Same.
181 * config/os/solaris/solaris2.7/bits/ctype_base.h: Same.
182 * config/os/irix/bits/ctype_inline.h (is): Same.
183 * config/os/irix/bits/ctype_base.h (ctype_base): Same.
184 * config/os/aix/bits/ctype_inline.h (is): Same.
185 * config/os/aix/bits/ctype_base.h (ctype_base): Same.
186 * config/os/bsd/netbsd/bits/ctype_inline.h (is): Same.
187 * config/os/bsd/netbsd/bits/ctype_base.h (ctype_base): Same.
188 * config/os/bsd/freebsd/bits/ctype_base.h (ctype_base): Same.
189 * config/os/bsd/freebsd/bits/ctype_inline.h (is): Same.
190 * config/os/newlib/bits/ctype_inline.h (is): Same.
191 * config/os/newlib/bits/ctype_base.h (ctype_base): Same.
193 * testsuite/22_locale/ctype_char_members.cc (test01): Add tests, fix.
194 * testsuite/22_locale/ctype.cc (test01): Add tests for
195 ctype_base::mask bitmask features.
196 * src/locale.cc: Define const static data for ctype_base.
197 * config/os/gnu-linux/bits/ctype_base.h (ctype_base): Make
198 ctype_base::mask type an integer type, not an enum.
199 * config/os/gnu-linux/bits/ctype_inline.h (is): Implement correctly.
200 * include/bits/locale_facets.h: Tweaks.
202 * include/bits/ios_base.h: Formatting tweaks.
204 * docs/html/17_intro/C++STYLE: Add.
206 2000-12-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
208 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Don't link ctype
210 * configure.in: Rather, do it once for all targets here. Clean up
211 canadian cross and cross compile targets for linux-targeted
213 * configure: Regenerate.
214 * aclocal.m4: Regnerate.
215 * acconfig.h: Add more defines.
216 * config.h.in: Regenerate.
218 2000-12-12 Angela Marie Thomas <angela@cygnus.com>
220 * configure.in: Fix case for host-x-linux
221 * configure: Regenerate.
223 2000-12-10 Alexandre Petit-Bianco <apbianco@cygnus.com>
225 * src/Makefile.am (libstdc++.INC:): 2000-12-05 reverted to include
227 * src/Makefile.in: Rebuilt.
229 2000-12-09 Jason Merrill <jason@redhat.com>
231 * testsuite/20_util/auto_ptr.cc (test07): Remove test that tries
232 to copy-initialize an auto_ptr<Base> from an auto_ptr<Derived>; it
233 isn't supposed to work anymore.
235 2000-12-09 Phil Edwards <pme@sources.redhat.com>
237 Move the HTML-containing subdirs from 'docs' to 'docs/html'.
238 * README: Update the locations of instructions.
239 * docs/doxygen/run_doxygen: New file, stub.
241 * docs/Makefile: Moved...
242 * docs/configopts.html: Likewise.
243 * docs/documentation.html: Likewise.
244 * docs/install.html: Likewise.
245 * docs/lib3styles.css: Likewise.
246 * docs/17_intro/BADNAMES: Likewise.
247 * docs/17_intro/BUGS: Likewise.
248 * docs/17_intro/C++STYLE: Likewise.
249 * docs/17_intro/CHECKLIST: Likewise.
250 * docs/17_intro/COPYING: Likewise.
251 * docs/17_intro/DESIGN: Likewise.
252 * docs/17_intro/HEADER_POLICY: Likewise.
253 * docs/17_intro/PROBLEMS: Likewise.
254 * docs/17_intro/RELEASE-NOTES: Likewise.
255 * docs/17_intro/TODO: Likewise.
256 * docs/17_intro/contribute.html: Likewise.
257 * docs/17_intro/headers_cc.txt: Likewise.
258 * docs/17_intro/howto.html: Likewise.
259 * docs/17_intro/libstdc++-assign.txt: Likewise.
260 * docs/17_intro/organization: Likewise.
261 * docs/17_intro/porting-howto.html: Likewise.
262 * docs/18_support/howto.html: Likewise.
263 * docs/19_diagnostics/howto.html: Likewise.
264 * docs/20_util/howto.html: Likewise.
265 * docs/21_strings/gotw29a.txt: Likewise.
266 * docs/21_strings/howto.html: Likewise.
267 * docs/21_strings/stringtok_h.txt: Likewise.
268 * docs/21_strings/stringtok_std_h.txt: Likewise.
269 * docs/22_locale/codecvt.html: Likewise.
270 * docs/22_locale/ctype.html: Likewise.
271 * docs/22_locale/howto.html: Likewise.
272 * docs/22_locale/locale.html: Likewise.
273 * docs/23_containers/howto.html: Likewise.
274 * docs/23_containers/wrappers_h.txt: Likewise.
275 * docs/24_iterators/howto.html: Likewise.
276 * docs/25_algorithms/howto.html: Likewise.
277 * docs/26_numerics/howto.html: Likewise.
278 * docs/27_io/howto.html: Likewise.
279 * docs/27_io/iostreams_hierarchy.pdf: Likewise.
280 * docs/ext/howto.html: Likewise.
281 * docs/faq/index.html: Likewise.
282 * docs/faq/index.txt: Likewise.
283 * docs/html/Makefile: ...to here.
284 * docs/html/configopts.html: Likewise.
285 * docs/html/documentation.html: Likewise.
286 * docs/html/install.html: Likewise.
287 * docs/html/lib3styles.css: Likewise.
288 * docs/html/17_intro/BADNAMES: Likewise.
289 * docs/html/17_intro/BUGS: Likewise.
290 * docs/html/17_intro/C++STYLE: Likewise.
291 * docs/html/17_intro/CHECKLIST: Likewise.
292 * docs/html/17_intro/COPYING: Likewise.
293 * docs/html/17_intro/DESIGN: Likewise.
294 * docs/html/17_intro/HEADER_POLICY: Likewise.
295 * docs/html/17_intro/PROBLEMS: Likewise.
296 * docs/html/17_intro/RELEASE-NOTES: Likewise.
297 * docs/html/17_intro/TODO: Likewise.
298 * docs/html/17_intro/contribute.html: Likewise.
299 * docs/html/17_intro/headers_cc.txt: Likewise.
300 * docs/html/17_intro/howto.html: Likewise.
301 * docs/html/17_intro/libstdc++-assign.txt: Likewise.
302 * docs/html/17_intro/organization: Likewise.
303 * docs/html/17_intro/porting-howto.html: Likewise.
304 * docs/html/18_support/howto.html: Likewise.
305 * docs/html/19_diagnostics/howto.html: Likewise.
306 * docs/html/20_util/howto.html: Likewise.
307 * docs/html/21_strings/gotw29a.txt: Likewise.
308 * docs/html/21_strings/howto.html: Likewise.
309 * docs/html/21_strings/stringtok_h.txt: Likewise.
310 * docs/html/21_strings/stringtok_std_h.txt: Likewise.
311 * docs/html/22_locale/codecvt.html: Likewise.
312 * docs/html/22_locale/ctype.html: Likewise.
313 * docs/html/22_locale/howto.html: Likewise.
314 * docs/html/22_locale/locale.html: Likewise.
315 * docs/html/23_containers/howto.html: Likewise.
316 * docs/html/23_containers/wrappers_h.txt: Likewise.
317 * docs/html/24_iterators/howto.html: Likewise.
318 * docs/html/25_algorithms/howto.html: Likewise.
319 * docs/html/26_numerics/howto.html: Likewise.
320 * docs/html/27_io/howto.html: Likewise.
321 * docs/html/27_io/iostreams_hierarchy.pdf: Likewise.
322 * docs/html/ext/howto.html: Likewise.
323 * docs/html/faq/index.html: Likewise.
324 * docs/html/faq/index.txt: Likewise.
326 2000-12-08 Phil Edwards <pme@sources.redhat.com>
328 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): New conditional,
329 GLIBCPP_BUILD_LIBIO, true iff building libio.
330 * libio/Makefile.am: Use; set noinst_LTLIBRARIES empty if false.
331 * aclocal.m4: Regenerated.
332 * config.h.in: Regenerated.
333 * configure: Regenerated.
334 * libio/Makefile.in: Regenerated.
335 * libmath/Makefile.in: Regenerated.
337 2000-12-08 Gabriel Dos Reis <gdr@codesourcery.com>
339 * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove ccosl,
340 cexpl, clog10l, csinhl, ctanhl, ctanl.
341 (EXTRA_DIST): Remove ccos, ccosf, csin, csinf, ccosh, ccoshf,
342 csing, csinhf, clog10, clog10f, ctan, ctanf, ctanh, ctanhf.
343 * libmath/Makefile.in: Regenarate.
344 * libmath/ccos.c: Remove.
345 * libmath/ccosf.c: Likewise.
346 * libmath/ccosl.c: Likewise.
347 * libmath/csin.c: Likewise.
348 * libmath/csinf.c: Likewise.
349 * libmath/csinl.c: Likewise.
350 * libmath/ctan.c: Likewise.
351 * libmath/ctanf.c: Likewise.
352 * libmath/ctanl.c: Likewise.
353 * libmath/ccosh.c: Likewise.
354 * libmath/ccoshf.c: Likewise.
355 * libmath/ccoshl.c: Likewise.
356 * libmath/csinh.c: Likewise.
357 * libmath/csinhf.c: Likewise.
358 * libmath/csinhl.c: Likewise.
359 * libmath/ctanh.c: Likewise.
360 * libmath/ctanhf.c: Likewise.
361 * libmath/ctanhl.c: Likewise.
362 * libmath/cexp.c: Likewise.
363 * libmath/cexpf.c: Likewise.
364 * libmath/cexpl.c: Likewise.
365 * libmath/clog10.c: Likewise.
366 * libmath/clog10f.c: Likewise.
367 * libmath/clog10l.c: Likewise.
368 * libmath/complex-stub.h: Remove forward declaration of functions
371 * include/bits/std_complex.h(tan, tanh): Define primary templates.
372 (complex<>): Remove friend declarations for tan<> and tanh<>.
373 * src/complex.cc(tan, tanh): Remove specializations.
375 * acinclude.m4: Remove check for ccos, ccosf, ccosl, ccosh,
376 ccoshf, ccoshl, csin, csinf, csinl, csinh, csinhf, csinhl, cexp,
377 cexpf, cexpl, ctan, ctanf, ctanl, ctanh, ctanhf, ctanhl.
378 * aclocal.m4: Regenarate.
379 * configure: Regenarate.
381 2000-12-08 Gabriel Dos Reis <gdr@codesourcery.com>
383 * acinclude.m4: Don't forget to remove check for cpowl as it is no
384 longer needed, nor is the corresponding stub existent.
385 * aclocal.m4: Regenarate.
386 * configure: Regenarate.
388 2000-12-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
390 * config/os/generic/bits/ctype_base.h (ctype_base): Change space mask.
392 * config/os/generic/bits/ctype_noninline.h (ctype): Remove default
393 arguments in definition.
394 * config/os/solaris/solaris2.7/bits/ctype_noninline.h (ctype): Same.
395 * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
396 * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
397 * config/os/newlib/bits/ctype_noninline.h (ctype): Same.
398 * config/os/irix/bits/ctype_noninline.h (ctype): Same.
399 * config/os/hpux/bits/ctype_noninline.h (ctype): Same.
400 * config/os/bsd/netbsd/bits/ctype_noninline.h (ctype): Same.
401 * config/os/bsd/freebsd/bits/ctype_noninline.h (ctype): Same.
402 * config/os/aix/bits/ctype_noninline.h (ctype): Same.
404 * include/bits/locale_facets.h: Tweak.
406 2000-12-06 Benjamin Kosnik <bkoz@kredhat.com>
408 * include/bits/locale_facets.h (ctype): Remove _Ctype_nois and
409 _Ctype and replace with common __ctype_abstract_base.
410 (ctype<wchar_t>::_M_convert_to_wmask): Move to locale.cc.
411 * config/os/gnu-linux/bits/ctype_noninline.h (ctype<char>::ctype):
413 * config/os/solaris/solaris2.7/bits/ctype_noninline.h (ctype): Same.
414 * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
415 * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
416 * config/os/newlib/bits/ctype_noninline.h (ctype): Same.
417 * config/os/irix/bits/ctype_noninline.h (ctype): Same.
418 * config/os/hpux/bits/ctype_noninline.h (ctype): Same.
419 * config/os/generic/bits/ctype_noninline.h (ctype): Same.
420 * config/os/aix/bits/ctype_noninline.h (ctype): Same.
421 * config/os/bsd/netbsd/bits/ctype_noninline.h (ctype): Same.
422 * config/os/bsd/freebsd/bits/ctype_noninline.h (ctype): Same.
423 * src/locale-inst.cc: Clean instantiations.
424 * src/locale.cc (ctype<char>): Add definitions here.
425 (ctype<wchar_t>::_M_wmask): Move definitions here.
427 * config/os/generic/bits/ctype_inline.h (ctype<char>::is):
428 Implement in a generic way, with only "C" functionality and no
429 knowlege of the target os.
430 * config/os/generic/bits/os_defines.h: Change comments to C++ style.
431 * testsuite/22_locale/ctype_char_members.cc (test01): Add tests.
433 * include/bits/codecvt.h (ctype_byname): Remove specializations,
435 * include/bits/localefwd.h (codecvt_byname): And here.
436 * src/codecvt.cc: Remove codecvt_byname specializations.
438 * include/c/bits/std_cstdio.h: Include c++config.h.
440 2000-12-06 Phil Edwards <pme@sources.redhat.com>
442 * acinclude.m4 (GLIBCPP_CHECK_*_DECL_AND_LINKAGE_*): Pre-test
443 whether the cached result is present.
444 * aclocal.m4: Regenerate.
445 * configure: Regenerate.
446 * Makefile.in: Regenerate.
447 * libio/Makefile.in: Regenerate.
448 * libmath/Makefile.in: Regenerate.
449 * libsupc++/Makefile.in: Regenerate.
450 * src/Makefile.in: Regenerate.
452 2000-12-06 Richard Earnshaw <rearnsha@arm.com>
454 * configure.target (*-*-freebsd, *-*-netbsd): Correct paths to
457 2000-12-05 Jeffrey A Law <law@cygnus.com>
459 * configure.target (hpux): Set os_include_dir.
460 * config/os/hpux/bits/ctype_base.h: New file
461 * config/os/hpux/bits/ctype_inline.h: New file
462 * config/os/hpux/bits/ctype_noinline.h: New file
463 * config/os/hpux/bits/os_defines.h: New file
465 2000-12-05 Alexandre Petit-Bianco <apbianco@redhat.com>
467 * src/Makefile.am (libstdc++.INC): Revert for libjava builds.
468 * src/Makefile.in: Regenerate.
470 2000-12-05 Benjamin Kosnik <bkoz@haight.redhat.com>
472 * acinclude.m4 (EXTRA_CXX_FLAGS): And here.
473 * include/c/bits/std_cstdlib.h (std ): Change macro to
474 _GLIBCPP_NEED_LLDIV_T.
475 * acconfig.h: Remove unused MBSTATE_T bits.
476 * configure.in: Same.
477 * aclocal.m4: Regenerate.
478 * configure: Regenerate.
479 * config.h.in: Regenerate.
481 2000-12-05 Benjamin Kosnik <bkoz@fillmore.redhat.com>
483 * acinclude.m4: Change up to reflect new directory organization.
484 Add in bits for NetBSD.
485 * aclocal.m4: Regenerate.
486 * configure: Regenerate.
487 * config/os/bsd: New directory.
488 * config/os/netbsd: Move to...
489 * config/os/bsd/netbsd: ...here.
490 * config/os/freebsd: Move to...
491 * config/os/bsd/freebsd: ...here.
493 2000-12-05 Benjamin Kosnik <bkoz@haight.redhat.com>
495 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Check for
496 lldiv_t. Allow the use of os-specific defines while checking for
497 long-long functions by the inclusion of os_defines.h.
498 * aclocal.m4: Regenerate.
499 * configure.in: Add comments.
500 * configure: Regenerate.
501 * acconfig.h: Add _GLIBCPP_HAVE_LLDIV_T.
502 * config.h.in: Regenerate.
503 * config/os/gnu-linux/bits/os_defines.h: Fix typos and
504 duplications in comments.
506 2000-12-05 Richard Earnshaw <rearnsha@arm.com>
508 * config/os/freebsd/bits/ctype_base.h: Update comments about other
511 2000-12-05 Richard Earnshaw <rearnsha@arm.com>
513 * config/os/freebsd/bits/*.h: Move here from config/os/bsd/bits.
514 * aclocal.m4: Adjust accordingly.
515 * configure.target: Likewise.
516 * configure: Regenerate.
518 2000-12-05 Richard Earnshaw <rearnsha@arm.com>
520 * config/cpu/arm/bits/atomicity.h: Add support for compiling Thumb
523 2000-12-05 Richard Earnshaw <rearnsha@arm.com>
526 * aclocal.m4: Add test for NetBSD's ctype support.
527 * configure: Regenerate.
528 * configure.target: Support NetBSD.
529 * config/os/netbsd/bits/ctype_base.h: New file.
530 * config/os/netbsd/bits/ctype_inline.h: New file.
531 * config/os/netbsd/bits/ctype_noinline.h: New file.
532 * config/os/netbsd/bits/os_defines.h: New file.
534 2000-12-05 Gabriel Dos Reis <gdr@codesourcery.com>
536 * src/complex.cc (pow): Remove definitions for explicit
538 * libmath/mathconf.h: Remove declarations for c_log, c_logf,
540 * libmath/complex-stub.h: Remove declarations for cpow, cpowf,
542 * libmath/cpow.c: Remove.
543 * libmath/cpowf.c: Remove.
544 * libmath/cpowl.c: Remove.
545 * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove c_logl,
547 (EXTRA_DIST): Remove c_log, c_logf, carg, cargf.
548 * libmath/Makefile.in: Regenarate.
549 * libmath/c_log.c: Remove
550 * libmath/c_logf.c: Likewise.
551 * libmath/c_logl.c: Likewise.
552 * libmath/carg.c: Likewise.
553 * libmath/cargf.c: Likewise.
554 * libmath/cargl.c: Likewise.
555 * include/bits/std_complex.h (pow): Define primary templates.
556 (complex<>): Remove friend declarations for pow<>().
557 * acinclude.m4: Remove check for c_log, c_logf, c_logl, carg,
559 * aclocal.m4: Regenarate.
560 * configure: Regenarate.
562 2000-12-03 Joseph S. Myers <jsm28@cam.ac.uk>
564 * docs/configopts.html, docs/documentation.html,
565 docs/install.html, docs/17_intro/BADNAMES,
566 docs/17_intro/contribute.html, docs/17_intro/howto.html,
567 docs/18_support/howto.html, docs/19_diagnostics/howto.html,
568 docs/20_util/howto.html, docs/21_strings/howto.html,
569 docs/22_locale/howto.html, docs/23_containers/howto.html,
570 docs/24_iterators/howto.html, docs/25_algorithms/howto.html,
571 docs/26_numerics/howto.html, docs/27_io/howto.html,
572 docs/ext/howto.html, docs/faq/index.html, docs/faq/index.txt: Sync
575 2000-12-01 Phil Edwards <pme@sources.redhat.com>
577 * docs/download.html: Remove.
578 * docs/footer.ihtml: Remove.
579 * docs/header.ihtml: Remove.
580 * docs/index.html: Remove.
581 * docs/links.html: Remove.
582 * docs/mail.html: Remove.
583 * docs/status.html: Remove.
584 * docs/thanks.html: Remove.
586 2000-12-01 Phil Edwards <pme@sources.redhat.com>
588 * mkcheck.in: Count static and shared results separately.
590 2000-12-01 Loren J. Rittle <ljrittle@acm.org>
592 * mkcheck.in: Correct typo.
594 2000-12-01 Gabriel Dos Reis <gdr@codesourcery.com>
596 * src/cmath.cc: Remove.
597 * src/Makefile.am (c_base_headers): Add bits/cmath.tcc.
598 (sources): Remove cmath.cc
599 * src/Makefile.in: Regenerate.
601 * include/c/bits/std_cmath.h (__cmath_power<>): Declare.
602 (__cmath_abs<>): New function.
603 (abs, fabs): Use __cmath_abs when no direct support is available.
604 (__pow_helper<>): New function.
605 (pow): Define here. Use __pow_helper<>.
607 * include/c/bits/cmath.tcc: New file.
609 2000-11-29 Benjamin Kosnik <bkoz@redhat.com>
611 Fixes for build directories with colons, AIX build problems.
612 * src/Makefile.am: Cleanups, add documentation.
613 (libstdc++.INC): Simplify rule.
614 (myinstallheaders): Consolidate install rules.
615 (myinstalldirs): New, make directores.
616 (base_headers): Subdivide based on install directory.
618 (backward_headers): New.
620 (c_headers): Remove, unused.
621 (c_shadow_headers): Split up, deal with conditional usage in a
623 * src/Makefile.in: Regenerate.
625 2000-11-29 Phil Edwards <pme@sources.redhat.com>
627 Sync with the documentation from wwwdocs.
628 * docs/Makefile: New file (rebuilds FAQ text version).
629 * docs/configopts.html: Update.
630 * docs/documentation.html: Update.
631 * docs/download.html: Update.
632 * docs/index.html: Update.
633 * docs/install.html: Update.
634 * docs/links.html: Update.
635 * docs/mail.html: Update.
636 * docs/status.html: Update.
637 * docs/thanks.html: Update.
638 * docs/27_io/howto.html: Update.
639 * docs/faq/index.html: Update for 2.91.
640 * docs/faq/index.txt: Update for 2.91.
641 * docs/footer.html: Removed.
642 * docs/footer.ihtml: New file.
643 * docs/gccrebuild.html: Removed.
644 * docs/header.html: Removed.
645 * docs/header.ihtml: New file.
647 2000-11-29 Loren J. Rittle <ljrittle@acm.org>
649 * tests_flags.in: Correct typo.
651 2000-11-29 Gabriel Dos Reis <gdr@codesourcery.com>
653 * tests_flags (SH_FLAGS, ST_FLAGS): Move them back to ...
654 * mkcheck.in (SH_FLAGS, ST_FLAGS): ...here
656 2000-11-29 Gabriel Dos Reis <gdr@codesourcery.com>
658 * src/Makefile.am (sources): Add bitset.cc
659 * src/Makefile.in: Regenrate.
661 * include/bits/std_bitset.h (_GLIBCPP_BITSET_BITS_PER_WORD): New
662 macro. Replace __BITS_PER_WORDS throughout.
663 (__BITS_PER_WORDS): Remove.
664 (bitset<>::_M_do_find_first, bitset<>::_M_do_find_next): Move
665 definitions to src/bitset.cc.
667 * src/bitset.cc (bitset<>::_M_do_find_first,
668 bitset<>::_M_do_find_next): Define here.
669 (_Bit_count<>::_S_bit_count, _Find_one<>::_S_first_one): Define
670 here. Explicitly instantiate definitions.
672 2000-11-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
674 * config/cpu/powerpc/bits/atomicity.h (__exchange_and_add): Silence
675 preprocessor multi-line string warnings.
676 (__atomic_add): Likewise.
677 (__compare_and_swap): Likewise.
678 (__always_swap): Likewise.
679 (__test_and_set): Likewise.
680 * config/cpu/arm/bits/atomicity.h (__exchange_and_add): Likewise.
681 (__atomic_add): Likewise.
682 (__compare_and_swap): Likewise.
683 (__always_swap): Likewise.
684 (__test_and_set): Likewise.
686 2000-11-28 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
688 Update for 2.91 release.
689 * include/bits/c++config (__GLIBCPP__): Update.
690 * docs/17_intro/RELEASE-NOTES: Update.
691 * docs/status.html: Update, remove bogus autotools disinformation.
693 2000-11-27 Benjamin Kosnik <bkoz@redhat.com>
695 * tests_flags.in (LTCXX): Change CXX_FLAG to CXXFLAGS.
697 * testsuite/22_locale/ctor_copy_dtor.cc: Adjust formatting.
698 * testsuite/27_io/istream_extractor_arith.cc (test11): New
699 testcase, based on libstdc++/90.
701 2000-11-27 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
703 * config/cpu/arm/bits/atomicity.h (__exchange_and_add): Add
705 (__atomic_add): Likewise.
706 (__compare_and_swap): Likewise.
707 (__always_swap): Likewise.
708 (__test_and_set): Likewise.
710 * config/cpu/powerpc/bits/atomicity.h: Replace '__ATOMICITY_INLINE'
712 (__exchange_and_add): Add __volatile__ to asm.
713 (__atomic_add): Likewise.
714 (__compare_and_swap): Likewise.
715 (__always_swap): Likewise.
716 (__test_and_set): Likewise.
718 2000-11-27 Gabriel Dos Reis <gdr@codesourcery.com>
720 * tests_flags.in: Update documentation to reflect the change
723 2000-11-26 Benjamin Kosnik <bkoz@fillmore.constant.com>
725 * tests_flags.in: Export CXX, CXXFLAGS.
726 * mkcheck.in: Grab them.
728 2000-11-26 David Billinghurst <David.Billinghurst@riotinto.com>
729 Benjamin Kosnik <bkoz@redhat.com>
731 * mkcheck.in: Add exe extension to printnow executable, abstract
732 out call to this with TIMER_COMMAND.
733 * configure.target (l_glibcpp_cxxflags): Add cygwin support.
734 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Correct paths.
735 * aclocal.m4: Regenerate.
736 * configure: Regenerate.
738 2000-11-26 Benjamin Kosnik <bkoz@redhat.com>
740 * testsuite/27_io/istream_unformatted.cc (test05): Fixup.
742 2000-11-26 Benjamin Kosnik <bkoz@redhat.com>
744 * acinclude.m4: Only sanity check for compiler version when
745 configuring. More fixes for 'make clean'.
746 * aclocal.m4: Regenerate.
747 * configure: Regenerate.
749 2000-11-26 Gabriel Dos Reis <gdr@codesourcery.com>
751 * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove cabsl.c
752 * libmath/Makefile.in: Regenerate.
753 * libmath/cabs.c: Remove.
754 * libmath/cabsf.c: Likewise.
755 * libmath/cabsl.c: Likewise.
756 * libmath/complex-stub.h: Remove declarations for cabs*.
758 * acinclude.m4: Remove check for cabs*.
759 * aclocal.m4: Regenerate.
761 * Makefile.in: Regenerate.
763 2000-11-26 Gabriel Dos Reis <gdr@codesourcery.com>
765 * tests_flags.in: New file. Split out of ...
766 * mkcheck.in: ... this. Move flags computation into
768 * configure.in: Add support for tests_flags.
769 * confiigure: Regenerate.
771 2000-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
773 * acinclude.m4: Change C9X references to refer to C99.
774 * aclocal.m4, configure: Regenerate.
775 * config/os/gnu-linux/bits/os_defines.h, src/complex.cc,
776 testsuite/22_locale/codecvt_wchar_t_char.cc,
777 include/bits/stl_config.h, include/c/bits/std_cwchar.h,
778 libmath/mathconf.h: Change C9X references to refer to C99.
780 2000-11-25 Benjamin Kosnik <bkoz@redhat.com>
781 Richard Earnshaw <rearnsha@arm.com>
783 * src/Makefile.am (INCLUDES): Remove unconditional use of
784 _GNU_SOURCE and _ISOC99_SOURCE macros.
785 * src/Makefile.in: Regenerate.
787 2000-11-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
789 * testsuite/22_locale/codecvt_wchar_t_char.cc (main): Add
790 _GLIBCPP_USE_WCHAR_T guards.
792 * configure.in (AC_OUTPUT_COMMANDS): Remove, just run scripts as
793 is, so that checks for existence of generated files actually work.
794 * configure: Regenerate.
796 2000-11-23 Hans-Peter Nilsson <hp@bitrange.com>
798 * config/os/gnu-linux/bits/os_defines.h: Include <features.h>.
799 If not glibc 2.1 or higher, include <gnu/types.h> and define
800 __off64_t as __loff_t and #define __THROW as empty.
802 * libio/libio.h [__P]: Move __THROW and __PMT into their own
805 2000-11-23 David Edelsohn <edelsohn@gnu.org>
807 * porting.texi: Expand libtool information.
809 2000-11-23 Gabriel Dos Reis <gdr@codesourcery.com>
811 * include/bits/ios_base.h (ios_base::failure::~failure,
812 ios_base::failure::what): Move defintion to ...
814 * src/ios.cc (ios_base::failure::~failure): ... here.
815 src/ios.cc (ios::failure::what): Likewise.
817 2000-11-22 Benjamin Kosnik <bkoz@redhat.com>
819 Make deprecated strstream header consistent with new and new.h.
820 * include/backward/strstream.h: Add. Use using declarations to
821 scope strstreambuf, istrstream, ostrstream, strstream to global
823 * include/backward/strstream: Remove using declarations.
824 * src/Makefile.am (base_headers): Add strstream.
825 * src/Makefile.in: Regenerate.
827 * include/backward/new.h (_CPP_BACKWARD_NEW_H): Change macro guard
828 to be consistent with other headers.
830 2000-11-22 Richard Henderson <rth@redhat.com>
832 * config/os/bsd/bits/ctype_inline.h (is): Fix order of expressions.
834 2000-11-22 Phil Edwards <pme@sources.redhat.com>
836 * porting.texi: Minor tweaks to vocabulary.
838 2000-11-22 Loren J. Rittle <ljrittle@acm.org>
840 * include/backward/strstream.h: Reinstate the `using'
843 2000-11-22 Loren J. Rittle <ljrittle@acm.org>
845 * src/Makefile.am (base_headers): Add missing backwards headers.
846 * src/Makefile.in: Regenerate.
848 2000-11-21 scott snyder <snyder@fnal.gov>
850 * config/c_io_stdio.cc (seekoff): Fix return value.
852 (sys_seek): Likewise.
854 2000-11-21 Loren J. Rittle <ljrittle@acm.org>
856 * mkcheck.in (explanation): Retain output of all failing
857 compiles. Don't add gratuitous space to the log file.
859 2000-11-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
861 * src/strstream.cc: Adjust includes.
862 * src/Makefile.am (base_headers): Remove std_strstream.h, add
863 backwards/strstream.h.
864 (std_headers): Remove strstream.
865 * src/Makefile.in: Regenerate.
866 * libsupc++/Makefile.am (headers): Remove new.h
867 * libsupc++/Makefile.in: Regenerate.
868 * include/std/strstream: Remove.
869 * include/backward/strstream.h: Replace with...
870 * include/bits/std_strstream.h: ...this. Move.
871 * include/backward/complex.h: Remove SGIisms.
872 * include/backward/streambuf.h: Same.
873 * include/backward/stream.h: Same.
874 * include/backward/ostream.h: Same.
875 * include/backward/istream.h: Same.
876 * include/backward/iostream.h: Same.
877 * include/backward/iomanip.h: Same.
878 * include/backward/fstream.h: Same.
879 * libsupc++/new.h: Add using declarations for bad_alloc,
880 nothrow_t, and nothrow, move to ...
881 * include/backward/new.h: ...here.
883 2000-11-21 Mark Mitchell <mark@codesourcery.com>
885 * porting.texi: New file.
887 2000-11-21 Branko Cibej <brankoe@xbc.nu>
889 * config/os/solaris/solaris2.6/bits/os_defines.h: Define
890 _XOPEN_SOURCE, _LARGEFILE64_SOURCE, __EXTENSIONS__, __off_t,
891 __off64_t and __ssize_t.
892 * config/os/solaris/solaris2.5/bits/os_defines.h: For now, use the
893 same configuration as above.
895 2000-11-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
897 * acinclude.m4 (AC_LC_MESSAGES): Check for locale.h.
898 * aclocal.m4: Regenerate.
899 * configure: Renerate.
901 2000-11-20 Benjamin Kosnik <bkoz@redhat.com>
903 * mkcheck.in (explanation): Don't paste output of passing compiles
904 into log file. Use -static. Get version info.
906 * testsuite/23_containers/vector_ctor.cc (test02): Fix thinko.
908 2000-11-20 Gabriel Dos Reis <gdr@codesourcery.com>
910 * include/bits/std_complex.h (complex<double>): Constructor
911 complex<double>::complex(const complex<float>&) is not explicit;
912 since it is a promotion.
913 (complex<long double>): Constructors taking complex<float> and
914 complex<double> are not explicit.
916 2000-11-20 Benjamin Kosnik <bkoz@redhat.com>
918 * include/bits/std_complex.h: Tweaks, include cmath for abs overloads.
919 * src/complex.cc: Remove cmath include, formatting tweaks, remove
921 * include/c/bits/std_cmath.h: Formatting tweaks.
922 * testsuite/26_numerics/complex_value.cc: New file, for catching
923 bits gleaned from libstdc++/106.
925 * testsuite/23_containers/vector_ctor.cc (test02): Add test from
928 2000-11-20 Joseph S. Myers <jsm28@cam.ac.uk>
930 * include/bits/c++config, include/bits/ios_base.h,
931 include/bits/std_streambuf.h: Correct spelling of "deprecated".
933 2000-11-19 Mark Mitchell <mark@codesourcery.com>
935 * libsupc++/exception_support.cc (__throw_bad_cast): Name it
936 __cxa_bad_cast under the new ABI.
937 (__throw_bad_typeid): Name it __cxa_bad_typeid under the new ABI.
938 * libsupc++/pure.cc (__pure_virtual): Name it __cxa_pure_virtual
941 2000-11-18 Mark Mitchell <mark@codesourcery.com>
943 * libsupc++/exception_support.h: New header file.
944 * libsupc++/vec.cc: Include it.
945 (__cxa_vec_new2): Recatch exceptions before rethrows.
946 (__cxa_vec_new3): Likewise.
947 (__cxa_vec_ctor): Likewise.
948 (__cxa_vec_cctor): Likewise.
949 (__cxa_vec_dtor): Likewise.
950 (__cxa_vec_delete2): Likewise.
951 (__cxa_vec_delete3): Likewise.
953 2000-11-17 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
955 * include/bits/stl_tree.h: Overload operators == and != to be able
956 to handle the case (const_iterator,iterator) and
957 (iterator,const_iterator), thus fixing libstdc++/737 and the like.
958 * testsuite/23_containers/map_operators.cc (test02): New tests.
960 2000-11-17 Loren J. Rittle <ljrittle@acm.org>
962 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Correct last patch
963 to ``make --enable-cstdio=stdio the default''.
964 * libstdc++-v3/aclocal.m4: Rebuilt.
965 * libstdc++-v3/configure: Rebuilt.
967 2000-11-17 Phil Edwards <pme@sources.redhat.com>
969 * acinclude.m4 (GLIBCPP_ENABLE_ATOMICITY): Move switch statement
971 * configure.target: ...here. Enable generic atomic ops, and warn.
972 * aclocal.m4: Regenerated.
974 * Makefile.in: Ditto.
975 * libio/Makefile.in: Ditto.
976 * libmath/Makefile.in: Ditto.
977 * libsupc++/Makefile.in: Ditto.
978 * src/Makefile.in: Ditto.
980 2000-11-16 Loren J. Rittle <ljrittle@acm.org>
982 * include/bits/locale_facets.tcc (num_get<_CharT,
983 _InIter>::do_get(...)): Add missing typename keyword.
985 2000-11-16 Mark Mitchell <mark@codesourcery.com>
987 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Make
988 --enable-cstdio=stdio the default. Disable wide character support
990 * configure.in: Move GLIBCPP_ENABLE_C_MBCHAR after
991 (GLIBCPP_ENABLE_CSTDIO).
992 * config/c_io_stdio.h: Don't include <libio.h>, don't define
994 * aclocal.m4: Regenerated.
995 * configure: Likewise.
996 * Makefile.in: Likewise.
997 * libio/Makefile.in: Likewise.
998 * libmath/Makefile.in: Likewise.
999 * libsupc++/Makefile.in: Likewise.
1000 * src/Makefile.in: Likewise.
1002 2000-11-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1004 * config/c_io_stdio.h: Include stddef.h.
1006 2000-11-16 Mark Mitchell <mark@codesourcery.com>
1008 * config/c_io_stdio.h (streamsize): Make it a typedef for
1010 (wstreamsize): Likewise.
1012 * config/c_io_stdio.h: Include libio.h.
1014 2000-11-15 Mark P Mitchell <mark@codesourcery.com>
1016 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Substitute libio_la.
1017 * src/Makefile.am (libstdc___la_LIBADD): Use it.
1018 * aclocal.m4: Regenerated.
1019 * configure: Likewise.
1020 * Makefile.in: Likewise.
1021 * libio/Makefile.in: Likewise.
1022 * libmath/Makefile.in: Likewise.
1023 * libsupc++/Makefile.in: Likewise.
1024 * src/Makfile.in: Likewise.
1026 2000-11-15 Mark Mitchell <mark@codesourcery.com>
1028 * mkcheckin.in: Move check for bash version 2 later in the file.
1030 * include/bits/basic_string.h (basic_string::_Rep::_S_max_size):
1032 (basic_string::_Rep::_S_terminal): Likewise.
1033 * include/bits/string.tcc (basic_string::_Rep::_S_max_size):
1035 (basic_string::_Rep::_S_terminal): Likewise.
1037 2000-11-15 David Billinghurst <David.Billinghurst@riotinto.com>
1039 * mkcheck.in: Add function size_command() for irix.
1041 2000-11-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1043 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPOR): Set LIBS back to
1045 (GLIBCPP_EXPORT_INCLUDES): Only export TOPLEVEL_INCLUDES if
1046 building a canadian cross. This should fix the remaining java
1048 * aclocal.m4: Regenerate.
1049 * configure: Regenerate.
1051 * include/bits/c++config (__GLIBCPP__): Set release version for 2.91.
1053 2000-11-14 Phil Edwards <pme@sources.redhat.com>
1055 * mkcheck.in: On a platform where we don't know how to extract
1056 section sizes, just set them to zero. Use old method of reading
1059 2000-11-13 Loren J. Rittle <ljrittle@acm.org>
1061 * config/c_io_stdio.h: Don't define __c_wfile_type
1062 when _GLIBCPP_USE_WCHAR_T is not defined.
1064 2000-11-13 Phil Edwards <pme@sources.redhat.com>
1066 * acinclude.m4 (GLIBCPP_CHECK_TARGET): New macro, replacing
1067 GLIBCPP_CHECK_CPU and GLIBCPP_CHECK_OS, sourcing configure.target.
1068 (GLIBCPP_CONFIGURE): Call new macro here.
1069 * configure.host: Cleanup.
1070 * configure.in: Remove those two macros.
1071 * configure.target: New file.
1072 * aclocal.m4: Regenerated.
1074 * Makefile.in: Ditto.
1075 * libio/Makefile.in: Ditto.
1076 * libmath/Makefile.in: Ditto.
1077 * libsupc++/Makefile.in: Ditto.
1078 * src/Makefile.in: Ditto.
1080 * mkcheck.in: Use libtool. Split things out into functions.
1082 2000-11-12 Alexandre Petit-Bianco <apbianco@cygnus.com>
1084 * Makefile.am (tmp-libstdsc++.INC:): Do not use -I$(top_builddir).
1085 * Makefile.in: Regenerate.
1087 2000-11-12 David Edelsohn <edelsohn@gnu.org>
1089 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Add test for
1090 libiconv.a providing wchar_t support functions.
1091 * aclocal.m4: Regenerate.
1093 2000-11-12 Loren J. Rittle <ljrittle@acm.org>
1095 * acinclude.m4 (GLIBCPP_ENABLE_ATOMICITY): Handle FreeBSD.
1096 * aclocal.m4, configure: Rebuilt.
1098 2000-11-12 Brent Verner <brent@rcfile.org>
1100 * include/c_std/bits/wrap_langinfo.h: New file.
1101 * include/c_std/langinfo.h: New file.
1102 * include/bits/codecvt.h (__enc_trants::__enc_traits()): Bring in
1103 CODESET from _C_legacy::CODESET if using shadow headers.
1104 * src/Makefile.am: Add new files.
1105 * src/Makefile.in: Regenerate.
1107 2000-11-12 Mark Mitchell <mark@codesourcery.com>
1109 * include/c/bits/std_cmath.h (abs): Change extern "C" declaration
1110 of `abs (double)' to ...
1113 * config/os/solaris/solaris2.7/bits/os_defines.h: Define
1116 2000-11-11 Mark P Mitchell <mark@codesourcery.com>
1118 * include/bits/basic_file.h (__basic_file): Don't use __c_wfile_type
1119 when _GLIBCPP_USE_WCHAR_T is not defined.
1121 2000-11-10 Phil Edwards <pme@sources.redhat.com>
1123 * include/bits/codecvt.h (__iconv_adaptor): New adaptor function,
1124 courtesy of Alexandre Oliva, to handle const/non-const signatures.
1125 (codecvt::do_out): Use.
1126 (codecvt::do_in): And here.
1128 2000-11-10 Gabriel Dos Reis <gdr@codesourcery.com>
1130 * include/bits/cpp_type_traits.h: Fix typos. Adjust formatting.
1132 2000-11-10 Gabriel Dos Reis <gdr@codesourcery.com>
1134 * include/bits/localefwd.h (_Count_ones<>::_S_halfcount,
1135 _Count_ones<>::_S_count): Turn into enumerators.
1137 2000-11-08 Mark Mitchell <mark@codesourcery.com>
1139 * include/bits/codecvt.h (codecvt::do_out): Make it const-correct.
1140 (codecvt::do_in): Likewise.
1142 2000-11-08 David Edelsohn <edelsohn@gnu.org>
1144 * src/locale-inst.cc: Add explicit instantiations of
1145 _M_fill_insert and fill_n<..., unsigned long,...> .
1147 2000-11-06 Gabriel Dos Reis <gdr@codesourcery.com>
1149 * include/bits/std_complex.h (conj): Undo double removal.
1151 2000-11-06 Alexandre Oliva <aoliva@redhat.com>
1153 * acinclude.m4 (LIB_AC_PROG_CXX): Remove CXX from the list of
1154 alternatives for CXX_libstdcxx, now that it is useless.
1155 * aclocal.m4, configure: Rebuilt.
1157 2000-11-04 Mark Mitchell <mark@codesourcery.com>
1159 * acinclude.m4 (LIB_AC_PROG_CXX): Set CXX_libstdcxx from CXX.
1160 * aclocal.m4: Regenerated.
1161 * configure: Likewise.
1163 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Fix punctuation in
1165 * aclocal.m4: Regenerated.
1166 * configure: Likewise.
1168 2000-11-04 Alexandre Oliva <aoliva@redhat.com>
1170 * acinclude.m4 (CXX): Prevent it from being cached.
1171 * aclocal.m4, configure, */Makefile.in: Rebuilt.
1173 2000-11-03 David Edelsohn <dje@watson.ibm.com>
1175 * acinclude.m4 (GLIBCPP_CHECK_OS): Add AIX target selecting threads
1176 flag based on multilib definition of $CXX.
1177 * mknumeric_limits (LDFLAGS): Add AIX target linking with pthreads
1178 based on multilib definition of $CXX.
1179 * config/os/aix/bits/os_defines.h (_G_USING_THUNKS): Define as 0.
1181 2000-11-03 Phil Edwards <pme@sources.redhat.com>
1183 * acinclude.m4: Cleanups.
1184 * aclocal.m4: Regenerated.
1186 * Makefile.in: Ditto.
1187 * libio/Makefile.in: Ditto.
1188 * libmath/Makefile.in: Ditto.
1189 * libsupc++/Makefile.in: Ditto.
1190 * src/Makefile.in: Ditto.
1192 * docs/install.html: Removal of EGCS.
1193 * docs/23_containers/wrappers_h.txt: Likewise.
1194 * docs/faq/index.html: Likewise.
1195 * docs/faq/index.txt: Regenerated.
1196 * docs/thanks.html: More people.
1198 2000-11-03 David Edelsohn <edelsohn@gnu.org>
1200 * include/c/bits/std_cwchar.h: Undefine macro that conflicts
1201 with function name defined in this file.
1203 Thu Nov 2 23:19:20 2000 Mark P Mitchell <mark@codesourcery.com>
1205 * include/c/bits/std_cctype.h: Undefine macros that conflict
1206 with function names defined in this file.
1207 * include/c/bits/std_cstdio.h: Likewise.
1209 2000-11-02 Mark Mitchell <mark@codesourcery.com>
1211 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Fix typo.
1213 Thu Nov 2 10:11:45 2000 Mark P Mitchell <mark@codesourcery.com>
1215 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Add support for IRIX.
1216 * aclocal.m4: Regenerated.
1217 * Makefile.in: Regenerated.
1218 * libio/Makefile.in: Likewise.
1219 * libmath/Makefile.in: Likewise.
1220 * libsupc++/Makefile.in: Likewise.
1221 * src/Makefile.in: Likewise.
1222 * configure: Likewise.
1223 * config/os/irix/bits/ctype_base.h: Revise.
1224 * config/os/irix/bits/ctype_inline.h: Likewise.
1225 * config/os/irix/bits/ctype_noninline.h: Likewise.
1227 * testsuite/22_locale/codecvt_unicode_char.cc: Don't run it
1228 if not _GLIBCPP_USE_WCHAR_T.
1229 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Likewise.
1230 * testsuite/22_locale/ctor_copy_dtor.cc: Likewise.
1231 * testsuite/22_locale/ctype_wchar_t_members.cc: Likewise.
1233 * mkcheck.in: Fix echoing of -rpath option.
1235 * config/os/irix/bits/atomicity.h (_Atomic_word): Make it a
1237 (__exchange_aand_add): Adjust accordingly.
1238 (__atomic_add): Likewise.
1240 2000-11-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1242 * src/locale.cc: Match orderings for static members.
1243 * include/bits/fstream.tcc: Fixes for cin.
1245 2000-11-02 Gabriel Dos Reis <gdr@codesourcery.com>
1247 * include/bits/std_complex.h (complex<>): Remove (cos<>, cosh<>,
1248 exp<>, log<>, log<>, sin, sinh<>) friend declarations.
1249 (cos, cosh, sin, sinh): Define primary templates.
1251 * src/complex.cc (cos<>, cosh<>, sin<>, sinh<>): Comment out
1254 2000-11-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1256 * bits/basic_file.h (_M_open_mode): Change signature, move
1257 specializations to..
1258 * config/c_io_libio.cc: ...here.
1259 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add sdtio option, remove wince.
1260 * aclocal.m4: Regenerate.
1261 * configure: Regenerate.
1262 * config/c_io_stdio.h: New file.
1263 * config/c_io_stdio.cc: New file.
1264 * docs/configopts.html: Modify documentation.
1266 2000-10-31 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1268 * include/c/bits/std_cwctype.h: Add more undefs.
1270 2000-10-31 Gabriel Dos Reis <gdr@codesourcery.com>
1272 * include/bits/std_complex.h (norm): Forward declare.
1273 (complex<>): Comment out friend declaration of conj<>.
1274 (conj<>): Comment out specialization.
1275 (exp, log, log10): Define primary templates.
1277 * src/complex.cc (exp<>, log<>, log10<>): Comment out
1280 2000-10-31 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1282 * include/bits/std_complex.h: Remove duplicate definition of conj.
1283 * include/c/bits/std_cwctype.h: Consistent placement of undefs.
1285 2000-10-31 Gabriel Dos Reis <gdr@codesourcery.com>
1287 * src/complex.cc (arg, polar): Comment out specializations.
1289 * include/bits/std_complex.h (complex<>): Remove arg<> friend
1291 (arg): Define primary template.
1295 2000-10-31 Gabriel Dos Reis <gdr@codesourcery.com>
1297 * include/c/bits/std_cwctype.h: #undef possible function-like
1298 macro definitions of iswxxx functions, which might be brought in
1299 by <wctype.h>. Those macro definitions prevent build on some
1300 linux-based systems.
1302 * include/bits/std_complex.h (complex<>): Comment out friend
1303 declarations of abs<> specializations.
1304 (abs): Define primary template.
1306 * src/complex.cc (abs): Comment out specialization definition.
1308 2000-10-30 Phil Edwards <pme@sources.redhat.com>
1310 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Raise debugging level from
1311 the default of 2 to 3.
1312 * configure.in: Fix minor typos. SUBST the values of enable_shared
1313 and enable_static so that mkcheck will be aware of them. Put the
1314 test for gconv.h in with all the other header tests.
1315 * aclocal.m4: Regenerate.
1317 * Makefile.in: Ditto.
1318 * libio/Makefile.in: Ditto.
1319 * libmath/Makefile.in: Ditto.
1320 * libsupc++/Makefile.in: Ditto.
1321 * src/Makefile.in: Ditto.
1323 * config/os/solaris/solaris2.7/bits/os_defines.h: Define
1324 _G_USING_THUNKS to 0.
1326 2000-10-30 Benjamin Kosnik <bkoz@redhat.com>
1328 * src/complex_io.cc : Remove ancient defines.
1329 * config/os/gnu-linux/bits/os_defines.h: Add defines.
1330 * libsupc++/tinfo2.cc: Change to cstddef.
1332 * include/bits/codecvt.h: Add include of c++config.h, so that
1333 __USE_GNU gets defined. (Important for alpha.)
1335 * include/c/bits/std_cwctype.h: Same.
1336 * include/c/bits/std_ctime.h: And here.
1337 * include/c/bits/std_cstdarg.h: Same.
1338 * include/c/bits/std_csignal.h: Same.
1339 * include/c/bits/std_csetjmp.h: Same.
1340 * include/c/bits/std_clocale.h: Same.
1341 * include/c/bits/std_climits.h: Touch.
1342 * include/c/bits/std_cfloat.h: Same.
1343 * include/c/bits/std_cerrno.h: Same.
1344 * include/c/bits/std_cwchar.h: Same.
1345 * include/c/bits/std_cassert.h: Same.
1346 * include/c/bits/std_cctype.h: Same.
1347 * include/c/bits/std_cstddef.h: And here.
1348 * include/c/bits/std_cstdlib.h: And here.
1349 * include/c/bits/std_cstdio.h: Same.
1350 * include/c/bits/std_cstring.h: Add names to namespace std::.
1352 * include/bits/c++config (_GNU_SOURCE): Move linux-specific macros
1354 (_ISOC99_SOURCE): And this one....
1355 * config/os/gnu-linux/bits/os_defines.h: ...to here.
1357 * include/bits/codecvt.h (codecvt<_InternT, _ExternT,
1358 __enc_traits>::do_in): Don't cast to const, this is a bug in glibc
1360 (codecvt<_InternT, _ExternT, __enc_traits>::do_out): Same.
1361 * include/c/bits/std_cwchar.h: Add using declarations for mbstate_t.
1363 2000-10-30 Steven King <sxking@uswest.net>
1365 * include/bits/codecvt.h: Add cast.
1366 * include/c_std/stdio.h: Re-add printf using declaration.
1367 * include/c_std/bits/std_cstdio.h: Same
1368 * testsuite/22_locale/codecvt_wchar_t_char.cc: Fixup testsuite.
1369 * testsuite/22_locale/ctor_copy_dtor.cc: Same.
1370 * testsuite/22_locale/facet.cc: Same.
1371 * testsuite/22_locale/global_templates.cc: Same.
1372 * testsuite/22_locale/operators.cc: Same.
1373 * testsuite/22_locale/static_members.cc: Same.
1374 * testsuite/26_numerics/c_math.cc: Same.
1375 * testsuite/26_numerics/complex_inserters_extractors.cc: Same.
1376 * testsuite/27_io/fpos.cc: Same.
1377 * testsuite/27_io/istream_extractor_arith.cc: Same.
1378 * testsuite/27_io/istream_unformatted.cc: Same.
1379 * testsuite/27_io/ostream_inserter_arith.cc: Same.
1380 * testsuite/27_io/streambuf.cc: Same.
1382 2000-10-30 Mark Mitchell <mark@codesourcery.com>
1384 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT): Check
1385 for cabs, cabsf, and cabsl, too.
1386 * aclocal.m4: Regenerated.
1387 * config.h.in: Likewise.
1388 * configure: Likewise.
1389 * libmath/Makefile.am (libmath_la_SOURCES): Remove cabs.c and
1391 * libmath/Makefile.in: Regenerated.
1392 * libmath/complex-stub.h (cabs): Don't declare if the system
1393 already provides this function.
1396 * src/complex.cc (abs): Directly use `hypot' since we can't call
1399 2000-10-30 Joseph S. Myers <jsm28@cam.ac.uk>
1401 * acinclude.m4: Update URL on egcs.cygnus.com to point to
1403 * aclocal.m4, configure: Regenerate.
1404 * src/gen-num-limits.cc, include/bits/c++config,
1405 include/bits/stl_config.h: Remove EGCS references.
1407 2000-10-29 Mark Mitchell <mark@codesourcery.com>
1409 * mkcheck.in (test_file): Use -rpath, rather than --rpath, when
1410 building shared executables.
1412 2000-10-29 Mark Harig <mharig@landmark.com>
1414 * src/Makefile.am: Change logic for include dir options.
1415 * src/Makefile.in: Regenerate.
1416 * libsupc++/Makefile.am: Ditto.
1417 * libsupc++/Makefile.in: Regenerate.
1419 2000-10-29 Benjamin Kosnik <bkoz@redhat.com>
1421 * configure.in: Simplify use of AC_CACHE_SAVE. Put linked files
1422 in $(top_builddir)/include/bits, not $(top_builddir)/bits, to help
1423 with libgcj build issues and improve consistency with the source
1424 directory's include directory setup.
1425 * configure: Regenerate.
1426 * acinclude.m4: Same here.
1427 * aclocal.m4: Regenerate.
1428 * mknumeric_limits (OUT_H): Also change paths here.
1429 * mkcheck.in (C_DIR): And here.
1430 * mkc++config (OUT_H): And here.
1431 * libmath/Makefile.am (INCLUDES): And here.
1432 * src/Makefile.am (INCLUDES): Change to $(top_builddir)/include.
1433 * libio/Makefile.am: Ditto.
1434 * libsupc++/Makefile.am (INCLUDES): Ditto.
1436 2000-10-29 Mark Mitchell <mark@codesourcery.com>
1438 * config/c_io_libio.cc (basic_file<char>::__basic_file):
1439 Don't pass a NULL _IO_wide_data to _IO_no_init when
1440 _GLIBCPP_USE_WCHAR_T is not defined.
1441 * config/c_io_libio.h (_IO_codecvt): Don't declare when
1442 _GLIBCPP_USE_WCHAR_T is not defined.
1443 * config/c_io_libio_codecvt.c: Don't compile it
1444 when _GLIBCPP_USE_WCHAR_T is not defined.
1445 * include/bits/codecvt.h (codecvt<_InternT, _ExternT, __enc_traits):
1446 Don't define this specialization when _GLIBCPP_USE_WCHAR_T
1448 * include/bits/locale_facets.h (<bits/std_cwctype.h>): Don't
1449 include it when _GLIBCPP_USE_WCHAR_T is not defined.
1450 * src/codecvt.cc (__enc_traits::_S_max_size): Don't define
1451 when _GLIBCPP_USE_WCHAR_T is not defined.
1452 * src/localename.cc (locale::_Impl::_M_construct_collate):
1453 Don't call wide-character functions when _GLIBCPP_USE_WCHAR_T is
1455 (locale::_Impl::_M_construct_ctype): Likewise.
1456 (locale::_Impl::_M_construct_monetary): Likewise.
1457 (locale::_Impl::_M_construct_numeric): Likewise.
1458 (locale::_Impl::_M_construct_time): Likewise.
1459 (locale::_Impl::_M_construct_messages): Likewise.
1461 * acinclude.m4 (GLIBCPP_ENABLE_ATOMICITY): Handle IRIX.
1462 * aclocal.m4: Regenerated.
1463 * configure: Likewise.
1464 * config/os/irix/bits/atomicity.h: New file.
1465 * config/os/irix/bits/os_defines.h (_POSIX_SOURCE): Undefine.
1467 (__off64_t): Likewise.
1468 (__ssize_t): Likewise.
1469 (_G_USING_THUNKS): Define to zero.
1471 2000-10-28 Mark Mitchell <mark@codesourcery.com>
1473 * src/string-inst.cc (basic_string<C>::npos): Explicitly
1476 2000-10-26 Benjamin Kosnik <bkoz@redhat.com>
1478 * include/c/bits/std_cmath.h: Fix double declarations in namespace std.
1480 Clean up naming, consistency in "C" library autoconf testing.
1481 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): For consistency, change to
1482 GLIBCPP_CHECK_CTYPE_SUPPORT.
1483 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add.
1484 * aclocal.m4: Regenerate.
1485 * configure.in: And here.
1486 Add call to GLIBCPP_CHECK_STDLIB_SUPPORT.
1487 * configure: Regenerate.
1489 2000-10-26 David Edelsohn <edelsohn@gnu.org>
1491 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_2): New macro.
1492 (GLIBCPP_CHECK_MATH_SUPPORT): Use it to test for strtold.
1494 2000-10-26 Phil Edwards <pme@sources.redhat.com>
1495 David Edelsohn <dje@watson.ibm.com>
1497 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Comment out
1498 --gc-sections stuff entirely to avoid misleading people.
1499 (GLIBCPP_ENABLE_CSTDIO): Merge need_libio and need_xtra_libio.
1500 * libio/Makefile.am (LIBIO_SRCS,LIBIO_WSRCS,LIBIO_XTRA_SRCS):
1501 Rearrange and merge.
1502 * libio/libio.h: Simplify, make fewer assumptions. Define those
1503 macros which must be defined.
1504 * config/os/solaris/solaris2.7/bits/os_defines.h: Simplify as a
1507 2000-10-26 Mark Mitchell <mark@codesourcery.com>
1509 * include/backward/streambuf.h: New file.
1511 2000-10-26 David Edelsohn <dje@watson.ibm.com>
1513 * config/os/aix/bits/ctype_inline.h (is): Use __OBJ_DATA directly.
1514 * config/os/aix/bits/ctype_noninline.h (do_tolower): Fix typo.
1515 * config/os/aix/bits/os_defines.h: Add AIX defines.
1517 2000-10-26 Benjamin Kosnik <bkoz@redhat.com>
1519 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Remove.
1520 * aclocal.m4: Regenerate.
1521 * configure.in: Remove GLIBCPP_ENABLE_LONG_DOUBLE.
1522 * configure: Regenerate.
1523 * docs/configopts.html: Remove.
1524 * src/complexl.cc: Revert.
1525 * config.h.in: Remove.
1526 * include/c_std/bits/std_cmath.h: Remove guards based on
1527 _GLIBCPP_USE_LONG_DOUBLE.
1528 * include/c/bits/std_cmath.h: Same. Format. Match c_std behavior
1529 with respect to long double signatures.
1531 * config/os/aix/bits/ctype_noninline.h (ctype): Remove throw
1533 * config/os/newlib/bits/ctype_noninline.h (ctype): And here.
1534 * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
1535 * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
1536 * config/os/generic/bits/ctype_noninline.h (ctype): Same.
1537 * config/os/bsd/bits/ctype_noninline.h (ctype): Same.
1539 2000-10-26 Gabriel Dos Reis <gdr@codesourcery.com>
1541 * include/bits/std_valarray.h (valarray::valarray): Fix thinko.
1542 Use __valarray_copy_construct only where appropriate.
1544 2000-10-25 Mark Mitchell <mark@codesourcery.com>
1546 * Makefile.in (check): Don't make mkcheck executable.
1547 (check-install): Likewise.
1548 * configure.in (AC_OUTPUT): Make mkcheck executable.
1549 * mkcheck.in (top_srcdir): New variable.
1550 (INC_PATH): Set the path to the backward and ext directories
1553 2000-10-25 Phil Edwards <pme@sources.redhat.com>
1555 * configure.in: Check for gconv.h.
1556 * libio/wfileops.c: Wrap gconv.h in HAVE_GCONV_H.
1558 * config/c_io_libio_codecvt.c: Change __mbstate_t to __c_mbstate_t.
1559 * libio/_G_config.h: And here.
1560 * libio/iofwide.c: And here.
1561 * libio/libio.h: And here.
1563 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Remove
1564 exception specification to match declaration.
1565 * include/bits/locale_facets.tcc: Include bits/std_clocale.h.
1567 2000-10-24 Mark Harig <mharig@landmark.com>
1569 * docs/configopts.html: Added documentation for the
1570 "--enable-version-specific-runtime-libs" and
1571 "--with-gxx-include-dir" configuration switches.
1573 2000-10-24 Benjamin Kosnik <bkoz@redhat.com>
1575 * include/bits/stl_pair.h (make_pair): Add LWG solution.
1577 * testsuite/21_strings/compare.cc (test01): Inject namespace std
1580 * mkcheck.in (MAX_MEM_USAGE): Bump up to 3072. Strangely enough,
1583 2000-10-24 Levente Farkas <lfarkas@mindmaker.hu>
1585 * include/bits/std_bitset.h (_M_do_find_next): Fix typo.
1587 2000-10-24 Phil Edwards <pme@sources.redhat.com>
1589 * acconfig.h: List _GLIBCPP_USE_THREADS.
1590 * acinclude.m4: General formatting cleanup (tabs/spaces), typo
1591 correction, etc. Add comments about following *real* changes
1592 where they are used.
1593 (GLIBCPP_ENABLE_C_MBCHAR): New test...
1594 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): ...results used here.
1595 (GLIBCPP_ENABLE_CSTDIO): Define need_wlibio iff wide characters
1597 (GLIBCPP_ENABLE_THREADS): If threads are used, define new
1598 macro _GLIBCPP_USE_THREADS in c++config.h.
1599 (GLIBCPP_ENABLE_SHADOW): For C_INCLUDE_DIR, change () to {} as
1600 this is used in both makefiles and shell scripts (mkcheck).
1601 * configure.in: Call GLIBCPP_ENABLE_C_MBCHAR.
1603 * libio/_G_config.h: Wrap _IO_MTSAFE_IO in _GLIBCPP_USE_THREADS.
1604 * config/c_io_libio.h: In nonthreaded case, typedef __c_lock to
1605 something harmless, like int.
1607 * config/os/aix/bits/os_defines.h: Guard with _GLIBCPP_OS_DEFINES,
1608 add comment/instructions.
1609 * config/os/bsd/bits/os_defines.h: Ditto.
1610 * config/os/generic/bits/os_defines.h: Ditto.
1611 * config/os/gnu-linux/bits/os_defines.h: Ditto.
1612 * config/os/irix/bits/os_defines.h: Ditto.
1613 * config/os/newlib/bits/os_defines.h: Ditto.
1614 * config/os/solaris/solaris2.5/bits/os_defines.h: Ditto.
1615 * config/os/solaris/solaris2.6/bits/os_defines.h: Ditto.
1617 * mkcheck.in: Limit the available heap size for testsuite
1618 binaries, initially at 2MB.
1620 2000-10-23 Benjamin Kosnik <bkoz@redhat.com>
1622 * testsuite/21_strings/compare.cc (test01): Add using declarations.
1624 * include/c_std/bits/std_cerrno.h: And here.
1625 * include/c_std/bits/std_cassert.h: Tweaks.
1627 * mkcheck.in: Simplify.
1629 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Simplify.
1630 (GLIBCPP_ENABLE_LONG_LONG): Same.
1631 * aclocal.m4: Regenerate.
1633 * src/Makefile.am (c_shadow_headers): Add features.h,
1634 bits/wrap_features.h.
1635 * src/Makefile.in: Regenerate.
1636 * include/c_std/features.h: New file.
1637 * include/c_std/bits/wrap_features.h (_CPP_WRAP_FEATURES_H): New
1638 file. Need to have c++config.h included before this file so
1639 _ISOC99_SOURCE around.
1641 * include/c_std/sys/cdefs.h: Hack.
1642 * include/c_std/stdlib.h: Same, use c++config.h.
1643 * include/c_std/bits/std_cstdlib.h: Use _GLIBCPP_HAVE_STRTOLD.
1645 * include/c_std/bits/std_cassert.h: Fix.
1646 * include/c_std/bits/std_cerrno.h: Make consistent.
1648 * include/c_std/bits/std_csetjmp.h (setjmp): Unscope global
1649 declaration from ::_C_legacy to _C_legacy.
1651 * include/c_std/bits/std_cstdio.h: same with printf.
1652 * include/c_std/stdio.h: And here.
1654 * include/c_std/bits/std_cstdlib.h: abort, exit comment.
1655 * include/c_std/stdlib.h: Same here.
1657 2000-10-23 Benjamin Kosnik <bkoz@redhat.com>
1659 * testsuite/21_strings/compare.cc (test01): Add using declarations.
1661 * include/c_std/bits/std_cerrno.h: And here.
1662 * include/c_std/bits/std_cassert.h: Tweaks.
1664 * mkcheck.in: Simplify.
1666 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Simplify.
1667 (GLIBCPP_ENABLE_LONG_LONG): Same.
1668 * aclocal.m4: Regenerate.
1670 * src/Makefile.am (c_shadow_headers): Add features.h,
1671 bits/wrap_features.h.
1672 * src/Makefile.in: Regenerate.
1673 * include/c_std/features.h: New file.
1674 * include/c_std/bits/wrap_features.h (_CPP_WRAP_FEATURES_H): New
1675 file. Need to have c++config.h included before this file so
1676 _ISOC99_SOURCE around.
1678 * include/c_std/sys/cdefs.h: Hack.
1679 * include/c_std/stdlib.h: Same, use c++config.h.
1680 * include/c_std/bits/std_cstdlib.h: Use _GLIBCPP_HAVE_STRTOLD.
1682 * include/c_std/bits/std_cassert.h: Fix.
1683 * include/c_std/bits/std_cerrno.h: Make consistent.
1685 * include/c_std/bits/std_csetjmp.h (setjmp): Unscope global
1686 declaration from ::_C_legacy to _C_legacy.
1688 * include/c_std/bits/std_cstdio.h: same with printf.
1689 * include/c_std/stdio.h: And here.
1691 * include/c_std/bits/std_cstdlib.h: abort, exit comment.
1692 * include/c_std/stdlib.h: Same here.
1694 2000-10-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1696 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): New macro.
1697 * aclocal.m4: Regenerate.
1698 * configure.in: Use it.
1699 * configure: Regenerate.
1700 * src/complexl.cc: Fixup.
1701 * include/c_std/bits/std_cmath.h: Fixup.
1702 * include/c/bits/std_cmath.h: Fixup.
1703 * docs/configopts.html: Add docs.
1705 * docs/links.html: Add links to defects list, standards FAQ.
1707 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Disable tests
1708 with string creation that allocate huge ammounts of memory.
1710 * include/c/bits/std_cstddef.h: Put size_t, ptrdiff_t in
1713 2000-10-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
1715 * libsupc++/exception.cc: Use namespace std.
1716 * libsupc++/new: DITTO.
1717 * libsupc++/new_op.cc: DITTO.
1718 * libsupc++/new_opnt.cc: DITTO.
1719 * libsupc++/new_opv.cc: DITTO.
1720 * libsupc++/new_opvnt.cc: DITTO.
1721 * libsupc++/tinfo.cc: DITTO.
1722 * libsupc++/tinfo.h: DITTO.
1723 * libsupc++/vec.cc: DITTO.
1724 * libsupc++/Makefile.am: Blank lines removal.
1726 2000-10-21 Joseph S. Myers <jsm28@cam.ac.uk>
1728 * docs/configopts.html, docs/install.html, docs/17_intro/BADNAMES,
1729 docs/17_intro/howto.html, docs/18_support/howto.html,
1730 docs/19_diagnostics/howto.html, docs/20_util/howto.html,
1731 docs/21_strings/howto.html, docs/22_locale/howto.html,
1732 docs/23_containers/howto.html, docs/24_iterators/howto.html,
1733 docs/25_algorithms/howto.html, docs/26_numerics/howto.html,
1734 docs/27_io/howto.html, docs/ext/howto.html, docs/faq/index.html:
1735 Remove many EGCS references; use current absolute URLs on
1736 gcc.gnu.org or sources.redhat.com for messages in list archives.
1737 * docs/faq/index.txt: Regenerate.
1739 2000-10-19 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1741 * testsuite/22_locale/codecvt_unicode_char.cc (test01): Adjust
1742 creation of state_type for unicode_codecvt to take into account
1743 the byte order markings. Add distinct tests for UCS-2BE and UCS-2LE.
1744 * testsuite/22_locale/codecvt_unicode_wchar_t.cc (test01): Same.
1745 * include/bits/codecvt.h (__enc_traits): Add support for encodings
1746 that need a byte order marker. Needed for correct unicode support.
1748 * src/locale.cc: Remove explicit qualification std::.
1749 (locale::locale(const char* __name)): Revert, as named locale
1750 support not finished.
1751 * src/localename.cc (locale::_Impl:: _Impl(size_t __numfacets,
1752 size_t __refs, bool __has_name = false, string __name): Move
1754 * include/bits/localefwd.h: Here.
1756 2000-10-18 Chip Salzenberg <chip@valinux.com>
1758 * libio/libio.h (_IO_USER_LOCK): Define.
1760 2000-10-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1762 * libsupc++/Makefile.am (exception): Change exception.cc to
1763 exception_support.cc.
1764 (CXXLINK): Remove bogus --tag CC.
1765 * libsupc++/Makefile.in: Regenerate.
1766 * libsupc++/exception.cc: Move to...
1767 * libsupc++/exception_support.cc: ...here.
1769 * src/Makefile.am: Remove bogus --tag CC.
1770 * src/Makefile.in: Regenerate.
1772 * include/bits/locale_facets.tcc (use_facet): Simplify.
1773 * include/bits/locale_facets.h (use_facet<ctype<char> >): Correct
1774 use_facet declaration. Replace 'const ctype<T>' with ctype<T>.
1775 (use_facet<ctype<wchar_t> >): Same.
1776 * src/locale-inst.cc: Remove explicit instantiation.
1777 * src/locale.cc: Correct signature here too.
1778 (_Bad_use_facet::what()): Correct error string.
1779 * include/bits/localefwd.h: Correct comment.
1781 * mkcheck.in (C_DIR): Change libsupc++/include to libsupc++.
1783 2000-10-17 Martin Buchholz <martin@xemacs.org>
1785 * testsuite/27_io/istream_seeks.cc: Fix spelling typo.
1786 * testsuite/27_io/ostream_seeks.cc: Similarly.
1788 2000-10-17 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1790 via Alexandre Oliva <aoliva@redhat.com>
1791 * libsupc++/Makefile.am: Add --tag CXX, --tag CC, comments.
1792 * libsupc++/Makefile.in: Regenerate.
1793 * src/Makefile.am: Duplicate code.
1794 * src/Makefile.in: Regenerate.
1796 * acinclude.m4 (GLIBCPP_ENABLE_RELIBGCC): Take this out.
1797 * aclocal.m4: Regenerate.
1798 * configure.in: And here.
1799 * configure: Regenerate.
1801 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Disable
1802 test for SECTION_LDFLAGS.
1804 2000-10-16 Benjamin Kosnik <bkoz@gnu.org>
1806 Shadow headers would work if libsupc++ was strict about namespaces.
1807 This only possible if g++ maps std::size_t -> size_t. (Hint hint.)
1808 * include/c_std/assert.h: Add guards.
1809 * include/c_std/bits/std_climits.h: Correct typo.
1810 * include/c_std/ctype.h: Remove #error.
1812 * libio/libioP.h: Break up extern "C" bits around includes.
1813 * libio/libio.h: Only include C headers, or else _C_legacy namespaces
1815 * libio/libioP.h: Same here.
1817 2000-10-15 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
1819 * include/c_std/unistd.h: Define some types only when defined in
1820 the original unistd.h.
1821 * include/c_std/bits/std_cstddef.h: Explicitly ask for the
1822 definition of size_t, ptrdiff_t and NULL.
1823 * include/c_std/bits/wrap_unistd.h: Blank lines removal.
1825 2000-10-15 Phil Edwards <pme@sources.redhat.com>
1827 * docs/configopts.html: Remove libgcc-rebuild; HTML formatting.
1829 2000-10-13 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1830 Mark Harig <markh@landmark.com>
1832 * src/Makefile.am (toolexeclibdir): Add support fo
1833 VERSION_SPECIFIC_LIBS and --with-gxx-include-dir.
1834 * src/Makefile.in: Regenerate.
1835 * libsupc++/Makefile.am: Same.
1836 (glibcppinstalldir): Adjust.
1837 * libsupc++/Makefile.in: Regenerate.
1838 * Makefile.am: Remove gxx_include_dir. Remove INCLUDE.
1839 * Makefile.in: Regenerate.
1840 * docs/configopts.html: Add descriptions of flags.
1842 2000-10-11 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1844 * libsupc++/Makefile.am: Use it.
1845 * libio/Makefile.am: Use it.
1846 * libmath/Makefile.am: Use it.
1847 * src/Makefile.am: Use it.
1848 * Makefile.am (AM_MAKEFLAGS): Remove includes.
1850 * acinclude.m4 (GLIBCPP_EXPORT_INCLUES): Move include macros here.
1851 (GLIBCPP_EXPORT_FLAGS): Move CXX flag setting here.
1852 * configure.in: Use it.
1854 * mkcheck.in (SRC_DIR): Use C_INCLUDE_DIR.
1856 * src/Makefile.am (CXXCOMPILE): Remove.
1857 * src/Makefile.in: Regenerate.
1858 * libsupc++/Makefile.am (CXXCOMPILE): Same here.
1859 * libsupc++/Makefile.in: Regenerate.
1861 * include/c_std/*: Merge with shadow.
1862 * include/c_std/bits/*: Same.
1864 * shadow: Remove directory.
1865 * shadow/*: De-populate.
1867 2000-10-11 Phil Edwards <pme@sources.redhat.com>
1869 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Comment out
1870 exception-throwing code for linker test.
1871 * aclocal.m4: Regenerate.
1872 * configure: Regenerate.
1874 2000-10-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1876 * Makefile.am (LIBSUPCXX_INCLUDES): Adjust.
1877 * libsupc++/include: Remove
1878 * libsupc++/include/*: Move to ...
1880 * libsupc++/Makefile.am (glibcppinstall_HEADERS): Install headers.
1881 (glibcppinstalldir): New.
1883 * src/Makefile.am (c_base_headers): New.
1884 (c_shadow_headers): New
1886 (myinstallheaders): Correct install issues.
1887 * src/Makefile.in: Regenerate.
1889 * Makefile.am (CSHADOW_INCLUDES): Simplify.
1890 * Makefile.in: Regenerate.
1891 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Add c_include_dir.
1892 * aclocal.m4: Regenerate.
1893 * mkcheck.in (SRC_DIR): Use it.
1895 * include/bits/std_stdexcept.h: And here.
1896 * include/bits/std_ios.h: Change std_exception.h to exception.
1897 * src/locale.cc: And here.
1898 * src/locale-inst.cc: And here.
1900 * include/bits/valarray_array.h: And here.
1901 * include/bits/stl_alloc.h: And here.
1902 * include/bits/stl_algobase.h: And here.
1903 * include/bits/pthread_allocimpl.h: And here.
1904 * include/bits/stl_construct.h: Change to std_new.h to new.
1906 * include/bits/locale_facets.h: Change std_typeinfo.h to typeinfo.
1908 * src/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES.
1909 (headers): Remove duplicated headers.
1910 (std_headers): And here.
1911 * src/Makefile.in: Regenerate.
1912 * libsupc++/Makefile.am (LIBSUPCXX_INCLUDES): Remove.
1913 * libsupc++/Makefile.in: Regenerate.
1914 * Makefile.am (LIBSUPCXX_INCLUDES): Add here.
1915 (AM_MAKEFLAGS): And here.
1916 * Makefile.in: Regenerate.
1917 * include/bits/std_typeinfo.h: Remove.
1918 * include/bits/std_new.h: Remove
1919 * include/bits/std_exception.h: Remove.
1921 * std/typeinfo: Remove.
1922 * std/exception: Remove.
1924 * libio/_G_config.h (__need_ptrdiff_t): Add.
1926 * libsupc++/include/new: Change stddef.h to cstddef.
1927 * libsupc++/tinfo.h: Change limits.h to climits.
1928 * libsupc++/pure.cc: Comment out _GNU_LIBRARY_ bits, as this
1929 renders the file uncompilable. Add copyright.
1931 * include/c_std/bits/std_cstddef.h: Don't bring wchar_t into std
1932 namespace, as it is a fundamental type.
1934 2000-10-09 Richard Henderson <rth@cygnus.com>
1936 * libsupc++/pure.cc: New file.
1937 * libsupc++/Makefile.am (INCLUDES): Add top_builddir.
1938 (sources): Add pure.cc.
1939 * libsupc++/Makefile.in: Regenerate.
1941 2000-10-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1943 * docs/configopts.html: Edit.
1945 * libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
1946 * libio/Makefile.in: Regenerate.
1947 * libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
1948 * libmath/Makefile.in: Regenerate.
1949 * libsupc++/Makefile.am (INCLUDES): Remove duplicate.
1950 * libsupc++/Makefile.in: Regenerate.
1952 * Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
1953 TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
1954 CSHADOW_INCLUDES up here.
1955 * Makefile.in: Regenerate.
1956 * src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
1958 (myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
1959 Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
1960 LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
1961 * src/Makefile.in: Regenerate.
1963 * include/c: New directory.
1964 * include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
1965 std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
1966 std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
1967 std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
1968 std_cwchar.h, std_cwctype.h): Add, moving from...
1969 * include/bits: ...here.
1970 * include/c_std: New directory.
1971 * include/c_std/bits/*: Populate from...
1972 * shadow: ...here. Remove directory.
1974 2000-10-08 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1976 * libsupc++/Makefile.am (INCLUDES): Add toplevel include directory.
1977 (INCLUDES): Add glibcpp_includedir.
1978 * libsupc++/Makefile.in: Regenerate.
1980 * acinclude.m4 (GLIBCPP_CHECK_OS): Link to os_defines.h.
1981 * aclocal.m4: Regenerate.
1982 * config/os/*/bits/os_defintes: Adjust copyright dates.
1984 2000-10-08 Phil Edwards <pme@sources.redhat.com>
1986 * include/bits/c++config: Include <bits/os_defines.h>
1987 * config/os/aix/bits/os_defines.h: New file.
1988 * config/os/bsd/bits/os_defines.h: Ditto.
1989 * config/os/generic/bits/os_defines.h: Ditto.
1990 * config/os/gnu-linux/bits/os_defines.h: Ditto.
1991 * config/os/irix/bits/os_defines.h: Ditto.
1992 * config/os/newlib/bits/os_defines.h: Ditto.
1993 * config/os/solaris/solaris2.5/bits/os_defines.h: Ditto.
1994 * config/os/solaris/solaris2.6/bits/os_defines.h: Ditto.
1995 * config/os/solaris/solaris2.7/bits/os_defines.h: Ditto.
1997 2000-10-07 David Edelsohn <dje@watson.ibm.com>
1999 * config/os/aix/bits/atomicity.h: New file.
2001 2000-10-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2003 * acinclude.m4: Remove CPU_FLAGS
2004 * libio/Makefile.am: Here too.
2005 * Makefile.am: Here too.
2007 * src/Makefile.am (CONFIG_INCLUDES): Remove.
2008 (INCLUDES): Remove CONFIG_INCLUDES.
2009 (cpu_headers): Remove.
2010 (myinstallheaders): Remove cpu_headers.
2011 (generated_headers): Rename to build_headers.
2012 (build_headers): Add atomicity.h, ctype_base.h,
2013 ctype_specializations.h.
2015 * config/os: New directory.
2016 * config/aix: Move to...
2017 * config/bsd: Move to...
2018 * config/generic: Move to...
2019 * config/gnu-linux: Move to...
2020 * config/irix: Move to...
2021 * config/newlib: Move to...
2022 * config/solaris: Move to...
2023 * config/os/*: Here.
2025 2000-10-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2027 * acinclude.m4: Remove CPU_FLAGS
2028 * libio/Makefile.am: Here too.
2029 * Makefile.am: Here too.
2031 * src/Makefile.am (CONFIG_INCLUDES): Remove.
2032 (INCLUDES): Remove CONFIG_INCLUDES.
2033 (cpu_headers): Remove.
2034 (myinstallheaders): Remove cpu_headers.
2035 (generated_headers): Rename to build_headers.
2036 (build_headers): Add atomicity.h, ctype_base.h,
2037 ctype_specializations.h.
2039 * config/os: New directory.
2040 * config/aix: Move to...
2041 * config/bsd: Move to...
2042 * config/generic: Move to...
2043 * config/gnu-linux: Move to...
2044 * config/irix: Move to...
2045 * config/newlib: Move to...
2046 * config/solaris: Move to...
2047 * config/os/*: Here.
2049 2000-10-06 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2051 * src/Makefile.am: Remove OPTIMIZE_CXXFLAGS, WARN_CXXFLAGS,
2052 CONFIG_CXXFLAGS from here, and move to...
2053 * src/Makefile.in: Regenerate.
2054 * Makefile.am: ... here. Clean.
2055 (OPTIMIZE_CXXFLAGS): Move up Makefile hierarchy to here.
2056 (WARN_CXXFLAGS): Same.
2057 (CONFIG_CXXFLAGS): Same.
2058 * Makefile.in: Regenerate.
2059 * libsupc++/Makefile.am: Use top-level OPTIMIZE_CXXFLAGS,
2060 WARN_CXXFLAGS, CONFIG_CXXFLAGS as part of local AM_CXXFLAGS.
2061 * libsupc++/Makefile.in: Regenerate.
2063 Change math to libmath.
2064 * math: Move to libmath, delete.
2065 * libmath: New directory.
2066 * libmath/*: Populate.
2067 * src/Makefile.am (LIBMATH_INCLUDES): Change to libmath.
2068 (libstdc___la_LIBADD): Same.
2069 * src/Makefile.in: Regenerate.
2070 * configure.in: Add AC_OUTPUT for libmath/Makefile.
2071 * configure: Regenerate.
2072 * Makefile.am (SUBDIRS): Add libmath.
2073 * Makefile.in: Regenerate.
2074 * README (file): Change name.
2076 2000-10-06 Benjamin Kosnik <bkoz@cygnus.com>
2077 Richard Henderson <rth@cygnus.com>
2078 Alexandre Oliva <aoliva@redhat.com>
2080 * libsupc++: New directory.
2081 * libsupc++/*: Populate.
2082 * libsupc++/Makefile.am (INCLUDES): Add -I../../gcc for
2083 eh-common.h, gansidecl.h.
2084 * configure.in: Add in libsupc++/Makefile to AC_OUTPUT.
2085 * configure: Regenerate.
2086 * Makefile.am (SUBDIRS): Add libsupc++.
2087 * Makefile.in: Regenerate.
2088 * src/Makefile.am (libstdc___la_LIBADD): Add in libsupc++.la
2089 * src/Makefile.in: Regenerate.
2090 * libio/Makefile.am: Remove extraneous, confusing bits.
2091 * libio/Makefile.in: Regenerate.
2093 2000-10-05 Brent Verner <brent@rcfile.org>
2095 * bits/istream.tcc [basic_istream::get(basic_streambuf&)]: Removed
2096 test for _M_gcount < in_avail(), as in_avail() only reports info
2097 for current buffer, causing method to return at end of buffer.
2098 * testsuite/27_io/istream_unformatted.cc [test07()]: New test.
2099 * testsuite/27_io/istream_unformatted-3.txt: New file.
2100 * testsuite/27_io/istream_unformatted-3.tst: New file.
2102 2000-10-05 Benjamin Kosnik <bkoz@fillmore.constant.com>
2104 * README (file): Adjust directory structures.
2105 * mkcheck.in (INC_PATH): Adjust for header changes.
2107 2000-10-05 Phil Edwards <pme@sources.redhat.com>
2109 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Tweaks to message texts
2110 for public relations purposes.
2111 * aclocal.m4: Regenerated.
2112 * configure: Regenerated.
2114 * docs/ext/howto.html: Additional explanation about hashing.
2116 2000-10-05 Benjamin Kosnik <bkoz@cygnus.com>
2118 * include: New directory.
2119 * include/backward: New directory.
2120 * include/bits: New directory.
2121 * include/ext: New directory.
2122 * include/std: New directory.
2123 * include/*/*: Populate.
2125 * backwards: Move to include/backwards, delete.
2126 * bits: Move to include/bits, delete.
2127 * ext: Move to include/ext, delete.
2128 * std: Move to include/std, delete.
2130 * src/complex.cc: Adjust include of mathconf.
2132 * mkc++config (BASE_H): Add include.
2134 * src/Makefile.am: Support for topleve sources include directory.
2135 (INCLUDES): Add LIBMATH_INCLUDE.
2136 * src/Makefile.in: Regenerate.
2137 * math/Makefile.am (INCLUDES): Append /include.
2138 * math/Makefile.in: Regenerate.
2139 * libio/Makefile.am (INCLUDES): Add glibcpp_includedir.
2140 * libio/Makefile.in: Regenerate.
2142 2000-10-04 Benjamin Kosnik <bkoz@gnu.org>
2144 * libio/_G_config.h : Re-guard the __mbstate_t declaration.
2146 2000-10-03 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2148 * docs/22_locale/howto.html: Add link to proto-documentation on
2150 * docs/documentation.html: Rename links for clarity.
2152 * src/Makefile.am (headers): Remove unistd.h, wrap_unistd.h. Add
2153 fcntl.h, iolibio.h, libioP.h, pthread.h, iconv.h.
2154 * src/Makefile.in: Regenerate.
2156 2000-10-02 Steven King <sxking@uswest.net>
2158 * mkcshadow: Fixed script to output proper include guard.
2159 * bits/char_traits.h: Cleaned up types in char_traits<char> functions.
2160 * libio/_G_config.h: Hacked to make work with shadow heraders.
2161 * shadow/*: Hacked to make shadow headers work.
2163 2000-10-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2165 Self-compile with shadow headers.
2166 * acconfig.h (_GLIBCPP_USE_SHADOW_HEADERS): Define. Eventually,
2167 like _GLIBCPP_USE_NAMESPACES before it, this macro will die when
2168 it becomes the default way the library is built.
2169 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): New macro.
2170 * config/gnu-linux/bits/ctype_base.h (ctype_base): Use it.
2171 * config/gnu-linux/ctype.cc (ctype): Use it.
2173 * src/localename.cc (locale::_Impl::_M_replace_categories): Remove
2175 * src/locale.cc: Explicitly cast mbstate_t to void* in calls to
2176 memset. This should not be necessary, but an ambiguous overload
2179 * shadow/bits/std_cwchar.h: Fix.
2180 * shadow/wchar.h: Fix.
2182 * config/gnu-linux/bits/ctype_base.h (ctype_base): Inject ctype
2183 enums into namespace std:: for ctype_base enum. Other OS types
2184 will have to do this as well.
2185 * config/gnu-linux/ctype.cc (ctype): Inject ctype data into
2186 namespace std, in particular __ctype_toupper, __ctype_tolower,
2189 * shadow/iolibio.h: New file.
2190 * shadow/bits/wrap_iolibio.h: New file.
2191 * shadow/libioP.h: New file.
2192 * shadow/bits/wrap_libioP.h: New file.
2193 * shadow/bits/wrap_fcntl.h: New file.
2194 * shadow/fcntl.h: New file.
2195 * shadow/iconv.h: New file. Inject iconv names into the global
2196 namespace, unmangled for the moment.
2197 * shadow/bits/wrap_iconv.h: New file.
2198 * shadow/unistd.h: Remove. Useless.
2199 * shadow/bits/wrap_unistd.h: Remove.
2201 * src/Makefile.am: Take out machine-ansi.h, add fcntl.h unistd.h.
2202 * src/Makefile.in: Regenerate.
2204 * config/c_io_libio.h (_IO_codecvt): Change to normal C++ decl.
2206 * shadow/libio.h: Fix.
2207 * shadow/bits/wrap_libio.h: Fix.
2209 * shadow/bits/std_clocale.h: Remove typedef struct construct,
2210 which will not compile.
2211 * shadow/bits/std_ctime.h: Same.
2213 * shadow/pthread.h: New file. Put pthreads types and functions
2214 into global scope, which is probably not the correct long-term
2215 solution but has to be done at the moment before libio wrappers
2216 can even be started.
2217 * shadow/bits/wrap_pthread.h: New file.
2219 * bits/std_ios.h: Formatting tweak.
2220 * shadow/bits/std_cstdio.h: Format. Remove extraneous bits.
2222 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Add -Werror to
2223 tests for compiler features.
2224 * aclocal.m4: Regenerate.
2225 * configure: Regenerate.
2227 * config/c_io_libio.cc: Remove fcntl.h include, as SEEK_SET
2229 * libio/libioP.h: Comment out fcntl.h include.
2231 * shadow/math.h: Add in float and long declarations, as per ISO C9X.
2233 * bits/c++config: Define _ISOC99_SOURCE.
2235 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Add -fno-builtins to
2236 CSHADOWFLAGS, as well as _ISOC99_SOURCE.
2237 * aclocal.m4: Regenerate.
2238 * configure: Regenerate.
2239 * src/Makefile.am (CSHADOW_INCLUDES): Enable, again.
2240 (CSHADOW_INCLUDES): Add -I$(top_srcdir)/std before shadow include dir.
2241 (CXXCOMPILE): Remove $(DEFS), which searches $(top_srcdir) before
2242 std or shadow directories.
2243 (LTCXXCOMPILE): Same.
2244 (INCLUDES): Add $(top_builddir) before $(top_srcdir).
2245 (AC_CXXFLAGS): Add CSHADOWFLAGS.
2246 * src/Makefile.in: Regenerate.
2248 * src/complex.cc (FCT): Change ::name to name.
2249 * src/complexl.cc (FCT): Same. Use _GLIBCPP_USE_LONG_LONG here.
2250 * src/complexf.cc (FCT): Same.
2252 * src/complexf.cc: Remove FCT define, as things are properly
2253 overloaded in the std namespace with the shadow headers.
2254 * src/complexl.cc: Same.
2255 * src/complex.cc: Same.
2257 2000-09-25 Phil Edwards <pme@sources.redhat.com>
2259 * docs/documentation.html: Add link to...
2260 * docs/ext/howto.html: ...this. New dir/file, describing library
2261 extensions (both ours and SGI's).
2262 * docs/faq/index.html: Small updates.
2263 * docs/faq/index.txt: Regenerate.
2265 2000-09-25 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
2267 * bits/basic_file.h (_M_open_mode): Remove extra qualifier.
2269 2000-09-25 Levente Farkas <lfarkas@mindmaker.hu>
2271 * ext/stl_hashtable.h (_M_copy_from): Change __copy to __local_copy.
2273 2000-09-19 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2275 * src/localename.cc (locale::_Imp) : Remove typedefs.
2276 * bits/localefwd.h (locale::locale(const locale& __other, _Facet*
2277 __f): Consistency check, call _Imp ctor with reference argument
2279 * bits/localefwd.h: Change _S_num_categories to
2280 _S_categories_num. Add new data member, _S_facets_num, which is
2281 the number of standard facets.
2283 2000-09-19 Phil Edwards <pme@sources.redhat.com>
2285 * docs/21_strings/howto.html: Fix editor lossage from last commit.
2287 2000-09-19 Phil Edwards <pme@sources.redhat.com>
2289 * docs/thanks.html: More thanks.
2290 * docs/18_support/howto.html: Fix thinko.
2291 * docs/21_strings/howto.html: Minor tweaks and updates to URLs.
2292 Redo the string transformation notes and link to...
2293 * docs/22_locale/howto.html: ...here.
2295 2000-09-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2297 * src/locale-inst.cc: Add time_put_byname and
2298 time_get_byname instantiations.
2299 * bits/locale_facets.h: Correct default, private derivation to
2300 public derivation in _byname declarations.
2301 * src/locale.cc (locale::classic()): Simplify.
2302 * src/localename.cc (locale::_Impl:: _Impl(const _Impl& __other,
2303 const string& __name, category __cat, size_t __refs): Re-work for
2305 (_M_normalize_category_names): Remove.
2307 * testsuite/22_locale/global_templates.cc (test01): Tweaks.
2308 * testsuite/22_locale/ctor_copy_dtor.cc (test01): More tests.
2310 2000-09-18 Yuri V. Baskakov <yuribsk@lab.sun.mcst.ru>
2312 * bits/std_bitset.h (operator>>): Change to char_type.
2314 2000-09-15 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2316 * src/locale.cc (locale::locale(const char* __name)): Consolidate
2317 name setting. Add checks for NULL __name pointers. Remove calls to
2318 _S_initialize() as initial locale initialization can either be
2319 assumed, or needs to be made consistent throughout locale
2321 (locale::locale(const locale& __other, const char* __name,
2322 category __cat): Add checks for NULL name. Add checks for
2324 * src/localename.cc (locale::_Impl:: _Impl(const _Impl& __other,
2325 const string& __name, category __cat, size_t __refs)): Set correct
2326 name, has_name values.
2327 * testsuite/22_locale/ctor_copy_dtor.cc (test01): More tests.
2328 * docs/22_locale/locale.html: New file, more unfinished docs...
2330 2000-09-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2332 * src/locale.cc (locale::name()): Implement.
2333 (_Impl(size_t __numfacets, size_t __refs, bool __namep = false,
2334 string __name = "*")): Change signature.
2335 (locale::classic): Initialize the "C" locale as a named locale.
2336 * bits/localefwd.h (locale): Change _M_num_references to
2337 _M_references. Eliminate _M_cached_name_ok. Rename _M_cached_name
2339 * bits/localefwd.h: Tweaks.
2340 * src/localename.cc: Tweaks.
2341 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Add tests.
2344 * bits/basic_string.h: Consistency check, change _M_state ->
2347 2000-09-14 Brendan Kehoe <brendan@zen.org>
2349 * bits/string.tcc (_Rep::_S_max_size): Use typename for its size_type
2352 * src/Makefile.an (headers): Also install backward/fstream.h.
2353 * src/Makefile.in: Regenerate.
2355 * bits/char_traits.h (char_traits<_CharT>::get_state,
2356 char_traits<char>::get_state, char_traits<wchar_t>::get_state): Pass
2357 argument in by reference, not by value. Uglify to _S_get_state.
2358 (char_traits<*>::__eos): Uglify to _S_eos.
2359 * bits/std_ostream.h (ends(basic_ostream<_CharT, _Traits>& __os)):
2360 Change __eos to _S_eos.
2362 2000-09-13 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2364 * testsuite/22_locale/static_members.cc: New file.
2365 * testsuite/22_locale/ctor_copy_dtor.cc: New file.
2366 * src/locale.cc: Minor formatting tweaks.
2368 2000-09-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2370 * testsuite/22_locale/global_templates.cc (test01): Add negative
2371 tests for use_facet.
2373 * bits/localefwd.h (locale::operator()): Minor tweaks.
2374 * bits/locale_facets.tcc (locale::operator()): Same.
2375 * testsuite/22_locale/operators.cc: New file.
2377 * testsuite/22_locale/facet.cc (output_iterator): Remove
2378 gnu_input_iterator, gnu_output_iterator.
2380 2000-09-11 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2382 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Remove test != "0".
2383 * aclocal.m4: Regenerate.
2384 * configure: Regenerate.
2386 * bits/c++config (__GLIBCPP__): Update, in the hopes of making a
2387 snapshot release soon.
2388 (_GNU_SOURCE): Define this in the header files, as ISO C99 support
2389 is pretty much assumed.
2391 * testsuite/22_locale/global_templates.cc: New file. Add tests for
2392 use_facet and has_facet.
2394 * bits/codecvt.h (codecvt<_InT, _ExT, __enc_traits>::do_out):
2395 Modify/correct iconv signatures for glibc2.2.
2397 2000-09-10 Branko Cibej <branko.cibej@hermes.si>
2399 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Replace "grep -q" with
2402 2000-09-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2404 * bits/localefwd.h (locale::_Impl): Scope out types to public.
2405 (locale): Make _Impl declaration public.
2407 2000-09-08 Felix Natter <fnatter@gmx.net>
2409 * docs/17_intro/porting-howto.html: New version.
2411 2000-09-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2413 * config/cpu/i386/bits/atomicity.h (__exchange_and_add): Change unused
2415 * config/cpu/ia64/bits/atomicity.h (__exchange_and_add): And here.
2416 * config/cpu/i486/bits/atomicity.h (__exchange_and_add): And here.
2418 2000-09-07 Phil Edwards <pme@sources.redhat.com>
2420 Add bits for --enable-maintainer-mode:
2421 - turns on enable_debug
2422 (doing "--enable-maint --disable-debug" will DTRT)
2423 - turns on -Werror, now off by default
2424 * acinclude.m4: Add bits.
2425 * aclocal.m4: Regenerate.
2426 * configure.in: Add defaults for GLIBCPP_ENABLE_DEBUG.
2427 * configure: Regenerate.
2429 2000-09-07 Benjamin Kosnik <bkoz@cygnus.com>
2431 * bits/std_cwctype.h: Remove yesterday's hacks.
2433 2000-09-07 Brad Garcia <bgarcia@laurelnetworks.com>
2435 * bits/stl_tree.h: Make operators !=, == type safe for map, set.
2436 * testsuite/23_containers/set_operators.cc: New file. Should not
2438 * testsuite/23_containers/map_operators.cc: New file. Ditto.
2440 2000-09-06 Richard Henderson <rth@cygnus.com>
2441 Benjamin Kosnik <bkoz@cygnus.com>
2443 * acinclude.m4 (GLIBCPP_CHECK_CPU): Add ia64 support.
2444 * aclocal.m4: Regenerate.
2445 * configure: Regenerate.
2446 * config/cpu/ia64: New directory.
2447 * config/cpu/ia64/bits: New directory.
2448 * config/cpu/ia64/bits/atomicity.h: New file.
2450 2000-09-06 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2452 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Force glibc_satisfactory
2453 to no, so that libstdc++-v3's libio will be built on glibc-2.2
2455 * aclocal.m4: Regenerate.
2456 * configure: Regenerate.
2457 * */Makefile.in: Regenerate.
2459 * bits/std_cwctype.h: Put in temporary hack to work around -O2 +
2460 glibc 2.1.x unsigned errors. Or disable -Werror by default...
2462 * testsuite/23_containers/vector_element_access.cc: New file.
2463 * bits/stl_config.h (__STL_THROW_RANGE_ERRORS): Define.
2465 2000-09-06 Levente Farkas <lfarkas@mindmaker.hu>
2467 * bits/string.tcc: Fix up more parameter names.
2469 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
2471 * configure: Rebuilt with new libtool.m4.
2473 2000-09-01 Benjamin Kosnik <bkoz@cygnus.com>
2475 * src/locale-inst.cc: Remove pre-instantiation of unicode
2476 codecvt types. Now unnecessary, as locale header now correct.
2478 2000-08-31 Benjamin Kosnik <bkoz@cygnus.com>
2480 * bits/locale_facets.tcc (_S_build_float_format): Move ...
2481 * src/locale.cc: Here.
2482 * bits/locale_facets.tcc (num_get::_M_extract): Clean up generic
2483 definition. Move specialization to ...
2484 * src/locale.cc: Here.
2485 * bits/locale_facets.tcc: Move _Format_cache specializations to ...
2486 * src/locale.cc: Here.
2487 * bits/locale_facets.tcc: Move use_facet<ctype> specializations to ...
2488 * src/locale.cc: Here.
2490 * bits/std_locale.h: Note that locale_facets.tcc should be
2491 included here, for standards conformance. It may increase
2492 compile times though. For the time being, enable.
2493 * testsuite/22_locale/facet.cc: New file, some parts commented out
2496 * mkcheck.in: Append total time to test summary file.
2498 * bits/sbuf_iter.h : Formatting tweaks.
2500 Clean up static const data member definitions.
2501 * src/locale.cc: Add definitions for all missing locale,
2502 locale::_Imp, and locale::id static data members.
2503 (ctype<char>): Add table_size define.
2504 (money_base): Add _S_default_pattern, uglify.
2505 * bits/localefwd.h: Add definitions for static members of _Count_ones.
2506 * bits/locale_facets.h: Tweaks.
2507 * bits/locale_facets.tcc: Tweaks.
2508 * bits/string.tcc: Add definition for npos.
2509 * bits/ios_base.h: Tweaks.
2510 * bits/ios_base.h (ios_base::Init::_M_ios_base_init): Change to
2512 * src/ios.cc: And here. Add _S_local_words definition.
2513 Add definitions for __ios_flags const static data.
2514 * src/codecvt.cc: Same for __enc_traits.
2515 * src/locale-inst.cc: Remove money_base data member definition
2518 2000-08-30 Benjamin Kosnik <bkoz@redhat.com>
2520 * testsuite/22_locale/ctype_wchar_t_members.cc (test01): New file.
2522 * docs/22_locale/codecvt.html: Re-number.
2523 * docs/22_locale/howto.html: Add entry for ctype
2524 documentation. Add entry for Nathan's introduction to locales
2526 * docs/22_locale/ctype.html: New file. In progress...
2528 * docs/22_locale/codecvt.html: Formatting cleanups.
2529 * src/locale.cc (ctype<wchar_t>::do_is): Fix thinko.
2531 2000-08-30 Phil Edwards <pme@sources.redhat.com>
2533 * docs/22_locale/codecvt.html: Behind-the-scenes ASCII->HTML
2534 tweaks for certain browsers.
2536 2000-08-29 Benjamin Kosnik <bkoz@redhat.com>
2538 * bits/locale_facets.h (ctype<char>): Remove __table_type.
2539 Add include for bits/std_cwctype.h, for wctype_t.
2540 * src/locale.cc (ctype<wchar_t>): Implement.
2541 * config/gnu-linux/bits/ctype_base.h (ctype_base): Remove mask
2542 typedef, instead name enum.
2543 * config/gnu-linux/bits/ctype_specializations.h: Tweak.
2544 * config/gnu-linux/ctype.cc: Tweak.
2545 * testsuite/22_locale/ctype.cc: Tweak.
2547 * bits/codecvt.h (__enc_traits): Uglify names.
2549 2000-08-28 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2551 * docs/22_locale/codecvt.html: Add more bits, format.
2552 * bits/codecvt.h: Add copy ctor, rename types.
2553 * testsuite/22_locale/codecvt_unicode_char.cc: Tweak.
2555 * libio/iofwide.c: Tweak.
2557 2000-08-28 Phil Edwards <pme@sources.redhat.com>
2559 * docs/configopts.html: Mention new options.
2560 * docs/install.html: Formatting changes for platform-specific
2561 pre-reqs, previously only Cygwin.
2562 * docs/mail.html: Fix new link.
2563 * docs/thanks.html: A couple more people.
2564 * docs/26_numerics/howto.html: Fix typo.
2566 2000-08-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2568 * docs/22_locale/howto.html: Add notes on codecvt implementation.
2569 * docs/22_locale/codecvt.html: New file. In progress.
2571 2000-08-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2573 * acconfig.h: Revert.
2574 * acinclude.m4: Revert.
2575 * libio/_G_config.h: Revert.
2576 * libio/libio.h: Revert.
2578 2000-08-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2580 * bits/codecvt.h: Tweaks.
2581 * testsuite/22_locale/codecvt_unicode_wchar_t.cc (test01): Fix up
2582 initial string literals for UCS4.
2584 2000-08-23 Phil Edwards <pme@sourceware.cygnus.com>
2586 * acconfig.h: _GLIBCPP_USING_THREADS and some workaround types added.
2587 * acinclude.m4: New macro, GLIBCPP_ENABLE_WCHAR. Set the threads
2588 definition as well, and some minor spelling/spacing fixes. If
2589 building libio, check for certain typedefs.
2590 * libio/_G_config.h: Wrap _IO_MTSAFE_IO in _GLIBCPP_USING_THREADS.
2591 Conditionally define _LARGEFILE64_SOURCE, otherwise the 64-bit types
2592 will never be there.
2593 * libio/libio.h: In the null case, _IO_lock_t can't just be void.
2594 * src/string-inst.cc: Use _GLIBCPP_USE_WCHAR_T.
2596 * configure.in: Update the cache a bit more often.
2598 * mkcheck.in: For check-install, also need to -I the testsuite dir.
2600 2000-08-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2602 * src/locale-inst.cc: Add codecvt<unicode_t, wchar_t,
2603 __enc_traits> instantiations for has_facet and use_facet.
2604 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: New file, for
2605 testing two-byte unicode encodings converted to four-byte UCS4
2608 * bits/codecvt.h (codecvt<__enc_traits>): Fix do_unshift.
2609 * testsuite/22_locale/codecvt_unicode_char.cc (test01): Add
2610 correct state/encoding information.
2612 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Add wcsrtombs,
2613 mbsrtowcs checks as codecvt<wchar_t, char, mbstate_t> needs them
2615 Add checks for langinfo.h, nl_langinfo function call.
2616 * libio/iofwide.c (_IO_fwide): Simplify, as nl_langinfo is assumed.
2618 2000-08-22 Richard B. Kreckel <Richard.Kreckel@Uni-Mainz.DE>
2620 * config/cpu/alpha/bits/atomicity.h: Change __attribute__
2621 ((unused)) to __attribute__ ((__unused__)).
2622 * config/cpu/arm/bits/atomicity.h: Same.
2623 * config/cpu/generic/bits/atomicity.h: Same.
2624 * config/cpu/i386/bits/atomicity.h: Same.
2625 * config/cpu/i486/bits/atomicity.h: Same.
2626 * config/cpu/powerpc/bits/atomicity.h: Same.
2627 * config/cpu/sparc/sparc32/bits/atomicity.h: Same.
2628 * config/cpu/sparc/sparc64/bits/atomicity.h: Same.
2630 2000-08-22 Levente Farkas <lfarkas@mindmaker.hu>
2632 * bits/basic_string.h: Fix up parameter names.
2634 2000-08-22 Brent Verner <brent@rcfile.org>
2636 * src/Makefile.am (INCLUDES): Put $(CSHADOW_INCLUDES) before
2638 * src/Makefile.in: Regenerate.
2640 2000-08-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2642 * bits/codecvt.h: Implement codecvt<wchar_t, char, mbstate_t>. Fix
2643 up __enc_traits template so as to be marginally useful.
2644 * src/codecvt.cc: And here.
2645 * bits/char_traits: Tweak.
2646 * bits/locale_facets.h: Tweak.
2647 * bits/locale_facets.tcc: Tweak.
2648 * bits/localefwd.h: Tweak.
2649 * src/locale-inst.cc: Add use_facet/has_facet instantiations here.
2650 * testsuite/22_locale/codecvt_wchar_t_cc.cc: New file.
2651 * testsuite/22_locale/codecvt_char_char.cc: New file.
2652 * testsuite/22_locale/codecvt_unicode_char.cc: New file.
2654 2000-08-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2656 * bits/std_cmath.h (std::abs): Overload for int and long.
2658 2000-08-20 Benjamin Kosnik <bkoz@gnu.org>
2660 * src/string-inst.cc: Tweak instantiations for new-gxx-abi.
2662 2000-08-19 Gabriel Dos Reis <gdr@codesourcery.com>
2664 * bits/valarray_array.h (__valarray_min, __valarray_max): Fix
2665 thinko. Diagnostic messages really need to be improved for
2666 template argument deduction.
2668 2000-08-18 Benjamin Kosnik <bkoz@gnu.org>
2670 * bits/valarray_meta.h: Fix typos...
2672 2000-08-18 Gabriel Dos Reis <gdr@codesourcery.com>
2674 * bits/valarray_meta.h (_Expr<>::shift, _Expr::cshift,
2675 _Expr<>::apply): Implement.
2677 2000-08-18 Gabriel Dos Reis <gdr@codesourcery.com>
2679 * bits/valarray_meta.h (_Expr<>::min, _Expr<>::max): Implement.
2681 * bits/valarray_array.h (__valarray_min, __valarray_max): New
2684 2000-08-17 Mark Mitchell <mark@codesourcery.com>
2686 * bits/localefwd.h (std::locale): Use explicit `class' specified
2687 when declaring friends.
2688 * bits/std_fstream.h (std::basic_filebuf): Likewise.
2690 2000-08-16 Alexandre Oliva <aoliva@redhat.com>
2692 * src/Makefile.am (libstdc++.INC): Renamed from INCLUDES.
2693 * src/Makefile.in: Regenerate.
2695 2000-08-15 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2697 * bits/codecvt.h: New file.
2698 * src/codecvt.cc: New file.
2699 * bits/std_locale.h: Add include here.
2700 * src/Makefile.am (headers): Add codecvt.h
2701 (sources): Add codecvt.cc.
2702 * src/Makefile.in: Regenerate.
2703 * bits/locale_facets.h (codecvt): Re-implement. Rename _Codecvt to
2704 __codecvt_abstract_base in an attempt to point some light this way...
2705 Move __enc_traits and codecvt bits to codecvt.h.
2706 * src/locale-inst.cc: Remove codecvt<wchar_t, wchar_t, mbstate_t>
2707 explicit instantiation. Separate out codecvt instantations, simplify.
2708 * src/locale.cc: Move codecvt bits to codecvt.cc
2710 2000-08-15 Alexandre Oliva <aoliva@redhat.com>
2712 * src/Makefile.am (INCLUDES): New target file, with all -I flags.
2713 * src/Makefile.in: Regenerate.
2715 2000-08-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2717 C/C++ io merge/sync.
2728 * config/c_io_libio.cc (__basic_file): Add hacky casts to
2729 ((struct _IO_FILE_plus *) in ctors.
2730 (__basic_file<wchar_t>): Adjust _wide_data->_codecvt to just _codecvt.
2731 * libio/Makefile.am: Fix copyright. Remove cleanup.c.
2732 * libio/cleanup.c: Remove.
2733 * libio/filedoalloc.c (_IO_file_doallocate): Don't call
2734 _IO_cleanup_registration_needed, even if not libc.
2736 * testsuite/27_io/stringstream.cc (test02): Fix.
2738 2000-08-14 Brent Verner <brent@rcfile.org>
2740 * testsuite/debug_assert.h: new file
2741 * testsuite/*/*.cc: s/test\s*&=([^;]+);/VERIFY($1);/g
2742 changed conditional #include <c?assert.?h?> to
2743 unconditional #include <debug_assert.h>
2744 * mkcheck.in: added $SRC_DIR/testsuite to include search path
2745 for testsuite compile command.
2747 2000-08-14 Levente Farkas <lfarkas@mindmaker.hu>
2749 * bits/std_fstream.h: Remove duplicate typdefs for ofstream and
2750 wofstream, filebuf, wfilebuf, fstream, wfstream.
2751 * bits/std_streambuf.h: Same for streambuf, wstreambuf.
2752 * bits/std_sstream.h: Same for stringstream and wstringstream.
2753 Same for stringbuf, wstringbuf, istringstream, wistringstream,
2754 ostringstream, wostringstream.
2756 * testsuite/26_numerics/valarray.cc: Add test.
2758 2000-08-14 Zack Weinberg <zack@wolery.cumb.org>
2760 * configure: Regenerate after change to ../libtool.m4.
2762 2000-08-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2764 * bits/locale_facets.tcc: Formatting tweaks.
2765 * bits/locale_facets.h (__enc_traits): Start integrating this
2766 into codecvt, ctype. Formatting tweaks.
2768 2000-08-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2770 Preliminary wchar_t implementation, with trivial encodings.
2771 * docs/configopts.html: Add bits about canonical configure option
2774 * testsuite/27_io/iostream_objects.cc: Replace this file (which
2775 has newly-declared-illegal mixing of wide/narrow stdstreams) with...
2776 * testsuite/27_io/narrow_stream_objects.cc: New file.
2777 * testsuite/27_io/wide_stream_objects.cc: New file.
2779 * bits/fstream.tcc (underflow): Temporarily hack a solution
2780 together that writes from the external file to the internal
2781 buffers. This removes codecvt from the loop, and is incorrect.
2782 (_M_really_overflow): Same here.
2784 * testsuite/21_strings/inserters_extractors.cc (test05): Tweaks.
2786 2000-08-08 Benjamin Kosnik <bkoz@cygnus.com>
2787 Ulrich Drepper <drepper@cygnus.com>
2789 * config/c_io_libio.h: Tweak.
2790 * config/c_io_libio_codecvt.c: New file.
2791 * libio/Makefile.am: Add c_codecvt.c.
2792 * libio/Makefile.in: Regenerate.
2793 * libio/genops.c (_IO_unbuffer_write): Don't call _IO_SETBUF if the
2794 stream is not orientated.
2796 * acinclude.m4: Add config/c_io_libio_codecvt.c dummy file, until
2797 encoding gets fleshed out.
2799 * bits/basic_file.h: Add specialization declarations.
2800 * config/c_io_libio.cc: Add specializations for pbackfail, uflow.
2802 * config/c_io_libio.h: Add __c_wfile_type.
2803 * bits/basic_file.h: Add _M_wfile.
2805 * config/c_io_libio.cc (__basic_file<char>): Initialize the
2806 streams without setting the orientation of the underlying FILE to
2807 either wide or narrow.
2808 (__basic_file<wchar_t>)): Enable tricky wchar_t io bits.
2810 2000-08-07 Felix Natter <fnatter@gmx.net>
2812 * docs/17_intro/porting-howto.html: New version.
2814 2000-08-03 Mark Mitchell <mark@codesourcery.com>
2816 * bits/locale_facets.h (ctype::ctype): Don't name unused
2819 2000-08-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2821 * docs/install.html: Edit bits about requiring a special version
2824 2000-07-31 Benjamin Kosnik <bkoz@cygnus.com>
2826 * libio/fileops.cc: Update to current glibc sources.
2827 * libio/genops.c: Same.
2828 * libio/iofwide.c: Same.
2829 * libio/libio.h: Same.
2830 * libio/libioP.h: Same.
2831 * libio/wfiledoalloc.c: Same.
2832 * libio/wgenops.c: Same.
2834 2000-07-28 Alexandre Oliva <aoliva@redhat.com>
2836 * acinclude.m4: Include ../libtool.m4.
2837 * aclocal.m4, configure: Rebuilt.
2839 2000-07-26 Phil Edwards <pme@sourceware.cygnus.com>
2841 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Test for GNU ld
2842 before trying to use any of its options.
2843 (CHECK_MATH_DECL*,CHECK_BUILTIN_MATH_DECL*): Cache tests.
2844 * aclocal.m4: Regenerate.
2845 * configure.in: Having found GNU make, name it.
2846 * configure: Regenerate.
2847 * docs/install.html: Mention possible problems with caching.
2848 * src/Makefile.am (CXXLINK): Use new OPT_LDFLAGS.
2849 * src/Makefile.in: Regenerate.
2850 * libio/Makefile.in: Regenerate.
2851 * math/Makefile.in: Regenerate.
2852 * Makefile.in: Regenerate.
2854 2000-07-26 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2856 * src/misc-inst.cc (std): Remove instantiations.
2858 * acinclude.m4: Add forward-looking bits for autoconf.
2859 * aclocal.m4: Regenerate.
2861 * bits/ostream.tcc (ostream::operator<<): Fix const char* case.
2863 2000-07-25 Benjamin Kosnik <bkoz@gnu.org>
2865 * configure.in: Change AM_PROG_LIBTOOL to AC_PROG_LIBTOOL. Change
2866 it back for current versions of maintainer-tools...
2867 * acinclude.m4: Some cleanups...
2868 * aclocal: Regenerated.
2869 * configure: Regenerated.
2871 * src/Makefile.am (CXXLINK): Add -Wl,-01 to the link line for
2872 optimizing/adapting the hash table using GNU ld.
2873 * src/Makefile.in: Regenerate.
2875 2000-07-24 H.J. Lu <hjl@gnu.org>
2877 * src/Makefile.am (LIBIO_INCLUDES): Set to -I$(top_srcdir)/libio
2878 even if GLIBCPP_NEED_LIBIO is false. The installed glibc header
2879 files don't include private libio header files needed by
2881 * src/Makefile.in: Rebuild.
2883 2000-07-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2885 * bits/std_fstream.h: Parameterize __basic_file.
2886 * config/c_io_libio.cc: Add wchar_t methods for parameterization.
2887 * bits/basic_file.h: Same here.
2889 * bits/istream.tcc (getline): Tweaks.
2891 * bits/fstream.tcc: Shorten __retval to __ret.
2892 * bits/ostream.tcc: Same.
2893 * bits/sbuf_iter.h: Same.
2894 * bits/sstream.tcc: Same.
2895 * bits/streambuf.tcc: Same.
2896 * bits/std_fstream.h: Same.
2897 * src/string-inst.cc: Same.
2899 * config/c_io_libio.cc: Same.
2900 * bits/string.tcc: Same.
2901 * bits/std_streambuf.h: Same.
2903 2000-07-23 Brent Verner <brent@rcfile.org>
2905 * bits/istream.tcc: istream::getline(char_type*, streamsize,
2906 char_type) make compliant
2907 * testsuite/27_io/istream_unformatted.cc: test for compliant behavior
2909 2000-07-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2911 * acinclude.m4 (enable_cshadow_headers): Fix problems with blddir
2912 and srcdir used to define CSHADOW_INCLUDES..
2914 * configure.in: For consistency, change .sanity_warned to
2915 stamp-sanity-warned.
2917 * acinclude.m4: Tweak formatting.
2918 * Makefile.am (check): Call mkcheck with full pathname for build
2920 (check-install): And here.
2921 * Makefile.in: Regenerate.
2923 2000-07-22 Gabriel Dos Reis <gdr@codesourcery.com>
2925 Line up with libstdc++-v2 version of valarray.
2926 * bits/valarray_array.h (__valarray_product): Make inline.
2927 * src/valarray-inst.cc (__valarray_product): Remove explicit
2930 2000-07-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2932 * src/stl-inst.cc: Change __sink_unused_warning to unsigned int
2935 * testsuite/26_numerics/complex_inserters_extractors.cc (testall):
2936 Change return type to void.
2937 * testsuite/25_algorithms/lower_bound.cc: Add return values.
2938 * testsuite/17_intro/header_ciso646.cc: Modify.
2939 * bits/locale_facets.h: Add return values for the generic cases.
2941 2000-07-21 H.J. Lu (hjl@gnu.org)
2943 * acinclude.m4: Include <features.h> for glibc testing.
2944 * aclocal.m4: Likewise.
2946 * configure: Rebuild.
2948 2000-07-20 H.J. Lu (hjl@gnu.org)
2950 * acinclude.m4: Change "#pragma system_header" to
2951 "#pragma GCC system_header".
2952 * aclocal.m4: Likewise.
2953 * bits/std_cmath.h: Likewise.
2954 * bits/std_cassert.h: Likewise.
2955 * bits/std_cctype.h: Likewise.
2956 * bits/std_cerrno.h: Likewise.
2957 * bits/std_cfloat.h: Likewise.
2958 * bits/std_climits.h: Likewise.
2959 * bits/std_clocale.h: Likewise.
2960 * bits/std_cwchar.h: Likewise.
2961 * bits/std_csetjmp.h: Likewise.
2962 * bits/std_csignal.h: Likewise.
2963 * bits/std_cstdarg.h: Likewise.
2964 * bits/std_cstddef.h: Likewise.
2965 * bits/std_cstdio.h: Likewise.
2966 * bits/std_cstdlib.h: Likewise.
2967 * bits/std_cstring.h: Likewise.
2968 * bits/std_ctime.h: Likewise.
2969 * bits/std_cwctype.h: Likewise.
2970 * bits/std_exception.h: Likewise.
2971 * bits/std_new.h: Likewise.
2972 * bits/std_typeinfo.h: Likewise.
2973 * shadow/bits/std_cassert.h: Likewise.
2974 * shadow/bits/std_cctype.h: Likewise.
2975 * shadow/bits/std_cerrno.h: Likewise.
2976 * shadow/bits/std_cfloat.h: Likewise.
2977 * shadow/bits/std_climits.h: Likewise.
2978 * shadow/bits/std_clocale.h: Likewise.
2979 * shadow/bits/std_cmath.h: Likewise.
2980 * shadow/bits/std_csetjmp.h: Likewise.
2981 * shadow/bits/std_csignal.h: Likewise.
2982 * shadow/bits/std_cstdarg.h: Likewise.
2983 * shadow/bits/std_cstddef.h: Likewise.
2984 * shadow/bits/std_cstdio.h: Likewise.
2985 * shadow/bits/std_cstdlib.h: Likewise.
2986 * shadow/bits/std_cstring.h: Likewise.
2987 * shadow/bits/std_ctime.h: Likewise.
2988 * shadow/bits/std_cwchar.h: Likewise.
2989 * shadow/bits/std_cwctype.h: Likewise.
2990 * shadow/bits/wrap_libio.h: Likewise.
2991 * shadow/bits/wrap_unistd.h: Likewise.
2992 * shadow/sys/cdefs.h: Likewise.
2994 * configure: Rebuild.
2996 2000-07-20 Jakub Jelinek <jakub@redhat.com>
2998 * config/cpu/sparc/sparc64/bits/atomicity.h (__exchange_and_add):
2999 Use extended word instructions to match 64bit _Atomic_word.
3000 (__atomic_add): Likewise.
3001 * math/clog10l.c (clog10l): Use M_PIl if defined.
3002 * math/c_logl.c (c_logl): Likewise.
3003 * math/signbitl.c (__signbitl): Adapt for IEEE quad long doubles.
3004 * math/mathconf.h (ieee_quad_double_shape_type): New type.
3005 (GET_LDOUBLE_MSW64): New define.
3007 2000-07-20 Benjamin Kosnik <bkoz@cygnus.com>
3009 * bits/std_streambuf.h: Add bits for pback buffers here, so that
3010 in_avail, etc can use them.
3011 * bits/std_fstream.h: Ditto.
3012 * bits/fstream.tcc: Ditto.
3013 * testsuite/27_io/filebuf.cc: Tweaks.
3014 * testsuite/27_io/filebuf-3.tst: Correct for pbackfail bits.
3016 2000-07-19 Benjamin Kosnik <bkoz@cygnus.com>
3018 * src/localename.cc: Same.
3019 * src/locale.cc: Same.
3020 * bits/localefwd.h: _M_init_facet to _M_facet_init.
3022 * bits/locale_facets.h: _M_init_boolnames to _M_boolnames_init.
3024 * bits/std_sstream.h: Change _M_init_stringbuf to _M_stringbuf_init.
3026 * bits/fstream.tcc: Change _M_init_filebuf to _M_filebuf_init.
3027 * bits/std_fstream.h: Same.
3029 * bits/basic_string.h: Tweaks.
3031 2000-07-19 Phil Edwards <pme@sourceware.cygnus.com>
3033 * docs/18_support/howto.html: Update.
3035 2000-07-19 Benjamin Kosnik <bkoz@milou.soma.redhat.com>
3037 Internal consistency checks.....
3038 * bits/ios_base.h: Change _M_locale_ios to _M_ios_locale.
3041 * bits/basic_ios.h: Change _M_fctype_ios to _M_ios_fctype.
3042 * bits/basic_ios.tcc: Same.
3044 * bits/std_streambuf.h: Change _M_locale_buf to _M_buf_locale.
3045 Change _M_fctype_buf to _M_buf_fctype.
3046 * bits/fstream.tcc: Same.
3048 * bits/std_streambuf.h: Change _M_buf_bump to _M_out_cur_move.
3049 Change _M_locale_set to _M_buf_locale_init.
3050 * bits/streambuf.tcc: Same.
3051 * bits/sstream.tcc: Same.
3052 * bits/fstream.tcc: Same.
3054 * bits/std_streambuf.h: Make typedefs consistent.
3055 (_M_buf_bump): Be more careful with input sequence.
3057 * bits/std_sstream.h: Same.
3058 * bits/std_fstream.h: Same.
3060 2000-07-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3062 * acinclude.m4: Tweaks.
3063 * config/c_io_libio.cc: Tweaks.
3064 * bits/sstream.tcc (stringbuf::pbackfail): Simplify.
3065 * libio/_G_config.h: Don't define _G_HAVE_ST_BLKSIZE.
3066 * libio/[iofwide.c, wfiledoalloc.c, wfiteopos.c, wgenops.c]: New files.
3067 * libio/iofclose.c iofopen.c, stdio.c: New files.
3068 * libio/Makefile.am: Add files, add flags, etc.
3069 * src/Makefile.am (sources): Add filebuf.cc.
3070 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT):
3071 (GLIBCPP_ENABLE_CSTDIO): Versioning testing, etc etc.
3073 2000-07-17 Phil Edwards <pme@sourceware.cygnus.com>
3075 * acinclude.m4: Import CHECK_GNU_MAKE from autoconf macro archive.
3076 * configure.in: Use it. Also print reminders one time.
3077 * aclocal.m4: Regenerate.
3078 * configure: Regenerate.
3080 2000-07-15 Gabriel Dos Reis <gdr@codesourcery.com>
3082 * bits/valarray_array.h (__valarray_get_storage): New function.
3083 (_Array<>::Array): Use it.
3084 * bits/std_valarray.h (valarray<>::valarray): Likewise.
3085 (valarray<>::resize): Likewise. Tweak.
3086 * src/valarray-inst.cc (__valarray_product): Tweak.
3088 2000-07-11 Phil Edwards <pme@sourceware.cygnus.com>
3090 * docs: Update sourceware->sources in every HTML file. Minor updates.
3092 2000-07-07 Benjamin Kosnik <bkoz@soma.redhat.com>
3094 Clean up configure/build longstanding issues.
3095 * src/Makefile.am (AC_CXXFLAGS): Don't set @SECTION_LDFLAGS@ here.
3096 (CXXLINK): Add here, instead.
3098 * Makefile.am (check-install): Make sure mkcheck has execute privs.
3100 * configure.in (AC_OUTPUT_COMMANDS): Remove hacks here.
3102 * configure.in (AC_OUTPUT_COMMANDS): Link c_io_libio.h and
3103 c_io_libio.cc instead of copying.
3104 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Do link here.
3106 * configure.in (AC_OUTPUT_COMMANDS): Link $THREADS.h and
3107 c++threads.h instead of copying.
3108 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Do link here.
3111 * config/c_io_libio.cc (__basic_file::_M_open_mode): Consolidate.
3112 * bits/basic_file.h: Declare.
3114 * mkcheck.in (TESTS_FILE): Use -v instead of --version.
3116 2000-07-07 brent verner <brent@rcfile.org>
3118 * testsuite/27_io/istream_unformatted.cc (test05): New test.
3120 2000-07-07 Benjamin Kosnik <bkoz@gnu.org>
3122 * bits/istream.tcc (istream::getline): Minor tweaks.
3124 2000-07-07 Phil Edwards <pme@sourceware.cygnus.com>
3126 * docs/download.html: Mention gcc_update.
3127 * docs/configopts.html: Minor updates.
3128 * docs/gccrebuild.html: Ditto.
3129 * docs/18_support/howto.html: More tips, explanations, and reminders.
3130 * docs/19_diagnostics/howto.html: Ditto.
3131 * docs/21_strings/howto.html: Ditto.
3132 * docs/24_iterators/howto.html: Ditto.
3133 * docs/25_algorithms/howto.html: Ditto.
3134 * docs/26_numerics/howto.html: Ditto.
3136 2000-07-05 brent verner <brent@rcfile.org>
3138 * testsuite/27_io/ifstream_members.cc (test01): Add tests.
3139 * testsuite/27_io/ofstream_members.cc (test01): Add tests.
3140 * config/c_io_libio.cc (__basic_file::open): Unset
3141 ~_IO_DELETE_DONT_CLOSE.
3143 2000-07-05 Zack Weinberg <zack@wolery.cumb.org>
3145 * bits/gslice_array.h, bits/indirect_array.h, bits/mask_array.h,
3146 bits/slice_array.h, bits/std_valarray.h, bits/valarray_meta.h:
3147 Do not paste anything after 'operator' keyword.
3149 2000-07-03 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3151 * bits/std_memory.h: Revert.
3153 2000-07-03 Brendan Kehoe <brendan@zen.org>
3155 * bits/std_complex.h: Fix parens. Format.
3157 2000-07-03 scott snyder <snyder@fnal.gov>
3159 * bits/locale_facets.tcc (_M_extract): Only figure out the base
3160 from the input if base == 0.
3161 * testsuite/27_io/istream_extractor_arith.cc: Test reading a
3162 number with a leading `0' in hex mode.
3164 * shadow/bits/std_cmath.h: Fix typo in _GLIBCPP_HAVE_CEILL test.
3166 * mkinclosure: Change `==' to `=' in test.
3168 2000-07-03 Chip Salzenberg <chip@valinux.com>
3170 * src/Makefile.am (libio_headers): _G_config.h is found in srcdir,
3172 * src/Makefile.in: Regenerate.
3174 2000-07-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3175 Ulrich Drepper <drepper@purist.soma.redhat.com>
3177 Sync libio to glibc-2.2 current CVS.
3178 * libio/_G_config.h: New file.
3179 * libio/wfileops.c: New file.
3180 * libio/wfiledoalloc.c: New file.
3181 * libio/wgenops.c: New file.
3182 * libio/iofwide.c: New file.
3183 * libio/Makefile.am: Tweaks.
3184 * libio/Makefile.in: Regenerate.
3185 * libio/gen-params: Remove. Generic replacement for this yet undone.
3186 * libio/[filedoalloc.c, fileops.c, genops.c, iolibio.h, libio.h,
3187 libioP.h, stdfiles.c]: Update.
3188 * config/c_io_libio.cc: Tweaks.
3189 * acinclude.m4: Complete hacks to test wide io.
3190 * aclocal.m4: Regenerate.
3191 * configure: Regenerate.
3192 * src/Makefile.am: Update.
3193 * src/Makefile.in: Regenerate.
3195 * math/cargl.c: Remove underscores.
3197 * bits/locale_facets.h: Tweaks. Start adding iconv details
3199 * bits/locale_facets.tcc: Tweaks.
3200 * bits/std_cwchar.h: Tweaks.
3202 2000-06-29 scott snyder <snyder@fnal.gov>
3204 * bits/concept_checks.h
3205 (__less_then_comparable_requirement_violation): Only check for <.
3206 * testsuite/25_algorithms/lower_bound.cc: New file.
3208 2000-06-29 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3210 * testsuite/27_io/ostream_manip.cc (test02): Add tests.
3211 * bits/ostream.tcc: Tweak.
3212 * bits/std_fstream.h (basic_filebuf::setbuf): Reset
3213 _M_buf_size_opt too.
3214 * bits/std_streambuf.h (basic_streambuf::~basic_streambuf): Zero
3215 out _M_buf_size_opt.
3216 * bits/std_sstream.h (basic_stringbuf::_M_init_stringbuf): Set
3217 _M_buf_size_opt out here.
3218 * bits/char_traits.h (char_traits::eos): Non standard member
3219 function, uglify to __eos. Return char_type().
3220 * bits/std_ostream.h: Change.
3222 * testsuite/27_io/ostream_seeks.cc: New file.
3223 * testsuite/27_io/ostream_seeks-1.tst: New file.
3224 * testsuite/27_io/istream_unformatted.cc (main): Move test04 and
3226 * testsuite/27_io/istream_seeks.cc: New file.
3228 2000-06-29 Branko Cibej <branko.cibej@hermes.si>
3230 * bits/std_memory.h (auto_ptr_ref): Reworked and defined only if
3231 _GLIBCPP_RESOLVE_LIB_DEFECTS.
3232 (auto_ptr): _M_ptr changed to void*.
3233 (suto_ptr::get): Cast _M_ptr to element type.
3234 (auto_ptr::auto_ptr(auto_ptr<Tp1>)): Test implicit convetsion.
3235 (auto_ptr::~auto_ptr): Use this->get() instead of _M_ptr.
3236 (auto_ptr::operator*): Likewise.
3237 (auto_ptr::operator->): Likewise.
3238 (auto_ptr::release): Likewise.
3239 (auto_ptr::reset): Likewise.
3240 (auto_ptr::auto_ptr(auto_ptr_ref)): Initialize from __ref._M_release.
3241 (auto_ptr::operator auto_ptr_rev<_Tp1>): Updated.
3242 Define nested auto_ptr_ref unless _GLIBCPP_RESOLVE_LIB_DEFECTS.
3243 Define operator=(auto_ptr_ref) if _GLIBCPP_RESOLVE_LIB_DEFECTS.
3245 2000-06-28 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3247 * testsuite/27_io/filebuf.cc: Tweak.
3248 * testsuite/27_io/filebuf_members.cc (test_01): Fix.
3249 * config/c_io_libio.cc (__basic_file::~__basic_file): Match libio
3251 (__basic_file::basic_file): Clean, add calls similar to
3253 (__basic_file::open): Clean.
3254 (__basic_file::sys_open): Clean.
3256 * bits/std_fstream.h: Revert.
3257 * bits/fstream.tcc (filebuf::close()): Revert.
3258 (filebuf::basic_filebuf()): Revert.
3260 2000-06-27 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3262 Update to SGI STL 3.3
3263 * ext/hash_map, ext/hash_set, ext/slist, ext/stl_bvector.h,
3264 ext/stl_rope.h, ext/ropeimpl.h: Update.
3265 * bits/std_bitset.h, bits/std_map, bits/std_memory.h,
3266 bits/stl_algo.h, bits/stl_algobase.h, bits/stl_alloc.h,
3267 bits/stl_config.h, bits/stl_construct.h, bits/stl_deque.h,
3268 bits/stl_function.h, bits/stl_heap.h, bits/stl_iterator.h,
3269 bits/stl_iterator_base.h, bits/stl_list.h, bits/stl_map.h,
3270 bits/stl_multimap.h, bits/stl_multiset.h, bits/stl_numeric.h,
3271 bits/stl_queue.h, bits/stl_set.h, bits/stl_stack.h,
3272 bits/stl_string_fwd.h, bits/stl_threads.h, bits/stl_three.h,
3273 bits/stl_uninitialized.h, bits/stl_vectory.h: Update.
3275 * src/Makefile.am (headers): Add new files.
3276 * src/Makefile.in: Regenerate.
3277 * src/stl-inst.cc (std): Add instantiation for __sink_unused_warning.
3278 * bits/concept_checks.h: New file.
3279 * bits/container_concepts.h: New file.
3280 * bits/sequence_concepts.h: New file.
3282 2000-06-27 H.J. Lu <hjl@gnu.org>
3283 Loren J. Rittle <ljrittle@acm.org>
3285 * mkcheck.in: Add support to print standard flags needed to
3286 test g++ in build tree. Enhance command line error checking.
3288 2000-06-27 Phil Edwards <pme@sourceware.cygnus.com>
3290 * docs/install.html: Fix minor typo as reported.
3292 2000-06-26 Brent Verner <brent@rcfile.org>
3294 * bits/string.tcc (string::rfind): Fix.
3295 * testsuite/21_strings/rfind.cc: New file.
3297 2000-06-26 Anthony Williams <anthony@anthonyw.cjb.net>
3299 * testsuite/21_strings/ctor_copy_dtor.cc: Fixed logic error.
3301 2000-06-26 Branko Cibej <branko.cibej@hermes.si>
3303 * testsuite/27_io/filebuf_members.cc (test_01): Fixed typos.
3305 * mkcheck.in: Make the *.txt and *.tst files writable after
3306 copying them to $TEST_DIR.
3308 * testsuite/27_io/ostream_inserter_arith.cc: Renamed
3309 __TEST_NUMPUT_VERBOSE to TEST_NUMPUT_VERBOSE. Define
3310 TEST_NUMPUT_VERBOSE only if DEBUG_ASSERT.
3312 2000-06-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3314 * bits/fstream.tcc (basic_filebuf::basic_filebuf(fd)): Use it.
3315 (basic_filebuf::close): Use it.
3316 * bits/std_fstream.h (basic_filebuf): Remove default arguments for
3318 (basic_filebuf): Add _M_fileno_based data member.
3319 As reported by brent verner <brent@rcfile.org>
3320 * testsuite/27_io/filebuf_members.cc: New file.
3321 * testsuite/27_io/filebuf_members-1.tst: New file.
3323 * bits/std_fstream.h: Formatting tweaks.
3324 * testsuite/27_io/ofstream_members.cc: New file.
3325 * testsuite/27_io/ofstream_members-1.tst: New file.
3326 * testsuite/27_io/ifstream_members.cc: New file.
3327 * testsuite/27_io/ifstream_members-1.tst: New file.
3329 2000-06-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3330 Ulrich Drepper <drepper@cygnus.com>
3332 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Add -D_GNU_SOURCE, so
3333 that all the freaky stuff like sincos will be around...
3335 2000-06-22 Branko Cibej <branko.cibej@hermes.si>
3337 * Makefile.am (AM_MAKEFLAGS): Added WERROR to list of flags.
3339 2000-06-22 Steven King <sxking@uswest.net>
3341 * acinclude.m4: Check for sinl, _sinl using 1 parameter.
3343 2000-06-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3345 * acinclude.m4 (GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT): Redo. Use the
3346 same approach as GLIBCPP_CHECK_MATH_SUPPORT, only don't try to
3347 link against libm and don't use -fno-builtins...
3348 * math/mathconf.h: Change up builtin macros to new schema.
3349 * bits/std_cmath.h: And here. Wheee!
3350 * shadow/bits/std_cmath.h: And here.
3351 * acconfig.h: Change up builtin macros here.
3352 * math/cosf.c: Remove.
3353 * math/fabsf.c: Likewise.
3354 * math/sinf.c: Likewise.
3355 * math/sqrtf.c: Likewise.
3356 * math/Makefile.am (EXTRA_DIST): Remove those four files.
3357 * math/Makefile.in: Regenerate.
3359 2000-06-22 Anthony Williams <anthony@anthonyw.cjb.net>
3361 * testsuite/21_strings/find.cc: Patch.
3363 2000-06-22 Benjamin Kosnik <bkoz@soma.redhat.com>
3365 * acinclude.m4 (GLIBCPP_CHEC_LINKER_FEATURES): Use gcc + -x c++ as
3366 an easy way to get at g++ without having to link in libstdc++.
3368 2000-06-21 Benjamin Kosnik <bkoz@soma.redhat.com>
3370 Fix alpha, powerpc build failures.
3371 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Substantially
3372 re-write. Need to check for both proper declaration when using a
3373 c++ compiler, and "C" linkage when linking. Do both, and if both
3374 exist, then define the HAVE_* bits in config.h.
3375 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE): New, uber-macro. Does all.
3376 (GLIBCPP_CHECK_LINKER_FEATURES): Actually link and run this
3379 2000-06-20 Anthony Williams <anthony@anthonyw.cjb.net>
3381 * bits/string.tcc: Fix find.
3382 * testsuite/21_strings/find.cc: Patch.
3384 2000-06-20 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3386 * docs/install.html: Update where to get automake, where to get
3388 * acinclude.m4: Need -fno-builtins too, so gcc doesn't recognize
3391 2000-06-19 Benjamin Kosnik <bkoz@soma.redhat.com>
3393 * acinclude.m4 ((GLIBCPP_CHECK_MATH_SUPPORT): Revert last change.
3394 Add -Werror-implicit-function-declaration instead.
3396 Regenerate with fixed maintainer-tools.
3397 * aclocal.m4: Regenerate.
3398 * configure: Regenerate.
3399 * libio/Makefile.in: Regenerate.
3400 * src/Makefile.in: Regenerate.
3402 2000-06-19 Russell Davidson <russell@ehess.cnrs-mrs.fr>
3404 * testsuite/27_io/istream_extractor_arith.cc: Patch.
3405 * bits/locale_factets.tcc: Tweak.
3407 2000-06-19 Raja R Harinath <harinath@cs.umn.edu>
3409 * src/Makefile.am: change @WERROR@ to $(WERROR) so that this can
3410 be overridden on the command line for individual files.
3412 2000-06-19 Benjamin Kosnik <bkoz@soma.redhat.com>
3414 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Can't use
3415 AC_LANG_CPLUSPLUS as this tries to link in libstdc++, which we are
3416 building. Use -x c++ instead, which does not attempt to link
3419 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Actually check for
3420 not coring when we hit a try/throw block, which was the problem
3421 with the linker support...
3423 * docs/17_intro/contribute.html: Add bits about getting to the LWG
3425 * docs/documentation.html: Rename link to make more accurate and scary.
3426 * docs/gccrebuild.html: Edit for clarity as these are no longer
3428 * docs/install.html: Add bits about binutils for
3429 -ffunction-sections, -fdata-sections, -Wl,--gc-sections
3431 * configure.in: Add call for GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT.
3432 * math/Makefile.am (EXTRA_DIST): Change USE_LONG_DOUBLE to
3433 USE_COMPLEX_LONG_DOUBLE.
3434 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Break into
3435 GLIBCPP_CHECK_MATH_SUPPORT and GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT.
3436 Works around irregularies in powerpc "C" compiler, but a good idea
3439 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT):
3440 New. Merge both old compiler bug checks for complex into this.
3442 2000-06-19 Anthony Williams <anthony@anthonyw.cjb.net>
3444 * testsuite/21_strings/find.cc: Empty strings can be found at all
3445 positions. Modified.
3447 2000-06-19 Branko Cibej <branko.cibej@hermes.si>
3449 * testsuite/20_utilities: New directory.
3450 * testsuite/20_utilities/auto_ptr.cc: New file.
3452 2000-06-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3454 * src/Makefile.am (string_sources): Simplify, assuming that with
3455 -ffunction-sections, -fdata-sections, -Wl,--gc-sections, all this
3456 hacking is not necessary.
3457 (wstring_sources): Same.
3458 (OPTIMIZE_CXXFLAGS): Enable -fdata-sections -ffunction-sections
3460 * src/string-inst.cc: Remove macro blocks.
3461 * mkcheck.in (CXX_FLAG): Add bits here.
3463 * src/string-inst.cc: Remove iostream-related string instantiations.
3464 * src/misc-inst.cc: Add here.
3466 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change FMTFLAGS
3468 * aclocal.m4: Regenerate.
3469 * configure.in: Change up.
3470 * configure: Regenerate.
3472 2000-06-13 Steven King <sxking@uswest.net>
3474 * acinclude.m4: Fixup some of the builtin math tests and add tests for
3475 __builtin_fmod* and test libm for fmodf, fmodl or _fmodf, _fmodl.
3476 * acconfig.h: Add entries for fmod*.
3478 2000-06-13 Branko Cibej <branko.cibej@hermes.si>
3480 * bits/std_cmath.h: Fix typos in tests (*_FMODFF -> *_FMODF).
3481 Test *_MODFF not *_MODF for modf(float, float*).
3482 (modf(float, float*)): Remove reference to _C_legacy.
3484 2000-06-13 Benjamin Kosnik <bkoz@redhat.com>
3486 * acinclude.m4 (enable_cshadow_headers): Change CSHADOWFLAGS to
3487 _GNU_SOURCE instead of _ISOC9X_SOURCE, as _GNU_SOURCE is the
3488 superset, and already defined at top level.
3489 * aclocal.m4: Regenerate.
3490 * configure: Regenerate.
3492 * docs/17_intro/contribute.html: Plead with people to use -cp.
3494 2000-06-13 Anthony Williams <anthony@anthonyw.cjb.net>
3496 * testsuite/23_containers/bitset_ctor.cc: Qualify reverse wth std::.
3498 * testsuite/27_io/filebuf.cc: Changed calls to
3499 fpos<>._M_position() to implicit calls to operator streamoff().
3500 * testsuite/27_io/iostream_objects.cc: Removed #include <ciso646>,
3501 as not needed. Revert, as part of standard.
3502 * testsuite/27_io/ostream_inserter_arith.cc: Replaced explicit
3503 call to numpunct<>._M_init() with overrides of the appropriate
3506 * testsuite/27_io/stringstream.cc: Removed unnecessary char *
3507 pointers from test01, so no need to call base(), which isn't
3508 guaranteed to be implemented as iterators may themselves be pointers
3509 * testsuite/27_io/stringbuf.cc: Removed unnecessary calls to
3510 _M_position() - use implicit conversion to streamoff instead
3512 2000-06-13 Thomas Holenstein <thomas@hex.ch>
3514 * bits/stl_iterator.h: Added inline to operators == to >=.
3516 2000-06-13 Brent Verner <brent@rcfile.org>
3518 * bits/streambuf.tcc: repaired _S_copy_streambufs()
3519 * testsuite/27_io/ostream_inserter_other.cc (test03): Added testcase.
3521 2000-06-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3523 * bits/locale_facets.h (ctype<wchar_t>): Remove unnecessary data
3525 * src/locale.cc: Add cwchar include here. Remove incorrect
3526 definitions, and stub them out.
3527 * config/generic/ctype.cc (ctype): Remove ctype<wchar_t> bits.
3528 * config/solaris/solaris2.7/ctype.cc (ctype): Same.
3529 * config/solaris/solaris2.5/ctype.cc (ctype): Same.
3530 * config/newlib/ctype.cc: Same.
3531 * config/gnu-linux/ctype.cc: Same.
3532 * config/bsd/ctype.cc: Same.
3533 * config/aix/ctype.cc: Same.
3535 2000-06-12 Branko Cibej <branko.cibej@hermes.si>
3537 * config/solaris/solaris2.6/ctype.cc (do_toupper, do_tolower): Use
3538 towupper and towlower to convert wide characters.
3540 2000-06-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3542 * mkcheck.in: Clean up confusion regarding NAME, PRE_NAME.
3544 2000-06-08 Branko Cibej <branko.cibej@hermes.si>
3546 * acinclude.m4 (GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT): Check for
3547 sinf, cosf, fabsf, and sqrtf; add to LIBMATHOBJS if missing.
3548 * aclocal.m4: Regenerate.
3549 * configure: Regenerate.
3550 * math/cosf.c: New file.
3551 * math/fabsf.c: Likewise.
3552 * math/sinf.c: Likewise.
3553 * math/sqrtf.c: Likewise.
3554 * math/Makefile.am (EXTRA_DIST): Add those four files.
3555 * math/Makefile.in: Regenerate.
3557 2000-06-08 Phil Edwards <pme@sourceware.cygnus.com>
3559 * testsuite/26_numerics/complex_inserters_extractors.cc: Need cmath.
3561 2000-06-06 Steven King <sxking@uswest.net>
3563 * acconfig.h: Added defines for HAVE_BUILTIN math functs for float,
3564 double and long double. Added defines for HAVE libm math functs for
3565 float and long double.
3566 * aclocal.m4: Added configure checks for builtin math funcs and libm
3567 support for float and long double versions of the math functions.
3568 * config.h.in: Added undefs for math functs.
3569 * configure: Regenerate.
3570 * math/mathconf: Changed the _GLIBCPP_HAS_BUILTIN_* to
3571 _GLIBCPP_HAVE_BUILTIN_*.
3572 * bits/std_cmath.h: Added long double support. Use builtins for
3573 float, double and long if available, otherwise, use libm versions if
3574 availible, otherwise, punt.
3575 * shadow/bits/std_cmath.h: ditto
3577 2000-06-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3579 * bits/locale_facets.h: Tweak.
3580 * src/locale.cc (codecvt<wchar_t>): Tweak.
3582 * bits/locale_facets.h (_Format_cache): _S_ecks -> _S_x.
3583 * bits/locale_facets.tcc (num_get<char>::_M_extract): Fix for hex.
3585 * bits/basic_string.h: Move data member up.
3586 * src/string-inst.cc: Fix instantiations.
3587 * bits/string.tcc: Fix types.
3589 2000-06-02 Anthony Williams <anthony@anthonyw.cjb.net>
3591 * testsuite/21_strings/replace.cc (test01): Qualify find with std::.
3593 2000-06-01 Benjamin Kosnik <bkoz@gnu.org>
3595 * bits/std_cwctype.h: Clean.
3596 * bits/std_cwchar.h: Clean, remove cruft.
3598 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Re-work, add bits
3599 for beginning iconv support.
3600 Remove _GLIBCPP_HAS_WCHAR_MIN_MAX, roll into _GLIBCPP_USE_WCHAR_T
3602 * acconfig.h: Remove _GLIBCPP_HAS_WCHAR_MIN_MAX.
3603 * bits/limits_generic.h: Remove.
3604 * src/gen-num-limits.cc: Same.
3606 * src/locale.cc: Tweaks.
3608 * bits/char_traits.h: Tweaks.
3610 2000-05-31 Russell Davidson <russell@ehess.cnrs-mrs.fr>
3612 * bits/locale_facets.tcc (num_get<char>::_M_extract): Fix signage,
3613 exponent, scientific formatting issues.
3614 * testsuite/27_io/istream_extractor_arith.cc (test09): Add tests.
3616 2000-05-31 Branko Cibej <branko.cibej@hermes.si>
3618 * bits/limits_generic.h (numeric_limits<wchar_t>): Use WCHAR_MIN
3619 and WCHAR_MAX instead of WCHART_MIN and WCHART_MAX.
3621 2000-05-31 Nathan Myers <ncm@cantrip.org>
3623 * docs/thanks.html: edit own credits
3625 2000-05-31 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3627 * bits/generic_shadow.h: Remaining _C_Shadow -> _C_shadow fix.
3629 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Add strtoull checks...
3631 * mkcheck.in (SH_FLAG): Add in -Wl,--rpath -Wl,$LIB_PATH. Tweaks.
3633 2000-05-31 Steven King <sxking@uswest.net>
3635 * shadow/time.h: fix typo
3636 * shadow/wchar.h: ifdef __USE_GNU for wcsdup
3637 * shadow/bits/std_cwchar.h: ditto
3638 * shadow/bits/std_cstdlib.h: add overloads of abs and div for long
3641 2000-05-26 Phil Edwards <pme@sourceware.cygnus.com>
3643 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): If strtoll isn't
3644 available, force --disable. Need to flesh this out; make smarter.
3645 * aclocal.m4: Regenerate.
3646 * configure: Regenerate.
3648 * mkcheck.in: Minor tweaks.
3649 * docs/download.html: Fix typo.
3651 2000-05-25 Benjamin Kosnik <bkoz@milou.soma.redhat.com>
3653 * inclosure: Change to...
3654 * mkinclosure: This.
3656 * mkcshadow: Fix paths to bash.
3658 * src/Makefile.am: Tweaks. Do cshadow header trickery at build time.
3659 * src/Makefile.in: Regnerate.
3660 * acinclude.m4 (GLIBCPP_COMPILER_VERSION): Fix typo.
3661 (GLIBCPP_ENABLE_SHADOW): Do a less gross hack.
3662 * aclocal.m4: Regenerate.
3663 * mkcheck.in (INC_PATH): Tweak.
3665 * configure.in: Enable long long by default.
3666 * configure: Regenerate.
3668 * mkcheck.in (LIB_PATH): Revert.
3670 2000-05-24 Nathan "I don't write ChangeLog Entries" Myers <ncm@cantrip.org>
3672 * config/cpu/i486: New directory.
3673 * config/cpu/i486/bits: New directory.
3674 * config/cpu/i486/bits/atomicity.h: New file.
3675 * config/cpu/i386/bits/atomicity.h (__compare_and_swap): Delete
3677 * acinclude.m4 (GLIBCPP_CHECK_CPU): Enable i386.
3679 2000-05-24 Loren J. Rittle <ljrittle@acm.org>
3681 * backward/alloc.h (__default_alloc_template): Only expose
3682 implementation-specific symbol, if it exists in the
3684 * backward/iostream.h (ends): Expose symbol.
3685 * backward/strstream.h: New file.
3686 * backward/stream.h: New file.
3687 * backward/ostream.h: New file.
3688 * backward/istream.h: New file.
3689 * backward/fstream.h: New file.
3690 * backward/complex.h: New file.
3691 * backward/iomanip.h: New file.
3693 * mkcheck.in (LIB_PATH): Add -R bits.
3695 * math/carg.c (carg): Replace __atan2 with atan2.
3697 2000-05-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3699 * Makefile.am (TAGS): Construct.
3700 * Makefile.in: Rengerate.
3701 * src/Makefile.am: Tweak.
3702 * src/Makefile.in: Tweak.
3703 * configure.in: Tweak.
3705 * bits/c++config.h: Rename to ...
3706 * bits/c++config: This.
3707 * mkc++config: Adjust.
3710 * m4/lc_message.m4: Merge into acinclude.m4.
3711 * m4/mathfcts.m4: Same.
3712 * m4/stringfcts.m4: Same.
3713 * acinclude.m4: Add here.
3714 * configure: Regnerate.
3716 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Remove
3717 OPTLEVEL. Add FMTFLAGS.
3718 * aclocal.m4: Regenerate.
3719 * src/Makefile.am (AC_CXXFLAGS): Take out OPTLEVEL, as this has
3720 been disabled due to higher-level Makefiles running amuck over
3721 this bit, and add in FMTFLAGS so that formatting is clear.
3722 * src/Makefile.in: Regenerate.
3723 * configure: Regenerate.
3725 * src/ios.cc (ios_base::sync_with_stdio): Clean up buffers from
3728 * docs/download.html: Remove references to Cygwin-specific bits,
3729 as this can now be built natively.
3730 Update with current information.
3732 2000-05-24 Phil Edwards <pme@sourceware.cygnus.com>
3734 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): If we can use
3735 -fdiagnostics-show-location=once, do so. Expand AC_LANG_* to
3736 enclose other tests in this macro, including future ones.
3737 * aclocal.m4: Regenerate.
3738 * configure: Regenerate.
3740 * docs/faq/index.html: Update location of libg++ FAQ.
3741 * docs/faq/index.txt: Regenerate.
3743 2000-05-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3745 * docs/17_intro/libstdc++-assign.txt: Change Cygnus to FSF.
3747 2000-05-22 Phil Edwards <pme@sourceware.cygnus.com>
3749 * mkcheck.in: Tweak for Solaris 8. Additional minor output comment.
3751 2000-05-22 Phil Edwards <pme@sourceware.cygnus.com>
3753 * acinclude.m4: If the new pragma isn't supported, don't kill -Werror;
3754 keep -Werror and add -Wno-unknown-pragma. -Werror Is Good.
3755 * aclocal.m4: Regenerate.
3756 * configure: Regenerate.
3758 2000-05-19 Nathan C. Myers <ncm@cantrip.org>
3760 * bits/generic_shadow.h: s/swamp/legacy/
3762 2000-05-19 Phil Edwards <pme@sourceware.cygnus.com>
3764 * acinclude.m4: Clean up comments on newer checks.
3765 (GLIBCPP_CHECK_COMPILER_VERSION): Check for system_header
3766 pragma support. Remove WERRORSUPPRESS variable, add WERROR.
3767 * aclocal.m4: Regenerate.
3768 * configure: Regenerate.
3769 * Makefile.in: Regenerate.
3770 * libio/Makefile.in: Regenerate.
3771 * math/Makefile.in: Regenerate.
3772 * src/Makefile.am: Tell make's WERROR to depend on configure's WERROR.
3773 * src/Makefile.in: Regenerate.
3774 * docs/configopts.html: Document changes to --enable names.
3776 2000-05-18 Chip Salzenberg <chip@valinux.com>
3778 * bits/ostream.tcc (_S_pad_char): Function template should not be
3780 * bits/streambuf.tcc (_S_copy_streambufs): Likewise.
3781 * src/string-inst.cc (__destroy_aux): Instantiate for string*.
3783 2000-05-18 Nathan C. Myers <ncm@cantrip.org>
3785 * mkcshadow: Change C_Swamp to C_legacy.
3787 * shadow/bits/*: Same.
3788 s/C_Swamp/C_legacy/g
3792 2000-05-18 Anthony Williams <anthony@anthonyw.cjb.net>
3794 * bits/locale_facets.tcc (num_get::_M_extract): Change char* to
3796 * src/string-inst.cc (string::_S_find): Same.
3798 2000-05-18 Benjamin Kosnik <bkoz@gnu.org>
3800 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Change to
3801 --enable-cshadow-headers. Add output messages.
3802 (GCC_ENABLE_LONG_LONG): Change to --enable-long-long, no
3803 underscores (like the rest of the enable options.) Add output messages.
3804 * aclocal.m4: Regenerate.
3805 * configure: Regenerate.
3806 * configure.in: Touch.
3808 2000-05-17 Benjamin Kosnik <bkoz@cygnus.com>
3810 * mkcheck.in: Enable shared library testing.
3812 2000-05-17 Nathan C. Myers <ncm@cantrip.org>
3814 * bits/std_cmath.h: fix sqrt(float)
3816 2000-05-16 Loren J. Rittle <ljrittle@acm.org>
3818 * bits/std_cassert.h: Use system_header pragma.
3819 * bits/std_cctype.h: Likewise.
3820 * bits/std_cerrno.h: Likewise.
3821 * bits/std_cfloat.h: Likewise.
3822 * bits/std_climits.h: Likewise.
3823 * bits/std_clocale.h: Likewise.
3824 * bits/std_cmath.h: Likewise.
3825 * bits/std_csetjmp.h: Likewise.
3826 * bits/std_csignal.h: Likewise.
3827 * bits/std_cstdarg.h: Likewise.
3828 * bits/std_cstddef.h: Likewise.
3829 * bits/std_cstdio.h: Likewise.
3830 * bits/std_cstdlib.h: Likewise.
3831 * bits/std_cstring.h: Likewise.
3832 * bits/std_ctime.h: Likewise.
3833 * bits/std_cwchar.h: Likewise.
3834 * bits/std_cwctype.h: Likewise.
3835 * bits/std_exception.h: Likewise.
3836 * bits/std_new.h: Likewise.
3837 * bits/std_typeinfo.h: Likewise.
3838 * shadow/bits/std_cassert.h: Likewise.
3839 * shadow/bits/std_cctype.h: Likewise.
3840 * shadow/bits/std_cerrno.h: Likewise.
3841 * shadow/bits/std_cfloat.h: Likewise.
3842 * shadow/bits/std_climits.h: Likewise.
3843 * shadow/bits/std_clocale.h: Likewise.
3844 * shadow/bits/std_cmath.h: Likewise.
3845 * shadow/bits/std_csetjmp.h: Likewise.
3846 * shadow/bits/std_csignal.h: Likewise.
3847 * shadow/bits/std_cstdarg.h: Likewise.
3848 * shadow/bits/std_cstddef.h: Likewise.
3849 * shadow/bits/std_cstdio.h: Likewise.
3850 * shadow/bits/std_cstdlib.h: Likewise.
3851 * shadow/bits/std_cstring.h: Likewise.
3852 * shadow/bits/std_ctime.h: Likewise.
3853 * shadow/bits/std_cwchar.h: Likewise.
3854 * shadow/bits/std_cwctype.h: Likewise.
3855 * shadow/bits/wrap_libio.h: Likewise.
3856 * shadow/bits/wrap_unistd.h: Likewise.
3857 * shadow/sys/cdefs.h: Likewise.
3859 2000-05-16 Nathan C. Myers <ncm@cantrip.org>
3861 It appears that gcc-2.96 supports the keyword "and" now.
3862 * bits/std_ciso646.h: remove.
3864 * testsuite/17_intro/header_ciso646.c: enable testing.
3865 * src/Makefile.am, src/Makefile.in: remove mention of
3868 2000-05-16 Nathan C. Myers <ncm@cantrip.org>
3870 * mkcshadow: fix typo s/_C_Swamp_/_C_Swamp/.
3872 2000-05-16 Phil Edwards <pme@sourceware.cygnus.com>
3874 * acinclude.m4: Fix typo, switch to decaf...
3875 * aclocal.m4: Regenerate.
3876 * configure: Regenerate.
3878 2000-05-16 Phil Edwards <pme@sourceware.cygnus.com>
3880 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): New macro, stub.
3881 * aclocal.m4: Regenerate.
3882 * configure.in: Call.
3883 * configure: Regenerate.
3884 * docs/configopts.html: Stub documentation.
3886 2000-05-14 Nathan Myers <ncm@cantrip.org>
3888 * mkcshadow: build in more-correct directory, create cshadow/
3889 directory if needed, report progress.
3891 2000-05-14 LLeweLLyn Reese <llewelly@dbritsch.dsl.xmission.com>
3893 * src/Makefile.am: Fix tr commands.
3894 * src/Makefile.am: Remove references to [w]stringCTORDUPAL.[lo,cc]
3895 * src/string-inst.cc: Remove extra instantiation of
3896 S::basic_string(S::size_type, C, S::allocator_type const&);
3897 * src/string-inst.cc: Remove extra template keyword.
3899 2000-05-14 Loren J. Rittle <ljrittle@acm.org>
3901 * config/bsd/bits/ctype_base.h: Add support for plain BSD4.4.
3902 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Enhance bsd tests.
3903 * aclocal.m4: Regenerate.
3904 * configure: Regenerate.
3905 * */Makefile.in: Regenerate.
3907 2000-05-11 Phil Edwards <pme@sourceware.cygnus.com>
3909 * acinclude.m4: Fix minor typo with ctypes, add more sanity to
3910 enable-cxx-flags, and remove GLIBCPP_ENABLE_NAMESPACES altogether.
3911 * aclocal.m4: Regenerate.
3912 * configure.in: Non-blank arguments break fewer Linuxes.
3913 * configure: Regenerate.
3914 * src/Makefile.am: Re-order AC_CXXFLAGS components.
3915 * src/Makefile.in: Regenerate.
3917 2000-05-10 Benjamin Kosnik <bkoz@redhat.com>
3919 * bits/std_cmath.h: Tweaks.
3920 * math/mathconf.h: Tweaks and fixes for HP-UX 11.
3921 (sqrtf): Define away iff !builtin and !in <math.h>.
3925 At some point this directory should be converted to c++, the
3926 autoconf tests should be run by the c++ compiler (not c), and
3927 <cmath> should be used instead of math.h.
3928 Move declaration of nan() here.
3929 * math/complex-stub.h (cabsl): Remove nan() declaration.
3931 Finish up FreeBSD4.0 support.
3932 * config/bsd/ctype.cc: Scope out toupper, tolower calls.
3933 * config/generic/ctype.cc: And here.
3934 * testsuite/21_strings/char_traits.cc (test02): Guard with
3935 _GLIBCPP_USE_WCHAR_T.
3937 via Phil Edwards <pme@sourceware.cygnus.com>
3938 * bits/std_cctype.h: Remove _GLIBCPP_USE_NAMESPACES.
3939 * acconfig.h: And here.
3940 * acinclude.m4: Same.
3941 * testsuite/27_io/istream.cc: And here.
3942 * testsuite/27_io/ostream.cc: And here.
3944 2000-05-09 Benjamin Kosnik <bkoz@gnu.org>
3946 * acinclude.m4 (GLIBCPP_CHECK_CPU): Change powerpc bits to
3948 * src/Makefile.am: Disable ENABLE_CXX_FLAGS stuff for the moment.
3950 * config/generic/bits/ctype_specializations.h (ctype<char>::is):
3953 * config/bsd: New directory.
3954 * config/bsd/ctype.cc: New.
3955 * config/bsd/bits/ctype_base.h (ctype_base): New.
3956 * config/bsd/bits/ctype_specializations.h: New.
3957 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add bsd tests.
3959 2000-05-09 Phil Edwards <pme@sourceware.cygnus.com>
3961 * acinclude.m4: New macro, GLIBCPP_ENABLE_CXX_FLAGS.
3962 * configure.in: Call.
3963 * src/Makefile.am: Append results of macro to AC_CXXFLAGS.
3964 * aclocal.m4: Regenerate.
3966 * src/Makefile.in: Ditto.
3967 * docs/configopts.html: Document.
3968 * docs/download.html: Fix typo (close quote).
3969 * docs/footer.html: Update.
3971 2000-05-09 Loren J. Rittle <ljrittle@acm.org>
3973 * backward/iostream.h: Expose endl. Guard wide types.
3974 * src/Makefile.am (headers): Update list to match files.
3975 * src/Makefile.in: Regenerate.
3977 2000-05-09 Vadim Egorov <egorovv@mailandnews.com>
3978 Benjamin Kosnik <bkoz@gnu.org>
3979 Nathan Myers <ncm@cantrip.org>
3980 Dietmar Kuehl <dietmar_kuehl@yahoo.com>
3982 * bits/streambuf.tcc (basic_streambuf::xsgetn): Fix uflow case.
3983 (basic_streambuf::xsputn): Make consistent.
3984 * testsuite/27_io/filebuf.cc: Add tests.
3986 2000-05-08 Steven King <sxking@uswest.net>
3988 * bits/char_traits.h: Use wchar_t utility functions for
3989 char_traits<wchar_t> methods.
3990 * testsuite/21_string/char_traits.cc: New (test02): test
3991 char_traits<wchar_t>
3993 2000-05-08 Benjamin Kosnik <bkoz@cygnus.com>
3995 * acinclude.m4 (GLIBCPP_CXXFLAGS): Add bits for solaris2.8.
3997 * bits/fstream.tcc (filebuf::_M_init_filebuf): Don't set
3998 _M_buf_size based on macro, instead use _M_buf_size_opt.
3999 * bits/std_streambuf.h (basic_streambuf): Add _M_buf_size_opt.
4000 (basic_streambuf()): Set _M_buf_size_opt.
4001 * testsuite/27_io/filebuf.cc (filebuf): Use _M_buf_size_opt
4002 instead of _M_buf_size.
4004 2000-05-04 Branko Cibej <branko.cibej@hermes.si>
4006 * src/complex_io.cc: Don't instantiate inserters and extractors
4007 for wide-character streams unless _GLIBCPP_USE_WCHAR_T is defined.
4009 2000-05-03 Phil Edwards <pme@sourceware.cygnus.com>
4010 Felix Natter <fnatter@gmx.net>
4012 * docs/footer.html: Update to see if it takes effect.
4013 * docs/thanks.html: More people.
4014 * docs/17_intro/headers_cc.txt: Copy from testsuite, since that can't
4015 be seen from the web pages. Rename for browser-friendliness...
4016 * docs/17_intro/howto.html: ...and update here.
4017 * docs/17_intro/porting-howto.html: Changes from Felix.
4018 * docs/gccrebuild.html: Mention v3->egcs move.
4019 * docs/faq/index.html: Ditto. Also misc tweaks and URL updates.
4020 * docs/faq/index.txt: Regenerate.
4022 2000-05-01 Benjamin Kosnik <bkoz@redhat.com>
4024 * config/cpu/powerpc/bits/atomicity.h (__exchange_and_add): More
4027 2000-05-01 Vadim Egorov <egorovv@@mailandnews.com>
4029 * bits/char_traits.h: Fix parameter types.
4030 * bits/string.tcc: Avoid traits_type::move.
4032 2000-05-01 Benjamin Kosnik <bkoz@haight.constant.com>
4034 * src/Makefile.am (AC_CXXFLAGS): Add CPUFLAGS here.
4035 * src/Makefile.in: Regenerate.
4036 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Revert.
4038 2000-04-30 Steven King <sxking@uswest.net>
4040 * bits/locale_facets.h: Fix syntax error.
4041 * bits/std_fstream.h: ditto
4043 2000-04-30 Benjamin Kosnik <bkoz@gnu.org>
4045 * config/cpu/powerpc/bits/atomicity.h (__compare_and_swap): Fix typo.
4047 * mknumeric_limits (trait_name): Fix copyright notice.
4048 * src/gen-num-limits.cc: Explicitly instantiate epsilon and
4049 round_error data members of struct value. This works around
4050 weak-linking issues on AIX, HPUX.
4052 2000-04-29 Phil Edwards <pme@sourceware.cygnus.com>
4054 * docs/download.html: Add link to list of mirror sites.
4056 2000-04-28 Loren J. Rittle <ljrittle@acm.org>
4058 * mkcheck.in: Rely on exit status instead of the presence of a
4059 core file. Added comments on how/where to save core and exe
4060 files. Move shell wildcards outside quotes and fix core path.
4062 2000-04-27 scott snyder <snyder@fnal.gov>
4064 * src/misc-inst.cc: Explicitly instantiate ifstream and ofstream
4067 2000-04-26 Nathan C. Myers <ncm@cantrip.org>
4069 * bits/basic_string.h: include <bits/atomicity.h> instead
4070 of <atomicity.h>, and use the uglified names.
4071 * config/cpu/*/atomicity.h: replace with bits/atomicity.h;
4072 uglify names, eliminate dependence on <inttypes.h>.
4073 * src/Makefile.in, src/Makefile.am: refer to correct place
4074 for atomicity.h header.
4076 2000-04-25 Steven King <sxking@uswest.net>
4078 * bits/basic_string.h: Fix syntax error.
4080 2000-04-25 Benjamin Kosnik <bkoz@redhat.com>
4082 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Improve checks for
4084 (GLIBCPP_ENABLE_DEBUG): If alpha, use -gdwarf-2.
4085 * math/Makefile.am (EXTRA_LONG_DOUBLE_yes): Add all the long
4086 versions to this as copysignl is needed anyway for these targets.
4087 * math/Makefile.in: Regenerate.
4089 * bits/streambuf.tcc (streambuf::xsgetn): Tweak.
4090 * bits/fstream.tcc (underflow): Cast to libio types.
4091 * bits/basic_file.h (seekoff): Fixes for alpha: use __c_streamoff.
4092 * config/c_io_libio.cc (seekoff): And here.
4094 2000-04-24 Loren J. Rittle <ljrittle@acm.org>
4096 * mkcheck.in: Report compiler version used for test. Find
4097 the built _G_config.h instead of any old installed version.
4099 2000-04-24 Loren J. Rittle <ljrittle@acm.org>
4101 * config/generic/ctype.cc (do_toupper): Remove dependence on
4102 non-portable/non-existent lookup table.
4105 2000-04-24 Nathan Myers <ncm@cantrip.org>
4107 * src/string-inst.cc: More fixing.
4109 2000-04-24 Benjamin Kosnik <bkoz@gnu.org>
4111 * bits/stl_iterator.h: Pedantic fixing.
4112 * bits/std_sstream.h: And here.
4113 * bits/string.tcc: And here.
4115 2000-04-24 Felix Natter <fnatter@gmx.net>
4117 * docs/17_intro/howto.html: Add bits.
4118 * docs/17_intro/porting-howto.html: New file.
4120 2000-04-24 Branko Cibej <branko.cibej@hermes.si>
4122 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Expand
4123 @libinst_wstring_la@ to libinst-wstring.la when specializing for
4124 wchar_t, to empty string otherwise.
4125 * src/Makefile.am: (EXTRA_LTLIBRARIES): New.
4126 (sources): Remove $(string_sources) and $(wstring_sources).
4127 (libstdc___la_LIBADD): Add libinst-string.la and @libinst_wstring_la@.
4128 (libstdc___la_DEPENDENCIES): New.
4129 (libinst_string_la_SOURCES, libinst_wstring_la_SOURCES): New.
4131 2000-04-20 Benjamin Kosnik <bkoz@redhat.com>
4133 * bits/std_sstream.h: Tweak formatting.
4134 * bits/std_fstream.h: Make types public.
4136 * testsuite/27_io/streambuf.cc: Fix for alpha.
4138 Brad Garcia <bgarcia@laurelnetworks.com>
4139 * bits/locale_facets.h (numpunct::numpunct(size_t)): Fix bool
4141 * testsuite/27_io/ios_manip_fmtflags.cc (test02): Add test for
4144 2000-04-19 Nathan Myers <ncm@cantrip.org>
4146 * src/string-inst: consolidate _S_create,
4147 destroy, leak, clone members into stringMAIN and stringMUTATE
4149 * src/Makefile.am: Above, and eliminate dependence on
4151 * src/wstring-inst.cc: Remove.
4153 2000-04-18 Benjamin Kosnik <bkoz@redhat.com>
4155 * src/Makefile.am (AC_CXXFLAGS): Activate debugging code, again.
4156 Add flags for specialized rules dealing with instantiations.
4158 * src/string-inst.cc: Add instantiations missing from shared
4159 libraries--see stringEQ, stringCONSC.
4160 * src/Makefile.am (wstring_sources): Add.
4161 (string_sources): Same.
4162 * src/Makefile.in: Regenerate.
4164 * stl/*: Integrate contents of this directory into top-level
4166 * ext/bvector hash_map hash_set rope ropeimpl.h slist
4167 stl_bvector.h stl_hash_fun.h stl_hashtable.h stl_rope.h tree: Add.
4168 * bits/pthread_allocimpl.h std_algorithm.h std_bitset.h
4169 std_deque.h std_functional.h std_iterator.h std_list.h std_map.h
4170 std_memory.h std_numeric.h std_queue.h std_set.h std_stack.h
4171 std_stdexcept.h std_strstream.h std_utility.h std_vector.h
4172 stl_algo.h stl_algobase.h stl_alloc.h stl_config.h stl_construct.h
4173 stl_deque.h stl_function.h stl_heap.h stl_iterator.h
4174 stl_iterator_base.h stl_list.h stl_map.h stl_multimap.h
4175 stl_multiset.h stl_numeric.h stl_pair.h stl_pthread_alloc.h
4176 stl_queue.h stl_range_errors.h stl_raw_storage_iter.h stl_relops.h
4177 stl_set.h stl_stack.h stl_string_fwd.h stl_tempbuf.h stl_threads.h
4178 stl_tree.h stl_uninitialized.h stl_vector.h type_traits.h: Add.
4179 * backward/algo.h algobase.h alloc.h bvector.h defalloc.h deque.h
4180 function.h hash_map.h hash_set.h hashtable.h heap.h iterator.h
4181 list.h map.h multimap.h multiset.h pair.h rope.h set.h slist.h
4182 stack.h tempbuf.h tree.h vector.h: Add.
4183 * README (file): Update.
4184 * docs/documentation.html: README not being found.
4185 * src/Makefile.am (sources): Take out stl directory.
4186 * mkcheck.in (SRC_DIR): And here.
4187 * src/Makefile.in: Regenerate.
4189 2000-04-18 Levente Farkas <lfarkas@mindmaker.hu>
4191 * stl/bits/stl_function.h: Add bits so that const and non-const
4194 2000-04-18 scott snyder <snyder@fnal.gov>
4196 * stl/bits/stl_map.h (class map): Fix default for _Alloc template
4197 parameter. Get rid of use of __STL_DEFAULT_ALLOCATOR and
4198 __STL_LIMITED_DEFAULT_TEMPLATES macros.
4199 * stl/bits/stl_multimap.h (class multimap): Likewise. Get rid of
4200 use of __STL_DEPENDENT_DEFAULT_TMPL macro.
4202 2000-04-18 scott snyder <snyder@fnal.gov>
4204 * stl/bits/stl_config.h (__STL_DEPENDENT_DEFAULT_TMPL): Deleted
4207 * stl/ext/hash_map (class hash_map, class hash_multimap): Get rid
4208 of use of __STL_DEPENDENT_DEFAULT_TMPL macro.
4209 * stl/ext/hash_set (class hash_set, class hash_multiset):
4211 * stl/bits/stl_function.h (struct constant_unary_fun, struct
4212 constant_binary_fun): Likewise.
4213 * stl/bits/stl_queue.h (class queue, class priority_queue): Likewise.
4214 * stl/bits/stl_stack.h (class stack): Likewise.
4215 * stl/bits/stl_set.h (class set): Likewise.
4216 * stl/bits/stl_multiset.h (class multiset): Likewise.
4218 * stl/bits/stl_iterator.h (class reverse_bidirectional_iterator,
4219 class reverse_iterator): Get rid of use of
4220 __STL_LIMITED_DEFAULT_TEMPLATES macro.
4222 * stl/bits/stl_config.h (__STL_DEFAULT_ALLOCATOR): Deleted this
4225 * stl/bits/stl_deque.h (class deque): Get rid of use of
4226 __STL_DEFAULT_ALLOCATOR macro.
4227 * stl/bits/stl_list.h (class list): Likewise.
4228 * stl/bits/stl_multiset.h (class multiset): Likewise.
4229 * stl/bits/stl_set.h (class set): Likewise.
4230 * stl/bits/stl_string_fwd.h (class basic_string): Likewise.
4231 * stl/bits/stl_tree.h (class _Rb_tree, class rb_tree): Likewise.
4232 * stl/bits/stl_vector.h (class vector): Likewise.
4233 * stl/ext/ropeimpl.h (rotate): Likewise.
4234 * stl/ext/hash_map (class hash_map, class hash_multimap):
4236 * stl/ext/hash_set (class hash_set, class hash_multiset):
4238 * stl/ext/slist (class slist): Likewise.
4239 * stl/ext/stl_bvector.h (class bit_vector): Likewise.
4240 * stl/ext/stl_rope.h (class rope): Likewise.
4241 * src/locale.cc (_Impl): Likewise.
4242 * src/localename.cc (_Impl): Likewise.
4243 * bits/localefwd.h (_Impl): Likewise.
4245 2000-04-18 Phil Edwards <pme@sourceware.cygnus.com>
4247 * docs/install.html: Cleanup, minor changes.
4248 * docs/17_intro/howto.html: Ditto.
4250 2000-04-18 Nathan Myers <ncm@cantrip.org>
4252 * bits/basic_string.h: Remove "inline" from member _S_find.
4254 * src/string-inst.cc: Rewrite to reflect non-inline template
4255 instantiations in string.tcc.
4257 * src/stringADDCS.cc, stringADDPS.cc, stringADDSC.cc, stringADDSP.cc,
4258 stringADDSS.cc, stringBIST.cc, stringBOST.cc, stringCHTR.cc,
4259 stringEQPS.cc, stringEQSP.cc, stringEQSS.cc, stringEXTRA.cc,
4260 stringGEPS.cc, stringGESP.cc, stringGESS.cc, stringGETLI.cc,
4261 stringGTPS.cc, stringGTPS.cc, stringGTSP.cc, stringGTSS.cc,
4262 stringINSER.cc, stringLEPS.cc, stringLESP.cc, stringLESS.cc,
4263 stringLESP.cc, stringLTPS.cc, stringLTPS.cc, stringLTSP.cc,
4264 stringLTSS.cc, stringMAIN.cc, stringNEPS.cc, stringNESP.cc,
4265 stringNESS.cc, stringSCOPY.cc: Remove.
4266 * src/wstringADDCS.cc, etc: Remove.
4268 Benjamin Kosnik <bkoz@haight.constant.com>
4269 * src/Makefile.am: Modify to reflect above.
4270 * src/Makefile.in: Regenerate.
4272 2000-04-17 Benjamin Kosnik <bkoz@cygnus.com>
4274 * docs/install.html (--enable-libstdcxx-v3): Clean up install docs.
4276 2000-04-13 Benjamin Kosnik <bkoz@haight.cygnus.com>
4278 * bits/std_fstream.h (filebuf::sync): Need to use the abstracted
4279 io interface here instead of the libio particulars.
4281 * config/threads-posix.h: Consistency with stl_config.h.
4283 * mkcheck.in (CXX_FLAG): Add DDEBUG_ASSERT back in.
4285 2000-04-13 Loren J. Rittle <ljrittle@acm.org>
4287 * mknumeric_limits: Rename generic type template parameter name
4289 * stl/bits/type_traits.h: Ditto.
4291 2000-04-06 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4293 * mkcheck.in (SRC_DIR): Change default mkcheck behavior, so that
4294 it is more useful for --enable-libstdcxx-v3. Use the built
4295 compilers with v3, instead of compilers in PATH, and don't
4296 re-include include directories for checking the install.
4298 2000-04-05 Benjamin Kosnik <bkoz@cygnus.com>
4300 * src/Makefile.am (AM_CXXFLAGS): Disable NAMESPACES, as this is on
4301 by default when using --enable-libstdcxx-v3.
4302 * src/Makefile.in: Regenerate.
4303 * configure.in: Disable GLIBCPP_ENABLE_NAMESPACES,
4304 GLIBCPP_ENABLE_RELIBGCC for --enable-libstdcxx-v3 flag.
4305 * configure: Regenerate.
4306 * mkcheck.in: Deal with NAMESPACES.
4308 2000-04-05 Petter Urkedal <petter@matfys.lth.se>
4310 * src/cmath.cc: New file...
4311 (pow(*, int)): Define functions...
4312 * src/Makefile.am (sources): ...register file.
4313 * src/Makefile.in: Regenerate.
4314 * bits/std_cmath.h (pow): ...declare functions here, and remove
4317 2000-04-04 Benjamin Kosnik <bkoz@redhat.com>
4319 * acinclude.m4 (GCC_OBJDIR): Tweaks
4321 2000-04-03 Benjamin Kosnik <bkoz@redhat.com>
4323 * acinclude.m4 (GLIBCPP_CHECK_CPU): Add arm configure bits.
4324 * config/cpu/arm: New directory.
4326 Jesper Skov <jskov@redhat.com>
4327 * config/cpu/arm/atomicity.h: New file.
4329 2000-03-31 Benjamin Kosnik <bkoz@redhat.com>
4331 * stl/bits/stl_config.h: Make _STL_THREADS depend on _REENTRANT.
4332 Remove unused bits. Clean.
4334 2000-03-29 Benjamin Kosnik <bkoz@cygnus.com>
4336 * testsuite/25_algorithms: New directory.
4337 * testsuite/25_algorithms/min_max.cc: New file.
4339 2000-03-29 scott snyder <snyder@fnal.gov>
4341 * bits/locale_facets.tcc (do_put): Allow a couple extra digits of
4342 precision beyond that which we get from numeric_limits::digits10.
4344 * stl/bits/stl_algobase.h (max, min): Don't use comparison
4347 * testsuite/23_containers/bitset_shift.cc: Fix.
4349 * testsuite/27_io/ios_manip_fmtflags.cc (test01): Don't give a
4350 temporary to imbue().
4352 * bits/std_fstream.h (sync): Resync libio's idea of the current
4353 file position with the external file.
4355 2000-03-28 Benjamin Kosnik <bkoz@cygnus.com>
4357 * testsuite/27_io/istream_extractor_arith.cc.cvs: Fix merge
4360 * bits/std_fstream.h (filebuf::is_open): Check for _M_file before
4361 attempting calls to it.
4362 * bits/fstream.tcc (ctors): Don't call _M_init_filebuf in
4363 ctors. Instead, call _M_init_filebuf ...
4364 (open): Here, as suggested by 27.8.1.3.
4365 * src/ios.cc (ios_base::Init::Init()): Clean up default filebufs
4366 properly when initializing cout/cin/cerr.
4368 2000-03-27 Russell Davidson <russell@ehess.cnrs-mrs.fr>
4370 * testsuite/23_containers/multiset.cc (main): Clean up for namespaces.
4371 * testsuite/22_locale/ctype_char_members.cc: And here.
4372 * testsuite/27_io/streambuf.cc (streambuf): And here.
4373 * testsuite/27_io/ostream_inserter_char.cc (test06): And here.
4374 * testsuite/27_io/istream_unformatted.cc (test05): And here.
4375 * testsuite/27_io/istream_extractor_arith.cc: And here.
4376 * testsuite/27_io/ios_manip_basefield.cc (test02): And here.
4377 * testsuite/27_io/ios_base_members_static.cc: And here.
4378 * bits/std_climits.h (_CPP_CLIMITS): Fix typo.
4380 2000-03-27 Chris Faylor <cgf@cygnus.com>
4382 * configure.in: Remove setting of CXX if canadian cross.
4383 * configure: Regenerate.
4385 2000-03-27 Nathan Myers <ncm@zembu.com>
4387 * bits/sstream.tcc: Optimize.
4388 * bits/basic_string.h(string::append): Don't inline.
4389 * bits/string.tcc: Move out-of-line.
4391 2000-03-27 Phil Edwards <pme@sourceware.cygnus.com>
4393 * acinclude.m4: (GLIBCPP_CHECK_COMPILER_VERSION) When using <2.96,
4394 define WERRORSUPPRESS so that the inlining warnings won't kill us.
4395 * aclocal.m4: Regenerate.
4396 * configure: Regenerate.
4397 * src/Makefile.am: Use WERRORSUPPRESS for the files that need it.
4398 * src/Makefile.in: Regenerate.
4400 * docs/install.html: Almost complete rewrite.
4402 2000-03-25 Phil Edwards <pme@sourceware.cygnus.com>
4404 * docs/install.html: Explain -Werror problem at "#Werror" mark.
4405 * docs/faq/index.html: Testsuite will die horribly if new libgcc.a
4407 * docs/faq/index.txt: Regenerate.
4409 2000-03-24 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4411 * src/Makefile.am (libio_headers_install): Fix.
4412 * src/Makefile.in: Regenerate.
4414 2000-03-24 Benjamin Kosnik <bkoz@cygnus.com>
4416 * docs/17_intro/RELEASE-NOTES: Fix typos.
4417 * docs/index.html: Update.
4418 * docs/17_intro/BUGS: Update.
4419 * docs/status.html: Update for 2.90.8 release.
4421 2000-03-23 Phil Edwards <pme@sourceware.cygnus.com>
4423 * Makefile.am: Better error message when missing libgcc2.ready.
4424 * Makefile.in: Regenerate.
4425 * acinclude.m4: Fastidious nitpicking reformatting.
4426 * aclocal.m4: Regenerate.
4427 * configure: Regenerate.
4428 * mkcheck.in: Must use same namespace settings as the library being
4429 tested. Also log ST_FLAG, since it's being passed.
4430 * docs/install.html: Add brief chunk on configuration.
4431 * docs/17_intro/RELEASE-NOTES: Fix minor Cygwin typo.
4432 * docs/23_containers/howto.html: Mention MT-safe string.
4433 * docs/faq/index.html: Minor updates.
4434 * docs/faq/index.txt: Regerarate.
4436 2000-03-22 Benjamin Kosnik <bkoz@cygnus.com>
4438 * bits/sstream.tcc (seekoff): Fix for gptr() null cases.
4440 * bits/fstream.tcc (seekoff): Sync.
4442 * testsuite/27_io/ostream_unformatted.cc: New file.
4443 * testsuite/27_io/stringbuf.cc: Fix.
4444 * testsuite/27_io/istream_unformatted.cc (test04): Fix.
4446 * config/newlib/bits/ctype_base.h (ctype_base): Fix.
4447 * config/newlib/ctype.cc (ctype): Change __ctype -> _ctype_.
4449 * src/complex_io.cc (operator>>complex): Tweak.
4451 * config/cpu/alpha/atomicity.h: Explicitly typedef uint32_t, int32_t if
4452 <inttypes.h> does not exist.
4453 * config/cpu/sparc/sparc64/atomicity.h: Same.
4454 * config/cpu/sparc/sparc32/atomicity.h: Same.
4455 * config/cpu/powerpc/atomicity.h: Same.
4456 * config/cpu/i386/atomicity.h: Same.
4457 * config/cpu/generic/atomicity.h: Same.
4458 * configure.in: Check for inttypes.h.
4459 * configure: Regnerate.
4461 2000-03-21 Benjamin Kosnik <bkoz@cygnus.com>
4463 * bits/std_sstream.h (_M_init_stringbuf): Set initial ate position
4465 * testsuite/27_io/ostream_inserter_char.cc (test06): Add tests for ate.
4467 * docs/17_intro/RELEASE-NOTES (New): Add bits.
4469 * configure.in: Move AC_CHECK_HEADERS to a point where we know we
4470 are compiling natively.
4472 * libio/*: Update to CVS libio from egcs.
4474 2000-03-21 Phil Edwards <pme@sourceware.cygnus.com>
4476 * docs/download.html: Document use of -z9 for CVS.
4477 * docs/index.html: Add target date (no link) for future snapshot.
4479 2000-03-21 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4481 * bits/slice_array.h: Rename generic type template parameter name
4483 * bits/mask_array.h: Ditto
4485 2000-03-20 Benjamin Kosnik <bkoz@cygnus.com>
4487 * *: Change copyright holder from "Cygnus Solutions" to "Free
4488 Software Foundation, Inc."
4490 * docs/configopts.html: Explain what "hella versions" means.
4491 * docs/install.html: Some tweaks--nice job on this Phil.
4492 * docs/documentation.html: Add a direct link to configuration options.
4494 * src/Makefile.am (OPTIMIZE_CXXFLAGS): Add in extras.
4495 * docs/17_intro/RELEASE-NOTES (New): Add.
4496 * bits/c++config.h (__GLIBCPP__): Bump version.
4498 * config/c_io_libio.cc (__basic__file(__c_lock*)): Change argument
4499 type to match prototype.
4501 2000-03-20 Phil Edwards <pme@sourceware.cygnus.com>
4503 * docs/install.html: Update for new funky build procedure. Move
4504 description of 'configure' options to...
4505 * docs/configopts.html: ...here. New file.
4506 * docs/17_intro/howto.html: Updates for new snapshot.
4507 * docs/20_util/howto.html: Ditto.
4508 * docs/21_strings/howto.html: Ditto.
4509 * docs/21_strings/stringtok_std_h.txt: Fix example typos.
4510 * docs/22_locale/howto.html: Ditto.
4511 * docs/23_containers/howto.html: Ditto.
4512 * docs/faq/index.html: Ditto.
4514 2000-03-18 Petter Urkedal <petter@matfys.lth.se>
4515 Benjamin Kosnik <bkoz@gnu.org>
4517 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_SUPPORT): Move code for main
4519 * aclocal.m4: Regenerate.
4520 * configure: Regenerate.
4522 2000-03-16 Benjamin Kosnik <bkoz@cygnus.com>
4523 scott snyder <sss@karma.fnal.gov>
4525 * config/c_io_libio.h: Add __c_lock.
4526 * config/threads-no.h: Same here.
4527 * config/threads-posix.h: Add __mutext_type typedef.
4528 * config/c_io_libio.cc: basic_file ctor takes lock arg.
4529 * bits/basic_file.h: Ctor takes lock arg.
4530 * bits/std_fstream.h: Add _M_lock.
4531 * bits/fstream.tcc: Supply it to basic_file ctor.
4533 * mkcheck.in (resultstext): Change [[ to [.
4535 * testsuite/27_io/ostream_inserter_char.cc (test06): Tweak.
4537 * bits/locale_facets.h: Tweak.
4539 * stl/bits/stl_config.h: Fix defines.
4541 2000-03-16 Benjamin Kosnik <bkoz@cygnus.com>
4543 * mkcheck.in (INC_PATH): Add paths from cpu_include_dir to find
4545 * configure: Regenerate.
4546 * aclocal.m4: Regnerate.
4548 2000-03-16 Nathan Myers <ncm@zembu.com>
4550 * bits/string.tcc: Add MT support.
4551 * bits/basic_string.h: Same.
4553 2000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
4555 * configure.in: Make --enable-namespaces and -libgcc-rebuild=../..
4557 * configure: Regenerate.
4559 * config/solaris/solaris2.7/ctype.cc: Fix unsigned/signed comparison.
4561 2000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
4563 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): If Sol2.5 ctype is found, keep
4564 checking for 2.[67]. (GLIBCPP_ENABLE_RELIBGCC): No longer ignore
4565 any defaults passed in.
4566 * aclocal.m4: Regenerate.
4568 2000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
4570 * mkcheck.in: Report total successes and failures.
4572 2000-03-15 Benjamin Kosnik <bkoz@cygnus.com>
4574 * config/cpu: New directory, intended to be used to provide
4575 cpu-specific configuration files. In particular, assembly language
4576 primitives for thread safety.
4577 * config/cpu/alpha: Populate.
4578 * config/cpu/alpha/atomicity.h: New file.
4579 * config/cpu/arm: Populate.
4580 * config/cpu/generic: Populate.
4581 * config/cpu/generic/atomicity.h: New file.
4582 * config/cpu/hppa: Populate.
4583 * config/cpu/i386: Populate.
4584 * config/cpu/i386/atomicity.h: New file, take from i486.
4585 * config/cpu/m68k: Populate.
4586 * config/cpu/mips: Populate.
4587 * config/cpu/powerpc: Populate.
4588 * config/cpu/powerpc/atomicity.h: New file.
4589 * config/cpu/sparc: Populate.
4590 * config/cpu/sparc/sparc32: Populate.
4591 * config/cpu/sparc/sparc64: Populate.
4592 * config/cpu/sparc/sparc32/atomicity.h: New file.
4593 * config/cpu/sparc/sparc64/atomicity.h: New file.
4595 * src/Makefile.am (myinstallheaders): Add install routines.
4596 * acinclude.m4 (GLIBCPP_CHECK_CPU):Add configuration for the
4598 * configure.in: Add.
4600 * config/default: Adopt glibc naming conventions, and so move to
4601 * config/generic: Here.
4602 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Modify default case to generic.
4604 2000-03-15 Bill Thompson <billt@toast.net>
4606 * testsuite/27_io/ostream_inserter_char.cc (test06): Add test.
4608 2000-03-14 Phil Edwards <pme@sourceware.cygnus.com>
4610 * docs/17_intro/howto.html: Add missing "TOC" entry, and new section.
4612 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Fixup.
4613 * aclocal.m4: Regenerate.
4614 * configure: Regenerate.
4616 2000-03-13 scott snyder <snyder@fnal.gov>
4617 Jason Merrill <jason@cygnus.com>
4619 * bits/locale_facets.h (class ctype, class ctype<char>, class
4620 ctype<wchar_t>): More mask fixes.
4621 * testsuite/22_locale/ctype.cc: Test for the problem.
4623 2000-03-13 Benjamin Kosnik <bkoz@cygnus.com>
4625 * acconfig.h: Add bits.
4626 * configure.in: Move AM_PROG_LIBTOOL up in file.
4627 Tweak cross compiling info.
4628 * configure: Regenerate.
4630 * mknumeric_limits (XCOMPILE): Echo compilation line for
4633 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add aix checks.
4634 * aclocal.m4: Regenerate.
4635 * configure: Regenerate.
4636 * config/aix/ctype.cc (ctype): Tweak.
4637 * config/aix/bits/ctype_base.h (ctype_base): Tweak.
4638 * config/aix/bits/ctype_specializations.h: New file.
4640 2000-03-10 scott snyder <snyder@fnal.gov>
4642 * stl/bits/stl_vector.h (_M_assign_aux): Fix for __normal_iterator
4644 * testsuite/23_containers/vector_modifiers.cc (test01): Add a
4645 regression test for the problem.
4647 2000-03-09 Benjamin Kosnik <bkoz@fidel.cygnus.com>
4649 * testsuite/27_io/streambuf.cc (class testbuf): Same here.
4650 * bits/fpos.h: And here.
4651 * bits/std_ostream.h: Same here.
4652 * bits/std_istream.h: Same here.
4653 * bits/basic_ios.h: Same here.
4654 * bits/std_fstream.h: Same here.
4655 * bits/sbuf_iter.h (std): Here too.
4656 * bits/std_sstream.h: Make types public.
4658 * src/misc-inst.cc: Use size_t instead of unsigned int.
4659 * bits/locale_facets.tcc (_S_format): For now, cast to char. I
4660 suppose this should be ctype::narrow... all the ctype<wchar_t>
4661 stuff needs to be cleaned up.
4663 2000-03-09 Phil Edwards <pme@sourceware.cygnus.com>
4665 * docs/gentop: Remove entire directory, finally.
4667 2000-03-09 scott snyder <snyder@fnal.gov>
4669 * bits/std_cmath.h (modf): Fix pointer overrun.
4670 * testsuite/26_numerics/c_math.cc (test04, main): Add a regression
4671 test for the problem.
4673 2000-03-09 Phil Edwards <pme@sourceware.cygnus.com>
4675 Looks like changes to the #include'd files must be followed by a
4676 change to the #include'ing files to take effect. Caveat emptor.
4677 * docs/header.html: New file, for server-side include.
4678 * docs/footer.html: New file, for server-side include.
4679 * docs/documentation.html: Change to use SSI.
4680 * docs/download.html: Ditto.
4681 * docs/index.html: Ditto.
4682 * docs/mail.html: Ditto.
4683 * docs/status.html: Ditto.
4684 * docs/thanks.html: Ditto, plus minor updates.
4685 * docs/how.html: Remove.
4687 2000-03-09 Benjamin Kosnik <bkoz@gnu.org>
4689 Preliminary alpha-linux support.
4690 * src/locale.cc (ctype<wchar_t>): Use correct types...
4691 * bits/locale_facets.h (ctype<char>): Add __table_type typedef.
4692 (ctype<wchar_t>): Same.
4693 * bits/locale_facets.h (ctype<wchar_t>): Have char and wchar_t
4694 types match for table_size (size_t).
4696 * config/gnu-linux/ctype.cc (ctype): Change char_type to wchar_t
4697 as per char specialization.
4698 * config/*/ctype.cc: Same.
4700 2000-03-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4702 * bits/locale_facets.h (_Ctype<>::mask): Import from base class
4703 _Ctype_nois<>. Template base classes are never examinated in
4704 first-phase name-lookup.
4706 2000-03-08 Benjamin Kosnik <bkoz@gnu.org>
4708 Add Solaris 2.5.1 support.
4709 * config/solaris/solaris2.5/bits/ctype_base.h (ctype_base): And here.
4710 * config/solaris/solaris2.5/ctype.cc: Fixup.
4711 * config/solaris/solaris2.5/bits/ctype_specializations.h: Add.
4712 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add bits for solaris2.5.1.
4713 * aclocal.m4: Regenerate.
4714 * configure: Regenerate.
4716 * config/default/ctype.cc (ctype): Fixup.
4718 2000-03-07 Benjamin Kosnik <bkoz@blues.cygnus.com>
4720 * testsuite/27_io/filebuf.cc: Activate init code from yesterday...
4721 * testsuite/27_io/ostream_inserter_arith.cc (testcases): Fix for
4724 2000-03-07 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4726 * bits/cpp_type_traits.h: Expand on this file purpose.
4728 2000-03-06 Benjamin Kosnik <bkoz@gnu.org>
4730 * bits/locale_facets.h (ctype<char>): Remove static members, and
4731 re-work initialization code.
4732 (ctype<wchar_t>): Same.
4733 Move _S_touppper to _M_toupper and initialize in ctor.
4734 Move _S_tolower to _M_tolower and initialize in ctor.
4735 Move _S_table to _M_ctable and intialize in ctor.
4736 * bits/locale_facets.h (std): And here.
4737 * src/locale.cc (std): Tweak.
4738 * config/gnu-linux/ctype.cc: Change initialization here.
4739 * config/newlib/ctype.cc: And here.
4740 * config/solaris/solaris2.7/ctype.cc: And here.
4741 * config/solaris/solaris2.6/ctype.cc: And here.
4743 * bits/localefwd.h: Tweak.
4744 * bits/std_streambuf.h: Tweak formatting.
4746 * testsuite/27_io/filebuf.cc: Remove BUFSIZ dependancies.
4748 2000-03-05 Chip Salzenberg <chip@valinux.com>
4750 * src/misc-inst.cc (basic_iostream<>): Instantiate.
4752 2000-03-02 Phil Edwards <pme@sourceware.cygnus.com>
4753 Kevin Atkinson <kevinatk@home.com>
4755 Initial grab of SGI's strstream implementation with minor
4757 * src/strstream.cc: New file.
4758 * std/strstream: New file.
4759 * stl/bits/std_strstream.h: New file.
4760 * bits/std_streambuf.h: Add public access.
4761 * src/Makefile.am: Add strstream sources to list of dependancies.
4762 * src/Makefile.in: Regenerate.
4764 2000-03-03 2000 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4766 * bits/valarray_meta.h: Fix typo.
4768 2000-03-02 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4769 Chip Salzenberg <chip@valinux.com>
4770 Petter Urkedal <petter@matfys.lth.se>
4772 * src/Makefile.am (myinstallheaders): Hack to avoid
4774 * src/Makefile.in: Regenerate.
4776 2000-03-02 Chip Salzenberg <chip@valinux.com>
4778 * libio/Makefile.an, math/Makefile.an, src/Makefile.am
4779 (LINK): Put quotes around "$(CC)" for libtool link mode,
4780 so libtool will use "-B" options during GCC bootstrap.
4781 * */Makefile.in: Regenerate.
4783 2000-03-02 Petter Urkedal <petter@matfys.lth.se>
4785 * config/c_io_libio.h: Enclose it all in ::std.
4786 * bits/basic_string.h (basic_string<>): Make types and
4788 * mkc++config: Truncate output file before writing.
4790 2000-03-01 Benjamin Kosnik <bkoz@gnu.org>
4792 * math/cabsf.c (__mycabsf): Rename to cabsf.
4793 * math/cabs.c (__mycabs): Rename to cabs.
4795 2000-02-29 LLeweLLyn Reese <llewelly@198.dsl.xmission.com>
4797 * bits/basic_string.h: Move declarations of __out_of_range(),
4798 __length_error() and accompanying macros ...
4799 * bits/exception_support.h: here. (Newly created file).
4800 * bits/basic_string.h: #include <bits/exception_support.h>
4801 * stl/bits/stl_vector.h: #include <bits/exception_support.h>
4802 * src/Makefile.am (headers): Add.
4803 * src/Makefile.in: Regenerate.
4805 2000-02-29 Benjamin Kosnik <bkoz@cygnus.com>
4807 * bits/cpp_type_traits.h: Rename structs so they don't clash with
4809 * bits/valarray_array.h: Synch. Fix typos.
4811 * libio/Makefile.am: Change to only compile source files that
4812 config/c_io_libio.cc actually needs.
4813 * libio/Makefile.in: Regnerate.
4814 * libio/PlotFile.hes SFile.h builtinbuf.h editbuf.h floatconv.c
4815 floatio.h fstream.h indstream.h iofclose.c iofdopen.c iofeof.c
4816 ioferror.c iofflush.c iofgetpos.c iofgets.c iofopen.c iofprintf.c
4817 iofputs.c iofread.c iofscanf.c iofsetpos.c ioftell.c iofwrite.c
4818 iogetc.c iogetdelim.c iogetline.c iogets.c ioignore.c iomanip.h
4819 iopadn.c ioperror.c iopopen.c ioprims.c ioprintf.c ioputc.c
4820 ioputs.c ioscanf.c ioseekoff.c ioseekpos.c iosetbuffer.c
4821 iosetvbuf.c iosprintf.c iosscanf.c iostream.h iostrerror.c
4822 ioungetc.c iovfprintf.c iovfscanf.c iovsprintf.c iovsscanf.c
4823 istream.h list.out ostream.h outfloat.c parsestream.h peekc.c
4824 pfstream.h procbuf.h stdiostream.h stream.h streambuf.h strfile.h
4825 strops.c strstream.h: Delete.
4827 * bits/basic_file.h: Stub out or delete unused bits in this
4829 (filepos_beg): Remove.
4830 (filepos_cur): Remove.
4831 (filepos_valid): Remove.
4832 * config/c_io_libio.cc: Resynch with the changes to basic_file.
4834 2000-02-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4836 * bits/cpp_type_traits.h: Correct typo.
4838 2000-02-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4840 * bits/cpp_type_traits.h: New file.
4842 * bits/valarray_array.h: Tweak. #include <bits/cpp_type_traits.h>
4843 Improve array construction.
4844 (_Array_default_ctor): New dispatcher class.
4845 (__valarray_default_construct): New function.
4846 (_Array_copy_ctor): New dispatcher class.
4847 (__valarray_copy_construct): New function.
4848 (_Array<>::free_data): Remove.
4850 * src/Makefile.am (headers): Add cpp_type_traits.h
4851 * src/Makefile.in: Regenerate.
4853 2000-02-28 Benjamin Kosnik <bkoz@cygnus.com>
4855 Prune libio directory to match files in libio/Makefile.
4856 * libio/PlotFile.cc,indstream.cc, isgetsb.cc, sbform.cc,
4857 stream.cc, SFile.cc, ioassign.cc, isscan.cc, sbgetline.cc,
4858 streambuf.cc, builtinbuf.cc, ioextend.cc, osform.cc, sbscan.cc,
4859 strstream.cc, editbuf.cc, iomanip.cc, parsestream.cc,
4860 stdiostream.cc, filebuf.cc, iostream.cc, pfstream.cc,
4861 stdstrbufs.cc, fstream.cc, isgetline.cc, procbuf.cc,
4862 stdstreams.cc: Remove.
4863 * libio/floatio.h, iolibio.h, iostdio.h, iostreamP.h: Remove.
4864 * libio/iofflush_u.c: Remove.
4866 * libio/dbz: Remove.
4867 * libio/include: Remove.
4868 * libio/stdio: Remove.
4869 * libio/tests: Remove.
4870 * libio/testsuite: Remove.
4872 * config/c_io_libio.cc: Add fcntl.h include for Solaris.
4874 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add bits.
4875 * configure.in: Replace 'grep -e' with 'grep' for Solaris.
4876 * configure: Regenerate.
4878 2000-02-25 Benjamin Kosnik <bkoz@gnu.org>
4880 Abstract out the underlying "C" io bits.
4881 * bits/std_new.h: Remove <stl_config> include, as well as <cstddef>.
4882 * stl/bits/stl_string_fwd.h: Remove <stddef> include.
4883 * bits/std_cwchar.h: Wrap with _GLIBCPP_USE_WCHAR_T guards. Don't
4885 * stl/bits/stl_config.h: Don't include _G_config.h.
4887 * bits/basic_file.h: Allow for non-inheritance based __basic_files.
4888 * config/c_io_libio.h (_GLIBCPP_BASIC_FILE_INHERITANCE): Define.
4889 * config/c_io_libio.cc: Tweak.
4891 * src/Makefile.am (TOPLEVEL_INCLUDES): Add includedir.
4892 * src/Makefile.in: Regenerate.
4893 * Makefile.am (AM_MAKEFLAGS): Define includedir so that
4894 prefix/include files will be picked up.
4895 * Makefile.in: Regenerate.
4896 * math/Makefile.am (TOPLEVEL_INCLUDES): And here.
4897 * libio/Makefile.am (TOPLEVEL_INCLUDES): And here.
4899 * bits/std_ios.h: Include <bits/c++io.h> instead of libio.
4900 * bits/fpos.h: And here.
4901 * bits/basic_file.h (get_fileno): Move definition from ...
4902 * src/basic_file.cc (std): To here.
4903 * bits/fpos.h: Move types for streamoff, streampos to..
4904 * bits/basic_file.h: Move __c_file_type and fpos typedefs to...
4905 * config/c_io_libio.h: ...here.
4906 (_GLIBCPP_[BOOLALPHA, HEX, DEC, FIXED, INTERNAL, LEFT, OCT, RIGHT,
4907 SCIENTIFIC, SHOWBASE, SHOWPOINT, SHOWPOS, SKIPWS, UNITBUF,
4908 UPPERCASE, ADJUSTFIELD, BASEFIELD, FLOATFIELD, BADBIT, EOFBIT,
4909 FAILBIT, GOODBIT, APP, ATE, BINARY, IN, OUT, TRUNC): New macros to
4910 abstract out bits in ios_base.
4911 * bits/ios_base.h: Re-macrofy.
4912 * src/basic_file.cc : Rename, move to
4913 * config/c_io_libio.cc: Here.
4914 * config/c_io_libio.h: New file. Include libio.
4915 * bits/c++config.h: Don't define _GLIBCPP_USE_LIBIO.
4916 * configure.in (blddir): Add enabling bits for GLIBCPP_ENABLE_CSTDIO.
4917 * configure: Regenerate.
4918 * src/Makefile.am (sources): Take out basic_file.cc and add c++io.cc.
4919 (generated_headers): Add c++io.h
4920 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): New function to select
4921 underlying "C" io library.
4922 * acinclude.m4 (GLIBCPP_CHECK_LIBIO): Roll functionality into
4923 GLIBCPP_ENABLE_CSTDIO.
4925 * configure.in: Add configure bits for cross compiling non-newlib
4927 GLIBCPP_CHECK_COMPILER_VERSION: Take out this test for this
4928 target, as we assume g++ support is not the limiting factor.
4929 GLIBCPP_CHECK_LIBIO: Same, know we don't need libio.
4930 * configure: Regenerate.
4932 2000-02-22 Benjamin Kosnik <bkoz@cygnus.com>
4934 * Makefile.am (INTERFACE): Define.
4935 * Makefile.in: Regenerate.
4936 * libio/ChangeLog: Add entry.
4938 2000-02-21 Benjamin Kosnik <bkoz@cygnus.com>
4940 * docs/install.html: Update install directions.
4942 * docs/status.html: Fix sidebar to be consistent.
4943 * docs/thanks.html: Same.
4944 * docs/links.html: Same.
4945 * docs/mail.html: Same.
4946 * docs/download.html: Same.
4948 * testsuite/27_io/filebuf.cc: Change BUFSIZ to buffer_size, and
4949 kill the macro BUFSIZ. I think the solaris fails lie elsewhere
4950 however, in the ctype_char_members.cc fail (for instance.)
4951 * testsuite/17_intro/headers.cc: Remove extraneous fails for hosts
4952 that do not have wchar_t enabled.
4953 * testsuite/27_io/ostream_inserter_arith.cc (struct _TestCase):
4955 * testsuite/27_io/iostream_objects.cc: And here.
4957 * libio/gen-params (CONFIG_NM): Specifically add in nm as the
4960 2000-02-18 Benjamin Kosnik <bkoz@haight.constant.com>
4961 Tom Tromey <tromey@cygnus.com>
4963 * configure.in: Manually add MULTISUBDIR.
4964 * configure: Regenerate.
4965 * src/Makefile.am (MULTISUBDIR): Add the lesser evil of Tom's two
4966 "Eww" hacks to get multilib installs working correctly.
4967 ($(headers): Test for MULTISUBDIR before installing.
4968 * Makefile.am (AM_MAKEFLAGS): Don't define MULTISUBDIR, instead
4969 have configure hack it in.
4970 * Makefile.in: Regenerate.
4971 * acinclude.m4 (GLIBCPP_CXXFLAGS): Tweak wording.
4972 Add enabling bits for native Cygwin ctypes, and other newlib-based
4975 2000-02-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4977 * mkc++config (OUT_H): Remove EOF in cygwin.
4978 * acinclude.m4 (LIBS): Tweaks to allow cygwin to configure.
4980 Tom Tromey <tromey@cygnus.com>
4981 * src/Makefile.am: Tweaks for installing multilibs.
4983 2000-02-17 Benjamin Kosnik <bkoz@cygnus.com>
4986 (toolexeclib_LTLIBRARIES): Use this instead of lib_LTLIBRARIES.
4987 Add USE_LIBDIR bits here, not...
4988 * src/Makefile.in: Regenerate.
4989 * Makefile.am: ...here.
4990 * Makefile.in: Regenerate.
4992 2000-02-17 Benjamin Kosnik <bkoz@gnu.org>
4994 * acinclude.m4 (LIBS): Fix typos.
4995 * configure.in: _GLIBCPP_BUGGY_FLOAT_COMPLEX,
4996 _GLIBCPP_BUGGY_COMPLEX for crosses.
4997 * src/Makefile.am (std_headers): Add libio.h as install include,
4999 * src/Makefile.in: Regenerate.
5001 * mkcheck.in: Add bits to set CXX to cross compiler.
5003 * src/complex_io.cc: Tweak.
5004 * configure.in: _GLIBCPP_BUGGY_COMPLEX for crosses.
5005 * configure: Regenerate.
5007 * config/newlib/ctype.cc: Tweaks.
5008 * config/newlib/bits/ctype_base.h (ctype_base): Set mask to char,
5010 * src/complex_io.cc (operator>>(istream, complex): Define out if
5013 2000-02-16 Benjamin Kosnik <bkoz@cygnus.com>
5015 * config/newlib/bits/ctype_base.h: Correct _S_table.
5017 Reconfigure ctype support for "C" libraries that don't use arrays.
5018 * testsuite/22_locale/ctype_char_members.cc: New file. Test for
5019 basic ctype<char> functionality.
5020 * src/locale.cc: Move host-specific ctype functions that are not
5021 inlines to config/*/ctype.cc files.
5022 (ctype<char>::do_tolower): For instance.
5023 (ctype<char>::do_toupper): For instance.
5024 (ctype<wchar_t>::do_tolower): For instance.
5025 (ctype<wchar_t>::do_toupper): For instance.
5026 * config/gnu-linux/ctype.cc: Modify.
5027 * config/default/ctype.cc: Modify.
5028 * config/newlib/ctype.cc: Modify.
5029 * config/solaris/solaris2.6/ctype.cc: Modify.
5030 * config/solaris/solaris2.7/ctype.cc: Modify.
5032 * bits/locale_facets.h (ctype<char>::is): Mark inline, move
5034 (ctype<char>::scan_is): Here too.
5035 (ctype<char>::scan_not): Here too.
5036 Move out of line defs to config/*/bits/ctype_specializations.h.
5037 * config/gnu-linux/bits/ctype_specializations.h: ...here. New file.
5038 * config/default/bits/ctype_specializations.h: ...here. New file.
5039 * config/newlib/bits/ctype_specializations.h: ...here. New file.
5040 * config/solaris/solaris2.6/bits/ctype_specializations.h: New file.
5041 * config/solaris/solaris2.7/bits/ctype_specializations.h: New file.
5042 * src/Makefile.am (headers): Add ctype_specializations.h.
5043 * src/Makefile.in: Regenerate.
5045 Aaron Weiss <weiss@clearway.com>
5046 * Makefile.am (AM_MAKEFLAGS): Add NM_FOR_BUILD, NM_FOR_TARGET, and
5047 CONFIG_NM for Solaris builds.
5048 * Makefile.in: Regenerate.
5050 * src/locale.cc: Tweak formatting.
5052 2000-02-15 Benjamin Kosnik <bkoz@cygnus.com>
5054 Jim Parsons <parsons@clearway.com>
5055 * testsuite/27_io/istream_unformatted.cc (test06): Add test.
5056 * bits/istream.tcc (read): Set failbit if !good(). Don't increment
5060 Michel Decima <michel.decima@cnet.francetelecom.fr>
5061 * testsuite/27_io/streambuf.cc: Add test.
5062 * bits/streambuf.tcc (xsgetn): Don't test for valid mode.
5065 * src/Makefile.am (AM_CXXFLAGS): Pass down AC_CXXFLAGS,
5066 OPTIMIZE_CXXFLAGS, etc. So --enable-debug and --enable-namespaces
5067 will work correctly, for instance.
5068 * src/Makefile.in: Regenerate.
5070 * bits/locale_facets.h: Fix merge error.
5071 (num_put::put(unsigned long long): And here.
5072 * mknumeric_limits (trait_name): Same.
5074 2000-02-15 Chip Salzenberg <chip@valinux.com>
5076 Support 'configure --enable-long-long'.
5077 * bits/c++config.h (_GLIBCPP_USE_LONG_LONG): Remove.
5078 * stl/bits/stl_config.h (__STL_LONG_LONG): Remove '#if 0'.
5079 * acconfig.h (_GLIBCPP_USE_LONG_LONG): Add. Default to undef.
5080 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Define flag macro.
5081 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Use it.
5083 * aclocal.m4: Regenerate.
5084 * config.h.in: Regenerate.
5085 * configure: Regenerate.
5087 2000-02-15 Chip Salzenberg <chip@valinux.com>
5089 Improve (complete?) 'long long' support.
5090 * mknumeric_limits: Call $CXX with $CPPFLAGS. Define statics
5091 for {,unsigned} long long if the limits header declares them.
5092 * src/gen-num-limits.cc: Include <bits/c++config.h> early.
5093 (__USE_GNU, _GNU_SOURCE): Define if _GLIBC_USE_LONG_LONG.
5094 (long long, unsigned long long): Gen limits if _GLIBC_USE_LONG_LONG.
5095 * bits/locale_facets.h (num_get<>::get(..., long long &)): Define.
5096 (num_put<>::put(..., long long)): Likewise.
5097 (num_put<>::put(..., unsigned long long)): Likewise.
5098 * bits/locale_facets.tcc (_S_format): Rename from _S_format_long.
5099 Templatize last parameter to support 'long long'.
5100 (num_put<>::put(...)): Call _S_format with new name.
5101 (num_put<>::put(..., long long)): Define.
5102 (num_put<>::put(..., unsigned long long)): Likewise.
5103 * src/locale-inst.cc (_S_format): Instantiate under new name.
5105 2000-02-15 Petter Urkedal <petter@matfys.lth.se>
5107 * src/complex.cc (operator<<, operator>>): Moved from here...
5108 * src/complex_io.cc: ...to new file.
5109 (operator>>): Stub replaced by the real thing.
5110 * src/Makefile.am (sources): Inserted complex_io.cc.
5111 * src/Makefile.in: Regenerate.
5112 * testsuite/26_numerics/complex_inserters_extractors.cc: Check it.
5114 2000-02-14 Benjamin Kosnik <bkoz@gnu.org>
5116 Add in ctype information for newlib "C" libraries.
5117 * config/newlib: New directory
5118 * config/newlib/bits/ctype_base.h: New file.
5119 * config/newlib/ctype.cc: New file.
5121 * ctype/config/linux/*: Rename, move to...
5122 * ctype/config/gnu-linux/*: Here.
5124 Finish off multilib work.
5125 * configure.in: Don't set CXX if not Canadian cross.
5126 * configure: Regenerate.
5127 * acinclude.m4 (GLIBCPP_CHECK_LIBIO): Tweak messages.
5128 * aclocal.m4: Regenerate.
5129 * config.h.in: Regenerate.
5131 * install-sh: Remove, as AC_CONFIG_AUX_DIR(..) picks this out of
5132 the top-level gcc directory now.
5133 * mkinstalldirs: Remove.
5136 * ltmain.sh: Remove.
5137 * config.guess: Remove.
5138 * config.sub: Remove.
5140 2000-02-13 Benjamin Kosnik <bkoz@cygnus.com>
5142 * configure.in (glibcpp_basedir): Add glibcpp_basedir.
5143 * Makefile.am: Move mutlilib stuff to src/Makefile.am.
5144 * Makefile.in: Regenerate.
5145 * src/Makefile.am: Add multilib bits.
5146 * src/Makefile.in: Regenerate.
5148 2000-02-12 Benjamin Kosnik <bkoz@cygnus.com>
5150 * configure.in: Clean, add some multilib support.
5151 * configure: Regenerate.
5152 * configure.host: New file.
5154 * acinclude.m4: GLIBCPP_CHECK_LIBIO. Take bits from configure.in and
5155 roll a new function, checks for presence of libio.
5156 GLIBCPP_CHECK_COMPILER_VERSION: Same.
5157 GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT: Same.
5158 GLIBCPP_CHECK_MATH_SUPPORT: Same.
5159 GLIBCPP_CHECK_WCHAR_T_SUPPORT: Same.
5160 GLIBCPP_CHECK_LIBIO: Same.
5161 GLIBCPP_CHECK_CTYPE: Same.
5162 * aclocal.m4: Regenerate.
5163 * config.h.in: Regenerate.
5165 * Makefile.am: Tweaks.
5166 * Makefile.in: Regenerate.
5168 2000-02-11 Benjamin Kosnik <bkoz@cygnus.com>
5170 * configure.in: Make outputing the libio/Makefile
5171 conditional. Haha, yeah right. Anyway, we instead do this thing
5172 where if libio is found, then we build a null library, as there is
5173 no point in duplicating the found libio.
5174 * Makefile.am: Tweak.
5175 * Makefile: Regenerate.
5176 * libio/Makefile.am: Add _G_config.h stuff. Now cross compilers
5177 are happy happy happy.
5178 * libio/Makefile.am: Regenerate.
5179 * libio/gen-params: New file.
5180 * src/Makefile.am: Make libio.la non-conditional, as it is now a
5181 null library if it's not needed. At least we are being consistent,
5182 if not as elegant as we could be.
5183 * src/Makefile: Regenerate.
5185 2000-02-10 Benjamin Kosnik <bkoz@gnu.org>
5187 * Makefile.am (SUBDIRS): Add libio again.
5188 * Makefile.in: Regenerate.
5189 * configure.in (BUILD_LIBIO_INCLUDE): And here.
5190 (AC_OUTPUT): Generate libio/Makefile again.
5191 * configure: Regnerate.
5192 * src/Makefile.am (libstdc___la_LIBADD): Change path so that
5193 libio.la is referring back to the libio subdir again.
5194 (LIBIO_INCLUDES): And here.
5195 * src/Makefile.in: Regenerate.
5197 2000-02-09 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5199 * math/complex-stub.h: Missed one. Change __mycabs* to cabs*.
5201 2000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5203 * bits/valarray_array.h (<bits/std_new.h>): #include.
5204 (__valarray_get_memory): New function.
5205 (__valarray_release_memory): Likewise.
5206 (__valarray_default_construct): New functions.
5207 (__valarray_fill_construct): New function.
5208 (__valarray_copy_construct): New funstions.
5209 (__valarray_destroy_elements): New function.
5211 * bits/valarray_array.tcc (__valarray_copy_construct): New
5214 * bits/std_valarray.h (valarray<>::valarray): Use
5215 __valarray_get_memory and __valarray_fill_construct,
5216 __valarray_copy_construct, __valarray_default_construct to
5217 properly construct valarrays.
5218 (valarray<>::~valarray): Use __valarray_destroy_elements to
5219 destroy elements and __valarray_release_memory to return memory.
5220 (valarray<>::shift): Tweak.
5221 (valarray<>::cshift): Likewise.
5222 (valarray<>::resize): Robustify.
5224 2000-02-09 Benjamin Kosnik <bkoz@cygnus.com>
5226 * mknumeric_limits (XCOMPILE): Add support for cross compiling.
5227 * bits/limits_generic.h: New file, defaults.
5228 * src/limits_generic.cc: New file, defaults.
5229 * configure.in (LIBS): Run mknumeric_limits at configure time.
5230 * acconfig.h: Remove PACKAGE VERSION HAVE_COMPLEX
5231 HAVE_LC_MESSAGES, tidy, clean, etc.
5232 * src/Makefile.am (geberated_sources): Remove.
5234 * bits/fpos.h: Use _GLIBCPP_USE_LIBIO guards for libio typenames
5235 (_IO_off_t, _IO_ssize_t)
5237 * src/complex.cc: Use glibc's <complex.h> if
5238 possible. . . apparently this was not being done before. Include
5240 (abs): Enable cabs if it's around, instead of mycabs.
5241 * src/complexf.cc (FCT): Add global scope to match complex.cc.
5242 * src/complexl.cc (FCT): Same.
5243 * math/Makefile.am (EXTRA_LONG_DOUBLE_yes): Change mycabsl to cabsl.
5244 (libmath_la_SOURCES): And here.
5245 * math/(mycabs.c, mycabsf.c, mycabsl.c): Move to. . .
5246 * math/(cabs.c, cabsf.c, cabsl.c): . . . Here.
5247 * math/complex-stub.h: Move c_log declarations into. . .
5248 * math/mathconf.h: Here. This is because glibc's <complex.h>
5249 declares cclog, not c_log. The case of the dueling standards. . .
5250 * math/mathconf.h: Add _GLIBCPP_HAVE_* to macros.
5251 * math/Makefile.am: Change.
5252 * math/nan.c (nan): Change signature.
5253 * math/mathconf.h (NAN): Same.
5254 * math/complex-stub.h (nan): And here.
5256 * Makefile.am (rebuild-stamp): Remove libio and libio
5257 dependancies. Plan to take out libio subdir and just merge with
5258 libio in top level gcc directory. Of course, this assumes there is
5259 a libio in the top level directory (ie ../src_dir). This will
5260 probably change the way this library is configured by default.
5263 2000-02-09 Chip Salzenberg <chip@valinux.com>
5265 * localefwd.h (locale): Make public: facet, id, category.
5267 2000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5269 * testsuite/26_numerics/buggy_complex.cc: Fix Origin:.
5271 * acinclude.m4: Patch only once!
5273 2000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5275 * testsuite/26_numerics/buggy_complex.cc: New file.
5277 2000-02-05 Petter Urkedal <petter@matfys.lth.se>
5279 * acinclude.m4: New GLIBCPP_CHECK_COMPLEX_SUPPORT macro. Based
5280 on the 1999-11-21 entries by Mumit Khan.
5281 * configure.in: Use.
5282 * acconfig.h: New _GLIBCPP_BUGGY_COMPLEX macro.
5283 * bits/std_complex.h: Use.
5285 2000-02-04 Philip Martin <pm@corris.dircon.co.uk>
5287 * stl/bits/stl_algobase.h: Add traits based dispatch for
5288 __normal_iterator in the copy_backward()algorithm
5289 * stl/bits/stl_vector.h: Reduce use of __normal_iterator
5292 2000-02-04 Mumit Khan <khan@xraylith.wisc.edu>
5294 * src/gen-num-limits.cc (signal_handler): Work around signal
5295 handling problem on Cygwin.
5296 Thanks to Chris Faylor <cgf@cygnus.com>.
5298 2000-02-03 Benjamin Kosnik <bkoz@cygnus.com>
5300 * configure.in: Add (preliminary) support for cross compiles and
5302 Remove AC_C_BIGENDIAN tests. Why is this necessary? Cross
5303 compilation freaks on this.
5304 * configure: Regenerate.
5305 * src/Makefile.am: Add support for cross compiles.
5306 * src/Makefile: Regenerate.
5307 * Makefile.am: Add support for cross compiles.
5308 * Makefile.in: Regenerate.
5310 2000-02-02 Benjamin Kosnik <bkoz@cygnus.com>
5312 * configure.in (LIBS): Remove unused subdirs.
5313 * configure: Regenerate.
5314 * Makefile.am (SUBDIRS): And here.
5315 * Makefile.in: Regenerate.
5316 * src/Makefile.am (sources): And here.
5317 * src/Makefile.in: Regenerate.
5320 * generic/*: Remove.
5322 * mkcheck.in (INC_PATH): Include $BUILD_DIR before any source dirs.
5324 * libtool: Update to libtool-1.3.4.
5328 * config.guess: Same.
5330 2000-02-02 Benjamin Kosnik <bkoz@cygnus.com>
5331 Alexandre Petit-Bianco <apbianco@cygnus.com>
5333 * mkc++config: New file. Put autoconf macros into _GLIBCPP_
5334 namespace instead of polluting global namespace with duplicate
5336 * configure.in (AC_OUTPUT): Don't need to generate bits/config.h
5338 (AC_OUTPUT_COMMANDS): Make it here.
5339 * configure: Regenerate.
5340 * bits/c++config.h.in (_CPP_CPPCONFIG): Change. Tweak. Remove
5341 endif, as now we will add it manually.
5342 Move to this file. . .
5343 * bits/c++config.h: New file. Same as old c++config.h.in except
5344 the ending macro guard is now appended manually.
5346 * bits/locale_facets.tcc: Change HAVE_* macros to _GLIBCPP_HAVE_*.
5347 * bits/std_cmath.h: Same here.
5348 * bits/std_cwchar.h: And here.
5349 * src/locale.cc: And here.
5350 * src/complexl.cc: And here.
5351 * math/mathconf.h: Change to include "config.h" instead of
5354 2000-02-01 Benjamin Kosnik <bkoz@gnu.org>
5356 * configure.in: Add support for threads. Try a model closer to
5357 libjava, as hopefully if the thread bits are added carefully
5358 enough, the source code will not have gross hacks. Besides, the
5359 libstdc++-v2 model could be easily emulated without the necessity
5360 of linking files in (as currently done)--all that needs to be done
5361 is AC_DEFINE(-D_PTHREADS) etc. However, let's try something
5362 new. . . and see if we arrive at a more elegant solution.
5363 * configure: Regenerated.
5364 * config/threads-no.h: New file.
5365 * config/threads-posix.h: New file.
5366 * src/Makefile.am (myinstallheaders): Install c++threads.h.
5367 * src/Makefile.in: Regenerated.
5369 2000-01-31 Benjamin Kosnik <bkoz@gnu.org>
5371 META-QUESTION: Can we just make a "header.html" file and a
5372 "footer.html" and just include them in all the doc sub-pages. The
5373 duplication of the header info is kind of gross, and weak
5374 considering that if you change order or layout then all this stuff
5375 has to be changed in all the sub-files.
5377 * docs/17_intro/contribute.html: Take out duplicate file info.
5378 * README: Should just contain a link to the docs/index.html
5379 page. Duplicate information removed.
5380 * docs/faq/index.html: Remove indexes into HOWTOS.
5381 * docs/17_intro/howto.html: Make intro and docs part more
5382 centralized. Move intro stuff to documentation.html.
5383 * docs/how.html: Tweak. Does this file need to exist? What calls it?
5384 * docs/README.html: Move documentation files to
5385 documentation.html. Should this file be renamed
5386 "config_and_install.html" as that is what is apparently covered
5388 * docs/install.html: Yes. New file, moved and renamed README.html.
5389 * docs/documentation.html: New file. This is the index file for
5391 * docs/index.html: Edit sidebar order. Insert new link to new
5392 documentation spine, documentation.html.
5394 2000-01-31 Scott Snyder <snyder@fnal.gov>
5396 * bits/istream.tcc (operator>>(istream&, string&)): Set failbit if
5397 we don't extract any characters.
5398 * testsuite/21_strings/inserters_extractors.cc (main): New tests.
5400 2000-01-31 Anders Widell <awl@hem.passagen.se>
5402 * stl/bits/std_bitset.h (_M_do_left_shift): Handle case when shift
5403 step is a multiple of the word size.
5404 (_M_do_right_shift): Same.
5405 * testsuite/23_containers/bitset_shift.cc: New file.
5407 2000-01-31 Nathan Myers <ncm@zembu.com>
5409 * README (Documentation): Add path info, fix typos.
5411 2000-01-26 Benjamin Kosnik <bkoz@redhat.com>
5413 * bits/locale_facets.tcc (num_get::_M_extract): Add the freaking
5414 crazy group checking for numpunct, for real this time. At some
5415 point, the local variable __grp should probably get replaced a
5416 char array, or something a bit more lightweight.
5417 (num_get::do_get(bool)): Simplify. Don't set bool reference to
5418 parsed value unless err isn't failbit.
5419 (num_get::do_get(*)): Same, make consistent.
5421 Nathan Myers <ncm@zembu.com>
5422 Jim Parsons <parsons@clearway.com>
5423 * testsuite/27_io/istream_extractor_arith.cc (test08): Add
5424 more grouping tests, tweak, scold, wine.
5426 2000-01-24 Benjamin Kosnik <bkoz@gnu.org>
5428 * testsuite/27_io/istream_extractor_arith.cc (test07): Add
5430 * bits/locale_facets.tcc (num_get::_M_extract): Change to fix
5431 grouping bugs. Only allow thousands_sep if _M_use_groupings is
5434 via <llewelly@198.dsl.xmission.com>
5435 * stl/bits/stl_vector.h (vector::_M_range_check): Throw
5436 out_of_range instead of range_error.
5438 2000-01-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5440 * bits/std_iomanip.h (setw): Fix typo.
5442 2000-01-14 Benjamin Kosnik <bkoz@gnu.org>
5444 * testsuite/27_io/istream_extractor_arith.cc: Fix.
5445 * bits/locale_facets.tcc (do_get(...void)): Change to strtoul.
5446 * testsuite/27_io/istream_unformatted.cc (test04): Tweak.
5448 2000-01-14 Phil Edwards <pme@sourceware.cygnus.com>
5450 * docs/README.html: Reformat, more installation instructions.
5451 * docs/gccrebuild.html: New file.
5452 * docs/faq/index.html: Update for new testsuite output filenames.
5453 * docs/faq/index.txt: Regenerate.
5455 2000-01-14 Phil Edwards <pme@sourceware.cygnus.com>
5457 * Makefile.am (rebuild-stamp, all-local): New targets.
5458 * Makefile.in: Regenerated.
5459 * acinclude.m4: New macro, GLIBCPP_ENABLE_RELIBGCC.
5460 * aclocal.m4: Regenerated.
5461 * configure.in: Call new macro. Also do some sanity checks
5462 for combinations of --enable's that may not make sense.
5463 * configure: Regenerated.
5465 2000-01-13 Benjamin Kosnik <bkoz@cygnus.com>
5467 * testsuite/27_io/istream_extractor_arith.cc: Add checks for void*.
5468 * bits/locale_facets.tcc (do_get::(...void)): Set fmtflags
5469 correctly for hex-formatted input.
5471 * testsuite/27_io/istream_manip.cc (test01): Fix, as per setting
5472 eofbit instead of eofbit | failbit.
5473 * testsuite/27_io/istream_unformatted.cc (test04): Fix, as
5474 ifstreams now are opened or'd with ios_base::in (as is correct).
5475 * bits/fstream.tcc (filebuf::seekoff): Simplify.
5476 * testsuite/27_io/ios_base_members_static.cc (test01): Fix thinko.
5478 2000-01-12 Benjamin Kosnik <bkoz@gnu.org>
5480 * bits/std_fstream.h: Add ios_base as a friend to basic_filebuf.
5481 * bits/basic_file.h (basic_file::filepos_cur): Remove incorrect
5483 (__basic_file::filepos_valid): Same.
5484 (__basic_file::filepos_beg): Same.
5485 (__baseic_file::get_fileno): New function.
5486 * bits/ios_base.h (ios_base::sync_with_stdio): Implement, including
5487 feedback from LWG 49.
5488 * src/ios.cc: Move definition here.
5489 * testsuite/27_io/ios_base_members_static.cc (test01): Add tests.
5491 * bits/std_sstream.h (_M_really_sync): Simplify argument list. Set
5492 output part of internal buffer based on string size, so that
5493 _M_out_end is set consistently with filebufs. Correct comments.
5494 * bits/sstream.tcc (stringbuf::overflow): Update here too.
5495 * testsuite/27_io/stringbuf.cc: Changes.
5497 2000-01-11 Benjamin Kosnik <bkoz@gnu.org>
5499 * bits/sstream.tcc (seekoff): Set based on end of written buffer,
5501 * testsuite/27_io/stringbuf.cc: Add tests for seekoff(end).
5503 * bits/std_fstream.h (ifstream::open): Add ios_base::in to openmode.
5504 (ofstream::open): Add ios_base::out to openmode.
5506 * bits/locale_facets.tcc (_M_extract): Have consistency between
5507 istream::sentry and extractors, where failbit | eofbit is
5508 set. Don't change this, but instead change. . (do some formatting
5510 * bits/istream.tcc (istream::sentry): Only set eofbit.
5512 2000-01-10 Benjamin Kosnik <bkoz@gnu.org>
5514 * testsuite/27_io/istringstream_members.cc: New file.
5516 2000-01-09 Benjamin Kosnik <bkoz@gnu.org>
5518 * bits/istream.tcc (istream::sentry): Flush.
5520 * configure.in (AC_OUTPUT_COMMANDS): Simplify.
5521 * configure: Regenerate.
5522 * src/Makefile.am (generated_headers): Remove bits/c++config.h so
5523 that make clean will not delete it.
5524 * src/Makefile: Regenerate.
5526 2000-01-07 Phil Edwards <pme@sourceware.cygnus.com>
5528 * mkcheck.in: Use host-specific invocation of size(1);
5529 GNU binutils isn't necessarily there (more's the pity).
5531 2000-01-06 Benjamin Kosnik <bkoz@cygnus.com>
5533 * configure.in (LIBS): Better tests for solaris2.6.
5534 * configure: Regenerate.
5536 <vakatov@ncbi.nlm.nih.gov>
5537 * bits/std_sstream.h: As per libstdc++20.
5539 2000-01-06 Benjamin Kosnik <bkoz@gnu.org>
5541 Break out configuration on solaris.
5542 * configure.in (ctype_solaris): Add in bits for solaris2.6 and 2.7.
5543 * config/solaris/ctype.cc: Delete and move to proper version.
5544 * config/solaris/bits: Same.
5545 * config/solaris/solaris2.5: Add this directory, with subdir bits
5546 and file ctype.cc. Probably doesn't work.
5547 * config/solaris/solaris2.6: Same.
5548 * config/solaris/solaris2.7: Same, as per specs via Phil Edwards.
5550 * Makefile.am: Change paths to mkcheck.
5551 * Makefile: Regenerate.
5552 * configure.in (AC_OUTPUT_COMMANDS): Build mkcheck here.
5553 * configure: Regenerate.
5554 * src/Makefile.am (generated_headers): Add bits/c++config.h.
5556 * mkcheck: Now autogenerated by configure and renamed. . .
5557 * mkcheck.in (INC_PATH): Add glue for ctype_include_dir.
5558 Have longer-style dates.
5559 Raja R Harinath <harinath@cs.umn.edu>
5560 * mkcheck: Change path to #!/usr/clocal/bin/bash.
5562 * docs/README.html: Correct links, maybe. FAQ, install notes, and
5563 general documentation need to be organized around each other, not
5564 fight against each other. . .
5566 2000-01-04 Phil Edwards <pme@sourceware.cygnus.com>
5567 Nicolai Josuttis <nicolai.josuttis@braunschweig.netsurf.de>
5569 * README: Add a note referring to README.html.
5570 * docs/README.html: New file from Nicolai.
5571 * docs/faq/index.html: Move "how to get a copy" to here.
5572 * docs/gentop/footchunk.html: Update.
5573 * docs/gentop/headchunk.html: New links according to
5574 bkoz's idea for "How to..." stuff.
5575 * docs/gentop/thanks: Actually put people here.
5576 * docs/download.html: Regenerated.
5577 * docs/index.html, docs/links.html, docs/mail.html,
5578 docs/status.html, docs/thanks.html, docs/faq/index.txt: Ditto.
5579 * docs/how.html: Ditto. (This file should go away soon.)
5581 1999-12-26 Phil Edwards <pme@sourceware.cygnus.com>
5583 * docs/gentop/status: Add snapshot version column, update
5585 * docs/status.html: Regenerated.
5587 1999-12-26 Phil Edwards <pme@sourceware.cygnus.com>
5589 * docs/faq/index.html: Turn README and RELEASE-NOTES into links
5590 from installation FAQ, and specify location of text files.
5591 * docs/faq/index.txt: Regenerated.
5593 1999-12-23 Phil Edwards <pme@sourceware.cygnus.com>
5595 * docs/gentop/download: Add links to prebuilds for Cygwin/Mingw32.
5596 * docs/download.html: Regenerated.
5598 1999-12-22 Phil Edwards <pme@sourceware.cygnus.com>
5600 * docs/faq/index.html: Update 'what works' for .7 snapshot,
5601 clean up various links.
5602 * docs/faq/index.txt: Regenerated.
5603 * docs/gentop/gentop: Smarter regeneration script.
5604 * docs/gentop/{head,foot}chunk.html: Updated with new
5605 contributors link and mod date.
5606 * docs/gentop/index: Snapshot relase date.
5607 * docs/gentop/thanks: New contributors page added.
5608 * docs/{download,how,index,links,mail,status,thanks}.html:
5609 Regenerated from gentop; thanks.html created.
5611 1999-12-21 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5613 * bits/c++config.h.in (__GLIBCPP__): 19991221.
5614 * docs/index.html: Add correct information.
5616 * config/irix: New directory.
5617 * config/irix/ctype.cc: Add irix-6.5 info. Not tested.
5618 * config/irix/bits/ctype_base.h: And here.
5620 * config/aix: New directory.
5621 * config/aix/ctype.cc: Add aix-4.2 info. Not tested.
5622 * config/aix/bits/ctype_base.h: And here.
5624 1999-12-21 Philip Martin <pm@corris.dircon.co.uk>
5626 * bits/basic_string.h: Add special case handling for integral
5628 * bits/std_string.h: include type_traits.h
5629 * testsuite/21_strings/ctor_copy_dtor.cc: Tweak.
5631 1999-12-21 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5633 * bits/fstream.tcc (seekoff): Output buffer based on _M_*_in and
5635 * bits/std_fstream.h (sync): And here.
5636 * testsuite/27_io/filebuf.cc: Revisions.
5637 * testsuite/27_io/filebuf-2.tst: Correct, remove weird character
5638 at the end of the file.
5639 * testsuite/27_io/filebuf-3.tst: Correct.
5641 1999-12-21 Phil Edwards <pedwards@jaj.com>
5643 * docs/gentop/index: Hold off on .7 announcement date.
5644 * docs/index.html: Regenerate.
5646 1999-12-21 Benjamin Kosnik <bkoz@kcygnus.com>
5648 * bits/std_fstream.h (sync): Move _M_file->sync() to
5649 _M_really_overflow().
5650 * bits/fstream.tcc (seekoff): Call sync, not _M_really_overflow so
5651 as to get the _M_file->sync action, which forces the external
5652 buffer to update itself.
5653 (underflow): Same here.
5655 1999-12-21 Phil Edwards <pedwards@jaj.com>
5657 * bits/c++config.h.in: Uncomment _GLIBCPP_USE_NAMESPACES and move...
5658 * acconfig.h: ...to here.
5659 * config.h.in: Regenerate from aclocal.
5660 * acinclude.m4: Add GLIBCPP_ENABLE_DEBUG, GLIBCPP_ENABLE_NAMESPACES.
5661 * aclocal.m4: Regenerate from acinclude.
5662 * configure.in: Use ENABLE macros here.
5663 * configure: Regenerate.
5664 * src/Makefile.am: Use results from ENABLE macros.
5665 * src/Makefile.in: Regenerate.
5667 1999-12-20 Benjamin Kosnik <bkoz@cygnus.com>
5669 * mkcheck (SRC_DIR): Now have to include config/* dir if "make
5670 check" and not "make check-install." Temporarily hack in linux
5673 * bits/std_streambuf.h: Tweaks.
5674 * bits/streambuf.tcc (xsgetn): Tweaks.
5675 * bits/std_fstream.h (sync): Make _M_really_overflow consistent.
5676 * bits/fstream.tcc (filebuf::underflow): Simplify.
5677 * bits/std_sstream.h (streambuf::underflow): Minor change to make
5678 checks for read position precisely implement the standard.
5679 * bits/basic_file.h (filepos_cur): Base this on _offset.
5680 * testsuite/21_strings/inserters_extractors.cc (test05): Tweaks.
5681 * testsuite/27_io/filebuf.cc: Tweak.
5683 1999-12-20 Benjamin Kosnik <bkoz@cygnus.com>
5685 * docs/17_intro/RELEASE-NOTES: Fix typos.
5687 * bits/locale_facets.h (ctype): Modify, use __to_type to abstract
5688 out platform-specific bits.
5689 * config/default/ctype.cc: And here.
5690 * config/defaults/bits/ctype_base.h: And here.
5691 * config/linux/ctype.cc: And here.
5692 * config/linux/bits/ctype_base.h (ctype_base): And here.
5693 * config/solaris/bits/ctype_base.h (ctype_base): Add
5694 __to_type. Comment, as it looks like this is for solaris2.6 and
5695 above: solaris2.5.1 doesn't seem to have the same definitions.
5696 * config/solaris/ctype.cc: And here.
5698 1999-12-19 Benjamin Kosnik <bkoz@cygnus.com>
5699 Ulrich Drepper <drepper@cygnus.com>
5701 * acconfig.h: Remove _GLIBCPP_USE_CTYPE_ISBIT.
5703 * src/locale.cc: Take out platform-specific hacks.
5704 * config/linux/ctype.cc: Put here.
5705 * config/solaris/ctype.cc: Put here.
5706 * config/default/ctype.cc: Put here.
5708 * bits/locale_facets.h: Take out platform-specific hacks.
5709 * config/linux/bits/ctype_base.h: Put here.
5710 * config/solaris/bits/ctype_base.h: Put here.
5711 * config/default/bits/ctype_base.h: Put here.
5713 * configure.in: Bump version.
5714 Add tests for top-level config directory.
5715 * configure: Regenerated.
5716 * src/Makefile.am (INCLUDES): Add platform-specific dir.
5717 * src/Makefile: Regenerate.
5719 1999-12-19 Benjamin Kosnik <bkoz@cygnus.com>
5720 Ulrich Drepper <drepper@cygnus.com>
5722 * bits/locale_facets.h: Hack in solaris support.
5723 * src/locale.cc: Here too.
5725 1999-12-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5727 * docs/17_intro/TODO: Update
5728 * docs/17_intro/RELEASE-NOTES (New): Update.
5730 1999-12-17 Benjamin Kosnik <bkoz@milou.cygnus.com>
5732 * bits/c++config.h.in (__GLIBCPP__): Bump.
5733 * docs/17_intro/RELEASE-NOTES: Update, Gaby please add your stuff.
5734 * docs/17_intro/TODO: Update.
5736 * bits/locale_facets.h: Touch this too.
5737 * bits/localefwd.h: Add typedefs for loooooong vector names.
5738 * bits/locale_facets.tcc (locale::operator()): Need parens.
5739 (has_facet): Simplify.
5740 * src/locale-inst.cc: Add instantiations.
5741 * src/locale.cc: Tweaks.
5743 * bits/std_streambuf.h: Move indeterminates into. .
5744 * bits/std_fstream.h: Here.
5745 * bits/fstream.tcc (underflow): Rewind just for ios_base::out
5747 * bits/sstream.tcc: Very minor formatting tweaks.
5748 * bits/std_streambuf.h (_M_set_determinate): If exclusively an
5749 input buffer, set _M_buf to offset.
5750 * bits/istream.tcc (std): Tweaks.
5751 * testsuite/27_io/istream_unformatted.cc (test05): More tweaks,
5753 * testsuite/27_io/filebuf.cc: Tweaks.
5755 1999-12-17 Phil Edwards <pedwards@jaj.com>
5757 * configure.in: Add OPTLEVEL, -O2 for gcc 2.96+, nothing otherwise.
5758 * configure: Regenerate.
5759 * src/Makefile.am: Use OPTLEVEL in CXXFLAGS.
5760 * src/Makefile.in: Regenerate. Also picks up OTHER_CXXFLAGS rename
5761 to OPTIMIZE_CXXFLAGS from a previous revision (1.96) to Makefile.am.
5763 1999-12-17 Phil Edwards <pedwards@jaj.com>
5765 * docs/21_strings/stringtok_std_h.txt: New algorithm
5766 suggested by Chris King.
5767 * docs/21_strings/howto.html: Link to new version.
5769 1999-12-16 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5771 * bits/valarray_array.h (__valarray_sum): Use operator+=, not
5773 * docs/17_intro/TODO: Update.
5775 1999-12-15 Phil Edwards <pme@sourceware.cygnus.com>
5777 * docs/gentop/footchunk.html: Updated, fixed CRLFs.
5778 * docs/gentop/gentop: Ditto.
5779 * docs/gentop/headchunk.html: Ditto.
5780 * docs/*.html: Regenerated from gentop.
5781 * docs/*/howto.html: Updated as test.
5782 * docs/faq/index.html: Updated, fixed CRLFs.
5783 * docs/faq/index.txt: Regenerated.
5785 1999-12-15 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5787 * mknumeric_limits (OUT_C): restart only if $OUT_C is present.
5789 * bits/std_complex.h
5790 (complex<float>::complex(const complex<double>&),
5791 complex<float>::complex(const complex<long double>&)): Define.
5793 * docs/17_intro/TODO: Update.
5795 1999-12-13 Benjamin Kosnik <bkoz@cygnus.com>
5797 * bits/istream.tcc (seekg): Don't set _M_gcount.
5799 * bits/fstream.tcc (filebuf::underflow): Re-sync
5800 external byte sequence's input buffer only. . .
5801 * testsuite/27_io/istream_unformatted.cc (test04): New tests for
5802 tellg, seekg and filebufs.
5803 (test05): Same for stringbufs.
5804 * testsuite/27_io/istream_unformatted-2.tst: New file.
5805 * testsuite/27_io/istream_unformatted-1.tst: New file.
5806 * testsuite/27_io/istream_unformatted-1.txt: New file.
5807 * testsuite/21_strings/inserters_extractors.cc (test05): Change
5810 1999-12-13 Phil Edwards <pedwards@jaj.com>
5812 * docs/gentop/*: New directory, containing bits for the homepages.
5813 * docs/*.html: Regenerated from gentop.
5814 * docs/*/*.html: Entries added and regenerated.
5816 1999-12-13 Benjamin Kosnik <bkoz@gnu.org>
5818 Efforts to get -O2 to work with -Winline -Werrors.
5819 * bits/valarray_array.h (__valarray_fill(_Tp*, size_t, const
5820 _Tp&): Remove inline declaration, as cannot be inlined and
5821 -Winline -Werror complains. An interesting question is why this
5822 cannot be inlined, as I can see no real reason to disqualify it.
5823 (__valarray_product(const _Tp*, const _Tp*)): Same here.
5824 * bits/std_valarray.h (valarray::operator[](size_t)): Same here.
5826 * docs/17_intro/TODO: Update.
5828 1999-12-12 Benjamin Kosnik <bkoz@gnu.org>
5830 * bits/std_fstream.h (seekpos): Tweaks, fixes. Move definition to
5832 * bits/basic_file.h (filepos_cur()): Make pointers themselves be
5833 the resultant position.
5834 * bits/fstream.tcc (seekoff): Explicitly set return value to
5835 resultant external byte sequence position, not value returned from
5836 _M_file->seekoff. Need to make
5837 (seekpos): New definition.
5839 * bits/istream.tcc (seekg): As per Library Issues List 136, set to
5840 just istream. Necessary, or else tellg will give an invalid stream
5841 position, but seekg will return a valid stream position, which is
5842 not groovy: see testcase addition.
5843 * bits/ostream.tcc (seekp): Same.
5845 * bits/streambuf.tcc (_S_copy_streambufs): Simplify.
5846 * bits/sstream.tcc: Tweaks.
5847 * bits/locale_facets.tcc: Tweaks.
5848 (num_put::do_put(iter_type, ios_base, char_type, const void*)):
5849 Re-write in a way that is easier for the inliner to work with.
5850 * bits/ios_base.h: Use explicit static_cast<int>(...) notation.
5852 1999-12-10 Benjamin Kosnik <bkoz@cygnus.com>
5854 * bits/locale_facets.tcc: Tweaks.
5855 * bits/locale_facets.h (use_facet): Can't inline, remove inline
5857 * bits/localefwd.h: And here.
5858 * bits/std_ostream.h: Tweaks, sentry ctor can't be inlined.
5859 * bits/ostream.tcc: Put here.
5861 Frank Ch. Eigler <fche@cygnus.com>
5862 * src/Makefile.am: Adjust CXXFLAGS, add AM_CXXFLAGS.
5864 1999-12-08 Benjamin Kosnik <bkoz@cygnus.com>
5866 * bits/sstream.tcc (stringbuf::seekoff): Long overdue revamp. Make
5867 in and out buffers update independantly.
5869 * bits/basic_ios.h: Minor formatting.
5870 * bits/fstream.tcc (std): Fix indentation.
5872 1999-12-08 Chip Salzenberg <chip@valinux.com>
5874 * bits/char_traits.h (char_traits<>): Move not_eof() functions
5875 after corresponding eof() functions, so they're easier for the
5877 * bits/locale_facets.h (money_base::__default_pattern): Move
5878 static variable out of inline functions.
5879 (_Moneypunct<>::do_{pos,neg}_format): Use it.
5880 * src/locale-inst.cc (money_base::__default_pattern): Define it.
5882 1999-12-08 Benjamin Kosnik <bkoz@cygnus.com>
5884 * bits/std_fstream.h (filebuf::open): Tweak.
5885 * bits/fstream.tcc (filebuf::seekoff): Simplify, fix.
5886 * bits/std_ios.h: Minor tweaks for headers.
5888 1999-12-06 Benjamin Kosnik <bkoz@gnu.org>
5890 * bits/c++config.h.in (_GLIBCPP_FULLY_COMPLIANT_HEADERS): New macro.
5891 * src/string-inst.cc: Add guards . . .
5892 * src/misc-inst.cc: And here.
5893 * bits/std_sstream.h: And here.
5894 * bits/std_fstream.h: And here.
5895 * bits/std_streambuf.h: And here.
5896 * bits/std_istream.h: And here.
5897 * bits/std_ostream.h: And here.
5899 1999-12-06 Scott Snyder <snyder@fnal.gov>
5901 * bits/istream.tcc (basic_istream::read): Try to handle __n == 0
5903 (basic_istream::readsome): And here as well.
5904 * testsuite/27_io/istream_unformatted.cc: Test a zero-length
5907 1999-12-06 Mumit Khan <khan@xraylith.wisc.edu>
5909 * bits/istream.tcc (basic_istream::ignore): streamsize is not
5910 necessarily an `int'.
5912 1999-12-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5914 * mknumeric_limits: Don't use $CXXFLAGS when building
5915 gen-num-limits. It's definitely wrong to use it since $CXXFLAGS
5916 generally instructs the compiler not to emit template
5917 instantiations and we end up with undefined symbols. Sigh.
5919 1999-12-05 Benjamin Kosnik <bkoz@gnu.org>
5921 * bits/locale_facets.tcc: Tweak.
5922 (_S_format_long): Adjust showpos formatting for hex and oct.
5923 * bits/std_ostream.h (operator<<(short)): Correctly deal with hex
5924 and oct by formatting as unsigned.
5925 (operator<<(int)): Same here.
5926 * bits/ostream.tcc (operator<<(long)): Same.
5927 (operator<<(long long)): Same.
5928 (_S_pad_char): Actually treat ios_base::internal as something
5929 worth doing correctly. Remove const designation on ios argument.
5930 * testsuite/27_io/ios_manip_basefield.cc (test02): Add tests.
5931 * testsuite/27_io/ostream_inserter_arith.cc (test03): Add tests.
5933 1999-12-04 Benjamin Kosnik <bkoz@gnu.org>
5935 * bits/std_sstream.h (streambuf::underflow): Check for mode == in.
5937 1999-12-03 Benjamin Kosnik <bkoz@gnu.org>
5939 * bits/locale_facets.tcc (num_put::do_put(bool): Fix.
5941 * bits/sstream.tcc (streambuf::seekoff): Add parens.
5942 * bits/istream.tcc (istream::get(sb)): Handle exceptional events.
5943 (operator>>(istream, _CharT*)): Change streamsize to int_type.
5944 (operator>>(istream, _CharT&)): Fix typedef'd type to be _CharT.
5945 * bits/ostream.tcc (ostream::operator<<(const char*)): Stub out
5947 (ostream::operator<<(_CharT)): Fix.
5949 * bits/std_sstream.h: Temporarily disable including sstream.tcc to
5950 see if this will increase compile speed.
5951 * bits/std_ostream.h: Likewise. . .
5952 * bits/std_istream.h: And here.
5953 * bits/std_fstream.h: And here.
5954 * src/misc-inst.cc: Add relevant header file includes for
5955 instantiation purposes.
5956 * src/string-inst.cc: And here.
5957 * testsuite/27_io/ostream_inserter_arith.cc: Add test case.
5959 1999-12-02 Benjamin Kosnik <bkoz@gnu.org>
5961 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
5962 * bits/istream.tcc (get(streambuf)): More fixes.
5963 (istream::ignore): Get specific about numeric_limits<int>::max()
5966 * bits/fstream.tcc (filebuf::open): Tweaks for _M_last_overflowed.
5967 (filebuf::close): Same.
5968 * testsuite/27_io/filebuf.cc: Add tests for ios_base::ate.
5970 1999-12-01 Phil Edwards <pedwards@jaj.com>
5972 * mkcheck: Support for compilation/execution timing.
5973 * testsuite/printnow.c: New file.
5975 1999-12-01 Phil Edwards <pedwards@jaj.com>
5977 * bits/std_cwchar.h: Test for _GLIBCPP_USE_WCHAR_T.
5978 * configure.in: Test for presence of wchar.h before testing
5979 for any of its features.
5980 * configure: Regenerate.
5982 1999-11-30 Benjamin Kosnik <bkoz@gnu.org>
5984 Preliminary istream validations complete.
5985 * bits/istream.tcc (istream::getline): Fixes. Tweaks to make
5986 formatting more consistent. Removal of if-statements inside of for
5991 * bits/std_istream.h: Same.
5992 * bits/sstream.tcc (stringbuf::pbackfail): Fix.
5993 * testsuite/27_io/stringbuf.cc: Tweak.
5994 * testsuite/27_io/istream_unformatted.cc (test02): Mo' tests.
5996 * bits/ostream.tcc (ostream::operator<<(arith)): Set badbit, not
5997 failbit on failure, as per 27.6.2.5.2.
5999 * stl/bits/std_vector.h: Allow bool specializations. Should move
6000 ext/std_bvector to bits, not ext, maybe.
6002 1999-11-30 Mumit Khan <khan@xraylith.wisc.edu>
6004 * configure.in: Fix checks for mbstate_t and WCHAR_MIN/MAX.
6005 * configure: Regenerate.
6007 999-11-29 Benjamin Kosnik <bkoz@gnu.org>
6009 * bits/istream.tcc (get(streambuf, char)): Fix.
6010 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
6012 1999-11-29 Scott Snyder <snyder@fnal.gov>
6014 * bits/basic_string.h (append(const _Char*, size_type)): The
6015 length of the appended string is given exactly by the second arg,
6016 regardless of the data in the character array.
6017 * bits/string.tcc (basic_string(const _CharT*, size_type, const
6018 _Alloc&)): Likewise.
6019 * testsuite/21_strings/append.cc (test01): Remove erroneous test
6020 of basic_string::append.
6022 1999-11-29 Chip Salzenberg <chip@valinux.com>
6024 * Makefile.in: Tweaks for CXXFLAGS.
6025 * */Makefile.in: Same.
6027 1999-11-29 Mumit Khan <khan@xraylith.wisc.edu>
6029 * conficd bgure.in: Check for wide character support.
6030 * bits/c++config.h.in (_GLIBC_USE_WCHAR_T): Move from here ...
6031 * acconfig.h (_GLIBC_USE_WCHAR_T): to here.
6032 * bits/string.tcc (wstring::_S_find): Guard wchar_t specialization.
6034 1999-11-29 Mumit Khan <khan@xraylith.wisc.edu>
6036 * acinclude.m4: Fix typo.
6037 * src/complex.cc: Fix macro line continuation.
6039 1999-11-29 Petter Urkedal <petter@matfys.lth.se>
6041 * src/Makefile.am (CXXFLAGS): Add -Wno-format to allow non-
6042 string literals in format, as used in locale-facets.tcc.
6044 1999-11-28 Benjamin Kosnik <bkoz@gnu.org>
6046 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
6047 * bits/istream.tcc (istream::get): Extract to argument minus one.
6048 Various tweaks and fixes.
6050 1999-11-22 Mumit Khan <khan@xraylith.wisc.edu>
6052 * bits/locale_facets.tcc: Workaround for compiler crash on
6055 1999-11-21 Mumit Khan <khan@xraylith.wisc.edu>
6057 * acinclude.m4: New file. New _GLIBCPP_CHECK_FLOAT_SUPPORT macro.
6058 * configure.in: Use.
6059 * acconfig.h: New _GLIBCPP_BUGGY_FLOAT_COMPLEX macro.
6060 * src/complexf.cc: New _GLIBCPP_FLOAT_SPECIALIZATION macro.
6061 * bits/std_complex.h: Use.
6062 * src/complex.cc: Use.
6064 1999-11-19 Mumit Khan <khan@xraylith.wisc.edu>
6066 * testsuite/18_support/numeric_limits.cc: Add missing std:: prefix.
6067 * testsuite/21_strings/inserters_extractors.cc: Likewise.
6068 * testsuite/22_locale/ctype.cc: Likewise.
6069 * testsuite/23_containers/multiset.cc: Likewise.
6070 * testsuite/23_containers/vector_ctor.cc: Likewise.
6071 * testsuite/26_numerics/binary_closure.cc: Likewise.
6072 * testsuite/27_io/fpos.cc: Likewise.
6073 * testsuite/27_io/ios_base_callbacks.cc: Likewise.
6074 * testsuite/27_io/istream_extractor_arith.cc: Likewise.
6075 * testsuite/27_io/istream_extractor_char.cc: Likewise.
6076 * testsuite/27_io/istream_extractor_other.cc: Likewise.
6077 * testsuite/27_io/istream_sentry.cc: Likewise.
6078 * testsuite/27_io/ostream_inserter_char.cc: Likewise.
6079 * testsuite/27_io/ostream_inserter_other.cc: Likewise.
6080 * testsuite/27_io/streambuf.cc: Likewise.
6081 * testsuite/27_io/stringstream.cc: Likewise.
6083 1999-11-19 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6085 * bits/valarray_meta.h: Don't forget to define tanh
6087 1999-11-18 Philip Martin <pm@corris.dircon.co.uk>
6089 * src/stl-inst.cc: Use typedef to refer to iterator
6090 * stl/bits/stl_algobase.h: Add traits based dispatch for
6091 __normal_iterator in the copy()algorithm
6092 * stl/bits/type_traits.h: Add _Is_normal_iterator trait support
6094 1999-11-18 Kevin Ediger <kediger@licor.com>
6096 * src/locale.cc (locale::_Imp::_Imp): Use auto_ptr to make
6097 constructors for locale::_Impl exception safe.
6099 1999-11-18 Scott Snyder <snyder@fnal.gov>
6101 * stl/bits/stl_queue.h: The C++ standard gives the default for the
6102 _Sequence template argument of priority_queue<> as vector<>, not
6105 1999-11-18 Benjamin Kosnik <bkoz@gnu.org>
6107 * bits/std_sstream.h (stringbuf::_M_really_sync): Add __iend as a
6109 * bits/sstream.tcc: Adjust here too.
6111 1999-11-17 Benjamin Kosnik <bkoz@gnu.org>
6113 * bits/sbuf_iter.h (istreambuf_iter::equal): Tweak.
6114 * bits/istream.tcc (operator>>): Replace iostate(0) with
6115 iostate(ios_base::goodbit), which is the same thing, but hopefully
6117 * bits/locale_facets.tcc (do_get(bool)): Streamline, deal with
6118 libraries issue list 17.
6119 (do_gets): Don't set goodbit explicitly, instead only set on
6120 failures as good bit is the default setting.
6121 * bits/ios_base.h (setf): Set correctly.
6122 * bits/fstream.tcc: Tweak.
6123 * bits/std_sstream.h (_M_really_sync): Fix ibuffer positioning for
6124 in|out bufs that are empty. . .
6125 * testsuite/27_io/istream_extractor_arith.cc (test03): Add.
6127 1999-11-16 Benjamin Kosnik <bkoz@gnu.org>
6129 * testsuite/27_io/streambuf.cc (class testbuf): Don't set _M_buf_size.
6130 * bits/std_streambuf.h (setp): Set _M_buf_size, _M_mode.
6131 Add comments "all about _M_buf."
6132 (setg): Set _M_mode.
6134 1999-11-16 Kevin Ediger <kediger@licor.com>
6136 * bits/locale_facets.tcc (_S_build_float_format): New function.
6137 (_S_output_float): New function.
6138 (num_put::do_put(double)): Use 'em.
6139 (num_put::do_put(long double)): Use 'em.
6140 * testsuite/27_io/ostream_inserter_arith.cc: New file.
6142 1999-11-15 Scott Snyder <snyder@fnal.gov>
6144 * bits/basic_file.h: Type of __off parm should be __c_streampos, to
6145 match how libio is calling us.
6146 * src/basic_file.cc (sys_seek): Likewise.
6147 * bits/std_fstream.h (basic_filebuf::sync): Restore sync call.
6149 1999-11-15 Benjamin Kosnik <bkoz@gnu.org>
6151 * docs/17_intro/contribute.html: Add link to assignment form.
6152 * docs/17_intro/libstdc++-assign.txt: New file.
6154 * mkcheck (TESTS_FILE): Move a copy of test files as well as
6157 * bits/std_streambuf.h (_M_buf_bump): New function.
6158 * bits/streambuf.tcc: Mods to support _M_buf_bump.
6159 (xsputn): Here. Also add checks for output valid.
6160 (xsgetn): Add checks for input valid.
6162 (sgetc): Set _M_in_end to _M_buf + _M_buf_end.
6163 * bits/std_sstream.h (_M_really_sync): Set _M_buf.
6164 Set _M_out_end to variable-length-end.
6165 * bits/sstream.tcc (overflow): Use _M_buf_bump.
6168 * bits/fstream.tcc (std): Tweak formatting.
6169 (filebuf::overflow): Simplify.
6170 (filebuf::showmanyc): Same.
6171 (filebuf::underflow): Same.
6172 * testsuite/27_io/filebuf.cc: Fix.
6173 * testsuite/27_io/ostream_inserter_other.cc: Fix.
6174 * testsuite/27_io/ostream_inserter_other-2.tst: New file.
6175 * testsuite/27_io/stringbuf.cc: Tweak.
6176 * testsuite/27_io/streambuf.cc: Tweak.
6177 * testsuite/27_io/istream_extractor_other.cc: Fix.
6179 1999-11-11 Matthias Klose <doko@cs.tu-berlin.de>
6181 * stl_deque.h: Use static_casts<size_type>(signed_type).
6183 1999-11-11 Benjamin Kosnik <bkoz@gnu.org>
6185 Cleanups for callbacks, more regression hunting. Remaining
6186 failures (1) due to last unresolved stringstream issues, not
6188 * bits/std_fstream.h: Revert. Disable call to _M_file->sync as
6189 killing 27_io/filebuf.cc tests. . . need another solution.
6191 * bits/streambuf.tcc (_S_copy_streambufs): Fix.
6192 * testsuite/27_io/istream_extractor_other.cc: Tweak comments.
6194 * bits/basic_ios.h: Add cached facets here. UGH. The standard
6195 foils all attempts at a graceful, minimal implementation.
6196 * bits/basic_ios.tcc: Tweaks.
6197 * bits/istream.tcc: Fix.
6198 * bits/ostream.tcc: Fix.
6199 * bits/std_istream.h: Fix.
6200 * bits/std_ostream.h: Fix.
6201 * src/ios.cc (ios_base::imbue): Set _M_locale_ios before calling
6203 * bits/locale_facets.tcc (std): Minor, minor formatting tweak.
6204 (_S_pad_numeric): Make comprehensible.
6206 1999-11-10 Benjamin Kosnik <bkoz@cygnus.com>
6208 * bits/std_ostream.h: Add callbacks for _M_fnumput.
6209 (_S_ostream_fcache): New function.
6210 Move functions out-of-line.
6211 * bits/ostream.tcc: Put here.
6213 * bits/std_istream.h: Add callbacks for _M_fnumget.
6214 (_S_istream_fcache): New function.
6215 Move functions out-of-line.
6216 * bits/istream.tcc: Put here.
6218 * bits/basic_ios.tcc (basic_ios::imbue): Tweaks, remove call to
6219 _M_call_callbacks(), as ios_base::imbue does this already.
6220 * src/ios.cc (register_callback): Clean.
6221 (_M_call_callbacks): Same.
6222 * bits/ios_base.h: Callback work.
6223 * testsuite/27_io/ios_base_callbacks.cc (test01): New file.
6225 1999-11-10 Benjamin Kosnik <bkoz@cygnus.com>
6226 Matthias Klose <doko@cs.tu-berlin.de>
6228 * stl/ext/stl_rope.h: Fix initialization order.
6230 1999-11-09 Scott Snyder <snyder@fnal.gov>
6232 * bits/std_fstream.h (basic_filebuf::sync): Unconditionally call
6233 _M_file->sync() so that redirection works correctly.
6235 1999-11-09 Benjamin Kosnik <bkoz@gnu.org>
6237 * bits/istream.tcc: Re-order.
6238 * bits/std_istream.h: Fix getline problems.
6239 * testsuite/27_io/istream_unformatted.cc: New tests.
6241 Clean up regressions.
6242 * bits/std_sstream.h: Set initial stringbufs correctly.
6244 1999-11-09 Scott Snyder <snyder@fnal.gov>
6246 * stl_vector.h (_M_range_insert): Fix mixing pointers and
6248 * testsuite/23_containers/vector_modifiers.cc (test01): New file,
6251 1999-11-09 Benjamin Kosnik <bkoz@cygnus.com>
6253 * src/Makefile.am (CXXFLAGS): Add -Winline.
6254 * src/Makefile.in: Regenerate.
6256 1999-11-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6258 * bits/valarray_meta.h (_DEFINE_EXPR_UNARY_FUNCTION): When
6259 building meta-expressions don't forget to take the contained
6262 1999-11-02 Benjamin Kosnik <benjamin@cygnus.com>
6264 * configure: Regenerate.
6266 1999-11-02 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6268 * bits/valarray_meta.h (_Expr<>::sum): Tweak. Use copy-initialization
6270 * bits/valarray_meta.h (min): Likewise.
6271 * bits/valarray_meta.h (max): Likewise.
6273 1999-11-01 Benjamin Kosnik <bkoz@cygnus.com>
6275 * bits/std_sstream.h (_M_really_sync): Take into account in | out bufs.
6276 * bits/std_streambuf.h (_S_copy_streambufs): New function.
6277 * bits/streambuf.tcc: Define.
6278 * bits/istream.tcc (istream::operator>>(streambuf)): Rewrite.
6279 * bits/ostream.tcc (ostream::operator<<(streambuf)): Rewrite.
6280 * testsuite/27_io/ostream_inserter_other.cc: Add tests.
6281 * testsuite/27_io/ostream_inserter_other-1.tst: New file.
6283 * bits/basic_string.h: Explicitly cast npos to unsigned type,
6284 reported by Richard Atterer.
6285 * bits/char_traits.h: For consistency's sake, here too.
6287 * configure.in: Bump version to 2.90.7.
6289 1999-10-31 Benjamin Kosnik <bkoz@cygnus.com>
6291 * testsuite/27_io/ostream_inserter_char-1.tst: Check file output.
6292 * testsuite/27_io/ostream_inserter_char.cc (test05, test01): Add tests.
6293 * bits/streambuf.tcc (xsputn): Treat--size const char for long loops.
6295 * bits/sstream.tcc (seekpos): Tricks, mostly: check _M_mode before
6296 writing into buffer.
6299 1999-10-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6301 * bits/valarray_array.h (__valarray_sum): New function.
6302 * bits/valarray_array.h (__valarray_product): Same.
6304 * bits/std_valarray.h (valarray<T>::product): Comment out.
6305 * bits/std_valarray.h (valarray<T>::sum): Use __valarray_sum
6306 instead of accumulate.
6308 * src/valarray-inst.cc: Remove explicit intantiation of
6309 class multiplies<size_t>, accumulate, valarray<size_t>::product.
6310 * src/valarray-inst.cc (__valarray_product): Instantiate
6312 * src/valarray-inst.cc (__valarray_product(const
6313 valarray<size_t>&)): New function.
6314 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't use
6315 valarray<size_t>::product. Use __valarray_product instead.
6318 1999-10-25 Benjamin Kosnik <bkoz@cygnus.com>
6320 * bits/std_ostream.h (ostream.inserters.char): Correctly pad output.
6321 (_S_pad_char): New function. Not done: ios_base::internal.
6322 * bits/ostream.tcc: Clean for above.
6323 * bits/locale_facets.tcc (_S_fill): Remove ostreambufiterator
6324 specialization that was commented out, as ostreams now have to
6325 correctly deal with padding.
6326 * testsuite/27_io/ostream_inserter_char.cc (main): Add tests.
6328 * testsuite/21_strings/ctor_copy_dtor.cc(test02): Add test case
6329 from mailing list. This is a bug, and should be fixed.
6330 * testsuite/21_strings/inserters_extractors.cc (main): Tweak, fix typo.
6332 1999-10-22 Petter Urkedal <petter@matfys.lth.se>
6334 * stl/bits/stl_numeric.h (__power): Replaced argument name `__opr'
6335 to avoid conflict with gcc name mangling.
6336 * stl/bits/stl_algo.h (__transform): Same.
6338 1999-10-21 Benjamin Kosnik <bkoz@cygnus.com>
6340 * bits/ios_base.h: Change argument names.
6341 * docs/17_intro/BADNAMES: Add __opr.
6343 1999-10-20 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6345 Work on compilation slowdowns from 10-5 to 10-12, which are
6346 related to the _Callback_list inlining/merge-ifcation, which is
6347 still a pending issue, but this stuff is necessary cleanup anyway.
6349 * src/ios.cc: Re-arrange.
6350 * bits/ios_base.h: Tweak.
6351 * bits/basic_ios.tcc: Move out of line definitions here, move
6352 small out-of-line definitions inline.
6353 * bits/basic_ios.h: From here.
6355 * bits/streambuf.tcc (pbackfail, overflow): Move back inline.
6356 * bits/std_streambuf.h: From here.
6358 1999-10-19 Benjamin Kosnik <bkoz@cygnus.com>
6360 * testsuite/27_io/istream_extractor_char.cc: Add tests.
6361 * bits/std_istream.h: Tweaks--set eofbit on eof condition.
6362 * bits/istream.tcc (operator>>(istream&, string&): Remove
6363 vestigial issspace hacks and use ctype::is instead.
6364 (getline): Remove unnecessary loops, fortify and pasteurize.
6367 1999-10-18 Benjamin Kosnik <bkoz@cygnus.com>
6369 * bits/istream.tcc (operator>>): Tweak.
6370 * bits/std_istream.h: Fix according to library issues list 68.
6373 * bits/locale_facets.h: Fix table_size to be non-zero.
6375 1999-10-18 Vadim Egorov <egorovv@HotPOP.com>
6377 * src/basic_file.cc: ifdef instead of comment for binary mode
6379 1999-10-18 Russell Davidson <russell@qed.econ.queensu.ca>
6381 * bits/std_sstream.h: Stringbuf initialization based on actual,
6382 not allocated, size.
6383 * testsuite/21_strings/inserters_extractors.cc (test06): Add test
6386 1999-10-17 Benjamin Kosnik <bkoz@cygnus.com>
6388 * testsuite/26_numerics/c_math.cc (test03): Tweak.
6389 * testsuite/27_io/istream_manip.cc (test01): Corrections due to
6391 * testsuite/21_strings/inserters_extractors.cc (test01): Same.
6393 1999-10-14 Benjamin Kosnik <bkoz@cygnus.com>
6395 * bits/std_istream.h: Tweaks.
6396 * bits/istream.tcc (istream::sentry::sentry()): Simplify, correct
6397 as per issues list addition--set failbit, eof on empty buffers.
6398 * testsuite/27_io/istream_sentry.cc: New file.
6400 1999-10-12 Chris Prince <prince@wcug.wwu.edu>
6402 * bits/std_cstdio.h: Remove Solaris hacks.
6404 1999-10-12 Phil Edwards <philip.edwards@sn.wpafb.af.mil>
6406 * docs/index.html: Fix minor typos and tweaks.
6407 * docs/17_intro/contribute.html: Ditto.
6408 * docs/*/howto.html: Ditto. More "EGCS"->"GCC" conversion, notes on
6409 thread safety and binary I/O, links to external sites.
6410 * docs/faq/index.html: EGCS/GCC cleanup, new entries for Cygwin
6413 1999-10-12 Petter Urkedal <petter@matfys.lth.se>
6415 * bits/std_cmath.h (abs(float)): When ::absf is not present, call
6416 ::fabs(double) rather than ::abs(int).
6418 1999-10-11 Benjamin Kosnik <bkoz@milou.cygnus.com>
6420 * bits/std_streambuf.h: Fix minor blip--should explicitly return
6421 *gptr(), not the result of underflow.
6422 (pbackfail): Conform to default behavior.
6424 * bits/streambuf.tcc: Add out-of-line streambuf members.
6427 * testsuite/27_io/streambuf.cc: New file.
6428 * testsuite/27_io/filebuf.cc: Correct test.
6430 1999-10-08 Benjamin Kosnik <bkoz@haight.constant.com>
6432 * bits/std_cmath.h: Correctly cast int to double.
6433 * testsuite/26_numerics/c_math.cc: Add test.
6435 * mknumeric_limits (OUT_C): Tweaks.
6436 * src/gen-num-limits.cc: Checks for WCHAR_MIN, WCHAR_MAX before
6437 trying to instantiate type_traits<wchar_t>.
6438 * acconfig.h: Add _GLIBCPP_HAS_WCHAR_MIN_MAX.
6439 * configure.in (LIBS): Plus checks for WCHAR_MIN, WCHAR_MAX.
6440 * configure: Regenerate.
6442 1999-10-06 Benjamin Kosnik <bkoz@milou.cygnus.com>
6444 * bits/streambuf.tcc (streambuf::xsgetn): Rewrite.
6445 (streambuf::xsputn): Put in break.
6446 Aiming for parity between these two (mostly) similar functions.
6447 Need to re-write tests.
6449 * bits/ios_base.h (ios_base::_M_copy_base): Remove declaration.
6450 Make data members protected, not private.
6451 * src/ios.cc (ios_base::_M_copy_base): Move _Callback_list into
6452 ios_base.h. As called only once, collapse into . . .
6453 * bits/basic_ios.h (basic_ios::copyfmt): Fix.
6454 (basic_ios::clear): Throw ios_base::failure on occasion.
6455 (basic_ios::exceptions): Fix.
6456 * testsuite/27_io/ios_members.cc (test02): Add tests.
6458 * bits/fpos.h: Default initialize.
6459 * testsuite/27_io/fpos.cc (test03): Add test.
6461 1999-10-04 Russell Davidson <russell@qed.econ.queensu.ca>
6463 * src/basic_file.cc: Fix open modes.
6465 1999-10-04 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6467 * bits/locale_facets.tcc (num_get<>::do_get): Fix typo.
6469 1999-09-23 Benjamin Kosnik <bkoz@milou.cygnus.com>
6471 * bits/streambuf.tcc: Yea. Fix this for real.
6472 * testsuite/27_io/ostream_inserter_other.cc: Add file.
6473 * src/Makefile.*: Regenerate.
6475 1999-09-22 Benjamin Kosnik <bkoz@milou.cygnus.com>
6477 * bits/std_cstdlib.h: Add more linux-specif hacks to the header
6478 files so that stdtof and strtold will be declared. Some hacks
6479 already exits in bits/std_cctype.h -- these should all be removed
6481 * bits/locale_facets.tcc: Add cstring.h include.
6482 _S_format_long: Use long, not int.
6483 Add std_limits.h include, for numeric_limits.
6484 * testsuite/27_io/istream.cc: Make instantiations work when using
6486 * testsuite/27_io/ostream.cc: Same.
6488 1999-09-21 Benjamin Kosnik <bkoz@milou.cygnus.com>
6490 * bits/fpos.h (fpos::operator streamoff): Make const, don't return
6491 a reference. Same for operators == and !=.
6492 * testsuite/27_io/fpos.cc: Add tests.
6494 1999-09-21 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6496 * bits/valarray_array.h: Fix typo.
6498 * mknumeric_limits: Make sure we are regenerating things from
6499 scratch. Otherwise things get redefined. Not good.
6501 1999-09-20 Benjamin Kosnik <bkoz@milou.cygnus.com>
6503 * bits/std_ostream.h: Fix typo.
6504 * bits/std_istream.h: Same.
6505 * bits/std_iomanip.h: Same.
6507 * bits/istream.tcc (sentry::sentry()): Remove optional tie with
6508 ostream, as happens with underflow anyway.
6509 * testsuite/27_io/istream.cc (main): New file.
6510 * testsuite/27_io/ostream.cc (main): New file.
6511 * testsuite/27_io/istream_unformatted.cc: Add tests.
6513 * src/Makefile.am (headers): Add new file.
6514 * src/Makefile.in (headers): Regenerated.
6516 * bits/basic_ios.h: Remove local-related files.
6517 * bits/basic_ios.tcc: New file, add locale-related items.
6518 * src/misc-inst.cc: Add include of basic_ios.tcc, as a hack for now.
6519 * testsuite/27_io/ios_members_static.cc: Change to
6520 * testsuite/27_io/ios_base_members_static.cc: This.
6521 * testsuite/27_io/ios_members.cc: New file.
6522 * testsuite/27_io/stdios_basefield_manip: Change to
6523 * testsuite/27_io/ios_manip_basefield.cc: This.
6524 * testsuite/27_io/stdios_fmtflags_manip: Change to
6525 * testsuite/27_io/ios_manip_fmtflags.cc: This.
6527 * bits/fpos.h: Fix discarding qualifiers on this when
6528 using _M_position with a const fpos.
6529 * bits/std_iosfwd.h: Tweak.
6530 * testsuite/27_io/fpos.cc: New file.
6532 1999-09-17 Benjamin Kosnik <bkoz@milou.cygnus.com>
6534 * bits/streambuf.tcc (streambuf::xsputn): Tweak.
6535 * bits/ostream.tcc: Tweak.
6536 * testsuite/21_strings/inserters_extractors.cc (test04, test05):
6537 Add new regressions.
6539 1999-09-16 Benjamin Kosnik <bkoz@milou.cygnus.com>
6541 * bits/basic_ios.h: Inline, tweak.
6542 * bits/fstream.tcc (basic_filebuf::_M_really_overflow): Tweak,
6543 pass back accurate return value to basic_filebuf::overflow.
6544 * bits/streambuf.tcc (streambuf::xsputn): Fix overflow accounting.
6545 This fixes sstream problems reported in libstdc++/9, but screws up
6546 filebufs. That solution is pending.
6548 1999-09-15 Vadim Egorov <egorovv@1c.ru>
6550 * bits/streambuf.tcc (basic_streambuf::xsputn): Add check for
6552 * testsuite/21_strings/inserters_extractors.cc (test01): Add test.
6554 1999-09-08 Benjamin Kosnik <bkoz@milou.cygnus.com>
6556 * bits/c++config.h.in: Add emacs hints.
6558 * stl/bits/stl_range_errors.h: Don't define here, for now define
6559 in stdexcept.cc along with string inlines __length_error, etc.
6560 * src/stdexcept.cc: Define here.
6561 * stl/bits/stl_config.h (__STL_CAN_THROW_RANGE_ERRORS): Enable, so
6562 at(size_t) will be declared/defined.
6563 (__STL_THREADS): Fix mess surrounding use of this, enable.
6565 1999-08-31 Benjamin Kosnik <bkoz@milou.cygnus.com>
6567 * testsuite/27_io/istream_extractor_arith.cc: Fix.
6568 * src/localename.cc: Tweak formatting, fix assignment to
6569 const compiler errors.
6571 1999-08-25 Benjamin Kosnik <bkoz@cygnus.com>
6573 * acconfig.h: Add absf, cosf.
6574 * configure.in (use_builtin_sinf): Same.
6575 * configure: Regenerate.
6576 * bits/std_cmath.h: Add mess of defines.
6577 * testsuite/26_numerics/modf_float.cc: Change to
6578 * testsuite/26_numerics/c_math.cc: This.
6580 * src/locale.cc: Change.
6581 * bits/locale_facets.h: Fix.
6582 * testsuite/22_locale/ctype.cc: Add temporary tests.
6584 1999-08-24 Benjamin Kosnik <bkoz@cygnus.com>
6586 * bits/fpos.h: Test.
6588 * docs/index.html: Add powerpc-linux-gnu results with gcc-2.95.1.
6589 Fix database name for "libstdc++".
6591 1999-08-23 Benjamin Kosnik <bkoz@cygnus.com>
6593 * mknumeric_limits (numeric_limits): Add default definitions to
6595 * testsuite/18_support/numeric_limits.cc: New file.
6597 1999-08-18 Benjamin Kosnik <bkoz@cygnus.com>
6599 * bits/std_istream.h: Correct initialization.
6600 * bits/std_ostream.h: Likewise.
6601 * bits/std_sstream.h: Likewise.
6602 * bits/std_fstream.h: Likewise.
6603 * testsuite/27_io/stringstream.cc: Add test case.
6605 * bits/std_sstream.h: Replace ____string_type with __string_type.
6606 * bits/basic_ios.h (basic_ios::rdbuf(sb*): Call clear(), as required.
6607 * bits/std_ostream.h: Tweak dtor.
6609 1999-08-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6611 * src/Makefile.am (CXXFLAGS): Add -O2.
6612 * src/Makefile.in: Likewise.
6614 * src/gen-num-limits.cc: Conditionally allow wchar_t. See what
6616 * mknumeric_limits (numeric_limits): Uglify.
6618 * bits/std_istream.h: Fix warnings.
6619 * bits/locale_facets.tcc: Collateral damage from
6620 char_traits<char>::int_type change.
6622 * testsuite/27_io/istream_extractor_char.cc: Terminate strings.
6624 1999-08-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6626 * docs/index.html: Add mailing list form.
6627 * docs/27_io/howto.html: Add link to iostreams_hierarchy.pdf.
6629 1999-08-16 Benjamin Kosnik <bkoz@cygnus.com>
6631 * bits/streambuf.tcc (streambuf::xsputn): Allow copies to continue
6632 if overflow successfully allocates more space.
6633 * bits/std_sstream.h: Adjust comments.
6634 * bits/sstream.tcc (stringbuf::overflow): Copy buffer into string
6635 before overflow forces a resize.
6636 * testsuite/27_io/ostream_inserter_char.cc: New file.
6638 * bits/std_fstream.h: Remove declaration.
6639 * bits/fstream.tcc: Move uflow.
6640 * bits/std_streambuf.h: To here.
6641 * bits/streambuf.tcc: Make consistent.
6643 * src/Makefile.am (WERROR): Enable.
6644 * src/Makefile.in: Regenerate.
6645 * bits/sbuf_iter.h: Tweak.
6646 * bits/char_traits.h: (char_traits<wchar_t>::eof): Use WEOF.
6647 Use unsigned int as char_traits<char>::int_type.
6649 * bits/ostream.tcc (ostream::putc(char)): Tweak.
6650 * testsuite/27_io/iostream_objects.cc: Terminate string.
6651 Move cin::operator>>(char*) test to extractor_char.cc.
6652 * testsuite/27_io/stringstream.cc: Add stringstream instantiation.
6653 * bits/std_istream.h (basic_iostream): Make explicit definition
6655 * bits/std_sstream.h: Fix typos.
6656 * bits/fstream.tcc (_M_init_filebuf): Set to indeterminate for
6657 basic_filebuf ctor with fileno open arguments. Thus, filebufs are
6658 initialized in a consistent manner, no matter if the underlying
6659 FILE/bit bucket is a tty or a text file or some other imaginary
6660 construct. This and setting _M_buf_size to 1 for cin allows
6661 istream::get(char) to work in a manner consistent with what others
6664 * docs/index.html: Link Stroustrup's C++ page.
6666 1999-08-12 Michael Cook <cook@sightpath.com>
6668 * bits/fstream.tcc: Fix signed/unsigned -Wall warning.
6669 * bits/istream.tcc: ditto.
6670 * bits/sbuf_iter.h: ditto.
6671 * bits/std_istream.h: ditto.
6672 * src/Makefile.am: Add -Wall to CXXFLAGS.
6673 * src/Makefile.in: ditto.
6675 1999-08-12 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6676 Russell Davidson <russell@ehess.cnrs-mrs.fr>
6678 * bits/locale_facets.tcc (_M_extract): Finish off patch from yesterday.
6679 * src/Makefile.am (myinstallheaders): Tweak, remove PHONY.
6681 1999-08-11 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6683 * testsuite/27_io/istream_unformatted.cc: New file.
6685 * testsuite/27_io/istream_extractor_arith.cc (test02): Add more
6686 elaborate tests for int types with noskipws.
6688 * testsuite/27_io/istream_extractor_other-1.txt: New file.
6689 * testsuite/27_io/istream_extractor_other-1.tst: New file.
6690 * testsuite/27_io/istream_extractor_other-2.tst: New file.
6691 * testsuite/27_io/istream_extractor_other.cc: Add tests.
6692 * bits/istream.tcc: Fix operator>>(streambuf*).
6694 * testsuite/23_containers/vector_ctor.cc (test01): Add.
6696 * docs/index.html: Remove references to egcs.
6697 * docs/17_intro/DESIGN: Same.
6698 * docs/17_intro/contribute.html: Same.
6699 * docs/17_intro/RELEASE-NOTES: Ditto.
6700 * docs/17_intro/howto.html: Same here.
6702 Russell Davidson <russell@ehess.cnrs-mrs.fr>
6703 * stl/bits/stl_vector.h (_M_insert_aux):
6704 * bits/locale_facets.tcc (_M_extract): Tweaks for preliminary
6705 decimal/floating point support.
6706 * bits/locale_facets.h: Change _M_extract prototype.
6707 * bits/char_traits.h (char_traits::to_int_type): Cast to unsigned.
6708 * bits/std_istream.h (istream::read(char_type, streamsize)): Fix.
6710 1999-08-10 Michael Cook <cook@sightpath.com>
6712 * bits/fstream.tcc: Fix for unused variable warning (-Wall).
6713 * bits/ios_base.h: ditto.
6714 * bits/istream.tcc: ditto.
6715 * bits/locale_facets.h: ditto.
6716 * bits/locale_facets.tcc: ditto.
6717 * bits/std_streambuf.h: ditto.
6718 * src/basic_file.cc: ditto.
6719 * src/locale.cc: ditto.
6720 * src/localename.cc: ditto.
6722 1999-08-10 Kirat Singh <singhki@jany.gs.com>
6724 * bits/std_iomanip.h: Inline.
6726 1999-08-10 Alfred Minarik <a8601248@unet.univie.ac.at>
6728 * bits/std_streambuf.h: Correct member initialization order.
6729 * src/ios.cc: Add definitions for ios_base data members.
6731 1999-08-06 Phil Edwards <pedwards@ball.com>
6733 * docs/index.html: Seventh snapshot updates. Minor tweaks.
6734 * docs/faq/index.html: Ditto. Removed bugs sections that have
6735 been fixed for a long time... Lots of "egcs" references still
6737 * docs/faq/index.txt: Regenerated.
6739 1999-08-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6740 Andreas Amann <amann@physik.tu-berlin.de>
6742 * testsuite/26_numerics/binary_closure.cc (main): new test.
6744 1999-07-29 Andreas Amann <amann@physik.tu-berlin.de>
6746 * bits/valarray_meta.h: (_BinClos<>::_Binclos): fix typo causing
6749 1999-08-04 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6751 * docs/index.html (host): Put in testing status.
6753 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
6755 * docs/index.html: Update for libstdc++-2.90.6 release.
6756 * docs/17_intro/RELEASE-NOTES (New): Update.
6757 * docs/17_intro/BUGS: Update.
6758 * bits/c++config.h.in (__GLIBCPP__): Bump version number.
6759 * README (file): Update.
6761 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
6763 * src/Makefile.am (generated_headers): Remove bits/c++config.h as
6765 ($(generated_headers)): Same.
6766 * src/gen-c++config.cc: Remove, rename to
6767 * bits/c++config.h.in: New file. Bump version number.
6768 * configure.in: Generate bits/c++config.h at configure time.
6769 * math/mathconf.h: include bits/c++config.h, not config.h.
6771 * bits/std_cmath.h: Fix remaining link error for solaris shared
6772 builds. _GLIBCPP_HAS_BUILTIN_SINF has to be disabled for the time
6773 being, as on Solaris this silently calls sinf, which does not
6776 * src/complex.cc: More tweaks.
6778 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
6780 * src/complex.cc: Same.
6781 * math/complex-stub.h: Change.
6782 * math/c_log10*.c: Change back to clog10*.c.
6784 * configure.in (NEED_C_LOG10): Delete.
6785 * configure: Regenerate.
6786 * math/Makefile.am: Change.
6788 1999-07-30 Benjamin Kosnik <bkoz@cygnus.com>
6790 * math/Makefile.am: Fix, for real.
6791 * configure.in (use_builtin_sinf): Ok, make autoconf solution.
6792 * math/clog.c: Move to c_log.c.
6793 * math/clog*: Ditto.
6794 * math/c_log10l.c (c_log10l): Change function name.
6795 * math/c_log10f.c (c_log10f): Change function name.
6796 * math/c_log10.c (c_log10): Change function name.
6798 * math/complex-stub.h: Change to c_log* variants.
6799 * src/complex.cc: And here.
6801 1999-07-29 Benjamin Kosnik <bkoz@cygnus.com>
6803 * testsuite/27_io/istream_extractor_other.cc: Correct last test.
6804 * bits/sstream.tcc (stringbuf::overflow): Don't update the input
6805 sequence, just the output sequence.
6806 * bits/std_sstream.h (stringbuf::str()): Only in stringbufs return
6807 the original string, all others use complicated heuristic.
6809 * src/complex.cc: Assume c_log10.
6810 * math/Makefile.am (EXTRA_yes): Fix c_log/c_logf unresolved
6811 symbols in shared libraries by making c_log/c_log10 part of the
6812 "must cmpile" sources. This may not work on solaris, must check.
6814 1999-07-29 Benjamin Kosnik <bkoz@cygnus.com>
6816 * bits/istream.tcc (operator>>(streambuf*)): Re-do.
6817 * bits/std_istream.h: Fix char extractors.
6818 * testsuite/27_io/istream_extractor_char.cc: Change.
6819 * testsuite/27_io/istream_extractor_other.cc: Add tests.
6821 1999-07-28 Benjamin Kosnik <bkoz@cygnus.com>
6823 * bits/std_cctype.h: Fix for solaris2.6 builds.
6825 * bits/istream.tcc: Fix, thanks Alfred.
6826 * bits/std_istream.h: Formatting changes.
6828 * libio/Makefile.am (libio_la_SOURCES): Remove cleanup.c, so that
6829 _IO_cleanup will not be undefined.
6830 * libio/*: Regenerate.
6832 * bits/basic_string.h: More namespace-safety stuff.
6833 * testsuite/27_io/istream_extractor_char.cc: Fix.
6834 * testsuite/27_io/istream_extractor_arith.cc: Fix.
6835 * testsuite/27_io/iostream_objects.cc: Fix.
6836 * testsuite/27_io/ios_ctor.cc: Fix.
6837 * testsuite/27_io/istream_manip.cc: Make namespace safe.
6838 * testsuite/27_io/istream_extractor_other.cc: New file.
6840 * mkcheck (TESTS_FILE): Tweaks.
6842 1999-07-27 Benjamin Kosnik <bkoz@cygnus.com>
6844 * src/gen-c++config.cc: Note here, change version.
6845 * acconfig.h( _GLIBCPP_USE_CTYPE_ISBIT): New macro.
6846 * src/locale.cc: Used here.
6847 * configure.in (use_builtin_sinf): Check for _ISBit using autoconf.
6849 * aclocal.m4: Regenerate by running `aclocal -I m4.`
6851 * bits/istream.tcc: Fix.
6852 * bits/std_istream.h: More changes to extractors.
6854 * testsuite/27_io/istream_extractor_char.cc: More.
6855 * testsuite/21_strings/inserters_extractors.cc (test01): Fix logic
6856 error in testsuite construction.
6858 * bits/std_istream.h: Partially revert.
6859 * bits/std_ostream.h: Same.
6860 * bits/std_sstream.h: Revert.
6862 1999-07-26 Benjamin Kosnik <bkoz@cygnus.com>
6864 * bits/std_sstream.h: Change initialization.
6865 * bits/std_ostream.h: Make default ctor/assign/operator= private.
6866 * bits/std_istream.h: Same, also correct sentry args.
6867 * bits/istream.tcc: Add correct sentry args.
6869 * testsuite/27_io/istream_extractor_char.cc: New file.
6870 * testsuite/27_io/istream_extractor_arith.cc: New file, old file,
6871 name changes making me dizzy.
6873 1999-07-26 Ulrich Drepper <drepper@happy.cygnus.com>
6874 Benjamin Kosnik <bkoz@cygnus.com>
6876 * aclocal.m4, config.guess, config.sub, ltconfig ltmain.sh: Update
6879 1999-07-26 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6881 * bits/std_complex.h: Tweak. Make the primary template class
6882 complex work with user-defined numerical types. Provide member
6883 definitions. Restructure.
6884 (class complex<float>): Uglify. Remove __value(). Rename __val
6885 to _M_value. Rename __complex_value_type to _ComplexT. Make it
6886 private. Remove dependency on __value(). Fix various explicit
6887 specialization syntax. Declare a some functions friend. Now the
6888 implementation is nearly comforming.
6889 (class complex<double>): Likewise.
6890 (class complex<long double>): Likewise.
6892 * src/complex.cc: Tweak. Remove dependency on complex::__value().
6893 (sin, sinh, tan, than): Fix call to corresponding C9x function
6896 1999-07-24 Benjamin Kosnik <bkoz@fidel.cygnus.com>
6898 * bits/istream.tcc (ws): Fix error with failbit being set.
6900 Disabled due to egcs/gcc-2_95 internal compiler errors.
6901 * src/Makefile.am (CXXFLAGS): Add -fsquangle -fhonor-std
6902 -fnew-exceptions. Compiling with namespaces enabled will now be
6904 * mkcheck (CXX_FLAG): Same.
6905 * src/gen-c++config.cc (_GLIBCPP_USE_NAMESPACES): Yup. New macro.
6906 * bits/std_cctype.h: Not enough to just define in namespace std if
6907 ctype-isms are macros. Need to also define in namespace std:: if
6908 the C functions are just plain functions.
6910 * src/gen-num-limits.cc: Fix spelling inconsistencies.
6912 1999-07-24 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6914 * docs/18_support/howto.html: Start documentation. Need to keep
6915 track of the ongoing discussion in th LWG reflector.
6917 * src/gen-num-limits.cc: Tweak.
6918 (class predicate): New class.
6919 (class value): Likewise.
6920 Make the whole machinery more flexible. Add comments.
6922 1999-07-23 Benjamin Kosnik <bkoz@fidel.cygnus.com>
6924 * bits/ios_base.h: Move state/exception functions into basic_ios.
6925 * bits/basic_ios.h: Same.
6926 * src/ios.cc: And here. Callbacks don't attempt to reset
6929 * bits/std_streambuf.h: Separate ios and streambuf locale data
6930 members and cached facets. Using this convention: _M_locale_buf for
6931 the streambuf-related classes, and _M_locale_ios for the ios
6933 * bits/fstream.tcc: And here.
6934 * bits/basic_ios.h: And here. Also, add cached ctype.
6935 * src/ios.cc: Ditto.
6936 * bits/ios_base.h: Ditto.
6937 * bits/std_istream.h: Use cached ctype facet.
6938 * docs/27_io/iostreams_hierarchy.pdf: Update for new data member
6941 * testsuite/27_io/ios_ctor.cc: New file.
6942 * src/ios.cc: Move _M_state init to basic_ios::init().
6943 * bits/basic_ios.h: To here.
6945 Attempt for some consistency in naming for testsuite/27_io/*.cc.
6946 * testsuite/27_io/boolfmt.cc: Rename to stdios_fmtflags_manip.cc
6947 * testsuite/27_io/octfmt.cc: Rename to stdios_basefield_manip.cc
6948 * testsuite/27_io/istream_manip.cc: Rename to istringstream_manip.cc.
6949 * testsuite/27_io/ostream_manip.cc: Rename to ostringstream_manip.cc.
6951 1999-07-22 Benjamin Kosnik <bkoz@fidel.cygnus.com>
6953 * src/ios.cc: Tweak initializations of standard iostream
6954 objects to closely match the standard. Tie cin/wcin, set flags on
6956 * bits/char_traits.h: Change from size_t to int_type, as per
6957 standard. As per wide streams.
6958 * bits/basic_ios.h: Infect with __ctype_type, as a preparation
6959 for caching a bunch of ctype info. For instance, ctype_base::space
6960 info needs to be stored somewhere, somehow.
6961 * bits/std_istream.h: Also here.
6962 * bits/std_ostream.h: Ditto.
6963 * bits/std_istream.h (operator>>(istream, char): Aggh. Fixup.
6964 * testsuite/27_io/iostream_objects.cacc (test01): Oh yeah. Fix
6967 * bits/istream.tcc (ws): Fix.
6968 * testsuite/27_io/istream_manip.cc: New file, test ws.
6969 * testsuite/27_io/ostream_manip.cc: New file, test endl, ends, flush.
6971 * bits/basic_string.h: Provide a specialized member function for
6972 _S_find<char> using strchr.
6973 * src/string-inst.cc: Put specializations here.
6974 * bits/string.tcc: Small fix for find, remove typo.
6975 * testsuite/21_strings/find.cc (test01): Add tests to catch this
6978 1999-07-20 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6980 * bits/basic_ios.h: Put into basic_ios namespace.
6983 1999-07-19 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6985 * bits/std_sstream.h (stringbuf::sync): Change to _M_really_sync,
6986 adjust _M_*_cur pointers inside the function, so callee doesn't
6988 * bits/sstream.tcc (stringbuf::overflow): Tweak.
6990 * mkcheck: Tweak. Add execution time field, even though it is not
6991 implemented yet. Simplify pass/fail status notation.
6993 1999-07-18 Mumit Khan <khan@xraylith.wisc.edu>
6995 * configure.in: Check for float.h and underscored version of
6997 * acconfig.h: Add @BOTTOM@ section for handling underscored
6999 * configure: Regenerate.
7000 * config.h.in: Regenerate.
7001 * math/mathconf.h (float.h): Include conditionally.
7002 (M_PI): Define conditionally.
7003 (INFINITE_P): Define for Mingw.
7004 * bits/locale_facets.tcc: Workaround for compiler crash on
7006 * bits/std_cwchar.h (bits/std_cstddef.h): Include.
7007 * src/locale.cc (bits/std_istream.h): Include.
7008 (bits/std_ostream.h): Likewise.
7010 1999-07-18 Phil Edwards <pedwards@ball.com>
7012 * docs/faq/index.html: Updated __black_count notes, fixed typos.
7013 * docs/faq/index.txt: Regenerated.
7015 1999-07-15 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
7017 * testsuite/27_io/stringbuf.cc: Cccchanges, latent bugs.
7019 * bits/sstream.tcc (stringbuf::overflow): Modify accounting of
7020 newly-allocated buffer.
7021 * bits/streambuf.tcc (streambuf::xsgetn): Aaaaaah. Fix final
7022 overflow condition bits.
7024 1999-07-14 Benjamin Kosnik <bkoz@cygnus.com>
7026 * bits/std_sstream.h (stringbuf::_M_init_stringbuf): Set
7027 _M_buf_size to initial _M_string.size(), even though for
7028 ostringstreams it is pretty pointless. It's necessary for
7030 (stringbuf::str()): Adjust.
7031 (stringbuf::str()): Adjust, call _M_init_stringbuf.
7032 * bits/streambuf.tcc (streambuf::xsgetn): Adjust return value for
7033 overflow's possible success.
7034 (streambuf::xsputn): Adjust.
7036 * testsuite/27_io/filebuf.cc: Adjust for the xsgetn re-write from
7038 * testsuite/27_io/stringbuf.cc: Tweak.
7039 * testsuite/21_strings/inserters_extractors.cc (test01): Remove
7041 * testsuite/23_containers/vector_cons.cc: Rename to be consistent
7042 with other constructor tests to. . .
7043 * testsuite/23_containers/vector_ctor.cc: New file.
7045 1999-07-14 Alfred Minarik <a8601248@unet.univie.ac.at>
7047 * testsuite/*: Changes to make the testsuit compilable with
7048 -fhonor-std. Contains direct qualification of library names with
7051 1999-07-13 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
7053 * bits/streambuf.tcc: Tweaks.
7054 (streambuf::xsputn): Optimize, fix for sstreams.
7055 (streambuf::xsgetn): Same.
7056 * bits/sstream.tcc (stringbuf::overflow): Adjust _M_buf_size
7057 correctly, handle overflow/reallocate conditions correctly.
7058 * bits/std_sstream.h: Fix typo.
7059 _M_init_stringbuf(): Fix _M_buf_size initialization.
7060 (stringbuf::str()): Construct return string if output has occurred.
7062 * bits/basic_string.h: Fix typo from yesterday's patch.
7064 1999-07-12 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7066 * bits/string.tcc: _M_mutate - clear _M_state again.
7067 * bits/basic_string.h: In the three functions that return
7068 an iterator set _M_state to -1 before return.
7069 Also optimized two cases of operator+.
7071 1999-07-12 Phil Edwards <pedwards@ball.com>
7073 * docs/index.html: Expand egcs-1.1.2 notes/links.
7074 * docs/faq/index.html: And here. Add links to LWG issues-list.
7075 * docs/faq/index.txt: Regenerate. (lynx rocks)
7076 * docs/21_strings/howto.html: Fix notes on case conversion.
7077 * docs/21_strings/stringtok_h.txt: Goodly spelling...
7078 * docs/23_containers/howto.html: Stub for bitmasks.
7079 * docs/27_io/howto.html: Add section on buffering, stub binary.
7081 1999-07-12 Nathan Myers <ncm@cantrip.org>
7083 * stl/bits/stl_tree.h (__black_count): Optimize.
7085 1999-07-09 Vadim Egorov <egorovv@1c.ru>
7087 * src/basic_file.cc: Cleanup in __basic_file destructor.
7089 1999-07-08 Benjamin Kosnik <bkoz@cygnus.com>
7091 * bits/std_streambuf.h: Changes. . .
7092 * bits/streambuf.tcc: Merge xsputn from filebuf into xsputn in
7093 basic_streambuf, to be used for both filebufs and streambufs.
7094 * bits/std_fstream.h (_M_init_filebuf): New function.
7095 Take out specialized xsputn, put into basic_streambuf.
7096 * bits/fstream.tcc: Define, call from both ctors.
7097 * bits/std_sstream.h (_M_init_stringbuf): New function.
7098 * bits/sstream.tcc: Tweak.
7100 * docs/27_io/iostreams_heirarchy.pdf: New file.
7102 * docs/17_intro/CHECKLIST (basic_string<char>): Validation and
7103 acceptance. Wooo-hoo!
7105 * bits/char_traits.h: Change int_type for char_traits general
7106 template, so that 21_strings/capacity.cc will compile.
7107 * testsuite/21_strings/capacity.cc: Add operators.
7109 * bits/string.tcc (string::compare): Clean up, re-implement.
7110 * testsuite/21_strings/compare.cc: Tweak.
7112 * bits/string.tcc (string:_M_mutate): Keep leaked value in
7113 _M_state, which means that whenever begin() or end() has been
7114 called, the string is unshareable, period. By doing this, insert
7115 and erase member functions that return iterators can remain
7116 footloose and fancy free.
7117 * testsuite/21_strings/invariants.cc: Update.
7119 * bits/basic_string.h (string::append): Fix self-referential
7120 problems, ie when "this" is also an argument to a member function.
7121 * bits/string.tcc: Tweak, same.
7122 * testsuite/21_strings/append.cc: New file.
7124 1999-07-07 Benjamin Kosnik <bkoz@cygnus.com>
7126 * bits/char_traits.h: Tweaks.
7127 * bits/basic_string.h: Tweak.
7128 * bits/fstream.tcc: Remove warning for _M_buf_size assignment.
7130 1999-07-06 Benjamin Kosnik <bkoz@cygnus.com>
7132 * bits/std_streambuf.h: Absorb/acquire data members previously
7133 working in basic_filebuf.
7134 * bits/streambuf.tcc: Tweaks.
7135 * bits/fstream.tcc: Adjust.
7136 * bits/std_fstream.h: Move and rename the following functions:
7137 _M_set_ideterminate, _M_is_indeterminate, _M_set_determinate are
7138 now declared and defined in the base class, basic_streambuf. Oh
7139 fuck it, move data members _M_buf, and _M_buf_size into
7140 basic_streambuf as well.
7142 * bits/ostream.tcc: Tweak.
7143 * bits/locale_facets.tcc: Fix typo in comments.
7145 * testsuite/21_strings/inserters_extractors.cc (test01): Change
7146 state from good to not good, as eof() is set.
7148 1999-07-05 Benjamin Kosnik <bkoz@cygnus.com>
7150 * bits/char_traits.h (char_traits::compare). Fix.
7152 * config.guess, config.sub: Update.
7154 1999-07-02 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7156 * bits/string.tcc: Check the __res_arg for a length error.
7158 1999-07-01 Benjamin Kosnik <bkoz@nabi.net>
7160 * bits/std_streambuf.h: Tweaks. Need to move _M_is_indeterminate
7161 and related functions into basic_streambuf, from basic_filebuf to
7162 take care of ostringstreams and empty strings. So that's groovy,
7164 * bits/std_istream.h: Tweaks.
7165 * bits/istream.tcc: Implement ws, getline, operator>> for string.
7166 * bits/std_ostream.h: And here.
7167 * bits/ostream.tcc: Same.
7168 * src/misc-inst.cc: Add instantiations for ws.
7170 * src/string-inst.cc: Add instantiations for inserters and
7171 extractors (operators << and >>, getline).
7173 * testsuite/21_strings/inserters_extractors.cc: Amazingly enough,
7174 a testcase for getline and operators << and >>. Ostream tests are
7175 failing right now, but istream tests should work. . .
7177 * bits/string.tcc: Change _S_max_size, as GNU malloc won't budge.
7178 * bits/std_sstream.h: Revert.
7180 * testsuite/17_intro: header_[iosfwd, ios, iostream, iomanip,
7181 istream, ostream, streambuf, fstream, sstream].cc: New files.
7183 1999-06-30 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7185 * bits/std_sstream.h (stringbuf::sync): Don't use string::begin()
7188 * bits/basic_string.h (basic_string<>::_S_copy_chars): Add
7189 specializations for _CharT*, iterator and const_iterator.
7190 * src/string-inst.cc: Remove explicit instantiation, as
7191 now explicitly specialized.
7193 * bits/basic_string.h: Add a size_type parameter to _M_clone with
7194 a default value set to 0.
7195 * bits/string.tcc: In _M_clone by the call of _S_create add the
7196 value of the new parameter to _M_length. In reserve check
7197 _M_state and use _M_clone instead of _M_mutate.
7199 1999-06-30 Benjamin Kosnik <bkoz@happy.cygnus.com>
7201 * bits/basic_string.h: Fix _S_max_size.
7202 * bits/string.tcc: Add def here.
7203 * testsuite/21_strings/insert.cc: Fix.
7205 * bits/sbuf_iter.h: Remove detritus.
7206 * testsuite/24_iterators/istreambuf_iterator.cc: Add tests.
7208 * src/locale-inst.cc: Elaborate iterator/locale instantiations
7209 to resolve alpha-osf4 build problems.
7211 1999-06-29 Benjamin Kosnik <bkoz@happy.cygnus.com>
7213 * bits/string.tcc: Fix signed/unsigned issues in compares.
7214 * stl/bits/stl_deque.h: And here.
7215 * stl/bits/stl_string_fwd.h: Remove __get_c_string.
7217 1999-06-29 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7219 * bits/string.tcc: New implementation and interface of _M_mutate.
7220 Adapt the change in all functions that call _M_mutate.
7221 * bits/basic_string.h: And here.
7223 1999-06-29 Benjamin Kosnik <bkoz@happy.cygnus.com>
7225 * testsuite/21_strings/capacity.cc (test01): Fix.
7227 1999-06-29 Phil Edwards <pedwards@ball.com>
7229 * mknumeric_limits: Exit script if gen-num-limits isn't built.
7231 1999-06-29 Andreas Gruenbacher <agruenba@pent224.infosys.tuwien.ac.at>
7233 * stl/bits/stl_vector.h: Fix.
7234 * testsuite/23_containers/vector_cons.cc: Add.
7236 1999-06-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7238 * mknumeric_limits (LDFLAGS): fix.
7240 1999-06-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7242 * mknumeric_limits (LDFLAGS): set it according to the system.
7244 * math/mathconf.h (NAN): Check whether host is running under
7245 Cygwin and make the appropriate definition.
7246 * math/complex-stub.h (nan): protect declaration.
7248 1999-06-28 Benjamin Kosnik <bkoz@haight.constant.com>
7250 * bits/sbuf_iter.h: Rename internal data structure to prevent
7251 confusion between basic_ios and istreambuf_iterators internal
7252 basic_streambuf data member.
7253 * testsuite/24_iterators/istreambuf_iterator.cc: New file.
7255 * bits/basic_string.h: Remove conditionals, add input_iterator
7256 version of S_construct again.
7257 * bits/string.tcc: Same.
7258 * src/string-inst.cc: And add explicit instantiation here.
7260 * src/gen-c++config.cc (_GNU_SOURCE): Take out both _GNU_SOURCE
7261 and __USE_GNU macro defines, as single __USE_GNU use leading to
7262 confusion on glibc2.1 systems (ie, RedHat 6.0).
7264 * src/Makefile.am (headers): Add std_utility to installed headers.
7266 1999-06-25 John Potter <jpotter@eagle.lhup.edu>
7268 * stl/bits/stl_tree.h (insert_unique): Revert, just fix insert_equal.
7270 1999-06-25 Gilles Zunino <Gilles.Zunino@hei.fr>
7272 * mknumeric_limits (LDFLAGS): Swap -lc and -lgcc.
7274 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7276 * src/gen-c++config.cc (_GLIBCPP_*): Change all
7277 macros to include _GLIBCPP as a distinct namespace.
7281 * stl/bits/std_stdexcept.h: Forward-declare __Named_exception ctor.
7282 * bits/basic_string.h: Remove __get_c_string.
7283 * src/stdexcept.cc: Define ctor here.
7284 * bits/ios_base.h: And fix ios_base::failure as well.
7285 * src/ios.cc: Define here.
7287 * bits/std_streambuf.h: Add a private copy ctor and assignment
7288 operator wrapped in _G_RESOLVE_LIB_DEFECTS.
7289 * bits/ios_base.h: And here too.
7291 * bits/basic_string.h: Tweak.
7292 * testsuite/21_strings/nonmember.cc: Add operator+ tests.
7294 * src/valarray.cc: Rename to. . .
7295 * src/valarray-inst.cc: This.
7296 * src/Makefile.am (sources): Change here.
7297 * src/Makefile.in: Regenerated.
7299 1999-06-24 Vadim Egorov <egorovv@1c.ru>
7301 * bits/string.tcc(basic_string<>::_Rep::_S_create): Fixed
7304 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7305 Tom Tromey <tromey@cygnus.com>
7307 * configure.in (use_glibc2): Eek, correct for non-glibc systems.
7308 Use AM_CONDITIONAL to get us out of this jam. .
7309 * libio/Makefile.am: Same.
7310 * */Makefile: Regenerated.
7312 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7313 John Potter <jpotter@eagle.lhup.edu>
7315 * stl/bits/stl_tree.h (insert_equal): Fix.
7316 * testsuite/23_containers/multiset.cc: New file.
7318 1999-06-23 Benjamin Kosnik <bkoz@cygnus.com>
7320 * configure.in (test for glibc2): Correct AC_TRY_COMPILE so that
7321 this works correctly on glibc-2 systems. This should allow
7322 simplified linking on these systems, and successful linking on Red
7324 * configure, Makefile: Regenerate.
7326 * bits/std_cwctype.h: Add missing 'w' to _S_iswpunct_helper name.
7328 * testsuite/ext: New directory.
7329 * testsuite/ext/headers.cc: New file.
7331 1999-06-23 Vadim Egorov <egorovv@1c.ru>
7333 * stl/ext/hash_set: include missing headers
7334 * stl/ext/hash_map: Same
7335 * stl/ext/slist: Same
7337 1999-06-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7339 * bits/std_cmath.h: comment out modf. Kills build on hpux10.20
7341 1999-06-15 Benjamin Kosnik <bkoz@cygnus.com>
7343 * src/Makefile.am (sources): Regenerate.
7344 * mkcheck: Add TESTS_FILE as a way of controlling what testcases
7347 1999-06-14 Benjamin Kosnik <bkoz@cygnus.com>
7349 * src/string-inst.cc: Change _S_construct signature, to
7350 track requested allocation size versus valid input iterator range.
7351 * bits/basic_string.h: Here too.
7352 * bits/string.tcc: And here.
7354 1999-06-12 Benjamin Kosnik <bkoz@cygnus.com>
7356 * mkcheck (LOG_FILE): Correctly append errors.
7358 * stl/bits/stl_iterator.h: Revert previous, delirious, change.
7360 * bits/basic_string.h: Change _Rep::_M_data to _Rep::_M_refdata,
7361 to clarify differences between basic_string::_M_data() calls and
7362 _Rep::_M_data() calls.
7363 * bits/std_string.h: Fix.
7364 Put in check for out_of_range in substr.
7365 * bits/string.tcc: Fix for _S_find.
7367 * testsuite/21_strings/compare.cc: Add tests.
7368 * testsuite/21_strings/find.cc: New file.
7369 * testsuite/21_strings/substr: New file.
7370 * testsuite/21_strings/replace.cc: New file.
7372 1999-06-11 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7374 * bits/valarray_array.h: __restrict__ify pointers.
7376 * bits/std_valarray.h: Tweak.
7377 (valarray<T>::cshift, valarray<T>::shift): use __builtin_alloca.
7379 * bits/gslice_array.h: Tweak. Reflect changes in bits/gslice.h
7381 * bits/gslice.h: Tweak.
7382 (class gslice::_Indexer): new class.
7383 (gslice::gslice(const gslice&)): implement copy-ctor to support
7385 (gslice::operator=(const gslice&)): support ref-counted index.
7386 (gslice::_M_convert_to_index): delete.
7388 * src/valarray.cc: New file.
7389 (__gslice_to_index): turn a gslice into a valarray<size_t>
7390 (ctor gslice::_Indexer::_Indexer): implement.
7392 * src/Makefile.am (sources): add valarray.cc
7393 * src/Makefile.in: regenerate.
7395 1999-06-08 Benjamin Kosnik <bkoz@cygnus.com>
7397 * stl/bits/stl_iterator.h (__normal_iterator::const_iterator
7398 ctor): Put in a const_cast.
7400 * testsuite/21_strings/invariants.cc: New file.
7402 * testsuite/21_strings/insert.cc: Add exception handling bits.
7403 * testsuite/21_strings/ctor_copy_dtor.cc: Same.
7405 * src/wstring-inst.cc: Add c++config.h include.
7407 * bits/basic_string.h: Fix const operator[] for size == pos.
7408 Add _M_leak for rbegin, non-const.
7409 Add _M_leak for rend, non-const.
7410 Make member function at standards conformant.
7411 Add _S_terminal to _Rep for operator[] const, add this into
7413 * bits/string.tcc: Add static member definition here,
7416 * testsuite/21_strings/element_access.cc: Add tests.
7418 1999-06-08 Vadim Egorov <egorovv@1c.ru>
7420 * bits/fstream.tcc (_M_really_overflow): Fixed size of
7423 1999-06-08 Phil Edwards <pedwards@ball.com>
7425 * bits/fstream.tcc (basic_filebuf::xsputn): Fix off-by-one count
7426 caused when __testinit is true.
7427 * bits/ostream.tcc (basic_ostream::op<<(streambuf*)): Write buffer
7428 using rdbuf()->sputn rather than _M_fnumput->put.
7430 1999-06-08 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7432 * testsuite/23_containers/bitset_ctor.cc: New file.
7433 * stl/bits/std_bitset.h (__BITSET_WORDS): Fix integration bug.
7435 1999-06-08 Phil Edwards <pedwards@ball.com>
7437 * bits/fstream.tcc (basic_filebuf::underflow): Fix, rename local vars.
7439 1999-06-07 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7441 * testsuite/21_strings/element_access.cc: Finish off these tests.
7442 * testsuite/21_strings/insert.cc (test01): Uncomment.
7443 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Finish off ctors.
7444 * bits/basic_string.h: Tweak, okay, fix for real this time.
7445 * bits/string.tcc: Same.
7446 * bits/char_traits.h: Tweak.
7448 1999-06-07 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7450 * bits/std_cmath.h: Example of how to use the generated macro.
7451 * acconfig.h: Add macro for sinf here.
7452 * configure.in (LIBS): Add test for builtin math function sinf.
7453 * configure: Regenerated.
7455 * bits/basic_string.h: Fix _S_max_size.
7457 1999-06-06 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7459 * bits/basic_string.h: Fixes for out-of-memory segv for large strings.
7460 Remove _S_construct signature for forward_iterator_tag and
7463 * src/string-inst.cc: Same, tweaks.
7464 * bits/string.tcc: Same, tweaks.
7466 * testsuite/21_strings/ctor_copy_dtor.cc: Add/clarify tests.
7467 * mkcheck (LOG_FILE): Fix filebuf-[2,3].tst checks.
7468 * mknumeric_limits (LD_FLAGS): Add -nodefaultlibs -lc -lgcc as per
7471 * src/locale.cc: Final separation for char/wchar_t bits.
7473 1999-06-05 Phil Edwards <pedwards@ball.com>
7475 * docs/index.html: Added link to book upon request'n'agreement.
7476 * docs/23_containers/wrappers_h.txt: Added.
7477 * docs/{23_containers,27_io}/howto.html: Added sections.
7479 * bits/std_fstream.h: Tweak.
7481 1999-06-05 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7483 * src/ios.cc: Same here.
7484 * bits/std_iosfwd.h: More wchar_t defines.
7486 * bits/basic_string.h: Tweaks.
7487 * bits/string.tcc: Tweak. Fix _S_construct to check for max_size
7488 when doing error checking, as per LWG defect #83.
7490 * src/gen-c++config.cc: Fix comment.
7492 * testsuite/21_strings/ctor_copy_dtor.cc: New file, checks ctors,
7494 * testsuite/21_strings/element_access.cc: New file, checks for
7495 operator[], at(...).
7496 * testsuite/21_strings/insert.cc: New file, tests string::insert.
7497 * testsuite/21_strings/char_traits.cc: New file, tests
7498 for char_traits<char>.
7500 * bits/utility.h: Remove, again.
7501 * src/Makefile.am (std_headers): Remove utility.h.
7502 * src/Makefile.in (std_headers): Regenerate.
7504 Alfred Minarik <a8601248@unet.univie.ac.at>
7505 * bits/basic_string.h: Move __out_of_range and __length_error into
7508 1999-06-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7510 * testsuite/26_numerics/modf_float.cc: New file.
7512 * bits/std_cmath.h (modf(float, float*)): Fix signature. Correct
7513 typo: use ::modff, not ::modf.
7515 1999-06-03 Vadim Egorov <egorovv@1c.ru>
7517 * bits/string.tcc (basic_string::_M_mutate): Fixed memory
7519 * testsuite/21_strings/capacity.cc (test01): Test.
7521 1999-06-03 Phil Edwards <pedwards@ball.com>
7523 * bits/fstream.tcc: Re-order inits to stop warnings. Comment/move
7524 unused variables to within #if 0 blocks to do the same.
7525 * bits/std_fstream.h: Fix typos (one prevents compilation).
7527 1999-06-03 Benjamin Kosnik <bkoz@pacifica.cygnus.com>
7529 * src/wstring-inst.cc: Fix.
7531 1999-06-02 Benjamin Kosnik <bkoz@madcow.cygnus.com>
7533 * bits/char_traits.h: Add _G_USE_WCHAR_T macro guards.
7534 * stl/bits/stl_string_fwd.h: Same.
7535 * bits/locale_facets.h: Same.
7536 * bits/locale_facets.tcc: Same.
7537 * src/wstring-inst.cc: And here.
7539 * src/gen-c++config.cc: Comment _G_USE_WCHAR_T. Leading to
7540 problems on HPUX 10.20.
7541 * your-build-directory-here/bits/c++config.h: Just kidding, do it
7542 here as a temporary hack till the compiler/host problems get
7545 * bits/locale_facets.tcc (num_get::do_get): Change from ifdef
7546 HAVE_STRTOLD to HAVE_STRTOLD && !(__hpux). Apparently, problems
7547 converting "long double" to struct long_double. Probably should be
7548 done with one macro (HAVE_STRTOLD) at configure time.
7550 * bits/std_cmath.h: Comment out pow(double, int) defintion as
7551 gives re-declaration under hpux10.20. Revert previous change, as
7552 kills linux/x86, solaris 2.7, hpux builds. These should be done
7553 using autoconf, see std_cctype.h and the solutions started in
7554 configure.in (see config.h for the generated file.)
7556 * mknumeric_limits (LDFLAGS): Remove '-nodefaultlibs -lc', as
7557 -nodefaultlibs prevents linking under HPUX 10.20 as __main is not
7560 * docs/index.html: Add some useful links.
7561 * docs/17_intro/contribute.html: Fix broken links.
7563 1999-06-02 Benjamin Kosnik <bkoz@rhino.cygnus.com>
7565 * mkcheck (LOG_FILE): Add !/bin/bash instead of cygnus-style
7566 paths. The rest of the world should be able to run this script
7569 * src/Makefile.am ($(generated_headers)): Remove comment.
7570 * Makefile*: Regenerate.
7572 * bits/std_locale.h: Remove detritus.
7573 * bits/localefwd.h: Add <cctype> include to undefine the isspace
7576 1999-06-01 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7578 * src/gen-c++config.cc: New file. Making c++config.h at configure
7579 time by catting this file (nee bits/config.h) with the build
7580 directories config.h. This is not a complete or perfect solution
7581 but is better than what was in place previously.
7582 * bits/c++config.h: Rename/move to above.
7583 * src/Makefile.am (headers): Remove c++config.h.
7584 (myinstallheaders). Add.
7585 * Makefile*: Regenerated.
7587 * bits/std_cwchar.h: Add include of c++config.h for HAVE_*
7588 definitions, so that wmemcmp, wcslen, wmemchr, etc are properly
7589 declared only if not present in the host's wchar.h.
7591 * bits/locale_facets.tcc (std): Change _G_USE_STRTO* to HAVE_STRTO*.
7593 * bits/std_cmath.h: Define out, for the moment. Linux has no
7594 __buitin_fsqrtl? Probably need some kind of configure trickery
7597 * src/Makefile.*: Regenerate.
7598 * bits/c++config.h: Add config.h include.
7600 * bits/std_cwchar.h: Remove remaining #error guard.
7602 * acconfig.h: Add bits for HAVE_LC_MESSAGES.
7604 * configure.in (LIBS): Replace previous effort for mbstate_t and
7605 strtold/strtof with this implementation.
7607 1999 06-01 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7609 * bits/std_cmath.h: Tweak. Add more functions. Use __builtin_xxx
7612 1999-05-28 Benjamin Kosnik <bkoz@cygnus.com>
7614 * bits/locale_facets.tcc (std): Eek: this left in. Autoconf bits
7615 for determining mbstate_t differences across various hosts not
7618 1999-05-26 Benjamin Kosnik <bkoz@nabi.net>
7620 * bits/locale_facets.tcc: Change to ifdef.
7622 * bits/std_sstream.h (stringbuf::setbuf): Remove dynamic_cast.
7623 * bits/std_fstream.h (filebuf::setbuf): Same.
7625 * bits/std_istream.h: Add ws declaration.
7626 * bits/istream.tcc: Stub out definition.
7628 * docs/index.html: Fix broken link for design.txt.
7630 * configure.in: Test for mbstate_t. If wchar.h doesn't have it,
7631 then set _G_NEED_MBSTATE_T.
7632 * configure: Regenerate.
7633 * bits/c++config.h: Move mbstate_t define.
7634 * bits/std_cwchar.h: To here.
7636 1999-05-25 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7638 * bits/std_sstream.h:
7639 basic_stringbuf<>::basic_stringbuf: fix.
7640 basic_stringbuf<>::setbuf:
7641 remove the temporary __string_type object,
7642 remove the unnecessary dynymic_cast in the return value,
7643 change the type of the returned value from __streambuf_type*
7644 to basic_stringbuf<_CharT, _Traits, _Alloc>*.
7646 1999-05-25 Phil Edwards <pedwards@ball.com>
7648 * bits/std_streambuf.h (streambuf::setbuf): Always return streambuf*.
7650 1999-04-25 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7652 * bits/std_cmath.h: Tweak. Add float versions of the math functions
7653 in <math.h>. <cmath> still incomplete and incorrekt.
7655 1999-05-24 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7657 * mknumeric_limits (LDFLAGS): set appropriate link flags.
7659 1999-05-23 Phil Edwards <pedwards@ball.com>
7661 * docs/17_intro/howto.html: Added links to text docs,
7663 * docs/21_strings/howto.html: Updated sections and links.
7664 * docs/21_strings/{gotw29a.txt,stringtok_h.txt}: Added.
7665 * docs/faq/index.html: Updated what-works for sixth
7666 snapshot. Also a number of "internal" links have been
7667 fixed, now that the web pages are the docs directory...
7668 * docs/faq/index.txt: Regenerated.
7670 1999-05-21 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7672 * bits/basic_string.h: Add Nathan's documentation on the string class.
7674 * testsuite/27_io/ios_members_static.cc: New file, for testing
7675 ios_base::sync_with_stdio.
7677 1999-05-21 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7679 * bits/std_locale.h: Simplify includes.
7680 * bits/loccore.h: Delete.
7681 * bits/localefwd.h: Renamed, trimmed.
7682 * bits/locfacets.h: Delete.
7683 * bits/locale_facets.h: Rename, expanded.
7684 * bits/loccore.tcc: Deleted.
7685 * bits/locfacets.tcc: Deleted.
7686 * bits/locale_facets.tcc: Resultant merge.
7687 * bits/std_fstream.h: Modify include.
7688 * bits/ostream.tcc: Same.
7689 * bits/istream.tcc: Same.
7691 * src/locale-inst.cc: And here.
7692 * src/locale.cc: Ditto.
7693 * src/Makefile.am: Updated.
7694 * src/Makefile.in: Rengenerated.
7696 * bits/std_istream.h: Move istream::sentry ctor definition.
7697 * bits/istream.tcc: Move istream::sentry ctor here.
7698 Add more detailed locale include here for ctype member functions.
7699 * bits/ostream.tcc (std): And here.
7701 * bits/sbuf_iter.h: Include std_streambuf.h
7703 * bits/locfacets.h: Start separating this into a localeimp.h file.
7704 * bits/loccore.h: Start separating this into a localefwd.h file.
7705 Add std_climits for CHAR_BIT.
7707 * bits/ios_base.h (ios_base::sync_with_stdio): Stub in.
7709 * bits/char_traits.h: Tweak.
7711 * bits/ios_base.h: Remove INT_MAX, use 1<<16.
7713 * bits/std_ostream.h: Remove c++config.h include.
7714 * bits/std_istream.h: Same.
7715 * bits/std_streambuf.h: Same.
7716 * bits/std_fstream.h: Same.
7717 * bits/std_sstream.h: And here.
7719 * bits/std_iosfwd.h: Add _G_RESOLVE_LIB_DEFECTS here for streampos.
7720 * bits/char_traits.h: Add include of std_cwchar.h for mbstate_t.
7721 * bits/fpos.h: Tweak, format.
7723 * std/ciso646: New file.
7724 * bits/std_ciso646.h: New file.
7725 * src/Makefile.am (std_headers): Add ciso646.
7726 (headers): Add bits/std_ciso646.h.
7727 * src/Makefile.in: Regenerate.
7728 * testsuite/17_intro/header_ciso646.cc: New file, disable
7731 * bits/fpos.h: Remove libio.h include.
7732 * bits/basic_file.h: And here.
7733 * bits/std_ios.h: Put here.
7735 * src/ios.cc: Simplify includes, tweak.
7736 * bits/std_ios.h: Simplify include order.
7737 * bits/ios_base.h: Modify ios_base::failure.
7739 * stl/bits/std_numeric.h: Change include from stl_iterator to
7742 1999-05-19 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7744 * std/iostream: Remove static member __ioint.
7745 * bits/std_iostream.h: Put here.
7747 * stl/bits/std_numeric.h: Remove unneccessary std_iostream.h include.
7748 * stl/bits/stl_algobase.h: Same.
7749 * testsuite/27_io/iostream_objects.cc: Regression tests.
7750 * testsuite/27_io/hello.cc: Remove, subset of above.
7752 1999-05-19 Phil Edwards <pedwards@ball.com>
7754 * docs/index.html: Tweak, update.
7756 1999-05-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7758 * docs/17_intro/RELEASE-NOTES: remove outdated
7759 documentation about numeric_limits. Correct CXXINCLUDE setting
7762 1999-05-18 Phil Edwards <pedwards@ball.com>
7764 * docs/{17_intro,18_support,19_diagnostics,20_util,21_strings,
7765 22_locale,23_containers,24_iterators,25_algorithms,26_numerics,
7766 27_io}/howto.html: Created, with some initial entries.
7767 * docs/faq/index.html: Fixed some links.
7768 * docs/faq/index.txt: Regenerated.
7770 1999-05-18 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7772 * bits/c++config.h (__GLIBCPP__): Set version to 19990518.
7774 * docs/17_intro/RELEASE-NOTES: Update.
7775 * docs/index.html: Correct link to mailing list help page, update News.
7776 * docs/faq/index.html: Change fifth to sixth for snapshot.
7778 * src/Makefile.am (myinstallheaders): Bring over Gaby's changes to
7779 install $(top_builddir)/bits/std_limits.h into
7780 $(myincludepfx)/bits. This was mistakenly omitted from yesterday's
7781 Makefile.am changes.
7782 * *Makefile*: Regenerate using automake.
7784 * mkcheck (LOG_FILE): Fix filebuf directory oddness.
7785 * testsuite/27_io/filebuf.cc: Same.
7787 1999-05-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7789 * docs/17_intro/CHECKLIST: update.
7790 * docs/17_intro/TODO: update.
7792 1999-05-17 Phil Edwards <pedwards@ball.com>
7794 * docs/{17_intro,18_support,19_diagnostics,20_util,21_strings,
7795 22_locale,23_containers,24_iterators,25_algorithms,26_numerics,
7796 27_io}/howto.html: Created, with some initial entries.
7797 * docs/faq/index.html: Fixed some links.
7798 * docs/faq/index.txt: Regenerated.
7800 1999-05-17 Benjamin Kosnik <bkoz@unhappy.cygnus.com>
7802 * src/Makefile.am (myinstallheaders): Missed removing missing.h.
7803 * Makefile.in*: Regenerate.
7805 1999-05-17 Benjamin Kosnik <bkoz@happy.cygnus.com>
7807 * bits/std_streambuf.h: Same.
7809 * bits/loccore.h (_Bad_use_facet): Remove bits warned about.
7810 * bits/locfacets.h (std): Same.
7811 * bits/sstream.tcc: Same.
7812 * testsuite/27_io/stringstream.cc: Tweak.
7814 * testsuite/27_io/filebuf.cc: Adjust.
7815 * testsuite/21_strings/capacity.cc (test01): Add more
7816 string::reserve tests.
7818 * bits/c++config.h: Remove broken CCTYPE.
7819 * bits/std_cctype.h: Tweak, remove de-macroization, enable
7820 sequestered topper implementation.
7821 * bits/std_cwctype.h: Same.
7823 * bits/missing.h: Remove.
7824 * bits/std_locale.h: Remove missing.h include.
7826 * stl/bits/std_bitset.h (bitset::bitset(string): Tweak to compile.
7828 * src/Makefile.am (headers): Add bits/std_cwctype.h.
7829 INCLUDES: Add top_builddir.
7830 * src/Makefile.in: Regenerate.
7832 * Makefile.am: Add check and check-install as new targets.
7833 * testsuite/make_check_libfree++: Move to. . .
7835 * configure.in: Tweak versions.
7836 * mknumeric_limits: Set paths correctly.
7838 1999-05-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7840 * src/Makefile.in (myinstallheaders): add rule to install
7843 * bits/slice.h (class slice): don't const-qualify data members
7844 since the copy and assignment operator is implicitly used. The
7845 valarray specification is definitively a bad one.
7847 * Makefile.in (generate-limits-sources): fix typo.
7849 * docs/text/TODO: update.
7850 * docs/text/CHECKLIST: update.
7852 * bits/gslice.h (gslice): fix bugglet.
7853 (gslice::gslice): set _M_index_size to 0 whenever given lengths
7856 * src/Makefile.am (libstdc___la_SOURCES): add gen-num-limits.
7857 * src/Makefile.in (libstdc___la_SOURCES): keep in sync.
7858 [Note: **/Makefile.in should be generated from the corresponding
7859 Makefile.am. The current situation is a litte chaotic. ]
7861 1999-05-16 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7863 * mknumeric_limits: tweak.
7865 * Makefile.in (all): add target generate-limits-sources.
7866 (generate-limits-sources): make a directory bits/ in top_builddir
7867 where the generated std_limits.h is put; generate limitsMEMBERs.cc
7868 directly under $(top_builddir)/src. Remains to put the appropriate
7869 rule for installing std_limits.h.
7871 * src/Makefile.in (headers): remove bits/std_limits.h to this list.
7872 (INCLUDES): add -I$(top_builddir) for bits/std_limits.h which is
7873 now generated at build-time in the build directory
7874 (libstdc___la_SOURCES): remove limitsMEMBERS.cc form this list
7875 * src/Makefile.am: reflect changes in src/Makefile.in
7877 1999-05-12 Phil Edwards <pedwards@ball.com>
7879 * docs/faq/index.html: Add more entries (5.4,5.5), finish
7880 all but one empty entry. Add links for HOWTOs, but no files yet.
7881 (Corrected HOWTO links are for bkoz's new scheme.)
7882 * docs/faq/index.txt: Regenerated.
7884 1999-05-12 Benjamin Kosnik <bkoz@happy.cygnus.com>
7886 * testsuite/17_intro/headers.cc: New file.
7887 * stl/bits/std_queue.h: Change stl_bvector.h include path.
7888 * bits/std_cwctype.h: New file.
7890 * testsuite/27_io/filebuf.cc: Need to tweak directory structure.
7892 1999-05-11 Benjamin Kosnik <bkoz@loony.cygnus.com>
7894 * stl/bits/stl_config.h (__USE_MALLOC): Change underlying allocator.
7895 Check __USE_MALLOC before defining specializations containing
7896 __default_alloc_template.
7897 * src/stl-inst.cc: Here too.
7899 * bits/basic_string.h: Change.
7901 * testsuite/make_check_libfree++: More tweaks.
7902 * testsuite/21/capacity.cc: New file.
7904 * src/string.cc: Rename to be consistent with other inst files.
7905 Rename to string-inst.cc.
7906 * src/string*.cc: Change include.
7907 * src/wstring.cc: Rename to wstring-inst.cc.
7908 * src/wstring*.cc: Ditto.
7909 * src/Makefile.in: Also here.
7910 * src/Makefile.am: Ditto.
7912 * src/traits.cc: Remove.
7913 * src/wtraits.cc: Same.
7915 Try a new way of organizing documentation, one with synchronicity
7916 between testsuites and docs subdirectories, and see who yelps.
7917 * docs/html: Remove, use chapter and subject specific directories
7918 instead of forcing things immediately into format of
7922 * docs/faq/text, docs/faq/html: Remove, put in the docs/faq
7923 directory and sort by filename and extension.
7924 * docs/17_intro, 18_support, 19_diagnostics, 20_util, 21_strings,
7925 22_locale, 23_containers, 24_iterators, 25_algorithms,
7926 26_numerics, 27_io: Add.
7927 * docs/17_intro/*: Populate with all the text files. . .
7928 * docs/index.html: Construct.
7930 * testsuite/*: Update with same names as the docs subdir.
7931 * testsuite/results: Where to stash conformance results for the
7932 different snapshots, so that progress/size/speed issues can be
7935 1999-05-10 Benjamin Kosnik <bkoz@loony.cygnus.com>
7937 * src/string.cc: Add _S_copy_chars instantiation, as well as
7938 string::binary operators !=, ==, etc.
7940 * src/Makefile.am (CXXFLAGS): Remove -fvtable-thunks.
7941 * src/Makefile.in (CXXFLAGS): Same here.
7942 * testsuite/make_check_libfree++ (CXX_FLAG): And here.
7944 1999-05-07 Benjamin Kosnik <bkoz@cygnus.com>
7946 * src/string.cc: Add missing member functions to instantiation list.
7948 1999-05-07 Benjamin Kosnik <bkoz@cygnus.com>
7950 * src/misc-inst.cc: Remove unused string instantiations.
7952 * bits/string.tcc: Tweak, fix.
7953 * bits/basic_string.h: Format. Fix reported error with c_str().
7955 * testsuite/make_check_libfree++: Tweak for shared builds.
7956 * testsuite/21/operations.cc: New file for testing c_str() etc.
7958 1999-05-06 Benjamin Kosnik <bkoz@cygnus.com>
7959 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7961 * stl/bits/stl_vector.h: Fix the code of vector<> for usage with
7962 an iterator class. Delineate pointer versus iterator differences
7964 * 23/vector_capacity.cc: New file, tests for above.
7966 1999-05-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7968 * mknumeric_limits: Fix typo. 'unsigned lont' should read
7970 * src/Makefile.am (libstdc___la_SOURCES): add limitsMEMBERS.cc,
7971 generated by mknumeric_limits to the list. Now std_limits.h is
7973 * src/Makefile.in (generate-numeric-limits): new target to handle
7974 automatic generation of bits/std_limits.h and src/limitsMEMBERS.cc.
7975 (all): add target generate-numeric-limits.
7976 (libstdc___la_OBJECTS): add limitsMEMBERS.lo
7977 (libstdc___la_SOURCES): add limitsMEMBERS.cc
7979 1999-05-05 Benjamin Kosnik <bkoz@cygnus.com>
7982 * bits/c++config.h (_G_USE_CTYPE_ISBIT): Defines new macro for
7983 mask values in ctype_base. Move hacks for _ISBit to locfacets.h.
7984 * bits/locfacts.h: Here.
7986 1999-05-05 Benjamin Kosnik <bkoz@cygnus.com>
7987 Ulrich Drepper <drepper@cygnus.com>
7989 Solaris build issues.
7990 * bits/c++config.h: Define new macros, _G_USE_STRTOF and
7993 * bits/locfacets.tcc (num_get::do_get): Tweak long double and
7994 float overloads to use the above macros. Account for the lack of
7995 strtold on some systems, and revert back to using sscanf.
7997 1999-05-04 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7999 * bits/locfacets.tcc (num_get::do_get): Check the errno variable.
8000 Use strtoul/strtoull for unsigned types. Check the ranges for
8001 short/unsigned short and if necessary for int/unsigned int.
8003 1999-05-04 Benjamin Kosnik <bkoz@cygnus.com>
8005 * src/gen-num-limits.cc (round_style): Need to use mknumericlimits
8006 to generate bits/std_limits.h now, as the SGI std_limits.h is
8007 being depricated. Not done, but should be done immediately: need
8008 to make sure this script is run as part of the configuration
8009 process, because without it "make" in a configured build directory
8010 will fail. Also tweaked: added a space for float_round_style, and
8011 used static_cast of zero to default-initialize, which should be ok
8012 according to the standard. (see 8.5 p5 and 20.1.3).
8013 * mknumeric_limits (OUT_C): Need this for x86 long
8016 * bits/basic_file.h: Include libio.h, not libioP.h.
8017 * src/basic_file.cc: And add libioP.h include here, so that
8018 _IO_init, et. al are well-declared.
8020 * testsuite/make_check_libfree++ (LIB_PATH): Test installed
8021 headers, not source directory headers.
8023 * src/Makefile.am (headers): Add stl_range_errors.h, also adjust
8024 for ext/*. Also add basic_file.h.
8025 * src/Makefile.in (headers): Same.
8027 * bits/std_string.h: Reduce dependencies for faster
8028 pre-processing. Move istream and ostream specific defines into
8029 istream.tcc and ostream.tcc respectively.
8030 * bits/string.tcc: And here.
8031 * bits/basic_string.h: Move getline inline out-of-line, and to
8033 * bits/istream.tcc: Move string::getline and operator>> here.
8034 * bits/ostream.tcc: And here too.
8036 * bits/utility.h: Remove, as clashes with a standard header. Put
8037 __OUTOFRANGE and __LENGTHERROR macros into string.tcc for the time
8038 being, until this can be combined with SGI's approach.
8039 * bits/string.tcc: Add macros, as above.
8040 * bits/loccore.h: Add _Count_ones defines.
8041 * bits/std_string.h: And here too.
8042 * bits/std_locale.h: And here.
8043 * bits/std_ios.h: Take out include here.
8044 * src/Makefile.am (headers): Remove utility.h
8045 * src/Makefile.in (headers): Remove utility.h
8047 * stl/bits/*: Update to SGI STL 3.20.
8048 * stl/ext/pthread_alloc: Delete this file.
8050 1999-05-04 Phil Edwards <pedwards@ball.com>
8052 * docs/faq/html/index.html: Add more entries
8053 * docs/faq/html/index.txt: regenerated.
8055 1999-05-04 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
8057 * src/gen-num-limits.cc (DO_DEFINE_MIN_MAX): fix typo.
8059 1999-04-29 Benjamin Kosnik <bkoz@haight.cygnus.com>
8061 * bits/locfacets.tcc (num_get::do_get): Re-implement, with input
8062 from Ulrich and Nathan. Remove extraneous string class usage,
8063 tweak, clean, simplify and consolidate with a eye towards removing
8064 duplcate code. Use strto[l, ll, f, d, ld] instead of sscanf.
8065 Not done: dealing with leading zeros, wchar_t work.
8066 * bits/locfacets.h: And here too.
8070 1999-04-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
8073 * docs/faq/: New directory.
8074 * docs/faq/html/: Likewise.
8075 * docs/faq/text/: Likewise.
8076 * docs/faq/html/index.html: New file.
8077 * docs/faq/html/index.txt: Likewise. Generated from
8078 docs/faq/html/index.html by lynx.
8080 1999-04-28 Benjamin Kosnik <bkoz@happy.cygnus.com>
8081 Ryszard Kabatek and Branko Cibej
8083 * bits/locfacets.tcc: Modify.
8085 1999-04-27 Benjamin Kosnik <bkoz@happy.cygnus.com>
8087 * bits/sbuf_iter.h: Clean, fix istreambuf_iterator, make
8088 conformant to 14882, wrap non-standard extensions with
8089 _G_RESOLVE_LIB_DEFECTS, remove detritus and cruft, rennovate.
8090 * bits/locfacets.tcc (num_get::do_get(bool)): Return correct iterator.
8092 * testsuite/27/istringstream_formatted.cc: Add tests.
8094 * bits/locfacets.h: Remove cruft from _Format_cache, continue
8095 commenting, simplify.
8096 * bits/locfacets.tcc: Same.
8098 1999-04-27 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8099 * bits/locfacets.tcc (num_get::do_get):
8100 Fix the sscanf format parameter
8101 for long long 'll' (as in C9X) instead of 'l'.
8102 Fix the order of sscanf format parameters: "%dl" --> "%ld".
8103 Change the type of the local variable '__conv' from 'string'
8104 to 'const char*' and adapt the change.
8106 1999-04-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
8108 * bits/locfacets.h: Document _Format_cache, and name data members
8109 after the corresponding functions in numpunct. For instance:
8110 _M_grsep -> _M_thousands_sep, and _M_decsep -> _M_decimal_point.
8111 Break apart _M_boolnames{2] into _M_truename and _M_falsename.
8112 * bits/locfacets.tcc: Same.
8114 * bits/locfacets.h (num_get::_M_extract): Don't allow groupings to
8115 stop parsing--store for later analysis.
8116 * testsuite/27/istringstream_formatted.cc: Add cases.
8118 1999-04-25 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
8120 * bits/valarray_meta.h: tweak.
8121 (_UnFunBase, _BinFunBase, _BinFunBase1, _BinFunBase2, _BinBase1,
8122 _BinFunBase2): rename typedef-name _Tp to _Vt to keep the compiler
8123 happy -- boggus warning.
8124 * bits/std_valarray.h: Fix.
8125 (valarray<T>::shift): Fix. Update comment.
8126 (valarray<T>::cshift): Fix.
8128 1999-04-23 Benjamin Kosnik <bkoz@cygnus.com>
8130 * testsuite/27filebuf-2.txt: Delete.
8131 * testsuite/27/filebuf.cc: Put output files directly into the
8132 correct subdirectory (27).
8134 Alexandre Petit-Bianco <apbianco@cygnus.com>
8135 * testsuite/make_check_libfree++: Check generated (*.txt) file
8136 against stored results file (*.tst).
8138 1999-04-22 Benjamin Kosnik <bkoz@nabi.net>
8140 * bits/locfacets.tcc: Fix.
8142 * bits/fstream.tcc (filebuf::seekoff): Output current out pointer.
8143 (filebuf::overflow): Simplify.
8144 (filebuf::xsputn): Correctly handle indeterminate state.
8146 * testsuite/27/istringstream_formatted.cc: Tweak.
8147 * testsuite/27/filebuf.cc: Tweak.
8148 * testsuite/27/filebuf-3.tst: Correct: this is the canonical
8149 results file, please use this in the future to guarantee filebuf
8150 positioning accuracy.
8151 * testsuite/27/filebuf-2.tst: Same.
8153 1999-04-21 Benjamin Kosnik <bkoz@cygnus.com>
8155 * bits/fstream.tcc (filebuf::xsputn): Add.
8156 * bits/std_fstream.h: Declare.
8158 * src/basic_file.cc (__basic_file::open): Add O_CREAT to open
8159 calls using ios_base::trunc.
8161 * bits/sstream.tcc (streambuf::overflow): Fix crasher.
8163 * testsuite/make_check_libfree++ (LOG_FILE): Ugh. Another fix.
8164 * testsuite/27/27stringstream.cc: Same.
8165 * testsuite/27/27stringbuf.cc: More tweaks.
8166 * testsuite/27/27filebuf-2.txt: Remove.
8168 * testsuite/27/27filebuf-1.tst: Append, to force byte size over
8169 BUFSIZE so that overflows/underflow can be tested with default
8171 * testsuite/27/27filebuf-1.tst: Add.
8173 * testsuite/*/*: Remove pre-pended chapter names, as they
8174 duplicate the chapter info contained in the enclosing directory
8177 1999-04-20 Benjamin Kosnik <bkoz@cygnus.com>
8179 * bits/streambuf.tcc (streambuf::xsputn): Re-implement to conform
8180 to sputc conditions.
8182 * bits/ios_base.h: Define here.
8183 * src/ios.cc (ios_base::_M_clear): Remove hack.
8184 * bits/basic_ios.h: Fix rdstate().
8186 * bits/sstream.tcc (streambuf::seekoff): Fix.
8187 * bits/fstream.tcc (filebuf::seekoff): Tweak comments.
8189 * testsuite/make_check_libfree++ (LOG_FILE): More c-c-c-changes.
8190 * testsuite/24/24iterator.cc: Add/Fixes for DEBUG_ASSERT.
8191 * testsuite/27/27stringstream.cc: Same.
8192 * testsuite/27/27stringbuf.cc: Same.
8193 * testsuite/27/27istringstream_formatted.cc: Same.
8194 * testsuite/27/27filebuf.cc: Same.
8196 * bits/locfacets.h: Remove specializations for messages<char> and
8197 messages<wchar_t> ctors. Same for moneypunct. Not required, not used.
8198 * src/locale.cc: Remove definitions for above.
8199 * src/misc-inst.cc: Revert, take out iomanip.h include.
8200 * bits/std_iomanip.h: Tweak, format.
8202 1999-04-19 Benjamin Kosnik <bkoz@cygnus.com>
8204 * bits/loccore.h: Format, move inline.
8205 * bits/locfacets.tcc: Same.
8206 * bits/locfacets.h: Same.
8208 Ulrich Drepper <drepper@cygnus.com>
8209 * aclocal.m4: Re-generate.
8210 * configure, configure.in: Same.
8211 * m4/lc_messages.m4: New file.
8213 1999-04-18 Benjamin Kosnik <bkoz@cygnus.com>
8215 * bits/std_ostream.h: Fix typedef for wchar_t instantiations.
8216 * bits/sstream.tcc: Tweak.
8218 * std/iostream: Put __ioinit inside macro guards.
8220 * src/stlinst.cc: Delete and move to . . .
8221 * src/stl-inst.cc: New file, plus wrapping in namespace std.
8222 * src/Makefile.in: Change.
8223 * src/Makefile.am: Same.
8224 * src/misc-inst.cc: Add istringstream/ostringstream instantiations.
8226 * testsuite/make_check_libfree++: Efficiently format for minimal
8227 space. Enforce stricter execution tests by enabling
8230 1999-04-16 Benjamin Kosnik <bkoz@cygnus.com>
8232 * docs/text/RELEASE-NOTES: Fix include typo.
8234 * src/Makefile.am (headers): Add istream.tcc.
8235 * src/Makefile.in (headers): Add istream.tcc.
8237 * ltconfig, ltmain.sh, libtool: Update to libtool-1.2g.
8239 1999-04-16 Benjamin Kosnik <bkoz@cygnus.com>
8241 * bits/locfacets.tcc (num_get::do_get(long)): Finish roughing in.
8242 * bits/locfacets.h (num_get::_M_extract): New functin:
8243 consolidate logic for do_get(...) members.
8245 * bits/sbuf_iter.h (istreambuf_iterator::operator++()): Fix.
8246 * testsuite/27/27istringstream_formatted.cc: Add.
8248 1999-04-16 Martin v. Loewis <martin@mira.isdn.cs.tu-berlin.de>
8250 * src/basic_file.cc (__basic_file::open): Fix thinko in
8251 _G_HAVE_IO_FILE_OPEN bits.
8252 * bits/std_istream.h (sentry::sentry(istream, bool)): Fix isspace bug.
8253 * bits/std_cmath.h: Add stdlib.h include for ldiv_t.
8254 * src/complex.cc (FCT): Qualify all functions with global namespace.
8255 * src/locale.cc: Don't qualify memcpy and setlocale.
8256 * src/stdexcept.cc (__out_of_range): Qualify out_of_range with std::.
8257 (__length_error): Likewise, for length_error.
8258 * src/stlinst.cc: Qualify instantiations with std::.
8260 1999-04-15 Benjamin Kosnik <bkoz@cygnus.com>
8262 * C++STYLE: Add ChangeLog guidelines for member functions.
8265 * BADNAMES, BUGS, C++STYLE, CHECKLIST, COPYING,
8266 DESIGN, HEADER_POLICY, PROBLEMS, RELEASE-NOTES, TODO: Moved into
8267 docs/text and made less strident.
8269 * bits/fstream.tcc: Change non-standard ctor to match Sun's sematics.
8270 * bits/std_fstream.h: Same.
8273 * bits/locfacets.h: Touch.
8275 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
8277 * math/cexp.c (cexp): Use NAN instead of nan("").
8278 Reported by joel reed <joelreed@yahoo.com>.
8280 * libio/libioP.h: Define _IO_seek_fpos_t and _IO_seek_off_t based on
8281 _G_IO_IO_FILE_VERSION. Use these types in the prototypes.
8282 * libio/fileops.c: Use _IO_seek_fpos_t and _IO_seek_off_t types
8283 instead of #if cascades.
8284 * libio/genops.c: Likewise.
8285 * libio/ioseekoff.c: Likewise.
8286 * libio/ioseekpos.c: Likewise.
8287 * libio/strops.c: Likewise.
8288 Patch by Chip Salzenberg <chip@perlsupport.com>.
8290 1999-04-15 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
8292 * docs: New directory.
8293 * docs/html: Likewise.
8294 * docs/text: Likewise.
8295 * docs/image: Likewise.
8297 * bits/std_cmath.h: Add new functions.
8298 (abs): overload for long and double.
8299 (div): overload for long.
8301 * bits/valarray_array.h: Fix.
8302 * bits/gslice.h: Adjust friend.
8303 * bits/slice_array.h: likewise.
8304 * bits/valarray_meta.h: likewise.
8306 1999-04-13 Benjamin Kosnik <bkoz@tintin.cygnus.com>
8308 * bits/locfacets.h: More changes, for num_get for insertion
8309 operators for integral types. Comment fields in _Format_cache.
8310 * bits/locfacets.tcc: And here too: add preliminary long version.
8311 * testsuite/27/27istringstream_formatted.cc: Add cases.
8313 1999-04-13 Mark Elbrecht <snowball3@usa.net>
8315 * configure.in: Add locale.h to AC_CHECK_HEADERS argument. Call
8316 AC_LC_MESSAGES macro.
8317 * aclocal.m4 (AC_LC_MESSAGES): New. Determines if a target
8318 supports LC_MESSAGES.
8319 * config.h.in: Add entry for HAVE_LC_MESSAGES.
8320 * src/locale.cc (locale::_S_normalize_category): Use the
8321 HAVE_LC_MESSAGES macro to check for LC_MESSAGES support instead of
8322 _G_NO_CLOCALE_HAS_MESSAGES.
8323 * aclocal.m4 (AM_PROG_LD): For DOS style paths, simplify test to
8324 '?:' from '?:\\' so any path beginning with a drive name matches.
8326 1999-04-12 Mark Elbrecht <snowball3@usa.net>
8328 * src/basic_file.cc(sys_open) [O_BINARY]: Declare __testb.
8330 1999-04-12 Benjamin Kosnik <bkoz@tintin.cygnus.com>
8332 * bits/locfacets.h: Tweak.
8333 * bits/locfacets.tcc(do_get): Clean/fix bool method.
8335 * testsuite/21/21nonmember.cc: Same.
8336 * testsuite/21/21compare.cc: Fix license.
8337 * testsuite/27/27istringstream_formatted.cc: New file.
8339 1999-04-12 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
8341 * bits/valarray_meta.h: _BinFunBase1, _BinFunBase2, _BinBase1,
8342 _BinBase2: new template classes; put in there to work around a
8343 compiler limitation. The whole valarray architecture is now
8346 1999-04-08 Benjamin Kosnik <bkoz@haight.constant.com>
8348 * bits/locfacets.tcc: Fix, format.
8349 * bits/locfacets.h: Fix.
8350 * src/locale.cc: Same, plus format.
8352 * bits/basic_string.h: Re-add definition here.
8353 * src/string.cc: Take out.
8355 1999-04-08 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
8357 * bits/std_valarray.h: tweak.
8358 * bits/valarray_array.h tweak. use _Expr.
8359 * bits/slice_array.h: likewise.
8360 * bits/gslice_array.h: likewise.
8361 * bits/mask_array.h: likewise.
8362 * bits/indirect_array.h: likewise.
8363 * bits/valarray_meta.h: tweak.
8364 _UnFunBase, _UnFunClos, _BinFunBase, _FunBase, _ValFunClos,
8365 _RefFunClos, _UnBase, _UnClos, _BinBase, _BinClos, _SClos, _GClos,
8366 _IClos: new template classes.
8367 _Meta: renamed to _Expr. Made template with args.
8368 _Constant: made template with two args.
8370 1999-04-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
8372 * bits/valarray_array.h: tweak.
8374 1999-04-06 Benjamin Kosnik <bkoz@cygnus.com>
8376 * bits/basic_string.h: Whoops--fix blip.
8378 1999-04-06 Benjamin Kosnik <bkoz@cygnus.com>
8380 Update to SGI STL 3.13
8381 * bits/basic_string.h: Add __get_c_string definition.
8382 * stl/bits/stl_range_errors.h: New file.
8383 * stl/bits/std_bvector.h: Same.
8384 * stl/bits/*: Update.
8386 1999-04-04 1999 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
8388 * bits/slice_array.h: tweak.
8389 * bits/gslice_array.h: tweak.
8390 * bits/mask_array.h: tweak.
8391 * bits/indirect_array.h: tweak.
8392 * bits/valarray_array.h: tweak.
8393 (__valarray_copy): replace copy with memcpy.
8394 * bits/std_valarray.h: use __valarray_copy whenever possible.
8395 use __valarray_fill instead of fill.
8397 1999-04-02 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
8399 * src/gen-num-limits.cc: new file
8400 * mknumeric_limits: Ditto.
8402 1999-03-30 Benjamin Kosnik <bkoz@cygnus.com>
8404 * bits/locfacets.tcc: Do a stub version of num_get for short, int,
8406 * bits/locfacets.h: Add num_get::get methods overloaded for int
8407 and short, to resolve ambiguous overloads in istream insertion
8410 1999-03-30 Benjamin Kosnik <bkoz@cygnus.com>
8412 * bits/std_istream.h: Fix.
8413 * bits/istream.tcc: Fix.
8415 1999-03-30 Philip Martin <pm@corris.dircon.co.uk>
8417 * testsuite/24/24iterator.cc: fix ++/-- tests
8419 1999-03-29 Benjamin Kosnik <bkoz@cygnus.com>
8421 * bits/std_ostream.h: Looks like this, actually: Fix up eh-isms.
8422 * bits/ostream.tcc: Same.
8424 * bits/std_istream.h: Bring over ostream changes, implement member
8425 functions. Baseline.
8426 * bits/istream.tcc: New file.
8428 1999-03-26 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
8430 * bits/gslice.h (class gslice): fix friends template.
8432 1999-03-23 Benjamin Kosnik <bkoz@cygnus.com>
8434 * bits/std_ostream.h: Fix sentry objects, implement seekp, tellp,
8436 * bits/ostream.tcc: Same.
8438 * bits/std_istream.h: Minor tweaks.
8440 1999-03-18 Benjamin Kosnik <bkoz@cygnus.com>
8442 * src/locale-inst.cc: Remove duplicate instantiations.
8443 * bits/locfacets.tcc: Tweak definitions of static member.
8445 1999-03-18 Benjamin Kosnik <bkoz@cygnus.com>
8447 * bits/std_fstream.h: Format: prepend "__" in front of
8448 non-standard typedefs.
8449 * bits/fstream.tcc: Match.
8450 * bits/std_streambuf.h: Format: prepend "__" in front of
8451 non-standard typedefs.
8453 * bits/sstream.tcc: Match.
8454 * bits/std_istream.h: Format.
8455 * src/locale-inst.cc: Add num_get instantiations.
8457 * bits/std_sstream.h: Fix crash in stringstreams. Remove member
8458 _M_sb, a basic_stringbuf object, and use the basic_ios pointer
8459 _M_streambuf instead. Make initializations sane. Fix
8460 allocation/deallocation of _M_streambuf.
8461 * bits/std_ostream.h: Fix initialization code.
8462 (ctor): Eliminate redundant this->init(), let base class initialize.
8463 (default ctor): New. Assume base classes already initialzed.
8464 * bits/std_istream.h: Parallel work to ostream.
8465 (ctor): Eliminate redundant this->init(), let base class initialize.
8466 (default ctor): New. Assume base classes already initialzed.
8467 Fix initialization of basic_iostream.
8469 * bits/std_fstream.h: While we're at it, make initializations sane
8470 here too. Now matches sstream.h.
8472 * bits/string.tcc: Fix crash in basic_string::compare.
8473 * bits/basic_string.h: And here.
8474 * bits/c++config.h: Add comment about _G_USE_EXCEPTIONS.
8476 * testsuite/make_check_libfree++: Check shared as well.
8477 * testsuite/27/27stringstream.cc: Add bits.
8478 * testsuite/27/27boolfmt.cc: Add bits.
8479 * testsuite/27/27octfmt.cc: Add bits.
8481 1999-03-17 Benjamin Kosnik <bkoz@happy.cygnus.com>
8483 * configure.in (USE_LONG_DOUBLE): signbitl link error.
8485 * bits/locfacets.h: Fix errors that cause build problems
8486 with current egcs (template parameters have class scope).
8487 * bits/locfacets.tcc: Same.
8488 * src/locale-inst.cc: Same, clean.
8489 * src/misc-inst.cc: Same, clean.
8491 1999-03-17 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8493 * stl/bits/std_memory.h: Modify auto_ptr::reset to reflect the
8494 standard. Re-apply this previous patch.
8496 1999-03-17 Philip Martin <pm@corris.dircon.co.uk>
8498 * bits/basic_string.h: Use __normal_iterator<> for iterators.
8499 * bits/std_sstream.h: Support __normal_iterator<> iterators.
8500 * bits/string.tcc: Ditto.
8501 * src/misc-inst.cc: Ditto.
8502 * src/locale-inst.cc: Ditto.
8503 * stl/bits/stl_iterator.h: Add __normal_iterator<>.
8504 * stl/bits/stl_vector.h: Use __normal_iterator<> for iterators.
8505 * testsuite/24/24iterator.cc: Add test cases for basic_string and
8508 1999-03-16 Benjamin Kosnik <bkoz@cygnus.com>
8510 * bits/locfacets.tcc: Remove macro hack.
8511 * bits/locfacets.h: Tweaks.
8512 * src/misc-inst.cc: Weed out locale-related instantiations.
8513 * src/locale-inst.cc: Same.
8515 * RELEASE-NOTES: Make more changes.
8516 * bits/c++config.h: Bump version number.
8518 * testsuite/make_check_libfree++: Collect diagnostics.
8520 * bits/std_ostream.h: Fix ostream initialization/destruction
8521 problem, related to dtor cleanup and new cached facets, agggggggh.
8522 * bits/ostream.tcc: Tweak.
8523 * bits/locfacets.h: Remove all friends of iostream classes.
8524 * bits/ios_base.h: Same.
8525 * bits/streambuf.tcc: Tweak.
8526 * bits/std_streambuf.h: Tweak.
8527 * bits/std_fstream.h: Tweak.
8528 * bits/fstream.tcc: Tweak.
8529 * src/stdstreams.cc: Tweak.
8530 * src/ios.cc: Close streams.
8532 * math/Makefile.in: Add missing files for shared link errors.
8533 * math/Makefile.am: Same.
8535 1999-03-15 Benjamin Kosnik <bkoz@cygnus.com>
8537 * src/locale-inst.cc: More wchar_t instantiations.
8538 * src/misc-inst.cc: Missed a few bits.
8539 * testsuite/make_check_libfree++: Add static and shared runs.
8540 * src/ios.cc: Add clarity to ios_base::Init::~Init().
8542 1999-03-15 Benjamin Kosnik <bkoz@cygnus.com>
8544 * bits/std_ostream.h: Format, expunge, simplify. Add cached
8545 facets. Resolve link errors.
8546 * bits/ostream.tcc: Same.
8547 * src/misc-inst.cc: Add ostream, wostream instantiations.
8548 * src/Makefile.am: Add missing bits for stdstreams.cc.
8549 * src/Makefile.in: Same.
8550 * bits/std_iosfwd.h: Format.
8551 * bits/locfacets.h (num_put): Add basic_ostream as a friend to
8552 num_put so that cached _M_fnumput pointer can be deleted in
8553 basic_ostream's dtor. Now everybody plays nice.
8555 1999-03-12 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
8557 * bits/gslice.h (class gslice): Make friends valarray,
8558 gslice_array and _GliceExpression.
8560 1999-03-11 Benjamin Kosnik <bkoz@cygnus.com>
8562 * RELEASE-NOTES: Update.
8563 * src/ios.cc: Use do proper init.
8564 * bits/std_streambuf.h: Tweak.
8565 * bits/std_iostream.h: Take out static member.
8566 * std/iostream: Put here.
8567 * bits/std_ostream.h: Non-default ctor shouldn't smash _M_streambuf.
8568 * bits/std_istream.h: Ditto.
8569 * bits/basic_ios.h: Format.
8570 * bits/ostream.tcc(write): Fix.
8571 * bits/fstream.tcc: Fix stdstreams ctor to do a proper
8572 initialization of the fstream class.
8573 * src/stdstreams.cc: I'm baaaaaaaack.
8575 1999-03-10 Benjamin Kosnik <bkoz@rhino.cygnus.com>
8577 * bits/ios_base.h: Correct comments. Add ios_base::init()
8578 functionality. Format, tweak, expunge, clean, bathe, and hang to dry.
8579 * src/misc-inst.cc: Add instantiations here.
8580 * src/ios.cc: Clean.
8581 * bits/std_iostream.h: Add wrappers, global ios_base::Init object.
8582 * src/stdstreams.cc: Delete this file, as now unnecessary.
8583 * bits/fstream.tcc: Add missing initialization bits for ctor.
8584 * src/Makefile.am (libstdc___la_SOURCES): Delete here as well.
8585 * src/Makefile.in (libstdc___la_OBJECTS): And here.
8587 * bits/streambuf.tcc: Tweak.
8588 * bits/sstream.tcc: Here too.
8590 * bits/fstream.tcc: And change definition as well.
8591 * bits/std_fstream.h: Change ctor.
8592 * src/basic_file.cc (sys_open): Add call that opens a specific fileno.
8593 * bits/basic_file.h: Add declarations.
8595 * testsuite/27/27hello.cc: New file.
8597 * bits/std_ostream.h: Move flush() inline.
8598 * bits/ostream.tcc: From here.
8600 * bits/char_traits.h: Add include of fpos.h for streamoff/streampos.
8601 * bits/std_ios.h: Change include libio to only when necessary.
8602 * bits/fpos.h: Like here.
8603 * ios_base.h: And here.
8605 * bits/locfacets.h: Change _Iostate to _Ios_Iostate.
8606 * bits/locfacets.tcc: Same.
8607 * bits/std_locale.h: Include std_ios.h not std_iosfwd.h.
8608 * bits/std_iosfwd.h: Move _Ios_Iostate to ios_base.h
8610 1999-03-09 Benjamin Kosnik <bkoz@rhino.cygnus.com>
8612 * bits/basic_ios.h: Change _M_ctype to _M_fctype.
8614 * bits/std_streambuf.h: Clean, tweak.
8615 * bits/std_fstream.h: Same.
8616 * bits/std_sstream.h: Same.
8617 * bits/streambuf.tcc: Move most member functions out-of-line.
8618 * bits/fstream.tcc: Same.
8619 * bits/streambuf.tcc: Same.
8621 * bits/basic_file.h(filepos_cur): Set correctly.
8622 (filepos_beg): Same.
8623 (seekpos): Change to __c_streampos.
8624 * src/basic_file.cc (std): Change to __c_streampos.
8626 * testsuite/27/27filebuf.cc: Round one is finished.
8627 * testsuite/27/27filebuf-2.tst: New file, final output should match.
8628 * testsuite/27/27filebuf-3.tst: Same.
8630 1999-03-08 Benjamin Kosnik <bkoz@rhino.cygnus.com>
8632 * bits/basic_file.h: Fix typo, add comments about what to expect
8633 from the various member functions in __basic_file.
8635 * bits/std_fstream.h: Re-do sync/underflow to work
8636 together. Change from sys_read to xsgetn and from sys_write to
8637 xsputn. As it should have been from the beginning. . .
8639 1999-03-06 Benjamin Kosnik <bkoz@haight.constant.com>
8641 * bits/c++config.h (__GLIBCPP__): Add versioning macro.
8643 * bits/basic_file.h(file_beg): New function.
8646 * testsuite/27/27filebuf.cc: Test in, out, in | out.
8647 * bits/std_fstream.h: More _M_mode refinements.
8648 (synch): Add bits for out mode only.
8649 * bits/std_streambuf.h(xsputn): Correct for filebufs.
8650 * bits/std_sstream.h: Ditto.
8652 1999-03-03 Benjamin Kosnik <bkoz@cygnus.com>
8654 * bits/std_fstream.h: Fix _M_mode AND with ios_base::openmode.
8655 * testsuite/27/27filebuf.cc: Modify.
8656 * bits/c++config.h: Fix.
8658 1999-03-02 Benjamin Kosnik <bkoz@tintin.cygnus.com>
8660 * bits/c++config.h: New macro, _G_RESOLVE_LIB_DEFECTS, used to put
8661 code in place that diverges from the final standard, but has been
8662 brought up on the library mailing list.
8664 * bits/std_fstream.h(underflow): Position all three internal
8665 buffer pointers at the same initial position. Re-implement with
8666 basic_filebuf abstraction.
8670 * bits/std_sstream.h: Move _M_mode down into base class
8672 * bits/sstream.tcc: Ditto.
8673 * bits/std_streambuf.h: Ditto.
8675 * testsuite/27/27filebuf.cc: Tweak.
8677 1999-02-27 Benjamin Kosnik <bkoz@slap-happy.cygnus.com>
8679 * bits/std_sstream.h: Ditto.
8680 * bits/std_fstream.h: Fix blip.
8682 1999-02-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
8684 * C++STYLE: Add cases.
8685 * bits/std_fstream.h: Format.
8686 * bits/std_streambuf.h: Ditto.
8687 * bits/std_sstream.h: Ditto.
8689 * src/basic_file.cc(sys_seek): Fix stack delirium, by keeping
8690 return type for _IO_file_seek and __basic_file::seek the same size.
8691 * bits/basic_file.h: Ditto.
8693 1999-02-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
8695 * bits/fstream.tcc: Add include guards.
8696 * src/misc-inst.cc: Add instantiations for shared libes.
8697 * src/locale-inst.cc: Add instantiaions for use_facet.
8698 * bits/loccore.h: Remove specialization foward decls for
8699 use_facet<ctype>: perhaps add the whole lot of them later on.
8700 * bits/std_fstream.h: Fix.
8701 * bits/locfacets.h: Ditto.
8702 * src/stdstreams.cc: Disable wide streams for now.
8704 * src/Makefile.am (CXXFLAGS): Change up.
8705 * src/Makefile.in (CXXFLAGS): Ditto.
8707 1999-02-25 Benjamin Kosnik <bkoz@happy.cygnus.com>
8709 * src/basic_file.cc: Change to ios_base::seekdir from int.
8710 * bits/basic_file.h: Ditto.
8711 * bits/locfacets.h : Fix blip with new guard macros.
8713 1999-02-25 Benjamin Kosnik <bkoz@cygnus.com>
8715 * stl/bits/stl_config.h (__STL_USE_STD_ALLOCATORS): Minor tweaking.
8716 * bits/c++config.h: Clean. Remove _G_NO_STREAMBUF_ITERATORS and
8718 * amm1/locale: Remove unused defines.
8719 * generic/locale: Ditto.
8720 * src/ios.cc: Ditto.
8721 * src/locale.cc: Ditto.
8722 * src/locale-inst.cc: Ditto.
8723 * src/localename.cc: Ditto.
8724 * src/stdstreams.cc: And here.
8726 * bits/c++config.h (_G_USE_WCHAR_T): Fix.
8727 * bits/loccore.h: Simplify, clean, add wchar_t guards.
8728 * bits/loccore.tcc: Ditto.
8729 * bits/locfacets.h: Ditto.
8730 * src/locale-inst.cc: Ditto.
8731 * bits/locfacets.tcc: Add do_put long long here.
8733 1999-02-24 Benjamin Kosnik <bkoz@cygnus.com>
8735 * bits/std_streambuf.h: Add cached ctype facet, _M_ctype.
8736 * bits/basic_ios.h: Clean. Replace _M_strbuf with
8737 _M_streambuf. Use cached _M_cvt in basic_streambuf.
8738 * bits/std_istream.h: Replace _M_strbuf with _M_streambuf.
8739 * bits/std_fstream.h: Tweak.
8741 * bits/char_traits.h: Remove fpos definitions from here. . .
8742 * bits/fpos.h: New file, put them here. Eventually, this may allow
8743 the severing of char_traits and fpos dependancies.
8744 * src/Makefile.in: Add fpos.h.
8745 * src/Makefile.am: Ditto.
8746 * bits/std_string.h: Add fpos.h include here.
8747 * bits/std_ios.h: And here.
8749 * bits/std_streambuf.h: Change _M_init to _M_initialized.
8750 * bits/ios_base.h: Remove cstdio include.
8751 * bits/std_ios.h: ... Place here.
8753 1999-02-23 Benjamin Kosnik <bkoz@loony.cygnus.com>
8755 * src/Makefile.in (CXXFLAGS): Re-add -fvtable-thunks.
8756 * src/Makefile.am (CXXFLAGS): Re-add -fvtable-thunks.
8758 * bits/basic_file.h: Comment, adjust arguments.
8759 * src/basic_file.cc: Ditto.
8761 * bits/std_fstream.h(seekoff): Error is of fpos type, not integral
8762 type: check and convert accordingly. Re-interpet "resultant stream
8763 position" to indicate external byte sequence location, not internal
8766 1999-02-22 Benjamin Kosnik <bkoz@loony.cygnus.com>
8768 * mkcshadow: And change copyright here.
8769 * src/Makefile.am (CXXFLAGS): Add -g -O2. Add new header
8770 dependencies for stl_pthread_alloc.h, pthread_allocimpl.h,
8771 stl_thread.h, and stl_iterator_base.h.
8772 * src/Makefile.in (CXXFLAGS): Ditto.
8773 * stl/backward/pthread_alloc.h: Remove.
8775 1999-02-19 Benjamin Kosnik <bkoz@loony.cygnus.com>
8777 * bits/std_streambuf.h (sungetc): Use standard defs for putback
8779 * bits/std_fstream.h (pbackfail): Correct.
8781 (seekoff): Implement.
8783 * testsuite/27/27filebuf.cc: Add test cases.
8785 1999-02-18 Benjamin Kosnik <bkoz@loony.cygnus.com>
8787 * bits/std_fstream.h: Go with basic_file's interfaces for dealing
8788 with the external buffers, and stop mucking around with setting
8789 and re-setting the external buf's pointers. Aka, clarity and
8790 simplicity rule the day.
8791 * src/locale.cc: Use memcpy in codecvt::do_in and codecvt::do_out.
8792 Remove partial result and support code.
8794 1999-02-18 Ulrich Drepper <drepper@cygnus.com>
8796 * configure.in: Add hypot, hypotf, atan2f, expf, and copysignf to
8797 list of function which have to be replaced.
8798 Remove expf from list of functions to test for.
8799 Define USE_LONG_DOUBLE in case the libm has partial support for long
8801 * Makefile.in: Regenerated.
8802 * config.h.in: Likewise.
8803 * configure: Likewise.
8804 * libio/Makefile.am (LIBIO_SRCS): Add missing backslash.
8805 * libio/Makefile.in: Regenerated.
8806 * src/Makefile.in: Regenerated.
8807 * string/Makefile.in: Regenerated.
8808 * math/Makefile.am (EXTRA_DIST): Add hypot.c, hypotf.c, hypotl.c,
8809 atan2f.c, expf.c, and $(EXTRA_yes).
8810 (EXTRA_yes): Add signbitl.c mycabsl.c.
8811 (libmath_la_LIBADD): Add $(EXTRA_$(USE_LONG_DOUBLE)).
8812 (libmath_la_SOURCES): remove long double versions.
8813 * math/Makefile.in: Regnerated.
8814 * math/atan2f.c: New file.
8815 * math/copysignf.c: New file.
8816 * math/expf.c: New file.
8817 * math/hypot.c: New file.
8818 * math/hypotf.c: New file.
8819 * math/hypotl.c: New file.
8820 * math/cargf.c: Use correct function and macro names.
8821 * math/ccos.c: Likewise.
8822 * math/ccosh.c: Likewise.
8823 * math/ccoshf.c: Likewise.
8824 * math/ccoshl.c: Likewise.
8825 * math/cexp.c: Likewise.
8826 * math/cexpf.c: Likewise.
8827 * math/cexpl.c: Likewise.
8828 * math/clog.c: Likewise.
8829 * math/clog10.c: Likewise.
8830 * math/clog10f.c: Likewise.
8831 * math/clog10l.c: Likewise.
8832 * math/clogf.c: Likewise.
8833 * math/clogl.c: Likewise.
8834 * math/copysignf.c: Likewise.
8835 * math/csin.c: Likewise.
8836 * math/csinf.c: Likewise.
8837 * math/csinh.c: Likewise.
8838 * math/csinhf.c: Likewise.
8839 * math/csinhl.c: Likewise.
8840 * math/csinl.c: Likewise.
8841 * math/csqrt.c: Likewise.
8842 * math/csqrtf.c: Likewise.
8843 * math/csqrtl.c: Likewise.
8844 * math/ctan.c: Likewise.
8845 * math/ctanf.c: Likewise.
8846 * math/ctanh.c: Likewise.
8847 * math/ctanhf.c: Likewise.
8848 * math/ctanhl.c: Likewise.
8849 * math/ctanl.c: Likewise.
8851 1999-02-17 Benjamin Kosnik <bkoz@cygnus.com>
8853 * testsuite/27/27filebuf.cc: Add cases.
8854 * testsuite/27/27filebuf-1.txt: Remove inadvertent garbage.
8855 * bits/std_streambuf.h: Simplify, always have one return statement.
8856 * bits/std_fstream.h: Tweak comments in underflow.
8858 1999-02-17 Ulrich Drepper <drepper@cygnus.com>
8860 * ltmain.sh: Update from libtool 1.2d and fix Solaris problems.
8861 * ltconfig: Likewise.
8863 1999-02-16 Christophe Pierret <cpierret@businessobjects.com>
8865 * src/locale.cc: Fix assert.
8867 1999-02-16 Benjamin Kosnik <bkoz@cygnus.com>
8869 FIXME: Still need some kind of solution for undefined math symbols.
8870 * src/Makefile.in (locale-inst.lo): Compile with
8871 -fimplicit-templates to fix Solaris link problem.
8872 * src/Makefile.am: Ditto.
8873 * libio/Makefile.in: Add stdfiles.c so that _IO_list_all is defined.
8874 * libio/Makefile.am: Ditto.
8875 * src/locale.cc: Provide some kind of def for _S_tolower.
8876 * bits/locfacets.h: Fix declarations of ctype<wchar_t> to
8877 match ctype<char> for _S_tolower, _S_toupper, _S_table.
8879 1999-02-10 Benjamin Kosnik <bkoz@cygnus.com>
8881 * bits/loccore.tcc: Move member-template ctor inline...
8882 * bits/loccore.h: ...here.
8883 * src/locale-inst.cc: Add instantiation here.
8885 * testsuite/27/27stringstream.cc: Tweak.
8887 * bits/ostream.tcc: Include sbuf_iter.h.
8889 * bits/ostream.tcc: Convert *this to ostreambuf_iterator before
8890 passing to num_put, as num_put's first argument is an interator,
8893 * testsuite/make_check_libfree++: New file, runs through the
8894 existing test files in the testsuite directory and makes sure
8897 1999-02-10 Brendan Kehoe <brendan@cygnus.com>
8899 * testsuite/21/21compare.cc: Fix typo.
8900 * src/locale.cc (ctype<wchar_t>::_S_{toupper,tolower,table}):
8901 Don't try to provide non-linux versions, since it's impossible to
8902 initialize their const references with the integer 0, no matter
8903 how we try to cast it.
8905 1999-02-10 Benjamin Kosnik <bkoz@cygnus.com>
8907 * bits/std_locale.h: Move std_vector.h dependency.
8908 * bits/std_ios.h: ...from here.
8909 * bits/std_string.h: ...and here.
8910 * src/locale.cc: ..to here.
8911 * bits/loccore.h: Ditto, add vector forward declaration,
8912 make locale::_Impl data members pointers not containers.
8913 * bits/loccore.tcc: Move out-of-line for now.
8914 * bits/locfacets.h: Move vector dependency from here...
8915 * bits/locfacets.tcc: ...to here.
8916 * src/localename.cc: ..and here.
8917 * src/locale-inst.cc: Add include of locfacets.tcc here.
8919 * stl/bits/stl_string_fwd.h: Make __get_c_string non-static.
8920 * bits/basic_string.h: Can't use sizeof on an incomplete type.
8921 * bits/string.tcc: Tweak.
8922 * src/string.cc: And add __get_c_string def here.
8924 * bits/std_fstream.h: Yeah, comment the fill_n idea out as impractical.
8926 * src/stlinst.cc: Add include of stl_config.h.
8928 1999-02-09 Benjamin Kosnik <bkoz@cygnus.com>
8930 * stl/bits/std_bitset.h: Update to SGI STL 3.12.
8931 * stl/bits/stl_config.h: Tweak, update.
8932 * stl/bits/std_stdexcept.h: Ditto, change stl_exception to
8934 * stl/bits/std_memory.h: Reconstructed auto_ptr, Ditto.
8935 * stl/bits/std_functional.h: Ditto.
8937 * stl/bits/stl_string.h: New file, SGI's string
8938 implementation. For reference only, corresponding to string in
8940 * stl/bits/stl_char_traits.h: As above.
8942 * stl/bits/pthread_allocimpl.h: New file corresponding to
8944 * stl/bits/stl_pthread_alloc.h: New file corresponding to
8946 * stl/bits/stl_threads.h: New file.
8948 Note that SGI STL 3.12's file iterator.h is not used.
8949 * stl/bits/std_iterator.h: Ditto.
8950 * stl/bits/stl_iterator.h: Drop in replace.
8951 * stl/bits/stl_iterator_base.h: New file, drop in replace.
8953 * stl/bits/stl_queue.h, stl_rope.h, stl_set.h, stl_stack.h,
8954 stl_string_fwd.h, stl_tempbuf.h, stl_tree.h, stl_vector.h,
8955 stl_pair.h, stl_multimap.h, stl_multiset.h, stl_list.h,
8956 stl_hashtable.h, stl_hash_set.h, stl_hash_map.h, stl_function.h,
8957 stl_deque.h, stl_alloc.h, stl_algo.h, stl_algobase.h, ropeimpl.h:
8958 Drop-in replace (ie, stop changing __SGI_STL_* to _CPP_BITS_* for
8959 preprocessor guards, but fixup include paths and names according
8960 to new directory layout).
8962 1999-02-05 Benjamin Kosnik <bkoz@cygnus.com>
8964 * bits/std_fstream.h: Remove _M_open data member.
8965 * bits/fstream.tcc: Ditto.
8967 * src/locale.cc: Tweak.
8969 * bits/std_sstream.h: Simplify.
8971 * bits/std_streambuf.h: Simplify.
8972 (sputc): Use correct definition of "write area."
8974 * bits/std_fstream.h: Fix uflow.
8975 * src/basic_file.cc: Tweak.
8976 * testsuite/27/27filebuf.cc: Add tests.
8977 * testsuite/27/27filebuf-3.txt: Rename to *-2.txt.
8979 1999-02-02 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8981 * bits/ios_base.h: Make protected.
8983 1999-02-01 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8985 * bits/ios_base.h: Changes in the class ios_base:
8986 Rename _M_exceptions member to _M_exceptions_data.
8987 Make the member functions rdstate(), clear(), exceptions()
8988 and exceptions(iostate) protected and add the "_M_" prefix.
8989 * src/ios.cc: Ditto.
8990 * bits/basic_ios.h: Adapt the changes from ios_base.
8992 1999-01-29 Benjamin Kosnik <bkoz@cygnus.com>
8994 * bits/std_fstream.h: Remove _M_flags, _M_equilibrate as unnecessary.
8995 * bits/fstream.tcc: Ditto.
8997 * bits/std_fstream.h (underflow): Resize deallocates memory and
8998 resets pointers in the internal cache according to new _M_buf. . dooh!
8999 * src/locale.cc: Mas changes with codecvt::do_in, do_out.
9001 1999-01-29 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
9003 * stl/bits/std_memory.h: Modify auto_ptr::reset to reflect the
9006 1999-01-28 Benjamin Kosnik <bkoz@cygnus.com>
9008 * src/locale.cc (codecvt::do_in): Finer-grained tuning to take
9009 into account partial returns.
9010 (codecvt::do_out): Likewise.
9012 * bits/char_traits.h: Change streamsize to be a signed type, as
9013 required by 27.4.1 Types p 2. (Changing to _IO_ssize_t.)
9014 * bits/std_streambuf.h: Make
9015 in_avail() and showmanyc() have streamsize as return types, so
9016 that showmanyc()'s return of eof won't underflow in_avail's return
9017 value and give a bogus result.
9018 * src/misc-inst.cc: And more changes. . .
9020 * bits/std_streambuf.h (basic_streambuf): Add _M_buf_unified to keep
9021 track of joint in/out pointers into the internal buffer.
9022 (sbumpc): Add check for _M_buf_unified.
9026 * testsuite/27/27filebuf.cc: Add cases.
9027 * testsuite/27/27stringbuf.cc: Add showmanyc case.
9029 * bits/std_fstream.h (close): Fix logic error.
9030 (open): Initialize internal pointers based on _M_buf and _M_buf_size.
9031 (showmanyc): Add underflow component, to match the standard.
9033 * bits/fstream.tcc: Ditto.
9035 1999-01-27 Benjamin Kosnik <bkoz@cygnus.com>
9037 * bits/basic_file.h: Match vtables w/ _IO_FILE_plus.
9038 * src/basic_file.cc: Ditto.
9039 * src/Makefile.in: Add -fvtable-thunks to CXXFLAGS: preferred
9040 format for dealing with _IO_file in libio.
9042 1999-01-27 Ulrich Drepper <drepper@cygnus.com>
9044 * src/basic_file.cc: Include fcntl.h.
9046 1999-01-27 Benjamin Kosnik <bkoz@cygnus.com>
9048 * libio/Makefile.in: Add fileops.lo, genops.lo to objects to debug
9050 * bits/std_streambuf.h: Redefine read posion.
9052 * bits/std_fstream.h: Temporary hack to get vtables working again.
9053 * bits/basic_file.h: Revert.
9054 * src/basic_file.cc: Ditto.
9055 * testsuite/27/27filebuf.cc: Tweak.
9057 1999-01-26 Benjamin Kosnik <bkoz@cygnus.com>
9059 * bits/basic_file.h: Add showmanyc, underflow. .
9060 * src/basic_file.cc: Ditto.
9062 * bits/std_fstream.h (showmanyc): Add bits to ping libio to see if more
9065 * testsuite/27/27filebuf.cc: Add testcases.
9066 * src/basic_file.cc: Add O_CREAT to open calls with
9067 ios_base::trunc as part of the open mode.
9069 1999-01-26 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
9071 * bits/basic_ios.h: fix basic_ios::exceptions(iostate)
9073 1999-01-25 Benjamin Kosnik <bkoz@nabi.net>
9075 * src/ios.cc (clear): Correct typo.
9076 * bits/ios_base.h: Tweak spacing.
9078 1999-01-25 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
9080 * bits/basic_ios.h: fix basic_ios::fail()
9082 1999-01-25 Benjamin Kosnik <bkoz@loony.cygnus.com>
9084 * bits/basic_file.h: Include libioP.h from libio instead of here.
9085 * bits/iolibio.h: Remove.
9086 * bits/libio.h: Remove.
9088 1999-01-22 Benjamin Kosnik <bkoz@lunatic.cygnus.com>
9090 * bits/std_fstream.h: Tweak cvt-> in call for newer egcs compilers.
9092 1999-01-22 Ulrich Drepper <drepper@cygnus.com>
9094 * Makefile.am (SUBDIRS): Add libio.
9095 * configure.in: Add rule to test for glibc2.
9097 * src/Makefile.am (INCLUDES): Add -I to libio subdir.
9098 (libstdc___la_LIBADD): Add libio.la.
9100 1999-01-21 Benjamin Kosnik <bkoz@cygnus.com>
9102 * bits/basic_file.h: Make new abstraction for underlying C library
9103 FILE, named __basic_file.
9104 * src/basic_file.cc: New file.
9105 * bits/os_raw.h: Delete.
9106 * src/os_raw.cc: Delete.
9107 * src/Makefile.in: Tweak.
9108 * src/Makefile.am: Tweak.
9109 * bits/iolibio.h: Add this here, for the time being.
9110 * bits/libioP.h: Ditto.
9112 * bits/ios_base.h: Delete unused defines.
9113 * src/locale.cc (codecvt<char, char, mbstate_t>::do_in): Use
9114 strcpy to copy between the two buffers.
9116 * testsuite/27/27stringbuf.cc: Change license, fix in_avail tests.
9117 * testsuite/27/27filebuf.cc: New file.
9118 * testsuite/27/27filebuf-1.txt: Data file for above test.
9119 * testsuite/27/27filebuf-2.txt: Ditto.
9121 * bits/std_streambuf.h (uflow): Re-implement default.
9122 * bits/std_fstream.h: Set _M_buf_size based on cstdio's BUFSIZ.
9123 Re-implement virtual functions.
9124 * bits/fstream.tcc: Delete unused mf's.
9126 1998-12-31 Benjamin Kosnik <bkoz@lunatic.cygnus.com>
9128 * bits/fstream.tcc: Add fstream ctor for cin/cout/etc.
9129 * bits/std_fstream.h: Ditto.
9130 * src/stdstreams.cc: Ditto.
9132 * math/cpowl.c: Fix header typo with last change.
9134 1998-12-31 Benjamin Kosnik <bkoz@loony.cygnus.com>
9136 * COPYING: New file (GPL v 2).
9137 * LICENSE.STD: Remove.
9138 * ./*: Change license.
9140 1998-12-30 Benjamin Kosnik <bkoz@haight.constant.com>
9142 * bits/std_streambuf.h (std): Remove static on _M_init.
9143 * bits/streambuf.tcc (std): Ditto.
9145 * bits/std_fstream.h: Add changes as discussed with Nathan, including
9146 state_type and codecvt_type members, the allocation of an internal
9147 buffer, the streamlined codecvt calls, etc.
9149 1998-12-21 Benjamin Kosnik <bkoz@haight.constant.com>
9151 * bits/std_sstream.h: Tweak.
9152 * bits/fstream.tcc: Remove unused stubs.
9153 * bits/std_fstream.h: Tweak.
9155 1998-12-17 Benjamin Kosnik <bkoz@tintin.cygnus.com>
9157 * bits/std_streambuf.h: Move _IO_file_flags into basic_filebuf.
9158 Remove unused _IO_* members, possibly put into filebuf, which may
9160 * bits/std_fstream.h: Add _M_flag.
9161 * bits/sbuf_iter.h: Tweak.
9163 * bits/std_cstdio.h: Add SEEK_SET, SEEK_END, SEEK_CUR.
9164 * bits/ios_base.h: Use.
9166 * src/stdstreams.cc: Modify to reflect standard ctors for
9168 * src/misc-inst.cc: Ditto.
9170 * bits/os_raw.h: Wrap in std namespace. Model parameters on
9171 underlying C library calls instead of the underlying unix
9173 * src/os_raw.cc (_S_os_open): Use fopen, and compute a mode
9174 string as per p.659.
9175 (_S_os_close): Model on fopen.
9176 (_S_os_read): Model on fread.
9177 (_S_os_write): Model on fwrite.
9178 (_S_os_seek): Model on fseek.
9180 * bits/ios_base.h: Tweak.
9181 * bits/std_iosfwd.h: Wrap libio.h include with extern "C".
9182 * bits/std_sstream.h: Tweak.
9183 * bits/sstream.tcc: Remove old, uncalled code.
9184 * bits/std_fstream.h: Major reconstruction.
9185 * bits/fstream.tcc: Disable for the time being.
9187 1998-12-11 Benjamin Kosnik <bkoz@haight.constant.com>
9189 * bits/basic_string.h: Fix insert method.
9190 * stl/bits/stl_iterator.h: Remove previous hack.
9191 * bits/std_streambuf.h (sbumpc): Correct increment/return oddness.
9192 * bits/std_sstream.h: Fix more regressions.
9193 * testsuite/27/27stringbuf.C: Add (almost) complete tests.
9195 1998-12-09 Benjamin Kosnik <bkoz@loony.cygnus.com>
9197 * bits/basic_string.h: Tweak.
9199 * stl/bits/stl_iterator.h: Specialize iterator_traits for int so
9200 that string::append can be instantiated. HACK--checkin
9201 basic_string::iterator class.
9203 1998-12-07 Benjamin Kosnik <bkoz@haight.constant.com>
9205 * bits/std_sstream.h: Tweak.
9206 * bits/sstream.tcc: Tweak ctors.
9208 FIXME invalid friend defs. . WHERE ARE THEY??
9210 * bits/sbuf_iter.h (istreambuf_iterator::equal): Change to new
9211 names for basic_streambuf data members.
9213 * bits/std_streambuf.h: Add getloc() initialization bits.
9214 basic_streambuf(): Initialize with global locale data.
9215 imbue(): Set _M_init.
9217 * bits/std_streambuf.h(seekoff, seekpos): Complete with invalid
9218 stream pos == pos_type(off_type(-1)).
9219 in_avail(): Complete default implementation.
9220 snextc, sbumpc, sputbackc, sungetc, sputc, setg, xsputn,
9221 underflow, uflow, xsgetn, showmany, sync: Ditto.
9223 * bits/std_streambuf.h: _M_snextc_helper(): Remove.
9225 * bits/streambuf.tcc (sputbackc): Temporarily remove, need to
9226 re-populate with in-line member functions that are too big. Add
9227 initialization for _M_init.
9229 1998-12-03 Benjamin Kosnik <bkoz@cygnus.com>
9231 * bits/sstream.tcc: Convert _Allocator to _Alloc. Add typedefs
9232 for basic_string and basic_streambuf. Scope _IO_buf_* pointers to
9235 * src/stdstreams.cc (std): Disable wchar_t instantiations.
9237 * bits/c++config.h (_G_DEPRICATED): Add.
9238 (_G_USE_WCHAR_T): Add.
9239 * bits/std_streambuf.h: Radical reconstruction of basic_streambuf.
9240 Take out _Streambuf_base. Put _IO_FILE data member in basic_filebuf.
9241 * bits/streambuf.tcc (sputbackc): Remove ctor anti-def, Tweak.
9242 * bits/std_fstream.h: Add comment for implementation.
9243 * src/streambuf.cc: Remove.
9244 * src/Makefile.in: Remove streambuf.lo.
9245 * src/misc-inst.cc: Tweak.
9247 1998-12-02 Benjamin Kosnik <bkoz@cygnus.com>
9249 * bits/std_sstream.h: Add const_cast to rdbuf returns.
9250 * testsuite/27stringstream.C: Modify.
9252 1998-11-25 Benjamin Kosnik <bkoz@haight.constant.com>
9254 * src/Makefile.in (libstdc___la_OBJECTS): Add streambuf.lo.
9255 (libstdc___la_SOURCES): Ditto.
9257 * bits/streambuf.tcc: Tweak.
9259 * src/streambuf.cc: New file, add out-of-line definitions for
9262 * src/misc-inst.cc: Remove _Streambuf_base instantiations.
9263 Comment out wchar_t versions of the buffer instantiations, for now.
9265 * bits/std_streambuf.h: Wrap libio.h include with extern "C".
9266 Remove template wrapper around _Streambuf_base.
9267 Move IO_* data members into _Streambuf_base.
9268 Move _Streambuf_base members into streambuf.tcc.
9270 * bits/c++config.h (_G_USE_LIBIO): Enable.
9272 1998-11-02 Nathan Myers <ncm@cantrip.org>
9274 * CHECKLIST: downgrade iterator implementations
9275 * DESIGN: fill out notes about unimplemented features
9277 1998-10-31 Nathan Myers <ncm@cantrip.org>
9279 * CHECKLIST: itemized list of all interfaces, and status of each.
9281 1998-10-30 Nathan Myers <ncm@cantrip.org>
9283 * RELEASE-NOTES: add notes about optional includes, linking, running
9284 * src/Makefile.am: handle header installs properly
9285 * src/Makefile.in: regenerate from new src/Makefile.am
9287 1998-10-30 Benjamin Kosnik <bkoz@loony.cygnus.com>
9289 * bits/basic_string.h: Revert npos pending ciso646.
9290 * src/Makefile.am: Revert CXX flags for now.
9291 * src/Makefile.in: Ditto.
9293 1998-10-30 Brendan Kehoe <brendan@cygnus.com>
9295 * bits/std_sstream.h: Re-order ctors to put base before member
9298 1998-10-30 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
9300 * stl/bits/std_memory.h: Fix typo.
9302 1998-10-30 Nathan Myers <ncm@cantrip.org>
9304 * src/string[A-Z]+.cc: change back to include "string.cc".
9305 * src/Makefile.am: revert filename changes. We need a different
9306 way to keep filenames in std/ from confusing Make.
9307 * bits/basic_string.h: define _S_max_size right, return it from
9308 string::max_size(); churn definition of npos again.
9309 * bits/string.tcc: fix _S_frob_size to avoid uint overflow.
9310 * bits/ios.cc: remove #ifdef on ios_base locale member initialization
9311 * BUGS: clear cruft.
9312 * C++STYLE: Touchup for release.
9313 * CHECKLIST: Touchup for release.
9315 * LICENSE.STD: Add requirement to retain copyrights and to provide
9316 the license with any copies.
9317 * README: Update for release.
9318 * TODO: Minor touchup for release.
9319 * RELEASE-NOTES: prepare for release
9321 1998-10-29 Ulrich Drepper <drepper@cygnus.com>
9323 * src/string[A-Z]+.cc: Include stdstring.cc, not string.cc.
9325 * src/Makefile.am (CXXFLAGS): Define _GNU_SOURCE.
9327 * src/Makefile.am (CXXLINK): New variable. Make sure we don't use
9328 CXX to generate the shared object.
9330 * src/Makefile.am (headers): Remove duplicated char_traits.h.
9332 1998-10-29 Brendan Kehoe <brendan@cygnus.com>
9334 * bits/basic_string.h (basic_string<>::max_size): Subtract 1, not
9335 2, from npos, solving infinite loop problems.
9337 1998-10-29 18:41 Ulrich Drepper <drepper@cygnus.com>
9339 * src/Makefile.am: Add rules to install headers.
9341 1998-10-29 Nathan Myers <ncm@cantrip.org>
9343 * bits/std_ostream.h: Remove #ifdef on operator<< for long double
9344 * bits/ostream.tcc: Remove #ifdef on operator<< for long double
9347 * shadow/bits/wrap_libio.h:
9348 * shadow/bits/wrap_unistd.h: New files.
9350 1998-10-29 Brendan Kehoe <brendan@cygnus.com>
9352 * bits/ostream.tcc (operator<<): Wrap with #ifdef
9353 _G_HAVE_LONG_DOUBLE_IO, to match bits/std_ostream.h.
9355 1998-10-29 Ulrich Drepper <drepper@cygnus.com>
9357 * src/Makefile.am: Add temporarily rules to make sure misc-inst.cc
9358 is not compiled with -fno-implicit-templates in effect.
9360 * src/Makefile.am (EXTRA_SOURCES): Add string.cc and wstring.cc here.
9361 (libstdc___la_SOURCES): Add all the string*.cc and wstring*.cc files.
9362 * src/stringADDCS.cc: Wrapper around string.cc to define individual
9364 * src/stringADDPS.cc: Likewise.
9365 * src/stringADDSC.cc: Likewise.
9366 * src/stringADDSP.cc: Likewise.
9367 * src/stringADDSS.cc: Likewise.
9368 * src/stringBIST.cc: Likewise.
9369 * src/stringBOST.cc: Likewise.
9370 * src/stringCHTR.cc: Likewise.
9371 * src/stringEQPS.cc: Likewise.
9372 * src/stringEQSP.cc: Likewise.
9373 * src/stringEQSS.cc: Likewise.
9374 * src/stringEXTRA.cc: Likewise.
9375 * src/stringGEPS.cc: Likewise.
9376 * src/stringGESP.cc: Likewise.
9377 * src/stringGESS.cc: Likewise.
9378 * src/stringGETLI.cc: Likewise.
9379 * src/stringGTPS.cc: Likewise.
9380 * src/stringGTSP.cc: Likewise.
9381 * src/stringGTSS.cc: Likewise.
9382 * src/stringINSER.cc: Likewise.
9383 * src/stringLEPS.cc: Likewise.
9384 * src/stringLESP.cc: Likewise.
9385 * src/stringLESS.cc: Likewise.
9386 * src/stringLTPS.cc: Likewise.
9387 * src/stringLTSP.cc: Likewise.
9388 * src/stringLTSS.cc: Likewise.
9389 * src/stringMAIN.cc: Likewise.
9390 * src/stringNEPS.cc: Likewise.
9391 * src/stringNESP.cc: Likewise.
9392 * src/stringNESS.cc: Likewise.
9393 * src/stringSCOPY.cc: Likewise.
9394 * src/wstringADDCS.cc: Wrapper around wstring.cc to define individual
9396 * src/wstringADDPS.cc: Likewise.
9397 * src/wstringADDSC.cc: Likewise.
9398 * src/wstringADDSP.cc: Likewise.
9399 * src/wstringADDSS.cc: Likewise.
9400 * src/wstringBIST.cc: Likewise.
9401 * src/wstringBOST.cc: Likewise.
9402 * src/wstringCHTR.cc: Likewise.
9403 * src/wstringEQPS.cc: Likewise.
9404 * src/wstringEQSP.cc: Likewise.
9405 * src/wstringEQSS.cc: Likewise.
9406 * src/wstringEXTRA.cc: Likewise.
9407 * src/wstringGEPS.cc: Likewise.
9408 * src/wstringGESP.cc: Likewise.
9409 * src/wstringGESS.cc: Likewise.
9410 * src/wstringGETLI.cc: Likewise.
9411 * src/wstringGTPS.cc: Likewise.
9412 * src/wstringGTSP.cc: Likewise.
9413 * src/wstringGTSS.cc: Likewise.
9414 * src/wstringINSER.cc: Likewise.
9415 * src/wstringLEPS.cc: Likewise.
9416 * src/wstringLESP.cc: Likewise.
9417 * src/wstringLESS.cc: Likewise.
9418 * src/wstringLTPS.cc: Likewise.
9419 * src/wstringLTSP.cc: Likewise.
9420 * src/wstringLTSS.cc: Likewise.
9421 * src/wstringMAIN.cc: Likewise.
9422 * src/wstringNEPS.cc: Likewise.
9423 * src/wstringNESP.cc: Likewise.
9424 * src/wstringNESS.cc: Likewise.
9425 * src/wstringSCOPY.cc: Likewise.
9426 * src/string.cc: Remove now unneeded #defines now.
9428 1998-10-29 Nathan Myers <ncm@cantrip.org>
9430 * bits/locfacets.tcc: Define num_put::put(... const void*), improve
9432 * bits/ostream.tcc: Delete cruft, rewrite various op<< as members,
9433 add definitions for double, long double, const void*.
9434 * bits/std_ostream.h: Move op<<'s back into class ostream,
9435 define some in-line.
9436 * bits/string.tcc: fix unnecessary-copying bug in op[], typos in
9437 string construction from input iterators that Brendan reported.
9440 1998-10-28 Brendan Kehoe <brendan@cygnus.com>
9442 * stl/bits/stl_pair.h (op!=, op>, p<=, op>=): Add missing definitions.
9444 * bits/valarray_meta.h (class _Constant): Move declaration to the
9445 top, so the rest of the file can grok it.
9446 (_ApplyBinaryFunction::operator[]): Add missing parenthesis.
9448 * bits/std_sstream.h (basic_ostringstream::str): Fix typo of extra
9450 (basic_stringstream::str, both instances): Likewise.
9452 1998-10-28 Nathan Myers <ncm@cantrip.org>
9454 * bits/locfacets.h: fix num_put<>::falsename()
9455 * bits/locfacets.tcc: fix _Format_cache<>::_M_populate bool name init
9456 * testsuite/27/27octfmt.C, testsuite/27/27octfmt.C: new tests
9457 * bits/locfacets.tcc: touch up _S_group_digits.
9458 * src/misc-inst.cc: adjust _S_group_digits insts to match.
9460 1998-10-27 Nathan Myers <ncm@cantrip.org>
9462 * stl/bits/stl_config.h: Turn off long long support, for now.
9463 * src/locale-inst.cc: Instantiate num_put<> only for
9464 ostreambuf_iterator, num_get only for istreambuf_iterator.
9465 * src/misc-inst.cc: Delete duplicate locale-related instantiations,
9466 add lots of new instantiations for num_put support function templates;
9467 remove junk about __match_parallel for ostreambuf_iterator.
9469 1998-10-27 Nathan Myers <ncm@cantrip.org>
9471 * bits/locfacets.tcc: Make num_put's digit grouping work.
9472 * bits/string.tcc: More uglification.
9473 * src/ios.cc: initialize format cache right
9475 1998-10-26 Nathan Myers <ncm@cantrip.org>
9477 * bits/basic_string.h: Uglify more names.
9478 * bits/fstream.tcc: Rewrite some filebut output handling.
9479 * bits/ios_base.h: Cosmetic.
9480 * bits/locfacets.h: Changes to _Format_cache for support of num_put.
9481 Also, specialize its default ctor for optimal default case.
9482 #ifdef out "long long" prototypes for now.
9483 * bits/locfacets.tcc: Do complete, optimized num_put<>::do_put
9484 implementation for integer types. (Still needs optimized
9485 std::copy() applied to ostreambuf_iterator to be optimal.)
9486 * bits/ostream.tcc: Write operator<< for long, bool types.
9487 Make other operators<< non-members, per spec. (Many still
9488 not implemented.) Identify those that fail to create a sentry.
9489 * bits/sbuf_iter: Cosmetic.
9490 * bits/std_fstream.h: Add some filebuf members.
9491 * bits/std_locale.h: Include <limits> for use in bits/locfacets.h
9492 * bits/std_ostream.h: Make member operators<< global, per spec.
9493 (Should do the same in std_istream.h.)
9494 * bits/std_string.h: Include <limits> for use in bits/locfacets.h
9495 * bits/string.tcc: Uglify names
9496 * shadow/bits/std_cstdlib.h: Optimize std::div and std::ldiv.
9497 * src/ios.cc: Specialize _Format_cache<> for char and wchar_t,
9498 for optimal default behavior.
9500 1998-10-26 Benjamin Kosnik <bkoz@loony.cygnus.com>
9502 * src/Makefile.in (libstdc___la_SOURCES): Add misc-inst.cc again.
9504 1998-10-21 Nathan Myers <ncm@cantrip.org>
9506 * src/locale.cc: make ctype operations actually work for glibc
9507 * CHECKLIST: add a comprehensive (i.e. huge) implementation
9508 checklist of stdlib facilities. Not filled in yet.
9510 1998-10-20 Nathan Myers <ncm@cantrip.org>
9512 * bits/string.tcc: fix patching NULs on string ends.
9514 1998-10-19 Nathan Myers <ncm@cantrip.org>
9516 * bits/std_iosfwd.h: eliminate "basic_" prefix on streambuf
9517 iterator forward declarations
9518 * bits/sbuf_iter.h: eliminate default template argument definitions
9519 on streambuf iterators (rely on <iosfwd> decls).
9520 * TODO: add note about lazy facet construction
9521 * bits/basic_ios.h: hit operator void* again. This should be the
9522 last time we need to touch it.
9523 * bits/basic_ios.h: copyfmt now returns *this.
9524 * bits/basic_string.h: fix npos again. npos cannot be defined as zero.
9525 * bits/basic_string.h: put back overloaded constructors; adjust
9526 behavior for default allocator on copy constructor.
9527 * bits/char_traits.h: make not_eof return correct type.
9528 * bits/loccore.h: remove call to bits/std_stdexcept.h; subincludes
9529 cannot be in non-standard headers or we get include loops (bad)
9530 * bits/loccore.h: delete ifdef'd out workarounds for old compiler bugs.
9531 * bits/loccore.h: add apparatus to support lazy construction of
9533 * bits/locfacets.tcc: Uglify names in __match_parallel decl.
9534 * bits/std_ios.h: add include of <typeinfo> to get bad_cast for
9535 locale use_facet<> failure.
9536 * bits/std_locale.h: same.
9537 * bits/std_string.h: same.
9538 * bits/std_stdexcept.h: change exception member __msg from a
9539 reference to a regular object.
9540 * bits/string.tcc: add pasting a NUL on the end of strings after
9541 each operation. We had already left room for it, but previously
9542 plugged it only on a call to c_str(), but the WG changed the
9543 requirement when I wasn't looking. (Can't leave them alone for
9544 a second without they break something else.)
9545 * bits/valarray_meta.h: add Gaby's changes from 981018.
9546 * src/locale.cc: add new type _Bad_use_facet to be thrown on
9547 failure of use_facet<>().
9548 * src/stdexcept.cc: remove pragma, remove bkoz's #if 0,
9549 comment out leftover member definitions
9551 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
9553 * string/Makefile.am: Revert last change.
9554 * math/Makefile.am: Likewise.
9556 1998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
9558 * bits/std_sstream.h: Fix typo.
9560 1998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
9562 * src/Makefile.am (libstdc___la_SOURCES): Add misc-inst.cc.
9564 * bits/std_sstream.h: Add typedefs, member definitions. Clean.
9565 * bits/std_stdexcept.h: Remove.
9567 1998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
9569 * src/misc-inst.cc: Tweak again.
9571 * bits/std_sstream.h: Move out-of-line definitions to sstream.tcc.
9572 * bits/sstream.tcc: New file.
9574 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
9576 * configure.in: Test for machine/param.h, sys/machine.h and fp.h.
9577 Don't run AC_C_BIGENDIAN if machine/param.h or sys/machine.h are
9580 * math/mathconf.h: Include sys/machine.h, machine/param.h and fp.h
9582 (INFINITE_P): Use IS_INF macro if available.
9584 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
9586 * math/Makefile.am (EXTRA_LTLIBRARIES): Renamed from
9588 * string/Makefile.am: Likewise.
9590 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
9592 * configure.in (AC_CHECK_FUNCS): Add finite, qfinite, fpclass, and
9594 (AC_CHECK_HEADERS): Add machine/endian.h. If no header specifying
9595 endianess is available run AC_C_BIGENDIAN.
9597 * math/clog10l.c: Add ugly hack around bug in Irix 6.2 header until
9598 fixincludes is fixed.
9599 * math/clogl.c: Likewise.
9600 * math/csqrtl.c: Likewise.
9601 * math/mycabsl.c: Likewise.
9603 * math/mathconf.h: Include machine/endian.h if possible. If no
9604 header describing endianess is available rely on WORDS_BIGENDIAN
9606 (FINITE_P, FINITEF_P, FINITEL_P): Use finite functino if available.
9607 (INFINITE_P, INFINITEF_P, INFINITEL_P): Use fpclass function if
9610 * src/complex.cc (polar): Don't use sincos on OSF machines.
9612 1998-10-09 Benjamin Kosnik <bkoz@loony.cygnus.com>
9614 * src/locale-inst.cc: Don't instantiate time_get for
9615 ostreambuf_iterators as time_get::do_get_weekday and
9616 time_get::do_get_monthname use __match_parallel, which is illegal
9617 for ostreambuf_iterators to use, as they don't have operator== or
9619 * bits/std_stdexcept.h: Add dtor definitions.
9620 Use stl/bits/std_stdexcept.h instead of this file?
9621 * bits/sbuf_iter.h : Tweak.
9622 * src/misc-inst.cc: Tweak.
9624 1998-10-09 Benjamin Kosnik <bkoz@haight.constant.com>
9626 * bits/std_stdexcept.h: New file.
9627 * src/stdexcept.cc: Define the following:
9629 runtime_error::what()
9631 * src/misc-inst.cc: New file.
9632 * src/Makefile.in (libstdc___la_SOURCES): Add misc-inst.cc.
9633 (libstdc___la_OBJECTS): Add misc-inst.lo.
9635 * bits/basic_string.h: Disable non-standard ctor declarations.
9636 * bits/string.tcc: Disable definitions as well.
9637 * src/string.cc: Disable <ios> dependancies.
9638 * bits/sbuf_iter.h (std): Add default to template parameter for
9639 ostreambuf_iterator and istreambuf_iterator.
9640 * bits/std_iosfwd.h: Change istreambuf_iterator to
9641 basic_istreambuf_iterator. Likewise for ostreambuf.
9642 * bits/locfacets.tcc (__match_parallel): Fix typo.
9643 * src/ios.cc (imbue): Remove the _G_HAVE_LOCALE guards around
9645 * bits/std_streambuf.h: Define _Streambuf_base::getloc().
9646 * bits/std_istream.h: Define the following:
9647 get (basic_streambuf<char_type,_Traits>& __sb, char_type __delim)
9648 get (char_type* __s, streamsize __n, char_type __delim);
9649 getline (char_type* __s, streamsize __n, char_type __delim)
9650 * bits/loccore.h : FIXME friend template code for use_facet.
9651 Add std_stdexcept.h include so that range_error will be defined.
9652 Add explicit conversion to string for range_error throws. (HACK?)
9654 1998-10-8 Ulrich Drepper <drepepr@cygnus.com>
9656 * configure.in: Check for sincos, sincosf, and sincosl.
9657 * src/complex.cc (polar): Use sincos if available.
9659 * bits/c++config.h: Fix hack to get LONG_LONG* definitions on Linux.
9660 * stl/bits/std_limits.h: Include bits/c++config.h. HACK!!!
9662 * math/clog10.c: Fix typo (FP_INIFITE_P -> INFINITE_P).
9664 * math/cpow.c: Use c_log, not clog.
9665 * math/cpowf.c: Likewise.
9666 * math/cpowl.c: Likewise.
9668 * math/cexp.c: Remove unused fpclassify calls. Use FINITE_P instead
9671 * math/mathconf.h (FINITE_P, FINITEF_P, FINITEL_P): Define using
9672 isfinite macro if it is available.
9673 (INFINITE_P, INFINITEF_P, INFINITEL_P): Define using isinf macro.
9675 * math/ccosf.c: Use appropriate test macros for this type.
9676 * math/ccoshf.c: Likewise.
9677 * math/ccoshl.c: Likewise.
9678 * math/ccosl.c: Likewise.
9679 * math/cexpf.c: Likewise.
9680 * math/cexpl.c: Likewise.
9681 * math/clog10f.c: Likewise.
9682 * math/clog10l.c: Likewise.
9683 * math/clogf.c: Likewise.
9684 * math/clogl.c: Likewise.
9685 * math/csinf.c: Likewise.
9686 * math/csinhf.c: Likewise.
9687 * math/csinhl.c: Likewise.
9688 * math/csinl.c: Likewise.
9689 * math/csqrtf.c: Likewise.
9690 * math/csqrtl.c: Likewise.
9691 * math/ctanf.c: Likewise.
9692 * math/ctanhf.c: Likewise.
9693 * math/ctanhl.c: Likewise.
9694 * math/ctanl.c: Likewise.
9696 1998-10-06 Benjamin Kosnik <bkoz@bliss.nabi.net>
9698 * bits/basic_ios.h: Fix previous change.
9700 1998-10-06 Benjamin Kosnik <bkoz@bliss.nabi.net>
9702 * bits/basic_ios.h: Add const_cast<basic_ios&>
9703 (operator void*): As per 5.2.9 p 2, make sure static_cast is
9705 * bits/char_traits.h: No _CharT for specialization, change to 0.
9706 * bits/basic_string.h: As per 9.4.2 p4, initialize with
9707 constant-initializer.
9708 * bits/locfacets.tcc: Add template parameter to initialization list.
9710 1998-10-02 Benjamin Kosnik <bkoz@loony.cygnus.com>
9712 * bits/basic_string.h: Should just be <, not <=.
9714 1998-10-01 Benjamin Kosnik <bkoz@bliss.nabi.net>
9716 * bits/string.tcc (compare): Fix for strings that are similar, but
9717 not the same length.
9719 1998-09-04 Brendan Kehoe <brendan@cygnus.com>
9721 * bits/c++config.h: For __linux__, define _GNU_SOURCE. This is
9722 required for us to get LONG_LONG_{MIN,MAX} out of gcc's limits.h.
9723 We can't check for __GLIBC__ here, since this header can be read
9724 before any system one (that would lead to features.h) being used.
9726 * stl/bits/stl_config.h (__STL_LONG_LONG): Re-enabled
9728 * stl/bits/std_limits.h [__STL_LONG_LONG]: Fix usage to use
9729 LONG_LONG_MIN, LONG_LONG_MAX, and ULONG_LONG_MAX.
9731 * stl/bits/stl_config.h: Don't do __STL_LONG_LONG, it uses
9732 LONGLONG_{MIN,MAX} which I can't find the origin of.
9734 1998-09-03 Brendan Kehoe <brendan@cygnus.com>
9736 * stl/bits/stl_iterator.h: Add extern decl of cin for now; where
9737 should this come from, if not iostream.h?
9738 (class istream_iterator): Make the new operator!= a friend also.
9740 * stl/bits/stl_config.h: Define __STL_HAS_WCHAR_T,
9741 __STL_MEMBER_TEMPLATE_CLASSES, and __STL_LONG_LONG. Don't include
9742 _G_config.h like the egcs one does.
9744 1998-09-01 Brendan Kehoe <brendan@cygnus.com>
9746 * bits/string.tcc: Call `_M_destroy' instead of `destroy'.
9748 * bits/valarray_meta.h: Throughout, rename _Expr typedefs to be
9749 _Expr1 (or _Expr_def if it's taken), and change definitions.
9750 Avoids redecl of the template parm.
9752 * bits/string.tcc (basic_string copy ctor): Fix typo in declaration.
9753 (operator>>): Initialize __ERROR with ios_base::goodbit, not 0.
9755 * bits/std_streambuf.h (_POSIX_SOURCE): Only define if it's not
9758 * src/locale-inst.cc: New file, **TOTAL HACK**. There has GOT to
9759 be a better way to do this.
9761 * src/stlinst.cc: New file.
9763 * BUGS: New file, with various discovered bugs that need to be
9766 * Makefile.in, math/Makefile.in, string/Makefile.in,
9767 src/Makefile.in: Reran automake.
9769 Workarounds, these may not all be the final fixes:
9771 * bits/basic_ios.h (class basic_ios): Make _M_strbuf be protected,
9772 not private, for basic_istream::get() in std_istream.h to be able
9774 (basic_ios::operator void*): Don't use static_cast for the false
9776 (basic_ios::copyfmt): Fix `rhs.except' to be `rhs.exceptions ()'.
9777 This appears to have been in sep94, but didn't get corrected
9780 * bits/basic_string.h (npos): Don't init here.
9781 * bits/string.tcc: Instead, do initialization here, to -1 instead
9782 of the size_type destructor.
9784 * src/traits.cc, src/wtraits.cc: New files.
9785 * bits/char_traits.h: For char_traits<char> and
9786 char_traits<wchar_t>, declare static, but define over in the src
9789 * bits/gslice.h: Comment out forward decls of _Array, valarray,
9790 gslice_array, and _GsliceExpression.
9792 * bits/std_cstdio.h [__sparc__ && __svr4__]: #undef all of
9793 clearerr, feof, ferror, getc, getchar, putc, putchar, stdin,
9794 stdout, and stderr. Note we do get unresolved refs to stdin, but
9795 that'll get fixed by the "true" solution.
9797 * bits/std_ios.h: Include <bits/std_streambuf.h> to get the
9798 definition of basic_streambuf.h, which is used in basic_ios.h to
9801 * bits/std_streambuf.h: Don't include libio.h for now.
9802 (class basic_streambuf): Define missing methods pubimbue and
9805 * src/Makefile.am (libstdc___la_SOURCES): Add stdexcept.cc,
9806 ios.cc, os_raw.cc, stdstreams.cc, locale.cc, localename.cc,
9807 locale-inst.cc, stlinst.cc, traits.cc, wtraits.cc.
9809 * src/ios.cc: Instantiate basic_ios<char> and basic_ios<wchar_t>.
9811 * src/locale.cc: Come up with munged versions of _S_toupper,
9812 _S_tolower, and _S_table instead of the glibc-specific ones, so
9813 they're at least defined, if not necessarily usable. The glibc
9814 ones on any other system will yield unresolved refs to
9815 __ctype_{b,toupper,tolower}.
9817 * src/string.cc: Define all of ADDCS, ADDPS, et al. Add
9818 basic_ios, basic_istream, basic_ostream. Don't do char_traits
9819 anymore cuz of the explicit specialization in char_traits.h.
9820 Also add _S_string_copy, but this doesn't fix it -- cf the BUGS
9821 file for the details.
9823 * stl/bits/stl_algobase.h (equal): Fix to do `! (x==y)'.
9824 * stl/bits/stl_iterator.h (__distance): Likewise.
9826 * stl/bits/stl_iterator.h: As with 8/18 set, define missing op!=,
9827 op>, op<=, and op>= for reverse_iterator. Also add op!= for
9830 1998-08-26 Brendan Kehoe <brendan@cygnus.com>
9832 * bits/string.tcc (basic_string::compare (const char*)): Fix to
9835 1998-08-25 Brendan Kehoe <brendan@cygnus.com>
9837 This should really be fixed with __asm__ directives renaming the
9838 symbol, but keeping the function.
9839 * math/clogf.c (c_logf): Renamed from `clogf'.
9840 * math/clogl.c (c_logl): Renamed from `clogl'.
9841 * math/complex-stub.h (c_logf, c_logl): Change decls.
9843 * bits/locfacets.h (class _Numeric_get): For friend decls, rename
9844 _CharT and _InIter parms, since they duplicate the enclosing ones.
9846 1998-08-19 Brendan Kehoe <brendan@cygnus.com>
9848 Deal with conflict of the iostreams `clog' and our internal
9849 complex number `clog'.
9850 * src/complex.cc: Call `c_log' instead of `clog'.
9851 * math/clog.c (c_log):: Renamed from clog.
9852 * math/complex-stub.h (c_log): Renamed from clog decl.
9854 * bits/locfacets.h (class _Numeric_get): Tweak fwd decls of the
9856 (num_put::put): #if 0 long long version, since we don't declare or
9857 define the long long version of do_put.
9859 1998-08-18 Nathan Myers <ncm@cantrip.org>
9861 * bits/basic_string.h: add basic_string<>::push_back(), fix return
9862 type of get_allocator (thanks to Ryszard Kabatek).
9863 * bits/char_traits.h: make init order of fpos<> members
9865 * bits/ios_base.h: fix decls of ios_base bitmask & enum types, add
9866 flags _S_fd_in etc. for special filebuf ctor.
9867 * bits/locfacets.h: make _Numeric_get and _Format_cache public
9868 to work around problems in friend declarations.
9869 * bits/locfacets.tcc: qualify _S_get_cache in num_get<>::get(..bool&),
9870 fix random type errors & typos
9871 * bits/std_fstream.h: major refitting to bypass libio (for now),
9872 instrument to use bits/fstream.tcc template definitions
9873 * bits/std_iosfwd.h: mess with wrappers
9874 * bits/std_istream.h: remove meaningless comment
9875 * bits/std_ostream.h: instrument to work with ostream.tcc.
9876 * bits/std_streambuf.h: instrument to work with streambuf.tcc
9877 * bits/fstream.tcc: template defs for <fstream>
9878 * bits/ostream.tcc: template defs for <ostream>
9879 * bits/streambuf.tcc: template defs for <streambuf>
9880 * bits/os_raw.h: thin OS interface wrapper, to bypass libio (for now).
9881 * Delete .cc files, replace with bits/*.tcc
9887 src/os_raw.cc: thin interface to OS, to bypass libio (for now).
9888 src/stdstreams.cc: cout, cin, etc. definitions
9889 (these still need work: must be init'd before user statics.)
9892 1998-08-18 Brendan Kehoe <brendan@cygnus.com>
9894 Sent to SGI before checkin:
9895 * stl/bits/stl_vector.h (operator!=, operator>, operator<=,
9896 operator>=): Define.
9897 * stl/bits/stl_bvector.h (vector<bool>::flip): Define method.
9898 * stl/bits/stl_deque.h (operator!=, operator>, operator<=,
9899 operator>=): Define.
9900 (operator==, operator<): Add inline.
9901 * stl/bits/stl_map.h (operator!=, operator<, operator<=,
9902 operator>=): Define.
9903 * stl/bits/stl_multimap.h (operator!=, operator<, operator<=,
9904 operator>=): Define.
9905 * stl/bits/stl_list.h (operator!=, operator<, operator<=,
9906 operator>=): Define.
9907 * stl/bits/stl_set.h (operator!=, operator<, operator<=,
9908 operator>=): Define.
9909 * stl/bits/stl_multiset.h (operator!=, operator<, operator<=,
9910 operator>=): Define.
9912 * bits/std_valarray.h (_Shift_left, _Shift_right): Inherit from
9915 1998-08-15 Nathan Myers <ncm@cantrip.org>
9917 * bits/ios_base.h: change nominal bitmask and enum types to real enums
9918 * bits/locfacets.h: make _Format_cache bool names usable by num_get
9919 * bits/locfacets.tcc: make num_get<>::get(... bool&) use _Format_cache
9920 * bits/std_fstream.h: minor cleanups: ctors delegate to open()
9921 * bits/std_iosfwd.h: more bitmask changes, for ios_base::iostate
9922 * bits/std_sstream.h: formatting cleanups
9924 1998-08-14 Nathan Myers <ncm@cantrip.org>
9926 * bits/locfacets.tcc: implement num_get<>::do_get(..., bool&)
9927 * bits/locfacets.tcc: implement time_get<>::do_get_weekday
9928 * bits/locfacets.tcc: implement time_get<>::do_get_monthname
9929 * bits/locfacets.h: fix missing argument in do_get_monthname
9930 (this is a bug in the standard, ref. 36 in my list.)
9931 * bits/locfacets.h: make month and day name caches mutable
9932 * bits/locfacets.tcc: various typos in get() functions
9933 * bits/sbuf_iter.h: fix omission in istreambuf_iterator::op++().
9934 * bits/std_streambuf.h: fix typo in sgetn (Brendan)
9936 1998-08-12 Nathan Myers <ncm@cantrip.org>
9937 * move streambuf iterators to bits/sbuf_iter.h
9938 * optimize streambuf iterators
9939 * begin generalizing streambuf
9940 * begin implementing num_get<>::get (starting with bool)
9941 * patch stl/bits/stl_config.h so that relops operators are
9942 contained properly, out of the way.
9944 1998-07-24 Nathan Myers <ncm@cantrip.org>
9945 * Fold in SGI 3.11 changes (uglified names, some algorithm
9946 improvements, very minor bug fixes.)
9947 * Uglify names elsewhere to match (s/_T/_Tp/).
9948 * Begin work on optimized streambuf
9949 * Put complex.cc in namespace std:: (thanks Martin)
9951 1998-07-17 Nathan Myers <ncm@cantrip.org>
9953 * bits/char_traits.h: add _Char_traits_match template.
9954 * bits/string.tcc: fix bugs in various find_last* members.
9955 * bits/basic_string.h: redeclare member _S_find.
9956 * stl/bits/stl_iterator.h: change member names in nonstandard
9957 templates bidirectional_reverse_iterator and
9958 random_access_reverse_iterator to match expected changes
9960 * src/string.cc: fix definitions of stream operators.
9962 1998-07-14 16:06 Ulrich Drepper <drepper@cygnus.com>
9964 * Makefile.am (SUBDIRS): Add string.
9966 * configure.in: Test for long double functions separately. Test for
9967 ISO C 89 float functions. Test for endian.h and sys/isa_defs.h.
9968 Generate string/Makefile.
9970 * bits/c++config.h: Define mbstate_t for Solaris.
9972 * bits/char_traits.h: Remove unused #if.
9974 * bits/std_cwchar.h: Declare wide char string functions.
9976 * m4/stringfcts.m4: New file.
9978 * math/complex-stub.h: Declare nan.
9979 * math/nan.c: New file.
9981 * math/mathconf.h: Hack around missing endian.h file.
9982 Handle missing NAN definition.
9983 Handle missing float math functions.
9985 * src/Makefile.am (libstdc___la_LIBADD): Add libstring.la.
9986 (libstdc___la_LDFLAGS): Set version information.
9988 * src/complexl.cc: Don't compile any code if no long double functions
9991 * string/Makefile.am: New file.
9992 * string/dummy.c: New file.
9993 * string/wmemchr.c: New file.
9994 * string/wmemcmp.c: New file.
9995 * string/wmemcpy.c: New file.
9996 * string/wmemmove.c: New file.
9997 * string/wmemset.c: New file.
9999 1998-07-14 10:45 Ulrich Drepper <drepper@cygnus.com>
10001 * configure.in: Make it work.
10002 * install-sh: New file.
10003 * missing: New file.
10004 * mkinstalldirs: New file.
10005 * m4/mathfcts.m4: New file.
10006 * math/Makefile.am: New file.
10008 * bits/std_complex.h (conj): Mark specializations as inline.
10010 * math/carg.c: New file.
10011 * math/cargf.c: New file.
10012 * math/cargl.c: New file.
10013 * math/mycabs.c: New file.
10014 * math/mycabsf.c: New file.
10015 * math/mycabsl.c: New file.
10016 * math/signbit.c: New file.
10017 * math/signbitf.c: New file.
10018 * math/signbitl.c: New file.
10020 * math/ccos.c: Avoid ISO C 9x functionality.
10021 * math/ccosf.c: Likewise.
10022 * math/ccosh.c: Likewise.
10023 * math/ccoshf.c: Likewise.
10024 * math/ccoshl.c: Likewise.
10025 * math/ccosl.c: Likewise.
10026 * math/cexp.c: Likewise.
10027 * math/cexpf.c: Likewise.
10028 * math/cexpl.c: Likewise.
10029 * math/clog.c: Likewise.
10030 * math/clog10.c: Likewise.
10031 * math/clog10f.c: Likewise.
10032 * math/clog10l.c: Likewise.
10033 * math/clogf.c: Likewise.
10034 * math/clogl.c: Likewise.
10035 * math/cpow.c: Likewise.
10036 * math/cpowf.c: Likewise.
10037 * math/cpowl.c: Likewise.
10038 * math/csin.c: Likewise.
10039 * math/csinf.c: Likewise.
10040 * math/csinh.c: Likewise.
10041 * math/csinhf.c: Likewise.
10042 * math/csinhl.c: Likewise.
10043 * math/csinl.c: Likewise.
10044 * math/csqrt.c: Likewise.
10045 * math/csqrtf.c: Likewise.
10046 * math/csqrtl.c: Likewise.
10047 * math/ctan.c: Likewise.
10048 * math/ctanf.c: Likewise.
10049 * math/ctanh.c: Likewise.
10050 * math/ctanhf.c: Likewise.
10051 * math/ctanhl.c: Likewise.
10052 * math/ctanl.c: Likewise.
10054 * math/complex-stub.h: New file.
10056 * math/mathconf.h: New file.
10058 * src/Makefile.am: New file.
10060 * src/complex.cc: Use mathconf.h instead of complex.h.
10061 Don't use cabs, always use __mycabs.
10063 1998-02-13 Brendan Kehoe <brendan@cygnus.com>
10065 * iterator (class reverse_iterator): Do some tweaks to be in sync