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