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