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