54fd550e81c0f2dc28f4be730192e5444aba8741
[gcc.git] / libstdc++-v3 / ChangeLog
1 2000-12-14 Benjamin Kosnik <bkoz@redhat.com>
2
3 * include/c/bits/*.h: Remove include_next, replace with include,
4 as include_next does not work host-x-host, and include_next not
5 necessary.
6
7 2000-12-13 Benjamin Kosnik <bkoz@redhat.com>
8
9 * include/bits/locale_facets.h (ctype<char>): Remove throw specs not in
10 base class signature.
11 * config/os/*/bits/ctype_inline.h (is): Same.
12
13 2000-12-13 Benjamin Kosnik <bkoz@redhat.com>
14
15 * config/os/generic/bits/ctype_base.h (ctype_base): Consistency
16 with linux.
17 * config/os/generic/bits/ctype_inline.h (is): Same.
18 * config/os/solaris/solaris2.5/bits/ctype_inline.h (is): Same.
19 * config/os/solaris/solaris2.5/bits/ctype_base.h: Same.
20 * config/os/solaris/solaris2.6/bits/ctype_inline.h (is): Same.
21 * config/os/solaris/solaris2.6/bits/ctype_base.h: Same.
22 * config/os/solaris/solaris2.7/bits/ctype_inline.h (is): Same.
23 * config/os/solaris/solaris2.7/bits/ctype_base.h: Same.
24 * config/os/irix/bits/ctype_inline.h (is): Same.
25 * config/os/irix/bits/ctype_base.h (ctype_base): Same.
26 * config/os/aix/bits/ctype_inline.h (is): Same.
27 * config/os/aix/bits/ctype_base.h (ctype_base): Same.
28 * config/os/bsd/netbsd/bits/ctype_inline.h (is): Same.
29 * config/os/bsd/netbsd/bits/ctype_base.h (ctype_base): Same.
30 * config/os/bsd/freebsd/bits/ctype_base.h (ctype_base): Same.
31 * config/os/bsd/freebsd/bits/ctype_inline.h (is): Same.
32 * config/os/newlib/bits/ctype_inline.h (is): Same.
33 * config/os/newlib/bits/ctype_base.h (ctype_base): Same.
34
35 * testsuite/22_locale/ctype_char_members.cc (test01): Add tests, fix.
36 * testsuite/22_locale/ctype.cc (test01): Add tests for
37 ctype_base::mask bitmask features.
38 * src/locale.cc: Define const static data for ctype_base.
39 * config/os/gnu-linux/bits/ctype_base.h (ctype_base): Make
40 ctype_base::mask type an integer type, not an enum.
41 * config/os/gnu-linux/bits/ctype_inline.h (is): Implement correctly.
42 * include/bits/locale_facets.h: Tweaks.
43
44 * include/bits/ios_base.h: Formatting tweaks.
45
46 * docs/html/17_intro/C++STYLE: Add.
47
48 2000-12-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
49
50 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Don't link ctype
51 files here...
52 * configure.in: Rather, do it once for all targets here. Clean up
53 canadian cross and cross compile targets for linux-targeted
54 crosses.
55 * configure: Regenerate.
56 * aclocal.m4: Regnerate.
57 * acconfig.h: Add more defines.
58 * config.h.in: Regenerate.
59
60 2000-12-12 Angela Marie Thomas <angela@cygnus.com>
61
62 * configure.in: Fix case for host-x-linux
63 * configure: Regenerate.
64
65 2000-12-10 Alexandre Petit-Bianco <apbianco@cygnus.com>
66
67 * src/Makefile.am (libstdc++.INC:): 2000-12-05 reverted to include
68 2000-11-12 hunk.
69 * src/Makefile.in: Rebuilt.
70
71 2000-12-09 Jason Merrill <jason@redhat.com>
72
73 * testsuite/20_util/auto_ptr.cc (test07): Remove test that tries
74 to copy-initialize an auto_ptr<Base> from an auto_ptr<Derived>; it
75 isn't supposed to work anymore.
76
77 2000-12-09 Phil Edwards <pme@sources.redhat.com>
78
79 Move the HTML-containing subdirs from 'docs' to 'docs/html'.
80 * README: Update the locations of instructions.
81 * docs/doxygen/run_doxygen: New file, stub.
82
83 * docs/Makefile: Moved...
84 * docs/configopts.html: Likewise.
85 * docs/documentation.html: Likewise.
86 * docs/install.html: Likewise.
87 * docs/lib3styles.css: Likewise.
88 * docs/17_intro/BADNAMES: Likewise.
89 * docs/17_intro/BUGS: Likewise.
90 * docs/17_intro/C++STYLE: Likewise.
91 * docs/17_intro/CHECKLIST: Likewise.
92 * docs/17_intro/COPYING: Likewise.
93 * docs/17_intro/DESIGN: Likewise.
94 * docs/17_intro/HEADER_POLICY: Likewise.
95 * docs/17_intro/PROBLEMS: Likewise.
96 * docs/17_intro/RELEASE-NOTES: Likewise.
97 * docs/17_intro/TODO: Likewise.
98 * docs/17_intro/contribute.html: Likewise.
99 * docs/17_intro/headers_cc.txt: Likewise.
100 * docs/17_intro/howto.html: Likewise.
101 * docs/17_intro/libstdc++-assign.txt: Likewise.
102 * docs/17_intro/organization: Likewise.
103 * docs/17_intro/porting-howto.html: Likewise.
104 * docs/18_support/howto.html: Likewise.
105 * docs/19_diagnostics/howto.html: Likewise.
106 * docs/20_util/howto.html: Likewise.
107 * docs/21_strings/gotw29a.txt: Likewise.
108 * docs/21_strings/howto.html: Likewise.
109 * docs/21_strings/stringtok_h.txt: Likewise.
110 * docs/21_strings/stringtok_std_h.txt: Likewise.
111 * docs/22_locale/codecvt.html: Likewise.
112 * docs/22_locale/ctype.html: Likewise.
113 * docs/22_locale/howto.html: Likewise.
114 * docs/22_locale/locale.html: Likewise.
115 * docs/23_containers/howto.html: Likewise.
116 * docs/23_containers/wrappers_h.txt: Likewise.
117 * docs/24_iterators/howto.html: Likewise.
118 * docs/25_algorithms/howto.html: Likewise.
119 * docs/26_numerics/howto.html: Likewise.
120 * docs/27_io/howto.html: Likewise.
121 * docs/27_io/iostreams_hierarchy.pdf: Likewise.
122 * docs/ext/howto.html: Likewise.
123 * docs/faq/index.html: Likewise.
124 * docs/faq/index.txt: Likewise.
125 * docs/html/Makefile: ...to here.
126 * docs/html/configopts.html: Likewise.
127 * docs/html/documentation.html: Likewise.
128 * docs/html/install.html: Likewise.
129 * docs/html/lib3styles.css: Likewise.
130 * docs/html/17_intro/BADNAMES: Likewise.
131 * docs/html/17_intro/BUGS: Likewise.
132 * docs/html/17_intro/C++STYLE: Likewise.
133 * docs/html/17_intro/CHECKLIST: Likewise.
134 * docs/html/17_intro/COPYING: Likewise.
135 * docs/html/17_intro/DESIGN: Likewise.
136 * docs/html/17_intro/HEADER_POLICY: Likewise.
137 * docs/html/17_intro/PROBLEMS: Likewise.
138 * docs/html/17_intro/RELEASE-NOTES: Likewise.
139 * docs/html/17_intro/TODO: Likewise.
140 * docs/html/17_intro/contribute.html: Likewise.
141 * docs/html/17_intro/headers_cc.txt: Likewise.
142 * docs/html/17_intro/howto.html: Likewise.
143 * docs/html/17_intro/libstdc++-assign.txt: Likewise.
144 * docs/html/17_intro/organization: Likewise.
145 * docs/html/17_intro/porting-howto.html: Likewise.
146 * docs/html/18_support/howto.html: Likewise.
147 * docs/html/19_diagnostics/howto.html: Likewise.
148 * docs/html/20_util/howto.html: Likewise.
149 * docs/html/21_strings/gotw29a.txt: Likewise.
150 * docs/html/21_strings/howto.html: Likewise.
151 * docs/html/21_strings/stringtok_h.txt: Likewise.
152 * docs/html/21_strings/stringtok_std_h.txt: Likewise.
153 * docs/html/22_locale/codecvt.html: Likewise.
154 * docs/html/22_locale/ctype.html: Likewise.
155 * docs/html/22_locale/howto.html: Likewise.
156 * docs/html/22_locale/locale.html: Likewise.
157 * docs/html/23_containers/howto.html: Likewise.
158 * docs/html/23_containers/wrappers_h.txt: Likewise.
159 * docs/html/24_iterators/howto.html: Likewise.
160 * docs/html/25_algorithms/howto.html: Likewise.
161 * docs/html/26_numerics/howto.html: Likewise.
162 * docs/html/27_io/howto.html: Likewise.
163 * docs/html/27_io/iostreams_hierarchy.pdf: Likewise.
164 * docs/html/ext/howto.html: Likewise.
165 * docs/html/faq/index.html: Likewise.
166 * docs/html/faq/index.txt: Likewise.
167
168 2000-12-08 Phil Edwards <pme@sources.redhat.com>
169
170 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): New conditional,
171 GLIBCPP_BUILD_LIBIO, true iff building libio.
172 * libio/Makefile.am: Use; set noinst_LTLIBRARIES empty if false.
173 * aclocal.m4: Regenerated.
174 * config.h.in: Regenerated.
175 * configure: Regenerated.
176 * libio/Makefile.in: Regenerated.
177 * libmath/Makefile.in: Regenerated.
178
179 2000-12-08 Gabriel Dos Reis <gdr@codesourcery.com>
180
181 * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove ccosl,
182 cexpl, clog10l, csinhl, ctanhl, ctanl.
183 (EXTRA_DIST): Remove ccos, ccosf, csin, csinf, ccosh, ccoshf,
184 csing, csinhf, clog10, clog10f, ctan, ctanf, ctanh, ctanhf.
185 * libmath/Makefile.in: Regenarate.
186 * libmath/ccos.c: Remove.
187 * libmath/ccosf.c: Likewise.
188 * libmath/ccosl.c: Likewise.
189 * libmath/csin.c: Likewise.
190 * libmath/csinf.c: Likewise.
191 * libmath/csinl.c: Likewise.
192 * libmath/ctan.c: Likewise.
193 * libmath/ctanf.c: Likewise.
194 * libmath/ctanl.c: Likewise.
195 * libmath/ccosh.c: Likewise.
196 * libmath/ccoshf.c: Likewise.
197 * libmath/ccoshl.c: Likewise.
198 * libmath/csinh.c: Likewise.
199 * libmath/csinhf.c: Likewise.
200 * libmath/csinhl.c: Likewise.
201 * libmath/ctanh.c: Likewise.
202 * libmath/ctanhf.c: Likewise.
203 * libmath/ctanhl.c: Likewise.
204 * libmath/cexp.c: Likewise.
205 * libmath/cexpf.c: Likewise.
206 * libmath/cexpl.c: Likewise.
207 * libmath/clog10.c: Likewise.
208 * libmath/clog10f.c: Likewise.
209 * libmath/clog10l.c: Likewise.
210 * libmath/complex-stub.h: Remove forward declaration of functions
211 mentioned above.
212
213 * include/bits/std_complex.h(tan, tanh): Define primary templates.
214 (complex<>): Remove friend declarations for tan<> and tanh<>.
215 * src/complex.cc(tan, tanh): Remove specializations.
216
217 * acinclude.m4: Remove check for ccos, ccosf, ccosl, ccosh,
218 ccoshf, ccoshl, csin, csinf, csinl, csinh, csinhf, csinhl, cexp,
219 cexpf, cexpl, ctan, ctanf, ctanl, ctanh, ctanhf, ctanhl.
220 * aclocal.m4: Regenarate.
221 * configure: Regenarate.
222
223 2000-12-08 Gabriel Dos Reis <gdr@codesourcery.com>
224
225 * acinclude.m4: Don't forget to remove check for cpowl as it is no
226 longer needed, nor is the corresponding stub existent.
227 * aclocal.m4: Regenarate.
228 * configure: Regenarate.
229
230 2000-12-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
231
232 * config/os/generic/bits/ctype_base.h (ctype_base): Change space mask.
233
234 * config/os/generic/bits/ctype_noninline.h (ctype): Remove default
235 arguments in definition.
236 * config/os/solaris/solaris2.7/bits/ctype_noninline.h (ctype): Same.
237 * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
238 * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
239 * config/os/newlib/bits/ctype_noninline.h (ctype): Same.
240 * config/os/irix/bits/ctype_noninline.h (ctype): Same.
241 * config/os/hpux/bits/ctype_noninline.h (ctype): Same.
242 * config/os/bsd/netbsd/bits/ctype_noninline.h (ctype): Same.
243 * config/os/bsd/freebsd/bits/ctype_noninline.h (ctype): Same.
244 * config/os/aix/bits/ctype_noninline.h (ctype): Same.
245
246 * include/bits/locale_facets.h: Tweak.
247
248 2000-12-06 Benjamin Kosnik <bkoz@kredhat.com>
249
250 * include/bits/locale_facets.h (ctype): Remove _Ctype_nois and
251 _Ctype and replace with common __ctype_abstract_base.
252 (ctype<wchar_t>::_M_convert_to_wmask): Move to locale.cc.
253 * config/os/gnu-linux/bits/ctype_noninline.h (ctype<char>::ctype):
254 And here.
255 * config/os/solaris/solaris2.7/bits/ctype_noninline.h (ctype): Same.
256 * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
257 * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
258 * config/os/newlib/bits/ctype_noninline.h (ctype): Same.
259 * config/os/irix/bits/ctype_noninline.h (ctype): Same.
260 * config/os/hpux/bits/ctype_noninline.h (ctype): Same.
261 * config/os/generic/bits/ctype_noninline.h (ctype): Same.
262 * config/os/aix/bits/ctype_noninline.h (ctype): Same.
263 * config/os/bsd/netbsd/bits/ctype_noninline.h (ctype): Same.
264 * config/os/bsd/freebsd/bits/ctype_noninline.h (ctype): Same.
265 * src/locale-inst.cc: Clean instantiations.
266 * src/locale.cc (ctype<char>): Add definitions here.
267 (ctype<wchar_t>::_M_wmask): Move definitions here.
268
269 * config/os/generic/bits/ctype_inline.h (ctype<char>::is):
270 Implement in a generic way, with only "C" functionality and no
271 knowlege of the target os.
272 * config/os/generic/bits/os_defines.h: Change comments to C++ style.
273 * testsuite/22_locale/ctype_char_members.cc (test01): Add tests.
274
275 * include/bits/codecvt.h (ctype_byname): Remove specializations,
276 as not required.
277 * include/bits/localefwd.h (codecvt_byname): And here.
278 * src/codecvt.cc: Remove codecvt_byname specializations.
279
280 * include/c/bits/std_cstdio.h: Include c++config.h.
281
282 2000-12-06 Phil Edwards <pme@sources.redhat.com>
283
284 * acinclude.m4 (GLIBCPP_CHECK_*_DECL_AND_LINKAGE_*): Pre-test
285 whether the cached result is present.
286 * aclocal.m4: Regenerate.
287 * configure: Regenerate.
288 * Makefile.in: Regenerate.
289 * libio/Makefile.in: Regenerate.
290 * libmath/Makefile.in: Regenerate.
291 * libsupc++/Makefile.in: Regenerate.
292 * src/Makefile.in: Regenerate.
293
294 2000-12-06 Richard Earnshaw <rearnsha@arm.com>
295
296 * configure.target (*-*-freebsd, *-*-netbsd): Correct paths to
297 os_include_dir.
298
299 2000-12-05 Jeffrey A Law <law@cygnus.com>
300
301 * configure.target (hpux): Set os_include_dir.
302 * config/os/hpux/bits/ctype_base.h: New file
303 * config/os/hpux/bits/ctype_inline.h: New file
304 * config/os/hpux/bits/ctype_noinline.h: New file
305 * config/os/hpux/bits/os_defines.h: New file
306
307 2000-12-05 Alexandre Petit-Bianco <apbianco@redhat.com>
308
309 * src/Makefile.am (libstdc++.INC): Revert for libjava builds.
310 * src/Makefile.in: Regenerate.
311
312 2000-12-05 Benjamin Kosnik <bkoz@haight.redhat.com>
313
314 * acinclude.m4 (EXTRA_CXX_FLAGS): And here.
315 * include/c/bits/std_cstdlib.h (std ): Change macro to
316 _GLIBCPP_NEED_LLDIV_T.
317 * acconfig.h: Remove unused MBSTATE_T bits.
318 * configure.in: Same.
319 * aclocal.m4: Regenerate.
320 * configure: Regenerate.
321 * config.h.in: Regenerate.
322
323 2000-12-05 Benjamin Kosnik <bkoz@fillmore.redhat.com>
324
325 * acinclude.m4: Change up to reflect new directory organization.
326 Add in bits for NetBSD.
327 * aclocal.m4: Regenerate.
328 * configure: Regenerate.
329 * config/os/bsd: New directory.
330 * config/os/netbsd: Move to...
331 * config/os/bsd/netbsd: ...here.
332 * config/os/freebsd: Move to...
333 * config/os/bsd/freebsd: ...here.
334
335 2000-12-05 Benjamin Kosnik <bkoz@haight.redhat.com>
336
337 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Check for
338 lldiv_t. Allow the use of os-specific defines while checking for
339 long-long functions by the inclusion of os_defines.h.
340 * aclocal.m4: Regenerate.
341 * configure.in: Add comments.
342 * configure: Regenerate.
343 * acconfig.h: Add _GLIBCPP_HAVE_LLDIV_T.
344 * config.h.in: Regenerate.
345 * config/os/gnu-linux/bits/os_defines.h: Fix typos and
346 duplications in comments.
347
348 2000-12-05 Richard Earnshaw <rearnsha@arm.com>
349
350 * config/os/freebsd/bits/ctype_base.h: Update comments about other
351 BSD variants.
352
353 2000-12-05 Richard Earnshaw <rearnsha@arm.com>
354
355 * config/os/freebsd/bits/*.h: Move here from config/os/bsd/bits.
356 * aclocal.m4: Adjust accordingly.
357 * configure.target: Likewise.
358 * configure: Regenerate.
359
360 2000-12-05 Richard Earnshaw <rearnsha@arm.com>
361
362 * config/cpu/arm/bits/atomicity.h: Add support for compiling Thumb
363 code.
364
365 2000-12-05 Richard Earnshaw <rearnsha@arm.com>
366
367 Support for NetBSD.
368 * aclocal.m4: Add test for NetBSD's ctype support.
369 * configure: Regenerate.
370 * configure.target: Support NetBSD.
371 * config/os/netbsd/bits/ctype_base.h: New file.
372 * config/os/netbsd/bits/ctype_inline.h: New file.
373 * config/os/netbsd/bits/ctype_noinline.h: New file.
374 * config/os/netbsd/bits/os_defines.h: New file.
375
376 2000-12-05 Gabriel Dos Reis <gdr@codesourcery.com>
377
378 * src/complex.cc (pow): Remove definitions for explicit
379 specializations.
380 * libmath/mathconf.h: Remove declarations for c_log, c_logf,
381 c_logl.
382 * libmath/complex-stub.h: Remove declarations for cpow, cpowf,
383 cpowl.
384 * libmath/cpow.c: Remove.
385 * libmath/cpowf.c: Remove.
386 * libmath/cpowl.c: Remove.
387 * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove c_logl,
388 cpowl,
389 (EXTRA_DIST): Remove c_log, c_logf, carg, cargf.
390 * libmath/Makefile.in: Regenarate.
391 * libmath/c_log.c: Remove
392 * libmath/c_logf.c: Likewise.
393 * libmath/c_logl.c: Likewise.
394 * libmath/carg.c: Likewise.
395 * libmath/cargf.c: Likewise.
396 * libmath/cargl.c: Likewise.
397 * include/bits/std_complex.h (pow): Define primary templates.
398 (complex<>): Remove friend declarations for pow<>().
399 * acinclude.m4: Remove check for c_log, c_logf, c_logl, carg,
400 cargf.
401 * aclocal.m4: Regenarate.
402 * configure: Regenarate.
403
404 2000-12-03 Joseph S. Myers <jsm28@cam.ac.uk>
405
406 * docs/configopts.html, docs/documentation.html,
407 docs/install.html, docs/17_intro/BADNAMES,
408 docs/17_intro/contribute.html, docs/17_intro/howto.html,
409 docs/18_support/howto.html, docs/19_diagnostics/howto.html,
410 docs/20_util/howto.html, docs/21_strings/howto.html,
411 docs/22_locale/howto.html, docs/23_containers/howto.html,
412 docs/24_iterators/howto.html, docs/25_algorithms/howto.html,
413 docs/26_numerics/howto.html, docs/27_io/howto.html,
414 docs/ext/howto.html, docs/faq/index.html, docs/faq/index.txt: Sync
415 with wwwdocs.
416
417 2000-12-01 Phil Edwards <pme@sources.redhat.com>
418
419 * docs/download.html: Remove.
420 * docs/footer.ihtml: Remove.
421 * docs/header.ihtml: Remove.
422 * docs/index.html: Remove.
423 * docs/links.html: Remove.
424 * docs/mail.html: Remove.
425 * docs/status.html: Remove.
426 * docs/thanks.html: Remove.
427
428 2000-12-01 Phil Edwards <pme@sources.redhat.com>
429
430 * mkcheck.in: Count static and shared results separately.
431
432 2000-12-01 Loren J. Rittle <ljrittle@acm.org>
433
434 * mkcheck.in: Correct typo.
435
436 2000-12-01 Gabriel Dos Reis <gdr@codesourcery.com>
437
438 * src/cmath.cc: Remove.
439 * src/Makefile.am (c_base_headers): Add bits/cmath.tcc.
440 (sources): Remove cmath.cc
441 * src/Makefile.in: Regenerate.
442
443 * include/c/bits/std_cmath.h (__cmath_power<>): Declare.
444 (__cmath_abs<>): New function.
445 (abs, fabs): Use __cmath_abs when no direct support is available.
446 (__pow_helper<>): New function.
447 (pow): Define here. Use __pow_helper<>.
448
449 * include/c/bits/cmath.tcc: New file.
450
451 2000-11-29 Benjamin Kosnik <bkoz@redhat.com>
452
453 Fixes for build directories with colons, AIX build problems.
454 * src/Makefile.am: Cleanups, add documentation.
455 (libstdc++.INC): Simplify rule.
456 (myinstallheaders): Consolidate install rules.
457 (myinstalldirs): New, make directores.
458 (base_headers): Subdivide based on install directory.
459 (ext_headers): New.
460 (backward_headers): New.
461 (headers): Remove.
462 (c_headers): Remove, unused.
463 (c_shadow_headers): Split up, deal with conditional usage in a
464 sane manner.
465 * src/Makefile.in: Regenerate.
466
467 2000-11-29 Phil Edwards <pme@sources.redhat.com>
468
469 Sync with the documentation from wwwdocs.
470 * docs/Makefile: New file (rebuilds FAQ text version).
471 * docs/configopts.html: Update.
472 * docs/documentation.html: Update.
473 * docs/download.html: Update.
474 * docs/index.html: Update.
475 * docs/install.html: Update.
476 * docs/links.html: Update.
477 * docs/mail.html: Update.
478 * docs/status.html: Update.
479 * docs/thanks.html: Update.
480 * docs/27_io/howto.html: Update.
481 * docs/faq/index.html: Update for 2.91.
482 * docs/faq/index.txt: Update for 2.91.
483 * docs/footer.html: Removed.
484 * docs/footer.ihtml: New file.
485 * docs/gccrebuild.html: Removed.
486 * docs/header.html: Removed.
487 * docs/header.ihtml: New file.
488
489 2000-11-29 Loren J. Rittle <ljrittle@acm.org>
490
491 * tests_flags.in: Correct typo.
492
493 2000-11-29 Gabriel Dos Reis <gdr@codesourcery.com>
494
495 * tests_flags (SH_FLAGS, ST_FLAGS): Move them back to ...
496 * mkcheck.in (SH_FLAGS, ST_FLAGS): ...here
497
498 2000-11-29 Gabriel Dos Reis <gdr@codesourcery.com>
499
500 * src/Makefile.am (sources): Add bitset.cc
501 * src/Makefile.in: Regenrate.
502
503 * include/bits/std_bitset.h (_GLIBCPP_BITSET_BITS_PER_WORD): New
504 macro. Replace __BITS_PER_WORDS throughout.
505 (__BITS_PER_WORDS): Remove.
506 (bitset<>::_M_do_find_first, bitset<>::_M_do_find_next): Move
507 definitions to src/bitset.cc.
508
509 * src/bitset.cc (bitset<>::_M_do_find_first,
510 bitset<>::_M_do_find_next): Define here.
511 (_Bit_count<>::_S_bit_count, _Find_one<>::_S_first_one): Define
512 here. Explicitly instantiate definitions.
513
514 2000-11-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
515
516 * config/cpu/powerpc/bits/atomicity.h (__exchange_and_add): Silence
517 preprocessor multi-line string warnings.
518 (__atomic_add): Likewise.
519 (__compare_and_swap): Likewise.
520 (__always_swap): Likewise.
521 (__test_and_set): Likewise.
522 * config/cpu/arm/bits/atomicity.h (__exchange_and_add): Likewise.
523 (__atomic_add): Likewise.
524 (__compare_and_swap): Likewise.
525 (__always_swap): Likewise.
526 (__test_and_set): Likewise.
527
528 2000-11-28 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
529
530 Update for 2.91 release.
531 * include/bits/c++config (__GLIBCPP__): Update.
532 * docs/17_intro/RELEASE-NOTES: Update.
533 * docs/status.html: Update, remove bogus autotools disinformation.
534
535 2000-11-27 Benjamin Kosnik <bkoz@redhat.com>
536
537 * tests_flags.in (LTCXX): Change CXX_FLAG to CXXFLAGS.
538
539 * testsuite/22_locale/ctor_copy_dtor.cc: Adjust formatting.
540 * testsuite/27_io/istream_extractor_arith.cc (test11): New
541 testcase, based on libstdc++/90.
542
543 2000-11-27 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
544
545 * config/cpu/arm/bits/atomicity.h (__exchange_and_add): Add
546 __volatile__ to asm.
547 (__atomic_add): Likewise.
548 (__compare_and_swap): Likewise.
549 (__always_swap): Likewise.
550 (__test_and_set): Likewise.
551
552 * config/cpu/powerpc/bits/atomicity.h: Replace '__ATOMICITY_INLINE'
553 with 'inline'.
554 (__exchange_and_add): Add __volatile__ to asm.
555 (__atomic_add): Likewise.
556 (__compare_and_swap): Likewise.
557 (__always_swap): Likewise.
558 (__test_and_set): Likewise.
559
560 2000-11-27 Gabriel Dos Reis <gdr@codesourcery.com>
561
562 * tests_flags.in: Update documentation to reflect the change
563 below.
564
565 2000-11-26 Benjamin Kosnik <bkoz@fillmore.constant.com>
566
567 * tests_flags.in: Export CXX, CXXFLAGS.
568 * mkcheck.in: Grab them.
569
570 2000-11-26 David Billinghurst <David.Billinghurst@riotinto.com>
571 Benjamin Kosnik <bkoz@redhat.com>
572
573 * mkcheck.in: Add exe extension to printnow executable, abstract
574 out call to this with TIMER_COMMAND.
575 * configure.target (l_glibcpp_cxxflags): Add cygwin support.
576 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Correct paths.
577 * aclocal.m4: Regenerate.
578 * configure: Regenerate.
579
580 2000-11-26 Benjamin Kosnik <bkoz@redhat.com>
581
582 * testsuite/27_io/istream_unformatted.cc (test05): Fixup.
583
584 2000-11-26 Benjamin Kosnik <bkoz@redhat.com>
585
586 * acinclude.m4: Only sanity check for compiler version when
587 configuring. More fixes for 'make clean'.
588 * aclocal.m4: Regenerate.
589 * configure: Regenerate.
590
591 2000-11-26 Gabriel Dos Reis <gdr@codesourcery.com>
592
593 * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove cabsl.c
594 * libmath/Makefile.in: Regenerate.
595 * libmath/cabs.c: Remove.
596 * libmath/cabsf.c: Likewise.
597 * libmath/cabsl.c: Likewise.
598 * libmath/complex-stub.h: Remove declarations for cabs*.
599
600 * acinclude.m4: Remove check for cabs*.
601 * aclocal.m4: Regenerate.
602
603 * Makefile.in: Regenerate.
604
605 2000-11-26 Gabriel Dos Reis <gdr@codesourcery.com>
606
607 * tests_flags.in: New file. Split out of ...
608 * mkcheck.in: ... this. Move flags computation into
609 tests_flags.in.
610 * configure.in: Add support for tests_flags.
611 * confiigure: Regenerate.
612
613 2000-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
614
615 * acinclude.m4: Change C9X references to refer to C99.
616 * aclocal.m4, configure: Regenerate.
617 * config/os/gnu-linux/bits/os_defines.h, src/complex.cc,
618 testsuite/22_locale/codecvt_wchar_t_char.cc,
619 include/bits/stl_config.h, include/c/bits/std_cwchar.h,
620 libmath/mathconf.h: Change C9X references to refer to C99.
621
622 2000-11-25 Benjamin Kosnik <bkoz@redhat.com>
623 Richard Earnshaw <rearnsha@arm.com>
624
625 * src/Makefile.am (INCLUDES): Remove unconditional use of
626 _GNU_SOURCE and _ISOC99_SOURCE macros.
627 * src/Makefile.in: Regenerate.
628
629 2000-11-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
630
631 * testsuite/22_locale/codecvt_wchar_t_char.cc (main): Add
632 _GLIBCPP_USE_WCHAR_T guards.
633
634 * configure.in (AC_OUTPUT_COMMANDS): Remove, just run scripts as
635 is, so that checks for existence of generated files actually work.
636 * configure: Regenerate.
637
638 2000-11-23 Hans-Peter Nilsson <hp@bitrange.com>
639
640 * config/os/gnu-linux/bits/os_defines.h: Include <features.h>.
641 If not glibc 2.1 or higher, include <gnu/types.h> and define
642 __off64_t as __loff_t and #define __THROW as empty.
643
644 * libio/libio.h [__P]: Move __THROW and __PMT into their own
645 ifndef:s.
646
647 2000-11-23 David Edelsohn <edelsohn@gnu.org>
648
649 * porting.texi: Expand libtool information.
650
651 2000-11-23 Gabriel Dos Reis <gdr@codesourcery.com>
652
653 * include/bits/ios_base.h (ios_base::failure::~failure,
654 ios_base::failure::what): Move defintion to ...
655
656 * src/ios.cc (ios_base::failure::~failure): ... here.
657 src/ios.cc (ios::failure::what): Likewise.
658
659 2000-11-22 Benjamin Kosnik <bkoz@redhat.com>
660
661 Make deprecated strstream header consistent with new and new.h.
662 * include/backward/strstream.h: Add. Use using declarations to
663 scope strstreambuf, istrstream, ostrstream, strstream to global
664 scope.
665 * include/backward/strstream: Remove using declarations.
666 * src/Makefile.am (base_headers): Add strstream.
667 * src/Makefile.in: Regenerate.
668
669 * include/backward/new.h (_CPP_BACKWARD_NEW_H): Change macro guard
670 to be consistent with other headers.
671
672 2000-11-22 Richard Henderson <rth@redhat.com>
673
674 * config/os/bsd/bits/ctype_inline.h (is): Fix order of expressions.
675
676 2000-11-22 Phil Edwards <pme@sources.redhat.com>
677
678 * porting.texi: Minor tweaks to vocabulary.
679
680 2000-11-22 Loren J. Rittle <ljrittle@acm.org>
681
682 * include/backward/strstream.h: Reinstate the `using'
683 statements.
684
685 2000-11-22 Loren J. Rittle <ljrittle@acm.org>
686
687 * src/Makefile.am (base_headers): Add missing backwards headers.
688 * src/Makefile.in: Regenerate.
689
690 2000-11-21 scott snyder <snyder@fnal.gov>
691
692 * config/c_io_stdio.cc (seekoff): Fix return value.
693 (seekpos): Likewise.
694 (sys_seek): Likewise.
695
696 2000-11-21 Loren J. Rittle <ljrittle@acm.org>
697
698 * mkcheck.in (explanation): Retain output of all failing
699 compiles. Don't add gratuitous space to the log file.
700
701 2000-11-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
702
703 * src/strstream.cc: Adjust includes.
704 * src/Makefile.am (base_headers): Remove std_strstream.h, add
705 backwards/strstream.h.
706 (std_headers): Remove strstream.
707 * src/Makefile.in: Regenerate.
708 * libsupc++/Makefile.am (headers): Remove new.h
709 * libsupc++/Makefile.in: Regenerate.
710 * include/std/strstream: Remove.
711 * include/backward/strstream.h: Replace with...
712 * include/bits/std_strstream.h: ...this. Move.
713 * include/backward/complex.h: Remove SGIisms.
714 * include/backward/streambuf.h: Same.
715 * include/backward/stream.h: Same.
716 * include/backward/ostream.h: Same.
717 * include/backward/istream.h: Same.
718 * include/backward/iostream.h: Same.
719 * include/backward/iomanip.h: Same.
720 * include/backward/fstream.h: Same.
721 * libsupc++/new.h: Add using declarations for bad_alloc,
722 nothrow_t, and nothrow, move to ...
723 * include/backward/new.h: ...here.
724
725 2000-11-21 Mark Mitchell <mark@codesourcery.com>
726
727 * porting.texi: New file.
728
729 2000-11-21 Branko Cibej <brankoe@xbc.nu>
730
731 * config/os/solaris/solaris2.6/bits/os_defines.h: Define
732 _XOPEN_SOURCE, _LARGEFILE64_SOURCE, __EXTENSIONS__, __off_t,
733 __off64_t and __ssize_t.
734 * config/os/solaris/solaris2.5/bits/os_defines.h: For now, use the
735 same configuration as above.
736
737 2000-11-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
738
739 * acinclude.m4 (AC_LC_MESSAGES): Check for locale.h.
740 * aclocal.m4: Regenerate.
741 * configure: Renerate.
742
743 2000-11-20 Benjamin Kosnik <bkoz@redhat.com>
744
745 * mkcheck.in (explanation): Don't paste output of passing compiles
746 into log file. Use -static. Get version info.
747
748 * testsuite/23_containers/vector_ctor.cc (test02): Fix thinko.
749
750 2000-11-20 Gabriel Dos Reis <gdr@codesourcery.com>
751
752 * include/bits/std_complex.h (complex<double>): Constructor
753 complex<double>::complex(const complex<float>&) is not explicit;
754 since it is a promotion.
755 (complex<long double>): Constructors taking complex<float> and
756 complex<double> are not explicit.
757
758 2000-11-20 Benjamin Kosnik <bkoz@redhat.com>
759
760 * include/bits/std_complex.h: Tweaks, include cmath for abs overloads.
761 * src/complex.cc: Remove cmath include, formatting tweaks, remove
762 dead code.
763 * include/c/bits/std_cmath.h: Formatting tweaks.
764 * testsuite/26_numerics/complex_value.cc: New file, for catching
765 bits gleaned from libstdc++/106.
766
767 * testsuite/23_containers/vector_ctor.cc (test02): Add test from
768 libstdc++/102.
769
770 2000-11-20 Joseph S. Myers <jsm28@cam.ac.uk>
771
772 * include/bits/c++config, include/bits/ios_base.h,
773 include/bits/std_streambuf.h: Correct spelling of "deprecated".
774
775 2000-11-19 Mark Mitchell <mark@codesourcery.com>
776
777 * libsupc++/exception_support.cc (__throw_bad_cast): Name it
778 __cxa_bad_cast under the new ABI.
779 (__throw_bad_typeid): Name it __cxa_bad_typeid under the new ABI.
780 * libsupc++/pure.cc (__pure_virtual): Name it __cxa_pure_virtual
781 under the new ABI.
782
783 2000-11-18 Mark Mitchell <mark@codesourcery.com>
784
785 * libsupc++/exception_support.h: New header file.
786 * libsupc++/vec.cc: Include it.
787 (__cxa_vec_new2): Recatch exceptions before rethrows.
788 (__cxa_vec_new3): Likewise.
789 (__cxa_vec_ctor): Likewise.
790 (__cxa_vec_cctor): Likewise.
791 (__cxa_vec_dtor): Likewise.
792 (__cxa_vec_delete2): Likewise.
793 (__cxa_vec_delete3): Likewise.
794
795 2000-11-17 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
796
797 * include/bits/stl_tree.h: Overload operators == and != to be able
798 to handle the case (const_iterator,iterator) and
799 (iterator,const_iterator), thus fixing libstdc++/737 and the like.
800 * testsuite/23_containers/map_operators.cc (test02): New tests.
801
802 2000-11-17 Loren J. Rittle <ljrittle@acm.org>
803
804 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Correct last patch
805 to ``make --enable-cstdio=stdio the default''.
806 * libstdc++-v3/aclocal.m4: Rebuilt.
807 * libstdc++-v3/configure: Rebuilt.
808
809 2000-11-17 Phil Edwards <pme@sources.redhat.com>
810
811 * acinclude.m4 (GLIBCPP_ENABLE_ATOMICITY): Move switch statement
812 contents to...
813 * configure.target: ...here. Enable generic atomic ops, and warn.
814 * aclocal.m4: Regenerated.
815 * configure: Ditto.
816 * Makefile.in: Ditto.
817 * libio/Makefile.in: Ditto.
818 * libmath/Makefile.in: Ditto.
819 * libsupc++/Makefile.in: Ditto.
820 * src/Makefile.in: Ditto.
821
822 2000-11-16 Loren J. Rittle <ljrittle@acm.org>
823
824 * include/bits/locale_facets.tcc (num_get<_CharT,
825 _InIter>::do_get(...)): Add missing typename keyword.
826
827 2000-11-16 Mark Mitchell <mark@codesourcery.com>
828
829 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Make
830 --enable-cstdio=stdio the default. Disable wide character support
831 in that event.
832 * configure.in: Move GLIBCPP_ENABLE_C_MBCHAR after
833 (GLIBCPP_ENABLE_CSTDIO).
834 * config/c_io_stdio.h: Don't include <libio.h>, don't define
835 __c_wfile_type.
836 * aclocal.m4: Regenerated.
837 * configure: Likewise.
838 * Makefile.in: Likewise.
839 * libio/Makefile.in: Likewise.
840 * libmath/Makefile.in: Likewise.
841 * libsupc++/Makefile.in: Likewise.
842 * src/Makefile.in: Likewise.
843
844 2000-11-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
845
846 * config/c_io_stdio.h: Include stddef.h.
847
848 2000-11-16 Mark Mitchell <mark@codesourcery.com>
849
850 * config/c_io_stdio.h (streamsize): Make it a typedef for
851 ptrdiff_t.
852 (wstreamsize): Likewise.
853
854 * config/c_io_stdio.h: Include libio.h.
855
856 2000-11-15 Mark P Mitchell <mark@codesourcery.com>
857
858 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Substitute libio_la.
859 * src/Makefile.am (libstdc___la_LIBADD): Use it.
860 * aclocal.m4: Regenerated.
861 * configure: Likewise.
862 * Makefile.in: Likewise.
863 * libio/Makefile.in: Likewise.
864 * libmath/Makefile.in: Likewise.
865 * libsupc++/Makefile.in: Likewise.
866 * src/Makfile.in: Likewise.
867
868 2000-11-15 Mark Mitchell <mark@codesourcery.com>
869
870 * mkcheckin.in: Move check for bash version 2 later in the file.
871
872 * include/bits/basic_string.h (basic_string::_Rep::_S_max_size):
873 Make it const.
874 (basic_string::_Rep::_S_terminal): Likewise.
875 * include/bits/string.tcc (basic_string::_Rep::_S_max_size):
876 Likewise.
877 (basic_string::_Rep::_S_terminal): Likewise.
878
879 2000-11-15 David Billinghurst <David.Billinghurst@riotinto.com>
880
881 * mkcheck.in: Add function size_command() for irix.
882
883 2000-11-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
884
885 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPOR): Set LIBS back to
886 initial value.
887 (GLIBCPP_EXPORT_INCLUDES): Only export TOPLEVEL_INCLUDES if
888 building a canadian cross. This should fix the remaining java
889 build issues.
890 * aclocal.m4: Regenerate.
891 * configure: Regenerate.
892
893 * include/bits/c++config (__GLIBCPP__): Set release version for 2.91.
894
895 2000-11-14 Phil Edwards <pme@sources.redhat.com>
896
897 * mkcheck.in: On a platform where we don't know how to extract
898 section sizes, just set them to zero. Use old method of reading
899 file contents.
900
901 2000-11-13 Loren J. Rittle <ljrittle@acm.org>
902
903 * config/c_io_stdio.h: Don't define __c_wfile_type
904 when _GLIBCPP_USE_WCHAR_T is not defined.
905
906 2000-11-13 Phil Edwards <pme@sources.redhat.com>
907
908 * acinclude.m4 (GLIBCPP_CHECK_TARGET): New macro, replacing
909 GLIBCPP_CHECK_CPU and GLIBCPP_CHECK_OS, sourcing configure.target.
910 (GLIBCPP_CONFIGURE): Call new macro here.
911 * configure.host: Cleanup.
912 * configure.in: Remove those two macros.
913 * configure.target: New file.
914 * aclocal.m4: Regenerated.
915 * configure: Ditto.
916 * Makefile.in: Ditto.
917 * libio/Makefile.in: Ditto.
918 * libmath/Makefile.in: Ditto.
919 * libsupc++/Makefile.in: Ditto.
920 * src/Makefile.in: Ditto.
921
922 * mkcheck.in: Use libtool. Split things out into functions.
923
924 2000-11-12 Alexandre Petit-Bianco <apbianco@cygnus.com>
925
926 * Makefile.am (tmp-libstdsc++.INC:): Do not use -I$(top_builddir).
927 * Makefile.in: Regenerate.
928
929 2000-11-12 David Edelsohn <edelsohn@gnu.org>
930
931 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Add test for
932 libiconv.a providing wchar_t support functions.
933 * aclocal.m4: Regenerate.
934
935 2000-11-12 Loren J. Rittle <ljrittle@acm.org>
936
937 * acinclude.m4 (GLIBCPP_ENABLE_ATOMICITY): Handle FreeBSD.
938 * aclocal.m4, configure: Rebuilt.
939
940 2000-11-12 Brent Verner <brent@rcfile.org>
941
942 * include/c_std/bits/wrap_langinfo.h: New file.
943 * include/c_std/langinfo.h: New file.
944 * include/bits/codecvt.h (__enc_trants::__enc_traits()): Bring in
945 CODESET from _C_legacy::CODESET if using shadow headers.
946 * src/Makefile.am: Add new files.
947 * src/Makefile.in: Regenerate.
948
949 2000-11-12 Mark Mitchell <mark@codesourcery.com>
950
951 * include/c/bits/std_cmath.h (abs): Change extern "C" declaration
952 of `abs (double)' to ...
953 (fabs): this.
954
955 * config/os/solaris/solaris2.7/bits/os_defines.h: Define
956 __EXTENSIONS__.
957
958 2000-11-11 Mark P Mitchell <mark@codesourcery.com>
959
960 * include/bits/basic_file.h (__basic_file): Don't use __c_wfile_type
961 when _GLIBCPP_USE_WCHAR_T is not defined.
962
963 2000-11-10 Phil Edwards <pme@sources.redhat.com>
964
965 * include/bits/codecvt.h (__iconv_adaptor): New adaptor function,
966 courtesy of Alexandre Oliva, to handle const/non-const signatures.
967 (codecvt::do_out): Use.
968 (codecvt::do_in): And here.
969
970 2000-11-10 Gabriel Dos Reis <gdr@codesourcery.com>
971
972 * include/bits/cpp_type_traits.h: Fix typos. Adjust formatting.
973
974 2000-11-10 Gabriel Dos Reis <gdr@codesourcery.com>
975
976 * include/bits/localefwd.h (_Count_ones<>::_S_halfcount,
977 _Count_ones<>::_S_count): Turn into enumerators.
978
979 2000-11-08 Mark Mitchell <mark@codesourcery.com>
980
981 * include/bits/codecvt.h (codecvt::do_out): Make it const-correct.
982 (codecvt::do_in): Likewise.
983
984 2000-11-08 David Edelsohn <edelsohn@gnu.org>
985
986 * src/locale-inst.cc: Add explicit instantiations of
987 _M_fill_insert and fill_n<..., unsigned long,...> .
988
989 2000-11-06 Gabriel Dos Reis <gdr@codesourcery.com>
990
991 * include/bits/std_complex.h (conj): Undo double removal.
992
993 2000-11-06 Alexandre Oliva <aoliva@redhat.com>
994
995 * acinclude.m4 (LIB_AC_PROG_CXX): Remove CXX from the list of
996 alternatives for CXX_libstdcxx, now that it is useless.
997 * aclocal.m4, configure: Rebuilt.
998
999 2000-11-04 Mark Mitchell <mark@codesourcery.com>
1000
1001 * acinclude.m4 (LIB_AC_PROG_CXX): Set CXX_libstdcxx from CXX.
1002 * aclocal.m4: Regenerated.
1003 * configure: Likewise.
1004
1005 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Fix punctuation in
1006 use of `test'.
1007 * aclocal.m4: Regenerated.
1008 * configure: Likewise.
1009
1010 2000-11-04 Alexandre Oliva <aoliva@redhat.com>
1011
1012 * acinclude.m4 (CXX): Prevent it from being cached.
1013 * aclocal.m4, configure, */Makefile.in: Rebuilt.
1014
1015 2000-11-03 David Edelsohn <dje@watson.ibm.com>
1016
1017 * acinclude.m4 (GLIBCPP_CHECK_OS): Add AIX target selecting threads
1018 flag based on multilib definition of $CXX.
1019 * mknumeric_limits (LDFLAGS): Add AIX target linking with pthreads
1020 based on multilib definition of $CXX.
1021 * config/os/aix/bits/os_defines.h (_G_USING_THUNKS): Define as 0.
1022
1023 2000-11-03 Phil Edwards <pme@sources.redhat.com>
1024
1025 * acinclude.m4: Cleanups.
1026 * aclocal.m4: Regenerated.
1027 * configure: Ditto.
1028 * Makefile.in: Ditto.
1029 * libio/Makefile.in: Ditto.
1030 * libmath/Makefile.in: Ditto.
1031 * libsupc++/Makefile.in: Ditto.
1032 * src/Makefile.in: Ditto.
1033
1034 * docs/install.html: Removal of EGCS.
1035 * docs/23_containers/wrappers_h.txt: Likewise.
1036 * docs/faq/index.html: Likewise.
1037 * docs/faq/index.txt: Regenerated.
1038 * docs/thanks.html: More people.
1039
1040 2000-11-03 David Edelsohn <edelsohn@gnu.org>
1041
1042 * include/c/bits/std_cwchar.h: Undefine macro that conflicts
1043 with function name defined in this file.
1044
1045 Thu Nov 2 23:19:20 2000 Mark P Mitchell <mark@codesourcery.com>
1046
1047 * include/c/bits/std_cctype.h: Undefine macros that conflict
1048 with function names defined in this file.
1049 * include/c/bits/std_cstdio.h: Likewise.
1050
1051 2000-11-02 Mark Mitchell <mark@codesourcery.com>
1052
1053 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Fix typo.
1054
1055 Thu Nov 2 10:11:45 2000 Mark P Mitchell <mark@codesourcery.com>
1056
1057 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Add support for IRIX.
1058 * aclocal.m4: Regenerated.
1059 * Makefile.in: Regenerated.
1060 * libio/Makefile.in: Likewise.
1061 * libmath/Makefile.in: Likewise.
1062 * libsupc++/Makefile.in: Likewise.
1063 * src/Makefile.in: Likewise.
1064 * configure: Likewise.
1065 * config/os/irix/bits/ctype_base.h: Revise.
1066 * config/os/irix/bits/ctype_inline.h: Likewise.
1067 * config/os/irix/bits/ctype_noninline.h: Likewise.
1068
1069 * testsuite/22_locale/codecvt_unicode_char.cc: Don't run it
1070 if not _GLIBCPP_USE_WCHAR_T.
1071 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Likewise.
1072 * testsuite/22_locale/ctor_copy_dtor.cc: Likewise.
1073 * testsuite/22_locale/ctype_wchar_t_members.cc: Likewise.
1074
1075 * mkcheck.in: Fix echoing of -rpath option.
1076
1077 * config/os/irix/bits/atomicity.h (_Atomic_word): Make it a
1078 signed type.
1079 (__exchange_aand_add): Adjust accordingly.
1080 (__atomic_add): Likewise.
1081
1082 2000-11-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1083
1084 * src/locale.cc: Match orderings for static members.
1085 * include/bits/fstream.tcc: Fixes for cin.
1086
1087 2000-11-02 Gabriel Dos Reis <gdr@codesourcery.com>
1088
1089 * include/bits/std_complex.h (complex<>): Remove (cos<>, cosh<>,
1090 exp<>, log<>, log<>, sin, sinh<>) friend declarations.
1091 (cos, cosh, sin, sinh): Define primary templates.
1092
1093 * src/complex.cc (cos<>, cosh<>, sin<>, sinh<>): Comment out
1094 definitions.
1095
1096 2000-11-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1097
1098 * bits/basic_file.h (_M_open_mode): Change signature, move
1099 specializations to..
1100 * config/c_io_libio.cc: ...here.
1101 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add sdtio option, remove wince.
1102 * aclocal.m4: Regenerate.
1103 * configure: Regenerate.
1104 * config/c_io_stdio.h: New file.
1105 * config/c_io_stdio.cc: New file.
1106 * docs/configopts.html: Modify documentation.
1107
1108 2000-10-31 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1109
1110 * include/c/bits/std_cwctype.h: Add more undefs.
1111
1112 2000-10-31 Gabriel Dos Reis <gdr@codesourcery.com>
1113
1114 * include/bits/std_complex.h (norm): Forward declare.
1115 (complex<>): Comment out friend declaration of conj<>.
1116 (conj<>): Comment out specialization.
1117 (exp, log, log10): Define primary templates.
1118
1119 * src/complex.cc (exp<>, log<>, log10<>): Comment out
1120 specializations.
1121
1122 2000-10-31 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1123
1124 * include/bits/std_complex.h: Remove duplicate definition of conj.
1125 * include/c/bits/std_cwctype.h: Consistent placement of undefs.
1126
1127 2000-10-31 Gabriel Dos Reis <gdr@codesourcery.com>
1128
1129 * src/complex.cc (arg, polar): Comment out specializations.
1130
1131 * include/bits/std_complex.h (complex<>): Remove arg<> friend
1132 declaration.
1133 (arg): Define primary template.
1134 (polar): Likewise.
1135 (conj): Likewise.
1136
1137 2000-10-31 Gabriel Dos Reis <gdr@codesourcery.com>
1138
1139 * include/c/bits/std_cwctype.h: #undef possible function-like
1140 macro definitions of iswxxx functions, which might be brought in
1141 by <wctype.h>. Those macro definitions prevent build on some
1142 linux-based systems.
1143
1144 * include/bits/std_complex.h (complex<>): Comment out friend
1145 declarations of abs<> specializations.
1146 (abs): Define primary template.
1147
1148 * src/complex.cc (abs): Comment out specialization definition.
1149
1150 2000-10-30 Phil Edwards <pme@sources.redhat.com>
1151
1152 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Raise debugging level from
1153 the default of 2 to 3.
1154 * configure.in: Fix minor typos. SUBST the values of enable_shared
1155 and enable_static so that mkcheck will be aware of them. Put the
1156 test for gconv.h in with all the other header tests.
1157 * aclocal.m4: Regenerate.
1158 * configure: Ditto.
1159 * Makefile.in: Ditto.
1160 * libio/Makefile.in: Ditto.
1161 * libmath/Makefile.in: Ditto.
1162 * libsupc++/Makefile.in: Ditto.
1163 * src/Makefile.in: Ditto.
1164
1165 * config/os/solaris/solaris2.7/bits/os_defines.h: Define
1166 _G_USING_THUNKS to 0.
1167
1168 2000-10-30 Benjamin Kosnik <bkoz@redhat.com>
1169
1170 * src/complex_io.cc : Remove ancient defines.
1171 * config/os/gnu-linux/bits/os_defines.h: Add defines.
1172 * libsupc++/tinfo2.cc: Change to cstddef.
1173
1174 * include/bits/codecvt.h: Add include of c++config.h, so that
1175 __USE_GNU gets defined. (Important for alpha.)
1176
1177 * include/c/bits/std_cwctype.h: Same.
1178 * include/c/bits/std_ctime.h: And here.
1179 * include/c/bits/std_cstdarg.h: Same.
1180 * include/c/bits/std_csignal.h: Same.
1181 * include/c/bits/std_csetjmp.h: Same.
1182 * include/c/bits/std_clocale.h: Same.
1183 * include/c/bits/std_climits.h: Touch.
1184 * include/c/bits/std_cfloat.h: Same.
1185 * include/c/bits/std_cerrno.h: Same.
1186 * include/c/bits/std_cwchar.h: Same.
1187 * include/c/bits/std_cassert.h: Same.
1188 * include/c/bits/std_cctype.h: Same.
1189 * include/c/bits/std_cstddef.h: And here.
1190 * include/c/bits/std_cstdlib.h: And here.
1191 * include/c/bits/std_cstdio.h: Same.
1192 * include/c/bits/std_cstring.h: Add names to namespace std::.
1193
1194 * include/bits/c++config (_GNU_SOURCE): Move linux-specific macros
1195 from here...
1196 (_ISOC99_SOURCE): And this one....
1197 * config/os/gnu-linux/bits/os_defines.h: ...to here.
1198
1199 * include/bits/codecvt.h (codecvt<_InternT, _ExternT,
1200 __enc_traits>::do_in): Don't cast to const, this is a bug in glibc
1201 prior to 2.2.
1202 (codecvt<_InternT, _ExternT, __enc_traits>::do_out): Same.
1203 * include/c/bits/std_cwchar.h: Add using declarations for mbstate_t.
1204
1205 2000-10-30 Steven King <sxking@uswest.net>
1206
1207 * include/bits/codecvt.h: Add cast.
1208 * include/c_std/stdio.h: Re-add printf using declaration.
1209 * include/c_std/bits/std_cstdio.h: Same
1210 * testsuite/22_locale/codecvt_wchar_t_char.cc: Fixup testsuite.
1211 * testsuite/22_locale/ctor_copy_dtor.cc: Same.
1212 * testsuite/22_locale/facet.cc: Same.
1213 * testsuite/22_locale/global_templates.cc: Same.
1214 * testsuite/22_locale/operators.cc: Same.
1215 * testsuite/22_locale/static_members.cc: Same.
1216 * testsuite/26_numerics/c_math.cc: Same.
1217 * testsuite/26_numerics/complex_inserters_extractors.cc: Same.
1218 * testsuite/27_io/fpos.cc: Same.
1219 * testsuite/27_io/istream_extractor_arith.cc: Same.
1220 * testsuite/27_io/istream_unformatted.cc: Same.
1221 * testsuite/27_io/ostream_inserter_arith.cc: Same.
1222 * testsuite/27_io/streambuf.cc: Same.
1223
1224 2000-10-30 Mark Mitchell <mark@codesourcery.com>
1225
1226 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT): Check
1227 for cabs, cabsf, and cabsl, too.
1228 * aclocal.m4: Regenerated.
1229 * config.h.in: Likewise.
1230 * configure: Likewise.
1231 * libmath/Makefile.am (libmath_la_SOURCES): Remove cabs.c and
1232 cabsf.c.
1233 * libmath/Makefile.in: Regenerated.
1234 * libmath/complex-stub.h (cabs): Don't declare if the system
1235 already provides this function.
1236 (cabsf): Likewise.
1237 (cabsl): Likewise.
1238 * src/complex.cc (abs): Directly use `hypot' since we can't call
1239 cabs on IRIX.
1240
1241 2000-10-30 Joseph S. Myers <jsm28@cam.ac.uk>
1242
1243 * acinclude.m4: Update URL on egcs.cygnus.com to point to
1244 gcc.gnu.org.
1245 * aclocal.m4, configure: Regenerate.
1246 * src/gen-num-limits.cc, include/bits/c++config,
1247 include/bits/stl_config.h: Remove EGCS references.
1248
1249 2000-10-29 Mark Mitchell <mark@codesourcery.com>
1250
1251 * mkcheck.in (test_file): Use -rpath, rather than --rpath, when
1252 building shared executables.
1253
1254 2000-10-29 Mark Harig <mharig@landmark.com>
1255
1256 * src/Makefile.am: Change logic for include dir options.
1257 * src/Makefile.in: Regenerate.
1258 * libsupc++/Makefile.am: Ditto.
1259 * libsupc++/Makefile.in: Regenerate.
1260
1261 2000-10-29 Benjamin Kosnik <bkoz@redhat.com>
1262
1263 * configure.in: Simplify use of AC_CACHE_SAVE. Put linked files
1264 in $(top_builddir)/include/bits, not $(top_builddir)/bits, to help
1265 with libgcj build issues and improve consistency with the source
1266 directory's include directory setup.
1267 * configure: Regenerate.
1268 * acinclude.m4: Same here.
1269 * aclocal.m4: Regenerate.
1270 * mknumeric_limits (OUT_H): Also change paths here.
1271 * mkcheck.in (C_DIR): And here.
1272 * mkc++config (OUT_H): And here.
1273 * libmath/Makefile.am (INCLUDES): And here.
1274 * src/Makefile.am (INCLUDES): Change to $(top_builddir)/include.
1275 * libio/Makefile.am: Ditto.
1276 * libsupc++/Makefile.am (INCLUDES): Ditto.
1277
1278 2000-10-29 Mark Mitchell <mark@codesourcery.com>
1279
1280 * config/c_io_libio.cc (basic_file<char>::__basic_file):
1281 Don't pass a NULL _IO_wide_data to _IO_no_init when
1282 _GLIBCPP_USE_WCHAR_T is not defined.
1283 * config/c_io_libio.h (_IO_codecvt): Don't declare when
1284 _GLIBCPP_USE_WCHAR_T is not defined.
1285 * config/c_io_libio_codecvt.c: Don't compile it
1286 when _GLIBCPP_USE_WCHAR_T is not defined.
1287 * include/bits/codecvt.h (codecvt<_InternT, _ExternT, __enc_traits):
1288 Don't define this specialization when _GLIBCPP_USE_WCHAR_T
1289 is not defined.
1290 * include/bits/locale_facets.h (<bits/std_cwctype.h>): Don't
1291 include it when _GLIBCPP_USE_WCHAR_T is not defined.
1292 * src/codecvt.cc (__enc_traits::_S_max_size): Don't define
1293 when _GLIBCPP_USE_WCHAR_T is not defined.
1294 * src/localename.cc (locale::_Impl::_M_construct_collate):
1295 Don't call wide-character functions when _GLIBCPP_USE_WCHAR_T is
1296 not defined.
1297 (locale::_Impl::_M_construct_ctype): Likewise.
1298 (locale::_Impl::_M_construct_monetary): Likewise.
1299 (locale::_Impl::_M_construct_numeric): Likewise.
1300 (locale::_Impl::_M_construct_time): Likewise.
1301 (locale::_Impl::_M_construct_messages): Likewise.
1302
1303 * acinclude.m4 (GLIBCPP_ENABLE_ATOMICITY): Handle IRIX.
1304 * aclocal.m4: Regenerated.
1305 * configure: Likewise.
1306 * config/os/irix/bits/atomicity.h: New file.
1307 * config/os/irix/bits/os_defines.h (_POSIX_SOURCE): Undefine.
1308 (__off_t): Define.
1309 (__off64_t): Likewise.
1310 (__ssize_t): Likewise.
1311 (_G_USING_THUNKS): Define to zero.
1312
1313 2000-10-28 Mark Mitchell <mark@codesourcery.com>
1314
1315 * src/string-inst.cc (basic_string<C>::npos): Explicitly
1316 instantiate it.
1317
1318 2000-10-26 Benjamin Kosnik <bkoz@redhat.com>
1319
1320 * include/c/bits/std_cmath.h: Fix double declarations in namespace std.
1321
1322 Clean up naming, consistency in "C" library autoconf testing.
1323 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): For consistency, change to
1324 GLIBCPP_CHECK_CTYPE_SUPPORT.
1325 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add.
1326 * aclocal.m4: Regenerate.
1327 * configure.in: And here.
1328 Add call to GLIBCPP_CHECK_STDLIB_SUPPORT.
1329 * configure: Regenerate.
1330
1331 2000-10-26 David Edelsohn <edelsohn@gnu.org>
1332
1333 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_2): New macro.
1334 (GLIBCPP_CHECK_MATH_SUPPORT): Use it to test for strtold.
1335
1336 2000-10-26 Phil Edwards <pme@sources.redhat.com>
1337 David Edelsohn <dje@watson.ibm.com>
1338
1339 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Comment out
1340 --gc-sections stuff entirely to avoid misleading people.
1341 (GLIBCPP_ENABLE_CSTDIO): Merge need_libio and need_xtra_libio.
1342 * libio/Makefile.am (LIBIO_SRCS,LIBIO_WSRCS,LIBIO_XTRA_SRCS):
1343 Rearrange and merge.
1344 * libio/libio.h: Simplify, make fewer assumptions. Define those
1345 macros which must be defined.
1346 * config/os/solaris/solaris2.7/bits/os_defines.h: Simplify as a
1347 result.
1348
1349 2000-10-26 Mark Mitchell <mark@codesourcery.com>
1350
1351 * include/backward/streambuf.h: New file.
1352
1353 2000-10-26 David Edelsohn <dje@watson.ibm.com>
1354
1355 * config/os/aix/bits/ctype_inline.h (is): Use __OBJ_DATA directly.
1356 * config/os/aix/bits/ctype_noninline.h (do_tolower): Fix typo.
1357 * config/os/aix/bits/os_defines.h: Add AIX defines.
1358
1359 2000-10-26 Benjamin Kosnik <bkoz@redhat.com>
1360
1361 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Remove.
1362 * aclocal.m4: Regenerate.
1363 * configure.in: Remove GLIBCPP_ENABLE_LONG_DOUBLE.
1364 * configure: Regenerate.
1365 * docs/configopts.html: Remove.
1366 * src/complexl.cc: Revert.
1367 * config.h.in: Remove.
1368 * include/c_std/bits/std_cmath.h: Remove guards based on
1369 _GLIBCPP_USE_LONG_DOUBLE.
1370 * include/c/bits/std_cmath.h: Same. Format. Match c_std behavior
1371 with respect to long double signatures.
1372
1373 * config/os/aix/bits/ctype_noninline.h (ctype): Remove throw
1374 specification.
1375 * config/os/newlib/bits/ctype_noninline.h (ctype): And here.
1376 * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
1377 * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
1378 * config/os/generic/bits/ctype_noninline.h (ctype): Same.
1379 * config/os/bsd/bits/ctype_noninline.h (ctype): Same.
1380
1381 2000-10-26 Gabriel Dos Reis <gdr@codesourcery.com>
1382
1383 * include/bits/std_valarray.h (valarray::valarray): Fix thinko.
1384 Use __valarray_copy_construct only where appropriate.
1385
1386 2000-10-25 Mark Mitchell <mark@codesourcery.com>
1387
1388 * Makefile.in (check): Don't make mkcheck executable.
1389 (check-install): Likewise.
1390 * configure.in (AC_OUTPUT): Make mkcheck executable.
1391 * mkcheck.in (top_srcdir): New variable.
1392 (INC_PATH): Set the path to the backward and ext directories
1393 correctly.
1394
1395 2000-10-25 Phil Edwards <pme@sources.redhat.com>
1396
1397 * configure.in: Check for gconv.h.
1398 * libio/wfileops.c: Wrap gconv.h in HAVE_GCONV_H.
1399
1400 * config/c_io_libio_codecvt.c: Change __mbstate_t to __c_mbstate_t.
1401 * libio/_G_config.h: And here.
1402 * libio/iofwide.c: And here.
1403 * libio/libio.h: And here.
1404
1405 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Remove
1406 exception specification to match declaration.
1407 * include/bits/locale_facets.tcc: Include bits/std_clocale.h.
1408
1409 2000-10-24 Mark Harig <mharig@landmark.com>
1410
1411 * docs/configopts.html: Added documentation for the
1412 "--enable-version-specific-runtime-libs" and
1413 "--with-gxx-include-dir" configuration switches.
1414
1415 2000-10-24 Benjamin Kosnik <bkoz@redhat.com>
1416
1417 * include/bits/stl_pair.h (make_pair): Add LWG solution.
1418
1419 * testsuite/21_strings/compare.cc (test01): Inject namespace std
1420 into the mix.
1421
1422 * mkcheck.in (MAX_MEM_USAGE): Bump up to 3072. Strangely enough,
1423 this works.
1424
1425 2000-10-24 Levente Farkas <lfarkas@mindmaker.hu>
1426
1427 * include/bits/std_bitset.h (_M_do_find_next): Fix typo.
1428
1429 2000-10-24 Phil Edwards <pme@sources.redhat.com>
1430
1431 * acconfig.h: List _GLIBCPP_USE_THREADS.
1432 * acinclude.m4: General formatting cleanup (tabs/spaces), typo
1433 correction, etc. Add comments about following *real* changes
1434 where they are used.
1435 (GLIBCPP_ENABLE_C_MBCHAR): New test...
1436 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): ...results used here.
1437 (GLIBCPP_ENABLE_CSTDIO): Define need_wlibio iff wide characters
1438 are requested.
1439 (GLIBCPP_ENABLE_THREADS): If threads are used, define new
1440 macro _GLIBCPP_USE_THREADS in c++config.h.
1441 (GLIBCPP_ENABLE_SHADOW): For C_INCLUDE_DIR, change () to {} as
1442 this is used in both makefiles and shell scripts (mkcheck).
1443 * configure.in: Call GLIBCPP_ENABLE_C_MBCHAR.
1444
1445 * libio/_G_config.h: Wrap _IO_MTSAFE_IO in _GLIBCPP_USE_THREADS.
1446 * config/c_io_libio.h: In nonthreaded case, typedef __c_lock to
1447 something harmless, like int.
1448
1449 * config/os/aix/bits/os_defines.h: Guard with _GLIBCPP_OS_DEFINES,
1450 add comment/instructions.
1451 * config/os/bsd/bits/os_defines.h: Ditto.
1452 * config/os/generic/bits/os_defines.h: Ditto.
1453 * config/os/gnu-linux/bits/os_defines.h: Ditto.
1454 * config/os/irix/bits/os_defines.h: Ditto.
1455 * config/os/newlib/bits/os_defines.h: Ditto.
1456 * config/os/solaris/solaris2.5/bits/os_defines.h: Ditto.
1457 * config/os/solaris/solaris2.6/bits/os_defines.h: Ditto.
1458
1459 * mkcheck.in: Limit the available heap size for testsuite
1460 binaries, initially at 2MB.
1461
1462 2000-10-23 Benjamin Kosnik <bkoz@redhat.com>
1463
1464 * testsuite/21_strings/compare.cc (test01): Add using declarations.
1465
1466 * include/c_std/bits/std_cerrno.h: And here.
1467 * include/c_std/bits/std_cassert.h: Tweaks.
1468
1469 * mkcheck.in: Simplify.
1470
1471 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Simplify.
1472 (GLIBCPP_ENABLE_LONG_LONG): Same.
1473 * aclocal.m4: Regenerate.
1474
1475 * src/Makefile.am (c_shadow_headers): Add features.h,
1476 bits/wrap_features.h.
1477 * src/Makefile.in: Regenerate.
1478 * include/c_std/features.h: New file.
1479 * include/c_std/bits/wrap_features.h (_CPP_WRAP_FEATURES_H): New
1480 file. Need to have c++config.h included before this file so
1481 _ISOC99_SOURCE around.
1482
1483 * include/c_std/sys/cdefs.h: Hack.
1484 * include/c_std/stdlib.h: Same, use c++config.h.
1485 * include/c_std/bits/std_cstdlib.h: Use _GLIBCPP_HAVE_STRTOLD.
1486
1487 * include/c_std/bits/std_cassert.h: Fix.
1488 * include/c_std/bits/std_cerrno.h: Make consistent.
1489
1490 * include/c_std/bits/std_csetjmp.h (setjmp): Unscope global
1491 declaration from ::_C_legacy to _C_legacy.
1492
1493 * include/c_std/bits/std_cstdio.h: same with printf.
1494 * include/c_std/stdio.h: And here.
1495
1496 * include/c_std/bits/std_cstdlib.h: abort, exit comment.
1497 * include/c_std/stdlib.h: Same here.
1498
1499 2000-10-23 Benjamin Kosnik <bkoz@redhat.com>
1500
1501 * testsuite/21_strings/compare.cc (test01): Add using declarations.
1502
1503 * include/c_std/bits/std_cerrno.h: And here.
1504 * include/c_std/bits/std_cassert.h: Tweaks.
1505
1506 * mkcheck.in: Simplify.
1507
1508 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Simplify.
1509 (GLIBCPP_ENABLE_LONG_LONG): Same.
1510 * aclocal.m4: Regenerate.
1511
1512 * src/Makefile.am (c_shadow_headers): Add features.h,
1513 bits/wrap_features.h.
1514 * src/Makefile.in: Regenerate.
1515 * include/c_std/features.h: New file.
1516 * include/c_std/bits/wrap_features.h (_CPP_WRAP_FEATURES_H): New
1517 file. Need to have c++config.h included before this file so
1518 _ISOC99_SOURCE around.
1519
1520 * include/c_std/sys/cdefs.h: Hack.
1521 * include/c_std/stdlib.h: Same, use c++config.h.
1522 * include/c_std/bits/std_cstdlib.h: Use _GLIBCPP_HAVE_STRTOLD.
1523
1524 * include/c_std/bits/std_cassert.h: Fix.
1525 * include/c_std/bits/std_cerrno.h: Make consistent.
1526
1527 * include/c_std/bits/std_csetjmp.h (setjmp): Unscope global
1528 declaration from ::_C_legacy to _C_legacy.
1529
1530 * include/c_std/bits/std_cstdio.h: same with printf.
1531 * include/c_std/stdio.h: And here.
1532
1533 * include/c_std/bits/std_cstdlib.h: abort, exit comment.
1534 * include/c_std/stdlib.h: Same here.
1535
1536 2000-10-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1537
1538 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): New macro.
1539 * aclocal.m4: Regenerate.
1540 * configure.in: Use it.
1541 * configure: Regenerate.
1542 * src/complexl.cc: Fixup.
1543 * include/c_std/bits/std_cmath.h: Fixup.
1544 * include/c/bits/std_cmath.h: Fixup.
1545 * docs/configopts.html: Add docs.
1546
1547 * docs/links.html: Add links to defects list, standards FAQ.
1548
1549 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Disable tests
1550 with string creation that allocate huge ammounts of memory.
1551
1552 * include/c/bits/std_cstddef.h: Put size_t, ptrdiff_t in
1553 namepace std.
1554
1555 2000-10-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
1556
1557 * libsupc++/exception.cc: Use namespace std.
1558 * libsupc++/new: DITTO.
1559 * libsupc++/new_op.cc: DITTO.
1560 * libsupc++/new_opnt.cc: DITTO.
1561 * libsupc++/new_opv.cc: DITTO.
1562 * libsupc++/new_opvnt.cc: DITTO.
1563 * libsupc++/tinfo.cc: DITTO.
1564 * libsupc++/tinfo.h: DITTO.
1565 * libsupc++/vec.cc: DITTO.
1566 * libsupc++/Makefile.am: Blank lines removal.
1567
1568 2000-10-21 Joseph S. Myers <jsm28@cam.ac.uk>
1569
1570 * docs/configopts.html, docs/install.html, docs/17_intro/BADNAMES,
1571 docs/17_intro/howto.html, docs/18_support/howto.html,
1572 docs/19_diagnostics/howto.html, docs/20_util/howto.html,
1573 docs/21_strings/howto.html, docs/22_locale/howto.html,
1574 docs/23_containers/howto.html, docs/24_iterators/howto.html,
1575 docs/25_algorithms/howto.html, docs/26_numerics/howto.html,
1576 docs/27_io/howto.html, docs/ext/howto.html, docs/faq/index.html:
1577 Remove many EGCS references; use current absolute URLs on
1578 gcc.gnu.org or sources.redhat.com for messages in list archives.
1579 * docs/faq/index.txt: Regenerate.
1580
1581 2000-10-19 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1582
1583 * testsuite/22_locale/codecvt_unicode_char.cc (test01): Adjust
1584 creation of state_type for unicode_codecvt to take into account
1585 the byte order markings. Add distinct tests for UCS-2BE and UCS-2LE.
1586 * testsuite/22_locale/codecvt_unicode_wchar_t.cc (test01): Same.
1587 * include/bits/codecvt.h (__enc_traits): Add support for encodings
1588 that need a byte order marker. Needed for correct unicode support.
1589
1590 * src/locale.cc: Remove explicit qualification std::.
1591 (locale::locale(const char* __name)): Revert, as named locale
1592 support not finished.
1593 * src/localename.cc (locale::_Impl:: _Impl(size_t __numfacets,
1594 size_t __refs, bool __has_name = false, string __name): Move
1595 default argument...
1596 * include/bits/localefwd.h: Here.
1597
1598 2000-10-18 Chip Salzenberg <chip@valinux.com>
1599
1600 * libio/libio.h (_IO_USER_LOCK): Define.
1601
1602 2000-10-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1603
1604 * libsupc++/Makefile.am (exception): Change exception.cc to
1605 exception_support.cc.
1606 (CXXLINK): Remove bogus --tag CC.
1607 * libsupc++/Makefile.in: Regenerate.
1608 * libsupc++/exception.cc: Move to...
1609 * libsupc++/exception_support.cc: ...here.
1610
1611 * src/Makefile.am: Remove bogus --tag CC.
1612 * src/Makefile.in: Regenerate.
1613
1614 * include/bits/locale_facets.tcc (use_facet): Simplify.
1615 * include/bits/locale_facets.h (use_facet<ctype<char> >): Correct
1616 use_facet declaration. Replace 'const ctype<T>' with ctype<T>.
1617 (use_facet<ctype<wchar_t> >): Same.
1618 * src/locale-inst.cc: Remove explicit instantiation.
1619 * src/locale.cc: Correct signature here too.
1620 (_Bad_use_facet::what()): Correct error string.
1621 * include/bits/localefwd.h: Correct comment.
1622
1623 * mkcheck.in (C_DIR): Change libsupc++/include to libsupc++.
1624
1625 2000-10-17 Martin Buchholz <martin@xemacs.org>
1626
1627 * testsuite/27_io/istream_seeks.cc: Fix spelling typo.
1628 * testsuite/27_io/ostream_seeks.cc: Similarly.
1629
1630 2000-10-17 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1631
1632 via Alexandre Oliva <aoliva@redhat.com>
1633 * libsupc++/Makefile.am: Add --tag CXX, --tag CC, comments.
1634 * libsupc++/Makefile.in: Regenerate.
1635 * src/Makefile.am: Duplicate code.
1636 * src/Makefile.in: Regenerate.
1637
1638 * acinclude.m4 (GLIBCPP_ENABLE_RELIBGCC): Take this out.
1639 * aclocal.m4: Regenerate.
1640 * configure.in: And here.
1641 * configure: Regenerate.
1642
1643 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Disable
1644 test for SECTION_LDFLAGS.
1645
1646 2000-10-16 Benjamin Kosnik <bkoz@gnu.org>
1647
1648 Shadow headers would work if libsupc++ was strict about namespaces.
1649 This only possible if g++ maps std::size_t -> size_t. (Hint hint.)
1650 * include/c_std/assert.h: Add guards.
1651 * include/c_std/bits/std_climits.h: Correct typo.
1652 * include/c_std/ctype.h: Remove #error.
1653
1654 * libio/libioP.h: Break up extern "C" bits around includes.
1655 * libio/libio.h: Only include C headers, or else _C_legacy namespaces
1656 will be nested.
1657 * libio/libioP.h: Same here.
1658
1659 2000-10-15 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
1660
1661 * include/c_std/unistd.h: Define some types only when defined in
1662 the original unistd.h.
1663 * include/c_std/bits/std_cstddef.h: Explicitly ask for the
1664 definition of size_t, ptrdiff_t and NULL.
1665 * include/c_std/bits/wrap_unistd.h: Blank lines removal.
1666
1667 2000-10-15 Phil Edwards <pme@sources.redhat.com>
1668
1669 * docs/configopts.html: Remove libgcc-rebuild; HTML formatting.
1670
1671 2000-10-13 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1672 Mark Harig <markh@landmark.com>
1673
1674 * src/Makefile.am (toolexeclibdir): Add support fo
1675 VERSION_SPECIFIC_LIBS and --with-gxx-include-dir.
1676 * src/Makefile.in: Regenerate.
1677 * libsupc++/Makefile.am: Same.
1678 (glibcppinstalldir): Adjust.
1679 * libsupc++/Makefile.in: Regenerate.
1680 * Makefile.am: Remove gxx_include_dir. Remove INCLUDE.
1681 * Makefile.in: Regenerate.
1682 * docs/configopts.html: Add descriptions of flags.
1683
1684 2000-10-11 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1685
1686 * libsupc++/Makefile.am: Use it.
1687 * libio/Makefile.am: Use it.
1688 * libmath/Makefile.am: Use it.
1689 * src/Makefile.am: Use it.
1690 * Makefile.am (AM_MAKEFLAGS): Remove includes.
1691
1692 * acinclude.m4 (GLIBCPP_EXPORT_INCLUES): Move include macros here.
1693 (GLIBCPP_EXPORT_FLAGS): Move CXX flag setting here.
1694 * configure.in: Use it.
1695
1696 * mkcheck.in (SRC_DIR): Use C_INCLUDE_DIR.
1697
1698 * src/Makefile.am (CXXCOMPILE): Remove.
1699 * src/Makefile.in: Regenerate.
1700 * libsupc++/Makefile.am (CXXCOMPILE): Same here.
1701 * libsupc++/Makefile.in: Regenerate.
1702
1703 * include/c_std/*: Merge with shadow.
1704 * include/c_std/bits/*: Same.
1705
1706 * shadow: Remove directory.
1707 * shadow/*: De-populate.
1708
1709 2000-10-11 Phil Edwards <pme@sources.redhat.com>
1710
1711 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Comment out
1712 exception-throwing code for linker test.
1713 * aclocal.m4: Regenerate.
1714 * configure: Regenerate.
1715
1716 2000-10-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1717
1718 * Makefile.am (LIBSUPCXX_INCLUDES): Adjust.
1719 * libsupc++/include: Remove
1720 * libsupc++/include/*: Move to ...
1721 * libsupc++: Here.
1722 * libsupc++/Makefile.am (glibcppinstall_HEADERS): Install headers.
1723 (glibcppinstalldir): New.
1724
1725 * src/Makefile.am (c_base_headers): New.
1726 (c_shadow_headers): New
1727 (c_headers): New.
1728 (myinstallheaders): Correct install issues.
1729 * src/Makefile.in: Regenerate.
1730
1731 * Makefile.am (CSHADOW_INCLUDES): Simplify.
1732 * Makefile.in: Regenerate.
1733 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Add c_include_dir.
1734 * aclocal.m4: Regenerate.
1735 * mkcheck.in (SRC_DIR): Use it.
1736
1737 * include/bits/std_stdexcept.h: And here.
1738 * include/bits/std_ios.h: Change std_exception.h to exception.
1739 * src/locale.cc: And here.
1740 * src/locale-inst.cc: And here.
1741
1742 * include/bits/valarray_array.h: And here.
1743 * include/bits/stl_alloc.h: And here.
1744 * include/bits/stl_algobase.h: And here.
1745 * include/bits/pthread_allocimpl.h: And here.
1746 * include/bits/stl_construct.h: Change to std_new.h to new.
1747
1748 * include/bits/locale_facets.h: Change std_typeinfo.h to typeinfo.
1749
1750 * src/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES.
1751 (headers): Remove duplicated headers.
1752 (std_headers): And here.
1753 * src/Makefile.in: Regenerate.
1754 * libsupc++/Makefile.am (LIBSUPCXX_INCLUDES): Remove.
1755 * libsupc++/Makefile.in: Regenerate.
1756 * Makefile.am (LIBSUPCXX_INCLUDES): Add here.
1757 (AM_MAKEFLAGS): And here.
1758 * Makefile.in: Regenerate.
1759 * include/bits/std_typeinfo.h: Remove.
1760 * include/bits/std_new.h: Remove
1761 * include/bits/std_exception.h: Remove.
1762 * std/new: Remove.
1763 * std/typeinfo: Remove.
1764 * std/exception: Remove.
1765
1766 * libio/_G_config.h (__need_ptrdiff_t): Add.
1767
1768 * libsupc++/include/new: Change stddef.h to cstddef.
1769 * libsupc++/tinfo.h: Change limits.h to climits.
1770 * libsupc++/pure.cc: Comment out _GNU_LIBRARY_ bits, as this
1771 renders the file uncompilable. Add copyright.
1772
1773 * include/c_std/bits/std_cstddef.h: Don't bring wchar_t into std
1774 namespace, as it is a fundamental type.
1775
1776 2000-10-09 Richard Henderson <rth@cygnus.com>
1777
1778 * libsupc++/pure.cc: New file.
1779 * libsupc++/Makefile.am (INCLUDES): Add top_builddir.
1780 (sources): Add pure.cc.
1781 * libsupc++/Makefile.in: Regenerate.
1782
1783 2000-10-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1784
1785 * docs/configopts.html: Edit.
1786
1787 * libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
1788 * libio/Makefile.in: Regenerate.
1789 * libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
1790 * libmath/Makefile.in: Regenerate.
1791 * libsupc++/Makefile.am (INCLUDES): Remove duplicate.
1792 * libsupc++/Makefile.in: Regenerate.
1793
1794 * Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
1795 TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
1796 CSHADOW_INCLUDES up here.
1797 * Makefile.in: Regenerate.
1798 * src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
1799 for shadow headers.
1800 (myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
1801 Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
1802 LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
1803 * src/Makefile.in: Regenerate.
1804
1805 * include/c: New directory.
1806 * include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
1807 std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
1808 std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
1809 std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
1810 std_cwchar.h, std_cwctype.h): Add, moving from...
1811 * include/bits: ...here.
1812 * include/c_std: New directory.
1813 * include/c_std/bits/*: Populate from...
1814 * shadow: ...here. Remove directory.
1815
1816 2000-10-08 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1817
1818 * libsupc++/Makefile.am (INCLUDES): Add toplevel include directory.
1819 (INCLUDES): Add glibcpp_includedir.
1820 * libsupc++/Makefile.in: Regenerate.
1821
1822 * acinclude.m4 (GLIBCPP_CHECK_OS): Link to os_defines.h.
1823 * aclocal.m4: Regenerate.
1824 * config/os/*/bits/os_defintes: Adjust copyright dates.
1825
1826 2000-10-08 Phil Edwards <pme@sources.redhat.com>
1827
1828 * include/bits/c++config: Include <bits/os_defines.h>
1829 * config/os/aix/bits/os_defines.h: New file.
1830 * config/os/bsd/bits/os_defines.h: Ditto.
1831 * config/os/generic/bits/os_defines.h: Ditto.
1832 * config/os/gnu-linux/bits/os_defines.h: Ditto.
1833 * config/os/irix/bits/os_defines.h: Ditto.
1834 * config/os/newlib/bits/os_defines.h: Ditto.
1835 * config/os/solaris/solaris2.5/bits/os_defines.h: Ditto.
1836 * config/os/solaris/solaris2.6/bits/os_defines.h: Ditto.
1837 * config/os/solaris/solaris2.7/bits/os_defines.h: Ditto.
1838
1839 2000-10-07 David Edelsohn <dje@watson.ibm.com>
1840
1841 * config/os/aix/bits/atomicity.h: New file.
1842
1843 2000-10-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1844
1845 * acinclude.m4: Remove CPU_FLAGS
1846 * libio/Makefile.am: Here too.
1847 * Makefile.am: Here too.
1848
1849 * src/Makefile.am (CONFIG_INCLUDES): Remove.
1850 (INCLUDES): Remove CONFIG_INCLUDES.
1851 (cpu_headers): Remove.
1852 (myinstallheaders): Remove cpu_headers.
1853 (generated_headers): Rename to build_headers.
1854 (build_headers): Add atomicity.h, ctype_base.h,
1855 ctype_specializations.h.
1856
1857 * config/os: New directory.
1858 * config/aix: Move to...
1859 * config/bsd: Move to...
1860 * config/generic: Move to...
1861 * config/gnu-linux: Move to...
1862 * config/irix: Move to...
1863 * config/newlib: Move to...
1864 * config/solaris: Move to...
1865 * config/os/*: Here.
1866
1867 2000-10-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1868
1869 * acinclude.m4: Remove CPU_FLAGS
1870 * libio/Makefile.am: Here too.
1871 * Makefile.am: Here too.
1872
1873 * src/Makefile.am (CONFIG_INCLUDES): Remove.
1874 (INCLUDES): Remove CONFIG_INCLUDES.
1875 (cpu_headers): Remove.
1876 (myinstallheaders): Remove cpu_headers.
1877 (generated_headers): Rename to build_headers.
1878 (build_headers): Add atomicity.h, ctype_base.h,
1879 ctype_specializations.h.
1880
1881 * config/os: New directory.
1882 * config/aix: Move to...
1883 * config/bsd: Move to...
1884 * config/generic: Move to...
1885 * config/gnu-linux: Move to...
1886 * config/irix: Move to...
1887 * config/newlib: Move to...
1888 * config/solaris: Move to...
1889 * config/os/*: Here.
1890
1891 2000-10-06 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1892
1893 * src/Makefile.am: Remove OPTIMIZE_CXXFLAGS, WARN_CXXFLAGS,
1894 CONFIG_CXXFLAGS from here, and move to...
1895 * src/Makefile.in: Regenerate.
1896 * Makefile.am: ... here. Clean.
1897 (OPTIMIZE_CXXFLAGS): Move up Makefile hierarchy to here.
1898 (WARN_CXXFLAGS): Same.
1899 (CONFIG_CXXFLAGS): Same.
1900 * Makefile.in: Regenerate.
1901 * libsupc++/Makefile.am: Use top-level OPTIMIZE_CXXFLAGS,
1902 WARN_CXXFLAGS, CONFIG_CXXFLAGS as part of local AM_CXXFLAGS.
1903 * libsupc++/Makefile.in: Regenerate.
1904
1905 Change math to libmath.
1906 * math: Move to libmath, delete.
1907 * libmath: New directory.
1908 * libmath/*: Populate.
1909 * src/Makefile.am (LIBMATH_INCLUDES): Change to libmath.
1910 (libstdc___la_LIBADD): Same.
1911 * src/Makefile.in: Regenerate.
1912 * configure.in: Add AC_OUTPUT for libmath/Makefile.
1913 * configure: Regenerate.
1914 * Makefile.am (SUBDIRS): Add libmath.
1915 * Makefile.in: Regenerate.
1916 * README (file): Change name.
1917
1918 2000-10-06 Benjamin Kosnik <bkoz@cygnus.com>
1919 Richard Henderson <rth@cygnus.com>
1920 Alexandre Oliva <aoliva@redhat.com>
1921
1922 * libsupc++: New directory.
1923 * libsupc++/*: Populate.
1924 * libsupc++/Makefile.am (INCLUDES): Add -I../../gcc for
1925 eh-common.h, gansidecl.h.
1926 * configure.in: Add in libsupc++/Makefile to AC_OUTPUT.
1927 * configure: Regenerate.
1928 * Makefile.am (SUBDIRS): Add libsupc++.
1929 * Makefile.in: Regenerate.
1930 * src/Makefile.am (libstdc___la_LIBADD): Add in libsupc++.la
1931 * src/Makefile.in: Regenerate.
1932 * libio/Makefile.am: Remove extraneous, confusing bits.
1933 * libio/Makefile.in: Regenerate.
1934
1935 2000-10-05 Brent Verner <brent@rcfile.org>
1936
1937 * bits/istream.tcc [basic_istream::get(basic_streambuf&)]: Removed
1938 test for _M_gcount < in_avail(), as in_avail() only reports info
1939 for current buffer, causing method to return at end of buffer.
1940 * testsuite/27_io/istream_unformatted.cc [test07()]: New test.
1941 * testsuite/27_io/istream_unformatted-3.txt: New file.
1942 * testsuite/27_io/istream_unformatted-3.tst: New file.
1943
1944 2000-10-05 Benjamin Kosnik <bkoz@fillmore.constant.com>
1945
1946 * README (file): Adjust directory structures.
1947 * mkcheck.in (INC_PATH): Adjust for header changes.
1948
1949 2000-10-05 Phil Edwards <pme@sources.redhat.com>
1950
1951 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Tweaks to message texts
1952 for public relations purposes.
1953 * aclocal.m4: Regenerated.
1954 * configure: Regenerated.
1955
1956 * docs/ext/howto.html: Additional explanation about hashing.
1957
1958 2000-10-05 Benjamin Kosnik <bkoz@cygnus.com>
1959
1960 * include: New directory.
1961 * include/backward: New directory.
1962 * include/bits: New directory.
1963 * include/ext: New directory.
1964 * include/std: New directory.
1965 * include/*/*: Populate.
1966
1967 * backwards: Move to include/backwards, delete.
1968 * bits: Move to include/bits, delete.
1969 * ext: Move to include/ext, delete.
1970 * std: Move to include/std, delete.
1971
1972 * src/complex.cc: Adjust include of mathconf.
1973
1974 * mkc++config (BASE_H): Add include.
1975
1976 * src/Makefile.am: Support for topleve sources include directory.
1977 (INCLUDES): Add LIBMATH_INCLUDE.
1978 * src/Makefile.in: Regenerate.
1979 * math/Makefile.am (INCLUDES): Append /include.
1980 * math/Makefile.in: Regenerate.
1981 * libio/Makefile.am (INCLUDES): Add glibcpp_includedir.
1982 * libio/Makefile.in: Regenerate.
1983
1984 2000-10-04 Benjamin Kosnik <bkoz@gnu.org>
1985
1986 * libio/_G_config.h : Re-guard the __mbstate_t declaration.
1987
1988 2000-10-03 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1989
1990 * docs/22_locale/howto.html: Add link to proto-documentation on
1991 locales.
1992 * docs/documentation.html: Rename links for clarity.
1993
1994 * src/Makefile.am (headers): Remove unistd.h, wrap_unistd.h. Add
1995 fcntl.h, iolibio.h, libioP.h, pthread.h, iconv.h.
1996 * src/Makefile.in: Regenerate.
1997
1998 2000-10-02 Steven King <sxking@uswest.net>
1999
2000 * mkcshadow: Fixed script to output proper include guard.
2001 * bits/char_traits.h: Cleaned up types in char_traits<char> functions.
2002 * libio/_G_config.h: Hacked to make work with shadow heraders.
2003 * shadow/*: Hacked to make shadow headers work.
2004
2005 2000-10-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2006
2007 Self-compile with shadow headers.
2008 * acconfig.h (_GLIBCPP_USE_SHADOW_HEADERS): Define. Eventually,
2009 like _GLIBCPP_USE_NAMESPACES before it, this macro will die when
2010 it becomes the default way the library is built.
2011 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): New macro.
2012 * config/gnu-linux/bits/ctype_base.h (ctype_base): Use it.
2013 * config/gnu-linux/ctype.cc (ctype): Use it.
2014
2015 * src/localename.cc (locale::_Impl::_M_replace_categories): Remove
2016 call to assert.
2017 * src/locale.cc: Explicitly cast mbstate_t to void* in calls to
2018 memset. This should not be necessary, but an ambiguous overload
2019 with it in.
2020
2021 * shadow/bits/std_cwchar.h: Fix.
2022 * shadow/wchar.h: Fix.
2023
2024 * config/gnu-linux/bits/ctype_base.h (ctype_base): Inject ctype
2025 enums into namespace std:: for ctype_base enum. Other OS types
2026 will have to do this as well.
2027 * config/gnu-linux/ctype.cc (ctype): Inject ctype data into
2028 namespace std, in particular __ctype_toupper, __ctype_tolower,
2029 __ctype_b.
2030
2031 * shadow/iolibio.h: New file.
2032 * shadow/bits/wrap_iolibio.h: New file.
2033 * shadow/libioP.h: New file.
2034 * shadow/bits/wrap_libioP.h: New file.
2035 * shadow/bits/wrap_fcntl.h: New file.
2036 * shadow/fcntl.h: New file.
2037 * shadow/iconv.h: New file. Inject iconv names into the global
2038 namespace, unmangled for the moment.
2039 * shadow/bits/wrap_iconv.h: New file.
2040 * shadow/unistd.h: Remove. Useless.
2041 * shadow/bits/wrap_unistd.h: Remove.
2042
2043 * src/Makefile.am: Take out machine-ansi.h, add fcntl.h unistd.h.
2044 * src/Makefile.in: Regenerate.
2045
2046 * config/c_io_libio.h (_IO_codecvt): Change to normal C++ decl.
2047
2048 * shadow/libio.h: Fix.
2049 * shadow/bits/wrap_libio.h: Fix.
2050
2051 * shadow/bits/std_clocale.h: Remove typedef struct construct,
2052 which will not compile.
2053 * shadow/bits/std_ctime.h: Same.
2054
2055 * shadow/pthread.h: New file. Put pthreads types and functions
2056 into global scope, which is probably not the correct long-term
2057 solution but has to be done at the moment before libio wrappers
2058 can even be started.
2059 * shadow/bits/wrap_pthread.h: New file.
2060
2061 * bits/std_ios.h: Formatting tweak.
2062 * shadow/bits/std_cstdio.h: Format. Remove extraneous bits.
2063
2064 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Add -Werror to
2065 tests for compiler features.
2066 * aclocal.m4: Regenerate.
2067 * configure: Regenerate.
2068
2069 * config/c_io_libio.cc: Remove fcntl.h include, as SEEK_SET
2070 redefined.
2071 * libio/libioP.h: Comment out fcntl.h include.
2072
2073 * shadow/math.h: Add in float and long declarations, as per ISO C9X.
2074
2075 * bits/c++config: Define _ISOC99_SOURCE.
2076
2077 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Add -fno-builtins to
2078 CSHADOWFLAGS, as well as _ISOC99_SOURCE.
2079 * aclocal.m4: Regenerate.
2080 * configure: Regenerate.
2081 * src/Makefile.am (CSHADOW_INCLUDES): Enable, again.
2082 (CSHADOW_INCLUDES): Add -I$(top_srcdir)/std before shadow include dir.
2083 (CXXCOMPILE): Remove $(DEFS), which searches $(top_srcdir) before
2084 std or shadow directories.
2085 (LTCXXCOMPILE): Same.
2086 (INCLUDES): Add $(top_builddir) before $(top_srcdir).
2087 (AC_CXXFLAGS): Add CSHADOWFLAGS.
2088 * src/Makefile.in: Regenerate.
2089
2090 * src/complex.cc (FCT): Change ::name to name.
2091 * src/complexl.cc (FCT): Same. Use _GLIBCPP_USE_LONG_LONG here.
2092 * src/complexf.cc (FCT): Same.
2093
2094 * src/complexf.cc: Remove FCT define, as things are properly
2095 overloaded in the std namespace with the shadow headers.
2096 * src/complexl.cc: Same.
2097 * src/complex.cc: Same.
2098
2099 2000-09-25 Phil Edwards <pme@sources.redhat.com>
2100
2101 * docs/documentation.html: Add link to...
2102 * docs/ext/howto.html: ...this. New dir/file, describing library
2103 extensions (both ours and SGI's).
2104 * docs/faq/index.html: Small updates.
2105 * docs/faq/index.txt: Regenerate.
2106
2107 2000-09-25 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
2108
2109 * bits/basic_file.h (_M_open_mode): Remove extra qualifier.
2110
2111 2000-09-25 Levente Farkas <lfarkas@mindmaker.hu>
2112
2113 * ext/stl_hashtable.h (_M_copy_from): Change __copy to __local_copy.
2114
2115 2000-09-19 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2116
2117 * src/localename.cc (locale::_Imp) : Remove typedefs.
2118 * bits/localefwd.h (locale::locale(const locale& __other, _Facet*
2119 __f): Consistency check, call _Imp ctor with reference argument
2120 of 1.
2121 * bits/localefwd.h: Change _S_num_categories to
2122 _S_categories_num. Add new data member, _S_facets_num, which is
2123 the number of standard facets.
2124
2125 2000-09-19 Phil Edwards <pme@sources.redhat.com>
2126
2127 * docs/21_strings/howto.html: Fix editor lossage from last commit.
2128
2129 2000-09-19 Phil Edwards <pme@sources.redhat.com>
2130
2131 * docs/thanks.html: More thanks.
2132 * docs/18_support/howto.html: Fix thinko.
2133 * docs/21_strings/howto.html: Minor tweaks and updates to URLs.
2134 Redo the string transformation notes and link to...
2135 * docs/22_locale/howto.html: ...here.
2136
2137 2000-09-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2138
2139 * src/locale-inst.cc: Add time_put_byname and
2140 time_get_byname instantiations.
2141 * bits/locale_facets.h: Correct default, private derivation to
2142 public derivation in _byname declarations.
2143 * src/locale.cc (locale::classic()): Simplify.
2144 * src/localename.cc (locale::_Impl:: _Impl(const _Impl& __other,
2145 const string& __name, category __cat, size_t __refs): Re-work for
2146 named locales.
2147 (_M_normalize_category_names): Remove.
2148
2149 * testsuite/22_locale/global_templates.cc (test01): Tweaks.
2150 * testsuite/22_locale/ctor_copy_dtor.cc (test01): More tests.
2151
2152 2000-09-18 Yuri V. Baskakov <yuribsk@lab.sun.mcst.ru>
2153
2154 * bits/std_bitset.h (operator>>): Change to char_type.
2155
2156 2000-09-15 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2157
2158 * src/locale.cc (locale::locale(const char* __name)): Consolidate
2159 name setting. Add checks for NULL __name pointers. Remove calls to
2160 _S_initialize() as initial locale initialization can either be
2161 assumed, or needs to be made consistent throughout locale
2162 constructors.
2163 (locale::locale(const locale& __other, const char* __name,
2164 category __cat): Add checks for NULL name. Add checks for
2165 assignment to self.
2166 * src/localename.cc (locale::_Impl:: _Impl(const _Impl& __other,
2167 const string& __name, category __cat, size_t __refs)): Set correct
2168 name, has_name values.
2169 * testsuite/22_locale/ctor_copy_dtor.cc (test01): More tests.
2170 * docs/22_locale/locale.html: New file, more unfinished docs...
2171
2172 2000-09-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2173
2174 * src/locale.cc (locale::name()): Implement.
2175 (_Impl(size_t __numfacets, size_t __refs, bool __namep = false,
2176 string __name = "*")): Change signature.
2177 (locale::classic): Initialize the "C" locale as a named locale.
2178 * bits/localefwd.h (locale): Change _M_num_references to
2179 _M_references. Eliminate _M_cached_name_ok. Rename _M_cached_name
2180 to _M_name.
2181 * bits/localefwd.h: Tweaks.
2182 * src/localename.cc: Tweaks.
2183 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Add tests.
2184 (test01): Fix.
2185
2186 * bits/basic_string.h: Consistency check, change _M_state ->
2187 _M_references.
2188
2189 2000-09-14 Brendan Kehoe <brendan@zen.org>
2190
2191 * bits/string.tcc (_Rep::_S_max_size): Use typename for its size_type
2192 return type.
2193
2194 * src/Makefile.an (headers): Also install backward/fstream.h.
2195 * src/Makefile.in: Regenerate.
2196
2197 * bits/char_traits.h (char_traits<_CharT>::get_state,
2198 char_traits<char>::get_state, char_traits<wchar_t>::get_state): Pass
2199 argument in by reference, not by value. Uglify to _S_get_state.
2200 (char_traits<*>::__eos): Uglify to _S_eos.
2201 * bits/std_ostream.h (ends(basic_ostream<_CharT, _Traits>& __os)):
2202 Change __eos to _S_eos.
2203
2204 2000-09-13 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2205
2206 * testsuite/22_locale/static_members.cc: New file.
2207 * testsuite/22_locale/ctor_copy_dtor.cc: New file.
2208 * src/locale.cc: Minor formatting tweaks.
2209
2210 2000-09-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2211
2212 * testsuite/22_locale/global_templates.cc (test01): Add negative
2213 tests for use_facet.
2214
2215 * bits/localefwd.h (locale::operator()): Minor tweaks.
2216 * bits/locale_facets.tcc (locale::operator()): Same.
2217 * testsuite/22_locale/operators.cc: New file.
2218
2219 * testsuite/22_locale/facet.cc (output_iterator): Remove
2220 gnu_input_iterator, gnu_output_iterator.
2221
2222 2000-09-11 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2223
2224 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Remove test != "0".
2225 * aclocal.m4: Regenerate.
2226 * configure: Regenerate.
2227
2228 * bits/c++config (__GLIBCPP__): Update, in the hopes of making a
2229 snapshot release soon.
2230 (_GNU_SOURCE): Define this in the header files, as ISO C99 support
2231 is pretty much assumed.
2232
2233 * testsuite/22_locale/global_templates.cc: New file. Add tests for
2234 use_facet and has_facet.
2235
2236 * bits/codecvt.h (codecvt<_InT, _ExT, __enc_traits>::do_out):
2237 Modify/correct iconv signatures for glibc2.2.
2238
2239 2000-09-10 Branko Cibej <branko.cibej@hermes.si>
2240
2241 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Replace "grep -q" with
2242 "grep -c".
2243
2244 2000-09-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2245
2246 * bits/localefwd.h (locale::_Impl): Scope out types to public.
2247 (locale): Make _Impl declaration public.
2248
2249 2000-09-08 Felix Natter <fnatter@gmx.net>
2250
2251 * docs/17_intro/porting-howto.html: New version.
2252
2253 2000-09-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2254
2255 * config/cpu/i386/bits/atomicity.h (__exchange_and_add): Change unused
2256 to __unused__.
2257 * config/cpu/ia64/bits/atomicity.h (__exchange_and_add): And here.
2258 * config/cpu/i486/bits/atomicity.h (__exchange_and_add): And here.
2259
2260 2000-09-07 Phil Edwards <pme@sources.redhat.com>
2261
2262 Add bits for --enable-maintainer-mode:
2263 - turns on enable_debug
2264 (doing "--enable-maint --disable-debug" will DTRT)
2265 - turns on -Werror, now off by default
2266 * acinclude.m4: Add bits.
2267 * aclocal.m4: Regenerate.
2268 * configure.in: Add defaults for GLIBCPP_ENABLE_DEBUG.
2269 * configure: Regenerate.
2270
2271 2000-09-07 Benjamin Kosnik <bkoz@cygnus.com>
2272
2273 * bits/std_cwctype.h: Remove yesterday's hacks.
2274
2275 2000-09-07 Brad Garcia <bgarcia@laurelnetworks.com>
2276
2277 * bits/stl_tree.h: Make operators !=, == type safe for map, set.
2278 * testsuite/23_containers/set_operators.cc: New file. Should not
2279 compile.
2280 * testsuite/23_containers/map_operators.cc: New file. Ditto.
2281
2282 2000-09-06 Richard Henderson <rth@cygnus.com>
2283 Benjamin Kosnik <bkoz@cygnus.com>
2284
2285 * acinclude.m4 (GLIBCPP_CHECK_CPU): Add ia64 support.
2286 * aclocal.m4: Regenerate.
2287 * configure: Regenerate.
2288 * config/cpu/ia64: New directory.
2289 * config/cpu/ia64/bits: New directory.
2290 * config/cpu/ia64/bits/atomicity.h: New file.
2291
2292 2000-09-06 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2293
2294 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Force glibc_satisfactory
2295 to no, so that libstdc++-v3's libio will be built on glibc-2.2
2296 systems.
2297 * aclocal.m4: Regenerate.
2298 * configure: Regenerate.
2299 * */Makefile.in: Regenerate.
2300
2301 * bits/std_cwctype.h: Put in temporary hack to work around -O2 +
2302 glibc 2.1.x unsigned errors. Or disable -Werror by default...
2303
2304 * testsuite/23_containers/vector_element_access.cc: New file.
2305 * bits/stl_config.h (__STL_THROW_RANGE_ERRORS): Define.
2306
2307 2000-09-06 Levente Farkas <lfarkas@mindmaker.hu>
2308
2309 * bits/string.tcc: Fix up more parameter names.
2310
2311 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
2312
2313 * configure: Rebuilt with new libtool.m4.
2314
2315 2000-09-01 Benjamin Kosnik <bkoz@cygnus.com>
2316
2317 * src/locale-inst.cc: Remove pre-instantiation of unicode
2318 codecvt types. Now unnecessary, as locale header now correct.
2319
2320 2000-08-31 Benjamin Kosnik <bkoz@cygnus.com>
2321
2322 * bits/locale_facets.tcc (_S_build_float_format): Move ...
2323 * src/locale.cc: Here.
2324 * bits/locale_facets.tcc (num_get::_M_extract): Clean up generic
2325 definition. Move specialization to ...
2326 * src/locale.cc: Here.
2327 * bits/locale_facets.tcc: Move _Format_cache specializations to ...
2328 * src/locale.cc: Here.
2329 * bits/locale_facets.tcc: Move use_facet<ctype> specializations to ...
2330 * src/locale.cc: Here.
2331
2332 * bits/std_locale.h: Note that locale_facets.tcc should be
2333 included here, for standards conformance. It may increase
2334 compile times though. For the time being, enable.
2335 * testsuite/22_locale/facet.cc: New file, some parts commented out
2336 for the time being.
2337
2338 * mkcheck.in: Append total time to test summary file.
2339
2340 * bits/sbuf_iter.h : Formatting tweaks.
2341
2342 Clean up static const data member definitions.
2343 * src/locale.cc: Add definitions for all missing locale,
2344 locale::_Imp, and locale::id static data members.
2345 (ctype<char>): Add table_size define.
2346 (money_base): Add _S_default_pattern, uglify.
2347 * bits/localefwd.h: Add definitions for static members of _Count_ones.
2348 * bits/locale_facets.h: Tweaks.
2349 * bits/locale_facets.tcc: Tweaks.
2350 * bits/string.tcc: Add definition for npos.
2351 * bits/ios_base.h: Tweaks.
2352 * bits/ios_base.h (ios_base::Init::_M_ios_base_init): Change to
2353 _S_ios_base_init.
2354 * src/ios.cc: And here. Add _S_local_words definition.
2355 Add definitions for __ios_flags const static data.
2356 * src/codecvt.cc: Same for __enc_traits.
2357 * src/locale-inst.cc: Remove money_base data member definition
2358 here.
2359
2360 2000-08-30 Benjamin Kosnik <bkoz@redhat.com>
2361
2362 * testsuite/22_locale/ctype_wchar_t_members.cc (test01): New file.
2363
2364 * docs/22_locale/codecvt.html: Re-number.
2365 * docs/22_locale/howto.html: Add entry for ctype
2366 documentation. Add entry for Nathan's introduction to locales
2367 paper.
2368 * docs/22_locale/ctype.html: New file. In progress...
2369
2370 * docs/22_locale/codecvt.html: Formatting cleanups.
2371 * src/locale.cc (ctype<wchar_t>::do_is): Fix thinko.
2372
2373 2000-08-30 Phil Edwards <pme@sources.redhat.com>
2374
2375 * docs/22_locale/codecvt.html: Behind-the-scenes ASCII->HTML
2376 tweaks for certain browsers.
2377
2378 2000-08-29 Benjamin Kosnik <bkoz@redhat.com>
2379
2380 * bits/locale_facets.h (ctype<char>): Remove __table_type.
2381 Add include for bits/std_cwctype.h, for wctype_t.
2382 * src/locale.cc (ctype<wchar_t>): Implement.
2383 * config/gnu-linux/bits/ctype_base.h (ctype_base): Remove mask
2384 typedef, instead name enum.
2385 * config/gnu-linux/bits/ctype_specializations.h: Tweak.
2386 * config/gnu-linux/ctype.cc: Tweak.
2387 * testsuite/22_locale/ctype.cc: Tweak.
2388
2389 * bits/codecvt.h (__enc_traits): Uglify names.
2390
2391 2000-08-28 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2392
2393 * docs/22_locale/codecvt.html: Add more bits, format.
2394 * bits/codecvt.h: Add copy ctor, rename types.
2395 * testsuite/22_locale/codecvt_unicode_char.cc: Tweak.
2396
2397 * libio/iofwide.c: Tweak.
2398
2399 2000-08-28 Phil Edwards <pme@sources.redhat.com>
2400
2401 * docs/configopts.html: Mention new options.
2402 * docs/install.html: Formatting changes for platform-specific
2403 pre-reqs, previously only Cygwin.
2404 * docs/mail.html: Fix new link.
2405 * docs/thanks.html: A couple more people.
2406 * docs/26_numerics/howto.html: Fix typo.
2407
2408 2000-08-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2409
2410 * docs/22_locale/howto.html: Add notes on codecvt implementation.
2411 * docs/22_locale/codecvt.html: New file. In progress.
2412
2413 2000-08-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2414
2415 * acconfig.h: Revert.
2416 * acinclude.m4: Revert.
2417 * libio/_G_config.h: Revert.
2418 * libio/libio.h: Revert.
2419
2420 2000-08-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2421
2422 * bits/codecvt.h: Tweaks.
2423 * testsuite/22_locale/codecvt_unicode_wchar_t.cc (test01): Fix up
2424 initial string literals for UCS4.
2425
2426 2000-08-23 Phil Edwards <pme@sourceware.cygnus.com>
2427
2428 * acconfig.h: _GLIBCPP_USING_THREADS and some workaround types added.
2429 * acinclude.m4: New macro, GLIBCPP_ENABLE_WCHAR. Set the threads
2430 definition as well, and some minor spelling/spacing fixes. If
2431 building libio, check for certain typedefs.
2432 * libio/_G_config.h: Wrap _IO_MTSAFE_IO in _GLIBCPP_USING_THREADS.
2433 Conditionally define _LARGEFILE64_SOURCE, otherwise the 64-bit types
2434 will never be there.
2435 * libio/libio.h: In the null case, _IO_lock_t can't just be void.
2436 * src/string-inst.cc: Use _GLIBCPP_USE_WCHAR_T.
2437
2438 * configure.in: Update the cache a bit more often.
2439
2440 * mkcheck.in: For check-install, also need to -I the testsuite dir.
2441
2442 2000-08-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2443
2444 * src/locale-inst.cc: Add codecvt<unicode_t, wchar_t,
2445 __enc_traits> instantiations for has_facet and use_facet.
2446 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: New file, for
2447 testing two-byte unicode encodings converted to four-byte UCS4
2448 encodings.
2449
2450 * bits/codecvt.h (codecvt<__enc_traits>): Fix do_unshift.
2451 * testsuite/22_locale/codecvt_unicode_char.cc (test01): Add
2452 correct state/encoding information.
2453
2454 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Add wcsrtombs,
2455 mbsrtowcs checks as codecvt<wchar_t, char, mbstate_t> needs them
2456 now.
2457 Add checks for langinfo.h, nl_langinfo function call.
2458 * libio/iofwide.c (_IO_fwide): Simplify, as nl_langinfo is assumed.
2459
2460 2000-08-22 Richard B. Kreckel <Richard.Kreckel@Uni-Mainz.DE>
2461
2462 * config/cpu/alpha/bits/atomicity.h: Change __attribute__
2463 ((unused)) to __attribute__ ((__unused__)).
2464 * config/cpu/arm/bits/atomicity.h: Same.
2465 * config/cpu/generic/bits/atomicity.h: Same.
2466 * config/cpu/i386/bits/atomicity.h: Same.
2467 * config/cpu/i486/bits/atomicity.h: Same.
2468 * config/cpu/powerpc/bits/atomicity.h: Same.
2469 * config/cpu/sparc/sparc32/bits/atomicity.h: Same.
2470 * config/cpu/sparc/sparc64/bits/atomicity.h: Same.
2471
2472 2000-08-22 Levente Farkas <lfarkas@mindmaker.hu>
2473
2474 * bits/basic_string.h: Fix up parameter names.
2475
2476 2000-08-22 Brent Verner <brent@rcfile.org>
2477
2478 * src/Makefile.am (INCLUDES): Put $(CSHADOW_INCLUDES) before
2479 $(top_srcdir)
2480 * src/Makefile.in: Regenerate.
2481
2482 2000-08-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2483
2484 * bits/codecvt.h: Implement codecvt<wchar_t, char, mbstate_t>. Fix
2485 up __enc_traits template so as to be marginally useful.
2486 * src/codecvt.cc: And here.
2487 * bits/char_traits: Tweak.
2488 * bits/locale_facets.h: Tweak.
2489 * bits/locale_facets.tcc: Tweak.
2490 * bits/localefwd.h: Tweak.
2491 * src/locale-inst.cc: Add use_facet/has_facet instantiations here.
2492 * testsuite/22_locale/codecvt_wchar_t_cc.cc: New file.
2493 * testsuite/22_locale/codecvt_char_char.cc: New file.
2494 * testsuite/22_locale/codecvt_unicode_char.cc: New file.
2495
2496 2000-08-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2497
2498 * bits/std_cmath.h (std::abs): Overload for int and long.
2499
2500 2000-08-20 Benjamin Kosnik <bkoz@gnu.org>
2501
2502 * src/string-inst.cc: Tweak instantiations for new-gxx-abi.
2503
2504 2000-08-19 Gabriel Dos Reis <gdr@codesourcery.com>
2505
2506 * bits/valarray_array.h (__valarray_min, __valarray_max): Fix
2507 thinko. Diagnostic messages really need to be improved for
2508 template argument deduction.
2509
2510 2000-08-18 Benjamin Kosnik <bkoz@gnu.org>
2511
2512 * bits/valarray_meta.h: Fix typos...
2513
2514 2000-08-18 Gabriel Dos Reis <gdr@codesourcery.com>
2515
2516 * bits/valarray_meta.h (_Expr<>::shift, _Expr::cshift,
2517 _Expr<>::apply): Implement.
2518
2519 2000-08-18 Gabriel Dos Reis <gdr@codesourcery.com>
2520
2521 * bits/valarray_meta.h (_Expr<>::min, _Expr<>::max): Implement.
2522
2523 * bits/valarray_array.h (__valarray_min, __valarray_max): New
2524 function.
2525
2526 2000-08-17 Mark Mitchell <mark@codesourcery.com>
2527
2528 * bits/localefwd.h (std::locale): Use explicit `class' specified
2529 when declaring friends.
2530 * bits/std_fstream.h (std::basic_filebuf): Likewise.
2531
2532 2000-08-16 Alexandre Oliva <aoliva@redhat.com>
2533
2534 * src/Makefile.am (libstdc++.INC): Renamed from INCLUDES.
2535 * src/Makefile.in: Regenerate.
2536
2537 2000-08-15 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2538
2539 * bits/codecvt.h: New file.
2540 * src/codecvt.cc: New file.
2541 * bits/std_locale.h: Add include here.
2542 * src/Makefile.am (headers): Add codecvt.h
2543 (sources): Add codecvt.cc.
2544 * src/Makefile.in: Regenerate.
2545 * bits/locale_facets.h (codecvt): Re-implement. Rename _Codecvt to
2546 __codecvt_abstract_base in an attempt to point some light this way...
2547 Move __enc_traits and codecvt bits to codecvt.h.
2548 * src/locale-inst.cc: Remove codecvt<wchar_t, wchar_t, mbstate_t>
2549 explicit instantiation. Separate out codecvt instantations, simplify.
2550 * src/locale.cc: Move codecvt bits to codecvt.cc
2551
2552 2000-08-15 Alexandre Oliva <aoliva@redhat.com>
2553
2554 * src/Makefile.am (INCLUDES): New target file, with all -I flags.
2555 * src/Makefile.in: Regenerate.
2556
2557 2000-08-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2558
2559 C/C++ io merge/sync.
2560 * libio/fileops.c
2561 * libio/genops.c
2562 * libio/iofclose.c
2563 * libio/iofopen.c
2564 * libio/iofwide.c
2565 * libio/libio.h
2566 * libio/libioP.h
2567 * libio/stdio.c
2568 * libio/wfileops.c
2569 * libio/wgenops.c
2570 * config/c_io_libio.cc (__basic_file): Add hacky casts to
2571 ((struct _IO_FILE_plus *) in ctors.
2572 (__basic_file<wchar_t>): Adjust _wide_data->_codecvt to just _codecvt.
2573 * libio/Makefile.am: Fix copyright. Remove cleanup.c.
2574 * libio/cleanup.c: Remove.
2575 * libio/filedoalloc.c (_IO_file_doallocate): Don't call
2576 _IO_cleanup_registration_needed, even if not libc.
2577
2578 * testsuite/27_io/stringstream.cc (test02): Fix.
2579
2580 2000-08-14 Brent Verner <brent@rcfile.org>
2581
2582 * testsuite/debug_assert.h: new file
2583 * testsuite/*/*.cc: s/test\s*&=([^;]+);/VERIFY($1);/g
2584 changed conditional #include <c?assert.?h?> to
2585 unconditional #include <debug_assert.h>
2586 * mkcheck.in: added $SRC_DIR/testsuite to include search path
2587 for testsuite compile command.
2588
2589 2000-08-14 Levente Farkas <lfarkas@mindmaker.hu>
2590
2591 * bits/std_fstream.h: Remove duplicate typdefs for ofstream and
2592 wofstream, filebuf, wfilebuf, fstream, wfstream.
2593 * bits/std_streambuf.h: Same for streambuf, wstreambuf.
2594 * bits/std_sstream.h: Same for stringstream and wstringstream.
2595 Same for stringbuf, wstringbuf, istringstream, wistringstream,
2596 ostringstream, wostringstream.
2597
2598 * testsuite/26_numerics/valarray.cc: Add test.
2599
2600 2000-08-14 Zack Weinberg <zack@wolery.cumb.org>
2601
2602 * configure: Regenerate after change to ../libtool.m4.
2603
2604 2000-08-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2605
2606 * bits/locale_facets.tcc: Formatting tweaks.
2607 * bits/locale_facets.h (__enc_traits): Start integrating this
2608 into codecvt, ctype. Formatting tweaks.
2609
2610 2000-08-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2611
2612 Preliminary wchar_t implementation, with trivial encodings.
2613 * docs/configopts.html: Add bits about canonical configure option
2614 checking.
2615
2616 * testsuite/27_io/iostream_objects.cc: Replace this file (which
2617 has newly-declared-illegal mixing of wide/narrow stdstreams) with...
2618 * testsuite/27_io/narrow_stream_objects.cc: New file.
2619 * testsuite/27_io/wide_stream_objects.cc: New file.
2620
2621 * bits/fstream.tcc (underflow): Temporarily hack a solution
2622 together that writes from the external file to the internal
2623 buffers. This removes codecvt from the loop, and is incorrect.
2624 (_M_really_overflow): Same here.
2625
2626 * testsuite/21_strings/inserters_extractors.cc (test05): Tweaks.
2627
2628 2000-08-08 Benjamin Kosnik <bkoz@cygnus.com>
2629 Ulrich Drepper <drepper@cygnus.com>
2630
2631 * config/c_io_libio.h: Tweak.
2632 * config/c_io_libio_codecvt.c: New file.
2633 * libio/Makefile.am: Add c_codecvt.c.
2634 * libio/Makefile.in: Regenerate.
2635 * libio/genops.c (_IO_unbuffer_write): Don't call _IO_SETBUF if the
2636 stream is not orientated.
2637
2638 * acinclude.m4: Add config/c_io_libio_codecvt.c dummy file, until
2639 encoding gets fleshed out.
2640
2641 * bits/basic_file.h: Add specialization declarations.
2642 * config/c_io_libio.cc: Add specializations for pbackfail, uflow.
2643
2644 * config/c_io_libio.h: Add __c_wfile_type.
2645 * bits/basic_file.h: Add _M_wfile.
2646
2647 * config/c_io_libio.cc (__basic_file<char>): Initialize the
2648 streams without setting the orientation of the underlying FILE to
2649 either wide or narrow.
2650 (__basic_file<wchar_t>)): Enable tricky wchar_t io bits.
2651
2652 2000-08-07 Felix Natter <fnatter@gmx.net>
2653
2654 * docs/17_intro/porting-howto.html: New version.
2655
2656 2000-08-03 Mark Mitchell <mark@codesourcery.com>
2657
2658 * bits/locale_facets.h (ctype::ctype): Don't name unused
2659 parameters.
2660
2661 2000-08-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2662
2663 * docs/install.html: Edit bits about requiring a special version
2664 of the autotools.
2665
2666 2000-07-31 Benjamin Kosnik <bkoz@cygnus.com>
2667
2668 * libio/fileops.cc: Update to current glibc sources.
2669 * libio/genops.c: Same.
2670 * libio/iofwide.c: Same.
2671 * libio/libio.h: Same.
2672 * libio/libioP.h: Same.
2673 * libio/wfiledoalloc.c: Same.
2674 * libio/wgenops.c: Same.
2675
2676 2000-07-28 Alexandre Oliva <aoliva@redhat.com>
2677
2678 * acinclude.m4: Include ../libtool.m4.
2679 * aclocal.m4, configure: Rebuilt.
2680
2681 2000-07-26 Phil Edwards <pme@sourceware.cygnus.com>
2682
2683 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Test for GNU ld
2684 before trying to use any of its options.
2685 (CHECK_MATH_DECL*,CHECK_BUILTIN_MATH_DECL*): Cache tests.
2686 * aclocal.m4: Regenerate.
2687 * configure.in: Having found GNU make, name it.
2688 * configure: Regenerate.
2689 * docs/install.html: Mention possible problems with caching.
2690 * src/Makefile.am (CXXLINK): Use new OPT_LDFLAGS.
2691 * src/Makefile.in: Regenerate.
2692 * libio/Makefile.in: Regenerate.
2693 * math/Makefile.in: Regenerate.
2694 * Makefile.in: Regenerate.
2695
2696 2000-07-26 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2697
2698 * src/misc-inst.cc (std): Remove instantiations.
2699
2700 * acinclude.m4: Add forward-looking bits for autoconf.
2701 * aclocal.m4: Regenerate.
2702
2703 * bits/ostream.tcc (ostream::operator<<): Fix const char* case.
2704
2705 2000-07-25 Benjamin Kosnik <bkoz@gnu.org>
2706
2707 * configure.in: Change AM_PROG_LIBTOOL to AC_PROG_LIBTOOL. Change
2708 it back for current versions of maintainer-tools...
2709 * acinclude.m4: Some cleanups...
2710 * aclocal: Regenerated.
2711 * configure: Regenerated.
2712
2713 * src/Makefile.am (CXXLINK): Add -Wl,-01 to the link line for
2714 optimizing/adapting the hash table using GNU ld.
2715 * src/Makefile.in: Regenerate.
2716
2717 2000-07-24 H.J. Lu <hjl@gnu.org>
2718
2719 * src/Makefile.am (LIBIO_INCLUDES): Set to -I$(top_srcdir)/libio
2720 even if GLIBCPP_NEED_LIBIO is false. The installed glibc header
2721 files don't include private libio header files needed by
2722 libstdc++ v3.
2723 * src/Makefile.in: Rebuild.
2724
2725 2000-07-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2726
2727 * bits/std_fstream.h: Parameterize __basic_file.
2728 * config/c_io_libio.cc: Add wchar_t methods for parameterization.
2729 * bits/basic_file.h: Same here.
2730
2731 * bits/istream.tcc (getline): Tweaks.
2732
2733 * bits/fstream.tcc: Shorten __retval to __ret.
2734 * bits/ostream.tcc: Same.
2735 * bits/sbuf_iter.h: Same.
2736 * bits/sstream.tcc: Same.
2737 * bits/streambuf.tcc: Same.
2738 * bits/std_fstream.h: Same.
2739 * src/string-inst.cc: Same.
2740 * src/ios.cc: Same.
2741 * config/c_io_libio.cc: Same.
2742 * bits/string.tcc: Same.
2743 * bits/std_streambuf.h: Same.
2744
2745 2000-07-23 Brent Verner <brent@rcfile.org>
2746
2747 * bits/istream.tcc: istream::getline(char_type*, streamsize,
2748 char_type) make compliant
2749 * testsuite/27_io/istream_unformatted.cc: test for compliant behavior
2750
2751 2000-07-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2752
2753 * acinclude.m4 (enable_cshadow_headers): Fix problems with blddir
2754 and srcdir used to define CSHADOW_INCLUDES..
2755
2756 * configure.in: For consistency, change .sanity_warned to
2757 stamp-sanity-warned.
2758
2759 * acinclude.m4: Tweak formatting.
2760 * Makefile.am (check): Call mkcheck with full pathname for build
2761 directory...
2762 (check-install): And here.
2763 * Makefile.in: Regenerate.
2764
2765 2000-07-22 Gabriel Dos Reis <gdr@codesourcery.com>
2766
2767 Line up with libstdc++-v2 version of valarray.
2768 * bits/valarray_array.h (__valarray_product): Make inline.
2769 * src/valarray-inst.cc (__valarray_product): Remove explicit
2770 instantiation.
2771
2772 2000-07-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2773
2774 * src/stl-inst.cc: Change __sink_unused_warning to unsigned int
2775 for alpha.
2776
2777 * testsuite/26_numerics/complex_inserters_extractors.cc (testall):
2778 Change return type to void.
2779 * testsuite/25_algorithms/lower_bound.cc: Add return values.
2780 * testsuite/17_intro/header_ciso646.cc: Modify.
2781 * bits/locale_facets.h: Add return values for the generic cases.
2782
2783 2000-07-21 H.J. Lu (hjl@gnu.org)
2784
2785 * acinclude.m4: Include <features.h> for glibc testing.
2786 * aclocal.m4: Likewise.
2787
2788 * configure: Rebuild.
2789
2790 2000-07-20 H.J. Lu (hjl@gnu.org)
2791
2792 * acinclude.m4: Change "#pragma system_header" to
2793 "#pragma GCC system_header".
2794 * aclocal.m4: Likewise.
2795 * bits/std_cmath.h: Likewise.
2796 * bits/std_cassert.h: Likewise.
2797 * bits/std_cctype.h: Likewise.
2798 * bits/std_cerrno.h: Likewise.
2799 * bits/std_cfloat.h: Likewise.
2800 * bits/std_climits.h: Likewise.
2801 * bits/std_clocale.h: Likewise.
2802 * bits/std_cwchar.h: Likewise.
2803 * bits/std_csetjmp.h: Likewise.
2804 * bits/std_csignal.h: Likewise.
2805 * bits/std_cstdarg.h: Likewise.
2806 * bits/std_cstddef.h: Likewise.
2807 * bits/std_cstdio.h: Likewise.
2808 * bits/std_cstdlib.h: Likewise.
2809 * bits/std_cstring.h: Likewise.
2810 * bits/std_ctime.h: Likewise.
2811 * bits/std_cwctype.h: Likewise.
2812 * bits/std_exception.h: Likewise.
2813 * bits/std_new.h: Likewise.
2814 * bits/std_typeinfo.h: Likewise.
2815 * shadow/bits/std_cassert.h: Likewise.
2816 * shadow/bits/std_cctype.h: Likewise.
2817 * shadow/bits/std_cerrno.h: Likewise.
2818 * shadow/bits/std_cfloat.h: Likewise.
2819 * shadow/bits/std_climits.h: Likewise.
2820 * shadow/bits/std_clocale.h: Likewise.
2821 * shadow/bits/std_cmath.h: Likewise.
2822 * shadow/bits/std_csetjmp.h: Likewise.
2823 * shadow/bits/std_csignal.h: Likewise.
2824 * shadow/bits/std_cstdarg.h: Likewise.
2825 * shadow/bits/std_cstddef.h: Likewise.
2826 * shadow/bits/std_cstdio.h: Likewise.
2827 * shadow/bits/std_cstdlib.h: Likewise.
2828 * shadow/bits/std_cstring.h: Likewise.
2829 * shadow/bits/std_ctime.h: Likewise.
2830 * shadow/bits/std_cwchar.h: Likewise.
2831 * shadow/bits/std_cwctype.h: Likewise.
2832 * shadow/bits/wrap_libio.h: Likewise.
2833 * shadow/bits/wrap_unistd.h: Likewise.
2834 * shadow/sys/cdefs.h: Likewise.
2835
2836 * configure: Rebuild.
2837
2838 2000-07-20 Jakub Jelinek <jakub@redhat.com>
2839
2840 * config/cpu/sparc/sparc64/bits/atomicity.h (__exchange_and_add):
2841 Use extended word instructions to match 64bit _Atomic_word.
2842 (__atomic_add): Likewise.
2843 * math/clog10l.c (clog10l): Use M_PIl if defined.
2844 * math/c_logl.c (c_logl): Likewise.
2845 * math/signbitl.c (__signbitl): Adapt for IEEE quad long doubles.
2846 * math/mathconf.h (ieee_quad_double_shape_type): New type.
2847 (GET_LDOUBLE_MSW64): New define.
2848
2849 2000-07-20 Benjamin Kosnik <bkoz@cygnus.com>
2850
2851 * bits/std_streambuf.h: Add bits for pback buffers here, so that
2852 in_avail, etc can use them.
2853 * bits/std_fstream.h: Ditto.
2854 * bits/fstream.tcc: Ditto.
2855 * testsuite/27_io/filebuf.cc: Tweaks.
2856 * testsuite/27_io/filebuf-3.tst: Correct for pbackfail bits.
2857
2858 2000-07-19 Benjamin Kosnik <bkoz@cygnus.com>
2859
2860 * src/localename.cc: Same.
2861 * src/locale.cc: Same.
2862 * bits/localefwd.h: _M_init_facet to _M_facet_init.
2863
2864 * bits/locale_facets.h: _M_init_boolnames to _M_boolnames_init.
2865
2866 * bits/std_sstream.h: Change _M_init_stringbuf to _M_stringbuf_init.
2867
2868 * bits/fstream.tcc: Change _M_init_filebuf to _M_filebuf_init.
2869 * bits/std_fstream.h: Same.
2870
2871 * bits/basic_string.h: Tweaks.
2872
2873 2000-07-19 Phil Edwards <pme@sourceware.cygnus.com>
2874
2875 * docs/18_support/howto.html: Update.
2876
2877 2000-07-19 Benjamin Kosnik <bkoz@milou.soma.redhat.com>
2878
2879 Internal consistency checks.....
2880 * bits/ios_base.h: Change _M_locale_ios to _M_ios_locale.
2881 * src/ios.cc: Same.
2882
2883 * bits/basic_ios.h: Change _M_fctype_ios to _M_ios_fctype.
2884 * bits/basic_ios.tcc: Same.
2885
2886 * bits/std_streambuf.h: Change _M_locale_buf to _M_buf_locale.
2887 Change _M_fctype_buf to _M_buf_fctype.
2888 * bits/fstream.tcc: Same.
2889
2890 * bits/std_streambuf.h: Change _M_buf_bump to _M_out_cur_move.
2891 Change _M_locale_set to _M_buf_locale_init.
2892 * bits/streambuf.tcc: Same.
2893 * bits/sstream.tcc: Same.
2894 * bits/fstream.tcc: Same.
2895
2896 * bits/std_streambuf.h: Make typedefs consistent.
2897 (_M_buf_bump): Be more careful with input sequence.
2898
2899 * bits/std_sstream.h: Same.
2900 * bits/std_fstream.h: Same.
2901
2902 2000-07-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2903
2904 * acinclude.m4: Tweaks.
2905 * config/c_io_libio.cc: Tweaks.
2906 * bits/sstream.tcc (stringbuf::pbackfail): Simplify.
2907 * libio/_G_config.h: Don't define _G_HAVE_ST_BLKSIZE.
2908 * libio/[iofwide.c, wfiledoalloc.c, wfiteopos.c, wgenops.c]: New files.
2909 * libio/iofclose.c iofopen.c, stdio.c: New files.
2910 * libio/Makefile.am: Add files, add flags, etc.
2911 * src/Makefile.am (sources): Add filebuf.cc.
2912 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT):
2913 (GLIBCPP_ENABLE_CSTDIO): Versioning testing, etc etc.
2914
2915 2000-07-17 Phil Edwards <pme@sourceware.cygnus.com>
2916
2917 * acinclude.m4: Import CHECK_GNU_MAKE from autoconf macro archive.
2918 * configure.in: Use it. Also print reminders one time.
2919 * aclocal.m4: Regenerate.
2920 * configure: Regenerate.
2921
2922 2000-07-15 Gabriel Dos Reis <gdr@codesourcery.com>
2923
2924 * bits/valarray_array.h (__valarray_get_storage): New function.
2925 (_Array<>::Array): Use it.
2926 * bits/std_valarray.h (valarray<>::valarray): Likewise.
2927 (valarray<>::resize): Likewise. Tweak.
2928 * src/valarray-inst.cc (__valarray_product): Tweak.
2929
2930 2000-07-11 Phil Edwards <pme@sourceware.cygnus.com>
2931
2932 * docs: Update sourceware->sources in every HTML file. Minor updates.
2933
2934 2000-07-07 Benjamin Kosnik <bkoz@soma.redhat.com>
2935
2936 Clean up configure/build longstanding issues.
2937 * src/Makefile.am (AC_CXXFLAGS): Don't set @SECTION_LDFLAGS@ here.
2938 (CXXLINK): Add here, instead.
2939
2940 * Makefile.am (check-install): Make sure mkcheck has execute privs.
2941 (check): Same here.
2942 * configure.in (AC_OUTPUT_COMMANDS): Remove hacks here.
2943
2944 * configure.in (AC_OUTPUT_COMMANDS): Link c_io_libio.h and
2945 c_io_libio.cc instead of copying.
2946 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Do link here.
2947
2948 * configure.in (AC_OUTPUT_COMMANDS): Link $THREADS.h and
2949 c++threads.h instead of copying.
2950 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Do link here.
2951 Tweaks.
2952
2953 * config/c_io_libio.cc (__basic_file::_M_open_mode): Consolidate.
2954 * bits/basic_file.h: Declare.
2955
2956 * mkcheck.in (TESTS_FILE): Use -v instead of --version.
2957
2958 2000-07-07 brent verner <brent@rcfile.org>
2959
2960 * testsuite/27_io/istream_unformatted.cc (test05): New test.
2961
2962 2000-07-07 Benjamin Kosnik <bkoz@gnu.org>
2963
2964 * bits/istream.tcc (istream::getline): Minor tweaks.
2965
2966 2000-07-07 Phil Edwards <pme@sourceware.cygnus.com>
2967
2968 * docs/download.html: Mention gcc_update.
2969 * docs/configopts.html: Minor updates.
2970 * docs/gccrebuild.html: Ditto.
2971 * docs/18_support/howto.html: More tips, explanations, and reminders.
2972 * docs/19_diagnostics/howto.html: Ditto.
2973 * docs/21_strings/howto.html: Ditto.
2974 * docs/24_iterators/howto.html: Ditto.
2975 * docs/25_algorithms/howto.html: Ditto.
2976 * docs/26_numerics/howto.html: Ditto.
2977
2978 2000-07-05 brent verner <brent@rcfile.org>
2979
2980 * testsuite/27_io/ifstream_members.cc (test01): Add tests.
2981 * testsuite/27_io/ofstream_members.cc (test01): Add tests.
2982 * config/c_io_libio.cc (__basic_file::open): Unset
2983 ~_IO_DELETE_DONT_CLOSE.
2984
2985 2000-07-05 Zack Weinberg <zack@wolery.cumb.org>
2986
2987 * bits/gslice_array.h, bits/indirect_array.h, bits/mask_array.h,
2988 bits/slice_array.h, bits/std_valarray.h, bits/valarray_meta.h:
2989 Do not paste anything after 'operator' keyword.
2990
2991 2000-07-03 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2992
2993 * bits/std_memory.h: Revert.
2994
2995 2000-07-03 Brendan Kehoe <brendan@zen.org>
2996
2997 * bits/std_complex.h: Fix parens. Format.
2998
2999 2000-07-03 scott snyder <snyder@fnal.gov>
3000
3001 * bits/locale_facets.tcc (_M_extract): Only figure out the base
3002 from the input if base == 0.
3003 * testsuite/27_io/istream_extractor_arith.cc: Test reading a
3004 number with a leading `0' in hex mode.
3005
3006 * shadow/bits/std_cmath.h: Fix typo in _GLIBCPP_HAVE_CEILL test.
3007
3008 * mkinclosure: Change `==' to `=' in test.
3009
3010 2000-07-03 Chip Salzenberg <chip@valinux.com>
3011
3012 * src/Makefile.am (libio_headers): _G_config.h is found in srcdir,
3013 not builddir.
3014 * src/Makefile.in: Regenerate.
3015
3016 2000-07-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3017 Ulrich Drepper <drepper@purist.soma.redhat.com>
3018
3019 Sync libio to glibc-2.2 current CVS.
3020 * libio/_G_config.h: New file.
3021 * libio/wfileops.c: New file.
3022 * libio/wfiledoalloc.c: New file.
3023 * libio/wgenops.c: New file.
3024 * libio/iofwide.c: New file.
3025 * libio/Makefile.am: Tweaks.
3026 * libio/Makefile.in: Regenerate.
3027 * libio/gen-params: Remove. Generic replacement for this yet undone.
3028 * libio/[filedoalloc.c, fileops.c, genops.c, iolibio.h, libio.h,
3029 libioP.h, stdfiles.c]: Update.
3030 * config/c_io_libio.cc: Tweaks.
3031 * acinclude.m4: Complete hacks to test wide io.
3032 * aclocal.m4: Regenerate.
3033 * configure: Regenerate.
3034 * src/Makefile.am: Update.
3035 * src/Makefile.in: Regenerate.
3036
3037 * math/cargl.c: Remove underscores.
3038
3039 * bits/locale_facets.h: Tweaks. Start adding iconv details
3040 and notes.
3041 * bits/locale_facets.tcc: Tweaks.
3042 * bits/std_cwchar.h: Tweaks.
3043
3044 2000-06-29 scott snyder <snyder@fnal.gov>
3045
3046 * bits/concept_checks.h
3047 (__less_then_comparable_requirement_violation): Only check for <.
3048 * testsuite/25_algorithms/lower_bound.cc: New file.
3049
3050 2000-06-29 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3051
3052 * testsuite/27_io/ostream_manip.cc (test02): Add tests.
3053 * bits/ostream.tcc: Tweak.
3054 * bits/std_fstream.h (basic_filebuf::setbuf): Reset
3055 _M_buf_size_opt too.
3056 * bits/std_streambuf.h (basic_streambuf::~basic_streambuf): Zero
3057 out _M_buf_size_opt.
3058 * bits/std_sstream.h (basic_stringbuf::_M_init_stringbuf): Set
3059 _M_buf_size_opt out here.
3060 * bits/char_traits.h (char_traits::eos): Non standard member
3061 function, uglify to __eos. Return char_type().
3062 * bits/std_ostream.h: Change.
3063
3064 * testsuite/27_io/ostream_seeks.cc: New file.
3065 * testsuite/27_io/ostream_seeks-1.tst: New file.
3066 * testsuite/27_io/istream_unformatted.cc (main): Move test04 and
3067 test05 to...
3068 * testsuite/27_io/istream_seeks.cc: New file.
3069
3070 2000-06-29 Branko Cibej <branko.cibej@hermes.si>
3071
3072 * bits/std_memory.h (auto_ptr_ref): Reworked and defined only if
3073 _GLIBCPP_RESOLVE_LIB_DEFECTS.
3074 (auto_ptr): _M_ptr changed to void*.
3075 (suto_ptr::get): Cast _M_ptr to element type.
3076 (auto_ptr::auto_ptr(auto_ptr<Tp1>)): Test implicit convetsion.
3077 (auto_ptr::~auto_ptr): Use this->get() instead of _M_ptr.
3078 (auto_ptr::operator*): Likewise.
3079 (auto_ptr::operator->): Likewise.
3080 (auto_ptr::release): Likewise.
3081 (auto_ptr::reset): Likewise.
3082 (auto_ptr::auto_ptr(auto_ptr_ref)): Initialize from __ref._M_release.
3083 (auto_ptr::operator auto_ptr_rev<_Tp1>): Updated.
3084 Define nested auto_ptr_ref unless _GLIBCPP_RESOLVE_LIB_DEFECTS.
3085 Define operator=(auto_ptr_ref) if _GLIBCPP_RESOLVE_LIB_DEFECTS.
3086
3087 2000-06-28 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3088
3089 * testsuite/27_io/filebuf.cc: Tweak.
3090 * testsuite/27_io/filebuf_members.cc (test_01): Fix.
3091 * config/c_io_libio.cc (__basic_file::~__basic_file): Match libio
3092 filebuf dtor.
3093 (__basic_file::basic_file): Clean, add calls similar to
3094 _IO_file_attach.
3095 (__basic_file::open): Clean.
3096 (__basic_file::sys_open): Clean.
3097
3098 * bits/std_fstream.h: Revert.
3099 * bits/fstream.tcc (filebuf::close()): Revert.
3100 (filebuf::basic_filebuf()): Revert.
3101
3102 2000-06-27 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3103
3104 Update to SGI STL 3.3
3105 * ext/hash_map, ext/hash_set, ext/slist, ext/stl_bvector.h,
3106 ext/stl_rope.h, ext/ropeimpl.h: Update.
3107 * bits/std_bitset.h, bits/std_map, bits/std_memory.h,
3108 bits/stl_algo.h, bits/stl_algobase.h, bits/stl_alloc.h,
3109 bits/stl_config.h, bits/stl_construct.h, bits/stl_deque.h,
3110 bits/stl_function.h, bits/stl_heap.h, bits/stl_iterator.h,
3111 bits/stl_iterator_base.h, bits/stl_list.h, bits/stl_map.h,
3112 bits/stl_multimap.h, bits/stl_multiset.h, bits/stl_numeric.h,
3113 bits/stl_queue.h, bits/stl_set.h, bits/stl_stack.h,
3114 bits/stl_string_fwd.h, bits/stl_threads.h, bits/stl_three.h,
3115 bits/stl_uninitialized.h, bits/stl_vectory.h: Update.
3116
3117 * src/Makefile.am (headers): Add new files.
3118 * src/Makefile.in: Regenerate.
3119 * src/stl-inst.cc (std): Add instantiation for __sink_unused_warning.
3120 * bits/concept_checks.h: New file.
3121 * bits/container_concepts.h: New file.
3122 * bits/sequence_concepts.h: New file.
3123
3124 2000-06-27 H.J. Lu <hjl@gnu.org>
3125 Loren J. Rittle <ljrittle@acm.org>
3126
3127 * mkcheck.in: Add support to print standard flags needed to
3128 test g++ in build tree. Enhance command line error checking.
3129
3130 2000-06-27 Phil Edwards <pme@sourceware.cygnus.com>
3131
3132 * docs/install.html: Fix minor typo as reported.
3133
3134 2000-06-26 Brent Verner <brent@rcfile.org>
3135
3136 * bits/string.tcc (string::rfind): Fix.
3137 * testsuite/21_strings/rfind.cc: New file.
3138
3139 2000-06-26 Anthony Williams <anthony@anthonyw.cjb.net>
3140
3141 * testsuite/21_strings/ctor_copy_dtor.cc: Fixed logic error.
3142
3143 2000-06-26 Branko Cibej <branko.cibej@hermes.si>
3144
3145 * testsuite/27_io/filebuf_members.cc (test_01): Fixed typos.
3146
3147 * mkcheck.in: Make the *.txt and *.tst files writable after
3148 copying them to $TEST_DIR.
3149
3150 * testsuite/27_io/ostream_inserter_arith.cc: Renamed
3151 __TEST_NUMPUT_VERBOSE to TEST_NUMPUT_VERBOSE. Define
3152 TEST_NUMPUT_VERBOSE only if DEBUG_ASSERT.
3153
3154 2000-06-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3155
3156 * bits/fstream.tcc (basic_filebuf::basic_filebuf(fd)): Use it.
3157 (basic_filebuf::close): Use it.
3158 * bits/std_fstream.h (basic_filebuf): Remove default arguments for
3159 filebuf ctor.
3160 (basic_filebuf): Add _M_fileno_based data member.
3161 As reported by brent verner <brent@rcfile.org>
3162 * testsuite/27_io/filebuf_members.cc: New file.
3163 * testsuite/27_io/filebuf_members-1.tst: New file.
3164
3165 * bits/std_fstream.h: Formatting tweaks.
3166 * testsuite/27_io/ofstream_members.cc: New file.
3167 * testsuite/27_io/ofstream_members-1.tst: New file.
3168 * testsuite/27_io/ifstream_members.cc: New file.
3169 * testsuite/27_io/ifstream_members-1.tst: New file.
3170
3171 2000-06-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3172 Ulrich Drepper <drepper@cygnus.com>
3173
3174 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Add -D_GNU_SOURCE, so
3175 that all the freaky stuff like sincos will be around...
3176
3177 2000-06-22 Branko Cibej <branko.cibej@hermes.si>
3178
3179 * Makefile.am (AM_MAKEFLAGS): Added WERROR to list of flags.
3180
3181 2000-06-22 Steven King <sxking@uswest.net>
3182
3183 * acinclude.m4: Check for sinl, _sinl using 1 parameter.
3184
3185 2000-06-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3186
3187 * acinclude.m4 (GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT): Redo. Use the
3188 same approach as GLIBCPP_CHECK_MATH_SUPPORT, only don't try to
3189 link against libm and don't use -fno-builtins...
3190 * math/mathconf.h: Change up builtin macros to new schema.
3191 * bits/std_cmath.h: And here. Wheee!
3192 * shadow/bits/std_cmath.h: And here.
3193 * acconfig.h: Change up builtin macros here.
3194 * math/cosf.c: Remove.
3195 * math/fabsf.c: Likewise.
3196 * math/sinf.c: Likewise.
3197 * math/sqrtf.c: Likewise.
3198 * math/Makefile.am (EXTRA_DIST): Remove those four files.
3199 * math/Makefile.in: Regenerate.
3200
3201 2000-06-22 Anthony Williams <anthony@anthonyw.cjb.net>
3202
3203 * testsuite/21_strings/find.cc: Patch.
3204
3205 2000-06-22 Benjamin Kosnik <bkoz@soma.redhat.com>
3206
3207 * acinclude.m4 (GLIBCPP_CHEC_LINKER_FEATURES): Use gcc + -x c++ as
3208 an easy way to get at g++ without having to link in libstdc++.
3209
3210 2000-06-21 Benjamin Kosnik <bkoz@soma.redhat.com>
3211
3212 Fix alpha, powerpc build failures.
3213 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Substantially
3214 re-write. Need to check for both proper declaration when using a
3215 c++ compiler, and "C" linkage when linking. Do both, and if both
3216 exist, then define the HAVE_* bits in config.h.
3217 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE): New, uber-macro. Does all.
3218 (GLIBCPP_CHECK_LINKER_FEATURES): Actually link and run this
3219 program, doh.
3220
3221 2000-06-20 Anthony Williams <anthony@anthonyw.cjb.net>
3222
3223 * bits/string.tcc: Fix find.
3224 * testsuite/21_strings/find.cc: Patch.
3225
3226 2000-06-20 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3227
3228 * docs/install.html: Update where to get automake, where to get
3229 binutils.
3230 * acinclude.m4: Need -fno-builtins too, so gcc doesn't recognize
3231 builtins.
3232
3233 2000-06-19 Benjamin Kosnik <bkoz@soma.redhat.com>
3234
3235 * acinclude.m4 ((GLIBCPP_CHECK_MATH_SUPPORT): Revert last change.
3236 Add -Werror-implicit-function-declaration instead.
3237
3238 Regenerate with fixed maintainer-tools.
3239 * aclocal.m4: Regenerate.
3240 * configure: Regenerate.
3241 * libio/Makefile.in: Regenerate.
3242 * src/Makefile.in: Regenerate.
3243
3244 2000-06-19 Russell Davidson <russell@ehess.cnrs-mrs.fr>
3245
3246 * testsuite/27_io/istream_extractor_arith.cc: Patch.
3247 * bits/locale_factets.tcc: Tweak.
3248
3249 2000-06-19 Raja R Harinath <harinath@cs.umn.edu>
3250
3251 * src/Makefile.am: change @WERROR@ to $(WERROR) so that this can
3252 be overridden on the command line for individual files.
3253
3254 2000-06-19 Benjamin Kosnik <bkoz@soma.redhat.com>
3255
3256 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Can't use
3257 AC_LANG_CPLUSPLUS as this tries to link in libstdc++, which we are
3258 building. Use -x c++ instead, which does not attempt to link
3259 libstdc++.
3260
3261 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Actually check for
3262 not coring when we hit a try/throw block, which was the problem
3263 with the linker support...
3264
3265 * docs/17_intro/contribute.html: Add bits about getting to the LWG
3266 issues pages.
3267 * docs/documentation.html: Rename link to make more accurate and scary.
3268 * docs/gccrebuild.html: Edit for clarity as these are no longer
3269 separate projects.
3270 * docs/install.html: Add bits about binutils for
3271 -ffunction-sections, -fdata-sections, -Wl,--gc-sections
3272
3273 * configure.in: Add call for GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT.
3274 * math/Makefile.am (EXTRA_DIST): Change USE_LONG_DOUBLE to
3275 USE_COMPLEX_LONG_DOUBLE.
3276 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Break into
3277 GLIBCPP_CHECK_MATH_SUPPORT and GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT.
3278 Works around irregularies in powerpc "C" compiler, but a good idea
3279 anyway.
3280
3281 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT):
3282 New. Merge both old compiler bug checks for complex into this.
3283
3284 2000-06-19 Anthony Williams <anthony@anthonyw.cjb.net>
3285
3286 * testsuite/21_strings/find.cc: Empty strings can be found at all
3287 positions. Modified.
3288
3289 2000-06-19 Branko Cibej <branko.cibej@hermes.si>
3290
3291 * testsuite/20_utilities: New directory.
3292 * testsuite/20_utilities/auto_ptr.cc: New file.
3293
3294 2000-06-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3295
3296 * src/Makefile.am (string_sources): Simplify, assuming that with
3297 -ffunction-sections, -fdata-sections, -Wl,--gc-sections, all this
3298 hacking is not necessary.
3299 (wstring_sources): Same.
3300 (OPTIMIZE_CXXFLAGS): Enable -fdata-sections -ffunction-sections
3301 -Wl,--gc-sections.
3302 * src/string-inst.cc: Remove macro blocks.
3303 * mkcheck.in (CXX_FLAG): Add bits here.
3304
3305 * src/string-inst.cc: Remove iostream-related string instantiations.
3306 * src/misc-inst.cc: Add here.
3307
3308 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change FMTFLAGS
3309 to WFMT_FLAGS.
3310 * aclocal.m4: Regenerate.
3311 * configure.in: Change up.
3312 * configure: Regenerate.
3313
3314 2000-06-13 Steven King <sxking@uswest.net>
3315
3316 * acinclude.m4: Fixup some of the builtin math tests and add tests for
3317 __builtin_fmod* and test libm for fmodf, fmodl or _fmodf, _fmodl.
3318 * acconfig.h: Add entries for fmod*.
3319
3320 2000-06-13 Branko Cibej <branko.cibej@hermes.si>
3321
3322 * bits/std_cmath.h: Fix typos in tests (*_FMODFF -> *_FMODF).
3323 Test *_MODFF not *_MODF for modf(float, float*).
3324 (modf(float, float*)): Remove reference to _C_legacy.
3325
3326 2000-06-13 Benjamin Kosnik <bkoz@redhat.com>
3327
3328 * acinclude.m4 (enable_cshadow_headers): Change CSHADOWFLAGS to
3329 _GNU_SOURCE instead of _ISOC9X_SOURCE, as _GNU_SOURCE is the
3330 superset, and already defined at top level.
3331 * aclocal.m4: Regenerate.
3332 * configure: Regenerate.
3333
3334 * docs/17_intro/contribute.html: Plead with people to use -cp.
3335
3336 2000-06-13 Anthony Williams <anthony@anthonyw.cjb.net>
3337
3338 * testsuite/23_containers/bitset_ctor.cc: Qualify reverse wth std::.
3339
3340 * testsuite/27_io/filebuf.cc: Changed calls to
3341 fpos<>._M_position() to implicit calls to operator streamoff().
3342 * testsuite/27_io/iostream_objects.cc: Removed #include <ciso646>,
3343 as not needed. Revert, as part of standard.
3344 * testsuite/27_io/ostream_inserter_arith.cc: Replaced explicit
3345 call to numpunct<>._M_init() with overrides of the appropriate
3346 virtual functions.
3347
3348 * testsuite/27_io/stringstream.cc: Removed unnecessary char *
3349 pointers from test01, so no need to call base(), which isn't
3350 guaranteed to be implemented as iterators may themselves be pointers
3351 * testsuite/27_io/stringbuf.cc: Removed unnecessary calls to
3352 _M_position() - use implicit conversion to streamoff instead
3353
3354 2000-06-13 Thomas Holenstein <thomas@hex.ch>
3355
3356 * bits/stl_iterator.h: Added inline to operators == to >=.
3357
3358 2000-06-13 Brent Verner <brent@rcfile.org>
3359
3360 * bits/streambuf.tcc: repaired _S_copy_streambufs()
3361 * testsuite/27_io/ostream_inserter_other.cc (test03): Added testcase.
3362
3363 2000-06-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3364
3365 * bits/locale_facets.h (ctype<wchar_t>): Remove unnecessary data
3366 members.
3367 * src/locale.cc: Add cwchar include here. Remove incorrect
3368 definitions, and stub them out.
3369 * config/generic/ctype.cc (ctype): Remove ctype<wchar_t> bits.
3370 * config/solaris/solaris2.7/ctype.cc (ctype): Same.
3371 * config/solaris/solaris2.5/ctype.cc (ctype): Same.
3372 * config/newlib/ctype.cc: Same.
3373 * config/gnu-linux/ctype.cc: Same.
3374 * config/bsd/ctype.cc: Same.
3375 * config/aix/ctype.cc: Same.
3376
3377 2000-06-12 Branko Cibej <branko.cibej@hermes.si>
3378
3379 * config/solaris/solaris2.6/ctype.cc (do_toupper, do_tolower): Use
3380 towupper and towlower to convert wide characters.
3381
3382 2000-06-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3383
3384 * mkcheck.in: Clean up confusion regarding NAME, PRE_NAME.
3385
3386 2000-06-08 Branko Cibej <branko.cibej@hermes.si>
3387
3388 * acinclude.m4 (GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT): Check for
3389 sinf, cosf, fabsf, and sqrtf; add to LIBMATHOBJS if missing.
3390 * aclocal.m4: Regenerate.
3391 * configure: Regenerate.
3392 * math/cosf.c: New file.
3393 * math/fabsf.c: Likewise.
3394 * math/sinf.c: Likewise.
3395 * math/sqrtf.c: Likewise.
3396 * math/Makefile.am (EXTRA_DIST): Add those four files.
3397 * math/Makefile.in: Regenerate.
3398
3399 2000-06-08 Phil Edwards <pme@sourceware.cygnus.com>
3400
3401 * testsuite/26_numerics/complex_inserters_extractors.cc: Need cmath.
3402
3403 2000-06-06 Steven King <sxking@uswest.net>
3404
3405 * acconfig.h: Added defines for HAVE_BUILTIN math functs for float,
3406 double and long double. Added defines for HAVE libm math functs for
3407 float and long double.
3408 * aclocal.m4: Added configure checks for builtin math funcs and libm
3409 support for float and long double versions of the math functions.
3410 * config.h.in: Added undefs for math functs.
3411 * configure: Regenerate.
3412 * math/mathconf: Changed the _GLIBCPP_HAS_BUILTIN_* to
3413 _GLIBCPP_HAVE_BUILTIN_*.
3414 * bits/std_cmath.h: Added long double support. Use builtins for
3415 float, double and long if available, otherwise, use libm versions if
3416 availible, otherwise, punt.
3417 * shadow/bits/std_cmath.h: ditto
3418
3419 2000-06-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3420
3421 * bits/locale_facets.h: Tweak.
3422 * src/locale.cc (codecvt<wchar_t>): Tweak.
3423
3424 * bits/locale_facets.h (_Format_cache): _S_ecks -> _S_x.
3425 * bits/locale_facets.tcc (num_get<char>::_M_extract): Fix for hex.
3426
3427 * bits/basic_string.h: Move data member up.
3428 * src/string-inst.cc: Fix instantiations.
3429 * bits/string.tcc: Fix types.
3430
3431 2000-06-02 Anthony Williams <anthony@anthonyw.cjb.net>
3432
3433 * testsuite/21_strings/replace.cc (test01): Qualify find with std::.
3434
3435 2000-06-01 Benjamin Kosnik <bkoz@gnu.org>
3436
3437 * bits/std_cwctype.h: Clean.
3438 * bits/std_cwchar.h: Clean, remove cruft.
3439
3440 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Re-work, add bits
3441 for beginning iconv support.
3442 Remove _GLIBCPP_HAS_WCHAR_MIN_MAX, roll into _GLIBCPP_USE_WCHAR_T
3443 macro.
3444 * acconfig.h: Remove _GLIBCPP_HAS_WCHAR_MIN_MAX.
3445 * bits/limits_generic.h: Remove.
3446 * src/gen-num-limits.cc: Same.
3447
3448 * src/locale.cc: Tweaks.
3449
3450 * bits/char_traits.h: Tweaks.
3451
3452 2000-05-31 Russell Davidson <russell@ehess.cnrs-mrs.fr>
3453
3454 * bits/locale_facets.tcc (num_get<char>::_M_extract): Fix signage,
3455 exponent, scientific formatting issues.
3456 * testsuite/27_io/istream_extractor_arith.cc (test09): Add tests.
3457
3458 2000-05-31 Branko Cibej <branko.cibej@hermes.si>
3459
3460 * bits/limits_generic.h (numeric_limits<wchar_t>): Use WCHAR_MIN
3461 and WCHAR_MAX instead of WCHART_MIN and WCHART_MAX.
3462
3463 2000-05-31 Nathan Myers <ncm@cantrip.org>
3464
3465 * docs/thanks.html: edit own credits
3466
3467 2000-05-31 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3468
3469 * bits/generic_shadow.h: Remaining _C_Shadow -> _C_shadow fix.
3470
3471 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Add strtoull checks...
3472
3473 * mkcheck.in (SH_FLAG): Add in -Wl,--rpath -Wl,$LIB_PATH. Tweaks.
3474
3475 2000-05-31 Steven King <sxking@uswest.net>
3476
3477 * shadow/time.h: fix typo
3478 * shadow/wchar.h: ifdef __USE_GNU for wcsdup
3479 * shadow/bits/std_cwchar.h: ditto
3480 * shadow/bits/std_cstdlib.h: add overloads of abs and div for long
3481 and long long.
3482
3483 2000-05-26 Phil Edwards <pme@sourceware.cygnus.com>
3484
3485 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): If strtoll isn't
3486 available, force --disable. Need to flesh this out; make smarter.
3487 * aclocal.m4: Regenerate.
3488 * configure: Regenerate.
3489
3490 * mkcheck.in: Minor tweaks.
3491 * docs/download.html: Fix typo.
3492
3493 2000-05-25 Benjamin Kosnik <bkoz@milou.soma.redhat.com>
3494
3495 * inclosure: Change to...
3496 * mkinclosure: This.
3497 Fix paths to bash.
3498 * mkcshadow: Fix paths to bash.
3499
3500 * src/Makefile.am: Tweaks. Do cshadow header trickery at build time.
3501 * src/Makefile.in: Regnerate.
3502 * acinclude.m4 (GLIBCPP_COMPILER_VERSION): Fix typo.
3503 (GLIBCPP_ENABLE_SHADOW): Do a less gross hack.
3504 * aclocal.m4: Regenerate.
3505 * mkcheck.in (INC_PATH): Tweak.
3506
3507 * configure.in: Enable long long by default.
3508 * configure: Regenerate.
3509
3510 * mkcheck.in (LIB_PATH): Revert.
3511
3512 2000-05-24 Nathan "I don't write ChangeLog Entries" Myers <ncm@cantrip.org>
3513
3514 * config/cpu/i486: New directory.
3515 * config/cpu/i486/bits: New directory.
3516 * config/cpu/i486/bits/atomicity.h: New file.
3517 * config/cpu/i386/bits/atomicity.h (__compare_and_swap): Delete
3518 'cmpxchgl' asm.
3519 * acinclude.m4 (GLIBCPP_CHECK_CPU): Enable i386.
3520
3521 2000-05-24 Loren J. Rittle <ljrittle@acm.org>
3522
3523 * backward/alloc.h (__default_alloc_template): Only expose
3524 implementation-specific symbol, if it exists in the
3525 configuration.
3526 * backward/iostream.h (ends): Expose symbol.
3527 * backward/strstream.h: New file.
3528 * backward/stream.h: New file.
3529 * backward/ostream.h: New file.
3530 * backward/istream.h: New file.
3531 * backward/fstream.h: New file.
3532 * backward/complex.h: New file.
3533 * backward/iomanip.h: New file.
3534
3535 * mkcheck.in (LIB_PATH): Add -R bits.
3536
3537 * math/carg.c (carg): Replace __atan2 with atan2.
3538
3539 2000-05-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3540
3541 * Makefile.am (TAGS): Construct.
3542 * Makefile.in: Rengerate.
3543 * src/Makefile.am: Tweak.
3544 * src/Makefile.in: Tweak.
3545 * configure.in: Tweak.
3546
3547 * bits/c++config.h: Rename to ...
3548 * bits/c++config: This.
3549 * mkc++config: Adjust.
3550
3551 * m4: Remove.
3552 * m4/lc_message.m4: Merge into acinclude.m4.
3553 * m4/mathfcts.m4: Same.
3554 * m4/stringfcts.m4: Same.
3555 * acinclude.m4: Add here.
3556 * configure: Regnerate.
3557
3558 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Remove
3559 OPTLEVEL. Add FMTFLAGS.
3560 * aclocal.m4: Regenerate.
3561 * src/Makefile.am (AC_CXXFLAGS): Take out OPTLEVEL, as this has
3562 been disabled due to higher-level Makefiles running amuck over
3563 this bit, and add in FMTFLAGS so that formatting is clear.
3564 * src/Makefile.in: Regenerate.
3565 * configure: Regenerate.
3566
3567 * src/ios.cc (ios_base::sync_with_stdio): Clean up buffers from
3568 initialization.
3569
3570 * docs/download.html: Remove references to Cygwin-specific bits,
3571 as this can now be built natively.
3572 Update with current information.
3573
3574 2000-05-24 Phil Edwards <pme@sourceware.cygnus.com>
3575
3576 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): If we can use
3577 -fdiagnostics-show-location=once, do so. Expand AC_LANG_* to
3578 enclose other tests in this macro, including future ones.
3579 * aclocal.m4: Regenerate.
3580 * configure: Regenerate.
3581
3582 * docs/faq/index.html: Update location of libg++ FAQ.
3583 * docs/faq/index.txt: Regenerate.
3584
3585 2000-05-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3586
3587 * docs/17_intro/libstdc++-assign.txt: Change Cygnus to FSF.
3588
3589 2000-05-22 Phil Edwards <pme@sourceware.cygnus.com>
3590
3591 * mkcheck.in: Tweak for Solaris 8. Additional minor output comment.
3592
3593 2000-05-22 Phil Edwards <pme@sourceware.cygnus.com>
3594
3595 * acinclude.m4: If the new pragma isn't supported, don't kill -Werror;
3596 keep -Werror and add -Wno-unknown-pragma. -Werror Is Good.
3597 * aclocal.m4: Regenerate.
3598 * configure: Regenerate.
3599
3600 2000-05-19 Nathan C. Myers <ncm@cantrip.org>
3601
3602 * bits/generic_shadow.h: s/swamp/legacy/
3603
3604 2000-05-19 Phil Edwards <pme@sourceware.cygnus.com>
3605
3606 * acinclude.m4: Clean up comments on newer checks.
3607 (GLIBCPP_CHECK_COMPILER_VERSION): Check for system_header
3608 pragma support. Remove WERRORSUPPRESS variable, add WERROR.
3609 * aclocal.m4: Regenerate.
3610 * configure: Regenerate.
3611 * Makefile.in: Regenerate.
3612 * libio/Makefile.in: Regenerate.
3613 * math/Makefile.in: Regenerate.
3614 * src/Makefile.am: Tell make's WERROR to depend on configure's WERROR.
3615 * src/Makefile.in: Regenerate.
3616 * docs/configopts.html: Document changes to --enable names.
3617
3618 2000-05-18 Chip Salzenberg <chip@valinux.com>
3619
3620 * bits/ostream.tcc (_S_pad_char): Function template should not be
3621 static.
3622 * bits/streambuf.tcc (_S_copy_streambufs): Likewise.
3623 * src/string-inst.cc (__destroy_aux): Instantiate for string*.
3624
3625 2000-05-18 Nathan C. Myers <ncm@cantrip.org>
3626
3627 * mkcshadow: Change C_Swamp to C_legacy.
3628 * shadow/*: Same.
3629 * shadow/bits/*: Same.
3630 s/C_Swamp/C_legacy/g
3631 s/SWAMP/LEGACY/g
3632 s/_Shadow/_shadow/g
3633
3634 2000-05-18 Anthony Williams <anthony@anthonyw.cjb.net>
3635
3636 * bits/locale_facets.tcc (num_get::_M_extract): Change char* to
3637 const char*.
3638 * src/string-inst.cc (string::_S_find): Same.
3639
3640 2000-05-18 Benjamin Kosnik <bkoz@gnu.org>
3641
3642 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Change to
3643 --enable-cshadow-headers. Add output messages.
3644 (GCC_ENABLE_LONG_LONG): Change to --enable-long-long, no
3645 underscores (like the rest of the enable options.) Add output messages.
3646 * aclocal.m4: Regenerate.
3647 * configure: Regenerate.
3648 * configure.in: Touch.
3649
3650 2000-05-17 Benjamin Kosnik <bkoz@cygnus.com>
3651
3652 * mkcheck.in: Enable shared library testing.
3653
3654 2000-05-17 Nathan C. Myers <ncm@cantrip.org>
3655
3656 * bits/std_cmath.h: fix sqrt(float)
3657
3658 2000-05-16 Loren J. Rittle <ljrittle@acm.org>
3659
3660 * bits/std_cassert.h: Use system_header pragma.
3661 * bits/std_cctype.h: Likewise.
3662 * bits/std_cerrno.h: Likewise.
3663 * bits/std_cfloat.h: Likewise.
3664 * bits/std_climits.h: Likewise.
3665 * bits/std_clocale.h: Likewise.
3666 * bits/std_cmath.h: Likewise.
3667 * bits/std_csetjmp.h: Likewise.
3668 * bits/std_csignal.h: Likewise.
3669 * bits/std_cstdarg.h: Likewise.
3670 * bits/std_cstddef.h: Likewise.
3671 * bits/std_cstdio.h: Likewise.
3672 * bits/std_cstdlib.h: Likewise.
3673 * bits/std_cstring.h: Likewise.
3674 * bits/std_ctime.h: Likewise.
3675 * bits/std_cwchar.h: Likewise.
3676 * bits/std_cwctype.h: Likewise.
3677 * bits/std_exception.h: Likewise.
3678 * bits/std_new.h: Likewise.
3679 * bits/std_typeinfo.h: Likewise.
3680 * shadow/bits/std_cassert.h: Likewise.
3681 * shadow/bits/std_cctype.h: Likewise.
3682 * shadow/bits/std_cerrno.h: Likewise.
3683 * shadow/bits/std_cfloat.h: Likewise.
3684 * shadow/bits/std_climits.h: Likewise.
3685 * shadow/bits/std_clocale.h: Likewise.
3686 * shadow/bits/std_cmath.h: Likewise.
3687 * shadow/bits/std_csetjmp.h: Likewise.
3688 * shadow/bits/std_csignal.h: Likewise.
3689 * shadow/bits/std_cstdarg.h: Likewise.
3690 * shadow/bits/std_cstddef.h: Likewise.
3691 * shadow/bits/std_cstdio.h: Likewise.
3692 * shadow/bits/std_cstdlib.h: Likewise.
3693 * shadow/bits/std_cstring.h: Likewise.
3694 * shadow/bits/std_ctime.h: Likewise.
3695 * shadow/bits/std_cwchar.h: Likewise.
3696 * shadow/bits/std_cwctype.h: Likewise.
3697 * shadow/bits/wrap_libio.h: Likewise.
3698 * shadow/bits/wrap_unistd.h: Likewise.
3699 * shadow/sys/cdefs.h: Likewise.
3700
3701 2000-05-16 Nathan C. Myers <ncm@cantrip.org>
3702
3703 It appears that gcc-2.96 supports the keyword "and" now.
3704 * bits/std_ciso646.h: remove.
3705 * std/ciso646: gut.
3706 * testsuite/17_intro/header_ciso646.c: enable testing.
3707 * src/Makefile.am, src/Makefile.in: remove mention of
3708 bits/std_ciso646.h
3709
3710 2000-05-16 Nathan C. Myers <ncm@cantrip.org>
3711
3712 * mkcshadow: fix typo s/_C_Swamp_/_C_Swamp/.
3713
3714 2000-05-16 Phil Edwards <pme@sourceware.cygnus.com>
3715
3716 * acinclude.m4: Fix typo, switch to decaf...
3717 * aclocal.m4: Regenerate.
3718 * configure: Regenerate.
3719
3720 2000-05-16 Phil Edwards <pme@sourceware.cygnus.com>
3721
3722 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): New macro, stub.
3723 * aclocal.m4: Regenerate.
3724 * configure.in: Call.
3725 * configure: Regenerate.
3726 * docs/configopts.html: Stub documentation.
3727
3728 2000-05-14 Nathan Myers <ncm@cantrip.org>
3729
3730 * mkcshadow: build in more-correct directory, create cshadow/
3731 directory if needed, report progress.
3732
3733 2000-05-14 LLeweLLyn Reese <llewelly@dbritsch.dsl.xmission.com>
3734
3735 * src/Makefile.am: Fix tr commands.
3736 * src/Makefile.am: Remove references to [w]stringCTORDUPAL.[lo,cc]
3737 * src/string-inst.cc: Remove extra instantiation of
3738 S::basic_string(S::size_type, C, S::allocator_type const&);
3739 * src/string-inst.cc: Remove extra template keyword.
3740
3741 2000-05-14 Loren J. Rittle <ljrittle@acm.org>
3742
3743 * config/bsd/bits/ctype_base.h: Add support for plain BSD4.4.
3744 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Enhance bsd tests.
3745 * aclocal.m4: Regenerate.
3746 * configure: Regenerate.
3747 * */Makefile.in: Regenerate.
3748
3749 2000-05-11 Phil Edwards <pme@sourceware.cygnus.com>
3750
3751 * acinclude.m4: Fix minor typo with ctypes, add more sanity to
3752 enable-cxx-flags, and remove GLIBCPP_ENABLE_NAMESPACES altogether.
3753 * aclocal.m4: Regenerate.
3754 * configure.in: Non-blank arguments break fewer Linuxes.
3755 * configure: Regenerate.
3756 * src/Makefile.am: Re-order AC_CXXFLAGS components.
3757 * src/Makefile.in: Regenerate.
3758
3759 2000-05-10 Benjamin Kosnik <bkoz@redhat.com>
3760
3761 * bits/std_cmath.h: Tweaks.
3762 * math/mathconf.h: Tweaks and fixes for HP-UX 11.
3763 (sqrtf): Define away iff !builtin and !in <math.h>.
3764 (sinf): Same.
3765 (cosf): Same.
3766 (fabsf): Same.
3767 At some point this directory should be converted to c++, the
3768 autoconf tests should be run by the c++ compiler (not c), and
3769 <cmath> should be used instead of math.h.
3770 Move declaration of nan() here.
3771 * math/complex-stub.h (cabsl): Remove nan() declaration.
3772
3773 Finish up FreeBSD4.0 support.
3774 * config/bsd/ctype.cc: Scope out toupper, tolower calls.
3775 * config/generic/ctype.cc: And here.
3776 * testsuite/21_strings/char_traits.cc (test02): Guard with
3777 _GLIBCPP_USE_WCHAR_T.
3778
3779 via Phil Edwards <pme@sourceware.cygnus.com>
3780 * bits/std_cctype.h: Remove _GLIBCPP_USE_NAMESPACES.
3781 * acconfig.h: And here.
3782 * acinclude.m4: Same.
3783 * testsuite/27_io/istream.cc: And here.
3784 * testsuite/27_io/ostream.cc: And here.
3785
3786 2000-05-09 Benjamin Kosnik <bkoz@gnu.org>
3787
3788 * acinclude.m4 (GLIBCPP_CHECK_CPU): Change powerpc bits to
3789 -mcpu=powerpc.
3790 * src/Makefile.am: Disable ENABLE_CXX_FLAGS stuff for the moment.
3791
3792 * config/generic/bits/ctype_specializations.h (ctype<char>::is):
3793 Make more generic.
3794
3795 * config/bsd: New directory.
3796 * config/bsd/ctype.cc: New.
3797 * config/bsd/bits/ctype_base.h (ctype_base): New.
3798 * config/bsd/bits/ctype_specializations.h: New.
3799 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add bsd tests.
3800
3801 2000-05-09 Phil Edwards <pme@sourceware.cygnus.com>
3802
3803 * acinclude.m4: New macro, GLIBCPP_ENABLE_CXX_FLAGS.
3804 * configure.in: Call.
3805 * src/Makefile.am: Append results of macro to AC_CXXFLAGS.
3806 * aclocal.m4: Regenerate.
3807 * configure: Ditto.
3808 * src/Makefile.in: Ditto.
3809 * docs/configopts.html: Document.
3810 * docs/download.html: Fix typo (close quote).
3811 * docs/footer.html: Update.
3812
3813 2000-05-09 Loren J. Rittle <ljrittle@acm.org>
3814
3815 * backward/iostream.h: Expose endl. Guard wide types.
3816 * src/Makefile.am (headers): Update list to match files.
3817 * src/Makefile.in: Regenerate.
3818
3819 2000-05-09 Vadim Egorov <egorovv@mailandnews.com>
3820 Benjamin Kosnik <bkoz@gnu.org>
3821 Nathan Myers <ncm@cantrip.org>
3822 Dietmar Kuehl <dietmar_kuehl@yahoo.com>
3823
3824 * bits/streambuf.tcc (basic_streambuf::xsgetn): Fix uflow case.
3825 (basic_streambuf::xsputn): Make consistent.
3826 * testsuite/27_io/filebuf.cc: Add tests.
3827
3828 2000-05-08 Steven King <sxking@uswest.net>
3829
3830 * bits/char_traits.h: Use wchar_t utility functions for
3831 char_traits<wchar_t> methods.
3832 * testsuite/21_string/char_traits.cc: New (test02): test
3833 char_traits<wchar_t>
3834
3835 2000-05-08 Benjamin Kosnik <bkoz@cygnus.com>
3836
3837 * acinclude.m4 (GLIBCPP_CXXFLAGS): Add bits for solaris2.8.
3838
3839 * bits/fstream.tcc (filebuf::_M_init_filebuf): Don't set
3840 _M_buf_size based on macro, instead use _M_buf_size_opt.
3841 * bits/std_streambuf.h (basic_streambuf): Add _M_buf_size_opt.
3842 (basic_streambuf()): Set _M_buf_size_opt.
3843 * testsuite/27_io/filebuf.cc (filebuf): Use _M_buf_size_opt
3844 instead of _M_buf_size.
3845
3846 2000-05-04 Branko Cibej <branko.cibej@hermes.si>
3847
3848 * src/complex_io.cc: Don't instantiate inserters and extractors
3849 for wide-character streams unless _GLIBCPP_USE_WCHAR_T is defined.
3850
3851 2000-05-03 Phil Edwards <pme@sourceware.cygnus.com>
3852 Felix Natter <fnatter@gmx.net>
3853
3854 * docs/footer.html: Update to see if it takes effect.
3855 * docs/thanks.html: More people.
3856 * docs/17_intro/headers_cc.txt: Copy from testsuite, since that can't
3857 be seen from the web pages. Rename for browser-friendliness...
3858 * docs/17_intro/howto.html: ...and update here.
3859 * docs/17_intro/porting-howto.html: Changes from Felix.
3860 * docs/gccrebuild.html: Mention v3->egcs move.
3861 * docs/faq/index.html: Ditto. Also misc tweaks and URL updates.
3862 * docs/faq/index.txt: Regenerate.
3863
3864 2000-05-01 Benjamin Kosnik <bkoz@redhat.com>
3865
3866 * config/cpu/powerpc/bits/atomicity.h (__exchange_and_add): More
3867 fixes.
3868
3869 2000-05-01 Vadim Egorov <egorovv@@mailandnews.com>
3870
3871 * bits/char_traits.h: Fix parameter types.
3872 * bits/string.tcc: Avoid traits_type::move.
3873
3874 2000-05-01 Benjamin Kosnik <bkoz@haight.constant.com>
3875
3876 * src/Makefile.am (AC_CXXFLAGS): Add CPUFLAGS here.
3877 * src/Makefile.in: Regenerate.
3878 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Revert.
3879
3880 2000-04-30 Steven King <sxking@uswest.net>
3881
3882 * bits/locale_facets.h: Fix syntax error.
3883 * bits/std_fstream.h: ditto
3884
3885 2000-04-30 Benjamin Kosnik <bkoz@gnu.org>
3886
3887 * config/cpu/powerpc/bits/atomicity.h (__compare_and_swap): Fix typo.
3888
3889 * mknumeric_limits (trait_name): Fix copyright notice.
3890 * src/gen-num-limits.cc: Explicitly instantiate epsilon and
3891 round_error data members of struct value. This works around
3892 weak-linking issues on AIX, HPUX.
3893
3894 2000-04-29 Phil Edwards <pme@sourceware.cygnus.com>
3895
3896 * docs/download.html: Add link to list of mirror sites.
3897
3898 2000-04-28 Loren J. Rittle <ljrittle@acm.org>
3899
3900 * mkcheck.in: Rely on exit status instead of the presence of a
3901 core file. Added comments on how/where to save core and exe
3902 files. Move shell wildcards outside quotes and fix core path.
3903
3904 2000-04-27 scott snyder <snyder@fnal.gov>
3905
3906 * src/misc-inst.cc: Explicitly instantiate ifstream and ofstream
3907 classes.
3908
3909 2000-04-26 Nathan C. Myers <ncm@cantrip.org>
3910
3911 * bits/basic_string.h: include <bits/atomicity.h> instead
3912 of <atomicity.h>, and use the uglified names.
3913 * config/cpu/*/atomicity.h: replace with bits/atomicity.h;
3914 uglify names, eliminate dependence on <inttypes.h>.
3915 * src/Makefile.in, src/Makefile.am: refer to correct place
3916 for atomicity.h header.
3917
3918 2000-04-25 Steven King <sxking@uswest.net>
3919
3920 * bits/basic_string.h: Fix syntax error.
3921
3922 2000-04-25 Benjamin Kosnik <bkoz@redhat.com>
3923
3924 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Improve checks for
3925 USE_LONG_DOUBLE.
3926 (GLIBCPP_ENABLE_DEBUG): If alpha, use -gdwarf-2.
3927 * math/Makefile.am (EXTRA_LONG_DOUBLE_yes): Add all the long
3928 versions to this as copysignl is needed anyway for these targets.
3929 * math/Makefile.in: Regenerate.
3930
3931 * bits/streambuf.tcc (streambuf::xsgetn): Tweak.
3932 * bits/fstream.tcc (underflow): Cast to libio types.
3933 * bits/basic_file.h (seekoff): Fixes for alpha: use __c_streamoff.
3934 * config/c_io_libio.cc (seekoff): And here.
3935
3936 2000-04-24 Loren J. Rittle <ljrittle@acm.org>
3937
3938 * mkcheck.in: Report compiler version used for test. Find
3939 the built _G_config.h instead of any old installed version.
3940
3941 2000-04-24 Loren J. Rittle <ljrittle@acm.org>
3942
3943 * config/generic/ctype.cc (do_toupper): Remove dependence on
3944 non-portable/non-existent lookup table.
3945 (do_tolower): Same.
3946
3947 2000-04-24 Nathan Myers <ncm@cantrip.org>
3948
3949 * src/string-inst.cc: More fixing.
3950
3951 2000-04-24 Benjamin Kosnik <bkoz@gnu.org>
3952
3953 * bits/stl_iterator.h: Pedantic fixing.
3954 * bits/std_sstream.h: And here.
3955 * bits/string.tcc: And here.
3956
3957 2000-04-24 Felix Natter <fnatter@gmx.net>
3958
3959 * docs/17_intro/howto.html: Add bits.
3960 * docs/17_intro/porting-howto.html: New file.
3961
3962 2000-04-24 Branko Cibej <branko.cibej@hermes.si>
3963
3964 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Expand
3965 @libinst_wstring_la@ to libinst-wstring.la when specializing for
3966 wchar_t, to empty string otherwise.
3967 * src/Makefile.am: (EXTRA_LTLIBRARIES): New.
3968 (sources): Remove $(string_sources) and $(wstring_sources).
3969 (libstdc___la_LIBADD): Add libinst-string.la and @libinst_wstring_la@.
3970 (libstdc___la_DEPENDENCIES): New.
3971 (libinst_string_la_SOURCES, libinst_wstring_la_SOURCES): New.
3972
3973 2000-04-20 Benjamin Kosnik <bkoz@redhat.com>
3974
3975 * bits/std_sstream.h: Tweak formatting.
3976 * bits/std_fstream.h: Make types public.
3977
3978 * testsuite/27_io/streambuf.cc: Fix for alpha.
3979
3980 Brad Garcia <bgarcia@laurelnetworks.com>
3981 * bits/locale_facets.h (numpunct::numpunct(size_t)): Fix bool
3982 initialization.
3983 * testsuite/27_io/ios_manip_fmtflags.cc (test02): Add test for
3984 bool formatting.
3985
3986 2000-04-19 Nathan Myers <ncm@cantrip.org>
3987
3988 * src/string-inst: consolidate _S_create,
3989 destroy, leak, clone members into stringMAIN and stringMUTATE
3990 object files.
3991 * src/Makefile.am: Above, and eliminate dependence on
3992 wstring-inst.cc.
3993 * src/wstring-inst.cc: Remove.
3994
3995 2000-04-18 Benjamin Kosnik <bkoz@redhat.com>
3996
3997 * src/Makefile.am (AC_CXXFLAGS): Activate debugging code, again.
3998 Add flags for specialized rules dealing with instantiations.
3999
4000 * src/string-inst.cc: Add instantiations missing from shared
4001 libraries--see stringEQ, stringCONSC.
4002 * src/Makefile.am (wstring_sources): Add.
4003 (string_sources): Same.
4004 * src/Makefile.in: Regenerate.
4005
4006 * stl/*: Integrate contents of this directory into top-level
4007 directories.
4008 * ext/bvector hash_map hash_set rope ropeimpl.h slist
4009 stl_bvector.h stl_hash_fun.h stl_hashtable.h stl_rope.h tree: Add.
4010 * bits/pthread_allocimpl.h std_algorithm.h std_bitset.h
4011 std_deque.h std_functional.h std_iterator.h std_list.h std_map.h
4012 std_memory.h std_numeric.h std_queue.h std_set.h std_stack.h
4013 std_stdexcept.h std_strstream.h std_utility.h std_vector.h
4014 stl_algo.h stl_algobase.h stl_alloc.h stl_config.h stl_construct.h
4015 stl_deque.h stl_function.h stl_heap.h stl_iterator.h
4016 stl_iterator_base.h stl_list.h stl_map.h stl_multimap.h
4017 stl_multiset.h stl_numeric.h stl_pair.h stl_pthread_alloc.h
4018 stl_queue.h stl_range_errors.h stl_raw_storage_iter.h stl_relops.h
4019 stl_set.h stl_stack.h stl_string_fwd.h stl_tempbuf.h stl_threads.h
4020 stl_tree.h stl_uninitialized.h stl_vector.h type_traits.h: Add.
4021 * backward/algo.h algobase.h alloc.h bvector.h defalloc.h deque.h
4022 function.h hash_map.h hash_set.h hashtable.h heap.h iterator.h
4023 list.h map.h multimap.h multiset.h pair.h rope.h set.h slist.h
4024 stack.h tempbuf.h tree.h vector.h: Add.
4025 * README (file): Update.
4026 * docs/documentation.html: README not being found.
4027 * src/Makefile.am (sources): Take out stl directory.
4028 * mkcheck.in (SRC_DIR): And here.
4029 * src/Makefile.in: Regenerate.
4030
4031 2000-04-18 Levente Farkas <lfarkas@mindmaker.hu>
4032
4033 * stl/bits/stl_function.h: Add bits so that const and non-const
4034 both work.
4035
4036 2000-04-18 scott snyder <snyder@fnal.gov>
4037
4038 * stl/bits/stl_map.h (class map): Fix default for _Alloc template
4039 parameter. Get rid of use of __STL_DEFAULT_ALLOCATOR and
4040 __STL_LIMITED_DEFAULT_TEMPLATES macros.
4041 * stl/bits/stl_multimap.h (class multimap): Likewise. Get rid of
4042 use of __STL_DEPENDENT_DEFAULT_TMPL macro.
4043
4044 2000-04-18 scott snyder <snyder@fnal.gov>
4045
4046 * stl/bits/stl_config.h (__STL_DEPENDENT_DEFAULT_TMPL): Deleted
4047 this macro.
4048
4049 * stl/ext/hash_map (class hash_map, class hash_multimap): Get rid
4050 of use of __STL_DEPENDENT_DEFAULT_TMPL macro.
4051 * stl/ext/hash_set (class hash_set, class hash_multiset):
4052 Likewise.
4053 * stl/bits/stl_function.h (struct constant_unary_fun, struct
4054 constant_binary_fun): Likewise.
4055 * stl/bits/stl_queue.h (class queue, class priority_queue): Likewise.
4056 * stl/bits/stl_stack.h (class stack): Likewise.
4057 * stl/bits/stl_set.h (class set): Likewise.
4058 * stl/bits/stl_multiset.h (class multiset): Likewise.
4059
4060 * stl/bits/stl_iterator.h (class reverse_bidirectional_iterator,
4061 class reverse_iterator): Get rid of use of
4062 __STL_LIMITED_DEFAULT_TEMPLATES macro.
4063
4064 * stl/bits/stl_config.h (__STL_DEFAULT_ALLOCATOR): Deleted this
4065 macro.
4066
4067 * stl/bits/stl_deque.h (class deque): Get rid of use of
4068 __STL_DEFAULT_ALLOCATOR macro.
4069 * stl/bits/stl_list.h (class list): Likewise.
4070 * stl/bits/stl_multiset.h (class multiset): Likewise.
4071 * stl/bits/stl_set.h (class set): Likewise.
4072 * stl/bits/stl_string_fwd.h (class basic_string): Likewise.
4073 * stl/bits/stl_tree.h (class _Rb_tree, class rb_tree): Likewise.
4074 * stl/bits/stl_vector.h (class vector): Likewise.
4075 * stl/ext/ropeimpl.h (rotate): Likewise.
4076 * stl/ext/hash_map (class hash_map, class hash_multimap):
4077 Likewise.
4078 * stl/ext/hash_set (class hash_set, class hash_multiset):
4079 Likewise.
4080 * stl/ext/slist (class slist): Likewise.
4081 * stl/ext/stl_bvector.h (class bit_vector): Likewise.
4082 * stl/ext/stl_rope.h (class rope): Likewise.
4083 * src/locale.cc (_Impl): Likewise.
4084 * src/localename.cc (_Impl): Likewise.
4085 * bits/localefwd.h (_Impl): Likewise.
4086
4087 2000-04-18 Phil Edwards <pme@sourceware.cygnus.com>
4088
4089 * docs/install.html: Cleanup, minor changes.
4090 * docs/17_intro/howto.html: Ditto.
4091
4092 2000-04-18 Nathan Myers <ncm@cantrip.org>
4093
4094 * bits/basic_string.h: Remove "inline" from member _S_find.
4095
4096 * src/string-inst.cc: Rewrite to reflect non-inline template
4097 instantiations in string.tcc.
4098
4099 * src/stringADDCS.cc, stringADDPS.cc, stringADDSC.cc, stringADDSP.cc,
4100 stringADDSS.cc, stringBIST.cc, stringBOST.cc, stringCHTR.cc,
4101 stringEQPS.cc, stringEQSP.cc, stringEQSS.cc, stringEXTRA.cc,
4102 stringGEPS.cc, stringGESP.cc, stringGESS.cc, stringGETLI.cc,
4103 stringGTPS.cc, stringGTPS.cc, stringGTSP.cc, stringGTSS.cc,
4104 stringINSER.cc, stringLEPS.cc, stringLESP.cc, stringLESS.cc,
4105 stringLESP.cc, stringLTPS.cc, stringLTPS.cc, stringLTSP.cc,
4106 stringLTSS.cc, stringMAIN.cc, stringNEPS.cc, stringNESP.cc,
4107 stringNESS.cc, stringSCOPY.cc: Remove.
4108 * src/wstringADDCS.cc, etc: Remove.
4109
4110 Benjamin Kosnik <bkoz@haight.constant.com>
4111 * src/Makefile.am: Modify to reflect above.
4112 * src/Makefile.in: Regenerate.
4113
4114 2000-04-17 Benjamin Kosnik <bkoz@cygnus.com>
4115
4116 * docs/install.html (--enable-libstdcxx-v3): Clean up install docs.
4117
4118 2000-04-13 Benjamin Kosnik <bkoz@haight.cygnus.com>
4119
4120 * bits/std_fstream.h (filebuf::sync): Need to use the abstracted
4121 io interface here instead of the libio particulars.
4122
4123 * config/threads-posix.h: Consistency with stl_config.h.
4124
4125 * mkcheck.in (CXX_FLAG): Add DDEBUG_ASSERT back in.
4126
4127 2000-04-13 Loren J. Rittle <ljrittle@acm.org>
4128
4129 * mknumeric_limits: Rename generic type template parameter name
4130 '_T' to '_Tp'.
4131 * stl/bits/type_traits.h: Ditto.
4132
4133 2000-04-06 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4134
4135 * mkcheck.in (SRC_DIR): Change default mkcheck behavior, so that
4136 it is more useful for --enable-libstdcxx-v3. Use the built
4137 compilers with v3, instead of compilers in PATH, and don't
4138 re-include include directories for checking the install.
4139
4140 2000-04-05 Benjamin Kosnik <bkoz@cygnus.com>
4141
4142 * src/Makefile.am (AM_CXXFLAGS): Disable NAMESPACES, as this is on
4143 by default when using --enable-libstdcxx-v3.
4144 * src/Makefile.in: Regenerate.
4145 * configure.in: Disable GLIBCPP_ENABLE_NAMESPACES,
4146 GLIBCPP_ENABLE_RELIBGCC for --enable-libstdcxx-v3 flag.
4147 * configure: Regenerate.
4148 * mkcheck.in: Deal with NAMESPACES.
4149
4150 2000-04-05 Petter Urkedal <petter@matfys.lth.se>
4151
4152 * src/cmath.cc: New file...
4153 (pow(*, int)): Define functions...
4154 * src/Makefile.am (sources): ...register file.
4155 * src/Makefile.in: Regenerate.
4156 * bits/std_cmath.h (pow): ...declare functions here, and remove
4157 old definitions.
4158
4159 2000-04-04 Benjamin Kosnik <bkoz@redhat.com>
4160
4161 * acinclude.m4 (GCC_OBJDIR): Tweaks
4162
4163 2000-04-03 Benjamin Kosnik <bkoz@redhat.com>
4164
4165 * acinclude.m4 (GLIBCPP_CHECK_CPU): Add arm configure bits.
4166 * config/cpu/arm: New directory.
4167
4168 Jesper Skov <jskov@redhat.com>
4169 * config/cpu/arm/atomicity.h: New file.
4170
4171 2000-03-31 Benjamin Kosnik <bkoz@redhat.com>
4172
4173 * stl/bits/stl_config.h: Make _STL_THREADS depend on _REENTRANT.
4174 Remove unused bits. Clean.
4175
4176 2000-03-29 Benjamin Kosnik <bkoz@cygnus.com>
4177
4178 * testsuite/25_algorithms: New directory.
4179 * testsuite/25_algorithms/min_max.cc: New file.
4180
4181 2000-03-29 scott snyder <snyder@fnal.gov>
4182
4183 * bits/locale_facets.tcc (do_put): Allow a couple extra digits of
4184 precision beyond that which we get from numeric_limits::digits10.
4185
4186 * stl/bits/stl_algobase.h (max, min): Don't use comparison
4187 operator.
4188
4189 * testsuite/23_containers/bitset_shift.cc: Fix.
4190
4191 * testsuite/27_io/ios_manip_fmtflags.cc (test01): Don't give a
4192 temporary to imbue().
4193
4194 * bits/std_fstream.h (sync): Resync libio's idea of the current
4195 file position with the external file.
4196
4197 2000-03-28 Benjamin Kosnik <bkoz@cygnus.com>
4198
4199 * testsuite/27_io/istream_extractor_arith.cc.cvs: Fix merge
4200 mistake.
4201
4202 * bits/std_fstream.h (filebuf::is_open): Check for _M_file before
4203 attempting calls to it.
4204 * bits/fstream.tcc (ctors): Don't call _M_init_filebuf in
4205 ctors. Instead, call _M_init_filebuf ...
4206 (open): Here, as suggested by 27.8.1.3.
4207 * src/ios.cc (ios_base::Init::Init()): Clean up default filebufs
4208 properly when initializing cout/cin/cerr.
4209
4210 2000-03-27 Russell Davidson <russell@ehess.cnrs-mrs.fr>
4211
4212 * testsuite/23_containers/multiset.cc (main): Clean up for namespaces.
4213 * testsuite/22_locale/ctype_char_members.cc: And here.
4214 * testsuite/27_io/streambuf.cc (streambuf): And here.
4215 * testsuite/27_io/ostream_inserter_char.cc (test06): And here.
4216 * testsuite/27_io/istream_unformatted.cc (test05): And here.
4217 * testsuite/27_io/istream_extractor_arith.cc: And here.
4218 * testsuite/27_io/ios_manip_basefield.cc (test02): And here.
4219 * testsuite/27_io/ios_base_members_static.cc: And here.
4220 * bits/std_climits.h (_CPP_CLIMITS): Fix typo.
4221
4222 2000-03-27 Chris Faylor <cgf@cygnus.com>
4223
4224 * configure.in: Remove setting of CXX if canadian cross.
4225 * configure: Regenerate.
4226
4227 2000-03-27 Nathan Myers <ncm@zembu.com>
4228
4229 * bits/sstream.tcc: Optimize.
4230 * bits/basic_string.h(string::append): Don't inline.
4231 * bits/string.tcc: Move out-of-line.
4232
4233 2000-03-27 Phil Edwards <pme@sourceware.cygnus.com>
4234
4235 * acinclude.m4: (GLIBCPP_CHECK_COMPILER_VERSION) When using <2.96,
4236 define WERRORSUPPRESS so that the inlining warnings won't kill us.
4237 * aclocal.m4: Regenerate.
4238 * configure: Regenerate.
4239 * src/Makefile.am: Use WERRORSUPPRESS for the files that need it.
4240 * src/Makefile.in: Regenerate.
4241
4242 * docs/install.html: Almost complete rewrite.
4243
4244 2000-03-25 Phil Edwards <pme@sourceware.cygnus.com>
4245
4246 * docs/install.html: Explain -Werror problem at "#Werror" mark.
4247 * docs/faq/index.html: Testsuite will die horribly if new libgcc.a
4248 not installed.
4249 * docs/faq/index.txt: Regenerate.
4250
4251 2000-03-24 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4252
4253 * src/Makefile.am (libio_headers_install): Fix.
4254 * src/Makefile.in: Regenerate.
4255
4256 2000-03-24 Benjamin Kosnik <bkoz@cygnus.com>
4257
4258 * docs/17_intro/RELEASE-NOTES: Fix typos.
4259 * docs/index.html: Update.
4260 * docs/17_intro/BUGS: Update.
4261 * docs/status.html: Update for 2.90.8 release.
4262
4263 2000-03-23 Phil Edwards <pme@sourceware.cygnus.com>
4264
4265 * Makefile.am: Better error message when missing libgcc2.ready.
4266 * Makefile.in: Regenerate.
4267 * acinclude.m4: Fastidious nitpicking reformatting.
4268 * aclocal.m4: Regenerate.
4269 * configure: Regenerate.
4270 * mkcheck.in: Must use same namespace settings as the library being
4271 tested. Also log ST_FLAG, since it's being passed.
4272 * docs/install.html: Add brief chunk on configuration.
4273 * docs/17_intro/RELEASE-NOTES: Fix minor Cygwin typo.
4274 * docs/23_containers/howto.html: Mention MT-safe string.
4275 * docs/faq/index.html: Minor updates.
4276 * docs/faq/index.txt: Regerarate.
4277
4278 2000-03-22 Benjamin Kosnik <bkoz@cygnus.com>
4279
4280 * bits/sstream.tcc (seekoff): Fix for gptr() null cases.
4281 Return newoff.
4282 * bits/fstream.tcc (seekoff): Sync.
4283 (seekpos): Sync.
4284 * testsuite/27_io/ostream_unformatted.cc: New file.
4285 * testsuite/27_io/stringbuf.cc: Fix.
4286 * testsuite/27_io/istream_unformatted.cc (test04): Fix.
4287
4288 * config/newlib/bits/ctype_base.h (ctype_base): Fix.
4289 * config/newlib/ctype.cc (ctype): Change __ctype -> _ctype_.
4290
4291 * src/complex_io.cc (operator>>complex): Tweak.
4292
4293 * config/cpu/alpha/atomicity.h: Explicitly typedef uint32_t, int32_t if
4294 <inttypes.h> does not exist.
4295 * config/cpu/sparc/sparc64/atomicity.h: Same.
4296 * config/cpu/sparc/sparc32/atomicity.h: Same.
4297 * config/cpu/powerpc/atomicity.h: Same.
4298 * config/cpu/i386/atomicity.h: Same.
4299 * config/cpu/generic/atomicity.h: Same.
4300 * configure.in: Check for inttypes.h.
4301 * configure: Regnerate.
4302
4303 2000-03-21 Benjamin Kosnik <bkoz@cygnus.com>
4304
4305 * bits/std_sstream.h (_M_init_stringbuf): Set initial ate position
4306 correctly.
4307 * testsuite/27_io/ostream_inserter_char.cc (test06): Add tests for ate.
4308
4309 * docs/17_intro/RELEASE-NOTES (New): Add bits.
4310
4311 * configure.in: Move AC_CHECK_HEADERS to a point where we know we
4312 are compiling natively.
4313
4314 * libio/*: Update to CVS libio from egcs.
4315
4316 2000-03-21 Phil Edwards <pme@sourceware.cygnus.com>
4317
4318 * docs/download.html: Document use of -z9 for CVS.
4319 * docs/index.html: Add target date (no link) for future snapshot.
4320
4321 2000-03-21 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4322
4323 * bits/slice_array.h: Rename generic type template parameter name
4324 '_T' to '_Tp'.
4325 * bits/mask_array.h: Ditto
4326
4327 2000-03-20 Benjamin Kosnik <bkoz@cygnus.com>
4328
4329 * *: Change copyright holder from "Cygnus Solutions" to "Free
4330 Software Foundation, Inc."
4331
4332 * docs/configopts.html: Explain what "hella versions" means.
4333 * docs/install.html: Some tweaks--nice job on this Phil.
4334 * docs/documentation.html: Add a direct link to configuration options.
4335
4336 * src/Makefile.am (OPTIMIZE_CXXFLAGS): Add in extras.
4337 * docs/17_intro/RELEASE-NOTES (New): Add.
4338 * bits/c++config.h (__GLIBCPP__): Bump version.
4339
4340 * config/c_io_libio.cc (__basic__file(__c_lock*)): Change argument
4341 type to match prototype.
4342
4343 2000-03-20 Phil Edwards <pme@sourceware.cygnus.com>
4344
4345 * docs/install.html: Update for new funky build procedure. Move
4346 description of 'configure' options to...
4347 * docs/configopts.html: ...here. New file.
4348 * docs/17_intro/howto.html: Updates for new snapshot.
4349 * docs/20_util/howto.html: Ditto.
4350 * docs/21_strings/howto.html: Ditto.
4351 * docs/21_strings/stringtok_std_h.txt: Fix example typos.
4352 * docs/22_locale/howto.html: Ditto.
4353 * docs/23_containers/howto.html: Ditto.
4354 * docs/faq/index.html: Ditto.
4355
4356 2000-03-18 Petter Urkedal <petter@matfys.lth.se>
4357 Benjamin Kosnik <bkoz@gnu.org>
4358
4359 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_SUPPORT): Move code for main
4360 to the right place.
4361 * aclocal.m4: Regenerate.
4362 * configure: Regenerate.
4363
4364 2000-03-16 Benjamin Kosnik <bkoz@cygnus.com>
4365 scott snyder <sss@karma.fnal.gov>
4366
4367 * config/c_io_libio.h: Add __c_lock.
4368 * config/threads-no.h: Same here.
4369 * config/threads-posix.h: Add __mutext_type typedef.
4370 * config/c_io_libio.cc: basic_file ctor takes lock arg.
4371 * bits/basic_file.h: Ctor takes lock arg.
4372 * bits/std_fstream.h: Add _M_lock.
4373 * bits/fstream.tcc: Supply it to basic_file ctor.
4374
4375 * mkcheck.in (resultstext): Change [[ to [.
4376
4377 * testsuite/27_io/ostream_inserter_char.cc (test06): Tweak.
4378
4379 * bits/locale_facets.h: Tweak.
4380
4381 * stl/bits/stl_config.h: Fix defines.
4382
4383 2000-03-16 Benjamin Kosnik <bkoz@cygnus.com>
4384
4385 * mkcheck.in (INC_PATH): Add paths from cpu_include_dir to find
4386 atomicity.h
4387 * configure: Regenerate.
4388 * aclocal.m4: Regnerate.
4389
4390 2000-03-16 Nathan Myers <ncm@zembu.com>
4391
4392 * bits/string.tcc: Add MT support.
4393 * bits/basic_string.h: Same.
4394
4395 2000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
4396
4397 * configure.in: Make --enable-namespaces and -libgcc-rebuild=../..
4398 the defaults.
4399 * configure: Regenerate.
4400
4401 * config/solaris/solaris2.7/ctype.cc: Fix unsigned/signed comparison.
4402
4403 2000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
4404
4405 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): If Sol2.5 ctype is found, keep
4406 checking for 2.[67]. (GLIBCPP_ENABLE_RELIBGCC): No longer ignore
4407 any defaults passed in.
4408 * aclocal.m4: Regenerate.
4409
4410 2000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
4411
4412 * mkcheck.in: Report total successes and failures.
4413
4414 2000-03-15 Benjamin Kosnik <bkoz@cygnus.com>
4415
4416 * config/cpu: New directory, intended to be used to provide
4417 cpu-specific configuration files. In particular, assembly language
4418 primitives for thread safety.
4419 * config/cpu/alpha: Populate.
4420 * config/cpu/alpha/atomicity.h: New file.
4421 * config/cpu/arm: Populate.
4422 * config/cpu/generic: Populate.
4423 * config/cpu/generic/atomicity.h: New file.
4424 * config/cpu/hppa: Populate.
4425 * config/cpu/i386: Populate.
4426 * config/cpu/i386/atomicity.h: New file, take from i486.
4427 * config/cpu/m68k: Populate.
4428 * config/cpu/mips: Populate.
4429 * config/cpu/powerpc: Populate.
4430 * config/cpu/powerpc/atomicity.h: New file.
4431 * config/cpu/sparc: Populate.
4432 * config/cpu/sparc/sparc32: Populate.
4433 * config/cpu/sparc/sparc64: Populate.
4434 * config/cpu/sparc/sparc32/atomicity.h: New file.
4435 * config/cpu/sparc/sparc64/atomicity.h: New file.
4436
4437 * src/Makefile.am (myinstallheaders): Add install routines.
4438 * acinclude.m4 (GLIBCPP_CHECK_CPU):Add configuration for the
4439 cpu dir.
4440 * configure.in: Add.
4441
4442 * config/default: Adopt glibc naming conventions, and so move to
4443 * config/generic: Here.
4444 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Modify default case to generic.
4445
4446 2000-03-15 Bill Thompson <billt@toast.net>
4447
4448 * testsuite/27_io/ostream_inserter_char.cc (test06): Add test.
4449
4450 2000-03-14 Phil Edwards <pme@sourceware.cygnus.com>
4451
4452 * docs/17_intro/howto.html: Add missing "TOC" entry, and new section.
4453
4454 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Fixup.
4455 * aclocal.m4: Regenerate.
4456 * configure: Regenerate.
4457
4458 2000-03-13 scott snyder <snyder@fnal.gov>
4459 Jason Merrill <jason@cygnus.com>
4460
4461 * bits/locale_facets.h (class ctype, class ctype<char>, class
4462 ctype<wchar_t>): More mask fixes.
4463 * testsuite/22_locale/ctype.cc: Test for the problem.
4464
4465 2000-03-13 Benjamin Kosnik <bkoz@cygnus.com>
4466
4467 * acconfig.h: Add bits.
4468 * configure.in: Move AM_PROG_LIBTOOL up in file.
4469 Tweak cross compiling info.
4470 * configure: Regenerate.
4471
4472 * mknumeric_limits (XCOMPILE): Echo compilation line for
4473 gen-num-limits.cc
4474
4475 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add aix checks.
4476 * aclocal.m4: Regenerate.
4477 * configure: Regenerate.
4478 * config/aix/ctype.cc (ctype): Tweak.
4479 * config/aix/bits/ctype_base.h (ctype_base): Tweak.
4480 * config/aix/bits/ctype_specializations.h: New file.
4481
4482 2000-03-10 scott snyder <snyder@fnal.gov>
4483
4484 * stl/bits/stl_vector.h (_M_assign_aux): Fix for __normal_iterator
4485 conversions.
4486 * testsuite/23_containers/vector_modifiers.cc (test01): Add a
4487 regression test for the problem.
4488
4489 2000-03-09 Benjamin Kosnik <bkoz@fidel.cygnus.com>
4490
4491 * testsuite/27_io/streambuf.cc (class testbuf): Same here.
4492 * bits/fpos.h: And here.
4493 * bits/std_ostream.h: Same here.
4494 * bits/std_istream.h: Same here.
4495 * bits/basic_ios.h: Same here.
4496 * bits/std_fstream.h: Same here.
4497 * bits/sbuf_iter.h (std): Here too.
4498 * bits/std_sstream.h: Make types public.
4499
4500 * src/misc-inst.cc: Use size_t instead of unsigned int.
4501 * bits/locale_facets.tcc (_S_format): For now, cast to char. I
4502 suppose this should be ctype::narrow... all the ctype<wchar_t>
4503 stuff needs to be cleaned up.
4504
4505 2000-03-09 Phil Edwards <pme@sourceware.cygnus.com>
4506
4507 * docs/gentop: Remove entire directory, finally.
4508
4509 2000-03-09 scott snyder <snyder@fnal.gov>
4510
4511 * bits/std_cmath.h (modf): Fix pointer overrun.
4512 * testsuite/26_numerics/c_math.cc (test04, main): Add a regression
4513 test for the problem.
4514
4515 2000-03-09 Phil Edwards <pme@sourceware.cygnus.com>
4516
4517 Looks like changes to the #include'd files must be followed by a
4518 change to the #include'ing files to take effect. Caveat emptor.
4519 * docs/header.html: New file, for server-side include.
4520 * docs/footer.html: New file, for server-side include.
4521 * docs/documentation.html: Change to use SSI.
4522 * docs/download.html: Ditto.
4523 * docs/index.html: Ditto.
4524 * docs/mail.html: Ditto.
4525 * docs/status.html: Ditto.
4526 * docs/thanks.html: Ditto, plus minor updates.
4527 * docs/how.html: Remove.
4528
4529 2000-03-09 Benjamin Kosnik <bkoz@gnu.org>
4530
4531 Preliminary alpha-linux support.
4532 * src/locale.cc (ctype<wchar_t>): Use correct types...
4533 * bits/locale_facets.h (ctype<char>): Add __table_type typedef.
4534 (ctype<wchar_t>): Same.
4535 * bits/locale_facets.h (ctype<wchar_t>): Have char and wchar_t
4536 types match for table_size (size_t).
4537
4538 * config/gnu-linux/ctype.cc (ctype): Change char_type to wchar_t
4539 as per char specialization.
4540 * config/*/ctype.cc: Same.
4541
4542 2000-03-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4543
4544 * bits/locale_facets.h (_Ctype<>::mask): Import from base class
4545 _Ctype_nois<>. Template base classes are never examinated in
4546 first-phase name-lookup.
4547
4548 2000-03-08 Benjamin Kosnik <bkoz@gnu.org>
4549
4550 Add Solaris 2.5.1 support.
4551 * config/solaris/solaris2.5/bits/ctype_base.h (ctype_base): And here.
4552 * config/solaris/solaris2.5/ctype.cc: Fixup.
4553 * config/solaris/solaris2.5/bits/ctype_specializations.h: Add.
4554 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add bits for solaris2.5.1.
4555 * aclocal.m4: Regenerate.
4556 * configure: Regenerate.
4557
4558 * config/default/ctype.cc (ctype): Fixup.
4559
4560 2000-03-07 Benjamin Kosnik <bkoz@blues.cygnus.com>
4561
4562 * testsuite/27_io/filebuf.cc: Activate init code from yesterday...
4563 * testsuite/27_io/ostream_inserter_arith.cc (testcases): Fix for
4564 non-wchar_t case.
4565
4566 2000-03-07 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4567
4568 * bits/cpp_type_traits.h: Expand on this file purpose.
4569
4570 2000-03-06 Benjamin Kosnik <bkoz@gnu.org>
4571
4572 * bits/locale_facets.h (ctype<char>): Remove static members, and
4573 re-work initialization code.
4574 (ctype<wchar_t>): Same.
4575 Move _S_touppper to _M_toupper and initialize in ctor.
4576 Move _S_tolower to _M_tolower and initialize in ctor.
4577 Move _S_table to _M_ctable and intialize in ctor.
4578 * bits/locale_facets.h (std): And here.
4579 * src/locale.cc (std): Tweak.
4580 * config/gnu-linux/ctype.cc: Change initialization here.
4581 * config/newlib/ctype.cc: And here.
4582 * config/solaris/solaris2.7/ctype.cc: And here.
4583 * config/solaris/solaris2.6/ctype.cc: And here.
4584
4585 * bits/localefwd.h: Tweak.
4586 * bits/std_streambuf.h: Tweak formatting.
4587
4588 * testsuite/27_io/filebuf.cc: Remove BUFSIZ dependancies.
4589
4590 2000-03-05 Chip Salzenberg <chip@valinux.com>
4591
4592 * src/misc-inst.cc (basic_iostream<>): Instantiate.
4593
4594 2000-03-02 Phil Edwards <pme@sourceware.cygnus.com>
4595 Kevin Atkinson <kevinatk@home.com>
4596
4597 Initial grab of SGI's strstream implementation with minor
4598 modifications.
4599 * src/strstream.cc: New file.
4600 * std/strstream: New file.
4601 * stl/bits/std_strstream.h: New file.
4602 * bits/std_streambuf.h: Add public access.
4603 * src/Makefile.am: Add strstream sources to list of dependancies.
4604 * src/Makefile.in: Regenerate.
4605
4606 2000-03-03 2000 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4607
4608 * bits/valarray_meta.h: Fix typo.
4609
4610 2000-03-02 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4611 Chip Salzenberg <chip@valinux.com>
4612 Petter Urkedal <petter@matfys.lth.se>
4613
4614 * src/Makefile.am (myinstallheaders): Hack to avoid
4615 `for i in ; do'.
4616 * src/Makefile.in: Regenerate.
4617
4618 2000-03-02 Chip Salzenberg <chip@valinux.com>
4619
4620 * libio/Makefile.an, math/Makefile.an, src/Makefile.am
4621 (LINK): Put quotes around "$(CC)" for libtool link mode,
4622 so libtool will use "-B" options during GCC bootstrap.
4623 * */Makefile.in: Regenerate.
4624
4625 2000-03-02 Petter Urkedal <petter@matfys.lth.se>
4626
4627 * config/c_io_libio.h: Enclose it all in ::std.
4628 * bits/basic_string.h (basic_string<>): Make types and
4629 `npos' public.
4630 * mkc++config: Truncate output file before writing.
4631
4632 2000-03-01 Benjamin Kosnik <bkoz@gnu.org>
4633
4634 * math/cabsf.c (__mycabsf): Rename to cabsf.
4635 * math/cabs.c (__mycabs): Rename to cabs.
4636
4637 2000-02-29 LLeweLLyn Reese <llewelly@198.dsl.xmission.com>
4638
4639 * bits/basic_string.h: Move declarations of __out_of_range(),
4640 __length_error() and accompanying macros ...
4641 * bits/exception_support.h: here. (Newly created file).
4642 * bits/basic_string.h: #include <bits/exception_support.h>
4643 * stl/bits/stl_vector.h: #include <bits/exception_support.h>
4644 * src/Makefile.am (headers): Add.
4645 * src/Makefile.in: Regenerate.
4646
4647 2000-02-29 Benjamin Kosnik <bkoz@cygnus.com>
4648
4649 * bits/cpp_type_traits.h: Rename structs so they don't clash with
4650 type_traits.h.
4651 * bits/valarray_array.h: Synch. Fix typos.
4652
4653 * libio/Makefile.am: Change to only compile source files that
4654 config/c_io_libio.cc actually needs.
4655 * libio/Makefile.in: Regnerate.
4656 * libio/PlotFile.hes SFile.h builtinbuf.h editbuf.h floatconv.c
4657 floatio.h fstream.h indstream.h iofclose.c iofdopen.c iofeof.c
4658 ioferror.c iofflush.c iofgetpos.c iofgets.c iofopen.c iofprintf.c
4659 iofputs.c iofread.c iofscanf.c iofsetpos.c ioftell.c iofwrite.c
4660 iogetc.c iogetdelim.c iogetline.c iogets.c ioignore.c iomanip.h
4661 iopadn.c ioperror.c iopopen.c ioprims.c ioprintf.c ioputc.c
4662 ioputs.c ioscanf.c ioseekoff.c ioseekpos.c iosetbuffer.c
4663 iosetvbuf.c iosprintf.c iosscanf.c iostream.h iostrerror.c
4664 ioungetc.c iovfprintf.c iovfscanf.c iovsprintf.c iovsscanf.c
4665 istream.h list.out ostream.h outfloat.c parsestream.h peekc.c
4666 pfstream.h procbuf.h stdiostream.h stream.h streambuf.h strfile.h
4667 strops.c strstream.h: Delete.
4668
4669 * bits/basic_file.h: Stub out or delete unused bits in this
4670 interface.
4671 (filepos_beg): Remove.
4672 (filepos_cur): Remove.
4673 (filepos_valid): Remove.
4674 * config/c_io_libio.cc: Resynch with the changes to basic_file.
4675
4676 2000-02-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4677
4678 * bits/cpp_type_traits.h: Correct typo.
4679
4680 2000-02-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4681
4682 * bits/cpp_type_traits.h: New file.
4683
4684 * bits/valarray_array.h: Tweak. #include <bits/cpp_type_traits.h>
4685 Improve array construction.
4686 (_Array_default_ctor): New dispatcher class.
4687 (__valarray_default_construct): New function.
4688 (_Array_copy_ctor): New dispatcher class.
4689 (__valarray_copy_construct): New function.
4690 (_Array<>::free_data): Remove.
4691
4692 * src/Makefile.am (headers): Add cpp_type_traits.h
4693 * src/Makefile.in: Regenerate.
4694
4695 2000-02-28 Benjamin Kosnik <bkoz@cygnus.com>
4696
4697 Prune libio directory to match files in libio/Makefile.
4698 * libio/PlotFile.cc,indstream.cc, isgetsb.cc, sbform.cc,
4699 stream.cc, SFile.cc, ioassign.cc, isscan.cc, sbgetline.cc,
4700 streambuf.cc, builtinbuf.cc, ioextend.cc, osform.cc, sbscan.cc,
4701 strstream.cc, editbuf.cc, iomanip.cc, parsestream.cc,
4702 stdiostream.cc, filebuf.cc, iostream.cc, pfstream.cc,
4703 stdstrbufs.cc, fstream.cc, isgetline.cc, procbuf.cc,
4704 stdstreams.cc: Remove.
4705 * libio/floatio.h, iolibio.h, iostdio.h, iostreamP.h: Remove.
4706 * libio/iofflush_u.c: Remove.
4707
4708 * libio/dbz: Remove.
4709 * libio/include: Remove.
4710 * libio/stdio: Remove.
4711 * libio/tests: Remove.
4712 * libio/testsuite: Remove.
4713
4714 * config/c_io_libio.cc: Add fcntl.h include for Solaris.
4715
4716 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add bits.
4717 * configure.in: Replace 'grep -e' with 'grep' for Solaris.
4718 * configure: Regenerate.
4719
4720 2000-02-25 Benjamin Kosnik <bkoz@gnu.org>
4721
4722 Abstract out the underlying "C" io bits.
4723 * bits/std_new.h: Remove <stl_config> include, as well as <cstddef>.
4724 * stl/bits/stl_string_fwd.h: Remove <stddef> include.
4725 * bits/std_cwchar.h: Wrap with _GLIBCPP_USE_WCHAR_T guards. Don't
4726 include <cstddef>.
4727 * stl/bits/stl_config.h: Don't include _G_config.h.
4728
4729 * bits/basic_file.h: Allow for non-inheritance based __basic_files.
4730 * config/c_io_libio.h (_GLIBCPP_BASIC_FILE_INHERITANCE): Define.
4731 * config/c_io_libio.cc: Tweak.
4732
4733 * src/Makefile.am (TOPLEVEL_INCLUDES): Add includedir.
4734 * src/Makefile.in: Regenerate.
4735 * Makefile.am (AM_MAKEFLAGS): Define includedir so that
4736 prefix/include files will be picked up.
4737 * Makefile.in: Regenerate.
4738 * math/Makefile.am (TOPLEVEL_INCLUDES): And here.
4739 * libio/Makefile.am (TOPLEVEL_INCLUDES): And here.
4740
4741 * bits/std_ios.h: Include <bits/c++io.h> instead of libio.
4742 * bits/fpos.h: And here.
4743 * bits/basic_file.h (get_fileno): Move definition from ...
4744 * src/basic_file.cc (std): To here.
4745 * bits/fpos.h: Move types for streamoff, streampos to..
4746 * bits/basic_file.h: Move __c_file_type and fpos typedefs to...
4747 * config/c_io_libio.h: ...here.
4748 (_GLIBCPP_[BOOLALPHA, HEX, DEC, FIXED, INTERNAL, LEFT, OCT, RIGHT,
4749 SCIENTIFIC, SHOWBASE, SHOWPOINT, SHOWPOS, SKIPWS, UNITBUF,
4750 UPPERCASE, ADJUSTFIELD, BASEFIELD, FLOATFIELD, BADBIT, EOFBIT,
4751 FAILBIT, GOODBIT, APP, ATE, BINARY, IN, OUT, TRUNC): New macros to
4752 abstract out bits in ios_base.
4753 * bits/ios_base.h: Re-macrofy.
4754 * src/basic_file.cc : Rename, move to
4755 * config/c_io_libio.cc: Here.
4756 * config/c_io_libio.h: New file. Include libio.
4757 * bits/c++config.h: Don't define _GLIBCPP_USE_LIBIO.
4758 * configure.in (blddir): Add enabling bits for GLIBCPP_ENABLE_CSTDIO.
4759 * configure: Regenerate.
4760 * src/Makefile.am (sources): Take out basic_file.cc and add c++io.cc.
4761 (generated_headers): Add c++io.h
4762 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): New function to select
4763 underlying "C" io library.
4764 * acinclude.m4 (GLIBCPP_CHECK_LIBIO): Roll functionality into
4765 GLIBCPP_ENABLE_CSTDIO.
4766
4767 * configure.in: Add configure bits for cross compiling non-newlib
4768 targets. .
4769 GLIBCPP_CHECK_COMPILER_VERSION: Take out this test for this
4770 target, as we assume g++ support is not the limiting factor.
4771 GLIBCPP_CHECK_LIBIO: Same, know we don't need libio.
4772 * configure: Regenerate.
4773
4774 2000-02-22 Benjamin Kosnik <bkoz@cygnus.com>
4775
4776 * Makefile.am (INTERFACE): Define.
4777 * Makefile.in: Regenerate.
4778 * libio/ChangeLog: Add entry.
4779
4780 2000-02-21 Benjamin Kosnik <bkoz@cygnus.com>
4781
4782 * docs/install.html: Update install directions.
4783
4784 * docs/status.html: Fix sidebar to be consistent.
4785 * docs/thanks.html: Same.
4786 * docs/links.html: Same.
4787 * docs/mail.html: Same.
4788 * docs/download.html: Same.
4789
4790 * testsuite/27_io/filebuf.cc: Change BUFSIZ to buffer_size, and
4791 kill the macro BUFSIZ. I think the solaris fails lie elsewhere
4792 however, in the ctype_char_members.cc fail (for instance.)
4793 * testsuite/17_intro/headers.cc: Remove extraneous fails for hosts
4794 that do not have wchar_t enabled.
4795 * testsuite/27_io/ostream_inserter_arith.cc (struct _TestCase):
4796 Same here.
4797 * testsuite/27_io/iostream_objects.cc: And here.
4798
4799 * libio/gen-params (CONFIG_NM): Specifically add in nm as the
4800 default CONFIG_NM.
4801
4802 2000-02-18 Benjamin Kosnik <bkoz@haight.constant.com>
4803 Tom Tromey <tromey@cygnus.com>
4804
4805 * configure.in: Manually add MULTISUBDIR.
4806 * configure: Regenerate.
4807 * src/Makefile.am (MULTISUBDIR): Add the lesser evil of Tom's two
4808 "Eww" hacks to get multilib installs working correctly.
4809 ($(headers): Test for MULTISUBDIR before installing.
4810 * Makefile.am (AM_MAKEFLAGS): Don't define MULTISUBDIR, instead
4811 have configure hack it in.
4812 * Makefile.in: Regenerate.
4813 * acinclude.m4 (GLIBCPP_CXXFLAGS): Tweak wording.
4814 Add enabling bits for native Cygwin ctypes, and other newlib-based
4815 Oses.
4816
4817 2000-02-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4818
4819 * mkc++config (OUT_H): Remove EOF in cygwin.
4820 * acinclude.m4 (LIBS): Tweaks to allow cygwin to configure.
4821
4822 Tom Tromey <tromey@cygnus.com>
4823 * src/Makefile.am: Tweaks for installing multilibs.
4824
4825 2000-02-17 Benjamin Kosnik <bkoz@cygnus.com>
4826
4827 * src/Makefile.am:
4828 (toolexeclib_LTLIBRARIES): Use this instead of lib_LTLIBRARIES.
4829 Add USE_LIBDIR bits here, not...
4830 * src/Makefile.in: Regenerate.
4831 * Makefile.am: ...here.
4832 * Makefile.in: Regenerate.
4833
4834 2000-02-17 Benjamin Kosnik <bkoz@gnu.org>
4835
4836 * acinclude.m4 (LIBS): Fix typos.
4837 * configure.in: _GLIBCPP_BUGGY_FLOAT_COMPLEX,
4838 _GLIBCPP_BUGGY_COMPLEX for crosses.
4839 * src/Makefile.am (std_headers): Add libio.h as install include,
4840 as with _G_config.h
4841 * src/Makefile.in: Regenerate.
4842
4843 * mkcheck.in: Add bits to set CXX to cross compiler.
4844
4845 * src/complex_io.cc: Tweak.
4846 * configure.in: _GLIBCPP_BUGGY_COMPLEX for crosses.
4847 * configure: Regenerate.
4848
4849 * config/newlib/ctype.cc: Tweaks.
4850 * config/newlib/bits/ctype_base.h (ctype_base): Set mask to char,
4851 not const char.
4852 * src/complex_io.cc (operator>>(istream, complex): Define out if
4853 BUGGY_COMPLEX.
4854
4855 2000-02-16 Benjamin Kosnik <bkoz@cygnus.com>
4856
4857 * config/newlib/bits/ctype_base.h: Correct _S_table.
4858
4859 Reconfigure ctype support for "C" libraries that don't use arrays.
4860 * testsuite/22_locale/ctype_char_members.cc: New file. Test for
4861 basic ctype<char> functionality.
4862 * src/locale.cc: Move host-specific ctype functions that are not
4863 inlines to config/*/ctype.cc files.
4864 (ctype<char>::do_tolower): For instance.
4865 (ctype<char>::do_toupper): For instance.
4866 (ctype<wchar_t>::do_tolower): For instance.
4867 (ctype<wchar_t>::do_toupper): For instance.
4868 * config/gnu-linux/ctype.cc: Modify.
4869 * config/default/ctype.cc: Modify.
4870 * config/newlib/ctype.cc: Modify.
4871 * config/solaris/solaris2.6/ctype.cc: Modify.
4872 * config/solaris/solaris2.7/ctype.cc: Modify.
4873
4874 * bits/locale_facets.h (ctype<char>::is): Mark inline, move
4875 out-of-line.
4876 (ctype<char>::scan_is): Here too.
4877 (ctype<char>::scan_not): Here too.
4878 Move out of line defs to config/*/bits/ctype_specializations.h.
4879 * config/gnu-linux/bits/ctype_specializations.h: ...here. New file.
4880 * config/default/bits/ctype_specializations.h: ...here. New file.
4881 * config/newlib/bits/ctype_specializations.h: ...here. New file.
4882 * config/solaris/solaris2.6/bits/ctype_specializations.h: New file.
4883 * config/solaris/solaris2.7/bits/ctype_specializations.h: New file.
4884 * src/Makefile.am (headers): Add ctype_specializations.h.
4885 * src/Makefile.in: Regenerate.
4886
4887 Aaron Weiss <weiss@clearway.com>
4888 * Makefile.am (AM_MAKEFLAGS): Add NM_FOR_BUILD, NM_FOR_TARGET, and
4889 CONFIG_NM for Solaris builds.
4890 * Makefile.in: Regenerate.
4891
4892 * src/locale.cc: Tweak formatting.
4893
4894 2000-02-15 Benjamin Kosnik <bkoz@cygnus.com>
4895
4896 Jim Parsons <parsons@clearway.com>
4897 * testsuite/27_io/istream_unformatted.cc (test06): Add test.
4898 * bits/istream.tcc (read): Set failbit if !good(). Don't increment
4899 gcount if eof.
4900 (readsome): Same.
4901
4902 Michel Decima <michel.decima@cnet.francetelecom.fr>
4903 * testsuite/27_io/streambuf.cc: Add test.
4904 * bits/streambuf.tcc (xsgetn): Don't test for valid mode.
4905 (xsputn): Same.
4906
4907 * src/Makefile.am (AM_CXXFLAGS): Pass down AC_CXXFLAGS,
4908 OPTIMIZE_CXXFLAGS, etc. So --enable-debug and --enable-namespaces
4909 will work correctly, for instance.
4910 * src/Makefile.in: Regenerate.
4911
4912 * bits/locale_facets.h: Fix merge error.
4913 (num_put::put(unsigned long long): And here.
4914 * mknumeric_limits (trait_name): Same.
4915
4916 2000-02-15 Chip Salzenberg <chip@valinux.com>
4917
4918 Support 'configure --enable-long-long'.
4919 * bits/c++config.h (_GLIBCPP_USE_LONG_LONG): Remove.
4920 * stl/bits/stl_config.h (__STL_LONG_LONG): Remove '#if 0'.
4921 * acconfig.h (_GLIBCPP_USE_LONG_LONG): Add. Default to undef.
4922 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Define flag macro.
4923 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Use it.
4924
4925 * aclocal.m4: Regenerate.
4926 * config.h.in: Regenerate.
4927 * configure: Regenerate.
4928
4929 2000-02-15 Chip Salzenberg <chip@valinux.com>
4930
4931 Improve (complete?) 'long long' support.
4932 * mknumeric_limits: Call $CXX with $CPPFLAGS. Define statics
4933 for {,unsigned} long long if the limits header declares them.
4934 * src/gen-num-limits.cc: Include <bits/c++config.h> early.
4935 (__USE_GNU, _GNU_SOURCE): Define if _GLIBC_USE_LONG_LONG.
4936 (long long, unsigned long long): Gen limits if _GLIBC_USE_LONG_LONG.
4937 * bits/locale_facets.h (num_get<>::get(..., long long &)): Define.
4938 (num_put<>::put(..., long long)): Likewise.
4939 (num_put<>::put(..., unsigned long long)): Likewise.
4940 * bits/locale_facets.tcc (_S_format): Rename from _S_format_long.
4941 Templatize last parameter to support 'long long'.
4942 (num_put<>::put(...)): Call _S_format with new name.
4943 (num_put<>::put(..., long long)): Define.
4944 (num_put<>::put(..., unsigned long long)): Likewise.
4945 * src/locale-inst.cc (_S_format): Instantiate under new name.
4946
4947 2000-02-15 Petter Urkedal <petter@matfys.lth.se>
4948
4949 * src/complex.cc (operator<<, operator>>): Moved from here...
4950 * src/complex_io.cc: ...to new file.
4951 (operator>>): Stub replaced by the real thing.
4952 * src/Makefile.am (sources): Inserted complex_io.cc.
4953 * src/Makefile.in: Regenerate.
4954 * testsuite/26_numerics/complex_inserters_extractors.cc: Check it.
4955
4956 2000-02-14 Benjamin Kosnik <bkoz@gnu.org>
4957
4958 Add in ctype information for newlib "C" libraries.
4959 * config/newlib: New directory
4960 * config/newlib/bits/ctype_base.h: New file.
4961 * config/newlib/ctype.cc: New file.
4962
4963 * ctype/config/linux/*: Rename, move to...
4964 * ctype/config/gnu-linux/*: Here.
4965
4966 Finish off multilib work.
4967 * configure.in: Don't set CXX if not Canadian cross.
4968 * configure: Regenerate.
4969 * acinclude.m4 (GLIBCPP_CHECK_LIBIO): Tweak messages.
4970 * aclocal.m4: Regenerate.
4971 * config.h.in: Regenerate.
4972
4973 * install-sh: Remove, as AC_CONFIG_AUX_DIR(..) picks this out of
4974 the top-level gcc directory now.
4975 * mkinstalldirs: Remove.
4976 * missing: Remove
4977 * ltconfig: Remove.
4978 * ltmain.sh: Remove.
4979 * config.guess: Remove.
4980 * config.sub: Remove.
4981
4982 2000-02-13 Benjamin Kosnik <bkoz@cygnus.com>
4983
4984 * configure.in (glibcpp_basedir): Add glibcpp_basedir.
4985 * Makefile.am: Move mutlilib stuff to src/Makefile.am.
4986 * Makefile.in: Regenerate.
4987 * src/Makefile.am: Add multilib bits.
4988 * src/Makefile.in: Regenerate.
4989
4990 2000-02-12 Benjamin Kosnik <bkoz@cygnus.com>
4991
4992 * configure.in: Clean, add some multilib support.
4993 * configure: Regenerate.
4994 * configure.host: New file.
4995
4996 * acinclude.m4: GLIBCPP_CHECK_LIBIO. Take bits from configure.in and
4997 roll a new function, checks for presence of libio.
4998 GLIBCPP_CHECK_COMPILER_VERSION: Same.
4999 GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT: Same.
5000 GLIBCPP_CHECK_MATH_SUPPORT: Same.
5001 GLIBCPP_CHECK_WCHAR_T_SUPPORT: Same.
5002 GLIBCPP_CHECK_LIBIO: Same.
5003 GLIBCPP_CHECK_CTYPE: Same.
5004 * aclocal.m4: Regenerate.
5005 * config.h.in: Regenerate.
5006
5007 * Makefile.am: Tweaks.
5008 * Makefile.in: Regenerate.
5009
5010 2000-02-11 Benjamin Kosnik <bkoz@cygnus.com>
5011
5012 * configure.in: Make outputing the libio/Makefile
5013 conditional. Haha, yeah right. Anyway, we instead do this thing
5014 where if libio is found, then we build a null library, as there is
5015 no point in duplicating the found libio.
5016 * Makefile.am: Tweak.
5017 * Makefile: Regenerate.
5018 * libio/Makefile.am: Add _G_config.h stuff. Now cross compilers
5019 are happy happy happy.
5020 * libio/Makefile.am: Regenerate.
5021 * libio/gen-params: New file.
5022 * src/Makefile.am: Make libio.la non-conditional, as it is now a
5023 null library if it's not needed. At least we are being consistent,
5024 if not as elegant as we could be.
5025 * src/Makefile: Regenerate.
5026
5027 2000-02-10 Benjamin Kosnik <bkoz@gnu.org>
5028
5029 * Makefile.am (SUBDIRS): Add libio again.
5030 * Makefile.in: Regenerate.
5031 * configure.in (BUILD_LIBIO_INCLUDE): And here.
5032 (AC_OUTPUT): Generate libio/Makefile again.
5033 * configure: Regnerate.
5034 * src/Makefile.am (libstdc___la_LIBADD): Change path so that
5035 libio.la is referring back to the libio subdir again.
5036 (LIBIO_INCLUDES): And here.
5037 * src/Makefile.in: Regenerate.
5038
5039 2000-02-09 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5040
5041 * math/complex-stub.h: Missed one. Change __mycabs* to cabs*.
5042
5043 2000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5044
5045 * bits/valarray_array.h (<bits/std_new.h>): #include.
5046 (__valarray_get_memory): New function.
5047 (__valarray_release_memory): Likewise.
5048 (__valarray_default_construct): New functions.
5049 (__valarray_fill_construct): New function.
5050 (__valarray_copy_construct): New funstions.
5051 (__valarray_destroy_elements): New function.
5052
5053 * bits/valarray_array.tcc (__valarray_copy_construct): New
5054 functions.
5055
5056 * bits/std_valarray.h (valarray<>::valarray): Use
5057 __valarray_get_memory and __valarray_fill_construct,
5058 __valarray_copy_construct, __valarray_default_construct to
5059 properly construct valarrays.
5060 (valarray<>::~valarray): Use __valarray_destroy_elements to
5061 destroy elements and __valarray_release_memory to return memory.
5062 (valarray<>::shift): Tweak.
5063 (valarray<>::cshift): Likewise.
5064 (valarray<>::resize): Robustify.
5065
5066 2000-02-09 Benjamin Kosnik <bkoz@cygnus.com>
5067
5068 * mknumeric_limits (XCOMPILE): Add support for cross compiling.
5069 * bits/limits_generic.h: New file, defaults.
5070 * src/limits_generic.cc: New file, defaults.
5071 * configure.in (LIBS): Run mknumeric_limits at configure time.
5072 * acconfig.h: Remove PACKAGE VERSION HAVE_COMPLEX
5073 HAVE_LC_MESSAGES, tidy, clean, etc.
5074 * src/Makefile.am (geberated_sources): Remove.
5075
5076 * bits/fpos.h: Use _GLIBCPP_USE_LIBIO guards for libio typenames
5077 (_IO_off_t, _IO_ssize_t)
5078
5079 * src/complex.cc: Use glibc's <complex.h> if
5080 possible. . . apparently this was not being done before. Include
5081 tweaks.
5082 (abs): Enable cabs if it's around, instead of mycabs.
5083 * src/complexf.cc (FCT): Add global scope to match complex.cc.
5084 * src/complexl.cc (FCT): Same.
5085 * math/Makefile.am (EXTRA_LONG_DOUBLE_yes): Change mycabsl to cabsl.
5086 (libmath_la_SOURCES): And here.
5087 * math/(mycabs.c, mycabsf.c, mycabsl.c): Move to. . .
5088 * math/(cabs.c, cabsf.c, cabsl.c): . . . Here.
5089 * math/complex-stub.h: Move c_log declarations into. . .
5090 * math/mathconf.h: Here. This is because glibc's <complex.h>
5091 declares cclog, not c_log. The case of the dueling standards. . .
5092 * math/mathconf.h: Add _GLIBCPP_HAVE_* to macros.
5093 * math/Makefile.am: Change.
5094 * math/nan.c (nan): Change signature.
5095 * math/mathconf.h (NAN): Same.
5096 * math/complex-stub.h (nan): And here.
5097
5098 * Makefile.am (rebuild-stamp): Remove libio and libio
5099 dependancies. Plan to take out libio subdir and just merge with
5100 libio in top level gcc directory. Of course, this assumes there is
5101 a libio in the top level directory (ie ../src_dir). This will
5102 probably change the way this library is configured by default.
5103 * libio/*: Remove.
5104
5105 2000-02-09 Chip Salzenberg <chip@valinux.com>
5106
5107 * localefwd.h (locale): Make public: facet, id, category.
5108
5109 2000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5110
5111 * testsuite/26_numerics/buggy_complex.cc: Fix Origin:.
5112
5113 * acinclude.m4: Patch only once!
5114
5115 2000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5116
5117 * testsuite/26_numerics/buggy_complex.cc: New file.
5118
5119 2000-02-05 Petter Urkedal <petter@matfys.lth.se>
5120
5121 * acinclude.m4: New GLIBCPP_CHECK_COMPLEX_SUPPORT macro. Based
5122 on the 1999-11-21 entries by Mumit Khan.
5123 * configure.in: Use.
5124 * acconfig.h: New _GLIBCPP_BUGGY_COMPLEX macro.
5125 * bits/std_complex.h: Use.
5126
5127 2000-02-04 Philip Martin <pm@corris.dircon.co.uk>
5128
5129 * stl/bits/stl_algobase.h: Add traits based dispatch for
5130 __normal_iterator in the copy_backward()algorithm
5131 * stl/bits/stl_vector.h: Reduce use of __normal_iterator
5132 base() function.
5133
5134 2000-02-04 Mumit Khan <khan@xraylith.wisc.edu>
5135
5136 * src/gen-num-limits.cc (signal_handler): Work around signal
5137 handling problem on Cygwin.
5138 Thanks to Chris Faylor <cgf@cygnus.com>.
5139
5140 2000-02-03 Benjamin Kosnik <bkoz@cygnus.com>
5141
5142 * configure.in: Add (preliminary) support for cross compiles and
5143 multilibs.
5144 Remove AC_C_BIGENDIAN tests. Why is this necessary? Cross
5145 compilation freaks on this.
5146 * configure: Regenerate.
5147 * src/Makefile.am: Add support for cross compiles.
5148 * src/Makefile: Regenerate.
5149 * Makefile.am: Add support for cross compiles.
5150 * Makefile.in: Regenerate.
5151
5152 2000-02-02 Benjamin Kosnik <bkoz@cygnus.com>
5153
5154 * configure.in (LIBS): Remove unused subdirs.
5155 * configure: Regenerate.
5156 * Makefile.am (SUBDIRS): And here.
5157 * Makefile.in: Regenerate.
5158 * src/Makefile.am (sources): And here.
5159 * src/Makefile.in: Regenerate.
5160 * string/*: Remove.
5161 * amm1/*: Remove.
5162 * generic/*: Remove.
5163 * glibc/*: Remove.
5164 * mkcheck.in (INC_PATH): Include $BUILD_DIR before any source dirs.
5165
5166 * libtool: Update to libtool-1.3.4.
5167 * ltconfig: Same
5168 * ltmain.sh: Same
5169 * config.sub: Same.
5170 * config.guess: Same.
5171
5172 2000-02-02 Benjamin Kosnik <bkoz@cygnus.com>
5173 Alexandre Petit-Bianco <apbianco@cygnus.com>
5174
5175 * mkc++config: New file. Put autoconf macros into _GLIBCPP_
5176 namespace instead of polluting global namespace with duplicate
5177 autoconf output.
5178 * configure.in (AC_OUTPUT): Don't need to generate bits/config.h
5179 here anymore. . .
5180 (AC_OUTPUT_COMMANDS): Make it here.
5181 * configure: Regenerate.
5182 * bits/c++config.h.in (_CPP_CPPCONFIG): Change. Tweak. Remove
5183 endif, as now we will add it manually.
5184 Move to this file. . .
5185 * bits/c++config.h: New file. Same as old c++config.h.in except
5186 the ending macro guard is now appended manually.
5187
5188 * bits/locale_facets.tcc: Change HAVE_* macros to _GLIBCPP_HAVE_*.
5189 * bits/std_cmath.h: Same here.
5190 * bits/std_cwchar.h: And here.
5191 * src/locale.cc: And here.
5192 * src/complexl.cc: And here.
5193 * math/mathconf.h: Change to include "config.h" instead of
5194 bits/c++config.h.
5195
5196 2000-02-01 Benjamin Kosnik <bkoz@gnu.org>
5197
5198 * configure.in: Add support for threads. Try a model closer to
5199 libjava, as hopefully if the thread bits are added carefully
5200 enough, the source code will not have gross hacks. Besides, the
5201 libstdc++-v2 model could be easily emulated without the necessity
5202 of linking files in (as currently done)--all that needs to be done
5203 is AC_DEFINE(-D_PTHREADS) etc. However, let's try something
5204 new. . . and see if we arrive at a more elegant solution.
5205 * configure: Regenerated.
5206 * config/threads-no.h: New file.
5207 * config/threads-posix.h: New file.
5208 * src/Makefile.am (myinstallheaders): Install c++threads.h.
5209 * src/Makefile.in: Regenerated.
5210
5211 2000-01-31 Benjamin Kosnik <bkoz@gnu.org>
5212
5213 META-QUESTION: Can we just make a "header.html" file and a
5214 "footer.html" and just include them in all the doc sub-pages. The
5215 duplication of the header info is kind of gross, and weak
5216 considering that if you change order or layout then all this stuff
5217 has to be changed in all the sub-files.
5218
5219 * docs/17_intro/contribute.html: Take out duplicate file info.
5220 * README: Should just contain a link to the docs/index.html
5221 page. Duplicate information removed.
5222 * docs/faq/index.html: Remove indexes into HOWTOS.
5223 * docs/17_intro/howto.html: Make intro and docs part more
5224 centralized. Move intro stuff to documentation.html.
5225 * docs/how.html: Tweak. Does this file need to exist? What calls it?
5226 * docs/README.html: Move documentation files to
5227 documentation.html. Should this file be renamed
5228 "config_and_install.html" as that is what is apparently covered
5229 here. . .
5230 * docs/install.html: Yes. New file, moved and renamed README.html.
5231 * docs/documentation.html: New file. This is the index file for
5232 the documentation.
5233 * docs/index.html: Edit sidebar order. Insert new link to new
5234 documentation spine, documentation.html.
5235
5236 2000-01-31 Scott Snyder <snyder@fnal.gov>
5237
5238 * bits/istream.tcc (operator>>(istream&, string&)): Set failbit if
5239 we don't extract any characters.
5240 * testsuite/21_strings/inserters_extractors.cc (main): New tests.
5241
5242 2000-01-31 Anders Widell <awl@hem.passagen.se>
5243
5244 * stl/bits/std_bitset.h (_M_do_left_shift): Handle case when shift
5245 step is a multiple of the word size.
5246 (_M_do_right_shift): Same.
5247 * testsuite/23_containers/bitset_shift.cc: New file.
5248
5249 2000-01-31 Nathan Myers <ncm@zembu.com>
5250
5251 * README (Documentation): Add path info, fix typos.
5252
5253 2000-01-26 Benjamin Kosnik <bkoz@redhat.com>
5254
5255 * bits/locale_facets.tcc (num_get::_M_extract): Add the freaking
5256 crazy group checking for numpunct, for real this time. At some
5257 point, the local variable __grp should probably get replaced a
5258 char array, or something a bit more lightweight.
5259 (num_get::do_get(bool)): Simplify. Don't set bool reference to
5260 parsed value unless err isn't failbit.
5261 (num_get::do_get(*)): Same, make consistent.
5262
5263 Nathan Myers <ncm@zembu.com>
5264 Jim Parsons <parsons@clearway.com>
5265 * testsuite/27_io/istream_extractor_arith.cc (test08): Add
5266 more grouping tests, tweak, scold, wine.
5267
5268 2000-01-24 Benjamin Kosnik <bkoz@gnu.org>
5269
5270 * testsuite/27_io/istream_extractor_arith.cc (test07): Add
5271 grouping tests.
5272 * bits/locale_facets.tcc (num_get::_M_extract): Change to fix
5273 grouping bugs. Only allow thousands_sep if _M_use_groupings is
5274 true.
5275
5276 via <llewelly@198.dsl.xmission.com>
5277 * stl/bits/stl_vector.h (vector::_M_range_check): Throw
5278 out_of_range instead of range_error.
5279
5280 2000-01-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5281
5282 * bits/std_iomanip.h (setw): Fix typo.
5283
5284 2000-01-14 Benjamin Kosnik <bkoz@gnu.org>
5285
5286 * testsuite/27_io/istream_extractor_arith.cc: Fix.
5287 * bits/locale_facets.tcc (do_get(...void)): Change to strtoul.
5288 * testsuite/27_io/istream_unformatted.cc (test04): Tweak.
5289
5290 2000-01-14 Phil Edwards <pme@sourceware.cygnus.com>
5291
5292 * docs/README.html: Reformat, more installation instructions.
5293 * docs/gccrebuild.html: New file.
5294 * docs/faq/index.html: Update for new testsuite output filenames.
5295 * docs/faq/index.txt: Regenerate.
5296
5297 2000-01-14 Phil Edwards <pme@sourceware.cygnus.com>
5298
5299 * Makefile.am (rebuild-stamp, all-local): New targets.
5300 * Makefile.in: Regenerated.
5301 * acinclude.m4: New macro, GLIBCPP_ENABLE_RELIBGCC.
5302 * aclocal.m4: Regenerated.
5303 * configure.in: Call new macro. Also do some sanity checks
5304 for combinations of --enable's that may not make sense.
5305 * configure: Regenerated.
5306
5307 2000-01-13 Benjamin Kosnik <bkoz@cygnus.com>
5308
5309 * testsuite/27_io/istream_extractor_arith.cc: Add checks for void*.
5310 * bits/locale_facets.tcc (do_get::(...void)): Set fmtflags
5311 correctly for hex-formatted input.
5312
5313 * testsuite/27_io/istream_manip.cc (test01): Fix, as per setting
5314 eofbit instead of eofbit | failbit.
5315 * testsuite/27_io/istream_unformatted.cc (test04): Fix, as
5316 ifstreams now are opened or'd with ios_base::in (as is correct).
5317 * bits/fstream.tcc (filebuf::seekoff): Simplify.
5318 * testsuite/27_io/ios_base_members_static.cc (test01): Fix thinko.
5319
5320 2000-01-12 Benjamin Kosnik <bkoz@gnu.org>
5321
5322 * bits/std_fstream.h: Add ios_base as a friend to basic_filebuf.
5323 * bits/basic_file.h (basic_file::filepos_cur): Remove incorrect
5324 (misleading) code.
5325 (__basic_file::filepos_valid): Same.
5326 (__basic_file::filepos_beg): Same.
5327 (__baseic_file::get_fileno): New function.
5328 * bits/ios_base.h (ios_base::sync_with_stdio): Implement, including
5329 feedback from LWG 49.
5330 * src/ios.cc: Move definition here.
5331 * testsuite/27_io/ios_base_members_static.cc (test01): Add tests.
5332
5333 * bits/std_sstream.h (_M_really_sync): Simplify argument list. Set
5334 output part of internal buffer based on string size, so that
5335 _M_out_end is set consistently with filebufs. Correct comments.
5336 * bits/sstream.tcc (stringbuf::overflow): Update here too.
5337 * testsuite/27_io/stringbuf.cc: Changes.
5338
5339 2000-01-11 Benjamin Kosnik <bkoz@gnu.org>
5340
5341 * bits/sstream.tcc (seekoff): Set based on end of written buffer,
5342 not buffer size.
5343 * testsuite/27_io/stringbuf.cc: Add tests for seekoff(end).
5344
5345 * bits/std_fstream.h (ifstream::open): Add ios_base::in to openmode.
5346 (ofstream::open): Add ios_base::out to openmode.
5347
5348 * bits/locale_facets.tcc (_M_extract): Have consistency between
5349 istream::sentry and extractors, where failbit | eofbit is
5350 set. Don't change this, but instead change. . (do some formatting
5351 tweaks.)
5352 * bits/istream.tcc (istream::sentry): Only set eofbit.
5353
5354 2000-01-10 Benjamin Kosnik <bkoz@gnu.org>
5355
5356 * testsuite/27_io/istringstream_members.cc: New file.
5357
5358 2000-01-09 Benjamin Kosnik <bkoz@gnu.org>
5359
5360 * bits/istream.tcc (istream::sentry): Flush.
5361
5362 * configure.in (AC_OUTPUT_COMMANDS): Simplify.
5363 * configure: Regenerate.
5364 * src/Makefile.am (generated_headers): Remove bits/c++config.h so
5365 that make clean will not delete it.
5366 * src/Makefile: Regenerate.
5367
5368 2000-01-07 Phil Edwards <pme@sourceware.cygnus.com>
5369
5370 * mkcheck.in: Use host-specific invocation of size(1);
5371 GNU binutils isn't necessarily there (more's the pity).
5372
5373 2000-01-06 Benjamin Kosnik <bkoz@cygnus.com>
5374
5375 * configure.in (LIBS): Better tests for solaris2.6.
5376 * configure: Regenerate.
5377
5378 <vakatov@ncbi.nlm.nih.gov>
5379 * bits/std_sstream.h: As per libstdc++20.
5380
5381 2000-01-06 Benjamin Kosnik <bkoz@gnu.org>
5382
5383 Break out configuration on solaris.
5384 * configure.in (ctype_solaris): Add in bits for solaris2.6 and 2.7.
5385 * config/solaris/ctype.cc: Delete and move to proper version.
5386 * config/solaris/bits: Same.
5387 * config/solaris/solaris2.5: Add this directory, with subdir bits
5388 and file ctype.cc. Probably doesn't work.
5389 * config/solaris/solaris2.6: Same.
5390 * config/solaris/solaris2.7: Same, as per specs via Phil Edwards.
5391
5392 * Makefile.am: Change paths to mkcheck.
5393 * Makefile: Regenerate.
5394 * configure.in (AC_OUTPUT_COMMANDS): Build mkcheck here.
5395 * configure: Regenerate.
5396 * src/Makefile.am (generated_headers): Add bits/c++config.h.
5397
5398 * mkcheck: Now autogenerated by configure and renamed. . .
5399 * mkcheck.in (INC_PATH): Add glue for ctype_include_dir.
5400 Have longer-style dates.
5401 Raja R Harinath <harinath@cs.umn.edu>
5402 * mkcheck: Change path to #!/usr/clocal/bin/bash.
5403
5404 * docs/README.html: Correct links, maybe. FAQ, install notes, and
5405 general documentation need to be organized around each other, not
5406 fight against each other. . .
5407
5408 2000-01-04 Phil Edwards <pme@sourceware.cygnus.com>
5409 Nicolai Josuttis <nicolai.josuttis@braunschweig.netsurf.de>
5410
5411 * README: Add a note referring to README.html.
5412 * docs/README.html: New file from Nicolai.
5413 * docs/faq/index.html: Move "how to get a copy" to here.
5414 * docs/gentop/footchunk.html: Update.
5415 * docs/gentop/headchunk.html: New links according to
5416 bkoz's idea for "How to..." stuff.
5417 * docs/gentop/thanks: Actually put people here.
5418 * docs/download.html: Regenerated.
5419 * docs/index.html, docs/links.html, docs/mail.html,
5420 docs/status.html, docs/thanks.html, docs/faq/index.txt: Ditto.
5421 * docs/how.html: Ditto. (This file should go away soon.)
5422
5423 1999-12-26 Phil Edwards <pme@sourceware.cygnus.com>
5424
5425 * docs/gentop/status: Add snapshot version column, update
5426 for Solaris 7.
5427 * docs/status.html: Regenerated.
5428
5429 1999-12-26 Phil Edwards <pme@sourceware.cygnus.com>
5430
5431 * docs/faq/index.html: Turn README and RELEASE-NOTES into links
5432 from installation FAQ, and specify location of text files.
5433 * docs/faq/index.txt: Regenerated.
5434
5435 1999-12-23 Phil Edwards <pme@sourceware.cygnus.com>
5436
5437 * docs/gentop/download: Add links to prebuilds for Cygwin/Mingw32.
5438 * docs/download.html: Regenerated.
5439
5440 1999-12-22 Phil Edwards <pme@sourceware.cygnus.com>
5441
5442 * docs/faq/index.html: Update 'what works' for .7 snapshot,
5443 clean up various links.
5444 * docs/faq/index.txt: Regenerated.
5445 * docs/gentop/gentop: Smarter regeneration script.
5446 * docs/gentop/{head,foot}chunk.html: Updated with new
5447 contributors link and mod date.
5448 * docs/gentop/index: Snapshot relase date.
5449 * docs/gentop/thanks: New contributors page added.
5450 * docs/{download,how,index,links,mail,status,thanks}.html:
5451 Regenerated from gentop; thanks.html created.
5452
5453 1999-12-21 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5454
5455 * bits/c++config.h.in (__GLIBCPP__): 19991221.
5456 * docs/index.html: Add correct information.
5457
5458 * config/irix: New directory.
5459 * config/irix/ctype.cc: Add irix-6.5 info. Not tested.
5460 * config/irix/bits/ctype_base.h: And here.
5461
5462 * config/aix: New directory.
5463 * config/aix/ctype.cc: Add aix-4.2 info. Not tested.
5464 * config/aix/bits/ctype_base.h: And here.
5465
5466 1999-12-21 Philip Martin <pm@corris.dircon.co.uk>
5467
5468 * bits/basic_string.h: Add special case handling for integral
5469 "iterators".
5470 * bits/std_string.h: include type_traits.h
5471 * testsuite/21_strings/ctor_copy_dtor.cc: Tweak.
5472
5473 1999-12-21 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5474
5475 * bits/fstream.tcc (seekoff): Output buffer based on _M_*_in and
5476 _M_*_end now.
5477 * bits/std_fstream.h (sync): And here.
5478 * testsuite/27_io/filebuf.cc: Revisions.
5479 * testsuite/27_io/filebuf-2.tst: Correct, remove weird character
5480 at the end of the file.
5481 * testsuite/27_io/filebuf-3.tst: Correct.
5482
5483 1999-12-21 Phil Edwards <pedwards@jaj.com>
5484
5485 * docs/gentop/index: Hold off on .7 announcement date.
5486 * docs/index.html: Regenerate.
5487
5488 1999-12-21 Benjamin Kosnik <bkoz@kcygnus.com>
5489
5490 * bits/std_fstream.h (sync): Move _M_file->sync() to
5491 _M_really_overflow().
5492 * bits/fstream.tcc (seekoff): Call sync, not _M_really_overflow so
5493 as to get the _M_file->sync action, which forces the external
5494 buffer to update itself.
5495 (underflow): Same here.
5496
5497 1999-12-21 Phil Edwards <pedwards@jaj.com>
5498
5499 * bits/c++config.h.in: Uncomment _GLIBCPP_USE_NAMESPACES and move...
5500 * acconfig.h: ...to here.
5501 * config.h.in: Regenerate from aclocal.
5502 * acinclude.m4: Add GLIBCPP_ENABLE_DEBUG, GLIBCPP_ENABLE_NAMESPACES.
5503 * aclocal.m4: Regenerate from acinclude.
5504 * configure.in: Use ENABLE macros here.
5505 * configure: Regenerate.
5506 * src/Makefile.am: Use results from ENABLE macros.
5507 * src/Makefile.in: Regenerate.
5508
5509 1999-12-20 Benjamin Kosnik <bkoz@cygnus.com>
5510
5511 * mkcheck (SRC_DIR): Now have to include config/* dir if "make
5512 check" and not "make check-install." Temporarily hack in linux
5513 support.
5514
5515 * bits/std_streambuf.h: Tweaks.
5516 * bits/streambuf.tcc (xsgetn): Tweaks.
5517 * bits/std_fstream.h (sync): Make _M_really_overflow consistent.
5518 * bits/fstream.tcc (filebuf::underflow): Simplify.
5519 * bits/std_sstream.h (streambuf::underflow): Minor change to make
5520 checks for read position precisely implement the standard.
5521 * bits/basic_file.h (filepos_cur): Base this on _offset.
5522 * testsuite/21_strings/inserters_extractors.cc (test05): Tweaks.
5523 * testsuite/27_io/filebuf.cc: Tweak.
5524
5525 1999-12-20 Benjamin Kosnik <bkoz@cygnus.com>
5526
5527 * docs/17_intro/RELEASE-NOTES: Fix typos.
5528
5529 * bits/locale_facets.h (ctype): Modify, use __to_type to abstract
5530 out platform-specific bits.
5531 * config/default/ctype.cc: And here.
5532 * config/defaults/bits/ctype_base.h: And here.
5533 * config/linux/ctype.cc: And here.
5534 * config/linux/bits/ctype_base.h (ctype_base): And here.
5535 * config/solaris/bits/ctype_base.h (ctype_base): Add
5536 __to_type. Comment, as it looks like this is for solaris2.6 and
5537 above: solaris2.5.1 doesn't seem to have the same definitions.
5538 * config/solaris/ctype.cc: And here.
5539
5540 1999-12-19 Benjamin Kosnik <bkoz@cygnus.com>
5541 Ulrich Drepper <drepper@cygnus.com>
5542
5543 * acconfig.h: Remove _GLIBCPP_USE_CTYPE_ISBIT.
5544
5545 * src/locale.cc: Take out platform-specific hacks.
5546 * config/linux/ctype.cc: Put here.
5547 * config/solaris/ctype.cc: Put here.
5548 * config/default/ctype.cc: Put here.
5549
5550 * bits/locale_facets.h: Take out platform-specific hacks.
5551 * config/linux/bits/ctype_base.h: Put here.
5552 * config/solaris/bits/ctype_base.h: Put here.
5553 * config/default/bits/ctype_base.h: Put here.
5554
5555 * configure.in: Bump version.
5556 Add tests for top-level config directory.
5557 * configure: Regenerated.
5558 * src/Makefile.am (INCLUDES): Add platform-specific dir.
5559 * src/Makefile: Regenerate.
5560
5561 1999-12-19 Benjamin Kosnik <bkoz@cygnus.com>
5562 Ulrich Drepper <drepper@cygnus.com>
5563
5564 * bits/locale_facets.h: Hack in solaris support.
5565 * src/locale.cc: Here too.
5566
5567 1999-12-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5568
5569 * docs/17_intro/TODO: Update
5570 * docs/17_intro/RELEASE-NOTES (New): Update.
5571
5572 1999-12-17 Benjamin Kosnik <bkoz@milou.cygnus.com>
5573
5574 * bits/c++config.h.in (__GLIBCPP__): Bump.
5575 * docs/17_intro/RELEASE-NOTES: Update, Gaby please add your stuff.
5576 * docs/17_intro/TODO: Update.
5577
5578 * bits/locale_facets.h: Touch this too.
5579 * bits/localefwd.h: Add typedefs for loooooong vector names.
5580 * bits/locale_facets.tcc (locale::operator()): Need parens.
5581 (has_facet): Simplify.
5582 * src/locale-inst.cc: Add instantiations.
5583 * src/locale.cc: Tweaks.
5584
5585 * bits/std_streambuf.h: Move indeterminates into. .
5586 * bits/std_fstream.h: Here.
5587 * bits/fstream.tcc (underflow): Rewind just for ios_base::out
5588 streams.
5589 * bits/sstream.tcc: Very minor formatting tweaks.
5590 * bits/std_streambuf.h (_M_set_determinate): If exclusively an
5591 input buffer, set _M_buf to offset.
5592 * bits/istream.tcc (std): Tweaks.
5593 * testsuite/27_io/istream_unformatted.cc (test05): More tweaks,
5594 include fstream.
5595 * testsuite/27_io/filebuf.cc: Tweaks.
5596
5597 1999-12-17 Phil Edwards <pedwards@jaj.com>
5598
5599 * configure.in: Add OPTLEVEL, -O2 for gcc 2.96+, nothing otherwise.
5600 * configure: Regenerate.
5601 * src/Makefile.am: Use OPTLEVEL in CXXFLAGS.
5602 * src/Makefile.in: Regenerate. Also picks up OTHER_CXXFLAGS rename
5603 to OPTIMIZE_CXXFLAGS from a previous revision (1.96) to Makefile.am.
5604
5605 1999-12-17 Phil Edwards <pedwards@jaj.com>
5606
5607 * docs/21_strings/stringtok_std_h.txt: New algorithm
5608 suggested by Chris King.
5609 * docs/21_strings/howto.html: Link to new version.
5610
5611 1999-12-16 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5612
5613 * bits/valarray_array.h (__valarray_sum): Use operator+=, not
5614 operator+.
5615 * docs/17_intro/TODO: Update.
5616
5617 1999-12-15 Phil Edwards <pme@sourceware.cygnus.com>
5618
5619 * docs/gentop/footchunk.html: Updated, fixed CRLFs.
5620 * docs/gentop/gentop: Ditto.
5621 * docs/gentop/headchunk.html: Ditto.
5622 * docs/*.html: Regenerated from gentop.
5623 * docs/*/howto.html: Updated as test.
5624 * docs/faq/index.html: Updated, fixed CRLFs.
5625 * docs/faq/index.txt: Regenerated.
5626
5627 1999-12-15 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5628
5629 * mknumeric_limits (OUT_C): restart only if $OUT_C is present.
5630
5631 * bits/std_complex.h
5632 (complex<float>::complex(const complex<double>&),
5633 complex<float>::complex(const complex<long double>&)): Define.
5634
5635 * docs/17_intro/TODO: Update.
5636
5637 1999-12-13 Benjamin Kosnik <bkoz@cygnus.com>
5638
5639 * bits/istream.tcc (seekg): Don't set _M_gcount.
5640 (tellg): Same.
5641 * bits/fstream.tcc (filebuf::underflow): Re-sync
5642 external byte sequence's input buffer only. . .
5643 * testsuite/27_io/istream_unformatted.cc (test04): New tests for
5644 tellg, seekg and filebufs.
5645 (test05): Same for stringbufs.
5646 * testsuite/27_io/istream_unformatted-2.tst: New file.
5647 * testsuite/27_io/istream_unformatted-1.tst: New file.
5648 * testsuite/27_io/istream_unformatted-1.txt: New file.
5649 * testsuite/21_strings/inserters_extractors.cc (test05): Change
5650 output file.
5651
5652 1999-12-13 Phil Edwards <pedwards@jaj.com>
5653
5654 * docs/gentop/*: New directory, containing bits for the homepages.
5655 * docs/*.html: Regenerated from gentop.
5656 * docs/*/*.html: Entries added and regenerated.
5657
5658 1999-12-13 Benjamin Kosnik <bkoz@gnu.org>
5659
5660 Efforts to get -O2 to work with -Winline -Werrors.
5661 * bits/valarray_array.h (__valarray_fill(_Tp*, size_t, const
5662 _Tp&): Remove inline declaration, as cannot be inlined and
5663 -Winline -Werror complains. An interesting question is why this
5664 cannot be inlined, as I can see no real reason to disqualify it.
5665 (__valarray_product(const _Tp*, const _Tp*)): Same here.
5666 * bits/std_valarray.h (valarray::operator[](size_t)): Same here.
5667
5668 * docs/17_intro/TODO: Update.
5669
5670 1999-12-12 Benjamin Kosnik <bkoz@gnu.org>
5671
5672 * bits/std_fstream.h (seekpos): Tweaks, fixes. Move definition to
5673 fstream.tcc.
5674 * bits/basic_file.h (filepos_cur()): Make pointers themselves be
5675 the resultant position.
5676 * bits/fstream.tcc (seekoff): Explicitly set return value to
5677 resultant external byte sequence position, not value returned from
5678 _M_file->seekoff. Need to make
5679 (seekpos): New definition.
5680
5681 * bits/istream.tcc (seekg): As per Library Issues List 136, set to
5682 just istream. Necessary, or else tellg will give an invalid stream
5683 position, but seekg will return a valid stream position, which is
5684 not groovy: see testcase addition.
5685 * bits/ostream.tcc (seekp): Same.
5686
5687 * bits/streambuf.tcc (_S_copy_streambufs): Simplify.
5688 * bits/sstream.tcc: Tweaks.
5689 * bits/locale_facets.tcc: Tweaks.
5690 (num_put::do_put(iter_type, ios_base, char_type, const void*)):
5691 Re-write in a way that is easier for the inliner to work with.
5692 * bits/ios_base.h: Use explicit static_cast<int>(...) notation.
5693
5694 1999-12-10 Benjamin Kosnik <bkoz@cygnus.com>
5695
5696 * bits/locale_facets.tcc: Tweaks.
5697 * bits/locale_facets.h (use_facet): Can't inline, remove inline
5698 from declaration.
5699 * bits/localefwd.h: And here.
5700 * bits/std_ostream.h: Tweaks, sentry ctor can't be inlined.
5701 * bits/ostream.tcc: Put here.
5702
5703 Frank Ch. Eigler <fche@cygnus.com>
5704 * src/Makefile.am: Adjust CXXFLAGS, add AM_CXXFLAGS.
5705
5706 1999-12-08 Benjamin Kosnik <bkoz@cygnus.com>
5707
5708 * bits/sstream.tcc (stringbuf::seekoff): Long overdue revamp. Make
5709 in and out buffers update independantly.
5710
5711 * bits/basic_ios.h: Minor formatting.
5712 * bits/fstream.tcc (std): Fix indentation.
5713
5714 1999-12-08 Chip Salzenberg <chip@valinux.com>
5715
5716 * bits/char_traits.h (char_traits<>): Move not_eof() functions
5717 after corresponding eof() functions, so they're easier for the
5718 compiler to inline.
5719 * bits/locale_facets.h (money_base::__default_pattern): Move
5720 static variable out of inline functions.
5721 (_Moneypunct<>::do_{pos,neg}_format): Use it.
5722 * src/locale-inst.cc (money_base::__default_pattern): Define it.
5723
5724 1999-12-08 Benjamin Kosnik <bkoz@cygnus.com>
5725
5726 * bits/std_fstream.h (filebuf::open): Tweak.
5727 * bits/fstream.tcc (filebuf::seekoff): Simplify, fix.
5728 * bits/std_ios.h: Minor tweaks for headers.
5729
5730 1999-12-06 Benjamin Kosnik <bkoz@gnu.org>
5731
5732 * bits/c++config.h.in (_GLIBCPP_FULLY_COMPLIANT_HEADERS): New macro.
5733 * src/string-inst.cc: Add guards . . .
5734 * src/misc-inst.cc: And here.
5735 * bits/std_sstream.h: And here.
5736 * bits/std_fstream.h: And here.
5737 * bits/std_streambuf.h: And here.
5738 * bits/std_istream.h: And here.
5739 * bits/std_ostream.h: And here.
5740
5741 1999-12-06 Scott Snyder <snyder@fnal.gov>
5742
5743 * bits/istream.tcc (basic_istream::read): Try to handle __n == 0
5744 case.
5745 (basic_istream::readsome): And here as well.
5746 * testsuite/27_io/istream_unformatted.cc: Test a zero-length
5747 read().
5748
5749 1999-12-06 Mumit Khan <khan@xraylith.wisc.edu>
5750
5751 * bits/istream.tcc (basic_istream::ignore): streamsize is not
5752 necessarily an `int'.
5753
5754 1999-12-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5755
5756 * mknumeric_limits: Don't use $CXXFLAGS when building
5757 gen-num-limits. It's definitely wrong to use it since $CXXFLAGS
5758 generally instructs the compiler not to emit template
5759 instantiations and we end up with undefined symbols. Sigh.
5760
5761 1999-12-05 Benjamin Kosnik <bkoz@gnu.org>
5762
5763 * bits/locale_facets.tcc: Tweak.
5764 (_S_format_long): Adjust showpos formatting for hex and oct.
5765 * bits/std_ostream.h (operator<<(short)): Correctly deal with hex
5766 and oct by formatting as unsigned.
5767 (operator<<(int)): Same here.
5768 * bits/ostream.tcc (operator<<(long)): Same.
5769 (operator<<(long long)): Same.
5770 (_S_pad_char): Actually treat ios_base::internal as something
5771 worth doing correctly. Remove const designation on ios argument.
5772 * testsuite/27_io/ios_manip_basefield.cc (test02): Add tests.
5773 * testsuite/27_io/ostream_inserter_arith.cc (test03): Add tests.
5774
5775 1999-12-04 Benjamin Kosnik <bkoz@gnu.org>
5776
5777 * bits/std_sstream.h (streambuf::underflow): Check for mode == in.
5778
5779 1999-12-03 Benjamin Kosnik <bkoz@gnu.org>
5780
5781 * bits/locale_facets.tcc (num_put::do_put(bool): Fix.
5782
5783 * bits/sstream.tcc (streambuf::seekoff): Add parens.
5784 * bits/istream.tcc (istream::get(sb)): Handle exceptional events.
5785 (operator>>(istream, _CharT*)): Change streamsize to int_type.
5786 (operator>>(istream, _CharT&)): Fix typedef'd type to be _CharT.
5787 * bits/ostream.tcc (ostream::operator<<(const char*)): Stub out
5788 unused argument.
5789 (ostream::operator<<(_CharT)): Fix.
5790
5791 * bits/std_sstream.h: Temporarily disable including sstream.tcc to
5792 see if this will increase compile speed.
5793 * bits/std_ostream.h: Likewise. . .
5794 * bits/std_istream.h: And here.
5795 * bits/std_fstream.h: And here.
5796 * src/misc-inst.cc: Add relevant header file includes for
5797 instantiation purposes.
5798 * src/string-inst.cc: And here.
5799 * testsuite/27_io/ostream_inserter_arith.cc: Add test case.
5800
5801 1999-12-02 Benjamin Kosnik <bkoz@gnu.org>
5802
5803 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
5804 * bits/istream.tcc (get(streambuf)): More fixes.
5805 (istream::ignore): Get specific about numeric_limits<int>::max()
5806 requirements.
5807
5808 * bits/fstream.tcc (filebuf::open): Tweaks for _M_last_overflowed.
5809 (filebuf::close): Same.
5810 * testsuite/27_io/filebuf.cc: Add tests for ios_base::ate.
5811
5812 1999-12-01 Phil Edwards <pedwards@jaj.com>
5813
5814 * mkcheck: Support for compilation/execution timing.
5815 * testsuite/printnow.c: New file.
5816
5817 1999-12-01 Phil Edwards <pedwards@jaj.com>
5818
5819 * bits/std_cwchar.h: Test for _GLIBCPP_USE_WCHAR_T.
5820 * configure.in: Test for presence of wchar.h before testing
5821 for any of its features.
5822 * configure: Regenerate.
5823
5824 1999-11-30 Benjamin Kosnik <bkoz@gnu.org>
5825
5826 Preliminary istream validations complete.
5827 * bits/istream.tcc (istream::getline): Fixes. Tweaks to make
5828 formatting more consistent. Removal of if-statements inside of for
5829 loops.
5830 (ignore): Fix.
5831 (get): Same.
5832 (putback): Same.
5833 * bits/std_istream.h: Same.
5834 * bits/sstream.tcc (stringbuf::pbackfail): Fix.
5835 * testsuite/27_io/stringbuf.cc: Tweak.
5836 * testsuite/27_io/istream_unformatted.cc (test02): Mo' tests.
5837
5838 * bits/ostream.tcc (ostream::operator<<(arith)): Set badbit, not
5839 failbit on failure, as per 27.6.2.5.2.
5840
5841 * stl/bits/std_vector.h: Allow bool specializations. Should move
5842 ext/std_bvector to bits, not ext, maybe.
5843
5844 1999-11-30 Mumit Khan <khan@xraylith.wisc.edu>
5845
5846 * configure.in: Fix checks for mbstate_t and WCHAR_MIN/MAX.
5847 * configure: Regenerate.
5848
5849 999-11-29 Benjamin Kosnik <bkoz@gnu.org>
5850
5851 * bits/istream.tcc (get(streambuf, char)): Fix.
5852 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
5853
5854 1999-11-29 Scott Snyder <snyder@fnal.gov>
5855
5856 * bits/basic_string.h (append(const _Char*, size_type)): The
5857 length of the appended string is given exactly by the second arg,
5858 regardless of the data in the character array.
5859 * bits/string.tcc (basic_string(const _CharT*, size_type, const
5860 _Alloc&)): Likewise.
5861 * testsuite/21_strings/append.cc (test01): Remove erroneous test
5862 of basic_string::append.
5863
5864 1999-11-29 Chip Salzenberg <chip@valinux.com>
5865
5866 * Makefile.in: Tweaks for CXXFLAGS.
5867 * */Makefile.in: Same.
5868
5869 1999-11-29 Mumit Khan <khan@xraylith.wisc.edu>
5870
5871 * conficd bgure.in: Check for wide character support.
5872 * bits/c++config.h.in (_GLIBC_USE_WCHAR_T): Move from here ...
5873 * acconfig.h (_GLIBC_USE_WCHAR_T): to here.
5874 * bits/string.tcc (wstring::_S_find): Guard wchar_t specialization.
5875
5876 1999-11-29 Mumit Khan <khan@xraylith.wisc.edu>
5877
5878 * acinclude.m4: Fix typo.
5879 * src/complex.cc: Fix macro line continuation.
5880
5881 1999-11-29 Petter Urkedal <petter@matfys.lth.se>
5882
5883 * src/Makefile.am (CXXFLAGS): Add -Wno-format to allow non-
5884 string literals in format, as used in locale-facets.tcc.
5885
5886 1999-11-28 Benjamin Kosnik <bkoz@gnu.org>
5887
5888 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
5889 * bits/istream.tcc (istream::get): Extract to argument minus one.
5890 Various tweaks and fixes.
5891
5892 1999-11-22 Mumit Khan <khan@xraylith.wisc.edu>
5893
5894 * bits/locale_facets.tcc: Workaround for compiler crash on
5895 ix86-*-mingw32.
5896
5897 1999-11-21 Mumit Khan <khan@xraylith.wisc.edu>
5898
5899 * acinclude.m4: New file. New _GLIBCPP_CHECK_FLOAT_SUPPORT macro.
5900 * configure.in: Use.
5901 * acconfig.h: New _GLIBCPP_BUGGY_FLOAT_COMPLEX macro.
5902 * src/complexf.cc: New _GLIBCPP_FLOAT_SPECIALIZATION macro.
5903 * bits/std_complex.h: Use.
5904 * src/complex.cc: Use.
5905
5906 1999-11-19 Mumit Khan <khan@xraylith.wisc.edu>
5907
5908 * testsuite/18_support/numeric_limits.cc: Add missing std:: prefix.
5909 * testsuite/21_strings/inserters_extractors.cc: Likewise.
5910 * testsuite/22_locale/ctype.cc: Likewise.
5911 * testsuite/23_containers/multiset.cc: Likewise.
5912 * testsuite/23_containers/vector_ctor.cc: Likewise.
5913 * testsuite/26_numerics/binary_closure.cc: Likewise.
5914 * testsuite/27_io/fpos.cc: Likewise.
5915 * testsuite/27_io/ios_base_callbacks.cc: Likewise.
5916 * testsuite/27_io/istream_extractor_arith.cc: Likewise.
5917 * testsuite/27_io/istream_extractor_char.cc: Likewise.
5918 * testsuite/27_io/istream_extractor_other.cc: Likewise.
5919 * testsuite/27_io/istream_sentry.cc: Likewise.
5920 * testsuite/27_io/ostream_inserter_char.cc: Likewise.
5921 * testsuite/27_io/ostream_inserter_other.cc: Likewise.
5922 * testsuite/27_io/streambuf.cc: Likewise.
5923 * testsuite/27_io/stringstream.cc: Likewise.
5924
5925 1999-11-19 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5926
5927 * bits/valarray_meta.h: Don't forget to define tanh
5928
5929 1999-11-18 Philip Martin <pm@corris.dircon.co.uk>
5930
5931 * src/stl-inst.cc: Use typedef to refer to iterator
5932 * stl/bits/stl_algobase.h: Add traits based dispatch for
5933 __normal_iterator in the copy()algorithm
5934 * stl/bits/type_traits.h: Add _Is_normal_iterator trait support
5935
5936 1999-11-18 Kevin Ediger <kediger@licor.com>
5937
5938 * src/locale.cc (locale::_Imp::_Imp): Use auto_ptr to make
5939 constructors for locale::_Impl exception safe.
5940
5941 1999-11-18 Scott Snyder <snyder@fnal.gov>
5942
5943 * stl/bits/stl_queue.h: The C++ standard gives the default for the
5944 _Sequence template argument of priority_queue<> as vector<>, not
5945 deque<>.
5946
5947 1999-11-18 Benjamin Kosnik <bkoz@gnu.org>
5948
5949 * bits/std_sstream.h (stringbuf::_M_really_sync): Add __iend as a
5950 parameter.
5951 * bits/sstream.tcc: Adjust here too.
5952
5953 1999-11-17 Benjamin Kosnik <bkoz@gnu.org>
5954
5955 * bits/sbuf_iter.h (istreambuf_iter::equal): Tweak.
5956 * bits/istream.tcc (operator>>): Replace iostate(0) with
5957 iostate(ios_base::goodbit), which is the same thing, but hopefully
5958 a bit clearer.
5959 * bits/locale_facets.tcc (do_get(bool)): Streamline, deal with
5960 libraries issue list 17.
5961 (do_gets): Don't set goodbit explicitly, instead only set on
5962 failures as good bit is the default setting.
5963 * bits/ios_base.h (setf): Set correctly.
5964 * bits/fstream.tcc: Tweak.
5965 * bits/std_sstream.h (_M_really_sync): Fix ibuffer positioning for
5966 in|out bufs that are empty. . .
5967 * testsuite/27_io/istream_extractor_arith.cc (test03): Add.
5968
5969 1999-11-16 Benjamin Kosnik <bkoz@gnu.org>
5970
5971 * testsuite/27_io/streambuf.cc (class testbuf): Don't set _M_buf_size.
5972 * bits/std_streambuf.h (setp): Set _M_buf_size, _M_mode.
5973 Add comments "all about _M_buf."
5974 (setg): Set _M_mode.
5975
5976 1999-11-16 Kevin Ediger <kediger@licor.com>
5977
5978 * bits/locale_facets.tcc (_S_build_float_format): New function.
5979 (_S_output_float): New function.
5980 (num_put::do_put(double)): Use 'em.
5981 (num_put::do_put(long double)): Use 'em.
5982 * testsuite/27_io/ostream_inserter_arith.cc: New file.
5983
5984 1999-11-15 Scott Snyder <snyder@fnal.gov>
5985
5986 * bits/basic_file.h: Type of __off parm should be __c_streampos, to
5987 match how libio is calling us.
5988 * src/basic_file.cc (sys_seek): Likewise.
5989 * bits/std_fstream.h (basic_filebuf::sync): Restore sync call.
5990
5991 1999-11-15 Benjamin Kosnik <bkoz@gnu.org>
5992
5993 * docs/17_intro/contribute.html: Add link to assignment form.
5994 * docs/17_intro/libstdc++-assign.txt: New file.
5995
5996 * mkcheck (TESTS_FILE): Move a copy of test files as well as
5997 output files.
5998
5999 * bits/std_streambuf.h (_M_buf_bump): New function.
6000 * bits/streambuf.tcc: Mods to support _M_buf_bump.
6001 (xsputn): Here. Also add checks for output valid.
6002 (xsgetn): Add checks for input valid.
6003 (sputc): Here.
6004 (sgetc): Set _M_in_end to _M_buf + _M_buf_end.
6005 * bits/std_sstream.h (_M_really_sync): Set _M_buf.
6006 Set _M_out_end to variable-length-end.
6007 * bits/sstream.tcc (overflow): Use _M_buf_bump.
6008 (seekpos): Same.
6009 (seekoff): Same.
6010 * bits/fstream.tcc (std): Tweak formatting.
6011 (filebuf::overflow): Simplify.
6012 (filebuf::showmanyc): Same.
6013 (filebuf::underflow): Same.
6014 * testsuite/27_io/filebuf.cc: Fix.
6015 * testsuite/27_io/ostream_inserter_other.cc: Fix.
6016 * testsuite/27_io/ostream_inserter_other-2.tst: New file.
6017 * testsuite/27_io/stringbuf.cc: Tweak.
6018 * testsuite/27_io/streambuf.cc: Tweak.
6019 * testsuite/27_io/istream_extractor_other.cc: Fix.
6020
6021 1999-11-11 Matthias Klose <doko@cs.tu-berlin.de>
6022
6023 * stl_deque.h: Use static_casts<size_type>(signed_type).
6024
6025 1999-11-11 Benjamin Kosnik <bkoz@gnu.org>
6026
6027 Cleanups for callbacks, more regression hunting. Remaining
6028 failures (1) due to last unresolved stringstream issues, not
6029 regressions per se.
6030 * bits/std_fstream.h: Revert. Disable call to _M_file->sync as
6031 killing 27_io/filebuf.cc tests. . . need another solution.
6032
6033 * bits/streambuf.tcc (_S_copy_streambufs): Fix.
6034 * testsuite/27_io/istream_extractor_other.cc: Tweak comments.
6035
6036 * bits/basic_ios.h: Add cached facets here. UGH. The standard
6037 foils all attempts at a graceful, minimal implementation.
6038 * bits/basic_ios.tcc: Tweaks.
6039 * bits/istream.tcc: Fix.
6040 * bits/ostream.tcc: Fix.
6041 * bits/std_istream.h: Fix.
6042 * bits/std_ostream.h: Fix.
6043 * src/ios.cc (ios_base::imbue): Set _M_locale_ios before calling
6044 callbacks.
6045 * bits/locale_facets.tcc (std): Minor, minor formatting tweak.
6046 (_S_pad_numeric): Make comprehensible.
6047
6048 1999-11-10 Benjamin Kosnik <bkoz@cygnus.com>
6049
6050 * bits/std_ostream.h: Add callbacks for _M_fnumput.
6051 (_S_ostream_fcache): New function.
6052 Move functions out-of-line.
6053 * bits/ostream.tcc: Put here.
6054
6055 * bits/std_istream.h: Add callbacks for _M_fnumget.
6056 (_S_istream_fcache): New function.
6057 Move functions out-of-line.
6058 * bits/istream.tcc: Put here.
6059
6060 * bits/basic_ios.tcc (basic_ios::imbue): Tweaks, remove call to
6061 _M_call_callbacks(), as ios_base::imbue does this already.
6062 * src/ios.cc (register_callback): Clean.
6063 (_M_call_callbacks): Same.
6064 * bits/ios_base.h: Callback work.
6065 * testsuite/27_io/ios_base_callbacks.cc (test01): New file.
6066
6067 1999-11-10 Benjamin Kosnik <bkoz@cygnus.com>
6068 Matthias Klose <doko@cs.tu-berlin.de>
6069
6070 * stl/ext/stl_rope.h: Fix initialization order.
6071
6072 1999-11-09 Scott Snyder <snyder@fnal.gov>
6073
6074 * bits/std_fstream.h (basic_filebuf::sync): Unconditionally call
6075 _M_file->sync() so that redirection works correctly.
6076
6077 1999-11-09 Benjamin Kosnik <bkoz@gnu.org>
6078
6079 * bits/istream.tcc: Re-order.
6080 * bits/std_istream.h: Fix getline problems.
6081 * testsuite/27_io/istream_unformatted.cc: New tests.
6082
6083 Clean up regressions.
6084 * bits/std_sstream.h: Set initial stringbufs correctly.
6085
6086 1999-11-09 Scott Snyder <snyder@fnal.gov>
6087
6088 * stl_vector.h (_M_range_insert): Fix mixing pointers and
6089 vector::iterator.
6090 * testsuite/23_containers/vector_modifiers.cc (test01): New file,
6091 tests.
6092
6093 1999-11-09 Benjamin Kosnik <bkoz@cygnus.com>
6094
6095 * src/Makefile.am (CXXFLAGS): Add -Winline.
6096 * src/Makefile.in: Regenerate.
6097
6098 1999-11-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6099
6100 * bits/valarray_meta.h (_DEFINE_EXPR_UNARY_FUNCTION): When
6101 building meta-expressions don't forget to take the contained
6102 closures.
6103
6104 1999-11-02 Benjamin Kosnik <benjamin@cygnus.com>
6105
6106 * configure: Regenerate.
6107
6108 1999-11-02 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6109
6110 * bits/valarray_meta.h (_Expr<>::sum): Tweak. Use copy-initialization
6111 syntax.
6112 * bits/valarray_meta.h (min): Likewise.
6113 * bits/valarray_meta.h (max): Likewise.
6114
6115 1999-11-01 Benjamin Kosnik <bkoz@cygnus.com>
6116
6117 * bits/std_sstream.h (_M_really_sync): Take into account in | out bufs.
6118 * bits/std_streambuf.h (_S_copy_streambufs): New function.
6119 * bits/streambuf.tcc: Define.
6120 * bits/istream.tcc (istream::operator>>(streambuf)): Rewrite.
6121 * bits/ostream.tcc (ostream::operator<<(streambuf)): Rewrite.
6122 * testsuite/27_io/ostream_inserter_other.cc: Add tests.
6123 * testsuite/27_io/ostream_inserter_other-1.tst: New file.
6124
6125 * bits/basic_string.h: Explicitly cast npos to unsigned type,
6126 reported by Richard Atterer.
6127 * bits/char_traits.h: For consistency's sake, here too.
6128
6129 * configure.in: Bump version to 2.90.7.
6130
6131 1999-10-31 Benjamin Kosnik <bkoz@cygnus.com>
6132
6133 * testsuite/27_io/ostream_inserter_char-1.tst: Check file output.
6134 * testsuite/27_io/ostream_inserter_char.cc (test05, test01): Add tests.
6135 * bits/streambuf.tcc (xsputn): Treat--size const char for long loops.
6136 (xsgetn): Same.
6137 * bits/sstream.tcc (seekpos): Tricks, mostly: check _M_mode before
6138 writing into buffer.
6139 (seekoff): Same.
6140
6141 1999-10-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6142
6143 * bits/valarray_array.h (__valarray_sum): New function.
6144 * bits/valarray_array.h (__valarray_product): Same.
6145
6146 * bits/std_valarray.h (valarray<T>::product): Comment out.
6147 * bits/std_valarray.h (valarray<T>::sum): Use __valarray_sum
6148 instead of accumulate.
6149
6150 * src/valarray-inst.cc: Remove explicit intantiation of
6151 class multiplies<size_t>, accumulate, valarray<size_t>::product.
6152 * src/valarray-inst.cc (__valarray_product): Instantiate
6153 explicitly.
6154 * src/valarray-inst.cc (__valarray_product(const
6155 valarray<size_t>&)): New function.
6156 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't use
6157 valarray<size_t>::product. Use __valarray_product instead.
6158
6159
6160 1999-10-25 Benjamin Kosnik <bkoz@cygnus.com>
6161
6162 * bits/std_ostream.h (ostream.inserters.char): Correctly pad output.
6163 (_S_pad_char): New function. Not done: ios_base::internal.
6164 * bits/ostream.tcc: Clean for above.
6165 * bits/locale_facets.tcc (_S_fill): Remove ostreambufiterator
6166 specialization that was commented out, as ostreams now have to
6167 correctly deal with padding.
6168 * testsuite/27_io/ostream_inserter_char.cc (main): Add tests.
6169
6170 * testsuite/21_strings/ctor_copy_dtor.cc(test02): Add test case
6171 from mailing list. This is a bug, and should be fixed.
6172 * testsuite/21_strings/inserters_extractors.cc (main): Tweak, fix typo.
6173
6174 1999-10-22 Petter Urkedal <petter@matfys.lth.se>
6175
6176 * stl/bits/stl_numeric.h (__power): Replaced argument name `__opr'
6177 to avoid conflict with gcc name mangling.
6178 * stl/bits/stl_algo.h (__transform): Same.
6179
6180 1999-10-21 Benjamin Kosnik <bkoz@cygnus.com>
6181
6182 * bits/ios_base.h: Change argument names.
6183 * docs/17_intro/BADNAMES: Add __opr.
6184
6185 1999-10-20 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6186
6187 Work on compilation slowdowns from 10-5 to 10-12, which are
6188 related to the _Callback_list inlining/merge-ifcation, which is
6189 still a pending issue, but this stuff is necessary cleanup anyway.
6190
6191 * src/ios.cc: Re-arrange.
6192 * bits/ios_base.h: Tweak.
6193 * bits/basic_ios.tcc: Move out of line definitions here, move
6194 small out-of-line definitions inline.
6195 * bits/basic_ios.h: From here.
6196
6197 * bits/streambuf.tcc (pbackfail, overflow): Move back inline.
6198 * bits/std_streambuf.h: From here.
6199
6200 1999-10-19 Benjamin Kosnik <bkoz@cygnus.com>
6201
6202 * testsuite/27_io/istream_extractor_char.cc: Add tests.
6203 * bits/std_istream.h: Tweaks--set eofbit on eof condition.
6204 * bits/istream.tcc (operator>>(istream&, string&): Remove
6205 vestigial issspace hacks and use ctype::is instead.
6206 (getline): Remove unnecessary loops, fortify and pasteurize.
6207 (ws): Same.
6208
6209 1999-10-18 Benjamin Kosnik <bkoz@cygnus.com>
6210
6211 * bits/istream.tcc (operator>>): Tweak.
6212 * bits/std_istream.h: Fix according to library issues list 68.
6213 Add typedefs.
6214
6215 * bits/locale_facets.h: Fix table_size to be non-zero.
6216
6217 1999-10-18 Vadim Egorov <egorovv@HotPOP.com>
6218
6219 * src/basic_file.cc: ifdef instead of comment for binary mode
6220
6221 1999-10-18 Russell Davidson <russell@qed.econ.queensu.ca>
6222
6223 * bits/std_sstream.h: Stringbuf initialization based on actual,
6224 not allocated, size.
6225 * testsuite/21_strings/inserters_extractors.cc (test06): Add test
6226 case.
6227
6228 1999-10-17 Benjamin Kosnik <bkoz@cygnus.com>
6229
6230 * testsuite/26_numerics/c_math.cc (test03): Tweak.
6231 * testsuite/27_io/istream_manip.cc (test01): Corrections due to
6232 sentry change.
6233 * testsuite/21_strings/inserters_extractors.cc (test01): Same.
6234
6235 1999-10-14 Benjamin Kosnik <bkoz@cygnus.com>
6236
6237 * bits/std_istream.h: Tweaks.
6238 * bits/istream.tcc (istream::sentry::sentry()): Simplify, correct
6239 as per issues list addition--set failbit, eof on empty buffers.
6240 * testsuite/27_io/istream_sentry.cc: New file.
6241
6242 1999-10-12 Chris Prince <prince@wcug.wwu.edu>
6243
6244 * bits/std_cstdio.h: Remove Solaris hacks.
6245
6246 1999-10-12 Phil Edwards <philip.edwards@sn.wpafb.af.mil>
6247
6248 * docs/index.html: Fix minor typos and tweaks.
6249 * docs/17_intro/contribute.html: Ditto.
6250 * docs/*/howto.html: Ditto. More "EGCS"->"GCC" conversion, notes on
6251 thread safety and binary I/O, links to external sites.
6252 * docs/faq/index.html: EGCS/GCC cleanup, new entries for Cygwin
6253 and MT.
6254
6255 1999-10-12 Petter Urkedal <petter@matfys.lth.se>
6256
6257 * bits/std_cmath.h (abs(float)): When ::absf is not present, call
6258 ::fabs(double) rather than ::abs(int).
6259
6260 1999-10-11 Benjamin Kosnik <bkoz@milou.cygnus.com>
6261
6262 * bits/std_streambuf.h: Fix minor blip--should explicitly return
6263 *gptr(), not the result of underflow.
6264 (pbackfail): Conform to default behavior.
6265 (overflow): Same.
6266 * bits/streambuf.tcc: Add out-of-line streambuf members.
6267 (xsputn): Tweak.
6268 (xsgetn): Tweak.
6269 * testsuite/27_io/streambuf.cc: New file.
6270 * testsuite/27_io/filebuf.cc: Correct test.
6271
6272 1999-10-08 Benjamin Kosnik <bkoz@haight.constant.com>
6273
6274 * bits/std_cmath.h: Correctly cast int to double.
6275 * testsuite/26_numerics/c_math.cc: Add test.
6276
6277 * mknumeric_limits (OUT_C): Tweaks.
6278 * src/gen-num-limits.cc: Checks for WCHAR_MIN, WCHAR_MAX before
6279 trying to instantiate type_traits<wchar_t>.
6280 * acconfig.h: Add _GLIBCPP_HAS_WCHAR_MIN_MAX.
6281 * configure.in (LIBS): Plus checks for WCHAR_MIN, WCHAR_MAX.
6282 * configure: Regenerate.
6283
6284 1999-10-06 Benjamin Kosnik <bkoz@milou.cygnus.com>
6285
6286 * bits/streambuf.tcc (streambuf::xsgetn): Rewrite.
6287 (streambuf::xsputn): Put in break.
6288 Aiming for parity between these two (mostly) similar functions.
6289 Need to re-write tests.
6290
6291 * bits/ios_base.h (ios_base::_M_copy_base): Remove declaration.
6292 Make data members protected, not private.
6293 * src/ios.cc (ios_base::_M_copy_base): Move _Callback_list into
6294 ios_base.h. As called only once, collapse into . . .
6295 * bits/basic_ios.h (basic_ios::copyfmt): Fix.
6296 (basic_ios::clear): Throw ios_base::failure on occasion.
6297 (basic_ios::exceptions): Fix.
6298 * testsuite/27_io/ios_members.cc (test02): Add tests.
6299
6300 * bits/fpos.h: Default initialize.
6301 * testsuite/27_io/fpos.cc (test03): Add test.
6302
6303 1999-10-04 Russell Davidson <russell@qed.econ.queensu.ca>
6304
6305 * src/basic_file.cc: Fix open modes.
6306
6307 1999-10-04 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6308
6309 * bits/locale_facets.tcc (num_get<>::do_get): Fix typo.
6310
6311 1999-09-23 Benjamin Kosnik <bkoz@milou.cygnus.com>
6312
6313 * bits/streambuf.tcc: Yea. Fix this for real.
6314 * testsuite/27_io/ostream_inserter_other.cc: Add file.
6315 * src/Makefile.*: Regenerate.
6316
6317 1999-09-22 Benjamin Kosnik <bkoz@milou.cygnus.com>
6318
6319 * bits/std_cstdlib.h: Add more linux-specif hacks to the header
6320 files so that stdtof and strtold will be declared. Some hacks
6321 already exits in bits/std_cctype.h -- these should all be removed
6322 at a later date.
6323 * bits/locale_facets.tcc: Add cstring.h include.
6324 _S_format_long: Use long, not int.
6325 Add std_limits.h include, for numeric_limits.
6326 * testsuite/27_io/istream.cc: Make instantiations work when using
6327 -fhonor-std.
6328 * testsuite/27_io/ostream.cc: Same.
6329
6330 1999-09-21 Benjamin Kosnik <bkoz@milou.cygnus.com>
6331
6332 * bits/fpos.h (fpos::operator streamoff): Make const, don't return
6333 a reference. Same for operators == and !=.
6334 * testsuite/27_io/fpos.cc: Add tests.
6335
6336 1999-09-21 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6337
6338 * bits/valarray_array.h: Fix typo.
6339
6340 * mknumeric_limits: Make sure we are regenerating things from
6341 scratch. Otherwise things get redefined. Not good.
6342
6343 1999-09-20 Benjamin Kosnik <bkoz@milou.cygnus.com>
6344
6345 * bits/std_ostream.h: Fix typo.
6346 * bits/std_istream.h: Same.
6347 * bits/std_iomanip.h: Same.
6348
6349 * bits/istream.tcc (sentry::sentry()): Remove optional tie with
6350 ostream, as happens with underflow anyway.
6351 * testsuite/27_io/istream.cc (main): New file.
6352 * testsuite/27_io/ostream.cc (main): New file.
6353 * testsuite/27_io/istream_unformatted.cc: Add tests.
6354
6355 * src/Makefile.am (headers): Add new file.
6356 * src/Makefile.in (headers): Regenerated.
6357
6358 * bits/basic_ios.h: Remove local-related files.
6359 * bits/basic_ios.tcc: New file, add locale-related items.
6360 * src/misc-inst.cc: Add include of basic_ios.tcc, as a hack for now.
6361 * testsuite/27_io/ios_members_static.cc: Change to
6362 * testsuite/27_io/ios_base_members_static.cc: This.
6363 * testsuite/27_io/ios_members.cc: New file.
6364 * testsuite/27_io/stdios_basefield_manip: Change to
6365 * testsuite/27_io/ios_manip_basefield.cc: This.
6366 * testsuite/27_io/stdios_fmtflags_manip: Change to
6367 * testsuite/27_io/ios_manip_fmtflags.cc: This.
6368
6369 * bits/fpos.h: Fix discarding qualifiers on this when
6370 using _M_position with a const fpos.
6371 * bits/std_iosfwd.h: Tweak.
6372 * testsuite/27_io/fpos.cc: New file.
6373
6374 1999-09-17 Benjamin Kosnik <bkoz@milou.cygnus.com>
6375
6376 * bits/streambuf.tcc (streambuf::xsputn): Tweak.
6377 * bits/ostream.tcc: Tweak.
6378 * testsuite/21_strings/inserters_extractors.cc (test04, test05):
6379 Add new regressions.
6380
6381 1999-09-16 Benjamin Kosnik <bkoz@milou.cygnus.com>
6382
6383 * bits/basic_ios.h: Inline, tweak.
6384 * bits/fstream.tcc (basic_filebuf::_M_really_overflow): Tweak,
6385 pass back accurate return value to basic_filebuf::overflow.
6386 * bits/streambuf.tcc (streambuf::xsputn): Fix overflow accounting.
6387 This fixes sstream problems reported in libstdc++/9, but screws up
6388 filebufs. That solution is pending.
6389
6390 1999-09-15 Vadim Egorov <egorovv@1c.ru>
6391
6392 * bits/streambuf.tcc (basic_streambuf::xsputn): Add check for
6393 zero count puts.
6394 * testsuite/21_strings/inserters_extractors.cc (test01): Add test.
6395
6396 1999-09-08 Benjamin Kosnik <bkoz@milou.cygnus.com>
6397
6398 * bits/c++config.h.in: Add emacs hints.
6399
6400 * stl/bits/stl_range_errors.h: Don't define here, for now define
6401 in stdexcept.cc along with string inlines __length_error, etc.
6402 * src/stdexcept.cc: Define here.
6403 * stl/bits/stl_config.h (__STL_CAN_THROW_RANGE_ERRORS): Enable, so
6404 at(size_t) will be declared/defined.
6405 (__STL_THREADS): Fix mess surrounding use of this, enable.
6406
6407 1999-08-31 Benjamin Kosnik <bkoz@milou.cygnus.com>
6408
6409 * testsuite/27_io/istream_extractor_arith.cc: Fix.
6410 * src/localename.cc: Tweak formatting, fix assignment to
6411 const compiler errors.
6412
6413 1999-08-25 Benjamin Kosnik <bkoz@cygnus.com>
6414
6415 * acconfig.h: Add absf, cosf.
6416 * configure.in (use_builtin_sinf): Same.
6417 * configure: Regenerate.
6418 * bits/std_cmath.h: Add mess of defines.
6419 * testsuite/26_numerics/modf_float.cc: Change to
6420 * testsuite/26_numerics/c_math.cc: This.
6421
6422 * src/locale.cc: Change.
6423 * bits/locale_facets.h: Fix.
6424 * testsuite/22_locale/ctype.cc: Add temporary tests.
6425
6426 1999-08-24 Benjamin Kosnik <bkoz@cygnus.com>
6427
6428 * bits/fpos.h: Test.
6429
6430 * docs/index.html: Add powerpc-linux-gnu results with gcc-2.95.1.
6431 Fix database name for "libstdc++".
6432
6433 1999-08-23 Benjamin Kosnik <bkoz@cygnus.com>
6434
6435 * mknumeric_limits (numeric_limits): Add default definitions to
6436 member functions.
6437 * testsuite/18_support/numeric_limits.cc: New file.
6438
6439 1999-08-18 Benjamin Kosnik <bkoz@cygnus.com>
6440
6441 * bits/std_istream.h: Correct initialization.
6442 * bits/std_ostream.h: Likewise.
6443 * bits/std_sstream.h: Likewise.
6444 * bits/std_fstream.h: Likewise.
6445 * testsuite/27_io/stringstream.cc: Add test case.
6446
6447 * bits/std_sstream.h: Replace ____string_type with __string_type.
6448 * bits/basic_ios.h (basic_ios::rdbuf(sb*): Call clear(), as required.
6449 * bits/std_ostream.h: Tweak dtor.
6450
6451 1999-08-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6452
6453 * src/Makefile.am (CXXFLAGS): Add -O2.
6454 * src/Makefile.in: Likewise.
6455
6456 * src/gen-num-limits.cc: Conditionally allow wchar_t. See what
6457 this breaks. . .
6458 * mknumeric_limits (numeric_limits): Uglify.
6459
6460 * bits/std_istream.h: Fix warnings.
6461 * bits/locale_facets.tcc: Collateral damage from
6462 char_traits<char>::int_type change.
6463
6464 * testsuite/27_io/istream_extractor_char.cc: Terminate strings.
6465
6466 1999-08-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6467
6468 * docs/index.html: Add mailing list form.
6469 * docs/27_io/howto.html: Add link to iostreams_hierarchy.pdf.
6470
6471 1999-08-16 Benjamin Kosnik <bkoz@cygnus.com>
6472
6473 * bits/streambuf.tcc (streambuf::xsputn): Allow copies to continue
6474 if overflow successfully allocates more space.
6475 * bits/std_sstream.h: Adjust comments.
6476 * bits/sstream.tcc (stringbuf::overflow): Copy buffer into string
6477 before overflow forces a resize.
6478 * testsuite/27_io/ostream_inserter_char.cc: New file.
6479
6480 * bits/std_fstream.h: Remove declaration.
6481 * bits/fstream.tcc: Move uflow.
6482 * bits/std_streambuf.h: To here.
6483 * bits/streambuf.tcc: Make consistent.
6484
6485 * src/Makefile.am (WERROR): Enable.
6486 * src/Makefile.in: Regenerate.
6487 * bits/sbuf_iter.h: Tweak.
6488 * bits/char_traits.h: (char_traits<wchar_t>::eof): Use WEOF.
6489 Use unsigned int as char_traits<char>::int_type.
6490
6491 * bits/ostream.tcc (ostream::putc(char)): Tweak.
6492 * testsuite/27_io/iostream_objects.cc: Terminate string.
6493 Move cin::operator>>(char*) test to extractor_char.cc.
6494 * testsuite/27_io/stringstream.cc: Add stringstream instantiation.
6495 * bits/std_istream.h (basic_iostream): Make explicit definition
6496 for default ctor.
6497 * bits/std_sstream.h: Fix typos.
6498 * bits/fstream.tcc (_M_init_filebuf): Set to indeterminate for
6499 basic_filebuf ctor with fileno open arguments. Thus, filebufs are
6500 initialized in a consistent manner, no matter if the underlying
6501 FILE/bit bucket is a tty or a text file or some other imaginary
6502 construct. This and setting _M_buf_size to 1 for cin allows
6503 istream::get(char) to work in a manner consistent with what others
6504 expect.
6505
6506 * docs/index.html: Link Stroustrup's C++ page.
6507
6508 1999-08-12 Michael Cook <cook@sightpath.com>
6509
6510 * bits/fstream.tcc: Fix signed/unsigned -Wall warning.
6511 * bits/istream.tcc: ditto.
6512 * bits/sbuf_iter.h: ditto.
6513 * bits/std_istream.h: ditto.
6514 * src/Makefile.am: Add -Wall to CXXFLAGS.
6515 * src/Makefile.in: ditto.
6516
6517 1999-08-12 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6518 Russell Davidson <russell@ehess.cnrs-mrs.fr>
6519
6520 * bits/locale_facets.tcc (_M_extract): Finish off patch from yesterday.
6521 * src/Makefile.am (myinstallheaders): Tweak, remove PHONY.
6522
6523 1999-08-11 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6524
6525 * testsuite/27_io/istream_unformatted.cc: New file.
6526
6527 * testsuite/27_io/istream_extractor_arith.cc (test02): Add more
6528 elaborate tests for int types with noskipws.
6529
6530 * testsuite/27_io/istream_extractor_other-1.txt: New file.
6531 * testsuite/27_io/istream_extractor_other-1.tst: New file.
6532 * testsuite/27_io/istream_extractor_other-2.tst: New file.
6533 * testsuite/27_io/istream_extractor_other.cc: Add tests.
6534 * bits/istream.tcc: Fix operator>>(streambuf*).
6535
6536 * testsuite/23_containers/vector_ctor.cc (test01): Add.
6537
6538 * docs/index.html: Remove references to egcs.
6539 * docs/17_intro/DESIGN: Same.
6540 * docs/17_intro/contribute.html: Same.
6541 * docs/17_intro/RELEASE-NOTES: Ditto.
6542 * docs/17_intro/howto.html: Same here.
6543
6544 Russell Davidson <russell@ehess.cnrs-mrs.fr>
6545 * stl/bits/stl_vector.h (_M_insert_aux):
6546 * bits/locale_facets.tcc (_M_extract): Tweaks for preliminary
6547 decimal/floating point support.
6548 * bits/locale_facets.h: Change _M_extract prototype.
6549 * bits/char_traits.h (char_traits::to_int_type): Cast to unsigned.
6550 * bits/std_istream.h (istream::read(char_type, streamsize)): Fix.
6551
6552 1999-08-10 Michael Cook <cook@sightpath.com>
6553
6554 * bits/fstream.tcc: Fix for unused variable warning (-Wall).
6555 * bits/ios_base.h: ditto.
6556 * bits/istream.tcc: ditto.
6557 * bits/locale_facets.h: ditto.
6558 * bits/locale_facets.tcc: ditto.
6559 * bits/std_streambuf.h: ditto.
6560 * src/basic_file.cc: ditto.
6561 * src/locale.cc: ditto.
6562 * src/localename.cc: ditto.
6563
6564 1999-08-10 Kirat Singh <singhki@jany.gs.com>
6565
6566 * bits/std_iomanip.h: Inline.
6567
6568 1999-08-10 Alfred Minarik <a8601248@unet.univie.ac.at>
6569
6570 * bits/std_streambuf.h: Correct member initialization order.
6571 * src/ios.cc: Add definitions for ios_base data members.
6572
6573 1999-08-06 Phil Edwards <pedwards@ball.com>
6574
6575 * docs/index.html: Seventh snapshot updates. Minor tweaks.
6576 * docs/faq/index.html: Ditto. Removed bugs sections that have
6577 been fixed for a long time... Lots of "egcs" references still
6578 exist.
6579 * docs/faq/index.txt: Regenerated.
6580
6581 1999-08-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6582 Andreas Amann <amann@physik.tu-berlin.de>
6583
6584 * testsuite/26_numerics/binary_closure.cc (main): new test.
6585
6586 1999-07-29 Andreas Amann <amann@physik.tu-berlin.de>
6587
6588 * bits/valarray_meta.h: (_BinClos<>::_Binclos): fix typo causing
6589 segmentation fault.
6590
6591 1999-08-04 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6592
6593 * docs/index.html (host): Put in testing status.
6594
6595 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
6596
6597 * docs/index.html: Update for libstdc++-2.90.6 release.
6598 * docs/17_intro/RELEASE-NOTES (New): Update.
6599 * docs/17_intro/BUGS: Update.
6600 * bits/c++config.h.in (__GLIBCPP__): Bump version number.
6601 * README (file): Update.
6602
6603 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
6604
6605 * src/Makefile.am (generated_headers): Remove bits/c++config.h as
6606 a target.
6607 ($(generated_headers)): Same.
6608 * src/gen-c++config.cc: Remove, rename to
6609 * bits/c++config.h.in: New file. Bump version number.
6610 * configure.in: Generate bits/c++config.h at configure time.
6611 * math/mathconf.h: include bits/c++config.h, not config.h.
6612
6613 * bits/std_cmath.h: Fix remaining link error for solaris shared
6614 builds. _GLIBCPP_HAS_BUILTIN_SINF has to be disabled for the time
6615 being, as on Solaris this silently calls sinf, which does not
6616 exist.
6617
6618 * src/complex.cc: More tweaks.
6619
6620 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
6621
6622 * src/complex.cc: Same.
6623 * math/complex-stub.h: Change.
6624 * math/c_log10*.c: Change back to clog10*.c.
6625
6626 * configure.in (NEED_C_LOG10): Delete.
6627 * configure: Regenerate.
6628 * math/Makefile.am: Change.
6629
6630 1999-07-30 Benjamin Kosnik <bkoz@cygnus.com>
6631
6632 * math/Makefile.am: Fix, for real.
6633 * configure.in (use_builtin_sinf): Ok, make autoconf solution.
6634 * math/clog.c: Move to c_log.c.
6635 * math/clog*: Ditto.
6636 * math/c_log10l.c (c_log10l): Change function name.
6637 * math/c_log10f.c (c_log10f): Change function name.
6638 * math/c_log10.c (c_log10): Change function name.
6639
6640 * math/complex-stub.h: Change to c_log* variants.
6641 * src/complex.cc: And here.
6642
6643 1999-07-29 Benjamin Kosnik <bkoz@cygnus.com>
6644
6645 * testsuite/27_io/istream_extractor_other.cc: Correct last test.
6646 * bits/sstream.tcc (stringbuf::overflow): Don't update the input
6647 sequence, just the output sequence.
6648 * bits/std_sstream.h (stringbuf::str()): Only in stringbufs return
6649 the original string, all others use complicated heuristic.
6650
6651 * src/complex.cc: Assume c_log10.
6652 * math/Makefile.am (EXTRA_yes): Fix c_log/c_logf unresolved
6653 symbols in shared libraries by making c_log/c_log10 part of the
6654 "must cmpile" sources. This may not work on solaris, must check.
6655
6656 1999-07-29 Benjamin Kosnik <bkoz@cygnus.com>
6657
6658 * bits/istream.tcc (operator>>(streambuf*)): Re-do.
6659 * bits/std_istream.h: Fix char extractors.
6660 * testsuite/27_io/istream_extractor_char.cc: Change.
6661 * testsuite/27_io/istream_extractor_other.cc: Add tests.
6662
6663 1999-07-28 Benjamin Kosnik <bkoz@cygnus.com>
6664
6665 * bits/std_cctype.h: Fix for solaris2.6 builds.
6666
6667 * bits/istream.tcc: Fix, thanks Alfred.
6668 * bits/std_istream.h: Formatting changes.
6669
6670 * libio/Makefile.am (libio_la_SOURCES): Remove cleanup.c, so that
6671 _IO_cleanup will not be undefined.
6672 * libio/*: Regenerate.
6673
6674 * bits/basic_string.h: More namespace-safety stuff.
6675 * testsuite/27_io/istream_extractor_char.cc: Fix.
6676 * testsuite/27_io/istream_extractor_arith.cc: Fix.
6677 * testsuite/27_io/iostream_objects.cc: Fix.
6678 * testsuite/27_io/ios_ctor.cc: Fix.
6679 * testsuite/27_io/istream_manip.cc: Make namespace safe.
6680 * testsuite/27_io/istream_extractor_other.cc: New file.
6681
6682 * mkcheck (TESTS_FILE): Tweaks.
6683
6684 1999-07-27 Benjamin Kosnik <bkoz@cygnus.com>
6685
6686 * src/gen-c++config.cc: Note here, change version.
6687 * acconfig.h( _GLIBCPP_USE_CTYPE_ISBIT): New macro.
6688 * src/locale.cc: Used here.
6689 * configure.in (use_builtin_sinf): Check for _ISBit using autoconf.
6690
6691 * aclocal.m4: Regenerate by running `aclocal -I m4.`
6692
6693 * bits/istream.tcc: Fix.
6694 * bits/std_istream.h: More changes to extractors.
6695
6696 * testsuite/27_io/istream_extractor_char.cc: More.
6697 * testsuite/21_strings/inserters_extractors.cc (test01): Fix logic
6698 error in testsuite construction.
6699
6700 * bits/std_istream.h: Partially revert.
6701 * bits/std_ostream.h: Same.
6702 * bits/std_sstream.h: Revert.
6703
6704 1999-07-26 Benjamin Kosnik <bkoz@cygnus.com>
6705
6706 * bits/std_sstream.h: Change initialization.
6707 * bits/std_ostream.h: Make default ctor/assign/operator= private.
6708 * bits/std_istream.h: Same, also correct sentry args.
6709 * bits/istream.tcc: Add correct sentry args.
6710
6711 * testsuite/27_io/istream_extractor_char.cc: New file.
6712 * testsuite/27_io/istream_extractor_arith.cc: New file, old file,
6713 name changes making me dizzy.
6714
6715 1999-07-26 Ulrich Drepper <drepper@happy.cygnus.com>
6716 Benjamin Kosnik <bkoz@cygnus.com>
6717
6718 * aclocal.m4, config.guess, config.sub, ltconfig ltmain.sh: Update
6719 to libtool 1.3.3.
6720
6721 1999-07-26 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6722
6723 * bits/std_complex.h: Tweak. Make the primary template class
6724 complex work with user-defined numerical types. Provide member
6725 definitions. Restructure.
6726 (class complex<float>): Uglify. Remove __value(). Rename __val
6727 to _M_value. Rename __complex_value_type to _ComplexT. Make it
6728 private. Remove dependency on __value(). Fix various explicit
6729 specialization syntax. Declare a some functions friend. Now the
6730 implementation is nearly comforming.
6731 (class complex<double>): Likewise.
6732 (class complex<long double>): Likewise.
6733
6734 * src/complex.cc: Tweak. Remove dependency on complex::__value().
6735 (sin, sinh, tan, than): Fix call to corresponding C9x function
6736 syntax.
6737
6738 1999-07-24 Benjamin Kosnik <bkoz@fidel.cygnus.com>
6739
6740 * bits/istream.tcc (ws): Fix error with failbit being set.
6741
6742 Disabled due to egcs/gcc-2_95 internal compiler errors.
6743 * src/Makefile.am (CXXFLAGS): Add -fsquangle -fhonor-std
6744 -fnew-exceptions. Compiling with namespaces enabled will now be
6745 the default.
6746 * mkcheck (CXX_FLAG): Same.
6747 * src/gen-c++config.cc (_GLIBCPP_USE_NAMESPACES): Yup. New macro.
6748 * bits/std_cctype.h: Not enough to just define in namespace std if
6749 ctype-isms are macros. Need to also define in namespace std:: if
6750 the C functions are just plain functions.
6751
6752 * src/gen-num-limits.cc: Fix spelling inconsistencies.
6753
6754 1999-07-24 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6755
6756 * docs/18_support/howto.html: Start documentation. Need to keep
6757 track of the ongoing discussion in th LWG reflector.
6758
6759 * src/gen-num-limits.cc: Tweak.
6760 (class predicate): New class.
6761 (class value): Likewise.
6762 Make the whole machinery more flexible. Add comments.
6763
6764 1999-07-23 Benjamin Kosnik <bkoz@fidel.cygnus.com>
6765
6766 * bits/ios_base.h: Move state/exception functions into basic_ios.
6767 * bits/basic_ios.h: Same.
6768 * src/ios.cc: And here. Callbacks don't attempt to reset
6769 state now.
6770
6771 * bits/std_streambuf.h: Separate ios and streambuf locale data
6772 members and cached facets. Using this convention: _M_locale_buf for
6773 the streambuf-related classes, and _M_locale_ios for the ios
6774 hierarchy.
6775 * bits/fstream.tcc: And here.
6776 * bits/basic_ios.h: And here. Also, add cached ctype.
6777 * src/ios.cc: Ditto.
6778 * bits/ios_base.h: Ditto.
6779 * bits/std_istream.h: Use cached ctype facet.
6780 * docs/27_io/iostreams_hierarchy.pdf: Update for new data member
6781 arraignment.
6782
6783 * testsuite/27_io/ios_ctor.cc: New file.
6784 * src/ios.cc: Move _M_state init to basic_ios::init().
6785 * bits/basic_ios.h: To here.
6786
6787 Attempt for some consistency in naming for testsuite/27_io/*.cc.
6788 * testsuite/27_io/boolfmt.cc: Rename to stdios_fmtflags_manip.cc
6789 * testsuite/27_io/octfmt.cc: Rename to stdios_basefield_manip.cc
6790 * testsuite/27_io/istream_manip.cc: Rename to istringstream_manip.cc.
6791 * testsuite/27_io/ostream_manip.cc: Rename to ostringstream_manip.cc.
6792
6793 1999-07-22 Benjamin Kosnik <bkoz@fidel.cygnus.com>
6794
6795 * src/ios.cc: Tweak initializations of standard iostream
6796 objects to closely match the standard. Tie cin/wcin, set flags on
6797 cerr/wcerr
6798 * bits/char_traits.h: Change from size_t to int_type, as per
6799 standard. As per wide streams.
6800 * bits/basic_ios.h: Infect with __ctype_type, as a preparation
6801 for caching a bunch of ctype info. For instance, ctype_base::space
6802 info needs to be stored somewhere, somehow.
6803 * bits/std_istream.h: Also here.
6804 * bits/std_ostream.h: Ditto.
6805 * bits/std_istream.h (operator>>(istream, char): Aggh. Fixup.
6806 * testsuite/27_io/iostream_objects.cacc (test01): Oh yeah. Fix
6807 stream states.
6808
6809 * bits/istream.tcc (ws): Fix.
6810 * testsuite/27_io/istream_manip.cc: New file, test ws.
6811 * testsuite/27_io/ostream_manip.cc: New file, test endl, ends, flush.
6812
6813 * bits/basic_string.h: Provide a specialized member function for
6814 _S_find<char> using strchr.
6815 * src/string-inst.cc: Put specializations here.
6816 * bits/string.tcc: Small fix for find, remove typo.
6817 * testsuite/21_strings/find.cc (test01): Add tests to catch this
6818 find bug. . .
6819
6820 1999-07-20 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6821
6822 * bits/basic_ios.h: Put into basic_ios namespace.
6823 Tweak widen/narrow.
6824
6825 1999-07-19 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6826
6827 * bits/std_sstream.h (stringbuf::sync): Change to _M_really_sync,
6828 adjust _M_*_cur pointers inside the function, so callee doesn't
6829 have to adjust.
6830 * bits/sstream.tcc (stringbuf::overflow): Tweak.
6831
6832 * mkcheck: Tweak. Add execution time field, even though it is not
6833 implemented yet. Simplify pass/fail status notation.
6834
6835 1999-07-18 Mumit Khan <khan@xraylith.wisc.edu>
6836
6837 * configure.in: Check for float.h and underscored version of
6838 math functions.
6839 * acconfig.h: Add @BOTTOM@ section for handling underscored
6840 math functions.
6841 * configure: Regenerate.
6842 * config.h.in: Regenerate.
6843 * math/mathconf.h (float.h): Include conditionally.
6844 (M_PI): Define conditionally.
6845 (INFINITE_P): Define for Mingw.
6846 * bits/locale_facets.tcc: Workaround for compiler crash on
6847 ix86-*-mingw32.
6848 * bits/std_cwchar.h (bits/std_cstddef.h): Include.
6849 * src/locale.cc (bits/std_istream.h): Include.
6850 (bits/std_ostream.h): Likewise.
6851
6852 1999-07-18 Phil Edwards <pedwards@ball.com>
6853
6854 * docs/faq/index.html: Updated __black_count notes, fixed typos.
6855 * docs/faq/index.txt: Regenerated.
6856
6857 1999-07-15 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6858
6859 * testsuite/27_io/stringbuf.cc: Cccchanges, latent bugs.
6860
6861 * bits/sstream.tcc (stringbuf::overflow): Modify accounting of
6862 newly-allocated buffer.
6863 * bits/streambuf.tcc (streambuf::xsgetn): Aaaaaah. Fix final
6864 overflow condition bits.
6865
6866 1999-07-14 Benjamin Kosnik <bkoz@cygnus.com>
6867
6868 * bits/std_sstream.h (stringbuf::_M_init_stringbuf): Set
6869 _M_buf_size to initial _M_string.size(), even though for
6870 ostringstreams it is pretty pointless. It's necessary for
6871 istringstreams.
6872 (stringbuf::str()): Adjust.
6873 (stringbuf::str()): Adjust, call _M_init_stringbuf.
6874 * bits/streambuf.tcc (streambuf::xsgetn): Adjust return value for
6875 overflow's possible success.
6876 (streambuf::xsputn): Adjust.
6877
6878 * testsuite/27_io/filebuf.cc: Adjust for the xsgetn re-write from
6879 yesterday.
6880 * testsuite/27_io/stringbuf.cc: Tweak.
6881 * testsuite/21_strings/inserters_extractors.cc (test01): Remove
6882 notes to myself.
6883 * testsuite/23_containers/vector_cons.cc: Rename to be consistent
6884 with other constructor tests to. . .
6885 * testsuite/23_containers/vector_ctor.cc: New file.
6886
6887 1999-07-14 Alfred Minarik <a8601248@unet.univie.ac.at>
6888
6889 * testsuite/*: Changes to make the testsuit compilable with
6890 -fhonor-std. Contains direct qualification of library names with
6891 std::.
6892
6893 1999-07-13 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6894
6895 * bits/streambuf.tcc: Tweaks.
6896 (streambuf::xsputn): Optimize, fix for sstreams.
6897 (streambuf::xsgetn): Same.
6898 * bits/sstream.tcc (stringbuf::overflow): Adjust _M_buf_size
6899 correctly, handle overflow/reallocate conditions correctly.
6900 * bits/std_sstream.h: Fix typo.
6901 _M_init_stringbuf(): Fix _M_buf_size initialization.
6902 (stringbuf::str()): Construct return string if output has occurred.
6903
6904 * bits/basic_string.h: Fix typo from yesterday's patch.
6905
6906 1999-07-12 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6907
6908 * bits/string.tcc: _M_mutate - clear _M_state again.
6909 * bits/basic_string.h: In the three functions that return
6910 an iterator set _M_state to -1 before return.
6911 Also optimized two cases of operator+.
6912
6913 1999-07-12 Phil Edwards <pedwards@ball.com>
6914
6915 * docs/index.html: Expand egcs-1.1.2 notes/links.
6916 * docs/faq/index.html: And here. Add links to LWG issues-list.
6917 * docs/faq/index.txt: Regenerate. (lynx rocks)
6918 * docs/21_strings/howto.html: Fix notes on case conversion.
6919 * docs/21_strings/stringtok_h.txt: Goodly spelling...
6920 * docs/23_containers/howto.html: Stub for bitmasks.
6921 * docs/27_io/howto.html: Add section on buffering, stub binary.
6922
6923 1999-07-12 Nathan Myers <ncm@cantrip.org>
6924
6925 * stl/bits/stl_tree.h (__black_count): Optimize.
6926
6927 1999-07-09 Vadim Egorov <egorovv@1c.ru>
6928
6929 * src/basic_file.cc: Cleanup in __basic_file destructor.
6930
6931 1999-07-08 Benjamin Kosnik <bkoz@cygnus.com>
6932
6933 * bits/std_streambuf.h: Changes. . .
6934 * bits/streambuf.tcc: Merge xsputn from filebuf into xsputn in
6935 basic_streambuf, to be used for both filebufs and streambufs.
6936 * bits/std_fstream.h (_M_init_filebuf): New function.
6937 Take out specialized xsputn, put into basic_streambuf.
6938 * bits/fstream.tcc: Define, call from both ctors.
6939 * bits/std_sstream.h (_M_init_stringbuf): New function.
6940 * bits/sstream.tcc: Tweak.
6941
6942 * docs/27_io/iostreams_heirarchy.pdf: New file.
6943
6944 * docs/17_intro/CHECKLIST (basic_string<char>): Validation and
6945 acceptance. Wooo-hoo!
6946
6947 * bits/char_traits.h: Change int_type for char_traits general
6948 template, so that 21_strings/capacity.cc will compile.
6949 * testsuite/21_strings/capacity.cc: Add operators.
6950
6951 * bits/string.tcc (string::compare): Clean up, re-implement.
6952 * testsuite/21_strings/compare.cc: Tweak.
6953
6954 * bits/string.tcc (string:_M_mutate): Keep leaked value in
6955 _M_state, which means that whenever begin() or end() has been
6956 called, the string is unshareable, period. By doing this, insert
6957 and erase member functions that return iterators can remain
6958 footloose and fancy free.
6959 * testsuite/21_strings/invariants.cc: Update.
6960
6961 * bits/basic_string.h (string::append): Fix self-referential
6962 problems, ie when "this" is also an argument to a member function.
6963 * bits/string.tcc: Tweak, same.
6964 * testsuite/21_strings/append.cc: New file.
6965
6966 1999-07-07 Benjamin Kosnik <bkoz@cygnus.com>
6967
6968 * bits/char_traits.h: Tweaks.
6969 * bits/basic_string.h: Tweak.
6970 * bits/fstream.tcc: Remove warning for _M_buf_size assignment.
6971
6972 1999-07-06 Benjamin Kosnik <bkoz@cygnus.com>
6973
6974 * bits/std_streambuf.h: Absorb/acquire data members previously
6975 working in basic_filebuf.
6976 * bits/streambuf.tcc: Tweaks.
6977 * bits/fstream.tcc: Adjust.
6978 * bits/std_fstream.h: Move and rename the following functions:
6979 _M_set_ideterminate, _M_is_indeterminate, _M_set_determinate are
6980 now declared and defined in the base class, basic_streambuf. Oh
6981 fuck it, move data members _M_buf, and _M_buf_size into
6982 basic_streambuf as well.
6983
6984 * bits/ostream.tcc: Tweak.
6985 * bits/locale_facets.tcc: Fix typo in comments.
6986
6987 * testsuite/21_strings/inserters_extractors.cc (test01): Change
6988 state from good to not good, as eof() is set.
6989
6990 1999-07-05 Benjamin Kosnik <bkoz@cygnus.com>
6991
6992 * bits/char_traits.h (char_traits::compare). Fix.
6993
6994 * config.guess, config.sub: Update.
6995
6996 1999-07-02 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6997
6998 * bits/string.tcc: Check the __res_arg for a length error.
6999
7000 1999-07-01 Benjamin Kosnik <bkoz@nabi.net>
7001
7002 * bits/std_streambuf.h: Tweaks. Need to move _M_is_indeterminate
7003 and related functions into basic_streambuf, from basic_filebuf to
7004 take care of ostringstreams and empty strings. So that's groovy,
7005 or will be groovy.
7006 * bits/std_istream.h: Tweaks.
7007 * bits/istream.tcc: Implement ws, getline, operator>> for string.
7008 * bits/std_ostream.h: And here.
7009 * bits/ostream.tcc: Same.
7010 * src/misc-inst.cc: Add instantiations for ws.
7011
7012 * src/string-inst.cc: Add instantiations for inserters and
7013 extractors (operators << and >>, getline).
7014
7015 * testsuite/21_strings/inserters_extractors.cc: Amazingly enough,
7016 a testcase for getline and operators << and >>. Ostream tests are
7017 failing right now, but istream tests should work. . .
7018
7019 * bits/string.tcc: Change _S_max_size, as GNU malloc won't budge.
7020 * bits/std_sstream.h: Revert.
7021
7022 * testsuite/17_intro: header_[iosfwd, ios, iostream, iomanip,
7023 istream, ostream, streambuf, fstream, sstream].cc: New files.
7024
7025 1999-06-30 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7026
7027 * bits/std_sstream.h (stringbuf::sync): Don't use string::begin()
7028 and string::end().
7029
7030 * bits/basic_string.h (basic_string<>::_S_copy_chars): Add
7031 specializations for _CharT*, iterator and const_iterator.
7032 * src/string-inst.cc: Remove explicit instantiation, as
7033 now explicitly specialized.
7034
7035 * bits/basic_string.h: Add a size_type parameter to _M_clone with
7036 a default value set to 0.
7037 * bits/string.tcc: In _M_clone by the call of _S_create add the
7038 value of the new parameter to _M_length. In reserve check
7039 _M_state and use _M_clone instead of _M_mutate.
7040
7041 1999-06-30 Benjamin Kosnik <bkoz@happy.cygnus.com>
7042
7043 * bits/basic_string.h: Fix _S_max_size.
7044 * bits/string.tcc: Add def here.
7045 * testsuite/21_strings/insert.cc: Fix.
7046
7047 * bits/sbuf_iter.h: Remove detritus.
7048 * testsuite/24_iterators/istreambuf_iterator.cc: Add tests.
7049
7050 * src/locale-inst.cc: Elaborate iterator/locale instantiations
7051 to resolve alpha-osf4 build problems.
7052
7053 1999-06-29 Benjamin Kosnik <bkoz@happy.cygnus.com>
7054
7055 * bits/string.tcc: Fix signed/unsigned issues in compares.
7056 * stl/bits/stl_deque.h: And here.
7057 * stl/bits/stl_string_fwd.h: Remove __get_c_string.
7058
7059 1999-06-29 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7060
7061 * bits/string.tcc: New implementation and interface of _M_mutate.
7062 Adapt the change in all functions that call _M_mutate.
7063 * bits/basic_string.h: And here.
7064
7065 1999-06-29 Benjamin Kosnik <bkoz@happy.cygnus.com>
7066
7067 * testsuite/21_strings/capacity.cc (test01): Fix.
7068
7069 1999-06-29 Phil Edwards <pedwards@ball.com>
7070
7071 * mknumeric_limits: Exit script if gen-num-limits isn't built.
7072
7073 1999-06-29 Andreas Gruenbacher <agruenba@pent224.infosys.tuwien.ac.at>
7074
7075 * stl/bits/stl_vector.h: Fix.
7076 * testsuite/23_containers/vector_cons.cc: Add.
7077
7078 1999-06-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7079
7080 * mknumeric_limits (LDFLAGS): fix.
7081
7082 1999-06-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7083
7084 * mknumeric_limits (LDFLAGS): set it according to the system.
7085
7086 * math/mathconf.h (NAN): Check whether host is running under
7087 Cygwin and make the appropriate definition.
7088 * math/complex-stub.h (nan): protect declaration.
7089
7090 1999-06-28 Benjamin Kosnik <bkoz@haight.constant.com>
7091
7092 * bits/sbuf_iter.h: Rename internal data structure to prevent
7093 confusion between basic_ios and istreambuf_iterators internal
7094 basic_streambuf data member.
7095 * testsuite/24_iterators/istreambuf_iterator.cc: New file.
7096
7097 * bits/basic_string.h: Remove conditionals, add input_iterator
7098 version of S_construct again.
7099 * bits/string.tcc: Same.
7100 * src/string-inst.cc: And add explicit instantiation here.
7101
7102 * src/gen-c++config.cc (_GNU_SOURCE): Take out both _GNU_SOURCE
7103 and __USE_GNU macro defines, as single __USE_GNU use leading to
7104 confusion on glibc2.1 systems (ie, RedHat 6.0).
7105
7106 * src/Makefile.am (headers): Add std_utility to installed headers.
7107
7108 1999-06-25 John Potter <jpotter@eagle.lhup.edu>
7109
7110 * stl/bits/stl_tree.h (insert_unique): Revert, just fix insert_equal.
7111
7112 1999-06-25 Gilles Zunino <Gilles.Zunino@hei.fr>
7113
7114 * mknumeric_limits (LDFLAGS): Swap -lc and -lgcc.
7115
7116 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7117
7118 * src/gen-c++config.cc (_GLIBCPP_*): Change all
7119 macros to include _GLIBCPP as a distinct namespace.
7120 * bits/*: And here.
7121 * src/*: And here.
7122
7123 * stl/bits/std_stdexcept.h: Forward-declare __Named_exception ctor.
7124 * bits/basic_string.h: Remove __get_c_string.
7125 * src/stdexcept.cc: Define ctor here.
7126 * bits/ios_base.h: And fix ios_base::failure as well.
7127 * src/ios.cc: Define here.
7128
7129 * bits/std_streambuf.h: Add a private copy ctor and assignment
7130 operator wrapped in _G_RESOLVE_LIB_DEFECTS.
7131 * bits/ios_base.h: And here too.
7132
7133 * bits/basic_string.h: Tweak.
7134 * testsuite/21_strings/nonmember.cc: Add operator+ tests.
7135
7136 * src/valarray.cc: Rename to. . .
7137 * src/valarray-inst.cc: This.
7138 * src/Makefile.am (sources): Change here.
7139 * src/Makefile.in: Regenerated.
7140
7141 1999-06-24 Vadim Egorov <egorovv@1c.ru>
7142
7143 * bits/string.tcc(basic_string<>::_Rep::_S_create): Fixed
7144 allocated size
7145
7146 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7147 Tom Tromey <tromey@cygnus.com>
7148
7149 * configure.in (use_glibc2): Eek, correct for non-glibc systems.
7150 Use AM_CONDITIONAL to get us out of this jam. .
7151 * libio/Makefile.am: Same.
7152 * */Makefile: Regenerated.
7153
7154 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7155 John Potter <jpotter@eagle.lhup.edu>
7156
7157 * stl/bits/stl_tree.h (insert_equal): Fix.
7158 * testsuite/23_containers/multiset.cc: New file.
7159
7160 1999-06-23 Benjamin Kosnik <bkoz@cygnus.com>
7161
7162 * configure.in (test for glibc2): Correct AC_TRY_COMPILE so that
7163 this works correctly on glibc-2 systems. This should allow
7164 simplified linking on these systems, and successful linking on Red
7165 Hat 6.0 systems.
7166 * configure, Makefile: Regenerate.
7167
7168 * bits/std_cwctype.h: Add missing 'w' to _S_iswpunct_helper name.
7169
7170 * testsuite/ext: New directory.
7171 * testsuite/ext/headers.cc: New file.
7172
7173 1999-06-23 Vadim Egorov <egorovv@1c.ru>
7174
7175 * stl/ext/hash_set: include missing headers
7176 * stl/ext/hash_map: Same
7177 * stl/ext/slist: Same
7178
7179 1999-06-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7180
7181 * bits/std_cmath.h: comment out modf. Kills build on hpux10.20
7182
7183 1999-06-15 Benjamin Kosnik <bkoz@cygnus.com>
7184
7185 * src/Makefile.am (sources): Regenerate.
7186 * mkcheck: Add TESTS_FILE as a way of controlling what testcases
7187 are run.
7188
7189 1999-06-14 Benjamin Kosnik <bkoz@cygnus.com>
7190
7191 * src/string-inst.cc: Change _S_construct signature, to
7192 track requested allocation size versus valid input iterator range.
7193 * bits/basic_string.h: Here too.
7194 * bits/string.tcc: And here.
7195
7196 1999-06-12 Benjamin Kosnik <bkoz@cygnus.com>
7197
7198 * mkcheck (LOG_FILE): Correctly append errors.
7199
7200 * stl/bits/stl_iterator.h: Revert previous, delirious, change.
7201
7202 * bits/basic_string.h: Change _Rep::_M_data to _Rep::_M_refdata,
7203 to clarify differences between basic_string::_M_data() calls and
7204 _Rep::_M_data() calls.
7205 * bits/std_string.h: Fix.
7206 Put in check for out_of_range in substr.
7207 * bits/string.tcc: Fix for _S_find.
7208
7209 * testsuite/21_strings/compare.cc: Add tests.
7210 * testsuite/21_strings/find.cc: New file.
7211 * testsuite/21_strings/substr: New file.
7212 * testsuite/21_strings/replace.cc: New file.
7213
7214 1999-06-11 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7215
7216 * bits/valarray_array.h: __restrict__ify pointers.
7217
7218 * bits/std_valarray.h: Tweak.
7219 (valarray<T>::cshift, valarray<T>::shift): use __builtin_alloca.
7220
7221 * bits/gslice_array.h: Tweak. Reflect changes in bits/gslice.h
7222
7223 * bits/gslice.h: Tweak.
7224 (class gslice::_Indexer): new class.
7225 (gslice::gslice(const gslice&)): implement copy-ctor to support
7226 ref-counted index.
7227 (gslice::operator=(const gslice&)): support ref-counted index.
7228 (gslice::_M_convert_to_index): delete.
7229
7230 * src/valarray.cc: New file.
7231 (__gslice_to_index): turn a gslice into a valarray<size_t>
7232 (ctor gslice::_Indexer::_Indexer): implement.
7233
7234 * src/Makefile.am (sources): add valarray.cc
7235 * src/Makefile.in: regenerate.
7236
7237 1999-06-08 Benjamin Kosnik <bkoz@cygnus.com>
7238
7239 * stl/bits/stl_iterator.h (__normal_iterator::const_iterator
7240 ctor): Put in a const_cast.
7241
7242 * testsuite/21_strings/invariants.cc: New file.
7243
7244 * testsuite/21_strings/insert.cc: Add exception handling bits.
7245 * testsuite/21_strings/ctor_copy_dtor.cc: Same.
7246
7247 * src/wstring-inst.cc: Add c++config.h include.
7248
7249 * bits/basic_string.h: Fix const operator[] for size == pos.
7250 Add _M_leak for rbegin, non-const.
7251 Add _M_leak for rend, non-const.
7252 Make member function at standards conformant.
7253 Add _S_terminal to _Rep for operator[] const, add this into
7254 c_str() as well.
7255 * bits/string.tcc: Add static member definition here,
7256 temporarily.
7257
7258 * testsuite/21_strings/element_access.cc: Add tests.
7259
7260 1999-06-08 Vadim Egorov <egorovv@1c.ru>
7261
7262 * bits/fstream.tcc (_M_really_overflow): Fixed size of
7263 conversion buffer.
7264
7265 1999-06-08 Phil Edwards <pedwards@ball.com>
7266
7267 * bits/fstream.tcc (basic_filebuf::xsputn): Fix off-by-one count
7268 caused when __testinit is true.
7269 * bits/ostream.tcc (basic_ostream::op<<(streambuf*)): Write buffer
7270 using rdbuf()->sputn rather than _M_fnumput->put.
7271
7272 1999-06-08 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7273
7274 * testsuite/23_containers/bitset_ctor.cc: New file.
7275 * stl/bits/std_bitset.h (__BITSET_WORDS): Fix integration bug.
7276
7277 1999-06-08 Phil Edwards <pedwards@ball.com>
7278
7279 * bits/fstream.tcc (basic_filebuf::underflow): Fix, rename local vars.
7280
7281 1999-06-07 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7282
7283 * testsuite/21_strings/element_access.cc: Finish off these tests.
7284 * testsuite/21_strings/insert.cc (test01): Uncomment.
7285 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Finish off ctors.
7286 * bits/basic_string.h: Tweak, okay, fix for real this time.
7287 * bits/string.tcc: Same.
7288 * bits/char_traits.h: Tweak.
7289
7290 1999-06-07 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7291
7292 * bits/std_cmath.h: Example of how to use the generated macro.
7293 * acconfig.h: Add macro for sinf here.
7294 * configure.in (LIBS): Add test for builtin math function sinf.
7295 * configure: Regenerated.
7296
7297 * bits/basic_string.h: Fix _S_max_size.
7298
7299 1999-06-06 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7300
7301 * bits/basic_string.h: Fixes for out-of-memory segv for large strings.
7302 Remove _S_construct signature for forward_iterator_tag and
7303 input_iterator_tag.
7304 Clean _M_fold.
7305 * src/string-inst.cc: Same, tweaks.
7306 * bits/string.tcc: Same, tweaks.
7307
7308 * testsuite/21_strings/ctor_copy_dtor.cc: Add/clarify tests.
7309 * mkcheck (LOG_FILE): Fix filebuf-[2,3].tst checks.
7310 * mknumeric_limits (LD_FLAGS): Add -nodefaultlibs -lc -lgcc as per
7311 Gaby.
7312
7313 * src/locale.cc: Final separation for char/wchar_t bits.
7314
7315 1999-06-05 Phil Edwards <pedwards@ball.com>
7316
7317 * docs/index.html: Added link to book upon request'n'agreement.
7318 * docs/23_containers/wrappers_h.txt: Added.
7319 * docs/{23_containers,27_io}/howto.html: Added sections.
7320
7321 * bits/std_fstream.h: Tweak.
7322
7323 1999-06-05 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7324
7325 * src/ios.cc: Same here.
7326 * bits/std_iosfwd.h: More wchar_t defines.
7327
7328 * bits/basic_string.h: Tweaks.
7329 * bits/string.tcc: Tweak. Fix _S_construct to check for max_size
7330 when doing error checking, as per LWG defect #83.
7331
7332 * src/gen-c++config.cc: Fix comment.
7333
7334 * testsuite/21_strings/ctor_copy_dtor.cc: New file, checks ctors,
7335 assignments, dtors.
7336 * testsuite/21_strings/element_access.cc: New file, checks for
7337 operator[], at(...).
7338 * testsuite/21_strings/insert.cc: New file, tests string::insert.
7339 * testsuite/21_strings/char_traits.cc: New file, tests
7340 for char_traits<char>.
7341
7342 * bits/utility.h: Remove, again.
7343 * src/Makefile.am (std_headers): Remove utility.h.
7344 * src/Makefile.in (std_headers): Regenerate.
7345
7346 Alfred Minarik <a8601248@unet.univie.ac.at>
7347 * bits/basic_string.h: Move __out_of_range and __length_error into
7348 namespace std.
7349
7350 1999-06-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7351
7352 * testsuite/26_numerics/modf_float.cc: New file.
7353
7354 * bits/std_cmath.h (modf(float, float*)): Fix signature. Correct
7355 typo: use ::modff, not ::modf.
7356
7357 1999-06-03 Vadim Egorov <egorovv@1c.ru>
7358
7359 * bits/string.tcc (basic_string::_M_mutate): Fixed memory
7360 allocation error
7361 * testsuite/21_strings/capacity.cc (test01): Test.
7362
7363 1999-06-03 Phil Edwards <pedwards@ball.com>
7364
7365 * bits/fstream.tcc: Re-order inits to stop warnings. Comment/move
7366 unused variables to within #if 0 blocks to do the same.
7367 * bits/std_fstream.h: Fix typos (one prevents compilation).
7368
7369 1999-06-03 Benjamin Kosnik <bkoz@pacifica.cygnus.com>
7370
7371 * src/wstring-inst.cc: Fix.
7372
7373 1999-06-02 Benjamin Kosnik <bkoz@madcow.cygnus.com>
7374
7375 * bits/char_traits.h: Add _G_USE_WCHAR_T macro guards.
7376 * stl/bits/stl_string_fwd.h: Same.
7377 * bits/locale_facets.h: Same.
7378 * bits/locale_facets.tcc: Same.
7379 * src/wstring-inst.cc: And here.
7380
7381 * src/gen-c++config.cc: Comment _G_USE_WCHAR_T. Leading to
7382 problems on HPUX 10.20.
7383 * your-build-directory-here/bits/c++config.h: Just kidding, do it
7384 here as a temporary hack till the compiler/host problems get
7385 worked out.
7386
7387 * bits/locale_facets.tcc (num_get::do_get): Change from ifdef
7388 HAVE_STRTOLD to HAVE_STRTOLD && !(__hpux). Apparently, problems
7389 converting "long double" to struct long_double. Probably should be
7390 done with one macro (HAVE_STRTOLD) at configure time.
7391
7392 * bits/std_cmath.h: Comment out pow(double, int) defintion as
7393 gives re-declaration under hpux10.20. Revert previous change, as
7394 kills linux/x86, solaris 2.7, hpux builds. These should be done
7395 using autoconf, see std_cctype.h and the solutions started in
7396 configure.in (see config.h for the generated file.)
7397
7398 * mknumeric_limits (LDFLAGS): Remove '-nodefaultlibs -lc', as
7399 -nodefaultlibs prevents linking under HPUX 10.20 as __main is not
7400 defined.
7401
7402 * docs/index.html: Add some useful links.
7403 * docs/17_intro/contribute.html: Fix broken links.
7404
7405 1999-06-02 Benjamin Kosnik <bkoz@rhino.cygnus.com>
7406
7407 * mkcheck (LOG_FILE): Add !/bin/bash instead of cygnus-style
7408 paths. The rest of the world should be able to run this script
7409 now.
7410
7411 * src/Makefile.am ($(generated_headers)): Remove comment.
7412 * Makefile*: Regenerate.
7413
7414 * bits/std_locale.h: Remove detritus.
7415 * bits/localefwd.h: Add <cctype> include to undefine the isspace
7416 macro.
7417
7418 1999-06-01 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7419
7420 * src/gen-c++config.cc: New file. Making c++config.h at configure
7421 time by catting this file (nee bits/config.h) with the build
7422 directories config.h. This is not a complete or perfect solution
7423 but is better than what was in place previously.
7424 * bits/c++config.h: Rename/move to above.
7425 * src/Makefile.am (headers): Remove c++config.h.
7426 (myinstallheaders). Add.
7427 * Makefile*: Regenerated.
7428
7429 * bits/std_cwchar.h: Add include of c++config.h for HAVE_*
7430 definitions, so that wmemcmp, wcslen, wmemchr, etc are properly
7431 declared only if not present in the host's wchar.h.
7432
7433 * bits/locale_facets.tcc (std): Change _G_USE_STRTO* to HAVE_STRTO*.
7434
7435 * bits/std_cmath.h: Define out, for the moment. Linux has no
7436 __buitin_fsqrtl? Probably need some kind of configure trickery
7437 here as well.
7438
7439 * src/Makefile.*: Regenerate.
7440 * bits/c++config.h: Add config.h include.
7441
7442 * bits/std_cwchar.h: Remove remaining #error guard.
7443
7444 * acconfig.h: Add bits for HAVE_LC_MESSAGES.
7445
7446 * configure.in (LIBS): Replace previous effort for mbstate_t and
7447 strtold/strtof with this implementation.
7448
7449 1999 06-01 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7450
7451 * bits/std_cmath.h: Tweak. Add more functions. Use __builtin_xxx
7452 whenever possible.
7453
7454 1999-05-28 Benjamin Kosnik <bkoz@cygnus.com>
7455
7456 * bits/locale_facets.tcc (std): Eek: this left in. Autoconf bits
7457 for determining mbstate_t differences across various hosts not
7458 finished.
7459
7460 1999-05-26 Benjamin Kosnik <bkoz@nabi.net>
7461
7462 * bits/locale_facets.tcc: Change to ifdef.
7463
7464 * bits/std_sstream.h (stringbuf::setbuf): Remove dynamic_cast.
7465 * bits/std_fstream.h (filebuf::setbuf): Same.
7466
7467 * bits/std_istream.h: Add ws declaration.
7468 * bits/istream.tcc: Stub out definition.
7469
7470 * docs/index.html: Fix broken link for design.txt.
7471
7472 * configure.in: Test for mbstate_t. If wchar.h doesn't have it,
7473 then set _G_NEED_MBSTATE_T.
7474 * configure: Regenerate.
7475 * bits/c++config.h: Move mbstate_t define.
7476 * bits/std_cwchar.h: To here.
7477
7478 1999-05-25 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7479
7480 * bits/std_sstream.h:
7481 basic_stringbuf<>::basic_stringbuf: fix.
7482 basic_stringbuf<>::setbuf:
7483 remove the temporary __string_type object,
7484 remove the unnecessary dynymic_cast in the return value,
7485 change the type of the returned value from __streambuf_type*
7486 to basic_stringbuf<_CharT, _Traits, _Alloc>*.
7487
7488 1999-05-25 Phil Edwards <pedwards@ball.com>
7489
7490 * bits/std_streambuf.h (streambuf::setbuf): Always return streambuf*.
7491
7492 1999-04-25 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7493
7494 * bits/std_cmath.h: Tweak. Add float versions of the math functions
7495 in <math.h>. <cmath> still incomplete and incorrekt.
7496
7497 1999-05-24 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7498
7499 * mknumeric_limits (LDFLAGS): set appropriate link flags.
7500
7501 1999-05-23 Phil Edwards <pedwards@ball.com>
7502
7503 * docs/17_intro/howto.html: Added links to text docs,
7504 e.g., BUGS.
7505 * docs/21_strings/howto.html: Updated sections and links.
7506 * docs/21_strings/{gotw29a.txt,stringtok_h.txt}: Added.
7507 * docs/faq/index.html: Updated what-works for sixth
7508 snapshot. Also a number of "internal" links have been
7509 fixed, now that the web pages are the docs directory...
7510 * docs/faq/index.txt: Regenerated.
7511
7512 1999-05-21 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7513
7514 * bits/basic_string.h: Add Nathan's documentation on the string class.
7515
7516 * testsuite/27_io/ios_members_static.cc: New file, for testing
7517 ios_base::sync_with_stdio.
7518
7519 1999-05-21 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7520
7521 * bits/std_locale.h: Simplify includes.
7522 * bits/loccore.h: Delete.
7523 * bits/localefwd.h: Renamed, trimmed.
7524 * bits/locfacets.h: Delete.
7525 * bits/locale_facets.h: Rename, expanded.
7526 * bits/loccore.tcc: Deleted.
7527 * bits/locfacets.tcc: Deleted.
7528 * bits/locale_facets.tcc: Resultant merge.
7529 * bits/std_fstream.h: Modify include.
7530 * bits/ostream.tcc: Same.
7531 * bits/istream.tcc: Same.
7532
7533 * src/locale-inst.cc: And here.
7534 * src/locale.cc: Ditto.
7535 * src/Makefile.am: Updated.
7536 * src/Makefile.in: Rengenerated.
7537
7538 * bits/std_istream.h: Move istream::sentry ctor definition.
7539 * bits/istream.tcc: Move istream::sentry ctor here.
7540 Add more detailed locale include here for ctype member functions.
7541 * bits/ostream.tcc (std): And here.
7542
7543 * bits/sbuf_iter.h: Include std_streambuf.h
7544
7545 * bits/locfacets.h: Start separating this into a localeimp.h file.
7546 * bits/loccore.h: Start separating this into a localefwd.h file.
7547 Add std_climits for CHAR_BIT.
7548
7549 * bits/ios_base.h (ios_base::sync_with_stdio): Stub in.
7550
7551 * bits/char_traits.h: Tweak.
7552
7553 * bits/ios_base.h: Remove INT_MAX, use 1<<16.
7554
7555 * bits/std_ostream.h: Remove c++config.h include.
7556 * bits/std_istream.h: Same.
7557 * bits/std_streambuf.h: Same.
7558 * bits/std_fstream.h: Same.
7559 * bits/std_sstream.h: And here.
7560
7561 * bits/std_iosfwd.h: Add _G_RESOLVE_LIB_DEFECTS here for streampos.
7562 * bits/char_traits.h: Add include of std_cwchar.h for mbstate_t.
7563 * bits/fpos.h: Tweak, format.
7564
7565 * std/ciso646: New file.
7566 * bits/std_ciso646.h: New file.
7567 * src/Makefile.am (std_headers): Add ciso646.
7568 (headers): Add bits/std_ciso646.h.
7569 * src/Makefile.in: Regenerate.
7570 * testsuite/17_intro/header_ciso646.cc: New file, disable
7571 equivalance tests.
7572
7573 * bits/fpos.h: Remove libio.h include.
7574 * bits/basic_file.h: And here.
7575 * bits/std_ios.h: Put here.
7576
7577 * src/ios.cc: Simplify includes, tweak.
7578 * bits/std_ios.h: Simplify include order.
7579 * bits/ios_base.h: Modify ios_base::failure.
7580
7581 * stl/bits/std_numeric.h: Change include from stl_iterator to
7582 std_iterator.
7583
7584 1999-05-19 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7585
7586 * std/iostream: Remove static member __ioint.
7587 * bits/std_iostream.h: Put here.
7588
7589 * stl/bits/std_numeric.h: Remove unneccessary std_iostream.h include.
7590 * stl/bits/stl_algobase.h: Same.
7591 * testsuite/27_io/iostream_objects.cc: Regression tests.
7592 * testsuite/27_io/hello.cc: Remove, subset of above.
7593
7594 1999-05-19 Phil Edwards <pedwards@ball.com>
7595
7596 * docs/index.html: Tweak, update.
7597
7598 1999-05-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7599
7600 * docs/17_intro/RELEASE-NOTES: remove outdated
7601 documentation about numeric_limits. Correct CXXINCLUDE setting
7602 documentation.
7603
7604 1999-05-18 Phil Edwards <pedwards@ball.com>
7605
7606 * docs/{17_intro,18_support,19_diagnostics,20_util,21_strings,
7607 22_locale,23_containers,24_iterators,25_algorithms,26_numerics,
7608 27_io}/howto.html: Created, with some initial entries.
7609 * docs/faq/index.html: Fixed some links.
7610 * docs/faq/index.txt: Regenerated.
7611
7612 1999-05-18 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7613
7614 * bits/c++config.h (__GLIBCPP__): Set version to 19990518.
7615
7616 * docs/17_intro/RELEASE-NOTES: Update.
7617 * docs/index.html: Correct link to mailing list help page, update News.
7618 * docs/faq/index.html: Change fifth to sixth for snapshot.
7619
7620 * src/Makefile.am (myinstallheaders): Bring over Gaby's changes to
7621 install $(top_builddir)/bits/std_limits.h into
7622 $(myincludepfx)/bits. This was mistakenly omitted from yesterday's
7623 Makefile.am changes.
7624 * *Makefile*: Regenerate using automake.
7625
7626 * mkcheck (LOG_FILE): Fix filebuf directory oddness.
7627 * testsuite/27_io/filebuf.cc: Same.
7628
7629 1999-05-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7630
7631 * docs/17_intro/CHECKLIST: update.
7632 * docs/17_intro/TODO: update.
7633
7634 1999-05-17 Phil Edwards <pedwards@ball.com>
7635
7636 * docs/{17_intro,18_support,19_diagnostics,20_util,21_strings,
7637 22_locale,23_containers,24_iterators,25_algorithms,26_numerics,
7638 27_io}/howto.html: Created, with some initial entries.
7639 * docs/faq/index.html: Fixed some links.
7640 * docs/faq/index.txt: Regenerated.
7641
7642 1999-05-17 Benjamin Kosnik <bkoz@unhappy.cygnus.com>
7643
7644 * src/Makefile.am (myinstallheaders): Missed removing missing.h.
7645 * Makefile.in*: Regenerate.
7646
7647 1999-05-17 Benjamin Kosnik <bkoz@happy.cygnus.com>
7648
7649 * bits/std_streambuf.h: Same.
7650
7651 * bits/loccore.h (_Bad_use_facet): Remove bits warned about.
7652 * bits/locfacets.h (std): Same.
7653 * bits/sstream.tcc: Same.
7654 * testsuite/27_io/stringstream.cc: Tweak.
7655
7656 * testsuite/27_io/filebuf.cc: Adjust.
7657 * testsuite/21_strings/capacity.cc (test01): Add more
7658 string::reserve tests.
7659
7660 * bits/c++config.h: Remove broken CCTYPE.
7661 * bits/std_cctype.h: Tweak, remove de-macroization, enable
7662 sequestered topper implementation.
7663 * bits/std_cwctype.h: Same.
7664
7665 * bits/missing.h: Remove.
7666 * bits/std_locale.h: Remove missing.h include.
7667
7668 * stl/bits/std_bitset.h (bitset::bitset(string): Tweak to compile.
7669
7670 * src/Makefile.am (headers): Add bits/std_cwctype.h.
7671 INCLUDES: Add top_builddir.
7672 * src/Makefile.in: Regenerate.
7673
7674 * Makefile.am: Add check and check-install as new targets.
7675 * testsuite/make_check_libfree++: Move to. . .
7676 * mkcheck: Here.
7677 * configure.in: Tweak versions.
7678 * mknumeric_limits: Set paths correctly.
7679
7680 1999-05-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7681
7682 * src/Makefile.in (myinstallheaders): add rule to install
7683 std_limits.h.
7684
7685 * bits/slice.h (class slice): don't const-qualify data members
7686 since the copy and assignment operator is implicitly used. The
7687 valarray specification is definitively a bad one.
7688
7689 * Makefile.in (generate-limits-sources): fix typo.
7690
7691 * docs/text/TODO: update.
7692 * docs/text/CHECKLIST: update.
7693
7694 * bits/gslice.h (gslice): fix bugglet.
7695 (gslice::gslice): set _M_index_size to 0 whenever given lengths
7696 (lj) of size zero.
7697
7698 * src/Makefile.am (libstdc___la_SOURCES): add gen-num-limits.
7699 * src/Makefile.in (libstdc___la_SOURCES): keep in sync.
7700 [Note: **/Makefile.in should be generated from the corresponding
7701 Makefile.am. The current situation is a litte chaotic. ]
7702
7703 1999-05-16 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7704
7705 * mknumeric_limits: tweak.
7706
7707 * Makefile.in (all): add target generate-limits-sources.
7708 (generate-limits-sources): make a directory bits/ in top_builddir
7709 where the generated std_limits.h is put; generate limitsMEMBERs.cc
7710 directly under $(top_builddir)/src. Remains to put the appropriate
7711 rule for installing std_limits.h.
7712
7713 * src/Makefile.in (headers): remove bits/std_limits.h to this list.
7714 (INCLUDES): add -I$(top_builddir) for bits/std_limits.h which is
7715 now generated at build-time in the build directory
7716 (libstdc___la_SOURCES): remove limitsMEMBERS.cc form this list
7717 * src/Makefile.am: reflect changes in src/Makefile.in
7718
7719 1999-05-12 Phil Edwards <pedwards@ball.com>
7720
7721 * docs/faq/index.html: Add more entries (5.4,5.5), finish
7722 all but one empty entry. Add links for HOWTOs, but no files yet.
7723 (Corrected HOWTO links are for bkoz's new scheme.)
7724 * docs/faq/index.txt: Regenerated.
7725
7726 1999-05-12 Benjamin Kosnik <bkoz@happy.cygnus.com>
7727
7728 * testsuite/17_intro/headers.cc: New file.
7729 * stl/bits/std_queue.h: Change stl_bvector.h include path.
7730 * bits/std_cwctype.h: New file.
7731
7732 * testsuite/27_io/filebuf.cc: Need to tweak directory structure.
7733
7734 1999-05-11 Benjamin Kosnik <bkoz@loony.cygnus.com>
7735
7736 * stl/bits/stl_config.h (__USE_MALLOC): Change underlying allocator.
7737 Check __USE_MALLOC before defining specializations containing
7738 __default_alloc_template.
7739 * src/stl-inst.cc: Here too.
7740
7741 * bits/basic_string.h: Change.
7742
7743 * testsuite/make_check_libfree++: More tweaks.
7744 * testsuite/21/capacity.cc: New file.
7745
7746 * src/string.cc: Rename to be consistent with other inst files.
7747 Rename to string-inst.cc.
7748 * src/string*.cc: Change include.
7749 * src/wstring.cc: Rename to wstring-inst.cc.
7750 * src/wstring*.cc: Ditto.
7751 * src/Makefile.in: Also here.
7752 * src/Makefile.am: Ditto.
7753
7754 * src/traits.cc: Remove.
7755 * src/wtraits.cc: Same.
7756
7757 Try a new way of organizing documentation, one with synchronicity
7758 between testsuites and docs subdirectories, and see who yelps.
7759 * docs/html: Remove, use chapter and subject specific directories
7760 instead of forcing things immediately into format of
7761 documentation.
7762 * docs/text: Same.
7763 * docs/image: Same.
7764 * docs/faq/text, docs/faq/html: Remove, put in the docs/faq
7765 directory and sort by filename and extension.
7766 * docs/17_intro, 18_support, 19_diagnostics, 20_util, 21_strings,
7767 22_locale, 23_containers, 24_iterators, 25_algorithms,
7768 26_numerics, 27_io: Add.
7769 * docs/17_intro/*: Populate with all the text files. . .
7770 * docs/index.html: Construct.
7771
7772 * testsuite/*: Update with same names as the docs subdir.
7773 * testsuite/results: Where to stash conformance results for the
7774 different snapshots, so that progress/size/speed issues can be
7775 tracked over time.
7776
7777 1999-05-10 Benjamin Kosnik <bkoz@loony.cygnus.com>
7778
7779 * src/string.cc: Add _S_copy_chars instantiation, as well as
7780 string::binary operators !=, ==, etc.
7781
7782 * src/Makefile.am (CXXFLAGS): Remove -fvtable-thunks.
7783 * src/Makefile.in (CXXFLAGS): Same here.
7784 * testsuite/make_check_libfree++ (CXX_FLAG): And here.
7785
7786 1999-05-07 Benjamin Kosnik <bkoz@cygnus.com>
7787
7788 * src/string.cc: Add missing member functions to instantiation list.
7789
7790 1999-05-07 Benjamin Kosnik <bkoz@cygnus.com>
7791
7792 * src/misc-inst.cc: Remove unused string instantiations.
7793
7794 * bits/string.tcc: Tweak, fix.
7795 * bits/basic_string.h: Format. Fix reported error with c_str().
7796
7797 * testsuite/make_check_libfree++: Tweak for shared builds.
7798 * testsuite/21/operations.cc: New file for testing c_str() etc.
7799
7800 1999-05-06 Benjamin Kosnik <bkoz@cygnus.com>
7801 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7802
7803 * stl/bits/stl_vector.h: Fix the code of vector<> for usage with
7804 an iterator class. Delineate pointer versus iterator differences
7805 in implementation.
7806 * 23/vector_capacity.cc: New file, tests for above.
7807
7808 1999-05-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7809
7810 * mknumeric_limits: Fix typo. 'unsigned lont' should read
7811 'unsigned long'.
7812 * src/Makefile.am (libstdc___la_SOURCES): add limitsMEMBERS.cc,
7813 generated by mknumeric_limits to the list. Now std_limits.h is
7814 basically working.
7815 * src/Makefile.in (generate-numeric-limits): new target to handle
7816 automatic generation of bits/std_limits.h and src/limitsMEMBERS.cc.
7817 (all): add target generate-numeric-limits.
7818 (libstdc___la_OBJECTS): add limitsMEMBERS.lo
7819 (libstdc___la_SOURCES): add limitsMEMBERS.cc
7820
7821 1999-05-05 Benjamin Kosnik <bkoz@cygnus.com>
7822
7823 Irix build issues.
7824 * bits/c++config.h (_G_USE_CTYPE_ISBIT): Defines new macro for
7825 mask values in ctype_base. Move hacks for _ISBit to locfacets.h.
7826 * bits/locfacts.h: Here.
7827
7828 1999-05-05 Benjamin Kosnik <bkoz@cygnus.com>
7829 Ulrich Drepper <drepper@cygnus.com>
7830
7831 Solaris build issues.
7832 * bits/c++config.h: Define new macros, _G_USE_STRTOF and
7833 _G_USE_STRTOLD.
7834
7835 * bits/locfacets.tcc (num_get::do_get): Tweak long double and
7836 float overloads to use the above macros. Account for the lack of
7837 strtold on some systems, and revert back to using sscanf.
7838
7839 1999-05-04 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7840
7841 * bits/locfacets.tcc (num_get::do_get): Check the errno variable.
7842 Use strtoul/strtoull for unsigned types. Check the ranges for
7843 short/unsigned short and if necessary for int/unsigned int.
7844
7845 1999-05-04 Benjamin Kosnik <bkoz@cygnus.com>
7846
7847 * src/gen-num-limits.cc (round_style): Need to use mknumericlimits
7848 to generate bits/std_limits.h now, as the SGI std_limits.h is
7849 being depricated. Not done, but should be done immediately: need
7850 to make sure this script is run as part of the configuration
7851 process, because without it "make" in a configured build directory
7852 will fail. Also tweaked: added a space for float_round_style, and
7853 used static_cast of zero to default-initialize, which should be ok
7854 according to the standard. (see 8.5 p5 and 20.1.3).
7855 * mknumeric_limits (OUT_C): Need this for x86 long
7856 double extensions.
7857
7858 * bits/basic_file.h: Include libio.h, not libioP.h.
7859 * src/basic_file.cc: And add libioP.h include here, so that
7860 _IO_init, et. al are well-declared.
7861
7862 * testsuite/make_check_libfree++ (LIB_PATH): Test installed
7863 headers, not source directory headers.
7864
7865 * src/Makefile.am (headers): Add stl_range_errors.h, also adjust
7866 for ext/*. Also add basic_file.h.
7867 * src/Makefile.in (headers): Same.
7868
7869 * bits/std_string.h: Reduce dependencies for faster
7870 pre-processing. Move istream and ostream specific defines into
7871 istream.tcc and ostream.tcc respectively.
7872 * bits/string.tcc: And here.
7873 * bits/basic_string.h: Move getline inline out-of-line, and to
7874 istream.tcc.
7875 * bits/istream.tcc: Move string::getline and operator>> here.
7876 * bits/ostream.tcc: And here too.
7877
7878 * bits/utility.h: Remove, as clashes with a standard header. Put
7879 __OUTOFRANGE and __LENGTHERROR macros into string.tcc for the time
7880 being, until this can be combined with SGI's approach.
7881 * bits/string.tcc: Add macros, as above.
7882 * bits/loccore.h: Add _Count_ones defines.
7883 * bits/std_string.h: And here too.
7884 * bits/std_locale.h: And here.
7885 * bits/std_ios.h: Take out include here.
7886 * src/Makefile.am (headers): Remove utility.h
7887 * src/Makefile.in (headers): Remove utility.h
7888
7889 * stl/bits/*: Update to SGI STL 3.20.
7890 * stl/ext/pthread_alloc: Delete this file.
7891
7892 1999-05-04 Phil Edwards <pedwards@ball.com>
7893
7894 * docs/faq/html/index.html: Add more entries
7895 * docs/faq/html/index.txt: regenerated.
7896
7897 1999-05-04 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7898
7899 * src/gen-num-limits.cc (DO_DEFINE_MIN_MAX): fix typo.
7900
7901 1999-04-29 Benjamin Kosnik <bkoz@haight.cygnus.com>
7902
7903 * bits/locfacets.tcc (num_get::do_get): Re-implement, with input
7904 from Ulrich and Nathan. Remove extraneous string class usage,
7905 tweak, clean, simplify and consolidate with a eye towards removing
7906 duplcate code. Use strto[l, ll, f, d, ld] instead of sscanf.
7907 Not done: dealing with leading zeros, wchar_t work.
7908 * bits/locfacets.h: And here too.
7909
7910 * doc: Remove.
7911
7912 1999-04-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7913
7914 * docs/: add a FAQ.
7915 * docs/faq/: New directory.
7916 * docs/faq/html/: Likewise.
7917 * docs/faq/text/: Likewise.
7918 * docs/faq/html/index.html: New file.
7919 * docs/faq/html/index.txt: Likewise. Generated from
7920 docs/faq/html/index.html by lynx.
7921
7922 1999-04-28 Benjamin Kosnik <bkoz@happy.cygnus.com>
7923 Ryszard Kabatek and Branko Cibej
7924
7925 * bits/locfacets.tcc: Modify.
7926
7927 1999-04-27 Benjamin Kosnik <bkoz@happy.cygnus.com>
7928
7929 * bits/sbuf_iter.h: Clean, fix istreambuf_iterator, make
7930 conformant to 14882, wrap non-standard extensions with
7931 _G_RESOLVE_LIB_DEFECTS, remove detritus and cruft, rennovate.
7932 * bits/locfacets.tcc (num_get::do_get(bool)): Return correct iterator.
7933
7934 * testsuite/27/istringstream_formatted.cc: Add tests.
7935
7936 * bits/locfacets.h: Remove cruft from _Format_cache, continue
7937 commenting, simplify.
7938 * bits/locfacets.tcc: Same.
7939
7940 1999-04-27 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7941 * bits/locfacets.tcc (num_get::do_get):
7942 Fix the sscanf format parameter
7943 for long long 'll' (as in C9X) instead of 'l'.
7944 Fix the order of sscanf format parameters: "%dl" --> "%ld".
7945 Change the type of the local variable '__conv' from 'string'
7946 to 'const char*' and adapt the change.
7947
7948 1999-04-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
7949
7950 * bits/locfacets.h: Document _Format_cache, and name data members
7951 after the corresponding functions in numpunct. For instance:
7952 _M_grsep -> _M_thousands_sep, and _M_decsep -> _M_decimal_point.
7953 Break apart _M_boolnames{2] into _M_truename and _M_falsename.
7954 * bits/locfacets.tcc: Same.
7955
7956 * bits/locfacets.h (num_get::_M_extract): Don't allow groupings to
7957 stop parsing--store for later analysis.
7958 * testsuite/27/istringstream_formatted.cc: Add cases.
7959
7960 1999-04-25 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7961
7962 * bits/valarray_meta.h: tweak.
7963 (_UnFunBase, _BinFunBase, _BinFunBase1, _BinFunBase2, _BinBase1,
7964 _BinFunBase2): rename typedef-name _Tp to _Vt to keep the compiler
7965 happy -- boggus warning.
7966 * bits/std_valarray.h: Fix.
7967 (valarray<T>::shift): Fix. Update comment.
7968 (valarray<T>::cshift): Fix.
7969
7970 1999-04-23 Benjamin Kosnik <bkoz@cygnus.com>
7971
7972 * testsuite/27filebuf-2.txt: Delete.
7973 * testsuite/27/filebuf.cc: Put output files directly into the
7974 correct subdirectory (27).
7975
7976 Alexandre Petit-Bianco <apbianco@cygnus.com>
7977 * testsuite/make_check_libfree++: Check generated (*.txt) file
7978 against stored results file (*.tst).
7979
7980 1999-04-22 Benjamin Kosnik <bkoz@nabi.net>
7981
7982 * bits/locfacets.tcc: Fix.
7983
7984 * bits/fstream.tcc (filebuf::seekoff): Output current out pointer.
7985 (filebuf::overflow): Simplify.
7986 (filebuf::xsputn): Correctly handle indeterminate state.
7987
7988 * testsuite/27/istringstream_formatted.cc: Tweak.
7989 * testsuite/27/filebuf.cc: Tweak.
7990 * testsuite/27/filebuf-3.tst: Correct: this is the canonical
7991 results file, please use this in the future to guarantee filebuf
7992 positioning accuracy.
7993 * testsuite/27/filebuf-2.tst: Same.
7994
7995 1999-04-21 Benjamin Kosnik <bkoz@cygnus.com>
7996
7997 * bits/fstream.tcc (filebuf::xsputn): Add.
7998 * bits/std_fstream.h: Declare.
7999
8000 * src/basic_file.cc (__basic_file::open): Add O_CREAT to open
8001 calls using ios_base::trunc.
8002
8003 * bits/sstream.tcc (streambuf::overflow): Fix crasher.
8004
8005 * testsuite/make_check_libfree++ (LOG_FILE): Ugh. Another fix.
8006 * testsuite/27/27stringstream.cc: Same.
8007 * testsuite/27/27stringbuf.cc: More tweaks.
8008 * testsuite/27/27filebuf-2.txt: Remove.
8009
8010 * testsuite/27/27filebuf-1.tst: Append, to force byte size over
8011 BUFSIZE so that overflows/underflow can be tested with default
8012 buffer setting.
8013 * testsuite/27/27filebuf-1.tst: Add.
8014
8015 * testsuite/*/*: Remove pre-pended chapter names, as they
8016 duplicate the chapter info contained in the enclosing directory
8017 anyway.
8018
8019 1999-04-20 Benjamin Kosnik <bkoz@cygnus.com>
8020
8021 * bits/streambuf.tcc (streambuf::xsputn): Re-implement to conform
8022 to sputc conditions.
8023
8024 * bits/ios_base.h: Define here.
8025 * src/ios.cc (ios_base::_M_clear): Remove hack.
8026 * bits/basic_ios.h: Fix rdstate().
8027
8028 * bits/sstream.tcc (streambuf::seekoff): Fix.
8029 * bits/fstream.tcc (filebuf::seekoff): Tweak comments.
8030
8031 * testsuite/make_check_libfree++ (LOG_FILE): More c-c-c-changes.
8032 * testsuite/24/24iterator.cc: Add/Fixes for DEBUG_ASSERT.
8033 * testsuite/27/27stringstream.cc: Same.
8034 * testsuite/27/27stringbuf.cc: Same.
8035 * testsuite/27/27istringstream_formatted.cc: Same.
8036 * testsuite/27/27filebuf.cc: Same.
8037
8038 * bits/locfacets.h: Remove specializations for messages<char> and
8039 messages<wchar_t> ctors. Same for moneypunct. Not required, not used.
8040 * src/locale.cc: Remove definitions for above.
8041 * src/misc-inst.cc: Revert, take out iomanip.h include.
8042 * bits/std_iomanip.h: Tweak, format.
8043
8044 1999-04-19 Benjamin Kosnik <bkoz@cygnus.com>
8045
8046 * bits/loccore.h: Format, move inline.
8047 * bits/locfacets.tcc: Same.
8048 * bits/locfacets.h: Same.
8049
8050 Ulrich Drepper <drepper@cygnus.com>
8051 * aclocal.m4: Re-generate.
8052 * configure, configure.in: Same.
8053 * m4/lc_messages.m4: New file.
8054
8055 1999-04-18 Benjamin Kosnik <bkoz@cygnus.com>
8056
8057 * bits/std_ostream.h: Fix typedef for wchar_t instantiations.
8058 * bits/sstream.tcc: Tweak.
8059
8060 * std/iostream: Put __ioinit inside macro guards.
8061
8062 * src/stlinst.cc: Delete and move to . . .
8063 * src/stl-inst.cc: New file, plus wrapping in namespace std.
8064 * src/Makefile.in: Change.
8065 * src/Makefile.am: Same.
8066 * src/misc-inst.cc: Add istringstream/ostringstream instantiations.
8067
8068 * testsuite/make_check_libfree++: Efficiently format for minimal
8069 space. Enforce stricter execution tests by enabling
8070 -DDEBUG_ASSERT.
8071
8072 1999-04-16 Benjamin Kosnik <bkoz@cygnus.com>
8073
8074 * docs/text/RELEASE-NOTES: Fix include typo.
8075
8076 * src/Makefile.am (headers): Add istream.tcc.
8077 * src/Makefile.in (headers): Add istream.tcc.
8078
8079 * ltconfig, ltmain.sh, libtool: Update to libtool-1.2g.
8080
8081 1999-04-16 Benjamin Kosnik <bkoz@cygnus.com>
8082
8083 * bits/locfacets.tcc (num_get::do_get(long)): Finish roughing in.
8084 * bits/locfacets.h (num_get::_M_extract): New functin:
8085 consolidate logic for do_get(...) members.
8086
8087 * bits/sbuf_iter.h (istreambuf_iterator::operator++()): Fix.
8088 * testsuite/27/27istringstream_formatted.cc: Add.
8089
8090 1999-04-16 Martin v. Loewis <martin@mira.isdn.cs.tu-berlin.de>
8091
8092 * src/basic_file.cc (__basic_file::open): Fix thinko in
8093 _G_HAVE_IO_FILE_OPEN bits.
8094 * bits/std_istream.h (sentry::sentry(istream, bool)): Fix isspace bug.
8095 * bits/std_cmath.h: Add stdlib.h include for ldiv_t.
8096 * src/complex.cc (FCT): Qualify all functions with global namespace.
8097 * src/locale.cc: Don't qualify memcpy and setlocale.
8098 * src/stdexcept.cc (__out_of_range): Qualify out_of_range with std::.
8099 (__length_error): Likewise, for length_error.
8100 * src/stlinst.cc: Qualify instantiations with std::.
8101
8102 1999-04-15 Benjamin Kosnik <bkoz@cygnus.com>
8103
8104 * C++STYLE: Add ChangeLog guidelines for member functions.
8105
8106 * doc/* : Delete.
8107 * BADNAMES, BUGS, C++STYLE, CHECKLIST, COPYING,
8108 DESIGN, HEADER_POLICY, PROBLEMS, RELEASE-NOTES, TODO: Moved into
8109 docs/text and made less strident.
8110
8111 * bits/fstream.tcc: Change non-standard ctor to match Sun's sematics.
8112 * bits/std_fstream.h: Same.
8113 * src/ios.cc: Same.
8114
8115 * bits/locfacets.h: Touch.
8116
8117 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
8118
8119 * math/cexp.c (cexp): Use NAN instead of nan("").
8120 Reported by joel reed <joelreed@yahoo.com>.
8121
8122 * libio/libioP.h: Define _IO_seek_fpos_t and _IO_seek_off_t based on
8123 _G_IO_IO_FILE_VERSION. Use these types in the prototypes.
8124 * libio/fileops.c: Use _IO_seek_fpos_t and _IO_seek_off_t types
8125 instead of #if cascades.
8126 * libio/genops.c: Likewise.
8127 * libio/ioseekoff.c: Likewise.
8128 * libio/ioseekpos.c: Likewise.
8129 * libio/strops.c: Likewise.
8130 Patch by Chip Salzenberg <chip@perlsupport.com>.
8131
8132 1999-04-15 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
8133
8134 * docs: New directory.
8135 * docs/html: Likewise.
8136 * docs/text: Likewise.
8137 * docs/image: Likewise.
8138
8139 * bits/std_cmath.h: Add new functions.
8140 (abs): overload for long and double.
8141 (div): overload for long.
8142
8143 * bits/valarray_array.h: Fix.
8144 * bits/gslice.h: Adjust friend.
8145 * bits/slice_array.h: likewise.
8146 * bits/valarray_meta.h: likewise.
8147
8148 1999-04-13 Benjamin Kosnik <bkoz@tintin.cygnus.com>
8149
8150 * bits/locfacets.h: More changes, for num_get for insertion
8151 operators for integral types. Comment fields in _Format_cache.
8152 * bits/locfacets.tcc: And here too: add preliminary long version.
8153 * testsuite/27/27istringstream_formatted.cc: Add cases.
8154
8155 1999-04-13 Mark Elbrecht <snowball3@usa.net>
8156
8157 * configure.in: Add locale.h to AC_CHECK_HEADERS argument. Call
8158 AC_LC_MESSAGES macro.
8159 * aclocal.m4 (AC_LC_MESSAGES): New. Determines if a target
8160 supports LC_MESSAGES.
8161 * config.h.in: Add entry for HAVE_LC_MESSAGES.
8162 * src/locale.cc (locale::_S_normalize_category): Use the
8163 HAVE_LC_MESSAGES macro to check for LC_MESSAGES support instead of
8164 _G_NO_CLOCALE_HAS_MESSAGES.
8165 * aclocal.m4 (AM_PROG_LD): For DOS style paths, simplify test to
8166 '?:' from '?:\\' so any path beginning with a drive name matches.
8167
8168 1999-04-12 Mark Elbrecht <snowball3@usa.net>
8169
8170 * src/basic_file.cc(sys_open) [O_BINARY]: Declare __testb.
8171
8172 1999-04-12 Benjamin Kosnik <bkoz@tintin.cygnus.com>
8173
8174 * bits/locfacets.h: Tweak.
8175 * bits/locfacets.tcc(do_get): Clean/fix bool method.
8176
8177 * testsuite/21/21nonmember.cc: Same.
8178 * testsuite/21/21compare.cc: Fix license.
8179 * testsuite/27/27istringstream_formatted.cc: New file.
8180
8181 1999-04-12 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
8182
8183 * bits/valarray_meta.h: _BinFunBase1, _BinFunBase2, _BinBase1,
8184 _BinBase2: new template classes; put in there to work around a
8185 compiler limitation. The whole valarray architecture is now
8186 working.
8187
8188 1999-04-08 Benjamin Kosnik <bkoz@haight.constant.com>
8189
8190 * bits/locfacets.tcc: Fix, format.
8191 * bits/locfacets.h: Fix.
8192 * src/locale.cc: Same, plus format.
8193
8194 * bits/basic_string.h: Re-add definition here.
8195 * src/string.cc: Take out.
8196
8197 1999-04-08 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
8198
8199 * bits/std_valarray.h: tweak.
8200 * bits/valarray_array.h tweak. use _Expr.
8201 * bits/slice_array.h: likewise.
8202 * bits/gslice_array.h: likewise.
8203 * bits/mask_array.h: likewise.
8204 * bits/indirect_array.h: likewise.
8205 * bits/valarray_meta.h: tweak.
8206 _UnFunBase, _UnFunClos, _BinFunBase, _FunBase, _ValFunClos,
8207 _RefFunClos, _UnBase, _UnClos, _BinBase, _BinClos, _SClos, _GClos,
8208 _IClos: new template classes.
8209 _Meta: renamed to _Expr. Made template with args.
8210 _Constant: made template with two args.
8211
8212 1999-04-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
8213
8214 * bits/valarray_array.h: tweak.
8215
8216 1999-04-06 Benjamin Kosnik <bkoz@cygnus.com>
8217
8218 * bits/basic_string.h: Whoops--fix blip.
8219
8220 1999-04-06 Benjamin Kosnik <bkoz@cygnus.com>
8221
8222 Update to SGI STL 3.13
8223 * bits/basic_string.h: Add __get_c_string definition.
8224 * stl/bits/stl_range_errors.h: New file.
8225 * stl/bits/std_bvector.h: Same.
8226 * stl/bits/*: Update.
8227
8228 1999-04-04 1999 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
8229
8230 * bits/slice_array.h: tweak.
8231 * bits/gslice_array.h: tweak.
8232 * bits/mask_array.h: tweak.
8233 * bits/indirect_array.h: tweak.
8234 * bits/valarray_array.h: tweak.
8235 (__valarray_copy): replace copy with memcpy.
8236 * bits/std_valarray.h: use __valarray_copy whenever possible.
8237 use __valarray_fill instead of fill.
8238
8239 1999-04-02 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
8240
8241 * src/gen-num-limits.cc: new file
8242 * mknumeric_limits: Ditto.
8243
8244 1999-03-30 Benjamin Kosnik <bkoz@cygnus.com>
8245
8246 * bits/locfacets.tcc: Do a stub version of num_get for short, int,
8247 and long types.
8248 * bits/locfacets.h: Add num_get::get methods overloaded for int
8249 and short, to resolve ambiguous overloads in istream insertion
8250 operators.
8251
8252 1999-03-30 Benjamin Kosnik <bkoz@cygnus.com>
8253
8254 * bits/std_istream.h: Fix.
8255 * bits/istream.tcc: Fix.
8256
8257 1999-03-30 Philip Martin <pm@corris.dircon.co.uk>
8258
8259 * testsuite/24/24iterator.cc: fix ++/-- tests
8260
8261 1999-03-29 Benjamin Kosnik <bkoz@cygnus.com>
8262
8263 * bits/std_ostream.h: Looks like this, actually: Fix up eh-isms.
8264 * bits/ostream.tcc: Same.
8265
8266 * bits/std_istream.h: Bring over ostream changes, implement member
8267 functions. Baseline.
8268 * bits/istream.tcc: New file.
8269
8270 1999-03-26 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
8271
8272 * bits/gslice.h (class gslice): fix friends template.
8273
8274 1999-03-23 Benjamin Kosnik <bkoz@cygnus.com>
8275
8276 * bits/std_ostream.h: Fix sentry objects, implement seekp, tellp,
8277 delete cruft, etc.
8278 * bits/ostream.tcc: Same.
8279
8280 * bits/std_istream.h: Minor tweaks.
8281
8282 1999-03-18 Benjamin Kosnik <bkoz@cygnus.com>
8283
8284 * src/locale-inst.cc: Remove duplicate instantiations.
8285 * bits/locfacets.tcc: Tweak definitions of static member.
8286
8287 1999-03-18 Benjamin Kosnik <bkoz@cygnus.com>
8288
8289 * bits/std_fstream.h: Format: prepend "__" in front of
8290 non-standard typedefs.
8291 * bits/fstream.tcc: Match.
8292 * bits/std_streambuf.h: Format: prepend "__" in front of
8293 non-standard typedefs.
8294
8295 * bits/sstream.tcc: Match.
8296 * bits/std_istream.h: Format.
8297 * src/locale-inst.cc: Add num_get instantiations.
8298
8299 * bits/std_sstream.h: Fix crash in stringstreams. Remove member
8300 _M_sb, a basic_stringbuf object, and use the basic_ios pointer
8301 _M_streambuf instead. Make initializations sane. Fix
8302 allocation/deallocation of _M_streambuf.
8303 * bits/std_ostream.h: Fix initialization code.
8304 (ctor): Eliminate redundant this->init(), let base class initialize.
8305 (default ctor): New. Assume base classes already initialzed.
8306 * bits/std_istream.h: Parallel work to ostream.
8307 (ctor): Eliminate redundant this->init(), let base class initialize.
8308 (default ctor): New. Assume base classes already initialzed.
8309 Fix initialization of basic_iostream.
8310
8311 * bits/std_fstream.h: While we're at it, make initializations sane
8312 here too. Now matches sstream.h.
8313
8314 * bits/string.tcc: Fix crash in basic_string::compare.
8315 * bits/basic_string.h: And here.
8316 * bits/c++config.h: Add comment about _G_USE_EXCEPTIONS.
8317
8318 * testsuite/make_check_libfree++: Check shared as well.
8319 * testsuite/27/27stringstream.cc: Add bits.
8320 * testsuite/27/27boolfmt.cc: Add bits.
8321 * testsuite/27/27octfmt.cc: Add bits.
8322
8323 1999-03-17 Benjamin Kosnik <bkoz@happy.cygnus.com>
8324
8325 * configure.in (USE_LONG_DOUBLE): signbitl link error.
8326
8327 * bits/locfacets.h: Fix errors that cause build problems
8328 with current egcs (template parameters have class scope).
8329 * bits/locfacets.tcc: Same.
8330 * src/locale-inst.cc: Same, clean.
8331 * src/misc-inst.cc: Same, clean.
8332
8333 1999-03-17 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8334
8335 * stl/bits/std_memory.h: Modify auto_ptr::reset to reflect the
8336 standard. Re-apply this previous patch.
8337
8338 1999-03-17 Philip Martin <pm@corris.dircon.co.uk>
8339
8340 * bits/basic_string.h: Use __normal_iterator<> for iterators.
8341 * bits/std_sstream.h: Support __normal_iterator<> iterators.
8342 * bits/string.tcc: Ditto.
8343 * src/misc-inst.cc: Ditto.
8344 * src/locale-inst.cc: Ditto.
8345 * stl/bits/stl_iterator.h: Add __normal_iterator<>.
8346 * stl/bits/stl_vector.h: Use __normal_iterator<> for iterators.
8347 * testsuite/24/24iterator.cc: Add test cases for basic_string and
8348 vector iterators.
8349
8350 1999-03-16 Benjamin Kosnik <bkoz@cygnus.com>
8351
8352 * bits/locfacets.tcc: Remove macro hack.
8353 * bits/locfacets.h: Tweaks.
8354 * src/misc-inst.cc: Weed out locale-related instantiations.
8355 * src/locale-inst.cc: Same.
8356
8357 * RELEASE-NOTES: Make more changes.
8358 * bits/c++config.h: Bump version number.
8359
8360 * testsuite/make_check_libfree++: Collect diagnostics.
8361
8362 * bits/std_ostream.h: Fix ostream initialization/destruction
8363 problem, related to dtor cleanup and new cached facets, agggggggh.
8364 * bits/ostream.tcc: Tweak.
8365 * bits/locfacets.h: Remove all friends of iostream classes.
8366 * bits/ios_base.h: Same.
8367 * bits/streambuf.tcc: Tweak.
8368 * bits/std_streambuf.h: Tweak.
8369 * bits/std_fstream.h: Tweak.
8370 * bits/fstream.tcc: Tweak.
8371 * src/stdstreams.cc: Tweak.
8372 * src/ios.cc: Close streams.
8373
8374 * math/Makefile.in: Add missing files for shared link errors.
8375 * math/Makefile.am: Same.
8376
8377 1999-03-15 Benjamin Kosnik <bkoz@cygnus.com>
8378
8379 * src/locale-inst.cc: More wchar_t instantiations.
8380 * src/misc-inst.cc: Missed a few bits.
8381 * testsuite/make_check_libfree++: Add static and shared runs.
8382 * src/ios.cc: Add clarity to ios_base::Init::~Init().
8383
8384 1999-03-15 Benjamin Kosnik <bkoz@cygnus.com>
8385
8386 * bits/std_ostream.h: Format, expunge, simplify. Add cached
8387 facets. Resolve link errors.
8388 * bits/ostream.tcc: Same.
8389 * src/misc-inst.cc: Add ostream, wostream instantiations.
8390 * src/Makefile.am: Add missing bits for stdstreams.cc.
8391 * src/Makefile.in: Same.
8392 * bits/std_iosfwd.h: Format.
8393 * bits/locfacets.h (num_put): Add basic_ostream as a friend to
8394 num_put so that cached _M_fnumput pointer can be deleted in
8395 basic_ostream's dtor. Now everybody plays nice.
8396
8397 1999-03-12 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
8398
8399 * bits/gslice.h (class gslice): Make friends valarray,
8400 gslice_array and _GliceExpression.
8401
8402 1999-03-11 Benjamin Kosnik <bkoz@cygnus.com>
8403
8404 * RELEASE-NOTES: Update.
8405 * src/ios.cc: Use do proper init.
8406 * bits/std_streambuf.h: Tweak.
8407 * bits/std_iostream.h: Take out static member.
8408 * std/iostream: Put here.
8409 * bits/std_ostream.h: Non-default ctor shouldn't smash _M_streambuf.
8410 * bits/std_istream.h: Ditto.
8411 * bits/basic_ios.h: Format.
8412 * bits/ostream.tcc(write): Fix.
8413 * bits/fstream.tcc: Fix stdstreams ctor to do a proper
8414 initialization of the fstream class.
8415 * src/stdstreams.cc: I'm baaaaaaaack.
8416
8417 1999-03-10 Benjamin Kosnik <bkoz@rhino.cygnus.com>
8418
8419 * bits/ios_base.h: Correct comments. Add ios_base::init()
8420 functionality. Format, tweak, expunge, clean, bathe, and hang to dry.
8421 * src/misc-inst.cc: Add instantiations here.
8422 * src/ios.cc: Clean.
8423 * bits/std_iostream.h: Add wrappers, global ios_base::Init object.
8424 * src/stdstreams.cc: Delete this file, as now unnecessary.
8425 * bits/fstream.tcc: Add missing initialization bits for ctor.
8426 * src/Makefile.am (libstdc___la_SOURCES): Delete here as well.
8427 * src/Makefile.in (libstdc___la_OBJECTS): And here.
8428
8429 * bits/streambuf.tcc: Tweak.
8430 * bits/sstream.tcc: Here too.
8431
8432 * bits/fstream.tcc: And change definition as well.
8433 * bits/std_fstream.h: Change ctor.
8434 * src/basic_file.cc (sys_open): Add call that opens a specific fileno.
8435 * bits/basic_file.h: Add declarations.
8436
8437 * testsuite/27/27hello.cc: New file.
8438
8439 * bits/std_ostream.h: Move flush() inline.
8440 * bits/ostream.tcc: From here.
8441
8442 * bits/char_traits.h: Add include of fpos.h for streamoff/streampos.
8443 * bits/std_ios.h: Change include libio to only when necessary.
8444 * bits/fpos.h: Like here.
8445 * ios_base.h: And here.
8446
8447 * bits/locfacets.h: Change _Iostate to _Ios_Iostate.
8448 * bits/locfacets.tcc: Same.
8449 * bits/std_locale.h: Include std_ios.h not std_iosfwd.h.
8450 * bits/std_iosfwd.h: Move _Ios_Iostate to ios_base.h
8451
8452 1999-03-09 Benjamin Kosnik <bkoz@rhino.cygnus.com>
8453
8454 * bits/basic_ios.h: Change _M_ctype to _M_fctype.
8455
8456 * bits/std_streambuf.h: Clean, tweak.
8457 * bits/std_fstream.h: Same.
8458 * bits/std_sstream.h: Same.
8459 * bits/streambuf.tcc: Move most member functions out-of-line.
8460 * bits/fstream.tcc: Same.
8461 * bits/streambuf.tcc: Same.
8462
8463 * bits/basic_file.h(filepos_cur): Set correctly.
8464 (filepos_beg): Same.
8465 (seekpos): Change to __c_streampos.
8466 * src/basic_file.cc (std): Change to __c_streampos.
8467
8468 * testsuite/27/27filebuf.cc: Round one is finished.
8469 * testsuite/27/27filebuf-2.tst: New file, final output should match.
8470 * testsuite/27/27filebuf-3.tst: Same.
8471
8472 1999-03-08 Benjamin Kosnik <bkoz@rhino.cygnus.com>
8473
8474 * bits/basic_file.h: Fix typo, add comments about what to expect
8475 from the various member functions in __basic_file.
8476
8477 * bits/std_fstream.h: Re-do sync/underflow to work
8478 together. Change from sys_read to xsgetn and from sys_write to
8479 xsputn. As it should have been from the beginning. . .
8480
8481 1999-03-06 Benjamin Kosnik <bkoz@haight.constant.com>
8482
8483 * bits/c++config.h (__GLIBCPP__): Add versioning macro.
8484
8485 * bits/basic_file.h(file_beg): New function.
8486 (file_cur): Ditto.
8487
8488 * testsuite/27/27filebuf.cc: Test in, out, in | out.
8489 * bits/std_fstream.h: More _M_mode refinements.
8490 (synch): Add bits for out mode only.
8491 * bits/std_streambuf.h(xsputn): Correct for filebufs.
8492 * bits/std_sstream.h: Ditto.
8493
8494 1999-03-03 Benjamin Kosnik <bkoz@cygnus.com>
8495
8496 * bits/std_fstream.h: Fix _M_mode AND with ios_base::openmode.
8497 * testsuite/27/27filebuf.cc: Modify.
8498 * bits/c++config.h: Fix.
8499
8500 1999-03-02 Benjamin Kosnik <bkoz@tintin.cygnus.com>
8501
8502 * bits/c++config.h: New macro, _G_RESOLVE_LIB_DEFECTS, used to put
8503 code in place that diverges from the final standard, but has been
8504 brought up on the library mailing list.
8505
8506 * bits/std_fstream.h(underflow): Position all three internal
8507 buffer pointers at the same initial position. Re-implement with
8508 basic_filebuf abstraction.
8509 (overflow): Ditto.
8510 (seekoff): Ditto.
8511 (seekpos): Ditto.
8512 * bits/std_sstream.h: Move _M_mode down into base class
8513 basic_streambuf.
8514 * bits/sstream.tcc: Ditto.
8515 * bits/std_streambuf.h: Ditto.
8516
8517 * testsuite/27/27filebuf.cc: Tweak.
8518
8519 1999-02-27 Benjamin Kosnik <bkoz@slap-happy.cygnus.com>
8520
8521 * bits/std_sstream.h: Ditto.
8522 * bits/std_fstream.h: Fix blip.
8523
8524 1999-02-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
8525
8526 * C++STYLE: Add cases.
8527 * bits/std_fstream.h: Format.
8528 * bits/std_streambuf.h: Ditto.
8529 * bits/std_sstream.h: Ditto.
8530
8531 * src/basic_file.cc(sys_seek): Fix stack delirium, by keeping
8532 return type for _IO_file_seek and __basic_file::seek the same size.
8533 * bits/basic_file.h: Ditto.
8534
8535 1999-02-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
8536
8537 * bits/fstream.tcc: Add include guards.
8538 * src/misc-inst.cc: Add instantiations for shared libes.
8539 * src/locale-inst.cc: Add instantiaions for use_facet.
8540 * bits/loccore.h: Remove specialization foward decls for
8541 use_facet<ctype>: perhaps add the whole lot of them later on.
8542 * bits/std_fstream.h: Fix.
8543 * bits/locfacets.h: Ditto.
8544 * src/stdstreams.cc: Disable wide streams for now.
8545
8546 * src/Makefile.am (CXXFLAGS): Change up.
8547 * src/Makefile.in (CXXFLAGS): Ditto.
8548
8549 1999-02-25 Benjamin Kosnik <bkoz@happy.cygnus.com>
8550
8551 * src/basic_file.cc: Change to ios_base::seekdir from int.
8552 * bits/basic_file.h: Ditto.
8553 * bits/locfacets.h : Fix blip with new guard macros.
8554
8555 1999-02-25 Benjamin Kosnik <bkoz@cygnus.com>
8556
8557 * stl/bits/stl_config.h (__STL_USE_STD_ALLOCATORS): Minor tweaking.
8558 * bits/c++config.h: Clean. Remove _G_NO_STREAMBUF_ITERATORS and
8559 _G_USE_NAMESPACE.
8560 * amm1/locale: Remove unused defines.
8561 * generic/locale: Ditto.
8562 * src/ios.cc: Ditto.
8563 * src/locale.cc: Ditto.
8564 * src/locale-inst.cc: Ditto.
8565 * src/localename.cc: Ditto.
8566 * src/stdstreams.cc: And here.
8567
8568 * bits/c++config.h (_G_USE_WCHAR_T): Fix.
8569 * bits/loccore.h: Simplify, clean, add wchar_t guards.
8570 * bits/loccore.tcc: Ditto.
8571 * bits/locfacets.h: Ditto.
8572 * src/locale-inst.cc: Ditto.
8573 * bits/locfacets.tcc: Add do_put long long here.
8574
8575 1999-02-24 Benjamin Kosnik <bkoz@cygnus.com>
8576
8577 * bits/std_streambuf.h: Add cached ctype facet, _M_ctype.
8578 * bits/basic_ios.h: Clean. Replace _M_strbuf with
8579 _M_streambuf. Use cached _M_cvt in basic_streambuf.
8580 * bits/std_istream.h: Replace _M_strbuf with _M_streambuf.
8581 * bits/std_fstream.h: Tweak.
8582
8583 * bits/char_traits.h: Remove fpos definitions from here. . .
8584 * bits/fpos.h: New file, put them here. Eventually, this may allow
8585 the severing of char_traits and fpos dependancies.
8586 * src/Makefile.in: Add fpos.h.
8587 * src/Makefile.am: Ditto.
8588 * bits/std_string.h: Add fpos.h include here.
8589 * bits/std_ios.h: And here.
8590
8591 * bits/std_streambuf.h: Change _M_init to _M_initialized.
8592 * bits/ios_base.h: Remove cstdio include.
8593 * bits/std_ios.h: ... Place here.
8594
8595 1999-02-23 Benjamin Kosnik <bkoz@loony.cygnus.com>
8596
8597 * src/Makefile.in (CXXFLAGS): Re-add -fvtable-thunks.
8598 * src/Makefile.am (CXXFLAGS): Re-add -fvtable-thunks.
8599
8600 * bits/basic_file.h: Comment, adjust arguments.
8601 * src/basic_file.cc: Ditto.
8602
8603 * bits/std_fstream.h(seekoff): Error is of fpos type, not integral
8604 type: check and convert accordingly. Re-interpet "resultant stream
8605 position" to indicate external byte sequence location, not internal
8606 buffer info.
8607
8608 1999-02-22 Benjamin Kosnik <bkoz@loony.cygnus.com>
8609
8610 * mkcshadow: And change copyright here.
8611 * src/Makefile.am (CXXFLAGS): Add -g -O2. Add new header
8612 dependencies for stl_pthread_alloc.h, pthread_allocimpl.h,
8613 stl_thread.h, and stl_iterator_base.h.
8614 * src/Makefile.in (CXXFLAGS): Ditto.
8615 * stl/backward/pthread_alloc.h: Remove.
8616
8617 1999-02-19 Benjamin Kosnik <bkoz@loony.cygnus.com>
8618
8619 * bits/std_streambuf.h (sungetc): Use standard defs for putback
8620 position.
8621 * bits/std_fstream.h (pbackfail): Correct.
8622 (sungetc): Test.
8623 (seekoff): Implement.
8624 (seekpos): Re-do.
8625 * testsuite/27/27filebuf.cc: Add test cases.
8626
8627 1999-02-18 Benjamin Kosnik <bkoz@loony.cygnus.com>
8628
8629 * bits/std_fstream.h: Go with basic_file's interfaces for dealing
8630 with the external buffers, and stop mucking around with setting
8631 and re-setting the external buf's pointers. Aka, clarity and
8632 simplicity rule the day.
8633 * src/locale.cc: Use memcpy in codecvt::do_in and codecvt::do_out.
8634 Remove partial result and support code.
8635
8636 1999-02-18 Ulrich Drepper <drepper@cygnus.com>
8637
8638 * configure.in: Add hypot, hypotf, atan2f, expf, and copysignf to
8639 list of function which have to be replaced.
8640 Remove expf from list of functions to test for.
8641 Define USE_LONG_DOUBLE in case the libm has partial support for long
8642 doubles.
8643 * Makefile.in: Regenerated.
8644 * config.h.in: Likewise.
8645 * configure: Likewise.
8646 * libio/Makefile.am (LIBIO_SRCS): Add missing backslash.
8647 * libio/Makefile.in: Regenerated.
8648 * src/Makefile.in: Regenerated.
8649 * string/Makefile.in: Regenerated.
8650 * math/Makefile.am (EXTRA_DIST): Add hypot.c, hypotf.c, hypotl.c,
8651 atan2f.c, expf.c, and $(EXTRA_yes).
8652 (EXTRA_yes): Add signbitl.c mycabsl.c.
8653 (libmath_la_LIBADD): Add $(EXTRA_$(USE_LONG_DOUBLE)).
8654 (libmath_la_SOURCES): remove long double versions.
8655 * math/Makefile.in: Regnerated.
8656 * math/atan2f.c: New file.
8657 * math/copysignf.c: New file.
8658 * math/expf.c: New file.
8659 * math/hypot.c: New file.
8660 * math/hypotf.c: New file.
8661 * math/hypotl.c: New file.
8662 * math/cargf.c: Use correct function and macro names.
8663 * math/ccos.c: Likewise.
8664 * math/ccosh.c: Likewise.
8665 * math/ccoshf.c: Likewise.
8666 * math/ccoshl.c: Likewise.
8667 * math/cexp.c: Likewise.
8668 * math/cexpf.c: Likewise.
8669 * math/cexpl.c: Likewise.
8670 * math/clog.c: Likewise.
8671 * math/clog10.c: Likewise.
8672 * math/clog10f.c: Likewise.
8673 * math/clog10l.c: Likewise.
8674 * math/clogf.c: Likewise.
8675 * math/clogl.c: Likewise.
8676 * math/copysignf.c: Likewise.
8677 * math/csin.c: Likewise.
8678 * math/csinf.c: Likewise.
8679 * math/csinh.c: Likewise.
8680 * math/csinhf.c: Likewise.
8681 * math/csinhl.c: Likewise.
8682 * math/csinl.c: Likewise.
8683 * math/csqrt.c: Likewise.
8684 * math/csqrtf.c: Likewise.
8685 * math/csqrtl.c: Likewise.
8686 * math/ctan.c: Likewise.
8687 * math/ctanf.c: Likewise.
8688 * math/ctanh.c: Likewise.
8689 * math/ctanhf.c: Likewise.
8690 * math/ctanhl.c: Likewise.
8691 * math/ctanl.c: Likewise.
8692
8693 1999-02-17 Benjamin Kosnik <bkoz@cygnus.com>
8694
8695 * testsuite/27/27filebuf.cc: Add cases.
8696 * testsuite/27/27filebuf-1.txt: Remove inadvertent garbage.
8697 * bits/std_streambuf.h: Simplify, always have one return statement.
8698 * bits/std_fstream.h: Tweak comments in underflow.
8699
8700 1999-02-17 Ulrich Drepper <drepper@cygnus.com>
8701
8702 * ltmain.sh: Update from libtool 1.2d and fix Solaris problems.
8703 * ltconfig: Likewise.
8704
8705 1999-02-16 Christophe Pierret <cpierret@businessobjects.com>
8706
8707 * src/locale.cc: Fix assert.
8708
8709 1999-02-16 Benjamin Kosnik <bkoz@cygnus.com>
8710
8711 FIXME: Still need some kind of solution for undefined math symbols.
8712 * src/Makefile.in (locale-inst.lo): Compile with
8713 -fimplicit-templates to fix Solaris link problem.
8714 * src/Makefile.am: Ditto.
8715 * libio/Makefile.in: Add stdfiles.c so that _IO_list_all is defined.
8716 * libio/Makefile.am: Ditto.
8717 * src/locale.cc: Provide some kind of def for _S_tolower.
8718 * bits/locfacets.h: Fix declarations of ctype<wchar_t> to
8719 match ctype<char> for _S_tolower, _S_toupper, _S_table.
8720
8721 1999-02-10 Benjamin Kosnik <bkoz@cygnus.com>
8722
8723 * bits/loccore.tcc: Move member-template ctor inline...
8724 * bits/loccore.h: ...here.
8725 * src/locale-inst.cc: Add instantiation here.
8726
8727 * testsuite/27/27stringstream.cc: Tweak.
8728
8729 * bits/ostream.tcc: Include sbuf_iter.h.
8730
8731 * bits/ostream.tcc: Convert *this to ostreambuf_iterator before
8732 passing to num_put, as num_put's first argument is an interator,
8733 not basic_ostream.
8734
8735 * testsuite/make_check_libfree++: New file, runs through the
8736 existing test files in the testsuite directory and makes sure
8737 they link.
8738
8739 1999-02-10 Brendan Kehoe <brendan@cygnus.com>
8740
8741 * testsuite/21/21compare.cc: Fix typo.
8742 * src/locale.cc (ctype<wchar_t>::_S_{toupper,tolower,table}):
8743 Don't try to provide non-linux versions, since it's impossible to
8744 initialize their const references with the integer 0, no matter
8745 how we try to cast it.
8746
8747 1999-02-10 Benjamin Kosnik <bkoz@cygnus.com>
8748
8749 * bits/std_locale.h: Move std_vector.h dependency.
8750 * bits/std_ios.h: ...from here.
8751 * bits/std_string.h: ...and here.
8752 * src/locale.cc: ..to here.
8753 * bits/loccore.h: Ditto, add vector forward declaration,
8754 make locale::_Impl data members pointers not containers.
8755 * bits/loccore.tcc: Move out-of-line for now.
8756 * bits/locfacets.h: Move vector dependency from here...
8757 * bits/locfacets.tcc: ...to here.
8758 * src/localename.cc: ..and here.
8759 * src/locale-inst.cc: Add include of locfacets.tcc here.
8760
8761 * stl/bits/stl_string_fwd.h: Make __get_c_string non-static.
8762 * bits/basic_string.h: Can't use sizeof on an incomplete type.
8763 * bits/string.tcc: Tweak.
8764 * src/string.cc: And add __get_c_string def here.
8765
8766 * bits/std_fstream.h: Yeah, comment the fill_n idea out as impractical.
8767
8768 * src/stlinst.cc: Add include of stl_config.h.
8769
8770 1999-02-09 Benjamin Kosnik <bkoz@cygnus.com>
8771
8772 * stl/bits/std_bitset.h: Update to SGI STL 3.12.
8773 * stl/bits/stl_config.h: Tweak, update.
8774 * stl/bits/std_stdexcept.h: Ditto, change stl_exception to
8775 std_exception.
8776 * stl/bits/std_memory.h: Reconstructed auto_ptr, Ditto.
8777 * stl/bits/std_functional.h: Ditto.
8778
8779 * stl/bits/stl_string.h: New file, SGI's string
8780 implementation. For reference only, corresponding to string in
8781 3.12 source.
8782 * stl/bits/stl_char_traits.h: As above.
8783
8784 * stl/bits/pthread_allocimpl.h: New file corresponding to
8785 pthread_alloc.
8786 * stl/bits/stl_pthread_alloc.h: New file corresponding to
8787 pthread_alloc.h
8788 * stl/bits/stl_threads.h: New file.
8789
8790 Note that SGI STL 3.12's file iterator.h is not used.
8791 * stl/bits/std_iterator.h: Ditto.
8792 * stl/bits/stl_iterator.h: Drop in replace.
8793 * stl/bits/stl_iterator_base.h: New file, drop in replace.
8794
8795 * stl/bits/stl_queue.h, stl_rope.h, stl_set.h, stl_stack.h,
8796 stl_string_fwd.h, stl_tempbuf.h, stl_tree.h, stl_vector.h,
8797 stl_pair.h, stl_multimap.h, stl_multiset.h, stl_list.h,
8798 stl_hashtable.h, stl_hash_set.h, stl_hash_map.h, stl_function.h,
8799 stl_deque.h, stl_alloc.h, stl_algo.h, stl_algobase.h, ropeimpl.h:
8800 Drop-in replace (ie, stop changing __SGI_STL_* to _CPP_BITS_* for
8801 preprocessor guards, but fixup include paths and names according
8802 to new directory layout).
8803
8804 1999-02-05 Benjamin Kosnik <bkoz@cygnus.com>
8805
8806 * bits/std_fstream.h: Remove _M_open data member.
8807 * bits/fstream.tcc: Ditto.
8808
8809 * src/locale.cc: Tweak.
8810
8811 * bits/std_sstream.h: Simplify.
8812
8813 * bits/std_streambuf.h: Simplify.
8814 (sputc): Use correct definition of "write area."
8815
8816 * bits/std_fstream.h: Fix uflow.
8817 * src/basic_file.cc: Tweak.
8818 * testsuite/27/27filebuf.cc: Add tests.
8819 * testsuite/27/27filebuf-3.txt: Rename to *-2.txt.
8820
8821 1999-02-02 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8822
8823 * bits/ios_base.h: Make protected.
8824
8825 1999-02-01 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8826
8827 * bits/ios_base.h: Changes in the class ios_base:
8828 Rename _M_exceptions member to _M_exceptions_data.
8829 Make the member functions rdstate(), clear(), exceptions()
8830 and exceptions(iostate) protected and add the "_M_" prefix.
8831 * src/ios.cc: Ditto.
8832 * bits/basic_ios.h: Adapt the changes from ios_base.
8833
8834 1999-01-29 Benjamin Kosnik <bkoz@cygnus.com>
8835
8836 * bits/std_fstream.h: Remove _M_flags, _M_equilibrate as unnecessary.
8837 * bits/fstream.tcc: Ditto.
8838
8839 * bits/std_fstream.h (underflow): Resize deallocates memory and
8840 resets pointers in the internal cache according to new _M_buf. . dooh!
8841 * src/locale.cc: Mas changes with codecvt::do_in, do_out.
8842
8843 1999-01-29 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8844
8845 * stl/bits/std_memory.h: Modify auto_ptr::reset to reflect the
8846 standard.
8847
8848 1999-01-28 Benjamin Kosnik <bkoz@cygnus.com>
8849
8850 * src/locale.cc (codecvt::do_in): Finer-grained tuning to take
8851 into account partial returns.
8852 (codecvt::do_out): Likewise.
8853
8854 * bits/char_traits.h: Change streamsize to be a signed type, as
8855 required by 27.4.1 Types p 2. (Changing to _IO_ssize_t.)
8856 * bits/std_streambuf.h: Make
8857 in_avail() and showmanyc() have streamsize as return types, so
8858 that showmanyc()'s return of eof won't underflow in_avail's return
8859 value and give a bogus result.
8860 * src/misc-inst.cc: And more changes. . .
8861
8862 * bits/std_streambuf.h (basic_streambuf): Add _M_buf_unified to keep
8863 track of joint in/out pointers into the internal buffer.
8864 (sbumpc): Add check for _M_buf_unified.
8865 (sputbackc): Ditto.
8866 (sungetc): Ditto.
8867
8868 * testsuite/27/27filebuf.cc: Add cases.
8869 * testsuite/27/27stringbuf.cc: Add showmanyc case.
8870
8871 * bits/std_fstream.h (close): Fix logic error.
8872 (open): Initialize internal pointers based on _M_buf and _M_buf_size.
8873 (showmanyc): Add underflow component, to match the standard.
8874
8875 * bits/fstream.tcc: Ditto.
8876
8877 1999-01-27 Benjamin Kosnik <bkoz@cygnus.com>
8878
8879 * bits/basic_file.h: Match vtables w/ _IO_FILE_plus.
8880 * src/basic_file.cc: Ditto.
8881 * src/Makefile.in: Add -fvtable-thunks to CXXFLAGS: preferred
8882 format for dealing with _IO_file in libio.
8883
8884 1999-01-27 Ulrich Drepper <drepper@cygnus.com>
8885
8886 * src/basic_file.cc: Include fcntl.h.
8887
8888 1999-01-27 Benjamin Kosnik <bkoz@cygnus.com>
8889
8890 * libio/Makefile.in: Add fileops.lo, genops.lo to objects to debug
8891 libio calls.
8892 * bits/std_streambuf.h: Redefine read posion.
8893
8894 * bits/std_fstream.h: Temporary hack to get vtables working again.
8895 * bits/basic_file.h: Revert.
8896 * src/basic_file.cc: Ditto.
8897 * testsuite/27/27filebuf.cc: Tweak.
8898
8899 1999-01-26 Benjamin Kosnik <bkoz@cygnus.com>
8900
8901 * bits/basic_file.h: Add showmanyc, underflow. .
8902 * src/basic_file.cc: Ditto.
8903
8904 * bits/std_fstream.h (showmanyc): Add bits to ping libio to see if more
8905 chars can be read.
8906
8907 * testsuite/27/27filebuf.cc: Add testcases.
8908 * src/basic_file.cc: Add O_CREAT to open calls with
8909 ios_base::trunc as part of the open mode.
8910
8911 1999-01-26 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8912
8913 * bits/basic_ios.h: fix basic_ios::exceptions(iostate)
8914
8915 1999-01-25 Benjamin Kosnik <bkoz@nabi.net>
8916
8917 * src/ios.cc (clear): Correct typo.
8918 * bits/ios_base.h: Tweak spacing.
8919
8920 1999-01-25 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8921
8922 * bits/basic_ios.h: fix basic_ios::fail()
8923
8924 1999-01-25 Benjamin Kosnik <bkoz@loony.cygnus.com>
8925
8926 * bits/basic_file.h: Include libioP.h from libio instead of here.
8927 * bits/iolibio.h: Remove.
8928 * bits/libio.h: Remove.
8929
8930 1999-01-22 Benjamin Kosnik <bkoz@lunatic.cygnus.com>
8931
8932 * bits/std_fstream.h: Tweak cvt-> in call for newer egcs compilers.
8933
8934 1999-01-22 Ulrich Drepper <drepper@cygnus.com>
8935
8936 * Makefile.am (SUBDIRS): Add libio.
8937 * configure.in: Add rule to test for glibc2.
8938
8939 * src/Makefile.am (INCLUDES): Add -I to libio subdir.
8940 (libstdc___la_LIBADD): Add libio.la.
8941
8942 1999-01-21 Benjamin Kosnik <bkoz@cygnus.com>
8943
8944 * bits/basic_file.h: Make new abstraction for underlying C library
8945 FILE, named __basic_file.
8946 * src/basic_file.cc: New file.
8947 * bits/os_raw.h: Delete.
8948 * src/os_raw.cc: Delete.
8949 * src/Makefile.in: Tweak.
8950 * src/Makefile.am: Tweak.
8951 * bits/iolibio.h: Add this here, for the time being.
8952 * bits/libioP.h: Ditto.
8953
8954 * bits/ios_base.h: Delete unused defines.
8955 * src/locale.cc (codecvt<char, char, mbstate_t>::do_in): Use
8956 strcpy to copy between the two buffers.
8957
8958 * testsuite/27/27stringbuf.cc: Change license, fix in_avail tests.
8959 * testsuite/27/27filebuf.cc: New file.
8960 * testsuite/27/27filebuf-1.txt: Data file for above test.
8961 * testsuite/27/27filebuf-2.txt: Ditto.
8962
8963 * bits/std_streambuf.h (uflow): Re-implement default.
8964 * bits/std_fstream.h: Set _M_buf_size based on cstdio's BUFSIZ.
8965 Re-implement virtual functions.
8966 * bits/fstream.tcc: Delete unused mf's.
8967
8968 1998-12-31 Benjamin Kosnik <bkoz@lunatic.cygnus.com>
8969
8970 * bits/fstream.tcc: Add fstream ctor for cin/cout/etc.
8971 * bits/std_fstream.h: Ditto.
8972 * src/stdstreams.cc: Ditto.
8973
8974 * math/cpowl.c: Fix header typo with last change.
8975
8976 1998-12-31 Benjamin Kosnik <bkoz@loony.cygnus.com>
8977
8978 * COPYING: New file (GPL v 2).
8979 * LICENSE.STD: Remove.
8980 * ./*: Change license.
8981
8982 1998-12-30 Benjamin Kosnik <bkoz@haight.constant.com>
8983
8984 * bits/std_streambuf.h (std): Remove static on _M_init.
8985 * bits/streambuf.tcc (std): Ditto.
8986
8987 * bits/std_fstream.h: Add changes as discussed with Nathan, including
8988 state_type and codecvt_type members, the allocation of an internal
8989 buffer, the streamlined codecvt calls, etc.
8990
8991 1998-12-21 Benjamin Kosnik <bkoz@haight.constant.com>
8992
8993 * bits/std_sstream.h: Tweak.
8994 * bits/fstream.tcc: Remove unused stubs.
8995 * bits/std_fstream.h: Tweak.
8996
8997 1998-12-17 Benjamin Kosnik <bkoz@tintin.cygnus.com>
8998
8999 * bits/std_streambuf.h: Move _IO_file_flags into basic_filebuf.
9000 Remove unused _IO_* members, possibly put into filebuf, which may
9001 need them.
9002 * bits/std_fstream.h: Add _M_flag.
9003 * bits/sbuf_iter.h: Tweak.
9004
9005 * bits/std_cstdio.h: Add SEEK_SET, SEEK_END, SEEK_CUR.
9006 * bits/ios_base.h: Use.
9007
9008 * src/stdstreams.cc: Modify to reflect standard ctors for
9009 filebuf.
9010 * src/misc-inst.cc: Ditto.
9011
9012 * bits/os_raw.h: Wrap in std namespace. Model parameters on
9013 underlying C library calls instead of the underlying unix
9014 filesystem.
9015 * src/os_raw.cc (_S_os_open): Use fopen, and compute a mode
9016 string as per p.659.
9017 (_S_os_close): Model on fopen.
9018 (_S_os_read): Model on fread.
9019 (_S_os_write): Model on fwrite.
9020 (_S_os_seek): Model on fseek.
9021
9022 * bits/ios_base.h: Tweak.
9023 * bits/std_iosfwd.h: Wrap libio.h include with extern "C".
9024 * bits/std_sstream.h: Tweak.
9025 * bits/sstream.tcc: Remove old, uncalled code.
9026 * bits/std_fstream.h: Major reconstruction.
9027 * bits/fstream.tcc: Disable for the time being.
9028
9029 1998-12-11 Benjamin Kosnik <bkoz@haight.constant.com>
9030
9031 * bits/basic_string.h: Fix insert method.
9032 * stl/bits/stl_iterator.h: Remove previous hack.
9033 * bits/std_streambuf.h (sbumpc): Correct increment/return oddness.
9034 * bits/std_sstream.h: Fix more regressions.
9035 * testsuite/27/27stringbuf.C: Add (almost) complete tests.
9036
9037 1998-12-09 Benjamin Kosnik <bkoz@loony.cygnus.com>
9038
9039 * bits/basic_string.h: Tweak.
9040
9041 * stl/bits/stl_iterator.h: Specialize iterator_traits for int so
9042 that string::append can be instantiated. HACK--checkin
9043 basic_string::iterator class.
9044
9045 1998-12-07 Benjamin Kosnik <bkoz@haight.constant.com>
9046
9047 * bits/std_sstream.h: Tweak.
9048 * bits/sstream.tcc: Tweak ctors.
9049
9050 FIXME invalid friend defs. . WHERE ARE THEY??
9051
9052 * bits/sbuf_iter.h (istreambuf_iterator::equal): Change to new
9053 names for basic_streambuf data members.
9054
9055 * bits/std_streambuf.h: Add getloc() initialization bits.
9056 basic_streambuf(): Initialize with global locale data.
9057 imbue(): Set _M_init.
9058
9059 * bits/std_streambuf.h(seekoff, seekpos): Complete with invalid
9060 stream pos == pos_type(off_type(-1)).
9061 in_avail(): Complete default implementation.
9062 snextc, sbumpc, sputbackc, sungetc, sputc, setg, xsputn,
9063 underflow, uflow, xsgetn, showmany, sync: Ditto.
9064
9065 * bits/std_streambuf.h: _M_snextc_helper(): Remove.
9066
9067 * bits/streambuf.tcc (sputbackc): Temporarily remove, need to
9068 re-populate with in-line member functions that are too big. Add
9069 initialization for _M_init.
9070
9071 1998-12-03 Benjamin Kosnik <bkoz@cygnus.com>
9072
9073 * bits/sstream.tcc: Convert _Allocator to _Alloc. Add typedefs
9074 for basic_string and basic_streambuf. Scope _IO_buf_* pointers to
9075 streambuf_type.
9076
9077 * src/stdstreams.cc (std): Disable wchar_t instantiations.
9078
9079 * bits/c++config.h (_G_DEPRICATED): Add.
9080 (_G_USE_WCHAR_T): Add.
9081 * bits/std_streambuf.h: Radical reconstruction of basic_streambuf.
9082 Take out _Streambuf_base. Put _IO_FILE data member in basic_filebuf.
9083 * bits/streambuf.tcc (sputbackc): Remove ctor anti-def, Tweak.
9084 * bits/std_fstream.h: Add comment for implementation.
9085 * src/streambuf.cc: Remove.
9086 * src/Makefile.in: Remove streambuf.lo.
9087 * src/misc-inst.cc: Tweak.
9088
9089 1998-12-02 Benjamin Kosnik <bkoz@cygnus.com>
9090
9091 * bits/std_sstream.h: Add const_cast to rdbuf returns.
9092 * testsuite/27stringstream.C: Modify.
9093
9094 1998-11-25 Benjamin Kosnik <bkoz@haight.constant.com>
9095
9096 * src/Makefile.in (libstdc___la_OBJECTS): Add streambuf.lo.
9097 (libstdc___la_SOURCES): Ditto.
9098
9099 * bits/streambuf.tcc: Tweak.
9100
9101 * src/streambuf.cc: New file, add out-of-line definitions for
9102 _Streambuf_base.
9103
9104 * src/misc-inst.cc: Remove _Streambuf_base instantiations.
9105 Comment out wchar_t versions of the buffer instantiations, for now.
9106
9107 * bits/std_streambuf.h: Wrap libio.h include with extern "C".
9108 Remove template wrapper around _Streambuf_base.
9109 Move IO_* data members into _Streambuf_base.
9110 Move _Streambuf_base members into streambuf.tcc.
9111
9112 * bits/c++config.h (_G_USE_LIBIO): Enable.
9113
9114 1998-11-02 Nathan Myers <ncm@cantrip.org>
9115
9116 * CHECKLIST: downgrade iterator implementations
9117 * DESIGN: fill out notes about unimplemented features
9118
9119 1998-10-31 Nathan Myers <ncm@cantrip.org>
9120
9121 * CHECKLIST: itemized list of all interfaces, and status of each.
9122
9123 1998-10-30 Nathan Myers <ncm@cantrip.org>
9124
9125 * RELEASE-NOTES: add notes about optional includes, linking, running
9126 * src/Makefile.am: handle header installs properly
9127 * src/Makefile.in: regenerate from new src/Makefile.am
9128
9129 1998-10-30 Benjamin Kosnik <bkoz@loony.cygnus.com>
9130
9131 * bits/basic_string.h: Revert npos pending ciso646.
9132 * src/Makefile.am: Revert CXX flags for now.
9133 * src/Makefile.in: Ditto.
9134
9135 1998-10-30 Brendan Kehoe <brendan@cygnus.com>
9136
9137 * bits/std_sstream.h: Re-order ctors to put base before member
9138 inits.
9139
9140 1998-10-30 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
9141
9142 * stl/bits/std_memory.h: Fix typo.
9143
9144 1998-10-30 Nathan Myers <ncm@cantrip.org>
9145
9146 * src/string[A-Z]+.cc: change back to include "string.cc".
9147 * src/Makefile.am: revert filename changes. We need a different
9148 way to keep filenames in std/ from confusing Make.
9149 * bits/basic_string.h: define _S_max_size right, return it from
9150 string::max_size(); churn definition of npos again.
9151 * bits/string.tcc: fix _S_frob_size to avoid uint overflow.
9152 * bits/ios.cc: remove #ifdef on ios_base locale member initialization
9153 * BUGS: clear cruft.
9154 * C++STYLE: Touchup for release.
9155 * CHECKLIST: Touchup for release.
9156 * DESIGN: New file.
9157 * LICENSE.STD: Add requirement to retain copyrights and to provide
9158 the license with any copies.
9159 * README: Update for release.
9160 * TODO: Minor touchup for release.
9161 * RELEASE-NOTES: prepare for release
9162
9163 1998-10-29 Ulrich Drepper <drepper@cygnus.com>
9164
9165 * src/string[A-Z]+.cc: Include stdstring.cc, not string.cc.
9166
9167 * src/Makefile.am (CXXFLAGS): Define _GNU_SOURCE.
9168
9169 * src/Makefile.am (CXXLINK): New variable. Make sure we don't use
9170 CXX to generate the shared object.
9171
9172 * src/Makefile.am (headers): Remove duplicated char_traits.h.
9173
9174 1998-10-29 Brendan Kehoe <brendan@cygnus.com>
9175
9176 * bits/basic_string.h (basic_string<>::max_size): Subtract 1, not
9177 2, from npos, solving infinite loop problems.
9178
9179 1998-10-29 18:41 Ulrich Drepper <drepper@cygnus.com>
9180
9181 * src/Makefile.am: Add rules to install headers.
9182
9183 1998-10-29 Nathan Myers <ncm@cantrip.org>
9184
9185 * bits/std_ostream.h: Remove #ifdef on operator<< for long double
9186 * bits/ostream.tcc: Remove #ifdef on operator<< for long double
9187 * shadow/libio.h:
9188 * shadow/unistd.h:
9189 * shadow/bits/wrap_libio.h:
9190 * shadow/bits/wrap_unistd.h: New files.
9191
9192 1998-10-29 Brendan Kehoe <brendan@cygnus.com>
9193
9194 * bits/ostream.tcc (operator<<): Wrap with #ifdef
9195 _G_HAVE_LONG_DOUBLE_IO, to match bits/std_ostream.h.
9196
9197 1998-10-29 Ulrich Drepper <drepper@cygnus.com>
9198
9199 * src/Makefile.am: Add temporarily rules to make sure misc-inst.cc
9200 is not compiled with -fno-implicit-templates in effect.
9201
9202 * src/Makefile.am (EXTRA_SOURCES): Add string.cc and wstring.cc here.
9203 (libstdc___la_SOURCES): Add all the string*.cc and wstring*.cc files.
9204 * src/stringADDCS.cc: Wrapper around string.cc to define individual
9205 function.
9206 * src/stringADDPS.cc: Likewise.
9207 * src/stringADDSC.cc: Likewise.
9208 * src/stringADDSP.cc: Likewise.
9209 * src/stringADDSS.cc: Likewise.
9210 * src/stringBIST.cc: Likewise.
9211 * src/stringBOST.cc: Likewise.
9212 * src/stringCHTR.cc: Likewise.
9213 * src/stringEQPS.cc: Likewise.
9214 * src/stringEQSP.cc: Likewise.
9215 * src/stringEQSS.cc: Likewise.
9216 * src/stringEXTRA.cc: Likewise.
9217 * src/stringGEPS.cc: Likewise.
9218 * src/stringGESP.cc: Likewise.
9219 * src/stringGESS.cc: Likewise.
9220 * src/stringGETLI.cc: Likewise.
9221 * src/stringGTPS.cc: Likewise.
9222 * src/stringGTSP.cc: Likewise.
9223 * src/stringGTSS.cc: Likewise.
9224 * src/stringINSER.cc: Likewise.
9225 * src/stringLEPS.cc: Likewise.
9226 * src/stringLESP.cc: Likewise.
9227 * src/stringLESS.cc: Likewise.
9228 * src/stringLTPS.cc: Likewise.
9229 * src/stringLTSP.cc: Likewise.
9230 * src/stringLTSS.cc: Likewise.
9231 * src/stringMAIN.cc: Likewise.
9232 * src/stringNEPS.cc: Likewise.
9233 * src/stringNESP.cc: Likewise.
9234 * src/stringNESS.cc: Likewise.
9235 * src/stringSCOPY.cc: Likewise.
9236 * src/wstringADDCS.cc: Wrapper around wstring.cc to define individual
9237 functions.
9238 * src/wstringADDPS.cc: Likewise.
9239 * src/wstringADDSC.cc: Likewise.
9240 * src/wstringADDSP.cc: Likewise.
9241 * src/wstringADDSS.cc: Likewise.
9242 * src/wstringBIST.cc: Likewise.
9243 * src/wstringBOST.cc: Likewise.
9244 * src/wstringCHTR.cc: Likewise.
9245 * src/wstringEQPS.cc: Likewise.
9246 * src/wstringEQSP.cc: Likewise.
9247 * src/wstringEQSS.cc: Likewise.
9248 * src/wstringEXTRA.cc: Likewise.
9249 * src/wstringGEPS.cc: Likewise.
9250 * src/wstringGESP.cc: Likewise.
9251 * src/wstringGESS.cc: Likewise.
9252 * src/wstringGETLI.cc: Likewise.
9253 * src/wstringGTPS.cc: Likewise.
9254 * src/wstringGTSP.cc: Likewise.
9255 * src/wstringGTSS.cc: Likewise.
9256 * src/wstringINSER.cc: Likewise.
9257 * src/wstringLEPS.cc: Likewise.
9258 * src/wstringLESP.cc: Likewise.
9259 * src/wstringLESS.cc: Likewise.
9260 * src/wstringLTPS.cc: Likewise.
9261 * src/wstringLTSP.cc: Likewise.
9262 * src/wstringLTSS.cc: Likewise.
9263 * src/wstringMAIN.cc: Likewise.
9264 * src/wstringNEPS.cc: Likewise.
9265 * src/wstringNESP.cc: Likewise.
9266 * src/wstringNESS.cc: Likewise.
9267 * src/wstringSCOPY.cc: Likewise.
9268 * src/string.cc: Remove now unneeded #defines now.
9269
9270 1998-10-29 Nathan Myers <ncm@cantrip.org>
9271
9272 * bits/locfacets.tcc: Define num_put::put(... const void*), improve
9273 integer formatting.
9274 * bits/ostream.tcc: Delete cruft, rewrite various op<< as members,
9275 add definitions for double, long double, const void*.
9276 * bits/std_ostream.h: Move op<<'s back into class ostream,
9277 define some in-line.
9278 * bits/string.tcc: fix unnecessary-copying bug in op[], typos in
9279 string construction from input iterators that Brendan reported.
9280
9281
9282 1998-10-28 Brendan Kehoe <brendan@cygnus.com>
9283
9284 * stl/bits/stl_pair.h (op!=, op>, p<=, op>=): Add missing definitions.
9285
9286 * bits/valarray_meta.h (class _Constant): Move declaration to the
9287 top, so the rest of the file can grok it.
9288 (_ApplyBinaryFunction::operator[]): Add missing parenthesis.
9289
9290 * bits/std_sstream.h (basic_ostringstream::str): Fix typo of extra
9291 semicolon.
9292 (basic_stringstream::str, both instances): Likewise.
9293
9294 1998-10-28 Nathan Myers <ncm@cantrip.org>
9295
9296 * bits/locfacets.h: fix num_put<>::falsename()
9297 * bits/locfacets.tcc: fix _Format_cache<>::_M_populate bool name init
9298 * testsuite/27/27octfmt.C, testsuite/27/27octfmt.C: new tests
9299 * bits/locfacets.tcc: touch up _S_group_digits.
9300 * src/misc-inst.cc: adjust _S_group_digits insts to match.
9301
9302 1998-10-27 Nathan Myers <ncm@cantrip.org>
9303
9304 * stl/bits/stl_config.h: Turn off long long support, for now.
9305 * src/locale-inst.cc: Instantiate num_put<> only for
9306 ostreambuf_iterator, num_get only for istreambuf_iterator.
9307 * src/misc-inst.cc: Delete duplicate locale-related instantiations,
9308 add lots of new instantiations for num_put support function templates;
9309 remove junk about __match_parallel for ostreambuf_iterator.
9310
9311 1998-10-27 Nathan Myers <ncm@cantrip.org>
9312
9313 * bits/locfacets.tcc: Make num_put's digit grouping work.
9314 * bits/string.tcc: More uglification.
9315 * src/ios.cc: initialize format cache right
9316
9317 1998-10-26 Nathan Myers <ncm@cantrip.org>
9318
9319 * bits/basic_string.h: Uglify more names.
9320 * bits/fstream.tcc: Rewrite some filebut output handling.
9321 * bits/ios_base.h: Cosmetic.
9322 * bits/locfacets.h: Changes to _Format_cache for support of num_put.
9323 Also, specialize its default ctor for optimal default case.
9324 #ifdef out "long long" prototypes for now.
9325 * bits/locfacets.tcc: Do complete, optimized num_put<>::do_put
9326 implementation for integer types. (Still needs optimized
9327 std::copy() applied to ostreambuf_iterator to be optimal.)
9328 * bits/ostream.tcc: Write operator<< for long, bool types.
9329 Make other operators<< non-members, per spec. (Many still
9330 not implemented.) Identify those that fail to create a sentry.
9331 * bits/sbuf_iter: Cosmetic.
9332 * bits/std_fstream.h: Add some filebuf members.
9333 * bits/std_locale.h: Include <limits> for use in bits/locfacets.h
9334 * bits/std_ostream.h: Make member operators<< global, per spec.
9335 (Should do the same in std_istream.h.)
9336 * bits/std_string.h: Include <limits> for use in bits/locfacets.h
9337 * bits/string.tcc: Uglify names
9338 * shadow/bits/std_cstdlib.h: Optimize std::div and std::ldiv.
9339 * src/ios.cc: Specialize _Format_cache<> for char and wchar_t,
9340 for optimal default behavior.
9341
9342 1998-10-26 Benjamin Kosnik <bkoz@loony.cygnus.com>
9343
9344 * src/Makefile.in (libstdc___la_SOURCES): Add misc-inst.cc again.
9345
9346 1998-10-21 Nathan Myers <ncm@cantrip.org>
9347
9348 * src/locale.cc: make ctype operations actually work for glibc
9349 * CHECKLIST: add a comprehensive (i.e. huge) implementation
9350 checklist of stdlib facilities. Not filled in yet.
9351
9352 1998-10-20 Nathan Myers <ncm@cantrip.org>
9353
9354 * bits/string.tcc: fix patching NULs on string ends.
9355
9356 1998-10-19 Nathan Myers <ncm@cantrip.org>
9357
9358 * bits/std_iosfwd.h: eliminate "basic_" prefix on streambuf
9359 iterator forward declarations
9360 * bits/sbuf_iter.h: eliminate default template argument definitions
9361 on streambuf iterators (rely on <iosfwd> decls).
9362 * TODO: add note about lazy facet construction
9363 * bits/basic_ios.h: hit operator void* again. This should be the
9364 last time we need to touch it.
9365 * bits/basic_ios.h: copyfmt now returns *this.
9366 * bits/basic_string.h: fix npos again. npos cannot be defined as zero.
9367 * bits/basic_string.h: put back overloaded constructors; adjust
9368 behavior for default allocator on copy constructor.
9369 * bits/char_traits.h: make not_eof return correct type.
9370 * bits/loccore.h: remove call to bits/std_stdexcept.h; subincludes
9371 cannot be in non-standard headers or we get include loops (bad)
9372 * bits/loccore.h: delete ifdef'd out workarounds for old compiler bugs.
9373 * bits/loccore.h: add apparatus to support lazy construction of
9374 facets.
9375 * bits/locfacets.tcc: Uglify names in __match_parallel decl.
9376 * bits/std_ios.h: add include of <typeinfo> to get bad_cast for
9377 locale use_facet<> failure.
9378 * bits/std_locale.h: same.
9379 * bits/std_string.h: same.
9380 * bits/std_stdexcept.h: change exception member __msg from a
9381 reference to a regular object.
9382 * bits/string.tcc: add pasting a NUL on the end of strings after
9383 each operation. We had already left room for it, but previously
9384 plugged it only on a call to c_str(), but the WG changed the
9385 requirement when I wasn't looking. (Can't leave them alone for
9386 a second without they break something else.)
9387 * bits/valarray_meta.h: add Gaby's changes from 981018.
9388 * src/locale.cc: add new type _Bad_use_facet to be thrown on
9389 failure of use_facet<>().
9390 * src/stdexcept.cc: remove pragma, remove bkoz's #if 0,
9391 comment out leftover member definitions
9392
9393 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
9394
9395 * string/Makefile.am: Revert last change.
9396 * math/Makefile.am: Likewise.
9397
9398 1998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
9399
9400 * bits/std_sstream.h: Fix typo.
9401
9402 1998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
9403
9404 * src/Makefile.am (libstdc___la_SOURCES): Add misc-inst.cc.
9405
9406 * bits/std_sstream.h: Add typedefs, member definitions. Clean.
9407 * bits/std_stdexcept.h: Remove.
9408
9409 1998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
9410
9411 * src/misc-inst.cc: Tweak again.
9412
9413 * bits/std_sstream.h: Move out-of-line definitions to sstream.tcc.
9414 * bits/sstream.tcc: New file.
9415
9416 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
9417
9418 * configure.in: Test for machine/param.h, sys/machine.h and fp.h.
9419 Don't run AC_C_BIGENDIAN if machine/param.h or sys/machine.h are
9420 available.
9421
9422 * math/mathconf.h: Include sys/machine.h, machine/param.h and fp.h
9423 if available.
9424 (INFINITE_P): Use IS_INF macro if available.
9425
9426 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
9427
9428 * math/Makefile.am (EXTRA_LTLIBRARIES): Renamed from
9429 noinst_LTLIBRARIES.
9430 * string/Makefile.am: Likewise.
9431
9432 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
9433
9434 * configure.in (AC_CHECK_FUNCS): Add finite, qfinite, fpclass, and
9435 qfpclass.
9436 (AC_CHECK_HEADERS): Add machine/endian.h. If no header specifying
9437 endianess is available run AC_C_BIGENDIAN.
9438
9439 * math/clog10l.c: Add ugly hack around bug in Irix 6.2 header until
9440 fixincludes is fixed.
9441 * math/clogl.c: Likewise.
9442 * math/csqrtl.c: Likewise.
9443 * math/mycabsl.c: Likewise.
9444
9445 * math/mathconf.h: Include machine/endian.h if possible. If no
9446 header describing endianess is available rely on WORDS_BIGENDIAN
9447 macro.
9448 (FINITE_P, FINITEF_P, FINITEL_P): Use finite functino if available.
9449 (INFINITE_P, INFINITEF_P, INFINITEL_P): Use fpclass function if
9450 available.
9451
9452 * src/complex.cc (polar): Don't use sincos on OSF machines.
9453
9454 1998-10-09 Benjamin Kosnik <bkoz@loony.cygnus.com>
9455
9456 * src/locale-inst.cc: Don't instantiate time_get for
9457 ostreambuf_iterators as time_get::do_get_weekday and
9458 time_get::do_get_monthname use __match_parallel, which is illegal
9459 for ostreambuf_iterators to use, as they don't have operator== or
9460 operator!=.
9461 * bits/std_stdexcept.h: Add dtor definitions.
9462 Use stl/bits/std_stdexcept.h instead of this file?
9463 * bits/sbuf_iter.h : Tweak.
9464 * src/misc-inst.cc: Tweak.
9465
9466 1998-10-09 Benjamin Kosnik <bkoz@haight.constant.com>
9467
9468 * bits/std_stdexcept.h: New file.
9469 * src/stdexcept.cc: Define the following:
9470 logic_error::what()
9471 runtime_error::what()
9472
9473 * src/misc-inst.cc: New file.
9474 * src/Makefile.in (libstdc___la_SOURCES): Add misc-inst.cc.
9475 (libstdc___la_OBJECTS): Add misc-inst.lo.
9476
9477 * bits/basic_string.h: Disable non-standard ctor declarations.
9478 * bits/string.tcc: Disable definitions as well.
9479 * src/string.cc: Disable <ios> dependancies.
9480 * bits/sbuf_iter.h (std): Add default to template parameter for
9481 ostreambuf_iterator and istreambuf_iterator.
9482 * bits/std_iosfwd.h: Change istreambuf_iterator to
9483 basic_istreambuf_iterator. Likewise for ostreambuf.
9484 * bits/locfacets.tcc (__match_parallel): Fix typo.
9485 * src/ios.cc (imbue): Remove the _G_HAVE_LOCALE guards around
9486 ios_base::imbue.
9487 * bits/std_streambuf.h: Define _Streambuf_base::getloc().
9488 * bits/std_istream.h: Define the following:
9489 get (basic_streambuf<char_type,_Traits>& __sb, char_type __delim)
9490 get (char_type* __s, streamsize __n, char_type __delim);
9491 getline (char_type* __s, streamsize __n, char_type __delim)
9492 * bits/loccore.h : FIXME friend template code for use_facet.
9493 Add std_stdexcept.h include so that range_error will be defined.
9494 Add explicit conversion to string for range_error throws. (HACK?)
9495
9496 1998-10-8 Ulrich Drepper <drepepr@cygnus.com>
9497
9498 * configure.in: Check for sincos, sincosf, and sincosl.
9499 * src/complex.cc (polar): Use sincos if available.
9500
9501 * bits/c++config.h: Fix hack to get LONG_LONG* definitions on Linux.
9502 * stl/bits/std_limits.h: Include bits/c++config.h. HACK!!!
9503
9504 * math/clog10.c: Fix typo (FP_INIFITE_P -> INFINITE_P).
9505
9506 * math/cpow.c: Use c_log, not clog.
9507 * math/cpowf.c: Likewise.
9508 * math/cpowl.c: Likewise.
9509
9510 * math/cexp.c: Remove unused fpclassify calls. Use FINITE_P instead
9511 of isfinite call.
9512
9513 * math/mathconf.h (FINITE_P, FINITEF_P, FINITEL_P): Define using
9514 isfinite macro if it is available.
9515 (INFINITE_P, INFINITEF_P, INFINITEL_P): Define using isinf macro.
9516
9517 * math/ccosf.c: Use appropriate test macros for this type.
9518 * math/ccoshf.c: Likewise.
9519 * math/ccoshl.c: Likewise.
9520 * math/ccosl.c: Likewise.
9521 * math/cexpf.c: Likewise.
9522 * math/cexpl.c: Likewise.
9523 * math/clog10f.c: Likewise.
9524 * math/clog10l.c: Likewise.
9525 * math/clogf.c: Likewise.
9526 * math/clogl.c: Likewise.
9527 * math/csinf.c: Likewise.
9528 * math/csinhf.c: Likewise.
9529 * math/csinhl.c: Likewise.
9530 * math/csinl.c: Likewise.
9531 * math/csqrtf.c: Likewise.
9532 * math/csqrtl.c: Likewise.
9533 * math/ctanf.c: Likewise.
9534 * math/ctanhf.c: Likewise.
9535 * math/ctanhl.c: Likewise.
9536 * math/ctanl.c: Likewise.
9537
9538 1998-10-06 Benjamin Kosnik <bkoz@bliss.nabi.net>
9539
9540 * bits/basic_ios.h: Fix previous change.
9541
9542 1998-10-06 Benjamin Kosnik <bkoz@bliss.nabi.net>
9543
9544 * bits/basic_ios.h: Add const_cast<basic_ios&>
9545 (operator void*): As per 5.2.9 p 2, make sure static_cast is
9546 well-formed.
9547 * bits/char_traits.h: No _CharT for specialization, change to 0.
9548 * bits/basic_string.h: As per 9.4.2 p4, initialize with
9549 constant-initializer.
9550 * bits/locfacets.tcc: Add template parameter to initialization list.
9551
9552 1998-10-02 Benjamin Kosnik <bkoz@loony.cygnus.com>
9553
9554 * bits/basic_string.h: Should just be <, not <=.
9555
9556 1998-10-01 Benjamin Kosnik <bkoz@bliss.nabi.net>
9557
9558 * bits/string.tcc (compare): Fix for strings that are similar, but
9559 not the same length.
9560
9561 1998-09-04 Brendan Kehoe <brendan@cygnus.com>
9562
9563 * bits/c++config.h: For __linux__, define _GNU_SOURCE. This is
9564 required for us to get LONG_LONG_{MIN,MAX} out of gcc's limits.h.
9565 We can't check for __GLIBC__ here, since this header can be read
9566 before any system one (that would lead to features.h) being used.
9567
9568 * stl/bits/stl_config.h (__STL_LONG_LONG): Re-enabled
9569
9570 * stl/bits/std_limits.h [__STL_LONG_LONG]: Fix usage to use
9571 LONG_LONG_MIN, LONG_LONG_MAX, and ULONG_LONG_MAX.
9572
9573 * stl/bits/stl_config.h: Don't do __STL_LONG_LONG, it uses
9574 LONGLONG_{MIN,MAX} which I can't find the origin of.
9575
9576 1998-09-03 Brendan Kehoe <brendan@cygnus.com>
9577
9578 * stl/bits/stl_iterator.h: Add extern decl of cin for now; where
9579 should this come from, if not iostream.h?
9580 (class istream_iterator): Make the new operator!= a friend also.
9581
9582 * stl/bits/stl_config.h: Define __STL_HAS_WCHAR_T,
9583 __STL_MEMBER_TEMPLATE_CLASSES, and __STL_LONG_LONG. Don't include
9584 _G_config.h like the egcs one does.
9585
9586 1998-09-01 Brendan Kehoe <brendan@cygnus.com>
9587
9588 * bits/string.tcc: Call `_M_destroy' instead of `destroy'.
9589
9590 * bits/valarray_meta.h: Throughout, rename _Expr typedefs to be
9591 _Expr1 (or _Expr_def if it's taken), and change definitions.
9592 Avoids redecl of the template parm.
9593
9594 * bits/string.tcc (basic_string copy ctor): Fix typo in declaration.
9595 (operator>>): Initialize __ERROR with ios_base::goodbit, not 0.
9596
9597 * bits/std_streambuf.h (_POSIX_SOURCE): Only define if it's not
9598 already done.
9599
9600 * src/locale-inst.cc: New file, **TOTAL HACK**. There has GOT to
9601 be a better way to do this.
9602
9603 * src/stlinst.cc: New file.
9604
9605 * BUGS: New file, with various discovered bugs that need to be
9606 fixed.
9607
9608 * Makefile.in, math/Makefile.in, string/Makefile.in,
9609 src/Makefile.in: Reran automake.
9610
9611 Workarounds, these may not all be the final fixes:
9612
9613 * bits/basic_ios.h (class basic_ios): Make _M_strbuf be protected,
9614 not private, for basic_istream::get() in std_istream.h to be able
9615 to use it.
9616 (basic_ios::operator void*): Don't use static_cast for the false
9617 case.
9618 (basic_ios::copyfmt): Fix `rhs.except' to be `rhs.exceptions ()'.
9619 This appears to have been in sep94, but didn't get corrected
9620 afterwards.
9621
9622 * bits/basic_string.h (npos): Don't init here.
9623 * bits/string.tcc: Instead, do initialization here, to -1 instead
9624 of the size_type destructor.
9625
9626 * src/traits.cc, src/wtraits.cc: New files.
9627 * bits/char_traits.h: For char_traits<char> and
9628 char_traits<wchar_t>, declare static, but define over in the src
9629 files.
9630
9631 * bits/gslice.h: Comment out forward decls of _Array, valarray,
9632 gslice_array, and _GsliceExpression.
9633
9634 * bits/std_cstdio.h [__sparc__ && __svr4__]: #undef all of
9635 clearerr, feof, ferror, getc, getchar, putc, putchar, stdin,
9636 stdout, and stderr. Note we do get unresolved refs to stdin, but
9637 that'll get fixed by the "true" solution.
9638
9639 * bits/std_ios.h: Include <bits/std_streambuf.h> to get the
9640 definition of basic_streambuf.h, which is used in basic_ios.h to
9641 call pubimbue.
9642
9643 * bits/std_streambuf.h: Don't include libio.h for now.
9644 (class basic_streambuf): Define missing methods pubimbue and
9645 getloc.
9646
9647 * src/Makefile.am (libstdc___la_SOURCES): Add stdexcept.cc,
9648 ios.cc, os_raw.cc, stdstreams.cc, locale.cc, localename.cc,
9649 locale-inst.cc, stlinst.cc, traits.cc, wtraits.cc.
9650
9651 * src/ios.cc: Instantiate basic_ios<char> and basic_ios<wchar_t>.
9652
9653 * src/locale.cc: Come up with munged versions of _S_toupper,
9654 _S_tolower, and _S_table instead of the glibc-specific ones, so
9655 they're at least defined, if not necessarily usable. The glibc
9656 ones on any other system will yield unresolved refs to
9657 __ctype_{b,toupper,tolower}.
9658
9659 * src/string.cc: Define all of ADDCS, ADDPS, et al. Add
9660 basic_ios, basic_istream, basic_ostream. Don't do char_traits
9661 anymore cuz of the explicit specialization in char_traits.h.
9662 Also add _S_string_copy, but this doesn't fix it -- cf the BUGS
9663 file for the details.
9664
9665 * stl/bits/stl_algobase.h (equal): Fix to do `! (x==y)'.
9666 * stl/bits/stl_iterator.h (__distance): Likewise.
9667
9668 * stl/bits/stl_iterator.h: As with 8/18 set, define missing op!=,
9669 op>, op<=, and op>= for reverse_iterator. Also add op!= for
9670 istream_iterator.
9671
9672 1998-08-26 Brendan Kehoe <brendan@cygnus.com>
9673
9674 * bits/string.tcc (basic_string::compare (const char*)): Fix to
9675 return 0, not 1.
9676
9677 1998-08-25 Brendan Kehoe <brendan@cygnus.com>
9678
9679 This should really be fixed with __asm__ directives renaming the
9680 symbol, but keeping the function.
9681 * math/clogf.c (c_logf): Renamed from `clogf'.
9682 * math/clogl.c (c_logl): Renamed from `clogl'.
9683 * math/complex-stub.h (c_logf, c_logl): Change decls.
9684
9685 * bits/locfacets.h (class _Numeric_get): For friend decls, rename
9686 _CharT and _InIter parms, since they duplicate the enclosing ones.
9687
9688 1998-08-19 Brendan Kehoe <brendan@cygnus.com>
9689
9690 Deal with conflict of the iostreams `clog' and our internal
9691 complex number `clog'.
9692 * src/complex.cc: Call `c_log' instead of `clog'.
9693 * math/clog.c (c_log):: Renamed from clog.
9694 * math/complex-stub.h (c_log): Renamed from clog decl.
9695
9696 * bits/locfacets.h (class _Numeric_get): Tweak fwd decls of the
9697 get/put classes.
9698 (num_put::put): #if 0 long long version, since we don't declare or
9699 define the long long version of do_put.
9700
9701 1998-08-18 Nathan Myers <ncm@cantrip.org>
9702
9703 * bits/basic_string.h: add basic_string<>::push_back(), fix return
9704 type of get_allocator (thanks to Ryszard Kabatek).
9705 * bits/char_traits.h: make init order of fpos<> members
9706 match decl order.
9707 * bits/ios_base.h: fix decls of ios_base bitmask & enum types, add
9708 flags _S_fd_in etc. for special filebuf ctor.
9709 * bits/locfacets.h: make _Numeric_get and _Format_cache public
9710 to work around problems in friend declarations.
9711 * bits/locfacets.tcc: qualify _S_get_cache in num_get<>::get(..bool&),
9712 fix random type errors & typos
9713 * bits/std_fstream.h: major refitting to bypass libio (for now),
9714 instrument to use bits/fstream.tcc template definitions
9715 * bits/std_iosfwd.h: mess with wrappers
9716 * bits/std_istream.h: remove meaningless comment
9717 * bits/std_ostream.h: instrument to work with ostream.tcc.
9718 * bits/std_streambuf.h: instrument to work with streambuf.tcc
9719 * bits/fstream.tcc: template defs for <fstream>
9720 * bits/ostream.tcc: template defs for <ostream>
9721 * bits/streambuf.tcc: template defs for <streambuf>
9722 * bits/os_raw.h: thin OS interface wrapper, to bypass libio (for now).
9723 * Delete .cc files, replace with bits/*.tcc
9724 src/fstream.cc
9725 src/istream.cc
9726 src/ostream.cc
9727 src/streambuf.cc
9728 * Add files:
9729 src/os_raw.cc: thin interface to OS, to bypass libio (for now).
9730 src/stdstreams.cc: cout, cin, etc. definitions
9731 (these still need work: must be init'd before user statics.)
9732
9733
9734 1998-08-18 Brendan Kehoe <brendan@cygnus.com>
9735
9736 Sent to SGI before checkin:
9737 * stl/bits/stl_vector.h (operator!=, operator>, operator<=,
9738 operator>=): Define.
9739 * stl/bits/stl_bvector.h (vector<bool>::flip): Define method.
9740 * stl/bits/stl_deque.h (operator!=, operator>, operator<=,
9741 operator>=): Define.
9742 (operator==, operator<): Add inline.
9743 * stl/bits/stl_map.h (operator!=, operator<, operator<=,
9744 operator>=): Define.
9745 * stl/bits/stl_multimap.h (operator!=, operator<, operator<=,
9746 operator>=): Define.
9747 * stl/bits/stl_list.h (operator!=, operator<, operator<=,
9748 operator>=): Define.
9749 * stl/bits/stl_set.h (operator!=, operator<, operator<=,
9750 operator>=): Define.
9751 * stl/bits/stl_multiset.h (operator!=, operator<, operator<=,
9752 operator>=): Define.
9753
9754 * bits/std_valarray.h (_Shift_left, _Shift_right): Inherit from
9755 unary_function.
9756
9757 1998-08-15 Nathan Myers <ncm@cantrip.org>
9758
9759 * bits/ios_base.h: change nominal bitmask and enum types to real enums
9760 * bits/locfacets.h: make _Format_cache bool names usable by num_get
9761 * bits/locfacets.tcc: make num_get<>::get(... bool&) use _Format_cache
9762 * bits/std_fstream.h: minor cleanups: ctors delegate to open()
9763 * bits/std_iosfwd.h: more bitmask changes, for ios_base::iostate
9764 * bits/std_sstream.h: formatting cleanups
9765
9766 1998-08-14 Nathan Myers <ncm@cantrip.org>
9767
9768 * bits/locfacets.tcc: implement num_get<>::do_get(..., bool&)
9769 * bits/locfacets.tcc: implement time_get<>::do_get_weekday
9770 * bits/locfacets.tcc: implement time_get<>::do_get_monthname
9771 * bits/locfacets.h: fix missing argument in do_get_monthname
9772 (this is a bug in the standard, ref. 36 in my list.)
9773 * bits/locfacets.h: make month and day name caches mutable
9774 * bits/locfacets.tcc: various typos in get() functions
9775 * bits/sbuf_iter.h: fix omission in istreambuf_iterator::op++().
9776 * bits/std_streambuf.h: fix typo in sgetn (Brendan)
9777
9778 1998-08-12 Nathan Myers <ncm@cantrip.org>
9779 * move streambuf iterators to bits/sbuf_iter.h
9780 * optimize streambuf iterators
9781 * begin generalizing streambuf
9782 * begin implementing num_get<>::get (starting with bool)
9783 * patch stl/bits/stl_config.h so that relops operators are
9784 contained properly, out of the way.
9785
9786 1998-07-24 Nathan Myers <ncm@cantrip.org>
9787 * Fold in SGI 3.11 changes (uglified names, some algorithm
9788 improvements, very minor bug fixes.)
9789 * Uglify names elsewhere to match (s/_T/_Tp/).
9790 * Begin work on optimized streambuf
9791 * Put complex.cc in namespace std:: (thanks Martin)
9792
9793 1998-07-17 Nathan Myers <ncm@cantrip.org>
9794
9795 * bits/char_traits.h: add _Char_traits_match template.
9796 * bits/string.tcc: fix bugs in various find_last* members.
9797 * bits/basic_string.h: redeclare member _S_find.
9798 * stl/bits/stl_iterator.h: change member names in nonstandard
9799 templates bidirectional_reverse_iterator and
9800 random_access_reverse_iterator to match expected changes
9801 in upstream source.
9802 * src/string.cc: fix definitions of stream operators.
9803
9804 1998-07-14 16:06 Ulrich Drepper <drepper@cygnus.com>
9805
9806 * Makefile.am (SUBDIRS): Add string.
9807
9808 * configure.in: Test for long double functions separately. Test for
9809 ISO C 89 float functions. Test for endian.h and sys/isa_defs.h.
9810 Generate string/Makefile.
9811
9812 * bits/c++config.h: Define mbstate_t for Solaris.
9813
9814 * bits/char_traits.h: Remove unused #if.
9815
9816 * bits/std_cwchar.h: Declare wide char string functions.
9817
9818 * m4/stringfcts.m4: New file.
9819
9820 * math/complex-stub.h: Declare nan.
9821 * math/nan.c: New file.
9822
9823 * math/mathconf.h: Hack around missing endian.h file.
9824 Handle missing NAN definition.
9825 Handle missing float math functions.
9826
9827 * src/Makefile.am (libstdc___la_LIBADD): Add libstring.la.
9828 (libstdc___la_LDFLAGS): Set version information.
9829
9830 * src/complexl.cc: Don't compile any code if no long double functions
9831 are available.
9832
9833 * string/Makefile.am: New file.
9834 * string/dummy.c: New file.
9835 * string/wmemchr.c: New file.
9836 * string/wmemcmp.c: New file.
9837 * string/wmemcpy.c: New file.
9838 * string/wmemmove.c: New file.
9839 * string/wmemset.c: New file.
9840
9841 1998-07-14 10:45 Ulrich Drepper <drepper@cygnus.com>
9842
9843 * configure.in: Make it work.
9844 * install-sh: New file.
9845 * missing: New file.
9846 * mkinstalldirs: New file.
9847 * m4/mathfcts.m4: New file.
9848 * math/Makefile.am: New file.
9849
9850 * bits/std_complex.h (conj): Mark specializations as inline.
9851
9852 * math/carg.c: New file.
9853 * math/cargf.c: New file.
9854 * math/cargl.c: New file.
9855 * math/mycabs.c: New file.
9856 * math/mycabsf.c: New file.
9857 * math/mycabsl.c: New file.
9858 * math/signbit.c: New file.
9859 * math/signbitf.c: New file.
9860 * math/signbitl.c: New file.
9861
9862 * math/ccos.c: Avoid ISO C 9x functionality.
9863 * math/ccosf.c: Likewise.
9864 * math/ccosh.c: Likewise.
9865 * math/ccoshf.c: Likewise.
9866 * math/ccoshl.c: Likewise.
9867 * math/ccosl.c: Likewise.
9868 * math/cexp.c: Likewise.
9869 * math/cexpf.c: Likewise.
9870 * math/cexpl.c: Likewise.
9871 * math/clog.c: Likewise.
9872 * math/clog10.c: Likewise.
9873 * math/clog10f.c: Likewise.
9874 * math/clog10l.c: Likewise.
9875 * math/clogf.c: Likewise.
9876 * math/clogl.c: Likewise.
9877 * math/cpow.c: Likewise.
9878 * math/cpowf.c: Likewise.
9879 * math/cpowl.c: Likewise.
9880 * math/csin.c: Likewise.
9881 * math/csinf.c: Likewise.
9882 * math/csinh.c: Likewise.
9883 * math/csinhf.c: Likewise.
9884 * math/csinhl.c: Likewise.
9885 * math/csinl.c: Likewise.
9886 * math/csqrt.c: Likewise.
9887 * math/csqrtf.c: Likewise.
9888 * math/csqrtl.c: Likewise.
9889 * math/ctan.c: Likewise.
9890 * math/ctanf.c: Likewise.
9891 * math/ctanh.c: Likewise.
9892 * math/ctanhf.c: Likewise.
9893 * math/ctanhl.c: Likewise.
9894 * math/ctanl.c: Likewise.
9895
9896 * math/complex-stub.h: New file.
9897
9898 * math/mathconf.h: New file.
9899
9900 * src/Makefile.am: New file.
9901
9902 * src/complex.cc: Use mathconf.h instead of complex.h.
9903 Don't use cabs, always use __mycabs.
9904
9905 1998-02-13 Brendan Kehoe <brendan@cygnus.com>
9906
9907 * iterator (class reverse_iterator): Do some tweaks to be in sync
9908 w/ the FDIS.