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