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