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