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