1 2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
3 * include/bits/locale_facets.tcc: Formatting tweaks.
5 * testsuite/23_containers/map_operators.cc: Don't xfail.
6 * testsuite/23_containers/set_operators.cc: Same.
7 * testsuite/backward/header_iterator_h.cc: Pass in -Wno-deprecated.
8 * testsuite/backward/header_deque_h.cc: Same.
10 2001-11-27 Loren J. Rittle <ljrittle@acm.org>
11 Paolo Carlini <pcarlini@unitus.it>
13 * include/bits/basic_string.tcc (basic_string::_Rep::_S_create):
14 Enforce allocation size blocking policy to reduce
15 fragmentation and enhance performance with common malloc
18 2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
20 Numeric facets cleanup.
21 * include/bits/locale_facets.h (__num_base::_S_atoms): Add, remove
23 (__num_base::_M_zero): Add
24 (__num_base::_M_e): Add.
25 (__num_base::_M_E): Add.
26 * include/bits/locale_facets.tcc (num_get::_M_extract): Remove.
27 (num_get::_M_extract_float): New.
28 (num_get::_M_extract_int): New.
29 * src/locale.cc (num_get::_M_extract): Remove.
31 * include/bits/locale_facets.tcc (num_put::_M_insert_float):
32 Simplify, use _M_insert.
33 (num_put::do_put(bool)): Simplify, remove __pad.
35 (__pad_output): Change to __pad.
36 * include/bits/ostream.tcc: And here.
37 * src/locale-inst: Remove instantiations.
39 * include/bits/locale_facets.h: Move helper functions in to class
41 (num_put::_M_insert_float): Same, for __output_integer.
42 (num_put::_M_insert_int): Same, for __output_float.
43 (num_put::_M_insert): New.
45 (__num_base::_S_format_float): Move
46 __build_float_format into class __num_base.
47 (__num_base::_S_format_int): Move __build_int_format into class
49 * include/bits/locale_facets.tcc (__group_digits): Change to
50 (__add_grouping): This.
51 * src/locale-inst.cc: And here. Tweak instantiations.
52 * src/misc-inst.cc: Remove instantiations.
54 * include/bits/ostream.tcc (__pad_char): Rename, adjust inserters
55 for new calling conventions, move to...
56 * include/bits/locale_facets.tcc (__pad_output): Here. Adjust
57 signature to make it useful for both ostream and num_put.
58 (__pad_numeric): Remove.
59 * src/misc-inst.cc: Remove instantiations.
60 * src/locale-inst.cc: Same.
62 * include/bits/locale_facets.h (_Numeric_get): Remove.
63 (_Numeric_put): Remove.
64 (num_get::get(short)): Remove.
65 (num_get::get(int)): Remove.
66 (num_get::do_get(short)): Remove.
67 (num_get::do_get(int)): Remove.
68 * include/bits/istream.tcc (istream::operator>>(short)): Fix as
70 (istream::operator>>(int)): Same.
72 * include/bits/locale_facets.h (_Format_cache): Remove.
73 * include/bits/locale_facets.tcc: Same.
74 * src/locale.cc: Same.
75 * src/locale-inst.cc: Same.
76 * include/bits/ostream.tcc: Same.
77 * src/ios.cc (ios_base::imbue): Remove here as well.
79 * testsuite/22_locale/num_get.cc: New file.
80 * testsuite/22_locale/num_get_members_char.cc: New file.
81 * testsuite/22_locale/num_get_members_wchar_t.cc: New.
82 * testsuite/22_locale/numpunct_members_wchar_t.cc: New file.
83 * testsuite/22_locale/num_put.cc: New file.
84 * testsuite/22_locale/num_put_members_char.cc: New file.
85 * testsuite/22_locale/num_put_members_wchar_t.cc: New file.
86 * testsuite/27_io/ostream_inserter_arith.cc: Fix.
87 * testsuite/27_io/istream_extractor_arith.cc: Fix.
89 2001-11-27 Phil Edwards <pme@gcc.gnu.org>
91 * docs/html/explanations.html: New section, empty for now.
92 * docs/html/17_intro/howto.html: Cleanup. Move unrelated link...
93 * docs/html/23_containers/howto.html: ...to here. Break up and
94 rewrap threading discussion to emphasize warning. Move malloc text...
95 * docs/html/ext/howto.html: ...to here. New section. Describe
96 allocators and __USE_MALLOC effects.
97 * docs/html/ext/sgiexts.html: Mention their code.
99 2001-11-24 Joseph S. Myers <jsm28@cam.ac.uk>
101 * docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
102 docs/html/27_io/binary_iostreams_kuehl.txt: Revert previous
105 2001-11-23 Phil Edwards <pme@gcc.gnu.org>
107 * Makefile.am (doxygen-maint): The script isn't executable in CVS.
108 * Makefile.in: Regenerated.
109 * docs/doxygen/TODO: New file listing doxygen work to be done.
110 * docs/doxygen/run_doxygen: Fix up man pages.
111 * docs/doxygen/user.cfg.in: Insert maint-only toggles.
112 * docs/doxygen/maint.cfg.in: Copy from user.cfg and turn toggles on.
113 * include/bits/stl_construct.h: Use new hooks for internal functions.
115 * docs/html/17_intro/TODO: Small updates.
116 * docs/html/faq/index.html: Likewise.
117 * docs/html/faq/index.txt: Regenerated.
119 * include/bits/stl_alloc.h: Doxygenate, reindent comments, remove
120 SGI-isms and wrappers.
121 (simple_alloc, debug_alloc): Uglify class names.
122 (__default_alloc_template): Uglify "threads" template parameter and
123 update corresponding macros.
124 * include/backward/alloc.h: Bring up to date.
126 2001-11-23 Jason Merrill <jason@redhat.com>
128 * src/vterminate.cc (__verbose_terminate_handler): Add leading
131 2001-11-23 Joseph S. Myers <jsm28@cam.ac.uk>
133 * ChangeLog, docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
134 docs/doxygen/doxygroups.cc, docs/doxygen/Intro.3,
135 docs/html/17_intro/BUGS, docs/html/17_intro/C++STYLE,
136 docs/html/17_intro/CHECKLIST, docs/html/17_intro/DESIGN,
137 docs/html/17_intro/howto.html, docs/html/17_intro/porting.html,
138 docs/html/17_intro/porting.texi, docs/html/18_support/howto.html,
139 docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
140 docs/html/21_strings/howto.html,
141 docs/html/23_containers/howto.html,
142 docs/html/26_numerics/howto.html, docs/html/27_io/howto.html,
143 docs/html/27_io/binary_iostreams_kuehl.txt,
144 docs/html/ext/sgiexts.html, docs/html/faq/index.html,
145 docs/html/faq/index.txt, testsuite/24_iterators/iterator.cc,
146 include/bits/basic_file.h, include/bits/locale_facets.h,
147 include/bits/locale_facets.tcc, include/bits/std_sstream.h,
148 include/ext/ropeimpl.h, include/ext/stl_rope.h,
149 libsupc++/tinfo.cc, libsupc++/cxxabi.h, libsupc++/typeinfo,
150 libsupc++/eh_throw.cc, acinclude.m4, aclocal.m4, configure,
151 configure.target, ChangeLog-2000: Fix spelling errors.
153 * config/locale/moneypunct_members_gnu.cc,
154 include/bits/locale_facets.h: Fix spelling errors.
156 2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
158 * testsuite/23_containers/list_capacity.cc: New file.
159 * testsuite/23_containers/list_ctor.cc: New file.
160 * testsuite/23_containers/list_modifiers.cc: New file.
161 * testsuite/23_containers/list_operators.cc: New file.
163 2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
165 * include/bits/stl_list.h: Reformatted according to C++STYLE rules.
166 (size): Replaced nonstandard distance() call with the standard one.
167 (transfer): Uglified to _M_transfer.
169 2001-11-21 Paolo Carlini <pcarlini@unitus.it>
172 * include/bits/basic_string.tcc (basic_string::reserve): Never shrink
173 below the current size.
174 * testsuite/21_strings/capacity.cc (test02): Add test.
176 2001-11-19 Phil Edwards <pme@gcc.gnu.org>
178 * docs/doxygen/Intro.3: More notes.
179 * docs/doxygen/style.css: Update to default style from Doxygen 1.2.10.
180 * include/bits/stl_algobase.h: Add doxygen hooks for functions.
181 * include/ext/hash_map: Add @file hook.
182 * include/ext/hash_set: Likewise.
183 * include/ext/rope: Likewise.
184 * include/ext/ropeimpl.h: Likewise.
185 * include/ext/slist: Likewise.
186 * include/ext/stl_hash_fun.h: Likewise.
187 * include/ext/stl_hashtable.h: Likewise.
188 * include/ext/stl_rope.h: Likewise.
190 * docs/html/17_intro/license.html: Remove "experimental" sentence.
191 * docs/html/19_diagnostics/howto.html: Document new verbose
193 * testsuite/27_io/filebuf.cc: Fix comment, move tweakable parameter
194 to more visible (closer to description) position.
196 * libsupc++/eh_type.cc: Formatting tweak.
197 * libsupc++/exception: Likewise.
198 * src/vterminate.cc: Likewise.
200 * docs/html/17_intro/porting.html: Regenerate.
201 * docs/html/faq/index.txt: Regenerate.
203 2001-11-18 Jason Merrill <jason@redhat.com>
205 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Take void*.
206 * libsupc++/eh_catch.cc (__cxa_begin_catch): Likewise.
207 * libsupc++/unwind-cxx.h: Adjust.
208 * src/Makefile.am (strstream.o): Pass -Wno-deprecated.
210 * libsupc++/eh_type.cc (__cxa_current_exception_type): New file.
211 * libsupc++/cxxabi.h: Declare it.
212 * libsupc++/Makefile.am (sources): Add it.
213 * src/vterminate.cc (verbose_terminate_handler): New file.
214 * libsupc++/exception: Declare it.
215 * src/Makefile.am (sources): Add it.
217 * src/Makefile.am (VPATH): Check the src directory before the top one.
219 2001-11-16 Paolo Carlini <pcarlini@unitus.it>
221 * include/bits/stl_deque.h (deque::erase()): Fix memory leak.
223 2001-11-16 Loren J. Rittle <ljrittle@acm.org>
225 * docs/html/17_intro/howto.html (Thread-safety): Rename
226 section to ``The Standard C++ library and multithreading'' and
227 update information based on recent mailing list traffic. Move
228 all discussion of __USE_MALLOC to...
229 * docs/html/23_containers/howto.html (Containers and multithreading):
230 ...here and rework it based on recent mailing list traffic.
232 2001-11-15 Loren J. Rittle <ljrittle@acm.org>
234 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Clarify
237 2001-11-15 <bjornw@planetarion.com>
238 Loren J. Rittle <ljrittle@acm.org>
241 * include/bits/stl_alloc.h (alloc): Update to use __mem_interface.
242 (single_client_alloc): Likewise.
244 2001-11-08 Danny Smith <dannysmith@users.sourceforge.net>
246 * configure.target: Add os_include_dir for mingw32* target.
247 * docs/html/17_intro/porting.texi: Mention mingw32 as target benefiting
248 from _GLIBCPP_AVOID_FSEEK.
249 * config/os/mingw32/bits/ctype_base.h: New file.
250 * config/os/mingw32/bits/ctype_inline.h: New file.
251 * config/os/mingw32/bits/ctype_noninline.h: New file.
252 * config/os/mingw32/bits/os_defines.h: New file.
254 2001-11-07 Nathan Myers <ncm@cantrip.org>
256 * docs/html/faq/index.html (5.8): New entry on ABIs.
257 * docs/html/faq/index.txt: Regenerate.
259 2001-11-07 Phil Edwards <pme@gcc.gnu.org>
261 * docs/html/faq/index.html: Explain libsupc++, mention 'long long'
263 * docs/html/faq/index.txt: Regenerate.
265 2001-11-06 Phil Edwards <pme@gcc.gnu.org>
267 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Run the test in
269 * aclocal.m4: Regenerate.
270 * configure: Regenerate.
272 2001-11-05 Phil Edwards <pme@gcc.gnu.org>
274 * porting.texi: Move...
275 * docs/html/17_intro/porting.texi: ...to here.
276 * docs/html/Makefile: Add rule to rebuild...
277 * docs/html/17_intro/porting.html: ...this. New file.
279 2001-11-05 Felix Natter <fnatter@gmx.net>
281 * docs/html/17_intro/porting-howto.xml: check in v0.9.4
282 * docs/html/17_intro/porting-howto.html: regenerate
284 2001-11-02 Loren J. Rittle <ljrittle@acm.org>
286 * include/bits/stl_threads.h (_Atomic_swap): Only enable path
287 when platform supports __GTHREAD_MUTEX_INIT.
289 2001-11-02 Phil Edwards <pme@gcc.gnu.org>
291 * acconfig.h: Update comments.
292 * acinclude.m4 (GLIBCPP_ENABLE_C99): Move strtoll, strtoull tests...
293 (GLIBCPP_ENABLE_LONG_LONG): ...to here. Don't check enable_c99.
294 * aclocal.m4: Regenerate.
295 * config.h.in: Regenerate.
296 * configure: Regenerate.
298 * include/bits/boost_concept_check.h: Unconditionally compile uses
299 of 'long long' which require only compiler support, not C lib support.
300 * include/bits/cpp_type_traits.h: Likewise.
301 * include/bits/std_limits.h: Likewise.
302 * include/bits/type_traits.h: Likewise.
303 * src/concept-inst.cc: Likewise.
304 * src/limits.cc: Likewise.
305 * include/c_shadow/stdlib.h: Compile conditionally on _GLIBCPP_USE_C99
306 instead of _GLIBCPP_USE_LONG_LONG.
307 * include/c_shadow/bits/std_cstdlib.h: Likewise.
309 2001-11-02 Phil Edwards <pme@gcc.gnu.org>
311 * config/io/c_io_stdio.h: Correct grammar in comments.
312 * docs/doxygen/Intro.3: Expand "top-level" man page.
313 * docs/doxygen/doxygroups.cc: New module definitions (comments).
314 * docs/doxygen/mainpage.doxy: Tweaks.
315 * docs/doxygen/run_doxygen: Update Doxygen version, massage man pages.
317 Add @file hooks so that headers are considered to be documented.
318 * include/bits/basic_ios.h, include/bits/basic_file.h,
319 include/bits/basic_string.h, include/bits/boost_concept_check.h,
320 include/bits/char_traits.h, include/bits/codecvt.h,
321 include/bits/concept_check.h, include/bits/cpp_type_traits.h,
322 include/bits/fpos.h, include/bits/gslice.h, include/bits/gslice_array.h,
323 include/bits/indirect_array.h, include/bits/ios_base.h,
324 include/bits/locale_facets.h, include/bits/localefwd.h,
325 include/bits/mask_array.h, include/bits/pthread_allocimpl.h,
326 include/bits/slice.h, include/bits/slice_array.h,
327 include/bits/std_algorithm.h, include/bits/std_bitset.h,
328 include/bits/std_complex.h, include/bits/std_deque.h,
329 include/bits/std_fstream.h, include/bits/std_functional.h,
330 include/bits/std_iomanip.h, include/bits/std_ios.h,
331 include/bits/std_iosfwd.h, include/bits/std_iostream.h,
332 include/bits/std_istream.h, include/bits/std_iterator.h,
333 include/bits/std_limits.h, include/bits/std_list.h,
334 include/bits/std_locale.h, include/bits/std_map.h,
335 include/bits/std_memory.h, include/bits/std_numeric.h,
336 include/bits/std_ostream.h, include/bits/std_queue.h,
337 include/bits/std_set.h, include/bits/std_sstream.h,
338 include/bits/std_stack.h, include/bits/std_streambuf.h,
339 include/bits/std_string.h, include/bits/std_utility.h,
340 include/bits/std_valarray.h, include/bits/std_vector.h,
341 include/bits/stl_algo.h, include/bits/stl_alloc.h,
342 include/bits/stl_bvector.h, include/bits/stl_construct.h,
343 include/bits/stl_deque.h, include/bits/stl_heap.h,
344 include/bits/stl_iterator.h, include/bits/stl_iterator_base_funcs.h,
345 include/bits/stl_iterator_base_types.h, include/bits/stl_list.h,
346 include/bits/stl_map.h, include/bits/stl_multimap.h,
347 include/bits/stl_multiset.h, include/bits/stl_numeric.h,
348 include/bits/stl_pair.h, include/bits/stl_pthread_alloc.h,
349 include/bits/stl_queue.h, include/bits/stl_raw_storage_iter.h,
350 include/bits/stl_relops.h, include/bits/stl_set.h,
351 include/bits/stl_stack.h, include/bits/stl_tempbuf.h,
352 include/bits/stl_threads.h, include/bits/stl_tree.h,
353 include/bits/stl_uninitialized.h, include/bits/stl_vector.h,
354 include/bits/stream_iterator.h, include/bits/streambuf_iterator.h,
355 include/bits/stringfwd.h, include/bits/type_traits.h,
356 include/bits/valarray_array.h, include/bits/valarray_meta.h:
357 Add hooks, tweak comments only.
359 * include/bits/stl_algobase.h (swap, min, iter_swap): Also
360 document these functions.
361 * include/bits/stl_function.h: Tweak link comments.
363 2001-11-01 Paolo Carlini <pcarlini@unitus.it>
364 Benjamin Kosnik <bkoz@redhat.com>
366 * testsuite/27_io/ios_manip_fmtflags.cc: Fix for non-interactive
368 * include/bits/locale_facets.tcc (num_put::do_put(bool)): Fix.
370 2001-11-01 Egor Duda <deo@logos-m.ru>
372 * config/os/newlib/bits/ctype_noninline.h
373 (ctype<char>::do_toupper(char __c)): Check for proper character class.
374 (ctype<char>::do_tolower(char __c)): Ditto.
376 2001-11-01 Phil Edwards <pme@gcc.gnu.org>
378 * acinclude.m4: Fix spacing.
379 (GLIBCPP_ENABLE_CONCEPT_CHECKS): New macro.
380 * configure.in: Call here.
381 * acconfig.h: Add _GLIBCPP_CONCEPT_CHECKS.
382 * include/bits/boost_concept_check.h: Fix headers.
383 (__function_requires): Make inline.
384 * include/bits/c++config (_GLIBCPP_CONCEPT_CHECKS): Remove.
385 * aclocal.m4: Regenerate.
386 * config.h.in: Regenerate.
387 * configure: Regenerate.
389 Move trailing ';' inside macro, PR libstdc++/3666.
390 * include/bits/concept_check.h: Add semicolon.
391 * include/bits/stl_algo.h: Remove semicolon.
392 * include/bits/stl_algobase.h: Likewise.
393 * include/bits/stl_deque.h: Likewise.
394 * include/bits/stl_heap.h: Likewise.
395 * include/bits/stl_iterator_base_funcs.h: Likewise.
396 * include/bits/stl_list.h: Likewise.
397 * include/bits/stl_map.h: Likewise.
398 * include/bits/stl_multimap.h: Likewise.
399 * include/bits/stl_multiset.h: Likewise.
400 * include/bits/stl_numeric.h: Likewise.
401 * include/bits/stl_queue.h: Likewise.
402 * include/bits/stl_set.h: Likewise.
403 * include/bits/stl_stack.h: Likewise.
404 * include/bits/stl_vector.h: Likewise.
405 * include/ext/hash_map: Likewise.
406 * include/ext/hash_set: Likewise.
407 * include/ext/slist: Likewise.
409 * src/concept-inst.cc: New file with explicit instantiations.
410 * src/Makefile.am (sources): Add here, with special build rules.
411 * src/Makefile.in: Regenerate.
413 2001-11-01 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
415 * include/bits/std_complex.h (_Norm_helper): New class template.
417 (abs): Tweak. Fix Thinko.
419 2001-10-31 Benjamin Kosnik <bkoz@redhat.com>
422 * include/bits/codecvt.h: Add virtual member function declarations.
423 * src/codecvt.cc: Tweaks.
424 * testsuite/22_locale/codecvt.cc: Test compilation only,
425 non-required facets not required to have linkage.
427 2001-10-31 Edward E. Meyer <edward.e.meyer@boeing.com>
430 * include/bits/std_complex.h (complex::operator/=): Correct sign.
432 2001-10-30 Paolo Carlini <pcarlini@unitus.it>
433 Benjamin Kosnik <bkoz@redhat.com>
436 * include/bits/basic_string.h: Tweaks.
437 * include/bits/basic_string.tcc (string::_M_replace(iterator,
438 iterator, _ForwardIter, _ForwardIter, forward_iterator_tag): Fix.
439 * src/string-inst.cc: Tweaks, add instantiation.
440 * testsuite/21_strings/replace.cc (test02): Add test.
441 * testsuite/21_strings/assign.cc (test01): New file.
443 001-10-30 Jakub Jelinek <jakub@redhat.com>
445 * include/bits/stl_deque.h (_M_new_elements_at_front): Use
446 __throw_exception_again.
447 (_M_new_elements_at_back): Likewise.
449 2001-10-29 Benjamin Kosnik <bkoz@redhat.com>
452 * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
453 * testsuite/27_io/filebuf.cc (test07): New test.
454 (test03): Modify showmanyc test.
456 2001-10-26 Benjamin Kosnik <bkoz@redhat.com>
459 * config/locale/codecvt_specializations_ieee_1003.1-200x.h
460 (__enc_traits::~__enc_traits): Fix.
461 (__enc_traits::_M_init): Add error checking.
463 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
466 * include/bits/locale_facets.tcc (time_get::_M_extract_name): Fix.
468 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
471 * include/bits/ostream.tcc (ostream::operator<<(streambuf*)): Fix
473 * include/bits/istream.tcc (istream::operator>>(streambuf*): Make
474 consistent, where possible.
475 * include/bits/streambuf.tcc: Tweak.
477 2001-10-25 Brendan Kehoe <brendan@zen.org>
480 * bits/ostream.tcc (seekp): Scope use as ios_base::failbit.
481 * bits/istream.tcc (seekg): Likewise.
483 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
484 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
485 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
487 * config/os/gnu-linux/bits/os_defines.h: Set to 64 bit longs with
489 * include/bits/std_limits.h: Fix wchar_t issues.
490 * config/os/aix/bits/os_defines.h: Fix.
492 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
494 * include/bits/locale_facets.tcc (collate::do_transform): Fix.
496 2001-10-25 Phil Edwards <pme@gcc.gnu.org>
498 * docs/html/documentation.html: Fix typo.
500 2001-10-23 Benjamin Kosnik <bkoz@redhat.com>
502 Make -fno-exceptions work.
503 * config/locale/c_locale_gnu.cc: Use functexcept.
504 * include/bits/c++config (__stl_assert): Remove.
505 (__STL_USE_EXCEPTIONS): Same.
507 (__STL_CATCH_ALL): Same.
509 (__STL_RETHROW): Same.
510 (__STL_NOTHROW): Same.
511 (__STL_UNWIND): Same.
512 * include/bits/pthread_allocimpl.h: Fix.
513 * include/bits/std_bitset.h: Same.
514 * include/bits/std_list.h: Same.
515 * include/bits/std_memory.h: Same.
516 * include/bits/std_queue.h: Same.
517 * include/bits/stl_alloc.h: Same.
518 * include/bits/stl_deque.h: Same.
519 * include/bits/stl_list.h: Same.
520 * include/bits/stl_queue.h: Same.
521 * include/bits/stl_tempbuf.h: Same.
522 * include/bits/stl_tree.h: Same.
523 * include/bits/stl_uninitialized.h: Same.
524 * include/bits/stl_vector.h: Same.
525 * include/ext/ropeimpl.h: Same.
526 * include/ext/slist: Same.
527 * include/ext/stl_hashtable.h: Same.
528 * include/ext/stl_rope.h: Same.
529 * libsupc++/new_op.cc: Include cstdlib.
530 * libsupc++/eh_personality.cc: Add exception_defines include. Use
531 __throw_exception_again, tweak.
532 * libsupc++/eh_aux_runtime.cc: Include stdlib for abort.
533 * libsupc++/vec.cc: Tweak.
534 * src/functexcept.cc: Remove unused arguments.
535 * testsuite/23_containers/bitset_members.cc: Tweak.
537 2001-10-22 Benjamin Kosnik <bkoz@redhat.com>
539 * config/cpu/i386/bits/limits.h: Move to...
540 * config/cpu/i386/bits/cpu_limits.h: ...here.
541 * config/cpu/cris/bits/cpu_limits.h: Same.
542 * config/cpu/powerpc/bits/cpu_limits.h: Same.
543 * config/cpu/x86-64/bits/cpu_limits.h: Same.
544 * config/cpu/alpha/bits/cpu_limits.h: New.
545 * config/cpu/m68k/bits/cpu_limits.h: New.
546 * config/cpu/s390/bits/cpu_limits.h: New.
547 * config/os/aix/bits/os_defines.h: Tweaks.
548 * config/os/bsd/freebsd/bits/os_defines.h: Same.
549 * config/os/bsd/netbsd/bits/os_defines.h: Same.
550 * config/os/djgpp/bits/os_defines.h: Same.
551 * config/os/generic/bits/os_defines.h: Same.
552 * config/os/gnu-linux/bits/os_defines.h: Same.
553 * config/os/hpux/bits/os_defines.h: Same.
554 * config/os/irix/irix5.2/bits/os_defines.h: Same.
555 * config/os/irix/irix6.5/bits/os_defines.h: Same.
556 * config/os/newlib/bits/os_defines.h: Same.
557 * config/os/solaris/solaris2.5/bits/os_defines.h: Same.
558 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
559 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
561 * include/bits/c++config: Remove include.
562 * include/bits/limits_generic.h: Remove.
563 * include/bits/std_limits.h: Include cpu_limits.h.
564 * include/Makefile.am: Fixup.
565 * src/limits.cc: Tweak.
566 * src/limits_generic.cc: Remove.
567 * src/gen-num-limits.cc: Remove.
568 * mknumeric_limits: Remove.
570 2001-10-20 Brendan Kehoe <brendan@zen.org>
572 * bits/type_traits.h (_Bool): Removed this type.
573 (__true_type, __false_type): Change to be plain structs.
574 * src/string-inst.cc (__destroy_aux): Change third parm to be
575 __false_type instead of _Bool<false>.
576 * src/misc-inst.cc (__uninitialized_fill_n_aux,
577 __uninitialized_copy_aux): Likewise.
579 2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
581 * mkcheck.in (static_fail): Remove older memory limit functionality.
582 Disable E_TIME due to formatting issues.
586 2001-10-19 Brendan Kehoe <brendan@zen.org>
588 * include/bits/std_complex.h: Default initialize second argument
589 of polar to 0, as specified in Library DR #79
591 2001-10-19 Brendan Kehoe <brendan@zen.org>
593 * include/bits/stl_raw_storage_iter.h (operator=): Fix to call
594 _Construct instead of construct.
596 2001-10-19 Brendan Kehoe <brendan@zen.org>
598 * include/bits/basic_string.tcc (find_first_not_of): Take out check for
599 __n being non-zero, since the standard does not mandate that.
600 e.g., a search for "" in "" should yield position 0, not npos.
601 (find_last_not_of): Likewise.
603 2001-10-19 Brendan Kehoe <brendan@zen.org>
605 * include/bits/stl_bvector.h (vector<bool>::_M_range_check): Fix
606 to throw out_of_range, not range_error, thus sayeth $23.1.1.13.
608 2001-10-19 Brendan Kehoe <brendan@zen.org>
610 * include/bits/stl_iterator.h (reverse_iterator::current): Rename
611 member from _M_current, and change all uses; thus sayeth $24.4.1.1.
613 2001-10-19 Brendan Kehoe <brendan@zen.org>
615 * include/bits/stl_algo.h (partial_sort): Add missing `>' on the
616 template parameter _ValueType.
618 2001-10-19 Brendan Kehoe <brendan@zen.org>
620 * include/bits/std_limits.h: Clean up extra semicolons.
621 * include/bits/locale_facets.h: Likewise.
622 * include/bits/type_traits.h: Likewise.
624 2001-10-19 Brendan Kehoe <brendan@zen.org>
626 * include/bits/localefwd.h (locale::combine): Add const for lib DR 14.
627 * include/bits/locale_facets.tcc (locale::combine): Likewise.
629 2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
631 * include/bits/locale_facets.h (__timepunct::_M_put_helper):
632 Declare specializations for char, wchar_t.
634 2001-10-19 Andreas Jaeger <aj@suse.de>
636 * config/cpu/x86-64/bits/limits.h: New file.
637 * config/cpu/x86-64/bits/atomicity.h: New file.
638 * configure.target: Add x86-64.
640 2001-10-17 Phil Edwards <pme@gcc.gnu.org>
642 * docs/html/17_intro/howto.html: Remove 1999 links (and explain
643 why). Add link to recent message.
644 * docs/html/faq/index.html (5.6): Reformat text only; fixup <pre>
646 * docs/html/faq/index.txt: Regenerate.
648 2001-10-12 Loren J. Rittle <ljrittle@acm.org>
650 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Update
651 based on Nathan's review. Use Nathan's words.
653 2001-10-11 Matt Kraai <kraai@alumni.carnegiemellon.edu>
655 * docs/html/configopts.html: Quote StyleSheet attribute values.
656 * docs/html/documentation.html: Likewise.
657 * docs/html/explanations.html: Likewise.
658 * docs/html/install.html: Likewise.
659 * docs/html/17_intro/howto.html: Likewise.
660 * docs/html/17_intro/license.html: Likewise.
661 * docs/html/18_support/howto.html: Likewise.
662 * docs/html/19_diagnostics/howto.html: Likewise.
663 * docs/html/20_util/howto.html: Likewise.
664 * docs/html/21_strings/howto.html: Likewise.
665 * docs/html/22_locale/howto.html: Likewise.
666 * docs/html/23_containers/howto.html: Likewise.
667 * docs/html/24_iterators/howto.html: Likewise.
668 * docs/html/25_algorithms/howto.html: Likewise.
669 * docs/html/26_numerics/howto.html: Likewise.
670 * docs/html/27_io/howto.html: Likewise.
671 * docs/html/ext/howto.html: Likewise.
672 * docs/html/ext/sgiexts.html: Likewise.
673 * docs/html/faq/index.html: Likewise.
675 2001-10-11 Loren J. Rittle <ljrittle@acm.org>
677 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Rewrite.
678 * docs/html/23_containers/howto.html (Containers and multithreading):
681 2001-10-09 Phil Edwards <pme@gcc.gnu.org>
683 * docs/html/17_intro/howto.html: Tweak markup and value type.
684 * docs/html/27_io/howto.html: Tweak markup, describe setbuf() for
685 nonzero arguments, add new note on threading.
686 * docs/html/faq/index.html: Update.
687 * docs/html/faq/index.txt: Regenerate.
689 2001-10-09 Phil Edwards <pme@gcc.gnu.org>
691 * docs/html/configopts.html: More HTML->XHTML and lowercasing of tags.
692 * docs/html/documentation.html: Likewise.
693 * docs/html/explanations.html: Likewise.
694 * docs/html/install.html: Likewise.
695 * docs/html/17_intro/howto.html: Likewise.
696 * docs/html/17_intro/license.html: Likewise. Tighten up language.
697 * docs/html/18_support/howto.html: Likewise.
698 * docs/html/19_diagnostics/howto.html: Likewise.
699 * docs/html/20_util/howto.html: Likewise.
700 * docs/html/21_strings/howto.html: Likewise.
701 * docs/html/22_locale/howto.html: Likewise.
702 * docs/html/23_containers/howto.html: Likewise.
703 * docs/html/24_iterators/howto.html: Likewise.
704 * docs/html/25_algorithms/howto.html: Likewise.
705 * docs/html/26_numerics/howto.html: Likewise.
706 * docs/html/27_io/howto.html: Likewise.
707 * docs/html/ext/howto.html: Likewise.
708 * docs/html/ext/sgiexts.html: Likewise.
709 * docs/html/faq/index.html: Likewise. Not so many absolute links.
710 * docs/html/faq/index.txt: Regenerate.
712 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
714 * docs/html/22_locale/locale.html, docs/html/faq/index.html: Fix
715 spelling errors of "separate" as "seperate", and corresponding
716 spelling errors of related words.
717 * docs/html/faq/index.txt: Regenerate.
719 2001-10-05 Phil Edwards <pme@gcc.gnu.org>
721 * config/cpu/alpha/bits/atomicity.h (__compare_and_swap): Remove
723 * config/cpu/arm/bits/atomicity.h: Likewise.
724 * config/cpu/generic/bits/atomicity.h: Likewise.
725 * config/cpu/i486/bits/atomicity.h: Likewise.
726 * config/cpu/ia64/bits/atomicity.h: Likewise.
727 * config/cpu/mips/bits/atomicity.h: Likewise.
728 * config/cpu/powerpc/bits/atomicity.h: Likewise.
729 * config/cpu/sparc/sparc32/bits/atomicity.h: Likewise.
730 * config/cpu/sparc/sparc64/bits/atomicity.h: Likewise.
732 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
734 * docs/html/faq/index.html: Describe DR #22, and a workaround.
735 * docs/html/faq/index.txt: Regenerate.
737 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
739 * docs/html/17_intro/COPYING.DOC: New file, GFDL v1.1 from the FSF.
740 * docs/html/17_intro/license.html: New file. Explain the licenses
743 * docs/html/configopts.html: Link to license.html.
744 * docs/html/documentation.html: Likewise.
745 * docs/html/explanations.html: Likewise.
746 * docs/html/install.html: Likewise.
747 * docs/html/17_intro/howto.html: Likewise.
748 * docs/html/18_support/howto.html: Likewise.
749 * docs/html/19_diagnostics/howto.html: Likewise.
750 * docs/html/20_util/howto.html: Likewise.
751 * docs/html/21_strings/howto.html: Likewise.
752 * docs/html/22_locale/howto.html: Likewise.
753 * docs/html/23_containers/howto.html: Likewise.
754 * docs/html/24_iterators/howto.html: Likewise.
755 * docs/html/25_algorithms/howto.html: Likewise.
756 * docs/html/26_numerics/howto.html: Likewise.
757 * docs/html/27_io/howto.html: Likewise.
758 * docs/html/ext/howto.html: Likewise.
759 * docs/html/ext/sgiexts.html: Likewise.
760 * docs/html/faq/index.html: Likewise. New question, linking to
761 the new license.html.
763 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
765 * docs/html/17_intro/howto.html: Fix mis-sed in header from 20010917.
766 * docs/html/18_support/howto.html: Likewise.
767 * docs/html/19_diagnostics/howto.html: Likewise.
768 * docs/html/20_util/howto.html: Likewise.
769 * docs/html/21_strings/howto.html: Likewise.
770 * docs/html/22_locale/howto.html: Likewise.
771 * docs/html/23_containers/howto.html: Likewise.
772 * docs/html/24_iterators/howto.html: Likewise.
773 * docs/html/25_algorithms/howto.html: Likewise.
774 * docs/html/26_numerics/howto.html: Likewise.
775 * docs/html/27_io/howto.html: Likewise.
776 * docs/html/ext/howto.html: Likewise.
777 * docs/html/faq/index.html: Likewise. Spacing fix.
779 2001-10-03 Dimitris Vyzovitis <vyzo@media.mit.edu>
781 * include/bits/stl_threads.h (_Atomic_swap): New function.
782 (_Swap_lock_struct<__dummy>::_S_swap_lock): New data.
783 * testsuite/ext/rope.cc: New file.
785 2001-10-02 Benjamin Kosnik <bkoz@redhat.com>
787 * config/locale/time_members_gnu.h: Remove.
788 * config/locale/time_members_generic.h: Remove.
789 * config/locale/time_members_gnu.cc (__timepunct::_M_put_helper): Add.
790 * config/locale/time_members_generic.cc: Same.
791 * include/bits/locale_facets.h: Add data members.
792 (__timepunct::_M_put_helper): Change signature.
793 (__timepunct::_M_date_formats): Same.
794 (__timepunct::_M_time_formats): Same.
795 (__timepunct::_M_ampm): Add.
796 (__timepunct::_M_date_time_formats): Add.
797 (time_get::_M_extract_via_format): Add.
798 (time_get::_M_extract_time): Change to...
799 (time_get::_M_extract_num): ... this, modify signature.
800 * include/bits/locale_facets.tcc (time_get::do_get_year): Fix.
801 (time_get::do_get_time): Fix.
802 (time_get::do_get_date): Fix.
804 * acinclude.m4: Remove CTIME_H.
805 * aclocal.m4: Regenerate.
806 * include/Makefile.am: Same.
807 * include/Makefile.in: Regenerate.
808 * configure: Regenerate.
810 * testsuite/22_locale/time_get_members_char.cc: Fix.
811 * testsuite/22_locale/time_get_members_wchar_t.cc: Add.
812 * testsuite/22_locale/time_put_members_wchar_t.cc: Add.
814 2001-10-01 Hans-Peter Nilsson <hp@axis.com>
816 * config/cpu/cris/bits/atomicity.h: Correct file header.
818 2001-09-29 Hans-Peter Nilsson <hp@axis.com>
820 * configure.target (LIMITSH): Set for cris.
821 (cpu_include_dir): Set for cris-*-*.
822 * config/cpu/cris/bits/atomicity.h: New file.
823 * config/cpu/cris/bits/limits.h: New file.
825 2001-09-28 Benjamin Kosnik <bkoz@redhat.com>
827 * config/locale/time_members_gnu.h (__timepunct::_M_get_helper): Add.
828 (__timepunct::_M_put_helper): Add.
829 * config/locale/time_members_generic.h: Same.
830 * include/bits/locale_facets.h (__match_parallel): Remove. Format.
831 (__timepunct): Add data members.
832 (__timepunct::_M_days): Add.
833 (__timepunct::_M_days_abbreviated): Add.
834 (__timepunct::_M_months): Add.
835 (__timepunct::_M_months_abbreviated): Add.
836 (__timepunct::_M_initialize_timepunct): Add.
837 * include/bits/locale_facets.tcc: Same.
838 * src/locale-inst.cc: Remove instantiations for __match_parallel.
839 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_CC.
840 * aclocal.m4: Regenerate.
841 * configure: Regenerate.
842 * testsuite/22_locale/time_put_members_char.cc: Mark XFAIL.
843 * testsuite/22_locale/time_put_members_char.cc (test01): New file.
844 * testsuite/22_locale/time_get.cc: New file.
846 2001-09-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
848 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
849 correct multilib builddir.
850 Properly locate libgcc_s.
852 2001-09-27 Phil Edwards <pme@gcc.gnu.org>
854 * include/std/*: Add Doxygen hooks.
855 * docs/doxygen/Intro.3: New file, general intro to the man pages.
856 * docs/doxygen/mainpage.doxy: Formatting tweaks. List our own links
857 rather than using a generated index.
858 * docs/doxygen/user.cfg.in: Disable the index, enable man pages.
859 * docs/doxygen/run_doxygen: Massage the generated man pages, using...
860 * docs/doxygen/stdheader.cc: ...this new file.
862 2001-09-26 Stan Shebs <shebs@apple.com>
864 * include/Makefile.am: Remove RCS Id strings.
865 * src/Makefile.am: Ditto.
866 * docs/doxygen/run_doxygen: Ditto.
867 * docs/html/configopts.html: Ditto.
868 * docs/html/documentation.html: Ditto.
869 * docs/html/explanations.html: Ditto.
870 * docs/html/install.html: Ditto.
871 * docs/html/17_intro/howto.html: Ditto.
872 * docs/html/18_support/howto.html: Ditto.
873 * docs/html/19_diagnostics/howto.html: Ditto.
874 * docs/html/20_util/howto.html: Ditto.
875 * docs/html/21_strings/howto.html: Ditto.
876 * docs/html/22_locale/howto.html: Ditto.
877 * docs/html/23_containers/howto.html: Ditto.
878 * docs/html/24_iterators/howto.html: Ditto.
879 * docs/html/25_algorithms/howto.html: Ditto.
880 * docs/html/26_numerics/howto.html: Ditto.
881 * docs/html/27_io/howto.html: Ditto.
882 * docs/html/ext/howto.html: Ditto.
883 * docs/html/ext/sgiexts.html: Ditto.
884 * docs/html/faq/index.html: Ditto.
885 * docs/html/faq/index.txt: Ditto.
887 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
889 * testsuite/21_strings/c_strings.cc (test01, test02): Increase
892 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
894 * docs/html/20_util/howto.html: Add anchor name.
895 * docs/html/23_containers/howto.html: Line wrapping, another link.
896 * docs/html/25_algorithms/howto.html: Another note.
898 * docs/html/ext/howto.html: Link to SGI extensions. List DRs and
900 * docs/html/ext/lwg-active.html: ...in this new file (from R19),
901 * docs/html/ext/lwg-defects.html: and this new file (from R19).
902 * docs/html/ext/sgiexts.html: New file. Mention SGI extensions
903 carried over to libstdc++-v3.
904 * docs/html/faq/index.html: Link to SGI extensions. Mention the
905 "missing .." pseudobug.
906 * docs/html/faq/index.txt: Regenerate.
908 * include/bits/ios_base.h: DR-related comment cleanup.
909 * include/bits/istream.tcc: Likewise.
910 * include/bits/locale_facets.h: Likewise.
911 * include/bits/locale_facets.tcc: Likewise.
912 * include/bits/ostream.tcc: Likewise.
913 * include/bits/std_bitset.h: Likewise.
914 * include/bits/std_iosfwd.h: Likewise.
915 * include/bits/std_istream.h: Likewise.
916 * include/bits/std_ostream.h: Likewise.
917 * include/bits/std_streambuf.h: Likewise.
918 * include/bits/stl_pair.h: Likewise.
919 * include/bits/streambuf_iterator.h: Likewise.
921 * include/bits/std_map.h: Remove unused header inclusion guard
922 _CPP_BITS_STL_TREE_H from around bits/stl_tree.h.
923 * include/bits/std_set.h: Likewise.
925 * include/bits/stl_function.h: Doxygen markup.
926 * docs/doxygen/doxygroups.cc: New file, specifying module grouping.
927 * libsupc++/typeinfo: Doxygen markup tweak.
929 2001-09-20 Scott Johnston <scott@accom.com>
930 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
932 * include/backward/alloc.h: Conditionally define malloc_alloc
933 * testsuite/backward/header_deque_h.cc: New file.
935 2001-09-20 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
937 * libstdc++-v3/include/bits/locale_facets.tcc (money_put::do_put):
938 change variable name so that it works with -fno-for-scope.
940 2001-09-20 Benjamin Kosnik <bkoz@redhat.com>
942 * testsuite/22_locale/numpunct_members_char.cc (test01): Remove
943 redundant sanity checks.
944 * testsuite/22_locale/money_put_members_wchar_t.cc (test01): Same.
946 * testsuite/22_locale/money_put_members_char.cc (test01): Same.
948 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test01): Same.
949 * testsuite/22_locale/moneypunct_members_char.cc (test01): Same.
950 * testsuite/22_locale/money_get_members_wchar_t.cc (test01): Same.
952 * testsuite/22_locale/money_get_members_char.cc (test01): Same.
955 2001-09-19 Benjamin Kosnik <bkoz@redhat.com>
957 Implement std::time_put.
958 * include/bits/locale_facets.h: Include time_members.h.
960 (time_put): Implement.
961 * include/bits/locale_facets.tcc (do_put): Put generic versions here.
962 * include/bits/localefwd.h: Bump number of facets.
963 * config/locale/time_members_generic.h: New file.
964 * config/locale/time_members_gnu.h: New file.
965 * config/locale/c_locale_generic.h: Include clocale.
966 * src/locale-inst.cc: Add use_facet instantiations for __timepunct.
967 * src/locale.cc: Add __timepunct initializations.
968 * src/localename.cc (locale::_Impl::_Impl(string, size_t)): Same.
969 * include/Makefile.am (stamp-target): Add time_members.h.
970 * include/Makefile.in: Regenerate.
971 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_H.
972 * aclocal.m4: Regenerate.
973 * configure: Regenerate.
974 * testsuite/22_locale/time_put.cc: New file.
975 * testsuite/22_locale/time_put_members_char.cc: New file.
977 * docs/html/22_locale/locale.html: Add note.
979 2001-09-17 Phil Edwards <pme@gcc.gnu.org>
981 * docs/html/configopts.html: HTML to XHTML change. Lowercase tags.
982 * docs/html/documentation.html: Likewise.
983 * docs/html/explanations.html: Likewise.
984 * docs/html/install.html: Likewise.
985 * docs/html/17_intro/howto.html: Likewise.
986 * docs/html/18_support/howto.html: Likewise.
987 * docs/html/19_diagnostics/howto.html: Likewise.
988 * docs/html/20_util/howto.html: Likewise.
989 * docs/html/21_strings/howto.html: Likewise.
990 * docs/html/22_locale/codecvt.html: Likewise.
991 * docs/html/22_locale/ctype.html: Likewise.
992 * docs/html/22_locale/howto.html: Likewise.
993 * docs/html/22_locale/locale.html: Likewise.
994 * docs/html/22_locale/messages.html: Likewise.
995 * docs/html/23_containers/howto.html: Likewise.
996 * docs/html/24_iterators/howto.html: Likewise.
997 * docs/html/25_algorithms/howto.html: Likewise.
998 * docs/html/26_numerics/howto.html: Likewise.
999 * docs/html/27_io/howto.html: Likewise.
1000 * docs/html/ext/howto.html: Likewise.
1001 * docs/html/faq/index.html: Likewise.
1002 * docs/html/faq/index.txt: Regenerated.
1004 2001-09-14 Phil Edwards <pme@sources.redhat.com>
1006 * docs/html/17_intro/headers_cc.txt: "Sync"/copy real file over.
1007 * docs/html/17_intro/howto.html: Spacing and HTML markup fixes.
1008 * docs/html/18_support/howto.html: It won't compile; it's not code.
1009 * docs/html/19_diagnostics/howto.html: Point diagram seekers to
1011 * docs/html/22_locale/howto.html: Comment for future work.
1012 * docs/html/23_containers/howto.html: More comments.
1013 * docs/html/25_algorithms/howto.html: It's a comment, not a
1014 blunt command to the reader. (English grammar.)
1016 2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
1018 * config/locale/moneypunct_members_gnu.cc: Fix initialization of
1020 * testsuite/22_locale/money_get_members_wchar_t.cc (test02): New file.
1021 * testsuite/22_locale/money_put_members_wchar_t.cc (test02): Fix.
1023 2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
1025 * include/bits/locale_facets.tcc: Conditionalize use of strtold.
1027 2001-09-13 Alexandre Petit-Bianco <apbianco@redhat.com>
1029 * testsuite/22_locale/money_get_members_char.cc: Fixed typo in comment.
1030 * testsuite/22_locale/money_put_members_char.cc: Likewise.
1031 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
1033 2001-09-13 Benjamin Kosnik <bkoz@redhat.com>
1035 Implement std::money_get.
1036 * include/bits/locale_facets.tcc (money_get::do_get): Implement.
1037 * include/bits/locale_facets.h (money_get): Correct signatures.
1038 * testsuite/22_locale/money_get.cc: New file.
1039 * testsuite/22_locale/money_get_members_char.cc: New file.
1041 * include/bits/locale_facets.tcc (__verify_grouping): New
1042 function. Consolidate num_get and money_get group checking into
1044 (money_get): Use it.
1045 * src/locale.cc (num_get::_M_extract): Use it.
1046 * src/locale-inst.cc: Add instantiation.
1048 2001-09-12 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1050 * include/bits/std_limits.h (numeric_limits<float>::radix,
1051 numeric_limits<float>::epsilon: Fix thinko.
1053 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
1055 * configure.in: Fix cross compiling math routines. Correct
1056 comments for cross compiling and limits. Add floating point math
1057 routines found in newlib.
1058 * configure: Regenerate.
1059 * acconfig.h: Add macros.
1060 * config.h.in: Regenerate.
1062 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
1064 * config/locale/moneypunct_members_generic.cc
1065 (money_base::_S_construct_pattern): Remove unused parameters.
1067 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
1069 * include/Makefile.am (stamp-target): Remove link to self.
1070 * inclulde/Makefile.in: Regenerate.
1072 2001-09-09 Benjamin Kosnik <bkoz@redhat.com>
1074 Implement std::money_put.
1075 * include/bits/locale_facets.h
1076 (moneypunct::_M_initialize_moneypunct): Split up specializations
1077 to account for _Intl. More grody hacking to get around the
1078 ill-considered use of const bool as a template parameter.
1079 * config/locale/moneypunct_members_gnu.cc: And here.
1080 * config/locale/moneypunct_members_generic.cc: And here.
1081 * testsuite/22_locale/moneypunct_members_char.cc: Add tests.
1082 * testsuite/22_locale/moneypunct.cc: Add tests.
1083 * testsuite/22_locale/money_put_members_wchar_t.cc: New file.
1084 * testsuite/22_locale/moneypunct_members_wchar_t.cc: New file.
1086 * src/locale.cc (money_base::_S_construct_pattern): Move into
1088 * config/locale/moneypunct_members_gnu.cc: Add here.
1089 * config/locale/moneypunct_members_generic.cc: Add generic version
1092 * include/bits/locale_facets.tcc (money_put::do_put): Move member
1093 function definitions here.
1094 * include/bits/locale_facets.h (money_put): Implement.
1095 * src/locale-inst.cc: Add use_facet instantiations for moneypunct.
1096 Correct money_get, money_put instantiations.
1097 * src/locale.cc (money_base::_S_construct_pattern): Handle case
1099 * testsuite/22_locale/money_put_members_char.cc: Add tests.
1101 2001-09-05 Phil Edwards <pme@sources.redhat.com>
1103 * testsuite_flags.in: No longer need to search testsuite builddir.
1104 * src/stl-inst.cc (__sink_unused_warning): Unused, remove.
1105 * Makefile.am: The testsuite directory never needs to be made here.
1106 * Makefile.in: Regenerate.
1107 * include/Makefile.in: Regenerate.
1108 * libio/Makefile.in: Regenerate.
1109 * libmath/Makefile.in: Regenerate.
1110 * libsupc++/Makefile.in: Regenerate.
1111 * po/Makefile.in: Regenerate.
1112 * src/Makefile.in: Regenerate.
1113 * testsuite/Makefile.in: Regenerate.
1115 2001-09-04 Scott Johnston <scott@accom.com>
1116 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1118 * include/backward/iterator.h: Include <bits/std_iterator.h>,
1119 remove reverse_bidirectional_iterator.
1120 * testsuite/backward: New directory.
1121 * testsuite/backward/header_iterator_h.cc: New file.
1123 2001-09-04 Benjamin Kosnik <bkoz@redhat.com>
1125 * include/c_std/bits/std_c*.h: Don't use include_next.
1127 2001-09-03 Richard Sandiford <rsandifo@redhat.com>
1129 * libsupc++/eh_personality.cc (parse_lsda_header): Change type of
1130 tmp from _Unwind_Ptr to _Unwind_Word.
1132 2001-08-31 Jason Merrill <jason_merrill@redhat.com>
1134 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Simplify
1137 2001-08-28 Loren J. Rittle <ljrittle@acm.org>
1139 * include/Makefile.am: Use toplevel_srcdir to refer to src files
1140 outside this component.
1141 * include/Makefile.in: Regenerate.
1143 2001-08-27 Benjamin Kosnik <bkoz@redhat.com>
1145 * config/locale/c_locale_gnu.cc: Move facet info to separate files...
1146 * config/locale/c_locale_generic.cc: Same.
1147 * config/locale/moneypunct_members_gnu.cc: New file.
1148 * config/locale/moneypunct_members_generic.cc: New file.
1149 * config/locale/numpunct_members_gnu.cc: New file.
1150 * config/locale/numpunct_members_generic.cc: New file.
1151 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add moneypunct, numpunct
1153 * aclocal.m4: Regenerate.
1154 * configure: Regenerate.
1155 * src/Makefile.am (sources): And here.
1156 * src/Makefile.in: Regenerate.
1158 Rename for consistency with rest of testsuite.
1159 * testsuite/22_locale/codecvt.cc: New file.
1160 * testsuite/22_locale/money_put.cc: New file.
1161 * testsuite/22_locale/money_put_members_char.cc: New file.
1163 2001-08-27 Phil Edwards <pme@sources.redhat.com>
1166 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Handle enable/disable
1167 correctly for version-specific-runtime-libs.
1168 * aclocal.m4: Regenerate.
1169 * configure: Regenerate.
1171 2001-08-24 Loren J. Rittle <ljrittle@acm.org>
1173 * config/cpu/i386/bits/limits.h (__glibcpp_long_double_bits): Only
1174 define if not already provided by per-OS file.
1175 * config/os/bsd/freebsd/bits/os_defines.h (__glibcpp_long_double_bits):
1178 2001-08-24 Jan van Male <jan.vanmale@fenk.wau.nl>
1180 * docs/html/17_intro/C++STYLE: Fix typo.
1182 2001-08-24 Phil Edwards <pme@sources.redhat.com>
1184 * docs/html/23_containers/howto.html: Describe implementation of
1185 insertion with hints.
1187 2001-08-24 Kenny Simpson <kenny.simpson@gs.com>
1190 * include/bits/std_sstream.h (basic_ostringstream): Fix ctor.
1192 2001-08-24 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
1193 Phil Edwards <pme@sources.redhat.com>
1196 * include/bits/stl_tree.h (insert_unique): Revert last change.
1197 Values inserted at begin() must be less, not greater, than *begin()'s.
1198 * testsuite/23_containers/map_insert.cc: New file.
1200 2001-08-23 Benjamin Kosnik <bkoz@redhat.com>
1202 * config/locale/c_locale_gnu.cc: Minor tweaks.
1203 (moneypunct<wchar_t>): Implement.
1204 * include/bits/locale_facets.h: Same.
1205 * testsuite/22_locale/moneypunct.cc: New file.
1206 * testsuite/22_locale/moneypunct_byname.cc: New file.
1207 * testsuite/22_locale/moneypunct_char_members.cc: New file.
1209 2001-08-23 David Edelsohn <edelsohn@gnu.org>
1211 * config/os/gnu-linux/bits/os_defines.h: Correct __s390__ definitions.
1212 Set __powerpc__ long double definition based on __LONG_DOUBLE_128__.
1214 2001-08-23 Jason Merrill <jason_merrill@redhat.com>
1216 * testsuite_flags.in (build-includes): Re-add backward.
1218 2001-08-22 Benjamin Kosnik <bkoz@redhat.com>
1220 * testsuite/22_locale/collate_wchar_t_members.cc: Guard
1221 with _GLIBCPP_USE_WCHAR_T.
1223 2001-08-21 Benjamin Kosnik <bkoz@redhat.com>
1225 * testsuite/22_locale/collate_byname.cc (test01): Fix.
1227 2001-08-18 Vladimir A Merzliakov <wanderer@rsu.ru>
1229 * include/bits/locale_facets.tcc (collate::do_transform): Add typename.
1231 2001-08-18 Benjamin Kosnik <bkoz@redhat.com>
1233 * testsuite/22_locale/operators.cc: Add test.
1235 2001-08-17 Benjamin Kosnik <bkoz@redhat.com>
1237 Implement std::collate.
1238 * config/locale/collate_specializations_gnu.cc: Add here, implement in
1240 * config/locale/collate_specializations_generic.cc: Add here, but
1241 in a less sophisticated manner.
1242 * include/bits/locale_facets.tcc (collate): Add generic definition.
1243 * include/bits/locale_facets.h (~collate): Mark virtual.
1244 (collate::_M_compare_helper): New.
1245 (collate::_M_transform_helper): New.
1246 * src/locale.cc: Remove unnecessary specializations.
1247 * src/string-inst.cc: Tweak instantiation of ctors.
1249 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Do configury for collate.
1250 * aclocal.m4: Regenerate.
1251 * configure: Regenerate.
1252 * src/Makefile.am (sources): Add collate.cc.
1253 * src/Makefile.in: Regenerate.
1255 * testsuite/22_locale/collate_byname.cc: New.
1256 * testsuite/22_locale/collate.cc: New file.
1257 * testsuite/22_locale/collate_char_members.cc: New file.
1258 * testsuite/22_locale/collate_wchar_t_members.cc: New file.
1260 2001-08-16 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1262 * configure.target: Set LIMITSH for powerpc-*-*.
1263 * config/cpu/powerpc/bits/limits.h: New file.
1265 2001-08-16 Marc Espie <espie@openbsd.org>
1267 * configure.in: Check for <sys/types.h>.
1268 * configure: Rebuild.
1269 * config.h.in: Rebuild.
1270 * libmath/mathconf.h: Include <sys/types.h> prior to
1271 <machine/endian.h> if available.
1273 2001-08-15 Andreas Schwab <schwab@suse.de>
1275 * configure.target (cpu_include_dir): Set to `config/cpu/m68k' for
1276 m68k and m680[246]0.
1277 * config/cpu/m68k/bits/atomicity.h: New file.
1279 * include/bits/std_limits.h [__glibcpp_long_double_bits == 96]:
1280 Define appropriate long double limits for m68k extended floating
1282 (__glibcpp_f32_digits10): Corrected, off by one.
1283 (__glibcpp_f80_digits10): Likewise.
1284 (__glibcpp_f128_digits10): Likewise.
1285 * config/os/gnu-linux/bits/os_defines.h
1286 (__glibcpp_long_double_bits) [__mc68000__]: Define to 96.
1288 2001-08-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1290 * testsuite/18_support/numeric_limits.cc: Add more tests.
1291 * include/bits/std_limits.h (numeric_limits<char>::max): Fix
1294 2001-08-14 Ulrich Weigand <uweigand@de.ibm.com>
1296 * configure.target (cpu_include_dir): Set to `config/cpu/s390'
1299 * config/cpu/s390/bits/atomicity.h: New.
1301 2001-08-14 Gabriel Dos Reis <gdr@codesourcery.com>
1303 * include/bits/std_limits.h: Fix thinko.
1305 2001-08-14 Benjamin Kosnik <bkoz@redhat.com>
1307 * include/Makefile.am: Consolidate target rules. Don't clean stamp
1308 files. Tweak target build directory stamp.
1309 * include/Makefile.in: Regenerate.
1311 2001-08-14 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1313 * libstdc++-v3/libmath/stubs.c: Fix PR/3988, replace
1314 _GBLICPP_HAVE_LOGL with HAVE_LOGL
1316 2001-08-13 Benjamin Kosnik <bkoz@redhat.com>
1318 * configure.in (libtool_VERSION): Add.
1319 (VERSION): Change to
1320 (release_VERSION): This.
1321 * configure: Regenerate.
1322 * src/Makefile.am (libstdc___la_LDFLAGS): Use -version-info with
1324 * src/Makefile.in: Regenerate.
1326 * intl/Makefile.am: Remove.
1327 * intl/Makefile.in: Remove.
1329 * Makefile.am (SUBDIRS): Remove intl.
1330 * po/Makefile.am (DISTFILES): Add string_literals.cc
1332 * po/string_literals.cc: Add.
1333 * po/POTFILES.in: Fix path.
1334 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't call AM_GNU_GETTEXT.
1335 * aclocal.m4: Regenerate.
1336 * configure.in: Remove AC_OUTPUT of intl/Makefile.
1338 * include/backward/backward_warning.h: Clarify message.
1340 * testsuite_flags.in (--cxxflags): Use same debug flags for
1341 library and testsuite.
1343 * include/Makefile.am (c_compatibility): Remove.
1344 * include/Makefile.in: Regenerate.
1346 2001-08-13 Mark Mitchell <mark@codesourcery.com>
1348 * configure.in (LIMITS_INC_SRCDIR): New variable.
1349 * configure.target (LIMITSH): New variable.
1350 * porting.texi: Discuss numeric limits.
1351 * config/cpu/generic/bits/limits.h: New file.
1352 * config/cpu/i386/bits/limits.h: New file.
1353 * include/Makefile.am: Install bits/limits.h.
1354 * include/bits/c++config: Include bits/limits.h.
1356 2001-08-13 H.J. Lu (hjl@gnu.org)
1358 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-copy-files):
1360 (libstdc++-v3-init ): Use it.
1362 2001-08-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1364 * include/bits/ostream.tcc (__pad_char): Change toplevel '__fmt'
1365 to '__adjust' to avoid shadowing in nested scope.
1367 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1369 * include/bits/std_limits.h(__glibcpp_char_is_signed): Use
1372 * config/os/gnu-linux/bits/os_defines.h(__glibcpp_char_is_signed):
1374 * config/os/aix/bits/os_defines.h(__glibcpp_plain_char_is_signed):
1377 2001-08-10 Loren J. Rittle <ljrittle@acm.org>
1379 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Add
1380 dummy default argument to the non-limit implementation.
1383 * include/Makefile.am: Use relative file path in rule to allow
1385 * include/Makefile.in: Rebuilt.
1387 2001-08-10 Gunter Winkler <gunter.winkler@mathematik.tu-chemnitz.de>
1389 * include/bits/std_complex.h (complex<long double>::operator*=,
1390 complex<long double>::operator/=): Fix thinko.
1392 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1394 * include/bits/std_limits.h: New file.
1395 * include/Makefile.am (bits_headers): Add std_limits.h
1396 (all-local): std_limits.h is no longer built.
1397 (${target_builddir}/std_limits.h): Remove.
1398 * include/Makefile.in: Regenerate.
1399 * src/limits.cc: New file.
1400 * src/Makefile.am (sources): Add limits.cc in replacement of
1402 * src/Makefile.in: Regenerate.
1404 2001-08-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1406 * src/gen-num-limits.cc (digits10): Fix thinko.
1408 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
1410 * po/Makefile.am (check-no): Add.
1412 * po/Makefile.in: Regenerate.
1414 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
1416 * acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
1417 * config.h.in: Regenerate.
1418 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT): Check for setrlimit
1420 * aclocal.m4: Regenerate.
1421 * configure.in: Remove duplicate AM_CONFIG_HEADER.
1422 (AM_CONFIG_HEADER): Remove testsuite/testsuite_hooks.h.
1423 Only call GLIBCPP_CHECK_SETRLIMIT for native compiles.
1424 * configure: Regenerate.
1425 * testsuite_hooks.h.in: Move to...
1426 * testsuite_hooks.h: Here, include c++config.h. Use it.
1428 * Makefile.am (SUBDIRS): Move testsuite to last directory.
1429 * Makefile.in: Regenerate.
1430 * po/Makefile.am (stamp-po): Add.
1432 2001-08-09 David Edelsohn <edelsohn@gnu.org>
1434 * config/os/aix/bits/os_defines.h: Define std_limits.h macros.
1435 * config/os/generic/bits/os_defines.h: Likewise.
1436 * config/os/gnu-linux/bits/os_defines.h: Likewise.
1437 * config/os/hpux/bits/os_defines.h: Likewise.
1438 * config/os/irix/irix6.5/bits/os_defines.h: Likewise.
1439 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
1441 2001-08-08 Benjamin Kosnik <bkoz@redhat.com>
1443 * src/Makefile.am (libstdc___la_LDFLAGS): Use -release instead of
1444 -version-info, use substituted VERSION info.
1445 * src/Makefile.in: Regenerate.
1447 2001-08-07 Benjamin Kosnik <bkoz@redhat.com>
1449 Implement std::messages.
1450 Make config a fully-nested directory.
1451 * config/locale: New directory.
1452 * config/c_locale_generic.cc: Move into locale subdirectory.
1453 * config/c_locale_generic.h: Same.
1454 * config/c_locale_gnu.cc: Same.
1455 * config/c_locale_gnu.h: Same.
1456 * config/c_locale_ieee_1003.1-200x.cc: Same.
1457 * config/c_locale_ieee_1003.1-200x_.h: Same.
1458 * config/codecvt_specializations_generic.h: Same.
1459 * config/codecvt_specializations_ieee_1003.1-200x.h: Same.
1460 * config/messages_members_gnu.h: Same.
1461 * config/messaages_members_gnu.cc: Same.
1462 * config/messages_members_generic.h: Same.
1463 * config/messaages_members_generic.cc: Same.
1464 * config/messages_members_ieee_1003.1-200x.h: Same.
1465 * config/messaages_members_ieee_1003.1-200x.cc: Same.
1466 * config/io: New directory.
1467 * config/basic_file_libio.h: Move into io subdirectory.
1468 * config/basic_file_libio.cc: Same.
1469 * config/c_io_libio.h: Same.
1470 * config/c_io_libio_codecvt.c: Same.
1471 * config/basic_file_stdio.h: Same.
1472 * config/basic_file_stdio.cc: Same.
1473 * config/c_io_stdio.h: Same.
1475 * po: New directory.
1476 * po/POTFILES.in: New file.
1477 * po/Makefile.am: New file.
1478 * po/Makefile.in: New file.
1479 * po/libstdc++.pot: Generic translation file.
1480 * po/fr.po: Preliminary French translation.
1481 * po/de.po: Preliminary German translation.
1482 * intl: New directory.
1483 * intl/Makefile.am: New file.
1484 * intl/Makefile.in: New file.
1485 * intl/string_literals.cc: New file.
1486 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump VERSION to 3.1.0. Add
1487 requisite setup for gettext. Re-arrange.
1488 * aclocal.m4: Regenerate.
1489 * configure.in: Don't call GLIBCPP_CHECK_COMPILER_VERSION.
1490 Output Makefile bits for po and intl.
1491 * configure: Regenerate.
1492 * Makefile.am (SUBDIRS): Add intl, po. Add rule for dist.
1493 * Makefile.in: Regenerate.
1494 * acconfig.h: Add ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY.
1495 * config.h.in: Regenerate.
1497 * acinclude.m4 (AC_REPLACE_STRINGFUNCS): Remove.
1499 * include/Makefile.am (install-data-local): Don't install Makefile.
1500 * include/Makefile.in: Regenerate.
1502 * include/bits/locale_facet.h (locale::facet::_S_clone_c_locale):
1504 * config/locale/c_locale_gnu.cc (_S_clone_c_locale): Add definition.
1505 * config/locale/c_locale_generic.cc: Same.
1506 * config/locale/c_locale_ieee_1003.1-200x.cc: Same.
1508 * include/bits/codecvt.h: Excise non-standard, non-required
1509 bits. This includes __enc_traits, and partial specializations of
1510 codecvt for __enc_traits.
1511 * src/codecvt.cc (__enc_traits::_S_max_size): Guard
1512 * config/codecvt_partials_ieee_1003.1-200x.h: New file.
1513 * config/codecvt_partials_generic.h: New file.
1514 * include/Makefile.am (allstamps): Add stamp-codecvt_model.
1515 (stamp-codecvt_model): Add.
1516 * include/Makefile.in: Regenerate.
1517 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in codecvt configury.
1518 * aclocal.m4: Regenerate.
1519 * configure: Regenerate.
1520 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Use macro guard.
1521 * testsuite/22_locale/codecvt_unicode_char.cc: Same.
1522 * testsuite/22_locale/ctor_copy_dtor.cc: And here.
1524 * include/bits/localefwd.h (class locale::facet): Add __enc_traits
1525 as a friend for _S_*_c_locale functions.
1526 * include/bits/codecvt.h (__enc_traits::__enc_traits): Add locale
1527 argument to default constructor so that CODESET information can be
1529 * include/bits/locale_facets.h (messages_byname):
1530 Re-implement. Remove specializations.
1531 * src/locale.cc (messages_byname<char>): Remove specialization.
1532 (messages_byname<wchar_t>): Same.
1533 * config/locale/c_locale_ieee_1003.1-200x.cc: New file.
1534 * config/locale/c_locale_ieee_1003.1-200x.h: New file.
1535 * config/locale/messages_members_ieee_1003.1-200x.cc: New file.
1536 * config/locale/messages_members_ieee_1003.1-200x.h: New file.
1537 * config/locale/messages_members_gnu.cc: New file.
1538 * config/locale/messages_members_gnu.h: New file.
1539 * config/locale/messages_members_generic.cc: New file.
1540 * config/locale/messages_members_generic.h: New file.
1542 * docs/html/configopts.html: Add documentation for new locale
1543 model, ieee_1003.1. Adjust other flags for current defaults.
1544 * docs/html/22_locale/locale.html: Update.
1545 * docs/html/22_locale/howto.html: Add link to messages.html. Organize.
1546 * docs/html/22_locale/messages.html: New.
1548 * src/Makefile.am (sources): Add messages_virtuals.cc.
1549 * src/Makefile.in: Regenerate.
1550 * include/Makefile.am (allstamps): Add stamp-messages_model.
1551 (stamp-messages_model): Add.
1552 * include/Makefile.in: Regenerate.
1553 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in messages configury.
1554 * aclocal.m4: Regenerate.
1555 * configure: Regenerate.
1557 * testsuite_flags.in (--cxxflags): Add LOCALEDIR.
1558 * testsuite/lib/libstdc++-v3-dg.exp: Remove broken LD_LIBRARY_PATH
1560 * acinclude (GLIBCPP_ENABLE_CLOCALE): Set glibcpp_localedir to the
1561 build directories message catalog base directory, and export.
1562 Eventually this should probably be made to deal with build and
1563 install directories. For now, punt on this as the library itself
1564 doesn't use message catalogs (yet).
1565 * testsuite/22_locale/messages.cc: New file.
1566 * testsuite/22_locale/messages_char_members.cc: New file.
1567 * testsuite/22_locale/messages_byname.cc: New file.
1569 2001-08-06 Phil Edwards <pme@sources.redhat.com>
1571 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls...
1572 (GLIBCPP_CHECK_SETRLIMIT): ...this new macro, which also uses...
1573 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): ...this new macro.
1574 * configure.in (AM_CONFIG_HEADER): Also generate testsuite_hooks.h.
1575 Call GLIBCPP_CONFIGURE_TESTSUITE.
1576 * aclocal.m4: Regenerate.
1577 * config.h.in: Regenerate.
1578 * configure: Regenerate.
1580 * testsuite/lib/libstdc++-v3-dg.exp: Download new header instead
1583 * testsuite_flags.in: Add build dir's testsuite to INCLUDES.
1584 * testsuite/debug_assert.h: Removed; contents merged into...
1585 * testsuite/testsuite_hooks.h.in: ...here. New file.
1586 * testsuite/17_intro/header_ciso646.cc: No longer include
1587 debug_assert.h, include testsuite_hooks.h instead.
1588 * testsuite/17_intro/header_fstream.cc: Likewise.
1589 * testsuite/17_intro/header_iomanip.cc: Likewise.
1590 * testsuite/17_intro/header_ios.cc: Likewise.
1591 * testsuite/17_intro/header_iosfwd.cc: Likewise.
1592 * testsuite/17_intro/header_iostream.cc: Likewise.
1593 * testsuite/17_intro/header_istream.cc: Likewise.
1594 * testsuite/17_intro/header_ostream.cc: Likewise.
1595 * testsuite/17_intro/header_sstream.cc: Likewise.
1596 * testsuite/17_intro/header_streambuf.cc: Likewise.
1597 * testsuite/18_support/numeric_limits.cc: Likewise.
1598 * testsuite/19_diagnostics/stdexceptions.cc: Likewise.
1599 * testsuite/20_util/allocator_members.cc: Likewise.
1600 * testsuite/20_util/auto_ptr.cc: Likewise.
1601 * testsuite/20_util/pairs.cc: Likewise.
1602 * testsuite/21_strings/append.cc: Likewise.
1603 * testsuite/21_strings/capacity.cc: Likewise.
1604 * testsuite/21_strings/char_traits_requirements.cc: Likewise.
1605 * testsuite/21_strings/compare.cc: Likewise.
1606 * testsuite/21_strings/ctor_copy_dtor.cc: Likewise. Also set up
1607 call to (disabled) __set_testsuite_memlimit() wrapper.
1608 * testsuite/21_strings/element_access.cc: Likewise.
1609 * testsuite/21_strings/find.cc: Likewise.
1610 * testsuite/21_strings/insert.cc: Likewise. Also set up call to
1611 (disabled) __set_testsuite_memlimit() wrapper.
1612 * testsuite/21_strings/inserters_extractors.cc: Likewise.
1613 * testsuite/21_strings/invariants.cc: Likewise.
1614 * testsuite/21_strings/nonmember.cc: Likewise.
1615 * testsuite/21_strings/operations.cc: Likewise.
1616 * testsuite/21_strings/replace.cc: Likewise.
1617 * testsuite/21_strings/rfind.cc: Likewise.
1618 * testsuite/21_strings/substr.cc: Likewise.
1619 * testsuite/22_locale/codecvt_char_char.cc: Likewise.
1620 * testsuite/22_locale/codecvt_unicode_char.cc: Likewise.
1621 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Likewise.
1622 * testsuite/22_locale/codecvt_wchar_t_char.cc: Likewise.
1623 * testsuite/22_locale/ctor_copy_dtor.cc: Likewise.
1624 * testsuite/22_locale/ctype_char_members.cc: Likewise.
1625 * testsuite/22_locale/ctype_wchar_t_members.cc: Likewise.
1626 * testsuite/22_locale/facet.cc: Likewise.
1627 * testsuite/22_locale/global_templates.cc: Likewise.
1628 * testsuite/22_locale/members.cc: Likewise.
1629 * testsuite/22_locale/numpunct_byname.cc: Likewise.
1630 * testsuite/22_locale/numpunct_char_members.cc: Likewise.
1631 * testsuite/22_locale/operators.cc: Likewise.
1632 * testsuite/22_locale/static_members.cc: Likewise.
1633 * testsuite/23_containers/bitset_ctor.cc: Likewise.
1634 * testsuite/23_containers/bitset_members.cc: Likewise.
1635 * testsuite/23_containers/bitset_shift.cc: Likewise.
1636 * testsuite/23_containers/vector_capacity.cc: Likewise.
1637 * testsuite/23_containers/vector_ctor.cc: Likewise.
1638 * testsuite/23_containers/vector_element_access.cc: Likewise.
1639 * testsuite/23_containers/vector_modifiers.cc: Likewise.
1640 * testsuite/24_iterators/istreambuf_iterator.cc: Likewise.
1641 * testsuite/24_iterators/iterator.cc: Likewise.
1642 * testsuite/24_iterators/ostreambuf_iterator.cc: Likewise.
1643 * testsuite/25_algorithms/binary_search.cc: Likewise.
1644 * testsuite/25_algorithms/copy.cc: Likewise.
1645 * testsuite/25_algorithms/heap.cc: Likewise.
1646 * testsuite/25_algorithms/lower_bound.cc: Likewise.
1647 * testsuite/25_algorithms/min_max.cc: Likewise.
1648 * testsuite/25_algorithms/partition.cc: Likewise.
1649 * testsuite/25_algorithms/rotate.cc: Likewise.
1650 * testsuite/25_algorithms/sort.cc: Likewise.
1651 * testsuite/26_numerics/c_math.cc: Likewise.
1652 * testsuite/26_numerics/complex_inserters_extractors.cc: Likewise.
1653 * testsuite/26_numerics/complex_value.cc: Likewise.
1654 * testsuite/27_io/filebuf.cc: Likewise.
1655 * testsuite/27_io/filebuf_members.cc: Likewise.
1656 * testsuite/27_io/filebuf_virtuals.cc: Likewise.
1657 * testsuite/27_io/fpos.cc: Likewise.
1658 * testsuite/27_io/fstream_members.cc: Likewise.
1659 * testsuite/27_io/ifstream_members.cc: Likewise.
1660 * testsuite/27_io/ios_base_callbacks.cc: Likewise.
1661 * testsuite/27_io/ios_base_members_static.cc: Likewise.
1662 * testsuite/27_io/ios_base_storage.cc: Likewise.
1663 * testsuite/27_io/ios_ctor.cc: Likewise.
1664 * testsuite/27_io/ios_init.cc: Likewise.
1665 * testsuite/27_io/ios_manip_basefield.cc: Likewise.
1666 * testsuite/27_io/ios_manip_fmtflags.cc: Likewise.
1667 * testsuite/27_io/ios_members.cc: Likewise.
1668 * testsuite/27_io/istream_extractor_arith.cc: Likewise.
1669 * testsuite/27_io/istream_extractor_char.cc: Likewise.
1670 * testsuite/27_io/istream_extractor_other.cc: Likewise.
1671 * testsuite/27_io/istream_manip.cc: Likewise.
1672 * testsuite/27_io/istream_seeks.cc: Likewise.
1673 * testsuite/27_io/istream_sentry.cc: Likewise.
1674 * testsuite/27_io/istream_unformatted.cc: Likewise.
1675 * testsuite/27_io/istringstream_members.cc: Likewise.
1676 * testsuite/27_io/narrow_stream_objects.cc: Likewise.
1677 * testsuite/27_io/ofstream_members.cc: Likewise.
1678 * testsuite/27_io/ostream_inserter_arith.cc: Likewise.
1679 * testsuite/27_io/ostream_inserter_char.cc: Likewise.
1680 * testsuite/27_io/ostream_inserter_other.cc: Likewise.
1681 * testsuite/27_io/ostream_manip.cc: Likewise.
1682 * testsuite/27_io/ostream_seeks.cc: Likewise.
1683 * testsuite/27_io/ostream_unformatted.cc: Likewise.
1684 * testsuite/27_io/ostringstream_members.cc: Likewise.
1685 * testsuite/27_io/streambuf.cc: Likewise.
1686 * testsuite/27_io/stringbuf.cc: Likewise.
1687 * testsuite/27_io/stringbuf_virtuals.cc: Likewise.
1688 * testsuite/27_io/stringstream.cc: Likewise.
1689 * testsuite/27_io/stringstream_members.cc: Likewise.
1690 * testsuite/27_io/wide_stream_objects.cc: Likewise.
1692 2001-07-31 Loren J. Rittle <ljrittle@acm.org>
1694 * src/gen-num-limits.cc: Use __LONG_LONG_MAX__.
1696 2001-07-30 Benjamin Kosnik <bkoz@redhat.com>
1698 * configure.target: Remove mips from cpu table.
1699 * config/cpu/mips/bits/atomicity.h: Remove generic
1700 versions. Comment sgidefs include.
1702 2001-07-25 H.J. Lu <hjl@gnu.org>
1704 * configure.target (cpu_include_dir): Set to `config/cpu/mips'
1707 * config/cpu/mips/bits/atomicity.h: New.
1709 2001-07-25 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1711 * acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf,
1712 hypotl, atan2f, atan2l. Remove from REPLACE_MATHFUNCS list.
1713 * aclocal.m4: Regenerate.
1714 * config.h.in: Likewise.
1715 * configure: Likewise.
1716 * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove hypotl.c
1717 (EXTRA_DIST): Remove hypot.c hypotf.c.
1718 * libmath/Makefile.am: Regenerate.
1719 * libmath/hypotf.c: Remove.
1720 * libmath/hypot.c: Likewise.
1721 * libmath/hypotl.c: Likewise.
1722 * libmath/stubs.c: The macros seen here are HAVE_xxx, not
1723 _GLIBCPP_HAVE_xxx. Add long double versions.
1725 2001-07-23 David Edelsohn <edelsohn@gnu.org>
1727 * include/bits/limits_generic.h (int): Set digits and digits10
1728 appropriately for word size.
1729 (unsigned int,long,unsigned long): Likewise.
1731 2001-07-19 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1733 * include/bits/stl_algo.h : Fix typos.
1734 * testsuite/25_algorithms/unique.cc: New file.
1736 2001-07-19 Phil Edwards <pme@sources.redhat.com>
1737 Mark Mitchell <mark@codesourcery.com>
1739 Merge from cp-parser-branch.
1740 * include/bits/basic_string.h: Qualify symbols with 'template'.
1741 * include/bits/basic_string.tcc: Likewise.
1742 * include/bits/fstream.tcc: Likewise.
1743 * include/bits/istream.tcc: Likewise.
1744 * include/bits/sstream.tcc: Likewise.
1745 * include/bits/std_istream.h: Likewise.
1746 * include/bits/stl_iterator.h: Likewise.
1747 * include/bits/streambuf.tcc: Likewise.
1748 * src/gen-num-limits.cc: Add 'template<>' to specializations.
1749 * src/locale.cc: Likewise.
1751 2001-07-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1752 Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
1754 * src/gen-num-limits.cc (set_signals_handler): New function.
1755 Factor out signals setting. Set signal handler for SIGILL.
1757 2001-07-18 Phil Edwards <pme@sources.redhat.com>
1759 * docs/html/27_io/howto.html: Fix typo.
1760 * docs/html/faq/index.html: Minor updates for 3.0 all around.
1761 * docs/html/faq/index.txt: Regenerated.
1763 2001-07-18 Stephen M. Webb <stephen@bregmasoft..com>
1764 Roman Sulzhyk <roman_sulzhyk@yahoo.com>
1767 * include/bits/ostream.tcc (ostream::put): Fixed error condition check.
1768 * testsuite/27_io/streambuf.cc (test07): Added new regression test.
1770 2001-07-17 Stephen M. Webb <stephen@bregmasoft.com>r
1772 All occurrences of the __value_type() and __distance_type()
1773 functions, which were required to support the HP STL, have been
1774 removed along with all the auxiliary forwarding functions that
1775 were required to support their use.
1777 The __iterator_category() function was pretty much left alone
1778 because there was no benefit to removing it and its use made code
1779 just a little more readable.
1781 Incidences of distance() with nonstandard argument list were
1782 replaced by calls to the standard function (only in the files
1783 affected by the removal of the other HP functions).
1785 The signature of the rotate() algorithm was changed to match the
1788 Headers were reformatted under C++STYLE guidelines (indentation,
1789 linebreaks, typename keyword).
1791 * include/bits/stl_algo.h: replaced __value_type() and
1792 __distance_type() with iterator_traits, eliminated auxiliary
1793 support functions required to support said function usage.
1794 Changed nonstandard distance() call to standard call.
1796 * include/bits/stl_algobase.h: Same.
1797 * include/bits/stl_heap.h: Same.
1798 * include/bits/stl_numeric.h: Same.
1799 * include/bits/stl_uninitialized.h: Same.
1800 * include/bits/stl_iterator_base_types.h (__value_type()):
1802 (__distance_type()): Removed.
1803 (value_type()): Gone.
1804 (distance_type()): Done in.
1805 (iterator_category()): Hasta la vista, baby.
1807 * include/bits/stl_iterator_base_funcs.h (iterator_category()):
1808 Replaced with __iterator_category().
1809 * include/backward/iterator.h: moved definition of value_type(),
1810 distance_type(), and iterator_category() out of std:: and into
1812 * testsuite/23_containers/vector_ctor.cc (test03): New testcases.
1813 * testsuite/23_containers/vector_modifiers.cc (test03): New testcases.
1814 * testsuite/25_algorithms/rotate.cc: New testcase.
1815 * testsuite/25_algorithms/copy.cc: New testcase.
1816 * testsuite/25_algorithms/sort.cc: Same.
1817 * testsuite/25_algorithms/heap.cc: Same.
1818 * testsuite/25_algorithms/partition.cc: Same.
1819 * testsuite/25_algorithms/binary_search.cc: Same.
1820 * testsuite/26_numerics/sum_diff.cc: Ditto.
1822 001-07-17 Benjamin Kosnik <bkoz@redhat.com>
1824 * testsuite/README: Add notes on naming test cases.
1825 * testsuite/22_locale/members.cc: Mark as xfail.
1826 * testsuite/22_locale/numpunct_char_members.cc: Same.
1828 2001-07-16 Stephen M. Webb <stephen@bregmasoft.com>
1830 * acinclude.m4 (GLIBCPP_ENABLE_CHEADERS): Use glibcpp_srcdir when
1831 setting C_INCLUDE_DIR.
1832 * configure.in: Revert yesterday's LN_S change.
1833 * aclocal.m4: Regenerate.
1834 * configure: Regenerate.
1836 2001-07-15 Phil Edwards <pme@sources.redhat.com>
1838 * configure.in: Temporarily force LN_S to copy instead of symlink.
1839 * configure: Regenerate.
1841 2001-07-13 Phil Edwards <pme@sources.redhat.com>
1843 * include/bits/std_sstream.h (basic_stringbuf::basic_stringbuf(string):
1844 Initialize _M_string with pointer-and-size constructor, not just
1845 pointer. Fix some comments.
1846 * testsuite/21_strings/ctor_copy_dtor.cc (test03): New test.
1847 * testsuite/27_io/stringbuf.cc (test02): Remove unused variable.
1848 (test03): Add embedded-NUL tests.
1850 * mkcheck.in: When printing totals, match the order of the tests.
1851 * include/bits/stringfwd.h: Use same declaration keywords.
1852 * include/bits/std_iosfwd.h: Cosmetic spacing.
1854 2001-07-13 Stephen M. Webb <stephen@bregmasoft.com>
1855 Loren J. Rittle <ljrittle@acm.org>
1856 Phil Edwards <pme@sources.redhat.com>
1858 * include/Makefile.am: New file encapsulating header generation rules.
1859 * Makefile.am (SUBDIRS): Prepend 'include' directory.
1860 * acinclude.m4: Moved/removed rules for building various headers.
1861 * configure.in (AC_OUTPUT): Add include/Makefile.
1862 * mkc++config: Removed.
1864 * testsuite_flags.in: Changed build-includes to match new scheme.
1865 * mknumeric_limits: Likewise.
1866 * libio/Makefile.am: Changed INCLUDES to maatch new header scheme.
1867 * libmath/Makefile.am: Likewise.
1868 * libsupc++/Makefile.am: Likewise.
1869 * src/Makefile.am: Likewise; removed rules to build headers.
1870 * libmath/mathconf.h: Changed #include'd header names to match.
1871 * libmath/stubs.c: Likewise.
1872 * src/gen-num-limits.cc: Likewise.
1874 * configure: Regenerated.
1875 * config.h.in: Regenerated.
1876 * aclocal.m4: Regenerated.
1877 * Makefile.in: Regenerated.
1878 * include/Makefile.in: Regenerated.
1879 * libio/Makefile.in: Regenerated.
1880 * libmath/Makefile.in: Regenerated.
1881 * libsupc++/Makefile.in: Regenerated.
1882 * src/Makefile.in: Regenerated.
1883 * testsuite/Makefile.in: Regenerated.
1885 2001-07-11 Felix Natter <fnatter@gmx.net>
1887 * docs/html/17_intro/porting-howto.xml: Initial checkin of
1889 * docs/html/17_intro/porting-howto.html: check in v0.9.3
1891 2001-07-11 Phil Edwards <pme@sources.redhat.com>
1893 * docs/doxygen/run_doxygen: Don't keep output from previous run.
1894 * docs/doxygen/user.cfg.in: Tweaks.
1895 * include/bits/c++config: Documentation comments for Doxygen.
1896 * include/bits/char_traits.h: Likewise.
1897 * include/bits/limits_generic.h: Likewise.
1898 * include/bits/std_stdexcept.h: Likewise.
1899 * include/bits/stl_pair.h: Likewise.
1900 * libsupc++/exception: Likewise.
1901 * libsupc++/new: Likewise.
1902 * libsupc++/typeinfo: Likewise.
1903 * libmath/Makefile.am: Update and correct copyright.
1905 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1907 * acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
1908 * aclocal.m4: Regenerate.
1911 2001-07-09 Phil Edwards <pme@sources.redhat.com>
1913 * docs/html/configopts.html: Fix thinko.
1914 * docs/html/27_io/howto.html: Fix thinko and HTML markup.
1915 * include/bits/stl_iterator.h: Fix typo.
1917 2001-07-09 Phil Edwards <pme@sources.redhat.com>
1919 * docs/html/explanations.html: New file.
1920 * docs/html/configopts.html: Link to it to provide more notes
1921 on cstdio. Minor markup and spacing fixes.
1922 * docs/html/27_io/howto.html: Talk about sync_with_stdio.
1924 2001-07-09 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
1926 * include/bits/valarray_meta.h (_Expr::operator+): Use qualified id
1927 for _Expr template template argument.
1928 (_Expr::operator-): Likewise.
1929 (_Expr::operator~): Likewise.
1930 (_Expr::operator!): Likewise.
1931 (_DEFINE_EXPR_UNARY_OPERATOR): Likewise.
1933 2001-07-06 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1935 * libmath/Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.c
1936 * libmath/Makefile.in: Regenerate.
1937 * libmath/expf.c: Remove.
1938 * libmath/atan2f.c: Likewise.
1940 2001-07-06 Daniel Jacobowitz <drow@mvista.com>
1942 * configure.in: Remove NATIVE, NULL_TARGET.
1943 Set CANADIAN only for Canadian crosses. Set xcompiling
1944 for both Canadian crosses and host-x-host crosses.
1945 * configure: Regenerated.
1947 2001-07-06 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1949 * include/bits/stl_vector.h (vector::_M_initialize_aux): Fix typo.
1951 2001-07-05 Jason Merrill <jason_merrill@redhat.com>
1953 * testsuite_flags.in (--build-includes): backward, not backwards.
1955 2001-07-04 Jeffrey Oldham <oldham@codesourcery.com>
1957 * include/ext/ropeimpl.h (_Rope_RopeRep::_M_free_c_string):
1958 Replace destroy by _Destroy.
1959 (_Rope_RopeRep::_S_free_string): Likewise.
1960 (rope::c_str()): Likewise.
1961 * include/ext/slist (_Slist_base::_M_erase_after>): Likewise.
1962 (_Slist_base::_M_erase_after): Likewise.
1963 (slist::_M_create_node): Replace construct by _Construct.
1964 (slist::pop_front): Replace destroy by _Destroy.
1965 * include/ext/stl_hashtable.h (hashtable::_M_new_node): Replace
1966 construct by _Construct.
1967 (hashtable::_M_delete_node): Replace destroy by _Destroy.
1968 * include/ext/stl_rope.h (rope::rope): Replace construct by
1970 (rope::copy): Replace destroy by _Destroy.
1972 2001-07-03 Benjamin Kosnik <bkoz@redhat.com>
1974 * include/bits/localefwd.h: Format.
1975 * include/bits/locale_facts.tcc (locale::combine): Adjust.
1976 * src/locale.cc (locale::locale::(_Impl)): Don't call
1978 (locale::facet::_M_remove_reference): Simplify.
1979 * src/globals.cc (locale_impl_c): New. Format.
1981 * src/ios.cc (ios_base::Init::Init): Increment _S_ios_base_init last.
1983 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
1985 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
1986 expansion (thanks to Alexandre Oliva).
1987 * aclocal.m4: Regenerate.
1988 * configure: Regenerate.
1990 2001-07-02 Benjamin Kosnik <bkoz@redhat.com>
1992 * src/locale.cc (locale::locale(const char*)): Make sure global
1993 locales are initialized.
1994 * include/bits/locale_facets.tcc (locale::combine): Refcout should
1995 be zero, not one as it's return-by-value.
1996 * testsuite/27_io/ios_base_callbacks.cc (test01): Don't check for
1998 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Instead, check
2001 * libsupc++/eh_alloc.cc: Use climits, not limits.h.
2003 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
2006 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
2007 * aclocal.m4: Regenerate.
2008 * configure: Regenerate.
2010 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
2013 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to
2014 staged/installed area to support -I-. Document.
2015 * aclocal.m4: Regenerate.
2016 * configure: Regenerate.
2018 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
2021 * src/ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to
2022 __out_bufsize. Add __in_bufsize, document it and use it.
2024 2001-07-01 Stephen M. Webb <stephen@bregmasoft.com>
2026 * include/bits/stl_construct.h (construct): Remove.
2028 (__destroy): Replaced by use of iterator_traits.
2029 * include/bits/stl_deque.h: replaced HP iterator functions with
2031 (construct): changed to _Construct.
2032 (destroy): changed to _Destroy.
2033 * include/bits/stl_tempbuf.h: Same.
2034 * include/bits/stl_tree.h: Same.
2035 * include/bits/stl_vector.h: Same.
2036 * include/backward/iterator.h (construct): moved definition to here.
2039 2001-06-29 Benjamin Kosnik <bkoz@redhat.com>
2041 * include/bits/locale_facets.tcc (locale::combine): Clone _Impl.
2042 before replacing facet.
2043 * include/bits/localefwd.h (locale::_Impl::_M_remove_reference):
2045 * src/localename.cc (locale::_Impl): Correct ctor initialization
2046 lists. Initialize ref count with one. Simplify.
2047 * src/locale.cc: Add comment.
2048 * testsuite/22_locale/numpunct.cc (test01): Add derivation test.
2049 * testsuite/22_locale/numpunct_char_members.cc (test01): Add tests.
2050 * testsuite/22_locale/members.cc (test02): Fix.
2052 2001-06-27 Phil Edwards <pme@sources.redhat.com>
2054 * include/backward/algo.h: Add "GPL plus runtime exception" comment
2055 block, this time for real.
2056 * include/backward/algobase.h: Likewise.
2057 * include/backward/alloc.h: Likewise.
2058 * include/backward/bvector.h: Likewise.
2059 * include/backward/defalloc.h: Likewise.
2060 * include/backward/deque.h: Likewise.
2061 * include/backward/function.h: Likewise.
2062 * include/backward/hash_map.h: Likewise.
2063 * include/backward/hash_set.h: Likewise.
2064 * include/backward/hashtable.h: Likewise.
2065 * include/backward/heap.h: Likewise.
2066 * include/backward/iterator.h: Likewise.
2067 * include/backward/list.h: Likewise.
2068 * include/backward/map.h: Likewise.
2069 * include/backward/multimap.h: Likewise.
2070 * include/backward/multiset.h: Likewise.
2071 * include/backward/pair.h: Likewise.
2072 * include/backward/rope.h: Likewise.
2073 * include/backward/set.h: Likewise.
2074 * include/backward/slist.h: Likewise.
2075 * include/backward/stack.h: Likewise.
2076 * include/backward/strstream: Likewise.
2077 * include/backward/tempbuf.h: Likewise.
2078 * include/backward/tree.h: Likewise.
2079 * include/backward/vector.h: Likewise.
2080 * include/bits/pthread_allocimpl.h: Likewise.
2081 * include/bits/std_algorithm.h: Likewise.
2082 * include/bits/std_bitset.h: Likewise.
2083 * include/bits/std_deque.h: Likewise.
2084 * include/bits/std_functional.h: Likewise.
2085 * include/bits/std_iterator.h: Likewise.
2086 * include/bits/std_list.h: Likewise.
2087 * include/bits/std_map.h: Likewise.
2088 * include/bits/std_memory.h: Likewise.
2089 * include/bits/std_numeric.h: Likewise.
2090 * include/bits/std_queue.h: Likewise.
2091 * include/bits/std_set.h: Likewise.
2092 * include/bits/std_stack.h: Likewise.
2093 * include/bits/std_utility.h: Likewise.
2094 * include/bits/std_vector.h: Likewise.
2095 * include/bits/stl_algo.h: Likewise.
2096 * include/bits/stl_algobase.h: Likewise.
2097 * include/bits/stl_alloc.h: Likewise.
2098 * include/bits/stl_bvector.h: Likewise.
2099 * include/bits/stl_construct.h: Likewise.
2100 * include/bits/stl_deque.h: Likewise.
2101 * include/bits/stl_function.h: Likewise.
2102 * include/bits/stl_heap.h: Likewise.
2103 * include/bits/stl_iterator.h: Likewise.
2104 * include/bits/stl_iterator_base_funcs.h: Likewise.
2105 * include/bits/stl_iterator_base_types.h: Likewise.
2106 * include/bits/stl_list.h: Likewise.
2107 * include/bits/stl_map.h: Likewise.
2108 * include/bits/stl_multimap.h: Likewise.
2109 * include/bits/stl_multiset.h: Likewise.
2110 * include/bits/stl_numeric.h: Likewise.
2111 * include/bits/stl_pair.h: Likewise.
2112 * include/bits/stl_pthread_alloc.h: Likewise.
2113 * include/bits/stl_queue.h: Likewise.
2114 * include/bits/stl_raw_storage_iter.h: Likewise.
2115 * include/bits/stl_relops.h: Likewise.
2116 * include/bits/stl_set.h: Likewise.
2117 * include/bits/stl_stack.h: Likewise.
2118 * include/bits/stl_tempbuf.h: Likewise.
2119 * include/bits/stl_threads.h: Likewise.
2120 * include/bits/stl_tree.h: Likewise.
2121 * include/bits/stl_uninitialized.h: Likewise.
2122 * include/bits/stl_vector.h: Likewise.
2123 * include/bits/type_traits.h: Likewise.
2124 * include/ext/hash_map: Likewise.
2125 * include/ext/hash_set: Likewise.
2126 * include/ext/rope: Likewise.
2127 * include/ext/ropeimpl.h: Likewise.
2128 * include/ext/slist: Likewise.
2129 * include/ext/stl_hash_fun.h: Likewise.
2130 * include/ext/stl_hashtable.h: Likewise.
2131 * include/ext/stl_rope.h: Likewise.
2132 * src/bitset.cc: Likewise.
2133 * src/strstream.cc: Likewise.
2135 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2136 <vakatov@ncbi.nlm.nih.gov>
2139 * include/bits/streambuf.tcc (__copy_streambufs): Don't set eofbit.
2140 * testsuite/27_io/ostream_inserter_other.cc (test04): Add test.
2141 * testsuite/27_io/istream_extractor_other.cc: Fix.
2143 2001-06-26 Zoltan Hidvegi <hzoli@austin.ibm.com>
2145 * acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
2146 * aclocal.m4: Regenerate.
2147 * configure: Regenerate.
2149 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2151 * include/bits/stream_iterator.h (istream_iterator): Add copy ctor.
2152 (ostream_iterator): Same.
2153 * include/bits/stl_iterator.h (front_insert_iterator::operator=):
2154 Change argument to const_reference.
2155 (back_insert_iterator): Same.
2157 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2159 * include/bits/sbuf_iter.h: Change to..
2160 * include/bits/streambuf_iterator.h: This.
2161 * include/bits/stl_iterator.h: Take out of here...
2162 * include/bits/stream_iterator.h: Add.
2163 * src/Makefile.am (base_headers): Add streambuf_iterator,
2165 * src/Makefile.in: Regenerate.
2166 * include/bits/std_string.h: Adjust includes.
2167 * include/bits/basic_ios.h: Same.
2168 * include/bits/locale_facets.tcc: Same.
2169 * include/bits/std_iosfwd.h: Same.
2171 * include/bits/std_iterator.h: Add istream, ostream includes.
2172 * include/bits/stl_iterator.h: Tweak.
2173 * testsuite/24_iterators/ostream_iterator.cc: Add test.
2174 * testsuite/24_iterators/istream_iterator.cc: Same.
2175 * testsuite/23_containers/multiset.cc: Add iterator include.
2177 2001-06-26 Phil Edwards <pme@sources.redhat.com>
2179 * acinclude.m4: Clean extraneous tabs, rewrap 'test' lines.
2180 * aclocal.m4: Regenerate.
2181 * configure: Regenerate.
2183 2001-06-26 Felix Natter <f.natter@ndh.net>
2185 * docs/html/17_intro/porting-howto.html: Fixed some errors.
2187 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2189 * include/bits/stl_iterator.h (istream_iterator::operator->): Fix
2191 (istream_iterator::operator*): Same.
2193 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2194 Alexandre Petit-Bianco <apbianco@redhat.com>
2196 * testsuite/21_strings/element_access.cc (test01): Chill Out Cafe
2197 is on 41st, not 14th.
2199 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2201 * include/bits/std_iterator.h: Include sbuf_iter.h via std_ios.h.
2203 * include/bits/stl_iterator.h (istream_iterator): Inherit from
2205 (ostream_iterator): Same.
2206 * testsuite/24_iterators/istream_iterator.cc: New file.
2207 * testsuite/24_iterators/ostream_iterator.cc: New file.
2209 * include/bits/sbuf_iter.h: Remove self typedef.
2210 * testsuite/24_iterators/ostreambuf_iterator.cc: Add test.
2211 * testsuite/24_iterators/istreambuf_iterator.cc: Add test.
2213 * include/bits/stl_iterator.h (reverse_iterator): Remove
2214 extraneous typedefs. Add typename.
2215 (__normal_iterator): Remove typedefs referring to self. Add typename.
2216 (reverse_bidiretional_iterator): Remove, not longer required.
2218 2001-06-26 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2220 * include/bits/stl_iterator.h (__normal_iterator<>): Qualify
2221 dependent names with `typename'. Bring in various required
2222 iterator_traits members. Can't imagine why that used to work.
2224 2001-06-25 Phil Edwards <pme@sources.redhat.com>
2225 Kurt Garloff <garloff@suse.de>
2228 * src/cmath.cc: New [version of an old] file; instantiate
2229 __cmath_power to start with.
2230 * src/Makefile.am (sources): Add cmath.cc (and alphabetize).
2231 * Makefile.in: Regenerate.
2232 * libio/Makefile.in: Regenerate.
2233 * libmath/Makefile.in: Regenerate.
2234 * libsupc++/Makefile.in: Regenerate.
2235 * src/Makefile.in: Regenerate.
2236 * testsuite/Makefile.in: Regenerate.
2238 2001-06-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2240 * libmath/stubs.c: Fix thinko.
2242 2001-06-24 David Edelsohn <dje@watson.ibm.com>
2244 * libmath/stubs.c (sqrtf): Define.
2245 (tanf): Correct typo.
2247 2001-06-22 Benjamin Kosnik <bkoz@redhat.com>
2249 * include/bits/stl_iterator.h (reverse_iterator): Inherit from
2251 (back_insert_iterator): Same.
2252 (front_insert_iterator): Same.
2253 (insert_iterator): Same.
2255 * testsuite/20_util/raw_storage_iterator.cc: Modify.
2256 * testsuite/24_iterators/reverse_iterator.cc: New file.
2257 * testsuite/24_iterators/back_insert_iterator.cc: New file.
2258 * testsuite/24_iterators/front_insert_iterator.cc: New file.
2259 * testsuite/24_iterators/insert_iterator.cc: New file.
2261 2001-06-22 Phil Edwards <pme@sources.redhat.com>
2263 * include/*: Revert comment/license change from yesterday for all
2264 except libsupc++/unwind-cxx.h.
2265 * src/bitset.cc: Likewise.
2266 * src/strstream.cc: Likewise.
2268 2001-06-22 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2270 * libmath/stubs.c: New file.
2274 * libmath/Makefile.am (libmath_la_SOURCES): Add.
2275 * libmath/Makefile.in. Regenerate.
2277 2001-06-21 Phil Edwards <pme@sources.redhat.com>
2279 * include/backward/algo.h: Add "GPL plus runtime exception" comment.
2280 * include/backward/algobase.h: Likewise.
2281 * include/backward/alloc.h: Likewise.
2282 * include/backward/bvector.h: Likewise.
2283 * include/backward/defalloc.h: Likewise.
2284 * include/backward/deque.h: Likewise.
2285 * include/backward/function.h: Likewise.
2286 * include/backward/hash_map.h: Likewise.
2287 * include/backward/hash_set.h: Likewise.
2288 * include/backward/hashtable.h: Likewise.
2289 * include/backward/heap.h: Likewise.
2290 * include/backward/iterator.h: Likewise.
2291 * include/backward/list.h: Likewise.
2292 * include/backward/map.h: Likewise.
2293 * include/backward/multimap.h: Likewise.
2294 * include/backward/multiset.h: Likewise.
2295 * include/backward/pair.h: Likewise.
2296 * include/backward/rope.h: Likewise.
2297 * include/backward/set.h: Likewise.
2298 * include/backward/slist.h: Likewise.
2299 * include/backward/stack.h: Likewise.
2300 * include/backward/strstream: Likewise.
2301 * include/backward/tempbuf.h: Likewise.
2302 * include/backward/tree.h: Likewise.
2303 * include/backward/vector.h: Likewise.
2304 * include/bits/pthread_allocimpl.h: Likewise.
2305 * include/bits/std_algorithm.h: Likewise.
2306 * include/bits/std_bitset.h: Likewise.
2307 * include/bits/std_deque.h: Likewise.
2308 * include/bits/std_functional.h: Likewise.
2309 * include/bits/std_iterator.h: Likewise.
2310 * include/bits/std_list.h: Likewise.
2311 * include/bits/std_map.h: Likewise.
2312 * include/bits/std_memory.h: Likewise.
2313 * include/bits/std_numeric.h: Likewise.
2314 * include/bits/std_queue.h: Likewise.
2315 * include/bits/std_set.h: Likewise.
2316 * include/bits/std_stack.h: Likewise.
2317 * include/bits/std_utility.h: Likewise.
2318 * include/bits/std_vector.h: Likewise.
2319 * include/bits/stl_algo.h: Likewise.
2320 * include/bits/stl_algobase.h: Likewise.
2321 * include/bits/stl_alloc.h: Likewise.
2322 * include/bits/stl_bvector.h: Likewise.
2323 * include/bits/stl_construct.h: Likewise.
2324 * include/bits/stl_deque.h: Likewise.
2325 * include/bits/stl_function.h: Likewise.
2326 * include/bits/stl_heap.h: Likewise.
2327 * include/bits/stl_iterator.h: Likewise.
2328 * include/bits/stl_iterator_base_funcs.h: Likewise.
2329 * include/bits/stl_iterator_base_types.h: Likewise.
2330 * include/bits/stl_list.h: Likewise.
2331 * include/bits/stl_map.h: Likewise.
2332 * include/bits/stl_multimap.h: Likewise.
2333 * include/bits/stl_multiset.h: Likewise.
2334 * include/bits/stl_numeric.h: Likewise.
2335 * include/bits/stl_pair.h: Likewise.
2336 * include/bits/stl_pthread_alloc.h: Likewise.
2337 * include/bits/stl_queue.h: Likewise.
2338 * include/bits/stl_raw_storage_iter.h: Likewise.
2339 * include/bits/stl_relops.h: Likewise.
2340 * include/bits/stl_set.h: Likewise.
2341 * include/bits/stl_stack.h: Likewise.
2342 * include/bits/stl_tempbuf.h: Likewise.
2343 * include/bits/stl_threads.h: Likewise.
2344 * include/bits/stl_tree.h: Likewise.
2345 * include/bits/stl_uninitialized.h: Likewise.
2346 * include/bits/stl_vector.h: Likewise.
2347 * include/bits/type_traits.h: Likewise.
2348 * include/ext/hash_map: Likewise.
2349 * include/ext/hash_set: Likewise.
2350 * include/ext/rope: Likewise.
2351 * include/ext/ropeimpl.h: Likewise.
2352 * include/ext/slist: Likewise.
2353 * include/ext/stl_hash_fun.h: Likewise.
2354 * include/ext/stl_hashtable.h: Likewise.
2355 * include/ext/stl_rope.h: Likewise.
2356 * libsupc++/unwind-cxx.h: Likewise.
2357 * src/bitset.cc: Likewise.
2358 * src/strstream.cc: Likewise.
2360 2001-06-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2362 * include/bits/indirect_array.h (indirect_array<>::operator=):
2363 Make copy and assignment operator public. Implement. Format.
2365 * include/bits/valarray_array.h (__valarray_copy): Add overloads
2366 for copy between index arrays. Format.
2368 2001-06-19 Benjamin Kosnik <bkoz@redhat.com>
2370 * mknumeric_limits: Add static definitions, format.
2371 * testsuite/18_support/numeric_limits.cc (test02): Add test.
2373 * include/c_std/bits/std_cwchar.h: Include ctime.
2374 * testsuite/17_intro/header_cwchar.cc : Check.
2376 * include/c_std/bits/std_cwctype.h: Inject wctype.
2377 * testsuite/17_intro/header_cwctype.cc: Update.
2379 2001-06-18 Benjamin Kosnik <bkoz@redhat.com>
2381 * include/bits/stl_raw_storage_iter.h: Format. Correct derivation.
2382 * testsuite/20_util/raw_storage_iterator.cc: Same.
2384 * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to
2386 (__mem_interface): New typedef for switching between malloc and new.
2387 * testsuite/20_util/allocator_members.cc: New file.
2389 * testsuite/20_util/comparisons.cc: New file.
2390 * testsuite/20_util/pairs.cc: New file.
2392 2001-06-15 Phil Edwards <pme@sources.redhat.com>
2394 * docs/html/documentation.html: Point to new doxygen'ed collection.
2396 2001-06-14 Nathan Sidwell <nathan@codesourcery.com>
2398 * configure.in (auxdir): Replace by ...
2399 (toprel): ... new variable.
2400 (toplevel_srcdir): Construct from $toprel.
2401 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
2402 rather than .. to locate gcc source directory.
2403 (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
2404 * aclocal.m4, configure: Rebuilt.
2406 2001-06-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
2408 (Approved by Mark and Benjamin. Applied by Loren.)
2410 * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
2411 _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
2412 and _GLIBCPP_mutex_address.
2413 * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
2414 once-only runtime initialization of _M_lock mutex when
2415 __GTHREAD_MUTEX_INIT_FUNCTION is defined.
2416 (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
2417 for __GTHREAD_MUTEX_INIT_FUNCTION case.
2419 2001-06-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2421 * testsuite/26_numerics/slice_array_assignment.cc (main): New test.
2423 * include/bits/slice_array.h (slice_array<>::operator=): Make
2424 public and implement.
2425 (slice_array<>::slice_array): Make copy-constructor public.
2427 * include/bits/valarray_array.h (__valarray_copy): Add another
2428 overload to copy between strided arrays.
2430 2001-06-13 Benjamin Kosnik <bkoz@redhat.com>
2432 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
2433 * aclocal.m4: Regenerate.
2434 * configure: Regenerate.
2435 * include/bits/c++config (__GLIBCPP__): Update date.
2437 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
2439 * include/bits/fpos.h (fpos::operator-): Don't return reference,
2440 return original, non-modified version.
2441 (fpos::operator+): Same.
2442 * testsuite/27_io/fpos.cc: Add test.
2444 2001-06-12 Loren J. Rittle <ljrittle@acm.org>
2447 * porting.texi: Add documentation about libstdc++-v3-specific
2448 macros that are currently included in os_defines.h files.
2450 * config/basic_file_stdio.h (sys_getc): New method.
2451 (sys_ungetc): New method.
2452 * include/bits/basic_file.h: (sys_getc): New method signature.
2453 (sys_ungetc): New method signature.
2455 * include/bits/fstream.tcc (underflow): Add conditional code
2456 paths which avoid using short seeks on streams (especially
2457 useful when the stream might be interactive or a pipe). At
2458 the moment, this alternate path only avoids seeking when the
2459 ``buffer size'' of underflow() is 1 since the C standard only
2460 guarantees buffer space for one ungetc (this technique could
2461 be extended since *-*-solaris* supports buffering for 4 calls
2462 to ungetc and *-*-*bsd* supports buffering limited only by
2463 memory resources). Also, _GLIBCPP_AVOID_FSEEK must be defined
2464 in a port's os_defines.h file for this alternate path to even
2465 be considered. As a bonus, the idiom of using getc/ungetc
2466 requires no system calls whereas fseek maps to one or two
2467 system call(s) on many platforms.
2469 * config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
2471 * config/os/solaris/solaris2.5/bits/os_defines.h
2472 (_GLIBCPP_AVOID_FSEEK): Likewise.
2473 * config/os/solaris/solaris2.6/bits/os_defines.h
2474 (_GLIBCPP_AVOID_FSEEK): Likewise.
2475 * config/os/solaris/solaris2.7/bits/os_defines.h
2476 (_GLIBCPP_AVOID_FSEEK): Likewise.
2478 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
2480 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change to
2481 AC_TRY_COMPILE, so that the built compiler is checked, and
2482 bootstraps or cross compiles with an older compile still work.
2483 * aclocal.m4: Regenerate.
2484 * configure: Regenerate.
2486 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
2489 * include/bits/std_sstream.h: Add allocator_type, as per DR 251.
2492 * include/bits/istream.tcc (getline, get): Fix as per DR 243.
2495 * include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
2498 * include/bits/limits_generic.h: Fix as per DR 184.
2500 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
2503 * include/bits/basic_string.h (string::compare): Adjust signatures
2505 * include/bits/basic_string.tcc: And here.
2508 * config/c_io_stdio.h: Remove whitespace.
2509 * testsuite/27_io/istream_seeks.cc (test03): Add regression.
2510 (test02): Add regression.
2511 * testsuite/27_io/istream_seeks-3.tst: New file.
2513 2001-06-11 Phil Edwards <pme@sources.redhat.com>
2515 * README: Update to reflect reality.
2516 * acinclude.m4: Update descriptions, fix typos. Comment changes only.
2517 * configure.in: Make certain target_alias is set and subst'd for 2.50.
2518 * aclocal.m4: Regenerate.
2519 * configure: Regenerate (with 2.13).
2521 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
2524 * include/bits/ostream.tcc (ostream::seekp): Add error checking as
2526 * include/bits/istream.tcc (istream::seekg): Same.
2527 * testsuite/27_io/istream_seeks.cc: Fix.
2530 * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
2532 * include/bits/std_queue.h: Add c++config.h.
2533 * testsuite/20_util/binders.cc: New test.
2535 2001-06-11 Matthias Klose <doko@debian.org>
2536 Phil Edwards <pme@sources.redhat.com>
2538 * docs/doxygen/run_doxygen (find_doxygen): Tweak version check.
2539 (main script): Echo more information.
2541 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
2543 * include/c_std/bits/std_cwchar.h: Alphabetize.
2544 * include/bits/char_traits.h: Tweak.
2545 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
2546 everything used by std_cwchar.h.
2547 * aclocal.m4: Regenerate.
2548 * configure.in: Regenerate.
2549 * config.h.in: Regenerate.
2551 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
2553 * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
2554 Add checking for strtof, _Exit in stdlib.h
2555 * aclocal.m4: Regenerate.
2556 * configure.in: Regenerate.
2557 * include/c_std/bits/std_cstdio.h: Alphabetize lists.
2558 (snprintf): Put C99 functions into __gnu_cxx namespace.
2563 * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
2564 for C99 functions within _GLIBCPP_USE_C99 guard.
2568 * include/bits/locale_facets.tcc: Check if C99 is enabled.
2569 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
2571 * include/c_std/bits/cmath.tcc: Formatting tweak.
2572 * include/c_std/bits/std_cmath.h: Same.
2574 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
2576 * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
2578 2001-06-09 Alexandre Oliva <aoliva@redhat.com>
2579 Stephen L Moshier <moshier@mediaone.net>
2581 * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
2582 nothing, as in autoconf 2.50.
2583 * configure: Rebuilt.
2585 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
2587 * include/c_std/bits/std_cwchar.h: Remove size_t injection,
2588 include std_cstddef.
2589 * include/c_std/bits/std_ctime.h: Same.
2590 * include/c_std/bits/std_cstring.h: Same.
2591 * include/c_std/bits/std_cstdlib.h: Same.
2593 * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
2594 * include/c_std/bits/std_cctype.h: Remove isblank.
2596 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
2598 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
2600 * aclocal.m4: Regenerate.
2601 * configure: Regenerate.
2602 * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
2603 injection, guard fgetwc, fgetws.
2604 * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
2605 * include/c_std/bits/std_clocale.h: And here.
2606 * include/c_std/bits/std_cctype.h: And here.
2607 * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
2609 * config/basic_file_stdio.h: Don't include unistd.h.
2610 * config/c_io_stdio.h: Don't use compatibility headers.
2611 * libsupc++/eh_terminate.cc: Qualify abort.
2612 (__terminate): And here.
2613 * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
2615 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
2617 * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
2619 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
2624 * include/std/*: Add copyright notice.
2625 * include/c_std/bits/*: Use using statements instead of extern "C".
2626 * include/c_std/bits/std_cmath.h: Don't overload double versions
2627 of math functions with __buitin versions, use global version to
2628 prevent ambiguities. Remove define hacks.
2629 * include/c_std/bits/std_cwchar.h: Using declarations for "C"
2630 functions that have changed signatures and std::
2631 declarations. Remove define hacks.
2632 * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
2633 __builtins in std::. Remove define hacks.
2634 * testsuite/17_intro/headers_c.cc: Add tests.
2635 * testsuite/17_intro/headers_c++.cc: Add test.
2637 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
2638 John David Anglin <dave@hiauly1.hia.nrc.ca>
2641 * libsupc++/eh_alloc.cc: Ensure that required macros are
2642 defined before including gthr.h. Ensure that we get the
2643 version of gthr.h for which we know how to provide a
2645 * libsupc++/eh_globals.cc: Likewise. And, bring the threading
2646 code path into line with the current EH model. Use std, where
2649 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
2650 John David Anglin <dave@hiauly1.hia.nrc.ca>
2652 * config/threads-no.h: Remove file.
2653 * config/threads-posix.h: Remove file.
2655 * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
2656 (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
2657 (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
2658 * config.h.in: Regenerate.
2660 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
2661 setup and use gthr*.h files. In particular, make gthr.h files
2662 namespace-clean in the staging area (they don't have to be for
2664 * aclocal.m4: Regenerate.
2665 * configure: Regenerate.
2667 * src/Makefile.am (build_headers): Remove bits/c++threads.h
2668 and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
2669 * src/Makefile.in: Regenerate.
2671 * include/bits/c++config: Cleanup threading configuration macros.
2672 In particular, define __STL_GTHREADS macro which controls...
2673 * include/bits/stl_threads.h: ...a brand new gthr.h-based
2676 * config/c_io_stdio.h: Include staged gthr.h instead of local
2677 thread configuration file. Always use __gthread_mutex_t
2678 instead of __mutext_type (or int).
2679 * include/bits/std_fstream.h: Likewise.
2681 * docs/html/17_intro/howto.html: Remove placeholder comment in
2682 case this configuration patch didn't make it. Add advice that
2683 section only applies if configured with --enable-threads.
2684 * docs/html/23_containers/howto.html: Reword to make clear
2685 that _PTHREADS is no longer required for any port to be
2686 correctly using STL with threads. Add advice that section
2687 only applies if configured with --enable-threads.
2689 2001-06-06 Benjamin Kosnik <bkoz@redhat.com>
2691 * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
2693 2001-06-05 Benjamin Kosnik <bkoz@redhat.com>
2696 * include/bits/basic_ios.tcc: Formatting tweaks.
2697 * include/bits/ios_base.h: Formatting tweaks.
2698 * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
2699 (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
2700 * src/globals.cc: Allocate filebufs for standard streams here.
2701 (buf_cout, buf_cin, buf_cerr): Like so.
2702 (buf_wcout, buf_wcin, buf_wcerr): And so.
2703 * testsuite/27_io/ios_init.cc: Add.
2705 2001-06-04 Brendan Kehoe <brendan@zen.org>
2706 Benjamin Kosnik <bkoz@redhat.com>
2709 * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
2710 for generic ctype virtuals.
2711 * src/locale.cc: Minor tweaks, naming consistency.
2712 * testsuite/22_locale/ctype.cc: Add test.
2714 2001-06-04 Kenny Simpson <theonetruekenny@yahoo.com>
2715 Phil Edwards <pme@sources.redhat.com>
2717 PR libstdc++/3035 and PR libstdc++/3036
2718 * include/bits/stl_pair.h: Fix pair ctor and make_pair according
2719 to LWG DR 181 and 265.
2721 2001-06-04 Phil Edwards <pme@sources.redhat.com>
2724 * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
2725 equal_range): Add const overloads as per LWG DR 214.
2726 * include/bits/stl_set.h: Likewise.
2728 2001-06-04 Brendan Kehoe <brendan@zen.org>
2729 Phil Edwards <pme@sources.redhat.com>
2732 * include/bits/std_bitset.h (bitset::test): Fix __pos >= _Nb
2733 comparison; all positions must be < _Nb.
2734 * testsuite/23_containers/bitset_members.cc: New file.
2736 2001-06-04 Brendan Kehoe <brendan@zen.org>
2739 * include/bits/stl_queue.h (classes queue, priority_queue): Fix
2740 ctors to match the standard.
2742 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
2744 * include/bits/char_traits.h (move): Reverse qualification of
2746 (copy): Reverse qualification of memcpy with std::.
2748 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
2750 * include/bits/char_traits.h (move): Qualify memmove with std::.
2751 (copy): Qualify memcpy with std::.
2752 * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
2755 * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
2757 2001-06-04 Hans-Peter Nilsson <hp@axis.com>
2759 * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
2760 uninstall-glibcppinstallHEADERS): Have explicit rules catering to
2761 SUN make VPATH peculiarities.
2762 * libsupc++/Makefile.in: Regenerate.
2764 2001-06-01 Hans-Peter Nilsson <hp@axis.com>
2766 * src/Makefile.am (VPATH): Delimit with ":", not space.
2767 * src/Makefile.in: Regenerate.
2769 * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
2771 * configure: Regenerate.
2773 2001-05-31 scott snyder <snyder@fnal.gov>
2776 * include/bits/istream.tcc: Include std_ostream.h.
2778 2001-05-31 Benjamin Kosnik <bkoz@redhat.com>
2781 * src/bitset.cc: Qualify size_t with std::.
2783 2001-05-30 Benjamin Kosnik <bkoz@redhat.com>
2785 * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
2786 (_GLIBCPP_BUGGY_COMPLEX): Remove.
2787 * config.h.in: Regenerate.
2788 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
2789 * aclocal.m4: Regenerate.
2790 * configure.in: Don't call it.
2791 * configure: Regenerate.
2794 * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
2795 * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
2799 * include/bits/std_complex.h: Include sstream. Put definitions for
2800 complex inserters and extractors here, and remove them from...
2801 * src/complex_io.cc: ...here.
2802 * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
2804 (basic_ios::__numget_type): Same.
2805 * include/bits/std_istream.h: Same.
2806 * include/bits/std_ostream.h: Same.
2807 * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
2808 class iterator template arguments.
2809 * src/locale-inst.cc: Add explicit has_facet instantiations.
2810 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
2811 (_M_get_fnumput): Remove.
2812 (_M_get_fnumget): Remove.
2813 (basic_ios::_M_check_facet): New function.
2814 (basic_ios::_M_cache_facets): New function.
2815 * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
2816 (basic_ios::imbue): Call _M_cache_facets.
2817 (basic_ios::init): Same.
2818 * include/bits/istream.tcc: Format, use _M_check_facet.
2819 * include/bits/ostream.tcc: Same.
2820 * include/bits/locale_facets.tcc (__output_float): Change
2821 signature, add _Traits.
2822 * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
2825 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
2827 * include/bits/c++config (__USE_MALLOC): Do not define it.
2828 Document why not and give pointers to more information.
2830 * docs/html/23_containers/howto.html: Update documentation
2831 to reflect recent understanding of problem.
2832 * docs/html/17_intro/howto.html: Likewise.
2834 2001-05-30 Phil Edwards <pme@sources.redhat.com>
2836 * docs/doxygen/user.cfg.in: Minor addition.
2837 * docs/html/documentation.html: Reorganize. Put most-looked-at
2839 * docs/html/install.html: Update for 3.0. HTML fixups.
2840 * docs/html/17_intro/howto.html: Likewise.
2841 * docs/html/18_support/howto.html: Likewise.
2842 * docs/html/19_diagnostics/howto.html: Likewise.
2843 * docs/html/20_util/howto.html: Likewise.
2844 * docs/html/23_containers/howto.html: Likewise.
2845 * docs/html/24_iterators/howto.html: Likewise. More notes.
2846 * docs/html/25_algorithms/howto.html: Likewise.
2847 * docs/html/26_numerics/howto.html: Likewise. More notes.
2848 * docs/html/27_io/howto.html: Likewise.
2849 * docs/html/ext/howto.html: Likewise.
2850 * docs/html/faq/index.html: Likewise.
2851 * docs/html/faq/index.txt: Regenerate.
2852 * docs/html/27_io/iostreams_hierarchy.pdf: Remove in favor of
2853 Doxygen-created documentation.
2855 2001-05-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2857 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
2858 get_multilibs to find gcc.
2860 2001-05-30 Phil Edwards <pme@sources.redhat.com>
2862 * acinclude.m4 (GLIBCPP_ENABLE_C99): Reorder output messages.
2863 * aclocal.m4: Regenerate.
2864 * configure: Regenerate.
2866 2001-05-29 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2868 * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
2869 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
2871 2001-05-27 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2873 * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
2874 * include/c_std/bits/std_cstdlib.h: Same.
2875 * include/c_std/bits/std_cwchar.h: Same.
2877 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
2879 * docs/html/17_intro/howto.html: Update link.
2880 * docs/html/23_containers/howto.html: Likewise. Add new link.
2882 2001-05-26 Gabriel Dos Reis <gdr@codesourcery.com>
2884 * include/c_std/bits/std_cmath.h (sqrt): #undef.
2886 2001-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2888 * mknumeric_limits: Stop if gen-num-limits dies.
2890 2001-05-25 Benjamin Kosnik <bkoz@redhat.com>
2893 * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
2894 * aclocal.m4: Regenerate.
2897 2001-05-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2898 Phil Edwards <pme@sources.redhat.com>
2899 Alexandre Oliva <aoliva@redhat.com>
2901 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
2902 in an amd-safe manner. Revert glibcpp_prefixdir.
2904 2001-05-25 Gabriel Dos Reis <gdr@codesourcery.com>
2906 * include/c_std/bits/std_cmath.h: Tweak. #define away abs, cos,
2907 fabs, sin, sqrt. They are now implemented in terms of __builtin_
2910 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
2913 * testsuite/21_strings/inserters_extractors.cc (test09): New test.
2914 * include/bits/ostream.tcc: Format to match istream.tcc.
2915 (operator<<(basic_ostream __out, const basic_string __s)): Fix.
2917 2001-05-24 Phil Edwards <pme@sources.redhat.com>
2919 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Qualify
2921 (__cxa_free_exception): Likewise with free.
2923 2001-05-24 Mark Mitchell <mark@codesourcery.com>
2925 * include/c_std/bin/std_cstring.h: #define away all global
2926 functions we will redeclare in namespace `std'.
2927 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
2928 std::memset, instead of memset.
2929 * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
2931 * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
2934 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
2937 * include/bits/basic_ios.tcc: Small tweak.
2938 * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
2939 ctors and dtors, and rdbuf settings.
2942 * include/bits/std_sstream.h: Same, but for stringstream classes.
2943 * testsuite/27_io/ostringstream_members.cc: New.
2944 * testsuite/27_io/stringstream_members.cc: New.
2945 * testsuite/27_io/fstream_members.cc: New.
2946 * testsuite/27_io/ifstream_members.cc: Add test.
2947 * testsuite/27_io/istringstream_members.cc: Add test.
2948 * testsuite/27_io/ofstream_members.cc: Add test.
2950 2001-05-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2952 * include/bits/c++config(__NO_MATH_INLINES): Move to...
2953 * config/os/gnu-linux/bits/os_defines.h: ...here.
2955 2001-05-24 Gabriel Dos Reis <gdr@codesourcery.com>
2957 * include/bits/c++config (__NO_MATH_INLINES): New macro.
2958 * testsuite/26_numerics/fabs_inline.cc (main): New test.
2960 2001-05-22 Benjamin Kosnik <bkoz@redhat.com>
2963 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
2965 (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
2966 (libstdc++-v3-finish): Remove.
2967 (libstdc++-v3_exit): Remove.
2969 2001-05-22 Phil Edwards <pme@sources.redhat.com>
2971 * docs/html/documentation.html: Point to doxygen output.
2973 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
2975 * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
2977 * include/bits/std_sstream.h (stringbuf::setbuf): Require both
2978 arguments to be non-null.
2979 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
2980 try allocations if allocated size is greater than zero.
2981 (filebuf::_M_filebuf_init): Change to
2982 (filebuf::_M_allocate_file): Which is what it does now.
2983 (filebuf::_M_allocate_bufers): Change to
2984 (filebuf::_M_allocate_internal_buffer): This, and create
2985 (filebuf::_M_allocate_pback_buffer): New.
2986 (filebuf::_M_destroy_internal_buffer): New.
2987 (filebuf::_M_buf_allocated): New data member.
2988 (filebuf::setbuf): Use new logic, allow use of external buffer.
2989 * testsuite/27_io/stringbuf_virtuals.cc: New file.
2990 * testsuite/27_io/filebuf_virtuals.cc: New file.
2992 2001-05-21 Stephen M. Webb <stephen@bregmasoft.com>
2994 * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
2996 (strchr): Same, but to __glibcpp_strchr.
3000 * include/c_std/bits/std_cwchar.h (wcschr): Same.
3006 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
3008 * testsuite/21_strings/c_strings.cc (main): Fix.
3010 2001-05-19 Phil Edwards <pme@sources.redhat.com>
3012 * acinclude.m4: Fix --help spacing, correct comments.
3013 * aclocal.m4: Regenerate.
3014 * configure: Regenerate.
3015 * mkcheck.in: Add usage comments.
3016 * docs/html/documentation.html: Point to doxygen'd tarball.
3018 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
3020 * testsuite/README: Add notes.
3022 * src/Makefile.am (libstdc++.INC): Remove.
3023 * src/Makefile.in: Regenerate.
3025 Phil Edwards <pedwards@disaster.jaj.com>
3026 * mkcheck.in: Add missing '#'.
3028 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
3030 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
3031 appropriately for remote testing and testing installed files without
3034 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
3036 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
3037 amd glibcpp_prefixdir with absolute paths.
3039 * include/bits/c++config (__GLIBCPP__): Bump.
3040 * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
3042 2001-05-18 Gabriel Dos Reis <gdr@codesourcery.com>
3044 * include/bits/std_valarray.h (valarray<>::operator[] const):
3045 Return a const reference.
3046 * testsuite/26_numerics/valarray_const_bracket.cc: New test.
3048 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
3050 * configure.target (ATOMICITYH): Actually use AIX-specific code on
3051 earlier versions of AIX 4.*.
3053 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
3055 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set
3056 output_file based on the name of the testcase.
3058 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
3060 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Build
3061 gluefile and use it if needs_status_wrapper is set.
3063 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
3065 * configure.target (ATOMICITYH): Use cpu/generic code on earlier
3068 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
3070 * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
3071 on earlier versions of AIX.
3073 2001-05-15 Benjamin Kosnik <bkoz@redhat.com>
3075 * testsuite_flags.in (query): Add backwards, ext directories.
3077 2001-05-15 Mark Mitchell <mark@codesourcery.com>
3079 * porting.texi: Correct documentation about handling
3080 _LARRGEFILE_SOURCE and its ilk.
3081 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
3082 definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
3084 * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
3085 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
3087 2001-05-15 Zack Weinberg <zackw@stanford.edu>
3089 * testsuite/21_strings/inserters_extractors.cc,
3090 testsuite/27_io/istream_unformatted.cc,
3091 testsuite/27_io/stringstream.cc:
3092 Replace multi-line string constants with C89-style
3093 concatenated string constants.
3095 2001-05-14 Richard Henderson <rth@redhat.com>
3097 * mknumeric_limits: Build with -fno-exceptions.
3099 2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
3101 Switch over to new harness.
3102 * testsuite_flags.in: Tweaks via Gaby.
3103 * testsuite/Makefile.am: Change tool to libstdc++-v3.
3104 (EXPECT): Quote directly.
3106 * configure.in: Output testsuite_flags.
3107 * acinclude.m4: Substitute src, bld, and prefix dirs.
3108 Remove glibcpp_expect, glibcpp_runtestflags.
3109 * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
3110 * mkcheck.in: Port to new interface.
3112 * aclocal.m4: Regerate.
3113 * configure: Regnerate.
3114 * Makefile.in: Regnerate.
3115 * */Makefile.in: Regenerate.
3117 * tests_flags.in: Remove.
3118 * testsuite/lib/libstdc++.exp: Remove.
3119 * testsuite/libstdc++.tests/tests.exp: Remove.
3121 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
3123 * configure.target: Remove detection of AIX pthread multilib, now
3124 obtained from `gcc -v'.
3126 2001-05-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
3128 * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
3129 size. Add hpux case for HP size.
3131 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
3133 * testsuite_flags.in: New, simplified interface.
3134 * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
3135 * testsuite/libstdc++-v3.dg: Add.
3136 * testsuite/libstdc++-v3.dg/dg.exp: Add.
3138 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
3140 * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
3141 * testsuite/config/default.exp: Update bugs email address.
3143 2001-05-11 Richard Henderson <rth@redhat.com>
3145 * libsupc++/eh_personality.cc: Include unwind-pe.h. Remove
3146 all pointer encoding logic.
3147 (struct lsda_header_info): Add ttype_base.
3148 (get_ttype_entry): Use it instead of a context.
3149 (check_exception_spec): Likewise.
3150 (PERSONALITY_FUNCTION): Initialize ttype_base. Store it in
3151 the c++ exception header for __cxa_call_unexpected.
3152 (__cxa_call_unexpected): Use it.
3154 2001-05-09 Benjamin Kosnik <bkoz@redhat.com>
3156 * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
3157 libgloss_link_flags to find crt0.o for targets that use libgloss
3159 Change LDFLAGS to LIBS.
3160 Consistently name procedures libstdc++-XXX.
3161 * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
3163 2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
3165 * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
3170 * include/c_std/bits/std_cwchar.h (wcschr): Same.
3175 * testsuite/21_strings/c_strings.cc: Add tests.
3177 2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
3180 * include/bits/std_fstream.h (basic_filebuf): Change signature.
3181 * include/bits/fstream.tcc (basic_filebuf): Change bool argument
3182 to int_type, pass in buffer size info.
3183 * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
3184 unbuffered situation.
3185 (underflow): Remove codecvt bits for the time being.
3186 * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
3187 * include/bits/locale_facets.tcc (_M_extract): Cache dereference
3188 values from iterators, clean.
3189 * src/locale.cc: Ditto.
3190 * include/bits/sbuf_iter.h: Format.
3191 * src/ios.cc: Explicitly pass in buffer sizes at creation time.
3192 * testsuite/27_io/narrow_stream_objects.cc: Add tests.
3193 * testsuite/27_io/filebuf.cc: Tweaks.
3194 * testsuite/27_io/filebuf_members.cc: Tweaks.
3196 2001-05-07 Mark Mitchell <mark@codesourcery.com>
3198 * config/os/solaris/solaris2.7/bits/os_defines.h
3199 (_LARGEFILE_SOURCE): Define it.
3201 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
3203 * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
3204 -prefer-non-pic depending on whether libtool has shared libraries
3205 enabled or disabled.
3206 * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
3207 $(LIBSUPCXX_PICFLAGS).
3208 * configure, */Makefile.in: Rebuilt.
3210 2001-05-01 Benjamin Kosnik <bkoz@redhat.com>
3212 * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
3213 * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
3215 * include/bits/std_sstream.h (stringbuf): Leak
3217 * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
3219 2001-05-01 Tom Browder <tbrowder@home.com>
3221 * docs/html/ext/howto.html: Fix typo.
3223 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
3225 * testsuite/libstdc++.tests/tests.exp: Add comment.
3227 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
3229 * testsuite/libstdc++.tests/tests.exp: Set ulimits.
3231 2001-04-30 Mark Mitchell <mark@codesourcery.com>
3233 * porting.texi: Use the GFDL.
3235 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
3238 * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
3239 * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
3242 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
3245 * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
3247 2001-04-28 Phil Edwards <pme@sources.redhat.com>
3249 * docs/doxygen/run_doxygen: Minor tweaks.
3250 * docs/doxygen/style.css: New file.
3251 * docs/doxygen/user.cfg.in: Update using "doxygen -u" to get the
3252 latest parameters available. Use style.css.
3254 2001-04-27 Benjamin Kosnik <bkoz@redhat.com>
3256 * docs/doxygen/mainpage.doxy: New.
3257 * docs/doxygen/user.cfg.in: Change default configuration. Single
3258 frame, other tweaks.
3260 2001-04-26 Mark Mitchell <mark@codesourcery.com>
3262 * docs/html/17_intro/BADNAMES: Remove EGCS reference.
3263 Indicate obsolete nature of thelist for G++ 3.0.
3265 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
3267 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
3268 target_thread_file with `gcc -v'.
3269 * aclocal.m4, configure: Rebuilt.
3271 2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
3273 * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
3274 * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
3275 * include/c_std/bits/std_cwchar.h (std): Same.
3276 * acconfig.h (std): Remove c99 injection into std.
3277 * config.h.in: Regenerate.
3279 * testsuite/README: Fix typo.
3281 * include/bits/codecvt.h: Remove warnings.
3283 2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3285 * include/ext/slist: Include required header files.
3287 2001-04-23 Loren J. Rittle <ljrittle@acm.org>
3289 * include/c_std/bits/std_cerrno.h (errno): Define macro from
3290 identifier declared with external linkage, if needed.
3291 * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
3292 * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
3294 2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
3296 * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
3297 re-configures find the build compiler.
3298 (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
3300 * aclocal.m4: Regenerate.
3301 * configure: Regenerate.
3303 2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
3305 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
3306 support is enabled correctly before long long is activated.
3307 * aclocal.m4: Regenerate.
3308 * configure: Regenerate.
3310 * include/backward/backward_warning.h: Format correctly.
3312 * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
3313 * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
3314 * testsuite/26_numerics/c99_macros.cc: Remove.
3316 2001-04-20 Phil Edwards <pme@sources.redhat.com>
3318 * include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
3319 __iterator_category.
3321 2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
3323 * acconfig.h (_GLIBCPP_USE_C99): Add.
3324 * config.h.in: Regenerate.
3325 * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
3327 * aclocal.m4: Regenerate.
3328 * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
3329 * configure: Regenerate.
3330 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
3331 * configure: Regenerate.
3332 * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
3334 * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
3336 * include/c_std/bits/std_cstdlib.h: Same.
3337 * docs/html/configopts.html: Update.
3338 * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
3340 (test_c99_classify): Add.
3341 * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
3342 (_ISOC99_SOURCE): Remove.
3344 * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
3345 * include/bits/c++config (__STL_ASSERTIONS): Simplify.
3346 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
3347 * aclocal.m4: Regenerate.
3348 * configure: Regenerate.
3350 2001-04-19 Phil Edwards <pme@sources.redhat.com>
3352 * Makefile.am (doxygen): Assume script is missing execute perms.
3353 * Makefile.in: Regenerated.
3354 * docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
3356 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
3358 * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
3360 2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
3362 * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
3363 * testsuite/23_containers/set_operators.cc: Same.
3365 * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
3367 (__GLIBCPP__): Bump from value of last release.
3368 * include/bits/concept_check.h: Default to off, edit comments.
3369 * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
3370 * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
3371 * src/Makefile.in: Regenerate.
3373 2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE>
3375 * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
3376 Properly uglify member.
3378 2001-04-13 Phil Edwards <pme@sources.redhat.com>
3380 * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead
3384 2001-04-13 Phil Edwards <pme@sources.redhat.com>
3386 * include/bits/boost_concept_check.h: Uglify, fork from Boost.
3387 * include/bits/concept_check.h: Uglify.
3388 * include/bits/stl_algo.h: Likewise.
3389 * include/bits/stl_algobase.h: Likewise.
3390 * include/bits/stl_deque.h: Likewise.
3391 * include/bits/stl_heap.h: Likewise.
3392 * include/bits/stl_iterator_base_funcs.h: Likewise.
3393 * include/bits/stl_list.h: Likewise.
3394 * include/bits/stl_map.h: Likewise.
3395 * include/bits/stl_multimap.h: Likewise.
3396 * include/bits/stl_multiset.h: Likewise.
3397 * include/bits/stl_numeric.h: Likewise.
3398 * include/bits/stl_queue.h: Likewise.
3399 * include/bits/stl_set.h: Likewise.
3400 * include/bits/stl_stack.h: Likewise.
3401 * include/bits/stl_vector.h: Likewise.
3402 * include/ext/hash_map: Likewise.
3403 * include/ext/hash_set: Likewise.
3404 * include/ext/slist: Likewise.
3406 2001-04-13 Gabriel Dos Reis <gdr@codesourcery.com>
3408 * testsuite/23_containers/set_operators.cc: Just try to compile.
3410 * testsuite/23_containers/map_operators.cc: Same.
3412 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
3414 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
3416 (dg-test): Revert rth's change.
3418 2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
3420 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
3421 terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
3423 2001-04-12 Gabriel Dos Reis <gdr@codesourcery.com>
3425 * testsuite/README: Add DejaGnu specific documentation.
3427 2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
3429 * acinclude.m4: AC_CHECK_TOOL for expect.
3430 * aclocal.m4: Regenerate.
3431 * configure: Regenerate.
3432 * testsuite/Makefile.am (RUNTEST): Use substituted.
3435 * configure.in: Remove xcompiling substitution.
3436 * tests_flags.in (CROSS_LIB_PATH): Remove.
3437 (xcompiling): Remove.
3438 (CXX): Use substituted CXX.
3440 2001-04-11 Richard Henderson <rth@redhat.com>
3442 * testsuite/lib/libstdc++.exp: Specify path for output_file.
3444 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
3446 * include/bits/std_valarray.h(valarray<>::operator[]): Make
3449 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
3451 * testsuite/25_algorithms/equal.cc: New test.
3453 2001-04-06 Joe Buck <jbuck@welsh-buck.org>
3455 * stl_algobase.h (std::equal): avoid use of possibly-undefined
3456 operator != (one line patch).
3458 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
3460 * include/backward/backward_warning.h: Re-enable.
3462 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
3463 Alexandre Oliva <aoliva@redhat.com>
3465 * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
3467 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
3469 * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
3470 * testsuite/26_numerics/c99_macros.cc: Add test.
3472 2001-04-06 Phil Edwards <pme@sources.redhat.com>
3474 * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES.
3475 * docs/html/faq/index.txt: Regenerated.
3477 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
3479 * include/backward/backward_warning.h: Temporarily disable until
3480 g++ testsuite changes go in.
3481 * tests_flags.in (CROSS_LIB_PATH): Add.
3483 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
3485 Warn when using backward headers.
3486 * include/backward/algo.h: Include warning file.
3487 * include/backward/vector.h: Same.
3488 * include/backward/tree.h: Same.
3489 * include/backward/tempbuf.h: Same.
3490 * include/backward/strstream: Same.
3491 * include/backward/streambuf.h: Same.
3492 * include/backward/stream.h: Same.
3493 * include/backward/stack.h: Same.
3494 * include/backward/slist.h: Same.
3495 * include/backward/set.h: Same.
3496 * include/backward/rope.h:
3497 * include/backward/queue.h: Same.
3498 * include/backward/pair.h: Same.
3499 * include/backward/ostream.h: Same.
3500 * include/backward/new.h: Same.
3501 * include/backward/multiset.h: Same.
3502 * include/backward/multimap.h: Same.
3503 * include/backward/map.h: Same.
3504 * include/backward/list.h: Same.
3505 * include/backward/iterator.h: Same.
3506 * include/backward/istream.h: Same.
3507 * include/backward/iostream.h:
3508 * include/backward/iomanip.h:
3509 * include/backward/heap.h: Same.
3510 * include/backward/hashtable.h:
3511 * include/backward/hash_set.h:
3512 * include/backward/hash_map.h:
3513 * include/backward/function.h:
3514 * include/backward/fstream.h:
3515 * include/backward/deque.h:
3516 * include/backward/defalloc.h: Same.
3517 * include/backward/complex.h: Same.
3518 * include/backward/bvector.h:
3519 * include/backward/alloc.h:
3520 * include/backward/algobase.h: Same.
3522 * include/backward/backward_warning.h: New file.
3523 * src/Makefile.am (backward_headers): Add backward_warning.h
3524 * src/Makefile.in: Regenerate.
3526 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
3528 * src/Makefile.am (myinstalldirs): Make sure backward directory is
3530 (myinstallheaders): Install backward headers in backward directory.
3531 * src/Makefile.in: Regenerate.
3533 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
3535 Prepare for libstdc++-2.92.
3536 * docs/html/17_intro/RELEASE-NOTES (New): Update.
3537 * docs/html/configopts.html: Fix formatting.
3538 * README (file): Updates.
3539 * include/bits/c++config (__GLIBCPP__): Update.
3541 2001-04-05 Phil Edwards <pme@sources.redhat.com>
3543 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
3545 2001-04-04 Phil Edwards <pme@sources.redhat.com>
3547 * docs/doxygen/user.cfg.in: Extract all non-private members;
3548 reduce confusing documentation output.
3550 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
3552 * include/backward/fstream.h: Add missing semicolons.
3554 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
3556 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
3557 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
3558 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
3559 (ios_base::Init::_S_ios_create): New.
3560 (ios_base::Init::_S_ios_destroy): New.
3561 * include/bits/std_fstream.h: Change ctor args.
3562 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
3563 (ios_base::Init::~Init): Use _S_ios_destroy.
3564 (ios_base::sync_with_stdio): Use new members.
3565 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
3568 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3570 * include/backward/fstream.h: Expose streampos to global
3573 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3575 * include/bits/stl_iterator_base_types.h: Fix typo
3577 2001-04-03 Andreas Schwab <schwab@suse.de>
3579 * include/backward/fstream.h: Define filebuf and wfilebuf.
3581 2001-04-02 Phil Edwards <pme@sources.redhat.com>
3583 New concept checking implementation.
3584 * docs/html/19_diagnostics/howto.html: Document.
3585 * docs/html/17_intro/concept_check.diff: New file, for reference.
3586 * include/bits/boost_concept_check.h: New file from Boost.
3587 * include/bits/c++config: Update comments.
3589 * include/bits/concept_check.h: New file.
3590 * include/bits/concept_checks.h: Removed.
3591 * include/bits/container_concepts.h: Removed.
3592 * include/bits/sequence_concepts.h: Removed.
3593 * include/bits/stl_iterator_base.h: Removed; split into...
3594 * include/bits/stl_iterator_base_funcs.h: ...this new file...
3595 * include/bits/stl_iterator_base_types.h: ...and this new file.
3597 * include/bits/sbuf_iter.h: Update to use new implementation.
3598 * include/bits/std_iterator.h: Likewise.
3599 * include/bits/std_memory.h: Likewise.
3600 * include/bits/stl_algo.h: Likewise.
3601 * include/bits/stl_algobase.h: Likewise.
3602 * include/bits/stl_construct.h: Likewise.
3603 * include/bits/stl_deque.h: Likewise.
3604 * include/bits/stl_heap.h: Likewise.
3605 * include/bits/stl_list.h: Likewise.
3606 * include/bits/stl_map.h: Likewise.
3607 * include/bits/stl_multimap.h: Likewise.
3608 * include/bits/stl_multiset.h: Likewise.
3609 * include/bits/stl_numeric.h: Likewise.
3610 * include/bits/stl_queue.h: Likewise.
3611 * include/bits/stl_set.h: Likewise.
3612 * include/bits/stl_stack.h: Likewise.
3613 * include/bits/stl_uninitialized.h: Likewise.
3614 * include/bits/stl_vector.h: Likewise.
3615 * include/ext/hash_map: Likewise.
3616 * include/ext/hash_set: Likewise.
3617 * include/ext/slist: Likewise.
3618 * include/ext/stl_hashtable.h: Likewise.
3620 * src/Makefile.am (base_headers): Update list of headers.
3621 * Makefile.in: Regenerated.
3622 * src/Makefile.in: Regenerated.
3623 * libio/Makefile.in: Regenerated.
3624 * libmath/Makefile.in: Regenerated.
3625 * libsupc++/Makefile.in: Regenerated.
3626 * testsuite/Makefile.in: Regenerated.
3628 * docs/html/install.html: Update contact information.
3629 * docs/html/17_intro/howto.html: Ditto.
3630 * docs/html/18_support/howto.html: Ditto.
3631 * docs/html/20_util/howto.html: Ditto.
3632 * docs/html/21_strings/howto.html: Ditto.
3633 * docs/html/22_locale/howto.html: Ditto.
3634 * docs/html/23_containers/howto.html: Ditto.
3635 * docs/html/24_iterators/howto.html: Ditto.
3636 * docs/html/25_algorithms/howto.html: Ditto.
3637 * docs/html/26_numerics/howto.html: Ditto.
3638 * docs/html/27_io/howto.html: Ditto.
3639 * docs/html/faq/index.html: Ditto, plus info on new checking code.
3640 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
3641 * docs/html/faq/index.txt: Regenerated.
3643 2001-04-02 Zack Weinberg <zackw@stanford.edu>
3645 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
3646 messages with $which_library as well as $tool_flags and
3647 ${dg-extra-tool-flags}. Factor out annotation text into
3650 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
3652 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
3653 * include/c_std/bits/std_cwchar.h: Same.
3654 * testsuite/21_strings/c_strings.cc: Add.
3656 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
3658 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
3660 2001-04-01 Zack Weinberg <zackw@stanford.edu>
3662 * tests_flags.in: Use test a = b, not test a == b which is not
3665 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
3667 * configure.target: Remove duplicate aix entry.
3669 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
3671 * include/ext/stl_bvector.h: Move to...
3672 * include/bits/stl_vector.h: ...here.
3673 * include/ext/bvector: Move to...
3674 * include/backward/bvector.h: ...here.
3675 * include/bits/std_vector.h: Change stl_bvector include.
3676 * include/bits/std_queue.h: Remove bvector include.
3677 * include/ext/tree: Insert using rb_tree, move to...
3678 * include/backward/tree.h: ...here.
3679 * include/backward/hash_map.h: Include ext/hash_map.
3680 * include/backward/hash_set.h: Include ext/hash_set.
3681 * include/backward/queue.h: New file.
3682 * include/backward/stack.h: Edit.
3683 * include/backward/algo.h: Same.
3684 * include/backward/algobase.h: Same.
3685 * include/backward/alloc.h: Same.
3686 * include/backward/function.h: Same.
3687 * include/backward/iomanip.h: Same.
3688 * include/backward/istream.h: Same.
3689 * include/backward/iterator.h: Same.
3690 * include/backward/list.h: Same.
3691 * include/backward/map.h: Same.
3692 * include/backward/multimap.h: Same.
3693 * include/backward/multiset.h: Same.
3694 * include/backward/ostream.h: Same.
3695 * include/backward/pair.h: Same
3696 * include/backward/rope.h: Same.
3697 * include/backward/set.h: Same.
3698 * include/backward/stream.h: Same.
3699 * include/backward/strstream.h: Same.
3700 * include/backward/tempbuf.h: Same.
3701 * src/Makefile.am (ext_headers): Edit.
3702 * src/Makefile.in: Regenerate.
3703 * testsuite/ext/headers.cc (main): Fix.
3706 2001-03-30 Phil Edwards <pme@sources.redhat.com>
3708 * tests_flags.in (LIBS): Pass correct path for installed testing.
3710 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
3712 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
3713 * tests_flags.in (CXX): Construct here.
3714 (static_fail): Don't remove compile.out. Format with spaces.
3715 (INCLUDES): Deal with xcompiling.
3716 * configure.in (xcompiling): Substitute.
3717 * testsuite/Makefile.am: Snake libjava configury.
3718 * testsuite/Makefile.in: Regenerate.
3719 * testsuite/23_containers/map_operators.cc: Tweaks.
3720 * testsuite/23_containers/set_operators.cc: Tweaks.
3722 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3724 Enable dejagnu testing framework.
3725 * configure.in: Generate testsuite/Makefile.
3726 * configure: Regenerate.
3727 * Makefile.am (check-install): Change rule from this...
3728 (check-script-install): ...to this.
3729 (check): Change rule from this...
3730 (check-script):...to this.
3731 * Makefile.in: Regenerate.
3733 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
3735 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
3737 (LIBTOOL): Let automake take care of its definition.
3738 * libsupc++/Makefile.in: Rebuilt.
3740 2001-03-28 Richard Henderson <rth@redhat.com>
3742 IA-64 ABI Exception Handling:
3743 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
3744 * configure.in: Use it.
3745 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
3746 * libsupc++/Makefile.am (sources): Update files list.
3747 * libsupc++/Makefile.in: Regenerate.
3748 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
3749 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
3750 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
3751 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
3752 * libsupc++/exception_support.cc: Remove.
3753 * libsupc++/exception_support.h: Remove.
3754 * libsupc++/pure.cc: Use std::terminate.
3755 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
3756 (__is_pointer): Remove.
3757 * libsupc++/unwind-cxx.h: New file.
3758 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
3760 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
3762 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
3764 * src/Makefile.am (CXXLINK): Likewise.
3765 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
3767 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
3769 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
3771 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3773 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
3776 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
3778 * include/bits/basic_file.h (get_fileno): Remove.
3779 (_M_fileno): Remove.
3780 (_M_cfile_created): Add.
3781 (basic_file::basic_file(__c_file_type*, openmode): Add.
3782 (basic_file::basic_file(int, const char*, openmode): Remove.
3783 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
3784 const char*, ios_base::openmode): Don't allocate
3785 internal buffers. Turn off internal buffers.
3786 (basic_filebuf::overflow): Remove test for null buffer.
3787 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
3788 * include/bits/streambuf.cc: Tweak.
3789 * include/bits/std_ostream.h: Tweak.
3790 * config/basic_file_libio.h: Same.
3791 * config/basic_file_stdio.h: Same.
3792 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
3793 * testsuite/27_io/filebuf_members.cc: Tweaks.
3794 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
3796 2001-03-24 Phil Edwards <pme@sources.redhat.com>
3798 * Makefile.am: New targets, doxygen and doxygen-maint.
3799 * Makefile.in: Regenerated.
3800 * docs/doxygen/run_doxygen: Finally implemented.
3801 * docs/doxygen/maint.cfg.in: New file.
3802 * docs/doxygen/user.cfg.in: New file.
3804 2001-03-24 Phil Edwards <pme@sources.redhat.com>
3806 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
3807 * src/Makefile.am: Replace leading spaces with tabs on continuation
3809 * aclocal.m4: Regenerated.
3811 * Makefile.in: Ditto.
3812 * src/Makefile.in: Ditto.
3813 * libio/Makefile.in: Ditto.
3814 * libmath/Makefile.in: Ditto.
3815 * libsupc++/Makefile.in: Ditto.
3817 2001-03-24 Phil Edwards <pme@sources.redhat.com>
3819 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
3820 concept-checking code and current status of same.
3821 * docs/html/ext/howto.html: Ditto.
3822 * docs/html/faq/index.html: Ditto.
3823 * docs/html/faq/index.txt: Regenerated.
3825 2001-03-24 Phil Edwards <pme@sources.redhat.com>
3827 * include/bits/std_bitset.h: Include ostream and istream headers
3828 instead of iostream.
3830 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
3832 * include/bits/ostream.tcc: Use __builtin_alloca.
3834 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
3836 * src/misc-inst.cc (__sink_unused_warning): Move to...
3837 * src/locale-inst.cc (__sink_unused_warning): Move to...
3838 * src/stl-inst.cc: Here.
3839 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
3842 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
3844 * intclude/bits/basic_file.h: Fix typos in comments.
3846 2001-03-20 Richard Henderson <rth@redhat.com>
3848 * src/gen-num-limits.cc: Instantiate for wchar_t.
3849 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
3851 2001-03-20 Jason Merrill <jason@redhat.com>
3853 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
3854 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
3855 * libsupc++/cxxabi.h: Declare it.
3857 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
3859 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
3860 signal_func with an unspecified argument list.
3862 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
3864 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
3866 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3868 * include/bits/basic_string.tcc (operator+): Fix thinko.
3870 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
3873 * include/bits/std_streambuf.h: Remove cached locale facets.
3874 (basic_streambuf::_M_buf_fctype): Remove.
3875 (basic_streambuf::~basic_streambuf): Remove here.
3876 (basic_streambuf::basic_streambuf): Same.
3877 (basic_streambuf::imbue): Same.
3878 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
3879 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
3880 (basic_filebuf::~basic_filebuf()): Remove here.
3881 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
3882 (basic_filebuf::imbue): Same.
3883 * include/bits/localefwd.h (_Count_ones): Remove.
3884 (locale::_S_num_categories): Just use 6, since this doesn't
3885 actually change, ever.
3886 * include/bits/locale_facets.tcc (has_facet): Simplify.
3888 * testsuite/27_io/filebuf.cc (test06): Add tests.
3890 2001-03-13 Steve Ellcey <sje@cup.hp.com>
3892 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
3893 match HP-UX ctype.h header file.
3895 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
3897 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
3898 duplicate definitions of __dj_ctype_*
3900 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
3902 * libsupc++/new: Remove pragma interface.
3903 * libsupc++/typeinfo: Same.
3904 * libsupc++/exception: Same.
3905 * libsupc++/new_handler.cc: Remove pragma implementation.
3906 (bad_alloc::~bad_alloc()): Add.
3907 * libsupc++/exception_support.cc: Same.
3908 (exception::~exception): Add.
3909 (bad_exception::~bad_exception): Add.
3910 * libsupc++/tinfo.cc: Same.
3911 (bad_cast::~bad_cast): Add.
3912 (bad_typeid::~bad_typeid): Add.
3914 2001-03-13 Phil Edwards <pme@sources.redhat.com>
3916 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
3918 2001-03-12 Felix Lee <flee@redhat.com>
3920 * mkcheck.in: workaround for bash 2.01 IFS bug.
3922 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
3924 Fixups for -fno-for-scope
3925 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
3926 * src/valarray-inst.cc (__gslice_to_index): Same.
3928 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
3930 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
3931 prior to trapping signal (UnixWare 7 workaround).
3933 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
3935 * include/backward/hashtable.h: Same.
3936 * include/backward/rope.h: Fix include.
3938 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
3940 * include/backward/vector.h: Include std_vector.h.
3942 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
3943 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
3946 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3948 * include/ext/stl_hashtable.h: Change type of __n to size_t
3949 * include/backward/bvector.h: Include <ext/stl_bvector.h>
3951 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3953 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
3954 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
3955 Use streamsize, not int_type.
3957 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
3959 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
3962 2001-03-08 Andreas Schwab <schwab@suse.de>
3964 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
3966 * aclocal.m4, configure: Regenerated.
3968 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
3970 * include/bits/std_iosfwd.h: Remove string forward decls here.
3971 * include/bits/stringfwd.h: Add forward decls for char_traits
3973 * config/c_io_libio.h (wstreamoff): Delete.
3974 * config/c_io_stdio.h (wstreamoff): Same.
3975 * include/bits/char_traits.h: Use streamoff not wstreamoff for
3976 char_traits<wchar_t>::off_type.
3977 Remove duplicate typedefs.
3978 * include/bits/fpos.h: Define streampos/wstreampos here.
3979 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
3982 Changeup output files.
3983 * testsuite/27_io/istream_unformatted.cc: Change output files.
3984 * testsuite/27_io/istream_seeks-1.txt: Add.
3985 * testsuite/27_io/istream_seeks-2.tst: Add.
3986 * testsuite/27_io/istream_seeks-1.tst: Add.
3987 * testsuite/27_io/istream_unformatted-2.tst: Delete.
3988 * testsuite/27_io/istream_unformatted-3.tst: Delete.
3989 * testsuite/27_io/istream_unformatted-3.txt: Delete.
3991 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
3993 Add Irix 5.2, 6.3 support.
3994 * config/os/irix/bits: Renamed to...
3995 * config/os/irix/irix6.5/bits: this.
3996 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
3997 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
3998 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
3999 * config/os/irix/irix5.2/bits/ctype_noninline.h
4000 (ctype<char>::ctype): Initialize _M_table with __ctype.
4001 * configure.target: Adjust.
4003 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
4006 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
4007 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
4009 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
4010 (*__pf)(__ios_type&)): Same.
4011 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
4012 (*__pf)(ios_base&))): Same.
4013 * testsuite/27_io/istream_extractor_other.cc: Add tests.
4014 * testsuite/27_io/istream_manip.cc (test01): Fix.
4016 2001-03-06 Nathan Myers <ncm@cantrip.org>
4017 Benjamin Kosnik <bkoz@redhat.com>
4019 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
4020 * testsuite/17_intro/header_cerrno.cc (test01): New file.
4021 * testsuite/17_intro/header_cassert.cc (test01): New file.
4022 * testsuite/17_intro/header_cstddef.cc (test01): New file.
4023 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
4024 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
4026 2001-03-05 scott snyder <snyder@fnal.gov>
4029 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
4031 * include/c_std/bits/std_cstdlib.h: ... to here.
4032 * testsuite/17_intro/header_cstdlib.cc: Add test.
4034 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
4036 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
4038 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
4040 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
4041 definition. Replace enum with static const variables.
4043 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
4044 throw specification, fix typos, use <static_cast>.
4045 (ctype<char>::scan_is): remove throw specification.
4046 (ctype<char>::scan_not): likewise.
4048 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
4049 (ctype<char>::do_toupper(char)): use <static_cast>.
4050 (ctype<char>::do_toupper(char *, const char *)): likewise.
4051 (ctype<char>::do_tolower(char)): likewise.
4052 (ctype<char>::do_tolower(char *, const char *)): likewise.
4054 2001-03-04 Phil Edwards <pme@sources.redhat.com>
4056 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
4057 * include/backward/algo.h: Use std not __STD. Remove unneeded
4058 macros and "never happens" code. Adjust to C++STYLE guidelines.
4059 * include/backward/algobase.h: Likewise.
4060 * include/backward/alloc.h: Likewise.
4061 * include/backward/bvector.h: Likewise.
4062 * include/backward/deque.h: Likewise.
4063 * include/backward/function.h: Likewise.
4064 * include/backward/hash_map.h: Likewise.
4065 * include/backward/hash_set.h: Likewise.
4066 * include/backward/hashtable.h: Likewise.
4067 * include/backward/heap.h: Likewise.
4068 * include/backward/iterator.h: Likewise.
4069 * include/backward/list.h: Likewise.
4070 * include/backward/map.h: Likewise.
4071 * include/backward/multimap.h: Likewise.
4072 * include/backward/multiset.h: Likewise.
4073 * include/backward/pair.h: Likewise.
4074 * include/backward/rope.h: Likewise.
4075 * include/backward/set.h: Likewise.
4076 * include/backward/slist.h: Likewise.
4077 * include/backward/stack.h: Likewise.
4078 * include/backward/strstream: Likewise.
4079 * include/backward/tempbuf.h: Likewise.
4080 * include/backward/tree.h: Likewise.
4081 * include/backward/vector.h: Likewise.
4082 * include/bits/basic_ios.h: Likewise.
4083 * include/bits/basic_ios.tcc: Likewise.
4084 * include/bits/basic_string.h: Likewise.
4085 * include/bits/c++config: Likewise.
4086 * include/bits/concept_checks.h: Likewise.
4087 * include/bits/fpos.h: Likewise.
4088 * include/bits/fstream.tcc: Likewise.
4089 * include/bits/functexcept.h: Likewise.
4090 * include/bits/ios_base.h: Likewise.
4091 * include/bits/istream.tcc: Likewise.
4092 * include/bits/mask_array.h: Likewise.
4093 * include/bits/ostream.tcc: Likewise.
4094 * include/bits/pthread_allocimpl.h: Likewise.
4095 * include/bits/sbuf_iter.h: Likewise.
4096 * include/bits/slice.h: Likewise.
4097 * include/bits/slice_array.h: Likewise.
4098 * include/bits/sstream.tcc: Likewise.
4099 * include/bits/std_bitset.h: Likewise.
4100 * include/bits/std_fstream.h: Likewise.
4101 * include/bits/std_iomanip.h: Likewise.
4102 * include/bits/std_ios.h: Likewise.
4103 * include/bits/std_istream.h: Likewise.
4104 * include/bits/std_iterator.h: Likewise.
4105 * include/bits/std_memory.h: Likewise.
4106 * include/bits/std_ostream.h: Likewise.
4107 * include/bits/std_sstream.h: Likewise.
4108 * include/bits/std_streambuf.h: Likewise.
4109 * include/bits/std_string.h: Likewise.
4110 * include/bits/std_valarray.h: Likewise.
4111 * include/bits/stl_algo.h: Likewise.
4112 * include/bits/stl_algobase.h: Likewise.
4113 * include/bits/stl_alloc.h: Likewise.
4114 * include/bits/stl_construct.h: Likewise.
4115 * include/bits/stl_deque.h: Likewise.
4116 * include/bits/stl_function.h: Likewise.
4117 * include/bits/stl_heap.h: Likewise.
4118 * include/bits/stl_iterator.h: Likewise.
4119 * include/bits/stl_iterator_base.h: Likewise.
4120 * include/bits/stl_list.h: Likewise.
4121 * include/bits/stl_map.h: Likewise.
4122 * include/bits/stl_multimap.h: Likewise.
4123 * include/bits/stl_multiset.h: Likewise.
4124 * include/bits/stl_numeric.h: Likewise.
4125 * include/bits/stl_pair.h: Likewise.
4126 * include/bits/stl_pthread_alloc.h: Likewise.
4127 * include/bits/stl_queue.h: Likewise.
4128 * include/bits/stl_raw_storage_iter.h: Likewise.
4129 * include/bits/stl_relops.h: Likewise.
4130 * include/bits/stl_set.h: Likewise.
4131 * include/bits/stl_stack.h: Likewise.
4132 * include/bits/stl_tempbuf.h: Likewise.
4133 * include/bits/stl_threads.h: Likewise.
4134 * include/bits/stl_tree.h: Likewise.
4135 * include/bits/stl_uninitialized.h: Likewise.
4136 * include/bits/stl_vector.h: Likewise.
4137 * include/bits/streambuf.tcc: Likewise.
4138 * include/bits/type_traits.h: Likewise.
4139 * include/bits/valarray_meta.h: Likewise.
4140 * include/ext/bvector: Likewise.
4141 * include/ext/hash_map: Likewise.
4142 * include/ext/hash_set: Likewise.
4143 * include/ext/ropeimpl.h: Likewise.
4144 * include/ext/slist: Likewise.
4145 * include/ext/stl_bvector.h: Likewise.
4146 * include/ext/stl_hash_fun.h: Likewise.
4147 * include/ext/stl_hashtable.h: Likewise.
4148 * include/ext/stl_rope.h: Likewise.
4149 * src/complex_io.cc: Likewise.
4150 * src/ios.cc: Likewise.
4151 * src/locale-inst.cc: Likewise.
4152 * src/locale.cc: Likewise.
4153 * src/localename.cc: Likewise.
4154 * src/misc-inst.cc: Likewise.
4155 * src/stdexcept.cc: Likewise.
4156 * src/stl-inst.cc: Likewise.
4157 * src/strstream.cc: Likewise.
4158 * src/valarray-inst.cc: Likewise.
4160 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
4162 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
4164 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4166 * include/bits/istream.tcc: change type of __extracted to __size_type
4168 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
4170 * src/wstring-inst.cc: New file.
4171 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
4172 (libinst_wstring_la_SOURCES): Remove.
4173 (libstdc___la_LIBADD): Remove libinst_wstring_la.
4174 (sources): Add wstring-inst.cc
4175 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
4178 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4180 * src/locale.cc: initialise __ret with zero
4181 * src/strstream.cc:cast gptr to int_type
4183 2001-03-01 Phil Edwards <pme@sources.redhat.com>
4185 * docs/html/faq/index.html: Update broken links.
4186 * docs/html/faq/index.txt: Regenerated.
4188 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
4191 * configure.target: Change irix* to irix6.5* in target_os table.
4193 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
4196 * include/bits/c++config (__GLIBCPP__): Bump number in
4197 anticipation of 2.92.
4199 * include/bits/codecvt.h: Fix typo.
4200 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
4202 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
4203 instantiations for stdio model.
4205 2001-02-28 Phil Edwards <pme@sources.redhat.com>
4207 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
4208 and GLIBCPP_CXXFLAGS as unused variables.
4209 * configure.host: Likewise.
4210 * configure.target: Likewise.
4211 * aclocal.m4: Regenerated.
4212 * configure: Regenerated.
4213 * Makefile.in: Regenerated.
4214 * libio/Makefile.in: Regenerated.
4215 * libmath/Makefile.in: Regenerated.
4216 * libsupc++/Makefile.in: Regenerated.
4217 * src/Makefile.in: Regenerated.
4219 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
4222 * include/bits/basic_file.h: Include basic_file_model.h.
4223 * config/c_io_libio.cc: Move to...
4224 * config/basic_file_libio.cc: Here.
4225 * config/basic_file_libio.h: New file.
4226 * config/c_io_stdio.cc: Move to...
4227 * config/basic_file_stdio.cc: Here.
4228 * config/basic_file_stdio.h: New file.
4229 * config/c_io_libio.h: Tweak.
4230 * config/c_io_stdio.h: Tweak.
4231 * src/Makefile.am (build_headers): Add basic_file_model.h.
4232 (sources): Add basic_file.cc, remove c++io.cc.
4233 * src/Makefile.in: Regenerate.
4234 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
4235 basic_file_model.h and basic_file.cc.
4236 * aclocal.m4: Regenerate.
4237 * configure: Regenerate.
4238 * testsuite/27_io/filebuf.cc (test05): Add regression.
4240 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
4243 * config/cpu/alpha/bits/atomicity.h: Change.
4244 * config/cpu/arm/bits/atomicit3y.h
4245 * config/cpu/generic/bits/atomicity.h
4246 * config/cpu/i386/bits/atomicity.h
4247 * config/cpu/i486/bits/atomicity.h
4248 * config/cpu/ia64/bits/atomicity.h
4249 * config/cpu/powerpc/bits/atomicity.h
4250 * config/cpu/sparc/sparc32/bits/atomicity.h
4251 * config/cpu/sparc/sparc64/bits/atomicity.h
4252 * config/os/aix/bits/atomicity.h
4253 * config/os/irix/bits/atomicity.h
4255 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
4257 * include/bits/std_stdexcept.h (runtime_error): Make string
4259 (logic_error): Same.
4260 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
4263 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
4267 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
4268 string object, not reference.
4269 (runtime_error::runtime_error): Same.
4270 * testsuite/19_diagnostics/stdexceptions.cc: New file.
4272 2001-02-26 Phil Edwards <pme@sources.redhat.com>
4274 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
4275 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
4276 diagnostics. Remove WFMT_FLAGS.
4277 * configure.in: Replace WFMT_FLAGS with diagnostics options.
4278 * libsupc++/Makefile.am: Likewise.
4279 * src/Makefile.am: Likewise.
4280 * aclocal.m4: Regenerated.
4281 * configure: Regenerated.
4282 * Makefile.in: Regenerated.
4283 * libio/Makefile.in: Regenerated.
4284 * libmath/Makefile.in: Regenerated.
4285 * libsupc++/Makefile.in: Regenerated.
4286 * src/Makefile.in: Regenerated.
4288 2001-02-26 Phil Edwards <pme@sources.redhat.com>
4290 Fixes libstdc++/2079
4291 * include/backward/iomanip.h: Expose <ios> manipulators to global
4293 * include/backward/iostream.h: Also expose std::ws.
4295 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
4297 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
4299 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
4301 * include/bits/codecvt.h: Use __builtin_alloca.
4302 * include/bits/ostream.tcc: Same.
4303 * include/bits/fstream.tcc: Same.
4305 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
4307 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
4309 2001-02-23 David Edelsohn <dje@watson.ibm.com>
4311 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
4313 2001-02-23 Phil Edwards <pme@sources.redhat.com>
4316 * include/backward/iostream.h: Expose std::flush in old headers.
4318 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4320 * mknumeric_limits: Remove special-casing on target. Use gcc
4321 instead of g++ to build gen-num-limits.cc
4323 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
4325 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
4327 * include/bits/codecvt.h: Use alloca instead of __extension__ for
4329 * include/bits/ostream.tcc: Same.
4330 * include/bits/std_ostream.h: Same.
4331 * include/bits/fstream.tcc: Same.
4332 * include/bits/locale_facets.tcc: Add typename.
4333 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
4335 2001-02-21 Phil Edwards <pme@sources.redhat.com>
4337 * tests_flags.in: Remove -n flag from call to echo.
4339 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
4341 * config/c_locale_gnu.h: Add clocale include.
4343 2001-02-20 Phil Edwards <pme@sources.redhat.com>
4345 * include/bits/stl_config.h: Remove file.
4346 * src/Makefile.am (base_headers): Remove from list.
4347 * configure: Regenerate.
4348 * Makefile.in: Ditto.
4349 * libio/Makefile.in: Ditto.
4350 * libmath/Makefile.in: Ditto.
4351 * libsupc++/Makefile.in: Ditto.
4352 * src/Makefile.in: Ditto.
4354 * include/bits/c++config: Move relevant macros to here.
4355 * include/backward/alloc.h: Include c++config.h instead.
4356 * include/backward/function.h: Ditto.
4357 * include/backward/heap.h: Ditto.
4358 * include/backward/pair.h: Ditto.
4359 * include/bits/pthread_allocimpl.h: Ditto.
4360 * include/bits/std_functional.h: Ditto.
4361 * include/bits/std_iterator.h: Ditto.
4362 * include/bits/std_numeric.h: Ditto.
4363 * include/bits/std_utility.h: Ditto.
4364 * include/bits/stl_algobase.h: Ditto.
4365 * include/bits/type_traits.h: Ditto.
4366 * src/stl-inst.cc: Ditto.
4368 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4370 * include/bits/basic_file.h: Add #pragma system_header
4371 * include/bits/basic_ios.h: Ditto.
4372 * include/bits/basic_string.h: Ditto.
4373 * include/bits/char_traits.h: Ditto.
4374 * include/bits/codecvt.h: Ditto.
4375 * include/bits/cpp_type_traits.h: Ditto.
4376 * include/bits/fpos.h: Ditto.
4377 * include/bits/gslice.h: Ditto.
4378 * include/bits/gslice_array.h: Ditto.
4379 * include/bits/indirect_array.h: Ditto.
4380 * include/bits/ios_base.h: Ditto.
4381 * include/bits/limits_generic.h: Ditto.
4382 * include/bits/locale_facets.h: Ditto.
4383 * include/bits/localefwd.h: Ditto.
4384 * include/bits/mask_array.h: Ditto.
4385 * include/bits/sbuf_iter.h: Ditto.
4386 * include/bits/sequence_concepts.h: Ditto.
4387 * include/bits/slice.h: Ditto.
4388 * include/bits/slice_array.h: Ditto.
4389 * include/bits/std_algorithm.h: Likewise.
4390 * include/bits/std_bitset.h: Likewise.
4391 * include/bits/std_complex.h: Likewise.
4392 * include/bits/std_deque.h: Likewise.
4393 * include/bits/std_fstream.h: Likewise.
4394 * include/bits/std_functional.h: Likewise.
4395 * include/bits/std_iomanip.h: Likewise.
4396 * include/bits/std_ios.h: Likewise.
4397 * include/bits/std_iosfwd.h: Likewise.
4398 * include/bits/std_iostream.h: Likewise.
4399 * include/bits/std_istream.h: Likewise.
4400 * include/bits/std_iterator.h: Likewise.
4401 * include/bits/std_list.h: Likewise.
4402 * include/bits/std_locale.h: Likewise.
4403 * include/bits/std_map.h: Likewise.
4404 * include/bits/std_memory.h: Likewise.
4405 * include/bits/std_numeric.h: Likewise.
4406 * include/bits/std_ostream.h: Likewise.
4407 * include/bits/std_queue.h: Likewise.
4408 * include/bits/std_set.h: Likewise.
4409 * include/bits/std_sstream.h: Likewise.
4410 * include/bits/std_stack.h: Likewise.
4411 * include/bits/std_stdexcept.h: Likewise.
4412 * include/bits/std_streambuf.h: Likewise.
4413 * include/bits/std_string.h: Likewise.
4414 * include/bits/std_utility.h: Likewise.
4415 * include/bits/std_valarray.h: Likewise.
4416 * include/bits/std_vector.h: Likewise.
4417 * include/bits/stringfwd.h: Likewise.
4418 * include/bits/type_traits.h: Likewise.
4419 * include/bits/valarray_array.h: Likewise.
4420 * include/bits/valarray_meta.h: Likewise.
4422 2001-02-19 Andreas Jaeger <aj@suse.de>
4424 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
4427 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
4430 * include/bits/std_ostream.h: Replaced usage of
4431 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
4432 * include/bits/char_traits.h: Removed non-standard
4433 methods that cannot be used elsewhere.
4436 * include/bits/basic_ios.h: Uncommented #include of
4440 * include/bits/codecvt.h: See next...
4441 * include/bits/fstream.tcc: See next...
4442 * include/bits/ostream.tcc: Add __extension__
4443 to variable-length arrays.
4446 * include/bits/localefwd.h: Changed int counter type to size_t.
4449 * include/bits/std_fstream.h: Added typedef for __ctype_type.
4451 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
4453 * testsuite/21_strings/char_traits.cc: Move to ...
4454 * testsuite/21_strings/char_traits_requirements.cc: ..here.
4455 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
4456 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
4458 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
4460 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
4463 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
4465 * include/bits/c++config: Revert.
4467 2001-02-15 Mark Mitchell <mark@codesourcery.com>
4469 * include/bits/istream.tcc: Use ios_base::iostate in place of
4470 iostate throughout. Insert `typename' keyword where necessary.
4471 * include/bits/ostream.tcc: Insert `typename' keyword where
4474 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
4476 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
4477 Define so library is compliant.
4479 2001-02-15 Anthony Green <green@redhat.com>
4481 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
4483 * aclocal.m4: Regenerate.
4484 * configure: Regenerate.
4486 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
4488 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
4489 Include ieeefp.h for fpclass on UnixWare{2,7}.
4490 * aclocal.m4: Regenerate.
4491 * configure: Regenerate.
4492 * mkcheck.in (size_command): Do without GNU-grep when using
4495 2001-02-15 Mark Mitchell <mark@codesourcery.com>
4497 Remove old ABI support from libsupc++.
4498 * libsupc++/cxxabi.h: Remove conditionally compiled code.
4499 * libsupc++/exception_support.cc: Likewise.
4500 * libsupc++/pure.cc: Likewise.
4501 * libsupc++/tinfo.cc: Likewise.
4502 * libsupc++/tinfo.h: Likewise.
4503 * libsupc++/tinfo2.cc: Likewise.
4504 * libsupc++/typeinfo: Likewise.
4505 * libsupc++/vec.cc: Likewise.
4507 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
4509 Add support for -fno-exceptions.
4510 * include/bits/exception_support.h: Remove.
4511 * include/bits/basic_string.h: Remove exception_support.
4512 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
4514 (string::substr): Same.
4515 * include/bits/basic_string.tcc (string::reserve): Replace
4516 __LENGTHERROR with __throw_length_error.
4517 (string::_S_create): Same.
4518 (string::resize): Same.
4519 (string::_M_replace): Same.
4520 (string::replace): Same.
4521 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
4522 (string::compare): Same.
4523 * include/bits/stl_vector.h: Remove exception_support.
4524 * src/Makefile.am (base_headers): Remove here.
4525 * src/Makefile.in: Regenerate.
4527 * include/bits/stl_range_errors.h: Remove.
4528 * include/bits/stl_deque.h: Use __throw_range_error.
4529 * include/bits/std_deque.h: Include functexcept.h.
4530 * include/bits/std_vector.h: Same.
4531 * src/Makefile.am (base_headers): Remove here.
4532 * src/Makefile.in: Regenerate.
4533 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
4534 * include/ext/bvector: Remove stl_range_errors.h
4536 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
4538 * include/bits/functexcept.h: New file.
4539 * src/functexcept.cc: New file. Definitions for function-based
4541 * src/Makefile.am (sources): Add functexcept.cc.
4542 * src/Makefile.in: Regenerate.
4544 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
4547 * include/bits/localefwd.h: Include functexcept.h.
4548 * include/bits/std_iosfwd.h: Same.
4550 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
4551 throw basic_ios::failure.
4552 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
4553 Use __throw_exception_again.
4554 (filebuf::_M_filebuf_init): Same.
4555 * include/bits/streambuf.tcc (__copy_streambufs): Same.
4556 * include/bits/ostream.tcc (ostream::operator<<): Same.
4557 * include/bits/istream.tcc (istream::operator>>): Same.
4558 * include/bits/basic_string.tcc (string::_M_mutate): Same.
4559 (string::_S_construct): Same.
4560 (string::_M_clone): Same.
4561 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
4563 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
4564 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
4565 __throw_exception_again.
4566 (locale::_Imp::_Imp(string, size_t): Same.
4567 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
4568 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
4569 (locale::locale(const char*)): Use __throw_runtime_error.
4570 (locale::classic): Use __throw_exception_again.
4571 (locale::_S_normalize_category): Use __throw_runtime_error.
4573 * src/stdexcept.cc: Remove cruft.
4575 * libsupc++/exception_defines.h: New file.
4576 * libsupc++/new_opnt.cc: Include exception_defines.h.
4577 * libsupc++/vec.cc: Same.
4578 (__cxa_vec_new2): Use __throw_exception_again.
4579 (__cxa_vec_new3): Same.
4580 (__cxa_vec_ctor): Same.
4581 (__cxa_vec_delete3): Same.
4582 (__cxa_vec_cctor): Same.
4583 (__cxa_vec_delete2): Same.
4584 (__cxa_vec_dtor): Same.
4585 * libsupc++/exception_support.cc: Include exception_defines.h. Only
4586 compile exception-handling bits if __EXCEPTIONS is defined.
4587 Remove old ABI support.
4588 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
4589 std::__throw_bad_alloc() instead of throw bad_alloc.
4590 * libsupc++/Makefile.am: Add exception_defines.h.
4591 * libsupc++/Makefile.in: Reformat.
4592 * libsupc++/*: Format.
4594 2001-02-15 Phil Edwards <pme@sources.redhat.com>
4596 * docs/html/configopts.html: Minor updates and typo fixes.
4597 * docs/html/faq/index.html: Updates of the "not really bugs" list.
4598 * docs/html/faq/index.txt: Regenerated.
4600 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
4602 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
4603 dejagnu/dg.exp. Adapt to log options used to run testcases.
4605 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4607 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
4610 2001-02-13 Dirk Mueller <dmuell@gmx.net>
4611 Phil Edwards <pme@sources.redhat.com>
4613 * include/backward/function.h: Do not use rel_ops for older
4615 * include/backward/pair.h: Likewise.
4617 2001-02-12 Mark Mitchell <mark@codesourcery.com>
4619 * src/locale.cc: Remove bogus locale::id definitions.
4621 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4623 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
4624 not _DEFINE_VALARRAY_OPERATOR which is not existent.
4626 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
4627 thinko in member initialisation.
4629 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
4631 * include/bits/std_valarray.h(valarray<>::shift): Avoid
4632 comparaison between signed and unsigned integer types.
4633 (valarray<>::cshift): Reformat.
4635 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
4637 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
4638 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
4639 * configure.in: Test for sigsetjmp.
4640 * configure, config.h.in: Rebuilt.
4642 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
4644 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
4645 lengths and strides.
4646 (__gslice_to_index): Document.
4648 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
4650 * include/bits/char_traits.h char_traits<char>::int_type: Change
4651 to `int' to match 21.1.3.1/2.
4653 * testsuite/21_strings/char_traits-int_type.C: New test.
4655 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
4657 * testsuite/Makefile.am: New file.
4659 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
4661 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
4663 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
4665 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
4667 2001-02-08 David Edelsohn <edelsohn@gnu.org>
4669 * configure.target (aix4*): Remove extra set of brackets.
4671 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
4674 * include/bits/stringfwd.h: New file.
4675 * include/bits/stl_string_fwd.h: Remove.
4676 * include/bits/localefwd.h: Remove declaration for allocator.
4677 * include/bits/std_iosfwd: Same.
4678 * include/bits/std_string.h: Include it.
4679 * include/bits/std_ios.h: Remove include.
4680 * include/bits/basic_string.h: Tweak.
4681 * libsupc++/new: Format.
4682 * src/Makefile.am (base_headers): Add stringfwd.h, remove
4684 * src/Makefile.in: Regenerate.
4685 * include/bits/std_stdexcept.h: Rewrite.
4686 * src/stdexcept.cc: Same.
4688 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
4690 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
4691 install locations too.
4692 * aclocal.m4: Regenerate.
4693 * configure.in: Remove USE_LIBDIR.
4694 * configure: Regenerate.
4695 * src/Makefile.am (toolexecdir): Simplify, use
4696 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
4697 * src/Makefile.in: Regenerate.
4698 * libsupc++/Makefile.am: Same.
4699 * libsupc++/Makefile.in: Regenerate.
4701 * src/Makefile.am: Just remove special rules for locale-inst.cc and
4702 misc-inst.cc as no longer necessary.
4704 Follow C++STYLE for naming non-static functions.
4705 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
4707 * include/bits/streambuf.tcc: Same.
4708 * include/bits/ostream.tcc: Same.
4709 * include/bits/istream.tcc: Same.
4710 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
4711 (_S_output_float): To __output_float.
4712 * include/bits/std_streambuf.h (_S_copy_streambufs): To
4714 * include/bits/locale_facets.tcc (_S_build_float_format): To
4715 __build_float_format.
4716 (_S_format): To __output_integer.
4717 (_S_fill): To __pad.
4718 * src/locale.cc: Same.
4719 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
4721 * include/bits/locale_facets.tcc (_S_group_digits): To
4723 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
4724 for collate, numpunct.
4726 2001-02-06 Phil Edwards <pme@sources.redhat.com>
4728 * docs/html/configopts.html: Fix HTML markup.
4729 * docs/html/install.html: Bring up to date.
4730 * docs/html/17_intro/C++STYLE: Add global variable conventions.
4731 * docs/html/21_strings/howto.html: More notes.
4732 * docs/html/22_locale/howto.html: Fix HTML markup.
4733 * docs/html/27_io/howto.html: More notes.
4734 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
4735 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
4737 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
4739 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
4740 to match header files.
4741 (_S_output_float): Likewise.
4742 (_S_copy_streambufs): Likewise.
4744 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
4745 Phil Edwards <pme@sources.redhat.com>
4747 * include/bits/std_istream.h (op>> signed,unsigned char): Must
4748 use reinterpret_cast, not static_cast.
4750 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
4752 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
4753 * aclocal.m4: Regenerate.
4754 * configure: Regenerate.
4756 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
4758 * include/bits/locale_facets.h (class moneypunct): Fix typos.
4759 * libsupc++/pure.cc: Revert.
4761 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
4763 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
4764 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
4765 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
4766 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
4767 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
4768 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
4769 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
4770 * aclocal.m4: Regenerate.
4771 * configure: Regenerate.
4773 2001-02-05 Mark Mitchell <mark@codesourcery.com>
4775 * include/bits/locale_facets.tcc: Remove `static' keyword on
4776 function definitions.
4777 * include/bits/std_streambuf.h: Likewise.
4778 * src/Makefile.am: Remove use of -fimplicit-templates.
4779 * src/Makefile.in: Regenerated.
4780 * src/locale-inst.cc: Explicitly instantiate more functions.
4781 * src/misc-inst.cc: Likewise.
4782 * src/string-inst.cc: Likewise.
4784 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
4786 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
4787 macro. Consolidate all the bits to do with where includes might be
4789 * aclocal.m4: Regenerate.
4790 * configure.in: Use it.
4791 * configure: Regenerate.
4792 * src/Makefile.am (targetincludep): Use simplified rules.
4793 (targetincludep): Rename gxx_target_include_dir.
4794 (myincludep): Rename gxx_include_dir.
4795 * src/Makefile.in: Regenerate.
4796 * libsupc++/Makefile.am: Use simplified rules.
4797 * libsupc++/Makefile.in: Regenerate.
4799 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
4801 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
4802 * include/c_std/bits/std_cctype.h: Same.
4803 * include/c_std/bits/std_cassert.h: Same.
4804 * include/c_std/bits/std_cstdarg.h: Same.
4805 * include/c_std/bits/std_cstddef.h: Same.
4807 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
4809 * include/c_std/bits/std_ctime.h: Same.
4810 * include/c_std/bits/std_clocale.h: Same.
4811 * include/c_std/bits/std_cmath.h: Same.
4812 * include/c_std/bits/std_csetjmp.h: Same.
4813 * include/c_std/bits/std_csignal.h: Same.
4814 * include/c_std/bits/std_cstring.h: Same.
4815 * include/c_std/bits/std_cstdlib.h: Same.
4816 * include/c_std/bits/std_cwchar.h: Same.
4818 2001-02-05 Phil Edwards <pme@sources.redhat.com>
4820 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
4822 2001-02-05 Mark Mitchell <mark@codesourcery.com>
4824 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
4825 (string::_S_construct): Likewise.
4827 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
4829 * testsuite/config/default.exp: New file.
4830 * testsuite/config: New directory.
4832 2001-02-04 Mark Mitchell <mark@codesourcery.com>
4834 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
4835 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
4836 whenever !__GXX_MERGED_TYPEINFO_NAMES.
4837 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
4839 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
4840 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
4842 * Makefile.am (mkinstalldirs): Set.
4843 * src/Makefile.am (mkinstalldirs): Set.
4844 * libmath/Makefile.am (mkinstalldirs): Set.
4845 * libsup++/Makefile.am (mkinstalldirs): Set.
4846 * libio/Makefile.am (mkinstalldirs): Set.
4847 * */Makefile.in: Regenerate.
4849 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
4851 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
4852 * include/bits/localefwd.h: More initialization cleanups.
4854 2001-02-03 Jeffrey A Law <law@cygnus.com>
4856 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
4857 correctly targets with 16bit ints.
4858 (_S_ios_openmode_end): Similarly.
4859 (_S_ios_iostate_end): Similarly.
4860 (_S_ios_Seekdir_end): Similarly.
4862 2001-02-02 Phil Edwards <pme@sources.redhat.com>
4864 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
4866 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
4868 * configure.in (toplevel_srcdir, auxdir): Set.
4869 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
4870 * aclocal.m4, configure, Makefile.in: Rebuilt.
4871 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
4872 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
4873 * libsupc++-v3/Makefile.in: Rebuilt.
4874 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
4875 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
4877 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
4879 * config/c_locale_generic.cc: Remove langinfo include.
4881 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
4883 Preliminary named locales.
4884 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
4885 * aclocal.m4: Regenerate.
4886 * configure.in: Use it.
4887 * configure: Regerate.
4888 * src/Makefile.am (sources): Add c++locale.cc.
4889 (build_headers): Add c++locale.h.
4890 * src/Makefile.in: Regenerate.
4891 * config/c_locale_gnu.h: New file.
4892 * config/c_locale_gnu.cc: New file. Non-inline member functions
4893 for named locales, gnu-specific.
4894 * config/c_locale_generic.h: New file.
4895 * config/c_locale_generic.cc: New file. Non-inline member
4896 functions for named locales, generic version.
4897 * docs/html/configopts.html: Add documentation on new options.
4899 * include/bits/locale_facets.h (class _Messages): Remove.
4900 (class _Moneypunct): Remove.
4901 * src/locale-inst.cc: Remove.
4903 * include/bits/locale_facets.h (class _Collate): Remove.
4904 * src/locale-inst.cc (std): Remove.
4905 * src/locale.cc: And here.
4907 * include/bits/localefwd.h (locale::_M_coalesce): New
4908 function. Correctly put together multi-name locales.
4909 (_Impl(const _Impl&, category, size_t)): Remove.
4911 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
4913 (_M_normalize_category_names): Remove.
4914 (_M_replace_categories): Fix.
4916 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
4917 (locale::_Impl::_M_construct_ctype): Remove.
4918 (locale::_Impl::_M_construct_monetary): Remove.
4919 (locale::_Impl::_M_construct_numeric): Remove.
4920 (locale::_Impl::_M_construct_time): Remove.
4921 (locale::_Impl::_M_construct_messages): Remove.
4923 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
4924 (_Use_facet_failure_handle): Remove.
4925 * src/locale.cc: Remove definitions.
4926 * src/locale-inst.cc: And here.
4928 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
4930 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
4931 create and error-check underlying locale object.
4932 (locale::facet::_S_destroy_c_locale): Add, take care of properly
4933 tearing down underlying locale object.
4934 * include/bits/localefwd.h (locale::facet): Declare.
4935 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
4936 correctness, as glibc apparently has incorrect info in it. Test
4937 with it when it works again.....
4939 * include/bits/localefwd.h (locale::_Impl::__vec_string):
4940 Remove. Number of categories is fixed at six, so just simplify and
4941 make this an array of strings.
4942 (locale::_Impl::_M_has_name): Remove.
4943 (locale::_Impl::_M_name): Remove.
4944 (locale::_Impl::_M_category_names): Turns into...
4945 (locale::_Impl::_M_names): ...this.
4946 (locale::_Impl::_M_has_same_name()): New function.
4947 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
4948 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
4950 * src/locale.cc (locale::name()): Construct mangled name
4951 accurately reflecting combined locale categories.
4953 * src/locale.cc (locale::classic()): Don't initialize here.
4954 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
4955 __refs, bool __has_name, string __str): Do it here.
4957 * include/bits/localefwd.h: _S_categories_num to
4958 _S_num_categories. _S_facets_num to _S_num_facets.
4959 (locale::id::id()): Explicitly set _M_index to zero.
4960 * src/locale.cc: Same.
4962 * src/locale.cc: (locale::locale(const char*)): Construct named
4965 * src/locale.cc: Remove numpunct_byname ctors.
4966 * testsuite/22_locale/numpunct_byname.cc: New file.
4967 * testsuite/22_locale/numpunct.cc: New file.
4969 * include/bits/localefwd.h (class locale): Change data members to
4970 protected, from private.
4971 (_Impl::_M_get_c_locale): Add member function.
4972 (locale::facet::_M_get_global_impl()): Add member function.
4973 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
4974 a __c_locale pointer.
4975 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
4977 * testsuite/22_locale/members.cc: New file, test name and combine.
4979 * include/bits/locale_facets.h (class numpunct): Remove class
4980 _Punct and _Numpunct. Rewrite class numpunct to be correct for
4982 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
4983 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
4984 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
4985 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
4986 * testsuite/22_locale/numpunct_char_members.cc: New file.
4988 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
4990 * testsuite/README: Add more comment.
4991 * testsuite/lib/libstdc++.exp: Tweak comment.
4993 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
4995 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
4997 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
4999 * testsuite/21_strings/inserters_extractors.cc: Remove
5000 explicit reference to 'testsuite/'.
5002 2001-01-25 Richard Henderson <rth@redhat.com>
5004 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
5005 bits. Fixes Tru64 build issues.
5007 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
5009 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
5010 (use ${MAKE-make}, not ${MAKE:-make}).
5011 * aclocal.m4, configure: Regenerate.
5013 2001-01-25 Mark Mitchell <mark@codesourcery.com>
5015 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
5018 * src/Makefile.am (sources): Add globals.cc.
5019 * src/Makefile.in: Regenerated.
5020 * src/globals.cc: New file.
5021 * src/ios.cc (cin): Don't define here, just declare extern.
5030 2001-01-25 Phil Edwards <pme@sources.redhat.com>
5032 * include/bits/std_iterator.h: Do not include stl_relops.h.
5033 * include/bits/std_numeric.h: Ditto.
5034 * include/bits/stl_algobase.h: Ditto.
5035 * include/bits/stl_relops.h: Add comment warning about problems.
5037 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
5039 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
5040 in testcases. Prepare for the DejaGnu based framework.
5041 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
5042 directory -- it is now mkcheck working directory.
5043 * tests_flags.in: Remove reference to $(top_srcdir). Use
5045 * Makefile.am (check, check-install): Change mkcheck invocation
5047 * Makefile.in: Regenerate.
5049 2001-01-24 Mark Mitchell <mark@codesourcery.com>
5051 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
5052 (__always_swap): Likewise.
5054 2001-01-23 Chris Demetriou <cgd@broadcom.com>
5056 * libsupc++/exception_support.cc (__terminate_func): Remove
5058 (__terminate_func_ptr): New typedef.
5059 (__terminate, __terminate_set_func): New extern function
5061 (std::terminate): Use __terminate function.
5062 (std::set_terminate): Use __terminate_set_func function.
5064 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
5066 * configure.target: Just use os_include_dir always.
5067 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
5068 Link atomicity files and ctype files here.
5069 * configure: Regenerate.
5070 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
5071 (GLIBCPP_ENABLE_ATOMICITY): Remove.
5072 * aclocal.m4: Regenerate.
5074 2001-01-23 Chris Demetriou <cgd@broadcom.com>
5076 * configure.in: Place definition of MULTISUBDIR in
5077 libsupc++/Makefile as is done for src/Makefile.
5078 * configure: Regenerate.
5080 2001-01-23 Phil Edwards <pme@sources.redhat.com>
5082 * acinclude.m4: Cosmetic changes only.
5083 * aclocal.m4: Regenerated.
5084 * configure: Regenerated.
5085 * configure.target: Update documented list of changed variables.
5086 * docs/html/install.html: Fix typo.
5087 * docs/html/20_util/howto.html: More notes on auto_ptr.
5088 * docs/html/27_io/howto.html: More notes on streabufs.
5089 * docs/html/faq/index.html: Add rel_ops problem and mention the
5090 DEC as(1) .subsection difficulty.
5091 * docs/html/faq/index.txt: Regenerated.
5093 2001-01-23 Mark Mitchell <mark@codesourcery.com>
5095 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
5096 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
5097 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
5098 its already provided in config.target.
5099 * aclocal.m4: Regenerated.
5100 * configure: Likewise.
5101 * configure.target: Set ctype_include_dir for lots of systems.
5102 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
5103 * libsupc++/Makefile.in: Regenerated.
5105 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
5107 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
5110 * testsuite/README: Add comment.
5112 2001-01-21 Phil Edwards <pme@sources.redhat.com>
5114 * docs/html/configopts.html: Update for current status. Fix HTML.
5115 * docs/html/install.html: Update for current status.
5117 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5119 * testsuite/libstdc++.tests/tests.exp: New file.
5120 * testsuite/lib/libstdc++.exp: Itou.
5121 * testsuite/README: Itou.
5123 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
5125 * tests_flags.in: Just output the bare minimum to run tests.
5126 Let's the caller do its own arrangement.
5128 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
5131 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
5133 * testsuite/17_intro: Prepare testcases for new style DejaGnu
5136 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
5138 * testsuite/libstdc++.tests, testsuite/lib: New directories.
5140 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
5142 * mkcheck.in: Construct file names that match $objdir structure.
5143 * testsuite/27_io/filebuf_members-1.txt: New file.
5144 * testsuite/27_io/ifstream_members-1.txt: New file.
5145 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
5147 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
5148 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
5150 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5152 * testsuite/27_io/istream_sentry.cc (test02): Fix.
5154 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
5157 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
5158 * src/ios.cc (ios_base::failure): Make definitions match.
5159 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
5160 (class bad_cast): Same.
5161 * libsupc++/exception (class exception): Add throw specs.
5162 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
5163 (set_unexpected): Same.
5164 (uncaught_exception): Same.
5167 * docs/html/17_intro/C++STYLE (classname): Fix.
5169 2001-01-16 Mark Mitchell <mark@codesourcery.com>
5171 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
5172 Use it do explicitly instantiate predicate<T> and value<T> for
5175 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
5177 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
5178 uninitialized thinko in last change.
5180 2001-01-16 Mark Mitchell <mark@codesourcery.com>
5182 * libsupc++/exception_support.cc (__cp_pop_exception): Change
5185 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
5187 * docs/html/17_intro/C++STYLE (classname): Add more existing
5188 and stylish patterns.
5191 * include/bits/istream.tcc (istream::sentry::sentry()): Set
5192 failbit if the state of the stream is not good.
5193 * testsuite/27_io/istream_sentry.cc (test02): Add test.
5194 * testsuite/27_io/istream_manip.cc (test01): Modify.
5197 reported by Paolo Carlini <pcarlini@unitus.it>
5198 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
5199 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
5202 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
5203 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
5204 (xsgetn): Same. Simplify.
5205 * testsuite/27_io/streambuf.cc (test04): Add testcases.
5207 reported by Larry Evans <jcampbell3@prodigy.net>
5208 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
5209 equality with eof on returned value from overflow.
5211 2001-01-14 Andreas Jaeger <aj@suse.de>
5213 * libio/libio.h: Add test for glibc 2.0.
5215 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
5217 * config/os/djgpp/bits/*: Fix dates.
5219 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
5220 _CharT* __end, _CharT __c): Remove.
5221 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
5222 * include/bits/char_traits.h: Tweak.
5224 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
5226 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
5227 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
5229 * aclocal.m4: regenerated.
5230 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
5231 * configure: regenerated.
5232 * config/os/djgpp, config/os/djgpp/bits: new directories.
5233 * config/os/djgpp/bits/ctype_base.h,
5234 config/os/djgpp/bits/ctype_inline.h,
5235 config/os/djgpp/bits/ctype_noninline.h,
5236 config/os/djgpp/bits/os_defines.h: new files.
5238 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
5240 * include/c_std/bits/std_cstdio.h: Undef printf.
5242 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
5244 * src/ios.cc: Fix typo: change cout->wcout.
5246 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
5247 * src/Makefile.in: Regenerate.
5249 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5251 * include/bits/std_complex.h: Fix a typo.
5253 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
5256 Fixes for libstdc++/1576
5257 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
5258 file, move contents into....
5259 * src/ios.cc: ...Here. Put defines for iostreams objects and
5260 initialization routines into one file to simplify DSO interaction.
5261 * include/bits/std_iostream.h: Touch.
5262 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
5263 * src/Makefile.am (sources): Remove stdstreams.cc.
5264 * src/Makefile.in: Regenerate.
5266 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5268 * tests_flags.in (check_directory): Fix typo.
5270 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5272 * include/bits/std_complex.h: Fix a typo.
5274 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
5276 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
5277 code path:) Remove magic constants and restructure to handle
5278 ctype.h bit mask layout changes more gracefully. (Make fast
5279 code path:) Use __maskrune (), if available.
5280 (is): Remove special case for digit and xdigit masks.
5282 2001-01-09 Robert Lipe <robertlipe@usa.net>
5284 * include/c_std/bits/std_ctime.h: Undefine difftime.
5286 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
5288 * src/gen-num-limits.cc (signal_adapter): New template function.
5289 (signal_handler): Use it, instead of signal.
5290 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
5291 require both tests to trap to set trap_flag.
5293 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
5295 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
5296 initialize mbstate_t member, name offset data members *off, not pos.
5297 * include/bits/fstream.tcc (filebuf::filebuf): Same.
5299 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
5301 reported by Chris G. Demetriou <cgd@sibyte.com>
5302 * configure.in: Change -linux-* to -linux*.
5303 * configure: Regenerate.
5305 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
5307 Fix 27_io/filebuf_members.cc
5308 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
5309 const string& __name, category __cat, size_t __refs): Set
5310 _M_has_name with _M_name.
5311 * include/bits/localefwd.h (locale::operator!=): Protect member
5312 function call with this->.
5313 * src/locale.cc (locale::operator==): Make fast checks first.
5314 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
5316 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
5318 * src/ios.cc (ios_base::Init::Init): Initialize here.
5319 (ios_base::sync_with_stdio): Set here.
5321 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
5323 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
5324 systems that support it, call dup() before fdopen().
5326 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
5328 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
5329 * testsuite/17_intro/header_cwctype.cc (main): New file.
5331 * src/Makefile.am (base_headers): Change.
5332 * include/bits/std_string.h: And here.
5333 * include/bits/string.tcc: Tweaks, move to...
5334 * include/bits/basic_string.tcc: ...Here.
5335 * src/string-inst.cc: Simplify, just instantiate the whole class,
5336 not member-by-member.
5338 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
5340 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
5341 * aclocal.m4: Regenerate.
5342 * configure: Regenerate.
5344 * include/bits/c++config (__GLIBCPP__): Bump version number.
5346 * ChangeLog: Start new log for year 2001
5347 * ChangeLog-2000: New file.
5349 * docs/html/configopts.html: Make sure default values are current,
5352 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
5354 * include/c_std/bits/std_cwchar.h: Same.
5355 * testsuite/17_intro/header_cwchar.cc: Same.
5356 * include/c_std/bits/std_ctime.h: Same.
5357 * testsuite/17_intro/header_ctime.cc: Same.
5358 * include/c_std/bits/std_cstdlib.h: Same.
5359 Clean up undefs, make consistent with cwchar and cmath, etc.
5360 * testsuite/17_intro/header_cstdlib.cc: Same.
5361 * include/c_std/bits/std_cstdio.h: Same here.
5362 * testsuite/17_intro/header_cstring.cc: Same.
5363 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
5364 * testsuite/17_intro/header_cstring.cc: New file. Check for
5365 size_t in namespace std.
5367 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
5368 * acconfig.h (HAVE_MBSTATE_T): Add.
5369 * config.h.in: Regenerate.
5370 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
5372 * aclocal.m4: Regenerate.
5373 * configure: Regenerate.
5374 * testsuite/17_intro/headers_c++.cc: New file.
5375 * testsuite/17_intro/headers_c.cc: Small changes.
5377 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
5379 * tests_flags.in: Fix typo in usage.
5381 * tests_flags.in: Set target specific LIBS for cygwin.