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