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