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