1 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
3 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
4 signal_func with an unspecified argument list.
6 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
8 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
10 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
12 * include/bits/basic_string.tcc (operator+): Fix thinko.
14 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
17 * include/bits/std_streambuf.h: Remove cached locale facets.
18 (basic_streambuf::_M_buf_fctype): Remove.
19 (basic_streambuf::~basic_streambuf): Remove here.
20 (basic_streambuf::basic_streambuf): Same.
21 (basic_streambuf::imbue): Same.
22 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
23 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
24 (basic_filebuf::~basic_filebuf()): Remove here.
25 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
26 (basic_filebuf::imbue): Same.
27 * include/bits/localefwd.h (_Count_ones): Remove.
28 (locale::_S_num_categories): Just use 6, since this doesn't
29 actually change, ever.
30 * include/bits/locale_facets.tcc (has_facet): Simplify.
32 * testsuite/27_io/filebuf.cc (test06): Add tests.
34 2001-03-13 Steve Ellcey <sje@cup.hp.com>
36 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
37 match HP-UX ctype.h header file.
39 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
41 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
42 duplicate definitions of __dj_ctype_*
44 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
46 * libsupc++/new: Remove pragma interface.
47 * libsupc++/typeinfo: Same.
48 * libsupc++/exception: Same.
49 * libsupc++/new_handler.cc: Remove pragma implementation.
50 (bad_alloc::~bad_alloc()): Add.
51 * libsupc++/exception_support.cc: Same.
52 (exception::~exception): Add.
53 (bad_exception::~bad_exception): Add.
54 * libsupc++/tinfo.cc: Same.
55 (bad_cast::~bad_cast): Add.
56 (bad_typeid::~bad_typeid): Add.
58 2001-03-13 Phil Edwards <pme@sources.redhat.com>
60 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
62 2001-03-12 Felix Lee <flee@redhat.com>
64 * mkcheck.in: workaround for bash 2.01 IFS bug.
66 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
68 Fixups for -fno-for-scope
69 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
70 * src/valarray-inst.cc (__gslice_to_index): Same.
72 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
74 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
75 prior to trapping signal (UnixWare 7 workaround).
77 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
79 * include/backward/hashtable.h: Same.
80 * include/backward/rope.h: Fix include.
82 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
84 * include/backward/vector.h: Include std_vector.h.
86 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
87 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
90 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
92 * include/ext/stl_hashtable.h: Change type of __n to size_t
93 * include/backward/bvector.h: Include <ext/stl_bvector.h>
95 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
97 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
98 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
99 Use streamsize, not int_type.
101 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
103 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
106 2001-03-08 Andreas Schwab <schwab@suse.de>
108 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
110 * aclocal.m4, configure: Regenerated.
112 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
114 * include/bits/std_iosfwd.h: Remove string forward decls here.
115 * include/bits/stringfwd.h: Add forward decls for char_traits
117 * config/c_io_libio.h (wstreamoff): Delete.
118 * config/c_io_stdio.h (wstreamoff): Same.
119 * include/bits/char_traits.h: Use streamoff not wstreamoff for
120 char_traits<wchar_t>::off_type.
121 Remove duplicate typedefs.
122 * include/bits/fpos.h: Define streampos/wstreampos here.
123 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
126 Changeup output files.
127 * testsuite/27_io/istream_unformatted.cc: Change output files.
128 * testsuite/27_io/istream_seeks-1.txt: Add.
129 * testsuite/27_io/istream_seeks-2.tst: Add.
130 * testsuite/27_io/istream_seeks-1.tst: Add.
131 * testsuite/27_io/istream_unformatted-2.tst: Delete.
132 * testsuite/27_io/istream_unformatted-3.tst: Delete.
133 * testsuite/27_io/istream_unformatted-3.txt: Delete.
135 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
137 Add Irix 5.2, 6.3 support.
138 * config/os/irix/bits: Renamed to...
139 * config/os/irix/irix6.5/bits: this.
140 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
141 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
142 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
143 * config/os/irix/irix5.2/bits/ctype_noninline.h
144 (ctype<char>::ctype): Initialize _M_table with __ctype.
145 * configure.target: Adjust.
147 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
150 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
151 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
153 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
154 (*__pf)(__ios_type&)): Same.
155 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
156 (*__pf)(ios_base&))): Same.
157 * testsuite/27_io/istream_extractor_other.cc: Add tests.
158 * testsuite/27_io/istream_manip.cc (test01): Fix.
160 2001-03-06 Nathan Myers <ncm@cantrip.org>
161 Benjamin Kosnik <bkoz@redhat.com>
163 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
164 * testsuite/17_intro/header_cerrno.cc (test01): New file.
165 * testsuite/17_intro/header_cassert.cc (test01): New file.
166 * testsuite/17_intro/header_cstddef.cc (test01): New file.
167 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
168 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
170 2001-03-05 scott snyder <snyder@fnal.gov>
173 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
175 * include/c_std/bits/std_cstdlib.h: ... to here.
176 * testsuite/17_intro/header_cstdlib.cc: Add test.
178 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
180 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
182 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
184 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
185 definition. Replace enum with static const variables.
187 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
188 throw specification, fix typos, use <static_cast>.
189 (ctype<char>::scan_is): remove throw specification.
190 (ctype<char>::scan_not): likewise.
192 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
193 (ctype<char>::do_toupper(char)): use <static_cast>.
194 (ctype<char>::do_toupper(char *, const char *)): likewise.
195 (ctype<char>::do_tolower(char)): likewise.
196 (ctype<char>::do_tolower(char *, const char *)): likewise.
198 2001-03-04 Phil Edwards <pme@sources.redhat.com>
200 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
201 * include/backward/algo.h: Use std not __STD. Remove unneeded
202 macros and "never happens" code. Adjust to C++STYLE guidelines.
203 * include/backward/algobase.h: Likewise.
204 * include/backward/alloc.h: Likewise.
205 * include/backward/bvector.h: Likewise.
206 * include/backward/deque.h: Likewise.
207 * include/backward/function.h: Likewise.
208 * include/backward/hash_map.h: Likewise.
209 * include/backward/hash_set.h: Likewise.
210 * include/backward/hashtable.h: Likewise.
211 * include/backward/heap.h: Likewise.
212 * include/backward/iterator.h: Likewise.
213 * include/backward/list.h: Likewise.
214 * include/backward/map.h: Likewise.
215 * include/backward/multimap.h: Likewise.
216 * include/backward/multiset.h: Likewise.
217 * include/backward/pair.h: Likewise.
218 * include/backward/rope.h: Likewise.
219 * include/backward/set.h: Likewise.
220 * include/backward/slist.h: Likewise.
221 * include/backward/stack.h: Likewise.
222 * include/backward/strstream: Likewise.
223 * include/backward/tempbuf.h: Likewise.
224 * include/backward/tree.h: Likewise.
225 * include/backward/vector.h: Likewise.
226 * include/bits/basic_ios.h: Likewise.
227 * include/bits/basic_ios.tcc: Likewise.
228 * include/bits/basic_string.h: Likewise.
229 * include/bits/c++config: Likewise.
230 * include/bits/concept_checks.h: Likewise.
231 * include/bits/fpos.h: Likewise.
232 * include/bits/fstream.tcc: Likewise.
233 * include/bits/functexcept.h: Likewise.
234 * include/bits/ios_base.h: Likewise.
235 * include/bits/istream.tcc: Likewise.
236 * include/bits/mask_array.h: Likewise.
237 * include/bits/ostream.tcc: Likewise.
238 * include/bits/pthread_allocimpl.h: Likewise.
239 * include/bits/sbuf_iter.h: Likewise.
240 * include/bits/slice.h: Likewise.
241 * include/bits/slice_array.h: Likewise.
242 * include/bits/sstream.tcc: Likewise.
243 * include/bits/std_bitset.h: Likewise.
244 * include/bits/std_fstream.h: Likewise.
245 * include/bits/std_iomanip.h: Likewise.
246 * include/bits/std_ios.h: Likewise.
247 * include/bits/std_istream.h: Likewise.
248 * include/bits/std_iterator.h: Likewise.
249 * include/bits/std_memory.h: Likewise.
250 * include/bits/std_ostream.h: Likewise.
251 * include/bits/std_sstream.h: Likewise.
252 * include/bits/std_streambuf.h: Likewise.
253 * include/bits/std_string.h: Likewise.
254 * include/bits/std_valarray.h: Likewise.
255 * include/bits/stl_algo.h: Likewise.
256 * include/bits/stl_algobase.h: Likewise.
257 * include/bits/stl_alloc.h: Likewise.
258 * include/bits/stl_construct.h: Likewise.
259 * include/bits/stl_deque.h: Likewise.
260 * include/bits/stl_function.h: Likewise.
261 * include/bits/stl_heap.h: Likewise.
262 * include/bits/stl_iterator.h: Likewise.
263 * include/bits/stl_iterator_base.h: Likewise.
264 * include/bits/stl_list.h: Likewise.
265 * include/bits/stl_map.h: Likewise.
266 * include/bits/stl_multimap.h: Likewise.
267 * include/bits/stl_multiset.h: Likewise.
268 * include/bits/stl_numeric.h: Likewise.
269 * include/bits/stl_pair.h: Likewise.
270 * include/bits/stl_pthread_alloc.h: Likewise.
271 * include/bits/stl_queue.h: Likewise.
272 * include/bits/stl_raw_storage_iter.h: Likewise.
273 * include/bits/stl_relops.h: Likewise.
274 * include/bits/stl_set.h: Likewise.
275 * include/bits/stl_stack.h: Likewise.
276 * include/bits/stl_tempbuf.h: Likewise.
277 * include/bits/stl_threads.h: Likewise.
278 * include/bits/stl_tree.h: Likewise.
279 * include/bits/stl_uninitialized.h: Likewise.
280 * include/bits/stl_vector.h: Likewise.
281 * include/bits/streambuf.tcc: Likewise.
282 * include/bits/type_traits.h: Likewise.
283 * include/bits/valarray_meta.h: Likewise.
284 * include/ext/bvector: Likewise.
285 * include/ext/hash_map: Likewise.
286 * include/ext/hash_set: Likewise.
287 * include/ext/ropeimpl.h: Likewise.
288 * include/ext/slist: Likewise.
289 * include/ext/stl_bvector.h: Likewise.
290 * include/ext/stl_hash_fun.h: Likewise.
291 * include/ext/stl_hashtable.h: Likewise.
292 * include/ext/stl_rope.h: Likewise.
293 * src/complex_io.cc: Likewise.
294 * src/ios.cc: Likewise.
295 * src/locale-inst.cc: Likewise.
296 * src/locale.cc: Likewise.
297 * src/localename.cc: Likewise.
298 * src/misc-inst.cc: Likewise.
299 * src/stdexcept.cc: Likewise.
300 * src/stl-inst.cc: Likewise.
301 * src/strstream.cc: Likewise.
302 * src/valarray-inst.cc: Likewise.
304 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
306 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
308 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
310 * include/bits/istream.tcc: change type of __extracted to __size_type
312 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
314 * src/wstring-inst.cc: New file.
315 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
316 (libinst_wstring_la_SOURCES): Remove.
317 (libstdc___la_LIBADD): Remove libinst_wstring_la.
318 (sources): Add wstring-inst.cc
319 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
322 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
324 * src/locale.cc: initialise __ret with zero
325 * src/strstream.cc:cast gptr to int_type
327 2001-03-01 Phil Edwards <pme@sources.redhat.com>
329 * docs/html/faq/index.html: Update broken links.
330 * docs/html/faq/index.txt: Regenerated.
332 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
335 * configure.target: Change irix* to irix6.5* in target_os table.
337 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
340 * include/bits/c++config (__GLIBCPP__): Bump number in
341 anticipation of 2.92.
343 * include/bits/codecvt.h: Fix typo.
344 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
346 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
347 instantiations for stdio model.
349 2001-02-28 Phil Edwards <pme@sources.redhat.com>
351 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
352 and GLIBCPP_CXXFLAGS as unused variables.
353 * configure.host: Likewise.
354 * configure.target: Likewise.
355 * aclocal.m4: Regenerated.
356 * configure: Regenerated.
357 * Makefile.in: Regenerated.
358 * libio/Makefile.in: Regenerated.
359 * libmath/Makefile.in: Regenerated.
360 * libsupc++/Makefile.in: Regenerated.
361 * src/Makefile.in: Regenerated.
363 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
366 * include/bits/basic_file.h: Include basic_file_model.h.
367 * config/c_io_libio.cc: Move to...
368 * config/basic_file_libio.cc: Here.
369 * config/basic_file_libio.h: New file.
370 * config/c_io_stdio.cc: Move to...
371 * config/basic_file_stdio.cc: Here.
372 * config/basic_file_stdio.h: New file.
373 * config/c_io_libio.h: Tweak.
374 * config/c_io_stdio.h: Tweak.
375 * src/Makefile.am (build_headers): Add basic_file_model.h.
376 (sources): Add basic_file.cc, remove c++io.cc.
377 * src/Makefile.in: Regenerate.
378 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
379 basic_file_model.h and basic_file.cc.
380 * aclocal.m4: Regenerate.
381 * configure: Regenerate.
382 * testsuite/27_io/filebuf.cc (test05): Add regression.
384 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
387 * config/cpu/alpha/bits/atomicity.h: Change.
388 * config/cpu/arm/bits/atomicit3y.h
389 * config/cpu/generic/bits/atomicity.h
390 * config/cpu/i386/bits/atomicity.h
391 * config/cpu/i486/bits/atomicity.h
392 * config/cpu/ia64/bits/atomicity.h
393 * config/cpu/powerpc/bits/atomicity.h
394 * config/cpu/sparc/sparc32/bits/atomicity.h
395 * config/cpu/sparc/sparc64/bits/atomicity.h
396 * config/os/aix/bits/atomicity.h
397 * config/os/irix/bits/atomicity.h
399 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
401 * include/bits/std_stdexcept.h (runtime_error): Make string
404 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
407 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
411 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
412 string object, not reference.
413 (runtime_error::runtime_error): Same.
414 * testsuite/19_diagnostics/stdexceptions.cc: New file.
416 2001-02-26 Phil Edwards <pme@sources.redhat.com>
418 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
419 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
420 diagnostics. Remove WFMT_FLAGS.
421 * configure.in: Replace WFMT_FLAGS with diagnostics options.
422 * libsupc++/Makefile.am: Likewise.
423 * src/Makefile.am: Likewise.
424 * aclocal.m4: Regenerated.
425 * configure: Regenerated.
426 * Makefile.in: Regenerated.
427 * libio/Makefile.in: Regenerated.
428 * libmath/Makefile.in: Regenerated.
429 * libsupc++/Makefile.in: Regenerated.
430 * src/Makefile.in: Regenerated.
432 2001-02-26 Phil Edwards <pme@sources.redhat.com>
435 * include/backward/iomanip.h: Expose <ios> manipulators to global
437 * include/backward/iostream.h: Also expose std::ws.
439 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
441 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
443 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
445 * include/bits/codecvt.h: Use __builtin_alloca.
446 * include/bits/ostream.tcc: Same.
447 * include/bits/fstream.tcc: Same.
449 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
451 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
453 2001-02-23 David Edelsohn <dje@watson.ibm.com>
455 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
457 2001-02-23 Phil Edwards <pme@sources.redhat.com>
460 * include/backward/iostream.h: Expose std::flush in old headers.
462 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
464 * mknumeric_limits: Remove special-casing on target. Use gcc
465 instead of g++ to build gen-num-limits.cc
467 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
469 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
471 * include/bits/codecvt.h: Use alloca instead of __extension__ for
473 * include/bits/ostream.tcc: Same.
474 * include/bits/std_ostream.h: Same.
475 * include/bits/fstream.tcc: Same.
476 * include/bits/locale_facets.tcc: Add typename.
477 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
479 2001-02-21 Phil Edwards <pme@sources.redhat.com>
481 * tests_flags.in: Remove -n flag from call to echo.
483 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
485 * config/c_locale_gnu.h: Add clocale include.
487 2001-02-20 Phil Edwards <pme@sources.redhat.com>
489 * include/bits/stl_config.h: Remove file.
490 * src/Makefile.am (base_headers): Remove from list.
491 * configure: Regenerate.
492 * Makefile.in: Ditto.
493 * libio/Makefile.in: Ditto.
494 * libmath/Makefile.in: Ditto.
495 * libsupc++/Makefile.in: Ditto.
496 * src/Makefile.in: Ditto.
498 * include/bits/c++config: Move relevant macros to here.
499 * include/backward/alloc.h: Include c++config.h instead.
500 * include/backward/function.h: Ditto.
501 * include/backward/heap.h: Ditto.
502 * include/backward/pair.h: Ditto.
503 * include/bits/pthread_allocimpl.h: Ditto.
504 * include/bits/std_functional.h: Ditto.
505 * include/bits/std_iterator.h: Ditto.
506 * include/bits/std_numeric.h: Ditto.
507 * include/bits/std_utility.h: Ditto.
508 * include/bits/stl_algobase.h: Ditto.
509 * include/bits/type_traits.h: Ditto.
510 * src/stl-inst.cc: Ditto.
512 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
514 * include/bits/basic_file.h: Add #pragma system_header
515 * include/bits/basic_ios.h: Ditto.
516 * include/bits/basic_string.h: Ditto.
517 * include/bits/char_traits.h: Ditto.
518 * include/bits/codecvt.h: Ditto.
519 * include/bits/cpp_type_traits.h: Ditto.
520 * include/bits/fpos.h: Ditto.
521 * include/bits/gslice.h: Ditto.
522 * include/bits/gslice_array.h: Ditto.
523 * include/bits/indirect_array.h: Ditto.
524 * include/bits/ios_base.h: Ditto.
525 * include/bits/limits_generic.h: Ditto.
526 * include/bits/locale_facets.h: Ditto.
527 * include/bits/localefwd.h: Ditto.
528 * include/bits/mask_array.h: Ditto.
529 * include/bits/sbuf_iter.h: Ditto.
530 * include/bits/sequence_concepts.h: Ditto.
531 * include/bits/slice.h: Ditto.
532 * include/bits/slice_array.h: Ditto.
533 * include/bits/std_algorithm.h: Likewise.
534 * include/bits/std_bitset.h: Likewise.
535 * include/bits/std_complex.h: Likewise.
536 * include/bits/std_deque.h: Likewise.
537 * include/bits/std_fstream.h: Likewise.
538 * include/bits/std_functional.h: Likewise.
539 * include/bits/std_iomanip.h: Likewise.
540 * include/bits/std_ios.h: Likewise.
541 * include/bits/std_iosfwd.h: Likewise.
542 * include/bits/std_iostream.h: Likewise.
543 * include/bits/std_istream.h: Likewise.
544 * include/bits/std_iterator.h: Likewise.
545 * include/bits/std_list.h: Likewise.
546 * include/bits/std_locale.h: Likewise.
547 * include/bits/std_map.h: Likewise.
548 * include/bits/std_memory.h: Likewise.
549 * include/bits/std_numeric.h: Likewise.
550 * include/bits/std_ostream.h: Likewise.
551 * include/bits/std_queue.h: Likewise.
552 * include/bits/std_set.h: Likewise.
553 * include/bits/std_sstream.h: Likewise.
554 * include/bits/std_stack.h: Likewise.
555 * include/bits/std_stdexcept.h: Likewise.
556 * include/bits/std_streambuf.h: Likewise.
557 * include/bits/std_string.h: Likewise.
558 * include/bits/std_utility.h: Likewise.
559 * include/bits/std_valarray.h: Likewise.
560 * include/bits/std_vector.h: Likewise.
561 * include/bits/stringfwd.h: Likewise.
562 * include/bits/type_traits.h: Likewise.
563 * include/bits/valarray_array.h: Likewise.
564 * include/bits/valarray_meta.h: Likewise.
566 2001-02-19 Andreas Jaeger <aj@suse.de>
568 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
571 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
574 * include/bits/std_ostream.h: Replaced usage of
575 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
576 * include/bits/char_traits.h: Removed non-standard
577 methods that cannot be used elsewhere.
580 * include/bits/basic_ios.h: Uncommented #include of
584 * include/bits/codecvt.h: See next...
585 * include/bits/fstream.tcc: See next...
586 * include/bits/ostream.tcc: Add __extension__
587 to variable-length arrays.
590 * include/bits/localefwd.h: Changed int counter type to size_t.
593 * include/bits/std_fstream.h: Added typedef for __ctype_type.
595 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
597 * testsuite/21_strings/char_traits.cc: Move to ...
598 * testsuite/21_strings/char_traits_requirements.cc: ..here.
599 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
600 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
602 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
604 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
607 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
609 * include/bits/c++config: Revert.
611 2001-02-15 Mark Mitchell <mark@codesourcery.com>
613 * include/bits/istream.tcc: Use ios_base::iostate in place of
614 iostate throughout. Insert `typename' keyword where necessary.
615 * include/bits/ostream.tcc: Insert `typename' keyword where
618 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
620 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
621 Define so library is compliant.
623 2001-02-15 Anthony Green <green@redhat.com>
625 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
627 * aclocal.m4: Regenerate.
628 * configure: Regenerate.
630 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
632 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
633 Include ieeefp.h for fpclass on UnixWare{2,7}.
634 * aclocal.m4: Regenerate.
635 * configure: Regenerate.
636 * mkcheck.in (size_command): Do without GNU-grep when using
639 2001-02-15 Mark Mitchell <mark@codesourcery.com>
641 Remove old ABI support from libsupc++.
642 * libsupc++/cxxabi.h: Remove conditionally compiled code.
643 * libsupc++/exception_support.cc: Likewise.
644 * libsupc++/pure.cc: Likewise.
645 * libsupc++/tinfo.cc: Likewise.
646 * libsupc++/tinfo.h: Likewise.
647 * libsupc++/tinfo2.cc: Likewise.
648 * libsupc++/typeinfo: Likewise.
649 * libsupc++/vec.cc: Likewise.
651 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
653 Add support for -fno-exceptions.
654 * include/bits/exception_support.h: Remove.
655 * include/bits/basic_string.h: Remove exception_support.
656 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
658 (string::substr): Same.
659 * include/bits/basic_string.tcc (string::reserve): Replace
660 __LENGTHERROR with __throw_length_error.
661 (string::_S_create): Same.
662 (string::resize): Same.
663 (string::_M_replace): Same.
664 (string::replace): Same.
665 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
666 (string::compare): Same.
667 * include/bits/stl_vector.h: Remove exception_support.
668 * src/Makefile.am (base_headers): Remove here.
669 * src/Makefile.in: Regenerate.
671 * include/bits/stl_range_errors.h: Remove.
672 * include/bits/stl_deque.h: Use __throw_range_error.
673 * include/bits/std_deque.h: Include functexcept.h.
674 * include/bits/std_vector.h: Same.
675 * src/Makefile.am (base_headers): Remove here.
676 * src/Makefile.in: Regenerate.
677 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
678 * include/ext/bvector: Remove stl_range_errors.h
680 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
682 * include/bits/functexcept.h: New file.
683 * src/functexcept.cc: New file. Definitions for function-based
685 * src/Makefile.am (sources): Add functexcept.cc.
686 * src/Makefile.in: Regenerate.
688 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
691 * include/bits/localefwd.h: Include functexcept.h.
692 * include/bits/std_iosfwd.h: Same.
694 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
695 throw basic_ios::failure.
696 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
697 Use __throw_exception_again.
698 (filebuf::_M_filebuf_init): Same.
699 * include/bits/streambuf.tcc (__copy_streambufs): Same.
700 * include/bits/ostream.tcc (ostream::operator<<): Same.
701 * include/bits/istream.tcc (istream::operator>>): Same.
702 * include/bits/basic_string.tcc (string::_M_mutate): Same.
703 (string::_S_construct): Same.
704 (string::_M_clone): Same.
705 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
707 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
708 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
709 __throw_exception_again.
710 (locale::_Imp::_Imp(string, size_t): Same.
711 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
712 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
713 (locale::locale(const char*)): Use __throw_runtime_error.
714 (locale::classic): Use __throw_exception_again.
715 (locale::_S_normalize_category): Use __throw_runtime_error.
717 * src/stdexcept.cc: Remove cruft.
719 * libsupc++/exception_defines.h: New file.
720 * libsupc++/new_opnt.cc: Include exception_defines.h.
721 * libsupc++/vec.cc: Same.
722 (__cxa_vec_new2): Use __throw_exception_again.
723 (__cxa_vec_new3): Same.
724 (__cxa_vec_ctor): Same.
725 (__cxa_vec_delete3): Same.
726 (__cxa_vec_cctor): Same.
727 (__cxa_vec_delete2): Same.
728 (__cxa_vec_dtor): Same.
729 * libsupc++/exception_support.cc: Include exception_defines.h. Only
730 compile exception-handling bits if __EXCEPTIONS is defined.
731 Remove old ABI support.
732 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
733 std::__throw_bad_alloc() instead of throw bad_alloc.
734 * libsupc++/Makefile.am: Add exception_defines.h.
735 * libsupc++/Makefile.in: Reformat.
736 * libsupc++/*: Format.
738 2001-02-15 Phil Edwards <pme@sources.redhat.com>
740 * docs/html/configopts.html: Minor updates and typo fixes.
741 * docs/html/faq/index.html: Updates of the "not really bugs" list.
742 * docs/html/faq/index.txt: Regenerated.
744 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
746 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
747 dejagnu/dg.exp. Adapt to log options used to run testcases.
749 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
751 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
754 2001-02-13 Dirk Mueller <dmuell@gmx.net>
755 Phil Edwards <pme@sources.redhat.com>
757 * include/backward/function.h: Do not use rel_ops for older
759 * include/backward/pair.h: Likewise.
761 2001-02-12 Mark Mitchell <mark@codesourcery.com>
763 * src/locale.cc: Remove bogus locale::id definitions.
765 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
767 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
768 not _DEFINE_VALARRAY_OPERATOR which is not existent.
770 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
771 thinko in member initialisation.
773 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
775 * include/bits/std_valarray.h(valarray<>::shift): Avoid
776 comparaison between signed and unsigned integer types.
777 (valarray<>::cshift): Reformat.
779 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
781 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
782 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
783 * configure.in: Test for sigsetjmp.
784 * configure, config.h.in: Rebuilt.
786 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
788 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
790 (__gslice_to_index): Document.
792 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
794 * include/bits/char_traits.h char_traits<char>::int_type: Change
795 to `int' to match 21.1.3.1/2.
797 * testsuite/21_strings/char_traits-int_type.C: New test.
799 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
801 * testsuite/Makefile.am: New file.
803 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
805 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
807 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
809 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
811 2001-02-08 David Edelsohn <edelsohn@gnu.org>
813 * configure.target (aix4*): Remove extra set of brackets.
815 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
818 * include/bits/stringfwd.h: New file.
819 * include/bits/stl_string_fwd.h: Remove.
820 * include/bits/localefwd.h: Remove declaration for allocator.
821 * include/bits/std_iosfwd: Same.
822 * include/bits/std_string.h: Include it.
823 * include/bits/std_ios.h: Remove include.
824 * include/bits/basic_string.h: Tweak.
825 * libsupc++/new: Format.
826 * src/Makefile.am (base_headers): Add stringfwd.h, remove
828 * src/Makefile.in: Regenerate.
829 * include/bits/std_stdexcept.h: Rewrite.
830 * src/stdexcept.cc: Same.
832 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
834 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
835 install locations too.
836 * aclocal.m4: Regenerate.
837 * configure.in: Remove USE_LIBDIR.
838 * configure: Regenerate.
839 * src/Makefile.am (toolexecdir): Simplify, use
840 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
841 * src/Makefile.in: Regenerate.
842 * libsupc++/Makefile.am: Same.
843 * libsupc++/Makefile.in: Regenerate.
845 * src/Makefile.am: Just remove special rules for locale-inst.cc and
846 misc-inst.cc as no longer necessary.
848 Follow C++STYLE for naming non-static functions.
849 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
851 * include/bits/streambuf.tcc: Same.
852 * include/bits/ostream.tcc: Same.
853 * include/bits/istream.tcc: Same.
854 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
855 (_S_output_float): To __output_float.
856 * include/bits/std_streambuf.h (_S_copy_streambufs): To
858 * include/bits/locale_facets.tcc (_S_build_float_format): To
859 __build_float_format.
860 (_S_format): To __output_integer.
862 * src/locale.cc: Same.
863 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
865 * include/bits/locale_facets.tcc (_S_group_digits): To
867 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
868 for collate, numpunct.
870 2001-02-06 Phil Edwards <pme@sources.redhat.com>
872 * docs/html/configopts.html: Fix HTML markup.
873 * docs/html/install.html: Bring up to date.
874 * docs/html/17_intro/C++STYLE: Add global variable conventions.
875 * docs/html/21_strings/howto.html: More notes.
876 * docs/html/22_locale/howto.html: Fix HTML markup.
877 * docs/html/27_io/howto.html: More notes.
878 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
879 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
881 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
883 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
884 to match header files.
885 (_S_output_float): Likewise.
886 (_S_copy_streambufs): Likewise.
888 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
889 Phil Edwards <pme@sources.redhat.com>
891 * include/bits/std_istream.h (op>> signed,unsigned char): Must
892 use reinterpret_cast, not static_cast.
894 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
896 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
897 * aclocal.m4: Regenerate.
898 * configure: Regenerate.
900 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
902 * include/bits/locale_facets.h (class moneypunct): Fix typos.
903 * libsupc++/pure.cc: Revert.
905 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
907 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
908 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
909 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
910 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
911 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
912 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
913 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
914 * aclocal.m4: Regenerate.
915 * configure: Regenerate.
917 2001-02-05 Mark Mitchell <mark@codesourcery.com>
919 * include/bits/locale_facets.tcc: Remove `static' keyword on
920 function definitions.
921 * include/bits/std_streambuf.h: Likewise.
922 * src/Makefile.am: Remove use of -fimplicit-templates.
923 * src/Makefile.in: Regenerated.
924 * src/locale-inst.cc: Explicitly instantiate more functions.
925 * src/misc-inst.cc: Likewise.
926 * src/string-inst.cc: Likewise.
928 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
930 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
931 macro. Consolidate all the bits to do with where includes might be
933 * aclocal.m4: Regenerate.
934 * configure.in: Use it.
935 * configure: Regenerate.
936 * src/Makefile.am (targetincludep): Use simplified rules.
937 (targetincludep): Rename gxx_target_include_dir.
938 (myincludep): Rename gxx_include_dir.
939 * src/Makefile.in: Regenerate.
940 * libsupc++/Makefile.am: Use simplified rules.
941 * libsupc++/Makefile.in: Regenerate.
943 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
945 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
946 * include/c_std/bits/std_cctype.h: Same.
947 * include/c_std/bits/std_cassert.h: Same.
948 * include/c_std/bits/std_cstdarg.h: Same.
949 * include/c_std/bits/std_cstddef.h: Same.
951 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
953 * include/c_std/bits/std_ctime.h: Same.
954 * include/c_std/bits/std_clocale.h: Same.
955 * include/c_std/bits/std_cmath.h: Same.
956 * include/c_std/bits/std_csetjmp.h: Same.
957 * include/c_std/bits/std_csignal.h: Same.
958 * include/c_std/bits/std_cstring.h: Same.
959 * include/c_std/bits/std_cstdlib.h: Same.
960 * include/c_std/bits/std_cwchar.h: Same.
962 2001-02-05 Phil Edwards <pme@sources.redhat.com>
964 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
966 2001-02-05 Mark Mitchell <mark@codesourcery.com>
968 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
969 (string::_S_construct): Likewise.
971 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
973 * testsuite/config/default.exp: New file.
974 * testsuite/config: New directory.
976 2001-02-04 Mark Mitchell <mark@codesourcery.com>
978 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
979 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
980 whenever !__GXX_MERGED_TYPEINFO_NAMES.
981 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
983 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
984 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
986 * Makefile.am (mkinstalldirs): Set.
987 * src/Makefile.am (mkinstalldirs): Set.
988 * libmath/Makefile.am (mkinstalldirs): Set.
989 * libsup++/Makefile.am (mkinstalldirs): Set.
990 * libio/Makefile.am (mkinstalldirs): Set.
991 * */Makefile.in: Regenerate.
993 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
995 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
996 * include/bits/localefwd.h: More initialization cleanups.
998 2001-02-03 Jeffrey A Law <law@cygnus.com>
1000 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
1001 correctly targets with 16bit ints.
1002 (_S_ios_openmode_end): Similarly.
1003 (_S_ios_iostate_end): Similarly.
1004 (_S_ios_Seekdir_end): Similarly.
1006 2001-02-02 Phil Edwards <pme@sources.redhat.com>
1008 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
1010 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
1012 * configure.in (toplevel_srcdir, auxdir): Set.
1013 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
1014 * aclocal.m4, configure, Makefile.in: Rebuilt.
1015 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
1016 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
1017 * libsupc++-v3/Makefile.in: Rebuilt.
1018 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
1019 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
1021 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
1023 * config/c_locale_generic.cc: Remove langinfo include.
1025 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
1027 Preliminary named locales.
1028 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
1029 * aclocal.m4: Regenerate.
1030 * configure.in: Use it.
1031 * configure: Regerate.
1032 * src/Makefile.am (sources): Add c++locale.cc.
1033 (build_headers): Add c++locale.h.
1034 * src/Makefile.in: Regenerate.
1035 * config/c_locale_gnu.h: New file.
1036 * config/c_locale_gnu.cc: New file. Non-inline member functions
1037 for named locales, gnu-specific.
1038 * config/c_locale_generic.h: New file.
1039 * config/c_locale_generic.cc: New file. Non-inline member
1040 functions for named locales, generic version.
1041 * docs/html/configopts.html: Add documentation on new options.
1043 * include/bits/locale_facets.h (class _Messages): Remove.
1044 (class _Moneypunct): Remove.
1045 * src/locale-inst.cc: Remove.
1047 * include/bits/locale_facets.h (class _Collate): Remove.
1048 * src/locale-inst.cc (std): Remove.
1049 * src/locale.cc: And here.
1051 * include/bits/localefwd.h (locale::_M_coalesce): New
1052 function. Correctly put together multi-name locales.
1053 (_Impl(const _Impl&, category, size_t)): Remove.
1055 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
1057 (_M_normalize_category_names): Remove.
1058 (_M_replace_categories): Fix.
1060 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
1061 (locale::_Impl::_M_construct_ctype): Remove.
1062 (locale::_Impl::_M_construct_monetary): Remove.
1063 (locale::_Impl::_M_construct_numeric): Remove.
1064 (locale::_Impl::_M_construct_time): Remove.
1065 (locale::_Impl::_M_construct_messages): Remove.
1067 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
1068 (_Use_facet_failure_handle): Remove.
1069 * src/locale.cc: Remove definitions.
1070 * src/locale-inst.cc: And here.
1072 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
1074 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
1075 create and error-check underlying locale object.
1076 (locale::facet::_S_destroy_c_locale): Add, take care of properly
1077 tearing down underlying locale object.
1078 * include/bits/localefwd.h (locale::facet): Declare.
1079 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
1080 correctness, as glibc apparently has incorrect info in it. Test
1081 with it when it works again.....
1083 * include/bits/localefwd.h (locale::_Impl::__vec_string):
1084 Remove. Number of categories is fixed at six, so just simplify and
1085 make this an array of strings.
1086 (locale::_Impl::_M_has_name): Remove.
1087 (locale::_Impl::_M_name): Remove.
1088 (locale::_Impl::_M_category_names): Turns into...
1089 (locale::_Impl::_M_names): ...this.
1090 (locale::_Impl::_M_has_same_name()): New function.
1091 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
1092 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
1094 * src/locale.cc (locale::name()): Construct mangled name
1095 accurately reflecting combined locale categories.
1097 * src/locale.cc (locale::classic()): Don't initialize here.
1098 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
1099 __refs, bool __has_name, string __str): Do it here.
1101 * include/bits/localefwd.h: _S_categories_num to
1102 _S_num_categories. _S_facets_num to _S_num_facets.
1103 (locale::id::id()): Explicitly set _M_index to zero.
1104 * src/locale.cc: Same.
1106 * src/locale.cc: (locale::locale(const char*)): Construct named
1109 * src/locale.cc: Remove numpunct_byname ctors.
1110 * testsuite/22_locale/numpunct_byname.cc: New file.
1111 * testsuite/22_locale/numpunct.cc: New file.
1113 * include/bits/localefwd.h (class locale): Change data members to
1114 protected, from private.
1115 (_Impl::_M_get_c_locale): Add member function.
1116 (locale::facet::_M_get_global_impl()): Add member function.
1117 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
1118 a __c_locale pointer.
1119 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
1121 * testsuite/22_locale/members.cc: New file, test name and combine.
1123 * include/bits/locale_facets.h (class numpunct): Remove class
1124 _Punct and _Numpunct. Rewrite class numpunct to be correct for
1126 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
1127 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
1128 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
1129 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
1130 * testsuite/22_locale/numpunct_char_members.cc: New file.
1132 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
1134 * testsuite/README: Add more comment.
1135 * testsuite/lib/libstdc++.exp: Tweak comment.
1137 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
1139 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
1141 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
1143 * testsuite/21_strings/inserters_extractors.cc: Remove
1144 explicit reference to 'testsuite/'.
1146 2001-01-25 Richard Henderson <rth@redhat.com>
1148 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
1149 bits. Fixes Tru64 build issues.
1151 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1153 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
1154 (use ${MAKE-make}, not ${MAKE:-make}).
1155 * aclocal.m4, configure: Regenerate.
1157 2001-01-25 Mark Mitchell <mark@codesourcery.com>
1159 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
1162 * src/Makefile.am (sources): Add globals.cc.
1163 * src/Makefile.in: Regenerated.
1164 * src/globals.cc: New file.
1165 * src/ios.cc (cin): Don't define here, just declare extern.
1174 2001-01-25 Phil Edwards <pme@sources.redhat.com>
1176 * include/bits/std_iterator.h: Do not include stl_relops.h.
1177 * include/bits/std_numeric.h: Ditto.
1178 * include/bits/stl_algobase.h: Ditto.
1179 * include/bits/stl_relops.h: Add comment warning about problems.
1181 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
1183 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
1184 in testcases. Prepare for the DejaGnu based framework.
1185 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
1186 directory -- it is now mkcheck working directory.
1187 * tests_flags.in: Remove reference to $(top_srcdir). Use
1189 * Makefile.am (check, check-install): Change mkcheck invocation
1191 * Makefile.in: Regenerate.
1193 2001-01-24 Mark Mitchell <mark@codesourcery.com>
1195 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
1196 (__always_swap): Likewise.
1198 2001-01-23 Chris Demetriou <cgd@broadcom.com>
1200 * libsupc++/exception_support.cc (__terminate_func): Remove
1202 (__terminate_func_ptr): New typedef.
1203 (__terminate, __terminate_set_func): New extern function
1205 (std::terminate): Use __terminate function.
1206 (std::set_terminate): Use __terminate_set_func function.
1208 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
1210 * configure.target: Just use os_include_dir always.
1211 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
1212 Link atomicity files and ctype files here.
1213 * configure: Regenerate.
1214 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
1215 (GLIBCPP_ENABLE_ATOMICITY): Remove.
1216 * aclocal.m4: Regenerate.
1218 2001-01-23 Chris Demetriou <cgd@broadcom.com>
1220 * configure.in: Place definition of MULTISUBDIR in
1221 libsupc++/Makefile as is done for src/Makefile.
1222 * configure: Regenerate.
1224 2001-01-23 Phil Edwards <pme@sources.redhat.com>
1226 * acinclude.m4: Cosmetic changes only.
1227 * aclocal.m4: Regenerated.
1228 * configure: Regenerated.
1229 * configure.target: Update documented list of changed variables.
1230 * docs/html/install.html: Fix typo.
1231 * docs/html/20_util/howto.html: More notes on auto_ptr.
1232 * docs/html/27_io/howto.html: More notes on streabufs.
1233 * docs/html/faq/index.html: Add rel_ops problem and mention the
1234 DEC as(1) .subsection difficulty.
1235 * docs/html/faq/index.txt: Regenerated.
1237 2001-01-23 Mark Mitchell <mark@codesourcery.com>
1239 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
1240 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
1241 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
1242 its already provided in config.target.
1243 * aclocal.m4: Regenerated.
1244 * configure: Likewise.
1245 * configure.target: Set ctype_include_dir for lots of systems.
1246 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
1247 * libsupc++/Makefile.in: Regenerated.
1249 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
1251 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
1254 * testsuite/README: Add comment.
1256 2001-01-21 Phil Edwards <pme@sources.redhat.com>
1258 * docs/html/configopts.html: Update for current status. Fix HTML.
1259 * docs/html/install.html: Update for current status.
1261 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1263 * testsuite/libstdc++.tests/tests.exp: New file.
1264 * testsuite/lib/libstdc++.exp: Itou.
1265 * testsuite/README: Itou.
1267 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
1269 * tests_flags.in: Just output the bare minimum to run tests.
1270 Let's the caller do its own arrangement.
1272 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
1275 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
1277 * testsuite/17_intro: Prepare testcases for new style DejaGnu
1280 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
1282 * testsuite/libstdc++.tests, testsuite/lib: New directories.
1284 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
1286 * mkcheck.in: Construct file names that match $objdir structure.
1287 * testsuite/27_io/filebuf_members-1.txt: New file.
1288 * testsuite/27_io/ifstream_members-1.txt: New file.
1289 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
1291 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
1292 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
1294 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1296 * testsuite/27_io/istream_sentry.cc (test02): Fix.
1298 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
1301 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
1302 * src/ios.cc (ios_base::failure): Make definitions match.
1303 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
1304 (class bad_cast): Same.
1305 * libsupc++/exception (class exception): Add throw specs.
1306 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
1307 (set_unexpected): Same.
1308 (uncaught_exception): Same.
1311 * docs/html/17_intro/C++STYLE (classname): Fix.
1313 2001-01-16 Mark Mitchell <mark@codesourcery.com>
1315 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
1316 Use it do explicitly instantiate predicate<T> and value<T> for
1319 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
1321 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
1322 uninitialized thinko in last change.
1324 2001-01-16 Mark Mitchell <mark@codesourcery.com>
1326 * libsupc++/exception_support.cc (__cp_pop_exception): Change
1329 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
1331 * docs/html/17_intro/C++STYLE (classname): Add more existing
1332 and stylish patterns.
1335 * include/bits/istream.tcc (istream::sentry::sentry()): Set
1336 failbit if the state of the stream is not good.
1337 * testsuite/27_io/istream_sentry.cc (test02): Add test.
1338 * testsuite/27_io/istream_manip.cc (test01): Modify.
1341 reported by Paolo Carlini <pcarlini@unitus.it>
1342 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
1343 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
1346 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
1347 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
1348 (xsgetn): Same. Simplify.
1349 * testsuite/27_io/streambuf.cc (test04): Add testcases.
1351 reported by Larry Evans <jcampbell3@prodigy.net>
1352 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
1353 equality with eof on returned value from overflow.
1355 2001-01-14 Andreas Jaeger <aj@suse.de>
1357 * libio/libio.h: Add test for glibc 2.0.
1359 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
1361 * config/os/djgpp/bits/*: Fix dates.
1363 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
1364 _CharT* __end, _CharT __c): Remove.
1365 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
1366 * include/bits/char_traits.h: Tweak.
1368 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
1370 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
1371 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
1373 * aclocal.m4: regenerated.
1374 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
1375 * configure: regenerated.
1376 * config/os/djgpp, config/os/djgpp/bits: new directories.
1377 * config/os/djgpp/bits/ctype_base.h,
1378 config/os/djgpp/bits/ctype_inline.h,
1379 config/os/djgpp/bits/ctype_noninline.h,
1380 config/os/djgpp/bits/os_defines.h: new files.
1382 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
1384 * include/c_std/bits/std_cstdio.h: Undef printf.
1386 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
1388 * src/ios.cc: Fix typo: change cout->wcout.
1390 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
1391 * src/Makefile.in: Regenerate.
1393 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1395 * include/bits/std_complex.h: Fix a typo.
1397 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
1400 Fixes for libstdc++/1576
1401 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
1402 file, move contents into....
1403 * src/ios.cc: ...Here. Put defines for iostreams objects and
1404 initialization routines into one file to simplify DSO interaction.
1405 * include/bits/std_iostream.h: Touch.
1406 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
1407 * src/Makefile.am (sources): Remove stdstreams.cc.
1408 * src/Makefile.in: Regenerate.
1410 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1412 * tests_flags.in (check_directory): Fix typo.
1414 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1416 * include/bits/std_complex.h: Fix a typo.
1418 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
1420 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
1421 code path:) Remove magic constants and restructure to handle
1422 ctype.h bit mask layout changes more gracefully. (Make fast
1423 code path:) Use __maskrune (), if available.
1424 (is): Remove special case for digit and xdigit masks.
1426 2001-01-09 Robert Lipe <robertlipe@usa.net>
1428 * include/c_std/bits/std_ctime.h: Undefine difftime.
1430 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
1432 * src/gen-num-limits.cc (signal_adapter): New template function.
1433 (signal_handler): Use it, instead of signal.
1434 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
1435 require both tests to trap to set trap_flag.
1437 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
1439 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
1440 initialize mbstate_t member, name offset data members *off, not pos.
1441 * include/bits/fstream.tcc (filebuf::filebuf): Same.
1443 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
1445 reported by Chris G. Demetriou <cgd@sibyte.com>
1446 * configure.in: Change -linux-* to -linux*.
1447 * configure: Regenerate.
1449 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
1451 Fix 27_io/filebuf_members.cc
1452 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
1453 const string& __name, category __cat, size_t __refs): Set
1454 _M_has_name with _M_name.
1455 * include/bits/localefwd.h (locale::operator!=): Protect member
1456 function call with this->.
1457 * src/locale.cc (locale::operator==): Make fast checks first.
1458 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
1460 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
1462 * src/ios.cc (ios_base::Init::Init): Initialize here.
1463 (ios_base::sync_with_stdio): Set here.
1465 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
1467 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
1468 systems that support it, call dup() before fdopen().
1470 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
1472 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
1473 * testsuite/17_intro/header_cwctype.cc (main): New file.
1475 * src/Makefile.am (base_headers): Change.
1476 * include/bits/std_string.h: And here.
1477 * include/bits/string.tcc: Tweaks, move to...
1478 * include/bits/basic_string.tcc: ...Here.
1479 * src/string-inst.cc: Simplify, just instantiate the whole class,
1480 not member-by-member.
1482 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
1484 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
1485 * aclocal.m4: Regenerate.
1486 * configure: Regenerate.
1488 * include/bits/c++config (__GLIBCPP__): Bump version number.
1490 * ChangeLog: Start new log for year 2001
1491 * ChangeLog-2000: New file.
1493 * docs/html/configopts.html: Make sure default values are current,
1496 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
1498 * include/c_std/bits/std_cwchar.h: Same.
1499 * testsuite/17_intro/header_cwchar.cc: Same.
1500 * include/c_std/bits/std_ctime.h: Same.
1501 * testsuite/17_intro/header_ctime.cc: Same.
1502 * include/c_std/bits/std_cstdlib.h: Same.
1503 Clean up undefs, make consistent with cwchar and cmath, etc.
1504 * testsuite/17_intro/header_cstdlib.cc: Same.
1505 * include/c_std/bits/std_cstdio.h: Same here.
1506 * testsuite/17_intro/header_cstring.cc: Same.
1507 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
1508 * testsuite/17_intro/header_cstring.cc: New file. Check for
1509 size_t in namespace std.
1511 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
1512 * acconfig.h (HAVE_MBSTATE_T): Add.
1513 * config.h.in: Regenerate.
1514 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
1516 * aclocal.m4: Regenerate.
1517 * configure: Regenerate.
1518 * testsuite/17_intro/headers_c++.cc: New file.
1519 * testsuite/17_intro/headers_c.cc: Small changes.
1521 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
1523 * tests_flags.in: Fix typo in usage.
1525 * tests_flags.in: Set target specific LIBS for cygwin.