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