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