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