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