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