OSDN Git Service

c5dda7cf8a9c75dde4da29607a8b3f1d58b9234b
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
1 2000-05-18  Chip Salzenberg  <chip@valinux.com>
2
3         * bits/ostream.tcc (_S_pad_char): Function template should not be
4         static.
5         * bits/streambuf.tcc (_S_copy_streambufs): Likewise.
6         * src/string-inst.cc (__destroy_aux): Instantiate for string*.
7
8 2000-05-18  Nathan C. Myers  <ncm@cantrip.org>
9
10         * mkcshadow: Change C_Swamp to C_legacy.
11         * shadow/*: Same.
12         * shadow/bits/*: Same.
13         s/C_Swamp/C_legacy/g
14         s/SWAMP/LEGACY/g
15         s/_Shadow/_shadow/g
16
17 2000-05-18  Anthony Williams  <anthony@anthonyw.cjb.net> 
18
19         * bits/locale_facets.tcc (num_get::_M_extract): Change char* to
20         const char*.
21         * src/string-inst.cc (string::_S_find): Same.
22         
23 2000-05-18  Benjamin Kosnik  <bkoz@gnu.org>
24
25         * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Change to
26         --enable-cshadow-headers. Add output messages.
27         (GCC_ENABLE_LONG_LONG): Change to --enable-long-long, no
28         underscores (like the rest of the enable options.) Add output messages.
29         * aclocal.m4: Regenerate.
30         * configure: Regenerate.
31         * configure.in: Touch.
32         
33 2000-05-17  Benjamin Kosnik  <bkoz@cygnus.com>
34
35         * mkcheck.in: Enable shared library testing.
36
37 2000-05-17  Nathan C. Myers  <ncm@cantrip.org>
38
39         * bits/std_cmath.h: fix sqrt(float)
40
41 2000-05-16  Loren J. Rittle  <ljrittle@acm.org>
42
43         * bits/std_cassert.h: Use system_header pragma.
44         * bits/std_cctype.h: Likewise.
45         * bits/std_cerrno.h: Likewise.
46         * bits/std_cfloat.h: Likewise.
47         * bits/std_climits.h: Likewise.
48         * bits/std_clocale.h: Likewise.
49         * bits/std_cmath.h: Likewise.
50         * bits/std_csetjmp.h: Likewise.
51         * bits/std_csignal.h: Likewise.
52         * bits/std_cstdarg.h: Likewise.
53         * bits/std_cstddef.h: Likewise.
54         * bits/std_cstdio.h: Likewise.
55         * bits/std_cstdlib.h: Likewise.
56         * bits/std_cstring.h: Likewise.
57         * bits/std_ctime.h: Likewise.
58         * bits/std_cwchar.h: Likewise.
59         * bits/std_cwctype.h: Likewise.
60         * bits/std_exception.h: Likewise.
61         * bits/std_new.h: Likewise.
62         * bits/std_typeinfo.h: Likewise.
63         * shadow/bits/std_cassert.h: Likewise.
64         * shadow/bits/std_cctype.h: Likewise.
65         * shadow/bits/std_cerrno.h: Likewise.
66         * shadow/bits/std_cfloat.h: Likewise.
67         * shadow/bits/std_climits.h: Likewise.
68         * shadow/bits/std_clocale.h: Likewise.
69         * shadow/bits/std_cmath.h: Likewise.
70         * shadow/bits/std_csetjmp.h: Likewise.
71         * shadow/bits/std_csignal.h: Likewise.
72         * shadow/bits/std_cstdarg.h: Likewise.
73         * shadow/bits/std_cstddef.h: Likewise.
74         * shadow/bits/std_cstdio.h: Likewise.
75         * shadow/bits/std_cstdlib.h: Likewise.
76         * shadow/bits/std_cstring.h: Likewise.
77         * shadow/bits/std_ctime.h: Likewise.
78         * shadow/bits/std_cwchar.h: Likewise.
79         * shadow/bits/std_cwctype.h: Likewise.
80         * shadow/bits/wrap_libio.h: Likewise.
81         * shadow/bits/wrap_unistd.h: Likewise.
82         * shadow/sys/cdefs.h: Likewise.
83
84 2000-05-16  Nathan C. Myers  <ncm@cantrip.org>
85
86         It appears that gcc-2.96 supports the keyword "and" now.
87         * bits/std_ciso646.h: remove.
88         * std/ciso646: gut.
89         * testsuite/17_intro/header_ciso646.c: enable testing.
90         * src/Makefile.am, src/Makefile.in: remove mention of
91         bits/std_ciso646.h
92
93 2000-05-16  Nathan C. Myers  <ncm@cantrip.org>
94        
95        * mkcshadow: fix typo s/_C_Swamp_/_C_Swamp/.
96
97 2000-05-16  Phil Edwards  <pme@sourceware.cygnus.com>
98
99         * acinclude.m4:  Fix typo, switch to decaf...
100         * aclocal.m4:  Regenerate.
101         * configure:  Regenerate.
102
103 2000-05-16  Phil Edwards  <pme@sourceware.cygnus.com>
104
105         * acinclude.m4 (GLIBCPP_ENABLE_SHADOW):  New macro, stub.
106         * aclocal.m4:  Regenerate.
107         * configure.in:  Call.
108         * configure:  Regenerate.
109         * docs/configopts.html:  Stub documentation.
110
111 2000-05-14  Nathan Myers  <ncm@cantrip.org>
112
113         * mkcshadow: build in more-correct directory, create cshadow/
114         directory if needed, report progress.
115
116 2000-05-14  LLeweLLyn Reese  <llewelly@dbritsch.dsl.xmission.com>
117
118         * src/Makefile.am: Fix tr commands.
119         * src/Makefile.am: Remove references to [w]stringCTORDUPAL.[lo,cc]
120         * src/string-inst.cc: Remove extra instantiation of
121           S::basic_string(S::size_type, C, S::allocator_type const&);
122         * src/string-inst.cc: Remove extra template keyword.
123
124 2000-05-14  Loren J. Rittle  <ljrittle@acm.org>
125
126         * config/bsd/bits/ctype_base.h: Add support for plain BSD4.4.
127         * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Enhance bsd tests.
128         * aclocal.m4: Regenerate.
129         * configure: Regenerate.
130         * */Makefile.in: Regenerate.
131
132 2000-05-11  Phil Edwards  <pme@sourceware.cygnus.com>
133
134         * acinclude.m4:  Fix minor typo with ctypes, add more sanity to
135           enable-cxx-flags, and remove GLIBCPP_ENABLE_NAMESPACES altogether.
136         * aclocal.m4:  Regenerate.
137         * configure.in:  Non-blank arguments break fewer Linuxes.
138         * configure:  Regenerate.
139         * src/Makefile.am:  Re-order AC_CXXFLAGS components.
140         * src/Makefile.in:  Regenerate.
141
142 2000-05-10  Benjamin Kosnik  <bkoz@redhat.com>
143
144         * bits/std_cmath.h: Tweaks.
145         * math/mathconf.h: Tweaks and fixes for HP-UX 11.
146         (sqrtf): Define away iff !builtin and !in <math.h>. 
147         (sinf): Same.
148         (cosf): Same.
149         (fabsf): Same.
150         At some point this directory should be converted to c++, the
151         autoconf tests should be run by the c++ compiler (not c), and
152         <cmath> should be used instead of math.h.
153         Move declaration of nan() here.
154         * math/complex-stub.h (cabsl): Remove nan() declaration.
155
156         Finish up FreeBSD4.0 support.
157         * config/bsd/ctype.cc: Scope out toupper, tolower calls.
158         * config/generic/ctype.cc: And here.
159         * testsuite/21_strings/char_traits.cc (test02): Guard with
160         _GLIBCPP_USE_WCHAR_T.
161
162         via Phil Edwards  <pme@sourceware.cygnus.com>
163         * bits/std_cctype.h: Remove _GLIBCPP_USE_NAMESPACES.
164         * acconfig.h: And here.
165         * acinclude.m4: Same.
166         * testsuite/27_io/istream.cc: And here.
167         * testsuite/27_io/ostream.cc: And here.
168
169 2000-05-09  Benjamin Kosnik  <bkoz@gnu.org>
170
171         * acinclude.m4 (GLIBCPP_CHECK_CPU): Change powerpc bits to
172         -mcpu=powerpc.
173         * src/Makefile.am: Disable ENABLE_CXX_FLAGS stuff for the moment.
174         
175         * config/generic/bits/ctype_specializations.h (ctype<char>::is):
176         Make more generic.
177
178         * config/bsd: New directory.
179         * config/bsd/ctype.cc: New.
180         * config/bsd/bits/ctype_base.h (ctype_base): New.
181         * config/bsd/bits/ctype_specializations.h: New.
182         * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add bsd tests.
183         
184 2000-05-09  Phil Edwards  <pme@sourceware.cygnus.com>
185
186         * acinclude.m4:  New macro, GLIBCPP_ENABLE_CXX_FLAGS.
187         * configure.in:  Call.
188         * src/Makefile.am:  Append results of macro to AC_CXXFLAGS.
189         * aclocal.m4:  Regenerate.
190         * configure:  Ditto.
191         * src/Makefile.in:  Ditto.
192         * docs/configopts.html:  Document.
193         * docs/download.html:  Fix typo (close quote).
194         * docs/footer.html:  Update.
195
196 2000-05-09  Loren J. Rittle  <ljrittle@acm.org>
197
198         * backward/iostream.h: Expose endl.  Guard wide types.
199         * src/Makefile.am (headers): Update list to match files.
200         * src/Makefile.in: Regenerate.
201
202 2000-05-09  Vadim Egorov  <egorovv@mailandnews.com>
203             Benjamin Kosnik  <bkoz@gnu.org>
204             Nathan Myers  <ncm@cantrip.org>
205             Dietmar Kuehl  <dietmar_kuehl@yahoo.com> 
206
207         * bits/streambuf.tcc (basic_streambuf::xsgetn): Fix uflow case.
208         (basic_streambuf::xsputn): Make consistent.
209         * testsuite/27_io/filebuf.cc: Add tests.
210         
211 2000-05-08  Steven King  <sxking@uswest.net>
212
213         * bits/char_traits.h: Use wchar_t utility functions for
214         char_traits<wchar_t> methods.
215         * testsuite/21_string/char_traits.cc: New (test02): test
216         char_traits<wchar_t>
217
218 2000-05-08  Benjamin Kosnik  <bkoz@cygnus.com>
219
220         * acinclude.m4 (GLIBCPP_CXXFLAGS): Add bits for solaris2.8.
221
222         * bits/fstream.tcc (filebuf::_M_init_filebuf): Don't set
223         _M_buf_size based on macro, instead use _M_buf_size_opt.
224         * bits/std_streambuf.h (basic_streambuf): Add _M_buf_size_opt.
225         (basic_streambuf()): Set _M_buf_size_opt.
226         * testsuite/27_io/filebuf.cc (filebuf): Use _M_buf_size_opt
227         instead of _M_buf_size.
228
229 2000-05-04  Branko Cibej  <branko.cibej@hermes.si>
230
231         * src/complex_io.cc: Don't instantiate inserters and extractors
232         for wide-character streams unless _GLIBCPP_USE_WCHAR_T is defined.
233
234 2000-05-03  Phil Edwards  <pme@sourceware.cygnus.com>
235             Felix Natter <fnatter@gmx.net>
236
237         * docs/footer.html:  Update to see if it takes effect.
238         * docs/thanks.html:  More people.
239         * docs/17_intro/headers_cc.txt:  Copy from testsuite, since that can't
240           be seen from the web pages.  Rename for browser-friendliness...
241         * docs/17_intro/howto.html:  ...and update here.
242         * docs/17_intro/porting-howto.html:  Changes from Felix.
243         * docs/gccrebuild.html:  Mention v3->egcs move.
244         * docs/faq/index.html:  Ditto.  Also misc tweaks and URL updates.
245         * docs/faq/index.txt:  Regenerate.
246
247 2000-05-01  Benjamin Kosnik  <bkoz@redhat.com>
248
249         * config/cpu/powerpc/bits/atomicity.h (__exchange_and_add): More
250         fixes.
251
252 2000-05-01  Vadim Egorov  <egorovv@@mailandnews.com>
253
254         * bits/char_traits.h: Fix parameter types.
255         * bits/string.tcc: Avoid traits_type::move.
256
257 2000-05-01  Benjamin Kosnik  <bkoz@haight.constant.com>
258
259         * src/Makefile.am (AC_CXXFLAGS): Add CPUFLAGS here.
260         * src/Makefile.in: Regenerate.
261         * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Revert.
262
263 2000-04-30  Steven King <sxking@uswest.net>
264
265         * bits/locale_facets.h: Fix syntax  error.
266         * bits/std_fstream.h: ditto
267
268 2000-04-30  Benjamin Kosnik  <bkoz@gnu.org>
269
270         * config/cpu/powerpc/bits/atomicity.h (__compare_and_swap): Fix typo.
271
272         * mknumeric_limits (trait_name): Fix copyright notice.
273         * src/gen-num-limits.cc: Explicitly instantiate epsilon and
274         round_error data members of struct value. This works around
275         weak-linking issues on AIX, HPUX.
276
277 2000-04-29  Phil Edwards  <pme@sourceware.cygnus.com>
278
279         * docs/download.html:  Add link to list of mirror sites.
280
281 2000-04-28  Loren J. Rittle  <ljrittle@acm.org>
282
283         * mkcheck.in: Rely on exit status instead of the presence of a
284         core file.  Added comments on how/where to save core and exe
285         files.  Move shell wildcards outside quotes and fix core path.
286         
287 2000-04-27  scott snyder  <snyder@fnal.gov>
288
289         * src/misc-inst.cc: Explicitly instantiate ifstream and ofstream
290         classes.
291
292 2000-04-26  Nathan C. Myers  <ncm@cantrip.org>
293
294         * bits/basic_string.h: include <bits/atomicity.h> instead
295         of <atomicity.h>, and use the uglified names.
296         * config/cpu/*/atomicity.h: replace with bits/atomicity.h;
297         uglify names, eliminate dependence on <inttypes.h>.
298         * src/Makefile.in, src/Makefile.am: refer to correct place
299         for atomicity.h header.
300
301 2000-04-25 Steven King <sxking@uswest.net>
302
303         * bits/basic_string.h: Fix syntax error.
304
305 2000-04-25  Benjamin Kosnik  <bkoz@redhat.com>
306
307         * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Improve checks for
308         USE_LONG_DOUBLE.
309         (GLIBCPP_ENABLE_DEBUG): If alpha, use -gdwarf-2.
310         * math/Makefile.am (EXTRA_LONG_DOUBLE_yes): Add all the long
311         versions to this as copysignl is needed anyway for these targets.
312         * math/Makefile.in: Regenerate.
313         
314         * bits/streambuf.tcc (streambuf::xsgetn): Tweak.
315         * bits/fstream.tcc (underflow): Cast to libio types.
316         * bits/basic_file.h (seekoff): Fixes for alpha: use __c_streamoff.
317         * config/c_io_libio.cc (seekoff): And here.
318         
319 2000-04-24  Loren J. Rittle  <ljrittle@acm.org>
320
321         * mkcheck.in: Report compiler version used for test.  Find
322         the built _G_config.h instead of any old installed version.
323
324 2000-04-24  Loren J. Rittle  <ljrittle@acm.org>
325
326         * config/generic/ctype.cc (do_toupper): Remove dependence on
327         non-portable/non-existent lookup table.
328         (do_tolower): Same.
329         
330 2000-04-24  Nathan Myers  <ncm@cantrip.org>
331
332         * src/string-inst.cc: More fixing.
333
334 2000-04-24  Benjamin Kosnik  <bkoz@gnu.org>
335
336         * bits/stl_iterator.h: Pedantic fixing.
337         * bits/std_sstream.h: And here.
338         * bits/string.tcc: And here.
339
340 2000-04-24  Felix Natter <fnatter@gmx.net> 
341
342         * docs/17_intro/howto.html: Add bits.
343         * docs/17_intro/porting-howto.html: New file.
344         
345 2000-04-24  Branko Cibej  <branko.cibej@hermes.si>
346
347         * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Expand
348         @libinst_wstring_la@ to libinst-wstring.la when specializing for
349         wchar_t, to empty string otherwise.
350         * src/Makefile.am: (EXTRA_LTLIBRARIES): New.
351         (sources): Remove $(string_sources) and $(wstring_sources).
352         (libstdc___la_LIBADD): Add libinst-string.la and @libinst_wstring_la@.
353         (libstdc___la_DEPENDENCIES): New.
354         (libinst_string_la_SOURCES, libinst_wstring_la_SOURCES): New.
355
356 2000-04-20  Benjamin Kosnik  <bkoz@redhat.com>
357
358         * bits/std_sstream.h: Tweak formatting.
359         * bits/std_fstream.h: Make types public.
360
361         * testsuite/27_io/streambuf.cc: Fix for alpha.
362
363         Brad Garcia <bgarcia@laurelnetworks.com>
364         * bits/locale_facets.h (numpunct::numpunct(size_t)): Fix bool
365         initialization.
366         * testsuite/27_io/ios_manip_fmtflags.cc (test02): Add test for
367         bool formatting.
368         
369 2000-04-19  Nathan Myers  <ncm@cantrip.org>
370
371         * src/string-inst: consolidate _S_create,
372         destroy, leak, clone members into stringMAIN and stringMUTATE
373         object files.
374         * src/Makefile.am: Above, and eliminate dependence on
375         wstring-inst.cc.
376         * src/wstring-inst.cc: Remove.
377
378 2000-04-18  Benjamin Kosnik  <bkoz@redhat.com>
379
380         * src/Makefile.am (AC_CXXFLAGS): Activate debugging code, again.
381         Add flags for specialized rules dealing with instantiations.
382         
383         * src/string-inst.cc: Add instantiations missing from shared
384         libraries--see stringEQ, stringCONSC.
385         * src/Makefile.am (wstring_sources): Add.
386         (string_sources): Same.
387         * src/Makefile.in: Regenerate.
388         
389         * stl/*: Integrate contents of this directory into top-level
390         directories.
391         * ext/bvector hash_map hash_set rope ropeimpl.h slist
392         stl_bvector.h stl_hash_fun.h stl_hashtable.h stl_rope.h tree: Add.
393         * bits/pthread_allocimpl.h std_algorithm.h std_bitset.h
394         std_deque.h std_functional.h std_iterator.h std_list.h std_map.h
395         std_memory.h std_numeric.h std_queue.h std_set.h std_stack.h
396         std_stdexcept.h std_strstream.h std_utility.h std_vector.h
397         stl_algo.h stl_algobase.h stl_alloc.h stl_config.h stl_construct.h
398         stl_deque.h stl_function.h stl_heap.h stl_iterator.h
399         stl_iterator_base.h stl_list.h stl_map.h stl_multimap.h
400         stl_multiset.h stl_numeric.h stl_pair.h stl_pthread_alloc.h
401         stl_queue.h stl_range_errors.h stl_raw_storage_iter.h stl_relops.h
402         stl_set.h stl_stack.h stl_string_fwd.h stl_tempbuf.h stl_threads.h
403         stl_tree.h stl_uninitialized.h stl_vector.h type_traits.h: Add.
404         * backward/algo.h algobase.h alloc.h bvector.h defalloc.h deque.h
405         function.h hash_map.h hash_set.h hashtable.h heap.h iterator.h
406         list.h map.h multimap.h multiset.h pair.h rope.h set.h slist.h
407         stack.h tempbuf.h tree.h vector.h: Add.
408         * README (file): Update.
409         * docs/documentation.html: README not being found.
410         * src/Makefile.am (sources): Take out stl directory.
411         * mkcheck.in (SRC_DIR): And here.
412         * src/Makefile.in: Regenerate.
413         
414 2000-04-18  Levente Farkas  <lfarkas@mindmaker.hu>
415
416         * stl/bits/stl_function.h: Add bits so that const and non-const
417         both work.
418         
419 2000-04-18  scott snyder  <snyder@fnal.gov>
420
421         * stl/bits/stl_map.h (class map): Fix default for _Alloc template
422         parameter.  Get rid of use of __STL_DEFAULT_ALLOCATOR and
423         __STL_LIMITED_DEFAULT_TEMPLATES macros.
424         * stl/bits/stl_multimap.h (class multimap): Likewise.  Get rid of
425         use of __STL_DEPENDENT_DEFAULT_TMPL macro.
426
427 2000-04-18  scott snyder  <snyder@fnal.gov>
428
429         * stl/bits/stl_config.h (__STL_DEPENDENT_DEFAULT_TMPL): Deleted
430         this macro.
431
432         * stl/ext/hash_map (class hash_map, class hash_multimap): Get rid
433         of use of __STL_DEPENDENT_DEFAULT_TMPL macro.
434         * stl/ext/hash_set (class hash_set, class hash_multiset):
435         Likewise.
436         * stl/bits/stl_function.h (struct constant_unary_fun, struct
437         constant_binary_fun): Likewise.
438         * stl/bits/stl_queue.h (class queue, class priority_queue): Likewise.
439         * stl/bits/stl_stack.h (class stack): Likewise.
440         * stl/bits/stl_set.h (class set): Likewise.
441         * stl/bits/stl_multiset.h (class multiset): Likewise.
442
443         * stl/bits/stl_iterator.h (class reverse_bidirectional_iterator,
444         class reverse_iterator): Get rid of use of
445         __STL_LIMITED_DEFAULT_TEMPLATES macro.
446
447         * stl/bits/stl_config.h (__STL_DEFAULT_ALLOCATOR): Deleted this
448         macro.
449
450         * stl/bits/stl_deque.h (class deque): Get rid of use of
451         __STL_DEFAULT_ALLOCATOR macro.
452         * stl/bits/stl_list.h (class list): Likewise.
453         * stl/bits/stl_multiset.h (class multiset): Likewise.
454         * stl/bits/stl_set.h (class set): Likewise.
455         * stl/bits/stl_string_fwd.h (class basic_string): Likewise.
456         * stl/bits/stl_tree.h (class _Rb_tree, class rb_tree): Likewise.
457         * stl/bits/stl_vector.h (class vector): Likewise.
458         * stl/ext/ropeimpl.h (rotate): Likewise.
459         * stl/ext/hash_map (class hash_map, class hash_multimap):
460         Likewise.
461         * stl/ext/hash_set (class hash_set, class hash_multiset):
462         Likewise.
463         * stl/ext/slist (class slist): Likewise.
464         * stl/ext/stl_bvector.h (class bit_vector): Likewise.
465         * stl/ext/stl_rope.h (class rope): Likewise.
466         * src/locale.cc (_Impl): Likewise.
467         * src/localename.cc (_Impl): Likewise.
468         * bits/localefwd.h (_Impl): Likewise.
469
470 2000-04-18  Phil Edwards  <pme@sourceware.cygnus.com>
471
472         * docs/install.html:  Cleanup, minor changes.
473         * docs/17_intro/howto.html:  Ditto.
474
475 2000-04-18  Nathan Myers  <ncm@cantrip.org>
476
477         * bits/basic_string.h: Remove "inline" from member _S_find.
478         
479         * src/string-inst.cc: Rewrite to reflect non-inline template
480         instantiations in string.tcc.
481         
482         * src/stringADDCS.cc, stringADDPS.cc, stringADDSC.cc, stringADDSP.cc,
483         stringADDSS.cc, stringBIST.cc, stringBOST.cc, stringCHTR.cc,
484         stringEQPS.cc, stringEQSP.cc, stringEQSS.cc, stringEXTRA.cc,
485         stringGEPS.cc, stringGESP.cc, stringGESS.cc, stringGETLI.cc,
486         stringGTPS.cc, stringGTPS.cc, stringGTSP.cc, stringGTSS.cc,
487         stringINSER.cc, stringLEPS.cc, stringLESP.cc, stringLESS.cc,
488         stringLESP.cc, stringLTPS.cc, stringLTPS.cc, stringLTSP.cc,
489         stringLTSS.cc, stringMAIN.cc, stringNEPS.cc, stringNESP.cc,
490         stringNESS.cc, stringSCOPY.cc: Remove.
491         * src/wstringADDCS.cc, etc: Remove.
492
493         Benjamin Kosnik  <bkoz@haight.constant.com>
494         * src/Makefile.am: Modify to reflect above.
495         * src/Makefile.in: Regenerate.
496         
497 2000-04-17  Benjamin Kosnik  <bkoz@cygnus.com>
498
499         * docs/install.html (--enable-libstdcxx-v3): Clean up install docs.
500
501 2000-04-13  Benjamin Kosnik  <bkoz@haight.cygnus.com>
502
503         * bits/std_fstream.h (filebuf::sync): Need to use the abstracted
504         io interface here instead of the libio particulars.
505
506         * config/threads-posix.h: Consistency with stl_config.h.
507
508         * mkcheck.in (CXX_FLAG): Add DDEBUG_ASSERT back in.
509         
510 2000-04-13  Loren J. Rittle  <ljrittle@acm.org>
511
512         * mknumeric_limits: Rename generic type template parameter name
513         '_T' to '_Tp'.
514         * stl/bits/type_traits.h: Ditto.
515
516 2000-04-06  Benjamin Kosnik  <bkoz@decepticon.cygnus.com>
517
518         * mkcheck.in (SRC_DIR): Change default mkcheck behavior, so that
519         it is more useful for --enable-libstdcxx-v3. Use the built
520         compilers with v3, instead of compilers in PATH, and don't
521         re-include include directories for checking the install.
522
523 2000-04-05  Benjamin Kosnik  <bkoz@cygnus.com>
524
525         * src/Makefile.am (AM_CXXFLAGS): Disable NAMESPACES, as this is on
526         by default when using --enable-libstdcxx-v3.
527         * src/Makefile.in: Regenerate.
528         * configure.in: Disable GLIBCPP_ENABLE_NAMESPACES,
529         GLIBCPP_ENABLE_RELIBGCC for --enable-libstdcxx-v3 flag.
530         * configure: Regenerate.
531         * mkcheck.in: Deal with NAMESPACES.
532         
533 2000-04-05  Petter Urkedal  <petter@matfys.lth.se>
534
535         * src/cmath.cc: New file...
536         (pow(*, int)): Define functions...
537         * src/Makefile.am (sources): ...register file.
538         * src/Makefile.in: Regenerate.
539         * bits/std_cmath.h (pow): ...declare functions here, and remove
540         old definitions.
541
542 2000-04-04  Benjamin Kosnik  <bkoz@redhat.com>
543         
544         * acinclude.m4 (GCC_OBJDIR): Tweaks
545
546 2000-04-03  Benjamin Kosnik  <bkoz@redhat.com>
547         
548         * acinclude.m4 (GLIBCPP_CHECK_CPU): Add arm configure bits.
549         * config/cpu/arm: New directory.
550
551         Jesper Skov  <jskov@redhat.com>
552         * config/cpu/arm/atomicity.h: New file.
553         
554 2000-03-31  Benjamin Kosnik  <bkoz@redhat.com>
555
556         * stl/bits/stl_config.h: Make _STL_THREADS depend on _REENTRANT.
557         Remove unused bits. Clean.
558         
559 2000-03-29  Benjamin Kosnik  <bkoz@cygnus.com>
560
561         * testsuite/25_algorithms: New directory.
562         * testsuite/25_algorithms/min_max.cc: New file.
563
564 2000-03-29  scott snyder  <snyder@fnal.gov>
565
566         * bits/locale_facets.tcc (do_put): Allow a couple extra digits of
567         precision beyond that which we get from numeric_limits::digits10.
568
569         * stl/bits/stl_algobase.h (max, min): Don't use comparison
570         operator.
571
572         * testsuite/23_containers/bitset_shift.cc: Fix.
573
574         * testsuite/27_io/ios_manip_fmtflags.cc (test01): Don't give a
575         temporary to imbue().
576
577         * bits/std_fstream.h (sync): Resync libio's idea of the current
578         file position with the external file.
579
580 2000-03-28  Benjamin Kosnik  <bkoz@cygnus.com>
581
582         * testsuite/27_io/istream_extractor_arith.cc.cvs: Fix merge
583         mistake.
584
585         * bits/std_fstream.h (filebuf::is_open): Check for _M_file before
586         attempting calls to it. 
587         * bits/fstream.tcc (ctors): Don't call _M_init_filebuf in
588         ctors. Instead, call _M_init_filebuf ...
589         (open): Here, as suggested by 27.8.1.3. 
590         * src/ios.cc (ios_base::Init::Init()): Clean up default filebufs
591         properly when initializing cout/cin/cerr.
592
593 2000-03-27  Russell Davidson  <russell@ehess.cnrs-mrs.fr>
594
595         * testsuite/23_containers/multiset.cc (main): Clean up for namespaces.
596         * testsuite/22_locale/ctype_char_members.cc: And here.
597         * testsuite/27_io/streambuf.cc (streambuf): And here.
598         * testsuite/27_io/ostream_inserter_char.cc (test06): And here.
599         * testsuite/27_io/istream_unformatted.cc (test05): And here.
600         * testsuite/27_io/istream_extractor_arith.cc: And here.
601         * testsuite/27_io/ios_manip_basefield.cc (test02): And here.
602         * testsuite/27_io/ios_base_members_static.cc: And here.
603         * bits/std_climits.h (_CPP_CLIMITS): Fix typo.
604
605 2000-03-27  Chris Faylor  <cgf@cygnus.com>
606         
607         * configure.in: Remove setting of CXX if canadian cross.
608         * configure: Regenerate.
609
610 2000-03-27  Nathan Myers  <ncm@zembu.com>
611
612         * bits/sstream.tcc: Optimize.
613         * bits/basic_string.h(string::append): Don't inline.
614         * bits/string.tcc: Move out-of-line.
615         
616 2000-03-27  Phil Edwards  <pme@sourceware.cygnus.com>
617
618         * acinclude.m4:  (GLIBCPP_CHECK_COMPILER_VERSION)  When using <2.96,
619           define WERRORSUPPRESS so that the inlining warnings won't kill us.
620         * aclocal.m4:  Regenerate.
621         * configure:  Regenerate.
622         * src/Makefile.am:  Use WERRORSUPPRESS for the files that need it.
623         * src/Makefile.in:  Regenerate.
624
625         * docs/install.html:  Almost complete rewrite.
626
627 2000-03-25  Phil Edwards  <pme@sourceware.cygnus.com>
628
629         * docs/install.html:  Explain -Werror problem at "#Werror" mark.
630         * docs/faq/index.html:  Testsuite will die horribly if new libgcc.a
631           not installed.
632         * docs/faq/index.txt:  Regenerate.
633
634 2000-03-24  Alexandre Oliva  <oliva@lsd.ic.unicamp.br> 
635
636         * src/Makefile.am (libio_headers_install): Fix.
637         * src/Makefile.in: Regenerate.
638         
639 2000-03-24  Benjamin Kosnik  <bkoz@cygnus.com>
640
641         * docs/17_intro/RELEASE-NOTES: Fix typos.
642         * docs/index.html: Update.
643         * docs/17_intro/BUGS: Update.
644         * docs/status.html: Update for 2.90.8 release.
645
646 2000-03-23  Phil Edwards  <pme@sourceware.cygnus.com>
647
648         * Makefile.am:  Better error message when missing libgcc2.ready.
649         * Makefile.in:  Regenerate.
650         * acinclude.m4:  Fastidious nitpicking reformatting.
651         * aclocal.m4:  Regenerate.
652         * configure:  Regenerate.
653         * mkcheck.in:  Must use same namespace settings as the library being
654           tested.  Also log ST_FLAG, since it's being passed.
655         * docs/install.html:  Add brief chunk on configuration.
656         * docs/17_intro/RELEASE-NOTES:  Fix minor Cygwin typo.
657         * docs/23_containers/howto.html:  Mention MT-safe string.
658         * docs/faq/index.html:  Minor updates.
659         * docs/faq/index.txt:  Regerarate.
660
661 2000-03-22  Benjamin Kosnik  <bkoz@cygnus.com>
662
663         * bits/sstream.tcc (seekoff): Fix for gptr() null cases.
664         Return newoff. 
665         * bits/fstream.tcc (seekoff): Sync.
666         (seekpos): Sync.
667         * testsuite/27_io/ostream_unformatted.cc: New file.
668         * testsuite/27_io/stringbuf.cc: Fix.
669         * testsuite/27_io/istream_unformatted.cc (test04): Fix.
670         
671         * config/newlib/bits/ctype_base.h (ctype_base): Fix.
672         * config/newlib/ctype.cc (ctype): Change __ctype -> _ctype_.
673
674         * src/complex_io.cc (operator>>complex): Tweak.
675
676         * config/cpu/alpha/atomicity.h: Explicitly typedef uint32_t, int32_t if
677         <inttypes.h> does not exist.
678         * config/cpu/sparc/sparc64/atomicity.h: Same.
679         * config/cpu/sparc/sparc32/atomicity.h: Same.
680         * config/cpu/powerpc/atomicity.h: Same.
681         * config/cpu/i386/atomicity.h: Same.
682         * config/cpu/generic/atomicity.h: Same.
683         * configure.in: Check for inttypes.h.
684         * configure: Regnerate.
685
686 2000-03-21  Benjamin Kosnik  <bkoz@cygnus.com>
687
688         * bits/std_sstream.h (_M_init_stringbuf): Set initial ate position
689         correctly.
690         * testsuite/27_io/ostream_inserter_char.cc (test06): Add tests for ate.
691
692         * docs/17_intro/RELEASE-NOTES (New): Add bits.
693
694         * configure.in: Move AC_CHECK_HEADERS to a point where we know we
695         are compiling natively.
696
697         * libio/*: Update to CVS libio from egcs.
698         
699 2000-03-21  Phil Edwards  <pme@sourceware.cygnus.com>
700
701         * docs/download.html:  Document use of -z9 for CVS.
702         * docs/index.html:  Add target date (no link) for future snapshot.
703
704 2000-03-21  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
705
706         * bits/slice_array.h: Rename generic type template parameter name
707         '_T' to '_Tp'. 
708         * bits/mask_array.h: Ditto
709
710 2000-03-20  Benjamin Kosnik  <bkoz@cygnus.com>  
711
712         * *: Change copyright holder from "Cygnus Solutions" to "Free
713         Software Foundation, Inc."
714         
715         * docs/configopts.html: Explain what "hella versions" means.
716         * docs/install.html: Some tweaks--nice job on this Phil.
717         * docs/documentation.html: Add a direct link to configuration options.
718
719         * src/Makefile.am (OPTIMIZE_CXXFLAGS): Add in extras.
720         * docs/17_intro/RELEASE-NOTES (New): Add.
721         * bits/c++config.h (__GLIBCPP__): Bump version.
722
723         * config/c_io_libio.cc (__basic__file(__c_lock*)): Change argument
724         type to match prototype.
725
726 2000-03-20  Phil Edwards  <pme@sourceware.cygnus.com>
727
728         * docs/install.html:  Update for new funky build procedure.  Move
729           description of 'configure' options to...
730         * docs/configopts.html:  ...here.  New file.
731         * docs/17_intro/howto.html:  Updates for new snapshot.
732         * docs/20_util/howto.html:  Ditto.
733         * docs/21_strings/howto.html:  Ditto.
734         * docs/21_strings/stringtok_std_h.txt:  Fix example typos.
735         * docs/22_locale/howto.html:  Ditto.
736         * docs/23_containers/howto.html:  Ditto.
737         * docs/faq/index.html:  Ditto.
738
739 2000-03-18  Petter Urkedal  <petter@matfys.lth.se>
740             Benjamin Kosnik  <bkoz@gnu.org>
741         
742         * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_SUPPORT): Move code for main
743         to the right place.
744         * aclocal.m4: Regenerate.
745         * configure: Regenerate.
746
747 2000-03-16  Benjamin Kosnik  <bkoz@cygnus.com>
748             scott snyder  <sss@karma.fnal.gov>
749         
750         * config/c_io_libio.h: Add __c_lock.
751         * config/threads-no.h: Same here.
752         * config/threads-posix.h: Add __mutext_type typedef.
753         * config/c_io_libio.cc: basic_file ctor takes lock arg. 
754         * bits/basic_file.h: Ctor takes lock arg. 
755         * bits/std_fstream.h: Add _M_lock.
756         * bits/fstream.tcc: Supply it to basic_file ctor.
757
758         * mkcheck.in (resultstext): Change [[ to [.
759
760         * testsuite/27_io/ostream_inserter_char.cc (test06): Tweak.
761
762         * bits/locale_facets.h: Tweak.  
763
764         * stl/bits/stl_config.h: Fix defines.
765         
766 2000-03-16  Benjamin Kosnik  <bkoz@cygnus.com>
767
768         * mkcheck.in (INC_PATH): Add paths from cpu_include_dir to find
769         atomicity.h
770         * configure: Regenerate.
771         * aclocal.m4: Regnerate.
772         
773 2000-03-16  Nathan Myers  <ncm@zembu.com>
774
775         * bits/string.tcc: Add MT support.
776         * bits/basic_string.h: Same.
777         
778 2000-03-16  Phil Edwards  <pme@sourceware.cygnus.com>
779
780         * configure.in:  Make --enable-namespaces and -libgcc-rebuild=../..
781           the defaults.
782         * configure:  Regenerate.
783
784         * config/solaris/solaris2.7/ctype.cc:  Fix unsigned/signed comparison.
785
786 2000-03-16  Phil Edwards  <pme@sourceware.cygnus.com>
787
788         * acinclude.m4 (GLIBCPP_CHECK_CTYPE):  If Sol2.5 ctype is found, keep
789           checking for 2.[67].  (GLIBCPP_ENABLE_RELIBGCC):  No longer ignore
790           any defaults passed in.
791         * aclocal.m4:  Regenerate.
792
793 2000-03-16  Phil Edwards  <pme@sourceware.cygnus.com>
794
795         * mkcheck.in:  Report total successes and failures.
796
797 2000-03-15  Benjamin Kosnik  <bkoz@cygnus.com>
798
799         * config/cpu: New directory, intended to be used to provide
800         cpu-specific configuration files. In particular, assembly language
801         primitives for thread safety.
802         * config/cpu/alpha: Populate.
803         * config/cpu/alpha/atomicity.h: New file.
804         * config/cpu/arm: Populate.
805         * config/cpu/generic: Populate.
806         * config/cpu/generic/atomicity.h: New file.
807         * config/cpu/hppa: Populate.
808         * config/cpu/i386: Populate.
809         * config/cpu/i386/atomicity.h: New file, take from i486.
810         * config/cpu/m68k: Populate.
811         * config/cpu/mips: Populate.
812         * config/cpu/powerpc: Populate.
813         * config/cpu/powerpc/atomicity.h: New file.
814         * config/cpu/sparc: Populate.
815         * config/cpu/sparc/sparc32: Populate.
816         * config/cpu/sparc/sparc64: Populate.
817         * config/cpu/sparc/sparc32/atomicity.h: New file.
818         * config/cpu/sparc/sparc64/atomicity.h: New file.       
819
820         * src/Makefile.am (myinstallheaders): Add install routines.
821         * acinclude.m4 (GLIBCPP_CHECK_CPU):Add configuration for the
822         cpu dir.
823         * configure.in: Add.
824
825         * config/default: Adopt glibc naming conventions, and so move to
826         * config/generic: Here.
827         * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Modify default case to generic.
828         
829 2000-03-15  Bill Thompson  <billt@toast.net>
830
831         * testsuite/27_io/ostream_inserter_char.cc (test06): Add test.
832
833 2000-03-14  Phil Edwards  <pme@sourceware.cygnus.com>
834
835         * docs/17_intro/howto.html:  Add missing "TOC" entry, and new section.
836
837         * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Fixup.
838         * aclocal.m4: Regenerate.
839         * configure: Regenerate.
840
841 2000-03-13  scott snyder  <snyder@fnal.gov>
842             Jason Merrill  <jason@cygnus.com>
843         
844         * bits/locale_facets.h (class ctype, class ctype<char>, class
845         ctype<wchar_t>): More mask fixes.
846         * testsuite/22_locale/ctype.cc: Test for the problem.
847
848 2000-03-13  Benjamin Kosnik  <bkoz@cygnus.com>
849
850         * acconfig.h: Add bits.
851         * configure.in: Move AM_PROG_LIBTOOL up in file.
852         Tweak cross compiling info. 
853         * configure: Regenerate.
854
855         * mknumeric_limits (XCOMPILE): Echo compilation line for
856         gen-num-limits.cc
857
858         * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add aix checks.
859         * aclocal.m4: Regenerate.
860         * configure: Regenerate.
861         * config/aix/ctype.cc (ctype): Tweak.
862         * config/aix/bits/ctype_base.h (ctype_base): Tweak.
863         * config/aix/bits/ctype_specializations.h: New file.
864
865 2000-03-10  scott snyder  <snyder@fnal.gov>
866
867         * stl/bits/stl_vector.h (_M_assign_aux): Fix for __normal_iterator 
868         conversions.
869         * testsuite/23_containers/vector_modifiers.cc (test01): Add a
870         regression test for the problem.
871
872 2000-03-09  Benjamin Kosnik  <bkoz@fidel.cygnus.com>
873         
874         * testsuite/27_io/streambuf.cc (class testbuf): Same here.      
875         * bits/fpos.h: And here.
876         * bits/std_ostream.h: Same here.
877         * bits/std_istream.h: Same here.
878         * bits/basic_ios.h: Same here.
879         * bits/std_fstream.h: Same here.
880         * bits/sbuf_iter.h (std): Here too.
881         * bits/std_sstream.h: Make types public.
882
883         * src/misc-inst.cc: Use size_t instead of unsigned int. 
884         * bits/locale_facets.tcc (_S_format): For now, cast to char. I
885         suppose this should be ctype::narrow... all the ctype<wchar_t>
886         stuff needs to be cleaned up.
887
888 2000-03-09  Phil Edwards  <pme@sourceware.cygnus.com>
889
890         * docs/gentop:  Remove entire directory, finally.
891
892 2000-03-09  scott snyder  <snyder@fnal.gov>
893
894         * bits/std_cmath.h (modf): Fix pointer overrun.
895         * testsuite/26_numerics/c_math.cc (test04, main): Add a regression 
896         test for the problem.
897
898 2000-03-09  Phil Edwards  <pme@sourceware.cygnus.com>
899
900         Looks like changes to the #include'd files must be followed by a
901         change to the #include'ing files to take effect.  Caveat emptor.
902         * docs/header.html:  New file, for server-side include.
903         * docs/footer.html:  New file, for server-side include.
904         * docs/documentation.html:  Change to use SSI.
905         * docs/download.html:  Ditto.
906         * docs/index.html:  Ditto.
907         * docs/mail.html:  Ditto.
908         * docs/status.html:  Ditto.
909         * docs/thanks.html:  Ditto, plus minor updates.
910         * docs/how.html:  Remove.
911
912 2000-03-09  Benjamin Kosnik  <bkoz@gnu.org>
913
914         Preliminary alpha-linux support.
915         * src/locale.cc (ctype<wchar_t>): Use correct types...
916         * bits/locale_facets.h (ctype<char>): Add __table_type typedef.
917         (ctype<wchar_t>): Same.
918         * bits/locale_facets.h (ctype<wchar_t>): Have char and wchar_t
919         types match for table_size (size_t).
920
921         * config/gnu-linux/ctype.cc (ctype): Change char_type to wchar_t
922         as per char specialization.
923         * config/*/ctype.cc: Same.
924         
925 2000-03-09  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
926
927         * bits/locale_facets.h (_Ctype<>::mask): Import from base class
928         _Ctype_nois<>.  Template base classes are never examinated in
929         first-phase name-lookup. 
930
931 2000-03-08  Benjamin Kosnik  <bkoz@gnu.org>
932
933         Add Solaris 2.5.1 support.
934         * config/solaris/solaris2.5/bits/ctype_base.h (ctype_base): And here.
935         * config/solaris/solaris2.5/ctype.cc: Fixup.
936         * config/solaris/solaris2.5/bits/ctype_specializations.h: Add.
937         * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add bits for solaris2.5.1.
938         * aclocal.m4: Regenerate.
939         * configure: Regenerate.
940         
941         * config/default/ctype.cc (ctype): Fixup.
942
943 2000-03-07  Benjamin Kosnik  <bkoz@blues.cygnus.com>
944
945         * testsuite/27_io/filebuf.cc: Activate init code from yesterday...
946         * testsuite/27_io/ostream_inserter_arith.cc (testcases): Fix for
947         non-wchar_t case.
948
949 2000-03-07  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
950
951         * bits/cpp_type_traits.h: Expand on this file purpose.
952
953 2000-03-06  Benjamin Kosnik  <bkoz@gnu.org>
954
955         * bits/locale_facets.h (ctype<char>): Remove static members, and
956         re-work initialization code.
957         (ctype<wchar_t>): Same.
958         Move _S_touppper to _M_toupper and initialize in ctor.
959         Move _S_tolower  to _M_tolower and initialize in ctor.  
960         Move _S_table to _M_ctable and intialize in ctor.
961         * bits/locale_facets.h (std): And here.
962         * src/locale.cc (std): Tweak.
963         * config/gnu-linux/ctype.cc: Change initialization here.
964         * config/newlib/ctype.cc: And here.
965         * config/solaris/solaris2.7/ctype.cc: And here.
966         * config/solaris/solaris2.6/ctype.cc: And here.
967         
968         * bits/localefwd.h: Tweak.
969         * bits/std_streambuf.h: Tweak formatting.
970
971         * testsuite/27_io/filebuf.cc: Remove BUFSIZ dependancies.
972
973 2000-03-05  Chip Salzenberg  <chip@valinux.com>
974
975         * src/misc-inst.cc (basic_iostream<>):  Instantiate.
976
977 2000-03-02  Phil Edwards  <pme@sourceware.cygnus.com>
978             Kevin Atkinson  <kevinatk@home.com> 
979
980         Initial grab of SGI's strstream implementation with minor
981         modifications.
982         * src/strstream.cc:  New file.
983         * std/strstream:  New file.
984         * stl/bits/std_strstream.h:  New file.
985         * bits/std_streambuf.h:  Add public access.
986         * src/Makefile.am:  Add strstream sources to list of dependancies.
987         * src/Makefile.in:  Regenerate.
988
989 2000-03-03 2000  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
990
991         * bits/valarray_meta.h: Fix typo.
992         
993 2000-03-02  Alexandre Oliva  <oliva@lsd.ic.unicamp.br> 
994             Chip Salzenberg  <chip@valinux.com>
995             Petter Urkedal  <petter@matfys.lth.se>
996
997         * src/Makefile.am (myinstallheaders): Hack to avoid
998         `for i in ; do'.
999         * src/Makefile.in: Regenerate.
1000         
1001 2000-03-02  Chip Salzenberg  <chip@valinux.com>
1002
1003         * libio/Makefile.an, math/Makefile.an, src/Makefile.am
1004         (LINK): Put quotes around "$(CC)" for libtool link mode,
1005         so libtool will use "-B" options during GCC bootstrap.
1006         * */Makefile.in: Regenerate.
1007         
1008 2000-03-02  Petter Urkedal  <petter@matfys.lth.se>
1009
1010         * config/c_io_libio.h: Enclose it all in ::std.
1011         * bits/basic_string.h (basic_string<>): Make types and
1012         `npos' public.
1013         * mkc++config: Truncate output file before writing.
1014
1015 2000-03-01  Benjamin Kosnik  <bkoz@gnu.org>
1016
1017         * math/cabsf.c (__mycabsf): Rename to cabsf.
1018         * math/cabs.c (__mycabs): Rename to cabs.
1019
1020 2000-02-29  LLeweLLyn Reese  <llewelly@198.dsl.xmission.com>
1021  
1022        * bits/basic_string.h: Move declarations of __out_of_range(),
1023        __length_error() and accompanying macros ...
1024        * bits/exception_support.h: here. (Newly created file).
1025        * bits/basic_string.h: #include <bits/exception_support.h>
1026        * stl/bits/stl_vector.h: #include <bits/exception_support.h>
1027        * src/Makefile.am (headers): Add.
1028        * src/Makefile.in: Regenerate.
1029         
1030 2000-02-29  Benjamin Kosnik  <bkoz@cygnus.com>
1031         
1032         * bits/cpp_type_traits.h: Rename structs so they don't clash with
1033         type_traits.h.
1034         * bits/valarray_array.h: Synch. Fix typos.
1035
1036         * libio/Makefile.am: Change to only compile source files that
1037         config/c_io_libio.cc actually needs.
1038         * libio/Makefile.in: Regnerate.
1039         * libio/PlotFile.hes SFile.h builtinbuf.h editbuf.h floatconv.c
1040         floatio.h fstream.h indstream.h iofclose.c iofdopen.c iofeof.c
1041         ioferror.c iofflush.c iofgetpos.c iofgets.c iofopen.c iofprintf.c
1042         iofputs.c iofread.c iofscanf.c iofsetpos.c ioftell.c iofwrite.c
1043         iogetc.c iogetdelim.c iogetline.c iogets.c ioignore.c iomanip.h
1044         iopadn.c ioperror.c iopopen.c ioprims.c ioprintf.c ioputc.c
1045         ioputs.c ioscanf.c ioseekoff.c ioseekpos.c iosetbuffer.c
1046         iosetvbuf.c iosprintf.c iosscanf.c iostream.h iostrerror.c
1047         ioungetc.c iovfprintf.c iovfscanf.c iovsprintf.c iovsscanf.c
1048         istream.h list.out ostream.h outfloat.c parsestream.h peekc.c
1049         pfstream.h procbuf.h stdiostream.h stream.h streambuf.h strfile.h
1050         strops.c strstream.h: Delete.
1051
1052         * bits/basic_file.h: Stub out or delete unused bits in this
1053         interface.
1054         (filepos_beg): Remove.  
1055         (filepos_cur): Remove.
1056         (filepos_valid): Remove.
1057         * config/c_io_libio.cc: Resynch with the changes to basic_file.
1058
1059 2000-02-29  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
1060
1061         * bits/cpp_type_traits.h: Correct typo.
1062
1063 2000-02-29  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
1064
1065         * bits/cpp_type_traits.h: New file.
1066         
1067         * bits/valarray_array.h: Tweak.  #include <bits/cpp_type_traits.h>
1068         Improve array construction.
1069         (_Array_default_ctor): New dispatcher class. 
1070         (__valarray_default_construct): New function.
1071         (_Array_copy_ctor): New dispatcher class.
1072         (__valarray_copy_construct): New function.
1073         (_Array<>::free_data): Remove.
1074
1075         * src/Makefile.am (headers): Add cpp_type_traits.h
1076         * src/Makefile.in: Regenerate.
1077
1078 2000-02-28  Benjamin Kosnik  <bkoz@cygnus.com>
1079
1080         Prune libio directory to match files in libio/Makefile.
1081         * libio/PlotFile.cc,indstream.cc, isgetsb.cc, sbform.cc,
1082         stream.cc, SFile.cc, ioassign.cc, isscan.cc, sbgetline.cc,
1083         streambuf.cc, builtinbuf.cc, ioextend.cc, osform.cc, sbscan.cc,
1084         strstream.cc, editbuf.cc, iomanip.cc, parsestream.cc,
1085         stdiostream.cc, filebuf.cc, iostream.cc, pfstream.cc,
1086         stdstrbufs.cc, fstream.cc, isgetline.cc, procbuf.cc,
1087         stdstreams.cc: Remove.
1088         * libio/floatio.h, iolibio.h, iostdio.h, iostreamP.h: Remove.
1089         * libio/iofflush_u.c: Remove.
1090         
1091         * libio/dbz: Remove.  
1092         * libio/include: Remove.  
1093         * libio/stdio: Remove.  
1094         * libio/tests: Remove.  
1095         * libio/testsuite: Remove.
1096         
1097         * config/c_io_libio.cc: Add fcntl.h include for Solaris.
1098
1099         * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add bits.
1100         * configure.in: Replace 'grep -e' with 'grep' for Solaris.
1101         * configure: Regenerate.
1102
1103 2000-02-25  Benjamin Kosnik  <bkoz@gnu.org>
1104
1105         Abstract out the underlying "C" io bits.
1106         * bits/std_new.h: Remove <stl_config> include, as well as <cstddef>.
1107         * stl/bits/stl_string_fwd.h: Remove <stddef> include.
1108         * bits/std_cwchar.h: Wrap with _GLIBCPP_USE_WCHAR_T guards. Don't
1109         include <cstddef>.
1110         * stl/bits/stl_config.h: Don't include _G_config.h.
1111
1112         * bits/basic_file.h: Allow for non-inheritance based __basic_files.
1113         * config/c_io_libio.h (_GLIBCPP_BASIC_FILE_INHERITANCE): Define.
1114         * config/c_io_libio.cc: Tweak.
1115
1116         * src/Makefile.am (TOPLEVEL_INCLUDES): Add includedir.
1117         * src/Makefile.in: Regenerate.
1118         * Makefile.am (AM_MAKEFLAGS): Define includedir so that
1119         prefix/include files will be picked up.
1120         * Makefile.in: Regenerate.
1121         * math/Makefile.am (TOPLEVEL_INCLUDES): And here.
1122         * libio/Makefile.am (TOPLEVEL_INCLUDES): And here.
1123         
1124         * bits/std_ios.h: Include <bits/c++io.h> instead of libio.
1125         * bits/fpos.h: And here.        
1126         * bits/basic_file.h (get_fileno): Move definition from ...
1127         * src/basic_file.cc (std): To here.
1128         * bits/fpos.h: Move types for streamoff, streampos to..
1129         * bits/basic_file.h: Move __c_file_type and fpos typedefs to...
1130         * config/c_io_libio.h: ...here.
1131         (_GLIBCPP_[BOOLALPHA, HEX, DEC, FIXED, INTERNAL, LEFT, OCT, RIGHT,
1132         SCIENTIFIC, SHOWBASE, SHOWPOINT, SHOWPOS, SKIPWS, UNITBUF,
1133         UPPERCASE, ADJUSTFIELD, BASEFIELD, FLOATFIELD, BADBIT, EOFBIT,
1134         FAILBIT, GOODBIT, APP, ATE, BINARY, IN, OUT, TRUNC): New macros to
1135         abstract out bits in ios_base.
1136         * bits/ios_base.h: Re-macrofy.  
1137         * src/basic_file.cc : Rename, move to
1138         * config/c_io_libio.cc: Here. 
1139         * config/c_io_libio.h: New file. Include libio.
1140         * bits/c++config.h: Don't define _GLIBCPP_USE_LIBIO.
1141         * configure.in (blddir): Add enabling bits for GLIBCPP_ENABLE_CSTDIO.
1142         * configure: Regenerate.
1143         * src/Makefile.am (sources): Take out basic_file.cc and add c++io.cc.
1144         (generated_headers): Add c++io.h
1145         * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): New function to select
1146         underlying "C" io library.
1147         * acinclude.m4 (GLIBCPP_CHECK_LIBIO): Roll functionality into
1148         GLIBCPP_ENABLE_CSTDIO.
1149         
1150         * configure.in: Add configure bits for cross compiling non-newlib
1151         targets. .
1152         GLIBCPP_CHECK_COMPILER_VERSION: Take out this test for this
1153         target, as we assume g++ support is not the limiting factor.
1154         GLIBCPP_CHECK_LIBIO: Same, know we don't need libio.  
1155         * configure: Regenerate.
1156         
1157 2000-02-22  Benjamin Kosnik  <bkoz@cygnus.com>
1158
1159         * Makefile.am (INTERFACE): Define.
1160         * Makefile.in: Regenerate.
1161         * libio/ChangeLog: Add entry.
1162
1163 2000-02-21  Benjamin Kosnik  <bkoz@cygnus.com>
1164
1165         * docs/install.html: Update install directions.
1166
1167         * docs/status.html: Fix sidebar to be consistent.
1168         * docs/thanks.html: Same.
1169         * docs/links.html: Same.
1170         * docs/mail.html: Same.
1171         * docs/download.html: Same.
1172
1173         * testsuite/27_io/filebuf.cc: Change BUFSIZ to buffer_size, and
1174         kill the macro BUFSIZ. I think the solaris fails lie elsewhere
1175         however, in the ctype_char_members.cc fail (for instance.)
1176         * testsuite/17_intro/headers.cc: Remove extraneous fails for hosts
1177         that do not have wchar_t enabled.
1178         * testsuite/27_io/ostream_inserter_arith.cc (struct _TestCase):
1179         Same here.
1180         * testsuite/27_io/iostream_objects.cc: And here.
1181
1182         * libio/gen-params (CONFIG_NM): Specifically add in nm as the
1183         default CONFIG_NM.
1184         
1185 2000-02-18  Benjamin Kosnik  <bkoz@haight.constant.com>
1186             Tom Tromey  <tromey@cygnus.com>
1187
1188         * configure.in: Manually add MULTISUBDIR.
1189         * configure: Regenerate.
1190         * src/Makefile.am (MULTISUBDIR): Add the lesser evil of Tom's two
1191         "Eww" hacks to get multilib installs working correctly.
1192         ($(headers): Test for MULTISUBDIR before installing.
1193         * Makefile.am (AM_MAKEFLAGS): Don't define MULTISUBDIR, instead
1194         have configure hack it in.
1195         * Makefile.in: Regenerate.
1196         * acinclude.m4 (GLIBCPP_CXXFLAGS): Tweak wording. 
1197         Add enabling bits for native Cygwin ctypes, and other newlib-based
1198         Oses.
1199         
1200 2000-02-17  Benjamin Kosnik  <bkoz@decepticon.cygnus.com>
1201
1202         * mkc++config (OUT_H): Remove EOF in cygwin.
1203         * acinclude.m4 (LIBS): Tweaks to allow cygwin to configure.
1204
1205         Tom Tromey  <tromey@cygnus.com>
1206         * src/Makefile.am: Tweaks for installing multilibs.
1207
1208 2000-02-17  Benjamin Kosnik  <bkoz@cygnus.com>
1209
1210         * src/Makefile.am: 
1211         (toolexeclib_LTLIBRARIES): Use this instead of lib_LTLIBRARIES.
1212         Add USE_LIBDIR bits here, not...
1213         * src/Makefile.in: Regenerate.
1214         * Makefile.am: ...here.
1215         * Makefile.in: Regenerate.
1216         
1217 2000-02-17  Benjamin Kosnik  <bkoz@gnu.org>
1218
1219         * acinclude.m4 (LIBS): Fix typos.
1220         * configure.in: _GLIBCPP_BUGGY_FLOAT_COMPLEX,
1221         _GLIBCPP_BUGGY_COMPLEX for crosses.
1222         * src/Makefile.am (std_headers): Add libio.h as install include,
1223         as with _G_config.h
1224         * src/Makefile.in: Regenerate.
1225
1226         * mkcheck.in: Add bits to set CXX to cross compiler.
1227
1228         * src/complex_io.cc: Tweak.
1229         * configure.in: _GLIBCPP_BUGGY_COMPLEX for crosses.
1230         * configure: Regenerate.
1231         
1232         * config/newlib/ctype.cc: Tweaks.
1233         * config/newlib/bits/ctype_base.h (ctype_base): Set mask to char,
1234         not const char.
1235         * src/complex_io.cc (operator>>(istream, complex): Define out if
1236         BUGGY_COMPLEX.
1237
1238 2000-02-16  Benjamin Kosnik  <bkoz@cygnus.com>
1239
1240         * config/newlib/bits/ctype_base.h: Correct _S_table.
1241
1242         Reconfigure ctype support for "C" libraries that don't use arrays.
1243         * testsuite/22_locale/ctype_char_members.cc: New file. Test for
1244         basic ctype<char> functionality.
1245         * src/locale.cc: Move host-specific ctype functions that are not
1246         inlines to config/*/ctype.cc files.
1247         (ctype<char>::do_tolower): For instance.
1248         (ctype<char>::do_toupper): For instance.
1249         (ctype<wchar_t>::do_tolower): For instance.
1250         (ctype<wchar_t>::do_toupper): For instance.
1251         * config/gnu-linux/ctype.cc: Modify.
1252         * config/default/ctype.cc: Modify.
1253         * config/newlib/ctype.cc: Modify.
1254         * config/solaris/solaris2.6/ctype.cc: Modify.
1255         * config/solaris/solaris2.7/ctype.cc: Modify.
1256
1257         * bits/locale_facets.h (ctype<char>::is): Mark inline, move
1258         out-of-line.
1259         (ctype<char>::scan_is): Here too.
1260         (ctype<char>::scan_not): Here too.
1261         Move out of line defs to config/*/bits/ctype_specializations.h.
1262         * config/gnu-linux/bits/ctype_specializations.h: ...here. New file.
1263         * config/default/bits/ctype_specializations.h: ...here. New file.
1264         * config/newlib/bits/ctype_specializations.h: ...here. New file.
1265         * config/solaris/solaris2.6/bits/ctype_specializations.h: New file.
1266         * config/solaris/solaris2.7/bits/ctype_specializations.h: New file.
1267         * src/Makefile.am (headers): Add ctype_specializations.h.
1268         * src/Makefile.in: Regenerate.
1269         
1270         Aaron Weiss <weiss@clearway.com> 
1271         * Makefile.am (AM_MAKEFLAGS): Add NM_FOR_BUILD, NM_FOR_TARGET, and
1272         CONFIG_NM for Solaris builds.
1273         * Makefile.in: Regenerate.
1274         
1275         * src/locale.cc: Tweak formatting.
1276
1277 2000-02-15  Benjamin Kosnik  <bkoz@cygnus.com>
1278
1279         Jim Parsons  <parsons@clearway.com> 
1280         * testsuite/27_io/istream_unformatted.cc (test06): Add test.
1281         * bits/istream.tcc (read): Set failbit if !good(). Don't increment
1282         gcount if eof.
1283         (readsome): Same.
1284
1285         Michel Decima  <michel.decima@cnet.francetelecom.fr>
1286         * testsuite/27_io/streambuf.cc: Add test.
1287         * bits/streambuf.tcc (xsgetn): Don't test for valid mode.
1288         (xsputn): Same.
1289         
1290         * src/Makefile.am (AM_CXXFLAGS): Pass down AC_CXXFLAGS,
1291         OPTIMIZE_CXXFLAGS, etc. So --enable-debug and --enable-namespaces
1292         will work correctly, for instance.
1293         * src/Makefile.in: Regenerate.
1294
1295         * bits/locale_facets.h: Fix merge error.
1296         (num_put::put(unsigned long long): And here.
1297         * mknumeric_limits (trait_name): Same.
1298         
1299 2000-02-15  Chip Salzenberg  <chip@valinux.com>
1300
1301         Support 'configure --enable-long-long'.
1302         * bits/c++config.h (_GLIBCPP_USE_LONG_LONG): Remove.
1303         * stl/bits/stl_config.h (__STL_LONG_LONG): Remove '#if 0'.
1304         * acconfig.h (_GLIBCPP_USE_LONG_LONG): Add.  Default to undef.
1305         * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Define flag macro.
1306         * configure.in (GLIBCPP_ENABLE_LONG_LONG): Use it.
1307
1308         * aclocal.m4: Regenerate.
1309         * config.h.in: Regenerate.
1310         * configure: Regenerate.
1311
1312 2000-02-15  Chip Salzenberg  <chip@valinux.com>
1313
1314         Improve (complete?) 'long long' support.
1315         * mknumeric_limits: Call $CXX with $CPPFLAGS.  Define statics
1316         for {,unsigned} long long if the limits header declares them.
1317         * src/gen-num-limits.cc: Include <bits/c++config.h> early.
1318         (__USE_GNU, _GNU_SOURCE): Define if _GLIBC_USE_LONG_LONG.
1319         (long long, unsigned long long): Gen limits if _GLIBC_USE_LONG_LONG.
1320         * bits/locale_facets.h (num_get<>::get(..., long long &)): Define.
1321         (num_put<>::put(..., long long)): Likewise.
1322         (num_put<>::put(..., unsigned long long)): Likewise.
1323         * bits/locale_facets.tcc (_S_format): Rename from _S_format_long.
1324         Templatize last parameter to support 'long long'.
1325         (num_put<>::put(...)): Call _S_format with new name.
1326         (num_put<>::put(..., long long)): Define.
1327         (num_put<>::put(..., unsigned long long)): Likewise.
1328         * src/locale-inst.cc (_S_format): Instantiate under new name.
1329
1330 2000-02-15  Petter Urkedal  <petter@matfys.lth.se>
1331
1332         * src/complex.cc (operator<<, operator>>): Moved from here...
1333         * src/complex_io.cc: ...to new file.
1334         (operator>>): Stub replaced by the real thing.
1335         * src/Makefile.am (sources): Inserted complex_io.cc.
1336         * src/Makefile.in: Regenerate.
1337         * testsuite/26_numerics/complex_inserters_extractors.cc: Check it.
1338
1339 2000-02-14  Benjamin Kosnik  <bkoz@gnu.org>
1340
1341         Add in ctype information for newlib "C" libraries.
1342         * config/newlib: New directory
1343         * config/newlib/bits/ctype_base.h: New file.
1344         * config/newlib/ctype.cc: New file.
1345
1346         * ctype/config/linux/*: Rename, move to...
1347         * ctype/config/gnu-linux/*: Here.
1348         
1349         Finish off multilib work.
1350         * configure.in: Don't set CXX if not Canadian cross.
1351         * configure: Regenerate.
1352         * acinclude.m4 (GLIBCPP_CHECK_LIBIO): Tweak messages.
1353         * aclocal.m4: Regenerate.
1354         * config.h.in: Regenerate.
1355
1356         * install-sh: Remove, as AC_CONFIG_AUX_DIR(..) picks this out of
1357         the top-level gcc directory now.
1358         * mkinstalldirs: Remove.
1359         * missing: Remove
1360         * ltconfig: Remove.
1361         * ltmain.sh: Remove.
1362         * config.guess: Remove.
1363         * config.sub: Remove.
1364         
1365 2000-02-13  Benjamin Kosnik  <bkoz@cygnus.com>
1366
1367         * configure.in (glibcpp_basedir): Add glibcpp_basedir.
1368         * Makefile.am: Move mutlilib stuff to src/Makefile.am. 
1369         * Makefile.in: Regenerate.
1370         * src/Makefile.am: Add multilib bits.
1371         * src/Makefile.in: Regenerate.
1372         
1373 2000-02-12  Benjamin Kosnik  <bkoz@cygnus.com>
1374
1375         * configure.in: Clean, add some multilib support.
1376         * configure: Regenerate.
1377         * configure.host: New file.
1378
1379         * acinclude.m4: GLIBCPP_CHECK_LIBIO. Take bits from configure.in and 
1380         roll a new function, checks for presence of libio.
1381         GLIBCPP_CHECK_COMPILER_VERSION: Same.
1382         GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT: Same.
1383         GLIBCPP_CHECK_MATH_SUPPORT: Same.
1384         GLIBCPP_CHECK_WCHAR_T_SUPPORT: Same.
1385         GLIBCPP_CHECK_LIBIO: Same.
1386         GLIBCPP_CHECK_CTYPE: Same.
1387         * aclocal.m4: Regenerate.
1388         * config.h.in: Regenerate.      
1389
1390         * Makefile.am: Tweaks.
1391         * Makefile.in: Regenerate.
1392         
1393 2000-02-11  Benjamin Kosnik  <bkoz@cygnus.com>
1394
1395         * configure.in: Make outputing the libio/Makefile
1396         conditional. Haha, yeah right. Anyway, we instead do this thing
1397         where if libio is found, then we build a null library, as there is
1398         no point in duplicating the found libio.
1399         * Makefile.am: Tweak.
1400         * Makefile: Regenerate.
1401         * libio/Makefile.am: Add _G_config.h stuff. Now cross compilers
1402         are happy happy happy.
1403         * libio/Makefile.am: Regenerate.
1404         * libio/gen-params: New file.
1405         * src/Makefile.am: Make libio.la non-conditional, as it is now a
1406         null library if it's not needed. At least we are being consistent,
1407         if not as elegant as we could be.
1408         * src/Makefile: Regenerate.
1409         
1410 2000-02-10  Benjamin Kosnik  <bkoz@gnu.org>
1411
1412         * Makefile.am (SUBDIRS): Add libio again.
1413         * Makefile.in: Regenerate.
1414         * configure.in (BUILD_LIBIO_INCLUDE): And here.
1415         (AC_OUTPUT): Generate libio/Makefile again.
1416         * configure: Regnerate.
1417         * src/Makefile.am (libstdc___la_LIBADD): Change path so that
1418         libio.la is referring back to the libio subdir again.
1419         (LIBIO_INCLUDES): And here.
1420         * src/Makefile.in: Regenerate.
1421         
1422 2000-02-09  Benjamin Kosnik  <bkoz@decepticon.cygnus.com>
1423
1424         * math/complex-stub.h: Missed one. Change __mycabs* to cabs*.
1425
1426 2000-02-09  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
1427
1428         * bits/valarray_array.h (<bits/std_new.h>): #include.
1429         (__valarray_get_memory): New function.
1430         (__valarray_release_memory): Likewise.
1431         (__valarray_default_construct): New functions.
1432         (__valarray_fill_construct): New function.
1433         (__valarray_copy_construct): New funstions.
1434         (__valarray_destroy_elements): New function.
1435
1436         * bits/valarray_array.tcc (__valarray_copy_construct): New
1437         functions. 
1438
1439         * bits/std_valarray.h (valarray<>::valarray): Use
1440         __valarray_get_memory and __valarray_fill_construct,
1441         __valarray_copy_construct, __valarray_default_construct to
1442         properly construct valarrays.  
1443         (valarray<>::~valarray): Use __valarray_destroy_elements to
1444         destroy elements and __valarray_release_memory to return memory.
1445         (valarray<>::shift): Tweak. 
1446         (valarray<>::cshift): Likewise.
1447         (valarray<>::resize): Robustify.
1448
1449 2000-02-09  Benjamin Kosnik  <bkoz@cygnus.com>
1450
1451         * mknumeric_limits (XCOMPILE): Add support for cross compiling.
1452         * bits/limits_generic.h: New file, defaults.
1453         * src/limits_generic.cc: New file, defaults.    
1454         * configure.in (LIBS): Run mknumeric_limits at configure time.
1455         * acconfig.h: Remove PACKAGE VERSION HAVE_COMPLEX
1456         HAVE_LC_MESSAGES, tidy, clean, etc.
1457         * src/Makefile.am (geberated_sources): Remove.
1458
1459         * bits/fpos.h: Use _GLIBCPP_USE_LIBIO guards for libio typenames
1460         (_IO_off_t, _IO_ssize_t)
1461
1462         * src/complex.cc: Use glibc's <complex.h> if
1463         possible. . . apparently this was not being done before. Include
1464         tweaks.
1465         (abs): Enable cabs if it's around, instead of mycabs.
1466         * src/complexf.cc (FCT): Add global scope to match complex.cc.
1467         * src/complexl.cc (FCT): Same.
1468         * math/Makefile.am (EXTRA_LONG_DOUBLE_yes): Change mycabsl to cabsl.
1469         (libmath_la_SOURCES): And here.
1470         * math/(mycabs.c, mycabsf.c, mycabsl.c): Move to. . .
1471         * math/(cabs.c, cabsf.c, cabsl.c): . . . Here.
1472         * math/complex-stub.h: Move c_log declarations into. . . 
1473         * math/mathconf.h: Here. This is because glibc's <complex.h>
1474         declares cclog, not c_log. The case of the dueling standards. . .
1475         * math/mathconf.h: Add _GLIBCPP_HAVE_* to macros.
1476         * math/Makefile.am: Change.
1477         * math/nan.c (nan): Change signature.
1478         * math/mathconf.h (NAN): Same.
1479         * math/complex-stub.h (nan): And here.
1480         
1481         * Makefile.am (rebuild-stamp): Remove libio and libio
1482         dependancies.  Plan to take out libio subdir and just merge with
1483         libio in top level gcc directory. Of course, this assumes there is
1484         a libio in the top level directory (ie ../src_dir). This will
1485         probably change the way this library is configured by default.
1486         * libio/*: Remove.
1487
1488 2000-02-09  Chip Salzenberg  <chip@valinux.com>
1489
1490         * localefwd.h (locale): Make public: facet, id, category.
1491         
1492 2000-02-09  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
1493
1494         * testsuite/26_numerics/buggy_complex.cc: Fix Origin:.
1495
1496         * acinclude.m4: Patch only once!
1497
1498 2000-02-09  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
1499
1500         * testsuite/26_numerics/buggy_complex.cc: New file.
1501
1502 2000-02-05  Petter Urkedal  <petter@matfys.lth.se>
1503
1504         * acinclude.m4: New GLIBCPP_CHECK_COMPLEX_SUPPORT macro. Based
1505         on the 1999-11-21 entries by Mumit Khan.
1506         * configure.in: Use.
1507         * acconfig.h: New _GLIBCPP_BUGGY_COMPLEX macro.
1508         * bits/std_complex.h: Use.
1509         
1510 2000-02-04  Philip Martin <pm@corris.dircon.co.uk>
1511
1512        * stl/bits/stl_algobase.h: Add traits based dispatch for
1513        __normal_iterator in the copy_backward()algorithm
1514        * stl/bits/stl_vector.h: Reduce use of __normal_iterator
1515        base() function.
1516
1517 2000-02-04  Mumit Khan  <khan@xraylith.wisc.edu>
1518         
1519         * src/gen-num-limits.cc (signal_handler): Work around signal
1520         handling problem on Cygwin. 
1521         Thanks to Chris Faylor <cgf@cygnus.com>.
1522
1523 2000-02-03  Benjamin Kosnik  <bkoz@cygnus.com>
1524
1525         * configure.in: Add (preliminary) support for cross compiles and
1526         multilibs.
1527         Remove AC_C_BIGENDIAN tests. Why is this necessary? Cross
1528         compilation freaks on this.
1529         * configure: Regenerate.
1530         * src/Makefile.am: Add support for cross compiles.
1531         * src/Makefile: Regenerate.
1532         * Makefile.am: Add support for cross compiles.
1533         * Makefile.in: Regenerate.
1534         
1535 2000-02-02  Benjamin Kosnik  <bkoz@cygnus.com>
1536
1537         * configure.in (LIBS): Remove unused subdirs.   
1538         * configure: Regenerate.
1539         * Makefile.am (SUBDIRS): And here.
1540         * Makefile.in: Regenerate.
1541         * src/Makefile.am (sources): And here.
1542         * src/Makefile.in: Regenerate.
1543         * string/*: Remove.
1544         * amm1/*: Remove.
1545         * generic/*: Remove.
1546         * glibc/*: Remove.
1547         * mkcheck.in (INC_PATH): Include $BUILD_DIR before any source dirs.
1548
1549         * libtool: Update to libtool-1.3.4.
1550         * ltconfig: Same
1551         * ltmain.sh: Same
1552         * config.sub: Same.
1553         * config.guess: Same.
1554
1555 2000-02-02  Benjamin Kosnik  <bkoz@cygnus.com>
1556             Alexandre Petit-Bianco  <apbianco@cygnus.com>    
1557
1558         * mkc++config: New file. Put autoconf macros into _GLIBCPP_
1559         namespace instead of polluting global namespace with duplicate
1560         autoconf output.
1561         * configure.in (AC_OUTPUT): Don't need to generate bits/config.h
1562         here anymore. . .
1563         (AC_OUTPUT_COMMANDS): Make it here.
1564         * configure: Regenerate.
1565         * bits/c++config.h.in (_CPP_CPPCONFIG): Change. Tweak. Remove
1566         endif, as now we will add it manually.
1567         Move to this file. . .
1568         * bits/c++config.h: New file. Same as old c++config.h.in except
1569         the ending macro guard is now appended manually.
1570
1571         * bits/locale_facets.tcc: Change HAVE_* macros to _GLIBCPP_HAVE_*.
1572         * bits/std_cmath.h: Same here.
1573         * bits/std_cwchar.h: And here.
1574         * src/locale.cc: And here.
1575         * src/complexl.cc: And here.
1576         * math/mathconf.h: Change to include "config.h" instead of
1577         bits/c++config.h.
1578         
1579 2000-02-01  Benjamin Kosnik  <bkoz@gnu.org>
1580
1581         * configure.in: Add support for threads. Try a model closer to
1582         libjava, as hopefully if the thread bits are added carefully
1583         enough, the source code will not have gross hacks. Besides, the
1584         libstdc++-v2 model could be easily emulated without the necessity
1585         of linking files in (as currently done)--all that needs to be done
1586         is AC_DEFINE(-D_PTHREADS) etc. However, let's try something
1587         new. . . and see if we arrive at a more elegant solution.
1588         * configure: Regenerated.
1589         * config/threads-no.h: New file. 
1590         * config/threads-posix.h: New file. 
1591         * src/Makefile.am (myinstallheaders): Install c++threads.h.
1592         * src/Makefile.in: Regenerated.
1593         
1594 2000-01-31  Benjamin Kosnik  <bkoz@gnu.org>
1595
1596         META-QUESTION: Can we just make a "header.html" file and a
1597         "footer.html" and just include them in all the doc sub-pages. The
1598         duplication of the header info is kind of gross, and weak
1599         considering that if you change order or layout then all this stuff
1600         has to be changed in all the sub-files.
1601
1602         * docs/17_intro/contribute.html: Take out duplicate file info.
1603         * README: Should just contain a link to the docs/index.html
1604         page. Duplicate information removed.
1605         * docs/faq/index.html: Remove indexes into HOWTOS.
1606         * docs/17_intro/howto.html: Make intro and docs part more
1607         centralized. Move intro stuff to documentation.html.
1608         * docs/how.html: Tweak. Does this file need to exist? What calls it?
1609         * docs/README.html: Move documentation files to
1610         documentation.html. Should this file be renamed
1611         "config_and_install.html" as that is what is apparently covered
1612         here. . .
1613         * docs/install.html: Yes. New file, moved and renamed README.html.
1614         * docs/documentation.html: New file. This is the index file for
1615         the documentation.
1616         * docs/index.html: Edit sidebar order. Insert new link to new
1617         documentation spine, documentation.html.
1618
1619 2000-01-31  Scott Snyder  <snyder@fnal.gov>
1620
1621         * bits/istream.tcc (operator>>(istream&, string&)): Set failbit if 
1622         we don't extract any characters.
1623         * testsuite/21_strings/inserters_extractors.cc (main): New tests.
1624         
1625 2000-01-31  Anders Widell  <awl@hem.passagen.se>
1626
1627         * stl/bits/std_bitset.h (_M_do_left_shift): Handle case when shift
1628         step is a multiple of the word size.
1629         (_M_do_right_shift): Same.
1630         * testsuite/23_containers/bitset_shift.cc: New file.
1631         
1632 2000-01-31  Nathan Myers  <ncm@zembu.com>
1633         
1634         * README (Documentation): Add path info, fix typos.
1635         
1636 2000-01-26  Benjamin Kosnik  <bkoz@redhat.com>
1637         
1638         * bits/locale_facets.tcc (num_get::_M_extract): Add the freaking
1639         crazy group checking for numpunct, for real this time. At some
1640         point, the local variable __grp should probably get replaced a
1641         char array, or something a bit more lightweight.
1642         (num_get::do_get(bool)): Simplify. Don't set bool reference to
1643         parsed value unless err isn't failbit.
1644         (num_get::do_get(*)): Same, make consistent.
1645
1646         Nathan Myers  <ncm@zembu.com>
1647         Jim Parsons  <parsons@clearway.com>
1648         * testsuite/27_io/istream_extractor_arith.cc (test08): Add
1649         more grouping tests, tweak, scold, wine.
1650         
1651 2000-01-24  Benjamin Kosnik  <bkoz@gnu.org>
1652
1653         * testsuite/27_io/istream_extractor_arith.cc (test07): Add
1654         grouping tests.
1655         * bits/locale_facets.tcc (num_get::_M_extract): Change to fix
1656         grouping bugs. Only allow thousands_sep if _M_use_groupings is
1657         true.
1658
1659         via <llewelly@198.dsl.xmission.com>
1660         * stl/bits/stl_vector.h (vector::_M_range_check): Throw
1661         out_of_range instead of range_error.
1662
1663 2000-01-17  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
1664
1665         * bits/std_iomanip.h (setw): Fix typo.
1666
1667 2000-01-14  Benjamin Kosnik  <bkoz@gnu.org>
1668
1669         * testsuite/27_io/istream_extractor_arith.cc: Fix.
1670         * bits/locale_facets.tcc (do_get(...void)): Change to strtoul.
1671         * testsuite/27_io/istream_unformatted.cc (test04): Tweak.
1672         
1673 2000-01-14  Phil Edwards  <pme@sourceware.cygnus.com>
1674
1675         * docs/README.html:  Reformat, more installation instructions.
1676         * docs/gccrebuild.html:  New file.
1677         * docs/faq/index.html:  Update for new testsuite output filenames.
1678         * docs/faq/index.txt:  Regenerate.
1679
1680 2000-01-14  Phil Edwards  <pme@sourceware.cygnus.com>
1681
1682         * Makefile.am (rebuild-stamp, all-local):  New targets.
1683         * Makefile.in:  Regenerated.
1684         * acinclude.m4:  New macro, GLIBCPP_ENABLE_RELIBGCC.
1685         * aclocal.m4:  Regenerated.
1686         * configure.in:  Call new macro.  Also do some sanity checks
1687           for combinations of --enable's that may not make sense.
1688         * configure:  Regenerated.
1689
1690 2000-01-13  Benjamin Kosnik  <bkoz@cygnus.com>
1691
1692         * testsuite/27_io/istream_extractor_arith.cc: Add checks for void*.
1693         * bits/locale_facets.tcc (do_get::(...void)): Set fmtflags
1694         correctly for hex-formatted input.
1695
1696         * testsuite/27_io/istream_manip.cc (test01): Fix, as per setting
1697         eofbit instead of eofbit | failbit.
1698         * testsuite/27_io/istream_unformatted.cc (test04): Fix, as
1699         ifstreams now are opened or'd with ios_base::in (as is correct).
1700         * bits/fstream.tcc (filebuf::seekoff): Simplify.
1701         * testsuite/27_io/ios_base_members_static.cc (test01): Fix thinko.
1702
1703 2000-01-12  Benjamin Kosnik  <bkoz@gnu.org>
1704
1705         * bits/std_fstream.h: Add ios_base as a friend to basic_filebuf.
1706         * bits/basic_file.h (basic_file::filepos_cur): Remove incorrect
1707         (misleading) code.
1708         (__basic_file::filepos_valid): Same.
1709         (__basic_file::filepos_beg): Same.
1710         (__baseic_file::get_fileno): New function.
1711         * bits/ios_base.h (ios_base::sync_with_stdio): Implement, including
1712         feedback from LWG 49.
1713         * src/ios.cc: Move definition here.
1714         * testsuite/27_io/ios_base_members_static.cc (test01): Add tests.
1715         
1716         * bits/std_sstream.h (_M_really_sync): Simplify argument list. Set
1717         output part of internal buffer based on string size, so that
1718         _M_out_end is set consistently with filebufs. Correct comments.
1719         * bits/sstream.tcc (stringbuf::overflow): Update here too.
1720         * testsuite/27_io/stringbuf.cc: Changes.
1721         
1722 2000-01-11  Benjamin Kosnik  <bkoz@gnu.org>
1723
1724         * bits/sstream.tcc (seekoff): Set based on end of written buffer,
1725         not buffer size.
1726         * testsuite/27_io/stringbuf.cc: Add tests for seekoff(end).
1727
1728         * bits/std_fstream.h (ifstream::open): Add ios_base::in to openmode.
1729         (ofstream::open): Add ios_base::out to openmode.
1730
1731         * bits/locale_facets.tcc (_M_extract): Have consistency between
1732         istream::sentry and extractors, where failbit | eofbit is
1733         set. Don't change this, but instead change. . (do some formatting
1734         tweaks.)  
1735         * bits/istream.tcc (istream::sentry): Only set eofbit.
1736         
1737 2000-01-10  Benjamin Kosnik  <bkoz@gnu.org>
1738
1739         * testsuite/27_io/istringstream_members.cc: New file.
1740
1741 2000-01-09  Benjamin Kosnik  <bkoz@gnu.org>
1742
1743         * bits/istream.tcc (istream::sentry): Flush.
1744
1745         * configure.in (AC_OUTPUT_COMMANDS): Simplify.
1746         * configure: Regenerate.
1747         * src/Makefile.am (generated_headers): Remove bits/c++config.h so
1748         that make clean will not delete it.
1749         * src/Makefile: Regenerate.
1750         
1751 2000-01-07  Phil Edwards  <pme@sourceware.cygnus.com>
1752
1753         * mkcheck.in:  Use host-specific invocation of size(1);
1754           GNU binutils isn't necessarily there (more's the pity).
1755
1756 2000-01-06  Benjamin Kosnik  <bkoz@cygnus.com>
1757
1758         * configure.in (LIBS): Better tests for solaris2.6.
1759         * configure: Regenerate.
1760
1761          <vakatov@ncbi.nlm.nih.gov>
1762         * bits/std_sstream.h: As per libstdc++20.
1763
1764 2000-01-06  Benjamin Kosnik  <bkoz@gnu.org>
1765
1766         Break out configuration on solaris.
1767         * configure.in (ctype_solaris): Add in bits for solaris2.6 and 2.7.
1768         * config/solaris/ctype.cc: Delete and move to proper version.
1769         * config/solaris/bits: Same.
1770         * config/solaris/solaris2.5: Add this directory, with subdir bits
1771         and file ctype.cc. Probably doesn't work.
1772         * config/solaris/solaris2.6: Same.
1773         * config/solaris/solaris2.7: Same, as per specs via Phil Edwards.
1774         
1775         * Makefile.am: Change paths to mkcheck.
1776         * Makefile: Regenerate.
1777         * configure.in (AC_OUTPUT_COMMANDS): Build mkcheck here.
1778         * configure: Regenerate.
1779         * src/Makefile.am (generated_headers): Add bits/c++config.h.
1780
1781         * mkcheck: Now autogenerated by configure and renamed. . .
1782         * mkcheck.in (INC_PATH): Add glue for ctype_include_dir.        
1783         Have longer-style dates.
1784         Raja R Harinath  <harinath@cs.umn.edu>
1785         * mkcheck: Change path to #!/usr/clocal/bin/bash.
1786
1787         * docs/README.html: Correct links, maybe. FAQ, install notes, and
1788         general documentation need to be organized around each other, not
1789         fight against each other. . .
1790
1791 2000-01-04  Phil Edwards  <pme@sourceware.cygnus.com>
1792             Nicolai Josuttis <nicolai.josuttis@braunschweig.netsurf.de>
1793
1794         * README:  Add a note referring to README.html.
1795         * docs/README.html:  New file from Nicolai.
1796         * docs/faq/index.html:  Move "how to get a copy" to here.
1797         * docs/gentop/footchunk.html:  Update.
1798         * docs/gentop/headchunk.html:  New links according to
1799           bkoz's idea for "How to..." stuff.
1800         * docs/gentop/thanks:  Actually put people here.
1801         * docs/download.html:  Regenerated.
1802         * docs/index.html, docs/links.html, docs/mail.html,
1803           docs/status.html, docs/thanks.html, docs/faq/index.txt:  Ditto.
1804         * docs/how.html:  Ditto.  (This file should go away soon.)
1805
1806 1999-12-26  Phil Edwards  <pme@sourceware.cygnus.com>
1807
1808         * docs/gentop/status:  Add snapshot version column, update
1809           for Solaris 7.
1810         * docs/status.html:  Regenerated.
1811
1812 1999-12-26  Phil Edwards  <pme@sourceware.cygnus.com>
1813
1814         * docs/faq/index.html:  Turn README and RELEASE-NOTES into links
1815           from installation FAQ, and specify location of text files.
1816         * docs/faq/index.txt:  Regenerated.
1817
1818 1999-12-23  Phil Edwards  <pme@sourceware.cygnus.com>
1819
1820         * docs/gentop/download:  Add links to prebuilds for Cygwin/Mingw32.
1821         * docs/download.html:  Regenerated.
1822
1823 1999-12-22  Phil Edwards  <pme@sourceware.cygnus.com>
1824
1825         * docs/faq/index.html:  Update 'what works' for .7 snapshot,
1826           clean up various links.
1827         * docs/faq/index.txt:  Regenerated.
1828         * docs/gentop/gentop:  Smarter regeneration script.
1829         * docs/gentop/{head,foot}chunk.html:  Updated with new
1830           contributors link and mod date.
1831         * docs/gentop/index:  Snapshot relase date.
1832         * docs/gentop/thanks:  New contributors page added.
1833         * docs/{download,how,index,links,mail,status,thanks}.html:
1834           Regenerated from gentop; thanks.html created.
1835
1836 1999-12-21  Benjamin Kosnik  <bkoz@decepticon.cygnus.com>
1837
1838         * bits/c++config.h.in (__GLIBCPP__): 19991221.
1839         * docs/index.html: Add correct information.     
1840
1841         * config/irix: New directory.
1842         * config/irix/ctype.cc: Add irix-6.5 info. Not tested.
1843         * config/irix/bits/ctype_base.h: And here.
1844
1845         * config/aix: New directory.
1846         * config/aix/ctype.cc: Add aix-4.2 info. Not tested.
1847         * config/aix/bits/ctype_base.h: And here.
1848         
1849 1999-12-21  Philip Martin  <pm@corris.dircon.co.uk>
1850
1851         * bits/basic_string.h: Add special case handling for integral
1852         "iterators".
1853         * bits/std_string.h: include type_traits.h
1854         * testsuite/21_strings/ctor_copy_dtor.cc: Tweak.
1855         
1856 1999-12-21  Benjamin Kosnik  <bkoz@decepticon.cygnus.com>
1857
1858         * bits/fstream.tcc (seekoff): Output buffer based on _M_*_in and
1859         _M_*_end now.
1860         * bits/std_fstream.h (sync): And here.
1861         * testsuite/27_io/filebuf.cc: Revisions.
1862         * testsuite/27_io/filebuf-2.tst: Correct, remove weird character
1863         at the end of the file.
1864         * testsuite/27_io/filebuf-3.tst: Correct.
1865         
1866 1999-12-21  Phil Edwards  <pedwards@jaj.com>
1867
1868         * docs/gentop/index:  Hold off on .7 announcement date.
1869         * docs/index.html:  Regenerate.
1870
1871 1999-12-21  Benjamin Kosnik  <bkoz@kcygnus.com>
1872
1873         * bits/std_fstream.h (sync): Move _M_file->sync() to
1874         _M_really_overflow().
1875         * bits/fstream.tcc (seekoff): Call sync, not _M_really_overflow so
1876         as to get the _M_file->sync action, which forces the external
1877         buffer to update itself.
1878         (underflow): Same here.
1879
1880 1999-12-21  Phil Edwards  <pedwards@jaj.com>
1881
1882         * bits/c++config.h.in:  Uncomment _GLIBCPP_USE_NAMESPACES and move...
1883         * acconfig.h:  ...to here.
1884         * config.h.in:  Regenerate from aclocal.
1885         * acinclude.m4:  Add GLIBCPP_ENABLE_DEBUG, GLIBCPP_ENABLE_NAMESPACES.
1886         * aclocal.m4:  Regenerate from acinclude.
1887         * configure.in:  Use ENABLE macros here.
1888         * configure:  Regenerate.
1889         * src/Makefile.am:  Use results from ENABLE macros.
1890         * src/Makefile.in:  Regenerate.
1891
1892 1999-12-20  Benjamin Kosnik  <bkoz@cygnus.com>
1893         
1894         * mkcheck (SRC_DIR): Now have to include config/* dir if "make
1895         check" and not "make check-install." Temporarily hack in linux
1896         support.
1897         
1898         * bits/std_streambuf.h: Tweaks.
1899         * bits/streambuf.tcc (xsgetn): Tweaks.
1900         * bits/std_fstream.h (sync): Make _M_really_overflow consistent.
1901         * bits/fstream.tcc (filebuf::underflow): Simplify.
1902         * bits/std_sstream.h (streambuf::underflow): Minor change to make
1903         checks for read position precisely implement the standard.
1904         * bits/basic_file.h (filepos_cur): Base this on _offset.
1905         * testsuite/21_strings/inserters_extractors.cc (test05): Tweaks.
1906         * testsuite/27_io/filebuf.cc: Tweak.
1907
1908 1999-12-20  Benjamin Kosnik  <bkoz@cygnus.com>
1909
1910         * docs/17_intro/RELEASE-NOTES: Fix typos.
1911
1912         * bits/locale_facets.h (ctype): Modify, use __to_type to abstract
1913         out platform-specific bits.
1914         * config/default/ctype.cc: And here.
1915         * config/defaults/bits/ctype_base.h: And here.
1916         * config/linux/ctype.cc: And here.
1917         * config/linux/bits/ctype_base.h (ctype_base): And here.
1918         * config/solaris/bits/ctype_base.h (ctype_base): Add
1919         __to_type. Comment, as it looks like this is for solaris2.6 and
1920         above: solaris2.5.1 doesn't seem to have the same definitions.
1921         * config/solaris/ctype.cc: And here.
1922
1923 1999-12-19  Benjamin Kosnik  <bkoz@cygnus.com>
1924             Ulrich Drepper  <drepper@cygnus.com>
1925         
1926         * acconfig.h: Remove _GLIBCPP_USE_CTYPE_ISBIT.
1927
1928         * src/locale.cc: Take out platform-specific hacks.
1929         * config/linux/ctype.cc: Put here.
1930         * config/solaris/ctype.cc: Put here.
1931         * config/default/ctype.cc: Put here.    
1932
1933         * bits/locale_facets.h: Take out platform-specific hacks.
1934         * config/linux/bits/ctype_base.h: Put here.
1935         * config/solaris/bits/ctype_base.h: Put here.
1936         * config/default/bits/ctype_base.h: Put here.   
1937
1938         * configure.in: Bump version.
1939         Add tests for top-level config directory.
1940         * configure: Regenerated.
1941         * src/Makefile.am (INCLUDES): Add platform-specific dir.
1942         * src/Makefile: Regenerate.
1943         
1944 1999-12-19  Benjamin Kosnik  <bkoz@cygnus.com>
1945             Ulrich Drepper  <drepper@cygnus.com>
1946
1947         * bits/locale_facets.h: Hack in solaris support.
1948         * src/locale.cc: Here too.
1949
1950 1999-12-18  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
1951
1952         * docs/17_intro/TODO: Update
1953         * docs/17_intro/RELEASE-NOTES (New): Update.
1954
1955 1999-12-17  Benjamin Kosnik  <bkoz@milou.cygnus.com>
1956
1957         * bits/c++config.h.in (__GLIBCPP__): Bump.
1958         * docs/17_intro/RELEASE-NOTES: Update, Gaby please add your stuff.
1959         * docs/17_intro/TODO: Update.   
1960
1961         * bits/locale_facets.h: Touch this too.
1962         * bits/localefwd.h: Add typedefs for loooooong vector names.
1963         * bits/locale_facets.tcc (locale::operator()): Need parens.
1964         (has_facet): Simplify.
1965         * src/locale-inst.cc: Add instantiations.
1966         * src/locale.cc: Tweaks.
1967         
1968         * bits/std_streambuf.h: Move indeterminates into. . 
1969         * bits/std_fstream.h: Here.     
1970         * bits/fstream.tcc (underflow): Rewind just for ios_base::out
1971         streams.
1972         * bits/sstream.tcc: Very minor formatting tweaks.
1973         * bits/std_streambuf.h (_M_set_determinate): If exclusively an
1974         input buffer, set _M_buf to offset.
1975         * bits/istream.tcc (std): Tweaks.
1976         * testsuite/27_io/istream_unformatted.cc (test05): More tweaks,
1977         include fstream.
1978         * testsuite/27_io/filebuf.cc: Tweaks.
1979         
1980 1999-12-17  Phil Edwards  <pedwards@jaj.com>
1981
1982         * configure.in:  Add OPTLEVEL, -O2 for gcc 2.96+, nothing otherwise.
1983         * configure:  Regenerate.
1984         * src/Makefile.am:  Use OPTLEVEL in CXXFLAGS.
1985         * src/Makefile.in:  Regenerate.  Also picks up OTHER_CXXFLAGS rename
1986           to OPTIMIZE_CXXFLAGS from a previous revision (1.96) to Makefile.am.
1987
1988 1999-12-17  Phil Edwards  <pedwards@jaj.com>
1989
1990         * docs/21_strings/stringtok_std_h.txt:  New algorithm
1991           suggested by Chris King.
1992         * docs/21_strings/howto.html:  Link to new version.
1993
1994 1999-12-16  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
1995
1996         * bits/valarray_array.h (__valarray_sum): Use operator+=, not
1997         operator+.
1998         * docs/17_intro/TODO: Update.
1999
2000 1999-12-15  Phil Edwards  <pme@sourceware.cygnus.com>
2001
2002         * docs/gentop/footchunk.html:  Updated, fixed CRLFs.
2003         * docs/gentop/gentop:  Ditto.
2004         * docs/gentop/headchunk.html:  Ditto.
2005         * docs/*.html:  Regenerated from gentop.
2006         * docs/*/howto.html:  Updated as test.
2007         * docs/faq/index.html:  Updated, fixed CRLFs.
2008         * docs/faq/index.txt:  Regenerated.
2009
2010 1999-12-15  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
2011
2012         * mknumeric_limits (OUT_C): restart only if $OUT_C is present.
2013
2014         * bits/std_complex.h 
2015         (complex<float>::complex(const complex<double>&),
2016         complex<float>::complex(const complex<long double>&)): Define.
2017
2018         * docs/17_intro/TODO: Update.
2019
2020 1999-12-13  Benjamin Kosnik  <bkoz@cygnus.com>
2021
2022         * bits/istream.tcc (seekg): Don't set _M_gcount.
2023         (tellg): Same.
2024         * bits/fstream.tcc (filebuf::underflow): Re-sync
2025         external byte sequence's input buffer only. . .
2026         * testsuite/27_io/istream_unformatted.cc (test04): New tests for
2027         tellg, seekg and filebufs.
2028         (test05): Same for stringbufs.
2029         * testsuite/27_io/istream_unformatted-2.tst: New file.
2030         * testsuite/27_io/istream_unformatted-1.tst: New file.
2031         * testsuite/27_io/istream_unformatted-1.txt: New file.  
2032         * testsuite/21_strings/inserters_extractors.cc (test05): Change
2033         output file.
2034
2035 1999-12-13  Phil Edwards  <pedwards@jaj.com>
2036
2037         * docs/gentop/*:  New directory, containing bits for the homepages.
2038         * docs/*.html:  Regenerated from gentop.
2039         * docs/*/*.html:  Entries added and regenerated.
2040
2041 1999-12-13  Benjamin Kosnik  <bkoz@gnu.org>
2042
2043         Efforts to get -O2 to work with -Winline -Werrors.
2044         * bits/valarray_array.h (__valarray_fill(_Tp*, size_t, const
2045         _Tp&): Remove inline declaration, as cannot be inlined and
2046         -Winline -Werror complains. An interesting question is why this
2047         cannot be inlined, as I can see no real reason to disqualify it.
2048         (__valarray_product(const _Tp*, const _Tp*)): Same here.
2049         * bits/std_valarray.h (valarray::operator[](size_t)): Same here.
2050         
2051         * docs/17_intro/TODO: Update.
2052
2053 1999-12-12  Benjamin Kosnik  <bkoz@gnu.org>
2054
2055         * bits/std_fstream.h (seekpos): Tweaks, fixes. Move definition to
2056         fstream.tcc.
2057         * bits/basic_file.h (filepos_cur()): Make pointers themselves be
2058         the resultant position.
2059         * bits/fstream.tcc (seekoff): Explicitly set return value to
2060         resultant external byte sequence position, not value returned from
2061         _M_file->seekoff. Need to make 
2062         (seekpos): New definition.
2063         
2064         * bits/istream.tcc (seekg): As per Library Issues List 136, set to
2065         just istream. Necessary, or else tellg will give an invalid stream
2066         position, but seekg will return a valid stream position, which is
2067         not groovy: see testcase addition.
2068         * bits/ostream.tcc (seekp): Same.
2069         
2070         * bits/streambuf.tcc (_S_copy_streambufs): Simplify.
2071         * bits/sstream.tcc: Tweaks.
2072         * bits/locale_facets.tcc: Tweaks.
2073         (num_put::do_put(iter_type, ios_base, char_type, const void*)):
2074         Re-write in a way that is easier for the inliner to work with.
2075         * bits/ios_base.h: Use explicit static_cast<int>(...) notation.
2076
2077 1999-12-10  Benjamin Kosnik  <bkoz@cygnus.com>
2078
2079         * bits/locale_facets.tcc: Tweaks.
2080         * bits/locale_facets.h (use_facet): Can't inline, remove inline
2081         from declaration.
2082         * bits/localefwd.h: And here.
2083         * bits/std_ostream.h: Tweaks, sentry ctor can't be inlined.
2084         * bits/ostream.tcc: Put here.
2085         
2086         Frank Ch. Eigler  <fche@cygnus.com> 
2087         * src/Makefile.am: Adjust CXXFLAGS, add AM_CXXFLAGS. 
2088
2089 1999-12-08  Benjamin Kosnik  <bkoz@cygnus.com>
2090
2091         * bits/sstream.tcc (stringbuf::seekoff): Long overdue revamp. Make
2092         in and out buffers update independantly.
2093
2094         * bits/basic_ios.h: Minor formatting.
2095         * bits/fstream.tcc (std): Fix indentation.
2096
2097 1999-12-08  Chip Salzenberg  <chip@valinux.com>
2098
2099         * bits/char_traits.h (char_traits<>): Move not_eof() functions
2100         after corresponding eof() functions, so they're easier for the
2101         compiler to inline.
2102         * bits/locale_facets.h (money_base::__default_pattern): Move
2103         static variable out of inline functions.
2104         (_Moneypunct<>::do_{pos,neg}_format): Use it.
2105         * src/locale-inst.cc (money_base::__default_pattern): Define it.
2106
2107 1999-12-08  Benjamin Kosnik  <bkoz@cygnus.com>
2108
2109         * bits/std_fstream.h (filebuf::open): Tweak.
2110         * bits/fstream.tcc (filebuf::seekoff): Simplify, fix.
2111         * bits/std_ios.h: Minor tweaks for headers.
2112
2113 1999-12-06  Benjamin Kosnik  <bkoz@gnu.org>
2114
2115         * bits/c++config.h.in (_GLIBCPP_FULLY_COMPLIANT_HEADERS): New macro.
2116         * src/string-inst.cc: Add guards . . .
2117         * src/misc-inst.cc: And here.
2118         * bits/std_sstream.h: And here.
2119         * bits/std_fstream.h: And here.
2120         * bits/std_streambuf.h: And here.
2121         * bits/std_istream.h: And here.
2122         * bits/std_ostream.h: And here.
2123
2124 1999-12-06  Scott Snyder  <snyder@fnal.gov>
2125
2126         * bits/istream.tcc (basic_istream::read): Try to handle __n == 0
2127         case.
2128         (basic_istream::readsome): And here as well.
2129         * testsuite/27_io/istream_unformatted.cc: Test a zero-length
2130         read().
2131
2132 1999-12-06  Mumit Khan  <khan@xraylith.wisc.edu>
2133
2134         * bits/istream.tcc (basic_istream::ignore): streamsize is not 
2135         necessarily an `int'.
2136
2137 1999-12-06  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
2138
2139         * mknumeric_limits: Don't use $CXXFLAGS when building
2140         gen-num-limits. It's definitely wrong to use it since $CXXFLAGS
2141         generally instructs the compiler not to emit template
2142         instantiations and we end up with undefined symbols. Sigh.
2143
2144 1999-12-05  Benjamin Kosnik  <bkoz@gnu.org>
2145
2146         * bits/locale_facets.tcc: Tweak.
2147         (_S_format_long): Adjust showpos formatting for hex and oct.
2148         * bits/std_ostream.h (operator<<(short)): Correctly deal with hex
2149         and oct by formatting as unsigned.
2150         (operator<<(int)): Same here.
2151         * bits/ostream.tcc (operator<<(long)): Same.
2152         (operator<<(long long)): Same.
2153         (_S_pad_char): Actually treat ios_base::internal as something
2154         worth doing correctly. Remove const designation on ios argument.
2155         * testsuite/27_io/ios_manip_basefield.cc (test02): Add tests.
2156         * testsuite/27_io/ostream_inserter_arith.cc (test03): Add tests.
2157         
2158 1999-12-04  Benjamin Kosnik  <bkoz@gnu.org>
2159
2160         * bits/std_sstream.h (streambuf::underflow): Check for mode == in.
2161
2162 1999-12-03  Benjamin Kosnik  <bkoz@gnu.org>
2163
2164         * bits/locale_facets.tcc (num_put::do_put(bool): Fix.
2165
2166         * bits/sstream.tcc (streambuf::seekoff): Add parens.
2167         * bits/istream.tcc (istream::get(sb)): Handle exceptional events.
2168         (operator>>(istream, _CharT*)): Change streamsize to int_type.
2169         (operator>>(istream, _CharT&)): Fix typedef'd type to be _CharT.
2170         * bits/ostream.tcc (ostream::operator<<(const char*)): Stub out
2171         unused argument.
2172         (ostream::operator<<(_CharT)): Fix.
2173         
2174         * bits/std_sstream.h: Temporarily disable including sstream.tcc to
2175         see if this will increase compile speed.
2176         * bits/std_ostream.h: Likewise. . .
2177         * bits/std_istream.h: And here.
2178         * bits/std_fstream.h: And here.
2179         * src/misc-inst.cc: Add relevant header file includes for
2180         instantiation purposes.
2181         * src/string-inst.cc: And here.
2182         * testsuite/27_io/ostream_inserter_arith.cc: Add test case.
2183         
2184 1999-12-02  Benjamin Kosnik  <bkoz@gnu.org>
2185
2186         * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
2187         * bits/istream.tcc (get(streambuf)): More fixes. 
2188         (istream::ignore): Get specific about numeric_limits<int>::max()
2189         requirements.
2190
2191         * bits/fstream.tcc (filebuf::open): Tweaks for _M_last_overflowed.
2192         (filebuf::close): Same.
2193         * testsuite/27_io/filebuf.cc: Add tests for ios_base::ate.
2194         
2195 1999-12-01  Phil Edwards  <pedwards@jaj.com>
2196
2197         * mkcheck:  Support for compilation/execution timing.
2198         * testsuite/printnow.c: New file.
2199         
2200 1999-12-01  Phil Edwards  <pedwards@jaj.com>
2201
2202         * bits/std_cwchar.h:  Test for _GLIBCPP_USE_WCHAR_T.
2203         * configure.in:  Test for presence of wchar.h before testing
2204           for any of its features.
2205         * configure:  Regenerate.
2206
2207 1999-11-30  Benjamin Kosnik  <bkoz@gnu.org>
2208
2209         Preliminary istream validations complete.
2210         * bits/istream.tcc (istream::getline): Fixes. Tweaks to make
2211         formatting more consistent. Removal of if-statements inside of for
2212         loops.
2213         (ignore): Fix.
2214         (get): Same.
2215         (putback): Same.
2216         * bits/std_istream.h: Same.
2217         * bits/sstream.tcc (stringbuf::pbackfail): Fix.
2218         * testsuite/27_io/stringbuf.cc: Tweak.
2219         * testsuite/27_io/istream_unformatted.cc (test02): Mo' tests.   
2220
2221         * bits/ostream.tcc (ostream::operator<<(arith)): Set badbit, not
2222         failbit on failure, as per 27.6.2.5.2.
2223
2224         * stl/bits/std_vector.h: Allow bool specializations. Should move
2225         ext/std_bvector to bits, not ext, maybe.
2226
2227 1999-11-30  Mumit Khan  <khan@xraylith.wisc.edu>
2228
2229         * configure.in: Fix checks for mbstate_t and WCHAR_MIN/MAX.
2230         * configure: Regenerate.
2231         
2232 999-11-29  Benjamin Kosnik  <bkoz@gnu.org>
2233
2234         * bits/istream.tcc (get(streambuf, char)): Fix.
2235         * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
2236         
2237 1999-11-29  Scott Snyder  <snyder@fnal.gov>
2238
2239         * bits/basic_string.h (append(const _Char*, size_type)): The
2240         length of the appended string is given exactly by the second arg,
2241         regardless of the data in the character array.
2242         * bits/string.tcc (basic_string(const _CharT*, size_type, const
2243         _Alloc&)): Likewise.
2244         * testsuite/21_strings/append.cc (test01): Remove erroneous test
2245         of basic_string::append.
2246
2247 1999-11-29  Chip Salzenberg  <chip@valinux.com>
2248
2249         * Makefile.in: Tweaks for CXXFLAGS.
2250         * */Makefile.in: Same.
2251
2252 1999-11-29  Mumit Khan  <khan@xraylith.wisc.edu>
2253
2254         * conficd bgure.in: Check for wide character support.
2255         * bits/c++config.h.in (_GLIBC_USE_WCHAR_T): Move from here ...
2256         * acconfig.h (_GLIBC_USE_WCHAR_T): to here.
2257         * bits/string.tcc (wstring::_S_find): Guard wchar_t specialization.
2258         
2259 1999-11-29  Mumit Khan  <khan@xraylith.wisc.edu>
2260
2261         * acinclude.m4: Fix typo.
2262         * src/complex.cc: Fix macro line continuation.
2263         
2264 1999-11-29  Petter Urkedal  <petter@matfys.lth.se>
2265
2266         * src/Makefile.am (CXXFLAGS): Add -Wno-format to allow non-
2267         string literals in format, as used in locale-facets.tcc.
2268
2269 1999-11-28  Benjamin Kosnik  <bkoz@gnu.org>
2270
2271         * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
2272         * bits/istream.tcc (istream::get): Extract to argument minus one.
2273         Various tweaks and fixes.
2274         
2275 1999-11-22  Mumit Khan  <khan@xraylith.wisc.edu>
2276
2277         * bits/locale_facets.tcc: Workaround for compiler crash on
2278         ix86-*-mingw32.
2279
2280 1999-11-21  Mumit Khan  <khan@xraylith.wisc.edu>
2281
2282         * acinclude.m4: New file. New _GLIBCPP_CHECK_FLOAT_SUPPORT macro.
2283         * configure.in: Use.
2284         * acconfig.h: New _GLIBCPP_BUGGY_FLOAT_COMPLEX macro.
2285         * src/complexf.cc: New _GLIBCPP_FLOAT_SPECIALIZATION macro.
2286         * bits/std_complex.h: Use.
2287         * src/complex.cc: Use.
2288
2289 1999-11-19  Mumit Khan  <khan@xraylith.wisc.edu>
2290
2291         * testsuite/18_support/numeric_limits.cc: Add missing std:: prefix.
2292         * testsuite/21_strings/inserters_extractors.cc: Likewise.
2293         * testsuite/22_locale/ctype.cc: Likewise.
2294         * testsuite/23_containers/multiset.cc: Likewise.
2295         * testsuite/23_containers/vector_ctor.cc: Likewise.
2296         * testsuite/26_numerics/binary_closure.cc: Likewise.
2297         * testsuite/27_io/fpos.cc: Likewise.
2298         * testsuite/27_io/ios_base_callbacks.cc: Likewise.
2299         * testsuite/27_io/istream_extractor_arith.cc: Likewise.
2300         * testsuite/27_io/istream_extractor_char.cc: Likewise.
2301         * testsuite/27_io/istream_extractor_other.cc: Likewise.
2302         * testsuite/27_io/istream_sentry.cc: Likewise.
2303         * testsuite/27_io/ostream_inserter_char.cc: Likewise.
2304         * testsuite/27_io/ostream_inserter_other.cc: Likewise.
2305         * testsuite/27_io/streambuf.cc: Likewise.
2306         * testsuite/27_io/stringstream.cc: Likewise.
2307
2308 1999-11-19 Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
2309
2310         * bits/valarray_meta.h: Don't forget to define tanh
2311
2312 1999-11-18  Philip Martin  <pm@corris.dircon.co.uk>
2313  
2314        * src/stl-inst.cc: Use typedef to refer to iterator
2315        * stl/bits/stl_algobase.h: Add traits based dispatch for
2316        __normal_iterator in the copy()algorithm
2317        * stl/bits/type_traits.h: Add _Is_normal_iterator trait support
2318
2319 1999-11-18  Kevin Ediger  <kediger@licor.com>
2320
2321         * src/locale.cc (locale::_Imp::_Imp): Use auto_ptr to make
2322         constructors for locale::_Impl exception safe.
2323
2324 1999-11-18  Scott Snyder  <snyder@fnal.gov>
2325
2326         * stl/bits/stl_queue.h: The C++ standard gives the default for the
2327         _Sequence template argument of priority_queue<> as vector<>, not
2328         deque<>.
2329
2330 1999-11-18  Benjamin Kosnik  <bkoz@gnu.org>
2331
2332         * bits/std_sstream.h (stringbuf::_M_really_sync): Add __iend as a
2333         parameter.
2334         * bits/sstream.tcc: Adjust here too.
2335         
2336 1999-11-17  Benjamin Kosnik  <bkoz@gnu.org>
2337
2338         * bits/sbuf_iter.h (istreambuf_iter::equal): Tweak.
2339         * bits/istream.tcc (operator>>): Replace iostate(0) with
2340         iostate(ios_base::goodbit), which is the same thing, but hopefully
2341         a bit clearer.
2342         * bits/locale_facets.tcc (do_get(bool)): Streamline, deal with
2343         libraries issue list 17.
2344         (do_gets): Don't set goodbit explicitly, instead only set on
2345         failures as good bit is the default setting.
2346         * bits/ios_base.h (setf): Set correctly.
2347         * bits/fstream.tcc: Tweak.
2348         * bits/std_sstream.h (_M_really_sync): Fix ibuffer positioning for
2349         in|out bufs that are empty. . .
2350         * testsuite/27_io/istream_extractor_arith.cc (test03): Add.
2351         
2352 1999-11-16  Benjamin Kosnik  <bkoz@gnu.org>
2353
2354         * testsuite/27_io/streambuf.cc (class testbuf): Don't set _M_buf_size.
2355         * bits/std_streambuf.h (setp): Set _M_buf_size, _M_mode.
2356         Add comments "all about _M_buf."
2357         (setg): Set _M_mode.
2358
2359 1999-11-16  Kevin Ediger  <kediger@licor.com>
2360
2361         * bits/locale_facets.tcc (_S_build_float_format): New function.
2362         (_S_output_float): New function.
2363         (num_put::do_put(double)): Use 'em.
2364         (num_put::do_put(long double)): Use 'em.
2365         * testsuite/27_io/ostream_inserter_arith.cc: New file.
2366
2367 1999-11-15  Scott Snyder  <snyder@fnal.gov>
2368
2369         * bits/basic_file.h: Type of __off parm should be __c_streampos, to
2370         match how libio is calling us.
2371         * src/basic_file.cc (sys_seek): Likewise.
2372         * bits/std_fstream.h (basic_filebuf::sync): Restore sync call.
2373
2374 1999-11-15  Benjamin Kosnik  <bkoz@gnu.org>
2375
2376         * docs/17_intro/contribute.html: Add link to assignment form.
2377         * docs/17_intro/libstdc++-assign.txt: New file.
2378
2379         * mkcheck (TESTS_FILE): Move a copy of test files as well as
2380         output files.
2381
2382         * bits/std_streambuf.h (_M_buf_bump): New function.
2383         * bits/streambuf.tcc: Mods to support _M_buf_bump.
2384         (xsputn): Here. Also add checks for output valid.
2385         (xsgetn): Add checks for input valid.
2386         (sputc): Here.
2387         (sgetc): Set _M_in_end to _M_buf + _M_buf_end.
2388         * bits/std_sstream.h (_M_really_sync): Set _M_buf.
2389         Set _M_out_end to variable-length-end.
2390         * bits/sstream.tcc (overflow): Use _M_buf_bump.
2391         (seekpos): Same.
2392         (seekoff): Same.
2393         * bits/fstream.tcc (std): Tweak formatting.
2394         (filebuf::overflow): Simplify.
2395         (filebuf::showmanyc): Same.
2396         (filebuf::underflow): Same.
2397         * testsuite/27_io/filebuf.cc: Fix.
2398         * testsuite/27_io/ostream_inserter_other.cc: Fix.
2399         * testsuite/27_io/ostream_inserter_other-2.tst: New file.
2400         * testsuite/27_io/stringbuf.cc: Tweak.  
2401         * testsuite/27_io/streambuf.cc: Tweak.  
2402         * testsuite/27_io/istream_extractor_other.cc: Fix.
2403
2404 1999-11-11  Matthias Klose  <doko@cs.tu-berlin.de>
2405
2406         * stl_deque.h: Use static_casts<size_type>(signed_type).
2407
2408 1999-11-11  Benjamin Kosnik  <bkoz@gnu.org>
2409
2410         Cleanups for callbacks, more regression hunting. Remaining
2411         failures (1) due to last unresolved stringstream issues, not
2412         regressions per se.
2413         * bits/std_fstream.h: Revert. Disable call to _M_file->sync as
2414         killing 27_io/filebuf.cc tests. . . need another solution.
2415
2416         * bits/streambuf.tcc (_S_copy_streambufs): Fix.
2417         * testsuite/27_io/istream_extractor_other.cc: Tweak comments.
2418
2419         * bits/basic_ios.h: Add cached facets here. UGH. The standard
2420         foils all attempts at a graceful, minimal implementation.
2421         * bits/basic_ios.tcc: Tweaks.
2422         * bits/istream.tcc: Fix.
2423         * bits/ostream.tcc: Fix.
2424         * bits/std_istream.h: Fix.
2425         * bits/std_ostream.h: Fix.
2426         * src/ios.cc (ios_base::imbue): Set _M_locale_ios before calling
2427         callbacks.
2428         * bits/locale_facets.tcc (std): Minor, minor formatting tweak.
2429         (_S_pad_numeric): Make comprehensible.
2430
2431 1999-11-10  Benjamin Kosnik  <bkoz@cygnus.com>
2432
2433         * bits/std_ostream.h: Add callbacks for _M_fnumput.
2434         (_S_ostream_fcache): New function.
2435         Move functions out-of-line.
2436         * bits/ostream.tcc: Put here.
2437
2438         * bits/std_istream.h: Add callbacks for _M_fnumget.
2439         (_S_istream_fcache): New function.
2440         Move functions out-of-line.
2441         * bits/istream.tcc: Put here.
2442         
2443         * bits/basic_ios.tcc (basic_ios::imbue): Tweaks, remove call to
2444         _M_call_callbacks(), as ios_base::imbue does this already.
2445         * src/ios.cc (register_callback): Clean.
2446         (_M_call_callbacks): Same.
2447         * bits/ios_base.h: Callback work.
2448         * testsuite/27_io/ios_base_callbacks.cc (test01): New file.
2449         
2450 1999-11-10  Benjamin Kosnik  <bkoz@cygnus.com>  
2451             Matthias Klose  <doko@cs.tu-berlin.de>
2452
2453         * stl/ext/stl_rope.h: Fix initialization order.
2454
2455 1999-11-09  Scott Snyder  <snyder@fnal.gov>
2456
2457         * bits/std_fstream.h (basic_filebuf::sync): Unconditionally call
2458         _M_file->sync() so that redirection works correctly.
2459
2460 1999-11-09  Benjamin Kosnik  <bkoz@gnu.org>
2461
2462         * bits/istream.tcc: Re-order.
2463         * bits/std_istream.h: Fix getline problems.
2464         * testsuite/27_io/istream_unformatted.cc: New tests.
2465         
2466         Clean up regressions.
2467         * bits/std_sstream.h: Set initial stringbufs correctly.
2468
2469 1999-11-09  Scott Snyder <snyder@fnal.gov>
2470
2471         * stl_vector.h (_M_range_insert): Fix mixing pointers and
2472         vector::iterator.
2473         * testsuite/23_containers/vector_modifiers.cc (test01): New file,
2474         tests.
2475         
2476 1999-11-09  Benjamin Kosnik  <bkoz@cygnus.com>
2477
2478         * src/Makefile.am (CXXFLAGS): Add -Winline.
2479         * src/Makefile.in: Regenerate.
2480
2481 1999-11-05  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
2482
2483         * bits/valarray_meta.h (_DEFINE_EXPR_UNARY_FUNCTION): When
2484         building meta-expressions don't forget to take the contained
2485         closures. 
2486
2487 1999-11-02  Benjamin Kosnik  <benjamin@cygnus.com>
2488
2489         * configure: Regenerate.
2490         
2491 1999-11-02  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
2492
2493         * bits/valarray_meta.h (_Expr<>::sum): Tweak. Use copy-initialization
2494         syntax.
2495         * bits/valarray_meta.h (min): Likewise.
2496         * bits/valarray_meta.h (max): Likewise.
2497
2498 1999-11-01  Benjamin Kosnik  <bkoz@cygnus.com>
2499
2500         * bits/std_sstream.h (_M_really_sync): Take into account in | out bufs.
2501         * bits/std_streambuf.h (_S_copy_streambufs): New function.
2502         * bits/streambuf.tcc: Define.
2503         * bits/istream.tcc (istream::operator>>(streambuf)): Rewrite.
2504         * bits/ostream.tcc (ostream::operator<<(streambuf)): Rewrite.
2505         * testsuite/27_io/ostream_inserter_other.cc: Add tests.
2506         * testsuite/27_io/ostream_inserter_other-1.tst: New file.
2507
2508         * bits/basic_string.h: Explicitly cast npos to unsigned type,
2509         reported by Richard Atterer.
2510         * bits/char_traits.h: For consistency's sake, here too.
2511         
2512         * configure.in: Bump version to 2.90.7.
2513         
2514 1999-10-31  Benjamin Kosnik  <bkoz@cygnus.com>
2515
2516         * testsuite/27_io/ostream_inserter_char-1.tst: Check file output.
2517         * testsuite/27_io/ostream_inserter_char.cc (test05, test01): Add tests.
2518         * bits/streambuf.tcc (xsputn): Treat--size const char for long loops.
2519         (xsgetn): Same.
2520         * bits/sstream.tcc (seekpos): Tricks, mostly: check _M_mode before
2521         writing into buffer.
2522         (seekoff): Same.
2523         
2524 1999-10-29  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
2525
2526         * bits/valarray_array.h (__valarray_sum): New function.
2527         * bits/valarray_array.h (__valarray_product): Same.
2528
2529         * bits/std_valarray.h (valarray<T>::product): Comment out.
2530         * bits/std_valarray.h (valarray<T>::sum): Use __valarray_sum
2531         instead of accumulate. 
2532
2533         * src/valarray-inst.cc: Remove explicit intantiation of
2534         class multiplies<size_t>, accumulate, valarray<size_t>::product. 
2535         * src/valarray-inst.cc (__valarray_product): Instantiate
2536         explicitly. 
2537         * src/valarray-inst.cc (__valarray_product(const
2538         valarray<size_t>&)): New function.   
2539         * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't use
2540         valarray<size_t>::product. Use __valarray_product instead.
2541         
2542
2543 1999-10-25  Benjamin Kosnik  <bkoz@cygnus.com>
2544
2545         * bits/std_ostream.h (ostream.inserters.char): Correctly pad output.
2546         (_S_pad_char): New function. Not done: ios_base::internal.
2547         * bits/ostream.tcc: Clean for above.
2548         * bits/locale_facets.tcc (_S_fill): Remove ostreambufiterator
2549         specialization that was commented out, as ostreams now have to
2550         correctly deal with padding.
2551         * testsuite/27_io/ostream_inserter_char.cc (main): Add tests.
2552         
2553         * testsuite/21_strings/ctor_copy_dtor.cc(test02): Add test case
2554         from mailing list. This is a bug, and should be fixed.
2555         * testsuite/21_strings/inserters_extractors.cc (main): Tweak, fix typo.
2556         
2557 1999-10-22  Petter Urkedal  <petter@matfys.lth.se>
2558
2559         * stl/bits/stl_numeric.h (__power): Replaced argument name `__opr'
2560         to avoid conflict with gcc name mangling.
2561         * stl/bits/stl_algo.h (__transform): Same.
2562
2563 1999-10-21  Benjamin Kosnik  <bkoz@cygnus.com>
2564
2565         * bits/ios_base.h: Change argument names.
2566         * docs/17_intro/BADNAMES: Add __opr.
2567         
2568 1999-10-20  Benjamin Kosnik  <bkoz@decepticon.cygnus.com>
2569         
2570         Work on compilation slowdowns from 10-5 to 10-12, which are
2571         related to the _Callback_list inlining/merge-ifcation, which is
2572         still a pending issue, but this stuff is necessary cleanup anyway.
2573
2574         * src/ios.cc: Re-arrange.
2575         * bits/ios_base.h: Tweak.
2576         * bits/basic_ios.tcc: Move out of line definitions here, move
2577         small out-of-line definitions inline.
2578         * bits/basic_ios.h: From here.
2579         
2580         * bits/streambuf.tcc (pbackfail, overflow): Move back inline.
2581         * bits/std_streambuf.h: From here.
2582
2583 1999-10-19  Benjamin Kosnik  <bkoz@cygnus.com>
2584
2585         * testsuite/27_io/istream_extractor_char.cc: Add tests.
2586         * bits/std_istream.h: Tweaks--set eofbit on eof condition.
2587         * bits/istream.tcc (operator>>(istream&, string&): Remove
2588         vestigial issspace hacks and use ctype::is instead.
2589         (getline): Remove unnecessary loops, fortify and pasteurize.
2590         (ws): Same.
2591         
2592 1999-10-18  Benjamin Kosnik  <bkoz@cygnus.com>
2593
2594         * bits/istream.tcc (operator>>): Tweak.
2595         * bits/std_istream.h: Fix according to library issues list 68.
2596         Add typedefs.
2597
2598         * bits/locale_facets.h: Fix table_size to be non-zero.
2599
2600 1999-10-18  Vadim Egorov  <egorovv@HotPOP.com>
2601
2602         * src/basic_file.cc: ifdef instead of comment for binary mode
2603
2604 1999-10-18  Russell Davidson  <russell@qed.econ.queensu.ca>
2605
2606         * bits/std_sstream.h: Stringbuf initialization based on actual,
2607         not allocated, size.
2608         * testsuite/21_strings/inserters_extractors.cc (test06): Add test
2609         case.
2610         
2611 1999-10-17  Benjamin Kosnik  <bkoz@cygnus.com>
2612
2613         * testsuite/26_numerics/c_math.cc (test03): Tweak.
2614         * testsuite/27_io/istream_manip.cc (test01): Corrections due to
2615         sentry change.
2616         * testsuite/21_strings/inserters_extractors.cc (test01): Same.
2617
2618 1999-10-14  Benjamin Kosnik  <bkoz@cygnus.com>
2619
2620         * bits/std_istream.h: Tweaks.
2621         * bits/istream.tcc (istream::sentry::sentry()): Simplify, correct
2622         as per issues list addition--set failbit, eof on empty buffers.
2623         * testsuite/27_io/istream_sentry.cc: New file.
2624         
2625 1999-10-12  Chris Prince <prince@wcug.wwu.edu> 
2626
2627         * bits/std_cstdio.h: Remove Solaris hacks.
2628
2629 1999-10-12  Phil Edwards  <philip.edwards@sn.wpafb.af.mil>
2630
2631         * docs/index.html:  Fix minor typos and tweaks.
2632         * docs/17_intro/contribute.html:  Ditto.
2633         * docs/*/howto.html:  Ditto.  More "EGCS"->"GCC" conversion, notes on
2634         thread safety and binary I/O, links to external sites.
2635         * docs/faq/index.html: EGCS/GCC cleanup, new entries for Cygwin
2636         and MT.
2637
2638 1999-10-12  Petter Urkedal  <petter@matfys.lth.se>
2639
2640         * bits/std_cmath.h (abs(float)): When ::absf is not present, call
2641         ::fabs(double) rather than ::abs(int).
2642
2643 1999-10-11  Benjamin Kosnik  <bkoz@milou.cygnus.com>
2644
2645         * bits/std_streambuf.h: Fix minor blip--should explicitly return
2646         *gptr(), not the result of underflow.
2647         (pbackfail): Conform to default behavior.
2648         (overflow): Same.
2649         * bits/streambuf.tcc: Add out-of-line streambuf members.
2650         (xsputn): Tweak.
2651         (xsgetn): Tweak.
2652         * testsuite/27_io/streambuf.cc: New file.
2653         * testsuite/27_io/filebuf.cc: Correct test.
2654
2655 1999-10-08  Benjamin Kosnik  <bkoz@haight.constant.com>
2656
2657         * bits/std_cmath.h: Correctly cast int to double.
2658         * testsuite/26_numerics/c_math.cc: Add test.
2659
2660         * mknumeric_limits (OUT_C): Tweaks.
2661         * src/gen-num-limits.cc: Checks for WCHAR_MIN, WCHAR_MAX before
2662         trying to instantiate type_traits<wchar_t>.
2663         * acconfig.h: Add _GLIBCPP_HAS_WCHAR_MIN_MAX.
2664         * configure.in (LIBS): Plus checks for WCHAR_MIN, WCHAR_MAX.
2665         * configure: Regenerate.
2666         
2667 1999-10-06  Benjamin Kosnik  <bkoz@milou.cygnus.com>
2668
2669         * bits/streambuf.tcc (streambuf::xsgetn): Rewrite.
2670         (streambuf::xsputn): Put in break.
2671         Aiming for parity between these two (mostly) similar functions.
2672         Need to re-write tests.
2673         
2674         * bits/ios_base.h (ios_base::_M_copy_base): Remove declaration.
2675         Make data members protected, not private.
2676         * src/ios.cc (ios_base::_M_copy_base): Move _Callback_list into
2677         ios_base.h. As called only once, collapse into . . .
2678         * bits/basic_ios.h (basic_ios::copyfmt): Fix.
2679         (basic_ios::clear): Throw ios_base::failure on occasion.
2680         (basic_ios::exceptions): Fix.
2681         * testsuite/27_io/ios_members.cc (test02): Add tests.
2682         
2683         * bits/fpos.h: Default initialize.
2684         * testsuite/27_io/fpos.cc (test03): Add test.
2685
2686 1999-10-04  Russell Davidson <russell@qed.econ.queensu.ca> 
2687
2688         * src/basic_file.cc: Fix open modes.
2689         
2690 1999-10-04  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
2691
2692         * bits/locale_facets.tcc (num_get<>::do_get): Fix typo.
2693
2694 1999-09-23  Benjamin Kosnik  <bkoz@milou.cygnus.com>
2695
2696         * bits/streambuf.tcc: Yea. Fix this for real.
2697         * testsuite/27_io/ostream_inserter_other.cc: Add file.
2698         * src/Makefile.*: Regenerate.
2699
2700 1999-09-22  Benjamin Kosnik  <bkoz@milou.cygnus.com>
2701
2702         * bits/std_cstdlib.h: Add more linux-specif hacks to the header
2703         files so that stdtof and strtold will be declared. Some hacks
2704         already exits in bits/std_cctype.h -- these should all be removed
2705         at a later date.
2706         * bits/locale_facets.tcc: Add cstring.h include.
2707         _S_format_long: Use long, not int.
2708         Add std_limits.h include, for numeric_limits.
2709         * testsuite/27_io/istream.cc: Make instantiations work when using
2710         -fhonor-std.  
2711         * testsuite/27_io/ostream.cc: Same.
2712         
2713 1999-09-21  Benjamin Kosnik  <bkoz@milou.cygnus.com>
2714
2715         * bits/fpos.h (fpos::operator streamoff): Make const, don't return
2716         a reference. Same for operators == and !=.
2717         * testsuite/27_io/fpos.cc: Add tests.
2718
2719 1999-09-21  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
2720
2721         * bits/valarray_array.h: Fix typo.
2722
2723         * mknumeric_limits: Make sure we are regenerating things from
2724         scratch.  Otherwise things get redefined.  Not good.
2725
2726 1999-09-20  Benjamin Kosnik  <bkoz@milou.cygnus.com>
2727
2728         * bits/std_ostream.h: Fix typo.
2729         * bits/std_istream.h: Same.
2730         * bits/std_iomanip.h: Same.
2731
2732         * bits/istream.tcc (sentry::sentry()): Remove optional tie with
2733         ostream, as happens with underflow anyway.
2734         * testsuite/27_io/istream.cc (main): New file.
2735         * testsuite/27_io/ostream.cc (main): New file.
2736         * testsuite/27_io/istream_unformatted.cc: Add tests.
2737
2738         * src/Makefile.am (headers): Add new file.
2739         * src/Makefile.in (headers): Regenerated.
2740
2741         * bits/basic_ios.h: Remove local-related files.
2742         * bits/basic_ios.tcc: New file, add locale-related items.
2743         * src/misc-inst.cc: Add include of basic_ios.tcc, as a hack for now.
2744         * testsuite/27_io/ios_members_static.cc: Change to
2745         * testsuite/27_io/ios_base_members_static.cc: This.
2746         * testsuite/27_io/ios_members.cc: New file.
2747         * testsuite/27_io/stdios_basefield_manip: Change to
2748         * testsuite/27_io/ios_manip_basefield.cc: This.
2749         * testsuite/27_io/stdios_fmtflags_manip: Change to
2750         * testsuite/27_io/ios_manip_fmtflags.cc: This.
2751         
2752         * bits/fpos.h: Fix discarding qualifiers on this when
2753         using _M_position with a const fpos.
2754         * bits/std_iosfwd.h: Tweak.
2755         * testsuite/27_io/fpos.cc: New file.
2756
2757 1999-09-17  Benjamin Kosnik  <bkoz@milou.cygnus.com>
2758
2759         * bits/streambuf.tcc (streambuf::xsputn): Tweak.
2760         * bits/ostream.tcc: Tweak.
2761         * testsuite/21_strings/inserters_extractors.cc (test04, test05):
2762         Add new regressions.
2763         
2764 1999-09-16  Benjamin Kosnik  <bkoz@milou.cygnus.com>
2765
2766         * bits/basic_ios.h: Inline, tweak.
2767         * bits/fstream.tcc (basic_filebuf::_M_really_overflow): Tweak,
2768         pass back accurate return value to basic_filebuf::overflow.
2769         * bits/streambuf.tcc (streambuf::xsputn): Fix overflow accounting.
2770         This fixes sstream problems reported in libstdc++/9, but screws up
2771         filebufs. That solution is pending.
2772
2773 1999-09-15  Vadim Egorov  <egorovv@1c.ru>
2774
2775         * bits/streambuf.tcc (basic_streambuf::xsputn): Add check for 
2776         zero count puts.
2777         * testsuite/21_strings/inserters_extractors.cc (test01): Add test.
2778         
2779 1999-09-08  Benjamin Kosnik  <bkoz@milou.cygnus.com>
2780
2781         * bits/c++config.h.in: Add emacs hints.
2782
2783         * stl/bits/stl_range_errors.h: Don't define here, for now define
2784         in stdexcept.cc along with string inlines __length_error, etc.
2785         * src/stdexcept.cc: Define here.
2786         * stl/bits/stl_config.h (__STL_CAN_THROW_RANGE_ERRORS): Enable, so
2787         at(size_t) will be declared/defined.
2788         (__STL_THREADS): Fix mess surrounding use of this, enable.
2789
2790 1999-08-31  Benjamin Kosnik  <bkoz@milou.cygnus.com>
2791
2792         * testsuite/27_io/istream_extractor_arith.cc: Fix.
2793         * src/localename.cc: Tweak formatting, fix assignment to
2794         const compiler errors.
2795
2796 1999-08-25  Benjamin Kosnik  <bkoz@cygnus.com>
2797
2798         * acconfig.h: Add absf, cosf.
2799         * configure.in (use_builtin_sinf): Same.
2800         * configure: Regenerate.
2801         * bits/std_cmath.h: Add mess of defines.
2802         * testsuite/26_numerics/modf_float.cc: Change to
2803         * testsuite/26_numerics/c_math.cc: This.
2804         
2805         * src/locale.cc: Change.
2806         * bits/locale_facets.h: Fix.
2807         * testsuite/22_locale/ctype.cc: Add temporary tests.
2808         
2809 1999-08-24  Benjamin Kosnik  <bkoz@cygnus.com>
2810
2811         * bits/fpos.h: Test.
2812
2813         * docs/index.html: Add powerpc-linux-gnu results with gcc-2.95.1.
2814         Fix database name for "libstdc++".
2815
2816 1999-08-23  Benjamin Kosnik  <bkoz@cygnus.com>
2817
2818         * mknumeric_limits (numeric_limits): Add default definitions to
2819         member functions.
2820         * testsuite/18_support/numeric_limits.cc: New file.
2821
2822 1999-08-18  Benjamin Kosnik  <bkoz@cygnus.com>
2823
2824         * bits/std_istream.h: Correct initialization.
2825         * bits/std_ostream.h: Likewise.
2826         * bits/std_sstream.h: Likewise.
2827         * bits/std_fstream.h: Likewise. 
2828         * testsuite/27_io/stringstream.cc: Add test case.
2829         
2830         * bits/std_sstream.h: Replace ____string_type with __string_type.
2831         * bits/basic_ios.h (basic_ios::rdbuf(sb*): Call clear(), as required.
2832         * bits/std_ostream.h: Tweak dtor.
2833
2834 1999-08-17  Benjamin Kosnik  <bkoz@decepticon.cygnus.com>
2835
2836         * src/Makefile.am (CXXFLAGS): Add -O2.
2837         * src/Makefile.in: Likewise.
2838         
2839         * src/gen-num-limits.cc: Conditionally allow wchar_t. See what
2840         this breaks. . .
2841         * mknumeric_limits (numeric_limits): Uglify.
2842
2843         * bits/std_istream.h: Fix warnings.
2844         * bits/locale_facets.tcc: Collateral damage from
2845         char_traits<char>::int_type change.
2846
2847         * testsuite/27_io/istream_extractor_char.cc: Terminate strings.
2848
2849 1999-08-17  Benjamin Kosnik  <bkoz@decepticon.cygnus.com>
2850
2851         * docs/index.html: Add mailing list form.
2852         * docs/27_io/howto.html: Add link to iostreams_hierarchy.pdf.
2853
2854 1999-08-16  Benjamin Kosnik  <bkoz@cygnus.com>
2855
2856         * bits/streambuf.tcc (streambuf::xsputn): Allow copies to continue
2857         if overflow successfully allocates more space.
2858         * bits/std_sstream.h: Adjust comments.
2859         * bits/sstream.tcc (stringbuf::overflow): Copy buffer into string
2860         before overflow forces a resize.
2861         * testsuite/27_io/ostream_inserter_char.cc: New file.
2862         
2863         * bits/std_fstream.h: Remove declaration.
2864         * bits/fstream.tcc: Move uflow.
2865         * bits/std_streambuf.h: To here.
2866         * bits/streambuf.tcc: Make consistent.
2867         
2868         * src/Makefile.am (WERROR): Enable.
2869         * src/Makefile.in: Regenerate.
2870         * bits/sbuf_iter.h: Tweak.
2871         * bits/char_traits.h: (char_traits<wchar_t>::eof): Use WEOF.
2872         Use unsigned int as char_traits<char>::int_type.
2873
2874         * bits/ostream.tcc (ostream::putc(char)): Tweak.
2875         * testsuite/27_io/iostream_objects.cc: Terminate string.
2876         Move cin::operator>>(char*) test to extractor_char.cc.
2877         * testsuite/27_io/stringstream.cc: Add stringstream instantiation.
2878         * bits/std_istream.h (basic_iostream): Make explicit definition
2879         for default ctor.
2880         * bits/std_sstream.h: Fix typos.
2881         * bits/fstream.tcc (_M_init_filebuf): Set to indeterminate for
2882         basic_filebuf ctor with fileno open arguments. Thus, filebufs are
2883         initialized in a consistent manner, no matter if the underlying
2884         FILE/bit bucket is a tty or a text file or some other imaginary
2885         construct. This and setting _M_buf_size to 1 for cin allows
2886         istream::get(char) to work in a manner consistent with what others
2887         expect.
2888
2889         * docs/index.html: Link Stroustrup's C++ page.
2890         
2891 1999-08-12  Michael Cook  <cook@sightpath.com>
2892
2893         * bits/fstream.tcc: Fix signed/unsigned -Wall warning.
2894         * bits/istream.tcc: ditto.
2895         * bits/sbuf_iter.h: ditto.
2896         * bits/std_istream.h: ditto.
2897         * src/Makefile.am: Add -Wall to CXXFLAGS.
2898         * src/Makefile.in: ditto.
2899
2900 1999-08-12  Benjamin Kosnik  <bkoz@tintin.cygnus.com>
2901             Russell Davidson <russell@ehess.cnrs-mrs.fr> 
2902
2903         * bits/locale_facets.tcc (_M_extract): Finish off patch from yesterday.
2904         * src/Makefile.am (myinstallheaders): Tweak, remove PHONY.
2905         
2906 1999-08-11  Benjamin Kosnik  <bkoz@tintin.cygnus.com>
2907
2908         * testsuite/27_io/istream_unformatted.cc: New file.
2909
2910         * testsuite/27_io/istream_extractor_arith.cc (test02): Add more
2911         elaborate tests for int types with noskipws.
2912
2913         * testsuite/27_io/istream_extractor_other-1.txt: New file.
2914         * testsuite/27_io/istream_extractor_other-1.tst: New file.
2915         * testsuite/27_io/istream_extractor_other-2.tst: New file.      
2916         * testsuite/27_io/istream_extractor_other.cc: Add tests.
2917         * bits/istream.tcc: Fix operator>>(streambuf*).
2918
2919         * testsuite/23_containers/vector_ctor.cc (test01): Add.
2920
2921         * docs/index.html: Remove references to egcs.
2922         * docs/17_intro/DESIGN: Same.
2923         * docs/17_intro/contribute.html: Same.
2924         * docs/17_intro/RELEASE-NOTES: Ditto.
2925         * docs/17_intro/howto.html: Same here.
2926
2927         Russell Davidson <russell@ehess.cnrs-mrs.fr>
2928         * stl/bits/stl_vector.h (_M_insert_aux): 
2929         * bits/locale_facets.tcc (_M_extract): Tweaks for preliminary
2930         decimal/floating point support.
2931         * bits/locale_facets.h: Change _M_extract prototype.
2932         * bits/char_traits.h (char_traits::to_int_type): Cast to unsigned.
2933         * bits/std_istream.h (istream::read(char_type, streamsize)): Fix.
2934         
2935 1999-08-10  Michael Cook  <cook@sightpath.com>
2936
2937         * bits/fstream.tcc: Fix for unused variable warning (-Wall).
2938         * bits/ios_base.h: ditto.
2939         * bits/istream.tcc: ditto.
2940         * bits/locale_facets.h: ditto.
2941         * bits/locale_facets.tcc: ditto.
2942         * bits/std_streambuf.h: ditto.
2943         * src/basic_file.cc: ditto.
2944         * src/locale.cc: ditto.
2945         * src/localename.cc: ditto.
2946
2947 1999-08-10  Kirat Singh  <singhki@jany.gs.com> 
2948
2949         * bits/std_iomanip.h: Inline.
2950         
2951 1999-08-10  Alfred Minarik <a8601248@unet.univie.ac.at>
2952         
2953         * bits/std_streambuf.h: Correct member initialization order.
2954         * src/ios.cc: Add definitions for ios_base data members.
2955         
2956 1999-08-06  Phil Edwards  <pedwards@ball.com>
2957         
2958         * docs/index.html:  Seventh snapshot updates.  Minor tweaks.
2959         * docs/faq/index.html: Ditto.  Removed bugs sections that have
2960         been fixed for a long time...  Lots of "egcs" references still
2961         exist.
2962         * docs/faq/index.txt:  Regenerated.
2963
2964 1999-08-05  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
2965             Andreas Amann <amann@physik.tu-berlin.de>
2966
2967         * testsuite/26_numerics/binary_closure.cc (main): new test.
2968
2969 1999-07-29  Andreas Amann <amann@physik.tu-berlin.de>
2970
2971         * bits/valarray_meta.h: (_BinClos<>::_Binclos): fix typo causing
2972         segmentation fault.
2973
2974 1999-08-04  Benjamin Kosnik  <bkoz@decepticon.cygnus.com>
2975
2976         * docs/index.html (host): Put in testing status.
2977
2978 1999-08-03  Benjamin Kosnik  <bkoz@cygnus.com>
2979
2980         * docs/index.html: Update for libstdc++-2.90.6 release.
2981         * docs/17_intro/RELEASE-NOTES (New): Update.
2982         * docs/17_intro/BUGS: Update.
2983         * bits/c++config.h.in (__GLIBCPP__): Bump version number.
2984         * README (file): Update.
2985
2986 1999-08-03  Benjamin Kosnik  <bkoz@cygnus.com>
2987
2988         * src/Makefile.am (generated_headers): Remove bits/c++config.h as
2989         a target.
2990         ($(generated_headers)): Same.
2991         * src/gen-c++config.cc: Remove, rename to
2992         * bits/c++config.h.in: New file. Bump version number.
2993         * configure.in: Generate bits/c++config.h at configure time. 
2994         * math/mathconf.h: include bits/c++config.h, not config.h.
2995         
2996         * bits/std_cmath.h: Fix remaining link error for solaris shared
2997         builds.  _GLIBCPP_HAS_BUILTIN_SINF has to be disabled for the time
2998         being, as on Solaris this silently calls sinf, which does not
2999         exist.
3000         
3001         * src/complex.cc: More tweaks.
3002
3003 1999-08-03  Benjamin Kosnik  <bkoz@cygnus.com>
3004
3005         * src/complex.cc: Same.
3006         * math/complex-stub.h: Change.
3007         * math/c_log10*.c: Change back to clog10*.c.
3008
3009         * configure.in (NEED_C_LOG10): Delete.
3010         * configure: Regenerate.
3011         * math/Makefile.am: Change.
3012         
3013 1999-07-30  Benjamin Kosnik  <bkoz@cygnus.com>
3014
3015         * math/Makefile.am: Fix, for real.
3016         * configure.in (use_builtin_sinf): Ok, make autoconf solution.
3017         * math/clog.c: Move to c_log.c.
3018         * math/clog*: Ditto.
3019         * math/c_log10l.c (c_log10l): Change function name.
3020         * math/c_log10f.c (c_log10f): Change function name.
3021         * math/c_log10.c (c_log10): Change function name.
3022         
3023         * math/complex-stub.h: Change to c_log* variants.
3024         * src/complex.cc: And here. 
3025         
3026 1999-07-29  Benjamin Kosnik  <bkoz@cygnus.com>
3027
3028         * testsuite/27_io/istream_extractor_other.cc: Correct last test.
3029         * bits/sstream.tcc (stringbuf::overflow): Don't update the input
3030         sequence, just the output sequence.
3031         * bits/std_sstream.h (stringbuf::str()): Only in stringbufs return
3032         the original string, all others use complicated heuristic.
3033
3034         * src/complex.cc: Assume c_log10.
3035         * math/Makefile.am (EXTRA_yes): Fix c_log/c_logf unresolved
3036         symbols in shared libraries by making c_log/c_log10 part of the
3037         "must cmpile" sources. This may not work on solaris, must check.
3038
3039 1999-07-29  Benjamin Kosnik <bkoz@cygnus.com>
3040
3041         * bits/istream.tcc (operator>>(streambuf*)): Re-do.
3042         * bits/std_istream.h: Fix char extractors.
3043         * testsuite/27_io/istream_extractor_char.cc: Change.
3044         * testsuite/27_io/istream_extractor_other.cc: Add tests.
3045         
3046 1999-07-28  Benjamin Kosnik <bkoz@cygnus.com>
3047
3048         * bits/std_cctype.h: Fix for solaris2.6 builds. 
3049
3050         * bits/istream.tcc: Fix, thanks Alfred.
3051         * bits/std_istream.h: Formatting changes.
3052
3053         * libio/Makefile.am (libio_la_SOURCES): Remove cleanup.c, so that
3054         _IO_cleanup will not be undefined.
3055         * libio/*: Regenerate.
3056         
3057         * bits/basic_string.h: More namespace-safety stuff.
3058         * testsuite/27_io/istream_extractor_char.cc: Fix.
3059         * testsuite/27_io/istream_extractor_arith.cc: Fix.
3060         * testsuite/27_io/iostream_objects.cc: Fix.
3061         * testsuite/27_io/ios_ctor.cc: Fix.
3062         * testsuite/27_io/istream_manip.cc: Make namespace safe.
3063         * testsuite/27_io/istream_extractor_other.cc: New file.
3064
3065         * mkcheck (TESTS_FILE): Tweaks.
3066
3067 1999-07-27  Benjamin Kosnik  <bkoz@cygnus.com>
3068
3069         * src/gen-c++config.cc: Note here, change version.
3070         * acconfig.h( _GLIBCPP_USE_CTYPE_ISBIT): New macro.
3071         * src/locale.cc: Used here.
3072         * configure.in (use_builtin_sinf): Check for _ISBit using autoconf.
3073
3074         * aclocal.m4: Regenerate by running `aclocal -I m4.`
3075         
3076         * bits/istream.tcc: Fix.
3077         * bits/std_istream.h: More changes to extractors.
3078
3079         * testsuite/27_io/istream_extractor_char.cc: More.
3080         * testsuite/21_strings/inserters_extractors.cc (test01): Fix logic
3081         error in testsuite construction.
3082
3083         * bits/std_istream.h: Partially revert.
3084         * bits/std_ostream.h: Same.
3085         * bits/std_sstream.h: Revert. 
3086
3087 1999-07-26  Benjamin Kosnik  <bkoz@cygnus.com>
3088
3089         * bits/std_sstream.h: Change initialization.
3090         * bits/std_ostream.h: Make default ctor/assign/operator= private.
3091         * bits/std_istream.h: Same, also correct sentry args.
3092         * bits/istream.tcc: Add correct sentry args.
3093         
3094         * testsuite/27_io/istream_extractor_char.cc: New file.
3095         * testsuite/27_io/istream_extractor_arith.cc: New file, old file,
3096         name changes making me dizzy.
3097
3098 1999-07-26  Ulrich Drepper  <drepper@happy.cygnus.com>
3099             Benjamin Kosnik  <bkoz@cygnus.com>
3100
3101         * aclocal.m4, config.guess, config.sub, ltconfig ltmain.sh: Update
3102         to libtool 1.3.3.
3103
3104 1999-07-26 Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
3105
3106         * bits/std_complex.h: Tweak. Make the primary template class
3107         complex work with user-defined numerical types.  Provide member
3108         definitions.  Restructure.
3109         (class complex<float>): Uglify.  Remove  __value().  Rename __val
3110         to _M_value.  Rename __complex_value_type to _ComplexT. Make it
3111         private.  Remove dependency on __value().  Fix various explicit
3112         specialization syntax.  Declare a some functions friend.  Now the
3113         implementation is nearly comforming.
3114         (class complex<double>): Likewise.
3115         (class complex<long double>): Likewise.
3116
3117         * src/complex.cc: Tweak.  Remove dependency on complex::__value().
3118         (sin, sinh, tan, than): Fix call to corresponding C9x function
3119         syntax. 
3120
3121 1999-07-24  Benjamin Kosnik  <bkoz@fidel.cygnus.com>
3122
3123         * bits/istream.tcc (ws): Fix error with failbit being set.
3124
3125         Disabled due to egcs/gcc-2_95 internal compiler errors.
3126         * src/Makefile.am (CXXFLAGS): Add -fsquangle -fhonor-std
3127         -fnew-exceptions. Compiling with namespaces enabled will now be
3128         the default.
3129         * mkcheck (CXX_FLAG): Same.
3130         * src/gen-c++config.cc (_GLIBCPP_USE_NAMESPACES): Yup. New macro.
3131         * bits/std_cctype.h: Not enough to just define in namespace std if
3132         ctype-isms are macros. Need to also define in namespace std:: if
3133         the C functions are just plain functions.
3134
3135         * src/gen-num-limits.cc: Fix spelling inconsistencies.
3136         
3137 1999-07-24  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
3138
3139         * docs/18_support/howto.html: Start documentation.  Need to keep
3140         track of the ongoing discussion in th LWG reflector.
3141
3142         * src/gen-num-limits.cc: Tweak.
3143         (class predicate): New class.
3144         (class value): Likewise.
3145         Make the whole machinery more flexible. Add comments.
3146
3147 1999-07-23  Benjamin Kosnik  <bkoz@fidel.cygnus.com>
3148
3149         * bits/ios_base.h: Move state/exception functions into basic_ios. 
3150         * bits/basic_ios.h: Same.
3151         * src/ios.cc: And here. Callbacks don't attempt to reset
3152         state now.  
3153
3154         * bits/std_streambuf.h: Separate ios and streambuf locale data
3155         members and cached facets. Using this convention: _M_locale_buf for
3156         the streambuf-related classes, and _M_locale_ios for the ios
3157         hierarchy.
3158         * bits/fstream.tcc: And here.
3159         * bits/basic_ios.h: And here. Also, add cached ctype.
3160         * src/ios.cc: Ditto.
3161         * bits/ios_base.h: Ditto.
3162         * bits/std_istream.h: Use cached ctype facet.
3163         * docs/27_io/iostreams_hierarchy.pdf: Update for new data member
3164         arraignment.
3165
3166         * testsuite/27_io/ios_ctor.cc: New file.
3167         * src/ios.cc: Move _M_state init to basic_ios::init().
3168         * bits/basic_ios.h: To here.
3169         
3170         Attempt for some consistency in naming for testsuite/27_io/*.cc.
3171         * testsuite/27_io/boolfmt.cc: Rename to stdios_fmtflags_manip.cc
3172         * testsuite/27_io/octfmt.cc: Rename to stdios_basefield_manip.cc
3173         * testsuite/27_io/istream_manip.cc: Rename to istringstream_manip.cc.
3174         * testsuite/27_io/ostream_manip.cc: Rename to ostringstream_manip.cc.
3175         
3176 1999-07-22  Benjamin Kosnik  <bkoz@fidel.cygnus.com>
3177         
3178         * src/ios.cc: Tweak initializations of standard iostream
3179         objects to closely match the standard. Tie cin/wcin, set flags on
3180         cerr/wcerr
3181         * bits/char_traits.h: Change from size_t to int_type, as per
3182         standard. As per wide streams.
3183         * bits/basic_ios.h: Infect with __ctype_type, as a preparation
3184         for caching a bunch of ctype info. For instance, ctype_base::space
3185         info needs to be stored somewhere, somehow.
3186         * bits/std_istream.h: Also here.
3187         * bits/std_ostream.h: Ditto.
3188         * bits/std_istream.h (operator>>(istream, char): Aggh. Fixup.
3189         * testsuite/27_io/iostream_objects.cacc (test01): Oh yeah. Fix
3190         stream states.
3191
3192         * bits/istream.tcc (ws): Fix.
3193         * testsuite/27_io/istream_manip.cc: New file, test ws.
3194         * testsuite/27_io/ostream_manip.cc: New file, test endl, ends, flush.
3195
3196         * bits/basic_string.h: Provide a specialized member function for
3197         _S_find<char> using strchr.
3198         * src/string-inst.cc: Put specializations here.
3199         * bits/string.tcc: Small fix for find, remove typo.
3200         * testsuite/21_strings/find.cc (test01): Add tests to catch this
3201         find bug. . .
3202
3203 1999-07-20  Benjamin Kosnik  <bkoz@decepticon.cygnus.com>       
3204
3205         * bits/basic_ios.h: Put into basic_ios namespace.
3206         Tweak widen/narrow.
3207
3208 1999-07-19  Benjamin Kosnik  <bkoz@decepticon.cygnus.com>       
3209
3210         * bits/std_sstream.h (stringbuf::sync): Change to _M_really_sync,
3211         adjust _M_*_cur pointers inside the function, so callee doesn't
3212         have to adjust.
3213         * bits/sstream.tcc (stringbuf::overflow): Tweak.
3214
3215         * mkcheck: Tweak. Add execution time field, even though it is not
3216         implemented yet. Simplify pass/fail status notation.
3217
3218 1999-07-18  Mumit Khan  <khan@xraylith.wisc.edu>
3219
3220         * configure.in: Check for float.h and underscored version of 
3221         math functions.
3222         * acconfig.h: Add @BOTTOM@ section for handling underscored
3223         math functions.
3224         * configure: Regenerate.
3225         * config.h.in: Regenerate. 
3226         * math/mathconf.h (float.h): Include conditionally.
3227         (M_PI): Define conditionally.
3228         (INFINITE_P): Define for Mingw.
3229         * bits/locale_facets.tcc: Workaround for compiler crash on
3230         ix86-*-mingw32.
3231         * bits/std_cwchar.h (bits/std_cstddef.h): Include.
3232         * src/locale.cc (bits/std_istream.h): Include.
3233         (bits/std_ostream.h): Likewise.
3234
3235 1999-07-18  Phil Edwards  <pedwards@ball.com>
3236
3237         * docs/faq/index.html:  Updated __black_count notes, fixed typos.
3238         * docs/faq/index.txt:  Regenerated.
3239
3240 1999-07-15  Benjamin Kosnik  <bkoz@decepticon.cygnus.com>
3241
3242         * testsuite/27_io/stringbuf.cc: Cccchanges, latent bugs.
3243
3244         * bits/sstream.tcc (stringbuf::overflow): Modify accounting of
3245         newly-allocated buffer.
3246         * bits/streambuf.tcc (streambuf::xsgetn): Aaaaaah. Fix final
3247         overflow condition bits.
3248
3249 1999-07-14  Benjamin Kosnik  <bkoz@cygnus.com>
3250
3251         * bits/std_sstream.h (stringbuf::_M_init_stringbuf): Set
3252         _M_buf_size to initial _M_string.size(), even though for
3253         ostringstreams it is pretty pointless. It's necessary for
3254         istringstreams.
3255         (stringbuf::str()): Adjust. 
3256         (stringbuf::str()): Adjust, call _M_init_stringbuf.
3257         * bits/streambuf.tcc (streambuf::xsgetn): Adjust return value for
3258         overflow's possible success.
3259         (streambuf::xsputn): Adjust.
3260         
3261         * testsuite/27_io/filebuf.cc: Adjust for the xsgetn re-write from
3262         yesterday.
3263         * testsuite/27_io/stringbuf.cc: Tweak.
3264         * testsuite/21_strings/inserters_extractors.cc (test01): Remove
3265         notes to myself.
3266         * testsuite/23_containers/vector_cons.cc: Rename to be consistent
3267         with other constructor tests to. . .
3268         * testsuite/23_containers/vector_ctor.cc: New file.
3269         
3270 1999-07-14  Alfred Minarik <a8601248@unet.univie.ac.at>
3271
3272         * testsuite/*: Changes to make the testsuit compilable with
3273         -fhonor-std. Contains direct qualification of library names with
3274         std::.
3275
3276 1999-07-13  Benjamin Kosnik  <bkoz@decepticon.cygnus.com>
3277
3278         * bits/streambuf.tcc: Tweaks.
3279         (streambuf::xsputn): Optimize, fix for sstreams.
3280         (streambuf::xsgetn): Same.
3281         * bits/sstream.tcc (stringbuf::overflow): Adjust _M_buf_size
3282         correctly, handle overflow/reallocate conditions correctly.
3283         * bits/std_sstream.h: Fix typo.
3284         _M_init_stringbuf(): Fix _M_buf_size initialization.
3285         (stringbuf::str()): Construct return string if output has occurred.
3286
3287         * bits/basic_string.h: Fix typo from yesterday's patch.
3288
3289 1999-07-12  Ryszard Kabatek <kabatek@chemie.uni-halle.de>
3290
3291         * bits/string.tcc: _M_mutate - clear _M_state again.
3292         * bits/basic_string.h: In the three functions that return
3293         an iterator set _M_state to -1 before return.
3294         Also optimized two cases of operator+.
3295         
3296 1999-07-12  Phil Edwards  <pedwards@ball.com>
3297
3298         * docs/index.html:  Expand egcs-1.1.2 notes/links.
3299         * docs/faq/index.html:  And here.  Add links to LWG issues-list.
3300         * docs/faq/index.txt:  Regenerate.  (lynx rocks)
3301         * docs/21_strings/howto.html:  Fix notes on case conversion.
3302         * docs/21_strings/stringtok_h.txt:  Goodly spelling...
3303         * docs/23_containers/howto.html:  Stub for bitmasks.
3304         * docs/27_io/howto.html: Add section on buffering, stub binary.
3305         
3306 1999-07-12  Nathan Myers <ncm@cantrip.org>
3307
3308         * stl/bits/stl_tree.h (__black_count): Optimize.
3309
3310 1999-07-09  Vadim Egorov  <egorovv@1c.ru>
3311
3312         * src/basic_file.cc: Cleanup in __basic_file destructor.
3313
3314 1999-07-08  Benjamin Kosnik  <bkoz@cygnus.com>
3315
3316         * bits/std_streambuf.h: Changes. . .
3317         * bits/streambuf.tcc: Merge xsputn from filebuf into xsputn in
3318         basic_streambuf, to be used for both filebufs and streambufs.
3319         * bits/std_fstream.h (_M_init_filebuf): New function.
3320         Take out specialized xsputn, put into basic_streambuf.
3321         * bits/fstream.tcc: Define, call from both ctors.
3322         * bits/std_sstream.h (_M_init_stringbuf): New function.
3323         * bits/sstream.tcc: Tweak.
3324         
3325         * docs/27_io/iostreams_heirarchy.pdf: New file.
3326         
3327         * docs/17_intro/CHECKLIST (basic_string<char>): Validation and
3328         acceptance. Wooo-hoo!
3329
3330         * bits/char_traits.h: Change int_type for char_traits general
3331         template, so that 21_strings/capacity.cc will compile.
3332         * testsuite/21_strings/capacity.cc: Add operators.
3333         
3334         * bits/string.tcc (string::compare): Clean up, re-implement.
3335         * testsuite/21_strings/compare.cc: Tweak.
3336         
3337         * bits/string.tcc (string:_M_mutate): Keep leaked value in
3338         _M_state, which means that whenever begin() or end() has been
3339         called, the string is unshareable, period. By doing this, insert
3340         and erase member functions that return iterators can remain
3341         footloose and fancy free. 
3342         * testsuite/21_strings/invariants.cc: Update.
3343
3344         * bits/basic_string.h (string::append): Fix self-referential
3345         problems, ie when "this" is also an argument to a member function.
3346         * bits/string.tcc: Tweak, same.
3347         * testsuite/21_strings/append.cc: New file.
3348
3349 1999-07-07  Benjamin Kosnik  <bkoz@cygnus.com>
3350
3351         * bits/char_traits.h: Tweaks.
3352         * bits/basic_string.h: Tweak.
3353         * bits/fstream.tcc: Remove warning for _M_buf_size assignment.
3354
3355 1999-07-06  Benjamin Kosnik  <bkoz@cygnus.com>
3356
3357         * bits/std_streambuf.h: Absorb/acquire data members previously
3358         working in basic_filebuf.
3359         * bits/streambuf.tcc: Tweaks.
3360         * bits/fstream.tcc: Adjust.
3361         * bits/std_fstream.h: Move and rename the following functions:
3362         _M_set_ideterminate, _M_is_indeterminate, _M_set_determinate are
3363         now declared and defined in the base class, basic_streambuf.  Oh
3364         fuck it, move data members _M_buf, and _M_buf_size into
3365         basic_streambuf as well.
3366
3367         * bits/ostream.tcc: Tweak.
3368         * bits/locale_facets.tcc: Fix typo in comments.
3369
3370         * testsuite/21_strings/inserters_extractors.cc (test01): Change
3371         state from good to not good, as eof() is set.
3372
3373 1999-07-05  Benjamin Kosnik  <bkoz@cygnus.com>
3374
3375         * bits/char_traits.h (char_traits::compare). Fix.
3376
3377         * config.guess, config.sub: Update.
3378
3379 1999-07-02  Ryszard Kabatek <kabatek@chemie.uni-halle.de>
3380
3381         * bits/string.tcc: Check the __res_arg for a length error.
3382
3383 1999-07-01  Benjamin Kosnik  <bkoz@nabi.net>
3384
3385         * bits/std_streambuf.h: Tweaks. Need to move _M_is_indeterminate
3386         and related functions into basic_streambuf, from basic_filebuf to
3387         take care of ostringstreams and empty strings. So that's groovy,
3388         or will be groovy.
3389         * bits/std_istream.h: Tweaks.
3390         * bits/istream.tcc: Implement ws, getline, operator>> for string.
3391         * bits/std_ostream.h: And here.
3392         * bits/ostream.tcc: Same.
3393         * src/misc-inst.cc: Add instantiations for ws.
3394         
3395         * src/string-inst.cc: Add instantiations for inserters and
3396         extractors (operators << and >>, getline).
3397
3398         * testsuite/21_strings/inserters_extractors.cc: Amazingly enough,
3399         a testcase for getline and operators << and >>. Ostream tests are
3400         failing right now, but istream tests should work. . .
3401
3402         * bits/string.tcc: Change _S_max_size, as GNU malloc won't budge.
3403         * bits/std_sstream.h: Revert.
3404
3405         * testsuite/17_intro: header_[iosfwd, ios, iostream, iomanip,
3406         istream, ostream, streambuf, fstream, sstream].cc: New files.
3407         
3408 1999-06-30  Ryszard Kabatek <kabatek@chemie.uni-halle.de>
3409
3410         * bits/std_sstream.h (stringbuf::sync): Don't use string::begin()
3411         and string::end().
3412         
3413         * bits/basic_string.h (basic_string<>::_S_copy_chars): Add
3414         specializations for _CharT*, iterator and const_iterator.
3415         * src/string-inst.cc: Remove explicit instantiation, as
3416         now explicitly specialized.
3417
3418         * bits/basic_string.h: Add a size_type parameter to _M_clone with
3419         a default value set to 0.
3420         * bits/string.tcc: In _M_clone by the call of _S_create add the
3421         value of the new parameter to _M_length.  In reserve check
3422         _M_state and use _M_clone instead of _M_mutate.
3423
3424 1999-06-30  Benjamin Kosnik  <bkoz@happy.cygnus.com>    
3425
3426         * bits/basic_string.h: Fix _S_max_size.
3427         * bits/string.tcc: Add def here.
3428         * testsuite/21_strings/insert.cc: Fix.
3429         
3430         * bits/sbuf_iter.h: Remove detritus.
3431         * testsuite/24_iterators/istreambuf_iterator.cc: Add tests.
3432
3433         * src/locale-inst.cc: Elaborate iterator/locale instantiations
3434         to resolve alpha-osf4 build problems.
3435
3436 1999-06-29  Benjamin Kosnik  <bkoz@happy.cygnus.com>    
3437
3438         * bits/string.tcc: Fix signed/unsigned issues in compares.
3439         * stl/bits/stl_deque.h: And here.
3440         * stl/bits/stl_string_fwd.h: Remove __get_c_string.
3441
3442 1999-06-29  Ryszard Kabatek <kabatek@chemie.uni-halle.de>
3443  
3444          * bits/string.tcc: New implementation and interface of _M_mutate.
3445            Adapt the change in all functions that call _M_mutate.
3446          * bits/basic_string.h: And here.
3447
3448 1999-06-29  Benjamin Kosnik  <bkoz@happy.cygnus.com>
3449
3450         * testsuite/21_strings/capacity.cc (test01): Fix.
3451
3452 1999-06-29  Phil Edwards  <pedwards@ball.com>
3453
3454         * mknumeric_limits:  Exit script if gen-num-limits isn't built.
3455         
3456 1999-06-29  Andreas Gruenbacher  <agruenba@pent224.infosys.tuwien.ac.at> 
3457
3458         * stl/bits/stl_vector.h: Fix.
3459         * testsuite/23_containers/vector_cons.cc: Add.
3460         
3461 1999-06-29  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
3462
3463         * mknumeric_limits (LDFLAGS): fix.
3464
3465 1999-06-29  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
3466
3467         * mknumeric_limits (LDFLAGS): set it according to the system.
3468
3469         * math/mathconf.h (NAN): Check whether host is running under
3470         Cygwin and make the appropriate definition.
3471         * math/complex-stub.h (nan): protect declaration.
3472
3473 1999-06-28  Benjamin Kosnik  <bkoz@haight.constant.com>
3474
3475         * bits/sbuf_iter.h: Rename internal data structure to prevent
3476         confusion between basic_ios and istreambuf_iterators internal
3477         basic_streambuf data member.
3478         * testsuite/24_iterators/istreambuf_iterator.cc: New file.
3479
3480         * bits/basic_string.h: Remove conditionals, add input_iterator
3481         version of S_construct again.
3482         * bits/string.tcc: Same.
3483         * src/string-inst.cc: And add explicit instantiation here.
3484         
3485         * src/gen-c++config.cc (_GNU_SOURCE): Take out both _GNU_SOURCE
3486         and __USE_GNU macro defines, as single __USE_GNU use leading to
3487         confusion on glibc2.1 systems (ie, RedHat 6.0).
3488         
3489         * src/Makefile.am (headers): Add std_utility to installed headers.
3490
3491 1999-06-25  John Potter  <jpotter@eagle.lhup.edu>
3492
3493         * stl/bits/stl_tree.h (insert_unique): Revert, just fix insert_equal.
3494
3495 1999-06-25  Gilles Zunino  <Gilles.Zunino@hei.fr>
3496
3497         * mknumeric_limits (LDFLAGS): Swap -lc and -lgcc.
3498
3499 1999-06-24  Benjamin Kosnik  <bkoz@tintin.cygnus.com>
3500
3501         * src/gen-c++config.cc (_GLIBCPP_*): Change all
3502         macros to include _GLIBCPP as a distinct namespace.
3503         * bits/*: And here.
3504         * src/*: And here.
3505         
3506         * stl/bits/std_stdexcept.h: Forward-declare __Named_exception ctor.
3507         * bits/basic_string.h: Remove __get_c_string.
3508         * src/stdexcept.cc: Define ctor here.
3509         * bits/ios_base.h: And fix ios_base::failure as well.
3510         * src/ios.cc: Define here. 
3511         
3512         * bits/std_streambuf.h: Add a private copy ctor and assignment
3513         operator wrapped in _G_RESOLVE_LIB_DEFECTS.
3514         * bits/ios_base.h: And here too.
3515         
3516         * bits/basic_string.h: Tweak.
3517         * testsuite/21_strings/nonmember.cc: Add operator+ tests.
3518
3519         * src/valarray.cc: Rename to. . .
3520         * src/valarray-inst.cc: This.
3521         * src/Makefile.am (sources): Change here.
3522         * src/Makefile.in: Regenerated.
3523         
3524 1999-06-24  Vadim Egorov  <egorovv@1c.ru>
3525
3526         * bits/string.tcc(basic_string<>::_Rep::_S_create): Fixed
3527         allocated size
3528
3529 1999-06-24  Benjamin Kosnik  <bkoz@tintin.cygnus.com>
3530             Tom Tromey  <tromey@cygnus.com>
3531         
3532         * configure.in (use_glibc2): Eek, correct for non-glibc systems.
3533         Use AM_CONDITIONAL to get us out of this jam. . 
3534         * libio/Makefile.am: Same.
3535         * */Makefile: Regenerated.
3536
3537 1999-06-24  Benjamin Kosnik  <bkoz@tintin.cygnus.com>
3538             John Potter  <jpotter@eagle.lhup.edu>
3539
3540         * stl/bits/stl_tree.h (insert_equal): Fix.
3541         * testsuite/23_containers/multiset.cc: New file.
3542         
3543 1999-06-23  Benjamin Kosnik  <bkoz@cygnus.com>
3544
3545         * configure.in (test for glibc2): Correct AC_TRY_COMPILE so that
3546         this works correctly on glibc-2 systems. This should allow
3547         simplified linking on these systems, and successful linking on Red
3548         Hat 6.0 systems.
3549         * configure, Makefile: Regenerate.
3550         
3551         * bits/std_cwctype.h: Add missing 'w' to _S_iswpunct_helper name. 
3552         
3553         * testsuite/ext: New directory.
3554         * testsuite/ext/headers.cc: New file.
3555
3556 1999-06-23  Vadim Egorov  <egorovv@1c.ru>
3557
3558         * stl/ext/hash_set: include missing headers
3559         * stl/ext/hash_map: Same
3560         * stl/ext/slist: Same
3561
3562 1999-06-17  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
3563
3564         * bits/std_cmath.h: comment out modf. Kills build on hpux10.20
3565
3566 1999-06-15  Benjamin Kosnik  <bkoz@cygnus.com>
3567
3568         * src/Makefile.am (sources): Regenerate.
3569         * mkcheck: Add TESTS_FILE as a way of controlling what testcases
3570         are run.
3571
3572 1999-06-14  Benjamin Kosnik  <bkoz@cygnus.com>
3573
3574         * src/string-inst.cc: Change _S_construct signature, to
3575         track requested allocation size versus valid input iterator range.
3576         * bits/basic_string.h: Here too.
3577         * bits/string.tcc: And here.
3578
3579 1999-06-12  Benjamin Kosnik  <bkoz@cygnus.com>
3580
3581         * mkcheck (LOG_FILE): Correctly append errors. 
3582
3583         * stl/bits/stl_iterator.h: Revert previous, delirious, change.
3584
3585         * bits/basic_string.h: Change _Rep::_M_data to _Rep::_M_refdata,
3586         to clarify differences between basic_string::_M_data() calls and
3587         _Rep::_M_data() calls.
3588         * bits/std_string.h: Fix.
3589         Put in check for out_of_range in substr.
3590         * bits/string.tcc:  Fix for _S_find.
3591
3592         * testsuite/21_strings/compare.cc: Add tests.
3593         * testsuite/21_strings/find.cc: New file.
3594         * testsuite/21_strings/substr: New file.
3595         * testsuite/21_strings/replace.cc: New file.
3596         
3597 1999-06-11  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
3598
3599         * bits/valarray_array.h: __restrict__ify pointers.
3600
3601         * bits/std_valarray.h: Tweak.
3602         (valarray<T>::cshift, valarray<T>::shift): use __builtin_alloca.
3603
3604         * bits/gslice_array.h: Tweak. Reflect changes in bits/gslice.h
3605
3606         * bits/gslice.h: Tweak.
3607         (class gslice::_Indexer): new class.
3608         (gslice::gslice(const gslice&)): implement copy-ctor to support
3609         ref-counted index. 
3610         (gslice::operator=(const gslice&)): support ref-counted index.
3611         (gslice::_M_convert_to_index): delete.
3612
3613         * src/valarray.cc: New file.
3614         (__gslice_to_index): turn a gslice into a valarray<size_t>
3615         (ctor gslice::_Indexer::_Indexer): implement.
3616
3617         * src/Makefile.am (sources): add valarray.cc
3618         * src/Makefile.in: regenerate.
3619
3620 1999-06-08  Benjamin Kosnik  <bkoz@cygnus.com>
3621
3622         * stl/bits/stl_iterator.h (__normal_iterator::const_iterator
3623         ctor): Put in a const_cast.
3624
3625         * testsuite/21_strings/invariants.cc: New file.
3626
3627         * testsuite/21_strings/insert.cc: Add exception handling bits.
3628         * testsuite/21_strings/ctor_copy_dtor.cc: Same.
3629
3630         * src/wstring-inst.cc: Add c++config.h include.
3631
3632         * bits/basic_string.h: Fix const operator[] for size == pos.
3633         Add _M_leak for rbegin, non-const.
3634         Add _M_leak for rend, non-const.
3635         Make member function at standards conformant.
3636         Add _S_terminal to _Rep for operator[] const, add this into
3637         c_str() as well.
3638         * bits/string.tcc: Add static member definition here,
3639         temporarily.
3640         
3641         * testsuite/21_strings/element_access.cc: Add tests.
3642
3643 1999-06-08  Vadim Egorov  <egorovv@1c.ru>
3644
3645          * bits/fstream.tcc (_M_really_overflow): Fixed size of
3646          conversion buffer.
3647
3648 1999-06-08  Phil Edwards  <pedwards@ball.com>
3649
3650         * bits/fstream.tcc (basic_filebuf::xsputn):  Fix off-by-one count
3651           caused when __testinit is true.
3652         * bits/ostream.tcc (basic_ostream::op<<(streambuf*)):  Write buffer
3653           using rdbuf()->sputn rather than _M_fnumput->put.
3654
3655 1999-06-08  Benjamin Kosnik  <bkoz@tintin.cygnus.com>
3656
3657         * testsuite/23_containers/bitset_ctor.cc: New file.
3658         * stl/bits/std_bitset.h (__BITSET_WORDS): Fix integration bug.
3659
3660 1999-06-08  Phil Edwards  <pedwards@ball.com>
3661
3662         * bits/fstream.tcc (basic_filebuf::underflow):  Fix, rename local vars.
3663
3664 1999-06-07  Benjamin Kosnik  <bkoz@tintin.cygnus.com>
3665
3666         * testsuite/21_strings/element_access.cc: Finish off these tests.
3667         * testsuite/21_strings/insert.cc (test01): Uncomment.
3668         * testsuite/21_strings/ctor_copy_dtor.cc (test01): Finish off ctors.
3669         * bits/basic_string.h: Tweak, okay, fix for real this time.
3670         * bits/string.tcc: Same.
3671         * bits/char_traits.h: Tweak.
3672
3673 1999-06-07  Benjamin Kosnik  <bkoz@tintin.cygnus.com>
3674
3675         * bits/std_cmath.h: Example of how to use the generated macro.
3676         * acconfig.h: Add macro for sinf here.
3677         * configure.in (LIBS): Add test for builtin math function sinf.
3678         * configure: Regenerated.
3679         
3680         * bits/basic_string.h: Fix _S_max_size.
3681
3682 1999-06-06  Benjamin Kosnik  <bkoz@tintin.cygnus.com>
3683
3684         * bits/basic_string.h: Fixes for out-of-memory segv for large strings.
3685         Remove _S_construct signature for forward_iterator_tag and
3686         input_iterator_tag.
3687         Clean _M_fold.
3688         * src/string-inst.cc: Same, tweaks. 
3689         * bits/string.tcc: Same, tweaks.
3690
3691         * testsuite/21_strings/ctor_copy_dtor.cc: Add/clarify tests.
3692         * mkcheck (LOG_FILE): Fix filebuf-[2,3].tst checks.
3693         * mknumeric_limits (LD_FLAGS): Add -nodefaultlibs -lc -lgcc as per
3694         Gaby.
3695
3696         * src/locale.cc: Final separation for char/wchar_t bits.
3697
3698 1999-06-05  Phil Edwards  <pedwards@ball.com>
3699
3700         * docs/index.html:  Added link to book upon request'n'agreement.
3701         * docs/23_containers/wrappers_h.txt:  Added.
3702         * docs/{23_containers,27_io}/howto.html:  Added sections.
3703
3704         * bits/std_fstream.h: Tweak.
3705         
3706 1999-06-05  Benjamin Kosnik  <bkoz@tintin.cygnus.com>
3707
3708         * src/ios.cc: Same here.
3709         * bits/std_iosfwd.h: More wchar_t defines.
3710
3711         * bits/basic_string.h: Tweaks. 
3712         * bits/string.tcc: Tweak. Fix _S_construct to check for max_size
3713         when doing error checking, as per LWG defect #83.
3714         
3715         * src/gen-c++config.cc: Fix comment.
3716         
3717         * testsuite/21_strings/ctor_copy_dtor.cc: New file, checks ctors,
3718         assignments, dtors.
3719         * testsuite/21_strings/element_access.cc: New file, checks for
3720         operator[], at(...).
3721         * testsuite/21_strings/insert.cc: New file, tests string::insert.
3722         * testsuite/21_strings/char_traits.cc: New file, tests
3723         for char_traits<char>.
3724         
3725         * bits/utility.h: Remove, again.
3726         * src/Makefile.am (std_headers): Remove utility.h.
3727         * src/Makefile.in (std_headers): Regenerate.
3728
3729         Alfred Minarik <a8601248@unet.univie.ac.at>
3730         * bits/basic_string.h: Move __out_of_range and __length_error into
3731         namespace std.
3732
3733 1999-06-05  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
3734
3735         * testsuite/26_numerics/modf_float.cc: New file.
3736
3737         * bits/std_cmath.h (modf(float, float*)): Fix signature. Correct
3738         typo: use ::modff, not ::modf.
3739
3740 1999-06-03  Vadim Egorov  <egorovv@1c.ru>
3741
3742         * bits/string.tcc (basic_string::_M_mutate): Fixed memory
3743         allocation error
3744         * testsuite/21_strings/capacity.cc (test01): Test.
3745         
3746 1999-06-03  Phil Edwards  <pedwards@ball.com>
3747
3748         * bits/fstream.tcc:  Re-order inits to stop warnings.  Comment/move
3749           unused variables to within #if 0 blocks to do the same.
3750         * bits/std_fstream.h:  Fix typos (one prevents compilation).
3751
3752 1999-06-03  Benjamin Kosnik <bkoz@pacifica.cygnus.com>
3753
3754         * src/wstring-inst.cc: Fix.
3755
3756 1999-06-02  Benjamin Kosnik <bkoz@madcow.cygnus.com>
3757
3758         * bits/char_traits.h: Add _G_USE_WCHAR_T macro guards.
3759         * stl/bits/stl_string_fwd.h: Same.
3760         * bits/locale_facets.h: Same.
3761         * bits/locale_facets.tcc: Same.
3762         * src/wstring-inst.cc: And here.
3763         
3764         * src/gen-c++config.cc: Comment _G_USE_WCHAR_T. Leading to
3765         problems on HPUX 10.20.  
3766         * your-build-directory-here/bits/c++config.h: Just kidding, do it
3767         here as a temporary hack till the compiler/host problems get
3768         worked out.
3769
3770         * bits/locale_facets.tcc (num_get::do_get): Change from ifdef
3771         HAVE_STRTOLD to HAVE_STRTOLD && !(__hpux). Apparently, problems
3772         converting "long double" to struct long_double. Probably should be
3773         done with one macro (HAVE_STRTOLD) at configure time.
3774
3775         * bits/std_cmath.h: Comment out pow(double, int) defintion as
3776         gives re-declaration under hpux10.20. Revert previous change, as
3777         kills linux/x86, solaris 2.7, hpux builds. These should be done
3778         using autoconf, see std_cctype.h and the solutions started in
3779         configure.in (see config.h for the generated file.)
3780
3781         * mknumeric_limits (LDFLAGS): Remove '-nodefaultlibs -lc', as
3782         -nodefaultlibs prevents linking under HPUX 10.20 as __main is not
3783         defined.
3784
3785         * docs/index.html: Add some useful links.
3786         * docs/17_intro/contribute.html: Fix broken links.
3787
3788 1999-06-02  Benjamin Kosnik <bkoz@rhino.cygnus.com>
3789
3790         * mkcheck (LOG_FILE): Add !/bin/bash instead of cygnus-style
3791         paths. The rest of the world should be able to run this script
3792         now.
3793
3794         * src/Makefile.am ($(generated_headers)): Remove comment.
3795         * Makefile*: Regenerate.
3796         
3797         * bits/std_locale.h: Remove detritus.
3798         * bits/localefwd.h: Add <cctype> include to undefine the isspace
3799         macro.
3800
3801 1999-06-01  Benjamin Kosnik  <bkoz@tintin.cygnus.com>
3802
3803         * src/gen-c++config.cc: New file. Making c++config.h at configure
3804         time by catting this file (nee bits/config.h) with the build
3805         directories config.h. This is not a complete or perfect solution
3806         but is better than what was in place previously. 
3807         * bits/c++config.h: Rename/move to above.
3808         * src/Makefile.am (headers): Remove c++config.h.
3809         (myinstallheaders). Add.
3810         * Makefile*: Regenerated.
3811
3812         * bits/std_cwchar.h: Add include of c++config.h for HAVE_*
3813         definitions, so that wmemcmp, wcslen, wmemchr, etc are properly
3814         declared only if not present in the host's wchar.h.
3815
3816         * bits/locale_facets.tcc (std): Change _G_USE_STRTO* to HAVE_STRTO*.
3817         
3818         * bits/std_cmath.h: Define out, for the moment. Linux has no
3819         __buitin_fsqrtl? Probably need some kind of configure trickery
3820         here as well.
3821
3822         * src/Makefile.*: Regenerate.
3823         * bits/c++config.h: Add config.h include.
3824
3825         * bits/std_cwchar.h: Remove remaining #error guard.
3826         
3827         * acconfig.h: Add bits for HAVE_LC_MESSAGES.
3828
3829         * configure.in (LIBS): Replace previous effort for mbstate_t and
3830         strtold/strtof with this implementation.
3831
3832 1999 06-01  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
3833
3834         * bits/std_cmath.h: Tweak. Add more functions. Use __builtin_xxx
3835         whenever possible.
3836
3837 1999-05-28  Benjamin Kosnik  <bkoz@cygnus.com>
3838
3839         * bits/locale_facets.tcc (std): Eek: this left in. Autoconf bits
3840         for determining mbstate_t differences across various hosts not
3841         finished. 
3842
3843 1999-05-26  Benjamin Kosnik  <bkoz@nabi.net>
3844
3845         * bits/locale_facets.tcc: Change to ifdef.
3846
3847         * bits/std_sstream.h (stringbuf::setbuf): Remove dynamic_cast.
3848         * bits/std_fstream.h (filebuf::setbuf): Same.
3849
3850         * bits/std_istream.h: Add ws declaration.
3851         * bits/istream.tcc: Stub out definition.
3852         
3853         * docs/index.html: Fix broken link for design.txt.
3854
3855         * configure.in: Test for mbstate_t. If wchar.h doesn't have it,
3856         then set _G_NEED_MBSTATE_T.
3857         * configure: Regenerate.
3858         * bits/c++config.h: Move mbstate_t define.
3859         * bits/std_cwchar.h: To here.
3860
3861 1999-05-25  Ryszard Kabatek <kabatek@chemie.uni-halle.de>
3862
3863         * bits/std_sstream.h:
3864           basic_stringbuf<>::basic_stringbuf: fix.
3865           basic_stringbuf<>::setbuf: 
3866           remove the temporary __string_type object,
3867           remove the unnecessary dynymic_cast in the return value,
3868           change the type of the returned value from __streambuf_type*
3869           to basic_stringbuf<_CharT, _Traits, _Alloc>*.
3870
3871 1999-05-25  Phil Edwards  <pedwards@ball.com>
3872
3873         * bits/std_streambuf.h (streambuf::setbuf): Always return streambuf*. 
3874
3875 1999-04-25  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
3876
3877         * bits/std_cmath.h: Tweak. Add float versions of the math functions
3878         in <math.h>.  <cmath> still incomplete and incorrekt.
3879
3880 1999-05-24  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
3881
3882         * mknumeric_limits (LDFLAGS): set appropriate link flags.
3883         
3884 1999-05-23  Phil Edwards  <pedwards@ball.com>
3885
3886         * docs/17_intro/howto.html:  Added links to text docs,
3887         e.g., BUGS. 
3888         * docs/21_strings/howto.html:  Updated sections and links.
3889         * docs/21_strings/{gotw29a.txt,stringtok_h.txt}:  Added.
3890         * docs/faq/index.html:  Updated what-works for sixth
3891         snapshot. Also a number of "internal" links have been
3892         fixed, now that the web pages are the docs directory...
3893         * docs/faq/index.txt: Regenerated.
3894         
3895 1999-05-21   Benjamin Kosnik  <bkoz@tintin.cygnus.com>
3896
3897         * bits/basic_string.h: Add Nathan's documentation on the string class.
3898
3899         * testsuite/27_io/ios_members_static.cc: New file, for testing
3900         ios_base::sync_with_stdio.
3901
3902 1999-05-21   Benjamin Kosnik  <bkoz@tintin.cygnus.com>
3903
3904         * bits/std_locale.h: Simplify includes.
3905         * bits/loccore.h: Delete.
3906         * bits/localefwd.h: Renamed, trimmed.
3907         * bits/locfacets.h: Delete.
3908         * bits/locale_facets.h: Rename, expanded.
3909         * bits/loccore.tcc: Deleted.
3910         * bits/locfacets.tcc: Deleted.
3911         * bits/locale_facets.tcc: Resultant merge.
3912         * bits/std_fstream.h: Modify include.
3913         * bits/ostream.tcc: Same.
3914         * bits/istream.tcc: Same.
3915
3916         * src/locale-inst.cc: And here.
3917         * src/locale.cc: Ditto. 
3918         * src/Makefile.am: Updated.
3919         * src/Makefile.in: Rengenerated.
3920
3921         * bits/std_istream.h: Move istream::sentry ctor definition.
3922         * bits/istream.tcc: Move istream::sentry ctor here.
3923         Add more detailed locale include here for ctype member functions.
3924         * bits/ostream.tcc (std): And here.
3925
3926         * bits/sbuf_iter.h: Include std_streambuf.h
3927
3928         * bits/locfacets.h: Start separating this into a localeimp.h file.
3929         * bits/loccore.h: Start separating this into a localefwd.h file.
3930         Add std_climits for CHAR_BIT.
3931         
3932         * bits/ios_base.h (ios_base::sync_with_stdio): Stub in.
3933
3934         * bits/char_traits.h: Tweak.
3935
3936         * bits/ios_base.h: Remove INT_MAX, use 1<<16.
3937
3938         * bits/std_ostream.h: Remove c++config.h include.
3939         * bits/std_istream.h: Same.
3940         * bits/std_streambuf.h: Same.
3941         * bits/std_fstream.h: Same.
3942         * bits/std_sstream.h: And here.
3943         
3944         * bits/std_iosfwd.h: Add _G_RESOLVE_LIB_DEFECTS here for streampos.
3945         * bits/char_traits.h: Add include of std_cwchar.h for mbstate_t.
3946         * bits/fpos.h: Tweak, format.
3947
3948         * std/ciso646: New file.
3949         * bits/std_ciso646.h: New file.
3950         * src/Makefile.am (std_headers): Add ciso646.
3951         (headers): Add bits/std_ciso646.h.
3952         * src/Makefile.in: Regenerate.
3953         * testsuite/17_intro/header_ciso646.cc: New file, disable
3954         equivalance tests.
3955         
3956         * bits/fpos.h: Remove libio.h include.
3957         * bits/basic_file.h: And here.
3958         * bits/std_ios.h: Put here.
3959
3960         * src/ios.cc: Simplify includes, tweak.
3961         * bits/std_ios.h: Simplify include order. 
3962         * bits/ios_base.h: Modify ios_base::failure.
3963
3964         * stl/bits/std_numeric.h: Change include from stl_iterator to
3965         std_iterator.
3966         
3967 1999-05-19  Benjamin Kosnik  <bkoz@tintin.cygnus.com>
3968
3969         * std/iostream: Remove static member __ioint.
3970         * bits/std_iostream.h: Put here.
3971
3972         * stl/bits/std_numeric.h: Remove unneccessary std_iostream.h include.
3973         * stl/bits/stl_algobase.h: Same.
3974         * testsuite/27_io/iostream_objects.cc: Regression tests.
3975         * testsuite/27_io/hello.cc: Remove, subset of above.
3976         
3977 1999-05-19  Phil Edwards  <pedwards@ball.com>
3978         
3979         * docs/index.html: Tweak, update.
3980
3981 1999-05-18  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
3982
3983         * docs/17_intro/RELEASE-NOTES: remove outdated
3984         documentation about numeric_limits. Correct CXXINCLUDE setting
3985         documentation.
3986
3987 1999-05-18  Phil Edwards  <pedwards@ball.com>
3988
3989         * docs/{17_intro,18_support,19_diagnostics,20_util,21_strings,
3990           22_locale,23_containers,24_iterators,25_algorithms,26_numerics,
3991           27_io}/howto.html:  Created, with some initial entries.
3992         * docs/faq/index.html:  Fixed some links.
3993         * docs/faq/index.txt:  Regenerated.
3994
3995 1999-05-18  Benjamin Kosnik  <bkoz@tintin.cygnus.com>
3996
3997         * bits/c++config.h (__GLIBCPP__): Set version to 19990518.
3998
3999         * docs/17_intro/RELEASE-NOTES: Update.
4000         * docs/index.html: Correct link to mailing list help page, update News.
4001         * docs/faq/index.html: Change fifth to sixth for snapshot.
4002         
4003         * src/Makefile.am (myinstallheaders): Bring over Gaby's changes to
4004         install $(top_builddir)/bits/std_limits.h into
4005         $(myincludepfx)/bits. This was mistakenly omitted from yesterday's
4006         Makefile.am changes.
4007         * *Makefile*: Regenerate using automake.
4008
4009         * mkcheck (LOG_FILE): Fix filebuf directory oddness.
4010         * testsuite/27_io/filebuf.cc: Same.
4011
4012 1999-05-18  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
4013
4014         * docs/17_intro/CHECKLIST: update.
4015         * docs/17_intro/TODO: update.
4016
4017 1999-05-17  Phil Edwards  <pedwards@ball.com>
4018
4019         * docs/{17_intro,18_support,19_diagnostics,20_util,21_strings,
4020           22_locale,23_containers,24_iterators,25_algorithms,26_numerics,
4021           27_io}/howto.html:  Created, with some initial entries.
4022         * docs/faq/index.html:  Fixed some links.
4023         * docs/faq/index.txt:  Regenerated.
4024         
4025 1999-05-17  Benjamin Kosnik  <bkoz@unhappy.cygnus.com>
4026
4027         * src/Makefile.am (myinstallheaders): Missed removing missing.h. 
4028         * Makefile.in*: Regenerate.
4029
4030 1999-05-17  Benjamin Kosnik  <bkoz@happy.cygnus.com>
4031
4032         * bits/std_streambuf.h: Same.
4033
4034         * bits/loccore.h (_Bad_use_facet): Remove bits warned about.
4035         * bits/locfacets.h (std): Same.
4036         * bits/sstream.tcc: Same.
4037         * testsuite/27_io/stringstream.cc: Tweak.
4038
4039         * testsuite/27_io/filebuf.cc: Adjust.
4040         * testsuite/21_strings/capacity.cc (test01): Add more
4041         string::reserve tests.
4042
4043         * bits/c++config.h: Remove broken CCTYPE.
4044         * bits/std_cctype.h: Tweak, remove de-macroization, enable
4045         sequestered topper implementation.      
4046         * bits/std_cwctype.h: Same.
4047         
4048         * bits/missing.h: Remove.
4049         * bits/std_locale.h: Remove missing.h include.
4050         
4051         * stl/bits/std_bitset.h (bitset::bitset(string): Tweak to compile.
4052         
4053         * src/Makefile.am (headers): Add bits/std_cwctype.h.
4054         INCLUDES: Add top_builddir. 
4055         * src/Makefile.in: Regenerate.
4056
4057         * Makefile.am: Add check and check-install as new targets.
4058         * testsuite/make_check_libfree++: Move to. . .
4059         * mkcheck: Here.
4060         * configure.in: Tweak versions.
4061         * mknumeric_limits: Set paths correctly.
4062         
4063 1999-05-17  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
4064         
4065         * src/Makefile.in (myinstallheaders): add rule to install
4066         std_limits.h. 
4067         
4068         * bits/slice.h (class slice): don't const-qualify data members
4069         since the copy and assignment operator is implicitly used. The
4070         valarray specification is definitively a bad one.
4071         
4072         * Makefile.in (generate-limits-sources): fix typo.
4073         
4074         * docs/text/TODO: update.
4075         * docs/text/CHECKLIST: update.
4076
4077         * bits/gslice.h (gslice): fix bugglet.
4078         (gslice::gslice): set _M_index_size to 0 whenever given lengths
4079         (lj) of size zero.
4080
4081         * src/Makefile.am (libstdc___la_SOURCES): add gen-num-limits.
4082         * src/Makefile.in (libstdc___la_SOURCES): keep in sync.
4083         [Note: **/Makefile.in should be generated from the corresponding
4084         Makefile.am.  The current situation is a litte chaotic.  ]
4085
4086 1999-05-16 Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
4087
4088         * mknumeric_limits: tweak.
4089
4090         * Makefile.in (all): add target generate-limits-sources.
4091         (generate-limits-sources): make a directory bits/ in top_builddir
4092         where the generated std_limits.h is put; generate limitsMEMBERs.cc
4093         directly under $(top_builddir)/src. Remains to put the appropriate
4094         rule for installing std_limits.h.
4095         
4096         * src/Makefile.in (headers): remove bits/std_limits.h to this list.
4097         (INCLUDES): add -I$(top_builddir) for bits/std_limits.h which is
4098         now generated at build-time in the build directory
4099         (libstdc___la_SOURCES): remove limitsMEMBERS.cc form this list
4100         * src/Makefile.am: reflect changes in src/Makefile.in
4101
4102 1999-05-12  Phil Edwards  <pedwards@ball.com>
4103
4104         * docs/faq/index.html: Add more entries (5.4,5.5), finish
4105         all but one empty entry.  Add links for HOWTOs, but no files yet.
4106         (Corrected HOWTO links are for bkoz's new scheme.)
4107         * docs/faq/index.txt: Regenerated.
4108         
4109 1999-05-12  Benjamin Kosnik  <bkoz@happy.cygnus.com>
4110
4111         * testsuite/17_intro/headers.cc: New file.
4112         * stl/bits/std_queue.h: Change stl_bvector.h include path.
4113         * bits/std_cwctype.h: New file.
4114         
4115         * testsuite/27_io/filebuf.cc: Need to tweak directory structure.
4116
4117 1999-05-11  Benjamin Kosnik  <bkoz@loony.cygnus.com>
4118
4119         * stl/bits/stl_config.h (__USE_MALLOC): Change underlying allocator.
4120         Check __USE_MALLOC before defining specializations containing
4121         __default_alloc_template.
4122         * src/stl-inst.cc: Here too.
4123
4124         * bits/basic_string.h: Change.
4125
4126         * testsuite/make_check_libfree++: More tweaks.
4127         * testsuite/21/capacity.cc: New file.
4128         
4129         * src/string.cc: Rename to be consistent with other inst files. 
4130         Rename to string-inst.cc.
4131         * src/string*.cc: Change include.
4132         * src/wstring.cc: Rename to wstring-inst.cc.
4133         * src/wstring*.cc: Ditto.
4134         * src/Makefile.in: Also here.
4135         * src/Makefile.am: Ditto.
4136
4137         * src/traits.cc: Remove.
4138         * src/wtraits.cc: Same.
4139
4140         Try a new way of organizing documentation, one with synchronicity
4141         between testsuites and docs subdirectories, and see who yelps.
4142         * docs/html: Remove, use chapter and subject specific directories
4143         instead of forcing things immediately into format of
4144         documentation.
4145         * docs/text: Same.
4146         * docs/image: Same.
4147         * docs/faq/text, docs/faq/html: Remove, put in the docs/faq
4148         directory and sort by filename and extension.
4149         * docs/17_intro, 18_support, 19_diagnostics, 20_util, 21_strings,
4150         22_locale, 23_containers, 24_iterators, 25_algorithms,
4151         26_numerics, 27_io: Add.
4152         * docs/17_intro/*: Populate with all the text files. . .
4153         * docs/index.html: Construct.
4154         
4155         * testsuite/*: Update with same names as the docs subdir.
4156         * testsuite/results: Where to stash conformance results for the
4157         different snapshots, so that progress/size/speed issues can be
4158         tracked over time.
4159         
4160 1999-05-10  Benjamin Kosnik  <bkoz@loony.cygnus.com>
4161         
4162         * src/string.cc: Add _S_copy_chars instantiation, as well as
4163         string::binary operators !=, ==, etc.
4164
4165         * src/Makefile.am (CXXFLAGS): Remove -fvtable-thunks.
4166         * src/Makefile.in (CXXFLAGS): Same here.
4167         * testsuite/make_check_libfree++ (CXX_FLAG): And here.
4168         
4169 1999-05-07  Benjamin Kosnik  <bkoz@cygnus.com>
4170
4171         * src/string.cc:  Add missing member functions to instantiation list.
4172
4173 1999-05-07  Benjamin Kosnik  <bkoz@cygnus.com>
4174
4175         * src/misc-inst.cc: Remove unused string instantiations.
4176
4177         * bits/string.tcc: Tweak, fix.
4178         * bits/basic_string.h: Format. Fix reported error with c_str().
4179
4180         * testsuite/make_check_libfree++: Tweak for shared builds.
4181         * testsuite/21/operations.cc: New file for testing c_str() etc.
4182
4183 1999-05-06  Benjamin Kosnik  <bkoz@cygnus.com>
4184             Ryszard Kabatek  <kabatek@chemie.uni-halle.de>
4185
4186         * stl/bits/stl_vector.h: Fix the code of vector<> for usage with
4187         an iterator class.  Delineate pointer versus iterator differences
4188         in implementation.
4189         * 23/vector_capacity.cc: New file, tests for above.
4190         
4191 1999-05-06 Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
4192
4193         * mknumeric_limits: Fix typo. 'unsigned lont' should read
4194         'unsigned long'.
4195         * src/Makefile.am (libstdc___la_SOURCES): add limitsMEMBERS.cc,
4196         generated by mknumeric_limits to the list. Now std_limits.h is
4197         basically working. 
4198         * src/Makefile.in (generate-numeric-limits): new target to handle
4199         automatic generation of bits/std_limits.h and src/limitsMEMBERS.cc.
4200         (all): add target generate-numeric-limits.
4201         (libstdc___la_OBJECTS): add limitsMEMBERS.lo
4202         (libstdc___la_SOURCES): add limitsMEMBERS.cc
4203
4204 1999-05-05  Benjamin Kosnik  <bkoz@cygnus.com>
4205
4206         Irix build issues.
4207         * bits/c++config.h (_G_USE_CTYPE_ISBIT): Defines new macro for
4208         mask values in ctype_base. Move hacks for _ISBit to locfacets.h.
4209         * bits/locfacts.h: Here.
4210
4211 1999-05-05  Benjamin Kosnik  <bkoz@cygnus.com>
4212             Ulrich Drepper <drepper@cygnus.com> 
4213
4214         Solaris build issues.
4215         * bits/c++config.h: Define new macros, _G_USE_STRTOF and
4216         _G_USE_STRTOLD.
4217         
4218         * bits/locfacets.tcc (num_get::do_get): Tweak long double and
4219         float overloads to use the above macros. Account for the lack of
4220         strtold on some systems, and revert back to using sscanf.
4221
4222 1999-05-04  Ryszard Kabatek <kabatek@chemie.uni-halle.de>
4223
4224         * bits/locfacets.tcc (num_get::do_get): Check the errno variable.
4225         Use strtoul/strtoull for unsigned types.  Check the ranges for
4226         short/unsigned short and if necessary for int/unsigned int.
4227
4228 1999-05-04  Benjamin Kosnik  <bkoz@cygnus.com>
4229
4230         * src/gen-num-limits.cc (round_style): Need to use mknumericlimits
4231         to generate bits/std_limits.h now, as the SGI std_limits.h is
4232         being depricated. Not done, but should be done immediately: need
4233         to make sure this script is run as part of the configuration
4234         process, because without it "make" in a configured build directory
4235         will fail. Also tweaked: added a space for float_round_style, and
4236         used static_cast of zero to default-initialize, which should be ok
4237         according to the standard. (see 8.5 p5 and 20.1.3).
4238         * mknumeric_limits (OUT_C): Need this for x86 long
4239         double extensions.
4240         
4241         * bits/basic_file.h: Include libio.h, not libioP.h.
4242         * src/basic_file.cc: And add libioP.h include here, so that
4243         _IO_init, et. al are well-declared.
4244
4245         * testsuite/make_check_libfree++ (LIB_PATH): Test installed
4246         headers, not source directory headers.
4247
4248         * src/Makefile.am (headers): Add stl_range_errors.h, also adjust
4249         for ext/*.  Also add basic_file.h.
4250         * src/Makefile.in (headers): Same.
4251         
4252         * bits/std_string.h: Reduce dependencies for faster
4253         pre-processing. Move istream and ostream specific defines into
4254         istream.tcc and ostream.tcc respectively.
4255         * bits/string.tcc: And here.
4256         * bits/basic_string.h: Move getline inline out-of-line, and to
4257         istream.tcc.
4258         * bits/istream.tcc: Move string::getline and operator>> here.
4259         * bits/ostream.tcc: And here too.
4260
4261         * bits/utility.h: Remove, as clashes with a standard header. Put
4262         __OUTOFRANGE and __LENGTHERROR macros into string.tcc for the time
4263         being, until this can be combined with SGI's approach.
4264         * bits/string.tcc: Add macros, as above.
4265         * bits/loccore.h: Add _Count_ones defines.
4266         * bits/std_string.h: And here too.
4267         * bits/std_locale.h: And here.
4268         * bits/std_ios.h: Take out include here.
4269         * src/Makefile.am (headers): Remove utility.h
4270         * src/Makefile.in (headers): Remove utility.h
4271
4272         * stl/bits/*: Update to SGI STL 3.20.
4273         * stl/ext/pthread_alloc: Delete this file.
4274         
4275 1999-05-04 Phil Edwards <pedwards@ball.com>
4276
4277         * docs/faq/html/index.html: Add more entries
4278         * docs/faq/html/index.txt: regenerated.
4279
4280 1999-05-04 Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
4281
4282         * src/gen-num-limits.cc (DO_DEFINE_MIN_MAX): fix typo.
4283
4284 1999-04-29  Benjamin Kosnik  <bkoz@haight.cygnus.com>
4285
4286         * bits/locfacets.tcc (num_get::do_get): Re-implement, with input
4287         from Ulrich and Nathan. Remove extraneous string class usage,
4288         tweak, clean, simplify and consolidate with a eye towards removing
4289         duplcate code. Use strto[l, ll, f, d, ld] instead of sscanf.
4290         Not done: dealing with leading zeros, wchar_t work.
4291         * bits/locfacets.h: And here too.
4292
4293         * doc: Remove.
4294         
4295 1999-04-29  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
4296
4297         * docs/: add a FAQ.
4298         * docs/faq/: New directory.
4299         * docs/faq/html/: Likewise.
4300         * docs/faq/text/: Likewise.
4301         * docs/faq/html/index.html: New file.
4302         * docs/faq/html/index.txt: Likewise. Generated from 
4303         docs/faq/html/index.html by lynx.
4304
4305 1999-04-28  Benjamin Kosnik  <bkoz@happy.cygnus.com>
4306             Ryszard Kabatek and Branko Cibej 
4307
4308         * bits/locfacets.tcc: Modify.
4309
4310 1999-04-27  Benjamin Kosnik  <bkoz@happy.cygnus.com>
4311
4312         * bits/sbuf_iter.h: Clean, fix istreambuf_iterator, make
4313         conformant to 14882, wrap non-standard extensions with
4314         _G_RESOLVE_LIB_DEFECTS, remove detritus and cruft, rennovate.
4315         * bits/locfacets.tcc (num_get::do_get(bool)): Return correct iterator.
4316         
4317         * testsuite/27/istringstream_formatted.cc: Add tests.
4318         
4319         * bits/locfacets.h: Remove cruft from _Format_cache, continue
4320         commenting, simplify.
4321         * bits/locfacets.tcc: Same.
4322
4323         1999-04-27  Ryszard Kabatek  <kabatek@chemie.uni-halle.de>
4324         * bits/locfacets.tcc (num_get::do_get):
4325         Fix the sscanf format parameter 
4326         for long long 'll' (as in C9X) instead of 'l'.
4327         Fix the order of sscanf format parameters: "%dl" --> "%ld".
4328         Change the type of the local variable '__conv' from 'string'
4329         to 'const char*' and adapt the change.
4330         
4331 1999-04-26  Benjamin Kosnik  <bkoz@happy.cygnus.com>
4332
4333         * bits/locfacets.h: Document _Format_cache, and name data members
4334         after the corresponding functions in numpunct. For instance:
4335         _M_grsep -> _M_thousands_sep, and _M_decsep -> _M_decimal_point.
4336         Break apart _M_boolnames{2] into _M_truename and _M_falsename.
4337         * bits/locfacets.tcc: Same.
4338
4339         * bits/locfacets.h (num_get::_M_extract): Don't allow groupings to
4340         stop parsing--store for later analysis.
4341         * testsuite/27/istringstream_formatted.cc: Add cases.
4342         
4343 1999-04-25  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
4344
4345         * bits/valarray_meta.h: tweak.
4346         (_UnFunBase, _BinFunBase, _BinFunBase1, _BinFunBase2, _BinBase1,
4347         _BinFunBase2): rename typedef-name _Tp to _Vt to keep the compiler
4348         happy -- boggus warning.
4349         * bits/std_valarray.h: Fix.
4350         (valarray<T>::shift): Fix. Update comment.
4351         (valarray<T>::cshift): Fix. 
4352
4353 1999-04-23  Benjamin Kosnik  <bkoz@cygnus.com>
4354         
4355         * testsuite/27filebuf-2.txt: Delete.
4356         * testsuite/27/filebuf.cc: Put output files directly into the
4357         correct subdirectory (27).
4358
4359         Alexandre Petit-Bianco <apbianco@cygnus.com>
4360         * testsuite/make_check_libfree++: Check generated (*.txt) file
4361         against stored results file (*.tst).
4362
4363 1999-04-22  Benjamin Kosnik  <bkoz@nabi.net>
4364
4365         * bits/locfacets.tcc: Fix.
4366
4367         * bits/fstream.tcc (filebuf::seekoff): Output current out pointer.
4368         (filebuf::overflow): Simplify.
4369         (filebuf::xsputn): Correctly handle indeterminate state.
4370
4371         * testsuite/27/istringstream_formatted.cc: Tweak.
4372         * testsuite/27/filebuf.cc: Tweak.
4373         * testsuite/27/filebuf-3.tst: Correct: this is the canonical
4374         results file, please use this in the future to guarantee filebuf
4375         positioning accuracy.
4376         * testsuite/27/filebuf-2.tst: Same.
4377         
4378 1999-04-21  Benjamin Kosnik  <bkoz@cygnus.com>
4379
4380         * bits/fstream.tcc (filebuf::xsputn): Add.
4381         * bits/std_fstream.h: Declare.
4382         
4383         * src/basic_file.cc (__basic_file::open): Add O_CREAT to open
4384         calls using ios_base::trunc.
4385
4386         * bits/sstream.tcc (streambuf::overflow): Fix crasher.
4387         
4388         * testsuite/make_check_libfree++ (LOG_FILE): Ugh. Another fix.
4389         * testsuite/27/27stringstream.cc: Same.
4390         * testsuite/27/27stringbuf.cc: More tweaks.
4391         * testsuite/27/27filebuf-2.txt: Remove.
4392
4393         * testsuite/27/27filebuf-1.tst: Append, to force byte size over
4394         BUFSIZE so that overflows/underflow can be tested with default
4395         buffer setting.  
4396         * testsuite/27/27filebuf-1.tst: Add.
4397
4398         * testsuite/*/*: Remove pre-pended chapter names, as they
4399         duplicate the chapter info contained in the enclosing directory
4400         anyway.
4401         
4402 1999-04-20  Benjamin Kosnik  <bkoz@cygnus.com>
4403
4404         * bits/streambuf.tcc (streambuf::xsputn): Re-implement to conform
4405         to sputc conditions.
4406
4407         * bits/ios_base.h: Define here.
4408         * src/ios.cc (ios_base::_M_clear): Remove hack.
4409         * bits/basic_ios.h: Fix rdstate().
4410
4411         * bits/sstream.tcc (streambuf::seekoff): Fix.
4412         * bits/fstream.tcc (filebuf::seekoff): Tweak comments.
4413
4414         * testsuite/make_check_libfree++ (LOG_FILE): More c-c-c-changes.
4415         * testsuite/24/24iterator.cc: Add/Fixes for DEBUG_ASSERT.
4416         * testsuite/27/27stringstream.cc: Same. 
4417         * testsuite/27/27stringbuf.cc: Same.
4418         * testsuite/27/27istringstream_formatted.cc: Same.
4419         * testsuite/27/27filebuf.cc: Same.
4420         
4421         * bits/locfacets.h: Remove specializations for messages<char> and
4422         messages<wchar_t> ctors. Same for moneypunct. Not required, not used.
4423         * src/locale.cc: Remove definitions for above.
4424         * src/misc-inst.cc: Revert, take out iomanip.h include. 
4425         * bits/std_iomanip.h: Tweak, format.
4426         
4427 1999-04-19  Benjamin Kosnik  <bkoz@cygnus.com>
4428
4429         * bits/loccore.h: Format, move inline.
4430         * bits/locfacets.tcc: Same.
4431         * bits/locfacets.h: Same.
4432
4433         Ulrich Drepper  <drepper@cygnus.com>
4434         * aclocal.m4: Re-generate.
4435         * configure, configure.in: Same.
4436         * m4/lc_messages.m4: New file.
4437
4438 1999-04-18  Benjamin Kosnik  <bkoz@cygnus.com>
4439
4440         * bits/std_ostream.h: Fix typedef for wchar_t instantiations.
4441         * bits/sstream.tcc: Tweak.
4442
4443         * std/iostream: Put __ioinit inside macro guards.
4444         
4445         * src/stlinst.cc: Delete and move to . . .
4446         * src/stl-inst.cc: New file, plus wrapping in namespace std.
4447         * src/Makefile.in: Change.
4448         * src/Makefile.am: Same.
4449         * src/misc-inst.cc: Add istringstream/ostringstream instantiations.
4450
4451         * testsuite/make_check_libfree++: Efficiently format for minimal
4452         space. Enforce stricter execution tests by enabling
4453         -DDEBUG_ASSERT.
4454         
4455 1999-04-16  Benjamin Kosnik  <bkoz@cygnus.com>
4456
4457         * docs/text/RELEASE-NOTES: Fix include typo.
4458
4459         * src/Makefile.am (headers): Add istream.tcc. 
4460         * src/Makefile.in (headers): Add istream.tcc. 
4461
4462         * ltconfig, ltmain.sh, libtool: Update to libtool-1.2g.
4463         
4464 1999-04-16  Benjamin Kosnik  <bkoz@cygnus.com>
4465
4466         * bits/locfacets.tcc (num_get::do_get(long)): Finish roughing in.
4467         * bits/locfacets.h (num_get::_M_extract): New functin:
4468         consolidate logic for do_get(...) members.
4469
4470         * bits/sbuf_iter.h (istreambuf_iterator::operator++()): Fix.
4471         * testsuite/27/27istringstream_formatted.cc: Add.
4472
4473 1999-04-16  Martin v. Loewis  <martin@mira.isdn.cs.tu-berlin.de>
4474
4475         * src/basic_file.cc (__basic_file::open): Fix thinko in
4476         _G_HAVE_IO_FILE_OPEN bits.
4477         * bits/std_istream.h (sentry::sentry(istream, bool)): Fix isspace bug.
4478         * bits/std_cmath.h: Add stdlib.h include for ldiv_t.
4479         * src/complex.cc (FCT): Qualify all functions with global namespace.
4480         * src/locale.cc: Don't qualify memcpy and setlocale.
4481         * src/stdexcept.cc (__out_of_range): Qualify out_of_range with std::.
4482         (__length_error): Likewise, for length_error.
4483         * src/stlinst.cc: Qualify instantiations with std::.
4484
4485 1999-04-15   Benjamin Kosnik  <bkoz@cygnus.com>
4486
4487         * C++STYLE: Add ChangeLog guidelines for member functions.
4488
4489         * doc/* : Delete.  
4490         * BADNAMES, BUGS, C++STYLE, CHECKLIST, COPYING,
4491         DESIGN, HEADER_POLICY, PROBLEMS, RELEASE-NOTES, TODO: Moved into
4492         docs/text and made less strident.
4493         
4494         * bits/fstream.tcc: Change non-standard ctor to match Sun's sematics.
4495         * bits/std_fstream.h: Same.
4496         * src/ios.cc: Same.
4497
4498         * bits/locfacets.h: Touch. 
4499         
4500 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
4501
4502         * math/cexp.c (cexp): Use NAN instead of nan("").
4503         Reported by joel reed <joelreed@yahoo.com>.
4504
4505         * libio/libioP.h: Define _IO_seek_fpos_t and _IO_seek_off_t based on
4506         _G_IO_IO_FILE_VERSION.  Use these types in the prototypes.
4507         * libio/fileops.c: Use _IO_seek_fpos_t and _IO_seek_off_t types
4508         instead of #if cascades.
4509         * libio/genops.c: Likewise.
4510         * libio/ioseekoff.c: Likewise.
4511         * libio/ioseekpos.c: Likewise.
4512         * libio/strops.c: Likewise.
4513         Patch by Chip Salzenberg <chip@perlsupport.com>.
4514
4515 1999-04-15  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
4516
4517         * docs: New directory.
4518         * docs/html: Likewise.
4519         * docs/text: Likewise.
4520         * docs/image: Likewise.
4521
4522         * bits/std_cmath.h: Add new functions.
4523         (abs): overload for long and double.
4524         (div): overload for long.
4525
4526         * bits/valarray_array.h: Fix.
4527         * bits/gslice.h: Adjust friend.
4528         * bits/slice_array.h: likewise.
4529         * bits/valarray_meta.h: likewise.
4530
4531 1999-04-13   Benjamin Kosnik  <bkoz@tintin.cygnus.com>
4532
4533         * bits/locfacets.h: More changes, for num_get for insertion
4534         operators for integral types. Comment fields in _Format_cache.
4535         * bits/locfacets.tcc: And here too: add preliminary long version.
4536         * testsuite/27/27istringstream_formatted.cc: Add cases.
4537
4538 1999-04-13   Mark Elbrecht  <snowball3@usa.net>
4539
4540         * configure.in: Add locale.h to AC_CHECK_HEADERS argument. Call
4541         AC_LC_MESSAGES macro.
4542         * aclocal.m4 (AC_LC_MESSAGES): New. Determines if a target
4543         supports LC_MESSAGES.
4544         * config.h.in: Add entry for HAVE_LC_MESSAGES.
4545         * src/locale.cc (locale::_S_normalize_category): Use the
4546         HAVE_LC_MESSAGES macro to check for LC_MESSAGES support instead of
4547         _G_NO_CLOCALE_HAS_MESSAGES.
4548         * aclocal.m4 (AM_PROG_LD): For DOS style paths, simplify test to
4549         '?:' from '?:\\' so any path beginning with a drive name matches.
4550
4551 1999-04-12   Mark Elbrecht  <snowball3@usa.net>
4552
4553         * src/basic_file.cc(sys_open) [O_BINARY]: Declare __testb.
4554
4555 1999-04-12   Benjamin Kosnik  <bkoz@tintin.cygnus.com>
4556
4557         * bits/locfacets.h: Tweak.
4558         * bits/locfacets.tcc(do_get): Clean/fix bool method.
4559
4560         * testsuite/21/21nonmember.cc: Same.
4561         * testsuite/21/21compare.cc: Fix license.
4562         * testsuite/27/27istringstream_formatted.cc: New file.
4563
4564 1999-04-12  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
4565
4566         * bits/valarray_meta.h: _BinFunBase1, _BinFunBase2, _BinBase1,
4567         _BinBase2: new template classes; put in there to work around a
4568         compiler limitation. The whole valarray architecture is now
4569         working.
4570
4571 1999-04-08  Benjamin Kosnik  <bkoz@haight.constant.com>
4572
4573         * bits/locfacets.tcc: Fix, format.
4574         * bits/locfacets.h: Fix.
4575         * src/locale.cc: Same, plus format.
4576
4577         * bits/basic_string.h: Re-add definition here.
4578         * src/string.cc: Take out.
4579
4580 1999-04-08  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
4581
4582         * bits/std_valarray.h: tweak.
4583         * bits/valarray_array.h tweak. use _Expr.
4584         * bits/slice_array.h: likewise.
4585         * bits/gslice_array.h: likewise.
4586         * bits/mask_array.h: likewise.
4587         * bits/indirect_array.h: likewise.
4588         * bits/valarray_meta.h: tweak.
4589         _UnFunBase, _UnFunClos, _BinFunBase, _FunBase, _ValFunClos,
4590         _RefFunClos, _UnBase, _UnClos, _BinBase, _BinClos, _SClos, _GClos,
4591         _IClos: new template classes.
4592         _Meta: renamed to _Expr. Made template with args.
4593         _Constant: made template with two args.
4594
4595 1999-04-05  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
4596
4597         * bits/valarray_array.h: tweak.
4598
4599 1999-04-06  Benjamin Kosnik  <bkoz@cygnus.com>
4600
4601         * bits/basic_string.h: Whoops--fix blip.
4602
4603 1999-04-06  Benjamin Kosnik  <bkoz@cygnus.com>
4604
4605         Update to SGI STL 3.13
4606         * bits/basic_string.h: Add __get_c_string definition.
4607         * stl/bits/stl_range_errors.h: New file.
4608         * stl/bits/std_bvector.h: Same.
4609         * stl/bits/*: Update.
4610
4611 1999-04-04 1999  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
4612
4613         * bits/slice_array.h: tweak.
4614         * bits/gslice_array.h: tweak.
4615         * bits/mask_array.h: tweak.
4616         * bits/indirect_array.h: tweak.
4617         * bits/valarray_array.h: tweak.
4618         (__valarray_copy): replace copy with memcpy.
4619         * bits/std_valarray.h: use __valarray_copy whenever possible.
4620         use __valarray_fill instead of fill.
4621
4622 1999-04-02  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
4623
4624         * src/gen-num-limits.cc: new file
4625         * mknumeric_limits: Ditto.
4626
4627 1999-03-30  Benjamin Kosnik  <bkoz@cygnus.com>
4628
4629         * bits/locfacets.tcc: Do a stub version of num_get for short, int,
4630         and long types.
4631         * bits/locfacets.h: Add num_get::get methods overloaded for int
4632         and short, to resolve ambiguous overloads in istream insertion
4633         operators.
4634
4635 1999-03-30  Benjamin Kosnik  <bkoz@cygnus.com>
4636
4637         * bits/std_istream.h: Fix.
4638         * bits/istream.tcc: Fix.
4639
4640 1999-03-30  Philip Martin  <pm@corris.dircon.co.uk>
4641
4642         * testsuite/24/24iterator.cc: fix ++/-- tests
4643
4644 1999-03-29  Benjamin Kosnik  <bkoz@cygnus.com>
4645
4646         * bits/std_ostream.h: Looks like this, actually: Fix up eh-isms.
4647         * bits/ostream.tcc: Same.
4648
4649         * bits/std_istream.h: Bring over ostream changes, implement member
4650         functions. Baseline.
4651         * bits/istream.tcc: New file.
4652
4653 1999-03-26  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
4654
4655         * bits/gslice.h (class gslice): fix friends template.
4656
4657 1999-03-23  Benjamin Kosnik  <bkoz@cygnus.com>
4658
4659         * bits/std_ostream.h: Fix sentry objects, implement seekp, tellp,
4660         delete cruft, etc.
4661         * bits/ostream.tcc: Same.
4662
4663         * bits/std_istream.h: Minor tweaks.
4664
4665 1999-03-18  Benjamin Kosnik  <bkoz@cygnus.com>
4666
4667         * src/locale-inst.cc: Remove duplicate instantiations.
4668         * bits/locfacets.tcc: Tweak definitions of static member.
4669
4670 1999-03-18  Benjamin Kosnik  <bkoz@cygnus.com>
4671
4672         * bits/std_fstream.h: Format: prepend "__" in front of
4673         non-standard typedefs.
4674         * bits/fstream.tcc: Match.
4675         * bits/std_streambuf.h: Format: prepend "__" in front of
4676         non-standard typedefs.
4677
4678         * bits/sstream.tcc: Match.
4679         * bits/std_istream.h: Format.
4680         * src/locale-inst.cc: Add num_get instantiations.
4681
4682         * bits/std_sstream.h: Fix crash in stringstreams. Remove member
4683         _M_sb, a basic_stringbuf object, and use the basic_ios pointer
4684         _M_streambuf instead. Make initializations sane. Fix
4685         allocation/deallocation of _M_streambuf.
4686         * bits/std_ostream.h: Fix initialization code.
4687         (ctor): Eliminate redundant this->init(), let base class initialize.
4688         (default ctor): New. Assume base classes already initialzed.
4689         * bits/std_istream.h: Parallel work to ostream.
4690         (ctor): Eliminate redundant this->init(), let base class initialize.
4691         (default ctor): New. Assume base classes already initialzed.
4692         Fix initialization of basic_iostream.
4693
4694         * bits/std_fstream.h: While we're at it, make initializations sane
4695         here too. Now matches sstream.h.
4696
4697         * bits/string.tcc: Fix crash in basic_string::compare.
4698         * bits/basic_string.h: And here.
4699         * bits/c++config.h: Add comment about _G_USE_EXCEPTIONS.
4700
4701         * testsuite/make_check_libfree++: Check shared as well.
4702         * testsuite/27/27stringstream.cc: Add bits.
4703         * testsuite/27/27boolfmt.cc: Add bits.
4704         * testsuite/27/27octfmt.cc: Add bits.
4705
4706 1999-03-17  Benjamin Kosnik  <bkoz@happy.cygnus.com>
4707
4708         * configure.in (USE_LONG_DOUBLE): signbitl link error.
4709
4710         * bits/locfacets.h: Fix errors that cause build problems
4711         with current egcs (template parameters have class scope).
4712         * bits/locfacets.tcc: Same.
4713         * src/locale-inst.cc: Same, clean.
4714         * src/misc-inst.cc: Same, clean.
4715
4716 1999-03-17  Ryszard Kabatek  <kabatek@chemie.uni-halle.de>
4717
4718         * stl/bits/std_memory.h:  Modify auto_ptr::reset to reflect the
4719         standard. Re-apply this previous patch.
4720
4721 1999-03-17  Philip Martin  <pm@corris.dircon.co.uk>
4722
4723         * bits/basic_string.h: Use __normal_iterator<> for iterators.
4724         * bits/std_sstream.h: Support __normal_iterator<> iterators.
4725         * bits/string.tcc: Ditto.
4726         * src/misc-inst.cc: Ditto.
4727         * src/locale-inst.cc: Ditto.
4728         * stl/bits/stl_iterator.h: Add __normal_iterator<>.
4729         * stl/bits/stl_vector.h: Use __normal_iterator<> for iterators.
4730         * testsuite/24/24iterator.cc: Add test cases for basic_string and
4731         vector iterators.
4732
4733 1999-03-16  Benjamin Kosnik  <bkoz@cygnus.com>
4734
4735         * bits/locfacets.tcc: Remove macro hack.
4736         * bits/locfacets.h: Tweaks.
4737         * src/misc-inst.cc: Weed out locale-related instantiations.
4738         * src/locale-inst.cc: Same.
4739
4740         * RELEASE-NOTES: Make more changes.
4741         * bits/c++config.h: Bump version number.
4742
4743         * testsuite/make_check_libfree++: Collect diagnostics.
4744
4745         * bits/std_ostream.h: Fix ostream initialization/destruction
4746         problem, related to dtor cleanup and new cached facets, agggggggh.
4747         * bits/ostream.tcc: Tweak.
4748         * bits/locfacets.h: Remove all friends of iostream classes.
4749         * bits/ios_base.h: Same.
4750         * bits/streambuf.tcc: Tweak.
4751         * bits/std_streambuf.h: Tweak.
4752         * bits/std_fstream.h: Tweak.
4753         * bits/fstream.tcc: Tweak.
4754         * src/stdstreams.cc: Tweak.
4755         * src/ios.cc: Close streams.
4756
4757         * math/Makefile.in: Add missing files for shared link errors.
4758         * math/Makefile.am: Same.
4759
4760 1999-03-15  Benjamin Kosnik  <bkoz@cygnus.com>
4761
4762         * src/locale-inst.cc: More wchar_t instantiations.
4763         * src/misc-inst.cc: Missed a few bits.
4764         * testsuite/make_check_libfree++: Add static and shared runs.
4765         * src/ios.cc: Add clarity to ios_base::Init::~Init().
4766
4767 1999-03-15  Benjamin Kosnik  <bkoz@cygnus.com>
4768
4769         * bits/std_ostream.h: Format, expunge, simplify. Add cached
4770         facets. Resolve link errors.
4771         * bits/ostream.tcc: Same.
4772         * src/misc-inst.cc: Add ostream, wostream instantiations.
4773         * src/Makefile.am: Add missing bits for stdstreams.cc.
4774         * src/Makefile.in: Same.
4775         * bits/std_iosfwd.h: Format.
4776         * bits/locfacets.h (num_put): Add basic_ostream as a friend to
4777         num_put so that cached _M_fnumput pointer can be deleted in
4778         basic_ostream's dtor. Now everybody plays nice.
4779
4780 1999-03-12  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
4781
4782         * bits/gslice.h (class gslice): Make friends valarray,
4783         gslice_array and _GliceExpression.
4784
4785 1999-03-11  Benjamin Kosnik  <bkoz@cygnus.com>
4786
4787         * RELEASE-NOTES: Update.
4788         * src/ios.cc: Use do proper init.
4789         * bits/std_streambuf.h: Tweak.
4790         * bits/std_iostream.h: Take out static member.
4791         * std/iostream: Put here.
4792         * bits/std_ostream.h: Non-default ctor shouldn't smash _M_streambuf.
4793         * bits/std_istream.h: Ditto.
4794         * bits/basic_ios.h: Format.
4795         * bits/ostream.tcc(write): Fix.
4796         * bits/fstream.tcc: Fix stdstreams ctor to do a proper
4797         initialization of the fstream class.
4798         * src/stdstreams.cc: I'm baaaaaaaack.
4799
4800 1999-03-10  Benjamin Kosnik  <bkoz@rhino.cygnus.com>
4801
4802         * bits/ios_base.h: Correct comments. Add ios_base::init()
4803         functionality. Format, tweak, expunge, clean, bathe, and hang to dry.
4804         * src/misc-inst.cc: Add instantiations here.
4805         * src/ios.cc: Clean.
4806         * bits/std_iostream.h: Add wrappers, global ios_base::Init object.
4807         * src/stdstreams.cc: Delete this file, as now unnecessary.
4808         * bits/fstream.tcc: Add missing initialization bits for ctor.
4809         * src/Makefile.am (libstdc___la_SOURCES): Delete here as well.
4810         * src/Makefile.in (libstdc___la_OBJECTS): And here.
4811
4812         * bits/streambuf.tcc: Tweak.
4813         * bits/sstream.tcc: Here too.
4814
4815         * bits/fstream.tcc: And change definition as well.
4816         * bits/std_fstream.h: Change ctor.
4817         * src/basic_file.cc (sys_open): Add call that opens a specific fileno.
4818         * bits/basic_file.h: Add declarations.
4819
4820         * testsuite/27/27hello.cc: New file.
4821
4822         * bits/std_ostream.h: Move flush() inline.
4823         * bits/ostream.tcc: From here.
4824
4825         * bits/char_traits.h: Add include of fpos.h for streamoff/streampos.
4826         * bits/std_ios.h: Change include libio to only when necessary.
4827         * bits/fpos.h: Like here.
4828         * ios_base.h: And here.
4829
4830         * bits/locfacets.h: Change _Iostate to _Ios_Iostate.
4831         * bits/locfacets.tcc: Same.
4832         * bits/std_locale.h: Include std_ios.h not std_iosfwd.h.
4833         * bits/std_iosfwd.h: Move _Ios_Iostate to ios_base.h
4834
4835 1999-03-09  Benjamin Kosnik  <bkoz@rhino.cygnus.com>
4836
4837         * bits/basic_ios.h: Change _M_ctype to _M_fctype.
4838
4839         * bits/std_streambuf.h: Clean, tweak.
4840         * bits/std_fstream.h: Same.
4841         * bits/std_sstream.h: Same.
4842         * bits/streambuf.tcc: Move most member functions out-of-line.
4843         * bits/fstream.tcc: Same.
4844         * bits/streambuf.tcc: Same.
4845
4846         * bits/basic_file.h(filepos_cur): Set correctly.
4847         (filepos_beg): Same.
4848         (seekpos): Change to __c_streampos.
4849         * src/basic_file.cc (std): Change to __c_streampos.
4850
4851         * testsuite/27/27filebuf.cc: Round one is finished.
4852         * testsuite/27/27filebuf-2.tst: New file, final output should match.
4853         * testsuite/27/27filebuf-3.tst: Same.
4854
4855 1999-03-08  Benjamin Kosnik  <bkoz@rhino.cygnus.com>
4856
4857         * bits/basic_file.h: Fix typo, add comments about what to expect
4858         from the various member functions in __basic_file.
4859
4860         * bits/std_fstream.h: Re-do sync/underflow to work
4861         together. Change from sys_read to xsgetn and from sys_write to
4862         xsputn. As it should have been from the beginning. . .
4863
4864 1999-03-06  Benjamin Kosnik  <bkoz@haight.constant.com>
4865
4866         * bits/c++config.h (__GLIBCPP__): Add versioning macro.
4867
4868         * bits/basic_file.h(file_beg): New function.
4869         (file_cur): Ditto.
4870
4871         * testsuite/27/27filebuf.cc: Test in, out, in | out.
4872         * bits/std_fstream.h: More _M_mode refinements.
4873         (synch): Add bits for out mode only.
4874         * bits/std_streambuf.h(xsputn): Correct for filebufs.
4875         * bits/std_sstream.h: Ditto.
4876
4877 1999-03-03  Benjamin Kosnik  <bkoz@cygnus.com>
4878
4879         * bits/std_fstream.h: Fix _M_mode AND with ios_base::openmode.
4880         * testsuite/27/27filebuf.cc: Modify.
4881         * bits/c++config.h: Fix.
4882
4883 1999-03-02  Benjamin Kosnik  <bkoz@tintin.cygnus.com>
4884
4885         * bits/c++config.h: New macro, _G_RESOLVE_LIB_DEFECTS, used to put
4886         code in place that diverges from the final standard, but has been
4887         brought up on the library mailing list.
4888
4889         * bits/std_fstream.h(underflow): Position all three internal
4890         buffer pointers at the same initial position. Re-implement with
4891         basic_filebuf abstraction.
4892         (overflow): Ditto.
4893         (seekoff): Ditto.
4894         (seekpos): Ditto.
4895         * bits/std_sstream.h: Move _M_mode down into base class
4896         basic_streambuf.
4897         * bits/sstream.tcc: Ditto.
4898         * bits/std_streambuf.h: Ditto.
4899
4900         * testsuite/27/27filebuf.cc: Tweak.
4901
4902 1999-02-27  Benjamin Kosnik  <bkoz@slap-happy.cygnus.com>
4903
4904         * bits/std_sstream.h: Ditto.
4905         * bits/std_fstream.h: Fix blip.
4906
4907 1999-02-26  Benjamin Kosnik  <bkoz@happy.cygnus.com>
4908
4909         * C++STYLE: Add cases.
4910         * bits/std_fstream.h: Format.
4911         * bits/std_streambuf.h: Ditto.
4912         * bits/std_sstream.h: Ditto.
4913
4914         * src/basic_file.cc(sys_seek): Fix stack delirium, by keeping
4915         return type for _IO_file_seek and __basic_file::seek the same size.
4916         * bits/basic_file.h: Ditto.
4917
4918 1999-02-26  Benjamin Kosnik  <bkoz@happy.cygnus.com>
4919
4920         * bits/fstream.tcc: Add include guards.
4921         * src/misc-inst.cc: Add instantiations for shared libes.
4922         * src/locale-inst.cc: Add instantiaions for use_facet.
4923         * bits/loccore.h: Remove specialization foward decls for
4924         use_facet<ctype>: perhaps add the whole lot of them later on.
4925         * bits/std_fstream.h: Fix.
4926         * bits/locfacets.h: Ditto.
4927         * src/stdstreams.cc: Disable wide streams for now.
4928
4929         * src/Makefile.am (CXXFLAGS): Change up.
4930         * src/Makefile.in (CXXFLAGS): Ditto.
4931
4932 1999-02-25  Benjamin Kosnik  <bkoz@happy.cygnus.com>
4933
4934         * src/basic_file.cc: Change to ios_base::seekdir from int.
4935         * bits/basic_file.h: Ditto.
4936         * bits/locfacets.h : Fix blip with new guard macros.
4937
4938 1999-02-25  Benjamin Kosnik  <bkoz@cygnus.com>
4939
4940         * stl/bits/stl_config.h (__STL_USE_STD_ALLOCATORS): Minor tweaking.
4941         * bits/c++config.h: Clean. Remove _G_NO_STREAMBUF_ITERATORS and
4942         _G_USE_NAMESPACE.
4943         * amm1/locale: Remove unused defines.
4944         * generic/locale: Ditto.
4945         * src/ios.cc: Ditto.
4946         * src/locale.cc: Ditto.
4947         * src/locale-inst.cc: Ditto.
4948         * src/localename.cc: Ditto.
4949         * src/stdstreams.cc: And here.
4950
4951         * bits/c++config.h (_G_USE_WCHAR_T): Fix.
4952         * bits/loccore.h: Simplify, clean, add wchar_t guards.
4953         * bits/loccore.tcc: Ditto.
4954         * bits/locfacets.h: Ditto.
4955         * src/locale-inst.cc: Ditto.
4956         * bits/locfacets.tcc: Add do_put long long here.
4957
4958 1999-02-24  Benjamin Kosnik  <bkoz@cygnus.com>
4959
4960         * bits/std_streambuf.h: Add cached ctype facet, _M_ctype.
4961         * bits/basic_ios.h: Clean. Replace _M_strbuf with
4962         _M_streambuf. Use cached _M_cvt in basic_streambuf.
4963         * bits/std_istream.h: Replace _M_strbuf with _M_streambuf.
4964         * bits/std_fstream.h: Tweak.
4965
4966         * bits/char_traits.h: Remove fpos definitions from here. . .
4967         * bits/fpos.h: New file, put them here. Eventually, this may allow
4968         the severing of char_traits and fpos dependancies.
4969         * src/Makefile.in: Add fpos.h.
4970         * src/Makefile.am: Ditto.
4971         * bits/std_string.h: Add fpos.h include here.
4972         * bits/std_ios.h: And here.
4973
4974         * bits/std_streambuf.h: Change _M_init to _M_initialized.
4975         * bits/ios_base.h: Remove cstdio include.
4976         * bits/std_ios.h: ... Place here.
4977
4978 1999-02-23  Benjamin Kosnik  <bkoz@loony.cygnus.com>
4979
4980         * src/Makefile.in (CXXFLAGS): Re-add -fvtable-thunks.
4981         * src/Makefile.am (CXXFLAGS): Re-add -fvtable-thunks.
4982
4983         * bits/basic_file.h: Comment, adjust arguments.
4984         * src/basic_file.cc: Ditto.
4985
4986         * bits/std_fstream.h(seekoff): Error is of fpos type, not integral
4987         type: check and convert accordingly. Re-interpet "resultant stream
4988         position" to indicate external byte sequence location, not internal
4989         buffer info.
4990
4991 1999-02-22  Benjamin Kosnik  <bkoz@loony.cygnus.com>
4992
4993         * mkcshadow: And change copyright here.
4994         * src/Makefile.am (CXXFLAGS): Add -g -O2. Add new header
4995         dependencies for stl_pthread_alloc.h, pthread_allocimpl.h,
4996         stl_thread.h, and stl_iterator_base.h.
4997         * src/Makefile.in (CXXFLAGS): Ditto.
4998         * stl/backward/pthread_alloc.h: Remove.
4999
5000 1999-02-19  Benjamin Kosnik  <bkoz@loony.cygnus.com>
5001
5002         * bits/std_streambuf.h (sungetc): Use standard defs for putback
5003         position.
5004         * bits/std_fstream.h (pbackfail): Correct.
5005         (sungetc): Test.
5006         (seekoff): Implement.
5007         (seekpos): Re-do.
5008         * testsuite/27/27filebuf.cc: Add test cases.
5009
5010 1999-02-18  Benjamin Kosnik  <bkoz@loony.cygnus.com>
5011
5012         * bits/std_fstream.h: Go with basic_file's interfaces for dealing
5013         with the external buffers, and stop mucking around with setting
5014         and re-setting the external buf's pointers. Aka, clarity and
5015         simplicity rule the day.
5016         * src/locale.cc: Use memcpy in codecvt::do_in and codecvt::do_out.
5017         Remove partial result and support code.
5018
5019 1999-02-18  Ulrich Drepper  <drepper@cygnus.com>
5020
5021         * configure.in: Add hypot, hypotf, atan2f, expf, and copysignf to
5022         list of function which have to be replaced.
5023         Remove expf from list of functions to test for.
5024         Define USE_LONG_DOUBLE in case the libm has partial support for long
5025         doubles.
5026         * Makefile.in: Regenerated.
5027         * config.h.in: Likewise.
5028         * configure: Likewise.
5029         * libio/Makefile.am (LIBIO_SRCS): Add missing backslash.
5030         * libio/Makefile.in: Regenerated.
5031         * src/Makefile.in: Regenerated.
5032         * string/Makefile.in: Regenerated.
5033         * math/Makefile.am (EXTRA_DIST): Add hypot.c, hypotf.c, hypotl.c,
5034         atan2f.c, expf.c, and $(EXTRA_yes).
5035         (EXTRA_yes): Add signbitl.c mycabsl.c.
5036         (libmath_la_LIBADD): Add $(EXTRA_$(USE_LONG_DOUBLE)).
5037         (libmath_la_SOURCES): remove long double versions.
5038         * math/Makefile.in: Regnerated.
5039         * math/atan2f.c: New file.
5040         * math/copysignf.c: New file.
5041         * math/expf.c: New file.
5042         * math/hypot.c: New file.
5043         * math/hypotf.c: New file.
5044         * math/hypotl.c: New file.
5045         * math/cargf.c: Use correct function and macro names.
5046         * math/ccos.c: Likewise.
5047         * math/ccosh.c: Likewise.
5048         * math/ccoshf.c: Likewise.
5049         * math/ccoshl.c: Likewise.
5050         * math/cexp.c: Likewise.
5051         * math/cexpf.c: Likewise.
5052         * math/cexpl.c: Likewise.
5053         * math/clog.c: Likewise.
5054         * math/clog10.c: Likewise.
5055         * math/clog10f.c: Likewise.
5056         * math/clog10l.c: Likewise.
5057         * math/clogf.c: Likewise.
5058         * math/clogl.c: Likewise.
5059         * math/copysignf.c: Likewise.
5060         * math/csin.c: Likewise.
5061         * math/csinf.c: Likewise.
5062         * math/csinh.c: Likewise.
5063         * math/csinhf.c: Likewise.
5064         * math/csinhl.c: Likewise.
5065         * math/csinl.c: Likewise.
5066         * math/csqrt.c: Likewise.
5067         * math/csqrtf.c: Likewise.
5068         * math/csqrtl.c: Likewise.
5069         * math/ctan.c: Likewise.
5070         * math/ctanf.c: Likewise.
5071         * math/ctanh.c: Likewise.
5072         * math/ctanhf.c: Likewise.
5073         * math/ctanhl.c: Likewise.
5074         * math/ctanl.c: Likewise.
5075
5076 1999-02-17  Benjamin Kosnik  <bkoz@cygnus.com>
5077
5078         * testsuite/27/27filebuf.cc: Add cases.
5079         * testsuite/27/27filebuf-1.txt: Remove inadvertent garbage.
5080         * bits/std_streambuf.h: Simplify, always have one return statement.
5081         * bits/std_fstream.h: Tweak comments in underflow.
5082
5083 1999-02-17  Ulrich Drepper  <drepper@cygnus.com>
5084
5085         * ltmain.sh: Update from libtool 1.2d and fix Solaris problems.
5086         * ltconfig: Likewise.
5087
5088 1999-02-16  Christophe Pierret  <cpierret@businessobjects.com>
5089
5090         * src/locale.cc: Fix assert.
5091
5092 1999-02-16  Benjamin Kosnik  <bkoz@cygnus.com>
5093
5094         FIXME: Still need some kind of solution for undefined math symbols.
5095         * src/Makefile.in (locale-inst.lo): Compile with
5096         -fimplicit-templates to fix Solaris link problem.
5097         * src/Makefile.am: Ditto.
5098         * libio/Makefile.in: Add stdfiles.c so that _IO_list_all is defined.
5099         * libio/Makefile.am: Ditto.
5100         * src/locale.cc: Provide some kind of def for _S_tolower.
5101         * bits/locfacets.h: Fix declarations of ctype<wchar_t> to
5102         match ctype<char> for _S_tolower, _S_toupper, _S_table.
5103
5104 1999-02-10  Benjamin Kosnik  <bkoz@cygnus.com>
5105
5106         * bits/loccore.tcc: Move member-template ctor inline...
5107         * bits/loccore.h: ...here.
5108         * src/locale-inst.cc: Add instantiation here.
5109
5110         * testsuite/27/27stringstream.cc: Tweak.
5111
5112         * bits/ostream.tcc: Include sbuf_iter.h.
5113
5114         * bits/ostream.tcc: Convert *this to ostreambuf_iterator before
5115         passing to num_put, as num_put's first argument is an interator,
5116         not basic_ostream.
5117
5118         * testsuite/make_check_libfree++: New file, runs through the
5119         existing test files in the testsuite directory and makes sure
5120         they link.
5121
5122 1999-02-10  Brendan Kehoe  <brendan@cygnus.com>
5123
5124         * testsuite/21/21compare.cc: Fix typo.
5125         * src/locale.cc (ctype<wchar_t>::_S_{toupper,tolower,table}):
5126         Don't try to provide non-linux versions, since it's impossible to
5127         initialize their const references with the integer 0, no matter
5128         how we try to cast it.
5129
5130 1999-02-10  Benjamin Kosnik  <bkoz@cygnus.com>
5131
5132         * bits/std_locale.h: Move std_vector.h dependency.
5133         * bits/std_ios.h: ...from here.
5134         * bits/std_string.h: ...and here.
5135         * src/locale.cc: ..to here.
5136         * bits/loccore.h: Ditto, add vector forward declaration,
5137         make locale::_Impl data members pointers not containers.
5138         * bits/loccore.tcc: Move out-of-line for now.
5139         * bits/locfacets.h: Move vector dependency from here...
5140         * bits/locfacets.tcc: ...to here.
5141         * src/localename.cc: ..and here.
5142         * src/locale-inst.cc: Add include of locfacets.tcc here.
5143
5144         * stl/bits/stl_string_fwd.h: Make __get_c_string non-static.
5145         * bits/basic_string.h: Can't use sizeof on an incomplete type.
5146         * bits/string.tcc: Tweak.
5147         * src/string.cc: And add __get_c_string def here.
5148
5149         * bits/std_fstream.h: Yeah, comment the fill_n idea out as impractical.
5150
5151         * src/stlinst.cc: Add include of stl_config.h.
5152
5153 1999-02-09  Benjamin Kosnik  <bkoz@cygnus.com>
5154
5155         * stl/bits/std_bitset.h: Update to SGI STL 3.12.
5156         * stl/bits/stl_config.h: Tweak, update.
5157         * stl/bits/std_stdexcept.h: Ditto, change stl_exception to
5158         std_exception.
5159         * stl/bits/std_memory.h: Reconstructed auto_ptr, Ditto.
5160         * stl/bits/std_functional.h: Ditto.
5161
5162         * stl/bits/stl_string.h: New file, SGI's string
5163         implementation. For reference only, corresponding to string in
5164         3.12 source.
5165         * stl/bits/stl_char_traits.h: As above.
5166
5167         * stl/bits/pthread_allocimpl.h: New file corresponding to
5168         pthread_alloc.
5169         * stl/bits/stl_pthread_alloc.h: New file corresponding to
5170         pthread_alloc.h
5171         * stl/bits/stl_threads.h: New file.
5172
5173         Note that SGI STL 3.12's file iterator.h is not used.
5174         * stl/bits/std_iterator.h: Ditto.
5175         * stl/bits/stl_iterator.h: Drop in replace.
5176         * stl/bits/stl_iterator_base.h: New file, drop in replace.
5177
5178         * stl/bits/stl_queue.h, stl_rope.h, stl_set.h, stl_stack.h,
5179         stl_string_fwd.h, stl_tempbuf.h, stl_tree.h, stl_vector.h,
5180         stl_pair.h, stl_multimap.h, stl_multiset.h, stl_list.h,
5181         stl_hashtable.h, stl_hash_set.h, stl_hash_map.h, stl_function.h,
5182         stl_deque.h, stl_alloc.h, stl_algo.h, stl_algobase.h, ropeimpl.h:
5183         Drop-in replace (ie, stop changing __SGI_STL_* to _CPP_BITS_* for
5184         preprocessor guards, but fixup include paths and names according
5185         to new directory layout).
5186
5187 1999-02-05  Benjamin Kosnik  <bkoz@cygnus.com>
5188
5189         * bits/std_fstream.h: Remove _M_open data member.
5190         * bits/fstream.tcc: Ditto.
5191
5192         * src/locale.cc: Tweak.
5193
5194         * bits/std_sstream.h: Simplify.
5195
5196         * bits/std_streambuf.h: Simplify.
5197         (sputc): Use correct definition of "write area."
5198
5199         * bits/std_fstream.h: Fix uflow.
5200         * src/basic_file.cc: Tweak.
5201         * testsuite/27/27filebuf.cc: Add tests.
5202         * testsuite/27/27filebuf-3.txt: Rename to *-2.txt.
5203
5204 1999-02-02  Ryszard Kabatek  <kabatek@chemie.uni-halle.de>
5205
5206         * bits/ios_base.h: Make protected.
5207
5208 1999-02-01  Ryszard Kabatek  <kabatek@chemie.uni-halle.de>
5209
5210         * bits/ios_base.h: Changes in the class ios_base:
5211         Rename _M_exceptions member to _M_exceptions_data.
5212         Make the member functions rdstate(), clear(), exceptions()
5213         and exceptions(iostate) protected and add the "_M_" prefix.
5214         * src/ios.cc: Ditto.
5215         * bits/basic_ios.h: Adapt the changes from ios_base.
5216
5217 1999-01-29  Benjamin Kosnik  <bkoz@cygnus.com>
5218
5219         * bits/std_fstream.h: Remove _M_flags, _M_equilibrate  as unnecessary.
5220         * bits/fstream.tcc: Ditto.
5221
5222         * bits/std_fstream.h (underflow): Resize deallocates memory and
5223         resets pointers in the internal cache according to new _M_buf. . dooh!
5224         * src/locale.cc: Mas changes with codecvt::do_in, do_out.
5225
5226 1999-01-29  Ryszard Kabatek  <kabatek@chemie.uni-halle.de>
5227
5228         * stl/bits/std_memory.h:  Modify auto_ptr::reset to reflect the
5229         standard.
5230
5231 1999-01-28  Benjamin Kosnik  <bkoz@cygnus.com>
5232
5233         * src/locale.cc (codecvt::do_in): Finer-grained tuning to take
5234         into account partial returns.
5235         (codecvt::do_out): Likewise.
5236
5237         * bits/char_traits.h: Change streamsize to be a signed type, as
5238         required by 27.4.1 Types p 2. (Changing to _IO_ssize_t.)
5239         * bits/std_streambuf.h: Make
5240         in_avail() and showmanyc() have streamsize as return types, so
5241         that showmanyc()'s return of eof won't underflow in_avail's return
5242         value and give a bogus result.
5243         * src/misc-inst.cc: And more changes. . .
5244
5245         * bits/std_streambuf.h (basic_streambuf): Add _M_buf_unified to keep
5246         track of joint in/out pointers into the internal buffer.
5247         (sbumpc): Add check for _M_buf_unified.
5248         (sputbackc): Ditto.
5249         (sungetc): Ditto.
5250
5251         * testsuite/27/27filebuf.cc: Add cases.
5252         * testsuite/27/27stringbuf.cc: Add showmanyc case.
5253
5254         * bits/std_fstream.h (close): Fix logic error.
5255         (open): Initialize internal pointers based on _M_buf and _M_buf_size.
5256         (showmanyc): Add underflow component, to match the standard.
5257
5258         * bits/fstream.tcc: Ditto.
5259
5260 1999-01-27  Benjamin Kosnik  <bkoz@cygnus.com>
5261
5262         * bits/basic_file.h: Match vtables w/ _IO_FILE_plus.
5263         * src/basic_file.cc: Ditto.
5264         * src/Makefile.in: Add -fvtable-thunks to CXXFLAGS: preferred
5265         format for dealing with _IO_file in libio.
5266
5267 1999-01-27  Ulrich Drepper  <drepper@cygnus.com>
5268
5269         * src/basic_file.cc: Include fcntl.h.
5270
5271 1999-01-27  Benjamin Kosnik  <bkoz@cygnus.com>
5272
5273         * libio/Makefile.in: Add fileops.lo, genops.lo to objects to debug
5274         libio calls.
5275         * bits/std_streambuf.h: Redefine read posion.
5276
5277         * bits/std_fstream.h: Temporary hack to get vtables working again.
5278         * bits/basic_file.h: Revert.
5279         * src/basic_file.cc: Ditto.
5280         * testsuite/27/27filebuf.cc: Tweak.
5281
5282 1999-01-26  Benjamin Kosnik  <bkoz@cygnus.com>
5283
5284         * bits/basic_file.h: Add showmanyc, underflow. .
5285         * src/basic_file.cc: Ditto.
5286
5287         * bits/std_fstream.h (showmanyc): Add bits to ping libio to see if more
5288         chars can be read.
5289
5290         * testsuite/27/27filebuf.cc: Add testcases.
5291         * src/basic_file.cc: Add O_CREAT to open calls with
5292         ios_base::trunc as part of the open mode.
5293
5294 1999-01-26  Ryszard Kabatek  <kabatek@chemie.uni-halle.de>
5295
5296         * bits/basic_ios.h: fix basic_ios::exceptions(iostate)
5297
5298 1999-01-25  Benjamin Kosnik  <bkoz@nabi.net>
5299
5300         * src/ios.cc (clear): Correct typo.
5301         * bits/ios_base.h: Tweak spacing.
5302
5303 1999-01-25  Ryszard Kabatek  <kabatek@chemie.uni-halle.de>
5304
5305         * bits/basic_ios.h: fix basic_ios::fail()
5306
5307 1999-01-25  Benjamin Kosnik  <bkoz@loony.cygnus.com>
5308
5309         * bits/basic_file.h: Include libioP.h from libio instead of here.
5310         * bits/iolibio.h: Remove.
5311         * bits/libio.h: Remove.
5312
5313 1999-01-22  Benjamin Kosnik  <bkoz@lunatic.cygnus.com>
5314
5315         * bits/std_fstream.h: Tweak cvt-> in call for newer egcs compilers.
5316
5317 1999-01-22  Ulrich Drepper  <drepper@cygnus.com>
5318
5319         * Makefile.am (SUBDIRS): Add libio.
5320         * configure.in: Add rule to test for glibc2.
5321
5322         * src/Makefile.am (INCLUDES): Add -I to libio subdir.
5323         (libstdc___la_LIBADD): Add libio.la.
5324
5325 1999-01-21  Benjamin Kosnik  <bkoz@cygnus.com>
5326
5327         * bits/basic_file.h: Make new abstraction for underlying C library
5328         FILE, named __basic_file.
5329         * src/basic_file.cc: New file.
5330         * bits/os_raw.h: Delete.
5331         * src/os_raw.cc: Delete.
5332         * src/Makefile.in: Tweak.
5333         * src/Makefile.am: Tweak.
5334         * bits/iolibio.h: Add this here, for the time being.
5335         * bits/libioP.h: Ditto.
5336
5337         * bits/ios_base.h: Delete unused defines.
5338         * src/locale.cc (codecvt<char, char, mbstate_t>::do_in): Use
5339         strcpy to copy between the two buffers.
5340
5341         * testsuite/27/27stringbuf.cc: Change license, fix in_avail tests.
5342         * testsuite/27/27filebuf.cc: New file.
5343         * testsuite/27/27filebuf-1.txt: Data file for above test.
5344         * testsuite/27/27filebuf-2.txt: Ditto.
5345
5346         * bits/std_streambuf.h (uflow): Re-implement default.
5347         * bits/std_fstream.h: Set _M_buf_size based on cstdio's BUFSIZ.
5348         Re-implement virtual functions.
5349         * bits/fstream.tcc: Delete unused mf's.
5350
5351 1998-12-31  Benjamin Kosnik  <bkoz@lunatic.cygnus.com>
5352
5353         * bits/fstream.tcc: Add fstream ctor for cin/cout/etc.
5354         * bits/std_fstream.h: Ditto.
5355         * src/stdstreams.cc: Ditto.
5356
5357         * math/cpowl.c: Fix header typo with last change.
5358
5359 1998-12-31  Benjamin Kosnik  <bkoz@loony.cygnus.com>
5360
5361         * COPYING: New file (GPL v 2).
5362         * LICENSE.STD: Remove.
5363         * ./*: Change license.
5364
5365 1998-12-30  Benjamin Kosnik  <bkoz@haight.constant.com>
5366
5367         * bits/std_streambuf.h (std): Remove static on _M_init.
5368         * bits/streambuf.tcc (std): Ditto.
5369
5370         * bits/std_fstream.h: Add changes as discussed with Nathan, including
5371         state_type and codecvt_type members, the allocation of an internal
5372         buffer, the streamlined codecvt calls, etc.
5373
5374 1998-12-21  Benjamin Kosnik  <bkoz@haight.constant.com>
5375
5376         * bits/std_sstream.h: Tweak.
5377         * bits/fstream.tcc: Remove unused stubs.
5378         * bits/std_fstream.h: Tweak.
5379
5380 1998-12-17  Benjamin Kosnik  <bkoz@tintin.cygnus.com>
5381
5382         * bits/std_streambuf.h: Move _IO_file_flags into basic_filebuf.
5383         Remove unused _IO_* members, possibly put into filebuf, which may
5384         need them.
5385         * bits/std_fstream.h: Add _M_flag.
5386         * bits/sbuf_iter.h: Tweak.
5387
5388         * bits/std_cstdio.h: Add SEEK_SET, SEEK_END, SEEK_CUR.
5389         * bits/ios_base.h: Use.
5390
5391         * src/stdstreams.cc: Modify to reflect standard ctors for
5392         filebuf.
5393         * src/misc-inst.cc: Ditto.
5394
5395         * bits/os_raw.h: Wrap in std namespace. Model parameters on
5396         underlying C library calls instead of the underlying unix
5397         filesystem.
5398         * src/os_raw.cc (_S_os_open): Use fopen, and compute a mode
5399         string as per p.659.
5400         (_S_os_close): Model on fopen.
5401         (_S_os_read): Model on fread.
5402         (_S_os_write): Model on fwrite.
5403         (_S_os_seek): Model on fseek.
5404
5405         * bits/ios_base.h: Tweak.
5406         * bits/std_iosfwd.h: Wrap libio.h include with extern "C".
5407         * bits/std_sstream.h: Tweak.
5408         * bits/sstream.tcc: Remove old, uncalled code.
5409         * bits/std_fstream.h: Major reconstruction.
5410         * bits/fstream.tcc: Disable for the time being.
5411
5412 1998-12-11  Benjamin Kosnik  <bkoz@haight.constant.com>
5413
5414         * bits/basic_string.h: Fix insert method.
5415         * stl/bits/stl_iterator.h: Remove previous hack.
5416         * bits/std_streambuf.h (sbumpc): Correct increment/return oddness.
5417         * bits/std_sstream.h: Fix more regressions.
5418         * testsuite/27/27stringbuf.C: Add (almost) complete tests.
5419
5420 1998-12-09 Benjamin Kosnik  <bkoz@loony.cygnus.com>
5421
5422         * bits/basic_string.h: Tweak.
5423
5424         * stl/bits/stl_iterator.h: Specialize iterator_traits for int so
5425         that string::append can be instantiated. HACK--checkin
5426         basic_string::iterator class.
5427
5428 1998-12-07  Benjamin Kosnik  <bkoz@haight.constant.com>
5429
5430         * bits/std_sstream.h: Tweak.
5431         * bits/sstream.tcc: Tweak ctors.
5432
5433         FIXME invalid friend defs. . WHERE ARE THEY??
5434
5435         * bits/sbuf_iter.h (istreambuf_iterator::equal): Change to new
5436         names for basic_streambuf data members.
5437
5438         * bits/std_streambuf.h: Add getloc() initialization bits.
5439         basic_streambuf(): Initialize with global locale data.
5440         imbue(): Set _M_init.
5441
5442         * bits/std_streambuf.h(seekoff, seekpos): Complete with invalid
5443         stream pos == pos_type(off_type(-1)).
5444         in_avail(): Complete default implementation.
5445         snextc, sbumpc, sputbackc, sungetc, sputc, setg, xsputn,
5446         underflow, uflow, xsgetn, showmany, sync: Ditto.
5447
5448         * bits/std_streambuf.h: _M_snextc_helper(): Remove.
5449
5450         * bits/streambuf.tcc (sputbackc): Temporarily remove, need to
5451         re-populate with in-line member functions that are too big.  Add
5452         initialization for _M_init.
5453
5454 1998-12-03  Benjamin Kosnik  <bkoz@cygnus.com>
5455
5456         * bits/sstream.tcc: Convert _Allocator to _Alloc.  Add typedefs
5457         for basic_string and basic_streambuf. Scope _IO_buf_* pointers to
5458         streambuf_type.
5459
5460         * src/stdstreams.cc (std): Disable wchar_t instantiations.
5461
5462         * bits/c++config.h (_G_DEPRICATED): Add.
5463         (_G_USE_WCHAR_T): Add.
5464         * bits/std_streambuf.h: Radical reconstruction of basic_streambuf.
5465         Take out _Streambuf_base. Put _IO_FILE data member in basic_filebuf.
5466         * bits/streambuf.tcc (sputbackc): Remove ctor anti-def, Tweak.
5467         * bits/std_fstream.h: Add comment for implementation.
5468         * src/streambuf.cc: Remove.
5469         * src/Makefile.in: Remove streambuf.lo.
5470         * src/misc-inst.cc: Tweak.
5471
5472 1998-12-02  Benjamin Kosnik  <bkoz@cygnus.com>
5473
5474         * bits/std_sstream.h: Add const_cast to rdbuf returns.
5475         * testsuite/27stringstream.C: Modify.
5476
5477 1998-11-25  Benjamin Kosnik  <bkoz@haight.constant.com>
5478
5479         * src/Makefile.in (libstdc___la_OBJECTS): Add streambuf.lo.
5480         (libstdc___la_SOURCES): Ditto.
5481
5482         * bits/streambuf.tcc: Tweak.
5483
5484         * src/streambuf.cc: New file, add out-of-line definitions for
5485         _Streambuf_base.
5486
5487         * src/misc-inst.cc: Remove _Streambuf_base instantiations.
5488         Comment out wchar_t versions of the buffer instantiations, for now.
5489
5490         * bits/std_streambuf.h: Wrap libio.h include with extern "C".
5491         Remove template wrapper around _Streambuf_base.
5492         Move IO_* data members into _Streambuf_base.
5493         Move _Streambuf_base members into streambuf.tcc.
5494
5495         * bits/c++config.h (_G_USE_LIBIO): Enable.
5496
5497 1998-11-02  Nathan Myers <ncm@cantrip.org>
5498
5499         * CHECKLIST: downgrade iterator implementations
5500         * DESIGN: fill out notes about unimplemented features
5501
5502 1998-10-31  Nathan Myers <ncm@cantrip.org>
5503
5504         * CHECKLIST: itemized list of all interfaces, and status of each.
5505
5506 1998-10-30  Nathan Myers  <ncm@cantrip.org>
5507
5508         * RELEASE-NOTES: add notes about optional includes, linking, running
5509         * src/Makefile.am: handle header installs properly
5510         * src/Makefile.in: regenerate from new src/Makefile.am
5511
5512 1998-10-30  Benjamin Kosnik  <bkoz@loony.cygnus.com>
5513
5514         * bits/basic_string.h: Revert npos pending ciso646.
5515         * src/Makefile.am: Revert CXX flags for now.
5516         * src/Makefile.in: Ditto.
5517
5518 1998-10-30  Brendan Kehoe  <brendan@cygnus.com>
5519
5520         * bits/std_sstream.h: Re-order ctors to put base before member
5521         inits.
5522
5523 1998-10-30  Ryszard Kabatek  <kabatek@chemie.uni-halle.de>
5524
5525         * stl/bits/std_memory.h: Fix typo.
5526
5527 1998-10-30  Nathan Myers <ncm@cantrip.org>
5528
5529         * src/string[A-Z]+.cc: change back to include "string.cc".
5530         * src/Makefile.am: revert filename changes.  We need a different
5531         way to keep filenames in std/ from confusing Make.
5532         * bits/basic_string.h: define _S_max_size right, return it from
5533         string::max_size(); churn definition of npos again.
5534         * bits/string.tcc: fix _S_frob_size to avoid uint overflow.
5535         * bits/ios.cc: remove #ifdef on ios_base locale member initialization
5536         * BUGS: clear cruft.
5537         * C++STYLE: Touchup for release.
5538         * CHECKLIST: Touchup for release.
5539         * DESIGN: New file.
5540         * LICENSE.STD: Add requirement to retain copyrights and to provide
5541         the license with any copies.
5542         * README: Update for release.
5543         * TODO: Minor touchup for release.
5544         * RELEASE-NOTES: prepare for release
5545
5546 1998-10-29  Ulrich Drepper  <drepper@cygnus.com>
5547
5548         * src/string[A-Z]+.cc: Include stdstring.cc, not string.cc.
5549
5550         * src/Makefile.am (CXXFLAGS): Define _GNU_SOURCE.
5551
5552         * src/Makefile.am (CXXLINK): New variable.  Make sure we don't use
5553         CXX to generate the shared object.
5554
5555         * src/Makefile.am (headers): Remove duplicated char_traits.h.
5556
5557 1998-10-29  Brendan Kehoe  <brendan@cygnus.com>
5558
5559         * bits/basic_string.h (basic_string<>::max_size): Subtract 1, not
5560         2, from npos, solving infinite loop problems.
5561
5562 1998-10-29 18:41  Ulrich Drepper  <drepper@cygnus.com>
5563
5564         * src/Makefile.am: Add rules to install headers.
5565
5566 1998-10-29  Nathan Myers <ncm@cantrip.org>
5567
5568         * bits/std_ostream.h: Remove #ifdef on operator<< for long double
5569         * bits/ostream.tcc:   Remove #ifdef on operator<< for long double
5570         * shadow/libio.h:
5571         * shadow/unistd.h:
5572         * shadow/bits/wrap_libio.h:
5573         * shadow/bits/wrap_unistd.h: New files.
5574
5575 1998-10-29  Brendan Kehoe  <brendan@cygnus.com>
5576
5577         * bits/ostream.tcc (operator<<): Wrap with #ifdef
5578         _G_HAVE_LONG_DOUBLE_IO, to match bits/std_ostream.h.
5579
5580 1998-10-29  Ulrich Drepper  <drepper@cygnus.com>
5581
5582         * src/Makefile.am: Add temporarily rules to make sure misc-inst.cc
5583         is not compiled with -fno-implicit-templates in effect.
5584
5585         * src/Makefile.am (EXTRA_SOURCES): Add string.cc and wstring.cc here.
5586         (libstdc___la_SOURCES): Add all the string*.cc and wstring*.cc files.
5587         * src/stringADDCS.cc: Wrapper around string.cc to define individual
5588         function.
5589         * src/stringADDPS.cc: Likewise.
5590         * src/stringADDSC.cc: Likewise.
5591         * src/stringADDSP.cc: Likewise.
5592         * src/stringADDSS.cc: Likewise.
5593         * src/stringBIST.cc: Likewise.
5594         * src/stringBOST.cc: Likewise.
5595         * src/stringCHTR.cc: Likewise.
5596         * src/stringEQPS.cc: Likewise.
5597         * src/stringEQSP.cc: Likewise.
5598         * src/stringEQSS.cc: Likewise.
5599         * src/stringEXTRA.cc: Likewise.
5600         * src/stringGEPS.cc: Likewise.
5601         * src/stringGESP.cc: Likewise.
5602         * src/stringGESS.cc: Likewise.
5603         * src/stringGETLI.cc: Likewise.
5604         * src/stringGTPS.cc: Likewise.
5605         * src/stringGTSP.cc: Likewise.
5606         * src/stringGTSS.cc: Likewise.
5607         * src/stringINSER.cc: Likewise.
5608         * src/stringLEPS.cc: Likewise.
5609         * src/stringLESP.cc: Likewise.
5610         * src/stringLESS.cc: Likewise.
5611         * src/stringLTPS.cc: Likewise.
5612         * src/stringLTSP.cc: Likewise.
5613         * src/stringLTSS.cc: Likewise.
5614         * src/stringMAIN.cc: Likewise.
5615         * src/stringNEPS.cc: Likewise.
5616         * src/stringNESP.cc: Likewise.
5617         * src/stringNESS.cc: Likewise.
5618         * src/stringSCOPY.cc: Likewise.
5619         * src/wstringADDCS.cc: Wrapper around wstring.cc to define individual
5620         functions.
5621         * src/wstringADDPS.cc: Likewise.
5622         * src/wstringADDSC.cc: Likewise.
5623         * src/wstringADDSP.cc: Likewise.
5624         * src/wstringADDSS.cc: Likewise.
5625         * src/wstringBIST.cc: Likewise.
5626         * src/wstringBOST.cc: Likewise.
5627         * src/wstringCHTR.cc: Likewise.
5628         * src/wstringEQPS.cc: Likewise.
5629         * src/wstringEQSP.cc: Likewise.
5630         * src/wstringEQSS.cc: Likewise.
5631         * src/wstringEXTRA.cc: Likewise.
5632         * src/wstringGEPS.cc: Likewise.
5633         * src/wstringGESP.cc: Likewise.
5634         * src/wstringGESS.cc: Likewise.
5635         * src/wstringGETLI.cc: Likewise.
5636         * src/wstringGTPS.cc: Likewise.
5637         * src/wstringGTSP.cc: Likewise.
5638         * src/wstringGTSS.cc: Likewise.
5639         * src/wstringINSER.cc: Likewise.
5640         * src/wstringLEPS.cc: Likewise.
5641         * src/wstringLESP.cc: Likewise.
5642         * src/wstringLESS.cc: Likewise.
5643         * src/wstringLTPS.cc: Likewise.
5644         * src/wstringLTSP.cc: Likewise.
5645         * src/wstringLTSS.cc: Likewise.
5646         * src/wstringMAIN.cc: Likewise.
5647         * src/wstringNEPS.cc: Likewise.
5648         * src/wstringNESP.cc: Likewise.
5649         * src/wstringNESS.cc: Likewise.
5650         * src/wstringSCOPY.cc: Likewise.
5651         * src/string.cc: Remove now unneeded #defines now.
5652
5653 1998-10-29 Nathan Myers <ncm@cantrip.org>
5654
5655         * bits/locfacets.tcc: Define num_put::put(... const void*), improve
5656         integer formatting.
5657         * bits/ostream.tcc: Delete cruft, rewrite various op<< as members,
5658         add definitions for double, long double, const void*.
5659         * bits/std_ostream.h: Move op<<'s back into class ostream,
5660         define some in-line.
5661         * bits/string.tcc: fix unnecessary-copying bug in op[], typos in
5662         string construction from input iterators that Brendan reported.
5663
5664
5665 1998-10-28  Brendan Kehoe  <brendan@cygnus.com>
5666
5667         * stl/bits/stl_pair.h (op!=, op>, p<=, op>=): Add missing definitions.
5668
5669         * bits/valarray_meta.h (class _Constant): Move declaration to the
5670         top, so the rest of the file can grok it.
5671         (_ApplyBinaryFunction::operator[]): Add missing parenthesis.
5672
5673         * bits/std_sstream.h (basic_ostringstream::str): Fix typo of extra
5674         semicolon.
5675         (basic_stringstream::str, both instances): Likewise.
5676
5677 1998-10-28 Nathan Myers <ncm@cantrip.org>
5678
5679         * bits/locfacets.h: fix num_put<>::falsename()
5680         * bits/locfacets.tcc: fix _Format_cache<>::_M_populate bool name init
5681         * testsuite/27/27octfmt.C, testsuite/27/27octfmt.C: new tests
5682         * bits/locfacets.tcc: touch up _S_group_digits.
5683         * src/misc-inst.cc: adjust _S_group_digits insts to match.
5684
5685 1998-10-27 Nathan Myers <ncm@cantrip.org>
5686
5687         * stl/bits/stl_config.h: Turn off long long support, for now.
5688         * src/locale-inst.cc: Instantiate num_put<> only for
5689         ostreambuf_iterator, num_get only for istreambuf_iterator.
5690         * src/misc-inst.cc: Delete duplicate locale-related instantiations,
5691         add lots of new instantiations for num_put support function templates;
5692         remove junk about __match_parallel for ostreambuf_iterator.
5693
5694 1998-10-27 Nathan Myers <ncm@cantrip.org>
5695
5696         * bits/locfacets.tcc: Make num_put's digit grouping work.
5697         * bits/string.tcc: More uglification.
5698         * src/ios.cc: initialize format cache right
5699
5700 1998-10-26 Nathan Myers <ncm@cantrip.org>
5701
5702         * bits/basic_string.h: Uglify more names.
5703         * bits/fstream.tcc: Rewrite some filebut output handling.
5704         * bits/ios_base.h: Cosmetic.
5705         * bits/locfacets.h: Changes to _Format_cache for support of num_put.
5706         Also, specialize its default ctor for optimal default case.
5707         #ifdef out "long long" prototypes for now.
5708         * bits/locfacets.tcc: Do complete, optimized num_put<>::do_put
5709         implementation for integer types.  (Still needs optimized
5710         std::copy() applied to ostreambuf_iterator to be optimal.)
5711         * bits/ostream.tcc: Write operator<< for long, bool types.
5712         Make other operators<< non-members, per spec.  (Many still
5713         not implemented.)  Identify those that fail to create a sentry.
5714         * bits/sbuf_iter: Cosmetic.
5715         * bits/std_fstream.h: Add some filebuf members.
5716         * bits/std_locale.h: Include <limits> for use in bits/locfacets.h
5717         * bits/std_ostream.h: Make member operators<< global, per spec.
5718         (Should do the same in std_istream.h.)
5719         * bits/std_string.h: Include <limits> for use in bits/locfacets.h
5720         * bits/string.tcc: Uglify names
5721         * shadow/bits/std_cstdlib.h: Optimize std::div and std::ldiv.
5722         * src/ios.cc: Specialize _Format_cache<> for char and wchar_t,
5723         for optimal default behavior.
5724
5725 1998-10-26  Benjamin Kosnik  <bkoz@loony.cygnus.com>
5726
5727         * src/Makefile.in (libstdc___la_SOURCES): Add misc-inst.cc again.
5728
5729 1998-10-21 Nathan Myers <ncm@cantrip.org>
5730
5731         * src/locale.cc: make ctype operations actually work for glibc
5732         * CHECKLIST: add a comprehensive (i.e. huge) implementation
5733         checklist of stdlib facilities.  Not filled in yet.
5734
5735 1998-10-20 Nathan Myers <ncm@cantrip.org>
5736
5737         * bits/string.tcc: fix patching NULs on string ends.
5738
5739 1998-10-19 Nathan Myers <ncm@cantrip.org>
5740
5741         * bits/std_iosfwd.h: eliminate "basic_" prefix on streambuf
5742         iterator forward declarations
5743         * bits/sbuf_iter.h: eliminate default template argument definitions
5744         on streambuf iterators (rely on <iosfwd> decls).
5745         * TODO: add note about lazy facet construction
5746         * bits/basic_ios.h: hit operator void* again.  This should be the
5747         last time we need to touch it.
5748         * bits/basic_ios.h: copyfmt now returns *this.
5749         * bits/basic_string.h: fix npos again.  npos cannot be defined as zero.
5750         * bits/basic_string.h: put back overloaded constructors; adjust
5751         behavior for default allocator on copy constructor.
5752         * bits/char_traits.h: make not_eof return correct type.
5753         * bits/loccore.h: remove call to bits/std_stdexcept.h; subincludes
5754         cannot be in non-standard headers or we get include loops (bad)
5755         * bits/loccore.h: delete ifdef'd out workarounds for old compiler bugs.
5756         * bits/loccore.h: add apparatus to support lazy construction of
5757         facets.
5758         * bits/locfacets.tcc: Uglify names in __match_parallel decl.
5759         * bits/std_ios.h: add include of <typeinfo> to get bad_cast for
5760         locale use_facet<> failure.
5761         * bits/std_locale.h: same.
5762         * bits/std_string.h: same.
5763         * bits/std_stdexcept.h: change exception member __msg from a
5764         reference to a regular object.
5765         * bits/string.tcc: add pasting a NUL on the end of strings after
5766         each operation. We had already left room for it, but previously
5767         plugged it only on a call to c_str(), but the WG changed the
5768         requirement when I wasn't looking.  (Can't leave them alone for
5769         a second without they break something else.)
5770         * bits/valarray_meta.h: add Gaby's changes from 981018.
5771         * src/locale.cc: add new type _Bad_use_facet to be thrown on
5772         failure of use_facet<>().
5773         * src/stdexcept.cc: remove pragma, remove bkoz's #if 0,
5774         comment out leftover member definitions
5775
5776 1998-10-16  Ulrich Drepper  <drepper@cygnus.com>
5777
5778         * string/Makefile.am: Revert last change.
5779         * math/Makefile.am: Likewise.
5780
5781 1998-10-15  Benjamin Kosnik  <bkoz@haight.constant.com>
5782
5783         * bits/std_sstream.h: Fix typo.
5784
5785 1998-10-15  Benjamin Kosnik  <bkoz@haight.constant.com>
5786
5787         * src/Makefile.am (libstdc___la_SOURCES): Add misc-inst.cc.
5788
5789         * bits/std_sstream.h: Add typedefs, member definitions. Clean.
5790         * bits/std_stdexcept.h: Remove.
5791
5792 1998-10-15  Benjamin Kosnik  <bkoz@haight.constant.com>
5793
5794         * src/misc-inst.cc: Tweak again.
5795
5796         * bits/std_sstream.h: Move out-of-line definitions to sstream.tcc.
5797         * bits/sstream.tcc: New file.
5798
5799 1998-10-15  Ulrich Drepper  <drepper@cygnus.com>
5800
5801         * configure.in: Test for machine/param.h, sys/machine.h and fp.h.
5802         Don't run AC_C_BIGENDIAN if machine/param.h or sys/machine.h are
5803         available.
5804
5805         * math/mathconf.h: Include sys/machine.h, machine/param.h and fp.h
5806         if available.
5807         (INFINITE_P): Use IS_INF macro if available.
5808
5809 1998-10-15  Ulrich Drepper  <drepper@cygnus.com>
5810
5811         * math/Makefile.am (EXTRA_LTLIBRARIES): Renamed from
5812         noinst_LTLIBRARIES.
5813         * string/Makefile.am: Likewise.
5814
5815 1998-10-15  Ulrich Drepper  <drepper@cygnus.com>
5816
5817         * configure.in (AC_CHECK_FUNCS): Add finite, qfinite, fpclass, and
5818         qfpclass.
5819         (AC_CHECK_HEADERS): Add machine/endian.h.  If no header specifying
5820         endianess is available run AC_C_BIGENDIAN.
5821
5822         * math/clog10l.c: Add ugly hack around bug in Irix 6.2 header until
5823         fixincludes is fixed.
5824         * math/clogl.c: Likewise.
5825         * math/csqrtl.c: Likewise.
5826         * math/mycabsl.c: Likewise.
5827
5828         * math/mathconf.h: Include machine/endian.h if possible.  If no
5829         header describing endianess is available rely on WORDS_BIGENDIAN
5830         macro.
5831         (FINITE_P, FINITEF_P, FINITEL_P): Use finite functino if available.
5832         (INFINITE_P, INFINITEF_P, INFINITEL_P): Use fpclass function if
5833         available.
5834
5835         * src/complex.cc (polar): Don't use sincos on OSF machines.
5836
5837 1998-10-09  Benjamin Kosnik  <bkoz@loony.cygnus.com>
5838
5839         * src/locale-inst.cc: Don't instantiate time_get for
5840         ostreambuf_iterators as time_get::do_get_weekday and
5841         time_get::do_get_monthname use __match_parallel, which is illegal
5842         for ostreambuf_iterators to use, as they don't have operator== or
5843         operator!=.
5844         * bits/std_stdexcept.h: Add dtor definitions.
5845         Use stl/bits/std_stdexcept.h instead of this file?
5846         * bits/sbuf_iter.h : Tweak.
5847         * src/misc-inst.cc: Tweak.
5848
5849 1998-10-09  Benjamin Kosnik  <bkoz@haight.constant.com>
5850
5851         * bits/std_stdexcept.h: New file.
5852         * src/stdexcept.cc: Define the following:
5853         logic_error::what()
5854         runtime_error::what()
5855
5856         * src/misc-inst.cc: New file.
5857         * src/Makefile.in (libstdc___la_SOURCES): Add misc-inst.cc.
5858         (libstdc___la_OBJECTS): Add misc-inst.lo.
5859
5860         * bits/basic_string.h: Disable non-standard ctor declarations.
5861         * bits/string.tcc: Disable definitions as well.
5862         * src/string.cc: Disable <ios> dependancies.
5863         * bits/sbuf_iter.h (std): Add default to template parameter for
5864         ostreambuf_iterator and istreambuf_iterator.
5865         * bits/std_iosfwd.h: Change istreambuf_iterator to
5866         basic_istreambuf_iterator. Likewise for ostreambuf.
5867         * bits/locfacets.tcc (__match_parallel): Fix typo.
5868         * src/ios.cc (imbue): Remove the _G_HAVE_LOCALE guards around
5869         ios_base::imbue.
5870         * bits/std_streambuf.h: Define _Streambuf_base::getloc().
5871         * bits/std_istream.h: Define the following:
5872         get (basic_streambuf<char_type,_Traits>& __sb, char_type __delim)
5873         get (char_type* __s, streamsize __n, char_type __delim);
5874         getline (char_type* __s, streamsize __n, char_type __delim)
5875         * bits/loccore.h : FIXME friend template code for use_facet.
5876         Add std_stdexcept.h include so that range_error will be defined.
5877         Add explicit conversion to string for range_error throws. (HACK?)
5878
5879 1998-10-8  Ulrich Drepper  <drepepr@cygnus.com>
5880
5881         * configure.in: Check for sincos, sincosf, and sincosl.
5882         * src/complex.cc (polar): Use sincos if available.
5883
5884         * bits/c++config.h: Fix hack to get LONG_LONG* definitions on Linux.
5885         * stl/bits/std_limits.h: Include bits/c++config.h.  HACK!!!
5886
5887         * math/clog10.c: Fix typo (FP_INIFITE_P -> INFINITE_P).
5888
5889         * math/cpow.c: Use c_log, not clog.
5890         * math/cpowf.c: Likewise.
5891         * math/cpowl.c: Likewise.
5892
5893         * math/cexp.c: Remove unused fpclassify calls.  Use FINITE_P instead
5894         of isfinite call.
5895
5896         * math/mathconf.h (FINITE_P, FINITEF_P, FINITEL_P): Define using
5897         isfinite macro if it is available.
5898         (INFINITE_P, INFINITEF_P, INFINITEL_P): Define using isinf macro.
5899
5900         * math/ccosf.c: Use appropriate test macros for this type.
5901         * math/ccoshf.c: Likewise.
5902         * math/ccoshl.c: Likewise.
5903         * math/ccosl.c: Likewise.
5904         * math/cexpf.c: Likewise.
5905         * math/cexpl.c: Likewise.
5906         * math/clog10f.c: Likewise.
5907         * math/clog10l.c: Likewise.
5908         * math/clogf.c: Likewise.
5909         * math/clogl.c: Likewise.
5910         * math/csinf.c: Likewise.
5911         * math/csinhf.c: Likewise.
5912         * math/csinhl.c: Likewise.
5913         * math/csinl.c: Likewise.
5914         * math/csqrtf.c: Likewise.
5915         * math/csqrtl.c: Likewise.
5916         * math/ctanf.c: Likewise.
5917         * math/ctanhf.c: Likewise.
5918         * math/ctanhl.c: Likewise.
5919         * math/ctanl.c: Likewise.
5920
5921 1998-10-06  Benjamin Kosnik  <bkoz@bliss.nabi.net>
5922
5923         * bits/basic_ios.h: Fix previous change.
5924
5925 1998-10-06  Benjamin Kosnik  <bkoz@bliss.nabi.net>
5926
5927         * bits/basic_ios.h: Add const_cast<basic_ios&>
5928         (operator void*): As per 5.2.9 p 2, make sure static_cast is
5929         well-formed.
5930         * bits/char_traits.h: No _CharT for specialization, change to 0.
5931         * bits/basic_string.h: As per 9.4.2 p4, initialize with
5932         constant-initializer.
5933         * bits/locfacets.tcc: Add template parameter to initialization list.
5934
5935 1998-10-02  Benjamin Kosnik  <bkoz@loony.cygnus.com>
5936
5937         * bits/basic_string.h: Should just be <, not <=.
5938
5939 1998-10-01  Benjamin Kosnik  <bkoz@bliss.nabi.net>
5940
5941         * bits/string.tcc (compare): Fix for strings that are similar, but
5942         not the same length.
5943
5944 1998-09-04  Brendan Kehoe  <brendan@cygnus.com>
5945
5946         * bits/c++config.h: For __linux__, define _GNU_SOURCE.  This is
5947         required for us to get LONG_LONG_{MIN,MAX} out of gcc's limits.h.
5948         We can't check for __GLIBC__ here, since this header can be read
5949         before any system one (that would lead to features.h) being used.
5950
5951         * stl/bits/stl_config.h (__STL_LONG_LONG): Re-enabled
5952
5953         * stl/bits/std_limits.h [__STL_LONG_LONG]: Fix usage to use
5954         LONG_LONG_MIN, LONG_LONG_MAX, and ULONG_LONG_MAX.
5955
5956         * stl/bits/stl_config.h: Don't do __STL_LONG_LONG, it uses
5957         LONGLONG_{MIN,MAX} which I can't find the origin of.
5958
5959 1998-09-03  Brendan Kehoe  <brendan@cygnus.com>
5960
5961         * stl/bits/stl_iterator.h: Add extern decl of cin for now; where
5962         should this come from, if not iostream.h?
5963         (class istream_iterator): Make the new operator!= a friend also.
5964
5965         * stl/bits/stl_config.h: Define __STL_HAS_WCHAR_T,
5966         __STL_MEMBER_TEMPLATE_CLASSES, and __STL_LONG_LONG.  Don't include
5967         _G_config.h like the egcs one does.
5968
5969 1998-09-01  Brendan Kehoe  <brendan@cygnus.com>
5970
5971         * bits/string.tcc: Call `_M_destroy' instead of `destroy'.
5972
5973         * bits/valarray_meta.h: Throughout, rename _Expr typedefs to be
5974         _Expr1 (or _Expr_def if it's taken), and change definitions.
5975         Avoids redecl of the template parm.
5976
5977         * bits/string.tcc (basic_string copy ctor): Fix typo in declaration.
5978         (operator>>): Initialize __ERROR with ios_base::goodbit, not 0.
5979
5980         * bits/std_streambuf.h (_POSIX_SOURCE): Only define if it's not
5981         already done.
5982
5983         * src/locale-inst.cc: New file, **TOTAL HACK**.  There has GOT to
5984         be a better way to do this.
5985
5986         * src/stlinst.cc: New file.
5987
5988         * BUGS: New file, with various discovered bugs that need to be
5989         fixed.
5990
5991         * Makefile.in, math/Makefile.in, string/Makefile.in,
5992         src/Makefile.in: Reran automake.
5993
5994         Workarounds, these may not all be the final fixes:
5995
5996         * bits/basic_ios.h (class basic_ios): Make _M_strbuf be protected,
5997         not private, for basic_istream::get() in std_istream.h to be able
5998         to use it.
5999         (basic_ios::operator void*): Don't use static_cast for the false
6000         case.
6001         (basic_ios::copyfmt): Fix `rhs.except' to be `rhs.exceptions ()'.
6002         This appears to have been in sep94, but didn't get corrected
6003         afterwards.
6004
6005         * bits/basic_string.h (npos): Don't init here.
6006         * bits/string.tcc: Instead, do initialization here, to -1 instead
6007         of the size_type destructor.
6008
6009         * src/traits.cc, src/wtraits.cc: New files.
6010         * bits/char_traits.h: For char_traits<char> and
6011         char_traits<wchar_t>, declare static, but define over in the src
6012         files.
6013
6014         * bits/gslice.h: Comment out forward decls of _Array, valarray,
6015         gslice_array, and _GsliceExpression.
6016
6017         * bits/std_cstdio.h [__sparc__ && __svr4__]: #undef all of
6018         clearerr, feof, ferror, getc, getchar, putc, putchar, stdin,
6019         stdout, and stderr.  Note we do get unresolved refs to stdin, but
6020         that'll get fixed by the "true" solution.
6021
6022         * bits/std_ios.h: Include <bits/std_streambuf.h> to get the
6023         definition of basic_streambuf.h, which is used in basic_ios.h to
6024         call pubimbue.
6025
6026         * bits/std_streambuf.h: Don't include libio.h for now.
6027         (class basic_streambuf): Define missing methods pubimbue and
6028         getloc.
6029
6030         * src/Makefile.am (libstdc___la_SOURCES): Add stdexcept.cc,
6031         ios.cc, os_raw.cc, stdstreams.cc, locale.cc, localename.cc,
6032         locale-inst.cc, stlinst.cc, traits.cc, wtraits.cc.
6033
6034         * src/ios.cc: Instantiate basic_ios<char> and basic_ios<wchar_t>.
6035
6036         * src/locale.cc: Come up with munged versions of _S_toupper,
6037         _S_tolower, and _S_table instead of the glibc-specific ones, so
6038         they're at least defined, if not necessarily usable.  The glibc
6039         ones on any other system will yield unresolved refs to
6040         __ctype_{b,toupper,tolower}.
6041
6042         * src/string.cc: Define all of ADDCS, ADDPS, et al.  Add
6043         basic_ios, basic_istream, basic_ostream.  Don't do char_traits
6044         anymore cuz of the explicit specialization in char_traits.h.
6045         Also add _S_string_copy, but this doesn't fix it -- cf the BUGS
6046         file for the details.
6047
6048         * stl/bits/stl_algobase.h (equal): Fix to do `! (x==y)'.
6049         * stl/bits/stl_iterator.h (__distance): Likewise.
6050
6051         * stl/bits/stl_iterator.h: As with 8/18 set, define missing op!=,
6052         op>, op<=, and op>= for reverse_iterator.  Also add op!= for
6053         istream_iterator.
6054
6055 1998-08-26  Brendan Kehoe  <brendan@cygnus.com>
6056
6057         * bits/string.tcc (basic_string::compare (const char*)): Fix to
6058         return 0, not 1.
6059
6060 1998-08-25  Brendan Kehoe  <brendan@cygnus.com>
6061
6062         This should really be fixed with __asm__ directives renaming the
6063         symbol, but keeping the function.
6064         * math/clogf.c (c_logf): Renamed from `clogf'.
6065         * math/clogl.c (c_logl): Renamed from `clogl'.
6066         * math/complex-stub.h (c_logf, c_logl): Change decls.
6067
6068         * bits/locfacets.h (class _Numeric_get): For friend decls, rename
6069         _CharT and _InIter parms, since they duplicate the enclosing ones.
6070
6071 1998-08-19  Brendan Kehoe  <brendan@cygnus.com>
6072
6073         Deal with conflict of the iostreams `clog' and our internal
6074         complex number `clog'.
6075         * src/complex.cc: Call `c_log' instead of `clog'.
6076         * math/clog.c (c_log):: Renamed from clog.
6077         * math/complex-stub.h (c_log): Renamed from clog decl.
6078
6079         * bits/locfacets.h (class _Numeric_get): Tweak fwd decls of the
6080         get/put classes.
6081         (num_put::put): #if 0 long long version, since we don't declare or
6082         define the long long version of do_put.
6083
6084 1998-08-18 Nathan Myers <ncm@cantrip.org>
6085
6086         * bits/basic_string.h: add basic_string<>::push_back(), fix return
6087         type of get_allocator (thanks to Ryszard Kabatek).
6088         * bits/char_traits.h: make init order of fpos<> members
6089         match decl order.
6090         * bits/ios_base.h: fix decls of ios_base bitmask & enum types, add
6091         flags _S_fd_in etc. for special filebuf ctor.
6092         * bits/locfacets.h: make _Numeric_get and _Format_cache public
6093         to work around problems in friend declarations.
6094         * bits/locfacets.tcc: qualify _S_get_cache in num_get<>::get(..bool&),
6095         fix random type errors & typos
6096         * bits/std_fstream.h: major refitting to bypass libio (for now),
6097         instrument to use bits/fstream.tcc template definitions
6098         * bits/std_iosfwd.h: mess with wrappers
6099         * bits/std_istream.h: remove meaningless comment
6100         * bits/std_ostream.h: instrument to work with ostream.tcc.
6101         * bits/std_streambuf.h: instrument to work with streambuf.tcc
6102         * bits/fstream.tcc: template defs for <fstream>
6103         * bits/ostream.tcc: template defs for <ostream>
6104         * bits/streambuf.tcc: template defs for <streambuf>
6105         * bits/os_raw.h: thin OS interface wrapper, to bypass libio (for now).
6106         * Delete .cc files, replace with bits/*.tcc
6107         src/fstream.cc
6108         src/istream.cc
6109         src/ostream.cc
6110         src/streambuf.cc
6111         * Add files:
6112         src/os_raw.cc: thin interface to OS, to bypass libio (for now).
6113         src/stdstreams.cc: cout, cin, etc. definitions
6114         (these still need work: must be init'd before user statics.)
6115
6116
6117 1998-08-18  Brendan Kehoe  <brendan@cygnus.com>
6118
6119         Sent to SGI before checkin:
6120         * stl/bits/stl_vector.h (operator!=, operator>, operator<=,
6121         operator>=): Define.
6122         * stl/bits/stl_bvector.h (vector<bool>::flip): Define method.
6123         * stl/bits/stl_deque.h (operator!=, operator>, operator<=,
6124         operator>=): Define.
6125         (operator==, operator<): Add inline.
6126         * stl/bits/stl_map.h (operator!=, operator<, operator<=,
6127         operator>=): Define.
6128         * stl/bits/stl_multimap.h (operator!=, operator<, operator<=,
6129         operator>=): Define.
6130         * stl/bits/stl_list.h (operator!=, operator<, operator<=,
6131         operator>=): Define.
6132         * stl/bits/stl_set.h (operator!=, operator<, operator<=,
6133         operator>=): Define.
6134         * stl/bits/stl_multiset.h (operator!=, operator<, operator<=,
6135         operator>=): Define.
6136
6137         * bits/std_valarray.h (_Shift_left, _Shift_right): Inherit from
6138         unary_function.
6139
6140 1998-08-15 Nathan Myers <ncm@cantrip.org>
6141
6142         * bits/ios_base.h: change nominal bitmask and enum types to real enums
6143         * bits/locfacets.h: make _Format_cache bool names usable by num_get
6144         * bits/locfacets.tcc: make num_get<>::get(... bool&) use _Format_cache
6145         * bits/std_fstream.h: minor cleanups: ctors delegate to open()
6146         * bits/std_iosfwd.h: more bitmask changes, for ios_base::iostate
6147         * bits/std_sstream.h: formatting cleanups
6148
6149 1998-08-14 Nathan Myers <ncm@cantrip.org>
6150
6151         * bits/locfacets.tcc: implement num_get<>::do_get(..., bool&)
6152         * bits/locfacets.tcc: implement time_get<>::do_get_weekday
6153         * bits/locfacets.tcc: implement time_get<>::do_get_monthname
6154         * bits/locfacets.h:   fix missing argument in do_get_monthname
6155         (this is a bug in the standard, ref. 36 in my list.)
6156         * bits/locfacets.h: make month and day name caches mutable
6157         * bits/locfacets.tcc: various typos in get() functions
6158         * bits/sbuf_iter.h: fix omission in istreambuf_iterator::op++().
6159         * bits/std_streambuf.h: fix typo in sgetn (Brendan)
6160
6161 1998-08-12 Nathan Myers <ncm@cantrip.org>
6162         * move streambuf iterators to bits/sbuf_iter.h
6163         * optimize streambuf iterators
6164         * begin generalizing streambuf
6165         * begin implementing num_get<>::get (starting with bool)
6166         * patch stl/bits/stl_config.h so that relops operators are
6167         contained properly, out of the way.
6168
6169 1998-07-24 Nathan Myers <ncm@cantrip.org>
6170         * Fold in SGI 3.11 changes (uglified names, some algorithm
6171           improvements, very minor bug fixes.)
6172         * Uglify names elsewhere to match (s/_T/_Tp/).
6173         * Begin work on optimized streambuf
6174         * Put complex.cc in namespace std:: (thanks Martin)
6175
6176 1998-07-17 Nathan Myers <ncm@cantrip.org>
6177
6178         * bits/char_traits.h: add _Char_traits_match template.
6179         * bits/string.tcc: fix bugs in various find_last* members.
6180         * bits/basic_string.h: redeclare member _S_find.
6181         * stl/bits/stl_iterator.h: change member names in nonstandard
6182           templates bidirectional_reverse_iterator and
6183           random_access_reverse_iterator to match expected changes
6184           in upstream source.
6185         * src/string.cc: fix definitions of stream operators.
6186
6187 1998-07-14 16:06  Ulrich Drepper  <drepper@cygnus.com>
6188
6189         * Makefile.am (SUBDIRS): Add string.
6190
6191         * configure.in: Test for long double functions separately.  Test for
6192         ISO C 89 float functions.  Test for endian.h and sys/isa_defs.h.
6193         Generate string/Makefile.
6194
6195         * bits/c++config.h: Define mbstate_t for Solaris.
6196
6197         * bits/char_traits.h: Remove unused #if.
6198
6199         * bits/std_cwchar.h: Declare wide char string functions.
6200
6201         * m4/stringfcts.m4: New file.
6202
6203         * math/complex-stub.h: Declare nan.
6204         * math/nan.c: New file.
6205
6206         * math/mathconf.h: Hack around missing endian.h file.
6207         Handle missing NAN definition.
6208         Handle missing float math functions.
6209
6210         * src/Makefile.am (libstdc___la_LIBADD): Add libstring.la.
6211         (libstdc___la_LDFLAGS): Set version information.
6212
6213         * src/complexl.cc: Don't compile any code if no long double functions
6214         are available.
6215
6216         * string/Makefile.am: New file.
6217         * string/dummy.c: New file.
6218         * string/wmemchr.c: New file.
6219         * string/wmemcmp.c: New file.
6220         * string/wmemcpy.c: New file.
6221         * string/wmemmove.c: New file.
6222         * string/wmemset.c: New file.
6223
6224 1998-07-14 10:45  Ulrich Drepper  <drepper@cygnus.com>
6225
6226         * configure.in: Make it work.
6227         * install-sh: New file.
6228         * missing: New file.
6229         * mkinstalldirs: New file.
6230         * m4/mathfcts.m4: New file.
6231         * math/Makefile.am: New file.
6232
6233         * bits/std_complex.h (conj): Mark specializations as inline.
6234
6235         * math/carg.c: New file.
6236         * math/cargf.c: New file.
6237         * math/cargl.c: New file.
6238         * math/mycabs.c: New file.
6239         * math/mycabsf.c: New file.
6240         * math/mycabsl.c: New file.
6241         * math/signbit.c: New file.
6242         * math/signbitf.c: New file.
6243         * math/signbitl.c: New file.
6244
6245         * math/ccos.c: Avoid ISO C 9x functionality.
6246         * math/ccosf.c: Likewise.
6247         * math/ccosh.c: Likewise.
6248         * math/ccoshf.c: Likewise.
6249         * math/ccoshl.c: Likewise.
6250         * math/ccosl.c: Likewise.
6251         * math/cexp.c: Likewise.
6252         * math/cexpf.c: Likewise.
6253         * math/cexpl.c: Likewise.
6254         * math/clog.c: Likewise.
6255         * math/clog10.c: Likewise.
6256         * math/clog10f.c: Likewise.
6257         * math/clog10l.c: Likewise.
6258         * math/clogf.c: Likewise.
6259         * math/clogl.c: Likewise.
6260         * math/cpow.c: Likewise.
6261         * math/cpowf.c: Likewise.
6262         * math/cpowl.c: Likewise.
6263         * math/csin.c: Likewise.
6264         * math/csinf.c: Likewise.
6265         * math/csinh.c: Likewise.
6266         * math/csinhf.c: Likewise.
6267         * math/csinhl.c: Likewise.
6268         * math/csinl.c: Likewise.
6269         * math/csqrt.c: Likewise.
6270         * math/csqrtf.c: Likewise.
6271         * math/csqrtl.c: Likewise.
6272         * math/ctan.c: Likewise.
6273         * math/ctanf.c: Likewise.
6274         * math/ctanh.c: Likewise.
6275         * math/ctanhf.c: Likewise.
6276         * math/ctanhl.c: Likewise.
6277         * math/ctanl.c: Likewise.
6278
6279         * math/complex-stub.h: New file.
6280
6281         * math/mathconf.h: New file.
6282
6283         * src/Makefile.am: New file.
6284
6285         * src/complex.cc: Use mathconf.h instead of complex.h.
6286         Don't use cabs, always use __mycabs.
6287
6288 1998-02-13  Brendan Kehoe  <brendan@cygnus.com>
6289
6290         * iterator (class reverse_iterator): Do some tweaks to be in sync
6291         w/ the FDIS.