1 2001-03-13 Phil Edwards <pme@sources.redhat.com>
3 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
5 2001-03-12 Felix Lee <flee@redhat.com>
7 * mkcheck.in: workaround for bash 2.01 IFS bug.
9 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
11 Fixups for -fno-for-scope
12 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
13 * src/valarray-inst.cc (__gslice_to_index): Same.
15 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
17 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
18 prior to trapping signal (UnixWare 7 workaround).
20 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
22 * include/backward/hashtable.h: Same.
23 * include/backward/rope.h: Fix include.
25 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
27 * include/backward/vector.h: Include std_vector.h.
29 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
30 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
33 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
35 * include/ext/stl_hashtable.h: Change type of __n to size_t
36 * include/backward/bvector.h: Include <ext/stl_bvector.h>
38 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
40 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
41 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
42 Use streamsize, not int_type.
44 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
46 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
49 2001-03-08 Andreas Schwab <schwab@suse.de>
51 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
53 * aclocal.m4, configure: Regenerated.
55 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
57 * include/bits/std_iosfwd.h: Remove string forward decls here.
58 * include/bits/stringfwd.h: Add forward decls for char_traits
60 * config/c_io_libio.h (wstreamoff): Delete.
61 * config/c_io_stdio.h (wstreamoff): Same.
62 * include/bits/char_traits.h: Use streamoff not wstreamoff for
63 char_traits<wchar_t>::off_type.
64 Remove duplicate typedefs.
65 * include/bits/fpos.h: Define streampos/wstreampos here.
66 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
69 Changeup output files.
70 * testsuite/27_io/istream_unformatted.cc: Change output files.
71 * testsuite/27_io/istream_seeks-1.txt: Add.
72 * testsuite/27_io/istream_seeks-2.tst: Add.
73 * testsuite/27_io/istream_seeks-1.tst: Add.
74 * testsuite/27_io/istream_unformatted-2.tst: Delete.
75 * testsuite/27_io/istream_unformatted-3.tst: Delete.
76 * testsuite/27_io/istream_unformatted-3.txt: Delete.
78 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
80 Add Irix 5.2, 6.3 support.
81 * config/os/irix/bits: Renamed to...
82 * config/os/irix/irix6.5/bits: this.
83 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
84 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
85 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
86 * config/os/irix/irix5.2/bits/ctype_noninline.h
87 (ctype<char>::ctype): Initialize _M_table with __ctype.
88 * configure.target: Adjust.
90 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
93 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
94 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
96 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
97 (*__pf)(__ios_type&)): Same.
98 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
99 (*__pf)(ios_base&))): Same.
100 * testsuite/27_io/istream_extractor_other.cc: Add tests.
101 * testsuite/27_io/istream_manip.cc (test01): Fix.
103 2001-03-06 Nathan Myers <ncm@cantrip.org>
104 Benjamin Kosnik <bkoz@redhat.com>
106 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
107 * testsuite/17_intro/header_cerrno.cc (test01): New file.
108 * testsuite/17_intro/header_cassert.cc (test01): New file.
109 * testsuite/17_intro/header_cstddef.cc (test01): New file.
110 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
111 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
113 2001-03-05 scott snyder <snyder@fnal.gov>
116 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
118 * include/c_std/bits/std_cstdlib.h: ... to here.
119 * testsuite/17_intro/header_cstdlib.cc: Add test.
121 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
123 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
125 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
127 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
128 definition. Replace enum with static const variables.
130 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
131 throw specification, fix typos, use <static_cast>.
132 (ctype<char>::scan_is): remove throw specification.
133 (ctype<char>::scan_not): likewise.
135 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
136 (ctype<char>::do_toupper(char)): use <static_cast>.
137 (ctype<char>::do_toupper(char *, const char *)): likewise.
138 (ctype<char>::do_tolower(char)): likewise.
139 (ctype<char>::do_tolower(char *, const char *)): likewise.
141 2001-03-04 Phil Edwards <pme@sources.redhat.com>
143 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
144 * include/backward/algo.h: Use std not __STD. Remove unneeded
145 macros and "never happens" code. Adjust to C++STYLE guidelines.
146 * include/backward/algobase.h: Likewise.
147 * include/backward/alloc.h: Likewise.
148 * include/backward/bvector.h: Likewise.
149 * include/backward/deque.h: Likewise.
150 * include/backward/function.h: Likewise.
151 * include/backward/hash_map.h: Likewise.
152 * include/backward/hash_set.h: Likewise.
153 * include/backward/hashtable.h: Likewise.
154 * include/backward/heap.h: Likewise.
155 * include/backward/iterator.h: Likewise.
156 * include/backward/list.h: Likewise.
157 * include/backward/map.h: Likewise.
158 * include/backward/multimap.h: Likewise.
159 * include/backward/multiset.h: Likewise.
160 * include/backward/pair.h: Likewise.
161 * include/backward/rope.h: Likewise.
162 * include/backward/set.h: Likewise.
163 * include/backward/slist.h: Likewise.
164 * include/backward/stack.h: Likewise.
165 * include/backward/strstream: Likewise.
166 * include/backward/tempbuf.h: Likewise.
167 * include/backward/tree.h: Likewise.
168 * include/backward/vector.h: Likewise.
169 * include/bits/basic_ios.h: Likewise.
170 * include/bits/basic_ios.tcc: Likewise.
171 * include/bits/basic_string.h: Likewise.
172 * include/bits/c++config: Likewise.
173 * include/bits/concept_checks.h: Likewise.
174 * include/bits/fpos.h: Likewise.
175 * include/bits/fstream.tcc: Likewise.
176 * include/bits/functexcept.h: Likewise.
177 * include/bits/ios_base.h: Likewise.
178 * include/bits/istream.tcc: Likewise.
179 * include/bits/mask_array.h: Likewise.
180 * include/bits/ostream.tcc: Likewise.
181 * include/bits/pthread_allocimpl.h: Likewise.
182 * include/bits/sbuf_iter.h: Likewise.
183 * include/bits/slice.h: Likewise.
184 * include/bits/slice_array.h: Likewise.
185 * include/bits/sstream.tcc: Likewise.
186 * include/bits/std_bitset.h: Likewise.
187 * include/bits/std_fstream.h: Likewise.
188 * include/bits/std_iomanip.h: Likewise.
189 * include/bits/std_ios.h: Likewise.
190 * include/bits/std_istream.h: Likewise.
191 * include/bits/std_iterator.h: Likewise.
192 * include/bits/std_memory.h: Likewise.
193 * include/bits/std_ostream.h: Likewise.
194 * include/bits/std_sstream.h: Likewise.
195 * include/bits/std_streambuf.h: Likewise.
196 * include/bits/std_string.h: Likewise.
197 * include/bits/std_valarray.h: Likewise.
198 * include/bits/stl_algo.h: Likewise.
199 * include/bits/stl_algobase.h: Likewise.
200 * include/bits/stl_alloc.h: Likewise.
201 * include/bits/stl_construct.h: Likewise.
202 * include/bits/stl_deque.h: Likewise.
203 * include/bits/stl_function.h: Likewise.
204 * include/bits/stl_heap.h: Likewise.
205 * include/bits/stl_iterator.h: Likewise.
206 * include/bits/stl_iterator_base.h: Likewise.
207 * include/bits/stl_list.h: Likewise.
208 * include/bits/stl_map.h: Likewise.
209 * include/bits/stl_multimap.h: Likewise.
210 * include/bits/stl_multiset.h: Likewise.
211 * include/bits/stl_numeric.h: Likewise.
212 * include/bits/stl_pair.h: Likewise.
213 * include/bits/stl_pthread_alloc.h: Likewise.
214 * include/bits/stl_queue.h: Likewise.
215 * include/bits/stl_raw_storage_iter.h: Likewise.
216 * include/bits/stl_relops.h: Likewise.
217 * include/bits/stl_set.h: Likewise.
218 * include/bits/stl_stack.h: Likewise.
219 * include/bits/stl_tempbuf.h: Likewise.
220 * include/bits/stl_threads.h: Likewise.
221 * include/bits/stl_tree.h: Likewise.
222 * include/bits/stl_uninitialized.h: Likewise.
223 * include/bits/stl_vector.h: Likewise.
224 * include/bits/streambuf.tcc: Likewise.
225 * include/bits/type_traits.h: Likewise.
226 * include/bits/valarray_meta.h: Likewise.
227 * include/ext/bvector: Likewise.
228 * include/ext/hash_map: Likewise.
229 * include/ext/hash_set: Likewise.
230 * include/ext/ropeimpl.h: Likewise.
231 * include/ext/slist: Likewise.
232 * include/ext/stl_bvector.h: Likewise.
233 * include/ext/stl_hash_fun.h: Likewise.
234 * include/ext/stl_hashtable.h: Likewise.
235 * include/ext/stl_rope.h: Likewise.
236 * src/complex_io.cc: Likewise.
237 * src/ios.cc: Likewise.
238 * src/locale-inst.cc: Likewise.
239 * src/locale.cc: Likewise.
240 * src/localename.cc: Likewise.
241 * src/misc-inst.cc: Likewise.
242 * src/stdexcept.cc: Likewise.
243 * src/stl-inst.cc: Likewise.
244 * src/strstream.cc: Likewise.
245 * src/valarray-inst.cc: Likewise.
247 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
249 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
251 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
253 * include/bits/istream.tcc: change type of __extracted to __size_type
255 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
257 * src/wstring-inst.cc: New file.
258 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
259 (libinst_wstring_la_SOURCES): Remove.
260 (libstdc___la_LIBADD): Remove libinst_wstring_la.
261 (sources): Add wstring-inst.cc
262 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
265 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
267 * src/locale.cc: initialise __ret with zero
268 * src/strstream.cc:cast gptr to int_type
270 2001-03-01 Phil Edwards <pme@sources.redhat.com>
272 * docs/html/faq/index.html: Update broken links.
273 * docs/html/faq/index.txt: Regenerated.
275 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
278 * configure.target: Change irix* to irix6.5* in target_os table.
280 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
283 * include/bits/c++config (__GLIBCPP__): Bump number in
284 anticipation of 2.92.
286 * include/bits/codecvt.h: Fix typo.
287 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
289 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
290 instantiations for stdio model.
292 2001-02-28 Phil Edwards <pme@sources.redhat.com>
294 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
295 and GLIBCPP_CXXFLAGS as unused variables.
296 * configure.host: Likewise.
297 * configure.target: Likewise.
298 * aclocal.m4: Regenerated.
299 * configure: Regenerated.
300 * Makefile.in: Regenerated.
301 * libio/Makefile.in: Regenerated.
302 * libmath/Makefile.in: Regenerated.
303 * libsupc++/Makefile.in: Regenerated.
304 * src/Makefile.in: Regenerated.
306 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
309 * include/bits/basic_file.h: Include basic_file_model.h.
310 * config/c_io_libio.cc: Move to...
311 * config/basic_file_libio.cc: Here.
312 * config/basic_file_libio.h: New file.
313 * config/c_io_stdio.cc: Move to...
314 * config/basic_file_stdio.cc: Here.
315 * config/basic_file_stdio.h: New file.
316 * config/c_io_libio.h: Tweak.
317 * config/c_io_stdio.h: Tweak.
318 * src/Makefile.am (build_headers): Add basic_file_model.h.
319 (sources): Add basic_file.cc, remove c++io.cc.
320 * src/Makefile.in: Regenerate.
321 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
322 basic_file_model.h and basic_file.cc.
323 * aclocal.m4: Regenerate.
324 * configure: Regenerate.
325 * testsuite/27_io/filebuf.cc (test05): Add regression.
327 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
330 * config/cpu/alpha/bits/atomicity.h: Change.
331 * config/cpu/arm/bits/atomicit3y.h
332 * config/cpu/generic/bits/atomicity.h
333 * config/cpu/i386/bits/atomicity.h
334 * config/cpu/i486/bits/atomicity.h
335 * config/cpu/ia64/bits/atomicity.h
336 * config/cpu/powerpc/bits/atomicity.h
337 * config/cpu/sparc/sparc32/bits/atomicity.h
338 * config/cpu/sparc/sparc64/bits/atomicity.h
339 * config/os/aix/bits/atomicity.h
340 * config/os/irix/bits/atomicity.h
342 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
344 * include/bits/std_stdexcept.h (runtime_error): Make string
347 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
350 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
354 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
355 string object, not reference.
356 (runtime_error::runtime_error): Same.
357 * testsuite/19_diagnostics/stdexceptions.cc: New file.
359 2001-02-26 Phil Edwards <pme@sources.redhat.com>
361 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
362 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
363 diagnostics. Remove WFMT_FLAGS.
364 * configure.in: Replace WFMT_FLAGS with diagnostics options.
365 * libsupc++/Makefile.am: Likewise.
366 * src/Makefile.am: Likewise.
367 * aclocal.m4: Regenerated.
368 * configure: Regenerated.
369 * Makefile.in: Regenerated.
370 * libio/Makefile.in: Regenerated.
371 * libmath/Makefile.in: Regenerated.
372 * libsupc++/Makefile.in: Regenerated.
373 * src/Makefile.in: Regenerated.
375 2001-02-26 Phil Edwards <pme@sources.redhat.com>
378 * include/backward/iomanip.h: Expose <ios> manipulators to global
380 * include/backward/iostream.h: Also expose std::ws.
382 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
384 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
386 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
388 * include/bits/codecvt.h: Use __builtin_alloca.
389 * include/bits/ostream.tcc: Same.
390 * include/bits/fstream.tcc: Same.
392 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
394 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
396 2001-02-23 David Edelsohn <dje@watson.ibm.com>
398 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
400 2001-02-23 Phil Edwards <pme@sources.redhat.com>
403 * include/backward/iostream.h: Expose std::flush in old headers.
405 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
407 * mknumeric_limits: Remove special-casing on target. Use gcc
408 instead of g++ to build gen-num-limits.cc
410 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
412 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
414 * include/bits/codecvt.h: Use alloca instead of __extension__ for
416 * include/bits/ostream.tcc: Same.
417 * include/bits/std_ostream.h: Same.
418 * include/bits/fstream.tcc: Same.
419 * include/bits/locale_facets.tcc: Add typename.
420 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
422 2001-02-21 Phil Edwards <pme@sources.redhat.com>
424 * tests_flags.in: Remove -n flag from call to echo.
426 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
428 * config/c_locale_gnu.h: Add clocale include.
430 2001-02-20 Phil Edwards <pme@sources.redhat.com>
432 * include/bits/stl_config.h: Remove file.
433 * src/Makefile.am (base_headers): Remove from list.
434 * configure: Regenerate.
435 * Makefile.in: Ditto.
436 * libio/Makefile.in: Ditto.
437 * libmath/Makefile.in: Ditto.
438 * libsupc++/Makefile.in: Ditto.
439 * src/Makefile.in: Ditto.
441 * include/bits/c++config: Move relevant macros to here.
442 * include/backward/alloc.h: Include c++config.h instead.
443 * include/backward/function.h: Ditto.
444 * include/backward/heap.h: Ditto.
445 * include/backward/pair.h: Ditto.
446 * include/bits/pthread_allocimpl.h: Ditto.
447 * include/bits/std_functional.h: Ditto.
448 * include/bits/std_iterator.h: Ditto.
449 * include/bits/std_numeric.h: Ditto.
450 * include/bits/std_utility.h: Ditto.
451 * include/bits/stl_algobase.h: Ditto.
452 * include/bits/type_traits.h: Ditto.
453 * src/stl-inst.cc: Ditto.
455 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
457 * include/bits/basic_file.h: Add #pragma system_header
458 * include/bits/basic_ios.h: Ditto.
459 * include/bits/basic_string.h: Ditto.
460 * include/bits/char_traits.h: Ditto.
461 * include/bits/codecvt.h: Ditto.
462 * include/bits/cpp_type_traits.h: Ditto.
463 * include/bits/fpos.h: Ditto.
464 * include/bits/gslice.h: Ditto.
465 * include/bits/gslice_array.h: Ditto.
466 * include/bits/indirect_array.h: Ditto.
467 * include/bits/ios_base.h: Ditto.
468 * include/bits/limits_generic.h: Ditto.
469 * include/bits/locale_facets.h: Ditto.
470 * include/bits/localefwd.h: Ditto.
471 * include/bits/mask_array.h: Ditto.
472 * include/bits/sbuf_iter.h: Ditto.
473 * include/bits/sequence_concepts.h: Ditto.
474 * include/bits/slice.h: Ditto.
475 * include/bits/slice_array.h: Ditto.
476 * include/bits/std_algorithm.h: Likewise.
477 * include/bits/std_bitset.h: Likewise.
478 * include/bits/std_complex.h: Likewise.
479 * include/bits/std_deque.h: Likewise.
480 * include/bits/std_fstream.h: Likewise.
481 * include/bits/std_functional.h: Likewise.
482 * include/bits/std_iomanip.h: Likewise.
483 * include/bits/std_ios.h: Likewise.
484 * include/bits/std_iosfwd.h: Likewise.
485 * include/bits/std_iostream.h: Likewise.
486 * include/bits/std_istream.h: Likewise.
487 * include/bits/std_iterator.h: Likewise.
488 * include/bits/std_list.h: Likewise.
489 * include/bits/std_locale.h: Likewise.
490 * include/bits/std_map.h: Likewise.
491 * include/bits/std_memory.h: Likewise.
492 * include/bits/std_numeric.h: Likewise.
493 * include/bits/std_ostream.h: Likewise.
494 * include/bits/std_queue.h: Likewise.
495 * include/bits/std_set.h: Likewise.
496 * include/bits/std_sstream.h: Likewise.
497 * include/bits/std_stack.h: Likewise.
498 * include/bits/std_stdexcept.h: Likewise.
499 * include/bits/std_streambuf.h: Likewise.
500 * include/bits/std_string.h: Likewise.
501 * include/bits/std_utility.h: Likewise.
502 * include/bits/std_valarray.h: Likewise.
503 * include/bits/std_vector.h: Likewise.
504 * include/bits/stringfwd.h: Likewise.
505 * include/bits/type_traits.h: Likewise.
506 * include/bits/valarray_array.h: Likewise.
507 * include/bits/valarray_meta.h: Likewise.
509 2001-02-19 Andreas Jaeger <aj@suse.de>
511 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
514 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
517 * include/bits/std_ostream.h: Replaced usage of
518 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
519 * include/bits/char_traits.h: Removed non-standard
520 methods that cannot be used elsewhere.
523 * include/bits/basic_ios.h: Uncommented #include of
527 * include/bits/codecvt.h: See next...
528 * include/bits/fstream.tcc: See next...
529 * include/bits/ostream.tcc: Add __extension__
530 to variable-length arrays.
533 * include/bits/localefwd.h: Changed int counter type to size_t.
536 * include/bits/std_fstream.h: Added typedef for __ctype_type.
538 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
540 * testsuite/21_strings/char_traits.cc: Move to ...
541 * testsuite/21_strings/char_traits_requirements.cc: ..here.
542 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
543 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
545 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
547 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
550 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
552 * include/bits/c++config: Revert.
554 2001-02-15 Mark Mitchell <mark@codesourcery.com>
556 * include/bits/istream.tcc: Use ios_base::iostate in place of
557 iostate throughout. Insert `typename' keyword where necessary.
558 * include/bits/ostream.tcc: Insert `typename' keyword where
561 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
563 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
564 Define so library is compliant.
566 2001-02-15 Anthony Green <green@redhat.com>
568 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
570 * aclocal.m4: Regenerate.
571 * configure: Regenerate.
573 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
575 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
576 Include ieeefp.h for fpclass on UnixWare{2,7}.
577 * aclocal.m4: Regenerate.
578 * configure: Regenerate.
579 * mkcheck.in (size_command): Do without GNU-grep when using
582 2001-02-15 Mark Mitchell <mark@codesourcery.com>
584 Remove old ABI support from libsupc++.
585 * libsupc++/cxxabi.h: Remove conditionally compiled code.
586 * libsupc++/exception_support.cc: Likewise.
587 * libsupc++/pure.cc: Likewise.
588 * libsupc++/tinfo.cc: Likewise.
589 * libsupc++/tinfo.h: Likewise.
590 * libsupc++/tinfo2.cc: Likewise.
591 * libsupc++/typeinfo: Likewise.
592 * libsupc++/vec.cc: Likewise.
594 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
596 Add support for -fno-exceptions.
597 * include/bits/exception_support.h: Remove.
598 * include/bits/basic_string.h: Remove exception_support.
599 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
601 (string::substr): Same.
602 * include/bits/basic_string.tcc (string::reserve): Replace
603 __LENGTHERROR with __throw_length_error.
604 (string::_S_create): Same.
605 (string::resize): Same.
606 (string::_M_replace): Same.
607 (string::replace): Same.
608 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
609 (string::compare): Same.
610 * include/bits/stl_vector.h: Remove exception_support.
611 * src/Makefile.am (base_headers): Remove here.
612 * src/Makefile.in: Regenerate.
614 * include/bits/stl_range_errors.h: Remove.
615 * include/bits/stl_deque.h: Use __throw_range_error.
616 * include/bits/std_deque.h: Include functexcept.h.
617 * include/bits/std_vector.h: Same.
618 * src/Makefile.am (base_headers): Remove here.
619 * src/Makefile.in: Regenerate.
620 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
621 * include/ext/bvector: Remove stl_range_errors.h
623 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
625 * include/bits/functexcept.h: New file.
626 * src/functexcept.cc: New file. Definitions for function-based
628 * src/Makefile.am (sources): Add functexcept.cc.
629 * src/Makefile.in: Regenerate.
631 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
634 * include/bits/localefwd.h: Include functexcept.h.
635 * include/bits/std_iosfwd.h: Same.
637 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
638 throw basic_ios::failure.
639 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
640 Use __throw_exception_again.
641 (filebuf::_M_filebuf_init): Same.
642 * include/bits/streambuf.tcc (__copy_streambufs): Same.
643 * include/bits/ostream.tcc (ostream::operator<<): Same.
644 * include/bits/istream.tcc (istream::operator>>): Same.
645 * include/bits/basic_string.tcc (string::_M_mutate): Same.
646 (string::_S_construct): Same.
647 (string::_M_clone): Same.
648 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
650 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
651 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
652 __throw_exception_again.
653 (locale::_Imp::_Imp(string, size_t): Same.
654 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
655 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
656 (locale::locale(const char*)): Use __throw_runtime_error.
657 (locale::classic): Use __throw_exception_again.
658 (locale::_S_normalize_category): Use __throw_runtime_error.
660 * src/stdexcept.cc: Remove cruft.
662 * libsupc++/exception_defines.h: New file.
663 * libsupc++/new_opnt.cc: Include exception_defines.h.
664 * libsupc++/vec.cc: Same.
665 (__cxa_vec_new2): Use __throw_exception_again.
666 (__cxa_vec_new3): Same.
667 (__cxa_vec_ctor): Same.
668 (__cxa_vec_delete3): Same.
669 (__cxa_vec_cctor): Same.
670 (__cxa_vec_delete2): Same.
671 (__cxa_vec_dtor): Same.
672 * libsupc++/exception_support.cc: Include exception_defines.h. Only
673 compile exception-handling bits if __EXCEPTIONS is defined.
674 Remove old ABI support.
675 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
676 std::__throw_bad_alloc() instead of throw bad_alloc.
677 * libsupc++/Makefile.am: Add exception_defines.h.
678 * libsupc++/Makefile.in: Reformat.
679 * libsupc++/*: Format.
681 2001-02-15 Phil Edwards <pme@sources.redhat.com>
683 * docs/html/configopts.html: Minor updates and typo fixes.
684 * docs/html/faq/index.html: Updates of the "not really bugs" list.
685 * docs/html/faq/index.txt: Regenerated.
687 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
689 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
690 dejagnu/dg.exp. Adapt to log options used to run testcases.
692 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
694 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
697 2001-02-13 Dirk Mueller <dmuell@gmx.net>
698 Phil Edwards <pme@sources.redhat.com>
700 * include/backward/function.h: Do not use rel_ops for older
702 * include/backward/pair.h: Likewise.
704 2001-02-12 Mark Mitchell <mark@codesourcery.com>
706 * src/locale.cc: Remove bogus locale::id definitions.
708 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
710 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
711 not _DEFINE_VALARRAY_OPERATOR which is not existent.
713 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
714 thinko in member initialisation.
716 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
718 * include/bits/std_valarray.h(valarray<>::shift): Avoid
719 comparaison between signed and unsigned integer types.
720 (valarray<>::cshift): Reformat.
722 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
724 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
725 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
726 * configure.in: Test for sigsetjmp.
727 * configure, config.h.in: Rebuilt.
729 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
731 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
733 (__gslice_to_index): Document.
735 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
737 * include/bits/char_traits.h char_traits<char>::int_type: Change
738 to `int' to match 21.1.3.1/2.
740 * testsuite/21_strings/char_traits-int_type.C: New test.
742 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
744 * testsuite/Makefile.am: New file.
746 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
748 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
750 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
752 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
754 2001-02-08 David Edelsohn <edelsohn@gnu.org>
756 * configure.target (aix4*): Remove extra set of brackets.
758 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
761 * include/bits/stringfwd.h: New file.
762 * include/bits/stl_string_fwd.h: Remove.
763 * include/bits/localefwd.h: Remove declaration for allocator.
764 * include/bits/std_iosfwd: Same.
765 * include/bits/std_string.h: Include it.
766 * include/bits/std_ios.h: Remove include.
767 * include/bits/basic_string.h: Tweak.
768 * libsupc++/new: Format.
769 * src/Makefile.am (base_headers): Add stringfwd.h, remove
771 * src/Makefile.in: Regenerate.
772 * include/bits/std_stdexcept.h: Rewrite.
773 * src/stdexcept.cc: Same.
775 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
777 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
778 install locations too.
779 * aclocal.m4: Regenerate.
780 * configure.in: Remove USE_LIBDIR.
781 * configure: Regenerate.
782 * src/Makefile.am (toolexecdir): Simplify, use
783 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
784 * src/Makefile.in: Regenerate.
785 * libsupc++/Makefile.am: Same.
786 * libsupc++/Makefile.in: Regenerate.
788 * src/Makefile.am: Just remove special rules for locale-inst.cc and
789 misc-inst.cc as no longer necessary.
791 Follow C++STYLE for naming non-static functions.
792 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
794 * include/bits/streambuf.tcc: Same.
795 * include/bits/ostream.tcc: Same.
796 * include/bits/istream.tcc: Same.
797 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
798 (_S_output_float): To __output_float.
799 * include/bits/std_streambuf.h (_S_copy_streambufs): To
801 * include/bits/locale_facets.tcc (_S_build_float_format): To
802 __build_float_format.
803 (_S_format): To __output_integer.
805 * src/locale.cc: Same.
806 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
808 * include/bits/locale_facets.tcc (_S_group_digits): To
810 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
811 for collate, numpunct.
813 2001-02-06 Phil Edwards <pme@sources.redhat.com>
815 * docs/html/configopts.html: Fix HTML markup.
816 * docs/html/install.html: Bring up to date.
817 * docs/html/17_intro/C++STYLE: Add global variable conventions.
818 * docs/html/21_strings/howto.html: More notes.
819 * docs/html/22_locale/howto.html: Fix HTML markup.
820 * docs/html/27_io/howto.html: More notes.
821 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
822 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
824 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
826 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
827 to match header files.
828 (_S_output_float): Likewise.
829 (_S_copy_streambufs): Likewise.
831 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
832 Phil Edwards <pme@sources.redhat.com>
834 * include/bits/std_istream.h (op>> signed,unsigned char): Must
835 use reinterpret_cast, not static_cast.
837 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
839 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
840 * aclocal.m4: Regenerate.
841 * configure: Regenerate.
843 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
845 * include/bits/locale_facets.h (class moneypunct): Fix typos.
846 * libsupc++/pure.cc: Revert.
848 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
850 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
851 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
852 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
853 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
854 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
855 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
856 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
857 * aclocal.m4: Regenerate.
858 * configure: Regenerate.
860 2001-02-05 Mark Mitchell <mark@codesourcery.com>
862 * include/bits/locale_facets.tcc: Remove `static' keyword on
863 function definitions.
864 * include/bits/std_streambuf.h: Likewise.
865 * src/Makefile.am: Remove use of -fimplicit-templates.
866 * src/Makefile.in: Regenerated.
867 * src/locale-inst.cc: Explicitly instantiate more functions.
868 * src/misc-inst.cc: Likewise.
869 * src/string-inst.cc: Likewise.
871 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
873 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
874 macro. Consolidate all the bits to do with where includes might be
876 * aclocal.m4: Regenerate.
877 * configure.in: Use it.
878 * configure: Regenerate.
879 * src/Makefile.am (targetincludep): Use simplified rules.
880 (targetincludep): Rename gxx_target_include_dir.
881 (myincludep): Rename gxx_include_dir.
882 * src/Makefile.in: Regenerate.
883 * libsupc++/Makefile.am: Use simplified rules.
884 * libsupc++/Makefile.in: Regenerate.
886 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
888 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
889 * include/c_std/bits/std_cctype.h: Same.
890 * include/c_std/bits/std_cassert.h: Same.
891 * include/c_std/bits/std_cstdarg.h: Same.
892 * include/c_std/bits/std_cstddef.h: Same.
894 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
896 * include/c_std/bits/std_ctime.h: Same.
897 * include/c_std/bits/std_clocale.h: Same.
898 * include/c_std/bits/std_cmath.h: Same.
899 * include/c_std/bits/std_csetjmp.h: Same.
900 * include/c_std/bits/std_csignal.h: Same.
901 * include/c_std/bits/std_cstring.h: Same.
902 * include/c_std/bits/std_cstdlib.h: Same.
903 * include/c_std/bits/std_cwchar.h: Same.
905 2001-02-05 Phil Edwards <pme@sources.redhat.com>
907 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
909 2001-02-05 Mark Mitchell <mark@codesourcery.com>
911 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
912 (string::_S_construct): Likewise.
914 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
916 * testsuite/config/default.exp: New file.
917 * testsuite/config: New directory.
919 2001-02-04 Mark Mitchell <mark@codesourcery.com>
921 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
922 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
923 whenever !__GXX_MERGED_TYPEINFO_NAMES.
924 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
926 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
927 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
929 * Makefile.am (mkinstalldirs): Set.
930 * src/Makefile.am (mkinstalldirs): Set.
931 * libmath/Makefile.am (mkinstalldirs): Set.
932 * libsup++/Makefile.am (mkinstalldirs): Set.
933 * libio/Makefile.am (mkinstalldirs): Set.
934 * */Makefile.in: Regenerate.
936 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
938 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
939 * include/bits/localefwd.h: More initialization cleanups.
941 2001-02-03 Jeffrey A Law <law@cygnus.com>
943 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
944 correctly targets with 16bit ints.
945 (_S_ios_openmode_end): Similarly.
946 (_S_ios_iostate_end): Similarly.
947 (_S_ios_Seekdir_end): Similarly.
949 2001-02-02 Phil Edwards <pme@sources.redhat.com>
951 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
953 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
955 * configure.in (toplevel_srcdir, auxdir): Set.
956 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
957 * aclocal.m4, configure, Makefile.in: Rebuilt.
958 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
959 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
960 * libsupc++-v3/Makefile.in: Rebuilt.
961 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
962 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
964 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
966 * config/c_locale_generic.cc: Remove langinfo include.
968 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
970 Preliminary named locales.
971 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
972 * aclocal.m4: Regenerate.
973 * configure.in: Use it.
974 * configure: Regerate.
975 * src/Makefile.am (sources): Add c++locale.cc.
976 (build_headers): Add c++locale.h.
977 * src/Makefile.in: Regenerate.
978 * config/c_locale_gnu.h: New file.
979 * config/c_locale_gnu.cc: New file. Non-inline member functions
980 for named locales, gnu-specific.
981 * config/c_locale_generic.h: New file.
982 * config/c_locale_generic.cc: New file. Non-inline member
983 functions for named locales, generic version.
984 * docs/html/configopts.html: Add documentation on new options.
986 * include/bits/locale_facets.h (class _Messages): Remove.
987 (class _Moneypunct): Remove.
988 * src/locale-inst.cc: Remove.
990 * include/bits/locale_facets.h (class _Collate): Remove.
991 * src/locale-inst.cc (std): Remove.
992 * src/locale.cc: And here.
994 * include/bits/localefwd.h (locale::_M_coalesce): New
995 function. Correctly put together multi-name locales.
996 (_Impl(const _Impl&, category, size_t)): Remove.
998 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
1000 (_M_normalize_category_names): Remove.
1001 (_M_replace_categories): Fix.
1003 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
1004 (locale::_Impl::_M_construct_ctype): Remove.
1005 (locale::_Impl::_M_construct_monetary): Remove.
1006 (locale::_Impl::_M_construct_numeric): Remove.
1007 (locale::_Impl::_M_construct_time): Remove.
1008 (locale::_Impl::_M_construct_messages): Remove.
1010 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
1011 (_Use_facet_failure_handle): Remove.
1012 * src/locale.cc: Remove definitions.
1013 * src/locale-inst.cc: And here.
1015 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
1017 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
1018 create and error-check underlying locale object.
1019 (locale::facet::_S_destroy_c_locale): Add, take care of properly
1020 tearing down underlying locale object.
1021 * include/bits/localefwd.h (locale::facet): Declare.
1022 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
1023 correctness, as glibc apparently has incorrect info in it. Test
1024 with it when it works again.....
1026 * include/bits/localefwd.h (locale::_Impl::__vec_string):
1027 Remove. Number of categories is fixed at six, so just simplify and
1028 make this an array of strings.
1029 (locale::_Impl::_M_has_name): Remove.
1030 (locale::_Impl::_M_name): Remove.
1031 (locale::_Impl::_M_category_names): Turns into...
1032 (locale::_Impl::_M_names): ...this.
1033 (locale::_Impl::_M_has_same_name()): New function.
1034 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
1035 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
1037 * src/locale.cc (locale::name()): Construct mangled name
1038 accurately reflecting combined locale categories.
1040 * src/locale.cc (locale::classic()): Don't initialize here.
1041 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
1042 __refs, bool __has_name, string __str): Do it here.
1044 * include/bits/localefwd.h: _S_categories_num to
1045 _S_num_categories. _S_facets_num to _S_num_facets.
1046 (locale::id::id()): Explicitly set _M_index to zero.
1047 * src/locale.cc: Same.
1049 * src/locale.cc: (locale::locale(const char*)): Construct named
1052 * src/locale.cc: Remove numpunct_byname ctors.
1053 * testsuite/22_locale/numpunct_byname.cc: New file.
1054 * testsuite/22_locale/numpunct.cc: New file.
1056 * include/bits/localefwd.h (class locale): Change data members to
1057 protected, from private.
1058 (_Impl::_M_get_c_locale): Add member function.
1059 (locale::facet::_M_get_global_impl()): Add member function.
1060 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
1061 a __c_locale pointer.
1062 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
1064 * testsuite/22_locale/members.cc: New file, test name and combine.
1066 * include/bits/locale_facets.h (class numpunct): Remove class
1067 _Punct and _Numpunct. Rewrite class numpunct to be correct for
1069 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
1070 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
1071 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
1072 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
1073 * testsuite/22_locale/numpunct_char_members.cc: New file.
1075 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
1077 * testsuite/README: Add more comment.
1078 * testsuite/lib/libstdc++.exp: Tweak comment.
1080 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
1082 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
1084 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
1086 * testsuite/21_strings/inserters_extractors.cc: Remove
1087 explicit reference to 'testsuite/'.
1089 2001-01-25 Richard Henderson <rth@redhat.com>
1091 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
1092 bits. Fixes Tru64 build issues.
1094 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1096 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
1097 (use ${MAKE-make}, not ${MAKE:-make}).
1098 * aclocal.m4, configure: Regenerate.
1100 2001-01-25 Mark Mitchell <mark@codesourcery.com>
1102 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
1105 * src/Makefile.am (sources): Add globals.cc.
1106 * src/Makefile.in: Regenerated.
1107 * src/globals.cc: New file.
1108 * src/ios.cc (cin): Don't define here, just declare extern.
1117 2001-01-25 Phil Edwards <pme@sources.redhat.com>
1119 * include/bits/std_iterator.h: Do not include stl_relops.h.
1120 * include/bits/std_numeric.h: Ditto.
1121 * include/bits/stl_algobase.h: Ditto.
1122 * include/bits/stl_relops.h: Add comment warning about problems.
1124 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
1126 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
1127 in testcases. Prepare for the DejaGnu based framework.
1128 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
1129 directory -- it is now mkcheck working directory.
1130 * tests_flags.in: Remove reference to $(top_srcdir). Use
1132 * Makefile.am (check, check-install): Change mkcheck invocation
1134 * Makefile.in: Regenerate.
1136 2001-01-24 Mark Mitchell <mark@codesourcery.com>
1138 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
1139 (__always_swap): Likewise.
1141 2001-01-23 Chris Demetriou <cgd@broadcom.com>
1143 * libsupc++/exception_support.cc (__terminate_func): Remove
1145 (__terminate_func_ptr): New typedef.
1146 (__terminate, __terminate_set_func): New extern function
1148 (std::terminate): Use __terminate function.
1149 (std::set_terminate): Use __terminate_set_func function.
1151 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
1153 * configure.target: Just use os_include_dir always.
1154 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
1155 Link atomicity files and ctype files here.
1156 * configure: Regenerate.
1157 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
1158 (GLIBCPP_ENABLE_ATOMICITY): Remove.
1159 * aclocal.m4: Regenerate.
1161 2001-01-23 Chris Demetriou <cgd@broadcom.com>
1163 * configure.in: Place definition of MULTISUBDIR in
1164 libsupc++/Makefile as is done for src/Makefile.
1165 * configure: Regenerate.
1167 2001-01-23 Phil Edwards <pme@sources.redhat.com>
1169 * acinclude.m4: Cosmetic changes only.
1170 * aclocal.m4: Regenerated.
1171 * configure: Regenerated.
1172 * configure.target: Update documented list of changed variables.
1173 * docs/html/install.html: Fix typo.
1174 * docs/html/20_util/howto.html: More notes on auto_ptr.
1175 * docs/html/27_io/howto.html: More notes on streabufs.
1176 * docs/html/faq/index.html: Add rel_ops problem and mention the
1177 DEC as(1) .subsection difficulty.
1178 * docs/html/faq/index.txt: Regenerated.
1180 2001-01-23 Mark Mitchell <mark@codesourcery.com>
1182 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
1183 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
1184 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
1185 its already provided in config.target.
1186 * aclocal.m4: Regenerated.
1187 * configure: Likewise.
1188 * configure.target: Set ctype_include_dir for lots of systems.
1189 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
1190 * libsupc++/Makefile.in: Regenerated.
1192 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
1194 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
1197 * testsuite/README: Add comment.
1199 2001-01-21 Phil Edwards <pme@sources.redhat.com>
1201 * docs/html/configopts.html: Update for current status. Fix HTML.
1202 * docs/html/install.html: Update for current status.
1204 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1206 * testsuite/libstdc++.tests/tests.exp: New file.
1207 * testsuite/lib/libstdc++.exp: Itou.
1208 * testsuite/README: Itou.
1210 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
1212 * tests_flags.in: Just output the bare minimum to run tests.
1213 Let's the caller do its own arrangement.
1215 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
1218 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
1220 * testsuite/17_intro: Prepare testcases for new style DejaGnu
1223 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
1225 * testsuite/libstdc++.tests, testsuite/lib: New directories.
1227 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
1229 * mkcheck.in: Construct file names that match $objdir structure.
1230 * testsuite/27_io/filebuf_members-1.txt: New file.
1231 * testsuite/27_io/ifstream_members-1.txt: New file.
1232 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
1234 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
1235 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
1237 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1239 * testsuite/27_io/istream_sentry.cc (test02): Fix.
1241 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
1244 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
1245 * src/ios.cc (ios_base::failure): Make definitions match.
1246 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
1247 (class bad_cast): Same.
1248 * libsupc++/exception (class exception): Add throw specs.
1249 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
1250 (set_unexpected): Same.
1251 (uncaught_exception): Same.
1254 * docs/html/17_intro/C++STYLE (classname): Fix.
1256 2001-01-16 Mark Mitchell <mark@codesourcery.com>
1258 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
1259 Use it do explicitly instantiate predicate<T> and value<T> for
1262 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
1264 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
1265 uninitialized thinko in last change.
1267 2001-01-16 Mark Mitchell <mark@codesourcery.com>
1269 * libsupc++/exception_support.cc (__cp_pop_exception): Change
1272 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
1274 * docs/html/17_intro/C++STYLE (classname): Add more existing
1275 and stylish patterns.
1278 * include/bits/istream.tcc (istream::sentry::sentry()): Set
1279 failbit if the state of the stream is not good.
1280 * testsuite/27_io/istream_sentry.cc (test02): Add test.
1281 * testsuite/27_io/istream_manip.cc (test01): Modify.
1284 reported by Paolo Carlini <pcarlini@unitus.it>
1285 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
1286 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
1289 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
1290 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
1291 (xsgetn): Same. Simplify.
1292 * testsuite/27_io/streambuf.cc (test04): Add testcases.
1294 reported by Larry Evans <jcampbell3@prodigy.net>
1295 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
1296 equality with eof on returned value from overflow.
1298 2001-01-14 Andreas Jaeger <aj@suse.de>
1300 * libio/libio.h: Add test for glibc 2.0.
1302 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
1304 * config/os/djgpp/bits/*: Fix dates.
1306 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
1307 _CharT* __end, _CharT __c): Remove.
1308 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
1309 * include/bits/char_traits.h: Tweak.
1311 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
1313 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
1314 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
1316 * aclocal.m4: regenerated.
1317 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
1318 * configure: regenerated.
1319 * config/os/djgpp, config/os/djgpp/bits: new directories.
1320 * config/os/djgpp/bits/ctype_base.h,
1321 config/os/djgpp/bits/ctype_inline.h,
1322 config/os/djgpp/bits/ctype_noninline.h,
1323 config/os/djgpp/bits/os_defines.h: new files.
1325 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
1327 * include/c_std/bits/std_cstdio.h: Undef printf.
1329 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
1331 * src/ios.cc: Fix typo: change cout->wcout.
1333 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
1334 * src/Makefile.in: Regenerate.
1336 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1338 * include/bits/std_complex.h: Fix a typo.
1340 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
1343 Fixes for libstdc++/1576
1344 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
1345 file, move contents into....
1346 * src/ios.cc: ...Here. Put defines for iostreams objects and
1347 initialization routines into one file to simplify DSO interaction.
1348 * include/bits/std_iostream.h: Touch.
1349 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
1350 * src/Makefile.am (sources): Remove stdstreams.cc.
1351 * src/Makefile.in: Regenerate.
1353 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1355 * tests_flags.in (check_directory): Fix typo.
1357 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1359 * include/bits/std_complex.h: Fix a typo.
1361 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
1363 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
1364 code path:) Remove magic constants and restructure to handle
1365 ctype.h bit mask layout changes more gracefully. (Make fast
1366 code path:) Use __maskrune (), if available.
1367 (is): Remove special case for digit and xdigit masks.
1369 2001-01-09 Robert Lipe <robertlipe@usa.net>
1371 * include/c_std/bits/std_ctime.h: Undefine difftime.
1373 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
1375 * src/gen-num-limits.cc (signal_adapter): New template function.
1376 (signal_handler): Use it, instead of signal.
1377 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
1378 require both tests to trap to set trap_flag.
1380 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
1382 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
1383 initialize mbstate_t member, name offset data members *off, not pos.
1384 * include/bits/fstream.tcc (filebuf::filebuf): Same.
1386 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
1388 reported by Chris G. Demetriou <cgd@sibyte.com>
1389 * configure.in: Change -linux-* to -linux*.
1390 * configure: Regenerate.
1392 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
1394 Fix 27_io/filebuf_members.cc
1395 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
1396 const string& __name, category __cat, size_t __refs): Set
1397 _M_has_name with _M_name.
1398 * include/bits/localefwd.h (locale::operator!=): Protect member
1399 function call with this->.
1400 * src/locale.cc (locale::operator==): Make fast checks first.
1401 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
1403 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
1405 * src/ios.cc (ios_base::Init::Init): Initialize here.
1406 (ios_base::sync_with_stdio): Set here.
1408 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
1410 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
1411 systems that support it, call dup() before fdopen().
1413 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
1415 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
1416 * testsuite/17_intro/header_cwctype.cc (main): New file.
1418 * src/Makefile.am (base_headers): Change.
1419 * include/bits/std_string.h: And here.
1420 * include/bits/string.tcc: Tweaks, move to...
1421 * include/bits/basic_string.tcc: ...Here.
1422 * src/string-inst.cc: Simplify, just instantiate the whole class,
1423 not member-by-member.
1425 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
1427 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
1428 * aclocal.m4: Regenerate.
1429 * configure: Regenerate.
1431 * include/bits/c++config (__GLIBCPP__): Bump version number.
1433 * ChangeLog: Start new log for year 2001
1434 * ChangeLog-2000: New file.
1436 * docs/html/configopts.html: Make sure default values are current,
1439 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
1441 * include/c_std/bits/std_cwchar.h: Same.
1442 * testsuite/17_intro/header_cwchar.cc: Same.
1443 * include/c_std/bits/std_ctime.h: Same.
1444 * testsuite/17_intro/header_ctime.cc: Same.
1445 * include/c_std/bits/std_cstdlib.h: Same.
1446 Clean up undefs, make consistent with cwchar and cmath, etc.
1447 * testsuite/17_intro/header_cstdlib.cc: Same.
1448 * include/c_std/bits/std_cstdio.h: Same here.
1449 * testsuite/17_intro/header_cstring.cc: Same.
1450 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
1451 * testsuite/17_intro/header_cstring.cc: New file. Check for
1452 size_t in namespace std.
1454 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
1455 * acconfig.h (HAVE_MBSTATE_T): Add.
1456 * config.h.in: Regenerate.
1457 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
1459 * aclocal.m4: Regenerate.
1460 * configure: Regenerate.
1461 * testsuite/17_intro/headers_c++.cc: New file.
1462 * testsuite/17_intro/headers_c.cc: Small changes.
1464 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
1466 * tests_flags.in: Fix typo in usage.
1468 * tests_flags.in: Set target specific LIBS for cygwin.