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