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