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