1 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
3 * intclude/bits/basic_file.h: Fix typos in comments.
5 2001-03-20 Richard Henderson <rth@redhat.com>
7 * src/gen-num-limits.cc: Instantiate for wchar_t.
8 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
10 2001-03-20 Jason Merrill <jason@redhat.com>
12 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
13 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
14 * libsupc++/cxxabi.h: Declare it.
16 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
18 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
19 signal_func with an unspecified argument list.
21 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
23 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
25 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
27 * include/bits/basic_string.tcc (operator+): Fix thinko.
29 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
32 * include/bits/std_streambuf.h: Remove cached locale facets.
33 (basic_streambuf::_M_buf_fctype): Remove.
34 (basic_streambuf::~basic_streambuf): Remove here.
35 (basic_streambuf::basic_streambuf): Same.
36 (basic_streambuf::imbue): Same.
37 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
38 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
39 (basic_filebuf::~basic_filebuf()): Remove here.
40 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
41 (basic_filebuf::imbue): Same.
42 * include/bits/localefwd.h (_Count_ones): Remove.
43 (locale::_S_num_categories): Just use 6, since this doesn't
44 actually change, ever.
45 * include/bits/locale_facets.tcc (has_facet): Simplify.
47 * testsuite/27_io/filebuf.cc (test06): Add tests.
49 2001-03-13 Steve Ellcey <sje@cup.hp.com>
51 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
52 match HP-UX ctype.h header file.
54 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
56 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
57 duplicate definitions of __dj_ctype_*
59 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
61 * libsupc++/new: Remove pragma interface.
62 * libsupc++/typeinfo: Same.
63 * libsupc++/exception: Same.
64 * libsupc++/new_handler.cc: Remove pragma implementation.
65 (bad_alloc::~bad_alloc()): Add.
66 * libsupc++/exception_support.cc: Same.
67 (exception::~exception): Add.
68 (bad_exception::~bad_exception): Add.
69 * libsupc++/tinfo.cc: Same.
70 (bad_cast::~bad_cast): Add.
71 (bad_typeid::~bad_typeid): Add.
73 2001-03-13 Phil Edwards <pme@sources.redhat.com>
75 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
77 2001-03-12 Felix Lee <flee@redhat.com>
79 * mkcheck.in: workaround for bash 2.01 IFS bug.
81 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
83 Fixups for -fno-for-scope
84 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
85 * src/valarray-inst.cc (__gslice_to_index): Same.
87 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
89 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
90 prior to trapping signal (UnixWare 7 workaround).
92 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
94 * include/backward/hashtable.h: Same.
95 * include/backward/rope.h: Fix include.
97 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
99 * include/backward/vector.h: Include std_vector.h.
101 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
102 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
105 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
107 * include/ext/stl_hashtable.h: Change type of __n to size_t
108 * include/backward/bvector.h: Include <ext/stl_bvector.h>
110 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
112 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
113 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
114 Use streamsize, not int_type.
116 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
118 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
121 2001-03-08 Andreas Schwab <schwab@suse.de>
123 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
125 * aclocal.m4, configure: Regenerated.
127 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
129 * include/bits/std_iosfwd.h: Remove string forward decls here.
130 * include/bits/stringfwd.h: Add forward decls for char_traits
132 * config/c_io_libio.h (wstreamoff): Delete.
133 * config/c_io_stdio.h (wstreamoff): Same.
134 * include/bits/char_traits.h: Use streamoff not wstreamoff for
135 char_traits<wchar_t>::off_type.
136 Remove duplicate typedefs.
137 * include/bits/fpos.h: Define streampos/wstreampos here.
138 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
141 Changeup output files.
142 * testsuite/27_io/istream_unformatted.cc: Change output files.
143 * testsuite/27_io/istream_seeks-1.txt: Add.
144 * testsuite/27_io/istream_seeks-2.tst: Add.
145 * testsuite/27_io/istream_seeks-1.tst: Add.
146 * testsuite/27_io/istream_unformatted-2.tst: Delete.
147 * testsuite/27_io/istream_unformatted-3.tst: Delete.
148 * testsuite/27_io/istream_unformatted-3.txt: Delete.
150 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
152 Add Irix 5.2, 6.3 support.
153 * config/os/irix/bits: Renamed to...
154 * config/os/irix/irix6.5/bits: this.
155 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
156 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
157 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
158 * config/os/irix/irix5.2/bits/ctype_noninline.h
159 (ctype<char>::ctype): Initialize _M_table with __ctype.
160 * configure.target: Adjust.
162 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
165 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
166 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
168 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
169 (*__pf)(__ios_type&)): Same.
170 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
171 (*__pf)(ios_base&))): Same.
172 * testsuite/27_io/istream_extractor_other.cc: Add tests.
173 * testsuite/27_io/istream_manip.cc (test01): Fix.
175 2001-03-06 Nathan Myers <ncm@cantrip.org>
176 Benjamin Kosnik <bkoz@redhat.com>
178 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
179 * testsuite/17_intro/header_cerrno.cc (test01): New file.
180 * testsuite/17_intro/header_cassert.cc (test01): New file.
181 * testsuite/17_intro/header_cstddef.cc (test01): New file.
182 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
183 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
185 2001-03-05 scott snyder <snyder@fnal.gov>
188 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
190 * include/c_std/bits/std_cstdlib.h: ... to here.
191 * testsuite/17_intro/header_cstdlib.cc: Add test.
193 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
195 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
197 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
199 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
200 definition. Replace enum with static const variables.
202 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
203 throw specification, fix typos, use <static_cast>.
204 (ctype<char>::scan_is): remove throw specification.
205 (ctype<char>::scan_not): likewise.
207 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
208 (ctype<char>::do_toupper(char)): use <static_cast>.
209 (ctype<char>::do_toupper(char *, const char *)): likewise.
210 (ctype<char>::do_tolower(char)): likewise.
211 (ctype<char>::do_tolower(char *, const char *)): likewise.
213 2001-03-04 Phil Edwards <pme@sources.redhat.com>
215 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
216 * include/backward/algo.h: Use std not __STD. Remove unneeded
217 macros and "never happens" code. Adjust to C++STYLE guidelines.
218 * include/backward/algobase.h: Likewise.
219 * include/backward/alloc.h: Likewise.
220 * include/backward/bvector.h: Likewise.
221 * include/backward/deque.h: Likewise.
222 * include/backward/function.h: Likewise.
223 * include/backward/hash_map.h: Likewise.
224 * include/backward/hash_set.h: Likewise.
225 * include/backward/hashtable.h: Likewise.
226 * include/backward/heap.h: Likewise.
227 * include/backward/iterator.h: Likewise.
228 * include/backward/list.h: Likewise.
229 * include/backward/map.h: Likewise.
230 * include/backward/multimap.h: Likewise.
231 * include/backward/multiset.h: Likewise.
232 * include/backward/pair.h: Likewise.
233 * include/backward/rope.h: Likewise.
234 * include/backward/set.h: Likewise.
235 * include/backward/slist.h: Likewise.
236 * include/backward/stack.h: Likewise.
237 * include/backward/strstream: Likewise.
238 * include/backward/tempbuf.h: Likewise.
239 * include/backward/tree.h: Likewise.
240 * include/backward/vector.h: Likewise.
241 * include/bits/basic_ios.h: Likewise.
242 * include/bits/basic_ios.tcc: Likewise.
243 * include/bits/basic_string.h: Likewise.
244 * include/bits/c++config: Likewise.
245 * include/bits/concept_checks.h: Likewise.
246 * include/bits/fpos.h: Likewise.
247 * include/bits/fstream.tcc: Likewise.
248 * include/bits/functexcept.h: Likewise.
249 * include/bits/ios_base.h: Likewise.
250 * include/bits/istream.tcc: Likewise.
251 * include/bits/mask_array.h: Likewise.
252 * include/bits/ostream.tcc: Likewise.
253 * include/bits/pthread_allocimpl.h: Likewise.
254 * include/bits/sbuf_iter.h: Likewise.
255 * include/bits/slice.h: Likewise.
256 * include/bits/slice_array.h: Likewise.
257 * include/bits/sstream.tcc: Likewise.
258 * include/bits/std_bitset.h: Likewise.
259 * include/bits/std_fstream.h: Likewise.
260 * include/bits/std_iomanip.h: Likewise.
261 * include/bits/std_ios.h: Likewise.
262 * include/bits/std_istream.h: Likewise.
263 * include/bits/std_iterator.h: Likewise.
264 * include/bits/std_memory.h: Likewise.
265 * include/bits/std_ostream.h: Likewise.
266 * include/bits/std_sstream.h: Likewise.
267 * include/bits/std_streambuf.h: Likewise.
268 * include/bits/std_string.h: Likewise.
269 * include/bits/std_valarray.h: Likewise.
270 * include/bits/stl_algo.h: Likewise.
271 * include/bits/stl_algobase.h: Likewise.
272 * include/bits/stl_alloc.h: Likewise.
273 * include/bits/stl_construct.h: Likewise.
274 * include/bits/stl_deque.h: Likewise.
275 * include/bits/stl_function.h: Likewise.
276 * include/bits/stl_heap.h: Likewise.
277 * include/bits/stl_iterator.h: Likewise.
278 * include/bits/stl_iterator_base.h: Likewise.
279 * include/bits/stl_list.h: Likewise.
280 * include/bits/stl_map.h: Likewise.
281 * include/bits/stl_multimap.h: Likewise.
282 * include/bits/stl_multiset.h: Likewise.
283 * include/bits/stl_numeric.h: Likewise.
284 * include/bits/stl_pair.h: Likewise.
285 * include/bits/stl_pthread_alloc.h: Likewise.
286 * include/bits/stl_queue.h: Likewise.
287 * include/bits/stl_raw_storage_iter.h: Likewise.
288 * include/bits/stl_relops.h: Likewise.
289 * include/bits/stl_set.h: Likewise.
290 * include/bits/stl_stack.h: Likewise.
291 * include/bits/stl_tempbuf.h: Likewise.
292 * include/bits/stl_threads.h: Likewise.
293 * include/bits/stl_tree.h: Likewise.
294 * include/bits/stl_uninitialized.h: Likewise.
295 * include/bits/stl_vector.h: Likewise.
296 * include/bits/streambuf.tcc: Likewise.
297 * include/bits/type_traits.h: Likewise.
298 * include/bits/valarray_meta.h: Likewise.
299 * include/ext/bvector: Likewise.
300 * include/ext/hash_map: Likewise.
301 * include/ext/hash_set: Likewise.
302 * include/ext/ropeimpl.h: Likewise.
303 * include/ext/slist: Likewise.
304 * include/ext/stl_bvector.h: Likewise.
305 * include/ext/stl_hash_fun.h: Likewise.
306 * include/ext/stl_hashtable.h: Likewise.
307 * include/ext/stl_rope.h: Likewise.
308 * src/complex_io.cc: Likewise.
309 * src/ios.cc: Likewise.
310 * src/locale-inst.cc: Likewise.
311 * src/locale.cc: Likewise.
312 * src/localename.cc: Likewise.
313 * src/misc-inst.cc: Likewise.
314 * src/stdexcept.cc: Likewise.
315 * src/stl-inst.cc: Likewise.
316 * src/strstream.cc: Likewise.
317 * src/valarray-inst.cc: Likewise.
319 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
321 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
323 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
325 * include/bits/istream.tcc: change type of __extracted to __size_type
327 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
329 * src/wstring-inst.cc: New file.
330 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
331 (libinst_wstring_la_SOURCES): Remove.
332 (libstdc___la_LIBADD): Remove libinst_wstring_la.
333 (sources): Add wstring-inst.cc
334 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
337 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
339 * src/locale.cc: initialise __ret with zero
340 * src/strstream.cc:cast gptr to int_type
342 2001-03-01 Phil Edwards <pme@sources.redhat.com>
344 * docs/html/faq/index.html: Update broken links.
345 * docs/html/faq/index.txt: Regenerated.
347 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
350 * configure.target: Change irix* to irix6.5* in target_os table.
352 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
355 * include/bits/c++config (__GLIBCPP__): Bump number in
356 anticipation of 2.92.
358 * include/bits/codecvt.h: Fix typo.
359 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
361 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
362 instantiations for stdio model.
364 2001-02-28 Phil Edwards <pme@sources.redhat.com>
366 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
367 and GLIBCPP_CXXFLAGS as unused variables.
368 * configure.host: Likewise.
369 * configure.target: Likewise.
370 * aclocal.m4: Regenerated.
371 * configure: Regenerated.
372 * Makefile.in: Regenerated.
373 * libio/Makefile.in: Regenerated.
374 * libmath/Makefile.in: Regenerated.
375 * libsupc++/Makefile.in: Regenerated.
376 * src/Makefile.in: Regenerated.
378 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
381 * include/bits/basic_file.h: Include basic_file_model.h.
382 * config/c_io_libio.cc: Move to...
383 * config/basic_file_libio.cc: Here.
384 * config/basic_file_libio.h: New file.
385 * config/c_io_stdio.cc: Move to...
386 * config/basic_file_stdio.cc: Here.
387 * config/basic_file_stdio.h: New file.
388 * config/c_io_libio.h: Tweak.
389 * config/c_io_stdio.h: Tweak.
390 * src/Makefile.am (build_headers): Add basic_file_model.h.
391 (sources): Add basic_file.cc, remove c++io.cc.
392 * src/Makefile.in: Regenerate.
393 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
394 basic_file_model.h and basic_file.cc.
395 * aclocal.m4: Regenerate.
396 * configure: Regenerate.
397 * testsuite/27_io/filebuf.cc (test05): Add regression.
399 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
402 * config/cpu/alpha/bits/atomicity.h: Change.
403 * config/cpu/arm/bits/atomicit3y.h
404 * config/cpu/generic/bits/atomicity.h
405 * config/cpu/i386/bits/atomicity.h
406 * config/cpu/i486/bits/atomicity.h
407 * config/cpu/ia64/bits/atomicity.h
408 * config/cpu/powerpc/bits/atomicity.h
409 * config/cpu/sparc/sparc32/bits/atomicity.h
410 * config/cpu/sparc/sparc64/bits/atomicity.h
411 * config/os/aix/bits/atomicity.h
412 * config/os/irix/bits/atomicity.h
414 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
416 * include/bits/std_stdexcept.h (runtime_error): Make string
419 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
422 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
426 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
427 string object, not reference.
428 (runtime_error::runtime_error): Same.
429 * testsuite/19_diagnostics/stdexceptions.cc: New file.
431 2001-02-26 Phil Edwards <pme@sources.redhat.com>
433 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
434 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
435 diagnostics. Remove WFMT_FLAGS.
436 * configure.in: Replace WFMT_FLAGS with diagnostics options.
437 * libsupc++/Makefile.am: Likewise.
438 * src/Makefile.am: Likewise.
439 * aclocal.m4: Regenerated.
440 * configure: Regenerated.
441 * Makefile.in: Regenerated.
442 * libio/Makefile.in: Regenerated.
443 * libmath/Makefile.in: Regenerated.
444 * libsupc++/Makefile.in: Regenerated.
445 * src/Makefile.in: Regenerated.
447 2001-02-26 Phil Edwards <pme@sources.redhat.com>
450 * include/backward/iomanip.h: Expose <ios> manipulators to global
452 * include/backward/iostream.h: Also expose std::ws.
454 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
456 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
458 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
460 * include/bits/codecvt.h: Use __builtin_alloca.
461 * include/bits/ostream.tcc: Same.
462 * include/bits/fstream.tcc: Same.
464 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
466 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
468 2001-02-23 David Edelsohn <dje@watson.ibm.com>
470 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
472 2001-02-23 Phil Edwards <pme@sources.redhat.com>
475 * include/backward/iostream.h: Expose std::flush in old headers.
477 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
479 * mknumeric_limits: Remove special-casing on target. Use gcc
480 instead of g++ to build gen-num-limits.cc
482 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
484 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
486 * include/bits/codecvt.h: Use alloca instead of __extension__ for
488 * include/bits/ostream.tcc: Same.
489 * include/bits/std_ostream.h: Same.
490 * include/bits/fstream.tcc: Same.
491 * include/bits/locale_facets.tcc: Add typename.
492 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
494 2001-02-21 Phil Edwards <pme@sources.redhat.com>
496 * tests_flags.in: Remove -n flag from call to echo.
498 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
500 * config/c_locale_gnu.h: Add clocale include.
502 2001-02-20 Phil Edwards <pme@sources.redhat.com>
504 * include/bits/stl_config.h: Remove file.
505 * src/Makefile.am (base_headers): Remove from list.
506 * configure: Regenerate.
507 * Makefile.in: Ditto.
508 * libio/Makefile.in: Ditto.
509 * libmath/Makefile.in: Ditto.
510 * libsupc++/Makefile.in: Ditto.
511 * src/Makefile.in: Ditto.
513 * include/bits/c++config: Move relevant macros to here.
514 * include/backward/alloc.h: Include c++config.h instead.
515 * include/backward/function.h: Ditto.
516 * include/backward/heap.h: Ditto.
517 * include/backward/pair.h: Ditto.
518 * include/bits/pthread_allocimpl.h: Ditto.
519 * include/bits/std_functional.h: Ditto.
520 * include/bits/std_iterator.h: Ditto.
521 * include/bits/std_numeric.h: Ditto.
522 * include/bits/std_utility.h: Ditto.
523 * include/bits/stl_algobase.h: Ditto.
524 * include/bits/type_traits.h: Ditto.
525 * src/stl-inst.cc: Ditto.
527 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
529 * include/bits/basic_file.h: Add #pragma system_header
530 * include/bits/basic_ios.h: Ditto.
531 * include/bits/basic_string.h: Ditto.
532 * include/bits/char_traits.h: Ditto.
533 * include/bits/codecvt.h: Ditto.
534 * include/bits/cpp_type_traits.h: Ditto.
535 * include/bits/fpos.h: Ditto.
536 * include/bits/gslice.h: Ditto.
537 * include/bits/gslice_array.h: Ditto.
538 * include/bits/indirect_array.h: Ditto.
539 * include/bits/ios_base.h: Ditto.
540 * include/bits/limits_generic.h: Ditto.
541 * include/bits/locale_facets.h: Ditto.
542 * include/bits/localefwd.h: Ditto.
543 * include/bits/mask_array.h: Ditto.
544 * include/bits/sbuf_iter.h: Ditto.
545 * include/bits/sequence_concepts.h: Ditto.
546 * include/bits/slice.h: Ditto.
547 * include/bits/slice_array.h: Ditto.
548 * include/bits/std_algorithm.h: Likewise.
549 * include/bits/std_bitset.h: Likewise.
550 * include/bits/std_complex.h: Likewise.
551 * include/bits/std_deque.h: Likewise.
552 * include/bits/std_fstream.h: Likewise.
553 * include/bits/std_functional.h: Likewise.
554 * include/bits/std_iomanip.h: Likewise.
555 * include/bits/std_ios.h: Likewise.
556 * include/bits/std_iosfwd.h: Likewise.
557 * include/bits/std_iostream.h: Likewise.
558 * include/bits/std_istream.h: Likewise.
559 * include/bits/std_iterator.h: Likewise.
560 * include/bits/std_list.h: Likewise.
561 * include/bits/std_locale.h: Likewise.
562 * include/bits/std_map.h: Likewise.
563 * include/bits/std_memory.h: Likewise.
564 * include/bits/std_numeric.h: Likewise.
565 * include/bits/std_ostream.h: Likewise.
566 * include/bits/std_queue.h: Likewise.
567 * include/bits/std_set.h: Likewise.
568 * include/bits/std_sstream.h: Likewise.
569 * include/bits/std_stack.h: Likewise.
570 * include/bits/std_stdexcept.h: Likewise.
571 * include/bits/std_streambuf.h: Likewise.
572 * include/bits/std_string.h: Likewise.
573 * include/bits/std_utility.h: Likewise.
574 * include/bits/std_valarray.h: Likewise.
575 * include/bits/std_vector.h: Likewise.
576 * include/bits/stringfwd.h: Likewise.
577 * include/bits/type_traits.h: Likewise.
578 * include/bits/valarray_array.h: Likewise.
579 * include/bits/valarray_meta.h: Likewise.
581 2001-02-19 Andreas Jaeger <aj@suse.de>
583 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
586 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
589 * include/bits/std_ostream.h: Replaced usage of
590 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
591 * include/bits/char_traits.h: Removed non-standard
592 methods that cannot be used elsewhere.
595 * include/bits/basic_ios.h: Uncommented #include of
599 * include/bits/codecvt.h: See next...
600 * include/bits/fstream.tcc: See next...
601 * include/bits/ostream.tcc: Add __extension__
602 to variable-length arrays.
605 * include/bits/localefwd.h: Changed int counter type to size_t.
608 * include/bits/std_fstream.h: Added typedef for __ctype_type.
610 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
612 * testsuite/21_strings/char_traits.cc: Move to ...
613 * testsuite/21_strings/char_traits_requirements.cc: ..here.
614 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
615 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
617 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
619 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
622 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
624 * include/bits/c++config: Revert.
626 2001-02-15 Mark Mitchell <mark@codesourcery.com>
628 * include/bits/istream.tcc: Use ios_base::iostate in place of
629 iostate throughout. Insert `typename' keyword where necessary.
630 * include/bits/ostream.tcc: Insert `typename' keyword where
633 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
635 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
636 Define so library is compliant.
638 2001-02-15 Anthony Green <green@redhat.com>
640 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
642 * aclocal.m4: Regenerate.
643 * configure: Regenerate.
645 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
647 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
648 Include ieeefp.h for fpclass on UnixWare{2,7}.
649 * aclocal.m4: Regenerate.
650 * configure: Regenerate.
651 * mkcheck.in (size_command): Do without GNU-grep when using
654 2001-02-15 Mark Mitchell <mark@codesourcery.com>
656 Remove old ABI support from libsupc++.
657 * libsupc++/cxxabi.h: Remove conditionally compiled code.
658 * libsupc++/exception_support.cc: Likewise.
659 * libsupc++/pure.cc: Likewise.
660 * libsupc++/tinfo.cc: Likewise.
661 * libsupc++/tinfo.h: Likewise.
662 * libsupc++/tinfo2.cc: Likewise.
663 * libsupc++/typeinfo: Likewise.
664 * libsupc++/vec.cc: Likewise.
666 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
668 Add support for -fno-exceptions.
669 * include/bits/exception_support.h: Remove.
670 * include/bits/basic_string.h: Remove exception_support.
671 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
673 (string::substr): Same.
674 * include/bits/basic_string.tcc (string::reserve): Replace
675 __LENGTHERROR with __throw_length_error.
676 (string::_S_create): Same.
677 (string::resize): Same.
678 (string::_M_replace): Same.
679 (string::replace): Same.
680 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
681 (string::compare): Same.
682 * include/bits/stl_vector.h: Remove exception_support.
683 * src/Makefile.am (base_headers): Remove here.
684 * src/Makefile.in: Regenerate.
686 * include/bits/stl_range_errors.h: Remove.
687 * include/bits/stl_deque.h: Use __throw_range_error.
688 * include/bits/std_deque.h: Include functexcept.h.
689 * include/bits/std_vector.h: Same.
690 * src/Makefile.am (base_headers): Remove here.
691 * src/Makefile.in: Regenerate.
692 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
693 * include/ext/bvector: Remove stl_range_errors.h
695 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
697 * include/bits/functexcept.h: New file.
698 * src/functexcept.cc: New file. Definitions for function-based
700 * src/Makefile.am (sources): Add functexcept.cc.
701 * src/Makefile.in: Regenerate.
703 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
706 * include/bits/localefwd.h: Include functexcept.h.
707 * include/bits/std_iosfwd.h: Same.
709 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
710 throw basic_ios::failure.
711 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
712 Use __throw_exception_again.
713 (filebuf::_M_filebuf_init): Same.
714 * include/bits/streambuf.tcc (__copy_streambufs): Same.
715 * include/bits/ostream.tcc (ostream::operator<<): Same.
716 * include/bits/istream.tcc (istream::operator>>): Same.
717 * include/bits/basic_string.tcc (string::_M_mutate): Same.
718 (string::_S_construct): Same.
719 (string::_M_clone): Same.
720 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
722 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
723 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
724 __throw_exception_again.
725 (locale::_Imp::_Imp(string, size_t): Same.
726 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
727 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
728 (locale::locale(const char*)): Use __throw_runtime_error.
729 (locale::classic): Use __throw_exception_again.
730 (locale::_S_normalize_category): Use __throw_runtime_error.
732 * src/stdexcept.cc: Remove cruft.
734 * libsupc++/exception_defines.h: New file.
735 * libsupc++/new_opnt.cc: Include exception_defines.h.
736 * libsupc++/vec.cc: Same.
737 (__cxa_vec_new2): Use __throw_exception_again.
738 (__cxa_vec_new3): Same.
739 (__cxa_vec_ctor): Same.
740 (__cxa_vec_delete3): Same.
741 (__cxa_vec_cctor): Same.
742 (__cxa_vec_delete2): Same.
743 (__cxa_vec_dtor): Same.
744 * libsupc++/exception_support.cc: Include exception_defines.h. Only
745 compile exception-handling bits if __EXCEPTIONS is defined.
746 Remove old ABI support.
747 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
748 std::__throw_bad_alloc() instead of throw bad_alloc.
749 * libsupc++/Makefile.am: Add exception_defines.h.
750 * libsupc++/Makefile.in: Reformat.
751 * libsupc++/*: Format.
753 2001-02-15 Phil Edwards <pme@sources.redhat.com>
755 * docs/html/configopts.html: Minor updates and typo fixes.
756 * docs/html/faq/index.html: Updates of the "not really bugs" list.
757 * docs/html/faq/index.txt: Regenerated.
759 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
761 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
762 dejagnu/dg.exp. Adapt to log options used to run testcases.
764 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
766 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
769 2001-02-13 Dirk Mueller <dmuell@gmx.net>
770 Phil Edwards <pme@sources.redhat.com>
772 * include/backward/function.h: Do not use rel_ops for older
774 * include/backward/pair.h: Likewise.
776 2001-02-12 Mark Mitchell <mark@codesourcery.com>
778 * src/locale.cc: Remove bogus locale::id definitions.
780 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
782 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
783 not _DEFINE_VALARRAY_OPERATOR which is not existent.
785 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
786 thinko in member initialisation.
788 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
790 * include/bits/std_valarray.h(valarray<>::shift): Avoid
791 comparaison between signed and unsigned integer types.
792 (valarray<>::cshift): Reformat.
794 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
796 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
797 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
798 * configure.in: Test for sigsetjmp.
799 * configure, config.h.in: Rebuilt.
801 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
803 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
805 (__gslice_to_index): Document.
807 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
809 * include/bits/char_traits.h char_traits<char>::int_type: Change
810 to `int' to match 21.1.3.1/2.
812 * testsuite/21_strings/char_traits-int_type.C: New test.
814 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
816 * testsuite/Makefile.am: New file.
818 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
820 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
822 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
824 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
826 2001-02-08 David Edelsohn <edelsohn@gnu.org>
828 * configure.target (aix4*): Remove extra set of brackets.
830 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
833 * include/bits/stringfwd.h: New file.
834 * include/bits/stl_string_fwd.h: Remove.
835 * include/bits/localefwd.h: Remove declaration for allocator.
836 * include/bits/std_iosfwd: Same.
837 * include/bits/std_string.h: Include it.
838 * include/bits/std_ios.h: Remove include.
839 * include/bits/basic_string.h: Tweak.
840 * libsupc++/new: Format.
841 * src/Makefile.am (base_headers): Add stringfwd.h, remove
843 * src/Makefile.in: Regenerate.
844 * include/bits/std_stdexcept.h: Rewrite.
845 * src/stdexcept.cc: Same.
847 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
849 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
850 install locations too.
851 * aclocal.m4: Regenerate.
852 * configure.in: Remove USE_LIBDIR.
853 * configure: Regenerate.
854 * src/Makefile.am (toolexecdir): Simplify, use
855 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
856 * src/Makefile.in: Regenerate.
857 * libsupc++/Makefile.am: Same.
858 * libsupc++/Makefile.in: Regenerate.
860 * src/Makefile.am: Just remove special rules for locale-inst.cc and
861 misc-inst.cc as no longer necessary.
863 Follow C++STYLE for naming non-static functions.
864 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
866 * include/bits/streambuf.tcc: Same.
867 * include/bits/ostream.tcc: Same.
868 * include/bits/istream.tcc: Same.
869 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
870 (_S_output_float): To __output_float.
871 * include/bits/std_streambuf.h (_S_copy_streambufs): To
873 * include/bits/locale_facets.tcc (_S_build_float_format): To
874 __build_float_format.
875 (_S_format): To __output_integer.
877 * src/locale.cc: Same.
878 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
880 * include/bits/locale_facets.tcc (_S_group_digits): To
882 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
883 for collate, numpunct.
885 2001-02-06 Phil Edwards <pme@sources.redhat.com>
887 * docs/html/configopts.html: Fix HTML markup.
888 * docs/html/install.html: Bring up to date.
889 * docs/html/17_intro/C++STYLE: Add global variable conventions.
890 * docs/html/21_strings/howto.html: More notes.
891 * docs/html/22_locale/howto.html: Fix HTML markup.
892 * docs/html/27_io/howto.html: More notes.
893 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
894 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
896 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
898 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
899 to match header files.
900 (_S_output_float): Likewise.
901 (_S_copy_streambufs): Likewise.
903 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
904 Phil Edwards <pme@sources.redhat.com>
906 * include/bits/std_istream.h (op>> signed,unsigned char): Must
907 use reinterpret_cast, not static_cast.
909 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
911 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
912 * aclocal.m4: Regenerate.
913 * configure: Regenerate.
915 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
917 * include/bits/locale_facets.h (class moneypunct): Fix typos.
918 * libsupc++/pure.cc: Revert.
920 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
922 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
923 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
924 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
925 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
926 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
927 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
928 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
929 * aclocal.m4: Regenerate.
930 * configure: Regenerate.
932 2001-02-05 Mark Mitchell <mark@codesourcery.com>
934 * include/bits/locale_facets.tcc: Remove `static' keyword on
935 function definitions.
936 * include/bits/std_streambuf.h: Likewise.
937 * src/Makefile.am: Remove use of -fimplicit-templates.
938 * src/Makefile.in: Regenerated.
939 * src/locale-inst.cc: Explicitly instantiate more functions.
940 * src/misc-inst.cc: Likewise.
941 * src/string-inst.cc: Likewise.
943 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
945 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
946 macro. Consolidate all the bits to do with where includes might be
948 * aclocal.m4: Regenerate.
949 * configure.in: Use it.
950 * configure: Regenerate.
951 * src/Makefile.am (targetincludep): Use simplified rules.
952 (targetincludep): Rename gxx_target_include_dir.
953 (myincludep): Rename gxx_include_dir.
954 * src/Makefile.in: Regenerate.
955 * libsupc++/Makefile.am: Use simplified rules.
956 * libsupc++/Makefile.in: Regenerate.
958 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
960 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
961 * include/c_std/bits/std_cctype.h: Same.
962 * include/c_std/bits/std_cassert.h: Same.
963 * include/c_std/bits/std_cstdarg.h: Same.
964 * include/c_std/bits/std_cstddef.h: Same.
966 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
968 * include/c_std/bits/std_ctime.h: Same.
969 * include/c_std/bits/std_clocale.h: Same.
970 * include/c_std/bits/std_cmath.h: Same.
971 * include/c_std/bits/std_csetjmp.h: Same.
972 * include/c_std/bits/std_csignal.h: Same.
973 * include/c_std/bits/std_cstring.h: Same.
974 * include/c_std/bits/std_cstdlib.h: Same.
975 * include/c_std/bits/std_cwchar.h: Same.
977 2001-02-05 Phil Edwards <pme@sources.redhat.com>
979 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
981 2001-02-05 Mark Mitchell <mark@codesourcery.com>
983 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
984 (string::_S_construct): Likewise.
986 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
988 * testsuite/config/default.exp: New file.
989 * testsuite/config: New directory.
991 2001-02-04 Mark Mitchell <mark@codesourcery.com>
993 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
994 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
995 whenever !__GXX_MERGED_TYPEINFO_NAMES.
996 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
998 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1001 * Makefile.am (mkinstalldirs): Set.
1002 * src/Makefile.am (mkinstalldirs): Set.
1003 * libmath/Makefile.am (mkinstalldirs): Set.
1004 * libsup++/Makefile.am (mkinstalldirs): Set.
1005 * libio/Makefile.am (mkinstalldirs): Set.
1006 * */Makefile.in: Regenerate.
1008 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
1010 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
1011 * include/bits/localefwd.h: More initialization cleanups.
1013 2001-02-03 Jeffrey A Law <law@cygnus.com>
1015 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
1016 correctly targets with 16bit ints.
1017 (_S_ios_openmode_end): Similarly.
1018 (_S_ios_iostate_end): Similarly.
1019 (_S_ios_Seekdir_end): Similarly.
1021 2001-02-02 Phil Edwards <pme@sources.redhat.com>
1023 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
1025 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
1027 * configure.in (toplevel_srcdir, auxdir): Set.
1028 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
1029 * aclocal.m4, configure, Makefile.in: Rebuilt.
1030 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
1031 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
1032 * libsupc++-v3/Makefile.in: Rebuilt.
1033 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
1034 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
1036 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
1038 * config/c_locale_generic.cc: Remove langinfo include.
1040 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
1042 Preliminary named locales.
1043 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
1044 * aclocal.m4: Regenerate.
1045 * configure.in: Use it.
1046 * configure: Regerate.
1047 * src/Makefile.am (sources): Add c++locale.cc.
1048 (build_headers): Add c++locale.h.
1049 * src/Makefile.in: Regenerate.
1050 * config/c_locale_gnu.h: New file.
1051 * config/c_locale_gnu.cc: New file. Non-inline member functions
1052 for named locales, gnu-specific.
1053 * config/c_locale_generic.h: New file.
1054 * config/c_locale_generic.cc: New file. Non-inline member
1055 functions for named locales, generic version.
1056 * docs/html/configopts.html: Add documentation on new options.
1058 * include/bits/locale_facets.h (class _Messages): Remove.
1059 (class _Moneypunct): Remove.
1060 * src/locale-inst.cc: Remove.
1062 * include/bits/locale_facets.h (class _Collate): Remove.
1063 * src/locale-inst.cc (std): Remove.
1064 * src/locale.cc: And here.
1066 * include/bits/localefwd.h (locale::_M_coalesce): New
1067 function. Correctly put together multi-name locales.
1068 (_Impl(const _Impl&, category, size_t)): Remove.
1070 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
1072 (_M_normalize_category_names): Remove.
1073 (_M_replace_categories): Fix.
1075 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
1076 (locale::_Impl::_M_construct_ctype): Remove.
1077 (locale::_Impl::_M_construct_monetary): Remove.
1078 (locale::_Impl::_M_construct_numeric): Remove.
1079 (locale::_Impl::_M_construct_time): Remove.
1080 (locale::_Impl::_M_construct_messages): Remove.
1082 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
1083 (_Use_facet_failure_handle): Remove.
1084 * src/locale.cc: Remove definitions.
1085 * src/locale-inst.cc: And here.
1087 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
1089 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
1090 create and error-check underlying locale object.
1091 (locale::facet::_S_destroy_c_locale): Add, take care of properly
1092 tearing down underlying locale object.
1093 * include/bits/localefwd.h (locale::facet): Declare.
1094 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
1095 correctness, as glibc apparently has incorrect info in it. Test
1096 with it when it works again.....
1098 * include/bits/localefwd.h (locale::_Impl::__vec_string):
1099 Remove. Number of categories is fixed at six, so just simplify and
1100 make this an array of strings.
1101 (locale::_Impl::_M_has_name): Remove.
1102 (locale::_Impl::_M_name): Remove.
1103 (locale::_Impl::_M_category_names): Turns into...
1104 (locale::_Impl::_M_names): ...this.
1105 (locale::_Impl::_M_has_same_name()): New function.
1106 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
1107 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
1109 * src/locale.cc (locale::name()): Construct mangled name
1110 accurately reflecting combined locale categories.
1112 * src/locale.cc (locale::classic()): Don't initialize here.
1113 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
1114 __refs, bool __has_name, string __str): Do it here.
1116 * include/bits/localefwd.h: _S_categories_num to
1117 _S_num_categories. _S_facets_num to _S_num_facets.
1118 (locale::id::id()): Explicitly set _M_index to zero.
1119 * src/locale.cc: Same.
1121 * src/locale.cc: (locale::locale(const char*)): Construct named
1124 * src/locale.cc: Remove numpunct_byname ctors.
1125 * testsuite/22_locale/numpunct_byname.cc: New file.
1126 * testsuite/22_locale/numpunct.cc: New file.
1128 * include/bits/localefwd.h (class locale): Change data members to
1129 protected, from private.
1130 (_Impl::_M_get_c_locale): Add member function.
1131 (locale::facet::_M_get_global_impl()): Add member function.
1132 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
1133 a __c_locale pointer.
1134 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
1136 * testsuite/22_locale/members.cc: New file, test name and combine.
1138 * include/bits/locale_facets.h (class numpunct): Remove class
1139 _Punct and _Numpunct. Rewrite class numpunct to be correct for
1141 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
1142 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
1143 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
1144 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
1145 * testsuite/22_locale/numpunct_char_members.cc: New file.
1147 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
1149 * testsuite/README: Add more comment.
1150 * testsuite/lib/libstdc++.exp: Tweak comment.
1152 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
1154 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
1156 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
1158 * testsuite/21_strings/inserters_extractors.cc: Remove
1159 explicit reference to 'testsuite/'.
1161 2001-01-25 Richard Henderson <rth@redhat.com>
1163 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
1164 bits. Fixes Tru64 build issues.
1166 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1168 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
1169 (use ${MAKE-make}, not ${MAKE:-make}).
1170 * aclocal.m4, configure: Regenerate.
1172 2001-01-25 Mark Mitchell <mark@codesourcery.com>
1174 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
1177 * src/Makefile.am (sources): Add globals.cc.
1178 * src/Makefile.in: Regenerated.
1179 * src/globals.cc: New file.
1180 * src/ios.cc (cin): Don't define here, just declare extern.
1189 2001-01-25 Phil Edwards <pme@sources.redhat.com>
1191 * include/bits/std_iterator.h: Do not include stl_relops.h.
1192 * include/bits/std_numeric.h: Ditto.
1193 * include/bits/stl_algobase.h: Ditto.
1194 * include/bits/stl_relops.h: Add comment warning about problems.
1196 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
1198 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
1199 in testcases. Prepare for the DejaGnu based framework.
1200 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
1201 directory -- it is now mkcheck working directory.
1202 * tests_flags.in: Remove reference to $(top_srcdir). Use
1204 * Makefile.am (check, check-install): Change mkcheck invocation
1206 * Makefile.in: Regenerate.
1208 2001-01-24 Mark Mitchell <mark@codesourcery.com>
1210 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
1211 (__always_swap): Likewise.
1213 2001-01-23 Chris Demetriou <cgd@broadcom.com>
1215 * libsupc++/exception_support.cc (__terminate_func): Remove
1217 (__terminate_func_ptr): New typedef.
1218 (__terminate, __terminate_set_func): New extern function
1220 (std::terminate): Use __terminate function.
1221 (std::set_terminate): Use __terminate_set_func function.
1223 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
1225 * configure.target: Just use os_include_dir always.
1226 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
1227 Link atomicity files and ctype files here.
1228 * configure: Regenerate.
1229 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
1230 (GLIBCPP_ENABLE_ATOMICITY): Remove.
1231 * aclocal.m4: Regenerate.
1233 2001-01-23 Chris Demetriou <cgd@broadcom.com>
1235 * configure.in: Place definition of MULTISUBDIR in
1236 libsupc++/Makefile as is done for src/Makefile.
1237 * configure: Regenerate.
1239 2001-01-23 Phil Edwards <pme@sources.redhat.com>
1241 * acinclude.m4: Cosmetic changes only.
1242 * aclocal.m4: Regenerated.
1243 * configure: Regenerated.
1244 * configure.target: Update documented list of changed variables.
1245 * docs/html/install.html: Fix typo.
1246 * docs/html/20_util/howto.html: More notes on auto_ptr.
1247 * docs/html/27_io/howto.html: More notes on streabufs.
1248 * docs/html/faq/index.html: Add rel_ops problem and mention the
1249 DEC as(1) .subsection difficulty.
1250 * docs/html/faq/index.txt: Regenerated.
1252 2001-01-23 Mark Mitchell <mark@codesourcery.com>
1254 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
1255 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
1256 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
1257 its already provided in config.target.
1258 * aclocal.m4: Regenerated.
1259 * configure: Likewise.
1260 * configure.target: Set ctype_include_dir for lots of systems.
1261 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
1262 * libsupc++/Makefile.in: Regenerated.
1264 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
1266 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
1269 * testsuite/README: Add comment.
1271 2001-01-21 Phil Edwards <pme@sources.redhat.com>
1273 * docs/html/configopts.html: Update for current status. Fix HTML.
1274 * docs/html/install.html: Update for current status.
1276 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1278 * testsuite/libstdc++.tests/tests.exp: New file.
1279 * testsuite/lib/libstdc++.exp: Itou.
1280 * testsuite/README: Itou.
1282 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
1284 * tests_flags.in: Just output the bare minimum to run tests.
1285 Let's the caller do its own arrangement.
1287 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
1290 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
1292 * testsuite/17_intro: Prepare testcases for new style DejaGnu
1295 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
1297 * testsuite/libstdc++.tests, testsuite/lib: New directories.
1299 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
1301 * mkcheck.in: Construct file names that match $objdir structure.
1302 * testsuite/27_io/filebuf_members-1.txt: New file.
1303 * testsuite/27_io/ifstream_members-1.txt: New file.
1304 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
1306 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
1307 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
1309 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1311 * testsuite/27_io/istream_sentry.cc (test02): Fix.
1313 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
1316 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
1317 * src/ios.cc (ios_base::failure): Make definitions match.
1318 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
1319 (class bad_cast): Same.
1320 * libsupc++/exception (class exception): Add throw specs.
1321 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
1322 (set_unexpected): Same.
1323 (uncaught_exception): Same.
1326 * docs/html/17_intro/C++STYLE (classname): Fix.
1328 2001-01-16 Mark Mitchell <mark@codesourcery.com>
1330 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
1331 Use it do explicitly instantiate predicate<T> and value<T> for
1334 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
1336 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
1337 uninitialized thinko in last change.
1339 2001-01-16 Mark Mitchell <mark@codesourcery.com>
1341 * libsupc++/exception_support.cc (__cp_pop_exception): Change
1344 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
1346 * docs/html/17_intro/C++STYLE (classname): Add more existing
1347 and stylish patterns.
1350 * include/bits/istream.tcc (istream::sentry::sentry()): Set
1351 failbit if the state of the stream is not good.
1352 * testsuite/27_io/istream_sentry.cc (test02): Add test.
1353 * testsuite/27_io/istream_manip.cc (test01): Modify.
1356 reported by Paolo Carlini <pcarlini@unitus.it>
1357 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
1358 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
1361 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
1362 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
1363 (xsgetn): Same. Simplify.
1364 * testsuite/27_io/streambuf.cc (test04): Add testcases.
1366 reported by Larry Evans <jcampbell3@prodigy.net>
1367 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
1368 equality with eof on returned value from overflow.
1370 2001-01-14 Andreas Jaeger <aj@suse.de>
1372 * libio/libio.h: Add test for glibc 2.0.
1374 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
1376 * config/os/djgpp/bits/*: Fix dates.
1378 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
1379 _CharT* __end, _CharT __c): Remove.
1380 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
1381 * include/bits/char_traits.h: Tweak.
1383 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
1385 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
1386 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
1388 * aclocal.m4: regenerated.
1389 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
1390 * configure: regenerated.
1391 * config/os/djgpp, config/os/djgpp/bits: new directories.
1392 * config/os/djgpp/bits/ctype_base.h,
1393 config/os/djgpp/bits/ctype_inline.h,
1394 config/os/djgpp/bits/ctype_noninline.h,
1395 config/os/djgpp/bits/os_defines.h: new files.
1397 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
1399 * include/c_std/bits/std_cstdio.h: Undef printf.
1401 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
1403 * src/ios.cc: Fix typo: change cout->wcout.
1405 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
1406 * src/Makefile.in: Regenerate.
1408 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1410 * include/bits/std_complex.h: Fix a typo.
1412 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
1415 Fixes for libstdc++/1576
1416 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
1417 file, move contents into....
1418 * src/ios.cc: ...Here. Put defines for iostreams objects and
1419 initialization routines into one file to simplify DSO interaction.
1420 * include/bits/std_iostream.h: Touch.
1421 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
1422 * src/Makefile.am (sources): Remove stdstreams.cc.
1423 * src/Makefile.in: Regenerate.
1425 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1427 * tests_flags.in (check_directory): Fix typo.
1429 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1431 * include/bits/std_complex.h: Fix a typo.
1433 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
1435 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
1436 code path:) Remove magic constants and restructure to handle
1437 ctype.h bit mask layout changes more gracefully. (Make fast
1438 code path:) Use __maskrune (), if available.
1439 (is): Remove special case for digit and xdigit masks.
1441 2001-01-09 Robert Lipe <robertlipe@usa.net>
1443 * include/c_std/bits/std_ctime.h: Undefine difftime.
1445 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
1447 * src/gen-num-limits.cc (signal_adapter): New template function.
1448 (signal_handler): Use it, instead of signal.
1449 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
1450 require both tests to trap to set trap_flag.
1452 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
1454 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
1455 initialize mbstate_t member, name offset data members *off, not pos.
1456 * include/bits/fstream.tcc (filebuf::filebuf): Same.
1458 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
1460 reported by Chris G. Demetriou <cgd@sibyte.com>
1461 * configure.in: Change -linux-* to -linux*.
1462 * configure: Regenerate.
1464 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
1466 Fix 27_io/filebuf_members.cc
1467 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
1468 const string& __name, category __cat, size_t __refs): Set
1469 _M_has_name with _M_name.
1470 * include/bits/localefwd.h (locale::operator!=): Protect member
1471 function call with this->.
1472 * src/locale.cc (locale::operator==): Make fast checks first.
1473 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
1475 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
1477 * src/ios.cc (ios_base::Init::Init): Initialize here.
1478 (ios_base::sync_with_stdio): Set here.
1480 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
1482 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
1483 systems that support it, call dup() before fdopen().
1485 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
1487 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
1488 * testsuite/17_intro/header_cwctype.cc (main): New file.
1490 * src/Makefile.am (base_headers): Change.
1491 * include/bits/std_string.h: And here.
1492 * include/bits/string.tcc: Tweaks, move to...
1493 * include/bits/basic_string.tcc: ...Here.
1494 * src/string-inst.cc: Simplify, just instantiate the whole class,
1495 not member-by-member.
1497 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
1499 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
1500 * aclocal.m4: Regenerate.
1501 * configure: Regenerate.
1503 * include/bits/c++config (__GLIBCPP__): Bump version number.
1505 * ChangeLog: Start new log for year 2001
1506 * ChangeLog-2000: New file.
1508 * docs/html/configopts.html: Make sure default values are current,
1511 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
1513 * include/c_std/bits/std_cwchar.h: Same.
1514 * testsuite/17_intro/header_cwchar.cc: Same.
1515 * include/c_std/bits/std_ctime.h: Same.
1516 * testsuite/17_intro/header_ctime.cc: Same.
1517 * include/c_std/bits/std_cstdlib.h: Same.
1518 Clean up undefs, make consistent with cwchar and cmath, etc.
1519 * testsuite/17_intro/header_cstdlib.cc: Same.
1520 * include/c_std/bits/std_cstdio.h: Same here.
1521 * testsuite/17_intro/header_cstring.cc: Same.
1522 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
1523 * testsuite/17_intro/header_cstring.cc: New file. Check for
1524 size_t in namespace std.
1526 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
1527 * acconfig.h (HAVE_MBSTATE_T): Add.
1528 * config.h.in: Regenerate.
1529 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
1531 * aclocal.m4: Regenerate.
1532 * configure: Regenerate.
1533 * testsuite/17_intro/headers_c++.cc: New file.
1534 * testsuite/17_intro/headers_c.cc: Small changes.
1536 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
1538 * tests_flags.in: Fix typo in usage.
1540 * tests_flags.in: Set target specific LIBS for cygwin.