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