1 2001-11-28 Paolo Carlini <pcarlini@unitus.it>
4 * include/bits/locale_facets.tcc (__pad): Correctly pad
5 internal-adjusted hex numbers.
6 * testsuite/27_io/ostream_inserter_arith.cc: Add testcase.
8 2001-11-28 Paolo Carlini <pcarlini@unitus.it>
9 Loren J. Rittle <ljrittle@acm.org>
11 * include/bits/basic_string.h
12 (basic_string::_Rep::__default_excess, _S_excess_slop):
14 * include/bits/basic_string.tcc: Remove dead code.
15 * include/bits/c++config: Remove comment.
17 2001-11-28 Benjamin Kosnik <bkoz@redhat.com>
18 Jakub Jelinek <jakub@redhat.com>
20 * config/locale/moneypunct_members_gnu.cc
21 (moneypunct<wchar_t>::_M_initialize_moneypunct): Correctly cast
23 * config/locale/numpunct_members_gnu.cc
24 (numpunct<wchar_t>::_M_initialize_numpunct): Same.
26 2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
28 * include/bits/locale_facets.tcc: Formatting tweaks.
30 * testsuite/23_containers/map_operators.cc: Don't xfail.
31 * testsuite/23_containers/set_operators.cc: Same.
32 * testsuite/backward/header_iterator_h.cc: Pass in -Wno-deprecated.
33 * testsuite/backward/header_deque_h.cc: Same.
35 2001-11-27 Loren J. Rittle <ljrittle@acm.org>
36 Paolo Carlini <pcarlini@unitus.it>
38 * include/bits/basic_string.tcc (basic_string::_Rep::_S_create):
39 Enforce allocation size blocking policy to reduce
40 fragmentation and enhance performance with common malloc
43 2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
45 Numeric facets cleanup.
46 * include/bits/locale_facets.h (__num_base::_S_atoms): Add, remove
48 (__num_base::_M_zero): Add
49 (__num_base::_M_e): Add.
50 (__num_base::_M_E): Add.
51 * include/bits/locale_facets.tcc (num_get::_M_extract): Remove.
52 (num_get::_M_extract_float): New.
53 (num_get::_M_extract_int): New.
54 * src/locale.cc (num_get::_M_extract): Remove.
56 * include/bits/locale_facets.tcc (num_put::_M_insert_float):
57 Simplify, use _M_insert.
58 (num_put::do_put(bool)): Simplify, remove __pad.
60 (__pad_output): Change to __pad.
61 * include/bits/ostream.tcc: And here.
62 * src/locale-inst: Remove instantiations.
64 * include/bits/locale_facets.h: Move helper functions in to class
66 (num_put::_M_insert_float): Same, for __output_integer.
67 (num_put::_M_insert_int): Same, for __output_float.
68 (num_put::_M_insert): New.
70 (__num_base::_S_format_float): Move
71 __build_float_format into class __num_base.
72 (__num_base::_S_format_int): Move __build_int_format into class
74 * include/bits/locale_facets.tcc (__group_digits): Change to
75 (__add_grouping): This.
76 * src/locale-inst.cc: And here. Tweak instantiations.
77 * src/misc-inst.cc: Remove instantiations.
79 * include/bits/ostream.tcc (__pad_char): Rename, adjust inserters
80 for new calling conventions, move to...
81 * include/bits/locale_facets.tcc (__pad_output): Here. Adjust
82 signature to make it useful for both ostream and num_put.
83 (__pad_numeric): Remove.
84 * src/misc-inst.cc: Remove instantiations.
85 * src/locale-inst.cc: Same.
87 * include/bits/locale_facets.h (_Numeric_get): Remove.
88 (_Numeric_put): Remove.
89 (num_get::get(short)): Remove.
90 (num_get::get(int)): Remove.
91 (num_get::do_get(short)): Remove.
92 (num_get::do_get(int)): Remove.
93 * include/bits/istream.tcc (istream::operator>>(short)): Fix as
95 (istream::operator>>(int)): Same.
97 * include/bits/locale_facets.h (_Format_cache): Remove.
98 * include/bits/locale_facets.tcc: Same.
99 * src/locale.cc: Same.
100 * src/locale-inst.cc: Same.
101 * include/bits/ostream.tcc: Same.
102 * src/ios.cc (ios_base::imbue): Remove here as well.
104 * testsuite/22_locale/num_get.cc: New file.
105 * testsuite/22_locale/num_get_members_char.cc: New file.
106 * testsuite/22_locale/num_get_members_wchar_t.cc: New.
107 * testsuite/22_locale/numpunct_members_wchar_t.cc: New file.
108 * testsuite/22_locale/num_put.cc: New file.
109 * testsuite/22_locale/num_put_members_char.cc: New file.
110 * testsuite/22_locale/num_put_members_wchar_t.cc: New file.
111 * testsuite/27_io/ostream_inserter_arith.cc: Fix.
112 * testsuite/27_io/istream_extractor_arith.cc: Fix.
114 2001-11-27 Phil Edwards <pme@gcc.gnu.org>
116 * docs/html/explanations.html: New section, empty for now.
117 * docs/html/17_intro/howto.html: Cleanup. Move unrelated link...
118 * docs/html/23_containers/howto.html: ...to here. Break up and
119 rewrap threading discussion to emphasize warning. Move malloc text...
120 * docs/html/ext/howto.html: ...to here. New section. Describe
121 allocators and __USE_MALLOC effects.
122 * docs/html/ext/sgiexts.html: Mention their code.
124 2001-11-24 Joseph S. Myers <jsm28@cam.ac.uk>
126 * docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
127 docs/html/27_io/binary_iostreams_kuehl.txt: Revert previous
130 2001-11-23 Phil Edwards <pme@gcc.gnu.org>
132 * Makefile.am (doxygen-maint): The script isn't executable in CVS.
133 * Makefile.in: Regenerated.
134 * docs/doxygen/TODO: New file listing doxygen work to be done.
135 * docs/doxygen/run_doxygen: Fix up man pages.
136 * docs/doxygen/user.cfg.in: Insert maint-only toggles.
137 * docs/doxygen/maint.cfg.in: Copy from user.cfg and turn toggles on.
138 * include/bits/stl_construct.h: Use new hooks for internal functions.
140 * docs/html/17_intro/TODO: Small updates.
141 * docs/html/faq/index.html: Likewise.
142 * docs/html/faq/index.txt: Regenerated.
144 * include/bits/stl_alloc.h: Doxygenate, reindent comments, remove
145 SGI-isms and wrappers.
146 (simple_alloc, debug_alloc): Uglify class names.
147 (__default_alloc_template): Uglify "threads" template parameter and
148 update corresponding macros.
149 * include/backward/alloc.h: Bring up to date.
151 2001-11-23 Jason Merrill <jason@redhat.com>
153 * src/vterminate.cc (__verbose_terminate_handler): Add leading
156 2001-11-23 Joseph S. Myers <jsm28@cam.ac.uk>
158 * ChangeLog, docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
159 docs/doxygen/doxygroups.cc, docs/doxygen/Intro.3,
160 docs/html/17_intro/BUGS, docs/html/17_intro/C++STYLE,
161 docs/html/17_intro/CHECKLIST, docs/html/17_intro/DESIGN,
162 docs/html/17_intro/howto.html, docs/html/17_intro/porting.html,
163 docs/html/17_intro/porting.texi, docs/html/18_support/howto.html,
164 docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
165 docs/html/21_strings/howto.html,
166 docs/html/23_containers/howto.html,
167 docs/html/26_numerics/howto.html, docs/html/27_io/howto.html,
168 docs/html/27_io/binary_iostreams_kuehl.txt,
169 docs/html/ext/sgiexts.html, docs/html/faq/index.html,
170 docs/html/faq/index.txt, testsuite/24_iterators/iterator.cc,
171 include/bits/basic_file.h, include/bits/locale_facets.h,
172 include/bits/locale_facets.tcc, include/bits/std_sstream.h,
173 include/ext/ropeimpl.h, include/ext/stl_rope.h,
174 libsupc++/tinfo.cc, libsupc++/cxxabi.h, libsupc++/typeinfo,
175 libsupc++/eh_throw.cc, acinclude.m4, aclocal.m4, configure,
176 configure.target, ChangeLog-2000: Fix spelling errors.
178 * config/locale/moneypunct_members_gnu.cc,
179 include/bits/locale_facets.h: Fix spelling errors.
181 2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
183 * testsuite/23_containers/list_capacity.cc: New file.
184 * testsuite/23_containers/list_ctor.cc: New file.
185 * testsuite/23_containers/list_modifiers.cc: New file.
186 * testsuite/23_containers/list_operators.cc: New file.
188 2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
190 * include/bits/stl_list.h: Reformatted according to C++STYLE rules.
191 (size): Replaced nonstandard distance() call with the standard one.
192 (transfer): Uglified to _M_transfer.
194 2001-11-21 Paolo Carlini <pcarlini@unitus.it>
197 * include/bits/basic_string.tcc (basic_string::reserve): Never shrink
198 below the current size.
199 * testsuite/21_strings/capacity.cc (test02): Add test.
201 2001-11-19 Phil Edwards <pme@gcc.gnu.org>
203 * docs/doxygen/Intro.3: More notes.
204 * docs/doxygen/style.css: Update to default style from Doxygen 1.2.10.
205 * include/bits/stl_algobase.h: Add doxygen hooks for functions.
206 * include/ext/hash_map: Add @file hook.
207 * include/ext/hash_set: Likewise.
208 * include/ext/rope: Likewise.
209 * include/ext/ropeimpl.h: Likewise.
210 * include/ext/slist: Likewise.
211 * include/ext/stl_hash_fun.h: Likewise.
212 * include/ext/stl_hashtable.h: Likewise.
213 * include/ext/stl_rope.h: Likewise.
215 * docs/html/17_intro/license.html: Remove "experimental" sentence.
216 * docs/html/19_diagnostics/howto.html: Document new verbose
218 * testsuite/27_io/filebuf.cc: Fix comment, move tweakable parameter
219 to more visible (closer to description) position.
221 * libsupc++/eh_type.cc: Formatting tweak.
222 * libsupc++/exception: Likewise.
223 * src/vterminate.cc: Likewise.
225 * docs/html/17_intro/porting.html: Regenerate.
226 * docs/html/faq/index.txt: Regenerate.
228 2001-11-18 Jason Merrill <jason@redhat.com>
230 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Take void*.
231 * libsupc++/eh_catch.cc (__cxa_begin_catch): Likewise.
232 * libsupc++/unwind-cxx.h: Adjust.
233 * src/Makefile.am (strstream.o): Pass -Wno-deprecated.
235 * libsupc++/eh_type.cc (__cxa_current_exception_type): New file.
236 * libsupc++/cxxabi.h: Declare it.
237 * libsupc++/Makefile.am (sources): Add it.
238 * src/vterminate.cc (verbose_terminate_handler): New file.
239 * libsupc++/exception: Declare it.
240 * src/Makefile.am (sources): Add it.
242 * src/Makefile.am (VPATH): Check the src directory before the top one.
244 2001-11-16 Paolo Carlini <pcarlini@unitus.it>
246 * include/bits/stl_deque.h (deque::erase()): Fix memory leak.
248 2001-11-16 Loren J. Rittle <ljrittle@acm.org>
250 * docs/html/17_intro/howto.html (Thread-safety): Rename
251 section to ``The Standard C++ library and multithreading'' and
252 update information based on recent mailing list traffic. Move
253 all discussion of __USE_MALLOC to...
254 * docs/html/23_containers/howto.html (Containers and multithreading):
255 ...here and rework it based on recent mailing list traffic.
257 2001-11-15 Loren J. Rittle <ljrittle@acm.org>
259 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Clarify
262 2001-11-15 <bjornw@planetarion.com>
263 Loren J. Rittle <ljrittle@acm.org>
266 * include/bits/stl_alloc.h (alloc): Update to use __mem_interface.
267 (single_client_alloc): Likewise.
269 2001-11-08 Danny Smith <dannysmith@users.sourceforge.net>
271 * configure.target: Add os_include_dir for mingw32* target.
272 * docs/html/17_intro/porting.texi: Mention mingw32 as target benefiting
273 from _GLIBCPP_AVOID_FSEEK.
274 * config/os/mingw32/bits/ctype_base.h: New file.
275 * config/os/mingw32/bits/ctype_inline.h: New file.
276 * config/os/mingw32/bits/ctype_noninline.h: New file.
277 * config/os/mingw32/bits/os_defines.h: New file.
279 2001-11-07 Nathan Myers <ncm@cantrip.org>
281 * docs/html/faq/index.html (5.8): New entry on ABIs.
282 * docs/html/faq/index.txt: Regenerate.
284 2001-11-07 Phil Edwards <pme@gcc.gnu.org>
286 * docs/html/faq/index.html: Explain libsupc++, mention 'long long'
288 * docs/html/faq/index.txt: Regenerate.
290 2001-11-06 Phil Edwards <pme@gcc.gnu.org>
292 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Run the test in
294 * aclocal.m4: Regenerate.
295 * configure: Regenerate.
297 2001-11-05 Phil Edwards <pme@gcc.gnu.org>
299 * porting.texi: Move...
300 * docs/html/17_intro/porting.texi: ...to here.
301 * docs/html/Makefile: Add rule to rebuild...
302 * docs/html/17_intro/porting.html: ...this. New file.
304 2001-11-05 Felix Natter <fnatter@gmx.net>
306 * docs/html/17_intro/porting-howto.xml: check in v0.9.4
307 * docs/html/17_intro/porting-howto.html: regenerate
309 2001-11-02 Loren J. Rittle <ljrittle@acm.org>
311 * include/bits/stl_threads.h (_Atomic_swap): Only enable path
312 when platform supports __GTHREAD_MUTEX_INIT.
314 2001-11-02 Phil Edwards <pme@gcc.gnu.org>
316 * acconfig.h: Update comments.
317 * acinclude.m4 (GLIBCPP_ENABLE_C99): Move strtoll, strtoull tests...
318 (GLIBCPP_ENABLE_LONG_LONG): ...to here. Don't check enable_c99.
319 * aclocal.m4: Regenerate.
320 * config.h.in: Regenerate.
321 * configure: Regenerate.
323 * include/bits/boost_concept_check.h: Unconditionally compile uses
324 of 'long long' which require only compiler support, not C lib support.
325 * include/bits/cpp_type_traits.h: Likewise.
326 * include/bits/std_limits.h: Likewise.
327 * include/bits/type_traits.h: Likewise.
328 * src/concept-inst.cc: Likewise.
329 * src/limits.cc: Likewise.
330 * include/c_shadow/stdlib.h: Compile conditionally on _GLIBCPP_USE_C99
331 instead of _GLIBCPP_USE_LONG_LONG.
332 * include/c_shadow/bits/std_cstdlib.h: Likewise.
334 2001-11-02 Phil Edwards <pme@gcc.gnu.org>
336 * config/io/c_io_stdio.h: Correct grammar in comments.
337 * docs/doxygen/Intro.3: Expand "top-level" man page.
338 * docs/doxygen/doxygroups.cc: New module definitions (comments).
339 * docs/doxygen/mainpage.doxy: Tweaks.
340 * docs/doxygen/run_doxygen: Update Doxygen version, massage man pages.
342 Add @file hooks so that headers are considered to be documented.
343 * include/bits/basic_ios.h, include/bits/basic_file.h,
344 include/bits/basic_string.h, include/bits/boost_concept_check.h,
345 include/bits/char_traits.h, include/bits/codecvt.h,
346 include/bits/concept_check.h, include/bits/cpp_type_traits.h,
347 include/bits/fpos.h, include/bits/gslice.h, include/bits/gslice_array.h,
348 include/bits/indirect_array.h, include/bits/ios_base.h,
349 include/bits/locale_facets.h, include/bits/localefwd.h,
350 include/bits/mask_array.h, include/bits/pthread_allocimpl.h,
351 include/bits/slice.h, include/bits/slice_array.h,
352 include/bits/std_algorithm.h, include/bits/std_bitset.h,
353 include/bits/std_complex.h, include/bits/std_deque.h,
354 include/bits/std_fstream.h, include/bits/std_functional.h,
355 include/bits/std_iomanip.h, include/bits/std_ios.h,
356 include/bits/std_iosfwd.h, include/bits/std_iostream.h,
357 include/bits/std_istream.h, include/bits/std_iterator.h,
358 include/bits/std_limits.h, include/bits/std_list.h,
359 include/bits/std_locale.h, include/bits/std_map.h,
360 include/bits/std_memory.h, include/bits/std_numeric.h,
361 include/bits/std_ostream.h, include/bits/std_queue.h,
362 include/bits/std_set.h, include/bits/std_sstream.h,
363 include/bits/std_stack.h, include/bits/std_streambuf.h,
364 include/bits/std_string.h, include/bits/std_utility.h,
365 include/bits/std_valarray.h, include/bits/std_vector.h,
366 include/bits/stl_algo.h, include/bits/stl_alloc.h,
367 include/bits/stl_bvector.h, include/bits/stl_construct.h,
368 include/bits/stl_deque.h, include/bits/stl_heap.h,
369 include/bits/stl_iterator.h, include/bits/stl_iterator_base_funcs.h,
370 include/bits/stl_iterator_base_types.h, include/bits/stl_list.h,
371 include/bits/stl_map.h, include/bits/stl_multimap.h,
372 include/bits/stl_multiset.h, include/bits/stl_numeric.h,
373 include/bits/stl_pair.h, include/bits/stl_pthread_alloc.h,
374 include/bits/stl_queue.h, include/bits/stl_raw_storage_iter.h,
375 include/bits/stl_relops.h, include/bits/stl_set.h,
376 include/bits/stl_stack.h, include/bits/stl_tempbuf.h,
377 include/bits/stl_threads.h, include/bits/stl_tree.h,
378 include/bits/stl_uninitialized.h, include/bits/stl_vector.h,
379 include/bits/stream_iterator.h, include/bits/streambuf_iterator.h,
380 include/bits/stringfwd.h, include/bits/type_traits.h,
381 include/bits/valarray_array.h, include/bits/valarray_meta.h:
382 Add hooks, tweak comments only.
384 * include/bits/stl_algobase.h (swap, min, iter_swap): Also
385 document these functions.
386 * include/bits/stl_function.h: Tweak link comments.
388 2001-11-01 Paolo Carlini <pcarlini@unitus.it>
389 Benjamin Kosnik <bkoz@redhat.com>
391 * testsuite/27_io/ios_manip_fmtflags.cc: Fix for non-interactive
393 * include/bits/locale_facets.tcc (num_put::do_put(bool)): Fix.
395 2001-11-01 Egor Duda <deo@logos-m.ru>
397 * config/os/newlib/bits/ctype_noninline.h
398 (ctype<char>::do_toupper(char __c)): Check for proper character class.
399 (ctype<char>::do_tolower(char __c)): Ditto.
401 2001-11-01 Phil Edwards <pme@gcc.gnu.org>
403 * acinclude.m4: Fix spacing.
404 (GLIBCPP_ENABLE_CONCEPT_CHECKS): New macro.
405 * configure.in: Call here.
406 * acconfig.h: Add _GLIBCPP_CONCEPT_CHECKS.
407 * include/bits/boost_concept_check.h: Fix headers.
408 (__function_requires): Make inline.
409 * include/bits/c++config (_GLIBCPP_CONCEPT_CHECKS): Remove.
410 * aclocal.m4: Regenerate.
411 * config.h.in: Regenerate.
412 * configure: Regenerate.
414 Move trailing ';' inside macro, PR libstdc++/3666.
415 * include/bits/concept_check.h: Add semicolon.
416 * include/bits/stl_algo.h: Remove semicolon.
417 * include/bits/stl_algobase.h: Likewise.
418 * include/bits/stl_deque.h: Likewise.
419 * include/bits/stl_heap.h: Likewise.
420 * include/bits/stl_iterator_base_funcs.h: Likewise.
421 * include/bits/stl_list.h: Likewise.
422 * include/bits/stl_map.h: Likewise.
423 * include/bits/stl_multimap.h: Likewise.
424 * include/bits/stl_multiset.h: Likewise.
425 * include/bits/stl_numeric.h: Likewise.
426 * include/bits/stl_queue.h: Likewise.
427 * include/bits/stl_set.h: Likewise.
428 * include/bits/stl_stack.h: Likewise.
429 * include/bits/stl_vector.h: Likewise.
430 * include/ext/hash_map: Likewise.
431 * include/ext/hash_set: Likewise.
432 * include/ext/slist: Likewise.
434 * src/concept-inst.cc: New file with explicit instantiations.
435 * src/Makefile.am (sources): Add here, with special build rules.
436 * src/Makefile.in: Regenerate.
438 2001-11-01 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
440 * include/bits/std_complex.h (_Norm_helper): New class template.
442 (abs): Tweak. Fix Thinko.
444 2001-10-31 Benjamin Kosnik <bkoz@redhat.com>
447 * include/bits/codecvt.h: Add virtual member function declarations.
448 * src/codecvt.cc: Tweaks.
449 * testsuite/22_locale/codecvt.cc: Test compilation only,
450 non-required facets not required to have linkage.
452 2001-10-31 Edward E. Meyer <edward.e.meyer@boeing.com>
455 * include/bits/std_complex.h (complex::operator/=): Correct sign.
457 2001-10-30 Paolo Carlini <pcarlini@unitus.it>
458 Benjamin Kosnik <bkoz@redhat.com>
461 * include/bits/basic_string.h: Tweaks.
462 * include/bits/basic_string.tcc (string::_M_replace(iterator,
463 iterator, _ForwardIter, _ForwardIter, forward_iterator_tag): Fix.
464 * src/string-inst.cc: Tweaks, add instantiation.
465 * testsuite/21_strings/replace.cc (test02): Add test.
466 * testsuite/21_strings/assign.cc (test01): New file.
468 2001-10-30 Jakub Jelinek <jakub@redhat.com>
470 * include/bits/stl_deque.h (_M_new_elements_at_front): Use
471 __throw_exception_again.
472 (_M_new_elements_at_back): Likewise.
474 2001-10-29 Benjamin Kosnik <bkoz@redhat.com>
477 * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
478 * testsuite/27_io/filebuf.cc (test07): New test.
479 (test03): Modify showmanyc test.
481 2001-10-26 Benjamin Kosnik <bkoz@redhat.com>
484 * config/locale/codecvt_specializations_ieee_1003.1-200x.h
485 (__enc_traits::~__enc_traits): Fix.
486 (__enc_traits::_M_init): Add error checking.
488 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
491 * include/bits/locale_facets.tcc (time_get::_M_extract_name): Fix.
493 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
496 * include/bits/ostream.tcc (ostream::operator<<(streambuf*)): Fix
498 * include/bits/istream.tcc (istream::operator>>(streambuf*): Make
499 consistent, where possible.
500 * include/bits/streambuf.tcc: Tweak.
502 2001-10-25 Brendan Kehoe <brendan@zen.org>
505 * bits/ostream.tcc (seekp): Scope use as ios_base::failbit.
506 * bits/istream.tcc (seekg): Likewise.
508 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
509 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
510 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
512 * config/os/gnu-linux/bits/os_defines.h: Set to 64 bit longs with
514 * include/bits/std_limits.h: Fix wchar_t issues.
515 * config/os/aix/bits/os_defines.h: Fix.
517 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
519 * include/bits/locale_facets.tcc (collate::do_transform): Fix.
521 2001-10-25 Phil Edwards <pme@gcc.gnu.org>
523 * docs/html/documentation.html: Fix typo.
525 2001-10-23 Benjamin Kosnik <bkoz@redhat.com>
527 Make -fno-exceptions work.
528 * config/locale/c_locale_gnu.cc: Use functexcept.
529 * include/bits/c++config (__stl_assert): Remove.
530 (__STL_USE_EXCEPTIONS): Same.
532 (__STL_CATCH_ALL): Same.
534 (__STL_RETHROW): Same.
535 (__STL_NOTHROW): Same.
536 (__STL_UNWIND): Same.
537 * include/bits/pthread_allocimpl.h: Fix.
538 * include/bits/std_bitset.h: Same.
539 * include/bits/std_list.h: Same.
540 * include/bits/std_memory.h: Same.
541 * include/bits/std_queue.h: Same.
542 * include/bits/stl_alloc.h: Same.
543 * include/bits/stl_deque.h: Same.
544 * include/bits/stl_list.h: Same.
545 * include/bits/stl_queue.h: Same.
546 * include/bits/stl_tempbuf.h: Same.
547 * include/bits/stl_tree.h: Same.
548 * include/bits/stl_uninitialized.h: Same.
549 * include/bits/stl_vector.h: Same.
550 * include/ext/ropeimpl.h: Same.
551 * include/ext/slist: Same.
552 * include/ext/stl_hashtable.h: Same.
553 * include/ext/stl_rope.h: Same.
554 * libsupc++/new_op.cc: Include cstdlib.
555 * libsupc++/eh_personality.cc: Add exception_defines include. Use
556 __throw_exception_again, tweak.
557 * libsupc++/eh_aux_runtime.cc: Include stdlib for abort.
558 * libsupc++/vec.cc: Tweak.
559 * src/functexcept.cc: Remove unused arguments.
560 * testsuite/23_containers/bitset_members.cc: Tweak.
562 2001-10-22 Benjamin Kosnik <bkoz@redhat.com>
564 * config/cpu/i386/bits/limits.h: Move to...
565 * config/cpu/i386/bits/cpu_limits.h: ...here.
566 * config/cpu/cris/bits/cpu_limits.h: Same.
567 * config/cpu/powerpc/bits/cpu_limits.h: Same.
568 * config/cpu/x86-64/bits/cpu_limits.h: Same.
569 * config/cpu/alpha/bits/cpu_limits.h: New.
570 * config/cpu/m68k/bits/cpu_limits.h: New.
571 * config/cpu/s390/bits/cpu_limits.h: New.
572 * config/os/aix/bits/os_defines.h: Tweaks.
573 * config/os/bsd/freebsd/bits/os_defines.h: Same.
574 * config/os/bsd/netbsd/bits/os_defines.h: Same.
575 * config/os/djgpp/bits/os_defines.h: Same.
576 * config/os/generic/bits/os_defines.h: Same.
577 * config/os/gnu-linux/bits/os_defines.h: Same.
578 * config/os/hpux/bits/os_defines.h: Same.
579 * config/os/irix/irix5.2/bits/os_defines.h: Same.
580 * config/os/irix/irix6.5/bits/os_defines.h: Same.
581 * config/os/newlib/bits/os_defines.h: Same.
582 * config/os/solaris/solaris2.5/bits/os_defines.h: Same.
583 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
584 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
586 * include/bits/c++config: Remove include.
587 * include/bits/limits_generic.h: Remove.
588 * include/bits/std_limits.h: Include cpu_limits.h.
589 * include/Makefile.am: Fixup.
590 * src/limits.cc: Tweak.
591 * src/limits_generic.cc: Remove.
592 * src/gen-num-limits.cc: Remove.
593 * mknumeric_limits: Remove.
595 2001-10-20 Brendan Kehoe <brendan@zen.org>
597 * bits/type_traits.h (_Bool): Removed this type.
598 (__true_type, __false_type): Change to be plain structs.
599 * src/string-inst.cc (__destroy_aux): Change third parm to be
600 __false_type instead of _Bool<false>.
601 * src/misc-inst.cc (__uninitialized_fill_n_aux,
602 __uninitialized_copy_aux): Likewise.
604 2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
606 * mkcheck.in (static_fail): Remove older memory limit functionality.
607 Disable E_TIME due to formatting issues.
611 2001-10-19 Brendan Kehoe <brendan@zen.org>
613 * include/bits/std_complex.h: Default initialize second argument
614 of polar to 0, as specified in Library DR #79
616 2001-10-19 Brendan Kehoe <brendan@zen.org>
618 * include/bits/stl_raw_storage_iter.h (operator=): Fix to call
619 _Construct instead of construct.
621 2001-10-19 Brendan Kehoe <brendan@zen.org>
623 * include/bits/basic_string.tcc (find_first_not_of): Take out check for
624 __n being non-zero, since the standard does not mandate that.
625 e.g., a search for "" in "" should yield position 0, not npos.
626 (find_last_not_of): Likewise.
628 2001-10-19 Brendan Kehoe <brendan@zen.org>
630 * include/bits/stl_bvector.h (vector<bool>::_M_range_check): Fix
631 to throw out_of_range, not range_error, thus sayeth $23.1.1.13.
633 2001-10-19 Brendan Kehoe <brendan@zen.org>
635 * include/bits/stl_iterator.h (reverse_iterator::current): Rename
636 member from _M_current, and change all uses; thus sayeth $24.4.1.1.
638 2001-10-19 Brendan Kehoe <brendan@zen.org>
640 * include/bits/stl_algo.h (partial_sort): Add missing `>' on the
641 template parameter _ValueType.
643 2001-10-19 Brendan Kehoe <brendan@zen.org>
645 * include/bits/std_limits.h: Clean up extra semicolons.
646 * include/bits/locale_facets.h: Likewise.
647 * include/bits/type_traits.h: Likewise.
649 2001-10-19 Brendan Kehoe <brendan@zen.org>
651 * include/bits/localefwd.h (locale::combine): Add const for lib DR 14.
652 * include/bits/locale_facets.tcc (locale::combine): Likewise.
654 2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
656 * include/bits/locale_facets.h (__timepunct::_M_put_helper):
657 Declare specializations for char, wchar_t.
659 2001-10-19 Andreas Jaeger <aj@suse.de>
661 * config/cpu/x86-64/bits/limits.h: New file.
662 * config/cpu/x86-64/bits/atomicity.h: New file.
663 * configure.target: Add x86-64.
665 2001-10-17 Phil Edwards <pme@gcc.gnu.org>
667 * docs/html/17_intro/howto.html: Remove 1999 links (and explain
668 why). Add link to recent message.
669 * docs/html/faq/index.html (5.6): Reformat text only; fixup <pre>
671 * docs/html/faq/index.txt: Regenerate.
673 2001-10-12 Loren J. Rittle <ljrittle@acm.org>
675 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Update
676 based on Nathan's review. Use Nathan's words.
678 2001-10-11 Matt Kraai <kraai@alumni.carnegiemellon.edu>
680 * docs/html/configopts.html: Quote StyleSheet attribute values.
681 * docs/html/documentation.html: Likewise.
682 * docs/html/explanations.html: Likewise.
683 * docs/html/install.html: Likewise.
684 * docs/html/17_intro/howto.html: Likewise.
685 * docs/html/17_intro/license.html: Likewise.
686 * docs/html/18_support/howto.html: Likewise.
687 * docs/html/19_diagnostics/howto.html: Likewise.
688 * docs/html/20_util/howto.html: Likewise.
689 * docs/html/21_strings/howto.html: Likewise.
690 * docs/html/22_locale/howto.html: Likewise.
691 * docs/html/23_containers/howto.html: Likewise.
692 * docs/html/24_iterators/howto.html: Likewise.
693 * docs/html/25_algorithms/howto.html: Likewise.
694 * docs/html/26_numerics/howto.html: Likewise.
695 * docs/html/27_io/howto.html: Likewise.
696 * docs/html/ext/howto.html: Likewise.
697 * docs/html/ext/sgiexts.html: Likewise.
698 * docs/html/faq/index.html: Likewise.
700 2001-10-11 Loren J. Rittle <ljrittle@acm.org>
702 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Rewrite.
703 * docs/html/23_containers/howto.html (Containers and multithreading):
706 2001-10-09 Phil Edwards <pme@gcc.gnu.org>
708 * docs/html/17_intro/howto.html: Tweak markup and value type.
709 * docs/html/27_io/howto.html: Tweak markup, describe setbuf() for
710 nonzero arguments, add new note on threading.
711 * docs/html/faq/index.html: Update.
712 * docs/html/faq/index.txt: Regenerate.
714 2001-10-09 Phil Edwards <pme@gcc.gnu.org>
716 * docs/html/configopts.html: More HTML->XHTML and lowercasing of tags.
717 * docs/html/documentation.html: Likewise.
718 * docs/html/explanations.html: Likewise.
719 * docs/html/install.html: Likewise.
720 * docs/html/17_intro/howto.html: Likewise.
721 * docs/html/17_intro/license.html: Likewise. Tighten up language.
722 * docs/html/18_support/howto.html: Likewise.
723 * docs/html/19_diagnostics/howto.html: Likewise.
724 * docs/html/20_util/howto.html: Likewise.
725 * docs/html/21_strings/howto.html: Likewise.
726 * docs/html/22_locale/howto.html: Likewise.
727 * docs/html/23_containers/howto.html: Likewise.
728 * docs/html/24_iterators/howto.html: Likewise.
729 * docs/html/25_algorithms/howto.html: Likewise.
730 * docs/html/26_numerics/howto.html: Likewise.
731 * docs/html/27_io/howto.html: Likewise.
732 * docs/html/ext/howto.html: Likewise.
733 * docs/html/ext/sgiexts.html: Likewise.
734 * docs/html/faq/index.html: Likewise. Not so many absolute links.
735 * docs/html/faq/index.txt: Regenerate.
737 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
739 * docs/html/22_locale/locale.html, docs/html/faq/index.html: Fix
740 spelling errors of "separate" as "seperate", and corresponding
741 spelling errors of related words.
742 * docs/html/faq/index.txt: Regenerate.
744 2001-10-05 Phil Edwards <pme@gcc.gnu.org>
746 * config/cpu/alpha/bits/atomicity.h (__compare_and_swap): Remove
748 * config/cpu/arm/bits/atomicity.h: Likewise.
749 * config/cpu/generic/bits/atomicity.h: Likewise.
750 * config/cpu/i486/bits/atomicity.h: Likewise.
751 * config/cpu/ia64/bits/atomicity.h: Likewise.
752 * config/cpu/mips/bits/atomicity.h: Likewise.
753 * config/cpu/powerpc/bits/atomicity.h: Likewise.
754 * config/cpu/sparc/sparc32/bits/atomicity.h: Likewise.
755 * config/cpu/sparc/sparc64/bits/atomicity.h: Likewise.
757 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
759 * docs/html/faq/index.html: Describe DR #22, and a workaround.
760 * docs/html/faq/index.txt: Regenerate.
762 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
764 * docs/html/17_intro/COPYING.DOC: New file, GFDL v1.1 from the FSF.
765 * docs/html/17_intro/license.html: New file. Explain the licenses
768 * docs/html/configopts.html: Link to license.html.
769 * docs/html/documentation.html: Likewise.
770 * docs/html/explanations.html: Likewise.
771 * docs/html/install.html: Likewise.
772 * docs/html/17_intro/howto.html: Likewise.
773 * docs/html/18_support/howto.html: Likewise.
774 * docs/html/19_diagnostics/howto.html: Likewise.
775 * docs/html/20_util/howto.html: Likewise.
776 * docs/html/21_strings/howto.html: Likewise.
777 * docs/html/22_locale/howto.html: Likewise.
778 * docs/html/23_containers/howto.html: Likewise.
779 * docs/html/24_iterators/howto.html: Likewise.
780 * docs/html/25_algorithms/howto.html: Likewise.
781 * docs/html/26_numerics/howto.html: Likewise.
782 * docs/html/27_io/howto.html: Likewise.
783 * docs/html/ext/howto.html: Likewise.
784 * docs/html/ext/sgiexts.html: Likewise.
785 * docs/html/faq/index.html: Likewise. New question, linking to
786 the new license.html.
788 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
790 * docs/html/17_intro/howto.html: Fix mis-sed in header from 20010917.
791 * docs/html/18_support/howto.html: Likewise.
792 * docs/html/19_diagnostics/howto.html: Likewise.
793 * docs/html/20_util/howto.html: Likewise.
794 * docs/html/21_strings/howto.html: Likewise.
795 * docs/html/22_locale/howto.html: Likewise.
796 * docs/html/23_containers/howto.html: Likewise.
797 * docs/html/24_iterators/howto.html: Likewise.
798 * docs/html/25_algorithms/howto.html: Likewise.
799 * docs/html/26_numerics/howto.html: Likewise.
800 * docs/html/27_io/howto.html: Likewise.
801 * docs/html/ext/howto.html: Likewise.
802 * docs/html/faq/index.html: Likewise. Spacing fix.
804 2001-10-03 Dimitris Vyzovitis <vyzo@media.mit.edu>
806 * include/bits/stl_threads.h (_Atomic_swap): New function.
807 (_Swap_lock_struct<__dummy>::_S_swap_lock): New data.
808 * testsuite/ext/rope.cc: New file.
810 2001-10-02 Benjamin Kosnik <bkoz@redhat.com>
812 * config/locale/time_members_gnu.h: Remove.
813 * config/locale/time_members_generic.h: Remove.
814 * config/locale/time_members_gnu.cc (__timepunct::_M_put_helper): Add.
815 * config/locale/time_members_generic.cc: Same.
816 * include/bits/locale_facets.h: Add data members.
817 (__timepunct::_M_put_helper): Change signature.
818 (__timepunct::_M_date_formats): Same.
819 (__timepunct::_M_time_formats): Same.
820 (__timepunct::_M_ampm): Add.
821 (__timepunct::_M_date_time_formats): Add.
822 (time_get::_M_extract_via_format): Add.
823 (time_get::_M_extract_time): Change to...
824 (time_get::_M_extract_num): ... this, modify signature.
825 * include/bits/locale_facets.tcc (time_get::do_get_year): Fix.
826 (time_get::do_get_time): Fix.
827 (time_get::do_get_date): Fix.
829 * acinclude.m4: Remove CTIME_H.
830 * aclocal.m4: Regenerate.
831 * include/Makefile.am: Same.
832 * include/Makefile.in: Regenerate.
833 * configure: Regenerate.
835 * testsuite/22_locale/time_get_members_char.cc: Fix.
836 * testsuite/22_locale/time_get_members_wchar_t.cc: Add.
837 * testsuite/22_locale/time_put_members_wchar_t.cc: Add.
839 2001-10-01 Hans-Peter Nilsson <hp@axis.com>
841 * config/cpu/cris/bits/atomicity.h: Correct file header.
843 2001-09-29 Hans-Peter Nilsson <hp@axis.com>
845 * configure.target (LIMITSH): Set for cris.
846 (cpu_include_dir): Set for cris-*-*.
847 * config/cpu/cris/bits/atomicity.h: New file.
848 * config/cpu/cris/bits/limits.h: New file.
850 2001-09-28 Benjamin Kosnik <bkoz@redhat.com>
852 * config/locale/time_members_gnu.h (__timepunct::_M_get_helper): Add.
853 (__timepunct::_M_put_helper): Add.
854 * config/locale/time_members_generic.h: Same.
855 * include/bits/locale_facets.h (__match_parallel): Remove. Format.
856 (__timepunct): Add data members.
857 (__timepunct::_M_days): Add.
858 (__timepunct::_M_days_abbreviated): Add.
859 (__timepunct::_M_months): Add.
860 (__timepunct::_M_months_abbreviated): Add.
861 (__timepunct::_M_initialize_timepunct): Add.
862 * include/bits/locale_facets.tcc: Same.
863 * src/locale-inst.cc: Remove instantiations for __match_parallel.
864 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_CC.
865 * aclocal.m4: Regenerate.
866 * configure: Regenerate.
867 * testsuite/22_locale/time_put_members_char.cc: Mark XFAIL.
868 * testsuite/22_locale/time_put_members_char.cc (test01): New file.
869 * testsuite/22_locale/time_get.cc: New file.
871 2001-09-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
873 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
874 correct multilib builddir.
875 Properly locate libgcc_s.
877 2001-09-27 Phil Edwards <pme@gcc.gnu.org>
879 * include/std/*: Add Doxygen hooks.
880 * docs/doxygen/Intro.3: New file, general intro to the man pages.
881 * docs/doxygen/mainpage.doxy: Formatting tweaks. List our own links
882 rather than using a generated index.
883 * docs/doxygen/user.cfg.in: Disable the index, enable man pages.
884 * docs/doxygen/run_doxygen: Massage the generated man pages, using...
885 * docs/doxygen/stdheader.cc: ...this new file.
887 2001-09-26 Stan Shebs <shebs@apple.com>
889 * include/Makefile.am: Remove RCS Id strings.
890 * src/Makefile.am: Ditto.
891 * docs/doxygen/run_doxygen: Ditto.
892 * docs/html/configopts.html: Ditto.
893 * docs/html/documentation.html: Ditto.
894 * docs/html/explanations.html: Ditto.
895 * docs/html/install.html: Ditto.
896 * docs/html/17_intro/howto.html: Ditto.
897 * docs/html/18_support/howto.html: Ditto.
898 * docs/html/19_diagnostics/howto.html: Ditto.
899 * docs/html/20_util/howto.html: Ditto.
900 * docs/html/21_strings/howto.html: Ditto.
901 * docs/html/22_locale/howto.html: Ditto.
902 * docs/html/23_containers/howto.html: Ditto.
903 * docs/html/24_iterators/howto.html: Ditto.
904 * docs/html/25_algorithms/howto.html: Ditto.
905 * docs/html/26_numerics/howto.html: Ditto.
906 * docs/html/27_io/howto.html: Ditto.
907 * docs/html/ext/howto.html: Ditto.
908 * docs/html/ext/sgiexts.html: Ditto.
909 * docs/html/faq/index.html: Ditto.
910 * docs/html/faq/index.txt: Ditto.
912 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
914 * testsuite/21_strings/c_strings.cc (test01, test02): Increase
917 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
919 * docs/html/20_util/howto.html: Add anchor name.
920 * docs/html/23_containers/howto.html: Line wrapping, another link.
921 * docs/html/25_algorithms/howto.html: Another note.
923 * docs/html/ext/howto.html: Link to SGI extensions. List DRs and
925 * docs/html/ext/lwg-active.html: ...in this new file (from R19),
926 * docs/html/ext/lwg-defects.html: and this new file (from R19).
927 * docs/html/ext/sgiexts.html: New file. Mention SGI extensions
928 carried over to libstdc++-v3.
929 * docs/html/faq/index.html: Link to SGI extensions. Mention the
930 "missing .." pseudobug.
931 * docs/html/faq/index.txt: Regenerate.
933 * include/bits/ios_base.h: DR-related comment cleanup.
934 * include/bits/istream.tcc: Likewise.
935 * include/bits/locale_facets.h: Likewise.
936 * include/bits/locale_facets.tcc: Likewise.
937 * include/bits/ostream.tcc: Likewise.
938 * include/bits/std_bitset.h: Likewise.
939 * include/bits/std_iosfwd.h: Likewise.
940 * include/bits/std_istream.h: Likewise.
941 * include/bits/std_ostream.h: Likewise.
942 * include/bits/std_streambuf.h: Likewise.
943 * include/bits/stl_pair.h: Likewise.
944 * include/bits/streambuf_iterator.h: Likewise.
946 * include/bits/std_map.h: Remove unused header inclusion guard
947 _CPP_BITS_STL_TREE_H from around bits/stl_tree.h.
948 * include/bits/std_set.h: Likewise.
950 * include/bits/stl_function.h: Doxygen markup.
951 * docs/doxygen/doxygroups.cc: New file, specifying module grouping.
952 * libsupc++/typeinfo: Doxygen markup tweak.
954 2001-09-20 Scott Johnston <scott@accom.com>
955 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
957 * include/backward/alloc.h: Conditionally define malloc_alloc
958 * testsuite/backward/header_deque_h.cc: New file.
960 2001-09-20 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
962 * libstdc++-v3/include/bits/locale_facets.tcc (money_put::do_put):
963 change variable name so that it works with -fno-for-scope.
965 2001-09-20 Benjamin Kosnik <bkoz@redhat.com>
967 * testsuite/22_locale/numpunct_members_char.cc (test01): Remove
968 redundant sanity checks.
969 * testsuite/22_locale/money_put_members_wchar_t.cc (test01): Same.
971 * testsuite/22_locale/money_put_members_char.cc (test01): Same.
973 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test01): Same.
974 * testsuite/22_locale/moneypunct_members_char.cc (test01): Same.
975 * testsuite/22_locale/money_get_members_wchar_t.cc (test01): Same.
977 * testsuite/22_locale/money_get_members_char.cc (test01): Same.
980 2001-09-19 Benjamin Kosnik <bkoz@redhat.com>
982 Implement std::time_put.
983 * include/bits/locale_facets.h: Include time_members.h.
985 (time_put): Implement.
986 * include/bits/locale_facets.tcc (do_put): Put generic versions here.
987 * include/bits/localefwd.h: Bump number of facets.
988 * config/locale/time_members_generic.h: New file.
989 * config/locale/time_members_gnu.h: New file.
990 * config/locale/c_locale_generic.h: Include clocale.
991 * src/locale-inst.cc: Add use_facet instantiations for __timepunct.
992 * src/locale.cc: Add __timepunct initializations.
993 * src/localename.cc (locale::_Impl::_Impl(string, size_t)): Same.
994 * include/Makefile.am (stamp-target): Add time_members.h.
995 * include/Makefile.in: Regenerate.
996 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_H.
997 * aclocal.m4: Regenerate.
998 * configure: Regenerate.
999 * testsuite/22_locale/time_put.cc: New file.
1000 * testsuite/22_locale/time_put_members_char.cc: New file.
1002 * docs/html/22_locale/locale.html: Add note.
1004 2001-09-17 Phil Edwards <pme@gcc.gnu.org>
1006 * docs/html/configopts.html: HTML to XHTML change. Lowercase tags.
1007 * docs/html/documentation.html: Likewise.
1008 * docs/html/explanations.html: Likewise.
1009 * docs/html/install.html: Likewise.
1010 * docs/html/17_intro/howto.html: Likewise.
1011 * docs/html/18_support/howto.html: Likewise.
1012 * docs/html/19_diagnostics/howto.html: Likewise.
1013 * docs/html/20_util/howto.html: Likewise.
1014 * docs/html/21_strings/howto.html: Likewise.
1015 * docs/html/22_locale/codecvt.html: Likewise.
1016 * docs/html/22_locale/ctype.html: Likewise.
1017 * docs/html/22_locale/howto.html: Likewise.
1018 * docs/html/22_locale/locale.html: Likewise.
1019 * docs/html/22_locale/messages.html: Likewise.
1020 * docs/html/23_containers/howto.html: Likewise.
1021 * docs/html/24_iterators/howto.html: Likewise.
1022 * docs/html/25_algorithms/howto.html: Likewise.
1023 * docs/html/26_numerics/howto.html: Likewise.
1024 * docs/html/27_io/howto.html: Likewise.
1025 * docs/html/ext/howto.html: Likewise.
1026 * docs/html/faq/index.html: Likewise.
1027 * docs/html/faq/index.txt: Regenerated.
1029 2001-09-14 Phil Edwards <pme@sources.redhat.com>
1031 * docs/html/17_intro/headers_cc.txt: "Sync"/copy real file over.
1032 * docs/html/17_intro/howto.html: Spacing and HTML markup fixes.
1033 * docs/html/18_support/howto.html: It won't compile; it's not code.
1034 * docs/html/19_diagnostics/howto.html: Point diagram seekers to
1036 * docs/html/22_locale/howto.html: Comment for future work.
1037 * docs/html/23_containers/howto.html: More comments.
1038 * docs/html/25_algorithms/howto.html: It's a comment, not a
1039 blunt command to the reader. (English grammar.)
1041 2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
1043 * config/locale/moneypunct_members_gnu.cc: Fix initialization of
1045 * testsuite/22_locale/money_get_members_wchar_t.cc (test02): New file.
1046 * testsuite/22_locale/money_put_members_wchar_t.cc (test02): Fix.
1048 2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
1050 * include/bits/locale_facets.tcc: Conditionalize use of strtold.
1052 2001-09-13 Alexandre Petit-Bianco <apbianco@redhat.com>
1054 * testsuite/22_locale/money_get_members_char.cc: Fixed typo in comment.
1055 * testsuite/22_locale/money_put_members_char.cc: Likewise.
1056 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
1058 2001-09-13 Benjamin Kosnik <bkoz@redhat.com>
1060 Implement std::money_get.
1061 * include/bits/locale_facets.tcc (money_get::do_get): Implement.
1062 * include/bits/locale_facets.h (money_get): Correct signatures.
1063 * testsuite/22_locale/money_get.cc: New file.
1064 * testsuite/22_locale/money_get_members_char.cc: New file.
1066 * include/bits/locale_facets.tcc (__verify_grouping): New
1067 function. Consolidate num_get and money_get group checking into
1069 (money_get): Use it.
1070 * src/locale.cc (num_get::_M_extract): Use it.
1071 * src/locale-inst.cc: Add instantiation.
1073 2001-09-12 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1075 * include/bits/std_limits.h (numeric_limits<float>::radix,
1076 numeric_limits<float>::epsilon: Fix thinko.
1078 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
1080 * configure.in: Fix cross compiling math routines. Correct
1081 comments for cross compiling and limits. Add floating point math
1082 routines found in newlib.
1083 * configure: Regenerate.
1084 * acconfig.h: Add macros.
1085 * config.h.in: Regenerate.
1087 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
1089 * config/locale/moneypunct_members_generic.cc
1090 (money_base::_S_construct_pattern): Remove unused parameters.
1092 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
1094 * include/Makefile.am (stamp-target): Remove link to self.
1095 * inclulde/Makefile.in: Regenerate.
1097 2001-09-09 Benjamin Kosnik <bkoz@redhat.com>
1099 Implement std::money_put.
1100 * include/bits/locale_facets.h
1101 (moneypunct::_M_initialize_moneypunct): Split up specializations
1102 to account for _Intl. More grody hacking to get around the
1103 ill-considered use of const bool as a template parameter.
1104 * config/locale/moneypunct_members_gnu.cc: And here.
1105 * config/locale/moneypunct_members_generic.cc: And here.
1106 * testsuite/22_locale/moneypunct_members_char.cc: Add tests.
1107 * testsuite/22_locale/moneypunct.cc: Add tests.
1108 * testsuite/22_locale/money_put_members_wchar_t.cc: New file.
1109 * testsuite/22_locale/moneypunct_members_wchar_t.cc: New file.
1111 * src/locale.cc (money_base::_S_construct_pattern): Move into
1113 * config/locale/moneypunct_members_gnu.cc: Add here.
1114 * config/locale/moneypunct_members_generic.cc: Add generic version
1117 * include/bits/locale_facets.tcc (money_put::do_put): Move member
1118 function definitions here.
1119 * include/bits/locale_facets.h (money_put): Implement.
1120 * src/locale-inst.cc: Add use_facet instantiations for moneypunct.
1121 Correct money_get, money_put instantiations.
1122 * src/locale.cc (money_base::_S_construct_pattern): Handle case
1124 * testsuite/22_locale/money_put_members_char.cc: Add tests.
1126 2001-09-05 Phil Edwards <pme@sources.redhat.com>
1128 * testsuite_flags.in: No longer need to search testsuite builddir.
1129 * src/stl-inst.cc (__sink_unused_warning): Unused, remove.
1130 * Makefile.am: The testsuite directory never needs to be made here.
1131 * Makefile.in: Regenerate.
1132 * include/Makefile.in: Regenerate.
1133 * libio/Makefile.in: Regenerate.
1134 * libmath/Makefile.in: Regenerate.
1135 * libsupc++/Makefile.in: Regenerate.
1136 * po/Makefile.in: Regenerate.
1137 * src/Makefile.in: Regenerate.
1138 * testsuite/Makefile.in: Regenerate.
1140 2001-09-04 Scott Johnston <scott@accom.com>
1141 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1143 * include/backward/iterator.h: Include <bits/std_iterator.h>,
1144 remove reverse_bidirectional_iterator.
1145 * testsuite/backward: New directory.
1146 * testsuite/backward/header_iterator_h.cc: New file.
1148 2001-09-04 Benjamin Kosnik <bkoz@redhat.com>
1150 * include/c_std/bits/std_c*.h: Don't use include_next.
1152 2001-09-03 Richard Sandiford <rsandifo@redhat.com>
1154 * libsupc++/eh_personality.cc (parse_lsda_header): Change type of
1155 tmp from _Unwind_Ptr to _Unwind_Word.
1157 2001-08-31 Jason Merrill <jason_merrill@redhat.com>
1159 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Simplify
1162 2001-08-28 Loren J. Rittle <ljrittle@acm.org>
1164 * include/Makefile.am: Use toplevel_srcdir to refer to src files
1165 outside this component.
1166 * include/Makefile.in: Regenerate.
1168 2001-08-27 Benjamin Kosnik <bkoz@redhat.com>
1170 * config/locale/c_locale_gnu.cc: Move facet info to separate files...
1171 * config/locale/c_locale_generic.cc: Same.
1172 * config/locale/moneypunct_members_gnu.cc: New file.
1173 * config/locale/moneypunct_members_generic.cc: New file.
1174 * config/locale/numpunct_members_gnu.cc: New file.
1175 * config/locale/numpunct_members_generic.cc: New file.
1176 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add moneypunct, numpunct
1178 * aclocal.m4: Regenerate.
1179 * configure: Regenerate.
1180 * src/Makefile.am (sources): And here.
1181 * src/Makefile.in: Regenerate.
1183 Rename for consistency with rest of testsuite.
1184 * testsuite/22_locale/codecvt.cc: New file.
1185 * testsuite/22_locale/money_put.cc: New file.
1186 * testsuite/22_locale/money_put_members_char.cc: New file.
1188 2001-08-27 Phil Edwards <pme@sources.redhat.com>
1191 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Handle enable/disable
1192 correctly for version-specific-runtime-libs.
1193 * aclocal.m4: Regenerate.
1194 * configure: Regenerate.
1196 2001-08-24 Loren J. Rittle <ljrittle@acm.org>
1198 * config/cpu/i386/bits/limits.h (__glibcpp_long_double_bits): Only
1199 define if not already provided by per-OS file.
1200 * config/os/bsd/freebsd/bits/os_defines.h (__glibcpp_long_double_bits):
1203 2001-08-24 Jan van Male <jan.vanmale@fenk.wau.nl>
1205 * docs/html/17_intro/C++STYLE: Fix typo.
1207 2001-08-24 Phil Edwards <pme@sources.redhat.com>
1209 * docs/html/23_containers/howto.html: Describe implementation of
1210 insertion with hints.
1212 2001-08-24 Kenny Simpson <kenny.simpson@gs.com>
1215 * include/bits/std_sstream.h (basic_ostringstream): Fix ctor.
1217 2001-08-24 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
1218 Phil Edwards <pme@sources.redhat.com>
1221 * include/bits/stl_tree.h (insert_unique): Revert last change.
1222 Values inserted at begin() must be less, not greater, than *begin()'s.
1223 * testsuite/23_containers/map_insert.cc: New file.
1225 2001-08-23 Benjamin Kosnik <bkoz@redhat.com>
1227 * config/locale/c_locale_gnu.cc: Minor tweaks.
1228 (moneypunct<wchar_t>): Implement.
1229 * include/bits/locale_facets.h: Same.
1230 * testsuite/22_locale/moneypunct.cc: New file.
1231 * testsuite/22_locale/moneypunct_byname.cc: New file.
1232 * testsuite/22_locale/moneypunct_char_members.cc: New file.
1234 2001-08-23 David Edelsohn <edelsohn@gnu.org>
1236 * config/os/gnu-linux/bits/os_defines.h: Correct __s390__ definitions.
1237 Set __powerpc__ long double definition based on __LONG_DOUBLE_128__.
1239 2001-08-23 Jason Merrill <jason_merrill@redhat.com>
1241 * testsuite_flags.in (build-includes): Re-add backward.
1243 2001-08-22 Benjamin Kosnik <bkoz@redhat.com>
1245 * testsuite/22_locale/collate_wchar_t_members.cc: Guard
1246 with _GLIBCPP_USE_WCHAR_T.
1248 2001-08-21 Benjamin Kosnik <bkoz@redhat.com>
1250 * testsuite/22_locale/collate_byname.cc (test01): Fix.
1252 2001-08-18 Vladimir A Merzliakov <wanderer@rsu.ru>
1254 * include/bits/locale_facets.tcc (collate::do_transform): Add typename.
1256 2001-08-18 Benjamin Kosnik <bkoz@redhat.com>
1258 * testsuite/22_locale/operators.cc: Add test.
1260 2001-08-17 Benjamin Kosnik <bkoz@redhat.com>
1262 Implement std::collate.
1263 * config/locale/collate_specializations_gnu.cc: Add here, implement in
1265 * config/locale/collate_specializations_generic.cc: Add here, but
1266 in a less sophisticated manner.
1267 * include/bits/locale_facets.tcc (collate): Add generic definition.
1268 * include/bits/locale_facets.h (~collate): Mark virtual.
1269 (collate::_M_compare_helper): New.
1270 (collate::_M_transform_helper): New.
1271 * src/locale.cc: Remove unnecessary specializations.
1272 * src/string-inst.cc: Tweak instantiation of ctors.
1274 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Do configury for collate.
1275 * aclocal.m4: Regenerate.
1276 * configure: Regenerate.
1277 * src/Makefile.am (sources): Add collate.cc.
1278 * src/Makefile.in: Regenerate.
1280 * testsuite/22_locale/collate_byname.cc: New.
1281 * testsuite/22_locale/collate.cc: New file.
1282 * testsuite/22_locale/collate_char_members.cc: New file.
1283 * testsuite/22_locale/collate_wchar_t_members.cc: New file.
1285 2001-08-16 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1287 * configure.target: Set LIMITSH for powerpc-*-*.
1288 * config/cpu/powerpc/bits/limits.h: New file.
1290 2001-08-16 Marc Espie <espie@openbsd.org>
1292 * configure.in: Check for <sys/types.h>.
1293 * configure: Rebuild.
1294 * config.h.in: Rebuild.
1295 * libmath/mathconf.h: Include <sys/types.h> prior to
1296 <machine/endian.h> if available.
1298 2001-08-15 Andreas Schwab <schwab@suse.de>
1300 * configure.target (cpu_include_dir): Set to `config/cpu/m68k' for
1301 m68k and m680[246]0.
1302 * config/cpu/m68k/bits/atomicity.h: New file.
1304 * include/bits/std_limits.h [__glibcpp_long_double_bits == 96]:
1305 Define appropriate long double limits for m68k extended floating
1307 (__glibcpp_f32_digits10): Corrected, off by one.
1308 (__glibcpp_f80_digits10): Likewise.
1309 (__glibcpp_f128_digits10): Likewise.
1310 * config/os/gnu-linux/bits/os_defines.h
1311 (__glibcpp_long_double_bits) [__mc68000__]: Define to 96.
1313 2001-08-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1315 * testsuite/18_support/numeric_limits.cc: Add more tests.
1316 * include/bits/std_limits.h (numeric_limits<char>::max): Fix
1319 2001-08-14 Ulrich Weigand <uweigand@de.ibm.com>
1321 * configure.target (cpu_include_dir): Set to `config/cpu/s390'
1324 * config/cpu/s390/bits/atomicity.h: New.
1326 2001-08-14 Gabriel Dos Reis <gdr@codesourcery.com>
1328 * include/bits/std_limits.h: Fix thinko.
1330 2001-08-14 Benjamin Kosnik <bkoz@redhat.com>
1332 * include/Makefile.am: Consolidate target rules. Don't clean stamp
1333 files. Tweak target build directory stamp.
1334 * include/Makefile.in: Regenerate.
1336 2001-08-14 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1338 * libstdc++-v3/libmath/stubs.c: Fix PR/3988, replace
1339 _GBLICPP_HAVE_LOGL with HAVE_LOGL
1341 2001-08-13 Benjamin Kosnik <bkoz@redhat.com>
1343 * configure.in (libtool_VERSION): Add.
1344 (VERSION): Change to
1345 (release_VERSION): This.
1346 * configure: Regenerate.
1347 * src/Makefile.am (libstdc___la_LDFLAGS): Use -version-info with
1349 * src/Makefile.in: Regenerate.
1351 * intl/Makefile.am: Remove.
1352 * intl/Makefile.in: Remove.
1354 * Makefile.am (SUBDIRS): Remove intl.
1355 * po/Makefile.am (DISTFILES): Add string_literals.cc
1357 * po/string_literals.cc: Add.
1358 * po/POTFILES.in: Fix path.
1359 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't call AM_GNU_GETTEXT.
1360 * aclocal.m4: Regenerate.
1361 * configure.in: Remove AC_OUTPUT of intl/Makefile.
1363 * include/backward/backward_warning.h: Clarify message.
1365 * testsuite_flags.in (--cxxflags): Use same debug flags for
1366 library and testsuite.
1368 * include/Makefile.am (c_compatibility): Remove.
1369 * include/Makefile.in: Regenerate.
1371 2001-08-13 Mark Mitchell <mark@codesourcery.com>
1373 * configure.in (LIMITS_INC_SRCDIR): New variable.
1374 * configure.target (LIMITSH): New variable.
1375 * porting.texi: Discuss numeric limits.
1376 * config/cpu/generic/bits/limits.h: New file.
1377 * config/cpu/i386/bits/limits.h: New file.
1378 * include/Makefile.am: Install bits/limits.h.
1379 * include/bits/c++config: Include bits/limits.h.
1381 2001-08-13 H.J. Lu (hjl@gnu.org)
1383 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-copy-files):
1385 (libstdc++-v3-init ): Use it.
1387 2001-08-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1389 * include/bits/ostream.tcc (__pad_char): Change toplevel '__fmt'
1390 to '__adjust' to avoid shadowing in nested scope.
1392 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1394 * include/bits/std_limits.h(__glibcpp_char_is_signed): Use
1397 * config/os/gnu-linux/bits/os_defines.h(__glibcpp_char_is_signed):
1399 * config/os/aix/bits/os_defines.h(__glibcpp_plain_char_is_signed):
1402 2001-08-10 Loren J. Rittle <ljrittle@acm.org>
1404 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Add
1405 dummy default argument to the non-limit implementation.
1408 * include/Makefile.am: Use relative file path in rule to allow
1410 * include/Makefile.in: Rebuilt.
1412 2001-08-10 Gunter Winkler <gunter.winkler@mathematik.tu-chemnitz.de>
1414 * include/bits/std_complex.h (complex<long double>::operator*=,
1415 complex<long double>::operator/=): Fix thinko.
1417 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1419 * include/bits/std_limits.h: New file.
1420 * include/Makefile.am (bits_headers): Add std_limits.h
1421 (all-local): std_limits.h is no longer built.
1422 (${target_builddir}/std_limits.h): Remove.
1423 * include/Makefile.in: Regenerate.
1424 * src/limits.cc: New file.
1425 * src/Makefile.am (sources): Add limits.cc in replacement of
1427 * src/Makefile.in: Regenerate.
1429 2001-08-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1431 * src/gen-num-limits.cc (digits10): Fix thinko.
1433 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
1435 * po/Makefile.am (check-no): Add.
1437 * po/Makefile.in: Regenerate.
1439 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
1441 * acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
1442 * config.h.in: Regenerate.
1443 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT): Check for setrlimit
1445 * aclocal.m4: Regenerate.
1446 * configure.in: Remove duplicate AM_CONFIG_HEADER.
1447 (AM_CONFIG_HEADER): Remove testsuite/testsuite_hooks.h.
1448 Only call GLIBCPP_CHECK_SETRLIMIT for native compiles.
1449 * configure: Regenerate.
1450 * testsuite_hooks.h.in: Move to...
1451 * testsuite_hooks.h: Here, include c++config.h. Use it.
1453 * Makefile.am (SUBDIRS): Move testsuite to last directory.
1454 * Makefile.in: Regenerate.
1455 * po/Makefile.am (stamp-po): Add.
1457 2001-08-09 David Edelsohn <edelsohn@gnu.org>
1459 * config/os/aix/bits/os_defines.h: Define std_limits.h macros.
1460 * config/os/generic/bits/os_defines.h: Likewise.
1461 * config/os/gnu-linux/bits/os_defines.h: Likewise.
1462 * config/os/hpux/bits/os_defines.h: Likewise.
1463 * config/os/irix/irix6.5/bits/os_defines.h: Likewise.
1464 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
1466 2001-08-08 Benjamin Kosnik <bkoz@redhat.com>
1468 * src/Makefile.am (libstdc___la_LDFLAGS): Use -release instead of
1469 -version-info, use substituted VERSION info.
1470 * src/Makefile.in: Regenerate.
1472 2001-08-07 Benjamin Kosnik <bkoz@redhat.com>
1474 Implement std::messages.
1475 Make config a fully-nested directory.
1476 * config/locale: New directory.
1477 * config/c_locale_generic.cc: Move into locale subdirectory.
1478 * config/c_locale_generic.h: Same.
1479 * config/c_locale_gnu.cc: Same.
1480 * config/c_locale_gnu.h: Same.
1481 * config/c_locale_ieee_1003.1-200x.cc: Same.
1482 * config/c_locale_ieee_1003.1-200x_.h: Same.
1483 * config/codecvt_specializations_generic.h: Same.
1484 * config/codecvt_specializations_ieee_1003.1-200x.h: Same.
1485 * config/messages_members_gnu.h: Same.
1486 * config/messaages_members_gnu.cc: Same.
1487 * config/messages_members_generic.h: Same.
1488 * config/messaages_members_generic.cc: Same.
1489 * config/messages_members_ieee_1003.1-200x.h: Same.
1490 * config/messaages_members_ieee_1003.1-200x.cc: Same.
1491 * config/io: New directory.
1492 * config/basic_file_libio.h: Move into io subdirectory.
1493 * config/basic_file_libio.cc: Same.
1494 * config/c_io_libio.h: Same.
1495 * config/c_io_libio_codecvt.c: Same.
1496 * config/basic_file_stdio.h: Same.
1497 * config/basic_file_stdio.cc: Same.
1498 * config/c_io_stdio.h: Same.
1500 * po: New directory.
1501 * po/POTFILES.in: New file.
1502 * po/Makefile.am: New file.
1503 * po/Makefile.in: New file.
1504 * po/libstdc++.pot: Generic translation file.
1505 * po/fr.po: Preliminary French translation.
1506 * po/de.po: Preliminary German translation.
1507 * intl: New directory.
1508 * intl/Makefile.am: New file.
1509 * intl/Makefile.in: New file.
1510 * intl/string_literals.cc: New file.
1511 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump VERSION to 3.1.0. Add
1512 requisite setup for gettext. Re-arrange.
1513 * aclocal.m4: Regenerate.
1514 * configure.in: Don't call GLIBCPP_CHECK_COMPILER_VERSION.
1515 Output Makefile bits for po and intl.
1516 * configure: Regenerate.
1517 * Makefile.am (SUBDIRS): Add intl, po. Add rule for dist.
1518 * Makefile.in: Regenerate.
1519 * acconfig.h: Add ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY.
1520 * config.h.in: Regenerate.
1522 * acinclude.m4 (AC_REPLACE_STRINGFUNCS): Remove.
1524 * include/Makefile.am (install-data-local): Don't install Makefile.
1525 * include/Makefile.in: Regenerate.
1527 * include/bits/locale_facet.h (locale::facet::_S_clone_c_locale):
1529 * config/locale/c_locale_gnu.cc (_S_clone_c_locale): Add definition.
1530 * config/locale/c_locale_generic.cc: Same.
1531 * config/locale/c_locale_ieee_1003.1-200x.cc: Same.
1533 * include/bits/codecvt.h: Excise non-standard, non-required
1534 bits. This includes __enc_traits, and partial specializations of
1535 codecvt for __enc_traits.
1536 * src/codecvt.cc (__enc_traits::_S_max_size): Guard
1537 * config/codecvt_partials_ieee_1003.1-200x.h: New file.
1538 * config/codecvt_partials_generic.h: New file.
1539 * include/Makefile.am (allstamps): Add stamp-codecvt_model.
1540 (stamp-codecvt_model): Add.
1541 * include/Makefile.in: Regenerate.
1542 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in codecvt configury.
1543 * aclocal.m4: Regenerate.
1544 * configure: Regenerate.
1545 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Use macro guard.
1546 * testsuite/22_locale/codecvt_unicode_char.cc: Same.
1547 * testsuite/22_locale/ctor_copy_dtor.cc: And here.
1549 * include/bits/localefwd.h (class locale::facet): Add __enc_traits
1550 as a friend for _S_*_c_locale functions.
1551 * include/bits/codecvt.h (__enc_traits::__enc_traits): Add locale
1552 argument to default constructor so that CODESET information can be
1554 * include/bits/locale_facets.h (messages_byname):
1555 Re-implement. Remove specializations.
1556 * src/locale.cc (messages_byname<char>): Remove specialization.
1557 (messages_byname<wchar_t>): Same.
1558 * config/locale/c_locale_ieee_1003.1-200x.cc: New file.
1559 * config/locale/c_locale_ieee_1003.1-200x.h: New file.
1560 * config/locale/messages_members_ieee_1003.1-200x.cc: New file.
1561 * config/locale/messages_members_ieee_1003.1-200x.h: New file.
1562 * config/locale/messages_members_gnu.cc: New file.
1563 * config/locale/messages_members_gnu.h: New file.
1564 * config/locale/messages_members_generic.cc: New file.
1565 * config/locale/messages_members_generic.h: New file.
1567 * docs/html/configopts.html: Add documentation for new locale
1568 model, ieee_1003.1. Adjust other flags for current defaults.
1569 * docs/html/22_locale/locale.html: Update.
1570 * docs/html/22_locale/howto.html: Add link to messages.html. Organize.
1571 * docs/html/22_locale/messages.html: New.
1573 * src/Makefile.am (sources): Add messages_virtuals.cc.
1574 * src/Makefile.in: Regenerate.
1575 * include/Makefile.am (allstamps): Add stamp-messages_model.
1576 (stamp-messages_model): Add.
1577 * include/Makefile.in: Regenerate.
1578 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in messages configury.
1579 * aclocal.m4: Regenerate.
1580 * configure: Regenerate.
1582 * testsuite_flags.in (--cxxflags): Add LOCALEDIR.
1583 * testsuite/lib/libstdc++-v3-dg.exp: Remove broken LD_LIBRARY_PATH
1585 * acinclude (GLIBCPP_ENABLE_CLOCALE): Set glibcpp_localedir to the
1586 build directories message catalog base directory, and export.
1587 Eventually this should probably be made to deal with build and
1588 install directories. For now, punt on this as the library itself
1589 doesn't use message catalogs (yet).
1590 * testsuite/22_locale/messages.cc: New file.
1591 * testsuite/22_locale/messages_char_members.cc: New file.
1592 * testsuite/22_locale/messages_byname.cc: New file.
1594 2001-08-06 Phil Edwards <pme@sources.redhat.com>
1596 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls...
1597 (GLIBCPP_CHECK_SETRLIMIT): ...this new macro, which also uses...
1598 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): ...this new macro.
1599 * configure.in (AM_CONFIG_HEADER): Also generate testsuite_hooks.h.
1600 Call GLIBCPP_CONFIGURE_TESTSUITE.
1601 * aclocal.m4: Regenerate.
1602 * config.h.in: Regenerate.
1603 * configure: Regenerate.
1605 * testsuite/lib/libstdc++-v3-dg.exp: Download new header instead
1608 * testsuite_flags.in: Add build dir's testsuite to INCLUDES.
1609 * testsuite/debug_assert.h: Removed; contents merged into...
1610 * testsuite/testsuite_hooks.h.in: ...here. New file.
1611 * testsuite/17_intro/header_ciso646.cc: No longer include
1612 debug_assert.h, include testsuite_hooks.h instead.
1613 * testsuite/17_intro/header_fstream.cc: Likewise.
1614 * testsuite/17_intro/header_iomanip.cc: Likewise.
1615 * testsuite/17_intro/header_ios.cc: Likewise.
1616 * testsuite/17_intro/header_iosfwd.cc: Likewise.
1617 * testsuite/17_intro/header_iostream.cc: Likewise.
1618 * testsuite/17_intro/header_istream.cc: Likewise.
1619 * testsuite/17_intro/header_ostream.cc: Likewise.
1620 * testsuite/17_intro/header_sstream.cc: Likewise.
1621 * testsuite/17_intro/header_streambuf.cc: Likewise.
1622 * testsuite/18_support/numeric_limits.cc: Likewise.
1623 * testsuite/19_diagnostics/stdexceptions.cc: Likewise.
1624 * testsuite/20_util/allocator_members.cc: Likewise.
1625 * testsuite/20_util/auto_ptr.cc: Likewise.
1626 * testsuite/20_util/pairs.cc: Likewise.
1627 * testsuite/21_strings/append.cc: Likewise.
1628 * testsuite/21_strings/capacity.cc: Likewise.
1629 * testsuite/21_strings/char_traits_requirements.cc: Likewise.
1630 * testsuite/21_strings/compare.cc: Likewise.
1631 * testsuite/21_strings/ctor_copy_dtor.cc: Likewise. Also set up
1632 call to (disabled) __set_testsuite_memlimit() wrapper.
1633 * testsuite/21_strings/element_access.cc: Likewise.
1634 * testsuite/21_strings/find.cc: Likewise.
1635 * testsuite/21_strings/insert.cc: Likewise. Also set up call to
1636 (disabled) __set_testsuite_memlimit() wrapper.
1637 * testsuite/21_strings/inserters_extractors.cc: Likewise.
1638 * testsuite/21_strings/invariants.cc: Likewise.
1639 * testsuite/21_strings/nonmember.cc: Likewise.
1640 * testsuite/21_strings/operations.cc: Likewise.
1641 * testsuite/21_strings/replace.cc: Likewise.
1642 * testsuite/21_strings/rfind.cc: Likewise.
1643 * testsuite/21_strings/substr.cc: Likewise.
1644 * testsuite/22_locale/codecvt_char_char.cc: Likewise.
1645 * testsuite/22_locale/codecvt_unicode_char.cc: Likewise.
1646 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Likewise.
1647 * testsuite/22_locale/codecvt_wchar_t_char.cc: Likewise.
1648 * testsuite/22_locale/ctor_copy_dtor.cc: Likewise.
1649 * testsuite/22_locale/ctype_char_members.cc: Likewise.
1650 * testsuite/22_locale/ctype_wchar_t_members.cc: Likewise.
1651 * testsuite/22_locale/facet.cc: Likewise.
1652 * testsuite/22_locale/global_templates.cc: Likewise.
1653 * testsuite/22_locale/members.cc: Likewise.
1654 * testsuite/22_locale/numpunct_byname.cc: Likewise.
1655 * testsuite/22_locale/numpunct_char_members.cc: Likewise.
1656 * testsuite/22_locale/operators.cc: Likewise.
1657 * testsuite/22_locale/static_members.cc: Likewise.
1658 * testsuite/23_containers/bitset_ctor.cc: Likewise.
1659 * testsuite/23_containers/bitset_members.cc: Likewise.
1660 * testsuite/23_containers/bitset_shift.cc: Likewise.
1661 * testsuite/23_containers/vector_capacity.cc: Likewise.
1662 * testsuite/23_containers/vector_ctor.cc: Likewise.
1663 * testsuite/23_containers/vector_element_access.cc: Likewise.
1664 * testsuite/23_containers/vector_modifiers.cc: Likewise.
1665 * testsuite/24_iterators/istreambuf_iterator.cc: Likewise.
1666 * testsuite/24_iterators/iterator.cc: Likewise.
1667 * testsuite/24_iterators/ostreambuf_iterator.cc: Likewise.
1668 * testsuite/25_algorithms/binary_search.cc: Likewise.
1669 * testsuite/25_algorithms/copy.cc: Likewise.
1670 * testsuite/25_algorithms/heap.cc: Likewise.
1671 * testsuite/25_algorithms/lower_bound.cc: Likewise.
1672 * testsuite/25_algorithms/min_max.cc: Likewise.
1673 * testsuite/25_algorithms/partition.cc: Likewise.
1674 * testsuite/25_algorithms/rotate.cc: Likewise.
1675 * testsuite/25_algorithms/sort.cc: Likewise.
1676 * testsuite/26_numerics/c_math.cc: Likewise.
1677 * testsuite/26_numerics/complex_inserters_extractors.cc: Likewise.
1678 * testsuite/26_numerics/complex_value.cc: Likewise.
1679 * testsuite/27_io/filebuf.cc: Likewise.
1680 * testsuite/27_io/filebuf_members.cc: Likewise.
1681 * testsuite/27_io/filebuf_virtuals.cc: Likewise.
1682 * testsuite/27_io/fpos.cc: Likewise.
1683 * testsuite/27_io/fstream_members.cc: Likewise.
1684 * testsuite/27_io/ifstream_members.cc: Likewise.
1685 * testsuite/27_io/ios_base_callbacks.cc: Likewise.
1686 * testsuite/27_io/ios_base_members_static.cc: Likewise.
1687 * testsuite/27_io/ios_base_storage.cc: Likewise.
1688 * testsuite/27_io/ios_ctor.cc: Likewise.
1689 * testsuite/27_io/ios_init.cc: Likewise.
1690 * testsuite/27_io/ios_manip_basefield.cc: Likewise.
1691 * testsuite/27_io/ios_manip_fmtflags.cc: Likewise.
1692 * testsuite/27_io/ios_members.cc: Likewise.
1693 * testsuite/27_io/istream_extractor_arith.cc: Likewise.
1694 * testsuite/27_io/istream_extractor_char.cc: Likewise.
1695 * testsuite/27_io/istream_extractor_other.cc: Likewise.
1696 * testsuite/27_io/istream_manip.cc: Likewise.
1697 * testsuite/27_io/istream_seeks.cc: Likewise.
1698 * testsuite/27_io/istream_sentry.cc: Likewise.
1699 * testsuite/27_io/istream_unformatted.cc: Likewise.
1700 * testsuite/27_io/istringstream_members.cc: Likewise.
1701 * testsuite/27_io/narrow_stream_objects.cc: Likewise.
1702 * testsuite/27_io/ofstream_members.cc: Likewise.
1703 * testsuite/27_io/ostream_inserter_arith.cc: Likewise.
1704 * testsuite/27_io/ostream_inserter_char.cc: Likewise.
1705 * testsuite/27_io/ostream_inserter_other.cc: Likewise.
1706 * testsuite/27_io/ostream_manip.cc: Likewise.
1707 * testsuite/27_io/ostream_seeks.cc: Likewise.
1708 * testsuite/27_io/ostream_unformatted.cc: Likewise.
1709 * testsuite/27_io/ostringstream_members.cc: Likewise.
1710 * testsuite/27_io/streambuf.cc: Likewise.
1711 * testsuite/27_io/stringbuf.cc: Likewise.
1712 * testsuite/27_io/stringbuf_virtuals.cc: Likewise.
1713 * testsuite/27_io/stringstream.cc: Likewise.
1714 * testsuite/27_io/stringstream_members.cc: Likewise.
1715 * testsuite/27_io/wide_stream_objects.cc: Likewise.
1717 2001-07-31 Loren J. Rittle <ljrittle@acm.org>
1719 * src/gen-num-limits.cc: Use __LONG_LONG_MAX__.
1721 2001-07-30 Benjamin Kosnik <bkoz@redhat.com>
1723 * configure.target: Remove mips from cpu table.
1724 * config/cpu/mips/bits/atomicity.h: Remove generic
1725 versions. Comment sgidefs include.
1727 2001-07-25 H.J. Lu <hjl@gnu.org>
1729 * configure.target (cpu_include_dir): Set to `config/cpu/mips'
1732 * config/cpu/mips/bits/atomicity.h: New.
1734 2001-07-25 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1736 * acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf,
1737 hypotl, atan2f, atan2l. Remove from REPLACE_MATHFUNCS list.
1738 * aclocal.m4: Regenerate.
1739 * config.h.in: Likewise.
1740 * configure: Likewise.
1741 * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove hypotl.c
1742 (EXTRA_DIST): Remove hypot.c hypotf.c.
1743 * libmath/Makefile.am: Regenerate.
1744 * libmath/hypotf.c: Remove.
1745 * libmath/hypot.c: Likewise.
1746 * libmath/hypotl.c: Likewise.
1747 * libmath/stubs.c: The macros seen here are HAVE_xxx, not
1748 _GLIBCPP_HAVE_xxx. Add long double versions.
1750 2001-07-23 David Edelsohn <edelsohn@gnu.org>
1752 * include/bits/limits_generic.h (int): Set digits and digits10
1753 appropriately for word size.
1754 (unsigned int,long,unsigned long): Likewise.
1756 2001-07-19 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1758 * include/bits/stl_algo.h : Fix typos.
1759 * testsuite/25_algorithms/unique.cc: New file.
1761 2001-07-19 Phil Edwards <pme@sources.redhat.com>
1762 Mark Mitchell <mark@codesourcery.com>
1764 Merge from cp-parser-branch.
1765 * include/bits/basic_string.h: Qualify symbols with 'template'.
1766 * include/bits/basic_string.tcc: Likewise.
1767 * include/bits/fstream.tcc: Likewise.
1768 * include/bits/istream.tcc: Likewise.
1769 * include/bits/sstream.tcc: Likewise.
1770 * include/bits/std_istream.h: Likewise.
1771 * include/bits/stl_iterator.h: Likewise.
1772 * include/bits/streambuf.tcc: Likewise.
1773 * src/gen-num-limits.cc: Add 'template<>' to specializations.
1774 * src/locale.cc: Likewise.
1776 2001-07-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1777 Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
1779 * src/gen-num-limits.cc (set_signals_handler): New function.
1780 Factor out signals setting. Set signal handler for SIGILL.
1782 2001-07-18 Phil Edwards <pme@sources.redhat.com>
1784 * docs/html/27_io/howto.html: Fix typo.
1785 * docs/html/faq/index.html: Minor updates for 3.0 all around.
1786 * docs/html/faq/index.txt: Regenerated.
1788 2001-07-18 Stephen M. Webb <stephen@bregmasoft..com>
1789 Roman Sulzhyk <roman_sulzhyk@yahoo.com>
1792 * include/bits/ostream.tcc (ostream::put): Fixed error condition check.
1793 * testsuite/27_io/streambuf.cc (test07): Added new regression test.
1795 2001-07-17 Stephen M. Webb <stephen@bregmasoft.com>r
1797 All occurrences of the __value_type() and __distance_type()
1798 functions, which were required to support the HP STL, have been
1799 removed along with all the auxiliary forwarding functions that
1800 were required to support their use.
1802 The __iterator_category() function was pretty much left alone
1803 because there was no benefit to removing it and its use made code
1804 just a little more readable.
1806 Incidences of distance() with nonstandard argument list were
1807 replaced by calls to the standard function (only in the files
1808 affected by the removal of the other HP functions).
1810 The signature of the rotate() algorithm was changed to match the
1813 Headers were reformatted under C++STYLE guidelines (indentation,
1814 linebreaks, typename keyword).
1816 * include/bits/stl_algo.h: replaced __value_type() and
1817 __distance_type() with iterator_traits, eliminated auxiliary
1818 support functions required to support said function usage.
1819 Changed nonstandard distance() call to standard call.
1821 * include/bits/stl_algobase.h: Same.
1822 * include/bits/stl_heap.h: Same.
1823 * include/bits/stl_numeric.h: Same.
1824 * include/bits/stl_uninitialized.h: Same.
1825 * include/bits/stl_iterator_base_types.h (__value_type()):
1827 (__distance_type()): Removed.
1828 (value_type()): Gone.
1829 (distance_type()): Done in.
1830 (iterator_category()): Hasta la vista, baby.
1832 * include/bits/stl_iterator_base_funcs.h (iterator_category()):
1833 Replaced with __iterator_category().
1834 * include/backward/iterator.h: moved definition of value_type(),
1835 distance_type(), and iterator_category() out of std:: and into
1837 * testsuite/23_containers/vector_ctor.cc (test03): New testcases.
1838 * testsuite/23_containers/vector_modifiers.cc (test03): New testcases.
1839 * testsuite/25_algorithms/rotate.cc: New testcase.
1840 * testsuite/25_algorithms/copy.cc: New testcase.
1841 * testsuite/25_algorithms/sort.cc: Same.
1842 * testsuite/25_algorithms/heap.cc: Same.
1843 * testsuite/25_algorithms/partition.cc: Same.
1844 * testsuite/25_algorithms/binary_search.cc: Same.
1845 * testsuite/26_numerics/sum_diff.cc: Ditto.
1847 001-07-17 Benjamin Kosnik <bkoz@redhat.com>
1849 * testsuite/README: Add notes on naming test cases.
1850 * testsuite/22_locale/members.cc: Mark as xfail.
1851 * testsuite/22_locale/numpunct_char_members.cc: Same.
1853 2001-07-16 Stephen M. Webb <stephen@bregmasoft.com>
1855 * acinclude.m4 (GLIBCPP_ENABLE_CHEADERS): Use glibcpp_srcdir when
1856 setting C_INCLUDE_DIR.
1857 * configure.in: Revert yesterday's LN_S change.
1858 * aclocal.m4: Regenerate.
1859 * configure: Regenerate.
1861 2001-07-15 Phil Edwards <pme@sources.redhat.com>
1863 * configure.in: Temporarily force LN_S to copy instead of symlink.
1864 * configure: Regenerate.
1866 2001-07-13 Phil Edwards <pme@sources.redhat.com>
1868 * include/bits/std_sstream.h (basic_stringbuf::basic_stringbuf(string):
1869 Initialize _M_string with pointer-and-size constructor, not just
1870 pointer. Fix some comments.
1871 * testsuite/21_strings/ctor_copy_dtor.cc (test03): New test.
1872 * testsuite/27_io/stringbuf.cc (test02): Remove unused variable.
1873 (test03): Add embedded-NUL tests.
1875 * mkcheck.in: When printing totals, match the order of the tests.
1876 * include/bits/stringfwd.h: Use same declaration keywords.
1877 * include/bits/std_iosfwd.h: Cosmetic spacing.
1879 2001-07-13 Stephen M. Webb <stephen@bregmasoft.com>
1880 Loren J. Rittle <ljrittle@acm.org>
1881 Phil Edwards <pme@sources.redhat.com>
1883 * include/Makefile.am: New file encapsulating header generation rules.
1884 * Makefile.am (SUBDIRS): Prepend 'include' directory.
1885 * acinclude.m4: Moved/removed rules for building various headers.
1886 * configure.in (AC_OUTPUT): Add include/Makefile.
1887 * mkc++config: Removed.
1889 * testsuite_flags.in: Changed build-includes to match new scheme.
1890 * mknumeric_limits: Likewise.
1891 * libio/Makefile.am: Changed INCLUDES to maatch new header scheme.
1892 * libmath/Makefile.am: Likewise.
1893 * libsupc++/Makefile.am: Likewise.
1894 * src/Makefile.am: Likewise; removed rules to build headers.
1895 * libmath/mathconf.h: Changed #include'd header names to match.
1896 * libmath/stubs.c: Likewise.
1897 * src/gen-num-limits.cc: Likewise.
1899 * configure: Regenerated.
1900 * config.h.in: Regenerated.
1901 * aclocal.m4: Regenerated.
1902 * Makefile.in: Regenerated.
1903 * include/Makefile.in: Regenerated.
1904 * libio/Makefile.in: Regenerated.
1905 * libmath/Makefile.in: Regenerated.
1906 * libsupc++/Makefile.in: Regenerated.
1907 * src/Makefile.in: Regenerated.
1908 * testsuite/Makefile.in: Regenerated.
1910 2001-07-11 Felix Natter <fnatter@gmx.net>
1912 * docs/html/17_intro/porting-howto.xml: Initial checkin of
1914 * docs/html/17_intro/porting-howto.html: check in v0.9.3
1916 2001-07-11 Phil Edwards <pme@sources.redhat.com>
1918 * docs/doxygen/run_doxygen: Don't keep output from previous run.
1919 * docs/doxygen/user.cfg.in: Tweaks.
1920 * include/bits/c++config: Documentation comments for Doxygen.
1921 * include/bits/char_traits.h: Likewise.
1922 * include/bits/limits_generic.h: Likewise.
1923 * include/bits/std_stdexcept.h: Likewise.
1924 * include/bits/stl_pair.h: Likewise.
1925 * libsupc++/exception: Likewise.
1926 * libsupc++/new: Likewise.
1927 * libsupc++/typeinfo: Likewise.
1928 * libmath/Makefile.am: Update and correct copyright.
1930 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1932 * acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
1933 * aclocal.m4: Regenerate.
1936 2001-07-09 Phil Edwards <pme@sources.redhat.com>
1938 * docs/html/configopts.html: Fix thinko.
1939 * docs/html/27_io/howto.html: Fix thinko and HTML markup.
1940 * include/bits/stl_iterator.h: Fix typo.
1942 2001-07-09 Phil Edwards <pme@sources.redhat.com>
1944 * docs/html/explanations.html: New file.
1945 * docs/html/configopts.html: Link to it to provide more notes
1946 on cstdio. Minor markup and spacing fixes.
1947 * docs/html/27_io/howto.html: Talk about sync_with_stdio.
1949 2001-07-09 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
1951 * include/bits/valarray_meta.h (_Expr::operator+): Use qualified id
1952 for _Expr template template argument.
1953 (_Expr::operator-): Likewise.
1954 (_Expr::operator~): Likewise.
1955 (_Expr::operator!): Likewise.
1956 (_DEFINE_EXPR_UNARY_OPERATOR): Likewise.
1958 2001-07-06 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1960 * libmath/Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.c
1961 * libmath/Makefile.in: Regenerate.
1962 * libmath/expf.c: Remove.
1963 * libmath/atan2f.c: Likewise.
1965 2001-07-06 Daniel Jacobowitz <drow@mvista.com>
1967 * configure.in: Remove NATIVE, NULL_TARGET.
1968 Set CANADIAN only for Canadian crosses. Set xcompiling
1969 for both Canadian crosses and host-x-host crosses.
1970 * configure: Regenerated.
1972 2001-07-06 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1974 * include/bits/stl_vector.h (vector::_M_initialize_aux): Fix typo.
1976 2001-07-05 Jason Merrill <jason_merrill@redhat.com>
1978 * testsuite_flags.in (--build-includes): backward, not backwards.
1980 2001-07-04 Jeffrey Oldham <oldham@codesourcery.com>
1982 * include/ext/ropeimpl.h (_Rope_RopeRep::_M_free_c_string):
1983 Replace destroy by _Destroy.
1984 (_Rope_RopeRep::_S_free_string): Likewise.
1985 (rope::c_str()): Likewise.
1986 * include/ext/slist (_Slist_base::_M_erase_after>): Likewise.
1987 (_Slist_base::_M_erase_after): Likewise.
1988 (slist::_M_create_node): Replace construct by _Construct.
1989 (slist::pop_front): Replace destroy by _Destroy.
1990 * include/ext/stl_hashtable.h (hashtable::_M_new_node): Replace
1991 construct by _Construct.
1992 (hashtable::_M_delete_node): Replace destroy by _Destroy.
1993 * include/ext/stl_rope.h (rope::rope): Replace construct by
1995 (rope::copy): Replace destroy by _Destroy.
1997 2001-07-03 Benjamin Kosnik <bkoz@redhat.com>
1999 * include/bits/localefwd.h: Format.
2000 * include/bits/locale_facts.tcc (locale::combine): Adjust.
2001 * src/locale.cc (locale::locale::(_Impl)): Don't call
2003 (locale::facet::_M_remove_reference): Simplify.
2004 * src/globals.cc (locale_impl_c): New. Format.
2006 * src/ios.cc (ios_base::Init::Init): Increment _S_ios_base_init last.
2008 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
2010 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
2011 expansion (thanks to Alexandre Oliva).
2012 * aclocal.m4: Regenerate.
2013 * configure: Regenerate.
2015 2001-07-02 Benjamin Kosnik <bkoz@redhat.com>
2017 * src/locale.cc (locale::locale(const char*)): Make sure global
2018 locales are initialized.
2019 * include/bits/locale_facets.tcc (locale::combine): Refcout should
2020 be zero, not one as it's return-by-value.
2021 * testsuite/27_io/ios_base_callbacks.cc (test01): Don't check for
2023 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Instead, check
2026 * libsupc++/eh_alloc.cc: Use climits, not limits.h.
2028 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
2031 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
2032 * aclocal.m4: Regenerate.
2033 * configure: Regenerate.
2035 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
2038 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to
2039 staged/installed area to support -I-. Document.
2040 * aclocal.m4: Regenerate.
2041 * configure: Regenerate.
2043 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
2046 * src/ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to
2047 __out_bufsize. Add __in_bufsize, document it and use it.
2049 2001-07-01 Stephen M. Webb <stephen@bregmasoft.com>
2051 * include/bits/stl_construct.h (construct): Remove.
2053 (__destroy): Replaced by use of iterator_traits.
2054 * include/bits/stl_deque.h: replaced HP iterator functions with
2056 (construct): changed to _Construct.
2057 (destroy): changed to _Destroy.
2058 * include/bits/stl_tempbuf.h: Same.
2059 * include/bits/stl_tree.h: Same.
2060 * include/bits/stl_vector.h: Same.
2061 * include/backward/iterator.h (construct): moved definition to here.
2064 2001-06-29 Benjamin Kosnik <bkoz@redhat.com>
2066 * include/bits/locale_facets.tcc (locale::combine): Clone _Impl.
2067 before replacing facet.
2068 * include/bits/localefwd.h (locale::_Impl::_M_remove_reference):
2070 * src/localename.cc (locale::_Impl): Correct ctor initialization
2071 lists. Initialize ref count with one. Simplify.
2072 * src/locale.cc: Add comment.
2073 * testsuite/22_locale/numpunct.cc (test01): Add derivation test.
2074 * testsuite/22_locale/numpunct_char_members.cc (test01): Add tests.
2075 * testsuite/22_locale/members.cc (test02): Fix.
2077 2001-06-27 Phil Edwards <pme@sources.redhat.com>
2079 * include/backward/algo.h: Add "GPL plus runtime exception" comment
2080 block, this time for real.
2081 * include/backward/algobase.h: Likewise.
2082 * include/backward/alloc.h: Likewise.
2083 * include/backward/bvector.h: Likewise.
2084 * include/backward/defalloc.h: Likewise.
2085 * include/backward/deque.h: Likewise.
2086 * include/backward/function.h: Likewise.
2087 * include/backward/hash_map.h: Likewise.
2088 * include/backward/hash_set.h: Likewise.
2089 * include/backward/hashtable.h: Likewise.
2090 * include/backward/heap.h: Likewise.
2091 * include/backward/iterator.h: Likewise.
2092 * include/backward/list.h: Likewise.
2093 * include/backward/map.h: Likewise.
2094 * include/backward/multimap.h: Likewise.
2095 * include/backward/multiset.h: Likewise.
2096 * include/backward/pair.h: Likewise.
2097 * include/backward/rope.h: Likewise.
2098 * include/backward/set.h: Likewise.
2099 * include/backward/slist.h: Likewise.
2100 * include/backward/stack.h: Likewise.
2101 * include/backward/strstream: Likewise.
2102 * include/backward/tempbuf.h: Likewise.
2103 * include/backward/tree.h: Likewise.
2104 * include/backward/vector.h: Likewise.
2105 * include/bits/pthread_allocimpl.h: Likewise.
2106 * include/bits/std_algorithm.h: Likewise.
2107 * include/bits/std_bitset.h: Likewise.
2108 * include/bits/std_deque.h: Likewise.
2109 * include/bits/std_functional.h: Likewise.
2110 * include/bits/std_iterator.h: Likewise.
2111 * include/bits/std_list.h: Likewise.
2112 * include/bits/std_map.h: Likewise.
2113 * include/bits/std_memory.h: Likewise.
2114 * include/bits/std_numeric.h: Likewise.
2115 * include/bits/std_queue.h: Likewise.
2116 * include/bits/std_set.h: Likewise.
2117 * include/bits/std_stack.h: Likewise.
2118 * include/bits/std_utility.h: Likewise.
2119 * include/bits/std_vector.h: Likewise.
2120 * include/bits/stl_algo.h: Likewise.
2121 * include/bits/stl_algobase.h: Likewise.
2122 * include/bits/stl_alloc.h: Likewise.
2123 * include/bits/stl_bvector.h: Likewise.
2124 * include/bits/stl_construct.h: Likewise.
2125 * include/bits/stl_deque.h: Likewise.
2126 * include/bits/stl_function.h: Likewise.
2127 * include/bits/stl_heap.h: Likewise.
2128 * include/bits/stl_iterator.h: Likewise.
2129 * include/bits/stl_iterator_base_funcs.h: Likewise.
2130 * include/bits/stl_iterator_base_types.h: Likewise.
2131 * include/bits/stl_list.h: Likewise.
2132 * include/bits/stl_map.h: Likewise.
2133 * include/bits/stl_multimap.h: Likewise.
2134 * include/bits/stl_multiset.h: Likewise.
2135 * include/bits/stl_numeric.h: Likewise.
2136 * include/bits/stl_pair.h: Likewise.
2137 * include/bits/stl_pthread_alloc.h: Likewise.
2138 * include/bits/stl_queue.h: Likewise.
2139 * include/bits/stl_raw_storage_iter.h: Likewise.
2140 * include/bits/stl_relops.h: Likewise.
2141 * include/bits/stl_set.h: Likewise.
2142 * include/bits/stl_stack.h: Likewise.
2143 * include/bits/stl_tempbuf.h: Likewise.
2144 * include/bits/stl_threads.h: Likewise.
2145 * include/bits/stl_tree.h: Likewise.
2146 * include/bits/stl_uninitialized.h: Likewise.
2147 * include/bits/stl_vector.h: Likewise.
2148 * include/bits/type_traits.h: Likewise.
2149 * include/ext/hash_map: Likewise.
2150 * include/ext/hash_set: Likewise.
2151 * include/ext/rope: Likewise.
2152 * include/ext/ropeimpl.h: Likewise.
2153 * include/ext/slist: Likewise.
2154 * include/ext/stl_hash_fun.h: Likewise.
2155 * include/ext/stl_hashtable.h: Likewise.
2156 * include/ext/stl_rope.h: Likewise.
2157 * src/bitset.cc: Likewise.
2158 * src/strstream.cc: Likewise.
2160 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2161 <vakatov@ncbi.nlm.nih.gov>
2164 * include/bits/streambuf.tcc (__copy_streambufs): Don't set eofbit.
2165 * testsuite/27_io/ostream_inserter_other.cc (test04): Add test.
2166 * testsuite/27_io/istream_extractor_other.cc: Fix.
2168 2001-06-26 Zoltan Hidvegi <hzoli@austin.ibm.com>
2170 * acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
2171 * aclocal.m4: Regenerate.
2172 * configure: Regenerate.
2174 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2176 * include/bits/stream_iterator.h (istream_iterator): Add copy ctor.
2177 (ostream_iterator): Same.
2178 * include/bits/stl_iterator.h (front_insert_iterator::operator=):
2179 Change argument to const_reference.
2180 (back_insert_iterator): Same.
2182 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2184 * include/bits/sbuf_iter.h: Change to..
2185 * include/bits/streambuf_iterator.h: This.
2186 * include/bits/stl_iterator.h: Take out of here...
2187 * include/bits/stream_iterator.h: Add.
2188 * src/Makefile.am (base_headers): Add streambuf_iterator,
2190 * src/Makefile.in: Regenerate.
2191 * include/bits/std_string.h: Adjust includes.
2192 * include/bits/basic_ios.h: Same.
2193 * include/bits/locale_facets.tcc: Same.
2194 * include/bits/std_iosfwd.h: Same.
2196 * include/bits/std_iterator.h: Add istream, ostream includes.
2197 * include/bits/stl_iterator.h: Tweak.
2198 * testsuite/24_iterators/ostream_iterator.cc: Add test.
2199 * testsuite/24_iterators/istream_iterator.cc: Same.
2200 * testsuite/23_containers/multiset.cc: Add iterator include.
2202 2001-06-26 Phil Edwards <pme@sources.redhat.com>
2204 * acinclude.m4: Clean extraneous tabs, rewrap 'test' lines.
2205 * aclocal.m4: Regenerate.
2206 * configure: Regenerate.
2208 2001-06-26 Felix Natter <f.natter@ndh.net>
2210 * docs/html/17_intro/porting-howto.html: Fixed some errors.
2212 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2214 * include/bits/stl_iterator.h (istream_iterator::operator->): Fix
2216 (istream_iterator::operator*): Same.
2218 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2219 Alexandre Petit-Bianco <apbianco@redhat.com>
2221 * testsuite/21_strings/element_access.cc (test01): Chill Out Cafe
2222 is on 41st, not 14th.
2224 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2226 * include/bits/std_iterator.h: Include sbuf_iter.h via std_ios.h.
2228 * include/bits/stl_iterator.h (istream_iterator): Inherit from
2230 (ostream_iterator): Same.
2231 * testsuite/24_iterators/istream_iterator.cc: New file.
2232 * testsuite/24_iterators/ostream_iterator.cc: New file.
2234 * include/bits/sbuf_iter.h: Remove self typedef.
2235 * testsuite/24_iterators/ostreambuf_iterator.cc: Add test.
2236 * testsuite/24_iterators/istreambuf_iterator.cc: Add test.
2238 * include/bits/stl_iterator.h (reverse_iterator): Remove
2239 extraneous typedefs. Add typename.
2240 (__normal_iterator): Remove typedefs referring to self. Add typename.
2241 (reverse_bidiretional_iterator): Remove, not longer required.
2243 2001-06-26 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2245 * include/bits/stl_iterator.h (__normal_iterator<>): Qualify
2246 dependent names with `typename'. Bring in various required
2247 iterator_traits members. Can't imagine why that used to work.
2249 2001-06-25 Phil Edwards <pme@sources.redhat.com>
2250 Kurt Garloff <garloff@suse.de>
2253 * src/cmath.cc: New [version of an old] file; instantiate
2254 __cmath_power to start with.
2255 * src/Makefile.am (sources): Add cmath.cc (and alphabetize).
2256 * Makefile.in: Regenerate.
2257 * libio/Makefile.in: Regenerate.
2258 * libmath/Makefile.in: Regenerate.
2259 * libsupc++/Makefile.in: Regenerate.
2260 * src/Makefile.in: Regenerate.
2261 * testsuite/Makefile.in: Regenerate.
2263 2001-06-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2265 * libmath/stubs.c: Fix thinko.
2267 2001-06-24 David Edelsohn <dje@watson.ibm.com>
2269 * libmath/stubs.c (sqrtf): Define.
2270 (tanf): Correct typo.
2272 2001-06-22 Benjamin Kosnik <bkoz@redhat.com>
2274 * include/bits/stl_iterator.h (reverse_iterator): Inherit from
2276 (back_insert_iterator): Same.
2277 (front_insert_iterator): Same.
2278 (insert_iterator): Same.
2280 * testsuite/20_util/raw_storage_iterator.cc: Modify.
2281 * testsuite/24_iterators/reverse_iterator.cc: New file.
2282 * testsuite/24_iterators/back_insert_iterator.cc: New file.
2283 * testsuite/24_iterators/front_insert_iterator.cc: New file.
2284 * testsuite/24_iterators/insert_iterator.cc: New file.
2286 2001-06-22 Phil Edwards <pme@sources.redhat.com>
2288 * include/*: Revert comment/license change from yesterday for all
2289 except libsupc++/unwind-cxx.h.
2290 * src/bitset.cc: Likewise.
2291 * src/strstream.cc: Likewise.
2293 2001-06-22 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2295 * libmath/stubs.c: New file.
2299 * libmath/Makefile.am (libmath_la_SOURCES): Add.
2300 * libmath/Makefile.in. Regenerate.
2302 2001-06-21 Phil Edwards <pme@sources.redhat.com>
2304 * include/backward/algo.h: Add "GPL plus runtime exception" comment.
2305 * include/backward/algobase.h: Likewise.
2306 * include/backward/alloc.h: Likewise.
2307 * include/backward/bvector.h: Likewise.
2308 * include/backward/defalloc.h: Likewise.
2309 * include/backward/deque.h: Likewise.
2310 * include/backward/function.h: Likewise.
2311 * include/backward/hash_map.h: Likewise.
2312 * include/backward/hash_set.h: Likewise.
2313 * include/backward/hashtable.h: Likewise.
2314 * include/backward/heap.h: Likewise.
2315 * include/backward/iterator.h: Likewise.
2316 * include/backward/list.h: Likewise.
2317 * include/backward/map.h: Likewise.
2318 * include/backward/multimap.h: Likewise.
2319 * include/backward/multiset.h: Likewise.
2320 * include/backward/pair.h: Likewise.
2321 * include/backward/rope.h: Likewise.
2322 * include/backward/set.h: Likewise.
2323 * include/backward/slist.h: Likewise.
2324 * include/backward/stack.h: Likewise.
2325 * include/backward/strstream: Likewise.
2326 * include/backward/tempbuf.h: Likewise.
2327 * include/backward/tree.h: Likewise.
2328 * include/backward/vector.h: Likewise.
2329 * include/bits/pthread_allocimpl.h: Likewise.
2330 * include/bits/std_algorithm.h: Likewise.
2331 * include/bits/std_bitset.h: Likewise.
2332 * include/bits/std_deque.h: Likewise.
2333 * include/bits/std_functional.h: Likewise.
2334 * include/bits/std_iterator.h: Likewise.
2335 * include/bits/std_list.h: Likewise.
2336 * include/bits/std_map.h: Likewise.
2337 * include/bits/std_memory.h: Likewise.
2338 * include/bits/std_numeric.h: Likewise.
2339 * include/bits/std_queue.h: Likewise.
2340 * include/bits/std_set.h: Likewise.
2341 * include/bits/std_stack.h: Likewise.
2342 * include/bits/std_utility.h: Likewise.
2343 * include/bits/std_vector.h: Likewise.
2344 * include/bits/stl_algo.h: Likewise.
2345 * include/bits/stl_algobase.h: Likewise.
2346 * include/bits/stl_alloc.h: Likewise.
2347 * include/bits/stl_bvector.h: Likewise.
2348 * include/bits/stl_construct.h: Likewise.
2349 * include/bits/stl_deque.h: Likewise.
2350 * include/bits/stl_function.h: Likewise.
2351 * include/bits/stl_heap.h: Likewise.
2352 * include/bits/stl_iterator.h: Likewise.
2353 * include/bits/stl_iterator_base_funcs.h: Likewise.
2354 * include/bits/stl_iterator_base_types.h: Likewise.
2355 * include/bits/stl_list.h: Likewise.
2356 * include/bits/stl_map.h: Likewise.
2357 * include/bits/stl_multimap.h: Likewise.
2358 * include/bits/stl_multiset.h: Likewise.
2359 * include/bits/stl_numeric.h: Likewise.
2360 * include/bits/stl_pair.h: Likewise.
2361 * include/bits/stl_pthread_alloc.h: Likewise.
2362 * include/bits/stl_queue.h: Likewise.
2363 * include/bits/stl_raw_storage_iter.h: Likewise.
2364 * include/bits/stl_relops.h: Likewise.
2365 * include/bits/stl_set.h: Likewise.
2366 * include/bits/stl_stack.h: Likewise.
2367 * include/bits/stl_tempbuf.h: Likewise.
2368 * include/bits/stl_threads.h: Likewise.
2369 * include/bits/stl_tree.h: Likewise.
2370 * include/bits/stl_uninitialized.h: Likewise.
2371 * include/bits/stl_vector.h: Likewise.
2372 * include/bits/type_traits.h: Likewise.
2373 * include/ext/hash_map: Likewise.
2374 * include/ext/hash_set: Likewise.
2375 * include/ext/rope: Likewise.
2376 * include/ext/ropeimpl.h: Likewise.
2377 * include/ext/slist: Likewise.
2378 * include/ext/stl_hash_fun.h: Likewise.
2379 * include/ext/stl_hashtable.h: Likewise.
2380 * include/ext/stl_rope.h: Likewise.
2381 * libsupc++/unwind-cxx.h: Likewise.
2382 * src/bitset.cc: Likewise.
2383 * src/strstream.cc: Likewise.
2385 2001-06-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2387 * include/bits/indirect_array.h (indirect_array<>::operator=):
2388 Make copy and assignment operator public. Implement. Format.
2390 * include/bits/valarray_array.h (__valarray_copy): Add overloads
2391 for copy between index arrays. Format.
2393 2001-06-19 Benjamin Kosnik <bkoz@redhat.com>
2395 * mknumeric_limits: Add static definitions, format.
2396 * testsuite/18_support/numeric_limits.cc (test02): Add test.
2398 * include/c_std/bits/std_cwchar.h: Include ctime.
2399 * testsuite/17_intro/header_cwchar.cc : Check.
2401 * include/c_std/bits/std_cwctype.h: Inject wctype.
2402 * testsuite/17_intro/header_cwctype.cc: Update.
2404 2001-06-18 Benjamin Kosnik <bkoz@redhat.com>
2406 * include/bits/stl_raw_storage_iter.h: Format. Correct derivation.
2407 * testsuite/20_util/raw_storage_iterator.cc: Same.
2409 * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to
2411 (__mem_interface): New typedef for switching between malloc and new.
2412 * testsuite/20_util/allocator_members.cc: New file.
2414 * testsuite/20_util/comparisons.cc: New file.
2415 * testsuite/20_util/pairs.cc: New file.
2417 2001-06-15 Phil Edwards <pme@sources.redhat.com>
2419 * docs/html/documentation.html: Point to new doxygen'ed collection.
2421 2001-06-14 Nathan Sidwell <nathan@codesourcery.com>
2423 * configure.in (auxdir): Replace by ...
2424 (toprel): ... new variable.
2425 (toplevel_srcdir): Construct from $toprel.
2426 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
2427 rather than .. to locate gcc source directory.
2428 (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
2429 * aclocal.m4, configure: Rebuilt.
2431 2001-06-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
2433 (Approved by Mark and Benjamin. Applied by Loren.)
2435 * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
2436 _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
2437 and _GLIBCPP_mutex_address.
2438 * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
2439 once-only runtime initialization of _M_lock mutex when
2440 __GTHREAD_MUTEX_INIT_FUNCTION is defined.
2441 (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
2442 for __GTHREAD_MUTEX_INIT_FUNCTION case.
2444 2001-06-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2446 * testsuite/26_numerics/slice_array_assignment.cc (main): New test.
2448 * include/bits/slice_array.h (slice_array<>::operator=): Make
2449 public and implement.
2450 (slice_array<>::slice_array): Make copy-constructor public.
2452 * include/bits/valarray_array.h (__valarray_copy): Add another
2453 overload to copy between strided arrays.
2455 2001-06-13 Benjamin Kosnik <bkoz@redhat.com>
2457 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
2458 * aclocal.m4: Regenerate.
2459 * configure: Regenerate.
2460 * include/bits/c++config (__GLIBCPP__): Update date.
2462 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
2464 * include/bits/fpos.h (fpos::operator-): Don't return reference,
2465 return original, non-modified version.
2466 (fpos::operator+): Same.
2467 * testsuite/27_io/fpos.cc: Add test.
2469 2001-06-12 Loren J. Rittle <ljrittle@acm.org>
2472 * porting.texi: Add documentation about libstdc++-v3-specific
2473 macros that are currently included in os_defines.h files.
2475 * config/basic_file_stdio.h (sys_getc): New method.
2476 (sys_ungetc): New method.
2477 * include/bits/basic_file.h: (sys_getc): New method signature.
2478 (sys_ungetc): New method signature.
2480 * include/bits/fstream.tcc (underflow): Add conditional code
2481 paths which avoid using short seeks on streams (especially
2482 useful when the stream might be interactive or a pipe). At
2483 the moment, this alternate path only avoids seeking when the
2484 ``buffer size'' of underflow() is 1 since the C standard only
2485 guarantees buffer space for one ungetc (this technique could
2486 be extended since *-*-solaris* supports buffering for 4 calls
2487 to ungetc and *-*-*bsd* supports buffering limited only by
2488 memory resources). Also, _GLIBCPP_AVOID_FSEEK must be defined
2489 in a port's os_defines.h file for this alternate path to even
2490 be considered. As a bonus, the idiom of using getc/ungetc
2491 requires no system calls whereas fseek maps to one or two
2492 system call(s) on many platforms.
2494 * config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
2496 * config/os/solaris/solaris2.5/bits/os_defines.h
2497 (_GLIBCPP_AVOID_FSEEK): Likewise.
2498 * config/os/solaris/solaris2.6/bits/os_defines.h
2499 (_GLIBCPP_AVOID_FSEEK): Likewise.
2500 * config/os/solaris/solaris2.7/bits/os_defines.h
2501 (_GLIBCPP_AVOID_FSEEK): Likewise.
2503 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
2505 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change to
2506 AC_TRY_COMPILE, so that the built compiler is checked, and
2507 bootstraps or cross compiles with an older compile still work.
2508 * aclocal.m4: Regenerate.
2509 * configure: Regenerate.
2511 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
2514 * include/bits/std_sstream.h: Add allocator_type, as per DR 251.
2517 * include/bits/istream.tcc (getline, get): Fix as per DR 243.
2520 * include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
2523 * include/bits/limits_generic.h: Fix as per DR 184.
2525 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
2528 * include/bits/basic_string.h (string::compare): Adjust signatures
2530 * include/bits/basic_string.tcc: And here.
2533 * config/c_io_stdio.h: Remove whitespace.
2534 * testsuite/27_io/istream_seeks.cc (test03): Add regression.
2535 (test02): Add regression.
2536 * testsuite/27_io/istream_seeks-3.tst: New file.
2538 2001-06-11 Phil Edwards <pme@sources.redhat.com>
2540 * README: Update to reflect reality.
2541 * acinclude.m4: Update descriptions, fix typos. Comment changes only.
2542 * configure.in: Make certain target_alias is set and subst'd for 2.50.
2543 * aclocal.m4: Regenerate.
2544 * configure: Regenerate (with 2.13).
2546 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
2549 * include/bits/ostream.tcc (ostream::seekp): Add error checking as
2551 * include/bits/istream.tcc (istream::seekg): Same.
2552 * testsuite/27_io/istream_seeks.cc: Fix.
2555 * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
2557 * include/bits/std_queue.h: Add c++config.h.
2558 * testsuite/20_util/binders.cc: New test.
2560 2001-06-11 Matthias Klose <doko@debian.org>
2561 Phil Edwards <pme@sources.redhat.com>
2563 * docs/doxygen/run_doxygen (find_doxygen): Tweak version check.
2564 (main script): Echo more information.
2566 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
2568 * include/c_std/bits/std_cwchar.h: Alphabetize.
2569 * include/bits/char_traits.h: Tweak.
2570 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
2571 everything used by std_cwchar.h.
2572 * aclocal.m4: Regenerate.
2573 * configure.in: Regenerate.
2574 * config.h.in: Regenerate.
2576 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
2578 * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
2579 Add checking for strtof, _Exit in stdlib.h
2580 * aclocal.m4: Regenerate.
2581 * configure.in: Regenerate.
2582 * include/c_std/bits/std_cstdio.h: Alphabetize lists.
2583 (snprintf): Put C99 functions into __gnu_cxx namespace.
2588 * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
2589 for C99 functions within _GLIBCPP_USE_C99 guard.
2593 * include/bits/locale_facets.tcc: Check if C99 is enabled.
2594 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
2596 * include/c_std/bits/cmath.tcc: Formatting tweak.
2597 * include/c_std/bits/std_cmath.h: Same.
2599 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
2601 * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
2603 2001-06-09 Alexandre Oliva <aoliva@redhat.com>
2604 Stephen L Moshier <moshier@mediaone.net>
2606 * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
2607 nothing, as in autoconf 2.50.
2608 * configure: Rebuilt.
2610 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
2612 * include/c_std/bits/std_cwchar.h: Remove size_t injection,
2613 include std_cstddef.
2614 * include/c_std/bits/std_ctime.h: Same.
2615 * include/c_std/bits/std_cstring.h: Same.
2616 * include/c_std/bits/std_cstdlib.h: Same.
2618 * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
2619 * include/c_std/bits/std_cctype.h: Remove isblank.
2621 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
2623 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
2625 * aclocal.m4: Regenerate.
2626 * configure: Regenerate.
2627 * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
2628 injection, guard fgetwc, fgetws.
2629 * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
2630 * include/c_std/bits/std_clocale.h: And here.
2631 * include/c_std/bits/std_cctype.h: And here.
2632 * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
2634 * config/basic_file_stdio.h: Don't include unistd.h.
2635 * config/c_io_stdio.h: Don't use compatibility headers.
2636 * libsupc++/eh_terminate.cc: Qualify abort.
2637 (__terminate): And here.
2638 * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
2640 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
2642 * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
2644 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
2649 * include/std/*: Add copyright notice.
2650 * include/c_std/bits/*: Use using statements instead of extern "C".
2651 * include/c_std/bits/std_cmath.h: Don't overload double versions
2652 of math functions with __buitin versions, use global version to
2653 prevent ambiguities. Remove define hacks.
2654 * include/c_std/bits/std_cwchar.h: Using declarations for "C"
2655 functions that have changed signatures and std::
2656 declarations. Remove define hacks.
2657 * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
2658 __builtins in std::. Remove define hacks.
2659 * testsuite/17_intro/headers_c.cc: Add tests.
2660 * testsuite/17_intro/headers_c++.cc: Add test.
2662 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
2663 John David Anglin <dave@hiauly1.hia.nrc.ca>
2666 * libsupc++/eh_alloc.cc: Ensure that required macros are
2667 defined before including gthr.h. Ensure that we get the
2668 version of gthr.h for which we know how to provide a
2670 * libsupc++/eh_globals.cc: Likewise. And, bring the threading
2671 code path into line with the current EH model. Use std, where
2674 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
2675 John David Anglin <dave@hiauly1.hia.nrc.ca>
2677 * config/threads-no.h: Remove file.
2678 * config/threads-posix.h: Remove file.
2680 * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
2681 (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
2682 (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
2683 * config.h.in: Regenerate.
2685 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
2686 setup and use gthr*.h files. In particular, make gthr.h files
2687 namespace-clean in the staging area (they don't have to be for
2689 * aclocal.m4: Regenerate.
2690 * configure: Regenerate.
2692 * src/Makefile.am (build_headers): Remove bits/c++threads.h
2693 and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
2694 * src/Makefile.in: Regenerate.
2696 * include/bits/c++config: Cleanup threading configuration macros.
2697 In particular, define __STL_GTHREADS macro which controls...
2698 * include/bits/stl_threads.h: ...a brand new gthr.h-based
2701 * config/c_io_stdio.h: Include staged gthr.h instead of local
2702 thread configuration file. Always use __gthread_mutex_t
2703 instead of __mutext_type (or int).
2704 * include/bits/std_fstream.h: Likewise.
2706 * docs/html/17_intro/howto.html: Remove placeholder comment in
2707 case this configuration patch didn't make it. Add advice that
2708 section only applies if configured with --enable-threads.
2709 * docs/html/23_containers/howto.html: Reword to make clear
2710 that _PTHREADS is no longer required for any port to be
2711 correctly using STL with threads. Add advice that section
2712 only applies if configured with --enable-threads.
2714 2001-06-06 Benjamin Kosnik <bkoz@redhat.com>
2716 * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
2718 2001-06-05 Benjamin Kosnik <bkoz@redhat.com>
2721 * include/bits/basic_ios.tcc: Formatting tweaks.
2722 * include/bits/ios_base.h: Formatting tweaks.
2723 * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
2724 (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
2725 * src/globals.cc: Allocate filebufs for standard streams here.
2726 (buf_cout, buf_cin, buf_cerr): Like so.
2727 (buf_wcout, buf_wcin, buf_wcerr): And so.
2728 * testsuite/27_io/ios_init.cc: Add.
2730 2001-06-04 Brendan Kehoe <brendan@zen.org>
2731 Benjamin Kosnik <bkoz@redhat.com>
2734 * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
2735 for generic ctype virtuals.
2736 * src/locale.cc: Minor tweaks, naming consistency.
2737 * testsuite/22_locale/ctype.cc: Add test.
2739 2001-06-04 Kenny Simpson <theonetruekenny@yahoo.com>
2740 Phil Edwards <pme@sources.redhat.com>
2742 PR libstdc++/3035 and PR libstdc++/3036
2743 * include/bits/stl_pair.h: Fix pair ctor and make_pair according
2744 to LWG DR 181 and 265.
2746 2001-06-04 Phil Edwards <pme@sources.redhat.com>
2749 * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
2750 equal_range): Add const overloads as per LWG DR 214.
2751 * include/bits/stl_set.h: Likewise.
2753 2001-06-04 Brendan Kehoe <brendan@zen.org>
2754 Phil Edwards <pme@sources.redhat.com>
2757 * include/bits/std_bitset.h (bitset::test): Fix __pos >= _Nb
2758 comparison; all positions must be < _Nb.
2759 * testsuite/23_containers/bitset_members.cc: New file.
2761 2001-06-04 Brendan Kehoe <brendan@zen.org>
2764 * include/bits/stl_queue.h (classes queue, priority_queue): Fix
2765 ctors to match the standard.
2767 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
2769 * include/bits/char_traits.h (move): Reverse qualification of
2771 (copy): Reverse qualification of memcpy with std::.
2773 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
2775 * include/bits/char_traits.h (move): Qualify memmove with std::.
2776 (copy): Qualify memcpy with std::.
2777 * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
2780 * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
2782 2001-06-04 Hans-Peter Nilsson <hp@axis.com>
2784 * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
2785 uninstall-glibcppinstallHEADERS): Have explicit rules catering to
2786 SUN make VPATH peculiarities.
2787 * libsupc++/Makefile.in: Regenerate.
2789 2001-06-01 Hans-Peter Nilsson <hp@axis.com>
2791 * src/Makefile.am (VPATH): Delimit with ":", not space.
2792 * src/Makefile.in: Regenerate.
2794 * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
2796 * configure: Regenerate.
2798 2001-05-31 scott snyder <snyder@fnal.gov>
2801 * include/bits/istream.tcc: Include std_ostream.h.
2803 2001-05-31 Benjamin Kosnik <bkoz@redhat.com>
2806 * src/bitset.cc: Qualify size_t with std::.
2808 2001-05-30 Benjamin Kosnik <bkoz@redhat.com>
2810 * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
2811 (_GLIBCPP_BUGGY_COMPLEX): Remove.
2812 * config.h.in: Regenerate.
2813 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
2814 * aclocal.m4: Regenerate.
2815 * configure.in: Don't call it.
2816 * configure: Regenerate.
2819 * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
2820 * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
2824 * include/bits/std_complex.h: Include sstream. Put definitions for
2825 complex inserters and extractors here, and remove them from...
2826 * src/complex_io.cc: ...here.
2827 * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
2829 (basic_ios::__numget_type): Same.
2830 * include/bits/std_istream.h: Same.
2831 * include/bits/std_ostream.h: Same.
2832 * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
2833 class iterator template arguments.
2834 * src/locale-inst.cc: Add explicit has_facet instantiations.
2835 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
2836 (_M_get_fnumput): Remove.
2837 (_M_get_fnumget): Remove.
2838 (basic_ios::_M_check_facet): New function.
2839 (basic_ios::_M_cache_facets): New function.
2840 * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
2841 (basic_ios::imbue): Call _M_cache_facets.
2842 (basic_ios::init): Same.
2843 * include/bits/istream.tcc: Format, use _M_check_facet.
2844 * include/bits/ostream.tcc: Same.
2845 * include/bits/locale_facets.tcc (__output_float): Change
2846 signature, add _Traits.
2847 * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
2850 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
2852 * include/bits/c++config (__USE_MALLOC): Do not define it.
2853 Document why not and give pointers to more information.
2855 * docs/html/23_containers/howto.html: Update documentation
2856 to reflect recent understanding of problem.
2857 * docs/html/17_intro/howto.html: Likewise.
2859 2001-05-30 Phil Edwards <pme@sources.redhat.com>
2861 * docs/doxygen/user.cfg.in: Minor addition.
2862 * docs/html/documentation.html: Reorganize. Put most-looked-at
2864 * docs/html/install.html: Update for 3.0. HTML fixups.
2865 * docs/html/17_intro/howto.html: Likewise.
2866 * docs/html/18_support/howto.html: Likewise.
2867 * docs/html/19_diagnostics/howto.html: Likewise.
2868 * docs/html/20_util/howto.html: Likewise.
2869 * docs/html/23_containers/howto.html: Likewise.
2870 * docs/html/24_iterators/howto.html: Likewise. More notes.
2871 * docs/html/25_algorithms/howto.html: Likewise.
2872 * docs/html/26_numerics/howto.html: Likewise. More notes.
2873 * docs/html/27_io/howto.html: Likewise.
2874 * docs/html/ext/howto.html: Likewise.
2875 * docs/html/faq/index.html: Likewise.
2876 * docs/html/faq/index.txt: Regenerate.
2877 * docs/html/27_io/iostreams_hierarchy.pdf: Remove in favor of
2878 Doxygen-created documentation.
2880 2001-05-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2882 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
2883 get_multilibs to find gcc.
2885 2001-05-30 Phil Edwards <pme@sources.redhat.com>
2887 * acinclude.m4 (GLIBCPP_ENABLE_C99): Reorder output messages.
2888 * aclocal.m4: Regenerate.
2889 * configure: Regenerate.
2891 2001-05-29 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2893 * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
2894 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
2896 2001-05-27 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2898 * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
2899 * include/c_std/bits/std_cstdlib.h: Same.
2900 * include/c_std/bits/std_cwchar.h: Same.
2902 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
2904 * docs/html/17_intro/howto.html: Update link.
2905 * docs/html/23_containers/howto.html: Likewise. Add new link.
2907 2001-05-26 Gabriel Dos Reis <gdr@codesourcery.com>
2909 * include/c_std/bits/std_cmath.h (sqrt): #undef.
2911 2001-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2913 * mknumeric_limits: Stop if gen-num-limits dies.
2915 2001-05-25 Benjamin Kosnik <bkoz@redhat.com>
2918 * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
2919 * aclocal.m4: Regenerate.
2922 2001-05-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2923 Phil Edwards <pme@sources.redhat.com>
2924 Alexandre Oliva <aoliva@redhat.com>
2926 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
2927 in an amd-safe manner. Revert glibcpp_prefixdir.
2929 2001-05-25 Gabriel Dos Reis <gdr@codesourcery.com>
2931 * include/c_std/bits/std_cmath.h: Tweak. #define away abs, cos,
2932 fabs, sin, sqrt. They are now implemented in terms of __builtin_
2935 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
2938 * testsuite/21_strings/inserters_extractors.cc (test09): New test.
2939 * include/bits/ostream.tcc: Format to match istream.tcc.
2940 (operator<<(basic_ostream __out, const basic_string __s)): Fix.
2942 2001-05-24 Phil Edwards <pme@sources.redhat.com>
2944 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Qualify
2946 (__cxa_free_exception): Likewise with free.
2948 2001-05-24 Mark Mitchell <mark@codesourcery.com>
2950 * include/c_std/bin/std_cstring.h: #define away all global
2951 functions we will redeclare in namespace `std'.
2952 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
2953 std::memset, instead of memset.
2954 * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
2956 * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
2959 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
2962 * include/bits/basic_ios.tcc: Small tweak.
2963 * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
2964 ctors and dtors, and rdbuf settings.
2967 * include/bits/std_sstream.h: Same, but for stringstream classes.
2968 * testsuite/27_io/ostringstream_members.cc: New.
2969 * testsuite/27_io/stringstream_members.cc: New.
2970 * testsuite/27_io/fstream_members.cc: New.
2971 * testsuite/27_io/ifstream_members.cc: Add test.
2972 * testsuite/27_io/istringstream_members.cc: Add test.
2973 * testsuite/27_io/ofstream_members.cc: Add test.
2975 2001-05-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2977 * include/bits/c++config(__NO_MATH_INLINES): Move to...
2978 * config/os/gnu-linux/bits/os_defines.h: ...here.
2980 2001-05-24 Gabriel Dos Reis <gdr@codesourcery.com>
2982 * include/bits/c++config (__NO_MATH_INLINES): New macro.
2983 * testsuite/26_numerics/fabs_inline.cc (main): New test.
2985 2001-05-22 Benjamin Kosnik <bkoz@redhat.com>
2988 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
2990 (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
2991 (libstdc++-v3-finish): Remove.
2992 (libstdc++-v3_exit): Remove.
2994 2001-05-22 Phil Edwards <pme@sources.redhat.com>
2996 * docs/html/documentation.html: Point to doxygen output.
2998 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
3000 * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
3002 * include/bits/std_sstream.h (stringbuf::setbuf): Require both
3003 arguments to be non-null.
3004 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
3005 try allocations if allocated size is greater than zero.
3006 (filebuf::_M_filebuf_init): Change to
3007 (filebuf::_M_allocate_file): Which is what it does now.
3008 (filebuf::_M_allocate_bufers): Change to
3009 (filebuf::_M_allocate_internal_buffer): This, and create
3010 (filebuf::_M_allocate_pback_buffer): New.
3011 (filebuf::_M_destroy_internal_buffer): New.
3012 (filebuf::_M_buf_allocated): New data member.
3013 (filebuf::setbuf): Use new logic, allow use of external buffer.
3014 * testsuite/27_io/stringbuf_virtuals.cc: New file.
3015 * testsuite/27_io/filebuf_virtuals.cc: New file.
3017 2001-05-21 Stephen M. Webb <stephen@bregmasoft.com>
3019 * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
3021 (strchr): Same, but to __glibcpp_strchr.
3025 * include/c_std/bits/std_cwchar.h (wcschr): Same.
3031 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
3033 * testsuite/21_strings/c_strings.cc (main): Fix.
3035 2001-05-19 Phil Edwards <pme@sources.redhat.com>
3037 * acinclude.m4: Fix --help spacing, correct comments.
3038 * aclocal.m4: Regenerate.
3039 * configure: Regenerate.
3040 * mkcheck.in: Add usage comments.
3041 * docs/html/documentation.html: Point to doxygen'd tarball.
3043 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
3045 * testsuite/README: Add notes.
3047 * src/Makefile.am (libstdc++.INC): Remove.
3048 * src/Makefile.in: Regenerate.
3050 Phil Edwards <pedwards@disaster.jaj.com>
3051 * mkcheck.in: Add missing '#'.
3053 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
3055 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
3056 appropriately for remote testing and testing installed files without
3059 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
3061 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
3062 amd glibcpp_prefixdir with absolute paths.
3064 * include/bits/c++config (__GLIBCPP__): Bump.
3065 * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
3067 2001-05-18 Gabriel Dos Reis <gdr@codesourcery.com>
3069 * include/bits/std_valarray.h (valarray<>::operator[] const):
3070 Return a const reference.
3071 * testsuite/26_numerics/valarray_const_bracket.cc: New test.
3073 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
3075 * configure.target (ATOMICITYH): Actually use AIX-specific code on
3076 earlier versions of AIX 4.*.
3078 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
3080 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set
3081 output_file based on the name of the testcase.
3083 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
3085 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Build
3086 gluefile and use it if needs_status_wrapper is set.
3088 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
3090 * configure.target (ATOMICITYH): Use cpu/generic code on earlier
3093 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
3095 * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
3096 on earlier versions of AIX.
3098 2001-05-15 Benjamin Kosnik <bkoz@redhat.com>
3100 * testsuite_flags.in (query): Add backwards, ext directories.
3102 2001-05-15 Mark Mitchell <mark@codesourcery.com>
3104 * porting.texi: Correct documentation about handling
3105 _LARRGEFILE_SOURCE and its ilk.
3106 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
3107 definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
3109 * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
3110 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
3112 2001-05-15 Zack Weinberg <zackw@stanford.edu>
3114 * testsuite/21_strings/inserters_extractors.cc,
3115 testsuite/27_io/istream_unformatted.cc,
3116 testsuite/27_io/stringstream.cc:
3117 Replace multi-line string constants with C89-style
3118 concatenated string constants.
3120 2001-05-14 Richard Henderson <rth@redhat.com>
3122 * mknumeric_limits: Build with -fno-exceptions.
3124 2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
3126 Switch over to new harness.
3127 * testsuite_flags.in: Tweaks via Gaby.
3128 * testsuite/Makefile.am: Change tool to libstdc++-v3.
3129 (EXPECT): Quote directly.
3131 * configure.in: Output testsuite_flags.
3132 * acinclude.m4: Substitute src, bld, and prefix dirs.
3133 Remove glibcpp_expect, glibcpp_runtestflags.
3134 * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
3135 * mkcheck.in: Port to new interface.
3137 * aclocal.m4: Regerate.
3138 * configure: Regnerate.
3139 * Makefile.in: Regnerate.
3140 * */Makefile.in: Regenerate.
3142 * tests_flags.in: Remove.
3143 * testsuite/lib/libstdc++.exp: Remove.
3144 * testsuite/libstdc++.tests/tests.exp: Remove.
3146 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
3148 * configure.target: Remove detection of AIX pthread multilib, now
3149 obtained from `gcc -v'.
3151 2001-05-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
3153 * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
3154 size. Add hpux case for HP size.
3156 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
3158 * testsuite_flags.in: New, simplified interface.
3159 * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
3160 * testsuite/libstdc++-v3.dg: Add.
3161 * testsuite/libstdc++-v3.dg/dg.exp: Add.
3163 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
3165 * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
3166 * testsuite/config/default.exp: Update bugs email address.
3168 2001-05-11 Richard Henderson <rth@redhat.com>
3170 * libsupc++/eh_personality.cc: Include unwind-pe.h. Remove
3171 all pointer encoding logic.
3172 (struct lsda_header_info): Add ttype_base.
3173 (get_ttype_entry): Use it instead of a context.
3174 (check_exception_spec): Likewise.
3175 (PERSONALITY_FUNCTION): Initialize ttype_base. Store it in
3176 the c++ exception header for __cxa_call_unexpected.
3177 (__cxa_call_unexpected): Use it.
3179 2001-05-09 Benjamin Kosnik <bkoz@redhat.com>
3181 * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
3182 libgloss_link_flags to find crt0.o for targets that use libgloss
3184 Change LDFLAGS to LIBS.
3185 Consistently name procedures libstdc++-XXX.
3186 * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
3188 2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
3190 * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
3195 * include/c_std/bits/std_cwchar.h (wcschr): Same.
3200 * testsuite/21_strings/c_strings.cc: Add tests.
3202 2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
3205 * include/bits/std_fstream.h (basic_filebuf): Change signature.
3206 * include/bits/fstream.tcc (basic_filebuf): Change bool argument
3207 to int_type, pass in buffer size info.
3208 * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
3209 unbuffered situation.
3210 (underflow): Remove codecvt bits for the time being.
3211 * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
3212 * include/bits/locale_facets.tcc (_M_extract): Cache dereference
3213 values from iterators, clean.
3214 * src/locale.cc: Ditto.
3215 * include/bits/sbuf_iter.h: Format.
3216 * src/ios.cc: Explicitly pass in buffer sizes at creation time.
3217 * testsuite/27_io/narrow_stream_objects.cc: Add tests.
3218 * testsuite/27_io/filebuf.cc: Tweaks.
3219 * testsuite/27_io/filebuf_members.cc: Tweaks.
3221 2001-05-07 Mark Mitchell <mark@codesourcery.com>
3223 * config/os/solaris/solaris2.7/bits/os_defines.h
3224 (_LARGEFILE_SOURCE): Define it.
3226 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
3228 * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
3229 -prefer-non-pic depending on whether libtool has shared libraries
3230 enabled or disabled.
3231 * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
3232 $(LIBSUPCXX_PICFLAGS).
3233 * configure, */Makefile.in: Rebuilt.
3235 2001-05-01 Benjamin Kosnik <bkoz@redhat.com>
3237 * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
3238 * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
3240 * include/bits/std_sstream.h (stringbuf): Leak
3242 * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
3244 2001-05-01 Tom Browder <tbrowder@home.com>
3246 * docs/html/ext/howto.html: Fix typo.
3248 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
3250 * testsuite/libstdc++.tests/tests.exp: Add comment.
3252 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
3254 * testsuite/libstdc++.tests/tests.exp: Set ulimits.
3256 2001-04-30 Mark Mitchell <mark@codesourcery.com>
3258 * porting.texi: Use the GFDL.
3260 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
3263 * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
3264 * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
3267 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
3270 * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
3272 2001-04-28 Phil Edwards <pme@sources.redhat.com>
3274 * docs/doxygen/run_doxygen: Minor tweaks.
3275 * docs/doxygen/style.css: New file.
3276 * docs/doxygen/user.cfg.in: Update using "doxygen -u" to get the
3277 latest parameters available. Use style.css.
3279 2001-04-27 Benjamin Kosnik <bkoz@redhat.com>
3281 * docs/doxygen/mainpage.doxy: New.
3282 * docs/doxygen/user.cfg.in: Change default configuration. Single
3283 frame, other tweaks.
3285 2001-04-26 Mark Mitchell <mark@codesourcery.com>
3287 * docs/html/17_intro/BADNAMES: Remove EGCS reference.
3288 Indicate obsolete nature of thelist for G++ 3.0.
3290 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
3292 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
3293 target_thread_file with `gcc -v'.
3294 * aclocal.m4, configure: Rebuilt.
3296 2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
3298 * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
3299 * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
3300 * include/c_std/bits/std_cwchar.h (std): Same.
3301 * acconfig.h (std): Remove c99 injection into std.
3302 * config.h.in: Regenerate.
3304 * testsuite/README: Fix typo.
3306 * include/bits/codecvt.h: Remove warnings.
3308 2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3310 * include/ext/slist: Include required header files.
3312 2001-04-23 Loren J. Rittle <ljrittle@acm.org>
3314 * include/c_std/bits/std_cerrno.h (errno): Define macro from
3315 identifier declared with external linkage, if needed.
3316 * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
3317 * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
3319 2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
3321 * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
3322 re-configures find the build compiler.
3323 (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
3325 * aclocal.m4: Regenerate.
3326 * configure: Regenerate.
3328 2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
3330 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
3331 support is enabled correctly before long long is activated.
3332 * aclocal.m4: Regenerate.
3333 * configure: Regenerate.
3335 * include/backward/backward_warning.h: Format correctly.
3337 * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
3338 * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
3339 * testsuite/26_numerics/c99_macros.cc: Remove.
3341 2001-04-20 Phil Edwards <pme@sources.redhat.com>
3343 * include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
3344 __iterator_category.
3346 2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
3348 * acconfig.h (_GLIBCPP_USE_C99): Add.
3349 * config.h.in: Regenerate.
3350 * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
3352 * aclocal.m4: Regenerate.
3353 * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
3354 * configure: Regenerate.
3355 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
3356 * configure: Regenerate.
3357 * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
3359 * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
3361 * include/c_std/bits/std_cstdlib.h: Same.
3362 * docs/html/configopts.html: Update.
3363 * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
3365 (test_c99_classify): Add.
3366 * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
3367 (_ISOC99_SOURCE): Remove.
3369 * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
3370 * include/bits/c++config (__STL_ASSERTIONS): Simplify.
3371 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
3372 * aclocal.m4: Regenerate.
3373 * configure: Regenerate.
3375 2001-04-19 Phil Edwards <pme@sources.redhat.com>
3377 * Makefile.am (doxygen): Assume script is missing execute perms.
3378 * Makefile.in: Regenerated.
3379 * docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
3381 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
3383 * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
3385 2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
3387 * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
3388 * testsuite/23_containers/set_operators.cc: Same.
3390 * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
3392 (__GLIBCPP__): Bump from value of last release.
3393 * include/bits/concept_check.h: Default to off, edit comments.
3394 * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
3395 * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
3396 * src/Makefile.in: Regenerate.
3398 2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE>
3400 * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
3401 Properly uglify member.
3403 2001-04-13 Phil Edwards <pme@sources.redhat.com>
3405 * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead
3409 2001-04-13 Phil Edwards <pme@sources.redhat.com>
3411 * include/bits/boost_concept_check.h: Uglify, fork from Boost.
3412 * include/bits/concept_check.h: Uglify.
3413 * include/bits/stl_algo.h: Likewise.
3414 * include/bits/stl_algobase.h: Likewise.
3415 * include/bits/stl_deque.h: Likewise.
3416 * include/bits/stl_heap.h: Likewise.
3417 * include/bits/stl_iterator_base_funcs.h: Likewise.
3418 * include/bits/stl_list.h: Likewise.
3419 * include/bits/stl_map.h: Likewise.
3420 * include/bits/stl_multimap.h: Likewise.
3421 * include/bits/stl_multiset.h: Likewise.
3422 * include/bits/stl_numeric.h: Likewise.
3423 * include/bits/stl_queue.h: Likewise.
3424 * include/bits/stl_set.h: Likewise.
3425 * include/bits/stl_stack.h: Likewise.
3426 * include/bits/stl_vector.h: Likewise.
3427 * include/ext/hash_map: Likewise.
3428 * include/ext/hash_set: Likewise.
3429 * include/ext/slist: Likewise.
3431 2001-04-13 Gabriel Dos Reis <gdr@codesourcery.com>
3433 * testsuite/23_containers/set_operators.cc: Just try to compile.
3435 * testsuite/23_containers/map_operators.cc: Same.
3437 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
3439 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
3441 (dg-test): Revert rth's change.
3443 2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
3445 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
3446 terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
3448 2001-04-12 Gabriel Dos Reis <gdr@codesourcery.com>
3450 * testsuite/README: Add DejaGnu specific documentation.
3452 2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
3454 * acinclude.m4: AC_CHECK_TOOL for expect.
3455 * aclocal.m4: Regenerate.
3456 * configure: Regenerate.
3457 * testsuite/Makefile.am (RUNTEST): Use substituted.
3460 * configure.in: Remove xcompiling substitution.
3461 * tests_flags.in (CROSS_LIB_PATH): Remove.
3462 (xcompiling): Remove.
3463 (CXX): Use substituted CXX.
3465 2001-04-11 Richard Henderson <rth@redhat.com>
3467 * testsuite/lib/libstdc++.exp: Specify path for output_file.
3469 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
3471 * include/bits/std_valarray.h(valarray<>::operator[]): Make
3474 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
3476 * testsuite/25_algorithms/equal.cc: New test.
3478 2001-04-06 Joe Buck <jbuck@welsh-buck.org>
3480 * stl_algobase.h (std::equal): avoid use of possibly-undefined
3481 operator != (one line patch).
3483 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
3485 * include/backward/backward_warning.h: Re-enable.
3487 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
3488 Alexandre Oliva <aoliva@redhat.com>
3490 * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
3492 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
3494 * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
3495 * testsuite/26_numerics/c99_macros.cc: Add test.
3497 2001-04-06 Phil Edwards <pme@sources.redhat.com>
3499 * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES.
3500 * docs/html/faq/index.txt: Regenerated.
3502 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
3504 * include/backward/backward_warning.h: Temporarily disable until
3505 g++ testsuite changes go in.
3506 * tests_flags.in (CROSS_LIB_PATH): Add.
3508 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
3510 Warn when using backward headers.
3511 * include/backward/algo.h: Include warning file.
3512 * include/backward/vector.h: Same.
3513 * include/backward/tree.h: Same.
3514 * include/backward/tempbuf.h: Same.
3515 * include/backward/strstream: Same.
3516 * include/backward/streambuf.h: Same.
3517 * include/backward/stream.h: Same.
3518 * include/backward/stack.h: Same.
3519 * include/backward/slist.h: Same.
3520 * include/backward/set.h: Same.
3521 * include/backward/rope.h:
3522 * include/backward/queue.h: Same.
3523 * include/backward/pair.h: Same.
3524 * include/backward/ostream.h: Same.
3525 * include/backward/new.h: Same.
3526 * include/backward/multiset.h: Same.
3527 * include/backward/multimap.h: Same.
3528 * include/backward/map.h: Same.
3529 * include/backward/list.h: Same.
3530 * include/backward/iterator.h: Same.
3531 * include/backward/istream.h: Same.
3532 * include/backward/iostream.h:
3533 * include/backward/iomanip.h:
3534 * include/backward/heap.h: Same.
3535 * include/backward/hashtable.h:
3536 * include/backward/hash_set.h:
3537 * include/backward/hash_map.h:
3538 * include/backward/function.h:
3539 * include/backward/fstream.h:
3540 * include/backward/deque.h:
3541 * include/backward/defalloc.h: Same.
3542 * include/backward/complex.h: Same.
3543 * include/backward/bvector.h:
3544 * include/backward/alloc.h:
3545 * include/backward/algobase.h: Same.
3547 * include/backward/backward_warning.h: New file.
3548 * src/Makefile.am (backward_headers): Add backward_warning.h
3549 * src/Makefile.in: Regenerate.
3551 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
3553 * src/Makefile.am (myinstalldirs): Make sure backward directory is
3555 (myinstallheaders): Install backward headers in backward directory.
3556 * src/Makefile.in: Regenerate.
3558 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
3560 Prepare for libstdc++-2.92.
3561 * docs/html/17_intro/RELEASE-NOTES (New): Update.
3562 * docs/html/configopts.html: Fix formatting.
3563 * README (file): Updates.
3564 * include/bits/c++config (__GLIBCPP__): Update.
3566 2001-04-05 Phil Edwards <pme@sources.redhat.com>
3568 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
3570 2001-04-04 Phil Edwards <pme@sources.redhat.com>
3572 * docs/doxygen/user.cfg.in: Extract all non-private members;
3573 reduce confusing documentation output.
3575 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
3577 * include/backward/fstream.h: Add missing semicolons.
3579 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
3581 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
3582 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
3583 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
3584 (ios_base::Init::_S_ios_create): New.
3585 (ios_base::Init::_S_ios_destroy): New.
3586 * include/bits/std_fstream.h: Change ctor args.
3587 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
3588 (ios_base::Init::~Init): Use _S_ios_destroy.
3589 (ios_base::sync_with_stdio): Use new members.
3590 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
3593 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3595 * include/backward/fstream.h: Expose streampos to global
3598 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3600 * include/bits/stl_iterator_base_types.h: Fix typo
3602 2001-04-03 Andreas Schwab <schwab@suse.de>
3604 * include/backward/fstream.h: Define filebuf and wfilebuf.
3606 2001-04-02 Phil Edwards <pme@sources.redhat.com>
3608 New concept checking implementation.
3609 * docs/html/19_diagnostics/howto.html: Document.
3610 * docs/html/17_intro/concept_check.diff: New file, for reference.
3611 * include/bits/boost_concept_check.h: New file from Boost.
3612 * include/bits/c++config: Update comments.
3614 * include/bits/concept_check.h: New file.
3615 * include/bits/concept_checks.h: Removed.
3616 * include/bits/container_concepts.h: Removed.
3617 * include/bits/sequence_concepts.h: Removed.
3618 * include/bits/stl_iterator_base.h: Removed; split into...
3619 * include/bits/stl_iterator_base_funcs.h: ...this new file...
3620 * include/bits/stl_iterator_base_types.h: ...and this new file.
3622 * include/bits/sbuf_iter.h: Update to use new implementation.
3623 * include/bits/std_iterator.h: Likewise.
3624 * include/bits/std_memory.h: Likewise.
3625 * include/bits/stl_algo.h: Likewise.
3626 * include/bits/stl_algobase.h: Likewise.
3627 * include/bits/stl_construct.h: Likewise.
3628 * include/bits/stl_deque.h: Likewise.
3629 * include/bits/stl_heap.h: Likewise.
3630 * include/bits/stl_list.h: Likewise.
3631 * include/bits/stl_map.h: Likewise.
3632 * include/bits/stl_multimap.h: Likewise.
3633 * include/bits/stl_multiset.h: Likewise.
3634 * include/bits/stl_numeric.h: Likewise.
3635 * include/bits/stl_queue.h: Likewise.
3636 * include/bits/stl_set.h: Likewise.
3637 * include/bits/stl_stack.h: Likewise.
3638 * include/bits/stl_uninitialized.h: Likewise.
3639 * include/bits/stl_vector.h: Likewise.
3640 * include/ext/hash_map: Likewise.
3641 * include/ext/hash_set: Likewise.
3642 * include/ext/slist: Likewise.
3643 * include/ext/stl_hashtable.h: Likewise.
3645 * src/Makefile.am (base_headers): Update list of headers.
3646 * Makefile.in: Regenerated.
3647 * src/Makefile.in: Regenerated.
3648 * libio/Makefile.in: Regenerated.
3649 * libmath/Makefile.in: Regenerated.
3650 * libsupc++/Makefile.in: Regenerated.
3651 * testsuite/Makefile.in: Regenerated.
3653 * docs/html/install.html: Update contact information.
3654 * docs/html/17_intro/howto.html: Ditto.
3655 * docs/html/18_support/howto.html: Ditto.
3656 * docs/html/20_util/howto.html: Ditto.
3657 * docs/html/21_strings/howto.html: Ditto.
3658 * docs/html/22_locale/howto.html: Ditto.
3659 * docs/html/23_containers/howto.html: Ditto.
3660 * docs/html/24_iterators/howto.html: Ditto.
3661 * docs/html/25_algorithms/howto.html: Ditto.
3662 * docs/html/26_numerics/howto.html: Ditto.
3663 * docs/html/27_io/howto.html: Ditto.
3664 * docs/html/faq/index.html: Ditto, plus info on new checking code.
3665 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
3666 * docs/html/faq/index.txt: Regenerated.
3668 2001-04-02 Zack Weinberg <zackw@stanford.edu>
3670 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
3671 messages with $which_library as well as $tool_flags and
3672 ${dg-extra-tool-flags}. Factor out annotation text into
3675 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
3677 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
3678 * include/c_std/bits/std_cwchar.h: Same.
3679 * testsuite/21_strings/c_strings.cc: Add.
3681 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
3683 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
3685 2001-04-01 Zack Weinberg <zackw@stanford.edu>
3687 * tests_flags.in: Use test a = b, not test a == b which is not
3690 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
3692 * configure.target: Remove duplicate aix entry.
3694 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
3696 * include/ext/stl_bvector.h: Move to...
3697 * include/bits/stl_vector.h: ...here.
3698 * include/ext/bvector: Move to...
3699 * include/backward/bvector.h: ...here.
3700 * include/bits/std_vector.h: Change stl_bvector include.
3701 * include/bits/std_queue.h: Remove bvector include.
3702 * include/ext/tree: Insert using rb_tree, move to...
3703 * include/backward/tree.h: ...here.
3704 * include/backward/hash_map.h: Include ext/hash_map.
3705 * include/backward/hash_set.h: Include ext/hash_set.
3706 * include/backward/queue.h: New file.
3707 * include/backward/stack.h: Edit.
3708 * include/backward/algo.h: Same.
3709 * include/backward/algobase.h: Same.
3710 * include/backward/alloc.h: Same.
3711 * include/backward/function.h: Same.
3712 * include/backward/iomanip.h: Same.
3713 * include/backward/istream.h: Same.
3714 * include/backward/iterator.h: Same.
3715 * include/backward/list.h: Same.
3716 * include/backward/map.h: Same.
3717 * include/backward/multimap.h: Same.
3718 * include/backward/multiset.h: Same.
3719 * include/backward/ostream.h: Same.
3720 * include/backward/pair.h: Same
3721 * include/backward/rope.h: Same.
3722 * include/backward/set.h: Same.
3723 * include/backward/stream.h: Same.
3724 * include/backward/strstream.h: Same.
3725 * include/backward/tempbuf.h: Same.
3726 * src/Makefile.am (ext_headers): Edit.
3727 * src/Makefile.in: Regenerate.
3728 * testsuite/ext/headers.cc (main): Fix.
3731 2001-03-30 Phil Edwards <pme@sources.redhat.com>
3733 * tests_flags.in (LIBS): Pass correct path for installed testing.
3735 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
3737 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
3738 * tests_flags.in (CXX): Construct here.
3739 (static_fail): Don't remove compile.out. Format with spaces.
3740 (INCLUDES): Deal with xcompiling.
3741 * configure.in (xcompiling): Substitute.
3742 * testsuite/Makefile.am: Snake libjava configury.
3743 * testsuite/Makefile.in: Regenerate.
3744 * testsuite/23_containers/map_operators.cc: Tweaks.
3745 * testsuite/23_containers/set_operators.cc: Tweaks.
3747 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3749 Enable dejagnu testing framework.
3750 * configure.in: Generate testsuite/Makefile.
3751 * configure: Regenerate.
3752 * Makefile.am (check-install): Change rule from this...
3753 (check-script-install): ...to this.
3754 (check): Change rule from this...
3755 (check-script):...to this.
3756 * Makefile.in: Regenerate.
3758 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
3760 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
3762 (LIBTOOL): Let automake take care of its definition.
3763 * libsupc++/Makefile.in: Rebuilt.
3765 2001-03-28 Richard Henderson <rth@redhat.com>
3767 IA-64 ABI Exception Handling:
3768 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
3769 * configure.in: Use it.
3770 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
3771 * libsupc++/Makefile.am (sources): Update files list.
3772 * libsupc++/Makefile.in: Regenerate.
3773 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
3774 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
3775 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
3776 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
3777 * libsupc++/exception_support.cc: Remove.
3778 * libsupc++/exception_support.h: Remove.
3779 * libsupc++/pure.cc: Use std::terminate.
3780 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
3781 (__is_pointer): Remove.
3782 * libsupc++/unwind-cxx.h: New file.
3783 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
3785 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
3787 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
3789 * src/Makefile.am (CXXLINK): Likewise.
3790 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
3792 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
3794 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
3796 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3798 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
3801 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
3803 * include/bits/basic_file.h (get_fileno): Remove.
3804 (_M_fileno): Remove.
3805 (_M_cfile_created): Add.
3806 (basic_file::basic_file(__c_file_type*, openmode): Add.
3807 (basic_file::basic_file(int, const char*, openmode): Remove.
3808 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
3809 const char*, ios_base::openmode): Don't allocate
3810 internal buffers. Turn off internal buffers.
3811 (basic_filebuf::overflow): Remove test for null buffer.
3812 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
3813 * include/bits/streambuf.cc: Tweak.
3814 * include/bits/std_ostream.h: Tweak.
3815 * config/basic_file_libio.h: Same.
3816 * config/basic_file_stdio.h: Same.
3817 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
3818 * testsuite/27_io/filebuf_members.cc: Tweaks.
3819 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
3821 2001-03-24 Phil Edwards <pme@sources.redhat.com>
3823 * Makefile.am: New targets, doxygen and doxygen-maint.
3824 * Makefile.in: Regenerated.
3825 * docs/doxygen/run_doxygen: Finally implemented.
3826 * docs/doxygen/maint.cfg.in: New file.
3827 * docs/doxygen/user.cfg.in: New file.
3829 2001-03-24 Phil Edwards <pme@sources.redhat.com>
3831 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
3832 * src/Makefile.am: Replace leading spaces with tabs on continuation
3834 * aclocal.m4: Regenerated.
3836 * Makefile.in: Ditto.
3837 * src/Makefile.in: Ditto.
3838 * libio/Makefile.in: Ditto.
3839 * libmath/Makefile.in: Ditto.
3840 * libsupc++/Makefile.in: Ditto.
3842 2001-03-24 Phil Edwards <pme@sources.redhat.com>
3844 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
3845 concept-checking code and current status of same.
3846 * docs/html/ext/howto.html: Ditto.
3847 * docs/html/faq/index.html: Ditto.
3848 * docs/html/faq/index.txt: Regenerated.
3850 2001-03-24 Phil Edwards <pme@sources.redhat.com>
3852 * include/bits/std_bitset.h: Include ostream and istream headers
3853 instead of iostream.
3855 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
3857 * include/bits/ostream.tcc: Use __builtin_alloca.
3859 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
3861 * src/misc-inst.cc (__sink_unused_warning): Move to...
3862 * src/locale-inst.cc (__sink_unused_warning): Move to...
3863 * src/stl-inst.cc: Here.
3864 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
3867 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
3869 * intclude/bits/basic_file.h: Fix typos in comments.
3871 2001-03-20 Richard Henderson <rth@redhat.com>
3873 * src/gen-num-limits.cc: Instantiate for wchar_t.
3874 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
3876 2001-03-20 Jason Merrill <jason@redhat.com>
3878 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
3879 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
3880 * libsupc++/cxxabi.h: Declare it.
3882 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
3884 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
3885 signal_func with an unspecified argument list.
3887 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
3889 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
3891 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3893 * include/bits/basic_string.tcc (operator+): Fix thinko.
3895 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
3898 * include/bits/std_streambuf.h: Remove cached locale facets.
3899 (basic_streambuf::_M_buf_fctype): Remove.
3900 (basic_streambuf::~basic_streambuf): Remove here.
3901 (basic_streambuf::basic_streambuf): Same.
3902 (basic_streambuf::imbue): Same.
3903 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
3904 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
3905 (basic_filebuf::~basic_filebuf()): Remove here.
3906 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
3907 (basic_filebuf::imbue): Same.
3908 * include/bits/localefwd.h (_Count_ones): Remove.
3909 (locale::_S_num_categories): Just use 6, since this doesn't
3910 actually change, ever.
3911 * include/bits/locale_facets.tcc (has_facet): Simplify.
3913 * testsuite/27_io/filebuf.cc (test06): Add tests.
3915 2001-03-13 Steve Ellcey <sje@cup.hp.com>
3917 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
3918 match HP-UX ctype.h header file.
3920 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
3922 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
3923 duplicate definitions of __dj_ctype_*
3925 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
3927 * libsupc++/new: Remove pragma interface.
3928 * libsupc++/typeinfo: Same.
3929 * libsupc++/exception: Same.
3930 * libsupc++/new_handler.cc: Remove pragma implementation.
3931 (bad_alloc::~bad_alloc()): Add.
3932 * libsupc++/exception_support.cc: Same.
3933 (exception::~exception): Add.
3934 (bad_exception::~bad_exception): Add.
3935 * libsupc++/tinfo.cc: Same.
3936 (bad_cast::~bad_cast): Add.
3937 (bad_typeid::~bad_typeid): Add.
3939 2001-03-13 Phil Edwards <pme@sources.redhat.com>
3941 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
3943 2001-03-12 Felix Lee <flee@redhat.com>
3945 * mkcheck.in: workaround for bash 2.01 IFS bug.
3947 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
3949 Fixups for -fno-for-scope
3950 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
3951 * src/valarray-inst.cc (__gslice_to_index): Same.
3953 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
3955 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
3956 prior to trapping signal (UnixWare 7 workaround).
3958 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
3960 * include/backward/hashtable.h: Same.
3961 * include/backward/rope.h: Fix include.
3963 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
3965 * include/backward/vector.h: Include std_vector.h.
3967 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
3968 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
3971 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3973 * include/ext/stl_hashtable.h: Change type of __n to size_t
3974 * include/backward/bvector.h: Include <ext/stl_bvector.h>
3976 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3978 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
3979 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
3980 Use streamsize, not int_type.
3982 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
3984 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
3987 2001-03-08 Andreas Schwab <schwab@suse.de>
3989 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
3991 * aclocal.m4, configure: Regenerated.
3993 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
3995 * include/bits/std_iosfwd.h: Remove string forward decls here.
3996 * include/bits/stringfwd.h: Add forward decls for char_traits
3998 * config/c_io_libio.h (wstreamoff): Delete.
3999 * config/c_io_stdio.h (wstreamoff): Same.
4000 * include/bits/char_traits.h: Use streamoff not wstreamoff for
4001 char_traits<wchar_t>::off_type.
4002 Remove duplicate typedefs.
4003 * include/bits/fpos.h: Define streampos/wstreampos here.
4004 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
4007 Changeup output files.
4008 * testsuite/27_io/istream_unformatted.cc: Change output files.
4009 * testsuite/27_io/istream_seeks-1.txt: Add.
4010 * testsuite/27_io/istream_seeks-2.tst: Add.
4011 * testsuite/27_io/istream_seeks-1.tst: Add.
4012 * testsuite/27_io/istream_unformatted-2.tst: Delete.
4013 * testsuite/27_io/istream_unformatted-3.tst: Delete.
4014 * testsuite/27_io/istream_unformatted-3.txt: Delete.
4016 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
4018 Add Irix 5.2, 6.3 support.
4019 * config/os/irix/bits: Renamed to...
4020 * config/os/irix/irix6.5/bits: this.
4021 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
4022 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
4023 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
4024 * config/os/irix/irix5.2/bits/ctype_noninline.h
4025 (ctype<char>::ctype): Initialize _M_table with __ctype.
4026 * configure.target: Adjust.
4028 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
4031 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
4032 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
4034 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
4035 (*__pf)(__ios_type&)): Same.
4036 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
4037 (*__pf)(ios_base&))): Same.
4038 * testsuite/27_io/istream_extractor_other.cc: Add tests.
4039 * testsuite/27_io/istream_manip.cc (test01): Fix.
4041 2001-03-06 Nathan Myers <ncm@cantrip.org>
4042 Benjamin Kosnik <bkoz@redhat.com>
4044 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
4045 * testsuite/17_intro/header_cerrno.cc (test01): New file.
4046 * testsuite/17_intro/header_cassert.cc (test01): New file.
4047 * testsuite/17_intro/header_cstddef.cc (test01): New file.
4048 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
4049 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
4051 2001-03-05 scott snyder <snyder@fnal.gov>
4054 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
4056 * include/c_std/bits/std_cstdlib.h: ... to here.
4057 * testsuite/17_intro/header_cstdlib.cc: Add test.
4059 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
4061 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
4063 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
4065 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
4066 definition. Replace enum with static const variables.
4068 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
4069 throw specification, fix typos, use <static_cast>.
4070 (ctype<char>::scan_is): remove throw specification.
4071 (ctype<char>::scan_not): likewise.
4073 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
4074 (ctype<char>::do_toupper(char)): use <static_cast>.
4075 (ctype<char>::do_toupper(char *, const char *)): likewise.
4076 (ctype<char>::do_tolower(char)): likewise.
4077 (ctype<char>::do_tolower(char *, const char *)): likewise.
4079 2001-03-04 Phil Edwards <pme@sources.redhat.com>
4081 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
4082 * include/backward/algo.h: Use std not __STD. Remove unneeded
4083 macros and "never happens" code. Adjust to C++STYLE guidelines.
4084 * include/backward/algobase.h: Likewise.
4085 * include/backward/alloc.h: Likewise.
4086 * include/backward/bvector.h: Likewise.
4087 * include/backward/deque.h: Likewise.
4088 * include/backward/function.h: Likewise.
4089 * include/backward/hash_map.h: Likewise.
4090 * include/backward/hash_set.h: Likewise.
4091 * include/backward/hashtable.h: Likewise.
4092 * include/backward/heap.h: Likewise.
4093 * include/backward/iterator.h: Likewise.
4094 * include/backward/list.h: Likewise.
4095 * include/backward/map.h: Likewise.
4096 * include/backward/multimap.h: Likewise.
4097 * include/backward/multiset.h: Likewise.
4098 * include/backward/pair.h: Likewise.
4099 * include/backward/rope.h: Likewise.
4100 * include/backward/set.h: Likewise.
4101 * include/backward/slist.h: Likewise.
4102 * include/backward/stack.h: Likewise.
4103 * include/backward/strstream: Likewise.
4104 * include/backward/tempbuf.h: Likewise.
4105 * include/backward/tree.h: Likewise.
4106 * include/backward/vector.h: Likewise.
4107 * include/bits/basic_ios.h: Likewise.
4108 * include/bits/basic_ios.tcc: Likewise.
4109 * include/bits/basic_string.h: Likewise.
4110 * include/bits/c++config: Likewise.
4111 * include/bits/concept_checks.h: Likewise.
4112 * include/bits/fpos.h: Likewise.
4113 * include/bits/fstream.tcc: Likewise.
4114 * include/bits/functexcept.h: Likewise.
4115 * include/bits/ios_base.h: Likewise.
4116 * include/bits/istream.tcc: Likewise.
4117 * include/bits/mask_array.h: Likewise.
4118 * include/bits/ostream.tcc: Likewise.
4119 * include/bits/pthread_allocimpl.h: Likewise.
4120 * include/bits/sbuf_iter.h: Likewise.
4121 * include/bits/slice.h: Likewise.
4122 * include/bits/slice_array.h: Likewise.
4123 * include/bits/sstream.tcc: Likewise.
4124 * include/bits/std_bitset.h: Likewise.
4125 * include/bits/std_fstream.h: Likewise.
4126 * include/bits/std_iomanip.h: Likewise.
4127 * include/bits/std_ios.h: Likewise.
4128 * include/bits/std_istream.h: Likewise.
4129 * include/bits/std_iterator.h: Likewise.
4130 * include/bits/std_memory.h: Likewise.
4131 * include/bits/std_ostream.h: Likewise.
4132 * include/bits/std_sstream.h: Likewise.
4133 * include/bits/std_streambuf.h: Likewise.
4134 * include/bits/std_string.h: Likewise.
4135 * include/bits/std_valarray.h: Likewise.
4136 * include/bits/stl_algo.h: Likewise.
4137 * include/bits/stl_algobase.h: Likewise.
4138 * include/bits/stl_alloc.h: Likewise.
4139 * include/bits/stl_construct.h: Likewise.
4140 * include/bits/stl_deque.h: Likewise.
4141 * include/bits/stl_function.h: Likewise.
4142 * include/bits/stl_heap.h: Likewise.
4143 * include/bits/stl_iterator.h: Likewise.
4144 * include/bits/stl_iterator_base.h: Likewise.
4145 * include/bits/stl_list.h: Likewise.
4146 * include/bits/stl_map.h: Likewise.
4147 * include/bits/stl_multimap.h: Likewise.
4148 * include/bits/stl_multiset.h: Likewise.
4149 * include/bits/stl_numeric.h: Likewise.
4150 * include/bits/stl_pair.h: Likewise.
4151 * include/bits/stl_pthread_alloc.h: Likewise.
4152 * include/bits/stl_queue.h: Likewise.
4153 * include/bits/stl_raw_storage_iter.h: Likewise.
4154 * include/bits/stl_relops.h: Likewise.
4155 * include/bits/stl_set.h: Likewise.
4156 * include/bits/stl_stack.h: Likewise.
4157 * include/bits/stl_tempbuf.h: Likewise.
4158 * include/bits/stl_threads.h: Likewise.
4159 * include/bits/stl_tree.h: Likewise.
4160 * include/bits/stl_uninitialized.h: Likewise.
4161 * include/bits/stl_vector.h: Likewise.
4162 * include/bits/streambuf.tcc: Likewise.
4163 * include/bits/type_traits.h: Likewise.
4164 * include/bits/valarray_meta.h: Likewise.
4165 * include/ext/bvector: Likewise.
4166 * include/ext/hash_map: Likewise.
4167 * include/ext/hash_set: Likewise.
4168 * include/ext/ropeimpl.h: Likewise.
4169 * include/ext/slist: Likewise.
4170 * include/ext/stl_bvector.h: Likewise.
4171 * include/ext/stl_hash_fun.h: Likewise.
4172 * include/ext/stl_hashtable.h: Likewise.
4173 * include/ext/stl_rope.h: Likewise.
4174 * src/complex_io.cc: Likewise.
4175 * src/ios.cc: Likewise.
4176 * src/locale-inst.cc: Likewise.
4177 * src/locale.cc: Likewise.
4178 * src/localename.cc: Likewise.
4179 * src/misc-inst.cc: Likewise.
4180 * src/stdexcept.cc: Likewise.
4181 * src/stl-inst.cc: Likewise.
4182 * src/strstream.cc: Likewise.
4183 * src/valarray-inst.cc: Likewise.
4185 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
4187 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
4189 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4191 * include/bits/istream.tcc: change type of __extracted to __size_type
4193 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
4195 * src/wstring-inst.cc: New file.
4196 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
4197 (libinst_wstring_la_SOURCES): Remove.
4198 (libstdc___la_LIBADD): Remove libinst_wstring_la.
4199 (sources): Add wstring-inst.cc
4200 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
4203 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4205 * src/locale.cc: initialise __ret with zero
4206 * src/strstream.cc:cast gptr to int_type
4208 2001-03-01 Phil Edwards <pme@sources.redhat.com>
4210 * docs/html/faq/index.html: Update broken links.
4211 * docs/html/faq/index.txt: Regenerated.
4213 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
4216 * configure.target: Change irix* to irix6.5* in target_os table.
4218 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
4221 * include/bits/c++config (__GLIBCPP__): Bump number in
4222 anticipation of 2.92.
4224 * include/bits/codecvt.h: Fix typo.
4225 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
4227 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
4228 instantiations for stdio model.
4230 2001-02-28 Phil Edwards <pme@sources.redhat.com>
4232 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
4233 and GLIBCPP_CXXFLAGS as unused variables.
4234 * configure.host: Likewise.
4235 * configure.target: Likewise.
4236 * aclocal.m4: Regenerated.
4237 * configure: Regenerated.
4238 * Makefile.in: Regenerated.
4239 * libio/Makefile.in: Regenerated.
4240 * libmath/Makefile.in: Regenerated.
4241 * libsupc++/Makefile.in: Regenerated.
4242 * src/Makefile.in: Regenerated.
4244 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
4247 * include/bits/basic_file.h: Include basic_file_model.h.
4248 * config/c_io_libio.cc: Move to...
4249 * config/basic_file_libio.cc: Here.
4250 * config/basic_file_libio.h: New file.
4251 * config/c_io_stdio.cc: Move to...
4252 * config/basic_file_stdio.cc: Here.
4253 * config/basic_file_stdio.h: New file.
4254 * config/c_io_libio.h: Tweak.
4255 * config/c_io_stdio.h: Tweak.
4256 * src/Makefile.am (build_headers): Add basic_file_model.h.
4257 (sources): Add basic_file.cc, remove c++io.cc.
4258 * src/Makefile.in: Regenerate.
4259 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
4260 basic_file_model.h and basic_file.cc.
4261 * aclocal.m4: Regenerate.
4262 * configure: Regenerate.
4263 * testsuite/27_io/filebuf.cc (test05): Add regression.
4265 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
4268 * config/cpu/alpha/bits/atomicity.h: Change.
4269 * config/cpu/arm/bits/atomicit3y.h
4270 * config/cpu/generic/bits/atomicity.h
4271 * config/cpu/i386/bits/atomicity.h
4272 * config/cpu/i486/bits/atomicity.h
4273 * config/cpu/ia64/bits/atomicity.h
4274 * config/cpu/powerpc/bits/atomicity.h
4275 * config/cpu/sparc/sparc32/bits/atomicity.h
4276 * config/cpu/sparc/sparc64/bits/atomicity.h
4277 * config/os/aix/bits/atomicity.h
4278 * config/os/irix/bits/atomicity.h
4280 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
4282 * include/bits/std_stdexcept.h (runtime_error): Make string
4284 (logic_error): Same.
4285 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
4288 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
4292 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
4293 string object, not reference.
4294 (runtime_error::runtime_error): Same.
4295 * testsuite/19_diagnostics/stdexceptions.cc: New file.
4297 2001-02-26 Phil Edwards <pme@sources.redhat.com>
4299 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
4300 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
4301 diagnostics. Remove WFMT_FLAGS.
4302 * configure.in: Replace WFMT_FLAGS with diagnostics options.
4303 * libsupc++/Makefile.am: Likewise.
4304 * src/Makefile.am: Likewise.
4305 * aclocal.m4: Regenerated.
4306 * configure: Regenerated.
4307 * Makefile.in: Regenerated.
4308 * libio/Makefile.in: Regenerated.
4309 * libmath/Makefile.in: Regenerated.
4310 * libsupc++/Makefile.in: Regenerated.
4311 * src/Makefile.in: Regenerated.
4313 2001-02-26 Phil Edwards <pme@sources.redhat.com>
4315 Fixes libstdc++/2079
4316 * include/backward/iomanip.h: Expose <ios> manipulators to global
4318 * include/backward/iostream.h: Also expose std::ws.
4320 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
4322 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
4324 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
4326 * include/bits/codecvt.h: Use __builtin_alloca.
4327 * include/bits/ostream.tcc: Same.
4328 * include/bits/fstream.tcc: Same.
4330 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
4332 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
4334 2001-02-23 David Edelsohn <dje@watson.ibm.com>
4336 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
4338 2001-02-23 Phil Edwards <pme@sources.redhat.com>
4341 * include/backward/iostream.h: Expose std::flush in old headers.
4343 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4345 * mknumeric_limits: Remove special-casing on target. Use gcc
4346 instead of g++ to build gen-num-limits.cc
4348 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
4350 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
4352 * include/bits/codecvt.h: Use alloca instead of __extension__ for
4354 * include/bits/ostream.tcc: Same.
4355 * include/bits/std_ostream.h: Same.
4356 * include/bits/fstream.tcc: Same.
4357 * include/bits/locale_facets.tcc: Add typename.
4358 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
4360 2001-02-21 Phil Edwards <pme@sources.redhat.com>
4362 * tests_flags.in: Remove -n flag from call to echo.
4364 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
4366 * config/c_locale_gnu.h: Add clocale include.
4368 2001-02-20 Phil Edwards <pme@sources.redhat.com>
4370 * include/bits/stl_config.h: Remove file.
4371 * src/Makefile.am (base_headers): Remove from list.
4372 * configure: Regenerate.
4373 * Makefile.in: Ditto.
4374 * libio/Makefile.in: Ditto.
4375 * libmath/Makefile.in: Ditto.
4376 * libsupc++/Makefile.in: Ditto.
4377 * src/Makefile.in: Ditto.
4379 * include/bits/c++config: Move relevant macros to here.
4380 * include/backward/alloc.h: Include c++config.h instead.
4381 * include/backward/function.h: Ditto.
4382 * include/backward/heap.h: Ditto.
4383 * include/backward/pair.h: Ditto.
4384 * include/bits/pthread_allocimpl.h: Ditto.
4385 * include/bits/std_functional.h: Ditto.
4386 * include/bits/std_iterator.h: Ditto.
4387 * include/bits/std_numeric.h: Ditto.
4388 * include/bits/std_utility.h: Ditto.
4389 * include/bits/stl_algobase.h: Ditto.
4390 * include/bits/type_traits.h: Ditto.
4391 * src/stl-inst.cc: Ditto.
4393 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4395 * include/bits/basic_file.h: Add #pragma system_header
4396 * include/bits/basic_ios.h: Ditto.
4397 * include/bits/basic_string.h: Ditto.
4398 * include/bits/char_traits.h: Ditto.
4399 * include/bits/codecvt.h: Ditto.
4400 * include/bits/cpp_type_traits.h: Ditto.
4401 * include/bits/fpos.h: Ditto.
4402 * include/bits/gslice.h: Ditto.
4403 * include/bits/gslice_array.h: Ditto.
4404 * include/bits/indirect_array.h: Ditto.
4405 * include/bits/ios_base.h: Ditto.
4406 * include/bits/limits_generic.h: Ditto.
4407 * include/bits/locale_facets.h: Ditto.
4408 * include/bits/localefwd.h: Ditto.
4409 * include/bits/mask_array.h: Ditto.
4410 * include/bits/sbuf_iter.h: Ditto.
4411 * include/bits/sequence_concepts.h: Ditto.
4412 * include/bits/slice.h: Ditto.
4413 * include/bits/slice_array.h: Ditto.
4414 * include/bits/std_algorithm.h: Likewise.
4415 * include/bits/std_bitset.h: Likewise.
4416 * include/bits/std_complex.h: Likewise.
4417 * include/bits/std_deque.h: Likewise.
4418 * include/bits/std_fstream.h: Likewise.
4419 * include/bits/std_functional.h: Likewise.
4420 * include/bits/std_iomanip.h: Likewise.
4421 * include/bits/std_ios.h: Likewise.
4422 * include/bits/std_iosfwd.h: Likewise.
4423 * include/bits/std_iostream.h: Likewise.
4424 * include/bits/std_istream.h: Likewise.
4425 * include/bits/std_iterator.h: Likewise.
4426 * include/bits/std_list.h: Likewise.
4427 * include/bits/std_locale.h: Likewise.
4428 * include/bits/std_map.h: Likewise.
4429 * include/bits/std_memory.h: Likewise.
4430 * include/bits/std_numeric.h: Likewise.
4431 * include/bits/std_ostream.h: Likewise.
4432 * include/bits/std_queue.h: Likewise.
4433 * include/bits/std_set.h: Likewise.
4434 * include/bits/std_sstream.h: Likewise.
4435 * include/bits/std_stack.h: Likewise.
4436 * include/bits/std_stdexcept.h: Likewise.
4437 * include/bits/std_streambuf.h: Likewise.
4438 * include/bits/std_string.h: Likewise.
4439 * include/bits/std_utility.h: Likewise.
4440 * include/bits/std_valarray.h: Likewise.
4441 * include/bits/std_vector.h: Likewise.
4442 * include/bits/stringfwd.h: Likewise.
4443 * include/bits/type_traits.h: Likewise.
4444 * include/bits/valarray_array.h: Likewise.
4445 * include/bits/valarray_meta.h: Likewise.
4447 2001-02-19 Andreas Jaeger <aj@suse.de>
4449 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
4452 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
4455 * include/bits/std_ostream.h: Replaced usage of
4456 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
4457 * include/bits/char_traits.h: Removed non-standard
4458 methods that cannot be used elsewhere.
4461 * include/bits/basic_ios.h: Uncommented #include of
4465 * include/bits/codecvt.h: See next...
4466 * include/bits/fstream.tcc: See next...
4467 * include/bits/ostream.tcc: Add __extension__
4468 to variable-length arrays.
4471 * include/bits/localefwd.h: Changed int counter type to size_t.
4474 * include/bits/std_fstream.h: Added typedef for __ctype_type.
4476 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
4478 * testsuite/21_strings/char_traits.cc: Move to ...
4479 * testsuite/21_strings/char_traits_requirements.cc: ..here.
4480 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
4481 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
4483 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
4485 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
4488 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
4490 * include/bits/c++config: Revert.
4492 2001-02-15 Mark Mitchell <mark@codesourcery.com>
4494 * include/bits/istream.tcc: Use ios_base::iostate in place of
4495 iostate throughout. Insert `typename' keyword where necessary.
4496 * include/bits/ostream.tcc: Insert `typename' keyword where
4499 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
4501 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
4502 Define so library is compliant.
4504 2001-02-15 Anthony Green <green@redhat.com>
4506 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
4508 * aclocal.m4: Regenerate.
4509 * configure: Regenerate.
4511 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
4513 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
4514 Include ieeefp.h for fpclass on UnixWare{2,7}.
4515 * aclocal.m4: Regenerate.
4516 * configure: Regenerate.
4517 * mkcheck.in (size_command): Do without GNU-grep when using
4520 2001-02-15 Mark Mitchell <mark@codesourcery.com>
4522 Remove old ABI support from libsupc++.
4523 * libsupc++/cxxabi.h: Remove conditionally compiled code.
4524 * libsupc++/exception_support.cc: Likewise.
4525 * libsupc++/pure.cc: Likewise.
4526 * libsupc++/tinfo.cc: Likewise.
4527 * libsupc++/tinfo.h: Likewise.
4528 * libsupc++/tinfo2.cc: Likewise.
4529 * libsupc++/typeinfo: Likewise.
4530 * libsupc++/vec.cc: Likewise.
4532 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
4534 Add support for -fno-exceptions.
4535 * include/bits/exception_support.h: Remove.
4536 * include/bits/basic_string.h: Remove exception_support.
4537 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
4539 (string::substr): Same.
4540 * include/bits/basic_string.tcc (string::reserve): Replace
4541 __LENGTHERROR with __throw_length_error.
4542 (string::_S_create): Same.
4543 (string::resize): Same.
4544 (string::_M_replace): Same.
4545 (string::replace): Same.
4546 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
4547 (string::compare): Same.
4548 * include/bits/stl_vector.h: Remove exception_support.
4549 * src/Makefile.am (base_headers): Remove here.
4550 * src/Makefile.in: Regenerate.
4552 * include/bits/stl_range_errors.h: Remove.
4553 * include/bits/stl_deque.h: Use __throw_range_error.
4554 * include/bits/std_deque.h: Include functexcept.h.
4555 * include/bits/std_vector.h: Same.
4556 * src/Makefile.am (base_headers): Remove here.
4557 * src/Makefile.in: Regenerate.
4558 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
4559 * include/ext/bvector: Remove stl_range_errors.h
4561 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
4563 * include/bits/functexcept.h: New file.
4564 * src/functexcept.cc: New file. Definitions for function-based
4566 * src/Makefile.am (sources): Add functexcept.cc.
4567 * src/Makefile.in: Regenerate.
4569 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
4572 * include/bits/localefwd.h: Include functexcept.h.
4573 * include/bits/std_iosfwd.h: Same.
4575 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
4576 throw basic_ios::failure.
4577 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
4578 Use __throw_exception_again.
4579 (filebuf::_M_filebuf_init): Same.
4580 * include/bits/streambuf.tcc (__copy_streambufs): Same.
4581 * include/bits/ostream.tcc (ostream::operator<<): Same.
4582 * include/bits/istream.tcc (istream::operator>>): Same.
4583 * include/bits/basic_string.tcc (string::_M_mutate): Same.
4584 (string::_S_construct): Same.
4585 (string::_M_clone): Same.
4586 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
4588 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
4589 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
4590 __throw_exception_again.
4591 (locale::_Imp::_Imp(string, size_t): Same.
4592 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
4593 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
4594 (locale::locale(const char*)): Use __throw_runtime_error.
4595 (locale::classic): Use __throw_exception_again.
4596 (locale::_S_normalize_category): Use __throw_runtime_error.
4598 * src/stdexcept.cc: Remove cruft.
4600 * libsupc++/exception_defines.h: New file.
4601 * libsupc++/new_opnt.cc: Include exception_defines.h.
4602 * libsupc++/vec.cc: Same.
4603 (__cxa_vec_new2): Use __throw_exception_again.
4604 (__cxa_vec_new3): Same.
4605 (__cxa_vec_ctor): Same.
4606 (__cxa_vec_delete3): Same.
4607 (__cxa_vec_cctor): Same.
4608 (__cxa_vec_delete2): Same.
4609 (__cxa_vec_dtor): Same.
4610 * libsupc++/exception_support.cc: Include exception_defines.h. Only
4611 compile exception-handling bits if __EXCEPTIONS is defined.
4612 Remove old ABI support.
4613 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
4614 std::__throw_bad_alloc() instead of throw bad_alloc.
4615 * libsupc++/Makefile.am: Add exception_defines.h.
4616 * libsupc++/Makefile.in: Reformat.
4617 * libsupc++/*: Format.
4619 2001-02-15 Phil Edwards <pme@sources.redhat.com>
4621 * docs/html/configopts.html: Minor updates and typo fixes.
4622 * docs/html/faq/index.html: Updates of the "not really bugs" list.
4623 * docs/html/faq/index.txt: Regenerated.
4625 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
4627 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
4628 dejagnu/dg.exp. Adapt to log options used to run testcases.
4630 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4632 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
4635 2001-02-13 Dirk Mueller <dmuell@gmx.net>
4636 Phil Edwards <pme@sources.redhat.com>
4638 * include/backward/function.h: Do not use rel_ops for older
4640 * include/backward/pair.h: Likewise.
4642 2001-02-12 Mark Mitchell <mark@codesourcery.com>
4644 * src/locale.cc: Remove bogus locale::id definitions.
4646 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4648 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
4649 not _DEFINE_VALARRAY_OPERATOR which is not existent.
4651 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
4652 thinko in member initialisation.
4654 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
4656 * include/bits/std_valarray.h(valarray<>::shift): Avoid
4657 comparaison between signed and unsigned integer types.
4658 (valarray<>::cshift): Reformat.
4660 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
4662 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
4663 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
4664 * configure.in: Test for sigsetjmp.
4665 * configure, config.h.in: Rebuilt.
4667 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
4669 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
4670 lengths and strides.
4671 (__gslice_to_index): Document.
4673 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
4675 * include/bits/char_traits.h char_traits<char>::int_type: Change
4676 to `int' to match 21.1.3.1/2.
4678 * testsuite/21_strings/char_traits-int_type.C: New test.
4680 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
4682 * testsuite/Makefile.am: New file.
4684 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
4686 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
4688 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
4690 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
4692 2001-02-08 David Edelsohn <edelsohn@gnu.org>
4694 * configure.target (aix4*): Remove extra set of brackets.
4696 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
4699 * include/bits/stringfwd.h: New file.
4700 * include/bits/stl_string_fwd.h: Remove.
4701 * include/bits/localefwd.h: Remove declaration for allocator.
4702 * include/bits/std_iosfwd: Same.
4703 * include/bits/std_string.h: Include it.
4704 * include/bits/std_ios.h: Remove include.
4705 * include/bits/basic_string.h: Tweak.
4706 * libsupc++/new: Format.
4707 * src/Makefile.am (base_headers): Add stringfwd.h, remove
4709 * src/Makefile.in: Regenerate.
4710 * include/bits/std_stdexcept.h: Rewrite.
4711 * src/stdexcept.cc: Same.
4713 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
4715 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
4716 install locations too.
4717 * aclocal.m4: Regenerate.
4718 * configure.in: Remove USE_LIBDIR.
4719 * configure: Regenerate.
4720 * src/Makefile.am (toolexecdir): Simplify, use
4721 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
4722 * src/Makefile.in: Regenerate.
4723 * libsupc++/Makefile.am: Same.
4724 * libsupc++/Makefile.in: Regenerate.
4726 * src/Makefile.am: Just remove special rules for locale-inst.cc and
4727 misc-inst.cc as no longer necessary.
4729 Follow C++STYLE for naming non-static functions.
4730 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
4732 * include/bits/streambuf.tcc: Same.
4733 * include/bits/ostream.tcc: Same.
4734 * include/bits/istream.tcc: Same.
4735 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
4736 (_S_output_float): To __output_float.
4737 * include/bits/std_streambuf.h (_S_copy_streambufs): To
4739 * include/bits/locale_facets.tcc (_S_build_float_format): To
4740 __build_float_format.
4741 (_S_format): To __output_integer.
4742 (_S_fill): To __pad.
4743 * src/locale.cc: Same.
4744 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
4746 * include/bits/locale_facets.tcc (_S_group_digits): To
4748 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
4749 for collate, numpunct.
4751 2001-02-06 Phil Edwards <pme@sources.redhat.com>
4753 * docs/html/configopts.html: Fix HTML markup.
4754 * docs/html/install.html: Bring up to date.
4755 * docs/html/17_intro/C++STYLE: Add global variable conventions.
4756 * docs/html/21_strings/howto.html: More notes.
4757 * docs/html/22_locale/howto.html: Fix HTML markup.
4758 * docs/html/27_io/howto.html: More notes.
4759 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
4760 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
4762 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
4764 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
4765 to match header files.
4766 (_S_output_float): Likewise.
4767 (_S_copy_streambufs): Likewise.
4769 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
4770 Phil Edwards <pme@sources.redhat.com>
4772 * include/bits/std_istream.h (op>> signed,unsigned char): Must
4773 use reinterpret_cast, not static_cast.
4775 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
4777 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
4778 * aclocal.m4: Regenerate.
4779 * configure: Regenerate.
4781 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
4783 * include/bits/locale_facets.h (class moneypunct): Fix typos.
4784 * libsupc++/pure.cc: Revert.
4786 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
4788 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
4789 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
4790 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
4791 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
4792 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
4793 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
4794 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
4795 * aclocal.m4: Regenerate.
4796 * configure: Regenerate.
4798 2001-02-05 Mark Mitchell <mark@codesourcery.com>
4800 * include/bits/locale_facets.tcc: Remove `static' keyword on
4801 function definitions.
4802 * include/bits/std_streambuf.h: Likewise.
4803 * src/Makefile.am: Remove use of -fimplicit-templates.
4804 * src/Makefile.in: Regenerated.
4805 * src/locale-inst.cc: Explicitly instantiate more functions.
4806 * src/misc-inst.cc: Likewise.
4807 * src/string-inst.cc: Likewise.
4809 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
4811 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
4812 macro. Consolidate all the bits to do with where includes might be
4814 * aclocal.m4: Regenerate.
4815 * configure.in: Use it.
4816 * configure: Regenerate.
4817 * src/Makefile.am (targetincludep): Use simplified rules.
4818 (targetincludep): Rename gxx_target_include_dir.
4819 (myincludep): Rename gxx_include_dir.
4820 * src/Makefile.in: Regenerate.
4821 * libsupc++/Makefile.am: Use simplified rules.
4822 * libsupc++/Makefile.in: Regenerate.
4824 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
4826 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
4827 * include/c_std/bits/std_cctype.h: Same.
4828 * include/c_std/bits/std_cassert.h: Same.
4829 * include/c_std/bits/std_cstdarg.h: Same.
4830 * include/c_std/bits/std_cstddef.h: Same.
4832 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
4834 * include/c_std/bits/std_ctime.h: Same.
4835 * include/c_std/bits/std_clocale.h: Same.
4836 * include/c_std/bits/std_cmath.h: Same.
4837 * include/c_std/bits/std_csetjmp.h: Same.
4838 * include/c_std/bits/std_csignal.h: Same.
4839 * include/c_std/bits/std_cstring.h: Same.
4840 * include/c_std/bits/std_cstdlib.h: Same.
4841 * include/c_std/bits/std_cwchar.h: Same.
4843 2001-02-05 Phil Edwards <pme@sources.redhat.com>
4845 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
4847 2001-02-05 Mark Mitchell <mark@codesourcery.com>
4849 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
4850 (string::_S_construct): Likewise.
4852 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
4854 * testsuite/config/default.exp: New file.
4855 * testsuite/config: New directory.
4857 2001-02-04 Mark Mitchell <mark@codesourcery.com>
4859 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
4860 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
4861 whenever !__GXX_MERGED_TYPEINFO_NAMES.
4862 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
4864 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
4865 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
4867 * Makefile.am (mkinstalldirs): Set.
4868 * src/Makefile.am (mkinstalldirs): Set.
4869 * libmath/Makefile.am (mkinstalldirs): Set.
4870 * libsup++/Makefile.am (mkinstalldirs): Set.
4871 * libio/Makefile.am (mkinstalldirs): Set.
4872 * */Makefile.in: Regenerate.
4874 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
4876 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
4877 * include/bits/localefwd.h: More initialization cleanups.
4879 2001-02-03 Jeffrey A Law <law@cygnus.com>
4881 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
4882 correctly targets with 16bit ints.
4883 (_S_ios_openmode_end): Similarly.
4884 (_S_ios_iostate_end): Similarly.
4885 (_S_ios_Seekdir_end): Similarly.
4887 2001-02-02 Phil Edwards <pme@sources.redhat.com>
4889 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
4891 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
4893 * configure.in (toplevel_srcdir, auxdir): Set.
4894 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
4895 * aclocal.m4, configure, Makefile.in: Rebuilt.
4896 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
4897 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
4898 * libsupc++-v3/Makefile.in: Rebuilt.
4899 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
4900 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
4902 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
4904 * config/c_locale_generic.cc: Remove langinfo include.
4906 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
4908 Preliminary named locales.
4909 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
4910 * aclocal.m4: Regenerate.
4911 * configure.in: Use it.
4912 * configure: Regerate.
4913 * src/Makefile.am (sources): Add c++locale.cc.
4914 (build_headers): Add c++locale.h.
4915 * src/Makefile.in: Regenerate.
4916 * config/c_locale_gnu.h: New file.
4917 * config/c_locale_gnu.cc: New file. Non-inline member functions
4918 for named locales, gnu-specific.
4919 * config/c_locale_generic.h: New file.
4920 * config/c_locale_generic.cc: New file. Non-inline member
4921 functions for named locales, generic version.
4922 * docs/html/configopts.html: Add documentation on new options.
4924 * include/bits/locale_facets.h (class _Messages): Remove.
4925 (class _Moneypunct): Remove.
4926 * src/locale-inst.cc: Remove.
4928 * include/bits/locale_facets.h (class _Collate): Remove.
4929 * src/locale-inst.cc (std): Remove.
4930 * src/locale.cc: And here.
4932 * include/bits/localefwd.h (locale::_M_coalesce): New
4933 function. Correctly put together multi-name locales.
4934 (_Impl(const _Impl&, category, size_t)): Remove.
4936 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
4938 (_M_normalize_category_names): Remove.
4939 (_M_replace_categories): Fix.
4941 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
4942 (locale::_Impl::_M_construct_ctype): Remove.
4943 (locale::_Impl::_M_construct_monetary): Remove.
4944 (locale::_Impl::_M_construct_numeric): Remove.
4945 (locale::_Impl::_M_construct_time): Remove.
4946 (locale::_Impl::_M_construct_messages): Remove.
4948 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
4949 (_Use_facet_failure_handle): Remove.
4950 * src/locale.cc: Remove definitions.
4951 * src/locale-inst.cc: And here.
4953 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
4955 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
4956 create and error-check underlying locale object.
4957 (locale::facet::_S_destroy_c_locale): Add, take care of properly
4958 tearing down underlying locale object.
4959 * include/bits/localefwd.h (locale::facet): Declare.
4960 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
4961 correctness, as glibc apparently has incorrect info in it. Test
4962 with it when it works again.....
4964 * include/bits/localefwd.h (locale::_Impl::__vec_string):
4965 Remove. Number of categories is fixed at six, so just simplify and
4966 make this an array of strings.
4967 (locale::_Impl::_M_has_name): Remove.
4968 (locale::_Impl::_M_name): Remove.
4969 (locale::_Impl::_M_category_names): Turns into...
4970 (locale::_Impl::_M_names): ...this.
4971 (locale::_Impl::_M_has_same_name()): New function.
4972 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
4973 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
4975 * src/locale.cc (locale::name()): Construct mangled name
4976 accurately reflecting combined locale categories.
4978 * src/locale.cc (locale::classic()): Don't initialize here.
4979 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
4980 __refs, bool __has_name, string __str): Do it here.
4982 * include/bits/localefwd.h: _S_categories_num to
4983 _S_num_categories. _S_facets_num to _S_num_facets.
4984 (locale::id::id()): Explicitly set _M_index to zero.
4985 * src/locale.cc: Same.
4987 * src/locale.cc: (locale::locale(const char*)): Construct named
4990 * src/locale.cc: Remove numpunct_byname ctors.
4991 * testsuite/22_locale/numpunct_byname.cc: New file.
4992 * testsuite/22_locale/numpunct.cc: New file.
4994 * include/bits/localefwd.h (class locale): Change data members to
4995 protected, from private.
4996 (_Impl::_M_get_c_locale): Add member function.
4997 (locale::facet::_M_get_global_impl()): Add member function.
4998 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
4999 a __c_locale pointer.
5000 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
5002 * testsuite/22_locale/members.cc: New file, test name and combine.
5004 * include/bits/locale_facets.h (class numpunct): Remove class
5005 _Punct and _Numpunct. Rewrite class numpunct to be correct for
5007 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
5008 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
5009 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
5010 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
5011 * testsuite/22_locale/numpunct_char_members.cc: New file.
5013 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
5015 * testsuite/README: Add more comment.
5016 * testsuite/lib/libstdc++.exp: Tweak comment.
5018 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
5020 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
5022 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
5024 * testsuite/21_strings/inserters_extractors.cc: Remove
5025 explicit reference to 'testsuite/'.
5027 2001-01-25 Richard Henderson <rth@redhat.com>
5029 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
5030 bits. Fixes Tru64 build issues.
5032 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
5034 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
5035 (use ${MAKE-make}, not ${MAKE:-make}).
5036 * aclocal.m4, configure: Regenerate.
5038 2001-01-25 Mark Mitchell <mark@codesourcery.com>
5040 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
5043 * src/Makefile.am (sources): Add globals.cc.
5044 * src/Makefile.in: Regenerated.
5045 * src/globals.cc: New file.
5046 * src/ios.cc (cin): Don't define here, just declare extern.
5055 2001-01-25 Phil Edwards <pme@sources.redhat.com>
5057 * include/bits/std_iterator.h: Do not include stl_relops.h.
5058 * include/bits/std_numeric.h: Ditto.
5059 * include/bits/stl_algobase.h: Ditto.
5060 * include/bits/stl_relops.h: Add comment warning about problems.
5062 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
5064 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
5065 in testcases. Prepare for the DejaGnu based framework.
5066 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
5067 directory -- it is now mkcheck working directory.
5068 * tests_flags.in: Remove reference to $(top_srcdir). Use
5070 * Makefile.am (check, check-install): Change mkcheck invocation
5072 * Makefile.in: Regenerate.
5074 2001-01-24 Mark Mitchell <mark@codesourcery.com>
5076 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
5077 (__always_swap): Likewise.
5079 2001-01-23 Chris Demetriou <cgd@broadcom.com>
5081 * libsupc++/exception_support.cc (__terminate_func): Remove
5083 (__terminate_func_ptr): New typedef.
5084 (__terminate, __terminate_set_func): New extern function
5086 (std::terminate): Use __terminate function.
5087 (std::set_terminate): Use __terminate_set_func function.
5089 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
5091 * configure.target: Just use os_include_dir always.
5092 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
5093 Link atomicity files and ctype files here.
5094 * configure: Regenerate.
5095 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
5096 (GLIBCPP_ENABLE_ATOMICITY): Remove.
5097 * aclocal.m4: Regenerate.
5099 2001-01-23 Chris Demetriou <cgd@broadcom.com>
5101 * configure.in: Place definition of MULTISUBDIR in
5102 libsupc++/Makefile as is done for src/Makefile.
5103 * configure: Regenerate.
5105 2001-01-23 Phil Edwards <pme@sources.redhat.com>
5107 * acinclude.m4: Cosmetic changes only.
5108 * aclocal.m4: Regenerated.
5109 * configure: Regenerated.
5110 * configure.target: Update documented list of changed variables.
5111 * docs/html/install.html: Fix typo.
5112 * docs/html/20_util/howto.html: More notes on auto_ptr.
5113 * docs/html/27_io/howto.html: More notes on streabufs.
5114 * docs/html/faq/index.html: Add rel_ops problem and mention the
5115 DEC as(1) .subsection difficulty.
5116 * docs/html/faq/index.txt: Regenerated.
5118 2001-01-23 Mark Mitchell <mark@codesourcery.com>
5120 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
5121 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
5122 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
5123 its already provided in config.target.
5124 * aclocal.m4: Regenerated.
5125 * configure: Likewise.
5126 * configure.target: Set ctype_include_dir for lots of systems.
5127 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
5128 * libsupc++/Makefile.in: Regenerated.
5130 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
5132 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
5135 * testsuite/README: Add comment.
5137 2001-01-21 Phil Edwards <pme@sources.redhat.com>
5139 * docs/html/configopts.html: Update for current status. Fix HTML.
5140 * docs/html/install.html: Update for current status.
5142 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5144 * testsuite/libstdc++.tests/tests.exp: New file.
5145 * testsuite/lib/libstdc++.exp: Itou.
5146 * testsuite/README: Itou.
5148 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
5150 * tests_flags.in: Just output the bare minimum to run tests.
5151 Let's the caller do its own arrangement.
5153 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
5156 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
5158 * testsuite/17_intro: Prepare testcases for new style DejaGnu
5161 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
5163 * testsuite/libstdc++.tests, testsuite/lib: New directories.
5165 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
5167 * mkcheck.in: Construct file names that match $objdir structure.
5168 * testsuite/27_io/filebuf_members-1.txt: New file.
5169 * testsuite/27_io/ifstream_members-1.txt: New file.
5170 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
5172 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
5173 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
5175 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5177 * testsuite/27_io/istream_sentry.cc (test02): Fix.
5179 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
5182 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
5183 * src/ios.cc (ios_base::failure): Make definitions match.
5184 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
5185 (class bad_cast): Same.
5186 * libsupc++/exception (class exception): Add throw specs.
5187 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
5188 (set_unexpected): Same.
5189 (uncaught_exception): Same.
5192 * docs/html/17_intro/C++STYLE (classname): Fix.
5194 2001-01-16 Mark Mitchell <mark@codesourcery.com>
5196 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
5197 Use it do explicitly instantiate predicate<T> and value<T> for
5200 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
5202 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
5203 uninitialized thinko in last change.
5205 2001-01-16 Mark Mitchell <mark@codesourcery.com>
5207 * libsupc++/exception_support.cc (__cp_pop_exception): Change
5210 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
5212 * docs/html/17_intro/C++STYLE (classname): Add more existing
5213 and stylish patterns.
5216 * include/bits/istream.tcc (istream::sentry::sentry()): Set
5217 failbit if the state of the stream is not good.
5218 * testsuite/27_io/istream_sentry.cc (test02): Add test.
5219 * testsuite/27_io/istream_manip.cc (test01): Modify.
5222 reported by Paolo Carlini <pcarlini@unitus.it>
5223 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
5224 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
5227 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
5228 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
5229 (xsgetn): Same. Simplify.
5230 * testsuite/27_io/streambuf.cc (test04): Add testcases.
5232 reported by Larry Evans <jcampbell3@prodigy.net>
5233 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
5234 equality with eof on returned value from overflow.
5236 2001-01-14 Andreas Jaeger <aj@suse.de>
5238 * libio/libio.h: Add test for glibc 2.0.
5240 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
5242 * config/os/djgpp/bits/*: Fix dates.
5244 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
5245 _CharT* __end, _CharT __c): Remove.
5246 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
5247 * include/bits/char_traits.h: Tweak.
5249 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
5251 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
5252 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
5254 * aclocal.m4: regenerated.
5255 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
5256 * configure: regenerated.
5257 * config/os/djgpp, config/os/djgpp/bits: new directories.
5258 * config/os/djgpp/bits/ctype_base.h,
5259 config/os/djgpp/bits/ctype_inline.h,
5260 config/os/djgpp/bits/ctype_noninline.h,
5261 config/os/djgpp/bits/os_defines.h: new files.
5263 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
5265 * include/c_std/bits/std_cstdio.h: Undef printf.
5267 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
5269 * src/ios.cc: Fix typo: change cout->wcout.
5271 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
5272 * src/Makefile.in: Regenerate.
5274 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5276 * include/bits/std_complex.h: Fix a typo.
5278 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
5281 Fixes for libstdc++/1576
5282 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
5283 file, move contents into....
5284 * src/ios.cc: ...Here. Put defines for iostreams objects and
5285 initialization routines into one file to simplify DSO interaction.
5286 * include/bits/std_iostream.h: Touch.
5287 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
5288 * src/Makefile.am (sources): Remove stdstreams.cc.
5289 * src/Makefile.in: Regenerate.
5291 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5293 * tests_flags.in (check_directory): Fix typo.
5295 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5297 * include/bits/std_complex.h: Fix a typo.
5299 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
5301 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
5302 code path:) Remove magic constants and restructure to handle
5303 ctype.h bit mask layout changes more gracefully. (Make fast
5304 code path:) Use __maskrune (), if available.
5305 (is): Remove special case for digit and xdigit masks.
5307 2001-01-09 Robert Lipe <robertlipe@usa.net>
5309 * include/c_std/bits/std_ctime.h: Undefine difftime.
5311 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
5313 * src/gen-num-limits.cc (signal_adapter): New template function.
5314 (signal_handler): Use it, instead of signal.
5315 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
5316 require both tests to trap to set trap_flag.
5318 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
5320 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
5321 initialize mbstate_t member, name offset data members *off, not pos.
5322 * include/bits/fstream.tcc (filebuf::filebuf): Same.
5324 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
5326 reported by Chris G. Demetriou <cgd@sibyte.com>
5327 * configure.in: Change -linux-* to -linux*.
5328 * configure: Regenerate.
5330 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
5332 Fix 27_io/filebuf_members.cc
5333 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
5334 const string& __name, category __cat, size_t __refs): Set
5335 _M_has_name with _M_name.
5336 * include/bits/localefwd.h (locale::operator!=): Protect member
5337 function call with this->.
5338 * src/locale.cc (locale::operator==): Make fast checks first.
5339 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
5341 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
5343 * src/ios.cc (ios_base::Init::Init): Initialize here.
5344 (ios_base::sync_with_stdio): Set here.
5346 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
5348 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
5349 systems that support it, call dup() before fdopen().
5351 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
5353 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
5354 * testsuite/17_intro/header_cwctype.cc (main): New file.
5356 * src/Makefile.am (base_headers): Change.
5357 * include/bits/std_string.h: And here.
5358 * include/bits/string.tcc: Tweaks, move to...
5359 * include/bits/basic_string.tcc: ...Here.
5360 * src/string-inst.cc: Simplify, just instantiate the whole class,
5361 not member-by-member.
5363 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
5365 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
5366 * aclocal.m4: Regenerate.
5367 * configure: Regenerate.
5369 * include/bits/c++config (__GLIBCPP__): Bump version number.
5371 * ChangeLog: Start new log for year 2001
5372 * ChangeLog-2000: New file.
5374 * docs/html/configopts.html: Make sure default values are current,
5377 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
5379 * include/c_std/bits/std_cwchar.h: Same.
5380 * testsuite/17_intro/header_cwchar.cc: Same.
5381 * include/c_std/bits/std_ctime.h: Same.
5382 * testsuite/17_intro/header_ctime.cc: Same.
5383 * include/c_std/bits/std_cstdlib.h: Same.
5384 Clean up undefs, make consistent with cwchar and cmath, etc.
5385 * testsuite/17_intro/header_cstdlib.cc: Same.
5386 * include/c_std/bits/std_cstdio.h: Same here.
5387 * testsuite/17_intro/header_cstring.cc: Same.
5388 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
5389 * testsuite/17_intro/header_cstring.cc: New file. Check for
5390 size_t in namespace std.
5392 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
5393 * acconfig.h (HAVE_MBSTATE_T): Add.
5394 * config.h.in: Regenerate.
5395 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
5397 * aclocal.m4: Regenerate.
5398 * configure: Regenerate.
5399 * testsuite/17_intro/headers_c++.cc: New file.
5400 * testsuite/17_intro/headers_c.cc: Small changes.
5402 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
5404 * tests_flags.in: Fix typo in usage.
5406 * tests_flags.in: Set target specific LIBS for cygwin.