1 2001-03-20 Richard Henderson <rth@redhat.com>
3 * src/gen-num-limits.cc: Instantiate for wchar_t.
4 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
6 2001-03-20 Jason Merrill <jason@redhat.com>
8 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
9 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
10 * libsupc++/cxxabi.h: Declare it.
12 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
14 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
15 signal_func with an unspecified argument list.
17 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
19 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
21 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
23 * include/bits/basic_string.tcc (operator+): Fix thinko.
25 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
28 * include/bits/std_streambuf.h: Remove cached locale facets.
29 (basic_streambuf::_M_buf_fctype): Remove.
30 (basic_streambuf::~basic_streambuf): Remove here.
31 (basic_streambuf::basic_streambuf): Same.
32 (basic_streambuf::imbue): Same.
33 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
34 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
35 (basic_filebuf::~basic_filebuf()): Remove here.
36 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
37 (basic_filebuf::imbue): Same.
38 * include/bits/localefwd.h (_Count_ones): Remove.
39 (locale::_S_num_categories): Just use 6, since this doesn't
40 actually change, ever.
41 * include/bits/locale_facets.tcc (has_facet): Simplify.
43 * testsuite/27_io/filebuf.cc (test06): Add tests.
45 2001-03-13 Steve Ellcey <sje@cup.hp.com>
47 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
48 match HP-UX ctype.h header file.
50 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
52 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
53 duplicate definitions of __dj_ctype_*
55 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
57 * libsupc++/new: Remove pragma interface.
58 * libsupc++/typeinfo: Same.
59 * libsupc++/exception: Same.
60 * libsupc++/new_handler.cc: Remove pragma implementation.
61 (bad_alloc::~bad_alloc()): Add.
62 * libsupc++/exception_support.cc: Same.
63 (exception::~exception): Add.
64 (bad_exception::~bad_exception): Add.
65 * libsupc++/tinfo.cc: Same.
66 (bad_cast::~bad_cast): Add.
67 (bad_typeid::~bad_typeid): Add.
69 2001-03-13 Phil Edwards <pme@sources.redhat.com>
71 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
73 2001-03-12 Felix Lee <flee@redhat.com>
75 * mkcheck.in: workaround for bash 2.01 IFS bug.
77 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
79 Fixups for -fno-for-scope
80 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
81 * src/valarray-inst.cc (__gslice_to_index): Same.
83 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
85 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
86 prior to trapping signal (UnixWare 7 workaround).
88 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
90 * include/backward/hashtable.h: Same.
91 * include/backward/rope.h: Fix include.
93 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
95 * include/backward/vector.h: Include std_vector.h.
97 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
98 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
101 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
103 * include/ext/stl_hashtable.h: Change type of __n to size_t
104 * include/backward/bvector.h: Include <ext/stl_bvector.h>
106 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
108 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
109 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
110 Use streamsize, not int_type.
112 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
114 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
117 2001-03-08 Andreas Schwab <schwab@suse.de>
119 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
121 * aclocal.m4, configure: Regenerated.
123 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
125 * include/bits/std_iosfwd.h: Remove string forward decls here.
126 * include/bits/stringfwd.h: Add forward decls for char_traits
128 * config/c_io_libio.h (wstreamoff): Delete.
129 * config/c_io_stdio.h (wstreamoff): Same.
130 * include/bits/char_traits.h: Use streamoff not wstreamoff for
131 char_traits<wchar_t>::off_type.
132 Remove duplicate typedefs.
133 * include/bits/fpos.h: Define streampos/wstreampos here.
134 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
137 Changeup output files.
138 * testsuite/27_io/istream_unformatted.cc: Change output files.
139 * testsuite/27_io/istream_seeks-1.txt: Add.
140 * testsuite/27_io/istream_seeks-2.tst: Add.
141 * testsuite/27_io/istream_seeks-1.tst: Add.
142 * testsuite/27_io/istream_unformatted-2.tst: Delete.
143 * testsuite/27_io/istream_unformatted-3.tst: Delete.
144 * testsuite/27_io/istream_unformatted-3.txt: Delete.
146 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
148 Add Irix 5.2, 6.3 support.
149 * config/os/irix/bits: Renamed to...
150 * config/os/irix/irix6.5/bits: this.
151 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
152 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
153 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
154 * config/os/irix/irix5.2/bits/ctype_noninline.h
155 (ctype<char>::ctype): Initialize _M_table with __ctype.
156 * configure.target: Adjust.
158 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
161 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
162 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
164 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
165 (*__pf)(__ios_type&)): Same.
166 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
167 (*__pf)(ios_base&))): Same.
168 * testsuite/27_io/istream_extractor_other.cc: Add tests.
169 * testsuite/27_io/istream_manip.cc (test01): Fix.
171 2001-03-06 Nathan Myers <ncm@cantrip.org>
172 Benjamin Kosnik <bkoz@redhat.com>
174 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
175 * testsuite/17_intro/header_cerrno.cc (test01): New file.
176 * testsuite/17_intro/header_cassert.cc (test01): New file.
177 * testsuite/17_intro/header_cstddef.cc (test01): New file.
178 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
179 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
181 2001-03-05 scott snyder <snyder@fnal.gov>
184 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
186 * include/c_std/bits/std_cstdlib.h: ... to here.
187 * testsuite/17_intro/header_cstdlib.cc: Add test.
189 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
191 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
193 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
195 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
196 definition. Replace enum with static const variables.
198 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
199 throw specification, fix typos, use <static_cast>.
200 (ctype<char>::scan_is): remove throw specification.
201 (ctype<char>::scan_not): likewise.
203 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
204 (ctype<char>::do_toupper(char)): use <static_cast>.
205 (ctype<char>::do_toupper(char *, const char *)): likewise.
206 (ctype<char>::do_tolower(char)): likewise.
207 (ctype<char>::do_tolower(char *, const char *)): likewise.
209 2001-03-04 Phil Edwards <pme@sources.redhat.com>
211 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
212 * include/backward/algo.h: Use std not __STD. Remove unneeded
213 macros and "never happens" code. Adjust to C++STYLE guidelines.
214 * include/backward/algobase.h: Likewise.
215 * include/backward/alloc.h: Likewise.
216 * include/backward/bvector.h: Likewise.
217 * include/backward/deque.h: Likewise.
218 * include/backward/function.h: Likewise.
219 * include/backward/hash_map.h: Likewise.
220 * include/backward/hash_set.h: Likewise.
221 * include/backward/hashtable.h: Likewise.
222 * include/backward/heap.h: Likewise.
223 * include/backward/iterator.h: Likewise.
224 * include/backward/list.h: Likewise.
225 * include/backward/map.h: Likewise.
226 * include/backward/multimap.h: Likewise.
227 * include/backward/multiset.h: Likewise.
228 * include/backward/pair.h: Likewise.
229 * include/backward/rope.h: Likewise.
230 * include/backward/set.h: Likewise.
231 * include/backward/slist.h: Likewise.
232 * include/backward/stack.h: Likewise.
233 * include/backward/strstream: Likewise.
234 * include/backward/tempbuf.h: Likewise.
235 * include/backward/tree.h: Likewise.
236 * include/backward/vector.h: Likewise.
237 * include/bits/basic_ios.h: Likewise.
238 * include/bits/basic_ios.tcc: Likewise.
239 * include/bits/basic_string.h: Likewise.
240 * include/bits/c++config: Likewise.
241 * include/bits/concept_checks.h: Likewise.
242 * include/bits/fpos.h: Likewise.
243 * include/bits/fstream.tcc: Likewise.
244 * include/bits/functexcept.h: Likewise.
245 * include/bits/ios_base.h: Likewise.
246 * include/bits/istream.tcc: Likewise.
247 * include/bits/mask_array.h: Likewise.
248 * include/bits/ostream.tcc: Likewise.
249 * include/bits/pthread_allocimpl.h: Likewise.
250 * include/bits/sbuf_iter.h: Likewise.
251 * include/bits/slice.h: Likewise.
252 * include/bits/slice_array.h: Likewise.
253 * include/bits/sstream.tcc: Likewise.
254 * include/bits/std_bitset.h: Likewise.
255 * include/bits/std_fstream.h: Likewise.
256 * include/bits/std_iomanip.h: Likewise.
257 * include/bits/std_ios.h: Likewise.
258 * include/bits/std_istream.h: Likewise.
259 * include/bits/std_iterator.h: Likewise.
260 * include/bits/std_memory.h: Likewise.
261 * include/bits/std_ostream.h: Likewise.
262 * include/bits/std_sstream.h: Likewise.
263 * include/bits/std_streambuf.h: Likewise.
264 * include/bits/std_string.h: Likewise.
265 * include/bits/std_valarray.h: Likewise.
266 * include/bits/stl_algo.h: Likewise.
267 * include/bits/stl_algobase.h: Likewise.
268 * include/bits/stl_alloc.h: Likewise.
269 * include/bits/stl_construct.h: Likewise.
270 * include/bits/stl_deque.h: Likewise.
271 * include/bits/stl_function.h: Likewise.
272 * include/bits/stl_heap.h: Likewise.
273 * include/bits/stl_iterator.h: Likewise.
274 * include/bits/stl_iterator_base.h: Likewise.
275 * include/bits/stl_list.h: Likewise.
276 * include/bits/stl_map.h: Likewise.
277 * include/bits/stl_multimap.h: Likewise.
278 * include/bits/stl_multiset.h: Likewise.
279 * include/bits/stl_numeric.h: Likewise.
280 * include/bits/stl_pair.h: Likewise.
281 * include/bits/stl_pthread_alloc.h: Likewise.
282 * include/bits/stl_queue.h: Likewise.
283 * include/bits/stl_raw_storage_iter.h: Likewise.
284 * include/bits/stl_relops.h: Likewise.
285 * include/bits/stl_set.h: Likewise.
286 * include/bits/stl_stack.h: Likewise.
287 * include/bits/stl_tempbuf.h: Likewise.
288 * include/bits/stl_threads.h: Likewise.
289 * include/bits/stl_tree.h: Likewise.
290 * include/bits/stl_uninitialized.h: Likewise.
291 * include/bits/stl_vector.h: Likewise.
292 * include/bits/streambuf.tcc: Likewise.
293 * include/bits/type_traits.h: Likewise.
294 * include/bits/valarray_meta.h: Likewise.
295 * include/ext/bvector: Likewise.
296 * include/ext/hash_map: Likewise.
297 * include/ext/hash_set: Likewise.
298 * include/ext/ropeimpl.h: Likewise.
299 * include/ext/slist: Likewise.
300 * include/ext/stl_bvector.h: Likewise.
301 * include/ext/stl_hash_fun.h: Likewise.
302 * include/ext/stl_hashtable.h: Likewise.
303 * include/ext/stl_rope.h: Likewise.
304 * src/complex_io.cc: Likewise.
305 * src/ios.cc: Likewise.
306 * src/locale-inst.cc: Likewise.
307 * src/locale.cc: Likewise.
308 * src/localename.cc: Likewise.
309 * src/misc-inst.cc: Likewise.
310 * src/stdexcept.cc: Likewise.
311 * src/stl-inst.cc: Likewise.
312 * src/strstream.cc: Likewise.
313 * src/valarray-inst.cc: Likewise.
315 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
317 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
319 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
321 * include/bits/istream.tcc: change type of __extracted to __size_type
323 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
325 * src/wstring-inst.cc: New file.
326 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
327 (libinst_wstring_la_SOURCES): Remove.
328 (libstdc___la_LIBADD): Remove libinst_wstring_la.
329 (sources): Add wstring-inst.cc
330 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
333 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
335 * src/locale.cc: initialise __ret with zero
336 * src/strstream.cc:cast gptr to int_type
338 2001-03-01 Phil Edwards <pme@sources.redhat.com>
340 * docs/html/faq/index.html: Update broken links.
341 * docs/html/faq/index.txt: Regenerated.
343 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
346 * configure.target: Change irix* to irix6.5* in target_os table.
348 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
351 * include/bits/c++config (__GLIBCPP__): Bump number in
352 anticipation of 2.92.
354 * include/bits/codecvt.h: Fix typo.
355 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
357 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
358 instantiations for stdio model.
360 2001-02-28 Phil Edwards <pme@sources.redhat.com>
362 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
363 and GLIBCPP_CXXFLAGS as unused variables.
364 * configure.host: Likewise.
365 * configure.target: Likewise.
366 * aclocal.m4: Regenerated.
367 * configure: Regenerated.
368 * Makefile.in: Regenerated.
369 * libio/Makefile.in: Regenerated.
370 * libmath/Makefile.in: Regenerated.
371 * libsupc++/Makefile.in: Regenerated.
372 * src/Makefile.in: Regenerated.
374 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
377 * include/bits/basic_file.h: Include basic_file_model.h.
378 * config/c_io_libio.cc: Move to...
379 * config/basic_file_libio.cc: Here.
380 * config/basic_file_libio.h: New file.
381 * config/c_io_stdio.cc: Move to...
382 * config/basic_file_stdio.cc: Here.
383 * config/basic_file_stdio.h: New file.
384 * config/c_io_libio.h: Tweak.
385 * config/c_io_stdio.h: Tweak.
386 * src/Makefile.am (build_headers): Add basic_file_model.h.
387 (sources): Add basic_file.cc, remove c++io.cc.
388 * src/Makefile.in: Regenerate.
389 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
390 basic_file_model.h and basic_file.cc.
391 * aclocal.m4: Regenerate.
392 * configure: Regenerate.
393 * testsuite/27_io/filebuf.cc (test05): Add regression.
395 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
398 * config/cpu/alpha/bits/atomicity.h: Change.
399 * config/cpu/arm/bits/atomicit3y.h
400 * config/cpu/generic/bits/atomicity.h
401 * config/cpu/i386/bits/atomicity.h
402 * config/cpu/i486/bits/atomicity.h
403 * config/cpu/ia64/bits/atomicity.h
404 * config/cpu/powerpc/bits/atomicity.h
405 * config/cpu/sparc/sparc32/bits/atomicity.h
406 * config/cpu/sparc/sparc64/bits/atomicity.h
407 * config/os/aix/bits/atomicity.h
408 * config/os/irix/bits/atomicity.h
410 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
412 * include/bits/std_stdexcept.h (runtime_error): Make string
415 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
418 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
422 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
423 string object, not reference.
424 (runtime_error::runtime_error): Same.
425 * testsuite/19_diagnostics/stdexceptions.cc: New file.
427 2001-02-26 Phil Edwards <pme@sources.redhat.com>
429 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
430 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
431 diagnostics. Remove WFMT_FLAGS.
432 * configure.in: Replace WFMT_FLAGS with diagnostics options.
433 * libsupc++/Makefile.am: Likewise.
434 * src/Makefile.am: Likewise.
435 * aclocal.m4: Regenerated.
436 * configure: Regenerated.
437 * Makefile.in: Regenerated.
438 * libio/Makefile.in: Regenerated.
439 * libmath/Makefile.in: Regenerated.
440 * libsupc++/Makefile.in: Regenerated.
441 * src/Makefile.in: Regenerated.
443 2001-02-26 Phil Edwards <pme@sources.redhat.com>
446 * include/backward/iomanip.h: Expose <ios> manipulators to global
448 * include/backward/iostream.h: Also expose std::ws.
450 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
452 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
454 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
456 * include/bits/codecvt.h: Use __builtin_alloca.
457 * include/bits/ostream.tcc: Same.
458 * include/bits/fstream.tcc: Same.
460 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
462 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
464 2001-02-23 David Edelsohn <dje@watson.ibm.com>
466 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
468 2001-02-23 Phil Edwards <pme@sources.redhat.com>
471 * include/backward/iostream.h: Expose std::flush in old headers.
473 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
475 * mknumeric_limits: Remove special-casing on target. Use gcc
476 instead of g++ to build gen-num-limits.cc
478 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
480 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
482 * include/bits/codecvt.h: Use alloca instead of __extension__ for
484 * include/bits/ostream.tcc: Same.
485 * include/bits/std_ostream.h: Same.
486 * include/bits/fstream.tcc: Same.
487 * include/bits/locale_facets.tcc: Add typename.
488 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
490 2001-02-21 Phil Edwards <pme@sources.redhat.com>
492 * tests_flags.in: Remove -n flag from call to echo.
494 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
496 * config/c_locale_gnu.h: Add clocale include.
498 2001-02-20 Phil Edwards <pme@sources.redhat.com>
500 * include/bits/stl_config.h: Remove file.
501 * src/Makefile.am (base_headers): Remove from list.
502 * configure: Regenerate.
503 * Makefile.in: Ditto.
504 * libio/Makefile.in: Ditto.
505 * libmath/Makefile.in: Ditto.
506 * libsupc++/Makefile.in: Ditto.
507 * src/Makefile.in: Ditto.
509 * include/bits/c++config: Move relevant macros to here.
510 * include/backward/alloc.h: Include c++config.h instead.
511 * include/backward/function.h: Ditto.
512 * include/backward/heap.h: Ditto.
513 * include/backward/pair.h: Ditto.
514 * include/bits/pthread_allocimpl.h: Ditto.
515 * include/bits/std_functional.h: Ditto.
516 * include/bits/std_iterator.h: Ditto.
517 * include/bits/std_numeric.h: Ditto.
518 * include/bits/std_utility.h: Ditto.
519 * include/bits/stl_algobase.h: Ditto.
520 * include/bits/type_traits.h: Ditto.
521 * src/stl-inst.cc: Ditto.
523 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
525 * include/bits/basic_file.h: Add #pragma system_header
526 * include/bits/basic_ios.h: Ditto.
527 * include/bits/basic_string.h: Ditto.
528 * include/bits/char_traits.h: Ditto.
529 * include/bits/codecvt.h: Ditto.
530 * include/bits/cpp_type_traits.h: Ditto.
531 * include/bits/fpos.h: Ditto.
532 * include/bits/gslice.h: Ditto.
533 * include/bits/gslice_array.h: Ditto.
534 * include/bits/indirect_array.h: Ditto.
535 * include/bits/ios_base.h: Ditto.
536 * include/bits/limits_generic.h: Ditto.
537 * include/bits/locale_facets.h: Ditto.
538 * include/bits/localefwd.h: Ditto.
539 * include/bits/mask_array.h: Ditto.
540 * include/bits/sbuf_iter.h: Ditto.
541 * include/bits/sequence_concepts.h: Ditto.
542 * include/bits/slice.h: Ditto.
543 * include/bits/slice_array.h: Ditto.
544 * include/bits/std_algorithm.h: Likewise.
545 * include/bits/std_bitset.h: Likewise.
546 * include/bits/std_complex.h: Likewise.
547 * include/bits/std_deque.h: Likewise.
548 * include/bits/std_fstream.h: Likewise.
549 * include/bits/std_functional.h: Likewise.
550 * include/bits/std_iomanip.h: Likewise.
551 * include/bits/std_ios.h: Likewise.
552 * include/bits/std_iosfwd.h: Likewise.
553 * include/bits/std_iostream.h: Likewise.
554 * include/bits/std_istream.h: Likewise.
555 * include/bits/std_iterator.h: Likewise.
556 * include/bits/std_list.h: Likewise.
557 * include/bits/std_locale.h: Likewise.
558 * include/bits/std_map.h: Likewise.
559 * include/bits/std_memory.h: Likewise.
560 * include/bits/std_numeric.h: Likewise.
561 * include/bits/std_ostream.h: Likewise.
562 * include/bits/std_queue.h: Likewise.
563 * include/bits/std_set.h: Likewise.
564 * include/bits/std_sstream.h: Likewise.
565 * include/bits/std_stack.h: Likewise.
566 * include/bits/std_stdexcept.h: Likewise.
567 * include/bits/std_streambuf.h: Likewise.
568 * include/bits/std_string.h: Likewise.
569 * include/bits/std_utility.h: Likewise.
570 * include/bits/std_valarray.h: Likewise.
571 * include/bits/std_vector.h: Likewise.
572 * include/bits/stringfwd.h: Likewise.
573 * include/bits/type_traits.h: Likewise.
574 * include/bits/valarray_array.h: Likewise.
575 * include/bits/valarray_meta.h: Likewise.
577 2001-02-19 Andreas Jaeger <aj@suse.de>
579 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
582 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
585 * include/bits/std_ostream.h: Replaced usage of
586 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
587 * include/bits/char_traits.h: Removed non-standard
588 methods that cannot be used elsewhere.
591 * include/bits/basic_ios.h: Uncommented #include of
595 * include/bits/codecvt.h: See next...
596 * include/bits/fstream.tcc: See next...
597 * include/bits/ostream.tcc: Add __extension__
598 to variable-length arrays.
601 * include/bits/localefwd.h: Changed int counter type to size_t.
604 * include/bits/std_fstream.h: Added typedef for __ctype_type.
606 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
608 * testsuite/21_strings/char_traits.cc: Move to ...
609 * testsuite/21_strings/char_traits_requirements.cc: ..here.
610 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
611 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
613 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
615 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
618 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
620 * include/bits/c++config: Revert.
622 2001-02-15 Mark Mitchell <mark@codesourcery.com>
624 * include/bits/istream.tcc: Use ios_base::iostate in place of
625 iostate throughout. Insert `typename' keyword where necessary.
626 * include/bits/ostream.tcc: Insert `typename' keyword where
629 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
631 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
632 Define so library is compliant.
634 2001-02-15 Anthony Green <green@redhat.com>
636 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
638 * aclocal.m4: Regenerate.
639 * configure: Regenerate.
641 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
643 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
644 Include ieeefp.h for fpclass on UnixWare{2,7}.
645 * aclocal.m4: Regenerate.
646 * configure: Regenerate.
647 * mkcheck.in (size_command): Do without GNU-grep when using
650 2001-02-15 Mark Mitchell <mark@codesourcery.com>
652 Remove old ABI support from libsupc++.
653 * libsupc++/cxxabi.h: Remove conditionally compiled code.
654 * libsupc++/exception_support.cc: Likewise.
655 * libsupc++/pure.cc: Likewise.
656 * libsupc++/tinfo.cc: Likewise.
657 * libsupc++/tinfo.h: Likewise.
658 * libsupc++/tinfo2.cc: Likewise.
659 * libsupc++/typeinfo: Likewise.
660 * libsupc++/vec.cc: Likewise.
662 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
664 Add support for -fno-exceptions.
665 * include/bits/exception_support.h: Remove.
666 * include/bits/basic_string.h: Remove exception_support.
667 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
669 (string::substr): Same.
670 * include/bits/basic_string.tcc (string::reserve): Replace
671 __LENGTHERROR with __throw_length_error.
672 (string::_S_create): Same.
673 (string::resize): Same.
674 (string::_M_replace): Same.
675 (string::replace): Same.
676 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
677 (string::compare): Same.
678 * include/bits/stl_vector.h: Remove exception_support.
679 * src/Makefile.am (base_headers): Remove here.
680 * src/Makefile.in: Regenerate.
682 * include/bits/stl_range_errors.h: Remove.
683 * include/bits/stl_deque.h: Use __throw_range_error.
684 * include/bits/std_deque.h: Include functexcept.h.
685 * include/bits/std_vector.h: Same.
686 * src/Makefile.am (base_headers): Remove here.
687 * src/Makefile.in: Regenerate.
688 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
689 * include/ext/bvector: Remove stl_range_errors.h
691 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
693 * include/bits/functexcept.h: New file.
694 * src/functexcept.cc: New file. Definitions for function-based
696 * src/Makefile.am (sources): Add functexcept.cc.
697 * src/Makefile.in: Regenerate.
699 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
702 * include/bits/localefwd.h: Include functexcept.h.
703 * include/bits/std_iosfwd.h: Same.
705 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
706 throw basic_ios::failure.
707 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
708 Use __throw_exception_again.
709 (filebuf::_M_filebuf_init): Same.
710 * include/bits/streambuf.tcc (__copy_streambufs): Same.
711 * include/bits/ostream.tcc (ostream::operator<<): Same.
712 * include/bits/istream.tcc (istream::operator>>): Same.
713 * include/bits/basic_string.tcc (string::_M_mutate): Same.
714 (string::_S_construct): Same.
715 (string::_M_clone): Same.
716 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
718 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
719 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
720 __throw_exception_again.
721 (locale::_Imp::_Imp(string, size_t): Same.
722 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
723 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
724 (locale::locale(const char*)): Use __throw_runtime_error.
725 (locale::classic): Use __throw_exception_again.
726 (locale::_S_normalize_category): Use __throw_runtime_error.
728 * src/stdexcept.cc: Remove cruft.
730 * libsupc++/exception_defines.h: New file.
731 * libsupc++/new_opnt.cc: Include exception_defines.h.
732 * libsupc++/vec.cc: Same.
733 (__cxa_vec_new2): Use __throw_exception_again.
734 (__cxa_vec_new3): Same.
735 (__cxa_vec_ctor): Same.
736 (__cxa_vec_delete3): Same.
737 (__cxa_vec_cctor): Same.
738 (__cxa_vec_delete2): Same.
739 (__cxa_vec_dtor): Same.
740 * libsupc++/exception_support.cc: Include exception_defines.h. Only
741 compile exception-handling bits if __EXCEPTIONS is defined.
742 Remove old ABI support.
743 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
744 std::__throw_bad_alloc() instead of throw bad_alloc.
745 * libsupc++/Makefile.am: Add exception_defines.h.
746 * libsupc++/Makefile.in: Reformat.
747 * libsupc++/*: Format.
749 2001-02-15 Phil Edwards <pme@sources.redhat.com>
751 * docs/html/configopts.html: Minor updates and typo fixes.
752 * docs/html/faq/index.html: Updates of the "not really bugs" list.
753 * docs/html/faq/index.txt: Regenerated.
755 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
757 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
758 dejagnu/dg.exp. Adapt to log options used to run testcases.
760 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
762 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
765 2001-02-13 Dirk Mueller <dmuell@gmx.net>
766 Phil Edwards <pme@sources.redhat.com>
768 * include/backward/function.h: Do not use rel_ops for older
770 * include/backward/pair.h: Likewise.
772 2001-02-12 Mark Mitchell <mark@codesourcery.com>
774 * src/locale.cc: Remove bogus locale::id definitions.
776 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
778 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
779 not _DEFINE_VALARRAY_OPERATOR which is not existent.
781 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
782 thinko in member initialisation.
784 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
786 * include/bits/std_valarray.h(valarray<>::shift): Avoid
787 comparaison between signed and unsigned integer types.
788 (valarray<>::cshift): Reformat.
790 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
792 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
793 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
794 * configure.in: Test for sigsetjmp.
795 * configure, config.h.in: Rebuilt.
797 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
799 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
801 (__gslice_to_index): Document.
803 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
805 * include/bits/char_traits.h char_traits<char>::int_type: Change
806 to `int' to match 21.1.3.1/2.
808 * testsuite/21_strings/char_traits-int_type.C: New test.
810 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
812 * testsuite/Makefile.am: New file.
814 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
816 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
818 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
820 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
822 2001-02-08 David Edelsohn <edelsohn@gnu.org>
824 * configure.target (aix4*): Remove extra set of brackets.
826 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
829 * include/bits/stringfwd.h: New file.
830 * include/bits/stl_string_fwd.h: Remove.
831 * include/bits/localefwd.h: Remove declaration for allocator.
832 * include/bits/std_iosfwd: Same.
833 * include/bits/std_string.h: Include it.
834 * include/bits/std_ios.h: Remove include.
835 * include/bits/basic_string.h: Tweak.
836 * libsupc++/new: Format.
837 * src/Makefile.am (base_headers): Add stringfwd.h, remove
839 * src/Makefile.in: Regenerate.
840 * include/bits/std_stdexcept.h: Rewrite.
841 * src/stdexcept.cc: Same.
843 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
845 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
846 install locations too.
847 * aclocal.m4: Regenerate.
848 * configure.in: Remove USE_LIBDIR.
849 * configure: Regenerate.
850 * src/Makefile.am (toolexecdir): Simplify, use
851 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
852 * src/Makefile.in: Regenerate.
853 * libsupc++/Makefile.am: Same.
854 * libsupc++/Makefile.in: Regenerate.
856 * src/Makefile.am: Just remove special rules for locale-inst.cc and
857 misc-inst.cc as no longer necessary.
859 Follow C++STYLE for naming non-static functions.
860 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
862 * include/bits/streambuf.tcc: Same.
863 * include/bits/ostream.tcc: Same.
864 * include/bits/istream.tcc: Same.
865 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
866 (_S_output_float): To __output_float.
867 * include/bits/std_streambuf.h (_S_copy_streambufs): To
869 * include/bits/locale_facets.tcc (_S_build_float_format): To
870 __build_float_format.
871 (_S_format): To __output_integer.
873 * src/locale.cc: Same.
874 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
876 * include/bits/locale_facets.tcc (_S_group_digits): To
878 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
879 for collate, numpunct.
881 2001-02-06 Phil Edwards <pme@sources.redhat.com>
883 * docs/html/configopts.html: Fix HTML markup.
884 * docs/html/install.html: Bring up to date.
885 * docs/html/17_intro/C++STYLE: Add global variable conventions.
886 * docs/html/21_strings/howto.html: More notes.
887 * docs/html/22_locale/howto.html: Fix HTML markup.
888 * docs/html/27_io/howto.html: More notes.
889 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
890 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
892 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
894 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
895 to match header files.
896 (_S_output_float): Likewise.
897 (_S_copy_streambufs): Likewise.
899 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
900 Phil Edwards <pme@sources.redhat.com>
902 * include/bits/std_istream.h (op>> signed,unsigned char): Must
903 use reinterpret_cast, not static_cast.
905 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
907 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
908 * aclocal.m4: Regenerate.
909 * configure: Regenerate.
911 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
913 * include/bits/locale_facets.h (class moneypunct): Fix typos.
914 * libsupc++/pure.cc: Revert.
916 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
918 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
919 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
920 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
921 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
922 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
923 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
924 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
925 * aclocal.m4: Regenerate.
926 * configure: Regenerate.
928 2001-02-05 Mark Mitchell <mark@codesourcery.com>
930 * include/bits/locale_facets.tcc: Remove `static' keyword on
931 function definitions.
932 * include/bits/std_streambuf.h: Likewise.
933 * src/Makefile.am: Remove use of -fimplicit-templates.
934 * src/Makefile.in: Regenerated.
935 * src/locale-inst.cc: Explicitly instantiate more functions.
936 * src/misc-inst.cc: Likewise.
937 * src/string-inst.cc: Likewise.
939 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
941 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
942 macro. Consolidate all the bits to do with where includes might be
944 * aclocal.m4: Regenerate.
945 * configure.in: Use it.
946 * configure: Regenerate.
947 * src/Makefile.am (targetincludep): Use simplified rules.
948 (targetincludep): Rename gxx_target_include_dir.
949 (myincludep): Rename gxx_include_dir.
950 * src/Makefile.in: Regenerate.
951 * libsupc++/Makefile.am: Use simplified rules.
952 * libsupc++/Makefile.in: Regenerate.
954 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
956 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
957 * include/c_std/bits/std_cctype.h: Same.
958 * include/c_std/bits/std_cassert.h: Same.
959 * include/c_std/bits/std_cstdarg.h: Same.
960 * include/c_std/bits/std_cstddef.h: Same.
962 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
964 * include/c_std/bits/std_ctime.h: Same.
965 * include/c_std/bits/std_clocale.h: Same.
966 * include/c_std/bits/std_cmath.h: Same.
967 * include/c_std/bits/std_csetjmp.h: Same.
968 * include/c_std/bits/std_csignal.h: Same.
969 * include/c_std/bits/std_cstring.h: Same.
970 * include/c_std/bits/std_cstdlib.h: Same.
971 * include/c_std/bits/std_cwchar.h: Same.
973 2001-02-05 Phil Edwards <pme@sources.redhat.com>
975 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
977 2001-02-05 Mark Mitchell <mark@codesourcery.com>
979 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
980 (string::_S_construct): Likewise.
982 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
984 * testsuite/config/default.exp: New file.
985 * testsuite/config: New directory.
987 2001-02-04 Mark Mitchell <mark@codesourcery.com>
989 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
990 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
991 whenever !__GXX_MERGED_TYPEINFO_NAMES.
992 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
994 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
995 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
997 * Makefile.am (mkinstalldirs): Set.
998 * src/Makefile.am (mkinstalldirs): Set.
999 * libmath/Makefile.am (mkinstalldirs): Set.
1000 * libsup++/Makefile.am (mkinstalldirs): Set.
1001 * libio/Makefile.am (mkinstalldirs): Set.
1002 * */Makefile.in: Regenerate.
1004 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
1006 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
1007 * include/bits/localefwd.h: More initialization cleanups.
1009 2001-02-03 Jeffrey A Law <law@cygnus.com>
1011 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
1012 correctly targets with 16bit ints.
1013 (_S_ios_openmode_end): Similarly.
1014 (_S_ios_iostate_end): Similarly.
1015 (_S_ios_Seekdir_end): Similarly.
1017 2001-02-02 Phil Edwards <pme@sources.redhat.com>
1019 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
1021 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
1023 * configure.in (toplevel_srcdir, auxdir): Set.
1024 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
1025 * aclocal.m4, configure, Makefile.in: Rebuilt.
1026 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
1027 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
1028 * libsupc++-v3/Makefile.in: Rebuilt.
1029 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
1030 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
1032 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
1034 * config/c_locale_generic.cc: Remove langinfo include.
1036 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
1038 Preliminary named locales.
1039 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
1040 * aclocal.m4: Regenerate.
1041 * configure.in: Use it.
1042 * configure: Regerate.
1043 * src/Makefile.am (sources): Add c++locale.cc.
1044 (build_headers): Add c++locale.h.
1045 * src/Makefile.in: Regenerate.
1046 * config/c_locale_gnu.h: New file.
1047 * config/c_locale_gnu.cc: New file. Non-inline member functions
1048 for named locales, gnu-specific.
1049 * config/c_locale_generic.h: New file.
1050 * config/c_locale_generic.cc: New file. Non-inline member
1051 functions for named locales, generic version.
1052 * docs/html/configopts.html: Add documentation on new options.
1054 * include/bits/locale_facets.h (class _Messages): Remove.
1055 (class _Moneypunct): Remove.
1056 * src/locale-inst.cc: Remove.
1058 * include/bits/locale_facets.h (class _Collate): Remove.
1059 * src/locale-inst.cc (std): Remove.
1060 * src/locale.cc: And here.
1062 * include/bits/localefwd.h (locale::_M_coalesce): New
1063 function. Correctly put together multi-name locales.
1064 (_Impl(const _Impl&, category, size_t)): Remove.
1066 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
1068 (_M_normalize_category_names): Remove.
1069 (_M_replace_categories): Fix.
1071 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
1072 (locale::_Impl::_M_construct_ctype): Remove.
1073 (locale::_Impl::_M_construct_monetary): Remove.
1074 (locale::_Impl::_M_construct_numeric): Remove.
1075 (locale::_Impl::_M_construct_time): Remove.
1076 (locale::_Impl::_M_construct_messages): Remove.
1078 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
1079 (_Use_facet_failure_handle): Remove.
1080 * src/locale.cc: Remove definitions.
1081 * src/locale-inst.cc: And here.
1083 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
1085 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
1086 create and error-check underlying locale object.
1087 (locale::facet::_S_destroy_c_locale): Add, take care of properly
1088 tearing down underlying locale object.
1089 * include/bits/localefwd.h (locale::facet): Declare.
1090 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
1091 correctness, as glibc apparently has incorrect info in it. Test
1092 with it when it works again.....
1094 * include/bits/localefwd.h (locale::_Impl::__vec_string):
1095 Remove. Number of categories is fixed at six, so just simplify and
1096 make this an array of strings.
1097 (locale::_Impl::_M_has_name): Remove.
1098 (locale::_Impl::_M_name): Remove.
1099 (locale::_Impl::_M_category_names): Turns into...
1100 (locale::_Impl::_M_names): ...this.
1101 (locale::_Impl::_M_has_same_name()): New function.
1102 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
1103 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
1105 * src/locale.cc (locale::name()): Construct mangled name
1106 accurately reflecting combined locale categories.
1108 * src/locale.cc (locale::classic()): Don't initialize here.
1109 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
1110 __refs, bool __has_name, string __str): Do it here.
1112 * include/bits/localefwd.h: _S_categories_num to
1113 _S_num_categories. _S_facets_num to _S_num_facets.
1114 (locale::id::id()): Explicitly set _M_index to zero.
1115 * src/locale.cc: Same.
1117 * src/locale.cc: (locale::locale(const char*)): Construct named
1120 * src/locale.cc: Remove numpunct_byname ctors.
1121 * testsuite/22_locale/numpunct_byname.cc: New file.
1122 * testsuite/22_locale/numpunct.cc: New file.
1124 * include/bits/localefwd.h (class locale): Change data members to
1125 protected, from private.
1126 (_Impl::_M_get_c_locale): Add member function.
1127 (locale::facet::_M_get_global_impl()): Add member function.
1128 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
1129 a __c_locale pointer.
1130 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
1132 * testsuite/22_locale/members.cc: New file, test name and combine.
1134 * include/bits/locale_facets.h (class numpunct): Remove class
1135 _Punct and _Numpunct. Rewrite class numpunct to be correct for
1137 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
1138 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
1139 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
1140 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
1141 * testsuite/22_locale/numpunct_char_members.cc: New file.
1143 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
1145 * testsuite/README: Add more comment.
1146 * testsuite/lib/libstdc++.exp: Tweak comment.
1148 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
1150 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
1152 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
1154 * testsuite/21_strings/inserters_extractors.cc: Remove
1155 explicit reference to 'testsuite/'.
1157 2001-01-25 Richard Henderson <rth@redhat.com>
1159 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
1160 bits. Fixes Tru64 build issues.
1162 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1164 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
1165 (use ${MAKE-make}, not ${MAKE:-make}).
1166 * aclocal.m4, configure: Regenerate.
1168 2001-01-25 Mark Mitchell <mark@codesourcery.com>
1170 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
1173 * src/Makefile.am (sources): Add globals.cc.
1174 * src/Makefile.in: Regenerated.
1175 * src/globals.cc: New file.
1176 * src/ios.cc (cin): Don't define here, just declare extern.
1185 2001-01-25 Phil Edwards <pme@sources.redhat.com>
1187 * include/bits/std_iterator.h: Do not include stl_relops.h.
1188 * include/bits/std_numeric.h: Ditto.
1189 * include/bits/stl_algobase.h: Ditto.
1190 * include/bits/stl_relops.h: Add comment warning about problems.
1192 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
1194 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
1195 in testcases. Prepare for the DejaGnu based framework.
1196 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
1197 directory -- it is now mkcheck working directory.
1198 * tests_flags.in: Remove reference to $(top_srcdir). Use
1200 * Makefile.am (check, check-install): Change mkcheck invocation
1202 * Makefile.in: Regenerate.
1204 2001-01-24 Mark Mitchell <mark@codesourcery.com>
1206 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
1207 (__always_swap): Likewise.
1209 2001-01-23 Chris Demetriou <cgd@broadcom.com>
1211 * libsupc++/exception_support.cc (__terminate_func): Remove
1213 (__terminate_func_ptr): New typedef.
1214 (__terminate, __terminate_set_func): New extern function
1216 (std::terminate): Use __terminate function.
1217 (std::set_terminate): Use __terminate_set_func function.
1219 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
1221 * configure.target: Just use os_include_dir always.
1222 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
1223 Link atomicity files and ctype files here.
1224 * configure: Regenerate.
1225 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
1226 (GLIBCPP_ENABLE_ATOMICITY): Remove.
1227 * aclocal.m4: Regenerate.
1229 2001-01-23 Chris Demetriou <cgd@broadcom.com>
1231 * configure.in: Place definition of MULTISUBDIR in
1232 libsupc++/Makefile as is done for src/Makefile.
1233 * configure: Regenerate.
1235 2001-01-23 Phil Edwards <pme@sources.redhat.com>
1237 * acinclude.m4: Cosmetic changes only.
1238 * aclocal.m4: Regenerated.
1239 * configure: Regenerated.
1240 * configure.target: Update documented list of changed variables.
1241 * docs/html/install.html: Fix typo.
1242 * docs/html/20_util/howto.html: More notes on auto_ptr.
1243 * docs/html/27_io/howto.html: More notes on streabufs.
1244 * docs/html/faq/index.html: Add rel_ops problem and mention the
1245 DEC as(1) .subsection difficulty.
1246 * docs/html/faq/index.txt: Regenerated.
1248 2001-01-23 Mark Mitchell <mark@codesourcery.com>
1250 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
1251 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
1252 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
1253 its already provided in config.target.
1254 * aclocal.m4: Regenerated.
1255 * configure: Likewise.
1256 * configure.target: Set ctype_include_dir for lots of systems.
1257 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
1258 * libsupc++/Makefile.in: Regenerated.
1260 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
1262 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
1265 * testsuite/README: Add comment.
1267 2001-01-21 Phil Edwards <pme@sources.redhat.com>
1269 * docs/html/configopts.html: Update for current status. Fix HTML.
1270 * docs/html/install.html: Update for current status.
1272 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1274 * testsuite/libstdc++.tests/tests.exp: New file.
1275 * testsuite/lib/libstdc++.exp: Itou.
1276 * testsuite/README: Itou.
1278 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
1280 * tests_flags.in: Just output the bare minimum to run tests.
1281 Let's the caller do its own arrangement.
1283 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
1286 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
1288 * testsuite/17_intro: Prepare testcases for new style DejaGnu
1291 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
1293 * testsuite/libstdc++.tests, testsuite/lib: New directories.
1295 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
1297 * mkcheck.in: Construct file names that match $objdir structure.
1298 * testsuite/27_io/filebuf_members-1.txt: New file.
1299 * testsuite/27_io/ifstream_members-1.txt: New file.
1300 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
1302 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
1303 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
1305 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1307 * testsuite/27_io/istream_sentry.cc (test02): Fix.
1309 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
1312 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
1313 * src/ios.cc (ios_base::failure): Make definitions match.
1314 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
1315 (class bad_cast): Same.
1316 * libsupc++/exception (class exception): Add throw specs.
1317 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
1318 (set_unexpected): Same.
1319 (uncaught_exception): Same.
1322 * docs/html/17_intro/C++STYLE (classname): Fix.
1324 2001-01-16 Mark Mitchell <mark@codesourcery.com>
1326 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
1327 Use it do explicitly instantiate predicate<T> and value<T> for
1330 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
1332 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
1333 uninitialized thinko in last change.
1335 2001-01-16 Mark Mitchell <mark@codesourcery.com>
1337 * libsupc++/exception_support.cc (__cp_pop_exception): Change
1340 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
1342 * docs/html/17_intro/C++STYLE (classname): Add more existing
1343 and stylish patterns.
1346 * include/bits/istream.tcc (istream::sentry::sentry()): Set
1347 failbit if the state of the stream is not good.
1348 * testsuite/27_io/istream_sentry.cc (test02): Add test.
1349 * testsuite/27_io/istream_manip.cc (test01): Modify.
1352 reported by Paolo Carlini <pcarlini@unitus.it>
1353 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
1354 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
1357 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
1358 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
1359 (xsgetn): Same. Simplify.
1360 * testsuite/27_io/streambuf.cc (test04): Add testcases.
1362 reported by Larry Evans <jcampbell3@prodigy.net>
1363 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
1364 equality with eof on returned value from overflow.
1366 2001-01-14 Andreas Jaeger <aj@suse.de>
1368 * libio/libio.h: Add test for glibc 2.0.
1370 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
1372 * config/os/djgpp/bits/*: Fix dates.
1374 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
1375 _CharT* __end, _CharT __c): Remove.
1376 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
1377 * include/bits/char_traits.h: Tweak.
1379 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
1381 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
1382 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
1384 * aclocal.m4: regenerated.
1385 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
1386 * configure: regenerated.
1387 * config/os/djgpp, config/os/djgpp/bits: new directories.
1388 * config/os/djgpp/bits/ctype_base.h,
1389 config/os/djgpp/bits/ctype_inline.h,
1390 config/os/djgpp/bits/ctype_noninline.h,
1391 config/os/djgpp/bits/os_defines.h: new files.
1393 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
1395 * include/c_std/bits/std_cstdio.h: Undef printf.
1397 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
1399 * src/ios.cc: Fix typo: change cout->wcout.
1401 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
1402 * src/Makefile.in: Regenerate.
1404 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1406 * include/bits/std_complex.h: Fix a typo.
1408 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
1411 Fixes for libstdc++/1576
1412 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
1413 file, move contents into....
1414 * src/ios.cc: ...Here. Put defines for iostreams objects and
1415 initialization routines into one file to simplify DSO interaction.
1416 * include/bits/std_iostream.h: Touch.
1417 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
1418 * src/Makefile.am (sources): Remove stdstreams.cc.
1419 * src/Makefile.in: Regenerate.
1421 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1423 * tests_flags.in (check_directory): Fix typo.
1425 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1427 * include/bits/std_complex.h: Fix a typo.
1429 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
1431 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
1432 code path:) Remove magic constants and restructure to handle
1433 ctype.h bit mask layout changes more gracefully. (Make fast
1434 code path:) Use __maskrune (), if available.
1435 (is): Remove special case for digit and xdigit masks.
1437 2001-01-09 Robert Lipe <robertlipe@usa.net>
1439 * include/c_std/bits/std_ctime.h: Undefine difftime.
1441 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
1443 * src/gen-num-limits.cc (signal_adapter): New template function.
1444 (signal_handler): Use it, instead of signal.
1445 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
1446 require both tests to trap to set trap_flag.
1448 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
1450 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
1451 initialize mbstate_t member, name offset data members *off, not pos.
1452 * include/bits/fstream.tcc (filebuf::filebuf): Same.
1454 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
1456 reported by Chris G. Demetriou <cgd@sibyte.com>
1457 * configure.in: Change -linux-* to -linux*.
1458 * configure: Regenerate.
1460 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
1462 Fix 27_io/filebuf_members.cc
1463 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
1464 const string& __name, category __cat, size_t __refs): Set
1465 _M_has_name with _M_name.
1466 * include/bits/localefwd.h (locale::operator!=): Protect member
1467 function call with this->.
1468 * src/locale.cc (locale::operator==): Make fast checks first.
1469 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
1471 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
1473 * src/ios.cc (ios_base::Init::Init): Initialize here.
1474 (ios_base::sync_with_stdio): Set here.
1476 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
1478 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
1479 systems that support it, call dup() before fdopen().
1481 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
1483 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
1484 * testsuite/17_intro/header_cwctype.cc (main): New file.
1486 * src/Makefile.am (base_headers): Change.
1487 * include/bits/std_string.h: And here.
1488 * include/bits/string.tcc: Tweaks, move to...
1489 * include/bits/basic_string.tcc: ...Here.
1490 * src/string-inst.cc: Simplify, just instantiate the whole class,
1491 not member-by-member.
1493 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
1495 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
1496 * aclocal.m4: Regenerate.
1497 * configure: Regenerate.
1499 * include/bits/c++config (__GLIBCPP__): Bump version number.
1501 * ChangeLog: Start new log for year 2001
1502 * ChangeLog-2000: New file.
1504 * docs/html/configopts.html: Make sure default values are current,
1507 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
1509 * include/c_std/bits/std_cwchar.h: Same.
1510 * testsuite/17_intro/header_cwchar.cc: Same.
1511 * include/c_std/bits/std_ctime.h: Same.
1512 * testsuite/17_intro/header_ctime.cc: Same.
1513 * include/c_std/bits/std_cstdlib.h: Same.
1514 Clean up undefs, make consistent with cwchar and cmath, etc.
1515 * testsuite/17_intro/header_cstdlib.cc: Same.
1516 * include/c_std/bits/std_cstdio.h: Same here.
1517 * testsuite/17_intro/header_cstring.cc: Same.
1518 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
1519 * testsuite/17_intro/header_cstring.cc: New file. Check for
1520 size_t in namespace std.
1522 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
1523 * acconfig.h (HAVE_MBSTATE_T): Add.
1524 * config.h.in: Regenerate.
1525 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
1527 * aclocal.m4: Regenerate.
1528 * configure: Regenerate.
1529 * testsuite/17_intro/headers_c++.cc: New file.
1530 * testsuite/17_intro/headers_c.cc: Small changes.
1532 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
1534 * tests_flags.in: Fix typo in usage.
1536 * tests_flags.in: Set target specific LIBS for cygwin.