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