1 2000-12-19 Mark Kettenis <kettenis@gnu.org>
3 * configure.target: Support the Hurd.
5 2000-12-19 Benjamin Kosnik <bkoz@fillmore.redhat.com>
7 * config/os/solaris/solaris2.5/bits/ctype_inline.h (is): Same.
8 * config/os/solaris/solaris2.6/bits/ctype_inline.h (is): Same.
9 * config/os/solaris/solaris2.7/bits/ctype_inline.h (is): Same.
10 * config/os/newlib/bits/ctype_inline.h (is): Same.
11 * config/os/irix/bits/ctype_inline.h (is): Same.
12 * config/os/bsd/netbsd/bits/ctype_inline.h (is): Same.
13 * config/os/bsd/freebsd/bits/ctype_inline.h (is): Same.
14 * config/os/aix/bits/ctype_inline.h (is): Same.
15 * config/os/gnu-linux/bits/ctype_inline.h (is): Revert.
16 * config/os/generic/bits/ctype_inline.h (is): Non-table based
19 * testsuite/22_locale/ctype_char_members.cc (test01): Use binary
21 (test01): Check 'A' for alnum, upper, alpha.
23 2000-12-19 Gabriel Dos Reis <gdr@codesourcery.com>
25 * include/bits/std_complex.h (complex<float>::operator-=): Fix
28 2000-12-18 Benjamin Kosnik <bkoz@redhat.com>
30 * configure.in: Set os_include_dir for cross_compiles.
31 * configure: Regenerate.
32 * configure.target (l_glibcpp_cxxflags): Don't try to be clever
33 when assigning ATOMICITYH. Only special case the special cases...
35 2000-12-18 Joseph S. Myers <jsm28@cam.ac.uk>
37 * docs/html/17_intro/COPYING: Update to current
38 ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes references
39 to 19yy as example year in copyright notice).
41 2000-12-15 Benjamin Kosnik <bkoz@redhat.com>
43 * configure.in (gxx_target_include_dir): Install target-dependent
44 include files in a target-dependent place.
45 * configure: Regenerate.
46 * src/Makefile.am: Add in support here.
47 * src/Makefile.in: Regenerate.
49 2000-12-14 Benjamin Kosnik <bkoz@fillmore.redhat.com>
51 * src/Makefile.am (myinstallheaders): Install backwards headers in
52 prefix, not prefix/backward.
53 * src/Makefile.in: Regenerate.
55 2000-12-14 Benjamin Kosnik <bkoz@haight.redhat.com>
57 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Revert changes
58 touching copysignf, atan2f, expf.
59 (GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT): Add it back here.
60 * aclocal.m4: Regenerate.
61 * configure: Regenerate.
63 2000-12-14 Benjamin Kosnik <bkoz@fillmore.redhat.com>
65 * configure.in (CXX): Exit out if mknumeric_limits fails.
66 * mknumeric_limits (CXX): Use BUILD_DIR/g++, not g++ in
67 path. Consistency with tests_flags.in.
69 2000-12-14 Benjamin Kosnik <bkoz@haight.redhat.com>
71 * include/c/bits/*.h: Remove include_next, replace with include,
72 as include_next does not work host-x-host, and include_next not
75 2000-12-13 Benjamin Kosnik <bkoz@redhat.com>
77 * include/bits/locale_facets.h (ctype<char>): Remove throw specs not in
79 * config/os/*/bits/ctype_inline.h (is): Same.
81 2000-12-13 Benjamin Kosnik <bkoz@redhat.com>
83 * config/os/generic/bits/ctype_base.h (ctype_base): Consistency
85 * config/os/generic/bits/ctype_inline.h (is): Same.
86 * config/os/solaris/solaris2.5/bits/ctype_inline.h (is): Same.
87 * config/os/solaris/solaris2.5/bits/ctype_base.h: Same.
88 * config/os/solaris/solaris2.6/bits/ctype_inline.h (is): Same.
89 * config/os/solaris/solaris2.6/bits/ctype_base.h: Same.
90 * config/os/solaris/solaris2.7/bits/ctype_inline.h (is): Same.
91 * config/os/solaris/solaris2.7/bits/ctype_base.h: Same.
92 * config/os/irix/bits/ctype_inline.h (is): Same.
93 * config/os/irix/bits/ctype_base.h (ctype_base): Same.
94 * config/os/aix/bits/ctype_inline.h (is): Same.
95 * config/os/aix/bits/ctype_base.h (ctype_base): Same.
96 * config/os/bsd/netbsd/bits/ctype_inline.h (is): Same.
97 * config/os/bsd/netbsd/bits/ctype_base.h (ctype_base): Same.
98 * config/os/bsd/freebsd/bits/ctype_base.h (ctype_base): Same.
99 * config/os/bsd/freebsd/bits/ctype_inline.h (is): Same.
100 * config/os/newlib/bits/ctype_inline.h (is): Same.
101 * config/os/newlib/bits/ctype_base.h (ctype_base): Same.
103 * testsuite/22_locale/ctype_char_members.cc (test01): Add tests, fix.
104 * testsuite/22_locale/ctype.cc (test01): Add tests for
105 ctype_base::mask bitmask features.
106 * src/locale.cc: Define const static data for ctype_base.
107 * config/os/gnu-linux/bits/ctype_base.h (ctype_base): Make
108 ctype_base::mask type an integer type, not an enum.
109 * config/os/gnu-linux/bits/ctype_inline.h (is): Implement correctly.
110 * include/bits/locale_facets.h: Tweaks.
112 * include/bits/ios_base.h: Formatting tweaks.
114 * docs/html/17_intro/C++STYLE: Add.
116 2000-12-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
118 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Don't link ctype
120 * configure.in: Rather, do it once for all targets here. Clean up
121 canadian cross and cross compile targets for linux-targeted
123 * configure: Regenerate.
124 * aclocal.m4: Regnerate.
125 * acconfig.h: Add more defines.
126 * config.h.in: Regenerate.
128 2000-12-12 Angela Marie Thomas <angela@cygnus.com>
130 * configure.in: Fix case for host-x-linux
131 * configure: Regenerate.
133 2000-12-10 Alexandre Petit-Bianco <apbianco@cygnus.com>
135 * src/Makefile.am (libstdc++.INC:): 2000-12-05 reverted to include
137 * src/Makefile.in: Rebuilt.
139 2000-12-09 Jason Merrill <jason@redhat.com>
141 * testsuite/20_util/auto_ptr.cc (test07): Remove test that tries
142 to copy-initialize an auto_ptr<Base> from an auto_ptr<Derived>; it
143 isn't supposed to work anymore.
145 2000-12-09 Phil Edwards <pme@sources.redhat.com>
147 Move the HTML-containing subdirs from 'docs' to 'docs/html'.
148 * README: Update the locations of instructions.
149 * docs/doxygen/run_doxygen: New file, stub.
151 * docs/Makefile: Moved...
152 * docs/configopts.html: Likewise.
153 * docs/documentation.html: Likewise.
154 * docs/install.html: Likewise.
155 * docs/lib3styles.css: Likewise.
156 * docs/17_intro/BADNAMES: Likewise.
157 * docs/17_intro/BUGS: Likewise.
158 * docs/17_intro/C++STYLE: Likewise.
159 * docs/17_intro/CHECKLIST: Likewise.
160 * docs/17_intro/COPYING: Likewise.
161 * docs/17_intro/DESIGN: Likewise.
162 * docs/17_intro/HEADER_POLICY: Likewise.
163 * docs/17_intro/PROBLEMS: Likewise.
164 * docs/17_intro/RELEASE-NOTES: Likewise.
165 * docs/17_intro/TODO: Likewise.
166 * docs/17_intro/contribute.html: Likewise.
167 * docs/17_intro/headers_cc.txt: Likewise.
168 * docs/17_intro/howto.html: Likewise.
169 * docs/17_intro/libstdc++-assign.txt: Likewise.
170 * docs/17_intro/organization: Likewise.
171 * docs/17_intro/porting-howto.html: Likewise.
172 * docs/18_support/howto.html: Likewise.
173 * docs/19_diagnostics/howto.html: Likewise.
174 * docs/20_util/howto.html: Likewise.
175 * docs/21_strings/gotw29a.txt: Likewise.
176 * docs/21_strings/howto.html: Likewise.
177 * docs/21_strings/stringtok_h.txt: Likewise.
178 * docs/21_strings/stringtok_std_h.txt: Likewise.
179 * docs/22_locale/codecvt.html: Likewise.
180 * docs/22_locale/ctype.html: Likewise.
181 * docs/22_locale/howto.html: Likewise.
182 * docs/22_locale/locale.html: Likewise.
183 * docs/23_containers/howto.html: Likewise.
184 * docs/23_containers/wrappers_h.txt: Likewise.
185 * docs/24_iterators/howto.html: Likewise.
186 * docs/25_algorithms/howto.html: Likewise.
187 * docs/26_numerics/howto.html: Likewise.
188 * docs/27_io/howto.html: Likewise.
189 * docs/27_io/iostreams_hierarchy.pdf: Likewise.
190 * docs/ext/howto.html: Likewise.
191 * docs/faq/index.html: Likewise.
192 * docs/faq/index.txt: Likewise.
193 * docs/html/Makefile: ...to here.
194 * docs/html/configopts.html: Likewise.
195 * docs/html/documentation.html: Likewise.
196 * docs/html/install.html: Likewise.
197 * docs/html/lib3styles.css: Likewise.
198 * docs/html/17_intro/BADNAMES: Likewise.
199 * docs/html/17_intro/BUGS: Likewise.
200 * docs/html/17_intro/C++STYLE: Likewise.
201 * docs/html/17_intro/CHECKLIST: Likewise.
202 * docs/html/17_intro/COPYING: Likewise.
203 * docs/html/17_intro/DESIGN: Likewise.
204 * docs/html/17_intro/HEADER_POLICY: Likewise.
205 * docs/html/17_intro/PROBLEMS: Likewise.
206 * docs/html/17_intro/RELEASE-NOTES: Likewise.
207 * docs/html/17_intro/TODO: Likewise.
208 * docs/html/17_intro/contribute.html: Likewise.
209 * docs/html/17_intro/headers_cc.txt: Likewise.
210 * docs/html/17_intro/howto.html: Likewise.
211 * docs/html/17_intro/libstdc++-assign.txt: Likewise.
212 * docs/html/17_intro/organization: Likewise.
213 * docs/html/17_intro/porting-howto.html: Likewise.
214 * docs/html/18_support/howto.html: Likewise.
215 * docs/html/19_diagnostics/howto.html: Likewise.
216 * docs/html/20_util/howto.html: Likewise.
217 * docs/html/21_strings/gotw29a.txt: Likewise.
218 * docs/html/21_strings/howto.html: Likewise.
219 * docs/html/21_strings/stringtok_h.txt: Likewise.
220 * docs/html/21_strings/stringtok_std_h.txt: Likewise.
221 * docs/html/22_locale/codecvt.html: Likewise.
222 * docs/html/22_locale/ctype.html: Likewise.
223 * docs/html/22_locale/howto.html: Likewise.
224 * docs/html/22_locale/locale.html: Likewise.
225 * docs/html/23_containers/howto.html: Likewise.
226 * docs/html/23_containers/wrappers_h.txt: Likewise.
227 * docs/html/24_iterators/howto.html: Likewise.
228 * docs/html/25_algorithms/howto.html: Likewise.
229 * docs/html/26_numerics/howto.html: Likewise.
230 * docs/html/27_io/howto.html: Likewise.
231 * docs/html/27_io/iostreams_hierarchy.pdf: Likewise.
232 * docs/html/ext/howto.html: Likewise.
233 * docs/html/faq/index.html: Likewise.
234 * docs/html/faq/index.txt: Likewise.
236 2000-12-08 Phil Edwards <pme@sources.redhat.com>
238 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): New conditional,
239 GLIBCPP_BUILD_LIBIO, true iff building libio.
240 * libio/Makefile.am: Use; set noinst_LTLIBRARIES empty if false.
241 * aclocal.m4: Regenerated.
242 * config.h.in: Regenerated.
243 * configure: Regenerated.
244 * libio/Makefile.in: Regenerated.
245 * libmath/Makefile.in: Regenerated.
247 2000-12-08 Gabriel Dos Reis <gdr@codesourcery.com>
249 * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove ccosl,
250 cexpl, clog10l, csinhl, ctanhl, ctanl.
251 (EXTRA_DIST): Remove ccos, ccosf, csin, csinf, ccosh, ccoshf,
252 csing, csinhf, clog10, clog10f, ctan, ctanf, ctanh, ctanhf.
253 * libmath/Makefile.in: Regenarate.
254 * libmath/ccos.c: Remove.
255 * libmath/ccosf.c: Likewise.
256 * libmath/ccosl.c: Likewise.
257 * libmath/csin.c: Likewise.
258 * libmath/csinf.c: Likewise.
259 * libmath/csinl.c: Likewise.
260 * libmath/ctan.c: Likewise.
261 * libmath/ctanf.c: Likewise.
262 * libmath/ctanl.c: Likewise.
263 * libmath/ccosh.c: Likewise.
264 * libmath/ccoshf.c: Likewise.
265 * libmath/ccoshl.c: Likewise.
266 * libmath/csinh.c: Likewise.
267 * libmath/csinhf.c: Likewise.
268 * libmath/csinhl.c: Likewise.
269 * libmath/ctanh.c: Likewise.
270 * libmath/ctanhf.c: Likewise.
271 * libmath/ctanhl.c: Likewise.
272 * libmath/cexp.c: Likewise.
273 * libmath/cexpf.c: Likewise.
274 * libmath/cexpl.c: Likewise.
275 * libmath/clog10.c: Likewise.
276 * libmath/clog10f.c: Likewise.
277 * libmath/clog10l.c: Likewise.
278 * libmath/complex-stub.h: Remove forward declaration of functions
281 * include/bits/std_complex.h(tan, tanh): Define primary templates.
282 (complex<>): Remove friend declarations for tan<> and tanh<>.
283 * src/complex.cc(tan, tanh): Remove specializations.
285 * acinclude.m4: Remove check for ccos, ccosf, ccosl, ccosh,
286 ccoshf, ccoshl, csin, csinf, csinl, csinh, csinhf, csinhl, cexp,
287 cexpf, cexpl, ctan, ctanf, ctanl, ctanh, ctanhf, ctanhl.
288 * aclocal.m4: Regenarate.
289 * configure: Regenarate.
291 2000-12-08 Gabriel Dos Reis <gdr@codesourcery.com>
293 * acinclude.m4: Don't forget to remove check for cpowl as it is no
294 longer needed, nor is the corresponding stub existent.
295 * aclocal.m4: Regenarate.
296 * configure: Regenarate.
298 2000-12-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
300 * config/os/generic/bits/ctype_base.h (ctype_base): Change space mask.
302 * config/os/generic/bits/ctype_noninline.h (ctype): Remove default
303 arguments in definition.
304 * config/os/solaris/solaris2.7/bits/ctype_noninline.h (ctype): Same.
305 * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
306 * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
307 * config/os/newlib/bits/ctype_noninline.h (ctype): Same.
308 * config/os/irix/bits/ctype_noninline.h (ctype): Same.
309 * config/os/hpux/bits/ctype_noninline.h (ctype): Same.
310 * config/os/bsd/netbsd/bits/ctype_noninline.h (ctype): Same.
311 * config/os/bsd/freebsd/bits/ctype_noninline.h (ctype): Same.
312 * config/os/aix/bits/ctype_noninline.h (ctype): Same.
314 * include/bits/locale_facets.h: Tweak.
316 2000-12-06 Benjamin Kosnik <bkoz@kredhat.com>
318 * include/bits/locale_facets.h (ctype): Remove _Ctype_nois and
319 _Ctype and replace with common __ctype_abstract_base.
320 (ctype<wchar_t>::_M_convert_to_wmask): Move to locale.cc.
321 * config/os/gnu-linux/bits/ctype_noninline.h (ctype<char>::ctype):
323 * config/os/solaris/solaris2.7/bits/ctype_noninline.h (ctype): Same.
324 * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
325 * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
326 * config/os/newlib/bits/ctype_noninline.h (ctype): Same.
327 * config/os/irix/bits/ctype_noninline.h (ctype): Same.
328 * config/os/hpux/bits/ctype_noninline.h (ctype): Same.
329 * config/os/generic/bits/ctype_noninline.h (ctype): Same.
330 * config/os/aix/bits/ctype_noninline.h (ctype): Same.
331 * config/os/bsd/netbsd/bits/ctype_noninline.h (ctype): Same.
332 * config/os/bsd/freebsd/bits/ctype_noninline.h (ctype): Same.
333 * src/locale-inst.cc: Clean instantiations.
334 * src/locale.cc (ctype<char>): Add definitions here.
335 (ctype<wchar_t>::_M_wmask): Move definitions here.
337 * config/os/generic/bits/ctype_inline.h (ctype<char>::is):
338 Implement in a generic way, with only "C" functionality and no
339 knowlege of the target os.
340 * config/os/generic/bits/os_defines.h: Change comments to C++ style.
341 * testsuite/22_locale/ctype_char_members.cc (test01): Add tests.
343 * include/bits/codecvt.h (ctype_byname): Remove specializations,
345 * include/bits/localefwd.h (codecvt_byname): And here.
346 * src/codecvt.cc: Remove codecvt_byname specializations.
348 * include/c/bits/std_cstdio.h: Include c++config.h.
350 2000-12-06 Phil Edwards <pme@sources.redhat.com>
352 * acinclude.m4 (GLIBCPP_CHECK_*_DECL_AND_LINKAGE_*): Pre-test
353 whether the cached result is present.
354 * aclocal.m4: Regenerate.
355 * configure: Regenerate.
356 * Makefile.in: Regenerate.
357 * libio/Makefile.in: Regenerate.
358 * libmath/Makefile.in: Regenerate.
359 * libsupc++/Makefile.in: Regenerate.
360 * src/Makefile.in: Regenerate.
362 2000-12-06 Richard Earnshaw <rearnsha@arm.com>
364 * configure.target (*-*-freebsd, *-*-netbsd): Correct paths to
367 2000-12-05 Jeffrey A Law <law@cygnus.com>
369 * configure.target (hpux): Set os_include_dir.
370 * config/os/hpux/bits/ctype_base.h: New file
371 * config/os/hpux/bits/ctype_inline.h: New file
372 * config/os/hpux/bits/ctype_noinline.h: New file
373 * config/os/hpux/bits/os_defines.h: New file
375 2000-12-05 Alexandre Petit-Bianco <apbianco@redhat.com>
377 * src/Makefile.am (libstdc++.INC): Revert for libjava builds.
378 * src/Makefile.in: Regenerate.
380 2000-12-05 Benjamin Kosnik <bkoz@haight.redhat.com>
382 * acinclude.m4 (EXTRA_CXX_FLAGS): And here.
383 * include/c/bits/std_cstdlib.h (std ): Change macro to
384 _GLIBCPP_NEED_LLDIV_T.
385 * acconfig.h: Remove unused MBSTATE_T bits.
386 * configure.in: Same.
387 * aclocal.m4: Regenerate.
388 * configure: Regenerate.
389 * config.h.in: Regenerate.
391 2000-12-05 Benjamin Kosnik <bkoz@fillmore.redhat.com>
393 * acinclude.m4: Change up to reflect new directory organization.
394 Add in bits for NetBSD.
395 * aclocal.m4: Regenerate.
396 * configure: Regenerate.
397 * config/os/bsd: New directory.
398 * config/os/netbsd: Move to...
399 * config/os/bsd/netbsd: ...here.
400 * config/os/freebsd: Move to...
401 * config/os/bsd/freebsd: ...here.
403 2000-12-05 Benjamin Kosnik <bkoz@haight.redhat.com>
405 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Check for
406 lldiv_t. Allow the use of os-specific defines while checking for
407 long-long functions by the inclusion of os_defines.h.
408 * aclocal.m4: Regenerate.
409 * configure.in: Add comments.
410 * configure: Regenerate.
411 * acconfig.h: Add _GLIBCPP_HAVE_LLDIV_T.
412 * config.h.in: Regenerate.
413 * config/os/gnu-linux/bits/os_defines.h: Fix typos and
414 duplications in comments.
416 2000-12-05 Richard Earnshaw <rearnsha@arm.com>
418 * config/os/freebsd/bits/ctype_base.h: Update comments about other
421 2000-12-05 Richard Earnshaw <rearnsha@arm.com>
423 * config/os/freebsd/bits/*.h: Move here from config/os/bsd/bits.
424 * aclocal.m4: Adjust accordingly.
425 * configure.target: Likewise.
426 * configure: Regenerate.
428 2000-12-05 Richard Earnshaw <rearnsha@arm.com>
430 * config/cpu/arm/bits/atomicity.h: Add support for compiling Thumb
433 2000-12-05 Richard Earnshaw <rearnsha@arm.com>
436 * aclocal.m4: Add test for NetBSD's ctype support.
437 * configure: Regenerate.
438 * configure.target: Support NetBSD.
439 * config/os/netbsd/bits/ctype_base.h: New file.
440 * config/os/netbsd/bits/ctype_inline.h: New file.
441 * config/os/netbsd/bits/ctype_noinline.h: New file.
442 * config/os/netbsd/bits/os_defines.h: New file.
444 2000-12-05 Gabriel Dos Reis <gdr@codesourcery.com>
446 * src/complex.cc (pow): Remove definitions for explicit
448 * libmath/mathconf.h: Remove declarations for c_log, c_logf,
450 * libmath/complex-stub.h: Remove declarations for cpow, cpowf,
452 * libmath/cpow.c: Remove.
453 * libmath/cpowf.c: Remove.
454 * libmath/cpowl.c: Remove.
455 * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove c_logl,
457 (EXTRA_DIST): Remove c_log, c_logf, carg, cargf.
458 * libmath/Makefile.in: Regenarate.
459 * libmath/c_log.c: Remove
460 * libmath/c_logf.c: Likewise.
461 * libmath/c_logl.c: Likewise.
462 * libmath/carg.c: Likewise.
463 * libmath/cargf.c: Likewise.
464 * libmath/cargl.c: Likewise.
465 * include/bits/std_complex.h (pow): Define primary templates.
466 (complex<>): Remove friend declarations for pow<>().
467 * acinclude.m4: Remove check for c_log, c_logf, c_logl, carg,
469 * aclocal.m4: Regenarate.
470 * configure: Regenarate.
472 2000-12-03 Joseph S. Myers <jsm28@cam.ac.uk>
474 * docs/configopts.html, docs/documentation.html,
475 docs/install.html, docs/17_intro/BADNAMES,
476 docs/17_intro/contribute.html, docs/17_intro/howto.html,
477 docs/18_support/howto.html, docs/19_diagnostics/howto.html,
478 docs/20_util/howto.html, docs/21_strings/howto.html,
479 docs/22_locale/howto.html, docs/23_containers/howto.html,
480 docs/24_iterators/howto.html, docs/25_algorithms/howto.html,
481 docs/26_numerics/howto.html, docs/27_io/howto.html,
482 docs/ext/howto.html, docs/faq/index.html, docs/faq/index.txt: Sync
485 2000-12-01 Phil Edwards <pme@sources.redhat.com>
487 * docs/download.html: Remove.
488 * docs/footer.ihtml: Remove.
489 * docs/header.ihtml: Remove.
490 * docs/index.html: Remove.
491 * docs/links.html: Remove.
492 * docs/mail.html: Remove.
493 * docs/status.html: Remove.
494 * docs/thanks.html: Remove.
496 2000-12-01 Phil Edwards <pme@sources.redhat.com>
498 * mkcheck.in: Count static and shared results separately.
500 2000-12-01 Loren J. Rittle <ljrittle@acm.org>
502 * mkcheck.in: Correct typo.
504 2000-12-01 Gabriel Dos Reis <gdr@codesourcery.com>
506 * src/cmath.cc: Remove.
507 * src/Makefile.am (c_base_headers): Add bits/cmath.tcc.
508 (sources): Remove cmath.cc
509 * src/Makefile.in: Regenerate.
511 * include/c/bits/std_cmath.h (__cmath_power<>): Declare.
512 (__cmath_abs<>): New function.
513 (abs, fabs): Use __cmath_abs when no direct support is available.
514 (__pow_helper<>): New function.
515 (pow): Define here. Use __pow_helper<>.
517 * include/c/bits/cmath.tcc: New file.
519 2000-11-29 Benjamin Kosnik <bkoz@redhat.com>
521 Fixes for build directories with colons, AIX build problems.
522 * src/Makefile.am: Cleanups, add documentation.
523 (libstdc++.INC): Simplify rule.
524 (myinstallheaders): Consolidate install rules.
525 (myinstalldirs): New, make directores.
526 (base_headers): Subdivide based on install directory.
528 (backward_headers): New.
530 (c_headers): Remove, unused.
531 (c_shadow_headers): Split up, deal with conditional usage in a
533 * src/Makefile.in: Regenerate.
535 2000-11-29 Phil Edwards <pme@sources.redhat.com>
537 Sync with the documentation from wwwdocs.
538 * docs/Makefile: New file (rebuilds FAQ text version).
539 * docs/configopts.html: Update.
540 * docs/documentation.html: Update.
541 * docs/download.html: Update.
542 * docs/index.html: Update.
543 * docs/install.html: Update.
544 * docs/links.html: Update.
545 * docs/mail.html: Update.
546 * docs/status.html: Update.
547 * docs/thanks.html: Update.
548 * docs/27_io/howto.html: Update.
549 * docs/faq/index.html: Update for 2.91.
550 * docs/faq/index.txt: Update for 2.91.
551 * docs/footer.html: Removed.
552 * docs/footer.ihtml: New file.
553 * docs/gccrebuild.html: Removed.
554 * docs/header.html: Removed.
555 * docs/header.ihtml: New file.
557 2000-11-29 Loren J. Rittle <ljrittle@acm.org>
559 * tests_flags.in: Correct typo.
561 2000-11-29 Gabriel Dos Reis <gdr@codesourcery.com>
563 * tests_flags (SH_FLAGS, ST_FLAGS): Move them back to ...
564 * mkcheck.in (SH_FLAGS, ST_FLAGS): ...here
566 2000-11-29 Gabriel Dos Reis <gdr@codesourcery.com>
568 * src/Makefile.am (sources): Add bitset.cc
569 * src/Makefile.in: Regenrate.
571 * include/bits/std_bitset.h (_GLIBCPP_BITSET_BITS_PER_WORD): New
572 macro. Replace __BITS_PER_WORDS throughout.
573 (__BITS_PER_WORDS): Remove.
574 (bitset<>::_M_do_find_first, bitset<>::_M_do_find_next): Move
575 definitions to src/bitset.cc.
577 * src/bitset.cc (bitset<>::_M_do_find_first,
578 bitset<>::_M_do_find_next): Define here.
579 (_Bit_count<>::_S_bit_count, _Find_one<>::_S_first_one): Define
580 here. Explicitly instantiate definitions.
582 2000-11-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
584 * config/cpu/powerpc/bits/atomicity.h (__exchange_and_add): Silence
585 preprocessor multi-line string warnings.
586 (__atomic_add): Likewise.
587 (__compare_and_swap): Likewise.
588 (__always_swap): Likewise.
589 (__test_and_set): Likewise.
590 * config/cpu/arm/bits/atomicity.h (__exchange_and_add): Likewise.
591 (__atomic_add): Likewise.
592 (__compare_and_swap): Likewise.
593 (__always_swap): Likewise.
594 (__test_and_set): Likewise.
596 2000-11-28 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
598 Update for 2.91 release.
599 * include/bits/c++config (__GLIBCPP__): Update.
600 * docs/17_intro/RELEASE-NOTES: Update.
601 * docs/status.html: Update, remove bogus autotools disinformation.
603 2000-11-27 Benjamin Kosnik <bkoz@redhat.com>
605 * tests_flags.in (LTCXX): Change CXX_FLAG to CXXFLAGS.
607 * testsuite/22_locale/ctor_copy_dtor.cc: Adjust formatting.
608 * testsuite/27_io/istream_extractor_arith.cc (test11): New
609 testcase, based on libstdc++/90.
611 2000-11-27 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
613 * config/cpu/arm/bits/atomicity.h (__exchange_and_add): Add
615 (__atomic_add): Likewise.
616 (__compare_and_swap): Likewise.
617 (__always_swap): Likewise.
618 (__test_and_set): Likewise.
620 * config/cpu/powerpc/bits/atomicity.h: Replace '__ATOMICITY_INLINE'
622 (__exchange_and_add): Add __volatile__ to asm.
623 (__atomic_add): Likewise.
624 (__compare_and_swap): Likewise.
625 (__always_swap): Likewise.
626 (__test_and_set): Likewise.
628 2000-11-27 Gabriel Dos Reis <gdr@codesourcery.com>
630 * tests_flags.in: Update documentation to reflect the change
633 2000-11-26 Benjamin Kosnik <bkoz@fillmore.constant.com>
635 * tests_flags.in: Export CXX, CXXFLAGS.
636 * mkcheck.in: Grab them.
638 2000-11-26 David Billinghurst <David.Billinghurst@riotinto.com>
639 Benjamin Kosnik <bkoz@redhat.com>
641 * mkcheck.in: Add exe extension to printnow executable, abstract
642 out call to this with TIMER_COMMAND.
643 * configure.target (l_glibcpp_cxxflags): Add cygwin support.
644 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Correct paths.
645 * aclocal.m4: Regenerate.
646 * configure: Regenerate.
648 2000-11-26 Benjamin Kosnik <bkoz@redhat.com>
650 * testsuite/27_io/istream_unformatted.cc (test05): Fixup.
652 2000-11-26 Benjamin Kosnik <bkoz@redhat.com>
654 * acinclude.m4: Only sanity check for compiler version when
655 configuring. More fixes for 'make clean'.
656 * aclocal.m4: Regenerate.
657 * configure: Regenerate.
659 2000-11-26 Gabriel Dos Reis <gdr@codesourcery.com>
661 * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove cabsl.c
662 * libmath/Makefile.in: Regenerate.
663 * libmath/cabs.c: Remove.
664 * libmath/cabsf.c: Likewise.
665 * libmath/cabsl.c: Likewise.
666 * libmath/complex-stub.h: Remove declarations for cabs*.
668 * acinclude.m4: Remove check for cabs*.
669 * aclocal.m4: Regenerate.
671 * Makefile.in: Regenerate.
673 2000-11-26 Gabriel Dos Reis <gdr@codesourcery.com>
675 * tests_flags.in: New file. Split out of ...
676 * mkcheck.in: ... this. Move flags computation into
678 * configure.in: Add support for tests_flags.
679 * confiigure: Regenerate.
681 2000-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
683 * acinclude.m4: Change C9X references to refer to C99.
684 * aclocal.m4, configure: Regenerate.
685 * config/os/gnu-linux/bits/os_defines.h, src/complex.cc,
686 testsuite/22_locale/codecvt_wchar_t_char.cc,
687 include/bits/stl_config.h, include/c/bits/std_cwchar.h,
688 libmath/mathconf.h: Change C9X references to refer to C99.
690 2000-11-25 Benjamin Kosnik <bkoz@redhat.com>
691 Richard Earnshaw <rearnsha@arm.com>
693 * src/Makefile.am (INCLUDES): Remove unconditional use of
694 _GNU_SOURCE and _ISOC99_SOURCE macros.
695 * src/Makefile.in: Regenerate.
697 2000-11-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
699 * testsuite/22_locale/codecvt_wchar_t_char.cc (main): Add
700 _GLIBCPP_USE_WCHAR_T guards.
702 * configure.in (AC_OUTPUT_COMMANDS): Remove, just run scripts as
703 is, so that checks for existence of generated files actually work.
704 * configure: Regenerate.
706 2000-11-23 Hans-Peter Nilsson <hp@bitrange.com>
708 * config/os/gnu-linux/bits/os_defines.h: Include <features.h>.
709 If not glibc 2.1 or higher, include <gnu/types.h> and define
710 __off64_t as __loff_t and #define __THROW as empty.
712 * libio/libio.h [__P]: Move __THROW and __PMT into their own
715 2000-11-23 David Edelsohn <edelsohn@gnu.org>
717 * porting.texi: Expand libtool information.
719 2000-11-23 Gabriel Dos Reis <gdr@codesourcery.com>
721 * include/bits/ios_base.h (ios_base::failure::~failure,
722 ios_base::failure::what): Move defintion to ...
724 * src/ios.cc (ios_base::failure::~failure): ... here.
725 src/ios.cc (ios::failure::what): Likewise.
727 2000-11-22 Benjamin Kosnik <bkoz@redhat.com>
729 Make deprecated strstream header consistent with new and new.h.
730 * include/backward/strstream.h: Add. Use using declarations to
731 scope strstreambuf, istrstream, ostrstream, strstream to global
733 * include/backward/strstream: Remove using declarations.
734 * src/Makefile.am (base_headers): Add strstream.
735 * src/Makefile.in: Regenerate.
737 * include/backward/new.h (_CPP_BACKWARD_NEW_H): Change macro guard
738 to be consistent with other headers.
740 2000-11-22 Richard Henderson <rth@redhat.com>
742 * config/os/bsd/bits/ctype_inline.h (is): Fix order of expressions.
744 2000-11-22 Phil Edwards <pme@sources.redhat.com>
746 * porting.texi: Minor tweaks to vocabulary.
748 2000-11-22 Loren J. Rittle <ljrittle@acm.org>
750 * include/backward/strstream.h: Reinstate the `using'
753 2000-11-22 Loren J. Rittle <ljrittle@acm.org>
755 * src/Makefile.am (base_headers): Add missing backwards headers.
756 * src/Makefile.in: Regenerate.
758 2000-11-21 scott snyder <snyder@fnal.gov>
760 * config/c_io_stdio.cc (seekoff): Fix return value.
762 (sys_seek): Likewise.
764 2000-11-21 Loren J. Rittle <ljrittle@acm.org>
766 * mkcheck.in (explanation): Retain output of all failing
767 compiles. Don't add gratuitous space to the log file.
769 2000-11-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
771 * src/strstream.cc: Adjust includes.
772 * src/Makefile.am (base_headers): Remove std_strstream.h, add
773 backwards/strstream.h.
774 (std_headers): Remove strstream.
775 * src/Makefile.in: Regenerate.
776 * libsupc++/Makefile.am (headers): Remove new.h
777 * libsupc++/Makefile.in: Regenerate.
778 * include/std/strstream: Remove.
779 * include/backward/strstream.h: Replace with...
780 * include/bits/std_strstream.h: ...this. Move.
781 * include/backward/complex.h: Remove SGIisms.
782 * include/backward/streambuf.h: Same.
783 * include/backward/stream.h: Same.
784 * include/backward/ostream.h: Same.
785 * include/backward/istream.h: Same.
786 * include/backward/iostream.h: Same.
787 * include/backward/iomanip.h: Same.
788 * include/backward/fstream.h: Same.
789 * libsupc++/new.h: Add using declarations for bad_alloc,
790 nothrow_t, and nothrow, move to ...
791 * include/backward/new.h: ...here.
793 2000-11-21 Mark Mitchell <mark@codesourcery.com>
795 * porting.texi: New file.
797 2000-11-21 Branko Cibej <brankoe@xbc.nu>
799 * config/os/solaris/solaris2.6/bits/os_defines.h: Define
800 _XOPEN_SOURCE, _LARGEFILE64_SOURCE, __EXTENSIONS__, __off_t,
801 __off64_t and __ssize_t.
802 * config/os/solaris/solaris2.5/bits/os_defines.h: For now, use the
803 same configuration as above.
805 2000-11-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
807 * acinclude.m4 (AC_LC_MESSAGES): Check for locale.h.
808 * aclocal.m4: Regenerate.
809 * configure: Renerate.
811 2000-11-20 Benjamin Kosnik <bkoz@redhat.com>
813 * mkcheck.in (explanation): Don't paste output of passing compiles
814 into log file. Use -static. Get version info.
816 * testsuite/23_containers/vector_ctor.cc (test02): Fix thinko.
818 2000-11-20 Gabriel Dos Reis <gdr@codesourcery.com>
820 * include/bits/std_complex.h (complex<double>): Constructor
821 complex<double>::complex(const complex<float>&) is not explicit;
822 since it is a promotion.
823 (complex<long double>): Constructors taking complex<float> and
824 complex<double> are not explicit.
826 2000-11-20 Benjamin Kosnik <bkoz@redhat.com>
828 * include/bits/std_complex.h: Tweaks, include cmath for abs overloads.
829 * src/complex.cc: Remove cmath include, formatting tweaks, remove
831 * include/c/bits/std_cmath.h: Formatting tweaks.
832 * testsuite/26_numerics/complex_value.cc: New file, for catching
833 bits gleaned from libstdc++/106.
835 * testsuite/23_containers/vector_ctor.cc (test02): Add test from
838 2000-11-20 Joseph S. Myers <jsm28@cam.ac.uk>
840 * include/bits/c++config, include/bits/ios_base.h,
841 include/bits/std_streambuf.h: Correct spelling of "deprecated".
843 2000-11-19 Mark Mitchell <mark@codesourcery.com>
845 * libsupc++/exception_support.cc (__throw_bad_cast): Name it
846 __cxa_bad_cast under the new ABI.
847 (__throw_bad_typeid): Name it __cxa_bad_typeid under the new ABI.
848 * libsupc++/pure.cc (__pure_virtual): Name it __cxa_pure_virtual
851 2000-11-18 Mark Mitchell <mark@codesourcery.com>
853 * libsupc++/exception_support.h: New header file.
854 * libsupc++/vec.cc: Include it.
855 (__cxa_vec_new2): Recatch exceptions before rethrows.
856 (__cxa_vec_new3): Likewise.
857 (__cxa_vec_ctor): Likewise.
858 (__cxa_vec_cctor): Likewise.
859 (__cxa_vec_dtor): Likewise.
860 (__cxa_vec_delete2): Likewise.
861 (__cxa_vec_delete3): Likewise.
863 2000-11-17 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
865 * include/bits/stl_tree.h: Overload operators == and != to be able
866 to handle the case (const_iterator,iterator) and
867 (iterator,const_iterator), thus fixing libstdc++/737 and the like.
868 * testsuite/23_containers/map_operators.cc (test02): New tests.
870 2000-11-17 Loren J. Rittle <ljrittle@acm.org>
872 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Correct last patch
873 to ``make --enable-cstdio=stdio the default''.
874 * libstdc++-v3/aclocal.m4: Rebuilt.
875 * libstdc++-v3/configure: Rebuilt.
877 2000-11-17 Phil Edwards <pme@sources.redhat.com>
879 * acinclude.m4 (GLIBCPP_ENABLE_ATOMICITY): Move switch statement
881 * configure.target: ...here. Enable generic atomic ops, and warn.
882 * aclocal.m4: Regenerated.
884 * Makefile.in: Ditto.
885 * libio/Makefile.in: Ditto.
886 * libmath/Makefile.in: Ditto.
887 * libsupc++/Makefile.in: Ditto.
888 * src/Makefile.in: Ditto.
890 2000-11-16 Loren J. Rittle <ljrittle@acm.org>
892 * include/bits/locale_facets.tcc (num_get<_CharT,
893 _InIter>::do_get(...)): Add missing typename keyword.
895 2000-11-16 Mark Mitchell <mark@codesourcery.com>
897 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Make
898 --enable-cstdio=stdio the default. Disable wide character support
900 * configure.in: Move GLIBCPP_ENABLE_C_MBCHAR after
901 (GLIBCPP_ENABLE_CSTDIO).
902 * config/c_io_stdio.h: Don't include <libio.h>, don't define
904 * aclocal.m4: Regenerated.
905 * configure: Likewise.
906 * Makefile.in: Likewise.
907 * libio/Makefile.in: Likewise.
908 * libmath/Makefile.in: Likewise.
909 * libsupc++/Makefile.in: Likewise.
910 * src/Makefile.in: Likewise.
912 2000-11-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
914 * config/c_io_stdio.h: Include stddef.h.
916 2000-11-16 Mark Mitchell <mark@codesourcery.com>
918 * config/c_io_stdio.h (streamsize): Make it a typedef for
920 (wstreamsize): Likewise.
922 * config/c_io_stdio.h: Include libio.h.
924 2000-11-15 Mark P Mitchell <mark@codesourcery.com>
926 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Substitute libio_la.
927 * src/Makefile.am (libstdc___la_LIBADD): Use it.
928 * aclocal.m4: Regenerated.
929 * configure: Likewise.
930 * Makefile.in: Likewise.
931 * libio/Makefile.in: Likewise.
932 * libmath/Makefile.in: Likewise.
933 * libsupc++/Makefile.in: Likewise.
934 * src/Makfile.in: Likewise.
936 2000-11-15 Mark Mitchell <mark@codesourcery.com>
938 * mkcheckin.in: Move check for bash version 2 later in the file.
940 * include/bits/basic_string.h (basic_string::_Rep::_S_max_size):
942 (basic_string::_Rep::_S_terminal): Likewise.
943 * include/bits/string.tcc (basic_string::_Rep::_S_max_size):
945 (basic_string::_Rep::_S_terminal): Likewise.
947 2000-11-15 David Billinghurst <David.Billinghurst@riotinto.com>
949 * mkcheck.in: Add function size_command() for irix.
951 2000-11-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
953 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPOR): Set LIBS back to
955 (GLIBCPP_EXPORT_INCLUDES): Only export TOPLEVEL_INCLUDES if
956 building a canadian cross. This should fix the remaining java
958 * aclocal.m4: Regenerate.
959 * configure: Regenerate.
961 * include/bits/c++config (__GLIBCPP__): Set release version for 2.91.
963 2000-11-14 Phil Edwards <pme@sources.redhat.com>
965 * mkcheck.in: On a platform where we don't know how to extract
966 section sizes, just set them to zero. Use old method of reading
969 2000-11-13 Loren J. Rittle <ljrittle@acm.org>
971 * config/c_io_stdio.h: Don't define __c_wfile_type
972 when _GLIBCPP_USE_WCHAR_T is not defined.
974 2000-11-13 Phil Edwards <pme@sources.redhat.com>
976 * acinclude.m4 (GLIBCPP_CHECK_TARGET): New macro, replacing
977 GLIBCPP_CHECK_CPU and GLIBCPP_CHECK_OS, sourcing configure.target.
978 (GLIBCPP_CONFIGURE): Call new macro here.
979 * configure.host: Cleanup.
980 * configure.in: Remove those two macros.
981 * configure.target: New file.
982 * aclocal.m4: Regenerated.
984 * Makefile.in: Ditto.
985 * libio/Makefile.in: Ditto.
986 * libmath/Makefile.in: Ditto.
987 * libsupc++/Makefile.in: Ditto.
988 * src/Makefile.in: Ditto.
990 * mkcheck.in: Use libtool. Split things out into functions.
992 2000-11-12 Alexandre Petit-Bianco <apbianco@cygnus.com>
994 * Makefile.am (tmp-libstdsc++.INC:): Do not use -I$(top_builddir).
995 * Makefile.in: Regenerate.
997 2000-11-12 David Edelsohn <edelsohn@gnu.org>
999 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Add test for
1000 libiconv.a providing wchar_t support functions.
1001 * aclocal.m4: Regenerate.
1003 2000-11-12 Loren J. Rittle <ljrittle@acm.org>
1005 * acinclude.m4 (GLIBCPP_ENABLE_ATOMICITY): Handle FreeBSD.
1006 * aclocal.m4, configure: Rebuilt.
1008 2000-11-12 Brent Verner <brent@rcfile.org>
1010 * include/c_std/bits/wrap_langinfo.h: New file.
1011 * include/c_std/langinfo.h: New file.
1012 * include/bits/codecvt.h (__enc_trants::__enc_traits()): Bring in
1013 CODESET from _C_legacy::CODESET if using shadow headers.
1014 * src/Makefile.am: Add new files.
1015 * src/Makefile.in: Regenerate.
1017 2000-11-12 Mark Mitchell <mark@codesourcery.com>
1019 * include/c/bits/std_cmath.h (abs): Change extern "C" declaration
1020 of `abs (double)' to ...
1023 * config/os/solaris/solaris2.7/bits/os_defines.h: Define
1026 2000-11-11 Mark P Mitchell <mark@codesourcery.com>
1028 * include/bits/basic_file.h (__basic_file): Don't use __c_wfile_type
1029 when _GLIBCPP_USE_WCHAR_T is not defined.
1031 2000-11-10 Phil Edwards <pme@sources.redhat.com>
1033 * include/bits/codecvt.h (__iconv_adaptor): New adaptor function,
1034 courtesy of Alexandre Oliva, to handle const/non-const signatures.
1035 (codecvt::do_out): Use.
1036 (codecvt::do_in): And here.
1038 2000-11-10 Gabriel Dos Reis <gdr@codesourcery.com>
1040 * include/bits/cpp_type_traits.h: Fix typos. Adjust formatting.
1042 2000-11-10 Gabriel Dos Reis <gdr@codesourcery.com>
1044 * include/bits/localefwd.h (_Count_ones<>::_S_halfcount,
1045 _Count_ones<>::_S_count): Turn into enumerators.
1047 2000-11-08 Mark Mitchell <mark@codesourcery.com>
1049 * include/bits/codecvt.h (codecvt::do_out): Make it const-correct.
1050 (codecvt::do_in): Likewise.
1052 2000-11-08 David Edelsohn <edelsohn@gnu.org>
1054 * src/locale-inst.cc: Add explicit instantiations of
1055 _M_fill_insert and fill_n<..., unsigned long,...> .
1057 2000-11-06 Gabriel Dos Reis <gdr@codesourcery.com>
1059 * include/bits/std_complex.h (conj): Undo double removal.
1061 2000-11-06 Alexandre Oliva <aoliva@redhat.com>
1063 * acinclude.m4 (LIB_AC_PROG_CXX): Remove CXX from the list of
1064 alternatives for CXX_libstdcxx, now that it is useless.
1065 * aclocal.m4, configure: Rebuilt.
1067 2000-11-04 Mark Mitchell <mark@codesourcery.com>
1069 * acinclude.m4 (LIB_AC_PROG_CXX): Set CXX_libstdcxx from CXX.
1070 * aclocal.m4: Regenerated.
1071 * configure: Likewise.
1073 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Fix punctuation in
1075 * aclocal.m4: Regenerated.
1076 * configure: Likewise.
1078 2000-11-04 Alexandre Oliva <aoliva@redhat.com>
1080 * acinclude.m4 (CXX): Prevent it from being cached.
1081 * aclocal.m4, configure, */Makefile.in: Rebuilt.
1083 2000-11-03 David Edelsohn <dje@watson.ibm.com>
1085 * acinclude.m4 (GLIBCPP_CHECK_OS): Add AIX target selecting threads
1086 flag based on multilib definition of $CXX.
1087 * mknumeric_limits (LDFLAGS): Add AIX target linking with pthreads
1088 based on multilib definition of $CXX.
1089 * config/os/aix/bits/os_defines.h (_G_USING_THUNKS): Define as 0.
1091 2000-11-03 Phil Edwards <pme@sources.redhat.com>
1093 * acinclude.m4: Cleanups.
1094 * aclocal.m4: Regenerated.
1096 * Makefile.in: Ditto.
1097 * libio/Makefile.in: Ditto.
1098 * libmath/Makefile.in: Ditto.
1099 * libsupc++/Makefile.in: Ditto.
1100 * src/Makefile.in: Ditto.
1102 * docs/install.html: Removal of EGCS.
1103 * docs/23_containers/wrappers_h.txt: Likewise.
1104 * docs/faq/index.html: Likewise.
1105 * docs/faq/index.txt: Regenerated.
1106 * docs/thanks.html: More people.
1108 2000-11-03 David Edelsohn <edelsohn@gnu.org>
1110 * include/c/bits/std_cwchar.h: Undefine macro that conflicts
1111 with function name defined in this file.
1113 Thu Nov 2 23:19:20 2000 Mark P Mitchell <mark@codesourcery.com>
1115 * include/c/bits/std_cctype.h: Undefine macros that conflict
1116 with function names defined in this file.
1117 * include/c/bits/std_cstdio.h: Likewise.
1119 2000-11-02 Mark Mitchell <mark@codesourcery.com>
1121 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Fix typo.
1123 Thu Nov 2 10:11:45 2000 Mark P Mitchell <mark@codesourcery.com>
1125 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Add support for IRIX.
1126 * aclocal.m4: Regenerated.
1127 * Makefile.in: Regenerated.
1128 * libio/Makefile.in: Likewise.
1129 * libmath/Makefile.in: Likewise.
1130 * libsupc++/Makefile.in: Likewise.
1131 * src/Makefile.in: Likewise.
1132 * configure: Likewise.
1133 * config/os/irix/bits/ctype_base.h: Revise.
1134 * config/os/irix/bits/ctype_inline.h: Likewise.
1135 * config/os/irix/bits/ctype_noninline.h: Likewise.
1137 * testsuite/22_locale/codecvt_unicode_char.cc: Don't run it
1138 if not _GLIBCPP_USE_WCHAR_T.
1139 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Likewise.
1140 * testsuite/22_locale/ctor_copy_dtor.cc: Likewise.
1141 * testsuite/22_locale/ctype_wchar_t_members.cc: Likewise.
1143 * mkcheck.in: Fix echoing of -rpath option.
1145 * config/os/irix/bits/atomicity.h (_Atomic_word): Make it a
1147 (__exchange_aand_add): Adjust accordingly.
1148 (__atomic_add): Likewise.
1150 2000-11-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1152 * src/locale.cc: Match orderings for static members.
1153 * include/bits/fstream.tcc: Fixes for cin.
1155 2000-11-02 Gabriel Dos Reis <gdr@codesourcery.com>
1157 * include/bits/std_complex.h (complex<>): Remove (cos<>, cosh<>,
1158 exp<>, log<>, log<>, sin, sinh<>) friend declarations.
1159 (cos, cosh, sin, sinh): Define primary templates.
1161 * src/complex.cc (cos<>, cosh<>, sin<>, sinh<>): Comment out
1164 2000-11-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1166 * bits/basic_file.h (_M_open_mode): Change signature, move
1167 specializations to..
1168 * config/c_io_libio.cc: ...here.
1169 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add sdtio option, remove wince.
1170 * aclocal.m4: Regenerate.
1171 * configure: Regenerate.
1172 * config/c_io_stdio.h: New file.
1173 * config/c_io_stdio.cc: New file.
1174 * docs/configopts.html: Modify documentation.
1176 2000-10-31 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1178 * include/c/bits/std_cwctype.h: Add more undefs.
1180 2000-10-31 Gabriel Dos Reis <gdr@codesourcery.com>
1182 * include/bits/std_complex.h (norm): Forward declare.
1183 (complex<>): Comment out friend declaration of conj<>.
1184 (conj<>): Comment out specialization.
1185 (exp, log, log10): Define primary templates.
1187 * src/complex.cc (exp<>, log<>, log10<>): Comment out
1190 2000-10-31 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1192 * include/bits/std_complex.h: Remove duplicate definition of conj.
1193 * include/c/bits/std_cwctype.h: Consistent placement of undefs.
1195 2000-10-31 Gabriel Dos Reis <gdr@codesourcery.com>
1197 * src/complex.cc (arg, polar): Comment out specializations.
1199 * include/bits/std_complex.h (complex<>): Remove arg<> friend
1201 (arg): Define primary template.
1205 2000-10-31 Gabriel Dos Reis <gdr@codesourcery.com>
1207 * include/c/bits/std_cwctype.h: #undef possible function-like
1208 macro definitions of iswxxx functions, which might be brought in
1209 by <wctype.h>. Those macro definitions prevent build on some
1210 linux-based systems.
1212 * include/bits/std_complex.h (complex<>): Comment out friend
1213 declarations of abs<> specializations.
1214 (abs): Define primary template.
1216 * src/complex.cc (abs): Comment out specialization definition.
1218 2000-10-30 Phil Edwards <pme@sources.redhat.com>
1220 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Raise debugging level from
1221 the default of 2 to 3.
1222 * configure.in: Fix minor typos. SUBST the values of enable_shared
1223 and enable_static so that mkcheck will be aware of them. Put the
1224 test for gconv.h in with all the other header tests.
1225 * aclocal.m4: Regenerate.
1227 * Makefile.in: Ditto.
1228 * libio/Makefile.in: Ditto.
1229 * libmath/Makefile.in: Ditto.
1230 * libsupc++/Makefile.in: Ditto.
1231 * src/Makefile.in: Ditto.
1233 * config/os/solaris/solaris2.7/bits/os_defines.h: Define
1234 _G_USING_THUNKS to 0.
1236 2000-10-30 Benjamin Kosnik <bkoz@redhat.com>
1238 * src/complex_io.cc : Remove ancient defines.
1239 * config/os/gnu-linux/bits/os_defines.h: Add defines.
1240 * libsupc++/tinfo2.cc: Change to cstddef.
1242 * include/bits/codecvt.h: Add include of c++config.h, so that
1243 __USE_GNU gets defined. (Important for alpha.)
1245 * include/c/bits/std_cwctype.h: Same.
1246 * include/c/bits/std_ctime.h: And here.
1247 * include/c/bits/std_cstdarg.h: Same.
1248 * include/c/bits/std_csignal.h: Same.
1249 * include/c/bits/std_csetjmp.h: Same.
1250 * include/c/bits/std_clocale.h: Same.
1251 * include/c/bits/std_climits.h: Touch.
1252 * include/c/bits/std_cfloat.h: Same.
1253 * include/c/bits/std_cerrno.h: Same.
1254 * include/c/bits/std_cwchar.h: Same.
1255 * include/c/bits/std_cassert.h: Same.
1256 * include/c/bits/std_cctype.h: Same.
1257 * include/c/bits/std_cstddef.h: And here.
1258 * include/c/bits/std_cstdlib.h: And here.
1259 * include/c/bits/std_cstdio.h: Same.
1260 * include/c/bits/std_cstring.h: Add names to namespace std::.
1262 * include/bits/c++config (_GNU_SOURCE): Move linux-specific macros
1264 (_ISOC99_SOURCE): And this one....
1265 * config/os/gnu-linux/bits/os_defines.h: ...to here.
1267 * include/bits/codecvt.h (codecvt<_InternT, _ExternT,
1268 __enc_traits>::do_in): Don't cast to const, this is a bug in glibc
1270 (codecvt<_InternT, _ExternT, __enc_traits>::do_out): Same.
1271 * include/c/bits/std_cwchar.h: Add using declarations for mbstate_t.
1273 2000-10-30 Steven King <sxking@uswest.net>
1275 * include/bits/codecvt.h: Add cast.
1276 * include/c_std/stdio.h: Re-add printf using declaration.
1277 * include/c_std/bits/std_cstdio.h: Same
1278 * testsuite/22_locale/codecvt_wchar_t_char.cc: Fixup testsuite.
1279 * testsuite/22_locale/ctor_copy_dtor.cc: Same.
1280 * testsuite/22_locale/facet.cc: Same.
1281 * testsuite/22_locale/global_templates.cc: Same.
1282 * testsuite/22_locale/operators.cc: Same.
1283 * testsuite/22_locale/static_members.cc: Same.
1284 * testsuite/26_numerics/c_math.cc: Same.
1285 * testsuite/26_numerics/complex_inserters_extractors.cc: Same.
1286 * testsuite/27_io/fpos.cc: Same.
1287 * testsuite/27_io/istream_extractor_arith.cc: Same.
1288 * testsuite/27_io/istream_unformatted.cc: Same.
1289 * testsuite/27_io/ostream_inserter_arith.cc: Same.
1290 * testsuite/27_io/streambuf.cc: Same.
1292 2000-10-30 Mark Mitchell <mark@codesourcery.com>
1294 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT): Check
1295 for cabs, cabsf, and cabsl, too.
1296 * aclocal.m4: Regenerated.
1297 * config.h.in: Likewise.
1298 * configure: Likewise.
1299 * libmath/Makefile.am (libmath_la_SOURCES): Remove cabs.c and
1301 * libmath/Makefile.in: Regenerated.
1302 * libmath/complex-stub.h (cabs): Don't declare if the system
1303 already provides this function.
1306 * src/complex.cc (abs): Directly use `hypot' since we can't call
1309 2000-10-30 Joseph S. Myers <jsm28@cam.ac.uk>
1311 * acinclude.m4: Update URL on egcs.cygnus.com to point to
1313 * aclocal.m4, configure: Regenerate.
1314 * src/gen-num-limits.cc, include/bits/c++config,
1315 include/bits/stl_config.h: Remove EGCS references.
1317 2000-10-29 Mark Mitchell <mark@codesourcery.com>
1319 * mkcheck.in (test_file): Use -rpath, rather than --rpath, when
1320 building shared executables.
1322 2000-10-29 Mark Harig <mharig@landmark.com>
1324 * src/Makefile.am: Change logic for include dir options.
1325 * src/Makefile.in: Regenerate.
1326 * libsupc++/Makefile.am: Ditto.
1327 * libsupc++/Makefile.in: Regenerate.
1329 2000-10-29 Benjamin Kosnik <bkoz@redhat.com>
1331 * configure.in: Simplify use of AC_CACHE_SAVE. Put linked files
1332 in $(top_builddir)/include/bits, not $(top_builddir)/bits, to help
1333 with libgcj build issues and improve consistency with the source
1334 directory's include directory setup.
1335 * configure: Regenerate.
1336 * acinclude.m4: Same here.
1337 * aclocal.m4: Regenerate.
1338 * mknumeric_limits (OUT_H): Also change paths here.
1339 * mkcheck.in (C_DIR): And here.
1340 * mkc++config (OUT_H): And here.
1341 * libmath/Makefile.am (INCLUDES): And here.
1342 * src/Makefile.am (INCLUDES): Change to $(top_builddir)/include.
1343 * libio/Makefile.am: Ditto.
1344 * libsupc++/Makefile.am (INCLUDES): Ditto.
1346 2000-10-29 Mark Mitchell <mark@codesourcery.com>
1348 * config/c_io_libio.cc (basic_file<char>::__basic_file):
1349 Don't pass a NULL _IO_wide_data to _IO_no_init when
1350 _GLIBCPP_USE_WCHAR_T is not defined.
1351 * config/c_io_libio.h (_IO_codecvt): Don't declare when
1352 _GLIBCPP_USE_WCHAR_T is not defined.
1353 * config/c_io_libio_codecvt.c: Don't compile it
1354 when _GLIBCPP_USE_WCHAR_T is not defined.
1355 * include/bits/codecvt.h (codecvt<_InternT, _ExternT, __enc_traits):
1356 Don't define this specialization when _GLIBCPP_USE_WCHAR_T
1358 * include/bits/locale_facets.h (<bits/std_cwctype.h>): Don't
1359 include it when _GLIBCPP_USE_WCHAR_T is not defined.
1360 * src/codecvt.cc (__enc_traits::_S_max_size): Don't define
1361 when _GLIBCPP_USE_WCHAR_T is not defined.
1362 * src/localename.cc (locale::_Impl::_M_construct_collate):
1363 Don't call wide-character functions when _GLIBCPP_USE_WCHAR_T is
1365 (locale::_Impl::_M_construct_ctype): Likewise.
1366 (locale::_Impl::_M_construct_monetary): Likewise.
1367 (locale::_Impl::_M_construct_numeric): Likewise.
1368 (locale::_Impl::_M_construct_time): Likewise.
1369 (locale::_Impl::_M_construct_messages): Likewise.
1371 * acinclude.m4 (GLIBCPP_ENABLE_ATOMICITY): Handle IRIX.
1372 * aclocal.m4: Regenerated.
1373 * configure: Likewise.
1374 * config/os/irix/bits/atomicity.h: New file.
1375 * config/os/irix/bits/os_defines.h (_POSIX_SOURCE): Undefine.
1377 (__off64_t): Likewise.
1378 (__ssize_t): Likewise.
1379 (_G_USING_THUNKS): Define to zero.
1381 2000-10-28 Mark Mitchell <mark@codesourcery.com>
1383 * src/string-inst.cc (basic_string<C>::npos): Explicitly
1386 2000-10-26 Benjamin Kosnik <bkoz@redhat.com>
1388 * include/c/bits/std_cmath.h: Fix double declarations in namespace std.
1390 Clean up naming, consistency in "C" library autoconf testing.
1391 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): For consistency, change to
1392 GLIBCPP_CHECK_CTYPE_SUPPORT.
1393 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add.
1394 * aclocal.m4: Regenerate.
1395 * configure.in: And here.
1396 Add call to GLIBCPP_CHECK_STDLIB_SUPPORT.
1397 * configure: Regenerate.
1399 2000-10-26 David Edelsohn <edelsohn@gnu.org>
1401 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_2): New macro.
1402 (GLIBCPP_CHECK_MATH_SUPPORT): Use it to test for strtold.
1404 2000-10-26 Phil Edwards <pme@sources.redhat.com>
1405 David Edelsohn <dje@watson.ibm.com>
1407 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Comment out
1408 --gc-sections stuff entirely to avoid misleading people.
1409 (GLIBCPP_ENABLE_CSTDIO): Merge need_libio and need_xtra_libio.
1410 * libio/Makefile.am (LIBIO_SRCS,LIBIO_WSRCS,LIBIO_XTRA_SRCS):
1411 Rearrange and merge.
1412 * libio/libio.h: Simplify, make fewer assumptions. Define those
1413 macros which must be defined.
1414 * config/os/solaris/solaris2.7/bits/os_defines.h: Simplify as a
1417 2000-10-26 Mark Mitchell <mark@codesourcery.com>
1419 * include/backward/streambuf.h: New file.
1421 2000-10-26 David Edelsohn <dje@watson.ibm.com>
1423 * config/os/aix/bits/ctype_inline.h (is): Use __OBJ_DATA directly.
1424 * config/os/aix/bits/ctype_noninline.h (do_tolower): Fix typo.
1425 * config/os/aix/bits/os_defines.h: Add AIX defines.
1427 2000-10-26 Benjamin Kosnik <bkoz@redhat.com>
1429 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Remove.
1430 * aclocal.m4: Regenerate.
1431 * configure.in: Remove GLIBCPP_ENABLE_LONG_DOUBLE.
1432 * configure: Regenerate.
1433 * docs/configopts.html: Remove.
1434 * src/complexl.cc: Revert.
1435 * config.h.in: Remove.
1436 * include/c_std/bits/std_cmath.h: Remove guards based on
1437 _GLIBCPP_USE_LONG_DOUBLE.
1438 * include/c/bits/std_cmath.h: Same. Format. Match c_std behavior
1439 with respect to long double signatures.
1441 * config/os/aix/bits/ctype_noninline.h (ctype): Remove throw
1443 * config/os/newlib/bits/ctype_noninline.h (ctype): And here.
1444 * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
1445 * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
1446 * config/os/generic/bits/ctype_noninline.h (ctype): Same.
1447 * config/os/bsd/bits/ctype_noninline.h (ctype): Same.
1449 2000-10-26 Gabriel Dos Reis <gdr@codesourcery.com>
1451 * include/bits/std_valarray.h (valarray::valarray): Fix thinko.
1452 Use __valarray_copy_construct only where appropriate.
1454 2000-10-25 Mark Mitchell <mark@codesourcery.com>
1456 * Makefile.in (check): Don't make mkcheck executable.
1457 (check-install): Likewise.
1458 * configure.in (AC_OUTPUT): Make mkcheck executable.
1459 * mkcheck.in (top_srcdir): New variable.
1460 (INC_PATH): Set the path to the backward and ext directories
1463 2000-10-25 Phil Edwards <pme@sources.redhat.com>
1465 * configure.in: Check for gconv.h.
1466 * libio/wfileops.c: Wrap gconv.h in HAVE_GCONV_H.
1468 * config/c_io_libio_codecvt.c: Change __mbstate_t to __c_mbstate_t.
1469 * libio/_G_config.h: And here.
1470 * libio/iofwide.c: And here.
1471 * libio/libio.h: And here.
1473 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Remove
1474 exception specification to match declaration.
1475 * include/bits/locale_facets.tcc: Include bits/std_clocale.h.
1477 2000-10-24 Mark Harig <mharig@landmark.com>
1479 * docs/configopts.html: Added documentation for the
1480 "--enable-version-specific-runtime-libs" and
1481 "--with-gxx-include-dir" configuration switches.
1483 2000-10-24 Benjamin Kosnik <bkoz@redhat.com>
1485 * include/bits/stl_pair.h (make_pair): Add LWG solution.
1487 * testsuite/21_strings/compare.cc (test01): Inject namespace std
1490 * mkcheck.in (MAX_MEM_USAGE): Bump up to 3072. Strangely enough,
1493 2000-10-24 Levente Farkas <lfarkas@mindmaker.hu>
1495 * include/bits/std_bitset.h (_M_do_find_next): Fix typo.
1497 2000-10-24 Phil Edwards <pme@sources.redhat.com>
1499 * acconfig.h: List _GLIBCPP_USE_THREADS.
1500 * acinclude.m4: General formatting cleanup (tabs/spaces), typo
1501 correction, etc. Add comments about following *real* changes
1502 where they are used.
1503 (GLIBCPP_ENABLE_C_MBCHAR): New test...
1504 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): ...results used here.
1505 (GLIBCPP_ENABLE_CSTDIO): Define need_wlibio iff wide characters
1507 (GLIBCPP_ENABLE_THREADS): If threads are used, define new
1508 macro _GLIBCPP_USE_THREADS in c++config.h.
1509 (GLIBCPP_ENABLE_SHADOW): For C_INCLUDE_DIR, change () to {} as
1510 this is used in both makefiles and shell scripts (mkcheck).
1511 * configure.in: Call GLIBCPP_ENABLE_C_MBCHAR.
1513 * libio/_G_config.h: Wrap _IO_MTSAFE_IO in _GLIBCPP_USE_THREADS.
1514 * config/c_io_libio.h: In nonthreaded case, typedef __c_lock to
1515 something harmless, like int.
1517 * config/os/aix/bits/os_defines.h: Guard with _GLIBCPP_OS_DEFINES,
1518 add comment/instructions.
1519 * config/os/bsd/bits/os_defines.h: Ditto.
1520 * config/os/generic/bits/os_defines.h: Ditto.
1521 * config/os/gnu-linux/bits/os_defines.h: Ditto.
1522 * config/os/irix/bits/os_defines.h: Ditto.
1523 * config/os/newlib/bits/os_defines.h: Ditto.
1524 * config/os/solaris/solaris2.5/bits/os_defines.h: Ditto.
1525 * config/os/solaris/solaris2.6/bits/os_defines.h: Ditto.
1527 * mkcheck.in: Limit the available heap size for testsuite
1528 binaries, initially at 2MB.
1530 2000-10-23 Benjamin Kosnik <bkoz@redhat.com>
1532 * testsuite/21_strings/compare.cc (test01): Add using declarations.
1534 * include/c_std/bits/std_cerrno.h: And here.
1535 * include/c_std/bits/std_cassert.h: Tweaks.
1537 * mkcheck.in: Simplify.
1539 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Simplify.
1540 (GLIBCPP_ENABLE_LONG_LONG): Same.
1541 * aclocal.m4: Regenerate.
1543 * src/Makefile.am (c_shadow_headers): Add features.h,
1544 bits/wrap_features.h.
1545 * src/Makefile.in: Regenerate.
1546 * include/c_std/features.h: New file.
1547 * include/c_std/bits/wrap_features.h (_CPP_WRAP_FEATURES_H): New
1548 file. Need to have c++config.h included before this file so
1549 _ISOC99_SOURCE around.
1551 * include/c_std/sys/cdefs.h: Hack.
1552 * include/c_std/stdlib.h: Same, use c++config.h.
1553 * include/c_std/bits/std_cstdlib.h: Use _GLIBCPP_HAVE_STRTOLD.
1555 * include/c_std/bits/std_cassert.h: Fix.
1556 * include/c_std/bits/std_cerrno.h: Make consistent.
1558 * include/c_std/bits/std_csetjmp.h (setjmp): Unscope global
1559 declaration from ::_C_legacy to _C_legacy.
1561 * include/c_std/bits/std_cstdio.h: same with printf.
1562 * include/c_std/stdio.h: And here.
1564 * include/c_std/bits/std_cstdlib.h: abort, exit comment.
1565 * include/c_std/stdlib.h: Same here.
1567 2000-10-23 Benjamin Kosnik <bkoz@redhat.com>
1569 * testsuite/21_strings/compare.cc (test01): Add using declarations.
1571 * include/c_std/bits/std_cerrno.h: And here.
1572 * include/c_std/bits/std_cassert.h: Tweaks.
1574 * mkcheck.in: Simplify.
1576 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Simplify.
1577 (GLIBCPP_ENABLE_LONG_LONG): Same.
1578 * aclocal.m4: Regenerate.
1580 * src/Makefile.am (c_shadow_headers): Add features.h,
1581 bits/wrap_features.h.
1582 * src/Makefile.in: Regenerate.
1583 * include/c_std/features.h: New file.
1584 * include/c_std/bits/wrap_features.h (_CPP_WRAP_FEATURES_H): New
1585 file. Need to have c++config.h included before this file so
1586 _ISOC99_SOURCE around.
1588 * include/c_std/sys/cdefs.h: Hack.
1589 * include/c_std/stdlib.h: Same, use c++config.h.
1590 * include/c_std/bits/std_cstdlib.h: Use _GLIBCPP_HAVE_STRTOLD.
1592 * include/c_std/bits/std_cassert.h: Fix.
1593 * include/c_std/bits/std_cerrno.h: Make consistent.
1595 * include/c_std/bits/std_csetjmp.h (setjmp): Unscope global
1596 declaration from ::_C_legacy to _C_legacy.
1598 * include/c_std/bits/std_cstdio.h: same with printf.
1599 * include/c_std/stdio.h: And here.
1601 * include/c_std/bits/std_cstdlib.h: abort, exit comment.
1602 * include/c_std/stdlib.h: Same here.
1604 2000-10-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1606 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): New macro.
1607 * aclocal.m4: Regenerate.
1608 * configure.in: Use it.
1609 * configure: Regenerate.
1610 * src/complexl.cc: Fixup.
1611 * include/c_std/bits/std_cmath.h: Fixup.
1612 * include/c/bits/std_cmath.h: Fixup.
1613 * docs/configopts.html: Add docs.
1615 * docs/links.html: Add links to defects list, standards FAQ.
1617 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Disable tests
1618 with string creation that allocate huge ammounts of memory.
1620 * include/c/bits/std_cstddef.h: Put size_t, ptrdiff_t in
1623 2000-10-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
1625 * libsupc++/exception.cc: Use namespace std.
1626 * libsupc++/new: DITTO.
1627 * libsupc++/new_op.cc: DITTO.
1628 * libsupc++/new_opnt.cc: DITTO.
1629 * libsupc++/new_opv.cc: DITTO.
1630 * libsupc++/new_opvnt.cc: DITTO.
1631 * libsupc++/tinfo.cc: DITTO.
1632 * libsupc++/tinfo.h: DITTO.
1633 * libsupc++/vec.cc: DITTO.
1634 * libsupc++/Makefile.am: Blank lines removal.
1636 2000-10-21 Joseph S. Myers <jsm28@cam.ac.uk>
1638 * docs/configopts.html, docs/install.html, docs/17_intro/BADNAMES,
1639 docs/17_intro/howto.html, docs/18_support/howto.html,
1640 docs/19_diagnostics/howto.html, docs/20_util/howto.html,
1641 docs/21_strings/howto.html, docs/22_locale/howto.html,
1642 docs/23_containers/howto.html, docs/24_iterators/howto.html,
1643 docs/25_algorithms/howto.html, docs/26_numerics/howto.html,
1644 docs/27_io/howto.html, docs/ext/howto.html, docs/faq/index.html:
1645 Remove many EGCS references; use current absolute URLs on
1646 gcc.gnu.org or sources.redhat.com for messages in list archives.
1647 * docs/faq/index.txt: Regenerate.
1649 2000-10-19 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1651 * testsuite/22_locale/codecvt_unicode_char.cc (test01): Adjust
1652 creation of state_type for unicode_codecvt to take into account
1653 the byte order markings. Add distinct tests for UCS-2BE and UCS-2LE.
1654 * testsuite/22_locale/codecvt_unicode_wchar_t.cc (test01): Same.
1655 * include/bits/codecvt.h (__enc_traits): Add support for encodings
1656 that need a byte order marker. Needed for correct unicode support.
1658 * src/locale.cc: Remove explicit qualification std::.
1659 (locale::locale(const char* __name)): Revert, as named locale
1660 support not finished.
1661 * src/localename.cc (locale::_Impl:: _Impl(size_t __numfacets,
1662 size_t __refs, bool __has_name = false, string __name): Move
1664 * include/bits/localefwd.h: Here.
1666 2000-10-18 Chip Salzenberg <chip@valinux.com>
1668 * libio/libio.h (_IO_USER_LOCK): Define.
1670 2000-10-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1672 * libsupc++/Makefile.am (exception): Change exception.cc to
1673 exception_support.cc.
1674 (CXXLINK): Remove bogus --tag CC.
1675 * libsupc++/Makefile.in: Regenerate.
1676 * libsupc++/exception.cc: Move to...
1677 * libsupc++/exception_support.cc: ...here.
1679 * src/Makefile.am: Remove bogus --tag CC.
1680 * src/Makefile.in: Regenerate.
1682 * include/bits/locale_facets.tcc (use_facet): Simplify.
1683 * include/bits/locale_facets.h (use_facet<ctype<char> >): Correct
1684 use_facet declaration. Replace 'const ctype<T>' with ctype<T>.
1685 (use_facet<ctype<wchar_t> >): Same.
1686 * src/locale-inst.cc: Remove explicit instantiation.
1687 * src/locale.cc: Correct signature here too.
1688 (_Bad_use_facet::what()): Correct error string.
1689 * include/bits/localefwd.h: Correct comment.
1691 * mkcheck.in (C_DIR): Change libsupc++/include to libsupc++.
1693 2000-10-17 Martin Buchholz <martin@xemacs.org>
1695 * testsuite/27_io/istream_seeks.cc: Fix spelling typo.
1696 * testsuite/27_io/ostream_seeks.cc: Similarly.
1698 2000-10-17 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1700 via Alexandre Oliva <aoliva@redhat.com>
1701 * libsupc++/Makefile.am: Add --tag CXX, --tag CC, comments.
1702 * libsupc++/Makefile.in: Regenerate.
1703 * src/Makefile.am: Duplicate code.
1704 * src/Makefile.in: Regenerate.
1706 * acinclude.m4 (GLIBCPP_ENABLE_RELIBGCC): Take this out.
1707 * aclocal.m4: Regenerate.
1708 * configure.in: And here.
1709 * configure: Regenerate.
1711 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Disable
1712 test for SECTION_LDFLAGS.
1714 2000-10-16 Benjamin Kosnik <bkoz@gnu.org>
1716 Shadow headers would work if libsupc++ was strict about namespaces.
1717 This only possible if g++ maps std::size_t -> size_t. (Hint hint.)
1718 * include/c_std/assert.h: Add guards.
1719 * include/c_std/bits/std_climits.h: Correct typo.
1720 * include/c_std/ctype.h: Remove #error.
1722 * libio/libioP.h: Break up extern "C" bits around includes.
1723 * libio/libio.h: Only include C headers, or else _C_legacy namespaces
1725 * libio/libioP.h: Same here.
1727 2000-10-15 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
1729 * include/c_std/unistd.h: Define some types only when defined in
1730 the original unistd.h.
1731 * include/c_std/bits/std_cstddef.h: Explicitly ask for the
1732 definition of size_t, ptrdiff_t and NULL.
1733 * include/c_std/bits/wrap_unistd.h: Blank lines removal.
1735 2000-10-15 Phil Edwards <pme@sources.redhat.com>
1737 * docs/configopts.html: Remove libgcc-rebuild; HTML formatting.
1739 2000-10-13 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1740 Mark Harig <markh@landmark.com>
1742 * src/Makefile.am (toolexeclibdir): Add support fo
1743 VERSION_SPECIFIC_LIBS and --with-gxx-include-dir.
1744 * src/Makefile.in: Regenerate.
1745 * libsupc++/Makefile.am: Same.
1746 (glibcppinstalldir): Adjust.
1747 * libsupc++/Makefile.in: Regenerate.
1748 * Makefile.am: Remove gxx_include_dir. Remove INCLUDE.
1749 * Makefile.in: Regenerate.
1750 * docs/configopts.html: Add descriptions of flags.
1752 2000-10-11 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1754 * libsupc++/Makefile.am: Use it.
1755 * libio/Makefile.am: Use it.
1756 * libmath/Makefile.am: Use it.
1757 * src/Makefile.am: Use it.
1758 * Makefile.am (AM_MAKEFLAGS): Remove includes.
1760 * acinclude.m4 (GLIBCPP_EXPORT_INCLUES): Move include macros here.
1761 (GLIBCPP_EXPORT_FLAGS): Move CXX flag setting here.
1762 * configure.in: Use it.
1764 * mkcheck.in (SRC_DIR): Use C_INCLUDE_DIR.
1766 * src/Makefile.am (CXXCOMPILE): Remove.
1767 * src/Makefile.in: Regenerate.
1768 * libsupc++/Makefile.am (CXXCOMPILE): Same here.
1769 * libsupc++/Makefile.in: Regenerate.
1771 * include/c_std/*: Merge with shadow.
1772 * include/c_std/bits/*: Same.
1774 * shadow: Remove directory.
1775 * shadow/*: De-populate.
1777 2000-10-11 Phil Edwards <pme@sources.redhat.com>
1779 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Comment out
1780 exception-throwing code for linker test.
1781 * aclocal.m4: Regenerate.
1782 * configure: Regenerate.
1784 2000-10-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1786 * Makefile.am (LIBSUPCXX_INCLUDES): Adjust.
1787 * libsupc++/include: Remove
1788 * libsupc++/include/*: Move to ...
1790 * libsupc++/Makefile.am (glibcppinstall_HEADERS): Install headers.
1791 (glibcppinstalldir): New.
1793 * src/Makefile.am (c_base_headers): New.
1794 (c_shadow_headers): New
1796 (myinstallheaders): Correct install issues.
1797 * src/Makefile.in: Regenerate.
1799 * Makefile.am (CSHADOW_INCLUDES): Simplify.
1800 * Makefile.in: Regenerate.
1801 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Add c_include_dir.
1802 * aclocal.m4: Regenerate.
1803 * mkcheck.in (SRC_DIR): Use it.
1805 * include/bits/std_stdexcept.h: And here.
1806 * include/bits/std_ios.h: Change std_exception.h to exception.
1807 * src/locale.cc: And here.
1808 * src/locale-inst.cc: And here.
1810 * include/bits/valarray_array.h: And here.
1811 * include/bits/stl_alloc.h: And here.
1812 * include/bits/stl_algobase.h: And here.
1813 * include/bits/pthread_allocimpl.h: And here.
1814 * include/bits/stl_construct.h: Change to std_new.h to new.
1816 * include/bits/locale_facets.h: Change std_typeinfo.h to typeinfo.
1818 * src/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES.
1819 (headers): Remove duplicated headers.
1820 (std_headers): And here.
1821 * src/Makefile.in: Regenerate.
1822 * libsupc++/Makefile.am (LIBSUPCXX_INCLUDES): Remove.
1823 * libsupc++/Makefile.in: Regenerate.
1824 * Makefile.am (LIBSUPCXX_INCLUDES): Add here.
1825 (AM_MAKEFLAGS): And here.
1826 * Makefile.in: Regenerate.
1827 * include/bits/std_typeinfo.h: Remove.
1828 * include/bits/std_new.h: Remove
1829 * include/bits/std_exception.h: Remove.
1831 * std/typeinfo: Remove.
1832 * std/exception: Remove.
1834 * libio/_G_config.h (__need_ptrdiff_t): Add.
1836 * libsupc++/include/new: Change stddef.h to cstddef.
1837 * libsupc++/tinfo.h: Change limits.h to climits.
1838 * libsupc++/pure.cc: Comment out _GNU_LIBRARY_ bits, as this
1839 renders the file uncompilable. Add copyright.
1841 * include/c_std/bits/std_cstddef.h: Don't bring wchar_t into std
1842 namespace, as it is a fundamental type.
1844 2000-10-09 Richard Henderson <rth@cygnus.com>
1846 * libsupc++/pure.cc: New file.
1847 * libsupc++/Makefile.am (INCLUDES): Add top_builddir.
1848 (sources): Add pure.cc.
1849 * libsupc++/Makefile.in: Regenerate.
1851 2000-10-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1853 * docs/configopts.html: Edit.
1855 * libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
1856 * libio/Makefile.in: Regenerate.
1857 * libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
1858 * libmath/Makefile.in: Regenerate.
1859 * libsupc++/Makefile.am (INCLUDES): Remove duplicate.
1860 * libsupc++/Makefile.in: Regenerate.
1862 * Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
1863 TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
1864 CSHADOW_INCLUDES up here.
1865 * Makefile.in: Regenerate.
1866 * src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
1868 (myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
1869 Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
1870 LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
1871 * src/Makefile.in: Regenerate.
1873 * include/c: New directory.
1874 * include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
1875 std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
1876 std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
1877 std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
1878 std_cwchar.h, std_cwctype.h): Add, moving from...
1879 * include/bits: ...here.
1880 * include/c_std: New directory.
1881 * include/c_std/bits/*: Populate from...
1882 * shadow: ...here. Remove directory.
1884 2000-10-08 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1886 * libsupc++/Makefile.am (INCLUDES): Add toplevel include directory.
1887 (INCLUDES): Add glibcpp_includedir.
1888 * libsupc++/Makefile.in: Regenerate.
1890 * acinclude.m4 (GLIBCPP_CHECK_OS): Link to os_defines.h.
1891 * aclocal.m4: Regenerate.
1892 * config/os/*/bits/os_defintes: Adjust copyright dates.
1894 2000-10-08 Phil Edwards <pme@sources.redhat.com>
1896 * include/bits/c++config: Include <bits/os_defines.h>
1897 * config/os/aix/bits/os_defines.h: New file.
1898 * config/os/bsd/bits/os_defines.h: Ditto.
1899 * config/os/generic/bits/os_defines.h: Ditto.
1900 * config/os/gnu-linux/bits/os_defines.h: Ditto.
1901 * config/os/irix/bits/os_defines.h: Ditto.
1902 * config/os/newlib/bits/os_defines.h: Ditto.
1903 * config/os/solaris/solaris2.5/bits/os_defines.h: Ditto.
1904 * config/os/solaris/solaris2.6/bits/os_defines.h: Ditto.
1905 * config/os/solaris/solaris2.7/bits/os_defines.h: Ditto.
1907 2000-10-07 David Edelsohn <dje@watson.ibm.com>
1909 * config/os/aix/bits/atomicity.h: New file.
1911 2000-10-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1913 * acinclude.m4: Remove CPU_FLAGS
1914 * libio/Makefile.am: Here too.
1915 * Makefile.am: Here too.
1917 * src/Makefile.am (CONFIG_INCLUDES): Remove.
1918 (INCLUDES): Remove CONFIG_INCLUDES.
1919 (cpu_headers): Remove.
1920 (myinstallheaders): Remove cpu_headers.
1921 (generated_headers): Rename to build_headers.
1922 (build_headers): Add atomicity.h, ctype_base.h,
1923 ctype_specializations.h.
1925 * config/os: New directory.
1926 * config/aix: Move to...
1927 * config/bsd: Move to...
1928 * config/generic: Move to...
1929 * config/gnu-linux: Move to...
1930 * config/irix: Move to...
1931 * config/newlib: Move to...
1932 * config/solaris: Move to...
1933 * config/os/*: Here.
1935 2000-10-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1937 * acinclude.m4: Remove CPU_FLAGS
1938 * libio/Makefile.am: Here too.
1939 * Makefile.am: Here too.
1941 * src/Makefile.am (CONFIG_INCLUDES): Remove.
1942 (INCLUDES): Remove CONFIG_INCLUDES.
1943 (cpu_headers): Remove.
1944 (myinstallheaders): Remove cpu_headers.
1945 (generated_headers): Rename to build_headers.
1946 (build_headers): Add atomicity.h, ctype_base.h,
1947 ctype_specializations.h.
1949 * config/os: New directory.
1950 * config/aix: Move to...
1951 * config/bsd: Move to...
1952 * config/generic: Move to...
1953 * config/gnu-linux: Move to...
1954 * config/irix: Move to...
1955 * config/newlib: Move to...
1956 * config/solaris: Move to...
1957 * config/os/*: Here.
1959 2000-10-06 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1961 * src/Makefile.am: Remove OPTIMIZE_CXXFLAGS, WARN_CXXFLAGS,
1962 CONFIG_CXXFLAGS from here, and move to...
1963 * src/Makefile.in: Regenerate.
1964 * Makefile.am: ... here. Clean.
1965 (OPTIMIZE_CXXFLAGS): Move up Makefile hierarchy to here.
1966 (WARN_CXXFLAGS): Same.
1967 (CONFIG_CXXFLAGS): Same.
1968 * Makefile.in: Regenerate.
1969 * libsupc++/Makefile.am: Use top-level OPTIMIZE_CXXFLAGS,
1970 WARN_CXXFLAGS, CONFIG_CXXFLAGS as part of local AM_CXXFLAGS.
1971 * libsupc++/Makefile.in: Regenerate.
1973 Change math to libmath.
1974 * math: Move to libmath, delete.
1975 * libmath: New directory.
1976 * libmath/*: Populate.
1977 * src/Makefile.am (LIBMATH_INCLUDES): Change to libmath.
1978 (libstdc___la_LIBADD): Same.
1979 * src/Makefile.in: Regenerate.
1980 * configure.in: Add AC_OUTPUT for libmath/Makefile.
1981 * configure: Regenerate.
1982 * Makefile.am (SUBDIRS): Add libmath.
1983 * Makefile.in: Regenerate.
1984 * README (file): Change name.
1986 2000-10-06 Benjamin Kosnik <bkoz@cygnus.com>
1987 Richard Henderson <rth@cygnus.com>
1988 Alexandre Oliva <aoliva@redhat.com>
1990 * libsupc++: New directory.
1991 * libsupc++/*: Populate.
1992 * libsupc++/Makefile.am (INCLUDES): Add -I../../gcc for
1993 eh-common.h, gansidecl.h.
1994 * configure.in: Add in libsupc++/Makefile to AC_OUTPUT.
1995 * configure: Regenerate.
1996 * Makefile.am (SUBDIRS): Add libsupc++.
1997 * Makefile.in: Regenerate.
1998 * src/Makefile.am (libstdc___la_LIBADD): Add in libsupc++.la
1999 * src/Makefile.in: Regenerate.
2000 * libio/Makefile.am: Remove extraneous, confusing bits.
2001 * libio/Makefile.in: Regenerate.
2003 2000-10-05 Brent Verner <brent@rcfile.org>
2005 * bits/istream.tcc [basic_istream::get(basic_streambuf&)]: Removed
2006 test for _M_gcount < in_avail(), as in_avail() only reports info
2007 for current buffer, causing method to return at end of buffer.
2008 * testsuite/27_io/istream_unformatted.cc [test07()]: New test.
2009 * testsuite/27_io/istream_unformatted-3.txt: New file.
2010 * testsuite/27_io/istream_unformatted-3.tst: New file.
2012 2000-10-05 Benjamin Kosnik <bkoz@fillmore.constant.com>
2014 * README (file): Adjust directory structures.
2015 * mkcheck.in (INC_PATH): Adjust for header changes.
2017 2000-10-05 Phil Edwards <pme@sources.redhat.com>
2019 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Tweaks to message texts
2020 for public relations purposes.
2021 * aclocal.m4: Regenerated.
2022 * configure: Regenerated.
2024 * docs/ext/howto.html: Additional explanation about hashing.
2026 2000-10-05 Benjamin Kosnik <bkoz@cygnus.com>
2028 * include: New directory.
2029 * include/backward: New directory.
2030 * include/bits: New directory.
2031 * include/ext: New directory.
2032 * include/std: New directory.
2033 * include/*/*: Populate.
2035 * backwards: Move to include/backwards, delete.
2036 * bits: Move to include/bits, delete.
2037 * ext: Move to include/ext, delete.
2038 * std: Move to include/std, delete.
2040 * src/complex.cc: Adjust include of mathconf.
2042 * mkc++config (BASE_H): Add include.
2044 * src/Makefile.am: Support for topleve sources include directory.
2045 (INCLUDES): Add LIBMATH_INCLUDE.
2046 * src/Makefile.in: Regenerate.
2047 * math/Makefile.am (INCLUDES): Append /include.
2048 * math/Makefile.in: Regenerate.
2049 * libio/Makefile.am (INCLUDES): Add glibcpp_includedir.
2050 * libio/Makefile.in: Regenerate.
2052 2000-10-04 Benjamin Kosnik <bkoz@gnu.org>
2054 * libio/_G_config.h : Re-guard the __mbstate_t declaration.
2056 2000-10-03 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2058 * docs/22_locale/howto.html: Add link to proto-documentation on
2060 * docs/documentation.html: Rename links for clarity.
2062 * src/Makefile.am (headers): Remove unistd.h, wrap_unistd.h. Add
2063 fcntl.h, iolibio.h, libioP.h, pthread.h, iconv.h.
2064 * src/Makefile.in: Regenerate.
2066 2000-10-02 Steven King <sxking@uswest.net>
2068 * mkcshadow: Fixed script to output proper include guard.
2069 * bits/char_traits.h: Cleaned up types in char_traits<char> functions.
2070 * libio/_G_config.h: Hacked to make work with shadow heraders.
2071 * shadow/*: Hacked to make shadow headers work.
2073 2000-10-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2075 Self-compile with shadow headers.
2076 * acconfig.h (_GLIBCPP_USE_SHADOW_HEADERS): Define. Eventually,
2077 like _GLIBCPP_USE_NAMESPACES before it, this macro will die when
2078 it becomes the default way the library is built.
2079 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): New macro.
2080 * config/gnu-linux/bits/ctype_base.h (ctype_base): Use it.
2081 * config/gnu-linux/ctype.cc (ctype): Use it.
2083 * src/localename.cc (locale::_Impl::_M_replace_categories): Remove
2085 * src/locale.cc: Explicitly cast mbstate_t to void* in calls to
2086 memset. This should not be necessary, but an ambiguous overload
2089 * shadow/bits/std_cwchar.h: Fix.
2090 * shadow/wchar.h: Fix.
2092 * config/gnu-linux/bits/ctype_base.h (ctype_base): Inject ctype
2093 enums into namespace std:: for ctype_base enum. Other OS types
2094 will have to do this as well.
2095 * config/gnu-linux/ctype.cc (ctype): Inject ctype data into
2096 namespace std, in particular __ctype_toupper, __ctype_tolower,
2099 * shadow/iolibio.h: New file.
2100 * shadow/bits/wrap_iolibio.h: New file.
2101 * shadow/libioP.h: New file.
2102 * shadow/bits/wrap_libioP.h: New file.
2103 * shadow/bits/wrap_fcntl.h: New file.
2104 * shadow/fcntl.h: New file.
2105 * shadow/iconv.h: New file. Inject iconv names into the global
2106 namespace, unmangled for the moment.
2107 * shadow/bits/wrap_iconv.h: New file.
2108 * shadow/unistd.h: Remove. Useless.
2109 * shadow/bits/wrap_unistd.h: Remove.
2111 * src/Makefile.am: Take out machine-ansi.h, add fcntl.h unistd.h.
2112 * src/Makefile.in: Regenerate.
2114 * config/c_io_libio.h (_IO_codecvt): Change to normal C++ decl.
2116 * shadow/libio.h: Fix.
2117 * shadow/bits/wrap_libio.h: Fix.
2119 * shadow/bits/std_clocale.h: Remove typedef struct construct,
2120 which will not compile.
2121 * shadow/bits/std_ctime.h: Same.
2123 * shadow/pthread.h: New file. Put pthreads types and functions
2124 into global scope, which is probably not the correct long-term
2125 solution but has to be done at the moment before libio wrappers
2126 can even be started.
2127 * shadow/bits/wrap_pthread.h: New file.
2129 * bits/std_ios.h: Formatting tweak.
2130 * shadow/bits/std_cstdio.h: Format. Remove extraneous bits.
2132 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Add -Werror to
2133 tests for compiler features.
2134 * aclocal.m4: Regenerate.
2135 * configure: Regenerate.
2137 * config/c_io_libio.cc: Remove fcntl.h include, as SEEK_SET
2139 * libio/libioP.h: Comment out fcntl.h include.
2141 * shadow/math.h: Add in float and long declarations, as per ISO C9X.
2143 * bits/c++config: Define _ISOC99_SOURCE.
2145 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Add -fno-builtins to
2146 CSHADOWFLAGS, as well as _ISOC99_SOURCE.
2147 * aclocal.m4: Regenerate.
2148 * configure: Regenerate.
2149 * src/Makefile.am (CSHADOW_INCLUDES): Enable, again.
2150 (CSHADOW_INCLUDES): Add -I$(top_srcdir)/std before shadow include dir.
2151 (CXXCOMPILE): Remove $(DEFS), which searches $(top_srcdir) before
2152 std or shadow directories.
2153 (LTCXXCOMPILE): Same.
2154 (INCLUDES): Add $(top_builddir) before $(top_srcdir).
2155 (AC_CXXFLAGS): Add CSHADOWFLAGS.
2156 * src/Makefile.in: Regenerate.
2158 * src/complex.cc (FCT): Change ::name to name.
2159 * src/complexl.cc (FCT): Same. Use _GLIBCPP_USE_LONG_LONG here.
2160 * src/complexf.cc (FCT): Same.
2162 * src/complexf.cc: Remove FCT define, as things are properly
2163 overloaded in the std namespace with the shadow headers.
2164 * src/complexl.cc: Same.
2165 * src/complex.cc: Same.
2167 2000-09-25 Phil Edwards <pme@sources.redhat.com>
2169 * docs/documentation.html: Add link to...
2170 * docs/ext/howto.html: ...this. New dir/file, describing library
2171 extensions (both ours and SGI's).
2172 * docs/faq/index.html: Small updates.
2173 * docs/faq/index.txt: Regenerate.
2175 2000-09-25 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
2177 * bits/basic_file.h (_M_open_mode): Remove extra qualifier.
2179 2000-09-25 Levente Farkas <lfarkas@mindmaker.hu>
2181 * ext/stl_hashtable.h (_M_copy_from): Change __copy to __local_copy.
2183 2000-09-19 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2185 * src/localename.cc (locale::_Imp) : Remove typedefs.
2186 * bits/localefwd.h (locale::locale(const locale& __other, _Facet*
2187 __f): Consistency check, call _Imp ctor with reference argument
2189 * bits/localefwd.h: Change _S_num_categories to
2190 _S_categories_num. Add new data member, _S_facets_num, which is
2191 the number of standard facets.
2193 2000-09-19 Phil Edwards <pme@sources.redhat.com>
2195 * docs/21_strings/howto.html: Fix editor lossage from last commit.
2197 2000-09-19 Phil Edwards <pme@sources.redhat.com>
2199 * docs/thanks.html: More thanks.
2200 * docs/18_support/howto.html: Fix thinko.
2201 * docs/21_strings/howto.html: Minor tweaks and updates to URLs.
2202 Redo the string transformation notes and link to...
2203 * docs/22_locale/howto.html: ...here.
2205 2000-09-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2207 * src/locale-inst.cc: Add time_put_byname and
2208 time_get_byname instantiations.
2209 * bits/locale_facets.h: Correct default, private derivation to
2210 public derivation in _byname declarations.
2211 * src/locale.cc (locale::classic()): Simplify.
2212 * src/localename.cc (locale::_Impl:: _Impl(const _Impl& __other,
2213 const string& __name, category __cat, size_t __refs): Re-work for
2215 (_M_normalize_category_names): Remove.
2217 * testsuite/22_locale/global_templates.cc (test01): Tweaks.
2218 * testsuite/22_locale/ctor_copy_dtor.cc (test01): More tests.
2220 2000-09-18 Yuri V. Baskakov <yuribsk@lab.sun.mcst.ru>
2222 * bits/std_bitset.h (operator>>): Change to char_type.
2224 2000-09-15 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2226 * src/locale.cc (locale::locale(const char* __name)): Consolidate
2227 name setting. Add checks for NULL __name pointers. Remove calls to
2228 _S_initialize() as initial locale initialization can either be
2229 assumed, or needs to be made consistent throughout locale
2231 (locale::locale(const locale& __other, const char* __name,
2232 category __cat): Add checks for NULL name. Add checks for
2234 * src/localename.cc (locale::_Impl:: _Impl(const _Impl& __other,
2235 const string& __name, category __cat, size_t __refs)): Set correct
2236 name, has_name values.
2237 * testsuite/22_locale/ctor_copy_dtor.cc (test01): More tests.
2238 * docs/22_locale/locale.html: New file, more unfinished docs...
2240 2000-09-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2242 * src/locale.cc (locale::name()): Implement.
2243 (_Impl(size_t __numfacets, size_t __refs, bool __namep = false,
2244 string __name = "*")): Change signature.
2245 (locale::classic): Initialize the "C" locale as a named locale.
2246 * bits/localefwd.h (locale): Change _M_num_references to
2247 _M_references. Eliminate _M_cached_name_ok. Rename _M_cached_name
2249 * bits/localefwd.h: Tweaks.
2250 * src/localename.cc: Tweaks.
2251 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Add tests.
2254 * bits/basic_string.h: Consistency check, change _M_state ->
2257 2000-09-14 Brendan Kehoe <brendan@zen.org>
2259 * bits/string.tcc (_Rep::_S_max_size): Use typename for its size_type
2262 * src/Makefile.an (headers): Also install backward/fstream.h.
2263 * src/Makefile.in: Regenerate.
2265 * bits/char_traits.h (char_traits<_CharT>::get_state,
2266 char_traits<char>::get_state, char_traits<wchar_t>::get_state): Pass
2267 argument in by reference, not by value. Uglify to _S_get_state.
2268 (char_traits<*>::__eos): Uglify to _S_eos.
2269 * bits/std_ostream.h (ends(basic_ostream<_CharT, _Traits>& __os)):
2270 Change __eos to _S_eos.
2272 2000-09-13 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2274 * testsuite/22_locale/static_members.cc: New file.
2275 * testsuite/22_locale/ctor_copy_dtor.cc: New file.
2276 * src/locale.cc: Minor formatting tweaks.
2278 2000-09-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2280 * testsuite/22_locale/global_templates.cc (test01): Add negative
2281 tests for use_facet.
2283 * bits/localefwd.h (locale::operator()): Minor tweaks.
2284 * bits/locale_facets.tcc (locale::operator()): Same.
2285 * testsuite/22_locale/operators.cc: New file.
2287 * testsuite/22_locale/facet.cc (output_iterator): Remove
2288 gnu_input_iterator, gnu_output_iterator.
2290 2000-09-11 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2292 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Remove test != "0".
2293 * aclocal.m4: Regenerate.
2294 * configure: Regenerate.
2296 * bits/c++config (__GLIBCPP__): Update, in the hopes of making a
2297 snapshot release soon.
2298 (_GNU_SOURCE): Define this in the header files, as ISO C99 support
2299 is pretty much assumed.
2301 * testsuite/22_locale/global_templates.cc: New file. Add tests for
2302 use_facet and has_facet.
2304 * bits/codecvt.h (codecvt<_InT, _ExT, __enc_traits>::do_out):
2305 Modify/correct iconv signatures for glibc2.2.
2307 2000-09-10 Branko Cibej <branko.cibej@hermes.si>
2309 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Replace "grep -q" with
2312 2000-09-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2314 * bits/localefwd.h (locale::_Impl): Scope out types to public.
2315 (locale): Make _Impl declaration public.
2317 2000-09-08 Felix Natter <fnatter@gmx.net>
2319 * docs/17_intro/porting-howto.html: New version.
2321 2000-09-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2323 * config/cpu/i386/bits/atomicity.h (__exchange_and_add): Change unused
2325 * config/cpu/ia64/bits/atomicity.h (__exchange_and_add): And here.
2326 * config/cpu/i486/bits/atomicity.h (__exchange_and_add): And here.
2328 2000-09-07 Phil Edwards <pme@sources.redhat.com>
2330 Add bits for --enable-maintainer-mode:
2331 - turns on enable_debug
2332 (doing "--enable-maint --disable-debug" will DTRT)
2333 - turns on -Werror, now off by default
2334 * acinclude.m4: Add bits.
2335 * aclocal.m4: Regenerate.
2336 * configure.in: Add defaults for GLIBCPP_ENABLE_DEBUG.
2337 * configure: Regenerate.
2339 2000-09-07 Benjamin Kosnik <bkoz@cygnus.com>
2341 * bits/std_cwctype.h: Remove yesterday's hacks.
2343 2000-09-07 Brad Garcia <bgarcia@laurelnetworks.com>
2345 * bits/stl_tree.h: Make operators !=, == type safe for map, set.
2346 * testsuite/23_containers/set_operators.cc: New file. Should not
2348 * testsuite/23_containers/map_operators.cc: New file. Ditto.
2350 2000-09-06 Richard Henderson <rth@cygnus.com>
2351 Benjamin Kosnik <bkoz@cygnus.com>
2353 * acinclude.m4 (GLIBCPP_CHECK_CPU): Add ia64 support.
2354 * aclocal.m4: Regenerate.
2355 * configure: Regenerate.
2356 * config/cpu/ia64: New directory.
2357 * config/cpu/ia64/bits: New directory.
2358 * config/cpu/ia64/bits/atomicity.h: New file.
2360 2000-09-06 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2362 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Force glibc_satisfactory
2363 to no, so that libstdc++-v3's libio will be built on glibc-2.2
2365 * aclocal.m4: Regenerate.
2366 * configure: Regenerate.
2367 * */Makefile.in: Regenerate.
2369 * bits/std_cwctype.h: Put in temporary hack to work around -O2 +
2370 glibc 2.1.x unsigned errors. Or disable -Werror by default...
2372 * testsuite/23_containers/vector_element_access.cc: New file.
2373 * bits/stl_config.h (__STL_THROW_RANGE_ERRORS): Define.
2375 2000-09-06 Levente Farkas <lfarkas@mindmaker.hu>
2377 * bits/string.tcc: Fix up more parameter names.
2379 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
2381 * configure: Rebuilt with new libtool.m4.
2383 2000-09-01 Benjamin Kosnik <bkoz@cygnus.com>
2385 * src/locale-inst.cc: Remove pre-instantiation of unicode
2386 codecvt types. Now unnecessary, as locale header now correct.
2388 2000-08-31 Benjamin Kosnik <bkoz@cygnus.com>
2390 * bits/locale_facets.tcc (_S_build_float_format): Move ...
2391 * src/locale.cc: Here.
2392 * bits/locale_facets.tcc (num_get::_M_extract): Clean up generic
2393 definition. Move specialization to ...
2394 * src/locale.cc: Here.
2395 * bits/locale_facets.tcc: Move _Format_cache specializations to ...
2396 * src/locale.cc: Here.
2397 * bits/locale_facets.tcc: Move use_facet<ctype> specializations to ...
2398 * src/locale.cc: Here.
2400 * bits/std_locale.h: Note that locale_facets.tcc should be
2401 included here, for standards conformance. It may increase
2402 compile times though. For the time being, enable.
2403 * testsuite/22_locale/facet.cc: New file, some parts commented out
2406 * mkcheck.in: Append total time to test summary file.
2408 * bits/sbuf_iter.h : Formatting tweaks.
2410 Clean up static const data member definitions.
2411 * src/locale.cc: Add definitions for all missing locale,
2412 locale::_Imp, and locale::id static data members.
2413 (ctype<char>): Add table_size define.
2414 (money_base): Add _S_default_pattern, uglify.
2415 * bits/localefwd.h: Add definitions for static members of _Count_ones.
2416 * bits/locale_facets.h: Tweaks.
2417 * bits/locale_facets.tcc: Tweaks.
2418 * bits/string.tcc: Add definition for npos.
2419 * bits/ios_base.h: Tweaks.
2420 * bits/ios_base.h (ios_base::Init::_M_ios_base_init): Change to
2422 * src/ios.cc: And here. Add _S_local_words definition.
2423 Add definitions for __ios_flags const static data.
2424 * src/codecvt.cc: Same for __enc_traits.
2425 * src/locale-inst.cc: Remove money_base data member definition
2428 2000-08-30 Benjamin Kosnik <bkoz@redhat.com>
2430 * testsuite/22_locale/ctype_wchar_t_members.cc (test01): New file.
2432 * docs/22_locale/codecvt.html: Re-number.
2433 * docs/22_locale/howto.html: Add entry for ctype
2434 documentation. Add entry for Nathan's introduction to locales
2436 * docs/22_locale/ctype.html: New file. In progress...
2438 * docs/22_locale/codecvt.html: Formatting cleanups.
2439 * src/locale.cc (ctype<wchar_t>::do_is): Fix thinko.
2441 2000-08-30 Phil Edwards <pme@sources.redhat.com>
2443 * docs/22_locale/codecvt.html: Behind-the-scenes ASCII->HTML
2444 tweaks for certain browsers.
2446 2000-08-29 Benjamin Kosnik <bkoz@redhat.com>
2448 * bits/locale_facets.h (ctype<char>): Remove __table_type.
2449 Add include for bits/std_cwctype.h, for wctype_t.
2450 * src/locale.cc (ctype<wchar_t>): Implement.
2451 * config/gnu-linux/bits/ctype_base.h (ctype_base): Remove mask
2452 typedef, instead name enum.
2453 * config/gnu-linux/bits/ctype_specializations.h: Tweak.
2454 * config/gnu-linux/ctype.cc: Tweak.
2455 * testsuite/22_locale/ctype.cc: Tweak.
2457 * bits/codecvt.h (__enc_traits): Uglify names.
2459 2000-08-28 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2461 * docs/22_locale/codecvt.html: Add more bits, format.
2462 * bits/codecvt.h: Add copy ctor, rename types.
2463 * testsuite/22_locale/codecvt_unicode_char.cc: Tweak.
2465 * libio/iofwide.c: Tweak.
2467 2000-08-28 Phil Edwards <pme@sources.redhat.com>
2469 * docs/configopts.html: Mention new options.
2470 * docs/install.html: Formatting changes for platform-specific
2471 pre-reqs, previously only Cygwin.
2472 * docs/mail.html: Fix new link.
2473 * docs/thanks.html: A couple more people.
2474 * docs/26_numerics/howto.html: Fix typo.
2476 2000-08-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2478 * docs/22_locale/howto.html: Add notes on codecvt implementation.
2479 * docs/22_locale/codecvt.html: New file. In progress.
2481 2000-08-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2483 * acconfig.h: Revert.
2484 * acinclude.m4: Revert.
2485 * libio/_G_config.h: Revert.
2486 * libio/libio.h: Revert.
2488 2000-08-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2490 * bits/codecvt.h: Tweaks.
2491 * testsuite/22_locale/codecvt_unicode_wchar_t.cc (test01): Fix up
2492 initial string literals for UCS4.
2494 2000-08-23 Phil Edwards <pme@sourceware.cygnus.com>
2496 * acconfig.h: _GLIBCPP_USING_THREADS and some workaround types added.
2497 * acinclude.m4: New macro, GLIBCPP_ENABLE_WCHAR. Set the threads
2498 definition as well, and some minor spelling/spacing fixes. If
2499 building libio, check for certain typedefs.
2500 * libio/_G_config.h: Wrap _IO_MTSAFE_IO in _GLIBCPP_USING_THREADS.
2501 Conditionally define _LARGEFILE64_SOURCE, otherwise the 64-bit types
2502 will never be there.
2503 * libio/libio.h: In the null case, _IO_lock_t can't just be void.
2504 * src/string-inst.cc: Use _GLIBCPP_USE_WCHAR_T.
2506 * configure.in: Update the cache a bit more often.
2508 * mkcheck.in: For check-install, also need to -I the testsuite dir.
2510 2000-08-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2512 * src/locale-inst.cc: Add codecvt<unicode_t, wchar_t,
2513 __enc_traits> instantiations for has_facet and use_facet.
2514 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: New file, for
2515 testing two-byte unicode encodings converted to four-byte UCS4
2518 * bits/codecvt.h (codecvt<__enc_traits>): Fix do_unshift.
2519 * testsuite/22_locale/codecvt_unicode_char.cc (test01): Add
2520 correct state/encoding information.
2522 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Add wcsrtombs,
2523 mbsrtowcs checks as codecvt<wchar_t, char, mbstate_t> needs them
2525 Add checks for langinfo.h, nl_langinfo function call.
2526 * libio/iofwide.c (_IO_fwide): Simplify, as nl_langinfo is assumed.
2528 2000-08-22 Richard B. Kreckel <Richard.Kreckel@Uni-Mainz.DE>
2530 * config/cpu/alpha/bits/atomicity.h: Change __attribute__
2531 ((unused)) to __attribute__ ((__unused__)).
2532 * config/cpu/arm/bits/atomicity.h: Same.
2533 * config/cpu/generic/bits/atomicity.h: Same.
2534 * config/cpu/i386/bits/atomicity.h: Same.
2535 * config/cpu/i486/bits/atomicity.h: Same.
2536 * config/cpu/powerpc/bits/atomicity.h: Same.
2537 * config/cpu/sparc/sparc32/bits/atomicity.h: Same.
2538 * config/cpu/sparc/sparc64/bits/atomicity.h: Same.
2540 2000-08-22 Levente Farkas <lfarkas@mindmaker.hu>
2542 * bits/basic_string.h: Fix up parameter names.
2544 2000-08-22 Brent Verner <brent@rcfile.org>
2546 * src/Makefile.am (INCLUDES): Put $(CSHADOW_INCLUDES) before
2548 * src/Makefile.in: Regenerate.
2550 2000-08-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2552 * bits/codecvt.h: Implement codecvt<wchar_t, char, mbstate_t>. Fix
2553 up __enc_traits template so as to be marginally useful.
2554 * src/codecvt.cc: And here.
2555 * bits/char_traits: Tweak.
2556 * bits/locale_facets.h: Tweak.
2557 * bits/locale_facets.tcc: Tweak.
2558 * bits/localefwd.h: Tweak.
2559 * src/locale-inst.cc: Add use_facet/has_facet instantiations here.
2560 * testsuite/22_locale/codecvt_wchar_t_cc.cc: New file.
2561 * testsuite/22_locale/codecvt_char_char.cc: New file.
2562 * testsuite/22_locale/codecvt_unicode_char.cc: New file.
2564 2000-08-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2566 * bits/std_cmath.h (std::abs): Overload for int and long.
2568 2000-08-20 Benjamin Kosnik <bkoz@gnu.org>
2570 * src/string-inst.cc: Tweak instantiations for new-gxx-abi.
2572 2000-08-19 Gabriel Dos Reis <gdr@codesourcery.com>
2574 * bits/valarray_array.h (__valarray_min, __valarray_max): Fix
2575 thinko. Diagnostic messages really need to be improved for
2576 template argument deduction.
2578 2000-08-18 Benjamin Kosnik <bkoz@gnu.org>
2580 * bits/valarray_meta.h: Fix typos...
2582 2000-08-18 Gabriel Dos Reis <gdr@codesourcery.com>
2584 * bits/valarray_meta.h (_Expr<>::shift, _Expr::cshift,
2585 _Expr<>::apply): Implement.
2587 2000-08-18 Gabriel Dos Reis <gdr@codesourcery.com>
2589 * bits/valarray_meta.h (_Expr<>::min, _Expr<>::max): Implement.
2591 * bits/valarray_array.h (__valarray_min, __valarray_max): New
2594 2000-08-17 Mark Mitchell <mark@codesourcery.com>
2596 * bits/localefwd.h (std::locale): Use explicit `class' specified
2597 when declaring friends.
2598 * bits/std_fstream.h (std::basic_filebuf): Likewise.
2600 2000-08-16 Alexandre Oliva <aoliva@redhat.com>
2602 * src/Makefile.am (libstdc++.INC): Renamed from INCLUDES.
2603 * src/Makefile.in: Regenerate.
2605 2000-08-15 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2607 * bits/codecvt.h: New file.
2608 * src/codecvt.cc: New file.
2609 * bits/std_locale.h: Add include here.
2610 * src/Makefile.am (headers): Add codecvt.h
2611 (sources): Add codecvt.cc.
2612 * src/Makefile.in: Regenerate.
2613 * bits/locale_facets.h (codecvt): Re-implement. Rename _Codecvt to
2614 __codecvt_abstract_base in an attempt to point some light this way...
2615 Move __enc_traits and codecvt bits to codecvt.h.
2616 * src/locale-inst.cc: Remove codecvt<wchar_t, wchar_t, mbstate_t>
2617 explicit instantiation. Separate out codecvt instantations, simplify.
2618 * src/locale.cc: Move codecvt bits to codecvt.cc
2620 2000-08-15 Alexandre Oliva <aoliva@redhat.com>
2622 * src/Makefile.am (INCLUDES): New target file, with all -I flags.
2623 * src/Makefile.in: Regenerate.
2625 2000-08-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2627 C/C++ io merge/sync.
2638 * config/c_io_libio.cc (__basic_file): Add hacky casts to
2639 ((struct _IO_FILE_plus *) in ctors.
2640 (__basic_file<wchar_t>): Adjust _wide_data->_codecvt to just _codecvt.
2641 * libio/Makefile.am: Fix copyright. Remove cleanup.c.
2642 * libio/cleanup.c: Remove.
2643 * libio/filedoalloc.c (_IO_file_doallocate): Don't call
2644 _IO_cleanup_registration_needed, even if not libc.
2646 * testsuite/27_io/stringstream.cc (test02): Fix.
2648 2000-08-14 Brent Verner <brent@rcfile.org>
2650 * testsuite/debug_assert.h: new file
2651 * testsuite/*/*.cc: s/test\s*&=([^;]+);/VERIFY($1);/g
2652 changed conditional #include <c?assert.?h?> to
2653 unconditional #include <debug_assert.h>
2654 * mkcheck.in: added $SRC_DIR/testsuite to include search path
2655 for testsuite compile command.
2657 2000-08-14 Levente Farkas <lfarkas@mindmaker.hu>
2659 * bits/std_fstream.h: Remove duplicate typdefs for ofstream and
2660 wofstream, filebuf, wfilebuf, fstream, wfstream.
2661 * bits/std_streambuf.h: Same for streambuf, wstreambuf.
2662 * bits/std_sstream.h: Same for stringstream and wstringstream.
2663 Same for stringbuf, wstringbuf, istringstream, wistringstream,
2664 ostringstream, wostringstream.
2666 * testsuite/26_numerics/valarray.cc: Add test.
2668 2000-08-14 Zack Weinberg <zack@wolery.cumb.org>
2670 * configure: Regenerate after change to ../libtool.m4.
2672 2000-08-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2674 * bits/locale_facets.tcc: Formatting tweaks.
2675 * bits/locale_facets.h (__enc_traits): Start integrating this
2676 into codecvt, ctype. Formatting tweaks.
2678 2000-08-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2680 Preliminary wchar_t implementation, with trivial encodings.
2681 * docs/configopts.html: Add bits about canonical configure option
2684 * testsuite/27_io/iostream_objects.cc: Replace this file (which
2685 has newly-declared-illegal mixing of wide/narrow stdstreams) with...
2686 * testsuite/27_io/narrow_stream_objects.cc: New file.
2687 * testsuite/27_io/wide_stream_objects.cc: New file.
2689 * bits/fstream.tcc (underflow): Temporarily hack a solution
2690 together that writes from the external file to the internal
2691 buffers. This removes codecvt from the loop, and is incorrect.
2692 (_M_really_overflow): Same here.
2694 * testsuite/21_strings/inserters_extractors.cc (test05): Tweaks.
2696 2000-08-08 Benjamin Kosnik <bkoz@cygnus.com>
2697 Ulrich Drepper <drepper@cygnus.com>
2699 * config/c_io_libio.h: Tweak.
2700 * config/c_io_libio_codecvt.c: New file.
2701 * libio/Makefile.am: Add c_codecvt.c.
2702 * libio/Makefile.in: Regenerate.
2703 * libio/genops.c (_IO_unbuffer_write): Don't call _IO_SETBUF if the
2704 stream is not orientated.
2706 * acinclude.m4: Add config/c_io_libio_codecvt.c dummy file, until
2707 encoding gets fleshed out.
2709 * bits/basic_file.h: Add specialization declarations.
2710 * config/c_io_libio.cc: Add specializations for pbackfail, uflow.
2712 * config/c_io_libio.h: Add __c_wfile_type.
2713 * bits/basic_file.h: Add _M_wfile.
2715 * config/c_io_libio.cc (__basic_file<char>): Initialize the
2716 streams without setting the orientation of the underlying FILE to
2717 either wide or narrow.
2718 (__basic_file<wchar_t>)): Enable tricky wchar_t io bits.
2720 2000-08-07 Felix Natter <fnatter@gmx.net>
2722 * docs/17_intro/porting-howto.html: New version.
2724 2000-08-03 Mark Mitchell <mark@codesourcery.com>
2726 * bits/locale_facets.h (ctype::ctype): Don't name unused
2729 2000-08-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2731 * docs/install.html: Edit bits about requiring a special version
2734 2000-07-31 Benjamin Kosnik <bkoz@cygnus.com>
2736 * libio/fileops.cc: Update to current glibc sources.
2737 * libio/genops.c: Same.
2738 * libio/iofwide.c: Same.
2739 * libio/libio.h: Same.
2740 * libio/libioP.h: Same.
2741 * libio/wfiledoalloc.c: Same.
2742 * libio/wgenops.c: Same.
2744 2000-07-28 Alexandre Oliva <aoliva@redhat.com>
2746 * acinclude.m4: Include ../libtool.m4.
2747 * aclocal.m4, configure: Rebuilt.
2749 2000-07-26 Phil Edwards <pme@sourceware.cygnus.com>
2751 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Test for GNU ld
2752 before trying to use any of its options.
2753 (CHECK_MATH_DECL*,CHECK_BUILTIN_MATH_DECL*): Cache tests.
2754 * aclocal.m4: Regenerate.
2755 * configure.in: Having found GNU make, name it.
2756 * configure: Regenerate.
2757 * docs/install.html: Mention possible problems with caching.
2758 * src/Makefile.am (CXXLINK): Use new OPT_LDFLAGS.
2759 * src/Makefile.in: Regenerate.
2760 * libio/Makefile.in: Regenerate.
2761 * math/Makefile.in: Regenerate.
2762 * Makefile.in: Regenerate.
2764 2000-07-26 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2766 * src/misc-inst.cc (std): Remove instantiations.
2768 * acinclude.m4: Add forward-looking bits for autoconf.
2769 * aclocal.m4: Regenerate.
2771 * bits/ostream.tcc (ostream::operator<<): Fix const char* case.
2773 2000-07-25 Benjamin Kosnik <bkoz@gnu.org>
2775 * configure.in: Change AM_PROG_LIBTOOL to AC_PROG_LIBTOOL. Change
2776 it back for current versions of maintainer-tools...
2777 * acinclude.m4: Some cleanups...
2778 * aclocal: Regenerated.
2779 * configure: Regenerated.
2781 * src/Makefile.am (CXXLINK): Add -Wl,-01 to the link line for
2782 optimizing/adapting the hash table using GNU ld.
2783 * src/Makefile.in: Regenerate.
2785 2000-07-24 H.J. Lu <hjl@gnu.org>
2787 * src/Makefile.am (LIBIO_INCLUDES): Set to -I$(top_srcdir)/libio
2788 even if GLIBCPP_NEED_LIBIO is false. The installed glibc header
2789 files don't include private libio header files needed by
2791 * src/Makefile.in: Rebuild.
2793 2000-07-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2795 * bits/std_fstream.h: Parameterize __basic_file.
2796 * config/c_io_libio.cc: Add wchar_t methods for parameterization.
2797 * bits/basic_file.h: Same here.
2799 * bits/istream.tcc (getline): Tweaks.
2801 * bits/fstream.tcc: Shorten __retval to __ret.
2802 * bits/ostream.tcc: Same.
2803 * bits/sbuf_iter.h: Same.
2804 * bits/sstream.tcc: Same.
2805 * bits/streambuf.tcc: Same.
2806 * bits/std_fstream.h: Same.
2807 * src/string-inst.cc: Same.
2809 * config/c_io_libio.cc: Same.
2810 * bits/string.tcc: Same.
2811 * bits/std_streambuf.h: Same.
2813 2000-07-23 Brent Verner <brent@rcfile.org>
2815 * bits/istream.tcc: istream::getline(char_type*, streamsize,
2816 char_type) make compliant
2817 * testsuite/27_io/istream_unformatted.cc: test for compliant behavior
2819 2000-07-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2821 * acinclude.m4 (enable_cshadow_headers): Fix problems with blddir
2822 and srcdir used to define CSHADOW_INCLUDES..
2824 * configure.in: For consistency, change .sanity_warned to
2825 stamp-sanity-warned.
2827 * acinclude.m4: Tweak formatting.
2828 * Makefile.am (check): Call mkcheck with full pathname for build
2830 (check-install): And here.
2831 * Makefile.in: Regenerate.
2833 2000-07-22 Gabriel Dos Reis <gdr@codesourcery.com>
2835 Line up with libstdc++-v2 version of valarray.
2836 * bits/valarray_array.h (__valarray_product): Make inline.
2837 * src/valarray-inst.cc (__valarray_product): Remove explicit
2840 2000-07-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2842 * src/stl-inst.cc: Change __sink_unused_warning to unsigned int
2845 * testsuite/26_numerics/complex_inserters_extractors.cc (testall):
2846 Change return type to void.
2847 * testsuite/25_algorithms/lower_bound.cc: Add return values.
2848 * testsuite/17_intro/header_ciso646.cc: Modify.
2849 * bits/locale_facets.h: Add return values for the generic cases.
2851 2000-07-21 H.J. Lu (hjl@gnu.org)
2853 * acinclude.m4: Include <features.h> for glibc testing.
2854 * aclocal.m4: Likewise.
2856 * configure: Rebuild.
2858 2000-07-20 H.J. Lu (hjl@gnu.org)
2860 * acinclude.m4: Change "#pragma system_header" to
2861 "#pragma GCC system_header".
2862 * aclocal.m4: Likewise.
2863 * bits/std_cmath.h: Likewise.
2864 * bits/std_cassert.h: Likewise.
2865 * bits/std_cctype.h: Likewise.
2866 * bits/std_cerrno.h: Likewise.
2867 * bits/std_cfloat.h: Likewise.
2868 * bits/std_climits.h: Likewise.
2869 * bits/std_clocale.h: Likewise.
2870 * bits/std_cwchar.h: Likewise.
2871 * bits/std_csetjmp.h: Likewise.
2872 * bits/std_csignal.h: Likewise.
2873 * bits/std_cstdarg.h: Likewise.
2874 * bits/std_cstddef.h: Likewise.
2875 * bits/std_cstdio.h: Likewise.
2876 * bits/std_cstdlib.h: Likewise.
2877 * bits/std_cstring.h: Likewise.
2878 * bits/std_ctime.h: Likewise.
2879 * bits/std_cwctype.h: Likewise.
2880 * bits/std_exception.h: Likewise.
2881 * bits/std_new.h: Likewise.
2882 * bits/std_typeinfo.h: Likewise.
2883 * shadow/bits/std_cassert.h: Likewise.
2884 * shadow/bits/std_cctype.h: Likewise.
2885 * shadow/bits/std_cerrno.h: Likewise.
2886 * shadow/bits/std_cfloat.h: Likewise.
2887 * shadow/bits/std_climits.h: Likewise.
2888 * shadow/bits/std_clocale.h: Likewise.
2889 * shadow/bits/std_cmath.h: Likewise.
2890 * shadow/bits/std_csetjmp.h: Likewise.
2891 * shadow/bits/std_csignal.h: Likewise.
2892 * shadow/bits/std_cstdarg.h: Likewise.
2893 * shadow/bits/std_cstddef.h: Likewise.
2894 * shadow/bits/std_cstdio.h: Likewise.
2895 * shadow/bits/std_cstdlib.h: Likewise.
2896 * shadow/bits/std_cstring.h: Likewise.
2897 * shadow/bits/std_ctime.h: Likewise.
2898 * shadow/bits/std_cwchar.h: Likewise.
2899 * shadow/bits/std_cwctype.h: Likewise.
2900 * shadow/bits/wrap_libio.h: Likewise.
2901 * shadow/bits/wrap_unistd.h: Likewise.
2902 * shadow/sys/cdefs.h: Likewise.
2904 * configure: Rebuild.
2906 2000-07-20 Jakub Jelinek <jakub@redhat.com>
2908 * config/cpu/sparc/sparc64/bits/atomicity.h (__exchange_and_add):
2909 Use extended word instructions to match 64bit _Atomic_word.
2910 (__atomic_add): Likewise.
2911 * math/clog10l.c (clog10l): Use M_PIl if defined.
2912 * math/c_logl.c (c_logl): Likewise.
2913 * math/signbitl.c (__signbitl): Adapt for IEEE quad long doubles.
2914 * math/mathconf.h (ieee_quad_double_shape_type): New type.
2915 (GET_LDOUBLE_MSW64): New define.
2917 2000-07-20 Benjamin Kosnik <bkoz@cygnus.com>
2919 * bits/std_streambuf.h: Add bits for pback buffers here, so that
2920 in_avail, etc can use them.
2921 * bits/std_fstream.h: Ditto.
2922 * bits/fstream.tcc: Ditto.
2923 * testsuite/27_io/filebuf.cc: Tweaks.
2924 * testsuite/27_io/filebuf-3.tst: Correct for pbackfail bits.
2926 2000-07-19 Benjamin Kosnik <bkoz@cygnus.com>
2928 * src/localename.cc: Same.
2929 * src/locale.cc: Same.
2930 * bits/localefwd.h: _M_init_facet to _M_facet_init.
2932 * bits/locale_facets.h: _M_init_boolnames to _M_boolnames_init.
2934 * bits/std_sstream.h: Change _M_init_stringbuf to _M_stringbuf_init.
2936 * bits/fstream.tcc: Change _M_init_filebuf to _M_filebuf_init.
2937 * bits/std_fstream.h: Same.
2939 * bits/basic_string.h: Tweaks.
2941 2000-07-19 Phil Edwards <pme@sourceware.cygnus.com>
2943 * docs/18_support/howto.html: Update.
2945 2000-07-19 Benjamin Kosnik <bkoz@milou.soma.redhat.com>
2947 Internal consistency checks.....
2948 * bits/ios_base.h: Change _M_locale_ios to _M_ios_locale.
2951 * bits/basic_ios.h: Change _M_fctype_ios to _M_ios_fctype.
2952 * bits/basic_ios.tcc: Same.
2954 * bits/std_streambuf.h: Change _M_locale_buf to _M_buf_locale.
2955 Change _M_fctype_buf to _M_buf_fctype.
2956 * bits/fstream.tcc: Same.
2958 * bits/std_streambuf.h: Change _M_buf_bump to _M_out_cur_move.
2959 Change _M_locale_set to _M_buf_locale_init.
2960 * bits/streambuf.tcc: Same.
2961 * bits/sstream.tcc: Same.
2962 * bits/fstream.tcc: Same.
2964 * bits/std_streambuf.h: Make typedefs consistent.
2965 (_M_buf_bump): Be more careful with input sequence.
2967 * bits/std_sstream.h: Same.
2968 * bits/std_fstream.h: Same.
2970 2000-07-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2972 * acinclude.m4: Tweaks.
2973 * config/c_io_libio.cc: Tweaks.
2974 * bits/sstream.tcc (stringbuf::pbackfail): Simplify.
2975 * libio/_G_config.h: Don't define _G_HAVE_ST_BLKSIZE.
2976 * libio/[iofwide.c, wfiledoalloc.c, wfiteopos.c, wgenops.c]: New files.
2977 * libio/iofclose.c iofopen.c, stdio.c: New files.
2978 * libio/Makefile.am: Add files, add flags, etc.
2979 * src/Makefile.am (sources): Add filebuf.cc.
2980 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT):
2981 (GLIBCPP_ENABLE_CSTDIO): Versioning testing, etc etc.
2983 2000-07-17 Phil Edwards <pme@sourceware.cygnus.com>
2985 * acinclude.m4: Import CHECK_GNU_MAKE from autoconf macro archive.
2986 * configure.in: Use it. Also print reminders one time.
2987 * aclocal.m4: Regenerate.
2988 * configure: Regenerate.
2990 2000-07-15 Gabriel Dos Reis <gdr@codesourcery.com>
2992 * bits/valarray_array.h (__valarray_get_storage): New function.
2993 (_Array<>::Array): Use it.
2994 * bits/std_valarray.h (valarray<>::valarray): Likewise.
2995 (valarray<>::resize): Likewise. Tweak.
2996 * src/valarray-inst.cc (__valarray_product): Tweak.
2998 2000-07-11 Phil Edwards <pme@sourceware.cygnus.com>
3000 * docs: Update sourceware->sources in every HTML file. Minor updates.
3002 2000-07-07 Benjamin Kosnik <bkoz@soma.redhat.com>
3004 Clean up configure/build longstanding issues.
3005 * src/Makefile.am (AC_CXXFLAGS): Don't set @SECTION_LDFLAGS@ here.
3006 (CXXLINK): Add here, instead.
3008 * Makefile.am (check-install): Make sure mkcheck has execute privs.
3010 * configure.in (AC_OUTPUT_COMMANDS): Remove hacks here.
3012 * configure.in (AC_OUTPUT_COMMANDS): Link c_io_libio.h and
3013 c_io_libio.cc instead of copying.
3014 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Do link here.
3016 * configure.in (AC_OUTPUT_COMMANDS): Link $THREADS.h and
3017 c++threads.h instead of copying.
3018 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Do link here.
3021 * config/c_io_libio.cc (__basic_file::_M_open_mode): Consolidate.
3022 * bits/basic_file.h: Declare.
3024 * mkcheck.in (TESTS_FILE): Use -v instead of --version.
3026 2000-07-07 brent verner <brent@rcfile.org>
3028 * testsuite/27_io/istream_unformatted.cc (test05): New test.
3030 2000-07-07 Benjamin Kosnik <bkoz@gnu.org>
3032 * bits/istream.tcc (istream::getline): Minor tweaks.
3034 2000-07-07 Phil Edwards <pme@sourceware.cygnus.com>
3036 * docs/download.html: Mention gcc_update.
3037 * docs/configopts.html: Minor updates.
3038 * docs/gccrebuild.html: Ditto.
3039 * docs/18_support/howto.html: More tips, explanations, and reminders.
3040 * docs/19_diagnostics/howto.html: Ditto.
3041 * docs/21_strings/howto.html: Ditto.
3042 * docs/24_iterators/howto.html: Ditto.
3043 * docs/25_algorithms/howto.html: Ditto.
3044 * docs/26_numerics/howto.html: Ditto.
3046 2000-07-05 brent verner <brent@rcfile.org>
3048 * testsuite/27_io/ifstream_members.cc (test01): Add tests.
3049 * testsuite/27_io/ofstream_members.cc (test01): Add tests.
3050 * config/c_io_libio.cc (__basic_file::open): Unset
3051 ~_IO_DELETE_DONT_CLOSE.
3053 2000-07-05 Zack Weinberg <zack@wolery.cumb.org>
3055 * bits/gslice_array.h, bits/indirect_array.h, bits/mask_array.h,
3056 bits/slice_array.h, bits/std_valarray.h, bits/valarray_meta.h:
3057 Do not paste anything after 'operator' keyword.
3059 2000-07-03 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3061 * bits/std_memory.h: Revert.
3063 2000-07-03 Brendan Kehoe <brendan@zen.org>
3065 * bits/std_complex.h: Fix parens. Format.
3067 2000-07-03 scott snyder <snyder@fnal.gov>
3069 * bits/locale_facets.tcc (_M_extract): Only figure out the base
3070 from the input if base == 0.
3071 * testsuite/27_io/istream_extractor_arith.cc: Test reading a
3072 number with a leading `0' in hex mode.
3074 * shadow/bits/std_cmath.h: Fix typo in _GLIBCPP_HAVE_CEILL test.
3076 * mkinclosure: Change `==' to `=' in test.
3078 2000-07-03 Chip Salzenberg <chip@valinux.com>
3080 * src/Makefile.am (libio_headers): _G_config.h is found in srcdir,
3082 * src/Makefile.in: Regenerate.
3084 2000-07-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3085 Ulrich Drepper <drepper@purist.soma.redhat.com>
3087 Sync libio to glibc-2.2 current CVS.
3088 * libio/_G_config.h: New file.
3089 * libio/wfileops.c: New file.
3090 * libio/wfiledoalloc.c: New file.
3091 * libio/wgenops.c: New file.
3092 * libio/iofwide.c: New file.
3093 * libio/Makefile.am: Tweaks.
3094 * libio/Makefile.in: Regenerate.
3095 * libio/gen-params: Remove. Generic replacement for this yet undone.
3096 * libio/[filedoalloc.c, fileops.c, genops.c, iolibio.h, libio.h,
3097 libioP.h, stdfiles.c]: Update.
3098 * config/c_io_libio.cc: Tweaks.
3099 * acinclude.m4: Complete hacks to test wide io.
3100 * aclocal.m4: Regenerate.
3101 * configure: Regenerate.
3102 * src/Makefile.am: Update.
3103 * src/Makefile.in: Regenerate.
3105 * math/cargl.c: Remove underscores.
3107 * bits/locale_facets.h: Tweaks. Start adding iconv details
3109 * bits/locale_facets.tcc: Tweaks.
3110 * bits/std_cwchar.h: Tweaks.
3112 2000-06-29 scott snyder <snyder@fnal.gov>
3114 * bits/concept_checks.h
3115 (__less_then_comparable_requirement_violation): Only check for <.
3116 * testsuite/25_algorithms/lower_bound.cc: New file.
3118 2000-06-29 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3120 * testsuite/27_io/ostream_manip.cc (test02): Add tests.
3121 * bits/ostream.tcc: Tweak.
3122 * bits/std_fstream.h (basic_filebuf::setbuf): Reset
3123 _M_buf_size_opt too.
3124 * bits/std_streambuf.h (basic_streambuf::~basic_streambuf): Zero
3125 out _M_buf_size_opt.
3126 * bits/std_sstream.h (basic_stringbuf::_M_init_stringbuf): Set
3127 _M_buf_size_opt out here.
3128 * bits/char_traits.h (char_traits::eos): Non standard member
3129 function, uglify to __eos. Return char_type().
3130 * bits/std_ostream.h: Change.
3132 * testsuite/27_io/ostream_seeks.cc: New file.
3133 * testsuite/27_io/ostream_seeks-1.tst: New file.
3134 * testsuite/27_io/istream_unformatted.cc (main): Move test04 and
3136 * testsuite/27_io/istream_seeks.cc: New file.
3138 2000-06-29 Branko Cibej <branko.cibej@hermes.si>
3140 * bits/std_memory.h (auto_ptr_ref): Reworked and defined only if
3141 _GLIBCPP_RESOLVE_LIB_DEFECTS.
3142 (auto_ptr): _M_ptr changed to void*.
3143 (suto_ptr::get): Cast _M_ptr to element type.
3144 (auto_ptr::auto_ptr(auto_ptr<Tp1>)): Test implicit convetsion.
3145 (auto_ptr::~auto_ptr): Use this->get() instead of _M_ptr.
3146 (auto_ptr::operator*): Likewise.
3147 (auto_ptr::operator->): Likewise.
3148 (auto_ptr::release): Likewise.
3149 (auto_ptr::reset): Likewise.
3150 (auto_ptr::auto_ptr(auto_ptr_ref)): Initialize from __ref._M_release.
3151 (auto_ptr::operator auto_ptr_rev<_Tp1>): Updated.
3152 Define nested auto_ptr_ref unless _GLIBCPP_RESOLVE_LIB_DEFECTS.
3153 Define operator=(auto_ptr_ref) if _GLIBCPP_RESOLVE_LIB_DEFECTS.
3155 2000-06-28 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3157 * testsuite/27_io/filebuf.cc: Tweak.
3158 * testsuite/27_io/filebuf_members.cc (test_01): Fix.
3159 * config/c_io_libio.cc (__basic_file::~__basic_file): Match libio
3161 (__basic_file::basic_file): Clean, add calls similar to
3163 (__basic_file::open): Clean.
3164 (__basic_file::sys_open): Clean.
3166 * bits/std_fstream.h: Revert.
3167 * bits/fstream.tcc (filebuf::close()): Revert.
3168 (filebuf::basic_filebuf()): Revert.
3170 2000-06-27 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3172 Update to SGI STL 3.3
3173 * ext/hash_map, ext/hash_set, ext/slist, ext/stl_bvector.h,
3174 ext/stl_rope.h, ext/ropeimpl.h: Update.
3175 * bits/std_bitset.h, bits/std_map, bits/std_memory.h,
3176 bits/stl_algo.h, bits/stl_algobase.h, bits/stl_alloc.h,
3177 bits/stl_config.h, bits/stl_construct.h, bits/stl_deque.h,
3178 bits/stl_function.h, bits/stl_heap.h, bits/stl_iterator.h,
3179 bits/stl_iterator_base.h, bits/stl_list.h, bits/stl_map.h,
3180 bits/stl_multimap.h, bits/stl_multiset.h, bits/stl_numeric.h,
3181 bits/stl_queue.h, bits/stl_set.h, bits/stl_stack.h,
3182 bits/stl_string_fwd.h, bits/stl_threads.h, bits/stl_three.h,
3183 bits/stl_uninitialized.h, bits/stl_vectory.h: Update.
3185 * src/Makefile.am (headers): Add new files.
3186 * src/Makefile.in: Regenerate.
3187 * src/stl-inst.cc (std): Add instantiation for __sink_unused_warning.
3188 * bits/concept_checks.h: New file.
3189 * bits/container_concepts.h: New file.
3190 * bits/sequence_concepts.h: New file.
3192 2000-06-27 H.J. Lu <hjl@gnu.org>
3193 Loren J. Rittle <ljrittle@acm.org>
3195 * mkcheck.in: Add support to print standard flags needed to
3196 test g++ in build tree. Enhance command line error checking.
3198 2000-06-27 Phil Edwards <pme@sourceware.cygnus.com>
3200 * docs/install.html: Fix minor typo as reported.
3202 2000-06-26 Brent Verner <brent@rcfile.org>
3204 * bits/string.tcc (string::rfind): Fix.
3205 * testsuite/21_strings/rfind.cc: New file.
3207 2000-06-26 Anthony Williams <anthony@anthonyw.cjb.net>
3209 * testsuite/21_strings/ctor_copy_dtor.cc: Fixed logic error.
3211 2000-06-26 Branko Cibej <branko.cibej@hermes.si>
3213 * testsuite/27_io/filebuf_members.cc (test_01): Fixed typos.
3215 * mkcheck.in: Make the *.txt and *.tst files writable after
3216 copying them to $TEST_DIR.
3218 * testsuite/27_io/ostream_inserter_arith.cc: Renamed
3219 __TEST_NUMPUT_VERBOSE to TEST_NUMPUT_VERBOSE. Define
3220 TEST_NUMPUT_VERBOSE only if DEBUG_ASSERT.
3222 2000-06-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3224 * bits/fstream.tcc (basic_filebuf::basic_filebuf(fd)): Use it.
3225 (basic_filebuf::close): Use it.
3226 * bits/std_fstream.h (basic_filebuf): Remove default arguments for
3228 (basic_filebuf): Add _M_fileno_based data member.
3229 As reported by brent verner <brent@rcfile.org>
3230 * testsuite/27_io/filebuf_members.cc: New file.
3231 * testsuite/27_io/filebuf_members-1.tst: New file.
3233 * bits/std_fstream.h: Formatting tweaks.
3234 * testsuite/27_io/ofstream_members.cc: New file.
3235 * testsuite/27_io/ofstream_members-1.tst: New file.
3236 * testsuite/27_io/ifstream_members.cc: New file.
3237 * testsuite/27_io/ifstream_members-1.tst: New file.
3239 2000-06-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3240 Ulrich Drepper <drepper@cygnus.com>
3242 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Add -D_GNU_SOURCE, so
3243 that all the freaky stuff like sincos will be around...
3245 2000-06-22 Branko Cibej <branko.cibej@hermes.si>
3247 * Makefile.am (AM_MAKEFLAGS): Added WERROR to list of flags.
3249 2000-06-22 Steven King <sxking@uswest.net>
3251 * acinclude.m4: Check for sinl, _sinl using 1 parameter.
3253 2000-06-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3255 * acinclude.m4 (GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT): Redo. Use the
3256 same approach as GLIBCPP_CHECK_MATH_SUPPORT, only don't try to
3257 link against libm and don't use -fno-builtins...
3258 * math/mathconf.h: Change up builtin macros to new schema.
3259 * bits/std_cmath.h: And here. Wheee!
3260 * shadow/bits/std_cmath.h: And here.
3261 * acconfig.h: Change up builtin macros here.
3262 * math/cosf.c: Remove.
3263 * math/fabsf.c: Likewise.
3264 * math/sinf.c: Likewise.
3265 * math/sqrtf.c: Likewise.
3266 * math/Makefile.am (EXTRA_DIST): Remove those four files.
3267 * math/Makefile.in: Regenerate.
3269 2000-06-22 Anthony Williams <anthony@anthonyw.cjb.net>
3271 * testsuite/21_strings/find.cc: Patch.
3273 2000-06-22 Benjamin Kosnik <bkoz@soma.redhat.com>
3275 * acinclude.m4 (GLIBCPP_CHEC_LINKER_FEATURES): Use gcc + -x c++ as
3276 an easy way to get at g++ without having to link in libstdc++.
3278 2000-06-21 Benjamin Kosnik <bkoz@soma.redhat.com>
3280 Fix alpha, powerpc build failures.
3281 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Substantially
3282 re-write. Need to check for both proper declaration when using a
3283 c++ compiler, and "C" linkage when linking. Do both, and if both
3284 exist, then define the HAVE_* bits in config.h.
3285 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE): New, uber-macro. Does all.
3286 (GLIBCPP_CHECK_LINKER_FEATURES): Actually link and run this
3289 2000-06-20 Anthony Williams <anthony@anthonyw.cjb.net>
3291 * bits/string.tcc: Fix find.
3292 * testsuite/21_strings/find.cc: Patch.
3294 2000-06-20 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3296 * docs/install.html: Update where to get automake, where to get
3298 * acinclude.m4: Need -fno-builtins too, so gcc doesn't recognize
3301 2000-06-19 Benjamin Kosnik <bkoz@soma.redhat.com>
3303 * acinclude.m4 ((GLIBCPP_CHECK_MATH_SUPPORT): Revert last change.
3304 Add -Werror-implicit-function-declaration instead.
3306 Regenerate with fixed maintainer-tools.
3307 * aclocal.m4: Regenerate.
3308 * configure: Regenerate.
3309 * libio/Makefile.in: Regenerate.
3310 * src/Makefile.in: Regenerate.
3312 2000-06-19 Russell Davidson <russell@ehess.cnrs-mrs.fr>
3314 * testsuite/27_io/istream_extractor_arith.cc: Patch.
3315 * bits/locale_factets.tcc: Tweak.
3317 2000-06-19 Raja R Harinath <harinath@cs.umn.edu>
3319 * src/Makefile.am: change @WERROR@ to $(WERROR) so that this can
3320 be overridden on the command line for individual files.
3322 2000-06-19 Benjamin Kosnik <bkoz@soma.redhat.com>
3324 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Can't use
3325 AC_LANG_CPLUSPLUS as this tries to link in libstdc++, which we are
3326 building. Use -x c++ instead, which does not attempt to link
3329 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Actually check for
3330 not coring when we hit a try/throw block, which was the problem
3331 with the linker support...
3333 * docs/17_intro/contribute.html: Add bits about getting to the LWG
3335 * docs/documentation.html: Rename link to make more accurate and scary.
3336 * docs/gccrebuild.html: Edit for clarity as these are no longer
3338 * docs/install.html: Add bits about binutils for
3339 -ffunction-sections, -fdata-sections, -Wl,--gc-sections
3341 * configure.in: Add call for GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT.
3342 * math/Makefile.am (EXTRA_DIST): Change USE_LONG_DOUBLE to
3343 USE_COMPLEX_LONG_DOUBLE.
3344 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Break into
3345 GLIBCPP_CHECK_MATH_SUPPORT and GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT.
3346 Works around irregularies in powerpc "C" compiler, but a good idea
3349 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT):
3350 New. Merge both old compiler bug checks for complex into this.
3352 2000-06-19 Anthony Williams <anthony@anthonyw.cjb.net>
3354 * testsuite/21_strings/find.cc: Empty strings can be found at all
3355 positions. Modified.
3357 2000-06-19 Branko Cibej <branko.cibej@hermes.si>
3359 * testsuite/20_utilities: New directory.
3360 * testsuite/20_utilities/auto_ptr.cc: New file.
3362 2000-06-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3364 * src/Makefile.am (string_sources): Simplify, assuming that with
3365 -ffunction-sections, -fdata-sections, -Wl,--gc-sections, all this
3366 hacking is not necessary.
3367 (wstring_sources): Same.
3368 (OPTIMIZE_CXXFLAGS): Enable -fdata-sections -ffunction-sections
3370 * src/string-inst.cc: Remove macro blocks.
3371 * mkcheck.in (CXX_FLAG): Add bits here.
3373 * src/string-inst.cc: Remove iostream-related string instantiations.
3374 * src/misc-inst.cc: Add here.
3376 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change FMTFLAGS
3378 * aclocal.m4: Regenerate.
3379 * configure.in: Change up.
3380 * configure: Regenerate.
3382 2000-06-13 Steven King <sxking@uswest.net>
3384 * acinclude.m4: Fixup some of the builtin math tests and add tests for
3385 __builtin_fmod* and test libm for fmodf, fmodl or _fmodf, _fmodl.
3386 * acconfig.h: Add entries for fmod*.
3388 2000-06-13 Branko Cibej <branko.cibej@hermes.si>
3390 * bits/std_cmath.h: Fix typos in tests (*_FMODFF -> *_FMODF).
3391 Test *_MODFF not *_MODF for modf(float, float*).
3392 (modf(float, float*)): Remove reference to _C_legacy.
3394 2000-06-13 Benjamin Kosnik <bkoz@redhat.com>
3396 * acinclude.m4 (enable_cshadow_headers): Change CSHADOWFLAGS to
3397 _GNU_SOURCE instead of _ISOC9X_SOURCE, as _GNU_SOURCE is the
3398 superset, and already defined at top level.
3399 * aclocal.m4: Regenerate.
3400 * configure: Regenerate.
3402 * docs/17_intro/contribute.html: Plead with people to use -cp.
3404 2000-06-13 Anthony Williams <anthony@anthonyw.cjb.net>
3406 * testsuite/23_containers/bitset_ctor.cc: Qualify reverse wth std::.
3408 * testsuite/27_io/filebuf.cc: Changed calls to
3409 fpos<>._M_position() to implicit calls to operator streamoff().
3410 * testsuite/27_io/iostream_objects.cc: Removed #include <ciso646>,
3411 as not needed. Revert, as part of standard.
3412 * testsuite/27_io/ostream_inserter_arith.cc: Replaced explicit
3413 call to numpunct<>._M_init() with overrides of the appropriate
3416 * testsuite/27_io/stringstream.cc: Removed unnecessary char *
3417 pointers from test01, so no need to call base(), which isn't
3418 guaranteed to be implemented as iterators may themselves be pointers
3419 * testsuite/27_io/stringbuf.cc: Removed unnecessary calls to
3420 _M_position() - use implicit conversion to streamoff instead
3422 2000-06-13 Thomas Holenstein <thomas@hex.ch>
3424 * bits/stl_iterator.h: Added inline to operators == to >=.
3426 2000-06-13 Brent Verner <brent@rcfile.org>
3428 * bits/streambuf.tcc: repaired _S_copy_streambufs()
3429 * testsuite/27_io/ostream_inserter_other.cc (test03): Added testcase.
3431 2000-06-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3433 * bits/locale_facets.h (ctype<wchar_t>): Remove unnecessary data
3435 * src/locale.cc: Add cwchar include here. Remove incorrect
3436 definitions, and stub them out.
3437 * config/generic/ctype.cc (ctype): Remove ctype<wchar_t> bits.
3438 * config/solaris/solaris2.7/ctype.cc (ctype): Same.
3439 * config/solaris/solaris2.5/ctype.cc (ctype): Same.
3440 * config/newlib/ctype.cc: Same.
3441 * config/gnu-linux/ctype.cc: Same.
3442 * config/bsd/ctype.cc: Same.
3443 * config/aix/ctype.cc: Same.
3445 2000-06-12 Branko Cibej <branko.cibej@hermes.si>
3447 * config/solaris/solaris2.6/ctype.cc (do_toupper, do_tolower): Use
3448 towupper and towlower to convert wide characters.
3450 2000-06-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3452 * mkcheck.in: Clean up confusion regarding NAME, PRE_NAME.
3454 2000-06-08 Branko Cibej <branko.cibej@hermes.si>
3456 * acinclude.m4 (GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT): Check for
3457 sinf, cosf, fabsf, and sqrtf; add to LIBMATHOBJS if missing.
3458 * aclocal.m4: Regenerate.
3459 * configure: Regenerate.
3460 * math/cosf.c: New file.
3461 * math/fabsf.c: Likewise.
3462 * math/sinf.c: Likewise.
3463 * math/sqrtf.c: Likewise.
3464 * math/Makefile.am (EXTRA_DIST): Add those four files.
3465 * math/Makefile.in: Regenerate.
3467 2000-06-08 Phil Edwards <pme@sourceware.cygnus.com>
3469 * testsuite/26_numerics/complex_inserters_extractors.cc: Need cmath.
3471 2000-06-06 Steven King <sxking@uswest.net>
3473 * acconfig.h: Added defines for HAVE_BUILTIN math functs for float,
3474 double and long double. Added defines for HAVE libm math functs for
3475 float and long double.
3476 * aclocal.m4: Added configure checks for builtin math funcs and libm
3477 support for float and long double versions of the math functions.
3478 * config.h.in: Added undefs for math functs.
3479 * configure: Regenerate.
3480 * math/mathconf: Changed the _GLIBCPP_HAS_BUILTIN_* to
3481 _GLIBCPP_HAVE_BUILTIN_*.
3482 * bits/std_cmath.h: Added long double support. Use builtins for
3483 float, double and long if available, otherwise, use libm versions if
3484 availible, otherwise, punt.
3485 * shadow/bits/std_cmath.h: ditto
3487 2000-06-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3489 * bits/locale_facets.h: Tweak.
3490 * src/locale.cc (codecvt<wchar_t>): Tweak.
3492 * bits/locale_facets.h (_Format_cache): _S_ecks -> _S_x.
3493 * bits/locale_facets.tcc (num_get<char>::_M_extract): Fix for hex.
3495 * bits/basic_string.h: Move data member up.
3496 * src/string-inst.cc: Fix instantiations.
3497 * bits/string.tcc: Fix types.
3499 2000-06-02 Anthony Williams <anthony@anthonyw.cjb.net>
3501 * testsuite/21_strings/replace.cc (test01): Qualify find with std::.
3503 2000-06-01 Benjamin Kosnik <bkoz@gnu.org>
3505 * bits/std_cwctype.h: Clean.
3506 * bits/std_cwchar.h: Clean, remove cruft.
3508 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Re-work, add bits
3509 for beginning iconv support.
3510 Remove _GLIBCPP_HAS_WCHAR_MIN_MAX, roll into _GLIBCPP_USE_WCHAR_T
3512 * acconfig.h: Remove _GLIBCPP_HAS_WCHAR_MIN_MAX.
3513 * bits/limits_generic.h: Remove.
3514 * src/gen-num-limits.cc: Same.
3516 * src/locale.cc: Tweaks.
3518 * bits/char_traits.h: Tweaks.
3520 2000-05-31 Russell Davidson <russell@ehess.cnrs-mrs.fr>
3522 * bits/locale_facets.tcc (num_get<char>::_M_extract): Fix signage,
3523 exponent, scientific formatting issues.
3524 * testsuite/27_io/istream_extractor_arith.cc (test09): Add tests.
3526 2000-05-31 Branko Cibej <branko.cibej@hermes.si>
3528 * bits/limits_generic.h (numeric_limits<wchar_t>): Use WCHAR_MIN
3529 and WCHAR_MAX instead of WCHART_MIN and WCHART_MAX.
3531 2000-05-31 Nathan Myers <ncm@cantrip.org>
3533 * docs/thanks.html: edit own credits
3535 2000-05-31 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3537 * bits/generic_shadow.h: Remaining _C_Shadow -> _C_shadow fix.
3539 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Add strtoull checks...
3541 * mkcheck.in (SH_FLAG): Add in -Wl,--rpath -Wl,$LIB_PATH. Tweaks.
3543 2000-05-31 Steven King <sxking@uswest.net>
3545 * shadow/time.h: fix typo
3546 * shadow/wchar.h: ifdef __USE_GNU for wcsdup
3547 * shadow/bits/std_cwchar.h: ditto
3548 * shadow/bits/std_cstdlib.h: add overloads of abs and div for long
3551 2000-05-26 Phil Edwards <pme@sourceware.cygnus.com>
3553 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): If strtoll isn't
3554 available, force --disable. Need to flesh this out; make smarter.
3555 * aclocal.m4: Regenerate.
3556 * configure: Regenerate.
3558 * mkcheck.in: Minor tweaks.
3559 * docs/download.html: Fix typo.
3561 2000-05-25 Benjamin Kosnik <bkoz@milou.soma.redhat.com>
3563 * inclosure: Change to...
3564 * mkinclosure: This.
3566 * mkcshadow: Fix paths to bash.
3568 * src/Makefile.am: Tweaks. Do cshadow header trickery at build time.
3569 * src/Makefile.in: Regnerate.
3570 * acinclude.m4 (GLIBCPP_COMPILER_VERSION): Fix typo.
3571 (GLIBCPP_ENABLE_SHADOW): Do a less gross hack.
3572 * aclocal.m4: Regenerate.
3573 * mkcheck.in (INC_PATH): Tweak.
3575 * configure.in: Enable long long by default.
3576 * configure: Regenerate.
3578 * mkcheck.in (LIB_PATH): Revert.
3580 2000-05-24 Nathan "I don't write ChangeLog Entries" Myers <ncm@cantrip.org>
3582 * config/cpu/i486: New directory.
3583 * config/cpu/i486/bits: New directory.
3584 * config/cpu/i486/bits/atomicity.h: New file.
3585 * config/cpu/i386/bits/atomicity.h (__compare_and_swap): Delete
3587 * acinclude.m4 (GLIBCPP_CHECK_CPU): Enable i386.
3589 2000-05-24 Loren J. Rittle <ljrittle@acm.org>
3591 * backward/alloc.h (__default_alloc_template): Only expose
3592 implementation-specific symbol, if it exists in the
3594 * backward/iostream.h (ends): Expose symbol.
3595 * backward/strstream.h: New file.
3596 * backward/stream.h: New file.
3597 * backward/ostream.h: New file.
3598 * backward/istream.h: New file.
3599 * backward/fstream.h: New file.
3600 * backward/complex.h: New file.
3601 * backward/iomanip.h: New file.
3603 * mkcheck.in (LIB_PATH): Add -R bits.
3605 * math/carg.c (carg): Replace __atan2 with atan2.
3607 2000-05-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3609 * Makefile.am (TAGS): Construct.
3610 * Makefile.in: Rengerate.
3611 * src/Makefile.am: Tweak.
3612 * src/Makefile.in: Tweak.
3613 * configure.in: Tweak.
3615 * bits/c++config.h: Rename to ...
3616 * bits/c++config: This.
3617 * mkc++config: Adjust.
3620 * m4/lc_message.m4: Merge into acinclude.m4.
3621 * m4/mathfcts.m4: Same.
3622 * m4/stringfcts.m4: Same.
3623 * acinclude.m4: Add here.
3624 * configure: Regnerate.
3626 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Remove
3627 OPTLEVEL. Add FMTFLAGS.
3628 * aclocal.m4: Regenerate.
3629 * src/Makefile.am (AC_CXXFLAGS): Take out OPTLEVEL, as this has
3630 been disabled due to higher-level Makefiles running amuck over
3631 this bit, and add in FMTFLAGS so that formatting is clear.
3632 * src/Makefile.in: Regenerate.
3633 * configure: Regenerate.
3635 * src/ios.cc (ios_base::sync_with_stdio): Clean up buffers from
3638 * docs/download.html: Remove references to Cygwin-specific bits,
3639 as this can now be built natively.
3640 Update with current information.
3642 2000-05-24 Phil Edwards <pme@sourceware.cygnus.com>
3644 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): If we can use
3645 -fdiagnostics-show-location=once, do so. Expand AC_LANG_* to
3646 enclose other tests in this macro, including future ones.
3647 * aclocal.m4: Regenerate.
3648 * configure: Regenerate.
3650 * docs/faq/index.html: Update location of libg++ FAQ.
3651 * docs/faq/index.txt: Regenerate.
3653 2000-05-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3655 * docs/17_intro/libstdc++-assign.txt: Change Cygnus to FSF.
3657 2000-05-22 Phil Edwards <pme@sourceware.cygnus.com>
3659 * mkcheck.in: Tweak for Solaris 8. Additional minor output comment.
3661 2000-05-22 Phil Edwards <pme@sourceware.cygnus.com>
3663 * acinclude.m4: If the new pragma isn't supported, don't kill -Werror;
3664 keep -Werror and add -Wno-unknown-pragma. -Werror Is Good.
3665 * aclocal.m4: Regenerate.
3666 * configure: Regenerate.
3668 2000-05-19 Nathan C. Myers <ncm@cantrip.org>
3670 * bits/generic_shadow.h: s/swamp/legacy/
3672 2000-05-19 Phil Edwards <pme@sourceware.cygnus.com>
3674 * acinclude.m4: Clean up comments on newer checks.
3675 (GLIBCPP_CHECK_COMPILER_VERSION): Check for system_header
3676 pragma support. Remove WERRORSUPPRESS variable, add WERROR.
3677 * aclocal.m4: Regenerate.
3678 * configure: Regenerate.
3679 * Makefile.in: Regenerate.
3680 * libio/Makefile.in: Regenerate.
3681 * math/Makefile.in: Regenerate.
3682 * src/Makefile.am: Tell make's WERROR to depend on configure's WERROR.
3683 * src/Makefile.in: Regenerate.
3684 * docs/configopts.html: Document changes to --enable names.
3686 2000-05-18 Chip Salzenberg <chip@valinux.com>
3688 * bits/ostream.tcc (_S_pad_char): Function template should not be
3690 * bits/streambuf.tcc (_S_copy_streambufs): Likewise.
3691 * src/string-inst.cc (__destroy_aux): Instantiate for string*.
3693 2000-05-18 Nathan C. Myers <ncm@cantrip.org>
3695 * mkcshadow: Change C_Swamp to C_legacy.
3697 * shadow/bits/*: Same.
3698 s/C_Swamp/C_legacy/g
3702 2000-05-18 Anthony Williams <anthony@anthonyw.cjb.net>
3704 * bits/locale_facets.tcc (num_get::_M_extract): Change char* to
3706 * src/string-inst.cc (string::_S_find): Same.
3708 2000-05-18 Benjamin Kosnik <bkoz@gnu.org>
3710 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Change to
3711 --enable-cshadow-headers. Add output messages.
3712 (GCC_ENABLE_LONG_LONG): Change to --enable-long-long, no
3713 underscores (like the rest of the enable options.) Add output messages.
3714 * aclocal.m4: Regenerate.
3715 * configure: Regenerate.
3716 * configure.in: Touch.
3718 2000-05-17 Benjamin Kosnik <bkoz@cygnus.com>
3720 * mkcheck.in: Enable shared library testing.
3722 2000-05-17 Nathan C. Myers <ncm@cantrip.org>
3724 * bits/std_cmath.h: fix sqrt(float)
3726 2000-05-16 Loren J. Rittle <ljrittle@acm.org>
3728 * bits/std_cassert.h: Use system_header pragma.
3729 * bits/std_cctype.h: Likewise.
3730 * bits/std_cerrno.h: Likewise.
3731 * bits/std_cfloat.h: Likewise.
3732 * bits/std_climits.h: Likewise.
3733 * bits/std_clocale.h: Likewise.
3734 * bits/std_cmath.h: Likewise.
3735 * bits/std_csetjmp.h: Likewise.
3736 * bits/std_csignal.h: Likewise.
3737 * bits/std_cstdarg.h: Likewise.
3738 * bits/std_cstddef.h: Likewise.
3739 * bits/std_cstdio.h: Likewise.
3740 * bits/std_cstdlib.h: Likewise.
3741 * bits/std_cstring.h: Likewise.
3742 * bits/std_ctime.h: Likewise.
3743 * bits/std_cwchar.h: Likewise.
3744 * bits/std_cwctype.h: Likewise.
3745 * bits/std_exception.h: Likewise.
3746 * bits/std_new.h: Likewise.
3747 * bits/std_typeinfo.h: Likewise.
3748 * shadow/bits/std_cassert.h: Likewise.
3749 * shadow/bits/std_cctype.h: Likewise.
3750 * shadow/bits/std_cerrno.h: Likewise.
3751 * shadow/bits/std_cfloat.h: Likewise.
3752 * shadow/bits/std_climits.h: Likewise.
3753 * shadow/bits/std_clocale.h: Likewise.
3754 * shadow/bits/std_cmath.h: Likewise.
3755 * shadow/bits/std_csetjmp.h: Likewise.
3756 * shadow/bits/std_csignal.h: Likewise.
3757 * shadow/bits/std_cstdarg.h: Likewise.
3758 * shadow/bits/std_cstddef.h: Likewise.
3759 * shadow/bits/std_cstdio.h: Likewise.
3760 * shadow/bits/std_cstdlib.h: Likewise.
3761 * shadow/bits/std_cstring.h: Likewise.
3762 * shadow/bits/std_ctime.h: Likewise.
3763 * shadow/bits/std_cwchar.h: Likewise.
3764 * shadow/bits/std_cwctype.h: Likewise.
3765 * shadow/bits/wrap_libio.h: Likewise.
3766 * shadow/bits/wrap_unistd.h: Likewise.
3767 * shadow/sys/cdefs.h: Likewise.
3769 2000-05-16 Nathan C. Myers <ncm@cantrip.org>
3771 It appears that gcc-2.96 supports the keyword "and" now.
3772 * bits/std_ciso646.h: remove.
3774 * testsuite/17_intro/header_ciso646.c: enable testing.
3775 * src/Makefile.am, src/Makefile.in: remove mention of
3778 2000-05-16 Nathan C. Myers <ncm@cantrip.org>
3780 * mkcshadow: fix typo s/_C_Swamp_/_C_Swamp/.
3782 2000-05-16 Phil Edwards <pme@sourceware.cygnus.com>
3784 * acinclude.m4: Fix typo, switch to decaf...
3785 * aclocal.m4: Regenerate.
3786 * configure: Regenerate.
3788 2000-05-16 Phil Edwards <pme@sourceware.cygnus.com>
3790 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): New macro, stub.
3791 * aclocal.m4: Regenerate.
3792 * configure.in: Call.
3793 * configure: Regenerate.
3794 * docs/configopts.html: Stub documentation.
3796 2000-05-14 Nathan Myers <ncm@cantrip.org>
3798 * mkcshadow: build in more-correct directory, create cshadow/
3799 directory if needed, report progress.
3801 2000-05-14 LLeweLLyn Reese <llewelly@dbritsch.dsl.xmission.com>
3803 * src/Makefile.am: Fix tr commands.
3804 * src/Makefile.am: Remove references to [w]stringCTORDUPAL.[lo,cc]
3805 * src/string-inst.cc: Remove extra instantiation of
3806 S::basic_string(S::size_type, C, S::allocator_type const&);
3807 * src/string-inst.cc: Remove extra template keyword.
3809 2000-05-14 Loren J. Rittle <ljrittle@acm.org>
3811 * config/bsd/bits/ctype_base.h: Add support for plain BSD4.4.
3812 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Enhance bsd tests.
3813 * aclocal.m4: Regenerate.
3814 * configure: Regenerate.
3815 * */Makefile.in: Regenerate.
3817 2000-05-11 Phil Edwards <pme@sourceware.cygnus.com>
3819 * acinclude.m4: Fix minor typo with ctypes, add more sanity to
3820 enable-cxx-flags, and remove GLIBCPP_ENABLE_NAMESPACES altogether.
3821 * aclocal.m4: Regenerate.
3822 * configure.in: Non-blank arguments break fewer Linuxes.
3823 * configure: Regenerate.
3824 * src/Makefile.am: Re-order AC_CXXFLAGS components.
3825 * src/Makefile.in: Regenerate.
3827 2000-05-10 Benjamin Kosnik <bkoz@redhat.com>
3829 * bits/std_cmath.h: Tweaks.
3830 * math/mathconf.h: Tweaks and fixes for HP-UX 11.
3831 (sqrtf): Define away iff !builtin and !in <math.h>.
3835 At some point this directory should be converted to c++, the
3836 autoconf tests should be run by the c++ compiler (not c), and
3837 <cmath> should be used instead of math.h.
3838 Move declaration of nan() here.
3839 * math/complex-stub.h (cabsl): Remove nan() declaration.
3841 Finish up FreeBSD4.0 support.
3842 * config/bsd/ctype.cc: Scope out toupper, tolower calls.
3843 * config/generic/ctype.cc: And here.
3844 * testsuite/21_strings/char_traits.cc (test02): Guard with
3845 _GLIBCPP_USE_WCHAR_T.
3847 via Phil Edwards <pme@sourceware.cygnus.com>
3848 * bits/std_cctype.h: Remove _GLIBCPP_USE_NAMESPACES.
3849 * acconfig.h: And here.
3850 * acinclude.m4: Same.
3851 * testsuite/27_io/istream.cc: And here.
3852 * testsuite/27_io/ostream.cc: And here.
3854 2000-05-09 Benjamin Kosnik <bkoz@gnu.org>
3856 * acinclude.m4 (GLIBCPP_CHECK_CPU): Change powerpc bits to
3858 * src/Makefile.am: Disable ENABLE_CXX_FLAGS stuff for the moment.
3860 * config/generic/bits/ctype_specializations.h (ctype<char>::is):
3863 * config/bsd: New directory.
3864 * config/bsd/ctype.cc: New.
3865 * config/bsd/bits/ctype_base.h (ctype_base): New.
3866 * config/bsd/bits/ctype_specializations.h: New.
3867 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add bsd tests.
3869 2000-05-09 Phil Edwards <pme@sourceware.cygnus.com>
3871 * acinclude.m4: New macro, GLIBCPP_ENABLE_CXX_FLAGS.
3872 * configure.in: Call.
3873 * src/Makefile.am: Append results of macro to AC_CXXFLAGS.
3874 * aclocal.m4: Regenerate.
3876 * src/Makefile.in: Ditto.
3877 * docs/configopts.html: Document.
3878 * docs/download.html: Fix typo (close quote).
3879 * docs/footer.html: Update.
3881 2000-05-09 Loren J. Rittle <ljrittle@acm.org>
3883 * backward/iostream.h: Expose endl. Guard wide types.
3884 * src/Makefile.am (headers): Update list to match files.
3885 * src/Makefile.in: Regenerate.
3887 2000-05-09 Vadim Egorov <egorovv@mailandnews.com>
3888 Benjamin Kosnik <bkoz@gnu.org>
3889 Nathan Myers <ncm@cantrip.org>
3890 Dietmar Kuehl <dietmar_kuehl@yahoo.com>
3892 * bits/streambuf.tcc (basic_streambuf::xsgetn): Fix uflow case.
3893 (basic_streambuf::xsputn): Make consistent.
3894 * testsuite/27_io/filebuf.cc: Add tests.
3896 2000-05-08 Steven King <sxking@uswest.net>
3898 * bits/char_traits.h: Use wchar_t utility functions for
3899 char_traits<wchar_t> methods.
3900 * testsuite/21_string/char_traits.cc: New (test02): test
3901 char_traits<wchar_t>
3903 2000-05-08 Benjamin Kosnik <bkoz@cygnus.com>
3905 * acinclude.m4 (GLIBCPP_CXXFLAGS): Add bits for solaris2.8.
3907 * bits/fstream.tcc (filebuf::_M_init_filebuf): Don't set
3908 _M_buf_size based on macro, instead use _M_buf_size_opt.
3909 * bits/std_streambuf.h (basic_streambuf): Add _M_buf_size_opt.
3910 (basic_streambuf()): Set _M_buf_size_opt.
3911 * testsuite/27_io/filebuf.cc (filebuf): Use _M_buf_size_opt
3912 instead of _M_buf_size.
3914 2000-05-04 Branko Cibej <branko.cibej@hermes.si>
3916 * src/complex_io.cc: Don't instantiate inserters and extractors
3917 for wide-character streams unless _GLIBCPP_USE_WCHAR_T is defined.
3919 2000-05-03 Phil Edwards <pme@sourceware.cygnus.com>
3920 Felix Natter <fnatter@gmx.net>
3922 * docs/footer.html: Update to see if it takes effect.
3923 * docs/thanks.html: More people.
3924 * docs/17_intro/headers_cc.txt: Copy from testsuite, since that can't
3925 be seen from the web pages. Rename for browser-friendliness...
3926 * docs/17_intro/howto.html: ...and update here.
3927 * docs/17_intro/porting-howto.html: Changes from Felix.
3928 * docs/gccrebuild.html: Mention v3->egcs move.
3929 * docs/faq/index.html: Ditto. Also misc tweaks and URL updates.
3930 * docs/faq/index.txt: Regenerate.
3932 2000-05-01 Benjamin Kosnik <bkoz@redhat.com>
3934 * config/cpu/powerpc/bits/atomicity.h (__exchange_and_add): More
3937 2000-05-01 Vadim Egorov <egorovv@@mailandnews.com>
3939 * bits/char_traits.h: Fix parameter types.
3940 * bits/string.tcc: Avoid traits_type::move.
3942 2000-05-01 Benjamin Kosnik <bkoz@haight.constant.com>
3944 * src/Makefile.am (AC_CXXFLAGS): Add CPUFLAGS here.
3945 * src/Makefile.in: Regenerate.
3946 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Revert.
3948 2000-04-30 Steven King <sxking@uswest.net>
3950 * bits/locale_facets.h: Fix syntax error.
3951 * bits/std_fstream.h: ditto
3953 2000-04-30 Benjamin Kosnik <bkoz@gnu.org>
3955 * config/cpu/powerpc/bits/atomicity.h (__compare_and_swap): Fix typo.
3957 * mknumeric_limits (trait_name): Fix copyright notice.
3958 * src/gen-num-limits.cc: Explicitly instantiate epsilon and
3959 round_error data members of struct value. This works around
3960 weak-linking issues on AIX, HPUX.
3962 2000-04-29 Phil Edwards <pme@sourceware.cygnus.com>
3964 * docs/download.html: Add link to list of mirror sites.
3966 2000-04-28 Loren J. Rittle <ljrittle@acm.org>
3968 * mkcheck.in: Rely on exit status instead of the presence of a
3969 core file. Added comments on how/where to save core and exe
3970 files. Move shell wildcards outside quotes and fix core path.
3972 2000-04-27 scott snyder <snyder@fnal.gov>
3974 * src/misc-inst.cc: Explicitly instantiate ifstream and ofstream
3977 2000-04-26 Nathan C. Myers <ncm@cantrip.org>
3979 * bits/basic_string.h: include <bits/atomicity.h> instead
3980 of <atomicity.h>, and use the uglified names.
3981 * config/cpu/*/atomicity.h: replace with bits/atomicity.h;
3982 uglify names, eliminate dependence on <inttypes.h>.
3983 * src/Makefile.in, src/Makefile.am: refer to correct place
3984 for atomicity.h header.
3986 2000-04-25 Steven King <sxking@uswest.net>
3988 * bits/basic_string.h: Fix syntax error.
3990 2000-04-25 Benjamin Kosnik <bkoz@redhat.com>
3992 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Improve checks for
3994 (GLIBCPP_ENABLE_DEBUG): If alpha, use -gdwarf-2.
3995 * math/Makefile.am (EXTRA_LONG_DOUBLE_yes): Add all the long
3996 versions to this as copysignl is needed anyway for these targets.
3997 * math/Makefile.in: Regenerate.
3999 * bits/streambuf.tcc (streambuf::xsgetn): Tweak.
4000 * bits/fstream.tcc (underflow): Cast to libio types.
4001 * bits/basic_file.h (seekoff): Fixes for alpha: use __c_streamoff.
4002 * config/c_io_libio.cc (seekoff): And here.
4004 2000-04-24 Loren J. Rittle <ljrittle@acm.org>
4006 * mkcheck.in: Report compiler version used for test. Find
4007 the built _G_config.h instead of any old installed version.
4009 2000-04-24 Loren J. Rittle <ljrittle@acm.org>
4011 * config/generic/ctype.cc (do_toupper): Remove dependence on
4012 non-portable/non-existent lookup table.
4015 2000-04-24 Nathan Myers <ncm@cantrip.org>
4017 * src/string-inst.cc: More fixing.
4019 2000-04-24 Benjamin Kosnik <bkoz@gnu.org>
4021 * bits/stl_iterator.h: Pedantic fixing.
4022 * bits/std_sstream.h: And here.
4023 * bits/string.tcc: And here.
4025 2000-04-24 Felix Natter <fnatter@gmx.net>
4027 * docs/17_intro/howto.html: Add bits.
4028 * docs/17_intro/porting-howto.html: New file.
4030 2000-04-24 Branko Cibej <branko.cibej@hermes.si>
4032 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Expand
4033 @libinst_wstring_la@ to libinst-wstring.la when specializing for
4034 wchar_t, to empty string otherwise.
4035 * src/Makefile.am: (EXTRA_LTLIBRARIES): New.
4036 (sources): Remove $(string_sources) and $(wstring_sources).
4037 (libstdc___la_LIBADD): Add libinst-string.la and @libinst_wstring_la@.
4038 (libstdc___la_DEPENDENCIES): New.
4039 (libinst_string_la_SOURCES, libinst_wstring_la_SOURCES): New.
4041 2000-04-20 Benjamin Kosnik <bkoz@redhat.com>
4043 * bits/std_sstream.h: Tweak formatting.
4044 * bits/std_fstream.h: Make types public.
4046 * testsuite/27_io/streambuf.cc: Fix for alpha.
4048 Brad Garcia <bgarcia@laurelnetworks.com>
4049 * bits/locale_facets.h (numpunct::numpunct(size_t)): Fix bool
4051 * testsuite/27_io/ios_manip_fmtflags.cc (test02): Add test for
4054 2000-04-19 Nathan Myers <ncm@cantrip.org>
4056 * src/string-inst: consolidate _S_create,
4057 destroy, leak, clone members into stringMAIN and stringMUTATE
4059 * src/Makefile.am: Above, and eliminate dependence on
4061 * src/wstring-inst.cc: Remove.
4063 2000-04-18 Benjamin Kosnik <bkoz@redhat.com>
4065 * src/Makefile.am (AC_CXXFLAGS): Activate debugging code, again.
4066 Add flags for specialized rules dealing with instantiations.
4068 * src/string-inst.cc: Add instantiations missing from shared
4069 libraries--see stringEQ, stringCONSC.
4070 * src/Makefile.am (wstring_sources): Add.
4071 (string_sources): Same.
4072 * src/Makefile.in: Regenerate.
4074 * stl/*: Integrate contents of this directory into top-level
4076 * ext/bvector hash_map hash_set rope ropeimpl.h slist
4077 stl_bvector.h stl_hash_fun.h stl_hashtable.h stl_rope.h tree: Add.
4078 * bits/pthread_allocimpl.h std_algorithm.h std_bitset.h
4079 std_deque.h std_functional.h std_iterator.h std_list.h std_map.h
4080 std_memory.h std_numeric.h std_queue.h std_set.h std_stack.h
4081 std_stdexcept.h std_strstream.h std_utility.h std_vector.h
4082 stl_algo.h stl_algobase.h stl_alloc.h stl_config.h stl_construct.h
4083 stl_deque.h stl_function.h stl_heap.h stl_iterator.h
4084 stl_iterator_base.h stl_list.h stl_map.h stl_multimap.h
4085 stl_multiset.h stl_numeric.h stl_pair.h stl_pthread_alloc.h
4086 stl_queue.h stl_range_errors.h stl_raw_storage_iter.h stl_relops.h
4087 stl_set.h stl_stack.h stl_string_fwd.h stl_tempbuf.h stl_threads.h
4088 stl_tree.h stl_uninitialized.h stl_vector.h type_traits.h: Add.
4089 * backward/algo.h algobase.h alloc.h bvector.h defalloc.h deque.h
4090 function.h hash_map.h hash_set.h hashtable.h heap.h iterator.h
4091 list.h map.h multimap.h multiset.h pair.h rope.h set.h slist.h
4092 stack.h tempbuf.h tree.h vector.h: Add.
4093 * README (file): Update.
4094 * docs/documentation.html: README not being found.
4095 * src/Makefile.am (sources): Take out stl directory.
4096 * mkcheck.in (SRC_DIR): And here.
4097 * src/Makefile.in: Regenerate.
4099 2000-04-18 Levente Farkas <lfarkas@mindmaker.hu>
4101 * stl/bits/stl_function.h: Add bits so that const and non-const
4104 2000-04-18 scott snyder <snyder@fnal.gov>
4106 * stl/bits/stl_map.h (class map): Fix default for _Alloc template
4107 parameter. Get rid of use of __STL_DEFAULT_ALLOCATOR and
4108 __STL_LIMITED_DEFAULT_TEMPLATES macros.
4109 * stl/bits/stl_multimap.h (class multimap): Likewise. Get rid of
4110 use of __STL_DEPENDENT_DEFAULT_TMPL macro.
4112 2000-04-18 scott snyder <snyder@fnal.gov>
4114 * stl/bits/stl_config.h (__STL_DEPENDENT_DEFAULT_TMPL): Deleted
4117 * stl/ext/hash_map (class hash_map, class hash_multimap): Get rid
4118 of use of __STL_DEPENDENT_DEFAULT_TMPL macro.
4119 * stl/ext/hash_set (class hash_set, class hash_multiset):
4121 * stl/bits/stl_function.h (struct constant_unary_fun, struct
4122 constant_binary_fun): Likewise.
4123 * stl/bits/stl_queue.h (class queue, class priority_queue): Likewise.
4124 * stl/bits/stl_stack.h (class stack): Likewise.
4125 * stl/bits/stl_set.h (class set): Likewise.
4126 * stl/bits/stl_multiset.h (class multiset): Likewise.
4128 * stl/bits/stl_iterator.h (class reverse_bidirectional_iterator,
4129 class reverse_iterator): Get rid of use of
4130 __STL_LIMITED_DEFAULT_TEMPLATES macro.
4132 * stl/bits/stl_config.h (__STL_DEFAULT_ALLOCATOR): Deleted this
4135 * stl/bits/stl_deque.h (class deque): Get rid of use of
4136 __STL_DEFAULT_ALLOCATOR macro.
4137 * stl/bits/stl_list.h (class list): Likewise.
4138 * stl/bits/stl_multiset.h (class multiset): Likewise.
4139 * stl/bits/stl_set.h (class set): Likewise.
4140 * stl/bits/stl_string_fwd.h (class basic_string): Likewise.
4141 * stl/bits/stl_tree.h (class _Rb_tree, class rb_tree): Likewise.
4142 * stl/bits/stl_vector.h (class vector): Likewise.
4143 * stl/ext/ropeimpl.h (rotate): Likewise.
4144 * stl/ext/hash_map (class hash_map, class hash_multimap):
4146 * stl/ext/hash_set (class hash_set, class hash_multiset):
4148 * stl/ext/slist (class slist): Likewise.
4149 * stl/ext/stl_bvector.h (class bit_vector): Likewise.
4150 * stl/ext/stl_rope.h (class rope): Likewise.
4151 * src/locale.cc (_Impl): Likewise.
4152 * src/localename.cc (_Impl): Likewise.
4153 * bits/localefwd.h (_Impl): Likewise.
4155 2000-04-18 Phil Edwards <pme@sourceware.cygnus.com>
4157 * docs/install.html: Cleanup, minor changes.
4158 * docs/17_intro/howto.html: Ditto.
4160 2000-04-18 Nathan Myers <ncm@cantrip.org>
4162 * bits/basic_string.h: Remove "inline" from member _S_find.
4164 * src/string-inst.cc: Rewrite to reflect non-inline template
4165 instantiations in string.tcc.
4167 * src/stringADDCS.cc, stringADDPS.cc, stringADDSC.cc, stringADDSP.cc,
4168 stringADDSS.cc, stringBIST.cc, stringBOST.cc, stringCHTR.cc,
4169 stringEQPS.cc, stringEQSP.cc, stringEQSS.cc, stringEXTRA.cc,
4170 stringGEPS.cc, stringGESP.cc, stringGESS.cc, stringGETLI.cc,
4171 stringGTPS.cc, stringGTPS.cc, stringGTSP.cc, stringGTSS.cc,
4172 stringINSER.cc, stringLEPS.cc, stringLESP.cc, stringLESS.cc,
4173 stringLESP.cc, stringLTPS.cc, stringLTPS.cc, stringLTSP.cc,
4174 stringLTSS.cc, stringMAIN.cc, stringNEPS.cc, stringNESP.cc,
4175 stringNESS.cc, stringSCOPY.cc: Remove.
4176 * src/wstringADDCS.cc, etc: Remove.
4178 Benjamin Kosnik <bkoz@haight.constant.com>
4179 * src/Makefile.am: Modify to reflect above.
4180 * src/Makefile.in: Regenerate.
4182 2000-04-17 Benjamin Kosnik <bkoz@cygnus.com>
4184 * docs/install.html (--enable-libstdcxx-v3): Clean up install docs.
4186 2000-04-13 Benjamin Kosnik <bkoz@haight.cygnus.com>
4188 * bits/std_fstream.h (filebuf::sync): Need to use the abstracted
4189 io interface here instead of the libio particulars.
4191 * config/threads-posix.h: Consistency with stl_config.h.
4193 * mkcheck.in (CXX_FLAG): Add DDEBUG_ASSERT back in.
4195 2000-04-13 Loren J. Rittle <ljrittle@acm.org>
4197 * mknumeric_limits: Rename generic type template parameter name
4199 * stl/bits/type_traits.h: Ditto.
4201 2000-04-06 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4203 * mkcheck.in (SRC_DIR): Change default mkcheck behavior, so that
4204 it is more useful for --enable-libstdcxx-v3. Use the built
4205 compilers with v3, instead of compilers in PATH, and don't
4206 re-include include directories for checking the install.
4208 2000-04-05 Benjamin Kosnik <bkoz@cygnus.com>
4210 * src/Makefile.am (AM_CXXFLAGS): Disable NAMESPACES, as this is on
4211 by default when using --enable-libstdcxx-v3.
4212 * src/Makefile.in: Regenerate.
4213 * configure.in: Disable GLIBCPP_ENABLE_NAMESPACES,
4214 GLIBCPP_ENABLE_RELIBGCC for --enable-libstdcxx-v3 flag.
4215 * configure: Regenerate.
4216 * mkcheck.in: Deal with NAMESPACES.
4218 2000-04-05 Petter Urkedal <petter@matfys.lth.se>
4220 * src/cmath.cc: New file...
4221 (pow(*, int)): Define functions...
4222 * src/Makefile.am (sources): ...register file.
4223 * src/Makefile.in: Regenerate.
4224 * bits/std_cmath.h (pow): ...declare functions here, and remove
4227 2000-04-04 Benjamin Kosnik <bkoz@redhat.com>
4229 * acinclude.m4 (GCC_OBJDIR): Tweaks
4231 2000-04-03 Benjamin Kosnik <bkoz@redhat.com>
4233 * acinclude.m4 (GLIBCPP_CHECK_CPU): Add arm configure bits.
4234 * config/cpu/arm: New directory.
4236 Jesper Skov <jskov@redhat.com>
4237 * config/cpu/arm/atomicity.h: New file.
4239 2000-03-31 Benjamin Kosnik <bkoz@redhat.com>
4241 * stl/bits/stl_config.h: Make _STL_THREADS depend on _REENTRANT.
4242 Remove unused bits. Clean.
4244 2000-03-29 Benjamin Kosnik <bkoz@cygnus.com>
4246 * testsuite/25_algorithms: New directory.
4247 * testsuite/25_algorithms/min_max.cc: New file.
4249 2000-03-29 scott snyder <snyder@fnal.gov>
4251 * bits/locale_facets.tcc (do_put): Allow a couple extra digits of
4252 precision beyond that which we get from numeric_limits::digits10.
4254 * stl/bits/stl_algobase.h (max, min): Don't use comparison
4257 * testsuite/23_containers/bitset_shift.cc: Fix.
4259 * testsuite/27_io/ios_manip_fmtflags.cc (test01): Don't give a
4260 temporary to imbue().
4262 * bits/std_fstream.h (sync): Resync libio's idea of the current
4263 file position with the external file.
4265 2000-03-28 Benjamin Kosnik <bkoz@cygnus.com>
4267 * testsuite/27_io/istream_extractor_arith.cc.cvs: Fix merge
4270 * bits/std_fstream.h (filebuf::is_open): Check for _M_file before
4271 attempting calls to it.
4272 * bits/fstream.tcc (ctors): Don't call _M_init_filebuf in
4273 ctors. Instead, call _M_init_filebuf ...
4274 (open): Here, as suggested by 27.8.1.3.
4275 * src/ios.cc (ios_base::Init::Init()): Clean up default filebufs
4276 properly when initializing cout/cin/cerr.
4278 2000-03-27 Russell Davidson <russell@ehess.cnrs-mrs.fr>
4280 * testsuite/23_containers/multiset.cc (main): Clean up for namespaces.
4281 * testsuite/22_locale/ctype_char_members.cc: And here.
4282 * testsuite/27_io/streambuf.cc (streambuf): And here.
4283 * testsuite/27_io/ostream_inserter_char.cc (test06): And here.
4284 * testsuite/27_io/istream_unformatted.cc (test05): And here.
4285 * testsuite/27_io/istream_extractor_arith.cc: And here.
4286 * testsuite/27_io/ios_manip_basefield.cc (test02): And here.
4287 * testsuite/27_io/ios_base_members_static.cc: And here.
4288 * bits/std_climits.h (_CPP_CLIMITS): Fix typo.
4290 2000-03-27 Chris Faylor <cgf@cygnus.com>
4292 * configure.in: Remove setting of CXX if canadian cross.
4293 * configure: Regenerate.
4295 2000-03-27 Nathan Myers <ncm@zembu.com>
4297 * bits/sstream.tcc: Optimize.
4298 * bits/basic_string.h(string::append): Don't inline.
4299 * bits/string.tcc: Move out-of-line.
4301 2000-03-27 Phil Edwards <pme@sourceware.cygnus.com>
4303 * acinclude.m4: (GLIBCPP_CHECK_COMPILER_VERSION) When using <2.96,
4304 define WERRORSUPPRESS so that the inlining warnings won't kill us.
4305 * aclocal.m4: Regenerate.
4306 * configure: Regenerate.
4307 * src/Makefile.am: Use WERRORSUPPRESS for the files that need it.
4308 * src/Makefile.in: Regenerate.
4310 * docs/install.html: Almost complete rewrite.
4312 2000-03-25 Phil Edwards <pme@sourceware.cygnus.com>
4314 * docs/install.html: Explain -Werror problem at "#Werror" mark.
4315 * docs/faq/index.html: Testsuite will die horribly if new libgcc.a
4317 * docs/faq/index.txt: Regenerate.
4319 2000-03-24 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4321 * src/Makefile.am (libio_headers_install): Fix.
4322 * src/Makefile.in: Regenerate.
4324 2000-03-24 Benjamin Kosnik <bkoz@cygnus.com>
4326 * docs/17_intro/RELEASE-NOTES: Fix typos.
4327 * docs/index.html: Update.
4328 * docs/17_intro/BUGS: Update.
4329 * docs/status.html: Update for 2.90.8 release.
4331 2000-03-23 Phil Edwards <pme@sourceware.cygnus.com>
4333 * Makefile.am: Better error message when missing libgcc2.ready.
4334 * Makefile.in: Regenerate.
4335 * acinclude.m4: Fastidious nitpicking reformatting.
4336 * aclocal.m4: Regenerate.
4337 * configure: Regenerate.
4338 * mkcheck.in: Must use same namespace settings as the library being
4339 tested. Also log ST_FLAG, since it's being passed.
4340 * docs/install.html: Add brief chunk on configuration.
4341 * docs/17_intro/RELEASE-NOTES: Fix minor Cygwin typo.
4342 * docs/23_containers/howto.html: Mention MT-safe string.
4343 * docs/faq/index.html: Minor updates.
4344 * docs/faq/index.txt: Regerarate.
4346 2000-03-22 Benjamin Kosnik <bkoz@cygnus.com>
4348 * bits/sstream.tcc (seekoff): Fix for gptr() null cases.
4350 * bits/fstream.tcc (seekoff): Sync.
4352 * testsuite/27_io/ostream_unformatted.cc: New file.
4353 * testsuite/27_io/stringbuf.cc: Fix.
4354 * testsuite/27_io/istream_unformatted.cc (test04): Fix.
4356 * config/newlib/bits/ctype_base.h (ctype_base): Fix.
4357 * config/newlib/ctype.cc (ctype): Change __ctype -> _ctype_.
4359 * src/complex_io.cc (operator>>complex): Tweak.
4361 * config/cpu/alpha/atomicity.h: Explicitly typedef uint32_t, int32_t if
4362 <inttypes.h> does not exist.
4363 * config/cpu/sparc/sparc64/atomicity.h: Same.
4364 * config/cpu/sparc/sparc32/atomicity.h: Same.
4365 * config/cpu/powerpc/atomicity.h: Same.
4366 * config/cpu/i386/atomicity.h: Same.
4367 * config/cpu/generic/atomicity.h: Same.
4368 * configure.in: Check for inttypes.h.
4369 * configure: Regnerate.
4371 2000-03-21 Benjamin Kosnik <bkoz@cygnus.com>
4373 * bits/std_sstream.h (_M_init_stringbuf): Set initial ate position
4375 * testsuite/27_io/ostream_inserter_char.cc (test06): Add tests for ate.
4377 * docs/17_intro/RELEASE-NOTES (New): Add bits.
4379 * configure.in: Move AC_CHECK_HEADERS to a point where we know we
4380 are compiling natively.
4382 * libio/*: Update to CVS libio from egcs.
4384 2000-03-21 Phil Edwards <pme@sourceware.cygnus.com>
4386 * docs/download.html: Document use of -z9 for CVS.
4387 * docs/index.html: Add target date (no link) for future snapshot.
4389 2000-03-21 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4391 * bits/slice_array.h: Rename generic type template parameter name
4393 * bits/mask_array.h: Ditto
4395 2000-03-20 Benjamin Kosnik <bkoz@cygnus.com>
4397 * *: Change copyright holder from "Cygnus Solutions" to "Free
4398 Software Foundation, Inc."
4400 * docs/configopts.html: Explain what "hella versions" means.
4401 * docs/install.html: Some tweaks--nice job on this Phil.
4402 * docs/documentation.html: Add a direct link to configuration options.
4404 * src/Makefile.am (OPTIMIZE_CXXFLAGS): Add in extras.
4405 * docs/17_intro/RELEASE-NOTES (New): Add.
4406 * bits/c++config.h (__GLIBCPP__): Bump version.
4408 * config/c_io_libio.cc (__basic__file(__c_lock*)): Change argument
4409 type to match prototype.
4411 2000-03-20 Phil Edwards <pme@sourceware.cygnus.com>
4413 * docs/install.html: Update for new funky build procedure. Move
4414 description of 'configure' options to...
4415 * docs/configopts.html: ...here. New file.
4416 * docs/17_intro/howto.html: Updates for new snapshot.
4417 * docs/20_util/howto.html: Ditto.
4418 * docs/21_strings/howto.html: Ditto.
4419 * docs/21_strings/stringtok_std_h.txt: Fix example typos.
4420 * docs/22_locale/howto.html: Ditto.
4421 * docs/23_containers/howto.html: Ditto.
4422 * docs/faq/index.html: Ditto.
4424 2000-03-18 Petter Urkedal <petter@matfys.lth.se>
4425 Benjamin Kosnik <bkoz@gnu.org>
4427 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_SUPPORT): Move code for main
4429 * aclocal.m4: Regenerate.
4430 * configure: Regenerate.
4432 2000-03-16 Benjamin Kosnik <bkoz@cygnus.com>
4433 scott snyder <sss@karma.fnal.gov>
4435 * config/c_io_libio.h: Add __c_lock.
4436 * config/threads-no.h: Same here.
4437 * config/threads-posix.h: Add __mutext_type typedef.
4438 * config/c_io_libio.cc: basic_file ctor takes lock arg.
4439 * bits/basic_file.h: Ctor takes lock arg.
4440 * bits/std_fstream.h: Add _M_lock.
4441 * bits/fstream.tcc: Supply it to basic_file ctor.
4443 * mkcheck.in (resultstext): Change [[ to [.
4445 * testsuite/27_io/ostream_inserter_char.cc (test06): Tweak.
4447 * bits/locale_facets.h: Tweak.
4449 * stl/bits/stl_config.h: Fix defines.
4451 2000-03-16 Benjamin Kosnik <bkoz@cygnus.com>
4453 * mkcheck.in (INC_PATH): Add paths from cpu_include_dir to find
4455 * configure: Regenerate.
4456 * aclocal.m4: Regnerate.
4458 2000-03-16 Nathan Myers <ncm@zembu.com>
4460 * bits/string.tcc: Add MT support.
4461 * bits/basic_string.h: Same.
4463 2000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
4465 * configure.in: Make --enable-namespaces and -libgcc-rebuild=../..
4467 * configure: Regenerate.
4469 * config/solaris/solaris2.7/ctype.cc: Fix unsigned/signed comparison.
4471 2000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
4473 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): If Sol2.5 ctype is found, keep
4474 checking for 2.[67]. (GLIBCPP_ENABLE_RELIBGCC): No longer ignore
4475 any defaults passed in.
4476 * aclocal.m4: Regenerate.
4478 2000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
4480 * mkcheck.in: Report total successes and failures.
4482 2000-03-15 Benjamin Kosnik <bkoz@cygnus.com>
4484 * config/cpu: New directory, intended to be used to provide
4485 cpu-specific configuration files. In particular, assembly language
4486 primitives for thread safety.
4487 * config/cpu/alpha: Populate.
4488 * config/cpu/alpha/atomicity.h: New file.
4489 * config/cpu/arm: Populate.
4490 * config/cpu/generic: Populate.
4491 * config/cpu/generic/atomicity.h: New file.
4492 * config/cpu/hppa: Populate.
4493 * config/cpu/i386: Populate.
4494 * config/cpu/i386/atomicity.h: New file, take from i486.
4495 * config/cpu/m68k: Populate.
4496 * config/cpu/mips: Populate.
4497 * config/cpu/powerpc: Populate.
4498 * config/cpu/powerpc/atomicity.h: New file.
4499 * config/cpu/sparc: Populate.
4500 * config/cpu/sparc/sparc32: Populate.
4501 * config/cpu/sparc/sparc64: Populate.
4502 * config/cpu/sparc/sparc32/atomicity.h: New file.
4503 * config/cpu/sparc/sparc64/atomicity.h: New file.
4505 * src/Makefile.am (myinstallheaders): Add install routines.
4506 * acinclude.m4 (GLIBCPP_CHECK_CPU):Add configuration for the
4508 * configure.in: Add.
4510 * config/default: Adopt glibc naming conventions, and so move to
4511 * config/generic: Here.
4512 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Modify default case to generic.
4514 2000-03-15 Bill Thompson <billt@toast.net>
4516 * testsuite/27_io/ostream_inserter_char.cc (test06): Add test.
4518 2000-03-14 Phil Edwards <pme@sourceware.cygnus.com>
4520 * docs/17_intro/howto.html: Add missing "TOC" entry, and new section.
4522 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Fixup.
4523 * aclocal.m4: Regenerate.
4524 * configure: Regenerate.
4526 2000-03-13 scott snyder <snyder@fnal.gov>
4527 Jason Merrill <jason@cygnus.com>
4529 * bits/locale_facets.h (class ctype, class ctype<char>, class
4530 ctype<wchar_t>): More mask fixes.
4531 * testsuite/22_locale/ctype.cc: Test for the problem.
4533 2000-03-13 Benjamin Kosnik <bkoz@cygnus.com>
4535 * acconfig.h: Add bits.
4536 * configure.in: Move AM_PROG_LIBTOOL up in file.
4537 Tweak cross compiling info.
4538 * configure: Regenerate.
4540 * mknumeric_limits (XCOMPILE): Echo compilation line for
4543 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add aix checks.
4544 * aclocal.m4: Regenerate.
4545 * configure: Regenerate.
4546 * config/aix/ctype.cc (ctype): Tweak.
4547 * config/aix/bits/ctype_base.h (ctype_base): Tweak.
4548 * config/aix/bits/ctype_specializations.h: New file.
4550 2000-03-10 scott snyder <snyder@fnal.gov>
4552 * stl/bits/stl_vector.h (_M_assign_aux): Fix for __normal_iterator
4554 * testsuite/23_containers/vector_modifiers.cc (test01): Add a
4555 regression test for the problem.
4557 2000-03-09 Benjamin Kosnik <bkoz@fidel.cygnus.com>
4559 * testsuite/27_io/streambuf.cc (class testbuf): Same here.
4560 * bits/fpos.h: And here.
4561 * bits/std_ostream.h: Same here.
4562 * bits/std_istream.h: Same here.
4563 * bits/basic_ios.h: Same here.
4564 * bits/std_fstream.h: Same here.
4565 * bits/sbuf_iter.h (std): Here too.
4566 * bits/std_sstream.h: Make types public.
4568 * src/misc-inst.cc: Use size_t instead of unsigned int.
4569 * bits/locale_facets.tcc (_S_format): For now, cast to char. I
4570 suppose this should be ctype::narrow... all the ctype<wchar_t>
4571 stuff needs to be cleaned up.
4573 2000-03-09 Phil Edwards <pme@sourceware.cygnus.com>
4575 * docs/gentop: Remove entire directory, finally.
4577 2000-03-09 scott snyder <snyder@fnal.gov>
4579 * bits/std_cmath.h (modf): Fix pointer overrun.
4580 * testsuite/26_numerics/c_math.cc (test04, main): Add a regression
4581 test for the problem.
4583 2000-03-09 Phil Edwards <pme@sourceware.cygnus.com>
4585 Looks like changes to the #include'd files must be followed by a
4586 change to the #include'ing files to take effect. Caveat emptor.
4587 * docs/header.html: New file, for server-side include.
4588 * docs/footer.html: New file, for server-side include.
4589 * docs/documentation.html: Change to use SSI.
4590 * docs/download.html: Ditto.
4591 * docs/index.html: Ditto.
4592 * docs/mail.html: Ditto.
4593 * docs/status.html: Ditto.
4594 * docs/thanks.html: Ditto, plus minor updates.
4595 * docs/how.html: Remove.
4597 2000-03-09 Benjamin Kosnik <bkoz@gnu.org>
4599 Preliminary alpha-linux support.
4600 * src/locale.cc (ctype<wchar_t>): Use correct types...
4601 * bits/locale_facets.h (ctype<char>): Add __table_type typedef.
4602 (ctype<wchar_t>): Same.
4603 * bits/locale_facets.h (ctype<wchar_t>): Have char and wchar_t
4604 types match for table_size (size_t).
4606 * config/gnu-linux/ctype.cc (ctype): Change char_type to wchar_t
4607 as per char specialization.
4608 * config/*/ctype.cc: Same.
4610 2000-03-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4612 * bits/locale_facets.h (_Ctype<>::mask): Import from base class
4613 _Ctype_nois<>. Template base classes are never examinated in
4614 first-phase name-lookup.
4616 2000-03-08 Benjamin Kosnik <bkoz@gnu.org>
4618 Add Solaris 2.5.1 support.
4619 * config/solaris/solaris2.5/bits/ctype_base.h (ctype_base): And here.
4620 * config/solaris/solaris2.5/ctype.cc: Fixup.
4621 * config/solaris/solaris2.5/bits/ctype_specializations.h: Add.
4622 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add bits for solaris2.5.1.
4623 * aclocal.m4: Regenerate.
4624 * configure: Regenerate.
4626 * config/default/ctype.cc (ctype): Fixup.
4628 2000-03-07 Benjamin Kosnik <bkoz@blues.cygnus.com>
4630 * testsuite/27_io/filebuf.cc: Activate init code from yesterday...
4631 * testsuite/27_io/ostream_inserter_arith.cc (testcases): Fix for
4634 2000-03-07 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4636 * bits/cpp_type_traits.h: Expand on this file purpose.
4638 2000-03-06 Benjamin Kosnik <bkoz@gnu.org>
4640 * bits/locale_facets.h (ctype<char>): Remove static members, and
4641 re-work initialization code.
4642 (ctype<wchar_t>): Same.
4643 Move _S_touppper to _M_toupper and initialize in ctor.
4644 Move _S_tolower to _M_tolower and initialize in ctor.
4645 Move _S_table to _M_ctable and intialize in ctor.
4646 * bits/locale_facets.h (std): And here.
4647 * src/locale.cc (std): Tweak.
4648 * config/gnu-linux/ctype.cc: Change initialization here.
4649 * config/newlib/ctype.cc: And here.
4650 * config/solaris/solaris2.7/ctype.cc: And here.
4651 * config/solaris/solaris2.6/ctype.cc: And here.
4653 * bits/localefwd.h: Tweak.
4654 * bits/std_streambuf.h: Tweak formatting.
4656 * testsuite/27_io/filebuf.cc: Remove BUFSIZ dependancies.
4658 2000-03-05 Chip Salzenberg <chip@valinux.com>
4660 * src/misc-inst.cc (basic_iostream<>): Instantiate.
4662 2000-03-02 Phil Edwards <pme@sourceware.cygnus.com>
4663 Kevin Atkinson <kevinatk@home.com>
4665 Initial grab of SGI's strstream implementation with minor
4667 * src/strstream.cc: New file.
4668 * std/strstream: New file.
4669 * stl/bits/std_strstream.h: New file.
4670 * bits/std_streambuf.h: Add public access.
4671 * src/Makefile.am: Add strstream sources to list of dependancies.
4672 * src/Makefile.in: Regenerate.
4674 2000-03-03 2000 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4676 * bits/valarray_meta.h: Fix typo.
4678 2000-03-02 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4679 Chip Salzenberg <chip@valinux.com>
4680 Petter Urkedal <petter@matfys.lth.se>
4682 * src/Makefile.am (myinstallheaders): Hack to avoid
4684 * src/Makefile.in: Regenerate.
4686 2000-03-02 Chip Salzenberg <chip@valinux.com>
4688 * libio/Makefile.an, math/Makefile.an, src/Makefile.am
4689 (LINK): Put quotes around "$(CC)" for libtool link mode,
4690 so libtool will use "-B" options during GCC bootstrap.
4691 * */Makefile.in: Regenerate.
4693 2000-03-02 Petter Urkedal <petter@matfys.lth.se>
4695 * config/c_io_libio.h: Enclose it all in ::std.
4696 * bits/basic_string.h (basic_string<>): Make types and
4698 * mkc++config: Truncate output file before writing.
4700 2000-03-01 Benjamin Kosnik <bkoz@gnu.org>
4702 * math/cabsf.c (__mycabsf): Rename to cabsf.
4703 * math/cabs.c (__mycabs): Rename to cabs.
4705 2000-02-29 LLeweLLyn Reese <llewelly@198.dsl.xmission.com>
4707 * bits/basic_string.h: Move declarations of __out_of_range(),
4708 __length_error() and accompanying macros ...
4709 * bits/exception_support.h: here. (Newly created file).
4710 * bits/basic_string.h: #include <bits/exception_support.h>
4711 * stl/bits/stl_vector.h: #include <bits/exception_support.h>
4712 * src/Makefile.am (headers): Add.
4713 * src/Makefile.in: Regenerate.
4715 2000-02-29 Benjamin Kosnik <bkoz@cygnus.com>
4717 * bits/cpp_type_traits.h: Rename structs so they don't clash with
4719 * bits/valarray_array.h: Synch. Fix typos.
4721 * libio/Makefile.am: Change to only compile source files that
4722 config/c_io_libio.cc actually needs.
4723 * libio/Makefile.in: Regnerate.
4724 * libio/PlotFile.hes SFile.h builtinbuf.h editbuf.h floatconv.c
4725 floatio.h fstream.h indstream.h iofclose.c iofdopen.c iofeof.c
4726 ioferror.c iofflush.c iofgetpos.c iofgets.c iofopen.c iofprintf.c
4727 iofputs.c iofread.c iofscanf.c iofsetpos.c ioftell.c iofwrite.c
4728 iogetc.c iogetdelim.c iogetline.c iogets.c ioignore.c iomanip.h
4729 iopadn.c ioperror.c iopopen.c ioprims.c ioprintf.c ioputc.c
4730 ioputs.c ioscanf.c ioseekoff.c ioseekpos.c iosetbuffer.c
4731 iosetvbuf.c iosprintf.c iosscanf.c iostream.h iostrerror.c
4732 ioungetc.c iovfprintf.c iovfscanf.c iovsprintf.c iovsscanf.c
4733 istream.h list.out ostream.h outfloat.c parsestream.h peekc.c
4734 pfstream.h procbuf.h stdiostream.h stream.h streambuf.h strfile.h
4735 strops.c strstream.h: Delete.
4737 * bits/basic_file.h: Stub out or delete unused bits in this
4739 (filepos_beg): Remove.
4740 (filepos_cur): Remove.
4741 (filepos_valid): Remove.
4742 * config/c_io_libio.cc: Resynch with the changes to basic_file.
4744 2000-02-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4746 * bits/cpp_type_traits.h: Correct typo.
4748 2000-02-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4750 * bits/cpp_type_traits.h: New file.
4752 * bits/valarray_array.h: Tweak. #include <bits/cpp_type_traits.h>
4753 Improve array construction.
4754 (_Array_default_ctor): New dispatcher class.
4755 (__valarray_default_construct): New function.
4756 (_Array_copy_ctor): New dispatcher class.
4757 (__valarray_copy_construct): New function.
4758 (_Array<>::free_data): Remove.
4760 * src/Makefile.am (headers): Add cpp_type_traits.h
4761 * src/Makefile.in: Regenerate.
4763 2000-02-28 Benjamin Kosnik <bkoz@cygnus.com>
4765 Prune libio directory to match files in libio/Makefile.
4766 * libio/PlotFile.cc,indstream.cc, isgetsb.cc, sbform.cc,
4767 stream.cc, SFile.cc, ioassign.cc, isscan.cc, sbgetline.cc,
4768 streambuf.cc, builtinbuf.cc, ioextend.cc, osform.cc, sbscan.cc,
4769 strstream.cc, editbuf.cc, iomanip.cc, parsestream.cc,
4770 stdiostream.cc, filebuf.cc, iostream.cc, pfstream.cc,
4771 stdstrbufs.cc, fstream.cc, isgetline.cc, procbuf.cc,
4772 stdstreams.cc: Remove.
4773 * libio/floatio.h, iolibio.h, iostdio.h, iostreamP.h: Remove.
4774 * libio/iofflush_u.c: Remove.
4776 * libio/dbz: Remove.
4777 * libio/include: Remove.
4778 * libio/stdio: Remove.
4779 * libio/tests: Remove.
4780 * libio/testsuite: Remove.
4782 * config/c_io_libio.cc: Add fcntl.h include for Solaris.
4784 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add bits.
4785 * configure.in: Replace 'grep -e' with 'grep' for Solaris.
4786 * configure: Regenerate.
4788 2000-02-25 Benjamin Kosnik <bkoz@gnu.org>
4790 Abstract out the underlying "C" io bits.
4791 * bits/std_new.h: Remove <stl_config> include, as well as <cstddef>.
4792 * stl/bits/stl_string_fwd.h: Remove <stddef> include.
4793 * bits/std_cwchar.h: Wrap with _GLIBCPP_USE_WCHAR_T guards. Don't
4795 * stl/bits/stl_config.h: Don't include _G_config.h.
4797 * bits/basic_file.h: Allow for non-inheritance based __basic_files.
4798 * config/c_io_libio.h (_GLIBCPP_BASIC_FILE_INHERITANCE): Define.
4799 * config/c_io_libio.cc: Tweak.
4801 * src/Makefile.am (TOPLEVEL_INCLUDES): Add includedir.
4802 * src/Makefile.in: Regenerate.
4803 * Makefile.am (AM_MAKEFLAGS): Define includedir so that
4804 prefix/include files will be picked up.
4805 * Makefile.in: Regenerate.
4806 * math/Makefile.am (TOPLEVEL_INCLUDES): And here.
4807 * libio/Makefile.am (TOPLEVEL_INCLUDES): And here.
4809 * bits/std_ios.h: Include <bits/c++io.h> instead of libio.
4810 * bits/fpos.h: And here.
4811 * bits/basic_file.h (get_fileno): Move definition from ...
4812 * src/basic_file.cc (std): To here.
4813 * bits/fpos.h: Move types for streamoff, streampos to..
4814 * bits/basic_file.h: Move __c_file_type and fpos typedefs to...
4815 * config/c_io_libio.h: ...here.
4816 (_GLIBCPP_[BOOLALPHA, HEX, DEC, FIXED, INTERNAL, LEFT, OCT, RIGHT,
4817 SCIENTIFIC, SHOWBASE, SHOWPOINT, SHOWPOS, SKIPWS, UNITBUF,
4818 UPPERCASE, ADJUSTFIELD, BASEFIELD, FLOATFIELD, BADBIT, EOFBIT,
4819 FAILBIT, GOODBIT, APP, ATE, BINARY, IN, OUT, TRUNC): New macros to
4820 abstract out bits in ios_base.
4821 * bits/ios_base.h: Re-macrofy.
4822 * src/basic_file.cc : Rename, move to
4823 * config/c_io_libio.cc: Here.
4824 * config/c_io_libio.h: New file. Include libio.
4825 * bits/c++config.h: Don't define _GLIBCPP_USE_LIBIO.
4826 * configure.in (blddir): Add enabling bits for GLIBCPP_ENABLE_CSTDIO.
4827 * configure: Regenerate.
4828 * src/Makefile.am (sources): Take out basic_file.cc and add c++io.cc.
4829 (generated_headers): Add c++io.h
4830 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): New function to select
4831 underlying "C" io library.
4832 * acinclude.m4 (GLIBCPP_CHECK_LIBIO): Roll functionality into
4833 GLIBCPP_ENABLE_CSTDIO.
4835 * configure.in: Add configure bits for cross compiling non-newlib
4837 GLIBCPP_CHECK_COMPILER_VERSION: Take out this test for this
4838 target, as we assume g++ support is not the limiting factor.
4839 GLIBCPP_CHECK_LIBIO: Same, know we don't need libio.
4840 * configure: Regenerate.
4842 2000-02-22 Benjamin Kosnik <bkoz@cygnus.com>
4844 * Makefile.am (INTERFACE): Define.
4845 * Makefile.in: Regenerate.
4846 * libio/ChangeLog: Add entry.
4848 2000-02-21 Benjamin Kosnik <bkoz@cygnus.com>
4850 * docs/install.html: Update install directions.
4852 * docs/status.html: Fix sidebar to be consistent.
4853 * docs/thanks.html: Same.
4854 * docs/links.html: Same.
4855 * docs/mail.html: Same.
4856 * docs/download.html: Same.
4858 * testsuite/27_io/filebuf.cc: Change BUFSIZ to buffer_size, and
4859 kill the macro BUFSIZ. I think the solaris fails lie elsewhere
4860 however, in the ctype_char_members.cc fail (for instance.)
4861 * testsuite/17_intro/headers.cc: Remove extraneous fails for hosts
4862 that do not have wchar_t enabled.
4863 * testsuite/27_io/ostream_inserter_arith.cc (struct _TestCase):
4865 * testsuite/27_io/iostream_objects.cc: And here.
4867 * libio/gen-params (CONFIG_NM): Specifically add in nm as the
4870 2000-02-18 Benjamin Kosnik <bkoz@haight.constant.com>
4871 Tom Tromey <tromey@cygnus.com>
4873 * configure.in: Manually add MULTISUBDIR.
4874 * configure: Regenerate.
4875 * src/Makefile.am (MULTISUBDIR): Add the lesser evil of Tom's two
4876 "Eww" hacks to get multilib installs working correctly.
4877 ($(headers): Test for MULTISUBDIR before installing.
4878 * Makefile.am (AM_MAKEFLAGS): Don't define MULTISUBDIR, instead
4879 have configure hack it in.
4880 * Makefile.in: Regenerate.
4881 * acinclude.m4 (GLIBCPP_CXXFLAGS): Tweak wording.
4882 Add enabling bits for native Cygwin ctypes, and other newlib-based
4885 2000-02-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4887 * mkc++config (OUT_H): Remove EOF in cygwin.
4888 * acinclude.m4 (LIBS): Tweaks to allow cygwin to configure.
4890 Tom Tromey <tromey@cygnus.com>
4891 * src/Makefile.am: Tweaks for installing multilibs.
4893 2000-02-17 Benjamin Kosnik <bkoz@cygnus.com>
4896 (toolexeclib_LTLIBRARIES): Use this instead of lib_LTLIBRARIES.
4897 Add USE_LIBDIR bits here, not...
4898 * src/Makefile.in: Regenerate.
4899 * Makefile.am: ...here.
4900 * Makefile.in: Regenerate.
4902 2000-02-17 Benjamin Kosnik <bkoz@gnu.org>
4904 * acinclude.m4 (LIBS): Fix typos.
4905 * configure.in: _GLIBCPP_BUGGY_FLOAT_COMPLEX,
4906 _GLIBCPP_BUGGY_COMPLEX for crosses.
4907 * src/Makefile.am (std_headers): Add libio.h as install include,
4909 * src/Makefile.in: Regenerate.
4911 * mkcheck.in: Add bits to set CXX to cross compiler.
4913 * src/complex_io.cc: Tweak.
4914 * configure.in: _GLIBCPP_BUGGY_COMPLEX for crosses.
4915 * configure: Regenerate.
4917 * config/newlib/ctype.cc: Tweaks.
4918 * config/newlib/bits/ctype_base.h (ctype_base): Set mask to char,
4920 * src/complex_io.cc (operator>>(istream, complex): Define out if
4923 2000-02-16 Benjamin Kosnik <bkoz@cygnus.com>
4925 * config/newlib/bits/ctype_base.h: Correct _S_table.
4927 Reconfigure ctype support for "C" libraries that don't use arrays.
4928 * testsuite/22_locale/ctype_char_members.cc: New file. Test for
4929 basic ctype<char> functionality.
4930 * src/locale.cc: Move host-specific ctype functions that are not
4931 inlines to config/*/ctype.cc files.
4932 (ctype<char>::do_tolower): For instance.
4933 (ctype<char>::do_toupper): For instance.
4934 (ctype<wchar_t>::do_tolower): For instance.
4935 (ctype<wchar_t>::do_toupper): For instance.
4936 * config/gnu-linux/ctype.cc: Modify.
4937 * config/default/ctype.cc: Modify.
4938 * config/newlib/ctype.cc: Modify.
4939 * config/solaris/solaris2.6/ctype.cc: Modify.
4940 * config/solaris/solaris2.7/ctype.cc: Modify.
4942 * bits/locale_facets.h (ctype<char>::is): Mark inline, move
4944 (ctype<char>::scan_is): Here too.
4945 (ctype<char>::scan_not): Here too.
4946 Move out of line defs to config/*/bits/ctype_specializations.h.
4947 * config/gnu-linux/bits/ctype_specializations.h: ...here. New file.
4948 * config/default/bits/ctype_specializations.h: ...here. New file.
4949 * config/newlib/bits/ctype_specializations.h: ...here. New file.
4950 * config/solaris/solaris2.6/bits/ctype_specializations.h: New file.
4951 * config/solaris/solaris2.7/bits/ctype_specializations.h: New file.
4952 * src/Makefile.am (headers): Add ctype_specializations.h.
4953 * src/Makefile.in: Regenerate.
4955 Aaron Weiss <weiss@clearway.com>
4956 * Makefile.am (AM_MAKEFLAGS): Add NM_FOR_BUILD, NM_FOR_TARGET, and
4957 CONFIG_NM for Solaris builds.
4958 * Makefile.in: Regenerate.
4960 * src/locale.cc: Tweak formatting.
4962 2000-02-15 Benjamin Kosnik <bkoz@cygnus.com>
4964 Jim Parsons <parsons@clearway.com>
4965 * testsuite/27_io/istream_unformatted.cc (test06): Add test.
4966 * bits/istream.tcc (read): Set failbit if !good(). Don't increment
4970 Michel Decima <michel.decima@cnet.francetelecom.fr>
4971 * testsuite/27_io/streambuf.cc: Add test.
4972 * bits/streambuf.tcc (xsgetn): Don't test for valid mode.
4975 * src/Makefile.am (AM_CXXFLAGS): Pass down AC_CXXFLAGS,
4976 OPTIMIZE_CXXFLAGS, etc. So --enable-debug and --enable-namespaces
4977 will work correctly, for instance.
4978 * src/Makefile.in: Regenerate.
4980 * bits/locale_facets.h: Fix merge error.
4981 (num_put::put(unsigned long long): And here.
4982 * mknumeric_limits (trait_name): Same.
4984 2000-02-15 Chip Salzenberg <chip@valinux.com>
4986 Support 'configure --enable-long-long'.
4987 * bits/c++config.h (_GLIBCPP_USE_LONG_LONG): Remove.
4988 * stl/bits/stl_config.h (__STL_LONG_LONG): Remove '#if 0'.
4989 * acconfig.h (_GLIBCPP_USE_LONG_LONG): Add. Default to undef.
4990 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Define flag macro.
4991 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Use it.
4993 * aclocal.m4: Regenerate.
4994 * config.h.in: Regenerate.
4995 * configure: Regenerate.
4997 2000-02-15 Chip Salzenberg <chip@valinux.com>
4999 Improve (complete?) 'long long' support.
5000 * mknumeric_limits: Call $CXX with $CPPFLAGS. Define statics
5001 for {,unsigned} long long if the limits header declares them.
5002 * src/gen-num-limits.cc: Include <bits/c++config.h> early.
5003 (__USE_GNU, _GNU_SOURCE): Define if _GLIBC_USE_LONG_LONG.
5004 (long long, unsigned long long): Gen limits if _GLIBC_USE_LONG_LONG.
5005 * bits/locale_facets.h (num_get<>::get(..., long long &)): Define.
5006 (num_put<>::put(..., long long)): Likewise.
5007 (num_put<>::put(..., unsigned long long)): Likewise.
5008 * bits/locale_facets.tcc (_S_format): Rename from _S_format_long.
5009 Templatize last parameter to support 'long long'.
5010 (num_put<>::put(...)): Call _S_format with new name.
5011 (num_put<>::put(..., long long)): Define.
5012 (num_put<>::put(..., unsigned long long)): Likewise.
5013 * src/locale-inst.cc (_S_format): Instantiate under new name.
5015 2000-02-15 Petter Urkedal <petter@matfys.lth.se>
5017 * src/complex.cc (operator<<, operator>>): Moved from here...
5018 * src/complex_io.cc: ...to new file.
5019 (operator>>): Stub replaced by the real thing.
5020 * src/Makefile.am (sources): Inserted complex_io.cc.
5021 * src/Makefile.in: Regenerate.
5022 * testsuite/26_numerics/complex_inserters_extractors.cc: Check it.
5024 2000-02-14 Benjamin Kosnik <bkoz@gnu.org>
5026 Add in ctype information for newlib "C" libraries.
5027 * config/newlib: New directory
5028 * config/newlib/bits/ctype_base.h: New file.
5029 * config/newlib/ctype.cc: New file.
5031 * ctype/config/linux/*: Rename, move to...
5032 * ctype/config/gnu-linux/*: Here.
5034 Finish off multilib work.
5035 * configure.in: Don't set CXX if not Canadian cross.
5036 * configure: Regenerate.
5037 * acinclude.m4 (GLIBCPP_CHECK_LIBIO): Tweak messages.
5038 * aclocal.m4: Regenerate.
5039 * config.h.in: Regenerate.
5041 * install-sh: Remove, as AC_CONFIG_AUX_DIR(..) picks this out of
5042 the top-level gcc directory now.
5043 * mkinstalldirs: Remove.
5046 * ltmain.sh: Remove.
5047 * config.guess: Remove.
5048 * config.sub: Remove.
5050 2000-02-13 Benjamin Kosnik <bkoz@cygnus.com>
5052 * configure.in (glibcpp_basedir): Add glibcpp_basedir.
5053 * Makefile.am: Move mutlilib stuff to src/Makefile.am.
5054 * Makefile.in: Regenerate.
5055 * src/Makefile.am: Add multilib bits.
5056 * src/Makefile.in: Regenerate.
5058 2000-02-12 Benjamin Kosnik <bkoz@cygnus.com>
5060 * configure.in: Clean, add some multilib support.
5061 * configure: Regenerate.
5062 * configure.host: New file.
5064 * acinclude.m4: GLIBCPP_CHECK_LIBIO. Take bits from configure.in and
5065 roll a new function, checks for presence of libio.
5066 GLIBCPP_CHECK_COMPILER_VERSION: Same.
5067 GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT: Same.
5068 GLIBCPP_CHECK_MATH_SUPPORT: Same.
5069 GLIBCPP_CHECK_WCHAR_T_SUPPORT: Same.
5070 GLIBCPP_CHECK_LIBIO: Same.
5071 GLIBCPP_CHECK_CTYPE: Same.
5072 * aclocal.m4: Regenerate.
5073 * config.h.in: Regenerate.
5075 * Makefile.am: Tweaks.
5076 * Makefile.in: Regenerate.
5078 2000-02-11 Benjamin Kosnik <bkoz@cygnus.com>
5080 * configure.in: Make outputing the libio/Makefile
5081 conditional. Haha, yeah right. Anyway, we instead do this thing
5082 where if libio is found, then we build a null library, as there is
5083 no point in duplicating the found libio.
5084 * Makefile.am: Tweak.
5085 * Makefile: Regenerate.
5086 * libio/Makefile.am: Add _G_config.h stuff. Now cross compilers
5087 are happy happy happy.
5088 * libio/Makefile.am: Regenerate.
5089 * libio/gen-params: New file.
5090 * src/Makefile.am: Make libio.la non-conditional, as it is now a
5091 null library if it's not needed. At least we are being consistent,
5092 if not as elegant as we could be.
5093 * src/Makefile: Regenerate.
5095 2000-02-10 Benjamin Kosnik <bkoz@gnu.org>
5097 * Makefile.am (SUBDIRS): Add libio again.
5098 * Makefile.in: Regenerate.
5099 * configure.in (BUILD_LIBIO_INCLUDE): And here.
5100 (AC_OUTPUT): Generate libio/Makefile again.
5101 * configure: Regnerate.
5102 * src/Makefile.am (libstdc___la_LIBADD): Change path so that
5103 libio.la is referring back to the libio subdir again.
5104 (LIBIO_INCLUDES): And here.
5105 * src/Makefile.in: Regenerate.
5107 2000-02-09 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5109 * math/complex-stub.h: Missed one. Change __mycabs* to cabs*.
5111 2000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5113 * bits/valarray_array.h (<bits/std_new.h>): #include.
5114 (__valarray_get_memory): New function.
5115 (__valarray_release_memory): Likewise.
5116 (__valarray_default_construct): New functions.
5117 (__valarray_fill_construct): New function.
5118 (__valarray_copy_construct): New funstions.
5119 (__valarray_destroy_elements): New function.
5121 * bits/valarray_array.tcc (__valarray_copy_construct): New
5124 * bits/std_valarray.h (valarray<>::valarray): Use
5125 __valarray_get_memory and __valarray_fill_construct,
5126 __valarray_copy_construct, __valarray_default_construct to
5127 properly construct valarrays.
5128 (valarray<>::~valarray): Use __valarray_destroy_elements to
5129 destroy elements and __valarray_release_memory to return memory.
5130 (valarray<>::shift): Tweak.
5131 (valarray<>::cshift): Likewise.
5132 (valarray<>::resize): Robustify.
5134 2000-02-09 Benjamin Kosnik <bkoz@cygnus.com>
5136 * mknumeric_limits (XCOMPILE): Add support for cross compiling.
5137 * bits/limits_generic.h: New file, defaults.
5138 * src/limits_generic.cc: New file, defaults.
5139 * configure.in (LIBS): Run mknumeric_limits at configure time.
5140 * acconfig.h: Remove PACKAGE VERSION HAVE_COMPLEX
5141 HAVE_LC_MESSAGES, tidy, clean, etc.
5142 * src/Makefile.am (geberated_sources): Remove.
5144 * bits/fpos.h: Use _GLIBCPP_USE_LIBIO guards for libio typenames
5145 (_IO_off_t, _IO_ssize_t)
5147 * src/complex.cc: Use glibc's <complex.h> if
5148 possible. . . apparently this was not being done before. Include
5150 (abs): Enable cabs if it's around, instead of mycabs.
5151 * src/complexf.cc (FCT): Add global scope to match complex.cc.
5152 * src/complexl.cc (FCT): Same.
5153 * math/Makefile.am (EXTRA_LONG_DOUBLE_yes): Change mycabsl to cabsl.
5154 (libmath_la_SOURCES): And here.
5155 * math/(mycabs.c, mycabsf.c, mycabsl.c): Move to. . .
5156 * math/(cabs.c, cabsf.c, cabsl.c): . . . Here.
5157 * math/complex-stub.h: Move c_log declarations into. . .
5158 * math/mathconf.h: Here. This is because glibc's <complex.h>
5159 declares cclog, not c_log. The case of the dueling standards. . .
5160 * math/mathconf.h: Add _GLIBCPP_HAVE_* to macros.
5161 * math/Makefile.am: Change.
5162 * math/nan.c (nan): Change signature.
5163 * math/mathconf.h (NAN): Same.
5164 * math/complex-stub.h (nan): And here.
5166 * Makefile.am (rebuild-stamp): Remove libio and libio
5167 dependancies. Plan to take out libio subdir and just merge with
5168 libio in top level gcc directory. Of course, this assumes there is
5169 a libio in the top level directory (ie ../src_dir). This will
5170 probably change the way this library is configured by default.
5173 2000-02-09 Chip Salzenberg <chip@valinux.com>
5175 * localefwd.h (locale): Make public: facet, id, category.
5177 2000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5179 * testsuite/26_numerics/buggy_complex.cc: Fix Origin:.
5181 * acinclude.m4: Patch only once!
5183 2000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5185 * testsuite/26_numerics/buggy_complex.cc: New file.
5187 2000-02-05 Petter Urkedal <petter@matfys.lth.se>
5189 * acinclude.m4: New GLIBCPP_CHECK_COMPLEX_SUPPORT macro. Based
5190 on the 1999-11-21 entries by Mumit Khan.
5191 * configure.in: Use.
5192 * acconfig.h: New _GLIBCPP_BUGGY_COMPLEX macro.
5193 * bits/std_complex.h: Use.
5195 2000-02-04 Philip Martin <pm@corris.dircon.co.uk>
5197 * stl/bits/stl_algobase.h: Add traits based dispatch for
5198 __normal_iterator in the copy_backward()algorithm
5199 * stl/bits/stl_vector.h: Reduce use of __normal_iterator
5202 2000-02-04 Mumit Khan <khan@xraylith.wisc.edu>
5204 * src/gen-num-limits.cc (signal_handler): Work around signal
5205 handling problem on Cygwin.
5206 Thanks to Chris Faylor <cgf@cygnus.com>.
5208 2000-02-03 Benjamin Kosnik <bkoz@cygnus.com>
5210 * configure.in: Add (preliminary) support for cross compiles and
5212 Remove AC_C_BIGENDIAN tests. Why is this necessary? Cross
5213 compilation freaks on this.
5214 * configure: Regenerate.
5215 * src/Makefile.am: Add support for cross compiles.
5216 * src/Makefile: Regenerate.
5217 * Makefile.am: Add support for cross compiles.
5218 * Makefile.in: Regenerate.
5220 2000-02-02 Benjamin Kosnik <bkoz@cygnus.com>
5222 * configure.in (LIBS): Remove unused subdirs.
5223 * configure: Regenerate.
5224 * Makefile.am (SUBDIRS): And here.
5225 * Makefile.in: Regenerate.
5226 * src/Makefile.am (sources): And here.
5227 * src/Makefile.in: Regenerate.
5230 * generic/*: Remove.
5232 * mkcheck.in (INC_PATH): Include $BUILD_DIR before any source dirs.
5234 * libtool: Update to libtool-1.3.4.
5238 * config.guess: Same.
5240 2000-02-02 Benjamin Kosnik <bkoz@cygnus.com>
5241 Alexandre Petit-Bianco <apbianco@cygnus.com>
5243 * mkc++config: New file. Put autoconf macros into _GLIBCPP_
5244 namespace instead of polluting global namespace with duplicate
5246 * configure.in (AC_OUTPUT): Don't need to generate bits/config.h
5248 (AC_OUTPUT_COMMANDS): Make it here.
5249 * configure: Regenerate.
5250 * bits/c++config.h.in (_CPP_CPPCONFIG): Change. Tweak. Remove
5251 endif, as now we will add it manually.
5252 Move to this file. . .
5253 * bits/c++config.h: New file. Same as old c++config.h.in except
5254 the ending macro guard is now appended manually.
5256 * bits/locale_facets.tcc: Change HAVE_* macros to _GLIBCPP_HAVE_*.
5257 * bits/std_cmath.h: Same here.
5258 * bits/std_cwchar.h: And here.
5259 * src/locale.cc: And here.
5260 * src/complexl.cc: And here.
5261 * math/mathconf.h: Change to include "config.h" instead of
5264 2000-02-01 Benjamin Kosnik <bkoz@gnu.org>
5266 * configure.in: Add support for threads. Try a model closer to
5267 libjava, as hopefully if the thread bits are added carefully
5268 enough, the source code will not have gross hacks. Besides, the
5269 libstdc++-v2 model could be easily emulated without the necessity
5270 of linking files in (as currently done)--all that needs to be done
5271 is AC_DEFINE(-D_PTHREADS) etc. However, let's try something
5272 new. . . and see if we arrive at a more elegant solution.
5273 * configure: Regenerated.
5274 * config/threads-no.h: New file.
5275 * config/threads-posix.h: New file.
5276 * src/Makefile.am (myinstallheaders): Install c++threads.h.
5277 * src/Makefile.in: Regenerated.
5279 2000-01-31 Benjamin Kosnik <bkoz@gnu.org>
5281 META-QUESTION: Can we just make a "header.html" file and a
5282 "footer.html" and just include them in all the doc sub-pages. The
5283 duplication of the header info is kind of gross, and weak
5284 considering that if you change order or layout then all this stuff
5285 has to be changed in all the sub-files.
5287 * docs/17_intro/contribute.html: Take out duplicate file info.
5288 * README: Should just contain a link to the docs/index.html
5289 page. Duplicate information removed.
5290 * docs/faq/index.html: Remove indexes into HOWTOS.
5291 * docs/17_intro/howto.html: Make intro and docs part more
5292 centralized. Move intro stuff to documentation.html.
5293 * docs/how.html: Tweak. Does this file need to exist? What calls it?
5294 * docs/README.html: Move documentation files to
5295 documentation.html. Should this file be renamed
5296 "config_and_install.html" as that is what is apparently covered
5298 * docs/install.html: Yes. New file, moved and renamed README.html.
5299 * docs/documentation.html: New file. This is the index file for
5301 * docs/index.html: Edit sidebar order. Insert new link to new
5302 documentation spine, documentation.html.
5304 2000-01-31 Scott Snyder <snyder@fnal.gov>
5306 * bits/istream.tcc (operator>>(istream&, string&)): Set failbit if
5307 we don't extract any characters.
5308 * testsuite/21_strings/inserters_extractors.cc (main): New tests.
5310 2000-01-31 Anders Widell <awl@hem.passagen.se>
5312 * stl/bits/std_bitset.h (_M_do_left_shift): Handle case when shift
5313 step is a multiple of the word size.
5314 (_M_do_right_shift): Same.
5315 * testsuite/23_containers/bitset_shift.cc: New file.
5317 2000-01-31 Nathan Myers <ncm@zembu.com>
5319 * README (Documentation): Add path info, fix typos.
5321 2000-01-26 Benjamin Kosnik <bkoz@redhat.com>
5323 * bits/locale_facets.tcc (num_get::_M_extract): Add the freaking
5324 crazy group checking for numpunct, for real this time. At some
5325 point, the local variable __grp should probably get replaced a
5326 char array, or something a bit more lightweight.
5327 (num_get::do_get(bool)): Simplify. Don't set bool reference to
5328 parsed value unless err isn't failbit.
5329 (num_get::do_get(*)): Same, make consistent.
5331 Nathan Myers <ncm@zembu.com>
5332 Jim Parsons <parsons@clearway.com>
5333 * testsuite/27_io/istream_extractor_arith.cc (test08): Add
5334 more grouping tests, tweak, scold, wine.
5336 2000-01-24 Benjamin Kosnik <bkoz@gnu.org>
5338 * testsuite/27_io/istream_extractor_arith.cc (test07): Add
5340 * bits/locale_facets.tcc (num_get::_M_extract): Change to fix
5341 grouping bugs. Only allow thousands_sep if _M_use_groupings is
5344 via <llewelly@198.dsl.xmission.com>
5345 * stl/bits/stl_vector.h (vector::_M_range_check): Throw
5346 out_of_range instead of range_error.
5348 2000-01-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5350 * bits/std_iomanip.h (setw): Fix typo.
5352 2000-01-14 Benjamin Kosnik <bkoz@gnu.org>
5354 * testsuite/27_io/istream_extractor_arith.cc: Fix.
5355 * bits/locale_facets.tcc (do_get(...void)): Change to strtoul.
5356 * testsuite/27_io/istream_unformatted.cc (test04): Tweak.
5358 2000-01-14 Phil Edwards <pme@sourceware.cygnus.com>
5360 * docs/README.html: Reformat, more installation instructions.
5361 * docs/gccrebuild.html: New file.
5362 * docs/faq/index.html: Update for new testsuite output filenames.
5363 * docs/faq/index.txt: Regenerate.
5365 2000-01-14 Phil Edwards <pme@sourceware.cygnus.com>
5367 * Makefile.am (rebuild-stamp, all-local): New targets.
5368 * Makefile.in: Regenerated.
5369 * acinclude.m4: New macro, GLIBCPP_ENABLE_RELIBGCC.
5370 * aclocal.m4: Regenerated.
5371 * configure.in: Call new macro. Also do some sanity checks
5372 for combinations of --enable's that may not make sense.
5373 * configure: Regenerated.
5375 2000-01-13 Benjamin Kosnik <bkoz@cygnus.com>
5377 * testsuite/27_io/istream_extractor_arith.cc: Add checks for void*.
5378 * bits/locale_facets.tcc (do_get::(...void)): Set fmtflags
5379 correctly for hex-formatted input.
5381 * testsuite/27_io/istream_manip.cc (test01): Fix, as per setting
5382 eofbit instead of eofbit | failbit.
5383 * testsuite/27_io/istream_unformatted.cc (test04): Fix, as
5384 ifstreams now are opened or'd with ios_base::in (as is correct).
5385 * bits/fstream.tcc (filebuf::seekoff): Simplify.
5386 * testsuite/27_io/ios_base_members_static.cc (test01): Fix thinko.
5388 2000-01-12 Benjamin Kosnik <bkoz@gnu.org>
5390 * bits/std_fstream.h: Add ios_base as a friend to basic_filebuf.
5391 * bits/basic_file.h (basic_file::filepos_cur): Remove incorrect
5393 (__basic_file::filepos_valid): Same.
5394 (__basic_file::filepos_beg): Same.
5395 (__baseic_file::get_fileno): New function.
5396 * bits/ios_base.h (ios_base::sync_with_stdio): Implement, including
5397 feedback from LWG 49.
5398 * src/ios.cc: Move definition here.
5399 * testsuite/27_io/ios_base_members_static.cc (test01): Add tests.
5401 * bits/std_sstream.h (_M_really_sync): Simplify argument list. Set
5402 output part of internal buffer based on string size, so that
5403 _M_out_end is set consistently with filebufs. Correct comments.
5404 * bits/sstream.tcc (stringbuf::overflow): Update here too.
5405 * testsuite/27_io/stringbuf.cc: Changes.
5407 2000-01-11 Benjamin Kosnik <bkoz@gnu.org>
5409 * bits/sstream.tcc (seekoff): Set based on end of written buffer,
5411 * testsuite/27_io/stringbuf.cc: Add tests for seekoff(end).
5413 * bits/std_fstream.h (ifstream::open): Add ios_base::in to openmode.
5414 (ofstream::open): Add ios_base::out to openmode.
5416 * bits/locale_facets.tcc (_M_extract): Have consistency between
5417 istream::sentry and extractors, where failbit | eofbit is
5418 set. Don't change this, but instead change. . (do some formatting
5420 * bits/istream.tcc (istream::sentry): Only set eofbit.
5422 2000-01-10 Benjamin Kosnik <bkoz@gnu.org>
5424 * testsuite/27_io/istringstream_members.cc: New file.
5426 2000-01-09 Benjamin Kosnik <bkoz@gnu.org>
5428 * bits/istream.tcc (istream::sentry): Flush.
5430 * configure.in (AC_OUTPUT_COMMANDS): Simplify.
5431 * configure: Regenerate.
5432 * src/Makefile.am (generated_headers): Remove bits/c++config.h so
5433 that make clean will not delete it.
5434 * src/Makefile: Regenerate.
5436 2000-01-07 Phil Edwards <pme@sourceware.cygnus.com>
5438 * mkcheck.in: Use host-specific invocation of size(1);
5439 GNU binutils isn't necessarily there (more's the pity).
5441 2000-01-06 Benjamin Kosnik <bkoz@cygnus.com>
5443 * configure.in (LIBS): Better tests for solaris2.6.
5444 * configure: Regenerate.
5446 <vakatov@ncbi.nlm.nih.gov>
5447 * bits/std_sstream.h: As per libstdc++20.
5449 2000-01-06 Benjamin Kosnik <bkoz@gnu.org>
5451 Break out configuration on solaris.
5452 * configure.in (ctype_solaris): Add in bits for solaris2.6 and 2.7.
5453 * config/solaris/ctype.cc: Delete and move to proper version.
5454 * config/solaris/bits: Same.
5455 * config/solaris/solaris2.5: Add this directory, with subdir bits
5456 and file ctype.cc. Probably doesn't work.
5457 * config/solaris/solaris2.6: Same.
5458 * config/solaris/solaris2.7: Same, as per specs via Phil Edwards.
5460 * Makefile.am: Change paths to mkcheck.
5461 * Makefile: Regenerate.
5462 * configure.in (AC_OUTPUT_COMMANDS): Build mkcheck here.
5463 * configure: Regenerate.
5464 * src/Makefile.am (generated_headers): Add bits/c++config.h.
5466 * mkcheck: Now autogenerated by configure and renamed. . .
5467 * mkcheck.in (INC_PATH): Add glue for ctype_include_dir.
5468 Have longer-style dates.
5469 Raja R Harinath <harinath@cs.umn.edu>
5470 * mkcheck: Change path to #!/usr/clocal/bin/bash.
5472 * docs/README.html: Correct links, maybe. FAQ, install notes, and
5473 general documentation need to be organized around each other, not
5474 fight against each other. . .
5476 2000-01-04 Phil Edwards <pme@sourceware.cygnus.com>
5477 Nicolai Josuttis <nicolai.josuttis@braunschweig.netsurf.de>
5479 * README: Add a note referring to README.html.
5480 * docs/README.html: New file from Nicolai.
5481 * docs/faq/index.html: Move "how to get a copy" to here.
5482 * docs/gentop/footchunk.html: Update.
5483 * docs/gentop/headchunk.html: New links according to
5484 bkoz's idea for "How to..." stuff.
5485 * docs/gentop/thanks: Actually put people here.
5486 * docs/download.html: Regenerated.
5487 * docs/index.html, docs/links.html, docs/mail.html,
5488 docs/status.html, docs/thanks.html, docs/faq/index.txt: Ditto.
5489 * docs/how.html: Ditto. (This file should go away soon.)
5491 1999-12-26 Phil Edwards <pme@sourceware.cygnus.com>
5493 * docs/gentop/status: Add snapshot version column, update
5495 * docs/status.html: Regenerated.
5497 1999-12-26 Phil Edwards <pme@sourceware.cygnus.com>
5499 * docs/faq/index.html: Turn README and RELEASE-NOTES into links
5500 from installation FAQ, and specify location of text files.
5501 * docs/faq/index.txt: Regenerated.
5503 1999-12-23 Phil Edwards <pme@sourceware.cygnus.com>
5505 * docs/gentop/download: Add links to prebuilds for Cygwin/Mingw32.
5506 * docs/download.html: Regenerated.
5508 1999-12-22 Phil Edwards <pme@sourceware.cygnus.com>
5510 * docs/faq/index.html: Update 'what works' for .7 snapshot,
5511 clean up various links.
5512 * docs/faq/index.txt: Regenerated.
5513 * docs/gentop/gentop: Smarter regeneration script.
5514 * docs/gentop/{head,foot}chunk.html: Updated with new
5515 contributors link and mod date.
5516 * docs/gentop/index: Snapshot relase date.
5517 * docs/gentop/thanks: New contributors page added.
5518 * docs/{download,how,index,links,mail,status,thanks}.html:
5519 Regenerated from gentop; thanks.html created.
5521 1999-12-21 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5523 * bits/c++config.h.in (__GLIBCPP__): 19991221.
5524 * docs/index.html: Add correct information.
5526 * config/irix: New directory.
5527 * config/irix/ctype.cc: Add irix-6.5 info. Not tested.
5528 * config/irix/bits/ctype_base.h: And here.
5530 * config/aix: New directory.
5531 * config/aix/ctype.cc: Add aix-4.2 info. Not tested.
5532 * config/aix/bits/ctype_base.h: And here.
5534 1999-12-21 Philip Martin <pm@corris.dircon.co.uk>
5536 * bits/basic_string.h: Add special case handling for integral
5538 * bits/std_string.h: include type_traits.h
5539 * testsuite/21_strings/ctor_copy_dtor.cc: Tweak.
5541 1999-12-21 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5543 * bits/fstream.tcc (seekoff): Output buffer based on _M_*_in and
5545 * bits/std_fstream.h (sync): And here.
5546 * testsuite/27_io/filebuf.cc: Revisions.
5547 * testsuite/27_io/filebuf-2.tst: Correct, remove weird character
5548 at the end of the file.
5549 * testsuite/27_io/filebuf-3.tst: Correct.
5551 1999-12-21 Phil Edwards <pedwards@jaj.com>
5553 * docs/gentop/index: Hold off on .7 announcement date.
5554 * docs/index.html: Regenerate.
5556 1999-12-21 Benjamin Kosnik <bkoz@kcygnus.com>
5558 * bits/std_fstream.h (sync): Move _M_file->sync() to
5559 _M_really_overflow().
5560 * bits/fstream.tcc (seekoff): Call sync, not _M_really_overflow so
5561 as to get the _M_file->sync action, which forces the external
5562 buffer to update itself.
5563 (underflow): Same here.
5565 1999-12-21 Phil Edwards <pedwards@jaj.com>
5567 * bits/c++config.h.in: Uncomment _GLIBCPP_USE_NAMESPACES and move...
5568 * acconfig.h: ...to here.
5569 * config.h.in: Regenerate from aclocal.
5570 * acinclude.m4: Add GLIBCPP_ENABLE_DEBUG, GLIBCPP_ENABLE_NAMESPACES.
5571 * aclocal.m4: Regenerate from acinclude.
5572 * configure.in: Use ENABLE macros here.
5573 * configure: Regenerate.
5574 * src/Makefile.am: Use results from ENABLE macros.
5575 * src/Makefile.in: Regenerate.
5577 1999-12-20 Benjamin Kosnik <bkoz@cygnus.com>
5579 * mkcheck (SRC_DIR): Now have to include config/* dir if "make
5580 check" and not "make check-install." Temporarily hack in linux
5583 * bits/std_streambuf.h: Tweaks.
5584 * bits/streambuf.tcc (xsgetn): Tweaks.
5585 * bits/std_fstream.h (sync): Make _M_really_overflow consistent.
5586 * bits/fstream.tcc (filebuf::underflow): Simplify.
5587 * bits/std_sstream.h (streambuf::underflow): Minor change to make
5588 checks for read position precisely implement the standard.
5589 * bits/basic_file.h (filepos_cur): Base this on _offset.
5590 * testsuite/21_strings/inserters_extractors.cc (test05): Tweaks.
5591 * testsuite/27_io/filebuf.cc: Tweak.
5593 1999-12-20 Benjamin Kosnik <bkoz@cygnus.com>
5595 * docs/17_intro/RELEASE-NOTES: Fix typos.
5597 * bits/locale_facets.h (ctype): Modify, use __to_type to abstract
5598 out platform-specific bits.
5599 * config/default/ctype.cc: And here.
5600 * config/defaults/bits/ctype_base.h: And here.
5601 * config/linux/ctype.cc: And here.
5602 * config/linux/bits/ctype_base.h (ctype_base): And here.
5603 * config/solaris/bits/ctype_base.h (ctype_base): Add
5604 __to_type. Comment, as it looks like this is for solaris2.6 and
5605 above: solaris2.5.1 doesn't seem to have the same definitions.
5606 * config/solaris/ctype.cc: And here.
5608 1999-12-19 Benjamin Kosnik <bkoz@cygnus.com>
5609 Ulrich Drepper <drepper@cygnus.com>
5611 * acconfig.h: Remove _GLIBCPP_USE_CTYPE_ISBIT.
5613 * src/locale.cc: Take out platform-specific hacks.
5614 * config/linux/ctype.cc: Put here.
5615 * config/solaris/ctype.cc: Put here.
5616 * config/default/ctype.cc: Put here.
5618 * bits/locale_facets.h: Take out platform-specific hacks.
5619 * config/linux/bits/ctype_base.h: Put here.
5620 * config/solaris/bits/ctype_base.h: Put here.
5621 * config/default/bits/ctype_base.h: Put here.
5623 * configure.in: Bump version.
5624 Add tests for top-level config directory.
5625 * configure: Regenerated.
5626 * src/Makefile.am (INCLUDES): Add platform-specific dir.
5627 * src/Makefile: Regenerate.
5629 1999-12-19 Benjamin Kosnik <bkoz@cygnus.com>
5630 Ulrich Drepper <drepper@cygnus.com>
5632 * bits/locale_facets.h: Hack in solaris support.
5633 * src/locale.cc: Here too.
5635 1999-12-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5637 * docs/17_intro/TODO: Update
5638 * docs/17_intro/RELEASE-NOTES (New): Update.
5640 1999-12-17 Benjamin Kosnik <bkoz@milou.cygnus.com>
5642 * bits/c++config.h.in (__GLIBCPP__): Bump.
5643 * docs/17_intro/RELEASE-NOTES: Update, Gaby please add your stuff.
5644 * docs/17_intro/TODO: Update.
5646 * bits/locale_facets.h: Touch this too.
5647 * bits/localefwd.h: Add typedefs for loooooong vector names.
5648 * bits/locale_facets.tcc (locale::operator()): Need parens.
5649 (has_facet): Simplify.
5650 * src/locale-inst.cc: Add instantiations.
5651 * src/locale.cc: Tweaks.
5653 * bits/std_streambuf.h: Move indeterminates into. .
5654 * bits/std_fstream.h: Here.
5655 * bits/fstream.tcc (underflow): Rewind just for ios_base::out
5657 * bits/sstream.tcc: Very minor formatting tweaks.
5658 * bits/std_streambuf.h (_M_set_determinate): If exclusively an
5659 input buffer, set _M_buf to offset.
5660 * bits/istream.tcc (std): Tweaks.
5661 * testsuite/27_io/istream_unformatted.cc (test05): More tweaks,
5663 * testsuite/27_io/filebuf.cc: Tweaks.
5665 1999-12-17 Phil Edwards <pedwards@jaj.com>
5667 * configure.in: Add OPTLEVEL, -O2 for gcc 2.96+, nothing otherwise.
5668 * configure: Regenerate.
5669 * src/Makefile.am: Use OPTLEVEL in CXXFLAGS.
5670 * src/Makefile.in: Regenerate. Also picks up OTHER_CXXFLAGS rename
5671 to OPTIMIZE_CXXFLAGS from a previous revision (1.96) to Makefile.am.
5673 1999-12-17 Phil Edwards <pedwards@jaj.com>
5675 * docs/21_strings/stringtok_std_h.txt: New algorithm
5676 suggested by Chris King.
5677 * docs/21_strings/howto.html: Link to new version.
5679 1999-12-16 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5681 * bits/valarray_array.h (__valarray_sum): Use operator+=, not
5683 * docs/17_intro/TODO: Update.
5685 1999-12-15 Phil Edwards <pme@sourceware.cygnus.com>
5687 * docs/gentop/footchunk.html: Updated, fixed CRLFs.
5688 * docs/gentop/gentop: Ditto.
5689 * docs/gentop/headchunk.html: Ditto.
5690 * docs/*.html: Regenerated from gentop.
5691 * docs/*/howto.html: Updated as test.
5692 * docs/faq/index.html: Updated, fixed CRLFs.
5693 * docs/faq/index.txt: Regenerated.
5695 1999-12-15 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5697 * mknumeric_limits (OUT_C): restart only if $OUT_C is present.
5699 * bits/std_complex.h
5700 (complex<float>::complex(const complex<double>&),
5701 complex<float>::complex(const complex<long double>&)): Define.
5703 * docs/17_intro/TODO: Update.
5705 1999-12-13 Benjamin Kosnik <bkoz@cygnus.com>
5707 * bits/istream.tcc (seekg): Don't set _M_gcount.
5709 * bits/fstream.tcc (filebuf::underflow): Re-sync
5710 external byte sequence's input buffer only. . .
5711 * testsuite/27_io/istream_unformatted.cc (test04): New tests for
5712 tellg, seekg and filebufs.
5713 (test05): Same for stringbufs.
5714 * testsuite/27_io/istream_unformatted-2.tst: New file.
5715 * testsuite/27_io/istream_unformatted-1.tst: New file.
5716 * testsuite/27_io/istream_unformatted-1.txt: New file.
5717 * testsuite/21_strings/inserters_extractors.cc (test05): Change
5720 1999-12-13 Phil Edwards <pedwards@jaj.com>
5722 * docs/gentop/*: New directory, containing bits for the homepages.
5723 * docs/*.html: Regenerated from gentop.
5724 * docs/*/*.html: Entries added and regenerated.
5726 1999-12-13 Benjamin Kosnik <bkoz@gnu.org>
5728 Efforts to get -O2 to work with -Winline -Werrors.
5729 * bits/valarray_array.h (__valarray_fill(_Tp*, size_t, const
5730 _Tp&): Remove inline declaration, as cannot be inlined and
5731 -Winline -Werror complains. An interesting question is why this
5732 cannot be inlined, as I can see no real reason to disqualify it.
5733 (__valarray_product(const _Tp*, const _Tp*)): Same here.
5734 * bits/std_valarray.h (valarray::operator[](size_t)): Same here.
5736 * docs/17_intro/TODO: Update.
5738 1999-12-12 Benjamin Kosnik <bkoz@gnu.org>
5740 * bits/std_fstream.h (seekpos): Tweaks, fixes. Move definition to
5742 * bits/basic_file.h (filepos_cur()): Make pointers themselves be
5743 the resultant position.
5744 * bits/fstream.tcc (seekoff): Explicitly set return value to
5745 resultant external byte sequence position, not value returned from
5746 _M_file->seekoff. Need to make
5747 (seekpos): New definition.
5749 * bits/istream.tcc (seekg): As per Library Issues List 136, set to
5750 just istream. Necessary, or else tellg will give an invalid stream
5751 position, but seekg will return a valid stream position, which is
5752 not groovy: see testcase addition.
5753 * bits/ostream.tcc (seekp): Same.
5755 * bits/streambuf.tcc (_S_copy_streambufs): Simplify.
5756 * bits/sstream.tcc: Tweaks.
5757 * bits/locale_facets.tcc: Tweaks.
5758 (num_put::do_put(iter_type, ios_base, char_type, const void*)):
5759 Re-write in a way that is easier for the inliner to work with.
5760 * bits/ios_base.h: Use explicit static_cast<int>(...) notation.
5762 1999-12-10 Benjamin Kosnik <bkoz@cygnus.com>
5764 * bits/locale_facets.tcc: Tweaks.
5765 * bits/locale_facets.h (use_facet): Can't inline, remove inline
5767 * bits/localefwd.h: And here.
5768 * bits/std_ostream.h: Tweaks, sentry ctor can't be inlined.
5769 * bits/ostream.tcc: Put here.
5771 Frank Ch. Eigler <fche@cygnus.com>
5772 * src/Makefile.am: Adjust CXXFLAGS, add AM_CXXFLAGS.
5774 1999-12-08 Benjamin Kosnik <bkoz@cygnus.com>
5776 * bits/sstream.tcc (stringbuf::seekoff): Long overdue revamp. Make
5777 in and out buffers update independantly.
5779 * bits/basic_ios.h: Minor formatting.
5780 * bits/fstream.tcc (std): Fix indentation.
5782 1999-12-08 Chip Salzenberg <chip@valinux.com>
5784 * bits/char_traits.h (char_traits<>): Move not_eof() functions
5785 after corresponding eof() functions, so they're easier for the
5787 * bits/locale_facets.h (money_base::__default_pattern): Move
5788 static variable out of inline functions.
5789 (_Moneypunct<>::do_{pos,neg}_format): Use it.
5790 * src/locale-inst.cc (money_base::__default_pattern): Define it.
5792 1999-12-08 Benjamin Kosnik <bkoz@cygnus.com>
5794 * bits/std_fstream.h (filebuf::open): Tweak.
5795 * bits/fstream.tcc (filebuf::seekoff): Simplify, fix.
5796 * bits/std_ios.h: Minor tweaks for headers.
5798 1999-12-06 Benjamin Kosnik <bkoz@gnu.org>
5800 * bits/c++config.h.in (_GLIBCPP_FULLY_COMPLIANT_HEADERS): New macro.
5801 * src/string-inst.cc: Add guards . . .
5802 * src/misc-inst.cc: And here.
5803 * bits/std_sstream.h: And here.
5804 * bits/std_fstream.h: And here.
5805 * bits/std_streambuf.h: And here.
5806 * bits/std_istream.h: And here.
5807 * bits/std_ostream.h: And here.
5809 1999-12-06 Scott Snyder <snyder@fnal.gov>
5811 * bits/istream.tcc (basic_istream::read): Try to handle __n == 0
5813 (basic_istream::readsome): And here as well.
5814 * testsuite/27_io/istream_unformatted.cc: Test a zero-length
5817 1999-12-06 Mumit Khan <khan@xraylith.wisc.edu>
5819 * bits/istream.tcc (basic_istream::ignore): streamsize is not
5820 necessarily an `int'.
5822 1999-12-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5824 * mknumeric_limits: Don't use $CXXFLAGS when building
5825 gen-num-limits. It's definitely wrong to use it since $CXXFLAGS
5826 generally instructs the compiler not to emit template
5827 instantiations and we end up with undefined symbols. Sigh.
5829 1999-12-05 Benjamin Kosnik <bkoz@gnu.org>
5831 * bits/locale_facets.tcc: Tweak.
5832 (_S_format_long): Adjust showpos formatting for hex and oct.
5833 * bits/std_ostream.h (operator<<(short)): Correctly deal with hex
5834 and oct by formatting as unsigned.
5835 (operator<<(int)): Same here.
5836 * bits/ostream.tcc (operator<<(long)): Same.
5837 (operator<<(long long)): Same.
5838 (_S_pad_char): Actually treat ios_base::internal as something
5839 worth doing correctly. Remove const designation on ios argument.
5840 * testsuite/27_io/ios_manip_basefield.cc (test02): Add tests.
5841 * testsuite/27_io/ostream_inserter_arith.cc (test03): Add tests.
5843 1999-12-04 Benjamin Kosnik <bkoz@gnu.org>
5845 * bits/std_sstream.h (streambuf::underflow): Check for mode == in.
5847 1999-12-03 Benjamin Kosnik <bkoz@gnu.org>
5849 * bits/locale_facets.tcc (num_put::do_put(bool): Fix.
5851 * bits/sstream.tcc (streambuf::seekoff): Add parens.
5852 * bits/istream.tcc (istream::get(sb)): Handle exceptional events.
5853 (operator>>(istream, _CharT*)): Change streamsize to int_type.
5854 (operator>>(istream, _CharT&)): Fix typedef'd type to be _CharT.
5855 * bits/ostream.tcc (ostream::operator<<(const char*)): Stub out
5857 (ostream::operator<<(_CharT)): Fix.
5859 * bits/std_sstream.h: Temporarily disable including sstream.tcc to
5860 see if this will increase compile speed.
5861 * bits/std_ostream.h: Likewise. . .
5862 * bits/std_istream.h: And here.
5863 * bits/std_fstream.h: And here.
5864 * src/misc-inst.cc: Add relevant header file includes for
5865 instantiation purposes.
5866 * src/string-inst.cc: And here.
5867 * testsuite/27_io/ostream_inserter_arith.cc: Add test case.
5869 1999-12-02 Benjamin Kosnik <bkoz@gnu.org>
5871 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
5872 * bits/istream.tcc (get(streambuf)): More fixes.
5873 (istream::ignore): Get specific about numeric_limits<int>::max()
5876 * bits/fstream.tcc (filebuf::open): Tweaks for _M_last_overflowed.
5877 (filebuf::close): Same.
5878 * testsuite/27_io/filebuf.cc: Add tests for ios_base::ate.
5880 1999-12-01 Phil Edwards <pedwards@jaj.com>
5882 * mkcheck: Support for compilation/execution timing.
5883 * testsuite/printnow.c: New file.
5885 1999-12-01 Phil Edwards <pedwards@jaj.com>
5887 * bits/std_cwchar.h: Test for _GLIBCPP_USE_WCHAR_T.
5888 * configure.in: Test for presence of wchar.h before testing
5889 for any of its features.
5890 * configure: Regenerate.
5892 1999-11-30 Benjamin Kosnik <bkoz@gnu.org>
5894 Preliminary istream validations complete.
5895 * bits/istream.tcc (istream::getline): Fixes. Tweaks to make
5896 formatting more consistent. Removal of if-statements inside of for
5901 * bits/std_istream.h: Same.
5902 * bits/sstream.tcc (stringbuf::pbackfail): Fix.
5903 * testsuite/27_io/stringbuf.cc: Tweak.
5904 * testsuite/27_io/istream_unformatted.cc (test02): Mo' tests.
5906 * bits/ostream.tcc (ostream::operator<<(arith)): Set badbit, not
5907 failbit on failure, as per 27.6.2.5.2.
5909 * stl/bits/std_vector.h: Allow bool specializations. Should move
5910 ext/std_bvector to bits, not ext, maybe.
5912 1999-11-30 Mumit Khan <khan@xraylith.wisc.edu>
5914 * configure.in: Fix checks for mbstate_t and WCHAR_MIN/MAX.
5915 * configure: Regenerate.
5917 999-11-29 Benjamin Kosnik <bkoz@gnu.org>
5919 * bits/istream.tcc (get(streambuf, char)): Fix.
5920 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
5922 1999-11-29 Scott Snyder <snyder@fnal.gov>
5924 * bits/basic_string.h (append(const _Char*, size_type)): The
5925 length of the appended string is given exactly by the second arg,
5926 regardless of the data in the character array.
5927 * bits/string.tcc (basic_string(const _CharT*, size_type, const
5928 _Alloc&)): Likewise.
5929 * testsuite/21_strings/append.cc (test01): Remove erroneous test
5930 of basic_string::append.
5932 1999-11-29 Chip Salzenberg <chip@valinux.com>
5934 * Makefile.in: Tweaks for CXXFLAGS.
5935 * */Makefile.in: Same.
5937 1999-11-29 Mumit Khan <khan@xraylith.wisc.edu>
5939 * conficd bgure.in: Check for wide character support.
5940 * bits/c++config.h.in (_GLIBC_USE_WCHAR_T): Move from here ...
5941 * acconfig.h (_GLIBC_USE_WCHAR_T): to here.
5942 * bits/string.tcc (wstring::_S_find): Guard wchar_t specialization.
5944 1999-11-29 Mumit Khan <khan@xraylith.wisc.edu>
5946 * acinclude.m4: Fix typo.
5947 * src/complex.cc: Fix macro line continuation.
5949 1999-11-29 Petter Urkedal <petter@matfys.lth.se>
5951 * src/Makefile.am (CXXFLAGS): Add -Wno-format to allow non-
5952 string literals in format, as used in locale-facets.tcc.
5954 1999-11-28 Benjamin Kosnik <bkoz@gnu.org>
5956 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
5957 * bits/istream.tcc (istream::get): Extract to argument minus one.
5958 Various tweaks and fixes.
5960 1999-11-22 Mumit Khan <khan@xraylith.wisc.edu>
5962 * bits/locale_facets.tcc: Workaround for compiler crash on
5965 1999-11-21 Mumit Khan <khan@xraylith.wisc.edu>
5967 * acinclude.m4: New file. New _GLIBCPP_CHECK_FLOAT_SUPPORT macro.
5968 * configure.in: Use.
5969 * acconfig.h: New _GLIBCPP_BUGGY_FLOAT_COMPLEX macro.
5970 * src/complexf.cc: New _GLIBCPP_FLOAT_SPECIALIZATION macro.
5971 * bits/std_complex.h: Use.
5972 * src/complex.cc: Use.
5974 1999-11-19 Mumit Khan <khan@xraylith.wisc.edu>
5976 * testsuite/18_support/numeric_limits.cc: Add missing std:: prefix.
5977 * testsuite/21_strings/inserters_extractors.cc: Likewise.
5978 * testsuite/22_locale/ctype.cc: Likewise.
5979 * testsuite/23_containers/multiset.cc: Likewise.
5980 * testsuite/23_containers/vector_ctor.cc: Likewise.
5981 * testsuite/26_numerics/binary_closure.cc: Likewise.
5982 * testsuite/27_io/fpos.cc: Likewise.
5983 * testsuite/27_io/ios_base_callbacks.cc: Likewise.
5984 * testsuite/27_io/istream_extractor_arith.cc: Likewise.
5985 * testsuite/27_io/istream_extractor_char.cc: Likewise.
5986 * testsuite/27_io/istream_extractor_other.cc: Likewise.
5987 * testsuite/27_io/istream_sentry.cc: Likewise.
5988 * testsuite/27_io/ostream_inserter_char.cc: Likewise.
5989 * testsuite/27_io/ostream_inserter_other.cc: Likewise.
5990 * testsuite/27_io/streambuf.cc: Likewise.
5991 * testsuite/27_io/stringstream.cc: Likewise.
5993 1999-11-19 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5995 * bits/valarray_meta.h: Don't forget to define tanh
5997 1999-11-18 Philip Martin <pm@corris.dircon.co.uk>
5999 * src/stl-inst.cc: Use typedef to refer to iterator
6000 * stl/bits/stl_algobase.h: Add traits based dispatch for
6001 __normal_iterator in the copy()algorithm
6002 * stl/bits/type_traits.h: Add _Is_normal_iterator trait support
6004 1999-11-18 Kevin Ediger <kediger@licor.com>
6006 * src/locale.cc (locale::_Imp::_Imp): Use auto_ptr to make
6007 constructors for locale::_Impl exception safe.
6009 1999-11-18 Scott Snyder <snyder@fnal.gov>
6011 * stl/bits/stl_queue.h: The C++ standard gives the default for the
6012 _Sequence template argument of priority_queue<> as vector<>, not
6015 1999-11-18 Benjamin Kosnik <bkoz@gnu.org>
6017 * bits/std_sstream.h (stringbuf::_M_really_sync): Add __iend as a
6019 * bits/sstream.tcc: Adjust here too.
6021 1999-11-17 Benjamin Kosnik <bkoz@gnu.org>
6023 * bits/sbuf_iter.h (istreambuf_iter::equal): Tweak.
6024 * bits/istream.tcc (operator>>): Replace iostate(0) with
6025 iostate(ios_base::goodbit), which is the same thing, but hopefully
6027 * bits/locale_facets.tcc (do_get(bool)): Streamline, deal with
6028 libraries issue list 17.
6029 (do_gets): Don't set goodbit explicitly, instead only set on
6030 failures as good bit is the default setting.
6031 * bits/ios_base.h (setf): Set correctly.
6032 * bits/fstream.tcc: Tweak.
6033 * bits/std_sstream.h (_M_really_sync): Fix ibuffer positioning for
6034 in|out bufs that are empty. . .
6035 * testsuite/27_io/istream_extractor_arith.cc (test03): Add.
6037 1999-11-16 Benjamin Kosnik <bkoz@gnu.org>
6039 * testsuite/27_io/streambuf.cc (class testbuf): Don't set _M_buf_size.
6040 * bits/std_streambuf.h (setp): Set _M_buf_size, _M_mode.
6041 Add comments "all about _M_buf."
6042 (setg): Set _M_mode.
6044 1999-11-16 Kevin Ediger <kediger@licor.com>
6046 * bits/locale_facets.tcc (_S_build_float_format): New function.
6047 (_S_output_float): New function.
6048 (num_put::do_put(double)): Use 'em.
6049 (num_put::do_put(long double)): Use 'em.
6050 * testsuite/27_io/ostream_inserter_arith.cc: New file.
6052 1999-11-15 Scott Snyder <snyder@fnal.gov>
6054 * bits/basic_file.h: Type of __off parm should be __c_streampos, to
6055 match how libio is calling us.
6056 * src/basic_file.cc (sys_seek): Likewise.
6057 * bits/std_fstream.h (basic_filebuf::sync): Restore sync call.
6059 1999-11-15 Benjamin Kosnik <bkoz@gnu.org>
6061 * docs/17_intro/contribute.html: Add link to assignment form.
6062 * docs/17_intro/libstdc++-assign.txt: New file.
6064 * mkcheck (TESTS_FILE): Move a copy of test files as well as
6067 * bits/std_streambuf.h (_M_buf_bump): New function.
6068 * bits/streambuf.tcc: Mods to support _M_buf_bump.
6069 (xsputn): Here. Also add checks for output valid.
6070 (xsgetn): Add checks for input valid.
6072 (sgetc): Set _M_in_end to _M_buf + _M_buf_end.
6073 * bits/std_sstream.h (_M_really_sync): Set _M_buf.
6074 Set _M_out_end to variable-length-end.
6075 * bits/sstream.tcc (overflow): Use _M_buf_bump.
6078 * bits/fstream.tcc (std): Tweak formatting.
6079 (filebuf::overflow): Simplify.
6080 (filebuf::showmanyc): Same.
6081 (filebuf::underflow): Same.
6082 * testsuite/27_io/filebuf.cc: Fix.
6083 * testsuite/27_io/ostream_inserter_other.cc: Fix.
6084 * testsuite/27_io/ostream_inserter_other-2.tst: New file.
6085 * testsuite/27_io/stringbuf.cc: Tweak.
6086 * testsuite/27_io/streambuf.cc: Tweak.
6087 * testsuite/27_io/istream_extractor_other.cc: Fix.
6089 1999-11-11 Matthias Klose <doko@cs.tu-berlin.de>
6091 * stl_deque.h: Use static_casts<size_type>(signed_type).
6093 1999-11-11 Benjamin Kosnik <bkoz@gnu.org>
6095 Cleanups for callbacks, more regression hunting. Remaining
6096 failures (1) due to last unresolved stringstream issues, not
6098 * bits/std_fstream.h: Revert. Disable call to _M_file->sync as
6099 killing 27_io/filebuf.cc tests. . . need another solution.
6101 * bits/streambuf.tcc (_S_copy_streambufs): Fix.
6102 * testsuite/27_io/istream_extractor_other.cc: Tweak comments.
6104 * bits/basic_ios.h: Add cached facets here. UGH. The standard
6105 foils all attempts at a graceful, minimal implementation.
6106 * bits/basic_ios.tcc: Tweaks.
6107 * bits/istream.tcc: Fix.
6108 * bits/ostream.tcc: Fix.
6109 * bits/std_istream.h: Fix.
6110 * bits/std_ostream.h: Fix.
6111 * src/ios.cc (ios_base::imbue): Set _M_locale_ios before calling
6113 * bits/locale_facets.tcc (std): Minor, minor formatting tweak.
6114 (_S_pad_numeric): Make comprehensible.
6116 1999-11-10 Benjamin Kosnik <bkoz@cygnus.com>
6118 * bits/std_ostream.h: Add callbacks for _M_fnumput.
6119 (_S_ostream_fcache): New function.
6120 Move functions out-of-line.
6121 * bits/ostream.tcc: Put here.
6123 * bits/std_istream.h: Add callbacks for _M_fnumget.
6124 (_S_istream_fcache): New function.
6125 Move functions out-of-line.
6126 * bits/istream.tcc: Put here.
6128 * bits/basic_ios.tcc (basic_ios::imbue): Tweaks, remove call to
6129 _M_call_callbacks(), as ios_base::imbue does this already.
6130 * src/ios.cc (register_callback): Clean.
6131 (_M_call_callbacks): Same.
6132 * bits/ios_base.h: Callback work.
6133 * testsuite/27_io/ios_base_callbacks.cc (test01): New file.
6135 1999-11-10 Benjamin Kosnik <bkoz@cygnus.com>
6136 Matthias Klose <doko@cs.tu-berlin.de>
6138 * stl/ext/stl_rope.h: Fix initialization order.
6140 1999-11-09 Scott Snyder <snyder@fnal.gov>
6142 * bits/std_fstream.h (basic_filebuf::sync): Unconditionally call
6143 _M_file->sync() so that redirection works correctly.
6145 1999-11-09 Benjamin Kosnik <bkoz@gnu.org>
6147 * bits/istream.tcc: Re-order.
6148 * bits/std_istream.h: Fix getline problems.
6149 * testsuite/27_io/istream_unformatted.cc: New tests.
6151 Clean up regressions.
6152 * bits/std_sstream.h: Set initial stringbufs correctly.
6154 1999-11-09 Scott Snyder <snyder@fnal.gov>
6156 * stl_vector.h (_M_range_insert): Fix mixing pointers and
6158 * testsuite/23_containers/vector_modifiers.cc (test01): New file,
6161 1999-11-09 Benjamin Kosnik <bkoz@cygnus.com>
6163 * src/Makefile.am (CXXFLAGS): Add -Winline.
6164 * src/Makefile.in: Regenerate.
6166 1999-11-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6168 * bits/valarray_meta.h (_DEFINE_EXPR_UNARY_FUNCTION): When
6169 building meta-expressions don't forget to take the contained
6172 1999-11-02 Benjamin Kosnik <benjamin@cygnus.com>
6174 * configure: Regenerate.
6176 1999-11-02 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6178 * bits/valarray_meta.h (_Expr<>::sum): Tweak. Use copy-initialization
6180 * bits/valarray_meta.h (min): Likewise.
6181 * bits/valarray_meta.h (max): Likewise.
6183 1999-11-01 Benjamin Kosnik <bkoz@cygnus.com>
6185 * bits/std_sstream.h (_M_really_sync): Take into account in | out bufs.
6186 * bits/std_streambuf.h (_S_copy_streambufs): New function.
6187 * bits/streambuf.tcc: Define.
6188 * bits/istream.tcc (istream::operator>>(streambuf)): Rewrite.
6189 * bits/ostream.tcc (ostream::operator<<(streambuf)): Rewrite.
6190 * testsuite/27_io/ostream_inserter_other.cc: Add tests.
6191 * testsuite/27_io/ostream_inserter_other-1.tst: New file.
6193 * bits/basic_string.h: Explicitly cast npos to unsigned type,
6194 reported by Richard Atterer.
6195 * bits/char_traits.h: For consistency's sake, here too.
6197 * configure.in: Bump version to 2.90.7.
6199 1999-10-31 Benjamin Kosnik <bkoz@cygnus.com>
6201 * testsuite/27_io/ostream_inserter_char-1.tst: Check file output.
6202 * testsuite/27_io/ostream_inserter_char.cc (test05, test01): Add tests.
6203 * bits/streambuf.tcc (xsputn): Treat--size const char for long loops.
6205 * bits/sstream.tcc (seekpos): Tricks, mostly: check _M_mode before
6206 writing into buffer.
6209 1999-10-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6211 * bits/valarray_array.h (__valarray_sum): New function.
6212 * bits/valarray_array.h (__valarray_product): Same.
6214 * bits/std_valarray.h (valarray<T>::product): Comment out.
6215 * bits/std_valarray.h (valarray<T>::sum): Use __valarray_sum
6216 instead of accumulate.
6218 * src/valarray-inst.cc: Remove explicit intantiation of
6219 class multiplies<size_t>, accumulate, valarray<size_t>::product.
6220 * src/valarray-inst.cc (__valarray_product): Instantiate
6222 * src/valarray-inst.cc (__valarray_product(const
6223 valarray<size_t>&)): New function.
6224 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't use
6225 valarray<size_t>::product. Use __valarray_product instead.
6228 1999-10-25 Benjamin Kosnik <bkoz@cygnus.com>
6230 * bits/std_ostream.h (ostream.inserters.char): Correctly pad output.
6231 (_S_pad_char): New function. Not done: ios_base::internal.
6232 * bits/ostream.tcc: Clean for above.
6233 * bits/locale_facets.tcc (_S_fill): Remove ostreambufiterator
6234 specialization that was commented out, as ostreams now have to
6235 correctly deal with padding.
6236 * testsuite/27_io/ostream_inserter_char.cc (main): Add tests.
6238 * testsuite/21_strings/ctor_copy_dtor.cc(test02): Add test case
6239 from mailing list. This is a bug, and should be fixed.
6240 * testsuite/21_strings/inserters_extractors.cc (main): Tweak, fix typo.
6242 1999-10-22 Petter Urkedal <petter@matfys.lth.se>
6244 * stl/bits/stl_numeric.h (__power): Replaced argument name `__opr'
6245 to avoid conflict with gcc name mangling.
6246 * stl/bits/stl_algo.h (__transform): Same.
6248 1999-10-21 Benjamin Kosnik <bkoz@cygnus.com>
6250 * bits/ios_base.h: Change argument names.
6251 * docs/17_intro/BADNAMES: Add __opr.
6253 1999-10-20 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6255 Work on compilation slowdowns from 10-5 to 10-12, which are
6256 related to the _Callback_list inlining/merge-ifcation, which is
6257 still a pending issue, but this stuff is necessary cleanup anyway.
6259 * src/ios.cc: Re-arrange.
6260 * bits/ios_base.h: Tweak.
6261 * bits/basic_ios.tcc: Move out of line definitions here, move
6262 small out-of-line definitions inline.
6263 * bits/basic_ios.h: From here.
6265 * bits/streambuf.tcc (pbackfail, overflow): Move back inline.
6266 * bits/std_streambuf.h: From here.
6268 1999-10-19 Benjamin Kosnik <bkoz@cygnus.com>
6270 * testsuite/27_io/istream_extractor_char.cc: Add tests.
6271 * bits/std_istream.h: Tweaks--set eofbit on eof condition.
6272 * bits/istream.tcc (operator>>(istream&, string&): Remove
6273 vestigial issspace hacks and use ctype::is instead.
6274 (getline): Remove unnecessary loops, fortify and pasteurize.
6277 1999-10-18 Benjamin Kosnik <bkoz@cygnus.com>
6279 * bits/istream.tcc (operator>>): Tweak.
6280 * bits/std_istream.h: Fix according to library issues list 68.
6283 * bits/locale_facets.h: Fix table_size to be non-zero.
6285 1999-10-18 Vadim Egorov <egorovv@HotPOP.com>
6287 * src/basic_file.cc: ifdef instead of comment for binary mode
6289 1999-10-18 Russell Davidson <russell@qed.econ.queensu.ca>
6291 * bits/std_sstream.h: Stringbuf initialization based on actual,
6292 not allocated, size.
6293 * testsuite/21_strings/inserters_extractors.cc (test06): Add test
6296 1999-10-17 Benjamin Kosnik <bkoz@cygnus.com>
6298 * testsuite/26_numerics/c_math.cc (test03): Tweak.
6299 * testsuite/27_io/istream_manip.cc (test01): Corrections due to
6301 * testsuite/21_strings/inserters_extractors.cc (test01): Same.
6303 1999-10-14 Benjamin Kosnik <bkoz@cygnus.com>
6305 * bits/std_istream.h: Tweaks.
6306 * bits/istream.tcc (istream::sentry::sentry()): Simplify, correct
6307 as per issues list addition--set failbit, eof on empty buffers.
6308 * testsuite/27_io/istream_sentry.cc: New file.
6310 1999-10-12 Chris Prince <prince@wcug.wwu.edu>
6312 * bits/std_cstdio.h: Remove Solaris hacks.
6314 1999-10-12 Phil Edwards <philip.edwards@sn.wpafb.af.mil>
6316 * docs/index.html: Fix minor typos and tweaks.
6317 * docs/17_intro/contribute.html: Ditto.
6318 * docs/*/howto.html: Ditto. More "EGCS"->"GCC" conversion, notes on
6319 thread safety and binary I/O, links to external sites.
6320 * docs/faq/index.html: EGCS/GCC cleanup, new entries for Cygwin
6323 1999-10-12 Petter Urkedal <petter@matfys.lth.se>
6325 * bits/std_cmath.h (abs(float)): When ::absf is not present, call
6326 ::fabs(double) rather than ::abs(int).
6328 1999-10-11 Benjamin Kosnik <bkoz@milou.cygnus.com>
6330 * bits/std_streambuf.h: Fix minor blip--should explicitly return
6331 *gptr(), not the result of underflow.
6332 (pbackfail): Conform to default behavior.
6334 * bits/streambuf.tcc: Add out-of-line streambuf members.
6337 * testsuite/27_io/streambuf.cc: New file.
6338 * testsuite/27_io/filebuf.cc: Correct test.
6340 1999-10-08 Benjamin Kosnik <bkoz@haight.constant.com>
6342 * bits/std_cmath.h: Correctly cast int to double.
6343 * testsuite/26_numerics/c_math.cc: Add test.
6345 * mknumeric_limits (OUT_C): Tweaks.
6346 * src/gen-num-limits.cc: Checks for WCHAR_MIN, WCHAR_MAX before
6347 trying to instantiate type_traits<wchar_t>.
6348 * acconfig.h: Add _GLIBCPP_HAS_WCHAR_MIN_MAX.
6349 * configure.in (LIBS): Plus checks for WCHAR_MIN, WCHAR_MAX.
6350 * configure: Regenerate.
6352 1999-10-06 Benjamin Kosnik <bkoz@milou.cygnus.com>
6354 * bits/streambuf.tcc (streambuf::xsgetn): Rewrite.
6355 (streambuf::xsputn): Put in break.
6356 Aiming for parity between these two (mostly) similar functions.
6357 Need to re-write tests.
6359 * bits/ios_base.h (ios_base::_M_copy_base): Remove declaration.
6360 Make data members protected, not private.
6361 * src/ios.cc (ios_base::_M_copy_base): Move _Callback_list into
6362 ios_base.h. As called only once, collapse into . . .
6363 * bits/basic_ios.h (basic_ios::copyfmt): Fix.
6364 (basic_ios::clear): Throw ios_base::failure on occasion.
6365 (basic_ios::exceptions): Fix.
6366 * testsuite/27_io/ios_members.cc (test02): Add tests.
6368 * bits/fpos.h: Default initialize.
6369 * testsuite/27_io/fpos.cc (test03): Add test.
6371 1999-10-04 Russell Davidson <russell@qed.econ.queensu.ca>
6373 * src/basic_file.cc: Fix open modes.
6375 1999-10-04 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6377 * bits/locale_facets.tcc (num_get<>::do_get): Fix typo.
6379 1999-09-23 Benjamin Kosnik <bkoz@milou.cygnus.com>
6381 * bits/streambuf.tcc: Yea. Fix this for real.
6382 * testsuite/27_io/ostream_inserter_other.cc: Add file.
6383 * src/Makefile.*: Regenerate.
6385 1999-09-22 Benjamin Kosnik <bkoz@milou.cygnus.com>
6387 * bits/std_cstdlib.h: Add more linux-specif hacks to the header
6388 files so that stdtof and strtold will be declared. Some hacks
6389 already exits in bits/std_cctype.h -- these should all be removed
6391 * bits/locale_facets.tcc: Add cstring.h include.
6392 _S_format_long: Use long, not int.
6393 Add std_limits.h include, for numeric_limits.
6394 * testsuite/27_io/istream.cc: Make instantiations work when using
6396 * testsuite/27_io/ostream.cc: Same.
6398 1999-09-21 Benjamin Kosnik <bkoz@milou.cygnus.com>
6400 * bits/fpos.h (fpos::operator streamoff): Make const, don't return
6401 a reference. Same for operators == and !=.
6402 * testsuite/27_io/fpos.cc: Add tests.
6404 1999-09-21 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6406 * bits/valarray_array.h: Fix typo.
6408 * mknumeric_limits: Make sure we are regenerating things from
6409 scratch. Otherwise things get redefined. Not good.
6411 1999-09-20 Benjamin Kosnik <bkoz@milou.cygnus.com>
6413 * bits/std_ostream.h: Fix typo.
6414 * bits/std_istream.h: Same.
6415 * bits/std_iomanip.h: Same.
6417 * bits/istream.tcc (sentry::sentry()): Remove optional tie with
6418 ostream, as happens with underflow anyway.
6419 * testsuite/27_io/istream.cc (main): New file.
6420 * testsuite/27_io/ostream.cc (main): New file.
6421 * testsuite/27_io/istream_unformatted.cc: Add tests.
6423 * src/Makefile.am (headers): Add new file.
6424 * src/Makefile.in (headers): Regenerated.
6426 * bits/basic_ios.h: Remove local-related files.
6427 * bits/basic_ios.tcc: New file, add locale-related items.
6428 * src/misc-inst.cc: Add include of basic_ios.tcc, as a hack for now.
6429 * testsuite/27_io/ios_members_static.cc: Change to
6430 * testsuite/27_io/ios_base_members_static.cc: This.
6431 * testsuite/27_io/ios_members.cc: New file.
6432 * testsuite/27_io/stdios_basefield_manip: Change to
6433 * testsuite/27_io/ios_manip_basefield.cc: This.
6434 * testsuite/27_io/stdios_fmtflags_manip: Change to
6435 * testsuite/27_io/ios_manip_fmtflags.cc: This.
6437 * bits/fpos.h: Fix discarding qualifiers on this when
6438 using _M_position with a const fpos.
6439 * bits/std_iosfwd.h: Tweak.
6440 * testsuite/27_io/fpos.cc: New file.
6442 1999-09-17 Benjamin Kosnik <bkoz@milou.cygnus.com>
6444 * bits/streambuf.tcc (streambuf::xsputn): Tweak.
6445 * bits/ostream.tcc: Tweak.
6446 * testsuite/21_strings/inserters_extractors.cc (test04, test05):
6447 Add new regressions.
6449 1999-09-16 Benjamin Kosnik <bkoz@milou.cygnus.com>
6451 * bits/basic_ios.h: Inline, tweak.
6452 * bits/fstream.tcc (basic_filebuf::_M_really_overflow): Tweak,
6453 pass back accurate return value to basic_filebuf::overflow.
6454 * bits/streambuf.tcc (streambuf::xsputn): Fix overflow accounting.
6455 This fixes sstream problems reported in libstdc++/9, but screws up
6456 filebufs. That solution is pending.
6458 1999-09-15 Vadim Egorov <egorovv@1c.ru>
6460 * bits/streambuf.tcc (basic_streambuf::xsputn): Add check for
6462 * testsuite/21_strings/inserters_extractors.cc (test01): Add test.
6464 1999-09-08 Benjamin Kosnik <bkoz@milou.cygnus.com>
6466 * bits/c++config.h.in: Add emacs hints.
6468 * stl/bits/stl_range_errors.h: Don't define here, for now define
6469 in stdexcept.cc along with string inlines __length_error, etc.
6470 * src/stdexcept.cc: Define here.
6471 * stl/bits/stl_config.h (__STL_CAN_THROW_RANGE_ERRORS): Enable, so
6472 at(size_t) will be declared/defined.
6473 (__STL_THREADS): Fix mess surrounding use of this, enable.
6475 1999-08-31 Benjamin Kosnik <bkoz@milou.cygnus.com>
6477 * testsuite/27_io/istream_extractor_arith.cc: Fix.
6478 * src/localename.cc: Tweak formatting, fix assignment to
6479 const compiler errors.
6481 1999-08-25 Benjamin Kosnik <bkoz@cygnus.com>
6483 * acconfig.h: Add absf, cosf.
6484 * configure.in (use_builtin_sinf): Same.
6485 * configure: Regenerate.
6486 * bits/std_cmath.h: Add mess of defines.
6487 * testsuite/26_numerics/modf_float.cc: Change to
6488 * testsuite/26_numerics/c_math.cc: This.
6490 * src/locale.cc: Change.
6491 * bits/locale_facets.h: Fix.
6492 * testsuite/22_locale/ctype.cc: Add temporary tests.
6494 1999-08-24 Benjamin Kosnik <bkoz@cygnus.com>
6496 * bits/fpos.h: Test.
6498 * docs/index.html: Add powerpc-linux-gnu results with gcc-2.95.1.
6499 Fix database name for "libstdc++".
6501 1999-08-23 Benjamin Kosnik <bkoz@cygnus.com>
6503 * mknumeric_limits (numeric_limits): Add default definitions to
6505 * testsuite/18_support/numeric_limits.cc: New file.
6507 1999-08-18 Benjamin Kosnik <bkoz@cygnus.com>
6509 * bits/std_istream.h: Correct initialization.
6510 * bits/std_ostream.h: Likewise.
6511 * bits/std_sstream.h: Likewise.
6512 * bits/std_fstream.h: Likewise.
6513 * testsuite/27_io/stringstream.cc: Add test case.
6515 * bits/std_sstream.h: Replace ____string_type with __string_type.
6516 * bits/basic_ios.h (basic_ios::rdbuf(sb*): Call clear(), as required.
6517 * bits/std_ostream.h: Tweak dtor.
6519 1999-08-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6521 * src/Makefile.am (CXXFLAGS): Add -O2.
6522 * src/Makefile.in: Likewise.
6524 * src/gen-num-limits.cc: Conditionally allow wchar_t. See what
6526 * mknumeric_limits (numeric_limits): Uglify.
6528 * bits/std_istream.h: Fix warnings.
6529 * bits/locale_facets.tcc: Collateral damage from
6530 char_traits<char>::int_type change.
6532 * testsuite/27_io/istream_extractor_char.cc: Terminate strings.
6534 1999-08-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6536 * docs/index.html: Add mailing list form.
6537 * docs/27_io/howto.html: Add link to iostreams_hierarchy.pdf.
6539 1999-08-16 Benjamin Kosnik <bkoz@cygnus.com>
6541 * bits/streambuf.tcc (streambuf::xsputn): Allow copies to continue
6542 if overflow successfully allocates more space.
6543 * bits/std_sstream.h: Adjust comments.
6544 * bits/sstream.tcc (stringbuf::overflow): Copy buffer into string
6545 before overflow forces a resize.
6546 * testsuite/27_io/ostream_inserter_char.cc: New file.
6548 * bits/std_fstream.h: Remove declaration.
6549 * bits/fstream.tcc: Move uflow.
6550 * bits/std_streambuf.h: To here.
6551 * bits/streambuf.tcc: Make consistent.
6553 * src/Makefile.am (WERROR): Enable.
6554 * src/Makefile.in: Regenerate.
6555 * bits/sbuf_iter.h: Tweak.
6556 * bits/char_traits.h: (char_traits<wchar_t>::eof): Use WEOF.
6557 Use unsigned int as char_traits<char>::int_type.
6559 * bits/ostream.tcc (ostream::putc(char)): Tweak.
6560 * testsuite/27_io/iostream_objects.cc: Terminate string.
6561 Move cin::operator>>(char*) test to extractor_char.cc.
6562 * testsuite/27_io/stringstream.cc: Add stringstream instantiation.
6563 * bits/std_istream.h (basic_iostream): Make explicit definition
6565 * bits/std_sstream.h: Fix typos.
6566 * bits/fstream.tcc (_M_init_filebuf): Set to indeterminate for
6567 basic_filebuf ctor with fileno open arguments. Thus, filebufs are
6568 initialized in a consistent manner, no matter if the underlying
6569 FILE/bit bucket is a tty or a text file or some other imaginary
6570 construct. This and setting _M_buf_size to 1 for cin allows
6571 istream::get(char) to work in a manner consistent with what others
6574 * docs/index.html: Link Stroustrup's C++ page.
6576 1999-08-12 Michael Cook <cook@sightpath.com>
6578 * bits/fstream.tcc: Fix signed/unsigned -Wall warning.
6579 * bits/istream.tcc: ditto.
6580 * bits/sbuf_iter.h: ditto.
6581 * bits/std_istream.h: ditto.
6582 * src/Makefile.am: Add -Wall to CXXFLAGS.
6583 * src/Makefile.in: ditto.
6585 1999-08-12 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6586 Russell Davidson <russell@ehess.cnrs-mrs.fr>
6588 * bits/locale_facets.tcc (_M_extract): Finish off patch from yesterday.
6589 * src/Makefile.am (myinstallheaders): Tweak, remove PHONY.
6591 1999-08-11 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6593 * testsuite/27_io/istream_unformatted.cc: New file.
6595 * testsuite/27_io/istream_extractor_arith.cc (test02): Add more
6596 elaborate tests for int types with noskipws.
6598 * testsuite/27_io/istream_extractor_other-1.txt: New file.
6599 * testsuite/27_io/istream_extractor_other-1.tst: New file.
6600 * testsuite/27_io/istream_extractor_other-2.tst: New file.
6601 * testsuite/27_io/istream_extractor_other.cc: Add tests.
6602 * bits/istream.tcc: Fix operator>>(streambuf*).
6604 * testsuite/23_containers/vector_ctor.cc (test01): Add.
6606 * docs/index.html: Remove references to egcs.
6607 * docs/17_intro/DESIGN: Same.
6608 * docs/17_intro/contribute.html: Same.
6609 * docs/17_intro/RELEASE-NOTES: Ditto.
6610 * docs/17_intro/howto.html: Same here.
6612 Russell Davidson <russell@ehess.cnrs-mrs.fr>
6613 * stl/bits/stl_vector.h (_M_insert_aux):
6614 * bits/locale_facets.tcc (_M_extract): Tweaks for preliminary
6615 decimal/floating point support.
6616 * bits/locale_facets.h: Change _M_extract prototype.
6617 * bits/char_traits.h (char_traits::to_int_type): Cast to unsigned.
6618 * bits/std_istream.h (istream::read(char_type, streamsize)): Fix.
6620 1999-08-10 Michael Cook <cook@sightpath.com>
6622 * bits/fstream.tcc: Fix for unused variable warning (-Wall).
6623 * bits/ios_base.h: ditto.
6624 * bits/istream.tcc: ditto.
6625 * bits/locale_facets.h: ditto.
6626 * bits/locale_facets.tcc: ditto.
6627 * bits/std_streambuf.h: ditto.
6628 * src/basic_file.cc: ditto.
6629 * src/locale.cc: ditto.
6630 * src/localename.cc: ditto.
6632 1999-08-10 Kirat Singh <singhki@jany.gs.com>
6634 * bits/std_iomanip.h: Inline.
6636 1999-08-10 Alfred Minarik <a8601248@unet.univie.ac.at>
6638 * bits/std_streambuf.h: Correct member initialization order.
6639 * src/ios.cc: Add definitions for ios_base data members.
6641 1999-08-06 Phil Edwards <pedwards@ball.com>
6643 * docs/index.html: Seventh snapshot updates. Minor tweaks.
6644 * docs/faq/index.html: Ditto. Removed bugs sections that have
6645 been fixed for a long time... Lots of "egcs" references still
6647 * docs/faq/index.txt: Regenerated.
6649 1999-08-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6650 Andreas Amann <amann@physik.tu-berlin.de>
6652 * testsuite/26_numerics/binary_closure.cc (main): new test.
6654 1999-07-29 Andreas Amann <amann@physik.tu-berlin.de>
6656 * bits/valarray_meta.h: (_BinClos<>::_Binclos): fix typo causing
6659 1999-08-04 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6661 * docs/index.html (host): Put in testing status.
6663 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
6665 * docs/index.html: Update for libstdc++-2.90.6 release.
6666 * docs/17_intro/RELEASE-NOTES (New): Update.
6667 * docs/17_intro/BUGS: Update.
6668 * bits/c++config.h.in (__GLIBCPP__): Bump version number.
6669 * README (file): Update.
6671 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
6673 * src/Makefile.am (generated_headers): Remove bits/c++config.h as
6675 ($(generated_headers)): Same.
6676 * src/gen-c++config.cc: Remove, rename to
6677 * bits/c++config.h.in: New file. Bump version number.
6678 * configure.in: Generate bits/c++config.h at configure time.
6679 * math/mathconf.h: include bits/c++config.h, not config.h.
6681 * bits/std_cmath.h: Fix remaining link error for solaris shared
6682 builds. _GLIBCPP_HAS_BUILTIN_SINF has to be disabled for the time
6683 being, as on Solaris this silently calls sinf, which does not
6686 * src/complex.cc: More tweaks.
6688 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
6690 * src/complex.cc: Same.
6691 * math/complex-stub.h: Change.
6692 * math/c_log10*.c: Change back to clog10*.c.
6694 * configure.in (NEED_C_LOG10): Delete.
6695 * configure: Regenerate.
6696 * math/Makefile.am: Change.
6698 1999-07-30 Benjamin Kosnik <bkoz@cygnus.com>
6700 * math/Makefile.am: Fix, for real.
6701 * configure.in (use_builtin_sinf): Ok, make autoconf solution.
6702 * math/clog.c: Move to c_log.c.
6703 * math/clog*: Ditto.
6704 * math/c_log10l.c (c_log10l): Change function name.
6705 * math/c_log10f.c (c_log10f): Change function name.
6706 * math/c_log10.c (c_log10): Change function name.
6708 * math/complex-stub.h: Change to c_log* variants.
6709 * src/complex.cc: And here.
6711 1999-07-29 Benjamin Kosnik <bkoz@cygnus.com>
6713 * testsuite/27_io/istream_extractor_other.cc: Correct last test.
6714 * bits/sstream.tcc (stringbuf::overflow): Don't update the input
6715 sequence, just the output sequence.
6716 * bits/std_sstream.h (stringbuf::str()): Only in stringbufs return
6717 the original string, all others use complicated heuristic.
6719 * src/complex.cc: Assume c_log10.
6720 * math/Makefile.am (EXTRA_yes): Fix c_log/c_logf unresolved
6721 symbols in shared libraries by making c_log/c_log10 part of the
6722 "must cmpile" sources. This may not work on solaris, must check.
6724 1999-07-29 Benjamin Kosnik <bkoz@cygnus.com>
6726 * bits/istream.tcc (operator>>(streambuf*)): Re-do.
6727 * bits/std_istream.h: Fix char extractors.
6728 * testsuite/27_io/istream_extractor_char.cc: Change.
6729 * testsuite/27_io/istream_extractor_other.cc: Add tests.
6731 1999-07-28 Benjamin Kosnik <bkoz@cygnus.com>
6733 * bits/std_cctype.h: Fix for solaris2.6 builds.
6735 * bits/istream.tcc: Fix, thanks Alfred.
6736 * bits/std_istream.h: Formatting changes.
6738 * libio/Makefile.am (libio_la_SOURCES): Remove cleanup.c, so that
6739 _IO_cleanup will not be undefined.
6740 * libio/*: Regenerate.
6742 * bits/basic_string.h: More namespace-safety stuff.
6743 * testsuite/27_io/istream_extractor_char.cc: Fix.
6744 * testsuite/27_io/istream_extractor_arith.cc: Fix.
6745 * testsuite/27_io/iostream_objects.cc: Fix.
6746 * testsuite/27_io/ios_ctor.cc: Fix.
6747 * testsuite/27_io/istream_manip.cc: Make namespace safe.
6748 * testsuite/27_io/istream_extractor_other.cc: New file.
6750 * mkcheck (TESTS_FILE): Tweaks.
6752 1999-07-27 Benjamin Kosnik <bkoz@cygnus.com>
6754 * src/gen-c++config.cc: Note here, change version.
6755 * acconfig.h( _GLIBCPP_USE_CTYPE_ISBIT): New macro.
6756 * src/locale.cc: Used here.
6757 * configure.in (use_builtin_sinf): Check for _ISBit using autoconf.
6759 * aclocal.m4: Regenerate by running `aclocal -I m4.`
6761 * bits/istream.tcc: Fix.
6762 * bits/std_istream.h: More changes to extractors.
6764 * testsuite/27_io/istream_extractor_char.cc: More.
6765 * testsuite/21_strings/inserters_extractors.cc (test01): Fix logic
6766 error in testsuite construction.
6768 * bits/std_istream.h: Partially revert.
6769 * bits/std_ostream.h: Same.
6770 * bits/std_sstream.h: Revert.
6772 1999-07-26 Benjamin Kosnik <bkoz@cygnus.com>
6774 * bits/std_sstream.h: Change initialization.
6775 * bits/std_ostream.h: Make default ctor/assign/operator= private.
6776 * bits/std_istream.h: Same, also correct sentry args.
6777 * bits/istream.tcc: Add correct sentry args.
6779 * testsuite/27_io/istream_extractor_char.cc: New file.
6780 * testsuite/27_io/istream_extractor_arith.cc: New file, old file,
6781 name changes making me dizzy.
6783 1999-07-26 Ulrich Drepper <drepper@happy.cygnus.com>
6784 Benjamin Kosnik <bkoz@cygnus.com>
6786 * aclocal.m4, config.guess, config.sub, ltconfig ltmain.sh: Update
6789 1999-07-26 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6791 * bits/std_complex.h: Tweak. Make the primary template class
6792 complex work with user-defined numerical types. Provide member
6793 definitions. Restructure.
6794 (class complex<float>): Uglify. Remove __value(). Rename __val
6795 to _M_value. Rename __complex_value_type to _ComplexT. Make it
6796 private. Remove dependency on __value(). Fix various explicit
6797 specialization syntax. Declare a some functions friend. Now the
6798 implementation is nearly comforming.
6799 (class complex<double>): Likewise.
6800 (class complex<long double>): Likewise.
6802 * src/complex.cc: Tweak. Remove dependency on complex::__value().
6803 (sin, sinh, tan, than): Fix call to corresponding C9x function
6806 1999-07-24 Benjamin Kosnik <bkoz@fidel.cygnus.com>
6808 * bits/istream.tcc (ws): Fix error with failbit being set.
6810 Disabled due to egcs/gcc-2_95 internal compiler errors.
6811 * src/Makefile.am (CXXFLAGS): Add -fsquangle -fhonor-std
6812 -fnew-exceptions. Compiling with namespaces enabled will now be
6814 * mkcheck (CXX_FLAG): Same.
6815 * src/gen-c++config.cc (_GLIBCPP_USE_NAMESPACES): Yup. New macro.
6816 * bits/std_cctype.h: Not enough to just define in namespace std if
6817 ctype-isms are macros. Need to also define in namespace std:: if
6818 the C functions are just plain functions.
6820 * src/gen-num-limits.cc: Fix spelling inconsistencies.
6822 1999-07-24 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6824 * docs/18_support/howto.html: Start documentation. Need to keep
6825 track of the ongoing discussion in th LWG reflector.
6827 * src/gen-num-limits.cc: Tweak.
6828 (class predicate): New class.
6829 (class value): Likewise.
6830 Make the whole machinery more flexible. Add comments.
6832 1999-07-23 Benjamin Kosnik <bkoz@fidel.cygnus.com>
6834 * bits/ios_base.h: Move state/exception functions into basic_ios.
6835 * bits/basic_ios.h: Same.
6836 * src/ios.cc: And here. Callbacks don't attempt to reset
6839 * bits/std_streambuf.h: Separate ios and streambuf locale data
6840 members and cached facets. Using this convention: _M_locale_buf for
6841 the streambuf-related classes, and _M_locale_ios for the ios
6843 * bits/fstream.tcc: And here.
6844 * bits/basic_ios.h: And here. Also, add cached ctype.
6845 * src/ios.cc: Ditto.
6846 * bits/ios_base.h: Ditto.
6847 * bits/std_istream.h: Use cached ctype facet.
6848 * docs/27_io/iostreams_hierarchy.pdf: Update for new data member
6851 * testsuite/27_io/ios_ctor.cc: New file.
6852 * src/ios.cc: Move _M_state init to basic_ios::init().
6853 * bits/basic_ios.h: To here.
6855 Attempt for some consistency in naming for testsuite/27_io/*.cc.
6856 * testsuite/27_io/boolfmt.cc: Rename to stdios_fmtflags_manip.cc
6857 * testsuite/27_io/octfmt.cc: Rename to stdios_basefield_manip.cc
6858 * testsuite/27_io/istream_manip.cc: Rename to istringstream_manip.cc.
6859 * testsuite/27_io/ostream_manip.cc: Rename to ostringstream_manip.cc.
6861 1999-07-22 Benjamin Kosnik <bkoz@fidel.cygnus.com>
6863 * src/ios.cc: Tweak initializations of standard iostream
6864 objects to closely match the standard. Tie cin/wcin, set flags on
6866 * bits/char_traits.h: Change from size_t to int_type, as per
6867 standard. As per wide streams.
6868 * bits/basic_ios.h: Infect with __ctype_type, as a preparation
6869 for caching a bunch of ctype info. For instance, ctype_base::space
6870 info needs to be stored somewhere, somehow.
6871 * bits/std_istream.h: Also here.
6872 * bits/std_ostream.h: Ditto.
6873 * bits/std_istream.h (operator>>(istream, char): Aggh. Fixup.
6874 * testsuite/27_io/iostream_objects.cacc (test01): Oh yeah. Fix
6877 * bits/istream.tcc (ws): Fix.
6878 * testsuite/27_io/istream_manip.cc: New file, test ws.
6879 * testsuite/27_io/ostream_manip.cc: New file, test endl, ends, flush.
6881 * bits/basic_string.h: Provide a specialized member function for
6882 _S_find<char> using strchr.
6883 * src/string-inst.cc: Put specializations here.
6884 * bits/string.tcc: Small fix for find, remove typo.
6885 * testsuite/21_strings/find.cc (test01): Add tests to catch this
6888 1999-07-20 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6890 * bits/basic_ios.h: Put into basic_ios namespace.
6893 1999-07-19 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6895 * bits/std_sstream.h (stringbuf::sync): Change to _M_really_sync,
6896 adjust _M_*_cur pointers inside the function, so callee doesn't
6898 * bits/sstream.tcc (stringbuf::overflow): Tweak.
6900 * mkcheck: Tweak. Add execution time field, even though it is not
6901 implemented yet. Simplify pass/fail status notation.
6903 1999-07-18 Mumit Khan <khan@xraylith.wisc.edu>
6905 * configure.in: Check for float.h and underscored version of
6907 * acconfig.h: Add @BOTTOM@ section for handling underscored
6909 * configure: Regenerate.
6910 * config.h.in: Regenerate.
6911 * math/mathconf.h (float.h): Include conditionally.
6912 (M_PI): Define conditionally.
6913 (INFINITE_P): Define for Mingw.
6914 * bits/locale_facets.tcc: Workaround for compiler crash on
6916 * bits/std_cwchar.h (bits/std_cstddef.h): Include.
6917 * src/locale.cc (bits/std_istream.h): Include.
6918 (bits/std_ostream.h): Likewise.
6920 1999-07-18 Phil Edwards <pedwards@ball.com>
6922 * docs/faq/index.html: Updated __black_count notes, fixed typos.
6923 * docs/faq/index.txt: Regenerated.
6925 1999-07-15 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6927 * testsuite/27_io/stringbuf.cc: Cccchanges, latent bugs.
6929 * bits/sstream.tcc (stringbuf::overflow): Modify accounting of
6930 newly-allocated buffer.
6931 * bits/streambuf.tcc (streambuf::xsgetn): Aaaaaah. Fix final
6932 overflow condition bits.
6934 1999-07-14 Benjamin Kosnik <bkoz@cygnus.com>
6936 * bits/std_sstream.h (stringbuf::_M_init_stringbuf): Set
6937 _M_buf_size to initial _M_string.size(), even though for
6938 ostringstreams it is pretty pointless. It's necessary for
6940 (stringbuf::str()): Adjust.
6941 (stringbuf::str()): Adjust, call _M_init_stringbuf.
6942 * bits/streambuf.tcc (streambuf::xsgetn): Adjust return value for
6943 overflow's possible success.
6944 (streambuf::xsputn): Adjust.
6946 * testsuite/27_io/filebuf.cc: Adjust for the xsgetn re-write from
6948 * testsuite/27_io/stringbuf.cc: Tweak.
6949 * testsuite/21_strings/inserters_extractors.cc (test01): Remove
6951 * testsuite/23_containers/vector_cons.cc: Rename to be consistent
6952 with other constructor tests to. . .
6953 * testsuite/23_containers/vector_ctor.cc: New file.
6955 1999-07-14 Alfred Minarik <a8601248@unet.univie.ac.at>
6957 * testsuite/*: Changes to make the testsuit compilable with
6958 -fhonor-std. Contains direct qualification of library names with
6961 1999-07-13 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6963 * bits/streambuf.tcc: Tweaks.
6964 (streambuf::xsputn): Optimize, fix for sstreams.
6965 (streambuf::xsgetn): Same.
6966 * bits/sstream.tcc (stringbuf::overflow): Adjust _M_buf_size
6967 correctly, handle overflow/reallocate conditions correctly.
6968 * bits/std_sstream.h: Fix typo.
6969 _M_init_stringbuf(): Fix _M_buf_size initialization.
6970 (stringbuf::str()): Construct return string if output has occurred.
6972 * bits/basic_string.h: Fix typo from yesterday's patch.
6974 1999-07-12 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6976 * bits/string.tcc: _M_mutate - clear _M_state again.
6977 * bits/basic_string.h: In the three functions that return
6978 an iterator set _M_state to -1 before return.
6979 Also optimized two cases of operator+.
6981 1999-07-12 Phil Edwards <pedwards@ball.com>
6983 * docs/index.html: Expand egcs-1.1.2 notes/links.
6984 * docs/faq/index.html: And here. Add links to LWG issues-list.
6985 * docs/faq/index.txt: Regenerate. (lynx rocks)
6986 * docs/21_strings/howto.html: Fix notes on case conversion.
6987 * docs/21_strings/stringtok_h.txt: Goodly spelling...
6988 * docs/23_containers/howto.html: Stub for bitmasks.
6989 * docs/27_io/howto.html: Add section on buffering, stub binary.
6991 1999-07-12 Nathan Myers <ncm@cantrip.org>
6993 * stl/bits/stl_tree.h (__black_count): Optimize.
6995 1999-07-09 Vadim Egorov <egorovv@1c.ru>
6997 * src/basic_file.cc: Cleanup in __basic_file destructor.
6999 1999-07-08 Benjamin Kosnik <bkoz@cygnus.com>
7001 * bits/std_streambuf.h: Changes. . .
7002 * bits/streambuf.tcc: Merge xsputn from filebuf into xsputn in
7003 basic_streambuf, to be used for both filebufs and streambufs.
7004 * bits/std_fstream.h (_M_init_filebuf): New function.
7005 Take out specialized xsputn, put into basic_streambuf.
7006 * bits/fstream.tcc: Define, call from both ctors.
7007 * bits/std_sstream.h (_M_init_stringbuf): New function.
7008 * bits/sstream.tcc: Tweak.
7010 * docs/27_io/iostreams_heirarchy.pdf: New file.
7012 * docs/17_intro/CHECKLIST (basic_string<char>): Validation and
7013 acceptance. Wooo-hoo!
7015 * bits/char_traits.h: Change int_type for char_traits general
7016 template, so that 21_strings/capacity.cc will compile.
7017 * testsuite/21_strings/capacity.cc: Add operators.
7019 * bits/string.tcc (string::compare): Clean up, re-implement.
7020 * testsuite/21_strings/compare.cc: Tweak.
7022 * bits/string.tcc (string:_M_mutate): Keep leaked value in
7023 _M_state, which means that whenever begin() or end() has been
7024 called, the string is unshareable, period. By doing this, insert
7025 and erase member functions that return iterators can remain
7026 footloose and fancy free.
7027 * testsuite/21_strings/invariants.cc: Update.
7029 * bits/basic_string.h (string::append): Fix self-referential
7030 problems, ie when "this" is also an argument to a member function.
7031 * bits/string.tcc: Tweak, same.
7032 * testsuite/21_strings/append.cc: New file.
7034 1999-07-07 Benjamin Kosnik <bkoz@cygnus.com>
7036 * bits/char_traits.h: Tweaks.
7037 * bits/basic_string.h: Tweak.
7038 * bits/fstream.tcc: Remove warning for _M_buf_size assignment.
7040 1999-07-06 Benjamin Kosnik <bkoz@cygnus.com>
7042 * bits/std_streambuf.h: Absorb/acquire data members previously
7043 working in basic_filebuf.
7044 * bits/streambuf.tcc: Tweaks.
7045 * bits/fstream.tcc: Adjust.
7046 * bits/std_fstream.h: Move and rename the following functions:
7047 _M_set_ideterminate, _M_is_indeterminate, _M_set_determinate are
7048 now declared and defined in the base class, basic_streambuf. Oh
7049 fuck it, move data members _M_buf, and _M_buf_size into
7050 basic_streambuf as well.
7052 * bits/ostream.tcc: Tweak.
7053 * bits/locale_facets.tcc: Fix typo in comments.
7055 * testsuite/21_strings/inserters_extractors.cc (test01): Change
7056 state from good to not good, as eof() is set.
7058 1999-07-05 Benjamin Kosnik <bkoz@cygnus.com>
7060 * bits/char_traits.h (char_traits::compare). Fix.
7062 * config.guess, config.sub: Update.
7064 1999-07-02 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7066 * bits/string.tcc: Check the __res_arg for a length error.
7068 1999-07-01 Benjamin Kosnik <bkoz@nabi.net>
7070 * bits/std_streambuf.h: Tweaks. Need to move _M_is_indeterminate
7071 and related functions into basic_streambuf, from basic_filebuf to
7072 take care of ostringstreams and empty strings. So that's groovy,
7074 * bits/std_istream.h: Tweaks.
7075 * bits/istream.tcc: Implement ws, getline, operator>> for string.
7076 * bits/std_ostream.h: And here.
7077 * bits/ostream.tcc: Same.
7078 * src/misc-inst.cc: Add instantiations for ws.
7080 * src/string-inst.cc: Add instantiations for inserters and
7081 extractors (operators << and >>, getline).
7083 * testsuite/21_strings/inserters_extractors.cc: Amazingly enough,
7084 a testcase for getline and operators << and >>. Ostream tests are
7085 failing right now, but istream tests should work. . .
7087 * bits/string.tcc: Change _S_max_size, as GNU malloc won't budge.
7088 * bits/std_sstream.h: Revert.
7090 * testsuite/17_intro: header_[iosfwd, ios, iostream, iomanip,
7091 istream, ostream, streambuf, fstream, sstream].cc: New files.
7093 1999-06-30 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7095 * bits/std_sstream.h (stringbuf::sync): Don't use string::begin()
7098 * bits/basic_string.h (basic_string<>::_S_copy_chars): Add
7099 specializations for _CharT*, iterator and const_iterator.
7100 * src/string-inst.cc: Remove explicit instantiation, as
7101 now explicitly specialized.
7103 * bits/basic_string.h: Add a size_type parameter to _M_clone with
7104 a default value set to 0.
7105 * bits/string.tcc: In _M_clone by the call of _S_create add the
7106 value of the new parameter to _M_length. In reserve check
7107 _M_state and use _M_clone instead of _M_mutate.
7109 1999-06-30 Benjamin Kosnik <bkoz@happy.cygnus.com>
7111 * bits/basic_string.h: Fix _S_max_size.
7112 * bits/string.tcc: Add def here.
7113 * testsuite/21_strings/insert.cc: Fix.
7115 * bits/sbuf_iter.h: Remove detritus.
7116 * testsuite/24_iterators/istreambuf_iterator.cc: Add tests.
7118 * src/locale-inst.cc: Elaborate iterator/locale instantiations
7119 to resolve alpha-osf4 build problems.
7121 1999-06-29 Benjamin Kosnik <bkoz@happy.cygnus.com>
7123 * bits/string.tcc: Fix signed/unsigned issues in compares.
7124 * stl/bits/stl_deque.h: And here.
7125 * stl/bits/stl_string_fwd.h: Remove __get_c_string.
7127 1999-06-29 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7129 * bits/string.tcc: New implementation and interface of _M_mutate.
7130 Adapt the change in all functions that call _M_mutate.
7131 * bits/basic_string.h: And here.
7133 1999-06-29 Benjamin Kosnik <bkoz@happy.cygnus.com>
7135 * testsuite/21_strings/capacity.cc (test01): Fix.
7137 1999-06-29 Phil Edwards <pedwards@ball.com>
7139 * mknumeric_limits: Exit script if gen-num-limits isn't built.
7141 1999-06-29 Andreas Gruenbacher <agruenba@pent224.infosys.tuwien.ac.at>
7143 * stl/bits/stl_vector.h: Fix.
7144 * testsuite/23_containers/vector_cons.cc: Add.
7146 1999-06-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7148 * mknumeric_limits (LDFLAGS): fix.
7150 1999-06-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7152 * mknumeric_limits (LDFLAGS): set it according to the system.
7154 * math/mathconf.h (NAN): Check whether host is running under
7155 Cygwin and make the appropriate definition.
7156 * math/complex-stub.h (nan): protect declaration.
7158 1999-06-28 Benjamin Kosnik <bkoz@haight.constant.com>
7160 * bits/sbuf_iter.h: Rename internal data structure to prevent
7161 confusion between basic_ios and istreambuf_iterators internal
7162 basic_streambuf data member.
7163 * testsuite/24_iterators/istreambuf_iterator.cc: New file.
7165 * bits/basic_string.h: Remove conditionals, add input_iterator
7166 version of S_construct again.
7167 * bits/string.tcc: Same.
7168 * src/string-inst.cc: And add explicit instantiation here.
7170 * src/gen-c++config.cc (_GNU_SOURCE): Take out both _GNU_SOURCE
7171 and __USE_GNU macro defines, as single __USE_GNU use leading to
7172 confusion on glibc2.1 systems (ie, RedHat 6.0).
7174 * src/Makefile.am (headers): Add std_utility to installed headers.
7176 1999-06-25 John Potter <jpotter@eagle.lhup.edu>
7178 * stl/bits/stl_tree.h (insert_unique): Revert, just fix insert_equal.
7180 1999-06-25 Gilles Zunino <Gilles.Zunino@hei.fr>
7182 * mknumeric_limits (LDFLAGS): Swap -lc and -lgcc.
7184 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7186 * src/gen-c++config.cc (_GLIBCPP_*): Change all
7187 macros to include _GLIBCPP as a distinct namespace.
7191 * stl/bits/std_stdexcept.h: Forward-declare __Named_exception ctor.
7192 * bits/basic_string.h: Remove __get_c_string.
7193 * src/stdexcept.cc: Define ctor here.
7194 * bits/ios_base.h: And fix ios_base::failure as well.
7195 * src/ios.cc: Define here.
7197 * bits/std_streambuf.h: Add a private copy ctor and assignment
7198 operator wrapped in _G_RESOLVE_LIB_DEFECTS.
7199 * bits/ios_base.h: And here too.
7201 * bits/basic_string.h: Tweak.
7202 * testsuite/21_strings/nonmember.cc: Add operator+ tests.
7204 * src/valarray.cc: Rename to. . .
7205 * src/valarray-inst.cc: This.
7206 * src/Makefile.am (sources): Change here.
7207 * src/Makefile.in: Regenerated.
7209 1999-06-24 Vadim Egorov <egorovv@1c.ru>
7211 * bits/string.tcc(basic_string<>::_Rep::_S_create): Fixed
7214 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7215 Tom Tromey <tromey@cygnus.com>
7217 * configure.in (use_glibc2): Eek, correct for non-glibc systems.
7218 Use AM_CONDITIONAL to get us out of this jam. .
7219 * libio/Makefile.am: Same.
7220 * */Makefile: Regenerated.
7222 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7223 John Potter <jpotter@eagle.lhup.edu>
7225 * stl/bits/stl_tree.h (insert_equal): Fix.
7226 * testsuite/23_containers/multiset.cc: New file.
7228 1999-06-23 Benjamin Kosnik <bkoz@cygnus.com>
7230 * configure.in (test for glibc2): Correct AC_TRY_COMPILE so that
7231 this works correctly on glibc-2 systems. This should allow
7232 simplified linking on these systems, and successful linking on Red
7234 * configure, Makefile: Regenerate.
7236 * bits/std_cwctype.h: Add missing 'w' to _S_iswpunct_helper name.
7238 * testsuite/ext: New directory.
7239 * testsuite/ext/headers.cc: New file.
7241 1999-06-23 Vadim Egorov <egorovv@1c.ru>
7243 * stl/ext/hash_set: include missing headers
7244 * stl/ext/hash_map: Same
7245 * stl/ext/slist: Same
7247 1999-06-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7249 * bits/std_cmath.h: comment out modf. Kills build on hpux10.20
7251 1999-06-15 Benjamin Kosnik <bkoz@cygnus.com>
7253 * src/Makefile.am (sources): Regenerate.
7254 * mkcheck: Add TESTS_FILE as a way of controlling what testcases
7257 1999-06-14 Benjamin Kosnik <bkoz@cygnus.com>
7259 * src/string-inst.cc: Change _S_construct signature, to
7260 track requested allocation size versus valid input iterator range.
7261 * bits/basic_string.h: Here too.
7262 * bits/string.tcc: And here.
7264 1999-06-12 Benjamin Kosnik <bkoz@cygnus.com>
7266 * mkcheck (LOG_FILE): Correctly append errors.
7268 * stl/bits/stl_iterator.h: Revert previous, delirious, change.
7270 * bits/basic_string.h: Change _Rep::_M_data to _Rep::_M_refdata,
7271 to clarify differences between basic_string::_M_data() calls and
7272 _Rep::_M_data() calls.
7273 * bits/std_string.h: Fix.
7274 Put in check for out_of_range in substr.
7275 * bits/string.tcc: Fix for _S_find.
7277 * testsuite/21_strings/compare.cc: Add tests.
7278 * testsuite/21_strings/find.cc: New file.
7279 * testsuite/21_strings/substr: New file.
7280 * testsuite/21_strings/replace.cc: New file.
7282 1999-06-11 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7284 * bits/valarray_array.h: __restrict__ify pointers.
7286 * bits/std_valarray.h: Tweak.
7287 (valarray<T>::cshift, valarray<T>::shift): use __builtin_alloca.
7289 * bits/gslice_array.h: Tweak. Reflect changes in bits/gslice.h
7291 * bits/gslice.h: Tweak.
7292 (class gslice::_Indexer): new class.
7293 (gslice::gslice(const gslice&)): implement copy-ctor to support
7295 (gslice::operator=(const gslice&)): support ref-counted index.
7296 (gslice::_M_convert_to_index): delete.
7298 * src/valarray.cc: New file.
7299 (__gslice_to_index): turn a gslice into a valarray<size_t>
7300 (ctor gslice::_Indexer::_Indexer): implement.
7302 * src/Makefile.am (sources): add valarray.cc
7303 * src/Makefile.in: regenerate.
7305 1999-06-08 Benjamin Kosnik <bkoz@cygnus.com>
7307 * stl/bits/stl_iterator.h (__normal_iterator::const_iterator
7308 ctor): Put in a const_cast.
7310 * testsuite/21_strings/invariants.cc: New file.
7312 * testsuite/21_strings/insert.cc: Add exception handling bits.
7313 * testsuite/21_strings/ctor_copy_dtor.cc: Same.
7315 * src/wstring-inst.cc: Add c++config.h include.
7317 * bits/basic_string.h: Fix const operator[] for size == pos.
7318 Add _M_leak for rbegin, non-const.
7319 Add _M_leak for rend, non-const.
7320 Make member function at standards conformant.
7321 Add _S_terminal to _Rep for operator[] const, add this into
7323 * bits/string.tcc: Add static member definition here,
7326 * testsuite/21_strings/element_access.cc: Add tests.
7328 1999-06-08 Vadim Egorov <egorovv@1c.ru>
7330 * bits/fstream.tcc (_M_really_overflow): Fixed size of
7333 1999-06-08 Phil Edwards <pedwards@ball.com>
7335 * bits/fstream.tcc (basic_filebuf::xsputn): Fix off-by-one count
7336 caused when __testinit is true.
7337 * bits/ostream.tcc (basic_ostream::op<<(streambuf*)): Write buffer
7338 using rdbuf()->sputn rather than _M_fnumput->put.
7340 1999-06-08 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7342 * testsuite/23_containers/bitset_ctor.cc: New file.
7343 * stl/bits/std_bitset.h (__BITSET_WORDS): Fix integration bug.
7345 1999-06-08 Phil Edwards <pedwards@ball.com>
7347 * bits/fstream.tcc (basic_filebuf::underflow): Fix, rename local vars.
7349 1999-06-07 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7351 * testsuite/21_strings/element_access.cc: Finish off these tests.
7352 * testsuite/21_strings/insert.cc (test01): Uncomment.
7353 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Finish off ctors.
7354 * bits/basic_string.h: Tweak, okay, fix for real this time.
7355 * bits/string.tcc: Same.
7356 * bits/char_traits.h: Tweak.
7358 1999-06-07 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7360 * bits/std_cmath.h: Example of how to use the generated macro.
7361 * acconfig.h: Add macro for sinf here.
7362 * configure.in (LIBS): Add test for builtin math function sinf.
7363 * configure: Regenerated.
7365 * bits/basic_string.h: Fix _S_max_size.
7367 1999-06-06 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7369 * bits/basic_string.h: Fixes for out-of-memory segv for large strings.
7370 Remove _S_construct signature for forward_iterator_tag and
7373 * src/string-inst.cc: Same, tweaks.
7374 * bits/string.tcc: Same, tweaks.
7376 * testsuite/21_strings/ctor_copy_dtor.cc: Add/clarify tests.
7377 * mkcheck (LOG_FILE): Fix filebuf-[2,3].tst checks.
7378 * mknumeric_limits (LD_FLAGS): Add -nodefaultlibs -lc -lgcc as per
7381 * src/locale.cc: Final separation for char/wchar_t bits.
7383 1999-06-05 Phil Edwards <pedwards@ball.com>
7385 * docs/index.html: Added link to book upon request'n'agreement.
7386 * docs/23_containers/wrappers_h.txt: Added.
7387 * docs/{23_containers,27_io}/howto.html: Added sections.
7389 * bits/std_fstream.h: Tweak.
7391 1999-06-05 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7393 * src/ios.cc: Same here.
7394 * bits/std_iosfwd.h: More wchar_t defines.
7396 * bits/basic_string.h: Tweaks.
7397 * bits/string.tcc: Tweak. Fix _S_construct to check for max_size
7398 when doing error checking, as per LWG defect #83.
7400 * src/gen-c++config.cc: Fix comment.
7402 * testsuite/21_strings/ctor_copy_dtor.cc: New file, checks ctors,
7404 * testsuite/21_strings/element_access.cc: New file, checks for
7405 operator[], at(...).
7406 * testsuite/21_strings/insert.cc: New file, tests string::insert.
7407 * testsuite/21_strings/char_traits.cc: New file, tests
7408 for char_traits<char>.
7410 * bits/utility.h: Remove, again.
7411 * src/Makefile.am (std_headers): Remove utility.h.
7412 * src/Makefile.in (std_headers): Regenerate.
7414 Alfred Minarik <a8601248@unet.univie.ac.at>
7415 * bits/basic_string.h: Move __out_of_range and __length_error into
7418 1999-06-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7420 * testsuite/26_numerics/modf_float.cc: New file.
7422 * bits/std_cmath.h (modf(float, float*)): Fix signature. Correct
7423 typo: use ::modff, not ::modf.
7425 1999-06-03 Vadim Egorov <egorovv@1c.ru>
7427 * bits/string.tcc (basic_string::_M_mutate): Fixed memory
7429 * testsuite/21_strings/capacity.cc (test01): Test.
7431 1999-06-03 Phil Edwards <pedwards@ball.com>
7433 * bits/fstream.tcc: Re-order inits to stop warnings. Comment/move
7434 unused variables to within #if 0 blocks to do the same.
7435 * bits/std_fstream.h: Fix typos (one prevents compilation).
7437 1999-06-03 Benjamin Kosnik <bkoz@pacifica.cygnus.com>
7439 * src/wstring-inst.cc: Fix.
7441 1999-06-02 Benjamin Kosnik <bkoz@madcow.cygnus.com>
7443 * bits/char_traits.h: Add _G_USE_WCHAR_T macro guards.
7444 * stl/bits/stl_string_fwd.h: Same.
7445 * bits/locale_facets.h: Same.
7446 * bits/locale_facets.tcc: Same.
7447 * src/wstring-inst.cc: And here.
7449 * src/gen-c++config.cc: Comment _G_USE_WCHAR_T. Leading to
7450 problems on HPUX 10.20.
7451 * your-build-directory-here/bits/c++config.h: Just kidding, do it
7452 here as a temporary hack till the compiler/host problems get
7455 * bits/locale_facets.tcc (num_get::do_get): Change from ifdef
7456 HAVE_STRTOLD to HAVE_STRTOLD && !(__hpux). Apparently, problems
7457 converting "long double" to struct long_double. Probably should be
7458 done with one macro (HAVE_STRTOLD) at configure time.
7460 * bits/std_cmath.h: Comment out pow(double, int) defintion as
7461 gives re-declaration under hpux10.20. Revert previous change, as
7462 kills linux/x86, solaris 2.7, hpux builds. These should be done
7463 using autoconf, see std_cctype.h and the solutions started in
7464 configure.in (see config.h for the generated file.)
7466 * mknumeric_limits (LDFLAGS): Remove '-nodefaultlibs -lc', as
7467 -nodefaultlibs prevents linking under HPUX 10.20 as __main is not
7470 * docs/index.html: Add some useful links.
7471 * docs/17_intro/contribute.html: Fix broken links.
7473 1999-06-02 Benjamin Kosnik <bkoz@rhino.cygnus.com>
7475 * mkcheck (LOG_FILE): Add !/bin/bash instead of cygnus-style
7476 paths. The rest of the world should be able to run this script
7479 * src/Makefile.am ($(generated_headers)): Remove comment.
7480 * Makefile*: Regenerate.
7482 * bits/std_locale.h: Remove detritus.
7483 * bits/localefwd.h: Add <cctype> include to undefine the isspace
7486 1999-06-01 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7488 * src/gen-c++config.cc: New file. Making c++config.h at configure
7489 time by catting this file (nee bits/config.h) with the build
7490 directories config.h. This is not a complete or perfect solution
7491 but is better than what was in place previously.
7492 * bits/c++config.h: Rename/move to above.
7493 * src/Makefile.am (headers): Remove c++config.h.
7494 (myinstallheaders). Add.
7495 * Makefile*: Regenerated.
7497 * bits/std_cwchar.h: Add include of c++config.h for HAVE_*
7498 definitions, so that wmemcmp, wcslen, wmemchr, etc are properly
7499 declared only if not present in the host's wchar.h.
7501 * bits/locale_facets.tcc (std): Change _G_USE_STRTO* to HAVE_STRTO*.
7503 * bits/std_cmath.h: Define out, for the moment. Linux has no
7504 __buitin_fsqrtl? Probably need some kind of configure trickery
7507 * src/Makefile.*: Regenerate.
7508 * bits/c++config.h: Add config.h include.
7510 * bits/std_cwchar.h: Remove remaining #error guard.
7512 * acconfig.h: Add bits for HAVE_LC_MESSAGES.
7514 * configure.in (LIBS): Replace previous effort for mbstate_t and
7515 strtold/strtof with this implementation.
7517 1999 06-01 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7519 * bits/std_cmath.h: Tweak. Add more functions. Use __builtin_xxx
7522 1999-05-28 Benjamin Kosnik <bkoz@cygnus.com>
7524 * bits/locale_facets.tcc (std): Eek: this left in. Autoconf bits
7525 for determining mbstate_t differences across various hosts not
7528 1999-05-26 Benjamin Kosnik <bkoz@nabi.net>
7530 * bits/locale_facets.tcc: Change to ifdef.
7532 * bits/std_sstream.h (stringbuf::setbuf): Remove dynamic_cast.
7533 * bits/std_fstream.h (filebuf::setbuf): Same.
7535 * bits/std_istream.h: Add ws declaration.
7536 * bits/istream.tcc: Stub out definition.
7538 * docs/index.html: Fix broken link for design.txt.
7540 * configure.in: Test for mbstate_t. If wchar.h doesn't have it,
7541 then set _G_NEED_MBSTATE_T.
7542 * configure: Regenerate.
7543 * bits/c++config.h: Move mbstate_t define.
7544 * bits/std_cwchar.h: To here.
7546 1999-05-25 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7548 * bits/std_sstream.h:
7549 basic_stringbuf<>::basic_stringbuf: fix.
7550 basic_stringbuf<>::setbuf:
7551 remove the temporary __string_type object,
7552 remove the unnecessary dynymic_cast in the return value,
7553 change the type of the returned value from __streambuf_type*
7554 to basic_stringbuf<_CharT, _Traits, _Alloc>*.
7556 1999-05-25 Phil Edwards <pedwards@ball.com>
7558 * bits/std_streambuf.h (streambuf::setbuf): Always return streambuf*.
7560 1999-04-25 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7562 * bits/std_cmath.h: Tweak. Add float versions of the math functions
7563 in <math.h>. <cmath> still incomplete and incorrekt.
7565 1999-05-24 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7567 * mknumeric_limits (LDFLAGS): set appropriate link flags.
7569 1999-05-23 Phil Edwards <pedwards@ball.com>
7571 * docs/17_intro/howto.html: Added links to text docs,
7573 * docs/21_strings/howto.html: Updated sections and links.
7574 * docs/21_strings/{gotw29a.txt,stringtok_h.txt}: Added.
7575 * docs/faq/index.html: Updated what-works for sixth
7576 snapshot. Also a number of "internal" links have been
7577 fixed, now that the web pages are the docs directory...
7578 * docs/faq/index.txt: Regenerated.
7580 1999-05-21 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7582 * bits/basic_string.h: Add Nathan's documentation on the string class.
7584 * testsuite/27_io/ios_members_static.cc: New file, for testing
7585 ios_base::sync_with_stdio.
7587 1999-05-21 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7589 * bits/std_locale.h: Simplify includes.
7590 * bits/loccore.h: Delete.
7591 * bits/localefwd.h: Renamed, trimmed.
7592 * bits/locfacets.h: Delete.
7593 * bits/locale_facets.h: Rename, expanded.
7594 * bits/loccore.tcc: Deleted.
7595 * bits/locfacets.tcc: Deleted.
7596 * bits/locale_facets.tcc: Resultant merge.
7597 * bits/std_fstream.h: Modify include.
7598 * bits/ostream.tcc: Same.
7599 * bits/istream.tcc: Same.
7601 * src/locale-inst.cc: And here.
7602 * src/locale.cc: Ditto.
7603 * src/Makefile.am: Updated.
7604 * src/Makefile.in: Rengenerated.
7606 * bits/std_istream.h: Move istream::sentry ctor definition.
7607 * bits/istream.tcc: Move istream::sentry ctor here.
7608 Add more detailed locale include here for ctype member functions.
7609 * bits/ostream.tcc (std): And here.
7611 * bits/sbuf_iter.h: Include std_streambuf.h
7613 * bits/locfacets.h: Start separating this into a localeimp.h file.
7614 * bits/loccore.h: Start separating this into a localefwd.h file.
7615 Add std_climits for CHAR_BIT.
7617 * bits/ios_base.h (ios_base::sync_with_stdio): Stub in.
7619 * bits/char_traits.h: Tweak.
7621 * bits/ios_base.h: Remove INT_MAX, use 1<<16.
7623 * bits/std_ostream.h: Remove c++config.h include.
7624 * bits/std_istream.h: Same.
7625 * bits/std_streambuf.h: Same.
7626 * bits/std_fstream.h: Same.
7627 * bits/std_sstream.h: And here.
7629 * bits/std_iosfwd.h: Add _G_RESOLVE_LIB_DEFECTS here for streampos.
7630 * bits/char_traits.h: Add include of std_cwchar.h for mbstate_t.
7631 * bits/fpos.h: Tweak, format.
7633 * std/ciso646: New file.
7634 * bits/std_ciso646.h: New file.
7635 * src/Makefile.am (std_headers): Add ciso646.
7636 (headers): Add bits/std_ciso646.h.
7637 * src/Makefile.in: Regenerate.
7638 * testsuite/17_intro/header_ciso646.cc: New file, disable
7641 * bits/fpos.h: Remove libio.h include.
7642 * bits/basic_file.h: And here.
7643 * bits/std_ios.h: Put here.
7645 * src/ios.cc: Simplify includes, tweak.
7646 * bits/std_ios.h: Simplify include order.
7647 * bits/ios_base.h: Modify ios_base::failure.
7649 * stl/bits/std_numeric.h: Change include from stl_iterator to
7652 1999-05-19 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7654 * std/iostream: Remove static member __ioint.
7655 * bits/std_iostream.h: Put here.
7657 * stl/bits/std_numeric.h: Remove unneccessary std_iostream.h include.
7658 * stl/bits/stl_algobase.h: Same.
7659 * testsuite/27_io/iostream_objects.cc: Regression tests.
7660 * testsuite/27_io/hello.cc: Remove, subset of above.
7662 1999-05-19 Phil Edwards <pedwards@ball.com>
7664 * docs/index.html: Tweak, update.
7666 1999-05-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7668 * docs/17_intro/RELEASE-NOTES: remove outdated
7669 documentation about numeric_limits. Correct CXXINCLUDE setting
7672 1999-05-18 Phil Edwards <pedwards@ball.com>
7674 * docs/{17_intro,18_support,19_diagnostics,20_util,21_strings,
7675 22_locale,23_containers,24_iterators,25_algorithms,26_numerics,
7676 27_io}/howto.html: Created, with some initial entries.
7677 * docs/faq/index.html: Fixed some links.
7678 * docs/faq/index.txt: Regenerated.
7680 1999-05-18 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7682 * bits/c++config.h (__GLIBCPP__): Set version to 19990518.
7684 * docs/17_intro/RELEASE-NOTES: Update.
7685 * docs/index.html: Correct link to mailing list help page, update News.
7686 * docs/faq/index.html: Change fifth to sixth for snapshot.
7688 * src/Makefile.am (myinstallheaders): Bring over Gaby's changes to
7689 install $(top_builddir)/bits/std_limits.h into
7690 $(myincludepfx)/bits. This was mistakenly omitted from yesterday's
7691 Makefile.am changes.
7692 * *Makefile*: Regenerate using automake.
7694 * mkcheck (LOG_FILE): Fix filebuf directory oddness.
7695 * testsuite/27_io/filebuf.cc: Same.
7697 1999-05-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7699 * docs/17_intro/CHECKLIST: update.
7700 * docs/17_intro/TODO: update.
7702 1999-05-17 Phil Edwards <pedwards@ball.com>
7704 * docs/{17_intro,18_support,19_diagnostics,20_util,21_strings,
7705 22_locale,23_containers,24_iterators,25_algorithms,26_numerics,
7706 27_io}/howto.html: Created, with some initial entries.
7707 * docs/faq/index.html: Fixed some links.
7708 * docs/faq/index.txt: Regenerated.
7710 1999-05-17 Benjamin Kosnik <bkoz@unhappy.cygnus.com>
7712 * src/Makefile.am (myinstallheaders): Missed removing missing.h.
7713 * Makefile.in*: Regenerate.
7715 1999-05-17 Benjamin Kosnik <bkoz@happy.cygnus.com>
7717 * bits/std_streambuf.h: Same.
7719 * bits/loccore.h (_Bad_use_facet): Remove bits warned about.
7720 * bits/locfacets.h (std): Same.
7721 * bits/sstream.tcc: Same.
7722 * testsuite/27_io/stringstream.cc: Tweak.
7724 * testsuite/27_io/filebuf.cc: Adjust.
7725 * testsuite/21_strings/capacity.cc (test01): Add more
7726 string::reserve tests.
7728 * bits/c++config.h: Remove broken CCTYPE.
7729 * bits/std_cctype.h: Tweak, remove de-macroization, enable
7730 sequestered topper implementation.
7731 * bits/std_cwctype.h: Same.
7733 * bits/missing.h: Remove.
7734 * bits/std_locale.h: Remove missing.h include.
7736 * stl/bits/std_bitset.h (bitset::bitset(string): Tweak to compile.
7738 * src/Makefile.am (headers): Add bits/std_cwctype.h.
7739 INCLUDES: Add top_builddir.
7740 * src/Makefile.in: Regenerate.
7742 * Makefile.am: Add check and check-install as new targets.
7743 * testsuite/make_check_libfree++: Move to. . .
7745 * configure.in: Tweak versions.
7746 * mknumeric_limits: Set paths correctly.
7748 1999-05-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7750 * src/Makefile.in (myinstallheaders): add rule to install
7753 * bits/slice.h (class slice): don't const-qualify data members
7754 since the copy and assignment operator is implicitly used. The
7755 valarray specification is definitively a bad one.
7757 * Makefile.in (generate-limits-sources): fix typo.
7759 * docs/text/TODO: update.
7760 * docs/text/CHECKLIST: update.
7762 * bits/gslice.h (gslice): fix bugglet.
7763 (gslice::gslice): set _M_index_size to 0 whenever given lengths
7766 * src/Makefile.am (libstdc___la_SOURCES): add gen-num-limits.
7767 * src/Makefile.in (libstdc___la_SOURCES): keep in sync.
7768 [Note: **/Makefile.in should be generated from the corresponding
7769 Makefile.am. The current situation is a litte chaotic. ]
7771 1999-05-16 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7773 * mknumeric_limits: tweak.
7775 * Makefile.in (all): add target generate-limits-sources.
7776 (generate-limits-sources): make a directory bits/ in top_builddir
7777 where the generated std_limits.h is put; generate limitsMEMBERs.cc
7778 directly under $(top_builddir)/src. Remains to put the appropriate
7779 rule for installing std_limits.h.
7781 * src/Makefile.in (headers): remove bits/std_limits.h to this list.
7782 (INCLUDES): add -I$(top_builddir) for bits/std_limits.h which is
7783 now generated at build-time in the build directory
7784 (libstdc___la_SOURCES): remove limitsMEMBERS.cc form this list
7785 * src/Makefile.am: reflect changes in src/Makefile.in
7787 1999-05-12 Phil Edwards <pedwards@ball.com>
7789 * docs/faq/index.html: Add more entries (5.4,5.5), finish
7790 all but one empty entry. Add links for HOWTOs, but no files yet.
7791 (Corrected HOWTO links are for bkoz's new scheme.)
7792 * docs/faq/index.txt: Regenerated.
7794 1999-05-12 Benjamin Kosnik <bkoz@happy.cygnus.com>
7796 * testsuite/17_intro/headers.cc: New file.
7797 * stl/bits/std_queue.h: Change stl_bvector.h include path.
7798 * bits/std_cwctype.h: New file.
7800 * testsuite/27_io/filebuf.cc: Need to tweak directory structure.
7802 1999-05-11 Benjamin Kosnik <bkoz@loony.cygnus.com>
7804 * stl/bits/stl_config.h (__USE_MALLOC): Change underlying allocator.
7805 Check __USE_MALLOC before defining specializations containing
7806 __default_alloc_template.
7807 * src/stl-inst.cc: Here too.
7809 * bits/basic_string.h: Change.
7811 * testsuite/make_check_libfree++: More tweaks.
7812 * testsuite/21/capacity.cc: New file.
7814 * src/string.cc: Rename to be consistent with other inst files.
7815 Rename to string-inst.cc.
7816 * src/string*.cc: Change include.
7817 * src/wstring.cc: Rename to wstring-inst.cc.
7818 * src/wstring*.cc: Ditto.
7819 * src/Makefile.in: Also here.
7820 * src/Makefile.am: Ditto.
7822 * src/traits.cc: Remove.
7823 * src/wtraits.cc: Same.
7825 Try a new way of organizing documentation, one with synchronicity
7826 between testsuites and docs subdirectories, and see who yelps.
7827 * docs/html: Remove, use chapter and subject specific directories
7828 instead of forcing things immediately into format of
7832 * docs/faq/text, docs/faq/html: Remove, put in the docs/faq
7833 directory and sort by filename and extension.
7834 * docs/17_intro, 18_support, 19_diagnostics, 20_util, 21_strings,
7835 22_locale, 23_containers, 24_iterators, 25_algorithms,
7836 26_numerics, 27_io: Add.
7837 * docs/17_intro/*: Populate with all the text files. . .
7838 * docs/index.html: Construct.
7840 * testsuite/*: Update with same names as the docs subdir.
7841 * testsuite/results: Where to stash conformance results for the
7842 different snapshots, so that progress/size/speed issues can be
7845 1999-05-10 Benjamin Kosnik <bkoz@loony.cygnus.com>
7847 * src/string.cc: Add _S_copy_chars instantiation, as well as
7848 string::binary operators !=, ==, etc.
7850 * src/Makefile.am (CXXFLAGS): Remove -fvtable-thunks.
7851 * src/Makefile.in (CXXFLAGS): Same here.
7852 * testsuite/make_check_libfree++ (CXX_FLAG): And here.
7854 1999-05-07 Benjamin Kosnik <bkoz@cygnus.com>
7856 * src/string.cc: Add missing member functions to instantiation list.
7858 1999-05-07 Benjamin Kosnik <bkoz@cygnus.com>
7860 * src/misc-inst.cc: Remove unused string instantiations.
7862 * bits/string.tcc: Tweak, fix.
7863 * bits/basic_string.h: Format. Fix reported error with c_str().
7865 * testsuite/make_check_libfree++: Tweak for shared builds.
7866 * testsuite/21/operations.cc: New file for testing c_str() etc.
7868 1999-05-06 Benjamin Kosnik <bkoz@cygnus.com>
7869 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7871 * stl/bits/stl_vector.h: Fix the code of vector<> for usage with
7872 an iterator class. Delineate pointer versus iterator differences
7874 * 23/vector_capacity.cc: New file, tests for above.
7876 1999-05-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7878 * mknumeric_limits: Fix typo. 'unsigned lont' should read
7880 * src/Makefile.am (libstdc___la_SOURCES): add limitsMEMBERS.cc,
7881 generated by mknumeric_limits to the list. Now std_limits.h is
7883 * src/Makefile.in (generate-numeric-limits): new target to handle
7884 automatic generation of bits/std_limits.h and src/limitsMEMBERS.cc.
7885 (all): add target generate-numeric-limits.
7886 (libstdc___la_OBJECTS): add limitsMEMBERS.lo
7887 (libstdc___la_SOURCES): add limitsMEMBERS.cc
7889 1999-05-05 Benjamin Kosnik <bkoz@cygnus.com>
7892 * bits/c++config.h (_G_USE_CTYPE_ISBIT): Defines new macro for
7893 mask values in ctype_base. Move hacks for _ISBit to locfacets.h.
7894 * bits/locfacts.h: Here.
7896 1999-05-05 Benjamin Kosnik <bkoz@cygnus.com>
7897 Ulrich Drepper <drepper@cygnus.com>
7899 Solaris build issues.
7900 * bits/c++config.h: Define new macros, _G_USE_STRTOF and
7903 * bits/locfacets.tcc (num_get::do_get): Tweak long double and
7904 float overloads to use the above macros. Account for the lack of
7905 strtold on some systems, and revert back to using sscanf.
7907 1999-05-04 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7909 * bits/locfacets.tcc (num_get::do_get): Check the errno variable.
7910 Use strtoul/strtoull for unsigned types. Check the ranges for
7911 short/unsigned short and if necessary for int/unsigned int.
7913 1999-05-04 Benjamin Kosnik <bkoz@cygnus.com>
7915 * src/gen-num-limits.cc (round_style): Need to use mknumericlimits
7916 to generate bits/std_limits.h now, as the SGI std_limits.h is
7917 being depricated. Not done, but should be done immediately: need
7918 to make sure this script is run as part of the configuration
7919 process, because without it "make" in a configured build directory
7920 will fail. Also tweaked: added a space for float_round_style, and
7921 used static_cast of zero to default-initialize, which should be ok
7922 according to the standard. (see 8.5 p5 and 20.1.3).
7923 * mknumeric_limits (OUT_C): Need this for x86 long
7926 * bits/basic_file.h: Include libio.h, not libioP.h.
7927 * src/basic_file.cc: And add libioP.h include here, so that
7928 _IO_init, et. al are well-declared.
7930 * testsuite/make_check_libfree++ (LIB_PATH): Test installed
7931 headers, not source directory headers.
7933 * src/Makefile.am (headers): Add stl_range_errors.h, also adjust
7934 for ext/*. Also add basic_file.h.
7935 * src/Makefile.in (headers): Same.
7937 * bits/std_string.h: Reduce dependencies for faster
7938 pre-processing. Move istream and ostream specific defines into
7939 istream.tcc and ostream.tcc respectively.
7940 * bits/string.tcc: And here.
7941 * bits/basic_string.h: Move getline inline out-of-line, and to
7943 * bits/istream.tcc: Move string::getline and operator>> here.
7944 * bits/ostream.tcc: And here too.
7946 * bits/utility.h: Remove, as clashes with a standard header. Put
7947 __OUTOFRANGE and __LENGTHERROR macros into string.tcc for the time
7948 being, until this can be combined with SGI's approach.
7949 * bits/string.tcc: Add macros, as above.
7950 * bits/loccore.h: Add _Count_ones defines.
7951 * bits/std_string.h: And here too.
7952 * bits/std_locale.h: And here.
7953 * bits/std_ios.h: Take out include here.
7954 * src/Makefile.am (headers): Remove utility.h
7955 * src/Makefile.in (headers): Remove utility.h
7957 * stl/bits/*: Update to SGI STL 3.20.
7958 * stl/ext/pthread_alloc: Delete this file.
7960 1999-05-04 Phil Edwards <pedwards@ball.com>
7962 * docs/faq/html/index.html: Add more entries
7963 * docs/faq/html/index.txt: regenerated.
7965 1999-05-04 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7967 * src/gen-num-limits.cc (DO_DEFINE_MIN_MAX): fix typo.
7969 1999-04-29 Benjamin Kosnik <bkoz@haight.cygnus.com>
7971 * bits/locfacets.tcc (num_get::do_get): Re-implement, with input
7972 from Ulrich and Nathan. Remove extraneous string class usage,
7973 tweak, clean, simplify and consolidate with a eye towards removing
7974 duplcate code. Use strto[l, ll, f, d, ld] instead of sscanf.
7975 Not done: dealing with leading zeros, wchar_t work.
7976 * bits/locfacets.h: And here too.
7980 1999-04-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7983 * docs/faq/: New directory.
7984 * docs/faq/html/: Likewise.
7985 * docs/faq/text/: Likewise.
7986 * docs/faq/html/index.html: New file.
7987 * docs/faq/html/index.txt: Likewise. Generated from
7988 docs/faq/html/index.html by lynx.
7990 1999-04-28 Benjamin Kosnik <bkoz@happy.cygnus.com>
7991 Ryszard Kabatek and Branko Cibej
7993 * bits/locfacets.tcc: Modify.
7995 1999-04-27 Benjamin Kosnik <bkoz@happy.cygnus.com>
7997 * bits/sbuf_iter.h: Clean, fix istreambuf_iterator, make
7998 conformant to 14882, wrap non-standard extensions with
7999 _G_RESOLVE_LIB_DEFECTS, remove detritus and cruft, rennovate.
8000 * bits/locfacets.tcc (num_get::do_get(bool)): Return correct iterator.
8002 * testsuite/27/istringstream_formatted.cc: Add tests.
8004 * bits/locfacets.h: Remove cruft from _Format_cache, continue
8005 commenting, simplify.
8006 * bits/locfacets.tcc: Same.
8008 1999-04-27 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8009 * bits/locfacets.tcc (num_get::do_get):
8010 Fix the sscanf format parameter
8011 for long long 'll' (as in C9X) instead of 'l'.
8012 Fix the order of sscanf format parameters: "%dl" --> "%ld".
8013 Change the type of the local variable '__conv' from 'string'
8014 to 'const char*' and adapt the change.
8016 1999-04-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
8018 * bits/locfacets.h: Document _Format_cache, and name data members
8019 after the corresponding functions in numpunct. For instance:
8020 _M_grsep -> _M_thousands_sep, and _M_decsep -> _M_decimal_point.
8021 Break apart _M_boolnames{2] into _M_truename and _M_falsename.
8022 * bits/locfacets.tcc: Same.
8024 * bits/locfacets.h (num_get::_M_extract): Don't allow groupings to
8025 stop parsing--store for later analysis.
8026 * testsuite/27/istringstream_formatted.cc: Add cases.
8028 1999-04-25 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
8030 * bits/valarray_meta.h: tweak.
8031 (_UnFunBase, _BinFunBase, _BinFunBase1, _BinFunBase2, _BinBase1,
8032 _BinFunBase2): rename typedef-name _Tp to _Vt to keep the compiler
8033 happy -- boggus warning.
8034 * bits/std_valarray.h: Fix.
8035 (valarray<T>::shift): Fix. Update comment.
8036 (valarray<T>::cshift): Fix.
8038 1999-04-23 Benjamin Kosnik <bkoz@cygnus.com>
8040 * testsuite/27filebuf-2.txt: Delete.
8041 * testsuite/27/filebuf.cc: Put output files directly into the
8042 correct subdirectory (27).
8044 Alexandre Petit-Bianco <apbianco@cygnus.com>
8045 * testsuite/make_check_libfree++: Check generated (*.txt) file
8046 against stored results file (*.tst).
8048 1999-04-22 Benjamin Kosnik <bkoz@nabi.net>
8050 * bits/locfacets.tcc: Fix.
8052 * bits/fstream.tcc (filebuf::seekoff): Output current out pointer.
8053 (filebuf::overflow): Simplify.
8054 (filebuf::xsputn): Correctly handle indeterminate state.
8056 * testsuite/27/istringstream_formatted.cc: Tweak.
8057 * testsuite/27/filebuf.cc: Tweak.
8058 * testsuite/27/filebuf-3.tst: Correct: this is the canonical
8059 results file, please use this in the future to guarantee filebuf
8060 positioning accuracy.
8061 * testsuite/27/filebuf-2.tst: Same.
8063 1999-04-21 Benjamin Kosnik <bkoz@cygnus.com>
8065 * bits/fstream.tcc (filebuf::xsputn): Add.
8066 * bits/std_fstream.h: Declare.
8068 * src/basic_file.cc (__basic_file::open): Add O_CREAT to open
8069 calls using ios_base::trunc.
8071 * bits/sstream.tcc (streambuf::overflow): Fix crasher.
8073 * testsuite/make_check_libfree++ (LOG_FILE): Ugh. Another fix.
8074 * testsuite/27/27stringstream.cc: Same.
8075 * testsuite/27/27stringbuf.cc: More tweaks.
8076 * testsuite/27/27filebuf-2.txt: Remove.
8078 * testsuite/27/27filebuf-1.tst: Append, to force byte size over
8079 BUFSIZE so that overflows/underflow can be tested with default
8081 * testsuite/27/27filebuf-1.tst: Add.
8083 * testsuite/*/*: Remove pre-pended chapter names, as they
8084 duplicate the chapter info contained in the enclosing directory
8087 1999-04-20 Benjamin Kosnik <bkoz@cygnus.com>
8089 * bits/streambuf.tcc (streambuf::xsputn): Re-implement to conform
8090 to sputc conditions.
8092 * bits/ios_base.h: Define here.
8093 * src/ios.cc (ios_base::_M_clear): Remove hack.
8094 * bits/basic_ios.h: Fix rdstate().
8096 * bits/sstream.tcc (streambuf::seekoff): Fix.
8097 * bits/fstream.tcc (filebuf::seekoff): Tweak comments.
8099 * testsuite/make_check_libfree++ (LOG_FILE): More c-c-c-changes.
8100 * testsuite/24/24iterator.cc: Add/Fixes for DEBUG_ASSERT.
8101 * testsuite/27/27stringstream.cc: Same.
8102 * testsuite/27/27stringbuf.cc: Same.
8103 * testsuite/27/27istringstream_formatted.cc: Same.
8104 * testsuite/27/27filebuf.cc: Same.
8106 * bits/locfacets.h: Remove specializations for messages<char> and
8107 messages<wchar_t> ctors. Same for moneypunct. Not required, not used.
8108 * src/locale.cc: Remove definitions for above.
8109 * src/misc-inst.cc: Revert, take out iomanip.h include.
8110 * bits/std_iomanip.h: Tweak, format.
8112 1999-04-19 Benjamin Kosnik <bkoz@cygnus.com>
8114 * bits/loccore.h: Format, move inline.
8115 * bits/locfacets.tcc: Same.
8116 * bits/locfacets.h: Same.
8118 Ulrich Drepper <drepper@cygnus.com>
8119 * aclocal.m4: Re-generate.
8120 * configure, configure.in: Same.
8121 * m4/lc_messages.m4: New file.
8123 1999-04-18 Benjamin Kosnik <bkoz@cygnus.com>
8125 * bits/std_ostream.h: Fix typedef for wchar_t instantiations.
8126 * bits/sstream.tcc: Tweak.
8128 * std/iostream: Put __ioinit inside macro guards.
8130 * src/stlinst.cc: Delete and move to . . .
8131 * src/stl-inst.cc: New file, plus wrapping in namespace std.
8132 * src/Makefile.in: Change.
8133 * src/Makefile.am: Same.
8134 * src/misc-inst.cc: Add istringstream/ostringstream instantiations.
8136 * testsuite/make_check_libfree++: Efficiently format for minimal
8137 space. Enforce stricter execution tests by enabling
8140 1999-04-16 Benjamin Kosnik <bkoz@cygnus.com>
8142 * docs/text/RELEASE-NOTES: Fix include typo.
8144 * src/Makefile.am (headers): Add istream.tcc.
8145 * src/Makefile.in (headers): Add istream.tcc.
8147 * ltconfig, ltmain.sh, libtool: Update to libtool-1.2g.
8149 1999-04-16 Benjamin Kosnik <bkoz@cygnus.com>
8151 * bits/locfacets.tcc (num_get::do_get(long)): Finish roughing in.
8152 * bits/locfacets.h (num_get::_M_extract): New functin:
8153 consolidate logic for do_get(...) members.
8155 * bits/sbuf_iter.h (istreambuf_iterator::operator++()): Fix.
8156 * testsuite/27/27istringstream_formatted.cc: Add.
8158 1999-04-16 Martin v. Loewis <martin@mira.isdn.cs.tu-berlin.de>
8160 * src/basic_file.cc (__basic_file::open): Fix thinko in
8161 _G_HAVE_IO_FILE_OPEN bits.
8162 * bits/std_istream.h (sentry::sentry(istream, bool)): Fix isspace bug.
8163 * bits/std_cmath.h: Add stdlib.h include for ldiv_t.
8164 * src/complex.cc (FCT): Qualify all functions with global namespace.
8165 * src/locale.cc: Don't qualify memcpy and setlocale.
8166 * src/stdexcept.cc (__out_of_range): Qualify out_of_range with std::.
8167 (__length_error): Likewise, for length_error.
8168 * src/stlinst.cc: Qualify instantiations with std::.
8170 1999-04-15 Benjamin Kosnik <bkoz@cygnus.com>
8172 * C++STYLE: Add ChangeLog guidelines for member functions.
8175 * BADNAMES, BUGS, C++STYLE, CHECKLIST, COPYING,
8176 DESIGN, HEADER_POLICY, PROBLEMS, RELEASE-NOTES, TODO: Moved into
8177 docs/text and made less strident.
8179 * bits/fstream.tcc: Change non-standard ctor to match Sun's sematics.
8180 * bits/std_fstream.h: Same.
8183 * bits/locfacets.h: Touch.
8185 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
8187 * math/cexp.c (cexp): Use NAN instead of nan("").
8188 Reported by joel reed <joelreed@yahoo.com>.
8190 * libio/libioP.h: Define _IO_seek_fpos_t and _IO_seek_off_t based on
8191 _G_IO_IO_FILE_VERSION. Use these types in the prototypes.
8192 * libio/fileops.c: Use _IO_seek_fpos_t and _IO_seek_off_t types
8193 instead of #if cascades.
8194 * libio/genops.c: Likewise.
8195 * libio/ioseekoff.c: Likewise.
8196 * libio/ioseekpos.c: Likewise.
8197 * libio/strops.c: Likewise.
8198 Patch by Chip Salzenberg <chip@perlsupport.com>.
8200 1999-04-15 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
8202 * docs: New directory.
8203 * docs/html: Likewise.
8204 * docs/text: Likewise.
8205 * docs/image: Likewise.
8207 * bits/std_cmath.h: Add new functions.
8208 (abs): overload for long and double.
8209 (div): overload for long.
8211 * bits/valarray_array.h: Fix.
8212 * bits/gslice.h: Adjust friend.
8213 * bits/slice_array.h: likewise.
8214 * bits/valarray_meta.h: likewise.
8216 1999-04-13 Benjamin Kosnik <bkoz@tintin.cygnus.com>
8218 * bits/locfacets.h: More changes, for num_get for insertion
8219 operators for integral types. Comment fields in _Format_cache.
8220 * bits/locfacets.tcc: And here too: add preliminary long version.
8221 * testsuite/27/27istringstream_formatted.cc: Add cases.
8223 1999-04-13 Mark Elbrecht <snowball3@usa.net>
8225 * configure.in: Add locale.h to AC_CHECK_HEADERS argument. Call
8226 AC_LC_MESSAGES macro.
8227 * aclocal.m4 (AC_LC_MESSAGES): New. Determines if a target
8228 supports LC_MESSAGES.
8229 * config.h.in: Add entry for HAVE_LC_MESSAGES.
8230 * src/locale.cc (locale::_S_normalize_category): Use the
8231 HAVE_LC_MESSAGES macro to check for LC_MESSAGES support instead of
8232 _G_NO_CLOCALE_HAS_MESSAGES.
8233 * aclocal.m4 (AM_PROG_LD): For DOS style paths, simplify test to
8234 '?:' from '?:\\' so any path beginning with a drive name matches.
8236 1999-04-12 Mark Elbrecht <snowball3@usa.net>
8238 * src/basic_file.cc(sys_open) [O_BINARY]: Declare __testb.
8240 1999-04-12 Benjamin Kosnik <bkoz@tintin.cygnus.com>
8242 * bits/locfacets.h: Tweak.
8243 * bits/locfacets.tcc(do_get): Clean/fix bool method.
8245 * testsuite/21/21nonmember.cc: Same.
8246 * testsuite/21/21compare.cc: Fix license.
8247 * testsuite/27/27istringstream_formatted.cc: New file.
8249 1999-04-12 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
8251 * bits/valarray_meta.h: _BinFunBase1, _BinFunBase2, _BinBase1,
8252 _BinBase2: new template classes; put in there to work around a
8253 compiler limitation. The whole valarray architecture is now
8256 1999-04-08 Benjamin Kosnik <bkoz@haight.constant.com>
8258 * bits/locfacets.tcc: Fix, format.
8259 * bits/locfacets.h: Fix.
8260 * src/locale.cc: Same, plus format.
8262 * bits/basic_string.h: Re-add definition here.
8263 * src/string.cc: Take out.
8265 1999-04-08 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
8267 * bits/std_valarray.h: tweak.
8268 * bits/valarray_array.h tweak. use _Expr.
8269 * bits/slice_array.h: likewise.
8270 * bits/gslice_array.h: likewise.
8271 * bits/mask_array.h: likewise.
8272 * bits/indirect_array.h: likewise.
8273 * bits/valarray_meta.h: tweak.
8274 _UnFunBase, _UnFunClos, _BinFunBase, _FunBase, _ValFunClos,
8275 _RefFunClos, _UnBase, _UnClos, _BinBase, _BinClos, _SClos, _GClos,
8276 _IClos: new template classes.
8277 _Meta: renamed to _Expr. Made template with args.
8278 _Constant: made template with two args.
8280 1999-04-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
8282 * bits/valarray_array.h: tweak.
8284 1999-04-06 Benjamin Kosnik <bkoz@cygnus.com>
8286 * bits/basic_string.h: Whoops--fix blip.
8288 1999-04-06 Benjamin Kosnik <bkoz@cygnus.com>
8290 Update to SGI STL 3.13
8291 * bits/basic_string.h: Add __get_c_string definition.
8292 * stl/bits/stl_range_errors.h: New file.
8293 * stl/bits/std_bvector.h: Same.
8294 * stl/bits/*: Update.
8296 1999-04-04 1999 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
8298 * bits/slice_array.h: tweak.
8299 * bits/gslice_array.h: tweak.
8300 * bits/mask_array.h: tweak.
8301 * bits/indirect_array.h: tweak.
8302 * bits/valarray_array.h: tweak.
8303 (__valarray_copy): replace copy with memcpy.
8304 * bits/std_valarray.h: use __valarray_copy whenever possible.
8305 use __valarray_fill instead of fill.
8307 1999-04-02 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
8309 * src/gen-num-limits.cc: new file
8310 * mknumeric_limits: Ditto.
8312 1999-03-30 Benjamin Kosnik <bkoz@cygnus.com>
8314 * bits/locfacets.tcc: Do a stub version of num_get for short, int,
8316 * bits/locfacets.h: Add num_get::get methods overloaded for int
8317 and short, to resolve ambiguous overloads in istream insertion
8320 1999-03-30 Benjamin Kosnik <bkoz@cygnus.com>
8322 * bits/std_istream.h: Fix.
8323 * bits/istream.tcc: Fix.
8325 1999-03-30 Philip Martin <pm@corris.dircon.co.uk>
8327 * testsuite/24/24iterator.cc: fix ++/-- tests
8329 1999-03-29 Benjamin Kosnik <bkoz@cygnus.com>
8331 * bits/std_ostream.h: Looks like this, actually: Fix up eh-isms.
8332 * bits/ostream.tcc: Same.
8334 * bits/std_istream.h: Bring over ostream changes, implement member
8335 functions. Baseline.
8336 * bits/istream.tcc: New file.
8338 1999-03-26 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
8340 * bits/gslice.h (class gslice): fix friends template.
8342 1999-03-23 Benjamin Kosnik <bkoz@cygnus.com>
8344 * bits/std_ostream.h: Fix sentry objects, implement seekp, tellp,
8346 * bits/ostream.tcc: Same.
8348 * bits/std_istream.h: Minor tweaks.
8350 1999-03-18 Benjamin Kosnik <bkoz@cygnus.com>
8352 * src/locale-inst.cc: Remove duplicate instantiations.
8353 * bits/locfacets.tcc: Tweak definitions of static member.
8355 1999-03-18 Benjamin Kosnik <bkoz@cygnus.com>
8357 * bits/std_fstream.h: Format: prepend "__" in front of
8358 non-standard typedefs.
8359 * bits/fstream.tcc: Match.
8360 * bits/std_streambuf.h: Format: prepend "__" in front of
8361 non-standard typedefs.
8363 * bits/sstream.tcc: Match.
8364 * bits/std_istream.h: Format.
8365 * src/locale-inst.cc: Add num_get instantiations.
8367 * bits/std_sstream.h: Fix crash in stringstreams. Remove member
8368 _M_sb, a basic_stringbuf object, and use the basic_ios pointer
8369 _M_streambuf instead. Make initializations sane. Fix
8370 allocation/deallocation of _M_streambuf.
8371 * bits/std_ostream.h: Fix initialization code.
8372 (ctor): Eliminate redundant this->init(), let base class initialize.
8373 (default ctor): New. Assume base classes already initialzed.
8374 * bits/std_istream.h: Parallel work to ostream.
8375 (ctor): Eliminate redundant this->init(), let base class initialize.
8376 (default ctor): New. Assume base classes already initialzed.
8377 Fix initialization of basic_iostream.
8379 * bits/std_fstream.h: While we're at it, make initializations sane
8380 here too. Now matches sstream.h.
8382 * bits/string.tcc: Fix crash in basic_string::compare.
8383 * bits/basic_string.h: And here.
8384 * bits/c++config.h: Add comment about _G_USE_EXCEPTIONS.
8386 * testsuite/make_check_libfree++: Check shared as well.
8387 * testsuite/27/27stringstream.cc: Add bits.
8388 * testsuite/27/27boolfmt.cc: Add bits.
8389 * testsuite/27/27octfmt.cc: Add bits.
8391 1999-03-17 Benjamin Kosnik <bkoz@happy.cygnus.com>
8393 * configure.in (USE_LONG_DOUBLE): signbitl link error.
8395 * bits/locfacets.h: Fix errors that cause build problems
8396 with current egcs (template parameters have class scope).
8397 * bits/locfacets.tcc: Same.
8398 * src/locale-inst.cc: Same, clean.
8399 * src/misc-inst.cc: Same, clean.
8401 1999-03-17 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8403 * stl/bits/std_memory.h: Modify auto_ptr::reset to reflect the
8404 standard. Re-apply this previous patch.
8406 1999-03-17 Philip Martin <pm@corris.dircon.co.uk>
8408 * bits/basic_string.h: Use __normal_iterator<> for iterators.
8409 * bits/std_sstream.h: Support __normal_iterator<> iterators.
8410 * bits/string.tcc: Ditto.
8411 * src/misc-inst.cc: Ditto.
8412 * src/locale-inst.cc: Ditto.
8413 * stl/bits/stl_iterator.h: Add __normal_iterator<>.
8414 * stl/bits/stl_vector.h: Use __normal_iterator<> for iterators.
8415 * testsuite/24/24iterator.cc: Add test cases for basic_string and
8418 1999-03-16 Benjamin Kosnik <bkoz@cygnus.com>
8420 * bits/locfacets.tcc: Remove macro hack.
8421 * bits/locfacets.h: Tweaks.
8422 * src/misc-inst.cc: Weed out locale-related instantiations.
8423 * src/locale-inst.cc: Same.
8425 * RELEASE-NOTES: Make more changes.
8426 * bits/c++config.h: Bump version number.
8428 * testsuite/make_check_libfree++: Collect diagnostics.
8430 * bits/std_ostream.h: Fix ostream initialization/destruction
8431 problem, related to dtor cleanup and new cached facets, agggggggh.
8432 * bits/ostream.tcc: Tweak.
8433 * bits/locfacets.h: Remove all friends of iostream classes.
8434 * bits/ios_base.h: Same.
8435 * bits/streambuf.tcc: Tweak.
8436 * bits/std_streambuf.h: Tweak.
8437 * bits/std_fstream.h: Tweak.
8438 * bits/fstream.tcc: Tweak.
8439 * src/stdstreams.cc: Tweak.
8440 * src/ios.cc: Close streams.
8442 * math/Makefile.in: Add missing files for shared link errors.
8443 * math/Makefile.am: Same.
8445 1999-03-15 Benjamin Kosnik <bkoz@cygnus.com>
8447 * src/locale-inst.cc: More wchar_t instantiations.
8448 * src/misc-inst.cc: Missed a few bits.
8449 * testsuite/make_check_libfree++: Add static and shared runs.
8450 * src/ios.cc: Add clarity to ios_base::Init::~Init().
8452 1999-03-15 Benjamin Kosnik <bkoz@cygnus.com>
8454 * bits/std_ostream.h: Format, expunge, simplify. Add cached
8455 facets. Resolve link errors.
8456 * bits/ostream.tcc: Same.
8457 * src/misc-inst.cc: Add ostream, wostream instantiations.
8458 * src/Makefile.am: Add missing bits for stdstreams.cc.
8459 * src/Makefile.in: Same.
8460 * bits/std_iosfwd.h: Format.
8461 * bits/locfacets.h (num_put): Add basic_ostream as a friend to
8462 num_put so that cached _M_fnumput pointer can be deleted in
8463 basic_ostream's dtor. Now everybody plays nice.
8465 1999-03-12 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
8467 * bits/gslice.h (class gslice): Make friends valarray,
8468 gslice_array and _GliceExpression.
8470 1999-03-11 Benjamin Kosnik <bkoz@cygnus.com>
8472 * RELEASE-NOTES: Update.
8473 * src/ios.cc: Use do proper init.
8474 * bits/std_streambuf.h: Tweak.
8475 * bits/std_iostream.h: Take out static member.
8476 * std/iostream: Put here.
8477 * bits/std_ostream.h: Non-default ctor shouldn't smash _M_streambuf.
8478 * bits/std_istream.h: Ditto.
8479 * bits/basic_ios.h: Format.
8480 * bits/ostream.tcc(write): Fix.
8481 * bits/fstream.tcc: Fix stdstreams ctor to do a proper
8482 initialization of the fstream class.
8483 * src/stdstreams.cc: I'm baaaaaaaack.
8485 1999-03-10 Benjamin Kosnik <bkoz@rhino.cygnus.com>
8487 * bits/ios_base.h: Correct comments. Add ios_base::init()
8488 functionality. Format, tweak, expunge, clean, bathe, and hang to dry.
8489 * src/misc-inst.cc: Add instantiations here.
8490 * src/ios.cc: Clean.
8491 * bits/std_iostream.h: Add wrappers, global ios_base::Init object.
8492 * src/stdstreams.cc: Delete this file, as now unnecessary.
8493 * bits/fstream.tcc: Add missing initialization bits for ctor.
8494 * src/Makefile.am (libstdc___la_SOURCES): Delete here as well.
8495 * src/Makefile.in (libstdc___la_OBJECTS): And here.
8497 * bits/streambuf.tcc: Tweak.
8498 * bits/sstream.tcc: Here too.
8500 * bits/fstream.tcc: And change definition as well.
8501 * bits/std_fstream.h: Change ctor.
8502 * src/basic_file.cc (sys_open): Add call that opens a specific fileno.
8503 * bits/basic_file.h: Add declarations.
8505 * testsuite/27/27hello.cc: New file.
8507 * bits/std_ostream.h: Move flush() inline.
8508 * bits/ostream.tcc: From here.
8510 * bits/char_traits.h: Add include of fpos.h for streamoff/streampos.
8511 * bits/std_ios.h: Change include libio to only when necessary.
8512 * bits/fpos.h: Like here.
8513 * ios_base.h: And here.
8515 * bits/locfacets.h: Change _Iostate to _Ios_Iostate.
8516 * bits/locfacets.tcc: Same.
8517 * bits/std_locale.h: Include std_ios.h not std_iosfwd.h.
8518 * bits/std_iosfwd.h: Move _Ios_Iostate to ios_base.h
8520 1999-03-09 Benjamin Kosnik <bkoz@rhino.cygnus.com>
8522 * bits/basic_ios.h: Change _M_ctype to _M_fctype.
8524 * bits/std_streambuf.h: Clean, tweak.
8525 * bits/std_fstream.h: Same.
8526 * bits/std_sstream.h: Same.
8527 * bits/streambuf.tcc: Move most member functions out-of-line.
8528 * bits/fstream.tcc: Same.
8529 * bits/streambuf.tcc: Same.
8531 * bits/basic_file.h(filepos_cur): Set correctly.
8532 (filepos_beg): Same.
8533 (seekpos): Change to __c_streampos.
8534 * src/basic_file.cc (std): Change to __c_streampos.
8536 * testsuite/27/27filebuf.cc: Round one is finished.
8537 * testsuite/27/27filebuf-2.tst: New file, final output should match.
8538 * testsuite/27/27filebuf-3.tst: Same.
8540 1999-03-08 Benjamin Kosnik <bkoz@rhino.cygnus.com>
8542 * bits/basic_file.h: Fix typo, add comments about what to expect
8543 from the various member functions in __basic_file.
8545 * bits/std_fstream.h: Re-do sync/underflow to work
8546 together. Change from sys_read to xsgetn and from sys_write to
8547 xsputn. As it should have been from the beginning. . .
8549 1999-03-06 Benjamin Kosnik <bkoz@haight.constant.com>
8551 * bits/c++config.h (__GLIBCPP__): Add versioning macro.
8553 * bits/basic_file.h(file_beg): New function.
8556 * testsuite/27/27filebuf.cc: Test in, out, in | out.
8557 * bits/std_fstream.h: More _M_mode refinements.
8558 (synch): Add bits for out mode only.
8559 * bits/std_streambuf.h(xsputn): Correct for filebufs.
8560 * bits/std_sstream.h: Ditto.
8562 1999-03-03 Benjamin Kosnik <bkoz@cygnus.com>
8564 * bits/std_fstream.h: Fix _M_mode AND with ios_base::openmode.
8565 * testsuite/27/27filebuf.cc: Modify.
8566 * bits/c++config.h: Fix.
8568 1999-03-02 Benjamin Kosnik <bkoz@tintin.cygnus.com>
8570 * bits/c++config.h: New macro, _G_RESOLVE_LIB_DEFECTS, used to put
8571 code in place that diverges from the final standard, but has been
8572 brought up on the library mailing list.
8574 * bits/std_fstream.h(underflow): Position all three internal
8575 buffer pointers at the same initial position. Re-implement with
8576 basic_filebuf abstraction.
8580 * bits/std_sstream.h: Move _M_mode down into base class
8582 * bits/sstream.tcc: Ditto.
8583 * bits/std_streambuf.h: Ditto.
8585 * testsuite/27/27filebuf.cc: Tweak.
8587 1999-02-27 Benjamin Kosnik <bkoz@slap-happy.cygnus.com>
8589 * bits/std_sstream.h: Ditto.
8590 * bits/std_fstream.h: Fix blip.
8592 1999-02-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
8594 * C++STYLE: Add cases.
8595 * bits/std_fstream.h: Format.
8596 * bits/std_streambuf.h: Ditto.
8597 * bits/std_sstream.h: Ditto.
8599 * src/basic_file.cc(sys_seek): Fix stack delirium, by keeping
8600 return type for _IO_file_seek and __basic_file::seek the same size.
8601 * bits/basic_file.h: Ditto.
8603 1999-02-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
8605 * bits/fstream.tcc: Add include guards.
8606 * src/misc-inst.cc: Add instantiations for shared libes.
8607 * src/locale-inst.cc: Add instantiaions for use_facet.
8608 * bits/loccore.h: Remove specialization foward decls for
8609 use_facet<ctype>: perhaps add the whole lot of them later on.
8610 * bits/std_fstream.h: Fix.
8611 * bits/locfacets.h: Ditto.
8612 * src/stdstreams.cc: Disable wide streams for now.
8614 * src/Makefile.am (CXXFLAGS): Change up.
8615 * src/Makefile.in (CXXFLAGS): Ditto.
8617 1999-02-25 Benjamin Kosnik <bkoz@happy.cygnus.com>
8619 * src/basic_file.cc: Change to ios_base::seekdir from int.
8620 * bits/basic_file.h: Ditto.
8621 * bits/locfacets.h : Fix blip with new guard macros.
8623 1999-02-25 Benjamin Kosnik <bkoz@cygnus.com>
8625 * stl/bits/stl_config.h (__STL_USE_STD_ALLOCATORS): Minor tweaking.
8626 * bits/c++config.h: Clean. Remove _G_NO_STREAMBUF_ITERATORS and
8628 * amm1/locale: Remove unused defines.
8629 * generic/locale: Ditto.
8630 * src/ios.cc: Ditto.
8631 * src/locale.cc: Ditto.
8632 * src/locale-inst.cc: Ditto.
8633 * src/localename.cc: Ditto.
8634 * src/stdstreams.cc: And here.
8636 * bits/c++config.h (_G_USE_WCHAR_T): Fix.
8637 * bits/loccore.h: Simplify, clean, add wchar_t guards.
8638 * bits/loccore.tcc: Ditto.
8639 * bits/locfacets.h: Ditto.
8640 * src/locale-inst.cc: Ditto.
8641 * bits/locfacets.tcc: Add do_put long long here.
8643 1999-02-24 Benjamin Kosnik <bkoz@cygnus.com>
8645 * bits/std_streambuf.h: Add cached ctype facet, _M_ctype.
8646 * bits/basic_ios.h: Clean. Replace _M_strbuf with
8647 _M_streambuf. Use cached _M_cvt in basic_streambuf.
8648 * bits/std_istream.h: Replace _M_strbuf with _M_streambuf.
8649 * bits/std_fstream.h: Tweak.
8651 * bits/char_traits.h: Remove fpos definitions from here. . .
8652 * bits/fpos.h: New file, put them here. Eventually, this may allow
8653 the severing of char_traits and fpos dependancies.
8654 * src/Makefile.in: Add fpos.h.
8655 * src/Makefile.am: Ditto.
8656 * bits/std_string.h: Add fpos.h include here.
8657 * bits/std_ios.h: And here.
8659 * bits/std_streambuf.h: Change _M_init to _M_initialized.
8660 * bits/ios_base.h: Remove cstdio include.
8661 * bits/std_ios.h: ... Place here.
8663 1999-02-23 Benjamin Kosnik <bkoz@loony.cygnus.com>
8665 * src/Makefile.in (CXXFLAGS): Re-add -fvtable-thunks.
8666 * src/Makefile.am (CXXFLAGS): Re-add -fvtable-thunks.
8668 * bits/basic_file.h: Comment, adjust arguments.
8669 * src/basic_file.cc: Ditto.
8671 * bits/std_fstream.h(seekoff): Error is of fpos type, not integral
8672 type: check and convert accordingly. Re-interpet "resultant stream
8673 position" to indicate external byte sequence location, not internal
8676 1999-02-22 Benjamin Kosnik <bkoz@loony.cygnus.com>
8678 * mkcshadow: And change copyright here.
8679 * src/Makefile.am (CXXFLAGS): Add -g -O2. Add new header
8680 dependencies for stl_pthread_alloc.h, pthread_allocimpl.h,
8681 stl_thread.h, and stl_iterator_base.h.
8682 * src/Makefile.in (CXXFLAGS): Ditto.
8683 * stl/backward/pthread_alloc.h: Remove.
8685 1999-02-19 Benjamin Kosnik <bkoz@loony.cygnus.com>
8687 * bits/std_streambuf.h (sungetc): Use standard defs for putback
8689 * bits/std_fstream.h (pbackfail): Correct.
8691 (seekoff): Implement.
8693 * testsuite/27/27filebuf.cc: Add test cases.
8695 1999-02-18 Benjamin Kosnik <bkoz@loony.cygnus.com>
8697 * bits/std_fstream.h: Go with basic_file's interfaces for dealing
8698 with the external buffers, and stop mucking around with setting
8699 and re-setting the external buf's pointers. Aka, clarity and
8700 simplicity rule the day.
8701 * src/locale.cc: Use memcpy in codecvt::do_in and codecvt::do_out.
8702 Remove partial result and support code.
8704 1999-02-18 Ulrich Drepper <drepper@cygnus.com>
8706 * configure.in: Add hypot, hypotf, atan2f, expf, and copysignf to
8707 list of function which have to be replaced.
8708 Remove expf from list of functions to test for.
8709 Define USE_LONG_DOUBLE in case the libm has partial support for long
8711 * Makefile.in: Regenerated.
8712 * config.h.in: Likewise.
8713 * configure: Likewise.
8714 * libio/Makefile.am (LIBIO_SRCS): Add missing backslash.
8715 * libio/Makefile.in: Regenerated.
8716 * src/Makefile.in: Regenerated.
8717 * string/Makefile.in: Regenerated.
8718 * math/Makefile.am (EXTRA_DIST): Add hypot.c, hypotf.c, hypotl.c,
8719 atan2f.c, expf.c, and $(EXTRA_yes).
8720 (EXTRA_yes): Add signbitl.c mycabsl.c.
8721 (libmath_la_LIBADD): Add $(EXTRA_$(USE_LONG_DOUBLE)).
8722 (libmath_la_SOURCES): remove long double versions.
8723 * math/Makefile.in: Regnerated.
8724 * math/atan2f.c: New file.
8725 * math/copysignf.c: New file.
8726 * math/expf.c: New file.
8727 * math/hypot.c: New file.
8728 * math/hypotf.c: New file.
8729 * math/hypotl.c: New file.
8730 * math/cargf.c: Use correct function and macro names.
8731 * math/ccos.c: Likewise.
8732 * math/ccosh.c: Likewise.
8733 * math/ccoshf.c: Likewise.
8734 * math/ccoshl.c: Likewise.
8735 * math/cexp.c: Likewise.
8736 * math/cexpf.c: Likewise.
8737 * math/cexpl.c: Likewise.
8738 * math/clog.c: Likewise.
8739 * math/clog10.c: Likewise.
8740 * math/clog10f.c: Likewise.
8741 * math/clog10l.c: Likewise.
8742 * math/clogf.c: Likewise.
8743 * math/clogl.c: Likewise.
8744 * math/copysignf.c: Likewise.
8745 * math/csin.c: Likewise.
8746 * math/csinf.c: Likewise.
8747 * math/csinh.c: Likewise.
8748 * math/csinhf.c: Likewise.
8749 * math/csinhl.c: Likewise.
8750 * math/csinl.c: Likewise.
8751 * math/csqrt.c: Likewise.
8752 * math/csqrtf.c: Likewise.
8753 * math/csqrtl.c: Likewise.
8754 * math/ctan.c: Likewise.
8755 * math/ctanf.c: Likewise.
8756 * math/ctanh.c: Likewise.
8757 * math/ctanhf.c: Likewise.
8758 * math/ctanhl.c: Likewise.
8759 * math/ctanl.c: Likewise.
8761 1999-02-17 Benjamin Kosnik <bkoz@cygnus.com>
8763 * testsuite/27/27filebuf.cc: Add cases.
8764 * testsuite/27/27filebuf-1.txt: Remove inadvertent garbage.
8765 * bits/std_streambuf.h: Simplify, always have one return statement.
8766 * bits/std_fstream.h: Tweak comments in underflow.
8768 1999-02-17 Ulrich Drepper <drepper@cygnus.com>
8770 * ltmain.sh: Update from libtool 1.2d and fix Solaris problems.
8771 * ltconfig: Likewise.
8773 1999-02-16 Christophe Pierret <cpierret@businessobjects.com>
8775 * src/locale.cc: Fix assert.
8777 1999-02-16 Benjamin Kosnik <bkoz@cygnus.com>
8779 FIXME: Still need some kind of solution for undefined math symbols.
8780 * src/Makefile.in (locale-inst.lo): Compile with
8781 -fimplicit-templates to fix Solaris link problem.
8782 * src/Makefile.am: Ditto.
8783 * libio/Makefile.in: Add stdfiles.c so that _IO_list_all is defined.
8784 * libio/Makefile.am: Ditto.
8785 * src/locale.cc: Provide some kind of def for _S_tolower.
8786 * bits/locfacets.h: Fix declarations of ctype<wchar_t> to
8787 match ctype<char> for _S_tolower, _S_toupper, _S_table.
8789 1999-02-10 Benjamin Kosnik <bkoz@cygnus.com>
8791 * bits/loccore.tcc: Move member-template ctor inline...
8792 * bits/loccore.h: ...here.
8793 * src/locale-inst.cc: Add instantiation here.
8795 * testsuite/27/27stringstream.cc: Tweak.
8797 * bits/ostream.tcc: Include sbuf_iter.h.
8799 * bits/ostream.tcc: Convert *this to ostreambuf_iterator before
8800 passing to num_put, as num_put's first argument is an interator,
8803 * testsuite/make_check_libfree++: New file, runs through the
8804 existing test files in the testsuite directory and makes sure
8807 1999-02-10 Brendan Kehoe <brendan@cygnus.com>
8809 * testsuite/21/21compare.cc: Fix typo.
8810 * src/locale.cc (ctype<wchar_t>::_S_{toupper,tolower,table}):
8811 Don't try to provide non-linux versions, since it's impossible to
8812 initialize their const references with the integer 0, no matter
8813 how we try to cast it.
8815 1999-02-10 Benjamin Kosnik <bkoz@cygnus.com>
8817 * bits/std_locale.h: Move std_vector.h dependency.
8818 * bits/std_ios.h: ...from here.
8819 * bits/std_string.h: ...and here.
8820 * src/locale.cc: ..to here.
8821 * bits/loccore.h: Ditto, add vector forward declaration,
8822 make locale::_Impl data members pointers not containers.
8823 * bits/loccore.tcc: Move out-of-line for now.
8824 * bits/locfacets.h: Move vector dependency from here...
8825 * bits/locfacets.tcc: ...to here.
8826 * src/localename.cc: ..and here.
8827 * src/locale-inst.cc: Add include of locfacets.tcc here.
8829 * stl/bits/stl_string_fwd.h: Make __get_c_string non-static.
8830 * bits/basic_string.h: Can't use sizeof on an incomplete type.
8831 * bits/string.tcc: Tweak.
8832 * src/string.cc: And add __get_c_string def here.
8834 * bits/std_fstream.h: Yeah, comment the fill_n idea out as impractical.
8836 * src/stlinst.cc: Add include of stl_config.h.
8838 1999-02-09 Benjamin Kosnik <bkoz@cygnus.com>
8840 * stl/bits/std_bitset.h: Update to SGI STL 3.12.
8841 * stl/bits/stl_config.h: Tweak, update.
8842 * stl/bits/std_stdexcept.h: Ditto, change stl_exception to
8844 * stl/bits/std_memory.h: Reconstructed auto_ptr, Ditto.
8845 * stl/bits/std_functional.h: Ditto.
8847 * stl/bits/stl_string.h: New file, SGI's string
8848 implementation. For reference only, corresponding to string in
8850 * stl/bits/stl_char_traits.h: As above.
8852 * stl/bits/pthread_allocimpl.h: New file corresponding to
8854 * stl/bits/stl_pthread_alloc.h: New file corresponding to
8856 * stl/bits/stl_threads.h: New file.
8858 Note that SGI STL 3.12's file iterator.h is not used.
8859 * stl/bits/std_iterator.h: Ditto.
8860 * stl/bits/stl_iterator.h: Drop in replace.
8861 * stl/bits/stl_iterator_base.h: New file, drop in replace.
8863 * stl/bits/stl_queue.h, stl_rope.h, stl_set.h, stl_stack.h,
8864 stl_string_fwd.h, stl_tempbuf.h, stl_tree.h, stl_vector.h,
8865 stl_pair.h, stl_multimap.h, stl_multiset.h, stl_list.h,
8866 stl_hashtable.h, stl_hash_set.h, stl_hash_map.h, stl_function.h,
8867 stl_deque.h, stl_alloc.h, stl_algo.h, stl_algobase.h, ropeimpl.h:
8868 Drop-in replace (ie, stop changing __SGI_STL_* to _CPP_BITS_* for
8869 preprocessor guards, but fixup include paths and names according
8870 to new directory layout).
8872 1999-02-05 Benjamin Kosnik <bkoz@cygnus.com>
8874 * bits/std_fstream.h: Remove _M_open data member.
8875 * bits/fstream.tcc: Ditto.
8877 * src/locale.cc: Tweak.
8879 * bits/std_sstream.h: Simplify.
8881 * bits/std_streambuf.h: Simplify.
8882 (sputc): Use correct definition of "write area."
8884 * bits/std_fstream.h: Fix uflow.
8885 * src/basic_file.cc: Tweak.
8886 * testsuite/27/27filebuf.cc: Add tests.
8887 * testsuite/27/27filebuf-3.txt: Rename to *-2.txt.
8889 1999-02-02 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8891 * bits/ios_base.h: Make protected.
8893 1999-02-01 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8895 * bits/ios_base.h: Changes in the class ios_base:
8896 Rename _M_exceptions member to _M_exceptions_data.
8897 Make the member functions rdstate(), clear(), exceptions()
8898 and exceptions(iostate) protected and add the "_M_" prefix.
8899 * src/ios.cc: Ditto.
8900 * bits/basic_ios.h: Adapt the changes from ios_base.
8902 1999-01-29 Benjamin Kosnik <bkoz@cygnus.com>
8904 * bits/std_fstream.h: Remove _M_flags, _M_equilibrate as unnecessary.
8905 * bits/fstream.tcc: Ditto.
8907 * bits/std_fstream.h (underflow): Resize deallocates memory and
8908 resets pointers in the internal cache according to new _M_buf. . dooh!
8909 * src/locale.cc: Mas changes with codecvt::do_in, do_out.
8911 1999-01-29 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8913 * stl/bits/std_memory.h: Modify auto_ptr::reset to reflect the
8916 1999-01-28 Benjamin Kosnik <bkoz@cygnus.com>
8918 * src/locale.cc (codecvt::do_in): Finer-grained tuning to take
8919 into account partial returns.
8920 (codecvt::do_out): Likewise.
8922 * bits/char_traits.h: Change streamsize to be a signed type, as
8923 required by 27.4.1 Types p 2. (Changing to _IO_ssize_t.)
8924 * bits/std_streambuf.h: Make
8925 in_avail() and showmanyc() have streamsize as return types, so
8926 that showmanyc()'s return of eof won't underflow in_avail's return
8927 value and give a bogus result.
8928 * src/misc-inst.cc: And more changes. . .
8930 * bits/std_streambuf.h (basic_streambuf): Add _M_buf_unified to keep
8931 track of joint in/out pointers into the internal buffer.
8932 (sbumpc): Add check for _M_buf_unified.
8936 * testsuite/27/27filebuf.cc: Add cases.
8937 * testsuite/27/27stringbuf.cc: Add showmanyc case.
8939 * bits/std_fstream.h (close): Fix logic error.
8940 (open): Initialize internal pointers based on _M_buf and _M_buf_size.
8941 (showmanyc): Add underflow component, to match the standard.
8943 * bits/fstream.tcc: Ditto.
8945 1999-01-27 Benjamin Kosnik <bkoz@cygnus.com>
8947 * bits/basic_file.h: Match vtables w/ _IO_FILE_plus.
8948 * src/basic_file.cc: Ditto.
8949 * src/Makefile.in: Add -fvtable-thunks to CXXFLAGS: preferred
8950 format for dealing with _IO_file in libio.
8952 1999-01-27 Ulrich Drepper <drepper@cygnus.com>
8954 * src/basic_file.cc: Include fcntl.h.
8956 1999-01-27 Benjamin Kosnik <bkoz@cygnus.com>
8958 * libio/Makefile.in: Add fileops.lo, genops.lo to objects to debug
8960 * bits/std_streambuf.h: Redefine read posion.
8962 * bits/std_fstream.h: Temporary hack to get vtables working again.
8963 * bits/basic_file.h: Revert.
8964 * src/basic_file.cc: Ditto.
8965 * testsuite/27/27filebuf.cc: Tweak.
8967 1999-01-26 Benjamin Kosnik <bkoz@cygnus.com>
8969 * bits/basic_file.h: Add showmanyc, underflow. .
8970 * src/basic_file.cc: Ditto.
8972 * bits/std_fstream.h (showmanyc): Add bits to ping libio to see if more
8975 * testsuite/27/27filebuf.cc: Add testcases.
8976 * src/basic_file.cc: Add O_CREAT to open calls with
8977 ios_base::trunc as part of the open mode.
8979 1999-01-26 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8981 * bits/basic_ios.h: fix basic_ios::exceptions(iostate)
8983 1999-01-25 Benjamin Kosnik <bkoz@nabi.net>
8985 * src/ios.cc (clear): Correct typo.
8986 * bits/ios_base.h: Tweak spacing.
8988 1999-01-25 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8990 * bits/basic_ios.h: fix basic_ios::fail()
8992 1999-01-25 Benjamin Kosnik <bkoz@loony.cygnus.com>
8994 * bits/basic_file.h: Include libioP.h from libio instead of here.
8995 * bits/iolibio.h: Remove.
8996 * bits/libio.h: Remove.
8998 1999-01-22 Benjamin Kosnik <bkoz@lunatic.cygnus.com>
9000 * bits/std_fstream.h: Tweak cvt-> in call for newer egcs compilers.
9002 1999-01-22 Ulrich Drepper <drepper@cygnus.com>
9004 * Makefile.am (SUBDIRS): Add libio.
9005 * configure.in: Add rule to test for glibc2.
9007 * src/Makefile.am (INCLUDES): Add -I to libio subdir.
9008 (libstdc___la_LIBADD): Add libio.la.
9010 1999-01-21 Benjamin Kosnik <bkoz@cygnus.com>
9012 * bits/basic_file.h: Make new abstraction for underlying C library
9013 FILE, named __basic_file.
9014 * src/basic_file.cc: New file.
9015 * bits/os_raw.h: Delete.
9016 * src/os_raw.cc: Delete.
9017 * src/Makefile.in: Tweak.
9018 * src/Makefile.am: Tweak.
9019 * bits/iolibio.h: Add this here, for the time being.
9020 * bits/libioP.h: Ditto.
9022 * bits/ios_base.h: Delete unused defines.
9023 * src/locale.cc (codecvt<char, char, mbstate_t>::do_in): Use
9024 strcpy to copy between the two buffers.
9026 * testsuite/27/27stringbuf.cc: Change license, fix in_avail tests.
9027 * testsuite/27/27filebuf.cc: New file.
9028 * testsuite/27/27filebuf-1.txt: Data file for above test.
9029 * testsuite/27/27filebuf-2.txt: Ditto.
9031 * bits/std_streambuf.h (uflow): Re-implement default.
9032 * bits/std_fstream.h: Set _M_buf_size based on cstdio's BUFSIZ.
9033 Re-implement virtual functions.
9034 * bits/fstream.tcc: Delete unused mf's.
9036 1998-12-31 Benjamin Kosnik <bkoz@lunatic.cygnus.com>
9038 * bits/fstream.tcc: Add fstream ctor for cin/cout/etc.
9039 * bits/std_fstream.h: Ditto.
9040 * src/stdstreams.cc: Ditto.
9042 * math/cpowl.c: Fix header typo with last change.
9044 1998-12-31 Benjamin Kosnik <bkoz@loony.cygnus.com>
9046 * COPYING: New file (GPL v 2).
9047 * LICENSE.STD: Remove.
9048 * ./*: Change license.
9050 1998-12-30 Benjamin Kosnik <bkoz@haight.constant.com>
9052 * bits/std_streambuf.h (std): Remove static on _M_init.
9053 * bits/streambuf.tcc (std): Ditto.
9055 * bits/std_fstream.h: Add changes as discussed with Nathan, including
9056 state_type and codecvt_type members, the allocation of an internal
9057 buffer, the streamlined codecvt calls, etc.
9059 1998-12-21 Benjamin Kosnik <bkoz@haight.constant.com>
9061 * bits/std_sstream.h: Tweak.
9062 * bits/fstream.tcc: Remove unused stubs.
9063 * bits/std_fstream.h: Tweak.
9065 1998-12-17 Benjamin Kosnik <bkoz@tintin.cygnus.com>
9067 * bits/std_streambuf.h: Move _IO_file_flags into basic_filebuf.
9068 Remove unused _IO_* members, possibly put into filebuf, which may
9070 * bits/std_fstream.h: Add _M_flag.
9071 * bits/sbuf_iter.h: Tweak.
9073 * bits/std_cstdio.h: Add SEEK_SET, SEEK_END, SEEK_CUR.
9074 * bits/ios_base.h: Use.
9076 * src/stdstreams.cc: Modify to reflect standard ctors for
9078 * src/misc-inst.cc: Ditto.
9080 * bits/os_raw.h: Wrap in std namespace. Model parameters on
9081 underlying C library calls instead of the underlying unix
9083 * src/os_raw.cc (_S_os_open): Use fopen, and compute a mode
9084 string as per p.659.
9085 (_S_os_close): Model on fopen.
9086 (_S_os_read): Model on fread.
9087 (_S_os_write): Model on fwrite.
9088 (_S_os_seek): Model on fseek.
9090 * bits/ios_base.h: Tweak.
9091 * bits/std_iosfwd.h: Wrap libio.h include with extern "C".
9092 * bits/std_sstream.h: Tweak.
9093 * bits/sstream.tcc: Remove old, uncalled code.
9094 * bits/std_fstream.h: Major reconstruction.
9095 * bits/fstream.tcc: Disable for the time being.
9097 1998-12-11 Benjamin Kosnik <bkoz@haight.constant.com>
9099 * bits/basic_string.h: Fix insert method.
9100 * stl/bits/stl_iterator.h: Remove previous hack.
9101 * bits/std_streambuf.h (sbumpc): Correct increment/return oddness.
9102 * bits/std_sstream.h: Fix more regressions.
9103 * testsuite/27/27stringbuf.C: Add (almost) complete tests.
9105 1998-12-09 Benjamin Kosnik <bkoz@loony.cygnus.com>
9107 * bits/basic_string.h: Tweak.
9109 * stl/bits/stl_iterator.h: Specialize iterator_traits for int so
9110 that string::append can be instantiated. HACK--checkin
9111 basic_string::iterator class.
9113 1998-12-07 Benjamin Kosnik <bkoz@haight.constant.com>
9115 * bits/std_sstream.h: Tweak.
9116 * bits/sstream.tcc: Tweak ctors.
9118 FIXME invalid friend defs. . WHERE ARE THEY??
9120 * bits/sbuf_iter.h (istreambuf_iterator::equal): Change to new
9121 names for basic_streambuf data members.
9123 * bits/std_streambuf.h: Add getloc() initialization bits.
9124 basic_streambuf(): Initialize with global locale data.
9125 imbue(): Set _M_init.
9127 * bits/std_streambuf.h(seekoff, seekpos): Complete with invalid
9128 stream pos == pos_type(off_type(-1)).
9129 in_avail(): Complete default implementation.
9130 snextc, sbumpc, sputbackc, sungetc, sputc, setg, xsputn,
9131 underflow, uflow, xsgetn, showmany, sync: Ditto.
9133 * bits/std_streambuf.h: _M_snextc_helper(): Remove.
9135 * bits/streambuf.tcc (sputbackc): Temporarily remove, need to
9136 re-populate with in-line member functions that are too big. Add
9137 initialization for _M_init.
9139 1998-12-03 Benjamin Kosnik <bkoz@cygnus.com>
9141 * bits/sstream.tcc: Convert _Allocator to _Alloc. Add typedefs
9142 for basic_string and basic_streambuf. Scope _IO_buf_* pointers to
9145 * src/stdstreams.cc (std): Disable wchar_t instantiations.
9147 * bits/c++config.h (_G_DEPRICATED): Add.
9148 (_G_USE_WCHAR_T): Add.
9149 * bits/std_streambuf.h: Radical reconstruction of basic_streambuf.
9150 Take out _Streambuf_base. Put _IO_FILE data member in basic_filebuf.
9151 * bits/streambuf.tcc (sputbackc): Remove ctor anti-def, Tweak.
9152 * bits/std_fstream.h: Add comment for implementation.
9153 * src/streambuf.cc: Remove.
9154 * src/Makefile.in: Remove streambuf.lo.
9155 * src/misc-inst.cc: Tweak.
9157 1998-12-02 Benjamin Kosnik <bkoz@cygnus.com>
9159 * bits/std_sstream.h: Add const_cast to rdbuf returns.
9160 * testsuite/27stringstream.C: Modify.
9162 1998-11-25 Benjamin Kosnik <bkoz@haight.constant.com>
9164 * src/Makefile.in (libstdc___la_OBJECTS): Add streambuf.lo.
9165 (libstdc___la_SOURCES): Ditto.
9167 * bits/streambuf.tcc: Tweak.
9169 * src/streambuf.cc: New file, add out-of-line definitions for
9172 * src/misc-inst.cc: Remove _Streambuf_base instantiations.
9173 Comment out wchar_t versions of the buffer instantiations, for now.
9175 * bits/std_streambuf.h: Wrap libio.h include with extern "C".
9176 Remove template wrapper around _Streambuf_base.
9177 Move IO_* data members into _Streambuf_base.
9178 Move _Streambuf_base members into streambuf.tcc.
9180 * bits/c++config.h (_G_USE_LIBIO): Enable.
9182 1998-11-02 Nathan Myers <ncm@cantrip.org>
9184 * CHECKLIST: downgrade iterator implementations
9185 * DESIGN: fill out notes about unimplemented features
9187 1998-10-31 Nathan Myers <ncm@cantrip.org>
9189 * CHECKLIST: itemized list of all interfaces, and status of each.
9191 1998-10-30 Nathan Myers <ncm@cantrip.org>
9193 * RELEASE-NOTES: add notes about optional includes, linking, running
9194 * src/Makefile.am: handle header installs properly
9195 * src/Makefile.in: regenerate from new src/Makefile.am
9197 1998-10-30 Benjamin Kosnik <bkoz@loony.cygnus.com>
9199 * bits/basic_string.h: Revert npos pending ciso646.
9200 * src/Makefile.am: Revert CXX flags for now.
9201 * src/Makefile.in: Ditto.
9203 1998-10-30 Brendan Kehoe <brendan@cygnus.com>
9205 * bits/std_sstream.h: Re-order ctors to put base before member
9208 1998-10-30 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
9210 * stl/bits/std_memory.h: Fix typo.
9212 1998-10-30 Nathan Myers <ncm@cantrip.org>
9214 * src/string[A-Z]+.cc: change back to include "string.cc".
9215 * src/Makefile.am: revert filename changes. We need a different
9216 way to keep filenames in std/ from confusing Make.
9217 * bits/basic_string.h: define _S_max_size right, return it from
9218 string::max_size(); churn definition of npos again.
9219 * bits/string.tcc: fix _S_frob_size to avoid uint overflow.
9220 * bits/ios.cc: remove #ifdef on ios_base locale member initialization
9221 * BUGS: clear cruft.
9222 * C++STYLE: Touchup for release.
9223 * CHECKLIST: Touchup for release.
9225 * LICENSE.STD: Add requirement to retain copyrights and to provide
9226 the license with any copies.
9227 * README: Update for release.
9228 * TODO: Minor touchup for release.
9229 * RELEASE-NOTES: prepare for release
9231 1998-10-29 Ulrich Drepper <drepper@cygnus.com>
9233 * src/string[A-Z]+.cc: Include stdstring.cc, not string.cc.
9235 * src/Makefile.am (CXXFLAGS): Define _GNU_SOURCE.
9237 * src/Makefile.am (CXXLINK): New variable. Make sure we don't use
9238 CXX to generate the shared object.
9240 * src/Makefile.am (headers): Remove duplicated char_traits.h.
9242 1998-10-29 Brendan Kehoe <brendan@cygnus.com>
9244 * bits/basic_string.h (basic_string<>::max_size): Subtract 1, not
9245 2, from npos, solving infinite loop problems.
9247 1998-10-29 18:41 Ulrich Drepper <drepper@cygnus.com>
9249 * src/Makefile.am: Add rules to install headers.
9251 1998-10-29 Nathan Myers <ncm@cantrip.org>
9253 * bits/std_ostream.h: Remove #ifdef on operator<< for long double
9254 * bits/ostream.tcc: Remove #ifdef on operator<< for long double
9257 * shadow/bits/wrap_libio.h:
9258 * shadow/bits/wrap_unistd.h: New files.
9260 1998-10-29 Brendan Kehoe <brendan@cygnus.com>
9262 * bits/ostream.tcc (operator<<): Wrap with #ifdef
9263 _G_HAVE_LONG_DOUBLE_IO, to match bits/std_ostream.h.
9265 1998-10-29 Ulrich Drepper <drepper@cygnus.com>
9267 * src/Makefile.am: Add temporarily rules to make sure misc-inst.cc
9268 is not compiled with -fno-implicit-templates in effect.
9270 * src/Makefile.am (EXTRA_SOURCES): Add string.cc and wstring.cc here.
9271 (libstdc___la_SOURCES): Add all the string*.cc and wstring*.cc files.
9272 * src/stringADDCS.cc: Wrapper around string.cc to define individual
9274 * src/stringADDPS.cc: Likewise.
9275 * src/stringADDSC.cc: Likewise.
9276 * src/stringADDSP.cc: Likewise.
9277 * src/stringADDSS.cc: Likewise.
9278 * src/stringBIST.cc: Likewise.
9279 * src/stringBOST.cc: Likewise.
9280 * src/stringCHTR.cc: Likewise.
9281 * src/stringEQPS.cc: Likewise.
9282 * src/stringEQSP.cc: Likewise.
9283 * src/stringEQSS.cc: Likewise.
9284 * src/stringEXTRA.cc: Likewise.
9285 * src/stringGEPS.cc: Likewise.
9286 * src/stringGESP.cc: Likewise.
9287 * src/stringGESS.cc: Likewise.
9288 * src/stringGETLI.cc: Likewise.
9289 * src/stringGTPS.cc: Likewise.
9290 * src/stringGTSP.cc: Likewise.
9291 * src/stringGTSS.cc: Likewise.
9292 * src/stringINSER.cc: Likewise.
9293 * src/stringLEPS.cc: Likewise.
9294 * src/stringLESP.cc: Likewise.
9295 * src/stringLESS.cc: Likewise.
9296 * src/stringLTPS.cc: Likewise.
9297 * src/stringLTSP.cc: Likewise.
9298 * src/stringLTSS.cc: Likewise.
9299 * src/stringMAIN.cc: Likewise.
9300 * src/stringNEPS.cc: Likewise.
9301 * src/stringNESP.cc: Likewise.
9302 * src/stringNESS.cc: Likewise.
9303 * src/stringSCOPY.cc: Likewise.
9304 * src/wstringADDCS.cc: Wrapper around wstring.cc to define individual
9306 * src/wstringADDPS.cc: Likewise.
9307 * src/wstringADDSC.cc: Likewise.
9308 * src/wstringADDSP.cc: Likewise.
9309 * src/wstringADDSS.cc: Likewise.
9310 * src/wstringBIST.cc: Likewise.
9311 * src/wstringBOST.cc: Likewise.
9312 * src/wstringCHTR.cc: Likewise.
9313 * src/wstringEQPS.cc: Likewise.
9314 * src/wstringEQSP.cc: Likewise.
9315 * src/wstringEQSS.cc: Likewise.
9316 * src/wstringEXTRA.cc: Likewise.
9317 * src/wstringGEPS.cc: Likewise.
9318 * src/wstringGESP.cc: Likewise.
9319 * src/wstringGESS.cc: Likewise.
9320 * src/wstringGETLI.cc: Likewise.
9321 * src/wstringGTPS.cc: Likewise.
9322 * src/wstringGTSP.cc: Likewise.
9323 * src/wstringGTSS.cc: Likewise.
9324 * src/wstringINSER.cc: Likewise.
9325 * src/wstringLEPS.cc: Likewise.
9326 * src/wstringLESP.cc: Likewise.
9327 * src/wstringLESS.cc: Likewise.
9328 * src/wstringLTPS.cc: Likewise.
9329 * src/wstringLTSP.cc: Likewise.
9330 * src/wstringLTSS.cc: Likewise.
9331 * src/wstringMAIN.cc: Likewise.
9332 * src/wstringNEPS.cc: Likewise.
9333 * src/wstringNESP.cc: Likewise.
9334 * src/wstringNESS.cc: Likewise.
9335 * src/wstringSCOPY.cc: Likewise.
9336 * src/string.cc: Remove now unneeded #defines now.
9338 1998-10-29 Nathan Myers <ncm@cantrip.org>
9340 * bits/locfacets.tcc: Define num_put::put(... const void*), improve
9342 * bits/ostream.tcc: Delete cruft, rewrite various op<< as members,
9343 add definitions for double, long double, const void*.
9344 * bits/std_ostream.h: Move op<<'s back into class ostream,
9345 define some in-line.
9346 * bits/string.tcc: fix unnecessary-copying bug in op[], typos in
9347 string construction from input iterators that Brendan reported.
9350 1998-10-28 Brendan Kehoe <brendan@cygnus.com>
9352 * stl/bits/stl_pair.h (op!=, op>, p<=, op>=): Add missing definitions.
9354 * bits/valarray_meta.h (class _Constant): Move declaration to the
9355 top, so the rest of the file can grok it.
9356 (_ApplyBinaryFunction::operator[]): Add missing parenthesis.
9358 * bits/std_sstream.h (basic_ostringstream::str): Fix typo of extra
9360 (basic_stringstream::str, both instances): Likewise.
9362 1998-10-28 Nathan Myers <ncm@cantrip.org>
9364 * bits/locfacets.h: fix num_put<>::falsename()
9365 * bits/locfacets.tcc: fix _Format_cache<>::_M_populate bool name init
9366 * testsuite/27/27octfmt.C, testsuite/27/27octfmt.C: new tests
9367 * bits/locfacets.tcc: touch up _S_group_digits.
9368 * src/misc-inst.cc: adjust _S_group_digits insts to match.
9370 1998-10-27 Nathan Myers <ncm@cantrip.org>
9372 * stl/bits/stl_config.h: Turn off long long support, for now.
9373 * src/locale-inst.cc: Instantiate num_put<> only for
9374 ostreambuf_iterator, num_get only for istreambuf_iterator.
9375 * src/misc-inst.cc: Delete duplicate locale-related instantiations,
9376 add lots of new instantiations for num_put support function templates;
9377 remove junk about __match_parallel for ostreambuf_iterator.
9379 1998-10-27 Nathan Myers <ncm@cantrip.org>
9381 * bits/locfacets.tcc: Make num_put's digit grouping work.
9382 * bits/string.tcc: More uglification.
9383 * src/ios.cc: initialize format cache right
9385 1998-10-26 Nathan Myers <ncm@cantrip.org>
9387 * bits/basic_string.h: Uglify more names.
9388 * bits/fstream.tcc: Rewrite some filebut output handling.
9389 * bits/ios_base.h: Cosmetic.
9390 * bits/locfacets.h: Changes to _Format_cache for support of num_put.
9391 Also, specialize its default ctor for optimal default case.
9392 #ifdef out "long long" prototypes for now.
9393 * bits/locfacets.tcc: Do complete, optimized num_put<>::do_put
9394 implementation for integer types. (Still needs optimized
9395 std::copy() applied to ostreambuf_iterator to be optimal.)
9396 * bits/ostream.tcc: Write operator<< for long, bool types.
9397 Make other operators<< non-members, per spec. (Many still
9398 not implemented.) Identify those that fail to create a sentry.
9399 * bits/sbuf_iter: Cosmetic.
9400 * bits/std_fstream.h: Add some filebuf members.
9401 * bits/std_locale.h: Include <limits> for use in bits/locfacets.h
9402 * bits/std_ostream.h: Make member operators<< global, per spec.
9403 (Should do the same in std_istream.h.)
9404 * bits/std_string.h: Include <limits> for use in bits/locfacets.h
9405 * bits/string.tcc: Uglify names
9406 * shadow/bits/std_cstdlib.h: Optimize std::div and std::ldiv.
9407 * src/ios.cc: Specialize _Format_cache<> for char and wchar_t,
9408 for optimal default behavior.
9410 1998-10-26 Benjamin Kosnik <bkoz@loony.cygnus.com>
9412 * src/Makefile.in (libstdc___la_SOURCES): Add misc-inst.cc again.
9414 1998-10-21 Nathan Myers <ncm@cantrip.org>
9416 * src/locale.cc: make ctype operations actually work for glibc
9417 * CHECKLIST: add a comprehensive (i.e. huge) implementation
9418 checklist of stdlib facilities. Not filled in yet.
9420 1998-10-20 Nathan Myers <ncm@cantrip.org>
9422 * bits/string.tcc: fix patching NULs on string ends.
9424 1998-10-19 Nathan Myers <ncm@cantrip.org>
9426 * bits/std_iosfwd.h: eliminate "basic_" prefix on streambuf
9427 iterator forward declarations
9428 * bits/sbuf_iter.h: eliminate default template argument definitions
9429 on streambuf iterators (rely on <iosfwd> decls).
9430 * TODO: add note about lazy facet construction
9431 * bits/basic_ios.h: hit operator void* again. This should be the
9432 last time we need to touch it.
9433 * bits/basic_ios.h: copyfmt now returns *this.
9434 * bits/basic_string.h: fix npos again. npos cannot be defined as zero.
9435 * bits/basic_string.h: put back overloaded constructors; adjust
9436 behavior for default allocator on copy constructor.
9437 * bits/char_traits.h: make not_eof return correct type.
9438 * bits/loccore.h: remove call to bits/std_stdexcept.h; subincludes
9439 cannot be in non-standard headers or we get include loops (bad)
9440 * bits/loccore.h: delete ifdef'd out workarounds for old compiler bugs.
9441 * bits/loccore.h: add apparatus to support lazy construction of
9443 * bits/locfacets.tcc: Uglify names in __match_parallel decl.
9444 * bits/std_ios.h: add include of <typeinfo> to get bad_cast for
9445 locale use_facet<> failure.
9446 * bits/std_locale.h: same.
9447 * bits/std_string.h: same.
9448 * bits/std_stdexcept.h: change exception member __msg from a
9449 reference to a regular object.
9450 * bits/string.tcc: add pasting a NUL on the end of strings after
9451 each operation. We had already left room for it, but previously
9452 plugged it only on a call to c_str(), but the WG changed the
9453 requirement when I wasn't looking. (Can't leave them alone for
9454 a second without they break something else.)
9455 * bits/valarray_meta.h: add Gaby's changes from 981018.
9456 * src/locale.cc: add new type _Bad_use_facet to be thrown on
9457 failure of use_facet<>().
9458 * src/stdexcept.cc: remove pragma, remove bkoz's #if 0,
9459 comment out leftover member definitions
9461 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
9463 * string/Makefile.am: Revert last change.
9464 * math/Makefile.am: Likewise.
9466 1998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
9468 * bits/std_sstream.h: Fix typo.
9470 1998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
9472 * src/Makefile.am (libstdc___la_SOURCES): Add misc-inst.cc.
9474 * bits/std_sstream.h: Add typedefs, member definitions. Clean.
9475 * bits/std_stdexcept.h: Remove.
9477 1998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
9479 * src/misc-inst.cc: Tweak again.
9481 * bits/std_sstream.h: Move out-of-line definitions to sstream.tcc.
9482 * bits/sstream.tcc: New file.
9484 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
9486 * configure.in: Test for machine/param.h, sys/machine.h and fp.h.
9487 Don't run AC_C_BIGENDIAN if machine/param.h or sys/machine.h are
9490 * math/mathconf.h: Include sys/machine.h, machine/param.h and fp.h
9492 (INFINITE_P): Use IS_INF macro if available.
9494 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
9496 * math/Makefile.am (EXTRA_LTLIBRARIES): Renamed from
9498 * string/Makefile.am: Likewise.
9500 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
9502 * configure.in (AC_CHECK_FUNCS): Add finite, qfinite, fpclass, and
9504 (AC_CHECK_HEADERS): Add machine/endian.h. If no header specifying
9505 endianess is available run AC_C_BIGENDIAN.
9507 * math/clog10l.c: Add ugly hack around bug in Irix 6.2 header until
9508 fixincludes is fixed.
9509 * math/clogl.c: Likewise.
9510 * math/csqrtl.c: Likewise.
9511 * math/mycabsl.c: Likewise.
9513 * math/mathconf.h: Include machine/endian.h if possible. If no
9514 header describing endianess is available rely on WORDS_BIGENDIAN
9516 (FINITE_P, FINITEF_P, FINITEL_P): Use finite functino if available.
9517 (INFINITE_P, INFINITEF_P, INFINITEL_P): Use fpclass function if
9520 * src/complex.cc (polar): Don't use sincos on OSF machines.
9522 1998-10-09 Benjamin Kosnik <bkoz@loony.cygnus.com>
9524 * src/locale-inst.cc: Don't instantiate time_get for
9525 ostreambuf_iterators as time_get::do_get_weekday and
9526 time_get::do_get_monthname use __match_parallel, which is illegal
9527 for ostreambuf_iterators to use, as they don't have operator== or
9529 * bits/std_stdexcept.h: Add dtor definitions.
9530 Use stl/bits/std_stdexcept.h instead of this file?
9531 * bits/sbuf_iter.h : Tweak.
9532 * src/misc-inst.cc: Tweak.
9534 1998-10-09 Benjamin Kosnik <bkoz@haight.constant.com>
9536 * bits/std_stdexcept.h: New file.
9537 * src/stdexcept.cc: Define the following:
9539 runtime_error::what()
9541 * src/misc-inst.cc: New file.
9542 * src/Makefile.in (libstdc___la_SOURCES): Add misc-inst.cc.
9543 (libstdc___la_OBJECTS): Add misc-inst.lo.
9545 * bits/basic_string.h: Disable non-standard ctor declarations.
9546 * bits/string.tcc: Disable definitions as well.
9547 * src/string.cc: Disable <ios> dependancies.
9548 * bits/sbuf_iter.h (std): Add default to template parameter for
9549 ostreambuf_iterator and istreambuf_iterator.
9550 * bits/std_iosfwd.h: Change istreambuf_iterator to
9551 basic_istreambuf_iterator. Likewise for ostreambuf.
9552 * bits/locfacets.tcc (__match_parallel): Fix typo.
9553 * src/ios.cc (imbue): Remove the _G_HAVE_LOCALE guards around
9555 * bits/std_streambuf.h: Define _Streambuf_base::getloc().
9556 * bits/std_istream.h: Define the following:
9557 get (basic_streambuf<char_type,_Traits>& __sb, char_type __delim)
9558 get (char_type* __s, streamsize __n, char_type __delim);
9559 getline (char_type* __s, streamsize __n, char_type __delim)
9560 * bits/loccore.h : FIXME friend template code for use_facet.
9561 Add std_stdexcept.h include so that range_error will be defined.
9562 Add explicit conversion to string for range_error throws. (HACK?)
9564 1998-10-8 Ulrich Drepper <drepepr@cygnus.com>
9566 * configure.in: Check for sincos, sincosf, and sincosl.
9567 * src/complex.cc (polar): Use sincos if available.
9569 * bits/c++config.h: Fix hack to get LONG_LONG* definitions on Linux.
9570 * stl/bits/std_limits.h: Include bits/c++config.h. HACK!!!
9572 * math/clog10.c: Fix typo (FP_INIFITE_P -> INFINITE_P).
9574 * math/cpow.c: Use c_log, not clog.
9575 * math/cpowf.c: Likewise.
9576 * math/cpowl.c: Likewise.
9578 * math/cexp.c: Remove unused fpclassify calls. Use FINITE_P instead
9581 * math/mathconf.h (FINITE_P, FINITEF_P, FINITEL_P): Define using
9582 isfinite macro if it is available.
9583 (INFINITE_P, INFINITEF_P, INFINITEL_P): Define using isinf macro.
9585 * math/ccosf.c: Use appropriate test macros for this type.
9586 * math/ccoshf.c: Likewise.
9587 * math/ccoshl.c: Likewise.
9588 * math/ccosl.c: Likewise.
9589 * math/cexpf.c: Likewise.
9590 * math/cexpl.c: Likewise.
9591 * math/clog10f.c: Likewise.
9592 * math/clog10l.c: Likewise.
9593 * math/clogf.c: Likewise.
9594 * math/clogl.c: Likewise.
9595 * math/csinf.c: Likewise.
9596 * math/csinhf.c: Likewise.
9597 * math/csinhl.c: Likewise.
9598 * math/csinl.c: Likewise.
9599 * math/csqrtf.c: Likewise.
9600 * math/csqrtl.c: Likewise.
9601 * math/ctanf.c: Likewise.
9602 * math/ctanhf.c: Likewise.
9603 * math/ctanhl.c: Likewise.
9604 * math/ctanl.c: Likewise.
9606 1998-10-06 Benjamin Kosnik <bkoz@bliss.nabi.net>
9608 * bits/basic_ios.h: Fix previous change.
9610 1998-10-06 Benjamin Kosnik <bkoz@bliss.nabi.net>
9612 * bits/basic_ios.h: Add const_cast<basic_ios&>
9613 (operator void*): As per 5.2.9 p 2, make sure static_cast is
9615 * bits/char_traits.h: No _CharT for specialization, change to 0.
9616 * bits/basic_string.h: As per 9.4.2 p4, initialize with
9617 constant-initializer.
9618 * bits/locfacets.tcc: Add template parameter to initialization list.
9620 1998-10-02 Benjamin Kosnik <bkoz@loony.cygnus.com>
9622 * bits/basic_string.h: Should just be <, not <=.
9624 1998-10-01 Benjamin Kosnik <bkoz@bliss.nabi.net>
9626 * bits/string.tcc (compare): Fix for strings that are similar, but
9627 not the same length.
9629 1998-09-04 Brendan Kehoe <brendan@cygnus.com>
9631 * bits/c++config.h: For __linux__, define _GNU_SOURCE. This is
9632 required for us to get LONG_LONG_{MIN,MAX} out of gcc's limits.h.
9633 We can't check for __GLIBC__ here, since this header can be read
9634 before any system one (that would lead to features.h) being used.
9636 * stl/bits/stl_config.h (__STL_LONG_LONG): Re-enabled
9638 * stl/bits/std_limits.h [__STL_LONG_LONG]: Fix usage to use
9639 LONG_LONG_MIN, LONG_LONG_MAX, and ULONG_LONG_MAX.
9641 * stl/bits/stl_config.h: Don't do __STL_LONG_LONG, it uses
9642 LONGLONG_{MIN,MAX} which I can't find the origin of.
9644 1998-09-03 Brendan Kehoe <brendan@cygnus.com>
9646 * stl/bits/stl_iterator.h: Add extern decl of cin for now; where
9647 should this come from, if not iostream.h?
9648 (class istream_iterator): Make the new operator!= a friend also.
9650 * stl/bits/stl_config.h: Define __STL_HAS_WCHAR_T,
9651 __STL_MEMBER_TEMPLATE_CLASSES, and __STL_LONG_LONG. Don't include
9652 _G_config.h like the egcs one does.
9654 1998-09-01 Brendan Kehoe <brendan@cygnus.com>
9656 * bits/string.tcc: Call `_M_destroy' instead of `destroy'.
9658 * bits/valarray_meta.h: Throughout, rename _Expr typedefs to be
9659 _Expr1 (or _Expr_def if it's taken), and change definitions.
9660 Avoids redecl of the template parm.
9662 * bits/string.tcc (basic_string copy ctor): Fix typo in declaration.
9663 (operator>>): Initialize __ERROR with ios_base::goodbit, not 0.
9665 * bits/std_streambuf.h (_POSIX_SOURCE): Only define if it's not
9668 * src/locale-inst.cc: New file, **TOTAL HACK**. There has GOT to
9669 be a better way to do this.
9671 * src/stlinst.cc: New file.
9673 * BUGS: New file, with various discovered bugs that need to be
9676 * Makefile.in, math/Makefile.in, string/Makefile.in,
9677 src/Makefile.in: Reran automake.
9679 Workarounds, these may not all be the final fixes:
9681 * bits/basic_ios.h (class basic_ios): Make _M_strbuf be protected,
9682 not private, for basic_istream::get() in std_istream.h to be able
9684 (basic_ios::operator void*): Don't use static_cast for the false
9686 (basic_ios::copyfmt): Fix `rhs.except' to be `rhs.exceptions ()'.
9687 This appears to have been in sep94, but didn't get corrected
9690 * bits/basic_string.h (npos): Don't init here.
9691 * bits/string.tcc: Instead, do initialization here, to -1 instead
9692 of the size_type destructor.
9694 * src/traits.cc, src/wtraits.cc: New files.
9695 * bits/char_traits.h: For char_traits<char> and
9696 char_traits<wchar_t>, declare static, but define over in the src
9699 * bits/gslice.h: Comment out forward decls of _Array, valarray,
9700 gslice_array, and _GsliceExpression.
9702 * bits/std_cstdio.h [__sparc__ && __svr4__]: #undef all of
9703 clearerr, feof, ferror, getc, getchar, putc, putchar, stdin,
9704 stdout, and stderr. Note we do get unresolved refs to stdin, but
9705 that'll get fixed by the "true" solution.
9707 * bits/std_ios.h: Include <bits/std_streambuf.h> to get the
9708 definition of basic_streambuf.h, which is used in basic_ios.h to
9711 * bits/std_streambuf.h: Don't include libio.h for now.
9712 (class basic_streambuf): Define missing methods pubimbue and
9715 * src/Makefile.am (libstdc___la_SOURCES): Add stdexcept.cc,
9716 ios.cc, os_raw.cc, stdstreams.cc, locale.cc, localename.cc,
9717 locale-inst.cc, stlinst.cc, traits.cc, wtraits.cc.
9719 * src/ios.cc: Instantiate basic_ios<char> and basic_ios<wchar_t>.
9721 * src/locale.cc: Come up with munged versions of _S_toupper,
9722 _S_tolower, and _S_table instead of the glibc-specific ones, so
9723 they're at least defined, if not necessarily usable. The glibc
9724 ones on any other system will yield unresolved refs to
9725 __ctype_{b,toupper,tolower}.
9727 * src/string.cc: Define all of ADDCS, ADDPS, et al. Add
9728 basic_ios, basic_istream, basic_ostream. Don't do char_traits
9729 anymore cuz of the explicit specialization in char_traits.h.
9730 Also add _S_string_copy, but this doesn't fix it -- cf the BUGS
9731 file for the details.
9733 * stl/bits/stl_algobase.h (equal): Fix to do `! (x==y)'.
9734 * stl/bits/stl_iterator.h (__distance): Likewise.
9736 * stl/bits/stl_iterator.h: As with 8/18 set, define missing op!=,
9737 op>, op<=, and op>= for reverse_iterator. Also add op!= for
9740 1998-08-26 Brendan Kehoe <brendan@cygnus.com>
9742 * bits/string.tcc (basic_string::compare (const char*)): Fix to
9745 1998-08-25 Brendan Kehoe <brendan@cygnus.com>
9747 This should really be fixed with __asm__ directives renaming the
9748 symbol, but keeping the function.
9749 * math/clogf.c (c_logf): Renamed from `clogf'.
9750 * math/clogl.c (c_logl): Renamed from `clogl'.
9751 * math/complex-stub.h (c_logf, c_logl): Change decls.
9753 * bits/locfacets.h (class _Numeric_get): For friend decls, rename
9754 _CharT and _InIter parms, since they duplicate the enclosing ones.
9756 1998-08-19 Brendan Kehoe <brendan@cygnus.com>
9758 Deal with conflict of the iostreams `clog' and our internal
9759 complex number `clog'.
9760 * src/complex.cc: Call `c_log' instead of `clog'.
9761 * math/clog.c (c_log):: Renamed from clog.
9762 * math/complex-stub.h (c_log): Renamed from clog decl.
9764 * bits/locfacets.h (class _Numeric_get): Tweak fwd decls of the
9766 (num_put::put): #if 0 long long version, since we don't declare or
9767 define the long long version of do_put.
9769 1998-08-18 Nathan Myers <ncm@cantrip.org>
9771 * bits/basic_string.h: add basic_string<>::push_back(), fix return
9772 type of get_allocator (thanks to Ryszard Kabatek).
9773 * bits/char_traits.h: make init order of fpos<> members
9775 * bits/ios_base.h: fix decls of ios_base bitmask & enum types, add
9776 flags _S_fd_in etc. for special filebuf ctor.
9777 * bits/locfacets.h: make _Numeric_get and _Format_cache public
9778 to work around problems in friend declarations.
9779 * bits/locfacets.tcc: qualify _S_get_cache in num_get<>::get(..bool&),
9780 fix random type errors & typos
9781 * bits/std_fstream.h: major refitting to bypass libio (for now),
9782 instrument to use bits/fstream.tcc template definitions
9783 * bits/std_iosfwd.h: mess with wrappers
9784 * bits/std_istream.h: remove meaningless comment
9785 * bits/std_ostream.h: instrument to work with ostream.tcc.
9786 * bits/std_streambuf.h: instrument to work with streambuf.tcc
9787 * bits/fstream.tcc: template defs for <fstream>
9788 * bits/ostream.tcc: template defs for <ostream>
9789 * bits/streambuf.tcc: template defs for <streambuf>
9790 * bits/os_raw.h: thin OS interface wrapper, to bypass libio (for now).
9791 * Delete .cc files, replace with bits/*.tcc
9797 src/os_raw.cc: thin interface to OS, to bypass libio (for now).
9798 src/stdstreams.cc: cout, cin, etc. definitions
9799 (these still need work: must be init'd before user statics.)
9802 1998-08-18 Brendan Kehoe <brendan@cygnus.com>
9804 Sent to SGI before checkin:
9805 * stl/bits/stl_vector.h (operator!=, operator>, operator<=,
9806 operator>=): Define.
9807 * stl/bits/stl_bvector.h (vector<bool>::flip): Define method.
9808 * stl/bits/stl_deque.h (operator!=, operator>, operator<=,
9809 operator>=): Define.
9810 (operator==, operator<): Add inline.
9811 * stl/bits/stl_map.h (operator!=, operator<, operator<=,
9812 operator>=): Define.
9813 * stl/bits/stl_multimap.h (operator!=, operator<, operator<=,
9814 operator>=): Define.
9815 * stl/bits/stl_list.h (operator!=, operator<, operator<=,
9816 operator>=): Define.
9817 * stl/bits/stl_set.h (operator!=, operator<, operator<=,
9818 operator>=): Define.
9819 * stl/bits/stl_multiset.h (operator!=, operator<, operator<=,
9820 operator>=): Define.
9822 * bits/std_valarray.h (_Shift_left, _Shift_right): Inherit from
9825 1998-08-15 Nathan Myers <ncm@cantrip.org>
9827 * bits/ios_base.h: change nominal bitmask and enum types to real enums
9828 * bits/locfacets.h: make _Format_cache bool names usable by num_get
9829 * bits/locfacets.tcc: make num_get<>::get(... bool&) use _Format_cache
9830 * bits/std_fstream.h: minor cleanups: ctors delegate to open()
9831 * bits/std_iosfwd.h: more bitmask changes, for ios_base::iostate
9832 * bits/std_sstream.h: formatting cleanups
9834 1998-08-14 Nathan Myers <ncm@cantrip.org>
9836 * bits/locfacets.tcc: implement num_get<>::do_get(..., bool&)
9837 * bits/locfacets.tcc: implement time_get<>::do_get_weekday
9838 * bits/locfacets.tcc: implement time_get<>::do_get_monthname
9839 * bits/locfacets.h: fix missing argument in do_get_monthname
9840 (this is a bug in the standard, ref. 36 in my list.)
9841 * bits/locfacets.h: make month and day name caches mutable
9842 * bits/locfacets.tcc: various typos in get() functions
9843 * bits/sbuf_iter.h: fix omission in istreambuf_iterator::op++().
9844 * bits/std_streambuf.h: fix typo in sgetn (Brendan)
9846 1998-08-12 Nathan Myers <ncm@cantrip.org>
9847 * move streambuf iterators to bits/sbuf_iter.h
9848 * optimize streambuf iterators
9849 * begin generalizing streambuf
9850 * begin implementing num_get<>::get (starting with bool)
9851 * patch stl/bits/stl_config.h so that relops operators are
9852 contained properly, out of the way.
9854 1998-07-24 Nathan Myers <ncm@cantrip.org>
9855 * Fold in SGI 3.11 changes (uglified names, some algorithm
9856 improvements, very minor bug fixes.)
9857 * Uglify names elsewhere to match (s/_T/_Tp/).
9858 * Begin work on optimized streambuf
9859 * Put complex.cc in namespace std:: (thanks Martin)
9861 1998-07-17 Nathan Myers <ncm@cantrip.org>
9863 * bits/char_traits.h: add _Char_traits_match template.
9864 * bits/string.tcc: fix bugs in various find_last* members.
9865 * bits/basic_string.h: redeclare member _S_find.
9866 * stl/bits/stl_iterator.h: change member names in nonstandard
9867 templates bidirectional_reverse_iterator and
9868 random_access_reverse_iterator to match expected changes
9870 * src/string.cc: fix definitions of stream operators.
9872 1998-07-14 16:06 Ulrich Drepper <drepper@cygnus.com>
9874 * Makefile.am (SUBDIRS): Add string.
9876 * configure.in: Test for long double functions separately. Test for
9877 ISO C 89 float functions. Test for endian.h and sys/isa_defs.h.
9878 Generate string/Makefile.
9880 * bits/c++config.h: Define mbstate_t for Solaris.
9882 * bits/char_traits.h: Remove unused #if.
9884 * bits/std_cwchar.h: Declare wide char string functions.
9886 * m4/stringfcts.m4: New file.
9888 * math/complex-stub.h: Declare nan.
9889 * math/nan.c: New file.
9891 * math/mathconf.h: Hack around missing endian.h file.
9892 Handle missing NAN definition.
9893 Handle missing float math functions.
9895 * src/Makefile.am (libstdc___la_LIBADD): Add libstring.la.
9896 (libstdc___la_LDFLAGS): Set version information.
9898 * src/complexl.cc: Don't compile any code if no long double functions
9901 * string/Makefile.am: New file.
9902 * string/dummy.c: New file.
9903 * string/wmemchr.c: New file.
9904 * string/wmemcmp.c: New file.
9905 * string/wmemcpy.c: New file.
9906 * string/wmemmove.c: New file.
9907 * string/wmemset.c: New file.
9909 1998-07-14 10:45 Ulrich Drepper <drepper@cygnus.com>
9911 * configure.in: Make it work.
9912 * install-sh: New file.
9913 * missing: New file.
9914 * mkinstalldirs: New file.
9915 * m4/mathfcts.m4: New file.
9916 * math/Makefile.am: New file.
9918 * bits/std_complex.h (conj): Mark specializations as inline.
9920 * math/carg.c: New file.
9921 * math/cargf.c: New file.
9922 * math/cargl.c: New file.
9923 * math/mycabs.c: New file.
9924 * math/mycabsf.c: New file.
9925 * math/mycabsl.c: New file.
9926 * math/signbit.c: New file.
9927 * math/signbitf.c: New file.
9928 * math/signbitl.c: New file.
9930 * math/ccos.c: Avoid ISO C 9x functionality.
9931 * math/ccosf.c: Likewise.
9932 * math/ccosh.c: Likewise.
9933 * math/ccoshf.c: Likewise.
9934 * math/ccoshl.c: Likewise.
9935 * math/ccosl.c: Likewise.
9936 * math/cexp.c: Likewise.
9937 * math/cexpf.c: Likewise.
9938 * math/cexpl.c: Likewise.
9939 * math/clog.c: Likewise.
9940 * math/clog10.c: Likewise.
9941 * math/clog10f.c: Likewise.
9942 * math/clog10l.c: Likewise.
9943 * math/clogf.c: Likewise.
9944 * math/clogl.c: Likewise.
9945 * math/cpow.c: Likewise.
9946 * math/cpowf.c: Likewise.
9947 * math/cpowl.c: Likewise.
9948 * math/csin.c: Likewise.
9949 * math/csinf.c: Likewise.
9950 * math/csinh.c: Likewise.
9951 * math/csinhf.c: Likewise.
9952 * math/csinhl.c: Likewise.
9953 * math/csinl.c: Likewise.
9954 * math/csqrt.c: Likewise.
9955 * math/csqrtf.c: Likewise.
9956 * math/csqrtl.c: Likewise.
9957 * math/ctan.c: Likewise.
9958 * math/ctanf.c: Likewise.
9959 * math/ctanh.c: Likewise.
9960 * math/ctanhf.c: Likewise.
9961 * math/ctanhl.c: Likewise.
9962 * math/ctanl.c: Likewise.
9964 * math/complex-stub.h: New file.
9966 * math/mathconf.h: New file.
9968 * src/Makefile.am: New file.
9970 * src/complex.cc: Use mathconf.h instead of complex.h.
9971 Don't use cabs, always use __mycabs.
9973 1998-02-13 Brendan Kehoe <brendan@cygnus.com>
9975 * iterator (class reverse_iterator): Do some tweaks to be in sync