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