1 2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
3 Numeric facets cleanup.
4 * include/bits/locale_facets.h (__num_base::_S_atoms): Add, remove
6 (__num_base::_M_zero): Add
7 (__num_base::_M_e): Add.
8 (__num_base::_M_E): Add.
9 * include/bits/locale_facets.tcc (num_get::_M_extract): Remove.
10 (num_get::_M_extract_float): New.
11 (num_get::_M_extract_int): New.
12 * src/locale.cc (num_get::_M_extract): Remove.
14 * include/bits/locale_facets.tcc (num_put::_M_insert_float):
15 Simplify, use _M_insert.
16 (num_put::do_put(bool)): Simplify, remove __pad.
18 (__pad_output): Change to __pad.
19 * include/bits/ostream.tcc: And here.
20 * src/locale-inst: Remove instantiations.
22 * include/bits/locale_facets.h: Move helper functions in to class
24 (num_put::_M_insert_float): Same, for __output_integer.
25 (num_put::_M_insert_int): Same, for __output_float.
26 (num_put::_M_insert): New.
28 (__num_base::_S_format_float): Move
29 __build_float_format into class __num_base.
30 (__num_base::_S_format_int): Move __build_int_format into class
32 * include/bits/locale_facets.tcc (__group_digits): Change to
33 (__add_grouping): This.
34 * src/locale-inst.cc: And here. Tweak instantiations.
35 * src/misc-inst.cc: Remove instantiations.
37 * include/bits/ostream.tcc (__pad_char): Rename, adjust inserters
38 for new calling conventions, move to...
39 * include/bits/locale_facets.tcc (__pad_output): Here. Adjust
40 signature to make it useful for both ostream and num_put.
41 (__pad_numeric): Remove.
42 * src/misc-inst.cc: Remove instantiations.
43 * src/locale-inst.cc: Same.
45 * include/bits/locale_facets.h (_Numeric_get): Remove.
46 (_Numeric_put): Remove.
47 (num_get::get(short)): Remove.
48 (num_get::get(int)): Remove.
49 (num_get::do_get(short)): Remove.
50 (num_get::do_get(int)): Remove.
51 * include/bits/istream.tcc (istream::operator>>(short)): Fix as
53 (istream::operator>>(int)): Same.
55 * include/bits/locale_facets.h (_Format_cache): Remove.
56 * include/bits/locale_facets.tcc: Same.
57 * src/locale.cc: Same.
58 * src/locale-inst.cc: Same.
59 * include/bits/ostream.tcc: Same.
60 * src/ios.cc (ios_base::imbue): Remove here as well.
62 * testsuite/22_locale/num_get.cc: New file.
63 * testsuite/22_locale/num_get_members_char.cc: New file.
64 * testsuite/22_locale/num_get_members_wchar_t.cc: New.
65 * testsuite/22_locale/numpunct_members_wchar_t.cc: New file.
66 * testsuite/22_locale/num_put.cc: New file.
67 * testsuite/22_locale/num_put_members_char.cc: New file.
68 * testsuite/22_locale/num_put_members_wchar_t.cc: New file.
69 * testsuite/27_io/ostream_inserter_arith.cc: Fix.
70 * testsuite/27_io/istream_extractor_arith.cc: Fix.
72 2001-11-27 Phil Edwards <pme@gcc.gnu.org>
74 * docs/html/explanations.html: New section, empty for now.
75 * docs/html/17_intro/howto.html: Cleanup. Move unrelated link...
76 * docs/html/23_containers/howto.html: ...to here. Break up and
77 rewrap threading discussion to emphasize warning. Move malloc text...
78 * docs/html/ext/howto.html: ...to here. New section. Describe
79 allocators and __USE_MALLOC effects.
80 * docs/html/ext/sgiexts.html: Mention their code.
82 2001-11-24 Joseph S. Myers <jsm28@cam.ac.uk>
84 * docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
85 docs/html/27_io/binary_iostreams_kuehl.txt: Revert previous
88 2001-11-23 Phil Edwards <pme@gcc.gnu.org>
90 * Makefile.am (doxygen-maint): The script isn't executable in CVS.
91 * Makefile.in: Regenerated.
92 * docs/doxygen/TODO: New file listing doxygen work to be done.
93 * docs/doxygen/run_doxygen: Fix up man pages.
94 * docs/doxygen/user.cfg.in: Insert maint-only toggles.
95 * docs/doxygen/maint.cfg.in: Copy from user.cfg and turn toggles on.
96 * include/bits/stl_construct.h: Use new hooks for internal functions.
98 * docs/html/17_intro/TODO: Small updates.
99 * docs/html/faq/index.html: Likewise.
100 * docs/html/faq/index.txt: Regenerated.
102 * include/bits/stl_alloc.h: Doxygenate, reindent comments, remove
103 SGI-isms and wrappers.
104 (simple_alloc, debug_alloc): Uglify class names.
105 (__default_alloc_template): Uglify "threads" template parameter and
106 update corresponding macros.
107 * include/backward/alloc.h: Bring up to date.
109 2001-11-23 Jason Merrill <jason@redhat.com>
111 * src/vterminate.cc (__verbose_terminate_handler): Add leading
114 2001-11-23 Joseph S. Myers <jsm28@cam.ac.uk>
116 * ChangeLog, docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
117 docs/doxygen/doxygroups.cc, docs/doxygen/Intro.3,
118 docs/html/17_intro/BUGS, docs/html/17_intro/C++STYLE,
119 docs/html/17_intro/CHECKLIST, docs/html/17_intro/DESIGN,
120 docs/html/17_intro/howto.html, docs/html/17_intro/porting.html,
121 docs/html/17_intro/porting.texi, docs/html/18_support/howto.html,
122 docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
123 docs/html/21_strings/howto.html,
124 docs/html/23_containers/howto.html,
125 docs/html/26_numerics/howto.html, docs/html/27_io/howto.html,
126 docs/html/27_io/binary_iostreams_kuehl.txt,
127 docs/html/ext/sgiexts.html, docs/html/faq/index.html,
128 docs/html/faq/index.txt, testsuite/24_iterators/iterator.cc,
129 include/bits/basic_file.h, include/bits/locale_facets.h,
130 include/bits/locale_facets.tcc, include/bits/std_sstream.h,
131 include/ext/ropeimpl.h, include/ext/stl_rope.h,
132 libsupc++/tinfo.cc, libsupc++/cxxabi.h, libsupc++/typeinfo,
133 libsupc++/eh_throw.cc, acinclude.m4, aclocal.m4, configure,
134 configure.target, ChangeLog-2000: Fix spelling errors.
136 * config/locale/moneypunct_members_gnu.cc,
137 include/bits/locale_facets.h: Fix spelling errors.
139 2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
141 * testsuite/23_containers/list_capacity.cc: New file.
142 * testsuite/23_containers/list_ctor.cc: New file.
143 * testsuite/23_containers/list_modifiers.cc: New file.
144 * testsuite/23_containers/list_operators.cc: New file.
146 2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
148 * include/bits/stl_list.h: Reformatted according to C++STYLE rules.
149 (size): Replaced nonstandard distance() call with the standard one.
150 (transfer): Uglified to _M_transfer.
152 2001-11-21 Paolo Carlini <pcarlini@unitus.it>
155 * include/bits/basic_string.tcc (basic_string::reserve): Never shrink
156 below the current size.
157 * testsuite/21_strings/capacity.cc (test02): Add test.
159 2001-11-19 Phil Edwards <pme@gcc.gnu.org>
161 * docs/doxygen/Intro.3: More notes.
162 * docs/doxygen/style.css: Update to default style from Doxygen 1.2.10.
163 * include/bits/stl_algobase.h: Add doxygen hooks for functions.
164 * include/ext/hash_map: Add @file hook.
165 * include/ext/hash_set: Likewise.
166 * include/ext/rope: Likewise.
167 * include/ext/ropeimpl.h: Likewise.
168 * include/ext/slist: Likewise.
169 * include/ext/stl_hash_fun.h: Likewise.
170 * include/ext/stl_hashtable.h: Likewise.
171 * include/ext/stl_rope.h: Likewise.
173 * docs/html/17_intro/license.html: Remove "experimental" sentence.
174 * docs/html/19_diagnostics/howto.html: Document new verbose
176 * testsuite/27_io/filebuf.cc: Fix comment, move tweakable parameter
177 to more visible (closer to description) position.
179 * libsupc++/eh_type.cc: Formatting tweak.
180 * libsupc++/exception: Likewise.
181 * src/vterminate.cc: Likewise.
183 * docs/html/17_intro/porting.html: Regenerate.
184 * docs/html/faq/index.txt: Regenerate.
186 2001-11-18 Jason Merrill <jason@redhat.com>
188 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Take void*.
189 * libsupc++/eh_catch.cc (__cxa_begin_catch): Likewise.
190 * libsupc++/unwind-cxx.h: Adjust.
191 * src/Makefile.am (strstream.o): Pass -Wno-deprecated.
193 * libsupc++/eh_type.cc (__cxa_current_exception_type): New file.
194 * libsupc++/cxxabi.h: Declare it.
195 * libsupc++/Makefile.am (sources): Add it.
196 * src/vterminate.cc (verbose_terminate_handler): New file.
197 * libsupc++/exception: Declare it.
198 * src/Makefile.am (sources): Add it.
200 * src/Makefile.am (VPATH): Check the src directory before the top one.
202 2001-11-16 Paolo Carlini <pcarlini@unitus.it>
204 * include/bits/stl_deque.h (deque::erase()): Fix memory leak.
206 2001-11-16 Loren J. Rittle <ljrittle@acm.org>
208 * docs/html/17_intro/howto.html (Thread-safety): Rename
209 section to ``The Standard C++ library and multithreading'' and
210 update information based on recent mailing list traffic. Move
211 all discussion of __USE_MALLOC to...
212 * docs/html/23_containers/howto.html (Containers and multithreading):
213 ...here and rework it based on recent mailing list traffic.
215 2001-11-15 Loren J. Rittle <ljrittle@acm.org>
217 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Clarify
220 2001-11-15 <bjornw@planetarion.com>
221 Loren J. Rittle <ljrittle@acm.org>
224 * include/bits/stl_alloc.h (alloc): Update to use __mem_interface.
225 (single_client_alloc): Likewise.
227 2001-11-08 Danny Smith <dannysmith@users.sourceforge.net>
229 * configure.target: Add os_include_dir for mingw32* target.
230 * docs/html/17_intro/porting.texi: Mention mingw32 as target benefiting
231 from _GLIBCPP_AVOID_FSEEK.
232 * config/os/mingw32/bits/ctype_base.h: New file.
233 * config/os/mingw32/bits/ctype_inline.h: New file.
234 * config/os/mingw32/bits/ctype_noninline.h: New file.
235 * config/os/mingw32/bits/os_defines.h: New file.
237 2001-11-07 Nathan Myers <ncm@cantrip.org>
239 * docs/html/faq/index.html (5.8): New entry on ABIs.
240 * docs/html/faq/index.txt: Regenerate.
242 2001-11-07 Phil Edwards <pme@gcc.gnu.org>
244 * docs/html/faq/index.html: Explain libsupc++, mention 'long long'
246 * docs/html/faq/index.txt: Regenerate.
248 2001-11-06 Phil Edwards <pme@gcc.gnu.org>
250 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Run the test in
252 * aclocal.m4: Regenerate.
253 * configure: Regenerate.
255 2001-11-05 Phil Edwards <pme@gcc.gnu.org>
257 * porting.texi: Move...
258 * docs/html/17_intro/porting.texi: ...to here.
259 * docs/html/Makefile: Add rule to rebuild...
260 * docs/html/17_intro/porting.html: ...this. New file.
262 2001-11-05 Felix Natter <fnatter@gmx.net>
264 * docs/html/17_intro/porting-howto.xml: check in v0.9.4
265 * docs/html/17_intro/porting-howto.html: regenerate
267 2001-11-02 Loren J. Rittle <ljrittle@acm.org>
269 * include/bits/stl_threads.h (_Atomic_swap): Only enable path
270 when platform supports __GTHREAD_MUTEX_INIT.
272 2001-11-02 Phil Edwards <pme@gcc.gnu.org>
274 * acconfig.h: Update comments.
275 * acinclude.m4 (GLIBCPP_ENABLE_C99): Move strtoll, strtoull tests...
276 (GLIBCPP_ENABLE_LONG_LONG): ...to here. Don't check enable_c99.
277 * aclocal.m4: Regenerate.
278 * config.h.in: Regenerate.
279 * configure: Regenerate.
281 * include/bits/boost_concept_check.h: Unconditionally compile uses
282 of 'long long' which require only compiler support, not C lib support.
283 * include/bits/cpp_type_traits.h: Likewise.
284 * include/bits/std_limits.h: Likewise.
285 * include/bits/type_traits.h: Likewise.
286 * src/concept-inst.cc: Likewise.
287 * src/limits.cc: Likewise.
288 * include/c_shadow/stdlib.h: Compile conditionally on _GLIBCPP_USE_C99
289 instead of _GLIBCPP_USE_LONG_LONG.
290 * include/c_shadow/bits/std_cstdlib.h: Likewise.
292 2001-11-02 Phil Edwards <pme@gcc.gnu.org>
294 * config/io/c_io_stdio.h: Correct grammar in comments.
295 * docs/doxygen/Intro.3: Expand "top-level" man page.
296 * docs/doxygen/doxygroups.cc: New module definitions (comments).
297 * docs/doxygen/mainpage.doxy: Tweaks.
298 * docs/doxygen/run_doxygen: Update Doxygen version, massage man pages.
300 Add @file hooks so that headers are considered to be documented.
301 * include/bits/basic_ios.h, include/bits/basic_file.h,
302 include/bits/basic_string.h, include/bits/boost_concept_check.h,
303 include/bits/char_traits.h, include/bits/codecvt.h,
304 include/bits/concept_check.h, include/bits/cpp_type_traits.h,
305 include/bits/fpos.h, include/bits/gslice.h, include/bits/gslice_array.h,
306 include/bits/indirect_array.h, include/bits/ios_base.h,
307 include/bits/locale_facets.h, include/bits/localefwd.h,
308 include/bits/mask_array.h, include/bits/pthread_allocimpl.h,
309 include/bits/slice.h, include/bits/slice_array.h,
310 include/bits/std_algorithm.h, include/bits/std_bitset.h,
311 include/bits/std_complex.h, include/bits/std_deque.h,
312 include/bits/std_fstream.h, include/bits/std_functional.h,
313 include/bits/std_iomanip.h, include/bits/std_ios.h,
314 include/bits/std_iosfwd.h, include/bits/std_iostream.h,
315 include/bits/std_istream.h, include/bits/std_iterator.h,
316 include/bits/std_limits.h, include/bits/std_list.h,
317 include/bits/std_locale.h, include/bits/std_map.h,
318 include/bits/std_memory.h, include/bits/std_numeric.h,
319 include/bits/std_ostream.h, include/bits/std_queue.h,
320 include/bits/std_set.h, include/bits/std_sstream.h,
321 include/bits/std_stack.h, include/bits/std_streambuf.h,
322 include/bits/std_string.h, include/bits/std_utility.h,
323 include/bits/std_valarray.h, include/bits/std_vector.h,
324 include/bits/stl_algo.h, include/bits/stl_alloc.h,
325 include/bits/stl_bvector.h, include/bits/stl_construct.h,
326 include/bits/stl_deque.h, include/bits/stl_heap.h,
327 include/bits/stl_iterator.h, include/bits/stl_iterator_base_funcs.h,
328 include/bits/stl_iterator_base_types.h, include/bits/stl_list.h,
329 include/bits/stl_map.h, include/bits/stl_multimap.h,
330 include/bits/stl_multiset.h, include/bits/stl_numeric.h,
331 include/bits/stl_pair.h, include/bits/stl_pthread_alloc.h,
332 include/bits/stl_queue.h, include/bits/stl_raw_storage_iter.h,
333 include/bits/stl_relops.h, include/bits/stl_set.h,
334 include/bits/stl_stack.h, include/bits/stl_tempbuf.h,
335 include/bits/stl_threads.h, include/bits/stl_tree.h,
336 include/bits/stl_uninitialized.h, include/bits/stl_vector.h,
337 include/bits/stream_iterator.h, include/bits/streambuf_iterator.h,
338 include/bits/stringfwd.h, include/bits/type_traits.h,
339 include/bits/valarray_array.h, include/bits/valarray_meta.h:
340 Add hooks, tweak comments only.
342 * include/bits/stl_algobase.h (swap, min, iter_swap): Also
343 document these functions.
344 * include/bits/stl_function.h: Tweak link comments.
346 2001-11-01 Paolo Carlini <pcarlini@unitus.it>
347 Benjamin Kosnik <bkoz@redhat.com>
349 * testsuite/27_io/ios_manip_fmtflags.cc: Fix for non-interactive
351 * include/bits/locale_facets.tcc (num_put::do_put(bool)): Fix.
353 2001-11-01 Egor Duda <deo@logos-m.ru>
355 * config/os/newlib/bits/ctype_noninline.h
356 (ctype<char>::do_toupper(char __c)): Check for proper character class.
357 (ctype<char>::do_tolower(char __c)): Ditto.
359 2001-11-01 Phil Edwards <pme@gcc.gnu.org>
361 * acinclude.m4: Fix spacing.
362 (GLIBCPP_ENABLE_CONCEPT_CHECKS): New macro.
363 * configure.in: Call here.
364 * acconfig.h: Add _GLIBCPP_CONCEPT_CHECKS.
365 * include/bits/boost_concept_check.h: Fix headers.
366 (__function_requires): Make inline.
367 * include/bits/c++config (_GLIBCPP_CONCEPT_CHECKS): Remove.
368 * aclocal.m4: Regenerate.
369 * config.h.in: Regenerate.
370 * configure: Regenerate.
372 Move trailing ';' inside macro, PR libstdc++/3666.
373 * include/bits/concept_check.h: Add semicolon.
374 * include/bits/stl_algo.h: Remove semicolon.
375 * include/bits/stl_algobase.h: Likewise.
376 * include/bits/stl_deque.h: Likewise.
377 * include/bits/stl_heap.h: Likewise.
378 * include/bits/stl_iterator_base_funcs.h: Likewise.
379 * include/bits/stl_list.h: Likewise.
380 * include/bits/stl_map.h: Likewise.
381 * include/bits/stl_multimap.h: Likewise.
382 * include/bits/stl_multiset.h: Likewise.
383 * include/bits/stl_numeric.h: Likewise.
384 * include/bits/stl_queue.h: Likewise.
385 * include/bits/stl_set.h: Likewise.
386 * include/bits/stl_stack.h: Likewise.
387 * include/bits/stl_vector.h: Likewise.
388 * include/ext/hash_map: Likewise.
389 * include/ext/hash_set: Likewise.
390 * include/ext/slist: Likewise.
392 * src/concept-inst.cc: New file with explicit instantiations.
393 * src/Makefile.am (sources): Add here, with special build rules.
394 * src/Makefile.in: Regenerate.
396 2001-11-01 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
398 * include/bits/std_complex.h (_Norm_helper): New class template.
400 (abs): Tweak. Fix Thinko.
402 2001-10-31 Benjamin Kosnik <bkoz@redhat.com>
405 * include/bits/codecvt.h: Add virtual member function declarations.
406 * src/codecvt.cc: Tweaks.
407 * testsuite/22_locale/codecvt.cc: Test compilation only,
408 non-required facets not required to have linkage.
410 2001-10-31 Edward E. Meyer <edward.e.meyer@boeing.com>
413 * include/bits/std_complex.h (complex::operator/=): Correct sign.
415 2001-10-30 Paolo Carlini <pcarlini@unitus.it>
416 Benjamin Kosnik <bkoz@redhat.com>
419 * include/bits/basic_string.h: Tweaks.
420 * include/bits/basic_string.tcc (string::_M_replace(iterator,
421 iterator, _ForwardIter, _ForwardIter, forward_iterator_tag): Fix.
422 * src/string-inst.cc: Tweaks, add instantiation.
423 * testsuite/21_strings/replace.cc (test02): Add test.
424 * testsuite/21_strings/assign.cc (test01): New file.
426 001-10-30 Jakub Jelinek <jakub@redhat.com>
428 * include/bits/stl_deque.h (_M_new_elements_at_front): Use
429 __throw_exception_again.
430 (_M_new_elements_at_back): Likewise.
432 2001-10-29 Benjamin Kosnik <bkoz@redhat.com>
435 * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
436 * testsuite/27_io/filebuf.cc (test07): New test.
437 (test03): Modify showmanyc test.
439 2001-10-26 Benjamin Kosnik <bkoz@redhat.com>
442 * config/locale/codecvt_specializations_ieee_1003.1-200x.h
443 (__enc_traits::~__enc_traits): Fix.
444 (__enc_traits::_M_init): Add error checking.
446 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
449 * include/bits/locale_facets.tcc (time_get::_M_extract_name): Fix.
451 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
454 * include/bits/ostream.tcc (ostream::operator<<(streambuf*)): Fix
456 * include/bits/istream.tcc (istream::operator>>(streambuf*): Make
457 consistent, where possible.
458 * include/bits/streambuf.tcc: Tweak.
460 2001-10-25 Brendan Kehoe <brendan@zen.org>
463 * bits/ostream.tcc (seekp): Scope use as ios_base::failbit.
464 * bits/istream.tcc (seekg): Likewise.
466 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
467 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
468 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
470 * config/os/gnu-linux/bits/os_defines.h: Set to 64 bit longs with
472 * include/bits/std_limits.h: Fix wchar_t issues.
473 * config/os/aix/bits/os_defines.h: Fix.
475 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
477 * include/bits/locale_facets.tcc (collate::do_transform): Fix.
479 2001-10-25 Phil Edwards <pme@gcc.gnu.org>
481 * docs/html/documentation.html: Fix typo.
483 2001-10-23 Benjamin Kosnik <bkoz@redhat.com>
485 Make -fno-exceptions work.
486 * config/locale/c_locale_gnu.cc: Use functexcept.
487 * include/bits/c++config (__stl_assert): Remove.
488 (__STL_USE_EXCEPTIONS): Same.
490 (__STL_CATCH_ALL): Same.
492 (__STL_RETHROW): Same.
493 (__STL_NOTHROW): Same.
494 (__STL_UNWIND): Same.
495 * include/bits/pthread_allocimpl.h: Fix.
496 * include/bits/std_bitset.h: Same.
497 * include/bits/std_list.h: Same.
498 * include/bits/std_memory.h: Same.
499 * include/bits/std_queue.h: Same.
500 * include/bits/stl_alloc.h: Same.
501 * include/bits/stl_deque.h: Same.
502 * include/bits/stl_list.h: Same.
503 * include/bits/stl_queue.h: Same.
504 * include/bits/stl_tempbuf.h: Same.
505 * include/bits/stl_tree.h: Same.
506 * include/bits/stl_uninitialized.h: Same.
507 * include/bits/stl_vector.h: Same.
508 * include/ext/ropeimpl.h: Same.
509 * include/ext/slist: Same.
510 * include/ext/stl_hashtable.h: Same.
511 * include/ext/stl_rope.h: Same.
512 * libsupc++/new_op.cc: Include cstdlib.
513 * libsupc++/eh_personality.cc: Add exception_defines include. Use
514 __throw_exception_again, tweak.
515 * libsupc++/eh_aux_runtime.cc: Include stdlib for abort.
516 * libsupc++/vec.cc: Tweak.
517 * src/functexcept.cc: Remove unused arguments.
518 * testsuite/23_containers/bitset_members.cc: Tweak.
520 2001-10-22 Benjamin Kosnik <bkoz@redhat.com>
522 * config/cpu/i386/bits/limits.h: Move to...
523 * config/cpu/i386/bits/cpu_limits.h: ...here.
524 * config/cpu/cris/bits/cpu_limits.h: Same.
525 * config/cpu/powerpc/bits/cpu_limits.h: Same.
526 * config/cpu/x86-64/bits/cpu_limits.h: Same.
527 * config/cpu/alpha/bits/cpu_limits.h: New.
528 * config/cpu/m68k/bits/cpu_limits.h: New.
529 * config/cpu/s390/bits/cpu_limits.h: New.
530 * config/os/aix/bits/os_defines.h: Tweaks.
531 * config/os/bsd/freebsd/bits/os_defines.h: Same.
532 * config/os/bsd/netbsd/bits/os_defines.h: Same.
533 * config/os/djgpp/bits/os_defines.h: Same.
534 * config/os/generic/bits/os_defines.h: Same.
535 * config/os/gnu-linux/bits/os_defines.h: Same.
536 * config/os/hpux/bits/os_defines.h: Same.
537 * config/os/irix/irix5.2/bits/os_defines.h: Same.
538 * config/os/irix/irix6.5/bits/os_defines.h: Same.
539 * config/os/newlib/bits/os_defines.h: Same.
540 * config/os/solaris/solaris2.5/bits/os_defines.h: Same.
541 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
542 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
544 * include/bits/c++config: Remove include.
545 * include/bits/limits_generic.h: Remove.
546 * include/bits/std_limits.h: Include cpu_limits.h.
547 * include/Makefile.am: Fixup.
548 * src/limits.cc: Tweak.
549 * src/limits_generic.cc: Remove.
550 * src/gen-num-limits.cc: Remove.
551 * mknumeric_limits: Remove.
553 2001-10-20 Brendan Kehoe <brendan@zen.org>
555 * bits/type_traits.h (_Bool): Removed this type.
556 (__true_type, __false_type): Change to be plain structs.
557 * src/string-inst.cc (__destroy_aux): Change third parm to be
558 __false_type instead of _Bool<false>.
559 * src/misc-inst.cc (__uninitialized_fill_n_aux,
560 __uninitialized_copy_aux): Likewise.
562 2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
564 * mkcheck.in (static_fail): Remove older memory limit functionality.
565 Disable E_TIME due to formatting issues.
569 2001-10-19 Brendan Kehoe <brendan@zen.org>
571 * include/bits/std_complex.h: Default initialize second argument
572 of polar to 0, as specified in Library DR #79
574 2001-10-19 Brendan Kehoe <brendan@zen.org>
576 * include/bits/stl_raw_storage_iter.h (operator=): Fix to call
577 _Construct instead of construct.
579 2001-10-19 Brendan Kehoe <brendan@zen.org>
581 * include/bits/basic_string.tcc (find_first_not_of): Take out check for
582 __n being non-zero, since the standard does not mandate that.
583 e.g., a search for "" in "" should yield position 0, not npos.
584 (find_last_not_of): Likewise.
586 2001-10-19 Brendan Kehoe <brendan@zen.org>
588 * include/bits/stl_bvector.h (vector<bool>::_M_range_check): Fix
589 to throw out_of_range, not range_error, thus sayeth $23.1.1.13.
591 2001-10-19 Brendan Kehoe <brendan@zen.org>
593 * include/bits/stl_iterator.h (reverse_iterator::current): Rename
594 member from _M_current, and change all uses; thus sayeth $24.4.1.1.
596 2001-10-19 Brendan Kehoe <brendan@zen.org>
598 * include/bits/stl_algo.h (partial_sort): Add missing `>' on the
599 template parameter _ValueType.
601 2001-10-19 Brendan Kehoe <brendan@zen.org>
603 * include/bits/std_limits.h: Clean up extra semicolons.
604 * include/bits/locale_facets.h: Likewise.
605 * include/bits/type_traits.h: Likewise.
607 2001-10-19 Brendan Kehoe <brendan@zen.org>
609 * include/bits/localefwd.h (locale::combine): Add const for lib DR 14.
610 * include/bits/locale_facets.tcc (locale::combine): Likewise.
612 2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
614 * include/bits/locale_facets.h (__timepunct::_M_put_helper):
615 Declare specializations for char, wchar_t.
617 2001-10-19 Andreas Jaeger <aj@suse.de>
619 * config/cpu/x86-64/bits/limits.h: New file.
620 * config/cpu/x86-64/bits/atomicity.h: New file.
621 * configure.target: Add x86-64.
623 2001-10-17 Phil Edwards <pme@gcc.gnu.org>
625 * docs/html/17_intro/howto.html: Remove 1999 links (and explain
626 why). Add link to recent message.
627 * docs/html/faq/index.html (5.6): Reformat text only; fixup <pre>
629 * docs/html/faq/index.txt: Regenerate.
631 2001-10-12 Loren J. Rittle <ljrittle@acm.org>
633 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Update
634 based on Nathan's review. Use Nathan's words.
636 2001-10-11 Matt Kraai <kraai@alumni.carnegiemellon.edu>
638 * docs/html/configopts.html: Quote StyleSheet attribute values.
639 * docs/html/documentation.html: Likewise.
640 * docs/html/explanations.html: Likewise.
641 * docs/html/install.html: Likewise.
642 * docs/html/17_intro/howto.html: Likewise.
643 * docs/html/17_intro/license.html: Likewise.
644 * docs/html/18_support/howto.html: Likewise.
645 * docs/html/19_diagnostics/howto.html: Likewise.
646 * docs/html/20_util/howto.html: Likewise.
647 * docs/html/21_strings/howto.html: Likewise.
648 * docs/html/22_locale/howto.html: Likewise.
649 * docs/html/23_containers/howto.html: Likewise.
650 * docs/html/24_iterators/howto.html: Likewise.
651 * docs/html/25_algorithms/howto.html: Likewise.
652 * docs/html/26_numerics/howto.html: Likewise.
653 * docs/html/27_io/howto.html: Likewise.
654 * docs/html/ext/howto.html: Likewise.
655 * docs/html/ext/sgiexts.html: Likewise.
656 * docs/html/faq/index.html: Likewise.
658 2001-10-11 Loren J. Rittle <ljrittle@acm.org>
660 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Rewrite.
661 * docs/html/23_containers/howto.html (Containers and multithreading):
664 2001-10-09 Phil Edwards <pme@gcc.gnu.org>
666 * docs/html/17_intro/howto.html: Tweak markup and value type.
667 * docs/html/27_io/howto.html: Tweak markup, describe setbuf() for
668 nonzero arguments, add new note on threading.
669 * docs/html/faq/index.html: Update.
670 * docs/html/faq/index.txt: Regenerate.
672 2001-10-09 Phil Edwards <pme@gcc.gnu.org>
674 * docs/html/configopts.html: More HTML->XHTML and lowercasing of tags.
675 * docs/html/documentation.html: Likewise.
676 * docs/html/explanations.html: Likewise.
677 * docs/html/install.html: Likewise.
678 * docs/html/17_intro/howto.html: Likewise.
679 * docs/html/17_intro/license.html: Likewise. Tighten up language.
680 * docs/html/18_support/howto.html: Likewise.
681 * docs/html/19_diagnostics/howto.html: Likewise.
682 * docs/html/20_util/howto.html: Likewise.
683 * docs/html/21_strings/howto.html: Likewise.
684 * docs/html/22_locale/howto.html: Likewise.
685 * docs/html/23_containers/howto.html: Likewise.
686 * docs/html/24_iterators/howto.html: Likewise.
687 * docs/html/25_algorithms/howto.html: Likewise.
688 * docs/html/26_numerics/howto.html: Likewise.
689 * docs/html/27_io/howto.html: Likewise.
690 * docs/html/ext/howto.html: Likewise.
691 * docs/html/ext/sgiexts.html: Likewise.
692 * docs/html/faq/index.html: Likewise. Not so many absolute links.
693 * docs/html/faq/index.txt: Regenerate.
695 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
697 * docs/html/22_locale/locale.html, docs/html/faq/index.html: Fix
698 spelling errors of "separate" as "seperate", and corresponding
699 spelling errors of related words.
700 * docs/html/faq/index.txt: Regenerate.
702 2001-10-05 Phil Edwards <pme@gcc.gnu.org>
704 * config/cpu/alpha/bits/atomicity.h (__compare_and_swap): Remove
706 * config/cpu/arm/bits/atomicity.h: Likewise.
707 * config/cpu/generic/bits/atomicity.h: Likewise.
708 * config/cpu/i486/bits/atomicity.h: Likewise.
709 * config/cpu/ia64/bits/atomicity.h: Likewise.
710 * config/cpu/mips/bits/atomicity.h: Likewise.
711 * config/cpu/powerpc/bits/atomicity.h: Likewise.
712 * config/cpu/sparc/sparc32/bits/atomicity.h: Likewise.
713 * config/cpu/sparc/sparc64/bits/atomicity.h: Likewise.
715 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
717 * docs/html/faq/index.html: Describe DR #22, and a workaround.
718 * docs/html/faq/index.txt: Regenerate.
720 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
722 * docs/html/17_intro/COPYING.DOC: New file, GFDL v1.1 from the FSF.
723 * docs/html/17_intro/license.html: New file. Explain the licenses
726 * docs/html/configopts.html: Link to license.html.
727 * docs/html/documentation.html: Likewise.
728 * docs/html/explanations.html: Likewise.
729 * docs/html/install.html: Likewise.
730 * docs/html/17_intro/howto.html: Likewise.
731 * docs/html/18_support/howto.html: Likewise.
732 * docs/html/19_diagnostics/howto.html: Likewise.
733 * docs/html/20_util/howto.html: Likewise.
734 * docs/html/21_strings/howto.html: Likewise.
735 * docs/html/22_locale/howto.html: Likewise.
736 * docs/html/23_containers/howto.html: Likewise.
737 * docs/html/24_iterators/howto.html: Likewise.
738 * docs/html/25_algorithms/howto.html: Likewise.
739 * docs/html/26_numerics/howto.html: Likewise.
740 * docs/html/27_io/howto.html: Likewise.
741 * docs/html/ext/howto.html: Likewise.
742 * docs/html/ext/sgiexts.html: Likewise.
743 * docs/html/faq/index.html: Likewise. New question, linking to
744 the new license.html.
746 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
748 * docs/html/17_intro/howto.html: Fix mis-sed in header from 20010917.
749 * docs/html/18_support/howto.html: Likewise.
750 * docs/html/19_diagnostics/howto.html: Likewise.
751 * docs/html/20_util/howto.html: Likewise.
752 * docs/html/21_strings/howto.html: Likewise.
753 * docs/html/22_locale/howto.html: Likewise.
754 * docs/html/23_containers/howto.html: Likewise.
755 * docs/html/24_iterators/howto.html: Likewise.
756 * docs/html/25_algorithms/howto.html: Likewise.
757 * docs/html/26_numerics/howto.html: Likewise.
758 * docs/html/27_io/howto.html: Likewise.
759 * docs/html/ext/howto.html: Likewise.
760 * docs/html/faq/index.html: Likewise. Spacing fix.
762 2001-10-03 Dimitris Vyzovitis <vyzo@media.mit.edu>
764 * include/bits/stl_threads.h (_Atomic_swap): New function.
765 (_Swap_lock_struct<__dummy>::_S_swap_lock): New data.
766 * testsuite/ext/rope.cc: New file.
768 2001-10-02 Benjamin Kosnik <bkoz@redhat.com>
770 * config/locale/time_members_gnu.h: Remove.
771 * config/locale/time_members_generic.h: Remove.
772 * config/locale/time_members_gnu.cc (__timepunct::_M_put_helper): Add.
773 * config/locale/time_members_generic.cc: Same.
774 * include/bits/locale_facets.h: Add data members.
775 (__timepunct::_M_put_helper): Change signature.
776 (__timepunct::_M_date_formats): Same.
777 (__timepunct::_M_time_formats): Same.
778 (__timepunct::_M_ampm): Add.
779 (__timepunct::_M_date_time_formats): Add.
780 (time_get::_M_extract_via_format): Add.
781 (time_get::_M_extract_time): Change to...
782 (time_get::_M_extract_num): ... this, modify signature.
783 * include/bits/locale_facets.tcc (time_get::do_get_year): Fix.
784 (time_get::do_get_time): Fix.
785 (time_get::do_get_date): Fix.
787 * acinclude.m4: Remove CTIME_H.
788 * aclocal.m4: Regenerate.
789 * include/Makefile.am: Same.
790 * include/Makefile.in: Regenerate.
791 * configure: Regenerate.
793 * testsuite/22_locale/time_get_members_char.cc: Fix.
794 * testsuite/22_locale/time_get_members_wchar_t.cc: Add.
795 * testsuite/22_locale/time_put_members_wchar_t.cc: Add.
797 2001-10-01 Hans-Peter Nilsson <hp@axis.com>
799 * config/cpu/cris/bits/atomicity.h: Correct file header.
801 2001-09-29 Hans-Peter Nilsson <hp@axis.com>
803 * configure.target (LIMITSH): Set for cris.
804 (cpu_include_dir): Set for cris-*-*.
805 * config/cpu/cris/bits/atomicity.h: New file.
806 * config/cpu/cris/bits/limits.h: New file.
808 2001-09-28 Benjamin Kosnik <bkoz@redhat.com>
810 * config/locale/time_members_gnu.h (__timepunct::_M_get_helper): Add.
811 (__timepunct::_M_put_helper): Add.
812 * config/locale/time_members_generic.h: Same.
813 * include/bits/locale_facets.h (__match_parallel): Remove. Format.
814 (__timepunct): Add data members.
815 (__timepunct::_M_days): Add.
816 (__timepunct::_M_days_abbreviated): Add.
817 (__timepunct::_M_months): Add.
818 (__timepunct::_M_months_abbreviated): Add.
819 (__timepunct::_M_initialize_timepunct): Add.
820 * include/bits/locale_facets.tcc: Same.
821 * src/locale-inst.cc: Remove instantiations for __match_parallel.
822 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_CC.
823 * aclocal.m4: Regenerate.
824 * configure: Regenerate.
825 * testsuite/22_locale/time_put_members_char.cc: Mark XFAIL.
826 * testsuite/22_locale/time_put_members_char.cc (test01): New file.
827 * testsuite/22_locale/time_get.cc: New file.
829 2001-09-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
831 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
832 correct multilib builddir.
833 Properly locate libgcc_s.
835 2001-09-27 Phil Edwards <pme@gcc.gnu.org>
837 * include/std/*: Add Doxygen hooks.
838 * docs/doxygen/Intro.3: New file, general intro to the man pages.
839 * docs/doxygen/mainpage.doxy: Formatting tweaks. List our own links
840 rather than using a generated index.
841 * docs/doxygen/user.cfg.in: Disable the index, enable man pages.
842 * docs/doxygen/run_doxygen: Massage the generated man pages, using...
843 * docs/doxygen/stdheader.cc: ...this new file.
845 2001-09-26 Stan Shebs <shebs@apple.com>
847 * include/Makefile.am: Remove RCS Id strings.
848 * src/Makefile.am: Ditto.
849 * docs/doxygen/run_doxygen: Ditto.
850 * docs/html/configopts.html: Ditto.
851 * docs/html/documentation.html: Ditto.
852 * docs/html/explanations.html: Ditto.
853 * docs/html/install.html: Ditto.
854 * docs/html/17_intro/howto.html: Ditto.
855 * docs/html/18_support/howto.html: Ditto.
856 * docs/html/19_diagnostics/howto.html: Ditto.
857 * docs/html/20_util/howto.html: Ditto.
858 * docs/html/21_strings/howto.html: Ditto.
859 * docs/html/22_locale/howto.html: Ditto.
860 * docs/html/23_containers/howto.html: Ditto.
861 * docs/html/24_iterators/howto.html: Ditto.
862 * docs/html/25_algorithms/howto.html: Ditto.
863 * docs/html/26_numerics/howto.html: Ditto.
864 * docs/html/27_io/howto.html: Ditto.
865 * docs/html/ext/howto.html: Ditto.
866 * docs/html/ext/sgiexts.html: Ditto.
867 * docs/html/faq/index.html: Ditto.
868 * docs/html/faq/index.txt: Ditto.
870 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
872 * testsuite/21_strings/c_strings.cc (test01, test02): Increase
875 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
877 * docs/html/20_util/howto.html: Add anchor name.
878 * docs/html/23_containers/howto.html: Line wrapping, another link.
879 * docs/html/25_algorithms/howto.html: Another note.
881 * docs/html/ext/howto.html: Link to SGI extensions. List DRs and
883 * docs/html/ext/lwg-active.html: ...in this new file (from R19),
884 * docs/html/ext/lwg-defects.html: and this new file (from R19).
885 * docs/html/ext/sgiexts.html: New file. Mention SGI extensions
886 carried over to libstdc++-v3.
887 * docs/html/faq/index.html: Link to SGI extensions. Mention the
888 "missing .." pseudobug.
889 * docs/html/faq/index.txt: Regenerate.
891 * include/bits/ios_base.h: DR-related comment cleanup.
892 * include/bits/istream.tcc: Likewise.
893 * include/bits/locale_facets.h: Likewise.
894 * include/bits/locale_facets.tcc: Likewise.
895 * include/bits/ostream.tcc: Likewise.
896 * include/bits/std_bitset.h: Likewise.
897 * include/bits/std_iosfwd.h: Likewise.
898 * include/bits/std_istream.h: Likewise.
899 * include/bits/std_ostream.h: Likewise.
900 * include/bits/std_streambuf.h: Likewise.
901 * include/bits/stl_pair.h: Likewise.
902 * include/bits/streambuf_iterator.h: Likewise.
904 * include/bits/std_map.h: Remove unused header inclusion guard
905 _CPP_BITS_STL_TREE_H from around bits/stl_tree.h.
906 * include/bits/std_set.h: Likewise.
908 * include/bits/stl_function.h: Doxygen markup.
909 * docs/doxygen/doxygroups.cc: New file, specifying module grouping.
910 * libsupc++/typeinfo: Doxygen markup tweak.
912 2001-09-20 Scott Johnston <scott@accom.com>
913 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
915 * include/backward/alloc.h: Conditionally define malloc_alloc
916 * testsuite/backward/header_deque_h.cc: New file.
918 2001-09-20 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
920 * libstdc++-v3/include/bits/locale_facets.tcc (money_put::do_put):
921 change variable name so that it works with -fno-for-scope.
923 2001-09-20 Benjamin Kosnik <bkoz@redhat.com>
925 * testsuite/22_locale/numpunct_members_char.cc (test01): Remove
926 redundant sanity checks.
927 * testsuite/22_locale/money_put_members_wchar_t.cc (test01): Same.
929 * testsuite/22_locale/money_put_members_char.cc (test01): Same.
931 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test01): Same.
932 * testsuite/22_locale/moneypunct_members_char.cc (test01): Same.
933 * testsuite/22_locale/money_get_members_wchar_t.cc (test01): Same.
935 * testsuite/22_locale/money_get_members_char.cc (test01): Same.
938 2001-09-19 Benjamin Kosnik <bkoz@redhat.com>
940 Implement std::time_put.
941 * include/bits/locale_facets.h: Include time_members.h.
943 (time_put): Implement.
944 * include/bits/locale_facets.tcc (do_put): Put generic versions here.
945 * include/bits/localefwd.h: Bump number of facets.
946 * config/locale/time_members_generic.h: New file.
947 * config/locale/time_members_gnu.h: New file.
948 * config/locale/c_locale_generic.h: Include clocale.
949 * src/locale-inst.cc: Add use_facet instantiations for __timepunct.
950 * src/locale.cc: Add __timepunct initializations.
951 * src/localename.cc (locale::_Impl::_Impl(string, size_t)): Same.
952 * include/Makefile.am (stamp-target): Add time_members.h.
953 * include/Makefile.in: Regenerate.
954 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_H.
955 * aclocal.m4: Regenerate.
956 * configure: Regenerate.
957 * testsuite/22_locale/time_put.cc: New file.
958 * testsuite/22_locale/time_put_members_char.cc: New file.
960 * docs/html/22_locale/locale.html: Add note.
962 2001-09-17 Phil Edwards <pme@gcc.gnu.org>
964 * docs/html/configopts.html: HTML to XHTML change. Lowercase tags.
965 * docs/html/documentation.html: Likewise.
966 * docs/html/explanations.html: Likewise.
967 * docs/html/install.html: Likewise.
968 * docs/html/17_intro/howto.html: Likewise.
969 * docs/html/18_support/howto.html: Likewise.
970 * docs/html/19_diagnostics/howto.html: Likewise.
971 * docs/html/20_util/howto.html: Likewise.
972 * docs/html/21_strings/howto.html: Likewise.
973 * docs/html/22_locale/codecvt.html: Likewise.
974 * docs/html/22_locale/ctype.html: Likewise.
975 * docs/html/22_locale/howto.html: Likewise.
976 * docs/html/22_locale/locale.html: Likewise.
977 * docs/html/22_locale/messages.html: Likewise.
978 * docs/html/23_containers/howto.html: Likewise.
979 * docs/html/24_iterators/howto.html: Likewise.
980 * docs/html/25_algorithms/howto.html: Likewise.
981 * docs/html/26_numerics/howto.html: Likewise.
982 * docs/html/27_io/howto.html: Likewise.
983 * docs/html/ext/howto.html: Likewise.
984 * docs/html/faq/index.html: Likewise.
985 * docs/html/faq/index.txt: Regenerated.
987 2001-09-14 Phil Edwards <pme@sources.redhat.com>
989 * docs/html/17_intro/headers_cc.txt: "Sync"/copy real file over.
990 * docs/html/17_intro/howto.html: Spacing and HTML markup fixes.
991 * docs/html/18_support/howto.html: It won't compile; it's not code.
992 * docs/html/19_diagnostics/howto.html: Point diagram seekers to
994 * docs/html/22_locale/howto.html: Comment for future work.
995 * docs/html/23_containers/howto.html: More comments.
996 * docs/html/25_algorithms/howto.html: It's a comment, not a
997 blunt command to the reader. (English grammar.)
999 2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
1001 * config/locale/moneypunct_members_gnu.cc: Fix initialization of
1003 * testsuite/22_locale/money_get_members_wchar_t.cc (test02): New file.
1004 * testsuite/22_locale/money_put_members_wchar_t.cc (test02): Fix.
1006 2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
1008 * include/bits/locale_facets.tcc: Conditionalize use of strtold.
1010 2001-09-13 Alexandre Petit-Bianco <apbianco@redhat.com>
1012 * testsuite/22_locale/money_get_members_char.cc: Fixed typo in comment.
1013 * testsuite/22_locale/money_put_members_char.cc: Likewise.
1014 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
1016 2001-09-13 Benjamin Kosnik <bkoz@redhat.com>
1018 Implement std::money_get.
1019 * include/bits/locale_facets.tcc (money_get::do_get): Implement.
1020 * include/bits/locale_facets.h (money_get): Correct signatures.
1021 * testsuite/22_locale/money_get.cc: New file.
1022 * testsuite/22_locale/money_get_members_char.cc: New file.
1024 * include/bits/locale_facets.tcc (__verify_grouping): New
1025 function. Consolidate num_get and money_get group checking into
1027 (money_get): Use it.
1028 * src/locale.cc (num_get::_M_extract): Use it.
1029 * src/locale-inst.cc: Add instantiation.
1031 2001-09-12 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1033 * include/bits/std_limits.h (numeric_limits<float>::radix,
1034 numeric_limits<float>::epsilon: Fix thinko.
1036 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
1038 * configure.in: Fix cross compiling math routines. Correct
1039 comments for cross compiling and limits. Add floating point math
1040 routines found in newlib.
1041 * configure: Regenerate.
1042 * acconfig.h: Add macros.
1043 * config.h.in: Regenerate.
1045 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
1047 * config/locale/moneypunct_members_generic.cc
1048 (money_base::_S_construct_pattern): Remove unused parameters.
1050 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
1052 * include/Makefile.am (stamp-target): Remove link to self.
1053 * inclulde/Makefile.in: Regenerate.
1055 2001-09-09 Benjamin Kosnik <bkoz@redhat.com>
1057 Implement std::money_put.
1058 * include/bits/locale_facets.h
1059 (moneypunct::_M_initialize_moneypunct): Split up specializations
1060 to account for _Intl. More grody hacking to get around the
1061 ill-considered use of const bool as a template parameter.
1062 * config/locale/moneypunct_members_gnu.cc: And here.
1063 * config/locale/moneypunct_members_generic.cc: And here.
1064 * testsuite/22_locale/moneypunct_members_char.cc: Add tests.
1065 * testsuite/22_locale/moneypunct.cc: Add tests.
1066 * testsuite/22_locale/money_put_members_wchar_t.cc: New file.
1067 * testsuite/22_locale/moneypunct_members_wchar_t.cc: New file.
1069 * src/locale.cc (money_base::_S_construct_pattern): Move into
1071 * config/locale/moneypunct_members_gnu.cc: Add here.
1072 * config/locale/moneypunct_members_generic.cc: Add generic version
1075 * include/bits/locale_facets.tcc (money_put::do_put): Move member
1076 function definitions here.
1077 * include/bits/locale_facets.h (money_put): Implement.
1078 * src/locale-inst.cc: Add use_facet instantiations for moneypunct.
1079 Correct money_get, money_put instantiations.
1080 * src/locale.cc (money_base::_S_construct_pattern): Handle case
1082 * testsuite/22_locale/money_put_members_char.cc: Add tests.
1084 2001-09-05 Phil Edwards <pme@sources.redhat.com>
1086 * testsuite_flags.in: No longer need to search testsuite builddir.
1087 * src/stl-inst.cc (__sink_unused_warning): Unused, remove.
1088 * Makefile.am: The testsuite directory never needs to be made here.
1089 * Makefile.in: Regenerate.
1090 * include/Makefile.in: Regenerate.
1091 * libio/Makefile.in: Regenerate.
1092 * libmath/Makefile.in: Regenerate.
1093 * libsupc++/Makefile.in: Regenerate.
1094 * po/Makefile.in: Regenerate.
1095 * src/Makefile.in: Regenerate.
1096 * testsuite/Makefile.in: Regenerate.
1098 2001-09-04 Scott Johnston <scott@accom.com>
1099 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1101 * include/backward/iterator.h: Include <bits/std_iterator.h>,
1102 remove reverse_bidirectional_iterator.
1103 * testsuite/backward: New directory.
1104 * testsuite/backward/header_iterator_h.cc: New file.
1106 2001-09-04 Benjamin Kosnik <bkoz@redhat.com>
1108 * include/c_std/bits/std_c*.h: Don't use include_next.
1110 2001-09-03 Richard Sandiford <rsandifo@redhat.com>
1112 * libsupc++/eh_personality.cc (parse_lsda_header): Change type of
1113 tmp from _Unwind_Ptr to _Unwind_Word.
1115 2001-08-31 Jason Merrill <jason_merrill@redhat.com>
1117 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Simplify
1120 2001-08-28 Loren J. Rittle <ljrittle@acm.org>
1122 * include/Makefile.am: Use toplevel_srcdir to refer to src files
1123 outside this component.
1124 * include/Makefile.in: Regenerate.
1126 2001-08-27 Benjamin Kosnik <bkoz@redhat.com>
1128 * config/locale/c_locale_gnu.cc: Move facet info to separate files...
1129 * config/locale/c_locale_generic.cc: Same.
1130 * config/locale/moneypunct_members_gnu.cc: New file.
1131 * config/locale/moneypunct_members_generic.cc: New file.
1132 * config/locale/numpunct_members_gnu.cc: New file.
1133 * config/locale/numpunct_members_generic.cc: New file.
1134 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add moneypunct, numpunct
1136 * aclocal.m4: Regenerate.
1137 * configure: Regenerate.
1138 * src/Makefile.am (sources): And here.
1139 * src/Makefile.in: Regenerate.
1141 Rename for consistency with rest of testsuite.
1142 * testsuite/22_locale/codecvt.cc: New file.
1143 * testsuite/22_locale/money_put.cc: New file.
1144 * testsuite/22_locale/money_put_members_char.cc: New file.
1146 2001-08-27 Phil Edwards <pme@sources.redhat.com>
1149 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Handle enable/disable
1150 correctly for version-specific-runtime-libs.
1151 * aclocal.m4: Regenerate.
1152 * configure: Regenerate.
1154 2001-08-24 Loren J. Rittle <ljrittle@acm.org>
1156 * config/cpu/i386/bits/limits.h (__glibcpp_long_double_bits): Only
1157 define if not already provided by per-OS file.
1158 * config/os/bsd/freebsd/bits/os_defines.h (__glibcpp_long_double_bits):
1161 2001-08-24 Jan van Male <jan.vanmale@fenk.wau.nl>
1163 * docs/html/17_intro/C++STYLE: Fix typo.
1165 2001-08-24 Phil Edwards <pme@sources.redhat.com>
1167 * docs/html/23_containers/howto.html: Describe implementation of
1168 insertion with hints.
1170 2001-08-24 Kenny Simpson <kenny.simpson@gs.com>
1173 * include/bits/std_sstream.h (basic_ostringstream): Fix ctor.
1175 2001-08-24 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
1176 Phil Edwards <pme@sources.redhat.com>
1179 * include/bits/stl_tree.h (insert_unique): Revert last change.
1180 Values inserted at begin() must be less, not greater, than *begin()'s.
1181 * testsuite/23_containers/map_insert.cc: New file.
1183 2001-08-23 Benjamin Kosnik <bkoz@redhat.com>
1185 * config/locale/c_locale_gnu.cc: Minor tweaks.
1186 (moneypunct<wchar_t>): Implement.
1187 * include/bits/locale_facets.h: Same.
1188 * testsuite/22_locale/moneypunct.cc: New file.
1189 * testsuite/22_locale/moneypunct_byname.cc: New file.
1190 * testsuite/22_locale/moneypunct_char_members.cc: New file.
1192 2001-08-23 David Edelsohn <edelsohn@gnu.org>
1194 * config/os/gnu-linux/bits/os_defines.h: Correct __s390__ definitions.
1195 Set __powerpc__ long double definition based on __LONG_DOUBLE_128__.
1197 2001-08-23 Jason Merrill <jason_merrill@redhat.com>
1199 * testsuite_flags.in (build-includes): Re-add backward.
1201 2001-08-22 Benjamin Kosnik <bkoz@redhat.com>
1203 * testsuite/22_locale/collate_wchar_t_members.cc: Guard
1204 with _GLIBCPP_USE_WCHAR_T.
1206 2001-08-21 Benjamin Kosnik <bkoz@redhat.com>
1208 * testsuite/22_locale/collate_byname.cc (test01): Fix.
1210 2001-08-18 Vladimir A Merzliakov <wanderer@rsu.ru>
1212 * include/bits/locale_facets.tcc (collate::do_transform): Add typename.
1214 2001-08-18 Benjamin Kosnik <bkoz@redhat.com>
1216 * testsuite/22_locale/operators.cc: Add test.
1218 2001-08-17 Benjamin Kosnik <bkoz@redhat.com>
1220 Implement std::collate.
1221 * config/locale/collate_specializations_gnu.cc: Add here, implement in
1223 * config/locale/collate_specializations_generic.cc: Add here, but
1224 in a less sophisticated manner.
1225 * include/bits/locale_facets.tcc (collate): Add generic definition.
1226 * include/bits/locale_facets.h (~collate): Mark virtual.
1227 (collate::_M_compare_helper): New.
1228 (collate::_M_transform_helper): New.
1229 * src/locale.cc: Remove unnecessary specializations.
1230 * src/string-inst.cc: Tweak instantiation of ctors.
1232 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Do configury for collate.
1233 * aclocal.m4: Regenerate.
1234 * configure: Regenerate.
1235 * src/Makefile.am (sources): Add collate.cc.
1236 * src/Makefile.in: Regenerate.
1238 * testsuite/22_locale/collate_byname.cc: New.
1239 * testsuite/22_locale/collate.cc: New file.
1240 * testsuite/22_locale/collate_char_members.cc: New file.
1241 * testsuite/22_locale/collate_wchar_t_members.cc: New file.
1243 2001-08-16 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1245 * configure.target: Set LIMITSH for powerpc-*-*.
1246 * config/cpu/powerpc/bits/limits.h: New file.
1248 2001-08-16 Marc Espie <espie@openbsd.org>
1250 * configure.in: Check for <sys/types.h>.
1251 * configure: Rebuild.
1252 * config.h.in: Rebuild.
1253 * libmath/mathconf.h: Include <sys/types.h> prior to
1254 <machine/endian.h> if available.
1256 2001-08-15 Andreas Schwab <schwab@suse.de>
1258 * configure.target (cpu_include_dir): Set to `config/cpu/m68k' for
1259 m68k and m680[246]0.
1260 * config/cpu/m68k/bits/atomicity.h: New file.
1262 * include/bits/std_limits.h [__glibcpp_long_double_bits == 96]:
1263 Define appropriate long double limits for m68k extended floating
1265 (__glibcpp_f32_digits10): Corrected, off by one.
1266 (__glibcpp_f80_digits10): Likewise.
1267 (__glibcpp_f128_digits10): Likewise.
1268 * config/os/gnu-linux/bits/os_defines.h
1269 (__glibcpp_long_double_bits) [__mc68000__]: Define to 96.
1271 2001-08-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1273 * testsuite/18_support/numeric_limits.cc: Add more tests.
1274 * include/bits/std_limits.h (numeric_limits<char>::max): Fix
1277 2001-08-14 Ulrich Weigand <uweigand@de.ibm.com>
1279 * configure.target (cpu_include_dir): Set to `config/cpu/s390'
1282 * config/cpu/s390/bits/atomicity.h: New.
1284 2001-08-14 Gabriel Dos Reis <gdr@codesourcery.com>
1286 * include/bits/std_limits.h: Fix thinko.
1288 2001-08-14 Benjamin Kosnik <bkoz@redhat.com>
1290 * include/Makefile.am: Consolidate target rules. Don't clean stamp
1291 files. Tweak target build directory stamp.
1292 * include/Makefile.in: Regenerate.
1294 2001-08-14 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1296 * libstdc++-v3/libmath/stubs.c: Fix PR/3988, replace
1297 _GBLICPP_HAVE_LOGL with HAVE_LOGL
1299 2001-08-13 Benjamin Kosnik <bkoz@redhat.com>
1301 * configure.in (libtool_VERSION): Add.
1302 (VERSION): Change to
1303 (release_VERSION): This.
1304 * configure: Regenerate.
1305 * src/Makefile.am (libstdc___la_LDFLAGS): Use -version-info with
1307 * src/Makefile.in: Regenerate.
1309 * intl/Makefile.am: Remove.
1310 * intl/Makefile.in: Remove.
1312 * Makefile.am (SUBDIRS): Remove intl.
1313 * po/Makefile.am (DISTFILES): Add string_literals.cc
1315 * po/string_literals.cc: Add.
1316 * po/POTFILES.in: Fix path.
1317 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't call AM_GNU_GETTEXT.
1318 * aclocal.m4: Regenerate.
1319 * configure.in: Remove AC_OUTPUT of intl/Makefile.
1321 * include/backward/backward_warning.h: Clarify message.
1323 * testsuite_flags.in (--cxxflags): Use same debug flags for
1324 library and testsuite.
1326 * include/Makefile.am (c_compatibility): Remove.
1327 * include/Makefile.in: Regenerate.
1329 2001-08-13 Mark Mitchell <mark@codesourcery.com>
1331 * configure.in (LIMITS_INC_SRCDIR): New variable.
1332 * configure.target (LIMITSH): New variable.
1333 * porting.texi: Discuss numeric limits.
1334 * config/cpu/generic/bits/limits.h: New file.
1335 * config/cpu/i386/bits/limits.h: New file.
1336 * include/Makefile.am: Install bits/limits.h.
1337 * include/bits/c++config: Include bits/limits.h.
1339 2001-08-13 H.J. Lu (hjl@gnu.org)
1341 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-copy-files):
1343 (libstdc++-v3-init ): Use it.
1345 2001-08-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1347 * include/bits/ostream.tcc (__pad_char): Change toplevel '__fmt'
1348 to '__adjust' to avoid shadowing in nested scope.
1350 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1352 * include/bits/std_limits.h(__glibcpp_char_is_signed): Use
1355 * config/os/gnu-linux/bits/os_defines.h(__glibcpp_char_is_signed):
1357 * config/os/aix/bits/os_defines.h(__glibcpp_plain_char_is_signed):
1360 2001-08-10 Loren J. Rittle <ljrittle@acm.org>
1362 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Add
1363 dummy default argument to the non-limit implementation.
1366 * include/Makefile.am: Use relative file path in rule to allow
1368 * include/Makefile.in: Rebuilt.
1370 2001-08-10 Gunter Winkler <gunter.winkler@mathematik.tu-chemnitz.de>
1372 * include/bits/std_complex.h (complex<long double>::operator*=,
1373 complex<long double>::operator/=): Fix thinko.
1375 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1377 * include/bits/std_limits.h: New file.
1378 * include/Makefile.am (bits_headers): Add std_limits.h
1379 (all-local): std_limits.h is no longer built.
1380 (${target_builddir}/std_limits.h): Remove.
1381 * include/Makefile.in: Regenerate.
1382 * src/limits.cc: New file.
1383 * src/Makefile.am (sources): Add limits.cc in replacement of
1385 * src/Makefile.in: Regenerate.
1387 2001-08-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1389 * src/gen-num-limits.cc (digits10): Fix thinko.
1391 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
1393 * po/Makefile.am (check-no): Add.
1395 * po/Makefile.in: Regenerate.
1397 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
1399 * acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
1400 * config.h.in: Regenerate.
1401 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT): Check for setrlimit
1403 * aclocal.m4: Regenerate.
1404 * configure.in: Remove duplicate AM_CONFIG_HEADER.
1405 (AM_CONFIG_HEADER): Remove testsuite/testsuite_hooks.h.
1406 Only call GLIBCPP_CHECK_SETRLIMIT for native compiles.
1407 * configure: Regenerate.
1408 * testsuite_hooks.h.in: Move to...
1409 * testsuite_hooks.h: Here, include c++config.h. Use it.
1411 * Makefile.am (SUBDIRS): Move testsuite to last directory.
1412 * Makefile.in: Regenerate.
1413 * po/Makefile.am (stamp-po): Add.
1415 2001-08-09 David Edelsohn <edelsohn@gnu.org>
1417 * config/os/aix/bits/os_defines.h: Define std_limits.h macros.
1418 * config/os/generic/bits/os_defines.h: Likewise.
1419 * config/os/gnu-linux/bits/os_defines.h: Likewise.
1420 * config/os/hpux/bits/os_defines.h: Likewise.
1421 * config/os/irix/irix6.5/bits/os_defines.h: Likewise.
1422 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
1424 2001-08-08 Benjamin Kosnik <bkoz@redhat.com>
1426 * src/Makefile.am (libstdc___la_LDFLAGS): Use -release instead of
1427 -version-info, use substituted VERSION info.
1428 * src/Makefile.in: Regenerate.
1430 2001-08-07 Benjamin Kosnik <bkoz@redhat.com>
1432 Implement std::messages.
1433 Make config a fully-nested directory.
1434 * config/locale: New directory.
1435 * config/c_locale_generic.cc: Move into locale subdirectory.
1436 * config/c_locale_generic.h: Same.
1437 * config/c_locale_gnu.cc: Same.
1438 * config/c_locale_gnu.h: Same.
1439 * config/c_locale_ieee_1003.1-200x.cc: Same.
1440 * config/c_locale_ieee_1003.1-200x_.h: Same.
1441 * config/codecvt_specializations_generic.h: Same.
1442 * config/codecvt_specializations_ieee_1003.1-200x.h: Same.
1443 * config/messages_members_gnu.h: Same.
1444 * config/messaages_members_gnu.cc: Same.
1445 * config/messages_members_generic.h: Same.
1446 * config/messaages_members_generic.cc: Same.
1447 * config/messages_members_ieee_1003.1-200x.h: Same.
1448 * config/messaages_members_ieee_1003.1-200x.cc: Same.
1449 * config/io: New directory.
1450 * config/basic_file_libio.h: Move into io subdirectory.
1451 * config/basic_file_libio.cc: Same.
1452 * config/c_io_libio.h: Same.
1453 * config/c_io_libio_codecvt.c: Same.
1454 * config/basic_file_stdio.h: Same.
1455 * config/basic_file_stdio.cc: Same.
1456 * config/c_io_stdio.h: Same.
1458 * po: New directory.
1459 * po/POTFILES.in: New file.
1460 * po/Makefile.am: New file.
1461 * po/Makefile.in: New file.
1462 * po/libstdc++.pot: Generic translation file.
1463 * po/fr.po: Preliminary French translation.
1464 * po/de.po: Preliminary German translation.
1465 * intl: New directory.
1466 * intl/Makefile.am: New file.
1467 * intl/Makefile.in: New file.
1468 * intl/string_literals.cc: New file.
1469 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump VERSION to 3.1.0. Add
1470 requisite setup for gettext. Re-arrange.
1471 * aclocal.m4: Regenerate.
1472 * configure.in: Don't call GLIBCPP_CHECK_COMPILER_VERSION.
1473 Output Makefile bits for po and intl.
1474 * configure: Regenerate.
1475 * Makefile.am (SUBDIRS): Add intl, po. Add rule for dist.
1476 * Makefile.in: Regenerate.
1477 * acconfig.h: Add ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY.
1478 * config.h.in: Regenerate.
1480 * acinclude.m4 (AC_REPLACE_STRINGFUNCS): Remove.
1482 * include/Makefile.am (install-data-local): Don't install Makefile.
1483 * include/Makefile.in: Regenerate.
1485 * include/bits/locale_facet.h (locale::facet::_S_clone_c_locale):
1487 * config/locale/c_locale_gnu.cc (_S_clone_c_locale): Add definition.
1488 * config/locale/c_locale_generic.cc: Same.
1489 * config/locale/c_locale_ieee_1003.1-200x.cc: Same.
1491 * include/bits/codecvt.h: Excise non-standard, non-required
1492 bits. This includes __enc_traits, and partial specializations of
1493 codecvt for __enc_traits.
1494 * src/codecvt.cc (__enc_traits::_S_max_size): Guard
1495 * config/codecvt_partials_ieee_1003.1-200x.h: New file.
1496 * config/codecvt_partials_generic.h: New file.
1497 * include/Makefile.am (allstamps): Add stamp-codecvt_model.
1498 (stamp-codecvt_model): Add.
1499 * include/Makefile.in: Regenerate.
1500 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in codecvt configury.
1501 * aclocal.m4: Regenerate.
1502 * configure: Regenerate.
1503 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Use macro guard.
1504 * testsuite/22_locale/codecvt_unicode_char.cc: Same.
1505 * testsuite/22_locale/ctor_copy_dtor.cc: And here.
1507 * include/bits/localefwd.h (class locale::facet): Add __enc_traits
1508 as a friend for _S_*_c_locale functions.
1509 * include/bits/codecvt.h (__enc_traits::__enc_traits): Add locale
1510 argument to default constructor so that CODESET information can be
1512 * include/bits/locale_facets.h (messages_byname):
1513 Re-implement. Remove specializations.
1514 * src/locale.cc (messages_byname<char>): Remove specialization.
1515 (messages_byname<wchar_t>): Same.
1516 * config/locale/c_locale_ieee_1003.1-200x.cc: New file.
1517 * config/locale/c_locale_ieee_1003.1-200x.h: New file.
1518 * config/locale/messages_members_ieee_1003.1-200x.cc: New file.
1519 * config/locale/messages_members_ieee_1003.1-200x.h: New file.
1520 * config/locale/messages_members_gnu.cc: New file.
1521 * config/locale/messages_members_gnu.h: New file.
1522 * config/locale/messages_members_generic.cc: New file.
1523 * config/locale/messages_members_generic.h: New file.
1525 * docs/html/configopts.html: Add documentation for new locale
1526 model, ieee_1003.1. Adjust other flags for current defaults.
1527 * docs/html/22_locale/locale.html: Update.
1528 * docs/html/22_locale/howto.html: Add link to messages.html. Organize.
1529 * docs/html/22_locale/messages.html: New.
1531 * src/Makefile.am (sources): Add messages_virtuals.cc.
1532 * src/Makefile.in: Regenerate.
1533 * include/Makefile.am (allstamps): Add stamp-messages_model.
1534 (stamp-messages_model): Add.
1535 * include/Makefile.in: Regenerate.
1536 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in messages configury.
1537 * aclocal.m4: Regenerate.
1538 * configure: Regenerate.
1540 * testsuite_flags.in (--cxxflags): Add LOCALEDIR.
1541 * testsuite/lib/libstdc++-v3-dg.exp: Remove broken LD_LIBRARY_PATH
1543 * acinclude (GLIBCPP_ENABLE_CLOCALE): Set glibcpp_localedir to the
1544 build directories message catalog base directory, and export.
1545 Eventually this should probably be made to deal with build and
1546 install directories. For now, punt on this as the library itself
1547 doesn't use message catalogs (yet).
1548 * testsuite/22_locale/messages.cc: New file.
1549 * testsuite/22_locale/messages_char_members.cc: New file.
1550 * testsuite/22_locale/messages_byname.cc: New file.
1552 2001-08-06 Phil Edwards <pme@sources.redhat.com>
1554 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls...
1555 (GLIBCPP_CHECK_SETRLIMIT): ...this new macro, which also uses...
1556 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): ...this new macro.
1557 * configure.in (AM_CONFIG_HEADER): Also generate testsuite_hooks.h.
1558 Call GLIBCPP_CONFIGURE_TESTSUITE.
1559 * aclocal.m4: Regenerate.
1560 * config.h.in: Regenerate.
1561 * configure: Regenerate.
1563 * testsuite/lib/libstdc++-v3-dg.exp: Download new header instead
1566 * testsuite_flags.in: Add build dir's testsuite to INCLUDES.
1567 * testsuite/debug_assert.h: Removed; contents merged into...
1568 * testsuite/testsuite_hooks.h.in: ...here. New file.
1569 * testsuite/17_intro/header_ciso646.cc: No longer include
1570 debug_assert.h, include testsuite_hooks.h instead.
1571 * testsuite/17_intro/header_fstream.cc: Likewise.
1572 * testsuite/17_intro/header_iomanip.cc: Likewise.
1573 * testsuite/17_intro/header_ios.cc: Likewise.
1574 * testsuite/17_intro/header_iosfwd.cc: Likewise.
1575 * testsuite/17_intro/header_iostream.cc: Likewise.
1576 * testsuite/17_intro/header_istream.cc: Likewise.
1577 * testsuite/17_intro/header_ostream.cc: Likewise.
1578 * testsuite/17_intro/header_sstream.cc: Likewise.
1579 * testsuite/17_intro/header_streambuf.cc: Likewise.
1580 * testsuite/18_support/numeric_limits.cc: Likewise.
1581 * testsuite/19_diagnostics/stdexceptions.cc: Likewise.
1582 * testsuite/20_util/allocator_members.cc: Likewise.
1583 * testsuite/20_util/auto_ptr.cc: Likewise.
1584 * testsuite/20_util/pairs.cc: Likewise.
1585 * testsuite/21_strings/append.cc: Likewise.
1586 * testsuite/21_strings/capacity.cc: Likewise.
1587 * testsuite/21_strings/char_traits_requirements.cc: Likewise.
1588 * testsuite/21_strings/compare.cc: Likewise.
1589 * testsuite/21_strings/ctor_copy_dtor.cc: Likewise. Also set up
1590 call to (disabled) __set_testsuite_memlimit() wrapper.
1591 * testsuite/21_strings/element_access.cc: Likewise.
1592 * testsuite/21_strings/find.cc: Likewise.
1593 * testsuite/21_strings/insert.cc: Likewise. Also set up call to
1594 (disabled) __set_testsuite_memlimit() wrapper.
1595 * testsuite/21_strings/inserters_extractors.cc: Likewise.
1596 * testsuite/21_strings/invariants.cc: Likewise.
1597 * testsuite/21_strings/nonmember.cc: Likewise.
1598 * testsuite/21_strings/operations.cc: Likewise.
1599 * testsuite/21_strings/replace.cc: Likewise.
1600 * testsuite/21_strings/rfind.cc: Likewise.
1601 * testsuite/21_strings/substr.cc: Likewise.
1602 * testsuite/22_locale/codecvt_char_char.cc: Likewise.
1603 * testsuite/22_locale/codecvt_unicode_char.cc: Likewise.
1604 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Likewise.
1605 * testsuite/22_locale/codecvt_wchar_t_char.cc: Likewise.
1606 * testsuite/22_locale/ctor_copy_dtor.cc: Likewise.
1607 * testsuite/22_locale/ctype_char_members.cc: Likewise.
1608 * testsuite/22_locale/ctype_wchar_t_members.cc: Likewise.
1609 * testsuite/22_locale/facet.cc: Likewise.
1610 * testsuite/22_locale/global_templates.cc: Likewise.
1611 * testsuite/22_locale/members.cc: Likewise.
1612 * testsuite/22_locale/numpunct_byname.cc: Likewise.
1613 * testsuite/22_locale/numpunct_char_members.cc: Likewise.
1614 * testsuite/22_locale/operators.cc: Likewise.
1615 * testsuite/22_locale/static_members.cc: Likewise.
1616 * testsuite/23_containers/bitset_ctor.cc: Likewise.
1617 * testsuite/23_containers/bitset_members.cc: Likewise.
1618 * testsuite/23_containers/bitset_shift.cc: Likewise.
1619 * testsuite/23_containers/vector_capacity.cc: Likewise.
1620 * testsuite/23_containers/vector_ctor.cc: Likewise.
1621 * testsuite/23_containers/vector_element_access.cc: Likewise.
1622 * testsuite/23_containers/vector_modifiers.cc: Likewise.
1623 * testsuite/24_iterators/istreambuf_iterator.cc: Likewise.
1624 * testsuite/24_iterators/iterator.cc: Likewise.
1625 * testsuite/24_iterators/ostreambuf_iterator.cc: Likewise.
1626 * testsuite/25_algorithms/binary_search.cc: Likewise.
1627 * testsuite/25_algorithms/copy.cc: Likewise.
1628 * testsuite/25_algorithms/heap.cc: Likewise.
1629 * testsuite/25_algorithms/lower_bound.cc: Likewise.
1630 * testsuite/25_algorithms/min_max.cc: Likewise.
1631 * testsuite/25_algorithms/partition.cc: Likewise.
1632 * testsuite/25_algorithms/rotate.cc: Likewise.
1633 * testsuite/25_algorithms/sort.cc: Likewise.
1634 * testsuite/26_numerics/c_math.cc: Likewise.
1635 * testsuite/26_numerics/complex_inserters_extractors.cc: Likewise.
1636 * testsuite/26_numerics/complex_value.cc: Likewise.
1637 * testsuite/27_io/filebuf.cc: Likewise.
1638 * testsuite/27_io/filebuf_members.cc: Likewise.
1639 * testsuite/27_io/filebuf_virtuals.cc: Likewise.
1640 * testsuite/27_io/fpos.cc: Likewise.
1641 * testsuite/27_io/fstream_members.cc: Likewise.
1642 * testsuite/27_io/ifstream_members.cc: Likewise.
1643 * testsuite/27_io/ios_base_callbacks.cc: Likewise.
1644 * testsuite/27_io/ios_base_members_static.cc: Likewise.
1645 * testsuite/27_io/ios_base_storage.cc: Likewise.
1646 * testsuite/27_io/ios_ctor.cc: Likewise.
1647 * testsuite/27_io/ios_init.cc: Likewise.
1648 * testsuite/27_io/ios_manip_basefield.cc: Likewise.
1649 * testsuite/27_io/ios_manip_fmtflags.cc: Likewise.
1650 * testsuite/27_io/ios_members.cc: Likewise.
1651 * testsuite/27_io/istream_extractor_arith.cc: Likewise.
1652 * testsuite/27_io/istream_extractor_char.cc: Likewise.
1653 * testsuite/27_io/istream_extractor_other.cc: Likewise.
1654 * testsuite/27_io/istream_manip.cc: Likewise.
1655 * testsuite/27_io/istream_seeks.cc: Likewise.
1656 * testsuite/27_io/istream_sentry.cc: Likewise.
1657 * testsuite/27_io/istream_unformatted.cc: Likewise.
1658 * testsuite/27_io/istringstream_members.cc: Likewise.
1659 * testsuite/27_io/narrow_stream_objects.cc: Likewise.
1660 * testsuite/27_io/ofstream_members.cc: Likewise.
1661 * testsuite/27_io/ostream_inserter_arith.cc: Likewise.
1662 * testsuite/27_io/ostream_inserter_char.cc: Likewise.
1663 * testsuite/27_io/ostream_inserter_other.cc: Likewise.
1664 * testsuite/27_io/ostream_manip.cc: Likewise.
1665 * testsuite/27_io/ostream_seeks.cc: Likewise.
1666 * testsuite/27_io/ostream_unformatted.cc: Likewise.
1667 * testsuite/27_io/ostringstream_members.cc: Likewise.
1668 * testsuite/27_io/streambuf.cc: Likewise.
1669 * testsuite/27_io/stringbuf.cc: Likewise.
1670 * testsuite/27_io/stringbuf_virtuals.cc: Likewise.
1671 * testsuite/27_io/stringstream.cc: Likewise.
1672 * testsuite/27_io/stringstream_members.cc: Likewise.
1673 * testsuite/27_io/wide_stream_objects.cc: Likewise.
1675 2001-07-31 Loren J. Rittle <ljrittle@acm.org>
1677 * src/gen-num-limits.cc: Use __LONG_LONG_MAX__.
1679 2001-07-30 Benjamin Kosnik <bkoz@redhat.com>
1681 * configure.target: Remove mips from cpu table.
1682 * config/cpu/mips/bits/atomicity.h: Remove generic
1683 versions. Comment sgidefs include.
1685 2001-07-25 H.J. Lu <hjl@gnu.org>
1687 * configure.target (cpu_include_dir): Set to `config/cpu/mips'
1690 * config/cpu/mips/bits/atomicity.h: New.
1692 2001-07-25 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1694 * acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf,
1695 hypotl, atan2f, atan2l. Remove from REPLACE_MATHFUNCS list.
1696 * aclocal.m4: Regenerate.
1697 * config.h.in: Likewise.
1698 * configure: Likewise.
1699 * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove hypotl.c
1700 (EXTRA_DIST): Remove hypot.c hypotf.c.
1701 * libmath/Makefile.am: Regenerate.
1702 * libmath/hypotf.c: Remove.
1703 * libmath/hypot.c: Likewise.
1704 * libmath/hypotl.c: Likewise.
1705 * libmath/stubs.c: The macros seen here are HAVE_xxx, not
1706 _GLIBCPP_HAVE_xxx. Add long double versions.
1708 2001-07-23 David Edelsohn <edelsohn@gnu.org>
1710 * include/bits/limits_generic.h (int): Set digits and digits10
1711 appropriately for word size.
1712 (unsigned int,long,unsigned long): Likewise.
1714 2001-07-19 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1716 * include/bits/stl_algo.h : Fix typos.
1717 * testsuite/25_algorithms/unique.cc: New file.
1719 2001-07-19 Phil Edwards <pme@sources.redhat.com>
1720 Mark Mitchell <mark@codesourcery.com>
1722 Merge from cp-parser-branch.
1723 * include/bits/basic_string.h: Qualify symbols with 'template'.
1724 * include/bits/basic_string.tcc: Likewise.
1725 * include/bits/fstream.tcc: Likewise.
1726 * include/bits/istream.tcc: Likewise.
1727 * include/bits/sstream.tcc: Likewise.
1728 * include/bits/std_istream.h: Likewise.
1729 * include/bits/stl_iterator.h: Likewise.
1730 * include/bits/streambuf.tcc: Likewise.
1731 * src/gen-num-limits.cc: Add 'template<>' to specializations.
1732 * src/locale.cc: Likewise.
1734 2001-07-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1735 Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
1737 * src/gen-num-limits.cc (set_signals_handler): New function.
1738 Factor out signals setting. Set signal handler for SIGILL.
1740 2001-07-18 Phil Edwards <pme@sources.redhat.com>
1742 * docs/html/27_io/howto.html: Fix typo.
1743 * docs/html/faq/index.html: Minor updates for 3.0 all around.
1744 * docs/html/faq/index.txt: Regenerated.
1746 2001-07-18 Stephen M. Webb <stephen@bregmasoft..com>
1747 Roman Sulzhyk <roman_sulzhyk@yahoo.com>
1750 * include/bits/ostream.tcc (ostream::put): Fixed error condition check.
1751 * testsuite/27_io/streambuf.cc (test07): Added new regression test.
1753 2001-07-17 Stephen M. Webb <stephen@bregmasoft.com>r
1755 All occurrences of the __value_type() and __distance_type()
1756 functions, which were required to support the HP STL, have been
1757 removed along with all the auxiliary forwarding functions that
1758 were required to support their use.
1760 The __iterator_category() function was pretty much left alone
1761 because there was no benefit to removing it and its use made code
1762 just a little more readable.
1764 Incidences of distance() with nonstandard argument list were
1765 replaced by calls to the standard function (only in the files
1766 affected by the removal of the other HP functions).
1768 The signature of the rotate() algorithm was changed to match the
1771 Headers were reformatted under C++STYLE guidelines (indentation,
1772 linebreaks, typename keyword).
1774 * include/bits/stl_algo.h: replaced __value_type() and
1775 __distance_type() with iterator_traits, eliminated auxiliary
1776 support functions required to support said function usage.
1777 Changed nonstandard distance() call to standard call.
1779 * include/bits/stl_algobase.h: Same.
1780 * include/bits/stl_heap.h: Same.
1781 * include/bits/stl_numeric.h: Same.
1782 * include/bits/stl_uninitialized.h: Same.
1783 * include/bits/stl_iterator_base_types.h (__value_type()):
1785 (__distance_type()): Removed.
1786 (value_type()): Gone.
1787 (distance_type()): Done in.
1788 (iterator_category()): Hasta la vista, baby.
1790 * include/bits/stl_iterator_base_funcs.h (iterator_category()):
1791 Replaced with __iterator_category().
1792 * include/backward/iterator.h: moved definition of value_type(),
1793 distance_type(), and iterator_category() out of std:: and into
1795 * testsuite/23_containers/vector_ctor.cc (test03): New testcases.
1796 * testsuite/23_containers/vector_modifiers.cc (test03): New testcases.
1797 * testsuite/25_algorithms/rotate.cc: New testcase.
1798 * testsuite/25_algorithms/copy.cc: New testcase.
1799 * testsuite/25_algorithms/sort.cc: Same.
1800 * testsuite/25_algorithms/heap.cc: Same.
1801 * testsuite/25_algorithms/partition.cc: Same.
1802 * testsuite/25_algorithms/binary_search.cc: Same.
1803 * testsuite/26_numerics/sum_diff.cc: Ditto.
1805 001-07-17 Benjamin Kosnik <bkoz@redhat.com>
1807 * testsuite/README: Add notes on naming test cases.
1808 * testsuite/22_locale/members.cc: Mark as xfail.
1809 * testsuite/22_locale/numpunct_char_members.cc: Same.
1811 2001-07-16 Stephen M. Webb <stephen@bregmasoft.com>
1813 * acinclude.m4 (GLIBCPP_ENABLE_CHEADERS): Use glibcpp_srcdir when
1814 setting C_INCLUDE_DIR.
1815 * configure.in: Revert yesterday's LN_S change.
1816 * aclocal.m4: Regenerate.
1817 * configure: Regenerate.
1819 2001-07-15 Phil Edwards <pme@sources.redhat.com>
1821 * configure.in: Temporarily force LN_S to copy instead of symlink.
1822 * configure: Regenerate.
1824 2001-07-13 Phil Edwards <pme@sources.redhat.com>
1826 * include/bits/std_sstream.h (basic_stringbuf::basic_stringbuf(string):
1827 Initialize _M_string with pointer-and-size constructor, not just
1828 pointer. Fix some comments.
1829 * testsuite/21_strings/ctor_copy_dtor.cc (test03): New test.
1830 * testsuite/27_io/stringbuf.cc (test02): Remove unused variable.
1831 (test03): Add embedded-NUL tests.
1833 * mkcheck.in: When printing totals, match the order of the tests.
1834 * include/bits/stringfwd.h: Use same declaration keywords.
1835 * include/bits/std_iosfwd.h: Cosmetic spacing.
1837 2001-07-13 Stephen M. Webb <stephen@bregmasoft.com>
1838 Loren J. Rittle <ljrittle@acm.org>
1839 Phil Edwards <pme@sources.redhat.com>
1841 * include/Makefile.am: New file encapsulating header generation rules.
1842 * Makefile.am (SUBDIRS): Prepend 'include' directory.
1843 * acinclude.m4: Moved/removed rules for building various headers.
1844 * configure.in (AC_OUTPUT): Add include/Makefile.
1845 * mkc++config: Removed.
1847 * testsuite_flags.in: Changed build-includes to match new scheme.
1848 * mknumeric_limits: Likewise.
1849 * libio/Makefile.am: Changed INCLUDES to maatch new header scheme.
1850 * libmath/Makefile.am: Likewise.
1851 * libsupc++/Makefile.am: Likewise.
1852 * src/Makefile.am: Likewise; removed rules to build headers.
1853 * libmath/mathconf.h: Changed #include'd header names to match.
1854 * libmath/stubs.c: Likewise.
1855 * src/gen-num-limits.cc: Likewise.
1857 * configure: Regenerated.
1858 * config.h.in: Regenerated.
1859 * aclocal.m4: Regenerated.
1860 * Makefile.in: Regenerated.
1861 * include/Makefile.in: Regenerated.
1862 * libio/Makefile.in: Regenerated.
1863 * libmath/Makefile.in: Regenerated.
1864 * libsupc++/Makefile.in: Regenerated.
1865 * src/Makefile.in: Regenerated.
1866 * testsuite/Makefile.in: Regenerated.
1868 2001-07-11 Felix Natter <fnatter@gmx.net>
1870 * docs/html/17_intro/porting-howto.xml: Initial checkin of
1872 * docs/html/17_intro/porting-howto.html: check in v0.9.3
1874 2001-07-11 Phil Edwards <pme@sources.redhat.com>
1876 * docs/doxygen/run_doxygen: Don't keep output from previous run.
1877 * docs/doxygen/user.cfg.in: Tweaks.
1878 * include/bits/c++config: Documentation comments for Doxygen.
1879 * include/bits/char_traits.h: Likewise.
1880 * include/bits/limits_generic.h: Likewise.
1881 * include/bits/std_stdexcept.h: Likewise.
1882 * include/bits/stl_pair.h: Likewise.
1883 * libsupc++/exception: Likewise.
1884 * libsupc++/new: Likewise.
1885 * libsupc++/typeinfo: Likewise.
1886 * libmath/Makefile.am: Update and correct copyright.
1888 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1890 * acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
1891 * aclocal.m4: Regenerate.
1894 2001-07-09 Phil Edwards <pme@sources.redhat.com>
1896 * docs/html/configopts.html: Fix thinko.
1897 * docs/html/27_io/howto.html: Fix thinko and HTML markup.
1898 * include/bits/stl_iterator.h: Fix typo.
1900 2001-07-09 Phil Edwards <pme@sources.redhat.com>
1902 * docs/html/explanations.html: New file.
1903 * docs/html/configopts.html: Link to it to provide more notes
1904 on cstdio. Minor markup and spacing fixes.
1905 * docs/html/27_io/howto.html: Talk about sync_with_stdio.
1907 2001-07-09 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
1909 * include/bits/valarray_meta.h (_Expr::operator+): Use qualified id
1910 for _Expr template template argument.
1911 (_Expr::operator-): Likewise.
1912 (_Expr::operator~): Likewise.
1913 (_Expr::operator!): Likewise.
1914 (_DEFINE_EXPR_UNARY_OPERATOR): Likewise.
1916 2001-07-06 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1918 * libmath/Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.c
1919 * libmath/Makefile.in: Regenerate.
1920 * libmath/expf.c: Remove.
1921 * libmath/atan2f.c: Likewise.
1923 2001-07-06 Daniel Jacobowitz <drow@mvista.com>
1925 * configure.in: Remove NATIVE, NULL_TARGET.
1926 Set CANADIAN only for Canadian crosses. Set xcompiling
1927 for both Canadian crosses and host-x-host crosses.
1928 * configure: Regenerated.
1930 2001-07-06 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1932 * include/bits/stl_vector.h (vector::_M_initialize_aux): Fix typo.
1934 2001-07-05 Jason Merrill <jason_merrill@redhat.com>
1936 * testsuite_flags.in (--build-includes): backward, not backwards.
1938 2001-07-04 Jeffrey Oldham <oldham@codesourcery.com>
1940 * include/ext/ropeimpl.h (_Rope_RopeRep::_M_free_c_string):
1941 Replace destroy by _Destroy.
1942 (_Rope_RopeRep::_S_free_string): Likewise.
1943 (rope::c_str()): Likewise.
1944 * include/ext/slist (_Slist_base::_M_erase_after>): Likewise.
1945 (_Slist_base::_M_erase_after): Likewise.
1946 (slist::_M_create_node): Replace construct by _Construct.
1947 (slist::pop_front): Replace destroy by _Destroy.
1948 * include/ext/stl_hashtable.h (hashtable::_M_new_node): Replace
1949 construct by _Construct.
1950 (hashtable::_M_delete_node): Replace destroy by _Destroy.
1951 * include/ext/stl_rope.h (rope::rope): Replace construct by
1953 (rope::copy): Replace destroy by _Destroy.
1955 2001-07-03 Benjamin Kosnik <bkoz@redhat.com>
1957 * include/bits/localefwd.h: Format.
1958 * include/bits/locale_facts.tcc (locale::combine): Adjust.
1959 * src/locale.cc (locale::locale::(_Impl)): Don't call
1961 (locale::facet::_M_remove_reference): Simplify.
1962 * src/globals.cc (locale_impl_c): New. Format.
1964 * src/ios.cc (ios_base::Init::Init): Increment _S_ios_base_init last.
1966 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
1968 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
1969 expansion (thanks to Alexandre Oliva).
1970 * aclocal.m4: Regenerate.
1971 * configure: Regenerate.
1973 2001-07-02 Benjamin Kosnik <bkoz@redhat.com>
1975 * src/locale.cc (locale::locale(const char*)): Make sure global
1976 locales are initialized.
1977 * include/bits/locale_facets.tcc (locale::combine): Refcout should
1978 be zero, not one as it's return-by-value.
1979 * testsuite/27_io/ios_base_callbacks.cc (test01): Don't check for
1981 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Instead, check
1984 * libsupc++/eh_alloc.cc: Use climits, not limits.h.
1986 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
1989 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
1990 * aclocal.m4: Regenerate.
1991 * configure: Regenerate.
1993 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
1996 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to
1997 staged/installed area to support -I-. Document.
1998 * aclocal.m4: Regenerate.
1999 * configure: Regenerate.
2001 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
2004 * src/ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to
2005 __out_bufsize. Add __in_bufsize, document it and use it.
2007 2001-07-01 Stephen M. Webb <stephen@bregmasoft.com>
2009 * include/bits/stl_construct.h (construct): Remove.
2011 (__destroy): Replaced by use of iterator_traits.
2012 * include/bits/stl_deque.h: replaced HP iterator functions with
2014 (construct): changed to _Construct.
2015 (destroy): changed to _Destroy.
2016 * include/bits/stl_tempbuf.h: Same.
2017 * include/bits/stl_tree.h: Same.
2018 * include/bits/stl_vector.h: Same.
2019 * include/backward/iterator.h (construct): moved definition to here.
2022 2001-06-29 Benjamin Kosnik <bkoz@redhat.com>
2024 * include/bits/locale_facets.tcc (locale::combine): Clone _Impl.
2025 before replacing facet.
2026 * include/bits/localefwd.h (locale::_Impl::_M_remove_reference):
2028 * src/localename.cc (locale::_Impl): Correct ctor initialization
2029 lists. Initialize ref count with one. Simplify.
2030 * src/locale.cc: Add comment.
2031 * testsuite/22_locale/numpunct.cc (test01): Add derivation test.
2032 * testsuite/22_locale/numpunct_char_members.cc (test01): Add tests.
2033 * testsuite/22_locale/members.cc (test02): Fix.
2035 2001-06-27 Phil Edwards <pme@sources.redhat.com>
2037 * include/backward/algo.h: Add "GPL plus runtime exception" comment
2038 block, this time for real.
2039 * include/backward/algobase.h: Likewise.
2040 * include/backward/alloc.h: Likewise.
2041 * include/backward/bvector.h: Likewise.
2042 * include/backward/defalloc.h: Likewise.
2043 * include/backward/deque.h: Likewise.
2044 * include/backward/function.h: Likewise.
2045 * include/backward/hash_map.h: Likewise.
2046 * include/backward/hash_set.h: Likewise.
2047 * include/backward/hashtable.h: Likewise.
2048 * include/backward/heap.h: Likewise.
2049 * include/backward/iterator.h: Likewise.
2050 * include/backward/list.h: Likewise.
2051 * include/backward/map.h: Likewise.
2052 * include/backward/multimap.h: Likewise.
2053 * include/backward/multiset.h: Likewise.
2054 * include/backward/pair.h: Likewise.
2055 * include/backward/rope.h: Likewise.
2056 * include/backward/set.h: Likewise.
2057 * include/backward/slist.h: Likewise.
2058 * include/backward/stack.h: Likewise.
2059 * include/backward/strstream: Likewise.
2060 * include/backward/tempbuf.h: Likewise.
2061 * include/backward/tree.h: Likewise.
2062 * include/backward/vector.h: Likewise.
2063 * include/bits/pthread_allocimpl.h: Likewise.
2064 * include/bits/std_algorithm.h: Likewise.
2065 * include/bits/std_bitset.h: Likewise.
2066 * include/bits/std_deque.h: Likewise.
2067 * include/bits/std_functional.h: Likewise.
2068 * include/bits/std_iterator.h: Likewise.
2069 * include/bits/std_list.h: Likewise.
2070 * include/bits/std_map.h: Likewise.
2071 * include/bits/std_memory.h: Likewise.
2072 * include/bits/std_numeric.h: Likewise.
2073 * include/bits/std_queue.h: Likewise.
2074 * include/bits/std_set.h: Likewise.
2075 * include/bits/std_stack.h: Likewise.
2076 * include/bits/std_utility.h: Likewise.
2077 * include/bits/std_vector.h: Likewise.
2078 * include/bits/stl_algo.h: Likewise.
2079 * include/bits/stl_algobase.h: Likewise.
2080 * include/bits/stl_alloc.h: Likewise.
2081 * include/bits/stl_bvector.h: Likewise.
2082 * include/bits/stl_construct.h: Likewise.
2083 * include/bits/stl_deque.h: Likewise.
2084 * include/bits/stl_function.h: Likewise.
2085 * include/bits/stl_heap.h: Likewise.
2086 * include/bits/stl_iterator.h: Likewise.
2087 * include/bits/stl_iterator_base_funcs.h: Likewise.
2088 * include/bits/stl_iterator_base_types.h: Likewise.
2089 * include/bits/stl_list.h: Likewise.
2090 * include/bits/stl_map.h: Likewise.
2091 * include/bits/stl_multimap.h: Likewise.
2092 * include/bits/stl_multiset.h: Likewise.
2093 * include/bits/stl_numeric.h: Likewise.
2094 * include/bits/stl_pair.h: Likewise.
2095 * include/bits/stl_pthread_alloc.h: Likewise.
2096 * include/bits/stl_queue.h: Likewise.
2097 * include/bits/stl_raw_storage_iter.h: Likewise.
2098 * include/bits/stl_relops.h: Likewise.
2099 * include/bits/stl_set.h: Likewise.
2100 * include/bits/stl_stack.h: Likewise.
2101 * include/bits/stl_tempbuf.h: Likewise.
2102 * include/bits/stl_threads.h: Likewise.
2103 * include/bits/stl_tree.h: Likewise.
2104 * include/bits/stl_uninitialized.h: Likewise.
2105 * include/bits/stl_vector.h: Likewise.
2106 * include/bits/type_traits.h: Likewise.
2107 * include/ext/hash_map: Likewise.
2108 * include/ext/hash_set: Likewise.
2109 * include/ext/rope: Likewise.
2110 * include/ext/ropeimpl.h: Likewise.
2111 * include/ext/slist: Likewise.
2112 * include/ext/stl_hash_fun.h: Likewise.
2113 * include/ext/stl_hashtable.h: Likewise.
2114 * include/ext/stl_rope.h: Likewise.
2115 * src/bitset.cc: Likewise.
2116 * src/strstream.cc: Likewise.
2118 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2119 <vakatov@ncbi.nlm.nih.gov>
2122 * include/bits/streambuf.tcc (__copy_streambufs): Don't set eofbit.
2123 * testsuite/27_io/ostream_inserter_other.cc (test04): Add test.
2124 * testsuite/27_io/istream_extractor_other.cc: Fix.
2126 2001-06-26 Zoltan Hidvegi <hzoli@austin.ibm.com>
2128 * acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
2129 * aclocal.m4: Regenerate.
2130 * configure: Regenerate.
2132 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2134 * include/bits/stream_iterator.h (istream_iterator): Add copy ctor.
2135 (ostream_iterator): Same.
2136 * include/bits/stl_iterator.h (front_insert_iterator::operator=):
2137 Change argument to const_reference.
2138 (back_insert_iterator): Same.
2140 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2142 * include/bits/sbuf_iter.h: Change to..
2143 * include/bits/streambuf_iterator.h: This.
2144 * include/bits/stl_iterator.h: Take out of here...
2145 * include/bits/stream_iterator.h: Add.
2146 * src/Makefile.am (base_headers): Add streambuf_iterator,
2148 * src/Makefile.in: Regenerate.
2149 * include/bits/std_string.h: Adjust includes.
2150 * include/bits/basic_ios.h: Same.
2151 * include/bits/locale_facets.tcc: Same.
2152 * include/bits/std_iosfwd.h: Same.
2154 * include/bits/std_iterator.h: Add istream, ostream includes.
2155 * include/bits/stl_iterator.h: Tweak.
2156 * testsuite/24_iterators/ostream_iterator.cc: Add test.
2157 * testsuite/24_iterators/istream_iterator.cc: Same.
2158 * testsuite/23_containers/multiset.cc: Add iterator include.
2160 2001-06-26 Phil Edwards <pme@sources.redhat.com>
2162 * acinclude.m4: Clean extraneous tabs, rewrap 'test' lines.
2163 * aclocal.m4: Regenerate.
2164 * configure: Regenerate.
2166 2001-06-26 Felix Natter <f.natter@ndh.net>
2168 * docs/html/17_intro/porting-howto.html: Fixed some errors.
2170 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2172 * include/bits/stl_iterator.h (istream_iterator::operator->): Fix
2174 (istream_iterator::operator*): Same.
2176 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2177 Alexandre Petit-Bianco <apbianco@redhat.com>
2179 * testsuite/21_strings/element_access.cc (test01): Chill Out Cafe
2180 is on 41st, not 14th.
2182 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2184 * include/bits/std_iterator.h: Include sbuf_iter.h via std_ios.h.
2186 * include/bits/stl_iterator.h (istream_iterator): Inherit from
2188 (ostream_iterator): Same.
2189 * testsuite/24_iterators/istream_iterator.cc: New file.
2190 * testsuite/24_iterators/ostream_iterator.cc: New file.
2192 * include/bits/sbuf_iter.h: Remove self typedef.
2193 * testsuite/24_iterators/ostreambuf_iterator.cc: Add test.
2194 * testsuite/24_iterators/istreambuf_iterator.cc: Add test.
2196 * include/bits/stl_iterator.h (reverse_iterator): Remove
2197 extraneous typedefs. Add typename.
2198 (__normal_iterator): Remove typedefs referring to self. Add typename.
2199 (reverse_bidiretional_iterator): Remove, not longer required.
2201 2001-06-26 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2203 * include/bits/stl_iterator.h (__normal_iterator<>): Qualify
2204 dependent names with `typename'. Bring in various required
2205 iterator_traits members. Can't imagine why that used to work.
2207 2001-06-25 Phil Edwards <pme@sources.redhat.com>
2208 Kurt Garloff <garloff@suse.de>
2211 * src/cmath.cc: New [version of an old] file; instantiate
2212 __cmath_power to start with.
2213 * src/Makefile.am (sources): Add cmath.cc (and alphabetize).
2214 * Makefile.in: Regenerate.
2215 * libio/Makefile.in: Regenerate.
2216 * libmath/Makefile.in: Regenerate.
2217 * libsupc++/Makefile.in: Regenerate.
2218 * src/Makefile.in: Regenerate.
2219 * testsuite/Makefile.in: Regenerate.
2221 2001-06-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2223 * libmath/stubs.c: Fix thinko.
2225 2001-06-24 David Edelsohn <dje@watson.ibm.com>
2227 * libmath/stubs.c (sqrtf): Define.
2228 (tanf): Correct typo.
2230 2001-06-22 Benjamin Kosnik <bkoz@redhat.com>
2232 * include/bits/stl_iterator.h (reverse_iterator): Inherit from
2234 (back_insert_iterator): Same.
2235 (front_insert_iterator): Same.
2236 (insert_iterator): Same.
2238 * testsuite/20_util/raw_storage_iterator.cc: Modify.
2239 * testsuite/24_iterators/reverse_iterator.cc: New file.
2240 * testsuite/24_iterators/back_insert_iterator.cc: New file.
2241 * testsuite/24_iterators/front_insert_iterator.cc: New file.
2242 * testsuite/24_iterators/insert_iterator.cc: New file.
2244 2001-06-22 Phil Edwards <pme@sources.redhat.com>
2246 * include/*: Revert comment/license change from yesterday for all
2247 except libsupc++/unwind-cxx.h.
2248 * src/bitset.cc: Likewise.
2249 * src/strstream.cc: Likewise.
2251 2001-06-22 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2253 * libmath/stubs.c: New file.
2257 * libmath/Makefile.am (libmath_la_SOURCES): Add.
2258 * libmath/Makefile.in. Regenerate.
2260 2001-06-21 Phil Edwards <pme@sources.redhat.com>
2262 * include/backward/algo.h: Add "GPL plus runtime exception" comment.
2263 * include/backward/algobase.h: Likewise.
2264 * include/backward/alloc.h: Likewise.
2265 * include/backward/bvector.h: Likewise.
2266 * include/backward/defalloc.h: Likewise.
2267 * include/backward/deque.h: Likewise.
2268 * include/backward/function.h: Likewise.
2269 * include/backward/hash_map.h: Likewise.
2270 * include/backward/hash_set.h: Likewise.
2271 * include/backward/hashtable.h: Likewise.
2272 * include/backward/heap.h: Likewise.
2273 * include/backward/iterator.h: Likewise.
2274 * include/backward/list.h: Likewise.
2275 * include/backward/map.h: Likewise.
2276 * include/backward/multimap.h: Likewise.
2277 * include/backward/multiset.h: Likewise.
2278 * include/backward/pair.h: Likewise.
2279 * include/backward/rope.h: Likewise.
2280 * include/backward/set.h: Likewise.
2281 * include/backward/slist.h: Likewise.
2282 * include/backward/stack.h: Likewise.
2283 * include/backward/strstream: Likewise.
2284 * include/backward/tempbuf.h: Likewise.
2285 * include/backward/tree.h: Likewise.
2286 * include/backward/vector.h: Likewise.
2287 * include/bits/pthread_allocimpl.h: Likewise.
2288 * include/bits/std_algorithm.h: Likewise.
2289 * include/bits/std_bitset.h: Likewise.
2290 * include/bits/std_deque.h: Likewise.
2291 * include/bits/std_functional.h: Likewise.
2292 * include/bits/std_iterator.h: Likewise.
2293 * include/bits/std_list.h: Likewise.
2294 * include/bits/std_map.h: Likewise.
2295 * include/bits/std_memory.h: Likewise.
2296 * include/bits/std_numeric.h: Likewise.
2297 * include/bits/std_queue.h: Likewise.
2298 * include/bits/std_set.h: Likewise.
2299 * include/bits/std_stack.h: Likewise.
2300 * include/bits/std_utility.h: Likewise.
2301 * include/bits/std_vector.h: Likewise.
2302 * include/bits/stl_algo.h: Likewise.
2303 * include/bits/stl_algobase.h: Likewise.
2304 * include/bits/stl_alloc.h: Likewise.
2305 * include/bits/stl_bvector.h: Likewise.
2306 * include/bits/stl_construct.h: Likewise.
2307 * include/bits/stl_deque.h: Likewise.
2308 * include/bits/stl_function.h: Likewise.
2309 * include/bits/stl_heap.h: Likewise.
2310 * include/bits/stl_iterator.h: Likewise.
2311 * include/bits/stl_iterator_base_funcs.h: Likewise.
2312 * include/bits/stl_iterator_base_types.h: Likewise.
2313 * include/bits/stl_list.h: Likewise.
2314 * include/bits/stl_map.h: Likewise.
2315 * include/bits/stl_multimap.h: Likewise.
2316 * include/bits/stl_multiset.h: Likewise.
2317 * include/bits/stl_numeric.h: Likewise.
2318 * include/bits/stl_pair.h: Likewise.
2319 * include/bits/stl_pthread_alloc.h: Likewise.
2320 * include/bits/stl_queue.h: Likewise.
2321 * include/bits/stl_raw_storage_iter.h: Likewise.
2322 * include/bits/stl_relops.h: Likewise.
2323 * include/bits/stl_set.h: Likewise.
2324 * include/bits/stl_stack.h: Likewise.
2325 * include/bits/stl_tempbuf.h: Likewise.
2326 * include/bits/stl_threads.h: Likewise.
2327 * include/bits/stl_tree.h: Likewise.
2328 * include/bits/stl_uninitialized.h: Likewise.
2329 * include/bits/stl_vector.h: Likewise.
2330 * include/bits/type_traits.h: Likewise.
2331 * include/ext/hash_map: Likewise.
2332 * include/ext/hash_set: Likewise.
2333 * include/ext/rope: Likewise.
2334 * include/ext/ropeimpl.h: Likewise.
2335 * include/ext/slist: Likewise.
2336 * include/ext/stl_hash_fun.h: Likewise.
2337 * include/ext/stl_hashtable.h: Likewise.
2338 * include/ext/stl_rope.h: Likewise.
2339 * libsupc++/unwind-cxx.h: Likewise.
2340 * src/bitset.cc: Likewise.
2341 * src/strstream.cc: Likewise.
2343 2001-06-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2345 * include/bits/indirect_array.h (indirect_array<>::operator=):
2346 Make copy and assignment operator public. Implement. Format.
2348 * include/bits/valarray_array.h (__valarray_copy): Add overloads
2349 for copy between index arrays. Format.
2351 2001-06-19 Benjamin Kosnik <bkoz@redhat.com>
2353 * mknumeric_limits: Add static definitions, format.
2354 * testsuite/18_support/numeric_limits.cc (test02): Add test.
2356 * include/c_std/bits/std_cwchar.h: Include ctime.
2357 * testsuite/17_intro/header_cwchar.cc : Check.
2359 * include/c_std/bits/std_cwctype.h: Inject wctype.
2360 * testsuite/17_intro/header_cwctype.cc: Update.
2362 2001-06-18 Benjamin Kosnik <bkoz@redhat.com>
2364 * include/bits/stl_raw_storage_iter.h: Format. Correct derivation.
2365 * testsuite/20_util/raw_storage_iterator.cc: Same.
2367 * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to
2369 (__mem_interface): New typedef for switching between malloc and new.
2370 * testsuite/20_util/allocator_members.cc: New file.
2372 * testsuite/20_util/comparisons.cc: New file.
2373 * testsuite/20_util/pairs.cc: New file.
2375 2001-06-15 Phil Edwards <pme@sources.redhat.com>
2377 * docs/html/documentation.html: Point to new doxygen'ed collection.
2379 2001-06-14 Nathan Sidwell <nathan@codesourcery.com>
2381 * configure.in (auxdir): Replace by ...
2382 (toprel): ... new variable.
2383 (toplevel_srcdir): Construct from $toprel.
2384 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
2385 rather than .. to locate gcc source directory.
2386 (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
2387 * aclocal.m4, configure: Rebuilt.
2389 2001-06-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
2391 (Approved by Mark and Benjamin. Applied by Loren.)
2393 * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
2394 _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
2395 and _GLIBCPP_mutex_address.
2396 * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
2397 once-only runtime initialization of _M_lock mutex when
2398 __GTHREAD_MUTEX_INIT_FUNCTION is defined.
2399 (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
2400 for __GTHREAD_MUTEX_INIT_FUNCTION case.
2402 2001-06-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2404 * testsuite/26_numerics/slice_array_assignment.cc (main): New test.
2406 * include/bits/slice_array.h (slice_array<>::operator=): Make
2407 public and implement.
2408 (slice_array<>::slice_array): Make copy-constructor public.
2410 * include/bits/valarray_array.h (__valarray_copy): Add another
2411 overload to copy between strided arrays.
2413 2001-06-13 Benjamin Kosnik <bkoz@redhat.com>
2415 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
2416 * aclocal.m4: Regenerate.
2417 * configure: Regenerate.
2418 * include/bits/c++config (__GLIBCPP__): Update date.
2420 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
2422 * include/bits/fpos.h (fpos::operator-): Don't return reference,
2423 return original, non-modified version.
2424 (fpos::operator+): Same.
2425 * testsuite/27_io/fpos.cc: Add test.
2427 2001-06-12 Loren J. Rittle <ljrittle@acm.org>
2430 * porting.texi: Add documentation about libstdc++-v3-specific
2431 macros that are currently included in os_defines.h files.
2433 * config/basic_file_stdio.h (sys_getc): New method.
2434 (sys_ungetc): New method.
2435 * include/bits/basic_file.h: (sys_getc): New method signature.
2436 (sys_ungetc): New method signature.
2438 * include/bits/fstream.tcc (underflow): Add conditional code
2439 paths which avoid using short seeks on streams (especially
2440 useful when the stream might be interactive or a pipe). At
2441 the moment, this alternate path only avoids seeking when the
2442 ``buffer size'' of underflow() is 1 since the C standard only
2443 guarantees buffer space for one ungetc (this technique could
2444 be extended since *-*-solaris* supports buffering for 4 calls
2445 to ungetc and *-*-*bsd* supports buffering limited only by
2446 memory resources). Also, _GLIBCPP_AVOID_FSEEK must be defined
2447 in a port's os_defines.h file for this alternate path to even
2448 be considered. As a bonus, the idiom of using getc/ungetc
2449 requires no system calls whereas fseek maps to one or two
2450 system call(s) on many platforms.
2452 * config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
2454 * config/os/solaris/solaris2.5/bits/os_defines.h
2455 (_GLIBCPP_AVOID_FSEEK): Likewise.
2456 * config/os/solaris/solaris2.6/bits/os_defines.h
2457 (_GLIBCPP_AVOID_FSEEK): Likewise.
2458 * config/os/solaris/solaris2.7/bits/os_defines.h
2459 (_GLIBCPP_AVOID_FSEEK): Likewise.
2461 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
2463 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change to
2464 AC_TRY_COMPILE, so that the built compiler is checked, and
2465 bootstraps or cross compiles with an older compile still work.
2466 * aclocal.m4: Regenerate.
2467 * configure: Regenerate.
2469 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
2472 * include/bits/std_sstream.h: Add allocator_type, as per DR 251.
2475 * include/bits/istream.tcc (getline, get): Fix as per DR 243.
2478 * include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
2481 * include/bits/limits_generic.h: Fix as per DR 184.
2483 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
2486 * include/bits/basic_string.h (string::compare): Adjust signatures
2488 * include/bits/basic_string.tcc: And here.
2491 * config/c_io_stdio.h: Remove whitespace.
2492 * testsuite/27_io/istream_seeks.cc (test03): Add regression.
2493 (test02): Add regression.
2494 * testsuite/27_io/istream_seeks-3.tst: New file.
2496 2001-06-11 Phil Edwards <pme@sources.redhat.com>
2498 * README: Update to reflect reality.
2499 * acinclude.m4: Update descriptions, fix typos. Comment changes only.
2500 * configure.in: Make certain target_alias is set and subst'd for 2.50.
2501 * aclocal.m4: Regenerate.
2502 * configure: Regenerate (with 2.13).
2504 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
2507 * include/bits/ostream.tcc (ostream::seekp): Add error checking as
2509 * include/bits/istream.tcc (istream::seekg): Same.
2510 * testsuite/27_io/istream_seeks.cc: Fix.
2513 * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
2515 * include/bits/std_queue.h: Add c++config.h.
2516 * testsuite/20_util/binders.cc: New test.
2518 2001-06-11 Matthias Klose <doko@debian.org>
2519 Phil Edwards <pme@sources.redhat.com>
2521 * docs/doxygen/run_doxygen (find_doxygen): Tweak version check.
2522 (main script): Echo more information.
2524 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
2526 * include/c_std/bits/std_cwchar.h: Alphabetize.
2527 * include/bits/char_traits.h: Tweak.
2528 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
2529 everything used by std_cwchar.h.
2530 * aclocal.m4: Regenerate.
2531 * configure.in: Regenerate.
2532 * config.h.in: Regenerate.
2534 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
2536 * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
2537 Add checking for strtof, _Exit in stdlib.h
2538 * aclocal.m4: Regenerate.
2539 * configure.in: Regenerate.
2540 * include/c_std/bits/std_cstdio.h: Alphabetize lists.
2541 (snprintf): Put C99 functions into __gnu_cxx namespace.
2546 * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
2547 for C99 functions within _GLIBCPP_USE_C99 guard.
2551 * include/bits/locale_facets.tcc: Check if C99 is enabled.
2552 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
2554 * include/c_std/bits/cmath.tcc: Formatting tweak.
2555 * include/c_std/bits/std_cmath.h: Same.
2557 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
2559 * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
2561 2001-06-09 Alexandre Oliva <aoliva@redhat.com>
2562 Stephen L Moshier <moshier@mediaone.net>
2564 * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
2565 nothing, as in autoconf 2.50.
2566 * configure: Rebuilt.
2568 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
2570 * include/c_std/bits/std_cwchar.h: Remove size_t injection,
2571 include std_cstddef.
2572 * include/c_std/bits/std_ctime.h: Same.
2573 * include/c_std/bits/std_cstring.h: Same.
2574 * include/c_std/bits/std_cstdlib.h: Same.
2576 * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
2577 * include/c_std/bits/std_cctype.h: Remove isblank.
2579 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
2581 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
2583 * aclocal.m4: Regenerate.
2584 * configure: Regenerate.
2585 * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
2586 injection, guard fgetwc, fgetws.
2587 * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
2588 * include/c_std/bits/std_clocale.h: And here.
2589 * include/c_std/bits/std_cctype.h: And here.
2590 * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
2592 * config/basic_file_stdio.h: Don't include unistd.h.
2593 * config/c_io_stdio.h: Don't use compatibility headers.
2594 * libsupc++/eh_terminate.cc: Qualify abort.
2595 (__terminate): And here.
2596 * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
2598 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
2600 * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
2602 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
2607 * include/std/*: Add copyright notice.
2608 * include/c_std/bits/*: Use using statements instead of extern "C".
2609 * include/c_std/bits/std_cmath.h: Don't overload double versions
2610 of math functions with __buitin versions, use global version to
2611 prevent ambiguities. Remove define hacks.
2612 * include/c_std/bits/std_cwchar.h: Using declarations for "C"
2613 functions that have changed signatures and std::
2614 declarations. Remove define hacks.
2615 * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
2616 __builtins in std::. Remove define hacks.
2617 * testsuite/17_intro/headers_c.cc: Add tests.
2618 * testsuite/17_intro/headers_c++.cc: Add test.
2620 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
2621 John David Anglin <dave@hiauly1.hia.nrc.ca>
2624 * libsupc++/eh_alloc.cc: Ensure that required macros are
2625 defined before including gthr.h. Ensure that we get the
2626 version of gthr.h for which we know how to provide a
2628 * libsupc++/eh_globals.cc: Likewise. And, bring the threading
2629 code path into line with the current EH model. Use std, where
2632 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
2633 John David Anglin <dave@hiauly1.hia.nrc.ca>
2635 * config/threads-no.h: Remove file.
2636 * config/threads-posix.h: Remove file.
2638 * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
2639 (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
2640 (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
2641 * config.h.in: Regenerate.
2643 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
2644 setup and use gthr*.h files. In particular, make gthr.h files
2645 namespace-clean in the staging area (they don't have to be for
2647 * aclocal.m4: Regenerate.
2648 * configure: Regenerate.
2650 * src/Makefile.am (build_headers): Remove bits/c++threads.h
2651 and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
2652 * src/Makefile.in: Regenerate.
2654 * include/bits/c++config: Cleanup threading configuration macros.
2655 In particular, define __STL_GTHREADS macro which controls...
2656 * include/bits/stl_threads.h: ...a brand new gthr.h-based
2659 * config/c_io_stdio.h: Include staged gthr.h instead of local
2660 thread configuration file. Always use __gthread_mutex_t
2661 instead of __mutext_type (or int).
2662 * include/bits/std_fstream.h: Likewise.
2664 * docs/html/17_intro/howto.html: Remove placeholder comment in
2665 case this configuration patch didn't make it. Add advice that
2666 section only applies if configured with --enable-threads.
2667 * docs/html/23_containers/howto.html: Reword to make clear
2668 that _PTHREADS is no longer required for any port to be
2669 correctly using STL with threads. Add advice that section
2670 only applies if configured with --enable-threads.
2672 2001-06-06 Benjamin Kosnik <bkoz@redhat.com>
2674 * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
2676 2001-06-05 Benjamin Kosnik <bkoz@redhat.com>
2679 * include/bits/basic_ios.tcc: Formatting tweaks.
2680 * include/bits/ios_base.h: Formatting tweaks.
2681 * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
2682 (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
2683 * src/globals.cc: Allocate filebufs for standard streams here.
2684 (buf_cout, buf_cin, buf_cerr): Like so.
2685 (buf_wcout, buf_wcin, buf_wcerr): And so.
2686 * testsuite/27_io/ios_init.cc: Add.
2688 2001-06-04 Brendan Kehoe <brendan@zen.org>
2689 Benjamin Kosnik <bkoz@redhat.com>
2692 * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
2693 for generic ctype virtuals.
2694 * src/locale.cc: Minor tweaks, naming consistency.
2695 * testsuite/22_locale/ctype.cc: Add test.
2697 2001-06-04 Kenny Simpson <theonetruekenny@yahoo.com>
2698 Phil Edwards <pme@sources.redhat.com>
2700 PR libstdc++/3035 and PR libstdc++/3036
2701 * include/bits/stl_pair.h: Fix pair ctor and make_pair according
2702 to LWG DR 181 and 265.
2704 2001-06-04 Phil Edwards <pme@sources.redhat.com>
2707 * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
2708 equal_range): Add const overloads as per LWG DR 214.
2709 * include/bits/stl_set.h: Likewise.
2711 2001-06-04 Brendan Kehoe <brendan@zen.org>
2712 Phil Edwards <pme@sources.redhat.com>
2715 * include/bits/std_bitset.h (bitset::test): Fix __pos >= _Nb
2716 comparison; all positions must be < _Nb.
2717 * testsuite/23_containers/bitset_members.cc: New file.
2719 2001-06-04 Brendan Kehoe <brendan@zen.org>
2722 * include/bits/stl_queue.h (classes queue, priority_queue): Fix
2723 ctors to match the standard.
2725 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
2727 * include/bits/char_traits.h (move): Reverse qualification of
2729 (copy): Reverse qualification of memcpy with std::.
2731 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
2733 * include/bits/char_traits.h (move): Qualify memmove with std::.
2734 (copy): Qualify memcpy with std::.
2735 * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
2738 * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
2740 2001-06-04 Hans-Peter Nilsson <hp@axis.com>
2742 * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
2743 uninstall-glibcppinstallHEADERS): Have explicit rules catering to
2744 SUN make VPATH peculiarities.
2745 * libsupc++/Makefile.in: Regenerate.
2747 2001-06-01 Hans-Peter Nilsson <hp@axis.com>
2749 * src/Makefile.am (VPATH): Delimit with ":", not space.
2750 * src/Makefile.in: Regenerate.
2752 * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
2754 * configure: Regenerate.
2756 2001-05-31 scott snyder <snyder@fnal.gov>
2759 * include/bits/istream.tcc: Include std_ostream.h.
2761 2001-05-31 Benjamin Kosnik <bkoz@redhat.com>
2764 * src/bitset.cc: Qualify size_t with std::.
2766 2001-05-30 Benjamin Kosnik <bkoz@redhat.com>
2768 * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
2769 (_GLIBCPP_BUGGY_COMPLEX): Remove.
2770 * config.h.in: Regenerate.
2771 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
2772 * aclocal.m4: Regenerate.
2773 * configure.in: Don't call it.
2774 * configure: Regenerate.
2777 * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
2778 * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
2782 * include/bits/std_complex.h: Include sstream. Put definitions for
2783 complex inserters and extractors here, and remove them from...
2784 * src/complex_io.cc: ...here.
2785 * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
2787 (basic_ios::__numget_type): Same.
2788 * include/bits/std_istream.h: Same.
2789 * include/bits/std_ostream.h: Same.
2790 * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
2791 class iterator template arguments.
2792 * src/locale-inst.cc: Add explicit has_facet instantiations.
2793 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
2794 (_M_get_fnumput): Remove.
2795 (_M_get_fnumget): Remove.
2796 (basic_ios::_M_check_facet): New function.
2797 (basic_ios::_M_cache_facets): New function.
2798 * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
2799 (basic_ios::imbue): Call _M_cache_facets.
2800 (basic_ios::init): Same.
2801 * include/bits/istream.tcc: Format, use _M_check_facet.
2802 * include/bits/ostream.tcc: Same.
2803 * include/bits/locale_facets.tcc (__output_float): Change
2804 signature, add _Traits.
2805 * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
2808 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
2810 * include/bits/c++config (__USE_MALLOC): Do not define it.
2811 Document why not and give pointers to more information.
2813 * docs/html/23_containers/howto.html: Update documentation
2814 to reflect recent understanding of problem.
2815 * docs/html/17_intro/howto.html: Likewise.
2817 2001-05-30 Phil Edwards <pme@sources.redhat.com>
2819 * docs/doxygen/user.cfg.in: Minor addition.
2820 * docs/html/documentation.html: Reorganize. Put most-looked-at
2822 * docs/html/install.html: Update for 3.0. HTML fixups.
2823 * docs/html/17_intro/howto.html: Likewise.
2824 * docs/html/18_support/howto.html: Likewise.
2825 * docs/html/19_diagnostics/howto.html: Likewise.
2826 * docs/html/20_util/howto.html: Likewise.
2827 * docs/html/23_containers/howto.html: Likewise.
2828 * docs/html/24_iterators/howto.html: Likewise. More notes.
2829 * docs/html/25_algorithms/howto.html: Likewise.
2830 * docs/html/26_numerics/howto.html: Likewise. More notes.
2831 * docs/html/27_io/howto.html: Likewise.
2832 * docs/html/ext/howto.html: Likewise.
2833 * docs/html/faq/index.html: Likewise.
2834 * docs/html/faq/index.txt: Regenerate.
2835 * docs/html/27_io/iostreams_hierarchy.pdf: Remove in favor of
2836 Doxygen-created documentation.
2838 2001-05-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2840 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
2841 get_multilibs to find gcc.
2843 2001-05-30 Phil Edwards <pme@sources.redhat.com>
2845 * acinclude.m4 (GLIBCPP_ENABLE_C99): Reorder output messages.
2846 * aclocal.m4: Regenerate.
2847 * configure: Regenerate.
2849 2001-05-29 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2851 * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
2852 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
2854 2001-05-27 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2856 * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
2857 * include/c_std/bits/std_cstdlib.h: Same.
2858 * include/c_std/bits/std_cwchar.h: Same.
2860 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
2862 * docs/html/17_intro/howto.html: Update link.
2863 * docs/html/23_containers/howto.html: Likewise. Add new link.
2865 2001-05-26 Gabriel Dos Reis <gdr@codesourcery.com>
2867 * include/c_std/bits/std_cmath.h (sqrt): #undef.
2869 2001-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2871 * mknumeric_limits: Stop if gen-num-limits dies.
2873 2001-05-25 Benjamin Kosnik <bkoz@redhat.com>
2876 * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
2877 * aclocal.m4: Regenerate.
2880 2001-05-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2881 Phil Edwards <pme@sources.redhat.com>
2882 Alexandre Oliva <aoliva@redhat.com>
2884 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
2885 in an amd-safe manner. Revert glibcpp_prefixdir.
2887 2001-05-25 Gabriel Dos Reis <gdr@codesourcery.com>
2889 * include/c_std/bits/std_cmath.h: Tweak. #define away abs, cos,
2890 fabs, sin, sqrt. They are now implemented in terms of __builtin_
2893 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
2896 * testsuite/21_strings/inserters_extractors.cc (test09): New test.
2897 * include/bits/ostream.tcc: Format to match istream.tcc.
2898 (operator<<(basic_ostream __out, const basic_string __s)): Fix.
2900 2001-05-24 Phil Edwards <pme@sources.redhat.com>
2902 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Qualify
2904 (__cxa_free_exception): Likewise with free.
2906 2001-05-24 Mark Mitchell <mark@codesourcery.com>
2908 * include/c_std/bin/std_cstring.h: #define away all global
2909 functions we will redeclare in namespace `std'.
2910 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
2911 std::memset, instead of memset.
2912 * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
2914 * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
2917 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
2920 * include/bits/basic_ios.tcc: Small tweak.
2921 * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
2922 ctors and dtors, and rdbuf settings.
2925 * include/bits/std_sstream.h: Same, but for stringstream classes.
2926 * testsuite/27_io/ostringstream_members.cc: New.
2927 * testsuite/27_io/stringstream_members.cc: New.
2928 * testsuite/27_io/fstream_members.cc: New.
2929 * testsuite/27_io/ifstream_members.cc: Add test.
2930 * testsuite/27_io/istringstream_members.cc: Add test.
2931 * testsuite/27_io/ofstream_members.cc: Add test.
2933 2001-05-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2935 * include/bits/c++config(__NO_MATH_INLINES): Move to...
2936 * config/os/gnu-linux/bits/os_defines.h: ...here.
2938 2001-05-24 Gabriel Dos Reis <gdr@codesourcery.com>
2940 * include/bits/c++config (__NO_MATH_INLINES): New macro.
2941 * testsuite/26_numerics/fabs_inline.cc (main): New test.
2943 2001-05-22 Benjamin Kosnik <bkoz@redhat.com>
2946 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
2948 (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
2949 (libstdc++-v3-finish): Remove.
2950 (libstdc++-v3_exit): Remove.
2952 2001-05-22 Phil Edwards <pme@sources.redhat.com>
2954 * docs/html/documentation.html: Point to doxygen output.
2956 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
2958 * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
2960 * include/bits/std_sstream.h (stringbuf::setbuf): Require both
2961 arguments to be non-null.
2962 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
2963 try allocations if allocated size is greater than zero.
2964 (filebuf::_M_filebuf_init): Change to
2965 (filebuf::_M_allocate_file): Which is what it does now.
2966 (filebuf::_M_allocate_bufers): Change to
2967 (filebuf::_M_allocate_internal_buffer): This, and create
2968 (filebuf::_M_allocate_pback_buffer): New.
2969 (filebuf::_M_destroy_internal_buffer): New.
2970 (filebuf::_M_buf_allocated): New data member.
2971 (filebuf::setbuf): Use new logic, allow use of external buffer.
2972 * testsuite/27_io/stringbuf_virtuals.cc: New file.
2973 * testsuite/27_io/filebuf_virtuals.cc: New file.
2975 2001-05-21 Stephen M. Webb <stephen@bregmasoft.com>
2977 * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
2979 (strchr): Same, but to __glibcpp_strchr.
2983 * include/c_std/bits/std_cwchar.h (wcschr): Same.
2989 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
2991 * testsuite/21_strings/c_strings.cc (main): Fix.
2993 2001-05-19 Phil Edwards <pme@sources.redhat.com>
2995 * acinclude.m4: Fix --help spacing, correct comments.
2996 * aclocal.m4: Regenerate.
2997 * configure: Regenerate.
2998 * mkcheck.in: Add usage comments.
2999 * docs/html/documentation.html: Point to doxygen'd tarball.
3001 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
3003 * testsuite/README: Add notes.
3005 * src/Makefile.am (libstdc++.INC): Remove.
3006 * src/Makefile.in: Regenerate.
3008 Phil Edwards <pedwards@disaster.jaj.com>
3009 * mkcheck.in: Add missing '#'.
3011 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
3013 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
3014 appropriately for remote testing and testing installed files without
3017 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
3019 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
3020 amd glibcpp_prefixdir with absolute paths.
3022 * include/bits/c++config (__GLIBCPP__): Bump.
3023 * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
3025 2001-05-18 Gabriel Dos Reis <gdr@codesourcery.com>
3027 * include/bits/std_valarray.h (valarray<>::operator[] const):
3028 Return a const reference.
3029 * testsuite/26_numerics/valarray_const_bracket.cc: New test.
3031 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
3033 * configure.target (ATOMICITYH): Actually use AIX-specific code on
3034 earlier versions of AIX 4.*.
3036 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
3038 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set
3039 output_file based on the name of the testcase.
3041 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
3043 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Build
3044 gluefile and use it if needs_status_wrapper is set.
3046 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
3048 * configure.target (ATOMICITYH): Use cpu/generic code on earlier
3051 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
3053 * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
3054 on earlier versions of AIX.
3056 2001-05-15 Benjamin Kosnik <bkoz@redhat.com>
3058 * testsuite_flags.in (query): Add backwards, ext directories.
3060 2001-05-15 Mark Mitchell <mark@codesourcery.com>
3062 * porting.texi: Correct documentation about handling
3063 _LARRGEFILE_SOURCE and its ilk.
3064 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
3065 definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
3067 * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
3068 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
3070 2001-05-15 Zack Weinberg <zackw@stanford.edu>
3072 * testsuite/21_strings/inserters_extractors.cc,
3073 testsuite/27_io/istream_unformatted.cc,
3074 testsuite/27_io/stringstream.cc:
3075 Replace multi-line string constants with C89-style
3076 concatenated string constants.
3078 2001-05-14 Richard Henderson <rth@redhat.com>
3080 * mknumeric_limits: Build with -fno-exceptions.
3082 2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
3084 Switch over to new harness.
3085 * testsuite_flags.in: Tweaks via Gaby.
3086 * testsuite/Makefile.am: Change tool to libstdc++-v3.
3087 (EXPECT): Quote directly.
3089 * configure.in: Output testsuite_flags.
3090 * acinclude.m4: Substitute src, bld, and prefix dirs.
3091 Remove glibcpp_expect, glibcpp_runtestflags.
3092 * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
3093 * mkcheck.in: Port to new interface.
3095 * aclocal.m4: Regerate.
3096 * configure: Regnerate.
3097 * Makefile.in: Regnerate.
3098 * */Makefile.in: Regenerate.
3100 * tests_flags.in: Remove.
3101 * testsuite/lib/libstdc++.exp: Remove.
3102 * testsuite/libstdc++.tests/tests.exp: Remove.
3104 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
3106 * configure.target: Remove detection of AIX pthread multilib, now
3107 obtained from `gcc -v'.
3109 2001-05-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
3111 * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
3112 size. Add hpux case for HP size.
3114 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
3116 * testsuite_flags.in: New, simplified interface.
3117 * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
3118 * testsuite/libstdc++-v3.dg: Add.
3119 * testsuite/libstdc++-v3.dg/dg.exp: Add.
3121 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
3123 * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
3124 * testsuite/config/default.exp: Update bugs email address.
3126 2001-05-11 Richard Henderson <rth@redhat.com>
3128 * libsupc++/eh_personality.cc: Include unwind-pe.h. Remove
3129 all pointer encoding logic.
3130 (struct lsda_header_info): Add ttype_base.
3131 (get_ttype_entry): Use it instead of a context.
3132 (check_exception_spec): Likewise.
3133 (PERSONALITY_FUNCTION): Initialize ttype_base. Store it in
3134 the c++ exception header for __cxa_call_unexpected.
3135 (__cxa_call_unexpected): Use it.
3137 2001-05-09 Benjamin Kosnik <bkoz@redhat.com>
3139 * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
3140 libgloss_link_flags to find crt0.o for targets that use libgloss
3142 Change LDFLAGS to LIBS.
3143 Consistently name procedures libstdc++-XXX.
3144 * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
3146 2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
3148 * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
3153 * include/c_std/bits/std_cwchar.h (wcschr): Same.
3158 * testsuite/21_strings/c_strings.cc: Add tests.
3160 2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
3163 * include/bits/std_fstream.h (basic_filebuf): Change signature.
3164 * include/bits/fstream.tcc (basic_filebuf): Change bool argument
3165 to int_type, pass in buffer size info.
3166 * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
3167 unbuffered situation.
3168 (underflow): Remove codecvt bits for the time being.
3169 * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
3170 * include/bits/locale_facets.tcc (_M_extract): Cache dereference
3171 values from iterators, clean.
3172 * src/locale.cc: Ditto.
3173 * include/bits/sbuf_iter.h: Format.
3174 * src/ios.cc: Explicitly pass in buffer sizes at creation time.
3175 * testsuite/27_io/narrow_stream_objects.cc: Add tests.
3176 * testsuite/27_io/filebuf.cc: Tweaks.
3177 * testsuite/27_io/filebuf_members.cc: Tweaks.
3179 2001-05-07 Mark Mitchell <mark@codesourcery.com>
3181 * config/os/solaris/solaris2.7/bits/os_defines.h
3182 (_LARGEFILE_SOURCE): Define it.
3184 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
3186 * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
3187 -prefer-non-pic depending on whether libtool has shared libraries
3188 enabled or disabled.
3189 * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
3190 $(LIBSUPCXX_PICFLAGS).
3191 * configure, */Makefile.in: Rebuilt.
3193 2001-05-01 Benjamin Kosnik <bkoz@redhat.com>
3195 * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
3196 * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
3198 * include/bits/std_sstream.h (stringbuf): Leak
3200 * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
3202 2001-05-01 Tom Browder <tbrowder@home.com>
3204 * docs/html/ext/howto.html: Fix typo.
3206 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
3208 * testsuite/libstdc++.tests/tests.exp: Add comment.
3210 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
3212 * testsuite/libstdc++.tests/tests.exp: Set ulimits.
3214 2001-04-30 Mark Mitchell <mark@codesourcery.com>
3216 * porting.texi: Use the GFDL.
3218 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
3221 * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
3222 * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
3225 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
3228 * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
3230 2001-04-28 Phil Edwards <pme@sources.redhat.com>
3232 * docs/doxygen/run_doxygen: Minor tweaks.
3233 * docs/doxygen/style.css: New file.
3234 * docs/doxygen/user.cfg.in: Update using "doxygen -u" to get the
3235 latest parameters available. Use style.css.
3237 2001-04-27 Benjamin Kosnik <bkoz@redhat.com>
3239 * docs/doxygen/mainpage.doxy: New.
3240 * docs/doxygen/user.cfg.in: Change default configuration. Single
3241 frame, other tweaks.
3243 2001-04-26 Mark Mitchell <mark@codesourcery.com>
3245 * docs/html/17_intro/BADNAMES: Remove EGCS reference.
3246 Indicate obsolete nature of thelist for G++ 3.0.
3248 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
3250 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
3251 target_thread_file with `gcc -v'.
3252 * aclocal.m4, configure: Rebuilt.
3254 2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
3256 * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
3257 * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
3258 * include/c_std/bits/std_cwchar.h (std): Same.
3259 * acconfig.h (std): Remove c99 injection into std.
3260 * config.h.in: Regenerate.
3262 * testsuite/README: Fix typo.
3264 * include/bits/codecvt.h: Remove warnings.
3266 2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3268 * include/ext/slist: Include required header files.
3270 2001-04-23 Loren J. Rittle <ljrittle@acm.org>
3272 * include/c_std/bits/std_cerrno.h (errno): Define macro from
3273 identifier declared with external linkage, if needed.
3274 * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
3275 * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
3277 2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
3279 * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
3280 re-configures find the build compiler.
3281 (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
3283 * aclocal.m4: Regenerate.
3284 * configure: Regenerate.
3286 2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
3288 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
3289 support is enabled correctly before long long is activated.
3290 * aclocal.m4: Regenerate.
3291 * configure: Regenerate.
3293 * include/backward/backward_warning.h: Format correctly.
3295 * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
3296 * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
3297 * testsuite/26_numerics/c99_macros.cc: Remove.
3299 2001-04-20 Phil Edwards <pme@sources.redhat.com>
3301 * include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
3302 __iterator_category.
3304 2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
3306 * acconfig.h (_GLIBCPP_USE_C99): Add.
3307 * config.h.in: Regenerate.
3308 * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
3310 * aclocal.m4: Regenerate.
3311 * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
3312 * configure: Regenerate.
3313 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
3314 * configure: Regenerate.
3315 * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
3317 * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
3319 * include/c_std/bits/std_cstdlib.h: Same.
3320 * docs/html/configopts.html: Update.
3321 * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
3323 (test_c99_classify): Add.
3324 * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
3325 (_ISOC99_SOURCE): Remove.
3327 * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
3328 * include/bits/c++config (__STL_ASSERTIONS): Simplify.
3329 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
3330 * aclocal.m4: Regenerate.
3331 * configure: Regenerate.
3333 2001-04-19 Phil Edwards <pme@sources.redhat.com>
3335 * Makefile.am (doxygen): Assume script is missing execute perms.
3336 * Makefile.in: Regenerated.
3337 * docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
3339 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
3341 * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
3343 2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
3345 * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
3346 * testsuite/23_containers/set_operators.cc: Same.
3348 * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
3350 (__GLIBCPP__): Bump from value of last release.
3351 * include/bits/concept_check.h: Default to off, edit comments.
3352 * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
3353 * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
3354 * src/Makefile.in: Regenerate.
3356 2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE>
3358 * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
3359 Properly uglify member.
3361 2001-04-13 Phil Edwards <pme@sources.redhat.com>
3363 * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead
3367 2001-04-13 Phil Edwards <pme@sources.redhat.com>
3369 * include/bits/boost_concept_check.h: Uglify, fork from Boost.
3370 * include/bits/concept_check.h: Uglify.
3371 * include/bits/stl_algo.h: Likewise.
3372 * include/bits/stl_algobase.h: Likewise.
3373 * include/bits/stl_deque.h: Likewise.
3374 * include/bits/stl_heap.h: Likewise.
3375 * include/bits/stl_iterator_base_funcs.h: Likewise.
3376 * include/bits/stl_list.h: Likewise.
3377 * include/bits/stl_map.h: Likewise.
3378 * include/bits/stl_multimap.h: Likewise.
3379 * include/bits/stl_multiset.h: Likewise.
3380 * include/bits/stl_numeric.h: Likewise.
3381 * include/bits/stl_queue.h: Likewise.
3382 * include/bits/stl_set.h: Likewise.
3383 * include/bits/stl_stack.h: Likewise.
3384 * include/bits/stl_vector.h: Likewise.
3385 * include/ext/hash_map: Likewise.
3386 * include/ext/hash_set: Likewise.
3387 * include/ext/slist: Likewise.
3389 2001-04-13 Gabriel Dos Reis <gdr@codesourcery.com>
3391 * testsuite/23_containers/set_operators.cc: Just try to compile.
3393 * testsuite/23_containers/map_operators.cc: Same.
3395 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
3397 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
3399 (dg-test): Revert rth's change.
3401 2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
3403 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
3404 terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
3406 2001-04-12 Gabriel Dos Reis <gdr@codesourcery.com>
3408 * testsuite/README: Add DejaGnu specific documentation.
3410 2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
3412 * acinclude.m4: AC_CHECK_TOOL for expect.
3413 * aclocal.m4: Regenerate.
3414 * configure: Regenerate.
3415 * testsuite/Makefile.am (RUNTEST): Use substituted.
3418 * configure.in: Remove xcompiling substitution.
3419 * tests_flags.in (CROSS_LIB_PATH): Remove.
3420 (xcompiling): Remove.
3421 (CXX): Use substituted CXX.
3423 2001-04-11 Richard Henderson <rth@redhat.com>
3425 * testsuite/lib/libstdc++.exp: Specify path for output_file.
3427 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
3429 * include/bits/std_valarray.h(valarray<>::operator[]): Make
3432 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
3434 * testsuite/25_algorithms/equal.cc: New test.
3436 2001-04-06 Joe Buck <jbuck@welsh-buck.org>
3438 * stl_algobase.h (std::equal): avoid use of possibly-undefined
3439 operator != (one line patch).
3441 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
3443 * include/backward/backward_warning.h: Re-enable.
3445 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
3446 Alexandre Oliva <aoliva@redhat.com>
3448 * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
3450 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
3452 * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
3453 * testsuite/26_numerics/c99_macros.cc: Add test.
3455 2001-04-06 Phil Edwards <pme@sources.redhat.com>
3457 * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES.
3458 * docs/html/faq/index.txt: Regenerated.
3460 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
3462 * include/backward/backward_warning.h: Temporarily disable until
3463 g++ testsuite changes go in.
3464 * tests_flags.in (CROSS_LIB_PATH): Add.
3466 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
3468 Warn when using backward headers.
3469 * include/backward/algo.h: Include warning file.
3470 * include/backward/vector.h: Same.
3471 * include/backward/tree.h: Same.
3472 * include/backward/tempbuf.h: Same.
3473 * include/backward/strstream: Same.
3474 * include/backward/streambuf.h: Same.
3475 * include/backward/stream.h: Same.
3476 * include/backward/stack.h: Same.
3477 * include/backward/slist.h: Same.
3478 * include/backward/set.h: Same.
3479 * include/backward/rope.h:
3480 * include/backward/queue.h: Same.
3481 * include/backward/pair.h: Same.
3482 * include/backward/ostream.h: Same.
3483 * include/backward/new.h: Same.
3484 * include/backward/multiset.h: Same.
3485 * include/backward/multimap.h: Same.
3486 * include/backward/map.h: Same.
3487 * include/backward/list.h: Same.
3488 * include/backward/iterator.h: Same.
3489 * include/backward/istream.h: Same.
3490 * include/backward/iostream.h:
3491 * include/backward/iomanip.h:
3492 * include/backward/heap.h: Same.
3493 * include/backward/hashtable.h:
3494 * include/backward/hash_set.h:
3495 * include/backward/hash_map.h:
3496 * include/backward/function.h:
3497 * include/backward/fstream.h:
3498 * include/backward/deque.h:
3499 * include/backward/defalloc.h: Same.
3500 * include/backward/complex.h: Same.
3501 * include/backward/bvector.h:
3502 * include/backward/alloc.h:
3503 * include/backward/algobase.h: Same.
3505 * include/backward/backward_warning.h: New file.
3506 * src/Makefile.am (backward_headers): Add backward_warning.h
3507 * src/Makefile.in: Regenerate.
3509 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
3511 * src/Makefile.am (myinstalldirs): Make sure backward directory is
3513 (myinstallheaders): Install backward headers in backward directory.
3514 * src/Makefile.in: Regenerate.
3516 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
3518 Prepare for libstdc++-2.92.
3519 * docs/html/17_intro/RELEASE-NOTES (New): Update.
3520 * docs/html/configopts.html: Fix formatting.
3521 * README (file): Updates.
3522 * include/bits/c++config (__GLIBCPP__): Update.
3524 2001-04-05 Phil Edwards <pme@sources.redhat.com>
3526 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
3528 2001-04-04 Phil Edwards <pme@sources.redhat.com>
3530 * docs/doxygen/user.cfg.in: Extract all non-private members;
3531 reduce confusing documentation output.
3533 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
3535 * include/backward/fstream.h: Add missing semicolons.
3537 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
3539 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
3540 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
3541 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
3542 (ios_base::Init::_S_ios_create): New.
3543 (ios_base::Init::_S_ios_destroy): New.
3544 * include/bits/std_fstream.h: Change ctor args.
3545 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
3546 (ios_base::Init::~Init): Use _S_ios_destroy.
3547 (ios_base::sync_with_stdio): Use new members.
3548 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
3551 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3553 * include/backward/fstream.h: Expose streampos to global
3556 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3558 * include/bits/stl_iterator_base_types.h: Fix typo
3560 2001-04-03 Andreas Schwab <schwab@suse.de>
3562 * include/backward/fstream.h: Define filebuf and wfilebuf.
3564 2001-04-02 Phil Edwards <pme@sources.redhat.com>
3566 New concept checking implementation.
3567 * docs/html/19_diagnostics/howto.html: Document.
3568 * docs/html/17_intro/concept_check.diff: New file, for reference.
3569 * include/bits/boost_concept_check.h: New file from Boost.
3570 * include/bits/c++config: Update comments.
3572 * include/bits/concept_check.h: New file.
3573 * include/bits/concept_checks.h: Removed.
3574 * include/bits/container_concepts.h: Removed.
3575 * include/bits/sequence_concepts.h: Removed.
3576 * include/bits/stl_iterator_base.h: Removed; split into...
3577 * include/bits/stl_iterator_base_funcs.h: ...this new file...
3578 * include/bits/stl_iterator_base_types.h: ...and this new file.
3580 * include/bits/sbuf_iter.h: Update to use new implementation.
3581 * include/bits/std_iterator.h: Likewise.
3582 * include/bits/std_memory.h: Likewise.
3583 * include/bits/stl_algo.h: Likewise.
3584 * include/bits/stl_algobase.h: Likewise.
3585 * include/bits/stl_construct.h: Likewise.
3586 * include/bits/stl_deque.h: Likewise.
3587 * include/bits/stl_heap.h: Likewise.
3588 * include/bits/stl_list.h: Likewise.
3589 * include/bits/stl_map.h: Likewise.
3590 * include/bits/stl_multimap.h: Likewise.
3591 * include/bits/stl_multiset.h: Likewise.
3592 * include/bits/stl_numeric.h: Likewise.
3593 * include/bits/stl_queue.h: Likewise.
3594 * include/bits/stl_set.h: Likewise.
3595 * include/bits/stl_stack.h: Likewise.
3596 * include/bits/stl_uninitialized.h: Likewise.
3597 * include/bits/stl_vector.h: Likewise.
3598 * include/ext/hash_map: Likewise.
3599 * include/ext/hash_set: Likewise.
3600 * include/ext/slist: Likewise.
3601 * include/ext/stl_hashtable.h: Likewise.
3603 * src/Makefile.am (base_headers): Update list of headers.
3604 * Makefile.in: Regenerated.
3605 * src/Makefile.in: Regenerated.
3606 * libio/Makefile.in: Regenerated.
3607 * libmath/Makefile.in: Regenerated.
3608 * libsupc++/Makefile.in: Regenerated.
3609 * testsuite/Makefile.in: Regenerated.
3611 * docs/html/install.html: Update contact information.
3612 * docs/html/17_intro/howto.html: Ditto.
3613 * docs/html/18_support/howto.html: Ditto.
3614 * docs/html/20_util/howto.html: Ditto.
3615 * docs/html/21_strings/howto.html: Ditto.
3616 * docs/html/22_locale/howto.html: Ditto.
3617 * docs/html/23_containers/howto.html: Ditto.
3618 * docs/html/24_iterators/howto.html: Ditto.
3619 * docs/html/25_algorithms/howto.html: Ditto.
3620 * docs/html/26_numerics/howto.html: Ditto.
3621 * docs/html/27_io/howto.html: Ditto.
3622 * docs/html/faq/index.html: Ditto, plus info on new checking code.
3623 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
3624 * docs/html/faq/index.txt: Regenerated.
3626 2001-04-02 Zack Weinberg <zackw@stanford.edu>
3628 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
3629 messages with $which_library as well as $tool_flags and
3630 ${dg-extra-tool-flags}. Factor out annotation text into
3633 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
3635 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
3636 * include/c_std/bits/std_cwchar.h: Same.
3637 * testsuite/21_strings/c_strings.cc: Add.
3639 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
3641 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
3643 2001-04-01 Zack Weinberg <zackw@stanford.edu>
3645 * tests_flags.in: Use test a = b, not test a == b which is not
3648 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
3650 * configure.target: Remove duplicate aix entry.
3652 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
3654 * include/ext/stl_bvector.h: Move to...
3655 * include/bits/stl_vector.h: ...here.
3656 * include/ext/bvector: Move to...
3657 * include/backward/bvector.h: ...here.
3658 * include/bits/std_vector.h: Change stl_bvector include.
3659 * include/bits/std_queue.h: Remove bvector include.
3660 * include/ext/tree: Insert using rb_tree, move to...
3661 * include/backward/tree.h: ...here.
3662 * include/backward/hash_map.h: Include ext/hash_map.
3663 * include/backward/hash_set.h: Include ext/hash_set.
3664 * include/backward/queue.h: New file.
3665 * include/backward/stack.h: Edit.
3666 * include/backward/algo.h: Same.
3667 * include/backward/algobase.h: Same.
3668 * include/backward/alloc.h: Same.
3669 * include/backward/function.h: Same.
3670 * include/backward/iomanip.h: Same.
3671 * include/backward/istream.h: Same.
3672 * include/backward/iterator.h: Same.
3673 * include/backward/list.h: Same.
3674 * include/backward/map.h: Same.
3675 * include/backward/multimap.h: Same.
3676 * include/backward/multiset.h: Same.
3677 * include/backward/ostream.h: Same.
3678 * include/backward/pair.h: Same
3679 * include/backward/rope.h: Same.
3680 * include/backward/set.h: Same.
3681 * include/backward/stream.h: Same.
3682 * include/backward/strstream.h: Same.
3683 * include/backward/tempbuf.h: Same.
3684 * src/Makefile.am (ext_headers): Edit.
3685 * src/Makefile.in: Regenerate.
3686 * testsuite/ext/headers.cc (main): Fix.
3689 2001-03-30 Phil Edwards <pme@sources.redhat.com>
3691 * tests_flags.in (LIBS): Pass correct path for installed testing.
3693 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
3695 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
3696 * tests_flags.in (CXX): Construct here.
3697 (static_fail): Don't remove compile.out. Format with spaces.
3698 (INCLUDES): Deal with xcompiling.
3699 * configure.in (xcompiling): Substitute.
3700 * testsuite/Makefile.am: Snake libjava configury.
3701 * testsuite/Makefile.in: Regenerate.
3702 * testsuite/23_containers/map_operators.cc: Tweaks.
3703 * testsuite/23_containers/set_operators.cc: Tweaks.
3705 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3707 Enable dejagnu testing framework.
3708 * configure.in: Generate testsuite/Makefile.
3709 * configure: Regenerate.
3710 * Makefile.am (check-install): Change rule from this...
3711 (check-script-install): ...to this.
3712 (check): Change rule from this...
3713 (check-script):...to this.
3714 * Makefile.in: Regenerate.
3716 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
3718 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
3720 (LIBTOOL): Let automake take care of its definition.
3721 * libsupc++/Makefile.in: Rebuilt.
3723 2001-03-28 Richard Henderson <rth@redhat.com>
3725 IA-64 ABI Exception Handling:
3726 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
3727 * configure.in: Use it.
3728 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
3729 * libsupc++/Makefile.am (sources): Update files list.
3730 * libsupc++/Makefile.in: Regenerate.
3731 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
3732 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
3733 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
3734 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
3735 * libsupc++/exception_support.cc: Remove.
3736 * libsupc++/exception_support.h: Remove.
3737 * libsupc++/pure.cc: Use std::terminate.
3738 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
3739 (__is_pointer): Remove.
3740 * libsupc++/unwind-cxx.h: New file.
3741 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
3743 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
3745 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
3747 * src/Makefile.am (CXXLINK): Likewise.
3748 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
3750 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
3752 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
3754 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3756 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
3759 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
3761 * include/bits/basic_file.h (get_fileno): Remove.
3762 (_M_fileno): Remove.
3763 (_M_cfile_created): Add.
3764 (basic_file::basic_file(__c_file_type*, openmode): Add.
3765 (basic_file::basic_file(int, const char*, openmode): Remove.
3766 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
3767 const char*, ios_base::openmode): Don't allocate
3768 internal buffers. Turn off internal buffers.
3769 (basic_filebuf::overflow): Remove test for null buffer.
3770 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
3771 * include/bits/streambuf.cc: Tweak.
3772 * include/bits/std_ostream.h: Tweak.
3773 * config/basic_file_libio.h: Same.
3774 * config/basic_file_stdio.h: Same.
3775 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
3776 * testsuite/27_io/filebuf_members.cc: Tweaks.
3777 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
3779 2001-03-24 Phil Edwards <pme@sources.redhat.com>
3781 * Makefile.am: New targets, doxygen and doxygen-maint.
3782 * Makefile.in: Regenerated.
3783 * docs/doxygen/run_doxygen: Finally implemented.
3784 * docs/doxygen/maint.cfg.in: New file.
3785 * docs/doxygen/user.cfg.in: New file.
3787 2001-03-24 Phil Edwards <pme@sources.redhat.com>
3789 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
3790 * src/Makefile.am: Replace leading spaces with tabs on continuation
3792 * aclocal.m4: Regenerated.
3794 * Makefile.in: Ditto.
3795 * src/Makefile.in: Ditto.
3796 * libio/Makefile.in: Ditto.
3797 * libmath/Makefile.in: Ditto.
3798 * libsupc++/Makefile.in: Ditto.
3800 2001-03-24 Phil Edwards <pme@sources.redhat.com>
3802 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
3803 concept-checking code and current status of same.
3804 * docs/html/ext/howto.html: Ditto.
3805 * docs/html/faq/index.html: Ditto.
3806 * docs/html/faq/index.txt: Regenerated.
3808 2001-03-24 Phil Edwards <pme@sources.redhat.com>
3810 * include/bits/std_bitset.h: Include ostream and istream headers
3811 instead of iostream.
3813 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
3815 * include/bits/ostream.tcc: Use __builtin_alloca.
3817 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
3819 * src/misc-inst.cc (__sink_unused_warning): Move to...
3820 * src/locale-inst.cc (__sink_unused_warning): Move to...
3821 * src/stl-inst.cc: Here.
3822 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
3825 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
3827 * intclude/bits/basic_file.h: Fix typos in comments.
3829 2001-03-20 Richard Henderson <rth@redhat.com>
3831 * src/gen-num-limits.cc: Instantiate for wchar_t.
3832 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
3834 2001-03-20 Jason Merrill <jason@redhat.com>
3836 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
3837 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
3838 * libsupc++/cxxabi.h: Declare it.
3840 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
3842 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
3843 signal_func with an unspecified argument list.
3845 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
3847 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
3849 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3851 * include/bits/basic_string.tcc (operator+): Fix thinko.
3853 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
3856 * include/bits/std_streambuf.h: Remove cached locale facets.
3857 (basic_streambuf::_M_buf_fctype): Remove.
3858 (basic_streambuf::~basic_streambuf): Remove here.
3859 (basic_streambuf::basic_streambuf): Same.
3860 (basic_streambuf::imbue): Same.
3861 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
3862 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
3863 (basic_filebuf::~basic_filebuf()): Remove here.
3864 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
3865 (basic_filebuf::imbue): Same.
3866 * include/bits/localefwd.h (_Count_ones): Remove.
3867 (locale::_S_num_categories): Just use 6, since this doesn't
3868 actually change, ever.
3869 * include/bits/locale_facets.tcc (has_facet): Simplify.
3871 * testsuite/27_io/filebuf.cc (test06): Add tests.
3873 2001-03-13 Steve Ellcey <sje@cup.hp.com>
3875 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
3876 match HP-UX ctype.h header file.
3878 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
3880 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
3881 duplicate definitions of __dj_ctype_*
3883 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
3885 * libsupc++/new: Remove pragma interface.
3886 * libsupc++/typeinfo: Same.
3887 * libsupc++/exception: Same.
3888 * libsupc++/new_handler.cc: Remove pragma implementation.
3889 (bad_alloc::~bad_alloc()): Add.
3890 * libsupc++/exception_support.cc: Same.
3891 (exception::~exception): Add.
3892 (bad_exception::~bad_exception): Add.
3893 * libsupc++/tinfo.cc: Same.
3894 (bad_cast::~bad_cast): Add.
3895 (bad_typeid::~bad_typeid): Add.
3897 2001-03-13 Phil Edwards <pme@sources.redhat.com>
3899 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
3901 2001-03-12 Felix Lee <flee@redhat.com>
3903 * mkcheck.in: workaround for bash 2.01 IFS bug.
3905 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
3907 Fixups for -fno-for-scope
3908 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
3909 * src/valarray-inst.cc (__gslice_to_index): Same.
3911 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
3913 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
3914 prior to trapping signal (UnixWare 7 workaround).
3916 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
3918 * include/backward/hashtable.h: Same.
3919 * include/backward/rope.h: Fix include.
3921 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
3923 * include/backward/vector.h: Include std_vector.h.
3925 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
3926 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
3929 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3931 * include/ext/stl_hashtable.h: Change type of __n to size_t
3932 * include/backward/bvector.h: Include <ext/stl_bvector.h>
3934 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3936 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
3937 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
3938 Use streamsize, not int_type.
3940 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
3942 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
3945 2001-03-08 Andreas Schwab <schwab@suse.de>
3947 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
3949 * aclocal.m4, configure: Regenerated.
3951 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
3953 * include/bits/std_iosfwd.h: Remove string forward decls here.
3954 * include/bits/stringfwd.h: Add forward decls for char_traits
3956 * config/c_io_libio.h (wstreamoff): Delete.
3957 * config/c_io_stdio.h (wstreamoff): Same.
3958 * include/bits/char_traits.h: Use streamoff not wstreamoff for
3959 char_traits<wchar_t>::off_type.
3960 Remove duplicate typedefs.
3961 * include/bits/fpos.h: Define streampos/wstreampos here.
3962 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
3965 Changeup output files.
3966 * testsuite/27_io/istream_unformatted.cc: Change output files.
3967 * testsuite/27_io/istream_seeks-1.txt: Add.
3968 * testsuite/27_io/istream_seeks-2.tst: Add.
3969 * testsuite/27_io/istream_seeks-1.tst: Add.
3970 * testsuite/27_io/istream_unformatted-2.tst: Delete.
3971 * testsuite/27_io/istream_unformatted-3.tst: Delete.
3972 * testsuite/27_io/istream_unformatted-3.txt: Delete.
3974 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
3976 Add Irix 5.2, 6.3 support.
3977 * config/os/irix/bits: Renamed to...
3978 * config/os/irix/irix6.5/bits: this.
3979 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
3980 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
3981 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
3982 * config/os/irix/irix5.2/bits/ctype_noninline.h
3983 (ctype<char>::ctype): Initialize _M_table with __ctype.
3984 * configure.target: Adjust.
3986 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
3989 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
3990 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
3992 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
3993 (*__pf)(__ios_type&)): Same.
3994 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
3995 (*__pf)(ios_base&))): Same.
3996 * testsuite/27_io/istream_extractor_other.cc: Add tests.
3997 * testsuite/27_io/istream_manip.cc (test01): Fix.
3999 2001-03-06 Nathan Myers <ncm@cantrip.org>
4000 Benjamin Kosnik <bkoz@redhat.com>
4002 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
4003 * testsuite/17_intro/header_cerrno.cc (test01): New file.
4004 * testsuite/17_intro/header_cassert.cc (test01): New file.
4005 * testsuite/17_intro/header_cstddef.cc (test01): New file.
4006 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
4007 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
4009 2001-03-05 scott snyder <snyder@fnal.gov>
4012 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
4014 * include/c_std/bits/std_cstdlib.h: ... to here.
4015 * testsuite/17_intro/header_cstdlib.cc: Add test.
4017 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
4019 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
4021 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
4023 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
4024 definition. Replace enum with static const variables.
4026 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
4027 throw specification, fix typos, use <static_cast>.
4028 (ctype<char>::scan_is): remove throw specification.
4029 (ctype<char>::scan_not): likewise.
4031 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
4032 (ctype<char>::do_toupper(char)): use <static_cast>.
4033 (ctype<char>::do_toupper(char *, const char *)): likewise.
4034 (ctype<char>::do_tolower(char)): likewise.
4035 (ctype<char>::do_tolower(char *, const char *)): likewise.
4037 2001-03-04 Phil Edwards <pme@sources.redhat.com>
4039 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
4040 * include/backward/algo.h: Use std not __STD. Remove unneeded
4041 macros and "never happens" code. Adjust to C++STYLE guidelines.
4042 * include/backward/algobase.h: Likewise.
4043 * include/backward/alloc.h: Likewise.
4044 * include/backward/bvector.h: Likewise.
4045 * include/backward/deque.h: Likewise.
4046 * include/backward/function.h: Likewise.
4047 * include/backward/hash_map.h: Likewise.
4048 * include/backward/hash_set.h: Likewise.
4049 * include/backward/hashtable.h: Likewise.
4050 * include/backward/heap.h: Likewise.
4051 * include/backward/iterator.h: Likewise.
4052 * include/backward/list.h: Likewise.
4053 * include/backward/map.h: Likewise.
4054 * include/backward/multimap.h: Likewise.
4055 * include/backward/multiset.h: Likewise.
4056 * include/backward/pair.h: Likewise.
4057 * include/backward/rope.h: Likewise.
4058 * include/backward/set.h: Likewise.
4059 * include/backward/slist.h: Likewise.
4060 * include/backward/stack.h: Likewise.
4061 * include/backward/strstream: Likewise.
4062 * include/backward/tempbuf.h: Likewise.
4063 * include/backward/tree.h: Likewise.
4064 * include/backward/vector.h: Likewise.
4065 * include/bits/basic_ios.h: Likewise.
4066 * include/bits/basic_ios.tcc: Likewise.
4067 * include/bits/basic_string.h: Likewise.
4068 * include/bits/c++config: Likewise.
4069 * include/bits/concept_checks.h: Likewise.
4070 * include/bits/fpos.h: Likewise.
4071 * include/bits/fstream.tcc: Likewise.
4072 * include/bits/functexcept.h: Likewise.
4073 * include/bits/ios_base.h: Likewise.
4074 * include/bits/istream.tcc: Likewise.
4075 * include/bits/mask_array.h: Likewise.
4076 * include/bits/ostream.tcc: Likewise.
4077 * include/bits/pthread_allocimpl.h: Likewise.
4078 * include/bits/sbuf_iter.h: Likewise.
4079 * include/bits/slice.h: Likewise.
4080 * include/bits/slice_array.h: Likewise.
4081 * include/bits/sstream.tcc: Likewise.
4082 * include/bits/std_bitset.h: Likewise.
4083 * include/bits/std_fstream.h: Likewise.
4084 * include/bits/std_iomanip.h: Likewise.
4085 * include/bits/std_ios.h: Likewise.
4086 * include/bits/std_istream.h: Likewise.
4087 * include/bits/std_iterator.h: Likewise.
4088 * include/bits/std_memory.h: Likewise.
4089 * include/bits/std_ostream.h: Likewise.
4090 * include/bits/std_sstream.h: Likewise.
4091 * include/bits/std_streambuf.h: Likewise.
4092 * include/bits/std_string.h: Likewise.
4093 * include/bits/std_valarray.h: Likewise.
4094 * include/bits/stl_algo.h: Likewise.
4095 * include/bits/stl_algobase.h: Likewise.
4096 * include/bits/stl_alloc.h: Likewise.
4097 * include/bits/stl_construct.h: Likewise.
4098 * include/bits/stl_deque.h: Likewise.
4099 * include/bits/stl_function.h: Likewise.
4100 * include/bits/stl_heap.h: Likewise.
4101 * include/bits/stl_iterator.h: Likewise.
4102 * include/bits/stl_iterator_base.h: Likewise.
4103 * include/bits/stl_list.h: Likewise.
4104 * include/bits/stl_map.h: Likewise.
4105 * include/bits/stl_multimap.h: Likewise.
4106 * include/bits/stl_multiset.h: Likewise.
4107 * include/bits/stl_numeric.h: Likewise.
4108 * include/bits/stl_pair.h: Likewise.
4109 * include/bits/stl_pthread_alloc.h: Likewise.
4110 * include/bits/stl_queue.h: Likewise.
4111 * include/bits/stl_raw_storage_iter.h: Likewise.
4112 * include/bits/stl_relops.h: Likewise.
4113 * include/bits/stl_set.h: Likewise.
4114 * include/bits/stl_stack.h: Likewise.
4115 * include/bits/stl_tempbuf.h: Likewise.
4116 * include/bits/stl_threads.h: Likewise.
4117 * include/bits/stl_tree.h: Likewise.
4118 * include/bits/stl_uninitialized.h: Likewise.
4119 * include/bits/stl_vector.h: Likewise.
4120 * include/bits/streambuf.tcc: Likewise.
4121 * include/bits/type_traits.h: Likewise.
4122 * include/bits/valarray_meta.h: Likewise.
4123 * include/ext/bvector: Likewise.
4124 * include/ext/hash_map: Likewise.
4125 * include/ext/hash_set: Likewise.
4126 * include/ext/ropeimpl.h: Likewise.
4127 * include/ext/slist: Likewise.
4128 * include/ext/stl_bvector.h: Likewise.
4129 * include/ext/stl_hash_fun.h: Likewise.
4130 * include/ext/stl_hashtable.h: Likewise.
4131 * include/ext/stl_rope.h: Likewise.
4132 * src/complex_io.cc: Likewise.
4133 * src/ios.cc: Likewise.
4134 * src/locale-inst.cc: Likewise.
4135 * src/locale.cc: Likewise.
4136 * src/localename.cc: Likewise.
4137 * src/misc-inst.cc: Likewise.
4138 * src/stdexcept.cc: Likewise.
4139 * src/stl-inst.cc: Likewise.
4140 * src/strstream.cc: Likewise.
4141 * src/valarray-inst.cc: Likewise.
4143 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
4145 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
4147 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4149 * include/bits/istream.tcc: change type of __extracted to __size_type
4151 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
4153 * src/wstring-inst.cc: New file.
4154 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
4155 (libinst_wstring_la_SOURCES): Remove.
4156 (libstdc___la_LIBADD): Remove libinst_wstring_la.
4157 (sources): Add wstring-inst.cc
4158 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
4161 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4163 * src/locale.cc: initialise __ret with zero
4164 * src/strstream.cc:cast gptr to int_type
4166 2001-03-01 Phil Edwards <pme@sources.redhat.com>
4168 * docs/html/faq/index.html: Update broken links.
4169 * docs/html/faq/index.txt: Regenerated.
4171 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
4174 * configure.target: Change irix* to irix6.5* in target_os table.
4176 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
4179 * include/bits/c++config (__GLIBCPP__): Bump number in
4180 anticipation of 2.92.
4182 * include/bits/codecvt.h: Fix typo.
4183 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
4185 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
4186 instantiations for stdio model.
4188 2001-02-28 Phil Edwards <pme@sources.redhat.com>
4190 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
4191 and GLIBCPP_CXXFLAGS as unused variables.
4192 * configure.host: Likewise.
4193 * configure.target: Likewise.
4194 * aclocal.m4: Regenerated.
4195 * configure: Regenerated.
4196 * Makefile.in: Regenerated.
4197 * libio/Makefile.in: Regenerated.
4198 * libmath/Makefile.in: Regenerated.
4199 * libsupc++/Makefile.in: Regenerated.
4200 * src/Makefile.in: Regenerated.
4202 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
4205 * include/bits/basic_file.h: Include basic_file_model.h.
4206 * config/c_io_libio.cc: Move to...
4207 * config/basic_file_libio.cc: Here.
4208 * config/basic_file_libio.h: New file.
4209 * config/c_io_stdio.cc: Move to...
4210 * config/basic_file_stdio.cc: Here.
4211 * config/basic_file_stdio.h: New file.
4212 * config/c_io_libio.h: Tweak.
4213 * config/c_io_stdio.h: Tweak.
4214 * src/Makefile.am (build_headers): Add basic_file_model.h.
4215 (sources): Add basic_file.cc, remove c++io.cc.
4216 * src/Makefile.in: Regenerate.
4217 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
4218 basic_file_model.h and basic_file.cc.
4219 * aclocal.m4: Regenerate.
4220 * configure: Regenerate.
4221 * testsuite/27_io/filebuf.cc (test05): Add regression.
4223 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
4226 * config/cpu/alpha/bits/atomicity.h: Change.
4227 * config/cpu/arm/bits/atomicit3y.h
4228 * config/cpu/generic/bits/atomicity.h
4229 * config/cpu/i386/bits/atomicity.h
4230 * config/cpu/i486/bits/atomicity.h
4231 * config/cpu/ia64/bits/atomicity.h
4232 * config/cpu/powerpc/bits/atomicity.h
4233 * config/cpu/sparc/sparc32/bits/atomicity.h
4234 * config/cpu/sparc/sparc64/bits/atomicity.h
4235 * config/os/aix/bits/atomicity.h
4236 * config/os/irix/bits/atomicity.h
4238 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
4240 * include/bits/std_stdexcept.h (runtime_error): Make string
4242 (logic_error): Same.
4243 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
4246 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
4250 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
4251 string object, not reference.
4252 (runtime_error::runtime_error): Same.
4253 * testsuite/19_diagnostics/stdexceptions.cc: New file.
4255 2001-02-26 Phil Edwards <pme@sources.redhat.com>
4257 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
4258 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
4259 diagnostics. Remove WFMT_FLAGS.
4260 * configure.in: Replace WFMT_FLAGS with diagnostics options.
4261 * libsupc++/Makefile.am: Likewise.
4262 * src/Makefile.am: Likewise.
4263 * aclocal.m4: Regenerated.
4264 * configure: Regenerated.
4265 * Makefile.in: Regenerated.
4266 * libio/Makefile.in: Regenerated.
4267 * libmath/Makefile.in: Regenerated.
4268 * libsupc++/Makefile.in: Regenerated.
4269 * src/Makefile.in: Regenerated.
4271 2001-02-26 Phil Edwards <pme@sources.redhat.com>
4273 Fixes libstdc++/2079
4274 * include/backward/iomanip.h: Expose <ios> manipulators to global
4276 * include/backward/iostream.h: Also expose std::ws.
4278 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
4280 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
4282 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
4284 * include/bits/codecvt.h: Use __builtin_alloca.
4285 * include/bits/ostream.tcc: Same.
4286 * include/bits/fstream.tcc: Same.
4288 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
4290 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
4292 2001-02-23 David Edelsohn <dje@watson.ibm.com>
4294 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
4296 2001-02-23 Phil Edwards <pme@sources.redhat.com>
4299 * include/backward/iostream.h: Expose std::flush in old headers.
4301 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4303 * mknumeric_limits: Remove special-casing on target. Use gcc
4304 instead of g++ to build gen-num-limits.cc
4306 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
4308 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
4310 * include/bits/codecvt.h: Use alloca instead of __extension__ for
4312 * include/bits/ostream.tcc: Same.
4313 * include/bits/std_ostream.h: Same.
4314 * include/bits/fstream.tcc: Same.
4315 * include/bits/locale_facets.tcc: Add typename.
4316 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
4318 2001-02-21 Phil Edwards <pme@sources.redhat.com>
4320 * tests_flags.in: Remove -n flag from call to echo.
4322 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
4324 * config/c_locale_gnu.h: Add clocale include.
4326 2001-02-20 Phil Edwards <pme@sources.redhat.com>
4328 * include/bits/stl_config.h: Remove file.
4329 * src/Makefile.am (base_headers): Remove from list.
4330 * configure: Regenerate.
4331 * Makefile.in: Ditto.
4332 * libio/Makefile.in: Ditto.
4333 * libmath/Makefile.in: Ditto.
4334 * libsupc++/Makefile.in: Ditto.
4335 * src/Makefile.in: Ditto.
4337 * include/bits/c++config: Move relevant macros to here.
4338 * include/backward/alloc.h: Include c++config.h instead.
4339 * include/backward/function.h: Ditto.
4340 * include/backward/heap.h: Ditto.
4341 * include/backward/pair.h: Ditto.
4342 * include/bits/pthread_allocimpl.h: Ditto.
4343 * include/bits/std_functional.h: Ditto.
4344 * include/bits/std_iterator.h: Ditto.
4345 * include/bits/std_numeric.h: Ditto.
4346 * include/bits/std_utility.h: Ditto.
4347 * include/bits/stl_algobase.h: Ditto.
4348 * include/bits/type_traits.h: Ditto.
4349 * src/stl-inst.cc: Ditto.
4351 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4353 * include/bits/basic_file.h: Add #pragma system_header
4354 * include/bits/basic_ios.h: Ditto.
4355 * include/bits/basic_string.h: Ditto.
4356 * include/bits/char_traits.h: Ditto.
4357 * include/bits/codecvt.h: Ditto.
4358 * include/bits/cpp_type_traits.h: Ditto.
4359 * include/bits/fpos.h: Ditto.
4360 * include/bits/gslice.h: Ditto.
4361 * include/bits/gslice_array.h: Ditto.
4362 * include/bits/indirect_array.h: Ditto.
4363 * include/bits/ios_base.h: Ditto.
4364 * include/bits/limits_generic.h: Ditto.
4365 * include/bits/locale_facets.h: Ditto.
4366 * include/bits/localefwd.h: Ditto.
4367 * include/bits/mask_array.h: Ditto.
4368 * include/bits/sbuf_iter.h: Ditto.
4369 * include/bits/sequence_concepts.h: Ditto.
4370 * include/bits/slice.h: Ditto.
4371 * include/bits/slice_array.h: Ditto.
4372 * include/bits/std_algorithm.h: Likewise.
4373 * include/bits/std_bitset.h: Likewise.
4374 * include/bits/std_complex.h: Likewise.
4375 * include/bits/std_deque.h: Likewise.
4376 * include/bits/std_fstream.h: Likewise.
4377 * include/bits/std_functional.h: Likewise.
4378 * include/bits/std_iomanip.h: Likewise.
4379 * include/bits/std_ios.h: Likewise.
4380 * include/bits/std_iosfwd.h: Likewise.
4381 * include/bits/std_iostream.h: Likewise.
4382 * include/bits/std_istream.h: Likewise.
4383 * include/bits/std_iterator.h: Likewise.
4384 * include/bits/std_list.h: Likewise.
4385 * include/bits/std_locale.h: Likewise.
4386 * include/bits/std_map.h: Likewise.
4387 * include/bits/std_memory.h: Likewise.
4388 * include/bits/std_numeric.h: Likewise.
4389 * include/bits/std_ostream.h: Likewise.
4390 * include/bits/std_queue.h: Likewise.
4391 * include/bits/std_set.h: Likewise.
4392 * include/bits/std_sstream.h: Likewise.
4393 * include/bits/std_stack.h: Likewise.
4394 * include/bits/std_stdexcept.h: Likewise.
4395 * include/bits/std_streambuf.h: Likewise.
4396 * include/bits/std_string.h: Likewise.
4397 * include/bits/std_utility.h: Likewise.
4398 * include/bits/std_valarray.h: Likewise.
4399 * include/bits/std_vector.h: Likewise.
4400 * include/bits/stringfwd.h: Likewise.
4401 * include/bits/type_traits.h: Likewise.
4402 * include/bits/valarray_array.h: Likewise.
4403 * include/bits/valarray_meta.h: Likewise.
4405 2001-02-19 Andreas Jaeger <aj@suse.de>
4407 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
4410 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
4413 * include/bits/std_ostream.h: Replaced usage of
4414 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
4415 * include/bits/char_traits.h: Removed non-standard
4416 methods that cannot be used elsewhere.
4419 * include/bits/basic_ios.h: Uncommented #include of
4423 * include/bits/codecvt.h: See next...
4424 * include/bits/fstream.tcc: See next...
4425 * include/bits/ostream.tcc: Add __extension__
4426 to variable-length arrays.
4429 * include/bits/localefwd.h: Changed int counter type to size_t.
4432 * include/bits/std_fstream.h: Added typedef for __ctype_type.
4434 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
4436 * testsuite/21_strings/char_traits.cc: Move to ...
4437 * testsuite/21_strings/char_traits_requirements.cc: ..here.
4438 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
4439 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
4441 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
4443 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
4446 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
4448 * include/bits/c++config: Revert.
4450 2001-02-15 Mark Mitchell <mark@codesourcery.com>
4452 * include/bits/istream.tcc: Use ios_base::iostate in place of
4453 iostate throughout. Insert `typename' keyword where necessary.
4454 * include/bits/ostream.tcc: Insert `typename' keyword where
4457 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
4459 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
4460 Define so library is compliant.
4462 2001-02-15 Anthony Green <green@redhat.com>
4464 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
4466 * aclocal.m4: Regenerate.
4467 * configure: Regenerate.
4469 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
4471 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
4472 Include ieeefp.h for fpclass on UnixWare{2,7}.
4473 * aclocal.m4: Regenerate.
4474 * configure: Regenerate.
4475 * mkcheck.in (size_command): Do without GNU-grep when using
4478 2001-02-15 Mark Mitchell <mark@codesourcery.com>
4480 Remove old ABI support from libsupc++.
4481 * libsupc++/cxxabi.h: Remove conditionally compiled code.
4482 * libsupc++/exception_support.cc: Likewise.
4483 * libsupc++/pure.cc: Likewise.
4484 * libsupc++/tinfo.cc: Likewise.
4485 * libsupc++/tinfo.h: Likewise.
4486 * libsupc++/tinfo2.cc: Likewise.
4487 * libsupc++/typeinfo: Likewise.
4488 * libsupc++/vec.cc: Likewise.
4490 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
4492 Add support for -fno-exceptions.
4493 * include/bits/exception_support.h: Remove.
4494 * include/bits/basic_string.h: Remove exception_support.
4495 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
4497 (string::substr): Same.
4498 * include/bits/basic_string.tcc (string::reserve): Replace
4499 __LENGTHERROR with __throw_length_error.
4500 (string::_S_create): Same.
4501 (string::resize): Same.
4502 (string::_M_replace): Same.
4503 (string::replace): Same.
4504 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
4505 (string::compare): Same.
4506 * include/bits/stl_vector.h: Remove exception_support.
4507 * src/Makefile.am (base_headers): Remove here.
4508 * src/Makefile.in: Regenerate.
4510 * include/bits/stl_range_errors.h: Remove.
4511 * include/bits/stl_deque.h: Use __throw_range_error.
4512 * include/bits/std_deque.h: Include functexcept.h.
4513 * include/bits/std_vector.h: Same.
4514 * src/Makefile.am (base_headers): Remove here.
4515 * src/Makefile.in: Regenerate.
4516 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
4517 * include/ext/bvector: Remove stl_range_errors.h
4519 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
4521 * include/bits/functexcept.h: New file.
4522 * src/functexcept.cc: New file. Definitions for function-based
4524 * src/Makefile.am (sources): Add functexcept.cc.
4525 * src/Makefile.in: Regenerate.
4527 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
4530 * include/bits/localefwd.h: Include functexcept.h.
4531 * include/bits/std_iosfwd.h: Same.
4533 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
4534 throw basic_ios::failure.
4535 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
4536 Use __throw_exception_again.
4537 (filebuf::_M_filebuf_init): Same.
4538 * include/bits/streambuf.tcc (__copy_streambufs): Same.
4539 * include/bits/ostream.tcc (ostream::operator<<): Same.
4540 * include/bits/istream.tcc (istream::operator>>): Same.
4541 * include/bits/basic_string.tcc (string::_M_mutate): Same.
4542 (string::_S_construct): Same.
4543 (string::_M_clone): Same.
4544 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
4546 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
4547 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
4548 __throw_exception_again.
4549 (locale::_Imp::_Imp(string, size_t): Same.
4550 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
4551 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
4552 (locale::locale(const char*)): Use __throw_runtime_error.
4553 (locale::classic): Use __throw_exception_again.
4554 (locale::_S_normalize_category): Use __throw_runtime_error.
4556 * src/stdexcept.cc: Remove cruft.
4558 * libsupc++/exception_defines.h: New file.
4559 * libsupc++/new_opnt.cc: Include exception_defines.h.
4560 * libsupc++/vec.cc: Same.
4561 (__cxa_vec_new2): Use __throw_exception_again.
4562 (__cxa_vec_new3): Same.
4563 (__cxa_vec_ctor): Same.
4564 (__cxa_vec_delete3): Same.
4565 (__cxa_vec_cctor): Same.
4566 (__cxa_vec_delete2): Same.
4567 (__cxa_vec_dtor): Same.
4568 * libsupc++/exception_support.cc: Include exception_defines.h. Only
4569 compile exception-handling bits if __EXCEPTIONS is defined.
4570 Remove old ABI support.
4571 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
4572 std::__throw_bad_alloc() instead of throw bad_alloc.
4573 * libsupc++/Makefile.am: Add exception_defines.h.
4574 * libsupc++/Makefile.in: Reformat.
4575 * libsupc++/*: Format.
4577 2001-02-15 Phil Edwards <pme@sources.redhat.com>
4579 * docs/html/configopts.html: Minor updates and typo fixes.
4580 * docs/html/faq/index.html: Updates of the "not really bugs" list.
4581 * docs/html/faq/index.txt: Regenerated.
4583 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
4585 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
4586 dejagnu/dg.exp. Adapt to log options used to run testcases.
4588 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4590 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
4593 2001-02-13 Dirk Mueller <dmuell@gmx.net>
4594 Phil Edwards <pme@sources.redhat.com>
4596 * include/backward/function.h: Do not use rel_ops for older
4598 * include/backward/pair.h: Likewise.
4600 2001-02-12 Mark Mitchell <mark@codesourcery.com>
4602 * src/locale.cc: Remove bogus locale::id definitions.
4604 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4606 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
4607 not _DEFINE_VALARRAY_OPERATOR which is not existent.
4609 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
4610 thinko in member initialisation.
4612 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
4614 * include/bits/std_valarray.h(valarray<>::shift): Avoid
4615 comparaison between signed and unsigned integer types.
4616 (valarray<>::cshift): Reformat.
4618 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
4620 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
4621 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
4622 * configure.in: Test for sigsetjmp.
4623 * configure, config.h.in: Rebuilt.
4625 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
4627 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
4628 lengths and strides.
4629 (__gslice_to_index): Document.
4631 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
4633 * include/bits/char_traits.h char_traits<char>::int_type: Change
4634 to `int' to match 21.1.3.1/2.
4636 * testsuite/21_strings/char_traits-int_type.C: New test.
4638 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
4640 * testsuite/Makefile.am: New file.
4642 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
4644 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
4646 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
4648 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
4650 2001-02-08 David Edelsohn <edelsohn@gnu.org>
4652 * configure.target (aix4*): Remove extra set of brackets.
4654 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
4657 * include/bits/stringfwd.h: New file.
4658 * include/bits/stl_string_fwd.h: Remove.
4659 * include/bits/localefwd.h: Remove declaration for allocator.
4660 * include/bits/std_iosfwd: Same.
4661 * include/bits/std_string.h: Include it.
4662 * include/bits/std_ios.h: Remove include.
4663 * include/bits/basic_string.h: Tweak.
4664 * libsupc++/new: Format.
4665 * src/Makefile.am (base_headers): Add stringfwd.h, remove
4667 * src/Makefile.in: Regenerate.
4668 * include/bits/std_stdexcept.h: Rewrite.
4669 * src/stdexcept.cc: Same.
4671 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
4673 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
4674 install locations too.
4675 * aclocal.m4: Regenerate.
4676 * configure.in: Remove USE_LIBDIR.
4677 * configure: Regenerate.
4678 * src/Makefile.am (toolexecdir): Simplify, use
4679 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
4680 * src/Makefile.in: Regenerate.
4681 * libsupc++/Makefile.am: Same.
4682 * libsupc++/Makefile.in: Regenerate.
4684 * src/Makefile.am: Just remove special rules for locale-inst.cc and
4685 misc-inst.cc as no longer necessary.
4687 Follow C++STYLE for naming non-static functions.
4688 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
4690 * include/bits/streambuf.tcc: Same.
4691 * include/bits/ostream.tcc: Same.
4692 * include/bits/istream.tcc: Same.
4693 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
4694 (_S_output_float): To __output_float.
4695 * include/bits/std_streambuf.h (_S_copy_streambufs): To
4697 * include/bits/locale_facets.tcc (_S_build_float_format): To
4698 __build_float_format.
4699 (_S_format): To __output_integer.
4700 (_S_fill): To __pad.
4701 * src/locale.cc: Same.
4702 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
4704 * include/bits/locale_facets.tcc (_S_group_digits): To
4706 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
4707 for collate, numpunct.
4709 2001-02-06 Phil Edwards <pme@sources.redhat.com>
4711 * docs/html/configopts.html: Fix HTML markup.
4712 * docs/html/install.html: Bring up to date.
4713 * docs/html/17_intro/C++STYLE: Add global variable conventions.
4714 * docs/html/21_strings/howto.html: More notes.
4715 * docs/html/22_locale/howto.html: Fix HTML markup.
4716 * docs/html/27_io/howto.html: More notes.
4717 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
4718 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
4720 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
4722 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
4723 to match header files.
4724 (_S_output_float): Likewise.
4725 (_S_copy_streambufs): Likewise.
4727 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
4728 Phil Edwards <pme@sources.redhat.com>
4730 * include/bits/std_istream.h (op>> signed,unsigned char): Must
4731 use reinterpret_cast, not static_cast.
4733 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
4735 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
4736 * aclocal.m4: Regenerate.
4737 * configure: Regenerate.
4739 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
4741 * include/bits/locale_facets.h (class moneypunct): Fix typos.
4742 * libsupc++/pure.cc: Revert.
4744 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
4746 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
4747 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
4748 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
4749 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
4750 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
4751 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
4752 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
4753 * aclocal.m4: Regenerate.
4754 * configure: Regenerate.
4756 2001-02-05 Mark Mitchell <mark@codesourcery.com>
4758 * include/bits/locale_facets.tcc: Remove `static' keyword on
4759 function definitions.
4760 * include/bits/std_streambuf.h: Likewise.
4761 * src/Makefile.am: Remove use of -fimplicit-templates.
4762 * src/Makefile.in: Regenerated.
4763 * src/locale-inst.cc: Explicitly instantiate more functions.
4764 * src/misc-inst.cc: Likewise.
4765 * src/string-inst.cc: Likewise.
4767 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
4769 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
4770 macro. Consolidate all the bits to do with where includes might be
4772 * aclocal.m4: Regenerate.
4773 * configure.in: Use it.
4774 * configure: Regenerate.
4775 * src/Makefile.am (targetincludep): Use simplified rules.
4776 (targetincludep): Rename gxx_target_include_dir.
4777 (myincludep): Rename gxx_include_dir.
4778 * src/Makefile.in: Regenerate.
4779 * libsupc++/Makefile.am: Use simplified rules.
4780 * libsupc++/Makefile.in: Regenerate.
4782 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
4784 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
4785 * include/c_std/bits/std_cctype.h: Same.
4786 * include/c_std/bits/std_cassert.h: Same.
4787 * include/c_std/bits/std_cstdarg.h: Same.
4788 * include/c_std/bits/std_cstddef.h: Same.
4790 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
4792 * include/c_std/bits/std_ctime.h: Same.
4793 * include/c_std/bits/std_clocale.h: Same.
4794 * include/c_std/bits/std_cmath.h: Same.
4795 * include/c_std/bits/std_csetjmp.h: Same.
4796 * include/c_std/bits/std_csignal.h: Same.
4797 * include/c_std/bits/std_cstring.h: Same.
4798 * include/c_std/bits/std_cstdlib.h: Same.
4799 * include/c_std/bits/std_cwchar.h: Same.
4801 2001-02-05 Phil Edwards <pme@sources.redhat.com>
4803 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
4805 2001-02-05 Mark Mitchell <mark@codesourcery.com>
4807 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
4808 (string::_S_construct): Likewise.
4810 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
4812 * testsuite/config/default.exp: New file.
4813 * testsuite/config: New directory.
4815 2001-02-04 Mark Mitchell <mark@codesourcery.com>
4817 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
4818 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
4819 whenever !__GXX_MERGED_TYPEINFO_NAMES.
4820 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
4822 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
4823 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
4825 * Makefile.am (mkinstalldirs): Set.
4826 * src/Makefile.am (mkinstalldirs): Set.
4827 * libmath/Makefile.am (mkinstalldirs): Set.
4828 * libsup++/Makefile.am (mkinstalldirs): Set.
4829 * libio/Makefile.am (mkinstalldirs): Set.
4830 * */Makefile.in: Regenerate.
4832 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
4834 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
4835 * include/bits/localefwd.h: More initialization cleanups.
4837 2001-02-03 Jeffrey A Law <law@cygnus.com>
4839 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
4840 correctly targets with 16bit ints.
4841 (_S_ios_openmode_end): Similarly.
4842 (_S_ios_iostate_end): Similarly.
4843 (_S_ios_Seekdir_end): Similarly.
4845 2001-02-02 Phil Edwards <pme@sources.redhat.com>
4847 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
4849 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
4851 * configure.in (toplevel_srcdir, auxdir): Set.
4852 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
4853 * aclocal.m4, configure, Makefile.in: Rebuilt.
4854 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
4855 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
4856 * libsupc++-v3/Makefile.in: Rebuilt.
4857 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
4858 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
4860 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
4862 * config/c_locale_generic.cc: Remove langinfo include.
4864 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
4866 Preliminary named locales.
4867 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
4868 * aclocal.m4: Regenerate.
4869 * configure.in: Use it.
4870 * configure: Regerate.
4871 * src/Makefile.am (sources): Add c++locale.cc.
4872 (build_headers): Add c++locale.h.
4873 * src/Makefile.in: Regenerate.
4874 * config/c_locale_gnu.h: New file.
4875 * config/c_locale_gnu.cc: New file. Non-inline member functions
4876 for named locales, gnu-specific.
4877 * config/c_locale_generic.h: New file.
4878 * config/c_locale_generic.cc: New file. Non-inline member
4879 functions for named locales, generic version.
4880 * docs/html/configopts.html: Add documentation on new options.
4882 * include/bits/locale_facets.h (class _Messages): Remove.
4883 (class _Moneypunct): Remove.
4884 * src/locale-inst.cc: Remove.
4886 * include/bits/locale_facets.h (class _Collate): Remove.
4887 * src/locale-inst.cc (std): Remove.
4888 * src/locale.cc: And here.
4890 * include/bits/localefwd.h (locale::_M_coalesce): New
4891 function. Correctly put together multi-name locales.
4892 (_Impl(const _Impl&, category, size_t)): Remove.
4894 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
4896 (_M_normalize_category_names): Remove.
4897 (_M_replace_categories): Fix.
4899 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
4900 (locale::_Impl::_M_construct_ctype): Remove.
4901 (locale::_Impl::_M_construct_monetary): Remove.
4902 (locale::_Impl::_M_construct_numeric): Remove.
4903 (locale::_Impl::_M_construct_time): Remove.
4904 (locale::_Impl::_M_construct_messages): Remove.
4906 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
4907 (_Use_facet_failure_handle): Remove.
4908 * src/locale.cc: Remove definitions.
4909 * src/locale-inst.cc: And here.
4911 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
4913 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
4914 create and error-check underlying locale object.
4915 (locale::facet::_S_destroy_c_locale): Add, take care of properly
4916 tearing down underlying locale object.
4917 * include/bits/localefwd.h (locale::facet): Declare.
4918 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
4919 correctness, as glibc apparently has incorrect info in it. Test
4920 with it when it works again.....
4922 * include/bits/localefwd.h (locale::_Impl::__vec_string):
4923 Remove. Number of categories is fixed at six, so just simplify and
4924 make this an array of strings.
4925 (locale::_Impl::_M_has_name): Remove.
4926 (locale::_Impl::_M_name): Remove.
4927 (locale::_Impl::_M_category_names): Turns into...
4928 (locale::_Impl::_M_names): ...this.
4929 (locale::_Impl::_M_has_same_name()): New function.
4930 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
4931 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
4933 * src/locale.cc (locale::name()): Construct mangled name
4934 accurately reflecting combined locale categories.
4936 * src/locale.cc (locale::classic()): Don't initialize here.
4937 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
4938 __refs, bool __has_name, string __str): Do it here.
4940 * include/bits/localefwd.h: _S_categories_num to
4941 _S_num_categories. _S_facets_num to _S_num_facets.
4942 (locale::id::id()): Explicitly set _M_index to zero.
4943 * src/locale.cc: Same.
4945 * src/locale.cc: (locale::locale(const char*)): Construct named
4948 * src/locale.cc: Remove numpunct_byname ctors.
4949 * testsuite/22_locale/numpunct_byname.cc: New file.
4950 * testsuite/22_locale/numpunct.cc: New file.
4952 * include/bits/localefwd.h (class locale): Change data members to
4953 protected, from private.
4954 (_Impl::_M_get_c_locale): Add member function.
4955 (locale::facet::_M_get_global_impl()): Add member function.
4956 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
4957 a __c_locale pointer.
4958 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
4960 * testsuite/22_locale/members.cc: New file, test name and combine.
4962 * include/bits/locale_facets.h (class numpunct): Remove class
4963 _Punct and _Numpunct. Rewrite class numpunct to be correct for
4965 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
4966 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
4967 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
4968 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
4969 * testsuite/22_locale/numpunct_char_members.cc: New file.
4971 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
4973 * testsuite/README: Add more comment.
4974 * testsuite/lib/libstdc++.exp: Tweak comment.
4976 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
4978 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
4980 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
4982 * testsuite/21_strings/inserters_extractors.cc: Remove
4983 explicit reference to 'testsuite/'.
4985 2001-01-25 Richard Henderson <rth@redhat.com>
4987 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
4988 bits. Fixes Tru64 build issues.
4990 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
4992 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
4993 (use ${MAKE-make}, not ${MAKE:-make}).
4994 * aclocal.m4, configure: Regenerate.
4996 2001-01-25 Mark Mitchell <mark@codesourcery.com>
4998 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
5001 * src/Makefile.am (sources): Add globals.cc.
5002 * src/Makefile.in: Regenerated.
5003 * src/globals.cc: New file.
5004 * src/ios.cc (cin): Don't define here, just declare extern.
5013 2001-01-25 Phil Edwards <pme@sources.redhat.com>
5015 * include/bits/std_iterator.h: Do not include stl_relops.h.
5016 * include/bits/std_numeric.h: Ditto.
5017 * include/bits/stl_algobase.h: Ditto.
5018 * include/bits/stl_relops.h: Add comment warning about problems.
5020 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
5022 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
5023 in testcases. Prepare for the DejaGnu based framework.
5024 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
5025 directory -- it is now mkcheck working directory.
5026 * tests_flags.in: Remove reference to $(top_srcdir). Use
5028 * Makefile.am (check, check-install): Change mkcheck invocation
5030 * Makefile.in: Regenerate.
5032 2001-01-24 Mark Mitchell <mark@codesourcery.com>
5034 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
5035 (__always_swap): Likewise.
5037 2001-01-23 Chris Demetriou <cgd@broadcom.com>
5039 * libsupc++/exception_support.cc (__terminate_func): Remove
5041 (__terminate_func_ptr): New typedef.
5042 (__terminate, __terminate_set_func): New extern function
5044 (std::terminate): Use __terminate function.
5045 (std::set_terminate): Use __terminate_set_func function.
5047 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
5049 * configure.target: Just use os_include_dir always.
5050 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
5051 Link atomicity files and ctype files here.
5052 * configure: Regenerate.
5053 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
5054 (GLIBCPP_ENABLE_ATOMICITY): Remove.
5055 * aclocal.m4: Regenerate.
5057 2001-01-23 Chris Demetriou <cgd@broadcom.com>
5059 * configure.in: Place definition of MULTISUBDIR in
5060 libsupc++/Makefile as is done for src/Makefile.
5061 * configure: Regenerate.
5063 2001-01-23 Phil Edwards <pme@sources.redhat.com>
5065 * acinclude.m4: Cosmetic changes only.
5066 * aclocal.m4: Regenerated.
5067 * configure: Regenerated.
5068 * configure.target: Update documented list of changed variables.
5069 * docs/html/install.html: Fix typo.
5070 * docs/html/20_util/howto.html: More notes on auto_ptr.
5071 * docs/html/27_io/howto.html: More notes on streabufs.
5072 * docs/html/faq/index.html: Add rel_ops problem and mention the
5073 DEC as(1) .subsection difficulty.
5074 * docs/html/faq/index.txt: Regenerated.
5076 2001-01-23 Mark Mitchell <mark@codesourcery.com>
5078 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
5079 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
5080 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
5081 its already provided in config.target.
5082 * aclocal.m4: Regenerated.
5083 * configure: Likewise.
5084 * configure.target: Set ctype_include_dir for lots of systems.
5085 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
5086 * libsupc++/Makefile.in: Regenerated.
5088 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
5090 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
5093 * testsuite/README: Add comment.
5095 2001-01-21 Phil Edwards <pme@sources.redhat.com>
5097 * docs/html/configopts.html: Update for current status. Fix HTML.
5098 * docs/html/install.html: Update for current status.
5100 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5102 * testsuite/libstdc++.tests/tests.exp: New file.
5103 * testsuite/lib/libstdc++.exp: Itou.
5104 * testsuite/README: Itou.
5106 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
5108 * tests_flags.in: Just output the bare minimum to run tests.
5109 Let's the caller do its own arrangement.
5111 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
5114 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
5116 * testsuite/17_intro: Prepare testcases for new style DejaGnu
5119 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
5121 * testsuite/libstdc++.tests, testsuite/lib: New directories.
5123 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
5125 * mkcheck.in: Construct file names that match $objdir structure.
5126 * testsuite/27_io/filebuf_members-1.txt: New file.
5127 * testsuite/27_io/ifstream_members-1.txt: New file.
5128 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
5130 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
5131 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
5133 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5135 * testsuite/27_io/istream_sentry.cc (test02): Fix.
5137 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
5140 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
5141 * src/ios.cc (ios_base::failure): Make definitions match.
5142 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
5143 (class bad_cast): Same.
5144 * libsupc++/exception (class exception): Add throw specs.
5145 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
5146 (set_unexpected): Same.
5147 (uncaught_exception): Same.
5150 * docs/html/17_intro/C++STYLE (classname): Fix.
5152 2001-01-16 Mark Mitchell <mark@codesourcery.com>
5154 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
5155 Use it do explicitly instantiate predicate<T> and value<T> for
5158 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
5160 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
5161 uninitialized thinko in last change.
5163 2001-01-16 Mark Mitchell <mark@codesourcery.com>
5165 * libsupc++/exception_support.cc (__cp_pop_exception): Change
5168 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
5170 * docs/html/17_intro/C++STYLE (classname): Add more existing
5171 and stylish patterns.
5174 * include/bits/istream.tcc (istream::sentry::sentry()): Set
5175 failbit if the state of the stream is not good.
5176 * testsuite/27_io/istream_sentry.cc (test02): Add test.
5177 * testsuite/27_io/istream_manip.cc (test01): Modify.
5180 reported by Paolo Carlini <pcarlini@unitus.it>
5181 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
5182 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
5185 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
5186 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
5187 (xsgetn): Same. Simplify.
5188 * testsuite/27_io/streambuf.cc (test04): Add testcases.
5190 reported by Larry Evans <jcampbell3@prodigy.net>
5191 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
5192 equality with eof on returned value from overflow.
5194 2001-01-14 Andreas Jaeger <aj@suse.de>
5196 * libio/libio.h: Add test for glibc 2.0.
5198 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
5200 * config/os/djgpp/bits/*: Fix dates.
5202 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
5203 _CharT* __end, _CharT __c): Remove.
5204 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
5205 * include/bits/char_traits.h: Tweak.
5207 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
5209 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
5210 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
5212 * aclocal.m4: regenerated.
5213 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
5214 * configure: regenerated.
5215 * config/os/djgpp, config/os/djgpp/bits: new directories.
5216 * config/os/djgpp/bits/ctype_base.h,
5217 config/os/djgpp/bits/ctype_inline.h,
5218 config/os/djgpp/bits/ctype_noninline.h,
5219 config/os/djgpp/bits/os_defines.h: new files.
5221 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
5223 * include/c_std/bits/std_cstdio.h: Undef printf.
5225 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
5227 * src/ios.cc: Fix typo: change cout->wcout.
5229 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
5230 * src/Makefile.in: Regenerate.
5232 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5234 * include/bits/std_complex.h: Fix a typo.
5236 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
5239 Fixes for libstdc++/1576
5240 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
5241 file, move contents into....
5242 * src/ios.cc: ...Here. Put defines for iostreams objects and
5243 initialization routines into one file to simplify DSO interaction.
5244 * include/bits/std_iostream.h: Touch.
5245 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
5246 * src/Makefile.am (sources): Remove stdstreams.cc.
5247 * src/Makefile.in: Regenerate.
5249 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5251 * tests_flags.in (check_directory): Fix typo.
5253 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5255 * include/bits/std_complex.h: Fix a typo.
5257 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
5259 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
5260 code path:) Remove magic constants and restructure to handle
5261 ctype.h bit mask layout changes more gracefully. (Make fast
5262 code path:) Use __maskrune (), if available.
5263 (is): Remove special case for digit and xdigit masks.
5265 2001-01-09 Robert Lipe <robertlipe@usa.net>
5267 * include/c_std/bits/std_ctime.h: Undefine difftime.
5269 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
5271 * src/gen-num-limits.cc (signal_adapter): New template function.
5272 (signal_handler): Use it, instead of signal.
5273 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
5274 require both tests to trap to set trap_flag.
5276 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
5278 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
5279 initialize mbstate_t member, name offset data members *off, not pos.
5280 * include/bits/fstream.tcc (filebuf::filebuf): Same.
5282 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
5284 reported by Chris G. Demetriou <cgd@sibyte.com>
5285 * configure.in: Change -linux-* to -linux*.
5286 * configure: Regenerate.
5288 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
5290 Fix 27_io/filebuf_members.cc
5291 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
5292 const string& __name, category __cat, size_t __refs): Set
5293 _M_has_name with _M_name.
5294 * include/bits/localefwd.h (locale::operator!=): Protect member
5295 function call with this->.
5296 * src/locale.cc (locale::operator==): Make fast checks first.
5297 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
5299 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
5301 * src/ios.cc (ios_base::Init::Init): Initialize here.
5302 (ios_base::sync_with_stdio): Set here.
5304 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
5306 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
5307 systems that support it, call dup() before fdopen().
5309 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
5311 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
5312 * testsuite/17_intro/header_cwctype.cc (main): New file.
5314 * src/Makefile.am (base_headers): Change.
5315 * include/bits/std_string.h: And here.
5316 * include/bits/string.tcc: Tweaks, move to...
5317 * include/bits/basic_string.tcc: ...Here.
5318 * src/string-inst.cc: Simplify, just instantiate the whole class,
5319 not member-by-member.
5321 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
5323 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
5324 * aclocal.m4: Regenerate.
5325 * configure: Regenerate.
5327 * include/bits/c++config (__GLIBCPP__): Bump version number.
5329 * ChangeLog: Start new log for year 2001
5330 * ChangeLog-2000: New file.
5332 * docs/html/configopts.html: Make sure default values are current,
5335 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
5337 * include/c_std/bits/std_cwchar.h: Same.
5338 * testsuite/17_intro/header_cwchar.cc: Same.
5339 * include/c_std/bits/std_ctime.h: Same.
5340 * testsuite/17_intro/header_ctime.cc: Same.
5341 * include/c_std/bits/std_cstdlib.h: Same.
5342 Clean up undefs, make consistent with cwchar and cmath, etc.
5343 * testsuite/17_intro/header_cstdlib.cc: Same.
5344 * include/c_std/bits/std_cstdio.h: Same here.
5345 * testsuite/17_intro/header_cstring.cc: Same.
5346 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
5347 * testsuite/17_intro/header_cstring.cc: New file. Check for
5348 size_t in namespace std.
5350 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
5351 * acconfig.h (HAVE_MBSTATE_T): Add.
5352 * config.h.in: Regenerate.
5353 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
5355 * aclocal.m4: Regenerate.
5356 * configure: Regenerate.
5357 * testsuite/17_intro/headers_c++.cc: New file.
5358 * testsuite/17_intro/headers_c.cc: Small changes.
5360 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
5362 * tests_flags.in: Fix typo in usage.
5364 * tests_flags.in: Set target specific LIBS for cygwin.