1 2001-11-27 Loren J. Rittle <ljrittle@acm.org>
2 Paolo Carlini <pcarlini@unitus.it>
4 * include/bits/basic_string.tcc (basic_string::_Rep::_S_create):
5 Enforce allocation size blocking policy to reduce
6 fragmentation and enhance performance with common malloc
9 2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
11 Numeric facets cleanup.
12 * include/bits/locale_facets.h (__num_base::_S_atoms): Add, remove
14 (__num_base::_M_zero): Add
15 (__num_base::_M_e): Add.
16 (__num_base::_M_E): Add.
17 * include/bits/locale_facets.tcc (num_get::_M_extract): Remove.
18 (num_get::_M_extract_float): New.
19 (num_get::_M_extract_int): New.
20 * src/locale.cc (num_get::_M_extract): Remove.
22 * include/bits/locale_facets.tcc (num_put::_M_insert_float):
23 Simplify, use _M_insert.
24 (num_put::do_put(bool)): Simplify, remove __pad.
26 (__pad_output): Change to __pad.
27 * include/bits/ostream.tcc: And here.
28 * src/locale-inst: Remove instantiations.
30 * include/bits/locale_facets.h: Move helper functions in to class
32 (num_put::_M_insert_float): Same, for __output_integer.
33 (num_put::_M_insert_int): Same, for __output_float.
34 (num_put::_M_insert): New.
36 (__num_base::_S_format_float): Move
37 __build_float_format into class __num_base.
38 (__num_base::_S_format_int): Move __build_int_format into class
40 * include/bits/locale_facets.tcc (__group_digits): Change to
41 (__add_grouping): This.
42 * src/locale-inst.cc: And here. Tweak instantiations.
43 * src/misc-inst.cc: Remove instantiations.
45 * include/bits/ostream.tcc (__pad_char): Rename, adjust inserters
46 for new calling conventions, move to...
47 * include/bits/locale_facets.tcc (__pad_output): Here. Adjust
48 signature to make it useful for both ostream and num_put.
49 (__pad_numeric): Remove.
50 * src/misc-inst.cc: Remove instantiations.
51 * src/locale-inst.cc: Same.
53 * include/bits/locale_facets.h (_Numeric_get): Remove.
54 (_Numeric_put): Remove.
55 (num_get::get(short)): Remove.
56 (num_get::get(int)): Remove.
57 (num_get::do_get(short)): Remove.
58 (num_get::do_get(int)): Remove.
59 * include/bits/istream.tcc (istream::operator>>(short)): Fix as
61 (istream::operator>>(int)): Same.
63 * include/bits/locale_facets.h (_Format_cache): Remove.
64 * include/bits/locale_facets.tcc: Same.
65 * src/locale.cc: Same.
66 * src/locale-inst.cc: Same.
67 * include/bits/ostream.tcc: Same.
68 * src/ios.cc (ios_base::imbue): Remove here as well.
70 * testsuite/22_locale/num_get.cc: New file.
71 * testsuite/22_locale/num_get_members_char.cc: New file.
72 * testsuite/22_locale/num_get_members_wchar_t.cc: New.
73 * testsuite/22_locale/numpunct_members_wchar_t.cc: New file.
74 * testsuite/22_locale/num_put.cc: New file.
75 * testsuite/22_locale/num_put_members_char.cc: New file.
76 * testsuite/22_locale/num_put_members_wchar_t.cc: New file.
77 * testsuite/27_io/ostream_inserter_arith.cc: Fix.
78 * testsuite/27_io/istream_extractor_arith.cc: Fix.
80 2001-11-27 Phil Edwards <pme@gcc.gnu.org>
82 * docs/html/explanations.html: New section, empty for now.
83 * docs/html/17_intro/howto.html: Cleanup. Move unrelated link...
84 * docs/html/23_containers/howto.html: ...to here. Break up and
85 rewrap threading discussion to emphasize warning. Move malloc text...
86 * docs/html/ext/howto.html: ...to here. New section. Describe
87 allocators and __USE_MALLOC effects.
88 * docs/html/ext/sgiexts.html: Mention their code.
90 2001-11-24 Joseph S. Myers <jsm28@cam.ac.uk>
92 * docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
93 docs/html/27_io/binary_iostreams_kuehl.txt: Revert previous
96 2001-11-23 Phil Edwards <pme@gcc.gnu.org>
98 * Makefile.am (doxygen-maint): The script isn't executable in CVS.
99 * Makefile.in: Regenerated.
100 * docs/doxygen/TODO: New file listing doxygen work to be done.
101 * docs/doxygen/run_doxygen: Fix up man pages.
102 * docs/doxygen/user.cfg.in: Insert maint-only toggles.
103 * docs/doxygen/maint.cfg.in: Copy from user.cfg and turn toggles on.
104 * include/bits/stl_construct.h: Use new hooks for internal functions.
106 * docs/html/17_intro/TODO: Small updates.
107 * docs/html/faq/index.html: Likewise.
108 * docs/html/faq/index.txt: Regenerated.
110 * include/bits/stl_alloc.h: Doxygenate, reindent comments, remove
111 SGI-isms and wrappers.
112 (simple_alloc, debug_alloc): Uglify class names.
113 (__default_alloc_template): Uglify "threads" template parameter and
114 update corresponding macros.
115 * include/backward/alloc.h: Bring up to date.
117 2001-11-23 Jason Merrill <jason@redhat.com>
119 * src/vterminate.cc (__verbose_terminate_handler): Add leading
122 2001-11-23 Joseph S. Myers <jsm28@cam.ac.uk>
124 * ChangeLog, docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
125 docs/doxygen/doxygroups.cc, docs/doxygen/Intro.3,
126 docs/html/17_intro/BUGS, docs/html/17_intro/C++STYLE,
127 docs/html/17_intro/CHECKLIST, docs/html/17_intro/DESIGN,
128 docs/html/17_intro/howto.html, docs/html/17_intro/porting.html,
129 docs/html/17_intro/porting.texi, docs/html/18_support/howto.html,
130 docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
131 docs/html/21_strings/howto.html,
132 docs/html/23_containers/howto.html,
133 docs/html/26_numerics/howto.html, docs/html/27_io/howto.html,
134 docs/html/27_io/binary_iostreams_kuehl.txt,
135 docs/html/ext/sgiexts.html, docs/html/faq/index.html,
136 docs/html/faq/index.txt, testsuite/24_iterators/iterator.cc,
137 include/bits/basic_file.h, include/bits/locale_facets.h,
138 include/bits/locale_facets.tcc, include/bits/std_sstream.h,
139 include/ext/ropeimpl.h, include/ext/stl_rope.h,
140 libsupc++/tinfo.cc, libsupc++/cxxabi.h, libsupc++/typeinfo,
141 libsupc++/eh_throw.cc, acinclude.m4, aclocal.m4, configure,
142 configure.target, ChangeLog-2000: Fix spelling errors.
144 * config/locale/moneypunct_members_gnu.cc,
145 include/bits/locale_facets.h: Fix spelling errors.
147 2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
149 * testsuite/23_containers/list_capacity.cc: New file.
150 * testsuite/23_containers/list_ctor.cc: New file.
151 * testsuite/23_containers/list_modifiers.cc: New file.
152 * testsuite/23_containers/list_operators.cc: New file.
154 2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
156 * include/bits/stl_list.h: Reformatted according to C++STYLE rules.
157 (size): Replaced nonstandard distance() call with the standard one.
158 (transfer): Uglified to _M_transfer.
160 2001-11-21 Paolo Carlini <pcarlini@unitus.it>
163 * include/bits/basic_string.tcc (basic_string::reserve): Never shrink
164 below the current size.
165 * testsuite/21_strings/capacity.cc (test02): Add test.
167 2001-11-19 Phil Edwards <pme@gcc.gnu.org>
169 * docs/doxygen/Intro.3: More notes.
170 * docs/doxygen/style.css: Update to default style from Doxygen 1.2.10.
171 * include/bits/stl_algobase.h: Add doxygen hooks for functions.
172 * include/ext/hash_map: Add @file hook.
173 * include/ext/hash_set: Likewise.
174 * include/ext/rope: Likewise.
175 * include/ext/ropeimpl.h: Likewise.
176 * include/ext/slist: Likewise.
177 * include/ext/stl_hash_fun.h: Likewise.
178 * include/ext/stl_hashtable.h: Likewise.
179 * include/ext/stl_rope.h: Likewise.
181 * docs/html/17_intro/license.html: Remove "experimental" sentence.
182 * docs/html/19_diagnostics/howto.html: Document new verbose
184 * testsuite/27_io/filebuf.cc: Fix comment, move tweakable parameter
185 to more visible (closer to description) position.
187 * libsupc++/eh_type.cc: Formatting tweak.
188 * libsupc++/exception: Likewise.
189 * src/vterminate.cc: Likewise.
191 * docs/html/17_intro/porting.html: Regenerate.
192 * docs/html/faq/index.txt: Regenerate.
194 2001-11-18 Jason Merrill <jason@redhat.com>
196 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Take void*.
197 * libsupc++/eh_catch.cc (__cxa_begin_catch): Likewise.
198 * libsupc++/unwind-cxx.h: Adjust.
199 * src/Makefile.am (strstream.o): Pass -Wno-deprecated.
201 * libsupc++/eh_type.cc (__cxa_current_exception_type): New file.
202 * libsupc++/cxxabi.h: Declare it.
203 * libsupc++/Makefile.am (sources): Add it.
204 * src/vterminate.cc (verbose_terminate_handler): New file.
205 * libsupc++/exception: Declare it.
206 * src/Makefile.am (sources): Add it.
208 * src/Makefile.am (VPATH): Check the src directory before the top one.
210 2001-11-16 Paolo Carlini <pcarlini@unitus.it>
212 * include/bits/stl_deque.h (deque::erase()): Fix memory leak.
214 2001-11-16 Loren J. Rittle <ljrittle@acm.org>
216 * docs/html/17_intro/howto.html (Thread-safety): Rename
217 section to ``The Standard C++ library and multithreading'' and
218 update information based on recent mailing list traffic. Move
219 all discussion of __USE_MALLOC to...
220 * docs/html/23_containers/howto.html (Containers and multithreading):
221 ...here and rework it based on recent mailing list traffic.
223 2001-11-15 Loren J. Rittle <ljrittle@acm.org>
225 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Clarify
228 2001-11-15 <bjornw@planetarion.com>
229 Loren J. Rittle <ljrittle@acm.org>
232 * include/bits/stl_alloc.h (alloc): Update to use __mem_interface.
233 (single_client_alloc): Likewise.
235 2001-11-08 Danny Smith <dannysmith@users.sourceforge.net>
237 * configure.target: Add os_include_dir for mingw32* target.
238 * docs/html/17_intro/porting.texi: Mention mingw32 as target benefiting
239 from _GLIBCPP_AVOID_FSEEK.
240 * config/os/mingw32/bits/ctype_base.h: New file.
241 * config/os/mingw32/bits/ctype_inline.h: New file.
242 * config/os/mingw32/bits/ctype_noninline.h: New file.
243 * config/os/mingw32/bits/os_defines.h: New file.
245 2001-11-07 Nathan Myers <ncm@cantrip.org>
247 * docs/html/faq/index.html (5.8): New entry on ABIs.
248 * docs/html/faq/index.txt: Regenerate.
250 2001-11-07 Phil Edwards <pme@gcc.gnu.org>
252 * docs/html/faq/index.html: Explain libsupc++, mention 'long long'
254 * docs/html/faq/index.txt: Regenerate.
256 2001-11-06 Phil Edwards <pme@gcc.gnu.org>
258 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Run the test in
260 * aclocal.m4: Regenerate.
261 * configure: Regenerate.
263 2001-11-05 Phil Edwards <pme@gcc.gnu.org>
265 * porting.texi: Move...
266 * docs/html/17_intro/porting.texi: ...to here.
267 * docs/html/Makefile: Add rule to rebuild...
268 * docs/html/17_intro/porting.html: ...this. New file.
270 2001-11-05 Felix Natter <fnatter@gmx.net>
272 * docs/html/17_intro/porting-howto.xml: check in v0.9.4
273 * docs/html/17_intro/porting-howto.html: regenerate
275 2001-11-02 Loren J. Rittle <ljrittle@acm.org>
277 * include/bits/stl_threads.h (_Atomic_swap): Only enable path
278 when platform supports __GTHREAD_MUTEX_INIT.
280 2001-11-02 Phil Edwards <pme@gcc.gnu.org>
282 * acconfig.h: Update comments.
283 * acinclude.m4 (GLIBCPP_ENABLE_C99): Move strtoll, strtoull tests...
284 (GLIBCPP_ENABLE_LONG_LONG): ...to here. Don't check enable_c99.
285 * aclocal.m4: Regenerate.
286 * config.h.in: Regenerate.
287 * configure: Regenerate.
289 * include/bits/boost_concept_check.h: Unconditionally compile uses
290 of 'long long' which require only compiler support, not C lib support.
291 * include/bits/cpp_type_traits.h: Likewise.
292 * include/bits/std_limits.h: Likewise.
293 * include/bits/type_traits.h: Likewise.
294 * src/concept-inst.cc: Likewise.
295 * src/limits.cc: Likewise.
296 * include/c_shadow/stdlib.h: Compile conditionally on _GLIBCPP_USE_C99
297 instead of _GLIBCPP_USE_LONG_LONG.
298 * include/c_shadow/bits/std_cstdlib.h: Likewise.
300 2001-11-02 Phil Edwards <pme@gcc.gnu.org>
302 * config/io/c_io_stdio.h: Correct grammar in comments.
303 * docs/doxygen/Intro.3: Expand "top-level" man page.
304 * docs/doxygen/doxygroups.cc: New module definitions (comments).
305 * docs/doxygen/mainpage.doxy: Tweaks.
306 * docs/doxygen/run_doxygen: Update Doxygen version, massage man pages.
308 Add @file hooks so that headers are considered to be documented.
309 * include/bits/basic_ios.h, include/bits/basic_file.h,
310 include/bits/basic_string.h, include/bits/boost_concept_check.h,
311 include/bits/char_traits.h, include/bits/codecvt.h,
312 include/bits/concept_check.h, include/bits/cpp_type_traits.h,
313 include/bits/fpos.h, include/bits/gslice.h, include/bits/gslice_array.h,
314 include/bits/indirect_array.h, include/bits/ios_base.h,
315 include/bits/locale_facets.h, include/bits/localefwd.h,
316 include/bits/mask_array.h, include/bits/pthread_allocimpl.h,
317 include/bits/slice.h, include/bits/slice_array.h,
318 include/bits/std_algorithm.h, include/bits/std_bitset.h,
319 include/bits/std_complex.h, include/bits/std_deque.h,
320 include/bits/std_fstream.h, include/bits/std_functional.h,
321 include/bits/std_iomanip.h, include/bits/std_ios.h,
322 include/bits/std_iosfwd.h, include/bits/std_iostream.h,
323 include/bits/std_istream.h, include/bits/std_iterator.h,
324 include/bits/std_limits.h, include/bits/std_list.h,
325 include/bits/std_locale.h, include/bits/std_map.h,
326 include/bits/std_memory.h, include/bits/std_numeric.h,
327 include/bits/std_ostream.h, include/bits/std_queue.h,
328 include/bits/std_set.h, include/bits/std_sstream.h,
329 include/bits/std_stack.h, include/bits/std_streambuf.h,
330 include/bits/std_string.h, include/bits/std_utility.h,
331 include/bits/std_valarray.h, include/bits/std_vector.h,
332 include/bits/stl_algo.h, include/bits/stl_alloc.h,
333 include/bits/stl_bvector.h, include/bits/stl_construct.h,
334 include/bits/stl_deque.h, include/bits/stl_heap.h,
335 include/bits/stl_iterator.h, include/bits/stl_iterator_base_funcs.h,
336 include/bits/stl_iterator_base_types.h, include/bits/stl_list.h,
337 include/bits/stl_map.h, include/bits/stl_multimap.h,
338 include/bits/stl_multiset.h, include/bits/stl_numeric.h,
339 include/bits/stl_pair.h, include/bits/stl_pthread_alloc.h,
340 include/bits/stl_queue.h, include/bits/stl_raw_storage_iter.h,
341 include/bits/stl_relops.h, include/bits/stl_set.h,
342 include/bits/stl_stack.h, include/bits/stl_tempbuf.h,
343 include/bits/stl_threads.h, include/bits/stl_tree.h,
344 include/bits/stl_uninitialized.h, include/bits/stl_vector.h,
345 include/bits/stream_iterator.h, include/bits/streambuf_iterator.h,
346 include/bits/stringfwd.h, include/bits/type_traits.h,
347 include/bits/valarray_array.h, include/bits/valarray_meta.h:
348 Add hooks, tweak comments only.
350 * include/bits/stl_algobase.h (swap, min, iter_swap): Also
351 document these functions.
352 * include/bits/stl_function.h: Tweak link comments.
354 2001-11-01 Paolo Carlini <pcarlini@unitus.it>
355 Benjamin Kosnik <bkoz@redhat.com>
357 * testsuite/27_io/ios_manip_fmtflags.cc: Fix for non-interactive
359 * include/bits/locale_facets.tcc (num_put::do_put(bool)): Fix.
361 2001-11-01 Egor Duda <deo@logos-m.ru>
363 * config/os/newlib/bits/ctype_noninline.h
364 (ctype<char>::do_toupper(char __c)): Check for proper character class.
365 (ctype<char>::do_tolower(char __c)): Ditto.
367 2001-11-01 Phil Edwards <pme@gcc.gnu.org>
369 * acinclude.m4: Fix spacing.
370 (GLIBCPP_ENABLE_CONCEPT_CHECKS): New macro.
371 * configure.in: Call here.
372 * acconfig.h: Add _GLIBCPP_CONCEPT_CHECKS.
373 * include/bits/boost_concept_check.h: Fix headers.
374 (__function_requires): Make inline.
375 * include/bits/c++config (_GLIBCPP_CONCEPT_CHECKS): Remove.
376 * aclocal.m4: Regenerate.
377 * config.h.in: Regenerate.
378 * configure: Regenerate.
380 Move trailing ';' inside macro, PR libstdc++/3666.
381 * include/bits/concept_check.h: Add semicolon.
382 * include/bits/stl_algo.h: Remove semicolon.
383 * include/bits/stl_algobase.h: Likewise.
384 * include/bits/stl_deque.h: Likewise.
385 * include/bits/stl_heap.h: Likewise.
386 * include/bits/stl_iterator_base_funcs.h: Likewise.
387 * include/bits/stl_list.h: Likewise.
388 * include/bits/stl_map.h: Likewise.
389 * include/bits/stl_multimap.h: Likewise.
390 * include/bits/stl_multiset.h: Likewise.
391 * include/bits/stl_numeric.h: Likewise.
392 * include/bits/stl_queue.h: Likewise.
393 * include/bits/stl_set.h: Likewise.
394 * include/bits/stl_stack.h: Likewise.
395 * include/bits/stl_vector.h: Likewise.
396 * include/ext/hash_map: Likewise.
397 * include/ext/hash_set: Likewise.
398 * include/ext/slist: Likewise.
400 * src/concept-inst.cc: New file with explicit instantiations.
401 * src/Makefile.am (sources): Add here, with special build rules.
402 * src/Makefile.in: Regenerate.
404 2001-11-01 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
406 * include/bits/std_complex.h (_Norm_helper): New class template.
408 (abs): Tweak. Fix Thinko.
410 2001-10-31 Benjamin Kosnik <bkoz@redhat.com>
413 * include/bits/codecvt.h: Add virtual member function declarations.
414 * src/codecvt.cc: Tweaks.
415 * testsuite/22_locale/codecvt.cc: Test compilation only,
416 non-required facets not required to have linkage.
418 2001-10-31 Edward E. Meyer <edward.e.meyer@boeing.com>
421 * include/bits/std_complex.h (complex::operator/=): Correct sign.
423 2001-10-30 Paolo Carlini <pcarlini@unitus.it>
424 Benjamin Kosnik <bkoz@redhat.com>
427 * include/bits/basic_string.h: Tweaks.
428 * include/bits/basic_string.tcc (string::_M_replace(iterator,
429 iterator, _ForwardIter, _ForwardIter, forward_iterator_tag): Fix.
430 * src/string-inst.cc: Tweaks, add instantiation.
431 * testsuite/21_strings/replace.cc (test02): Add test.
432 * testsuite/21_strings/assign.cc (test01): New file.
434 001-10-30 Jakub Jelinek <jakub@redhat.com>
436 * include/bits/stl_deque.h (_M_new_elements_at_front): Use
437 __throw_exception_again.
438 (_M_new_elements_at_back): Likewise.
440 2001-10-29 Benjamin Kosnik <bkoz@redhat.com>
443 * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
444 * testsuite/27_io/filebuf.cc (test07): New test.
445 (test03): Modify showmanyc test.
447 2001-10-26 Benjamin Kosnik <bkoz@redhat.com>
450 * config/locale/codecvt_specializations_ieee_1003.1-200x.h
451 (__enc_traits::~__enc_traits): Fix.
452 (__enc_traits::_M_init): Add error checking.
454 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
457 * include/bits/locale_facets.tcc (time_get::_M_extract_name): Fix.
459 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
462 * include/bits/ostream.tcc (ostream::operator<<(streambuf*)): Fix
464 * include/bits/istream.tcc (istream::operator>>(streambuf*): Make
465 consistent, where possible.
466 * include/bits/streambuf.tcc: Tweak.
468 2001-10-25 Brendan Kehoe <brendan@zen.org>
471 * bits/ostream.tcc (seekp): Scope use as ios_base::failbit.
472 * bits/istream.tcc (seekg): Likewise.
474 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
475 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
476 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
478 * config/os/gnu-linux/bits/os_defines.h: Set to 64 bit longs with
480 * include/bits/std_limits.h: Fix wchar_t issues.
481 * config/os/aix/bits/os_defines.h: Fix.
483 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
485 * include/bits/locale_facets.tcc (collate::do_transform): Fix.
487 2001-10-25 Phil Edwards <pme@gcc.gnu.org>
489 * docs/html/documentation.html: Fix typo.
491 2001-10-23 Benjamin Kosnik <bkoz@redhat.com>
493 Make -fno-exceptions work.
494 * config/locale/c_locale_gnu.cc: Use functexcept.
495 * include/bits/c++config (__stl_assert): Remove.
496 (__STL_USE_EXCEPTIONS): Same.
498 (__STL_CATCH_ALL): Same.
500 (__STL_RETHROW): Same.
501 (__STL_NOTHROW): Same.
502 (__STL_UNWIND): Same.
503 * include/bits/pthread_allocimpl.h: Fix.
504 * include/bits/std_bitset.h: Same.
505 * include/bits/std_list.h: Same.
506 * include/bits/std_memory.h: Same.
507 * include/bits/std_queue.h: Same.
508 * include/bits/stl_alloc.h: Same.
509 * include/bits/stl_deque.h: Same.
510 * include/bits/stl_list.h: Same.
511 * include/bits/stl_queue.h: Same.
512 * include/bits/stl_tempbuf.h: Same.
513 * include/bits/stl_tree.h: Same.
514 * include/bits/stl_uninitialized.h: Same.
515 * include/bits/stl_vector.h: Same.
516 * include/ext/ropeimpl.h: Same.
517 * include/ext/slist: Same.
518 * include/ext/stl_hashtable.h: Same.
519 * include/ext/stl_rope.h: Same.
520 * libsupc++/new_op.cc: Include cstdlib.
521 * libsupc++/eh_personality.cc: Add exception_defines include. Use
522 __throw_exception_again, tweak.
523 * libsupc++/eh_aux_runtime.cc: Include stdlib for abort.
524 * libsupc++/vec.cc: Tweak.
525 * src/functexcept.cc: Remove unused arguments.
526 * testsuite/23_containers/bitset_members.cc: Tweak.
528 2001-10-22 Benjamin Kosnik <bkoz@redhat.com>
530 * config/cpu/i386/bits/limits.h: Move to...
531 * config/cpu/i386/bits/cpu_limits.h: ...here.
532 * config/cpu/cris/bits/cpu_limits.h: Same.
533 * config/cpu/powerpc/bits/cpu_limits.h: Same.
534 * config/cpu/x86-64/bits/cpu_limits.h: Same.
535 * config/cpu/alpha/bits/cpu_limits.h: New.
536 * config/cpu/m68k/bits/cpu_limits.h: New.
537 * config/cpu/s390/bits/cpu_limits.h: New.
538 * config/os/aix/bits/os_defines.h: Tweaks.
539 * config/os/bsd/freebsd/bits/os_defines.h: Same.
540 * config/os/bsd/netbsd/bits/os_defines.h: Same.
541 * config/os/djgpp/bits/os_defines.h: Same.
542 * config/os/generic/bits/os_defines.h: Same.
543 * config/os/gnu-linux/bits/os_defines.h: Same.
544 * config/os/hpux/bits/os_defines.h: Same.
545 * config/os/irix/irix5.2/bits/os_defines.h: Same.
546 * config/os/irix/irix6.5/bits/os_defines.h: Same.
547 * config/os/newlib/bits/os_defines.h: Same.
548 * config/os/solaris/solaris2.5/bits/os_defines.h: Same.
549 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
550 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
552 * include/bits/c++config: Remove include.
553 * include/bits/limits_generic.h: Remove.
554 * include/bits/std_limits.h: Include cpu_limits.h.
555 * include/Makefile.am: Fixup.
556 * src/limits.cc: Tweak.
557 * src/limits_generic.cc: Remove.
558 * src/gen-num-limits.cc: Remove.
559 * mknumeric_limits: Remove.
561 2001-10-20 Brendan Kehoe <brendan@zen.org>
563 * bits/type_traits.h (_Bool): Removed this type.
564 (__true_type, __false_type): Change to be plain structs.
565 * src/string-inst.cc (__destroy_aux): Change third parm to be
566 __false_type instead of _Bool<false>.
567 * src/misc-inst.cc (__uninitialized_fill_n_aux,
568 __uninitialized_copy_aux): Likewise.
570 2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
572 * mkcheck.in (static_fail): Remove older memory limit functionality.
573 Disable E_TIME due to formatting issues.
577 2001-10-19 Brendan Kehoe <brendan@zen.org>
579 * include/bits/std_complex.h: Default initialize second argument
580 of polar to 0, as specified in Library DR #79
582 2001-10-19 Brendan Kehoe <brendan@zen.org>
584 * include/bits/stl_raw_storage_iter.h (operator=): Fix to call
585 _Construct instead of construct.
587 2001-10-19 Brendan Kehoe <brendan@zen.org>
589 * include/bits/basic_string.tcc (find_first_not_of): Take out check for
590 __n being non-zero, since the standard does not mandate that.
591 e.g., a search for "" in "" should yield position 0, not npos.
592 (find_last_not_of): Likewise.
594 2001-10-19 Brendan Kehoe <brendan@zen.org>
596 * include/bits/stl_bvector.h (vector<bool>::_M_range_check): Fix
597 to throw out_of_range, not range_error, thus sayeth $23.1.1.13.
599 2001-10-19 Brendan Kehoe <brendan@zen.org>
601 * include/bits/stl_iterator.h (reverse_iterator::current): Rename
602 member from _M_current, and change all uses; thus sayeth $24.4.1.1.
604 2001-10-19 Brendan Kehoe <brendan@zen.org>
606 * include/bits/stl_algo.h (partial_sort): Add missing `>' on the
607 template parameter _ValueType.
609 2001-10-19 Brendan Kehoe <brendan@zen.org>
611 * include/bits/std_limits.h: Clean up extra semicolons.
612 * include/bits/locale_facets.h: Likewise.
613 * include/bits/type_traits.h: Likewise.
615 2001-10-19 Brendan Kehoe <brendan@zen.org>
617 * include/bits/localefwd.h (locale::combine): Add const for lib DR 14.
618 * include/bits/locale_facets.tcc (locale::combine): Likewise.
620 2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
622 * include/bits/locale_facets.h (__timepunct::_M_put_helper):
623 Declare specializations for char, wchar_t.
625 2001-10-19 Andreas Jaeger <aj@suse.de>
627 * config/cpu/x86-64/bits/limits.h: New file.
628 * config/cpu/x86-64/bits/atomicity.h: New file.
629 * configure.target: Add x86-64.
631 2001-10-17 Phil Edwards <pme@gcc.gnu.org>
633 * docs/html/17_intro/howto.html: Remove 1999 links (and explain
634 why). Add link to recent message.
635 * docs/html/faq/index.html (5.6): Reformat text only; fixup <pre>
637 * docs/html/faq/index.txt: Regenerate.
639 2001-10-12 Loren J. Rittle <ljrittle@acm.org>
641 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Update
642 based on Nathan's review. Use Nathan's words.
644 2001-10-11 Matt Kraai <kraai@alumni.carnegiemellon.edu>
646 * docs/html/configopts.html: Quote StyleSheet attribute values.
647 * docs/html/documentation.html: Likewise.
648 * docs/html/explanations.html: Likewise.
649 * docs/html/install.html: Likewise.
650 * docs/html/17_intro/howto.html: Likewise.
651 * docs/html/17_intro/license.html: Likewise.
652 * docs/html/18_support/howto.html: Likewise.
653 * docs/html/19_diagnostics/howto.html: Likewise.
654 * docs/html/20_util/howto.html: Likewise.
655 * docs/html/21_strings/howto.html: Likewise.
656 * docs/html/22_locale/howto.html: Likewise.
657 * docs/html/23_containers/howto.html: Likewise.
658 * docs/html/24_iterators/howto.html: Likewise.
659 * docs/html/25_algorithms/howto.html: Likewise.
660 * docs/html/26_numerics/howto.html: Likewise.
661 * docs/html/27_io/howto.html: Likewise.
662 * docs/html/ext/howto.html: Likewise.
663 * docs/html/ext/sgiexts.html: Likewise.
664 * docs/html/faq/index.html: Likewise.
666 2001-10-11 Loren J. Rittle <ljrittle@acm.org>
668 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Rewrite.
669 * docs/html/23_containers/howto.html (Containers and multithreading):
672 2001-10-09 Phil Edwards <pme@gcc.gnu.org>
674 * docs/html/17_intro/howto.html: Tweak markup and value type.
675 * docs/html/27_io/howto.html: Tweak markup, describe setbuf() for
676 nonzero arguments, add new note on threading.
677 * docs/html/faq/index.html: Update.
678 * docs/html/faq/index.txt: Regenerate.
680 2001-10-09 Phil Edwards <pme@gcc.gnu.org>
682 * docs/html/configopts.html: More HTML->XHTML and lowercasing of tags.
683 * docs/html/documentation.html: Likewise.
684 * docs/html/explanations.html: Likewise.
685 * docs/html/install.html: Likewise.
686 * docs/html/17_intro/howto.html: Likewise.
687 * docs/html/17_intro/license.html: Likewise. Tighten up language.
688 * docs/html/18_support/howto.html: Likewise.
689 * docs/html/19_diagnostics/howto.html: Likewise.
690 * docs/html/20_util/howto.html: Likewise.
691 * docs/html/21_strings/howto.html: Likewise.
692 * docs/html/22_locale/howto.html: Likewise.
693 * docs/html/23_containers/howto.html: Likewise.
694 * docs/html/24_iterators/howto.html: Likewise.
695 * docs/html/25_algorithms/howto.html: Likewise.
696 * docs/html/26_numerics/howto.html: Likewise.
697 * docs/html/27_io/howto.html: Likewise.
698 * docs/html/ext/howto.html: Likewise.
699 * docs/html/ext/sgiexts.html: Likewise.
700 * docs/html/faq/index.html: Likewise. Not so many absolute links.
701 * docs/html/faq/index.txt: Regenerate.
703 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
705 * docs/html/22_locale/locale.html, docs/html/faq/index.html: Fix
706 spelling errors of "separate" as "seperate", and corresponding
707 spelling errors of related words.
708 * docs/html/faq/index.txt: Regenerate.
710 2001-10-05 Phil Edwards <pme@gcc.gnu.org>
712 * config/cpu/alpha/bits/atomicity.h (__compare_and_swap): Remove
714 * config/cpu/arm/bits/atomicity.h: Likewise.
715 * config/cpu/generic/bits/atomicity.h: Likewise.
716 * config/cpu/i486/bits/atomicity.h: Likewise.
717 * config/cpu/ia64/bits/atomicity.h: Likewise.
718 * config/cpu/mips/bits/atomicity.h: Likewise.
719 * config/cpu/powerpc/bits/atomicity.h: Likewise.
720 * config/cpu/sparc/sparc32/bits/atomicity.h: Likewise.
721 * config/cpu/sparc/sparc64/bits/atomicity.h: Likewise.
723 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
725 * docs/html/faq/index.html: Describe DR #22, and a workaround.
726 * docs/html/faq/index.txt: Regenerate.
728 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
730 * docs/html/17_intro/COPYING.DOC: New file, GFDL v1.1 from the FSF.
731 * docs/html/17_intro/license.html: New file. Explain the licenses
734 * docs/html/configopts.html: Link to license.html.
735 * docs/html/documentation.html: Likewise.
736 * docs/html/explanations.html: Likewise.
737 * docs/html/install.html: Likewise.
738 * docs/html/17_intro/howto.html: Likewise.
739 * docs/html/18_support/howto.html: Likewise.
740 * docs/html/19_diagnostics/howto.html: Likewise.
741 * docs/html/20_util/howto.html: Likewise.
742 * docs/html/21_strings/howto.html: Likewise.
743 * docs/html/22_locale/howto.html: Likewise.
744 * docs/html/23_containers/howto.html: Likewise.
745 * docs/html/24_iterators/howto.html: Likewise.
746 * docs/html/25_algorithms/howto.html: Likewise.
747 * docs/html/26_numerics/howto.html: Likewise.
748 * docs/html/27_io/howto.html: Likewise.
749 * docs/html/ext/howto.html: Likewise.
750 * docs/html/ext/sgiexts.html: Likewise.
751 * docs/html/faq/index.html: Likewise. New question, linking to
752 the new license.html.
754 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
756 * docs/html/17_intro/howto.html: Fix mis-sed in header from 20010917.
757 * docs/html/18_support/howto.html: Likewise.
758 * docs/html/19_diagnostics/howto.html: Likewise.
759 * docs/html/20_util/howto.html: Likewise.
760 * docs/html/21_strings/howto.html: Likewise.
761 * docs/html/22_locale/howto.html: Likewise.
762 * docs/html/23_containers/howto.html: Likewise.
763 * docs/html/24_iterators/howto.html: Likewise.
764 * docs/html/25_algorithms/howto.html: Likewise.
765 * docs/html/26_numerics/howto.html: Likewise.
766 * docs/html/27_io/howto.html: Likewise.
767 * docs/html/ext/howto.html: Likewise.
768 * docs/html/faq/index.html: Likewise. Spacing fix.
770 2001-10-03 Dimitris Vyzovitis <vyzo@media.mit.edu>
772 * include/bits/stl_threads.h (_Atomic_swap): New function.
773 (_Swap_lock_struct<__dummy>::_S_swap_lock): New data.
774 * testsuite/ext/rope.cc: New file.
776 2001-10-02 Benjamin Kosnik <bkoz@redhat.com>
778 * config/locale/time_members_gnu.h: Remove.
779 * config/locale/time_members_generic.h: Remove.
780 * config/locale/time_members_gnu.cc (__timepunct::_M_put_helper): Add.
781 * config/locale/time_members_generic.cc: Same.
782 * include/bits/locale_facets.h: Add data members.
783 (__timepunct::_M_put_helper): Change signature.
784 (__timepunct::_M_date_formats): Same.
785 (__timepunct::_M_time_formats): Same.
786 (__timepunct::_M_ampm): Add.
787 (__timepunct::_M_date_time_formats): Add.
788 (time_get::_M_extract_via_format): Add.
789 (time_get::_M_extract_time): Change to...
790 (time_get::_M_extract_num): ... this, modify signature.
791 * include/bits/locale_facets.tcc (time_get::do_get_year): Fix.
792 (time_get::do_get_time): Fix.
793 (time_get::do_get_date): Fix.
795 * acinclude.m4: Remove CTIME_H.
796 * aclocal.m4: Regenerate.
797 * include/Makefile.am: Same.
798 * include/Makefile.in: Regenerate.
799 * configure: Regenerate.
801 * testsuite/22_locale/time_get_members_char.cc: Fix.
802 * testsuite/22_locale/time_get_members_wchar_t.cc: Add.
803 * testsuite/22_locale/time_put_members_wchar_t.cc: Add.
805 2001-10-01 Hans-Peter Nilsson <hp@axis.com>
807 * config/cpu/cris/bits/atomicity.h: Correct file header.
809 2001-09-29 Hans-Peter Nilsson <hp@axis.com>
811 * configure.target (LIMITSH): Set for cris.
812 (cpu_include_dir): Set for cris-*-*.
813 * config/cpu/cris/bits/atomicity.h: New file.
814 * config/cpu/cris/bits/limits.h: New file.
816 2001-09-28 Benjamin Kosnik <bkoz@redhat.com>
818 * config/locale/time_members_gnu.h (__timepunct::_M_get_helper): Add.
819 (__timepunct::_M_put_helper): Add.
820 * config/locale/time_members_generic.h: Same.
821 * include/bits/locale_facets.h (__match_parallel): Remove. Format.
822 (__timepunct): Add data members.
823 (__timepunct::_M_days): Add.
824 (__timepunct::_M_days_abbreviated): Add.
825 (__timepunct::_M_months): Add.
826 (__timepunct::_M_months_abbreviated): Add.
827 (__timepunct::_M_initialize_timepunct): Add.
828 * include/bits/locale_facets.tcc: Same.
829 * src/locale-inst.cc: Remove instantiations for __match_parallel.
830 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_CC.
831 * aclocal.m4: Regenerate.
832 * configure: Regenerate.
833 * testsuite/22_locale/time_put_members_char.cc: Mark XFAIL.
834 * testsuite/22_locale/time_put_members_char.cc (test01): New file.
835 * testsuite/22_locale/time_get.cc: New file.
837 2001-09-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
839 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
840 correct multilib builddir.
841 Properly locate libgcc_s.
843 2001-09-27 Phil Edwards <pme@gcc.gnu.org>
845 * include/std/*: Add Doxygen hooks.
846 * docs/doxygen/Intro.3: New file, general intro to the man pages.
847 * docs/doxygen/mainpage.doxy: Formatting tweaks. List our own links
848 rather than using a generated index.
849 * docs/doxygen/user.cfg.in: Disable the index, enable man pages.
850 * docs/doxygen/run_doxygen: Massage the generated man pages, using...
851 * docs/doxygen/stdheader.cc: ...this new file.
853 2001-09-26 Stan Shebs <shebs@apple.com>
855 * include/Makefile.am: Remove RCS Id strings.
856 * src/Makefile.am: Ditto.
857 * docs/doxygen/run_doxygen: Ditto.
858 * docs/html/configopts.html: Ditto.
859 * docs/html/documentation.html: Ditto.
860 * docs/html/explanations.html: Ditto.
861 * docs/html/install.html: Ditto.
862 * docs/html/17_intro/howto.html: Ditto.
863 * docs/html/18_support/howto.html: Ditto.
864 * docs/html/19_diagnostics/howto.html: Ditto.
865 * docs/html/20_util/howto.html: Ditto.
866 * docs/html/21_strings/howto.html: Ditto.
867 * docs/html/22_locale/howto.html: Ditto.
868 * docs/html/23_containers/howto.html: Ditto.
869 * docs/html/24_iterators/howto.html: Ditto.
870 * docs/html/25_algorithms/howto.html: Ditto.
871 * docs/html/26_numerics/howto.html: Ditto.
872 * docs/html/27_io/howto.html: Ditto.
873 * docs/html/ext/howto.html: Ditto.
874 * docs/html/ext/sgiexts.html: Ditto.
875 * docs/html/faq/index.html: Ditto.
876 * docs/html/faq/index.txt: Ditto.
878 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
880 * testsuite/21_strings/c_strings.cc (test01, test02): Increase
883 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
885 * docs/html/20_util/howto.html: Add anchor name.
886 * docs/html/23_containers/howto.html: Line wrapping, another link.
887 * docs/html/25_algorithms/howto.html: Another note.
889 * docs/html/ext/howto.html: Link to SGI extensions. List DRs and
891 * docs/html/ext/lwg-active.html: ...in this new file (from R19),
892 * docs/html/ext/lwg-defects.html: and this new file (from R19).
893 * docs/html/ext/sgiexts.html: New file. Mention SGI extensions
894 carried over to libstdc++-v3.
895 * docs/html/faq/index.html: Link to SGI extensions. Mention the
896 "missing .." pseudobug.
897 * docs/html/faq/index.txt: Regenerate.
899 * include/bits/ios_base.h: DR-related comment cleanup.
900 * include/bits/istream.tcc: Likewise.
901 * include/bits/locale_facets.h: Likewise.
902 * include/bits/locale_facets.tcc: Likewise.
903 * include/bits/ostream.tcc: Likewise.
904 * include/bits/std_bitset.h: Likewise.
905 * include/bits/std_iosfwd.h: Likewise.
906 * include/bits/std_istream.h: Likewise.
907 * include/bits/std_ostream.h: Likewise.
908 * include/bits/std_streambuf.h: Likewise.
909 * include/bits/stl_pair.h: Likewise.
910 * include/bits/streambuf_iterator.h: Likewise.
912 * include/bits/std_map.h: Remove unused header inclusion guard
913 _CPP_BITS_STL_TREE_H from around bits/stl_tree.h.
914 * include/bits/std_set.h: Likewise.
916 * include/bits/stl_function.h: Doxygen markup.
917 * docs/doxygen/doxygroups.cc: New file, specifying module grouping.
918 * libsupc++/typeinfo: Doxygen markup tweak.
920 2001-09-20 Scott Johnston <scott@accom.com>
921 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
923 * include/backward/alloc.h: Conditionally define malloc_alloc
924 * testsuite/backward/header_deque_h.cc: New file.
926 2001-09-20 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
928 * libstdc++-v3/include/bits/locale_facets.tcc (money_put::do_put):
929 change variable name so that it works with -fno-for-scope.
931 2001-09-20 Benjamin Kosnik <bkoz@redhat.com>
933 * testsuite/22_locale/numpunct_members_char.cc (test01): Remove
934 redundant sanity checks.
935 * testsuite/22_locale/money_put_members_wchar_t.cc (test01): Same.
937 * testsuite/22_locale/money_put_members_char.cc (test01): Same.
939 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test01): Same.
940 * testsuite/22_locale/moneypunct_members_char.cc (test01): Same.
941 * testsuite/22_locale/money_get_members_wchar_t.cc (test01): Same.
943 * testsuite/22_locale/money_get_members_char.cc (test01): Same.
946 2001-09-19 Benjamin Kosnik <bkoz@redhat.com>
948 Implement std::time_put.
949 * include/bits/locale_facets.h: Include time_members.h.
951 (time_put): Implement.
952 * include/bits/locale_facets.tcc (do_put): Put generic versions here.
953 * include/bits/localefwd.h: Bump number of facets.
954 * config/locale/time_members_generic.h: New file.
955 * config/locale/time_members_gnu.h: New file.
956 * config/locale/c_locale_generic.h: Include clocale.
957 * src/locale-inst.cc: Add use_facet instantiations for __timepunct.
958 * src/locale.cc: Add __timepunct initializations.
959 * src/localename.cc (locale::_Impl::_Impl(string, size_t)): Same.
960 * include/Makefile.am (stamp-target): Add time_members.h.
961 * include/Makefile.in: Regenerate.
962 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_H.
963 * aclocal.m4: Regenerate.
964 * configure: Regenerate.
965 * testsuite/22_locale/time_put.cc: New file.
966 * testsuite/22_locale/time_put_members_char.cc: New file.
968 * docs/html/22_locale/locale.html: Add note.
970 2001-09-17 Phil Edwards <pme@gcc.gnu.org>
972 * docs/html/configopts.html: HTML to XHTML change. Lowercase tags.
973 * docs/html/documentation.html: Likewise.
974 * docs/html/explanations.html: Likewise.
975 * docs/html/install.html: Likewise.
976 * docs/html/17_intro/howto.html: Likewise.
977 * docs/html/18_support/howto.html: Likewise.
978 * docs/html/19_diagnostics/howto.html: Likewise.
979 * docs/html/20_util/howto.html: Likewise.
980 * docs/html/21_strings/howto.html: Likewise.
981 * docs/html/22_locale/codecvt.html: Likewise.
982 * docs/html/22_locale/ctype.html: Likewise.
983 * docs/html/22_locale/howto.html: Likewise.
984 * docs/html/22_locale/locale.html: Likewise.
985 * docs/html/22_locale/messages.html: Likewise.
986 * docs/html/23_containers/howto.html: Likewise.
987 * docs/html/24_iterators/howto.html: Likewise.
988 * docs/html/25_algorithms/howto.html: Likewise.
989 * docs/html/26_numerics/howto.html: Likewise.
990 * docs/html/27_io/howto.html: Likewise.
991 * docs/html/ext/howto.html: Likewise.
992 * docs/html/faq/index.html: Likewise.
993 * docs/html/faq/index.txt: Regenerated.
995 2001-09-14 Phil Edwards <pme@sources.redhat.com>
997 * docs/html/17_intro/headers_cc.txt: "Sync"/copy real file over.
998 * docs/html/17_intro/howto.html: Spacing and HTML markup fixes.
999 * docs/html/18_support/howto.html: It won't compile; it's not code.
1000 * docs/html/19_diagnostics/howto.html: Point diagram seekers to
1002 * docs/html/22_locale/howto.html: Comment for future work.
1003 * docs/html/23_containers/howto.html: More comments.
1004 * docs/html/25_algorithms/howto.html: It's a comment, not a
1005 blunt command to the reader. (English grammar.)
1007 2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
1009 * config/locale/moneypunct_members_gnu.cc: Fix initialization of
1011 * testsuite/22_locale/money_get_members_wchar_t.cc (test02): New file.
1012 * testsuite/22_locale/money_put_members_wchar_t.cc (test02): Fix.
1014 2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
1016 * include/bits/locale_facets.tcc: Conditionalize use of strtold.
1018 2001-09-13 Alexandre Petit-Bianco <apbianco@redhat.com>
1020 * testsuite/22_locale/money_get_members_char.cc: Fixed typo in comment.
1021 * testsuite/22_locale/money_put_members_char.cc: Likewise.
1022 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
1024 2001-09-13 Benjamin Kosnik <bkoz@redhat.com>
1026 Implement std::money_get.
1027 * include/bits/locale_facets.tcc (money_get::do_get): Implement.
1028 * include/bits/locale_facets.h (money_get): Correct signatures.
1029 * testsuite/22_locale/money_get.cc: New file.
1030 * testsuite/22_locale/money_get_members_char.cc: New file.
1032 * include/bits/locale_facets.tcc (__verify_grouping): New
1033 function. Consolidate num_get and money_get group checking into
1035 (money_get): Use it.
1036 * src/locale.cc (num_get::_M_extract): Use it.
1037 * src/locale-inst.cc: Add instantiation.
1039 2001-09-12 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1041 * include/bits/std_limits.h (numeric_limits<float>::radix,
1042 numeric_limits<float>::epsilon: Fix thinko.
1044 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
1046 * configure.in: Fix cross compiling math routines. Correct
1047 comments for cross compiling and limits. Add floating point math
1048 routines found in newlib.
1049 * configure: Regenerate.
1050 * acconfig.h: Add macros.
1051 * config.h.in: Regenerate.
1053 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
1055 * config/locale/moneypunct_members_generic.cc
1056 (money_base::_S_construct_pattern): Remove unused parameters.
1058 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
1060 * include/Makefile.am (stamp-target): Remove link to self.
1061 * inclulde/Makefile.in: Regenerate.
1063 2001-09-09 Benjamin Kosnik <bkoz@redhat.com>
1065 Implement std::money_put.
1066 * include/bits/locale_facets.h
1067 (moneypunct::_M_initialize_moneypunct): Split up specializations
1068 to account for _Intl. More grody hacking to get around the
1069 ill-considered use of const bool as a template parameter.
1070 * config/locale/moneypunct_members_gnu.cc: And here.
1071 * config/locale/moneypunct_members_generic.cc: And here.
1072 * testsuite/22_locale/moneypunct_members_char.cc: Add tests.
1073 * testsuite/22_locale/moneypunct.cc: Add tests.
1074 * testsuite/22_locale/money_put_members_wchar_t.cc: New file.
1075 * testsuite/22_locale/moneypunct_members_wchar_t.cc: New file.
1077 * src/locale.cc (money_base::_S_construct_pattern): Move into
1079 * config/locale/moneypunct_members_gnu.cc: Add here.
1080 * config/locale/moneypunct_members_generic.cc: Add generic version
1083 * include/bits/locale_facets.tcc (money_put::do_put): Move member
1084 function definitions here.
1085 * include/bits/locale_facets.h (money_put): Implement.
1086 * src/locale-inst.cc: Add use_facet instantiations for moneypunct.
1087 Correct money_get, money_put instantiations.
1088 * src/locale.cc (money_base::_S_construct_pattern): Handle case
1090 * testsuite/22_locale/money_put_members_char.cc: Add tests.
1092 2001-09-05 Phil Edwards <pme@sources.redhat.com>
1094 * testsuite_flags.in: No longer need to search testsuite builddir.
1095 * src/stl-inst.cc (__sink_unused_warning): Unused, remove.
1096 * Makefile.am: The testsuite directory never needs to be made here.
1097 * Makefile.in: Regenerate.
1098 * include/Makefile.in: Regenerate.
1099 * libio/Makefile.in: Regenerate.
1100 * libmath/Makefile.in: Regenerate.
1101 * libsupc++/Makefile.in: Regenerate.
1102 * po/Makefile.in: Regenerate.
1103 * src/Makefile.in: Regenerate.
1104 * testsuite/Makefile.in: Regenerate.
1106 2001-09-04 Scott Johnston <scott@accom.com>
1107 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1109 * include/backward/iterator.h: Include <bits/std_iterator.h>,
1110 remove reverse_bidirectional_iterator.
1111 * testsuite/backward: New directory.
1112 * testsuite/backward/header_iterator_h.cc: New file.
1114 2001-09-04 Benjamin Kosnik <bkoz@redhat.com>
1116 * include/c_std/bits/std_c*.h: Don't use include_next.
1118 2001-09-03 Richard Sandiford <rsandifo@redhat.com>
1120 * libsupc++/eh_personality.cc (parse_lsda_header): Change type of
1121 tmp from _Unwind_Ptr to _Unwind_Word.
1123 2001-08-31 Jason Merrill <jason_merrill@redhat.com>
1125 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Simplify
1128 2001-08-28 Loren J. Rittle <ljrittle@acm.org>
1130 * include/Makefile.am: Use toplevel_srcdir to refer to src files
1131 outside this component.
1132 * include/Makefile.in: Regenerate.
1134 2001-08-27 Benjamin Kosnik <bkoz@redhat.com>
1136 * config/locale/c_locale_gnu.cc: Move facet info to separate files...
1137 * config/locale/c_locale_generic.cc: Same.
1138 * config/locale/moneypunct_members_gnu.cc: New file.
1139 * config/locale/moneypunct_members_generic.cc: New file.
1140 * config/locale/numpunct_members_gnu.cc: New file.
1141 * config/locale/numpunct_members_generic.cc: New file.
1142 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add moneypunct, numpunct
1144 * aclocal.m4: Regenerate.
1145 * configure: Regenerate.
1146 * src/Makefile.am (sources): And here.
1147 * src/Makefile.in: Regenerate.
1149 Rename for consistency with rest of testsuite.
1150 * testsuite/22_locale/codecvt.cc: New file.
1151 * testsuite/22_locale/money_put.cc: New file.
1152 * testsuite/22_locale/money_put_members_char.cc: New file.
1154 2001-08-27 Phil Edwards <pme@sources.redhat.com>
1157 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Handle enable/disable
1158 correctly for version-specific-runtime-libs.
1159 * aclocal.m4: Regenerate.
1160 * configure: Regenerate.
1162 2001-08-24 Loren J. Rittle <ljrittle@acm.org>
1164 * config/cpu/i386/bits/limits.h (__glibcpp_long_double_bits): Only
1165 define if not already provided by per-OS file.
1166 * config/os/bsd/freebsd/bits/os_defines.h (__glibcpp_long_double_bits):
1169 2001-08-24 Jan van Male <jan.vanmale@fenk.wau.nl>
1171 * docs/html/17_intro/C++STYLE: Fix typo.
1173 2001-08-24 Phil Edwards <pme@sources.redhat.com>
1175 * docs/html/23_containers/howto.html: Describe implementation of
1176 insertion with hints.
1178 2001-08-24 Kenny Simpson <kenny.simpson@gs.com>
1181 * include/bits/std_sstream.h (basic_ostringstream): Fix ctor.
1183 2001-08-24 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
1184 Phil Edwards <pme@sources.redhat.com>
1187 * include/bits/stl_tree.h (insert_unique): Revert last change.
1188 Values inserted at begin() must be less, not greater, than *begin()'s.
1189 * testsuite/23_containers/map_insert.cc: New file.
1191 2001-08-23 Benjamin Kosnik <bkoz@redhat.com>
1193 * config/locale/c_locale_gnu.cc: Minor tweaks.
1194 (moneypunct<wchar_t>): Implement.
1195 * include/bits/locale_facets.h: Same.
1196 * testsuite/22_locale/moneypunct.cc: New file.
1197 * testsuite/22_locale/moneypunct_byname.cc: New file.
1198 * testsuite/22_locale/moneypunct_char_members.cc: New file.
1200 2001-08-23 David Edelsohn <edelsohn@gnu.org>
1202 * config/os/gnu-linux/bits/os_defines.h: Correct __s390__ definitions.
1203 Set __powerpc__ long double definition based on __LONG_DOUBLE_128__.
1205 2001-08-23 Jason Merrill <jason_merrill@redhat.com>
1207 * testsuite_flags.in (build-includes): Re-add backward.
1209 2001-08-22 Benjamin Kosnik <bkoz@redhat.com>
1211 * testsuite/22_locale/collate_wchar_t_members.cc: Guard
1212 with _GLIBCPP_USE_WCHAR_T.
1214 2001-08-21 Benjamin Kosnik <bkoz@redhat.com>
1216 * testsuite/22_locale/collate_byname.cc (test01): Fix.
1218 2001-08-18 Vladimir A Merzliakov <wanderer@rsu.ru>
1220 * include/bits/locale_facets.tcc (collate::do_transform): Add typename.
1222 2001-08-18 Benjamin Kosnik <bkoz@redhat.com>
1224 * testsuite/22_locale/operators.cc: Add test.
1226 2001-08-17 Benjamin Kosnik <bkoz@redhat.com>
1228 Implement std::collate.
1229 * config/locale/collate_specializations_gnu.cc: Add here, implement in
1231 * config/locale/collate_specializations_generic.cc: Add here, but
1232 in a less sophisticated manner.
1233 * include/bits/locale_facets.tcc (collate): Add generic definition.
1234 * include/bits/locale_facets.h (~collate): Mark virtual.
1235 (collate::_M_compare_helper): New.
1236 (collate::_M_transform_helper): New.
1237 * src/locale.cc: Remove unnecessary specializations.
1238 * src/string-inst.cc: Tweak instantiation of ctors.
1240 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Do configury for collate.
1241 * aclocal.m4: Regenerate.
1242 * configure: Regenerate.
1243 * src/Makefile.am (sources): Add collate.cc.
1244 * src/Makefile.in: Regenerate.
1246 * testsuite/22_locale/collate_byname.cc: New.
1247 * testsuite/22_locale/collate.cc: New file.
1248 * testsuite/22_locale/collate_char_members.cc: New file.
1249 * testsuite/22_locale/collate_wchar_t_members.cc: New file.
1251 2001-08-16 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1253 * configure.target: Set LIMITSH for powerpc-*-*.
1254 * config/cpu/powerpc/bits/limits.h: New file.
1256 2001-08-16 Marc Espie <espie@openbsd.org>
1258 * configure.in: Check for <sys/types.h>.
1259 * configure: Rebuild.
1260 * config.h.in: Rebuild.
1261 * libmath/mathconf.h: Include <sys/types.h> prior to
1262 <machine/endian.h> if available.
1264 2001-08-15 Andreas Schwab <schwab@suse.de>
1266 * configure.target (cpu_include_dir): Set to `config/cpu/m68k' for
1267 m68k and m680[246]0.
1268 * config/cpu/m68k/bits/atomicity.h: New file.
1270 * include/bits/std_limits.h [__glibcpp_long_double_bits == 96]:
1271 Define appropriate long double limits for m68k extended floating
1273 (__glibcpp_f32_digits10): Corrected, off by one.
1274 (__glibcpp_f80_digits10): Likewise.
1275 (__glibcpp_f128_digits10): Likewise.
1276 * config/os/gnu-linux/bits/os_defines.h
1277 (__glibcpp_long_double_bits) [__mc68000__]: Define to 96.
1279 2001-08-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1281 * testsuite/18_support/numeric_limits.cc: Add more tests.
1282 * include/bits/std_limits.h (numeric_limits<char>::max): Fix
1285 2001-08-14 Ulrich Weigand <uweigand@de.ibm.com>
1287 * configure.target (cpu_include_dir): Set to `config/cpu/s390'
1290 * config/cpu/s390/bits/atomicity.h: New.
1292 2001-08-14 Gabriel Dos Reis <gdr@codesourcery.com>
1294 * include/bits/std_limits.h: Fix thinko.
1296 2001-08-14 Benjamin Kosnik <bkoz@redhat.com>
1298 * include/Makefile.am: Consolidate target rules. Don't clean stamp
1299 files. Tweak target build directory stamp.
1300 * include/Makefile.in: Regenerate.
1302 2001-08-14 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1304 * libstdc++-v3/libmath/stubs.c: Fix PR/3988, replace
1305 _GBLICPP_HAVE_LOGL with HAVE_LOGL
1307 2001-08-13 Benjamin Kosnik <bkoz@redhat.com>
1309 * configure.in (libtool_VERSION): Add.
1310 (VERSION): Change to
1311 (release_VERSION): This.
1312 * configure: Regenerate.
1313 * src/Makefile.am (libstdc___la_LDFLAGS): Use -version-info with
1315 * src/Makefile.in: Regenerate.
1317 * intl/Makefile.am: Remove.
1318 * intl/Makefile.in: Remove.
1320 * Makefile.am (SUBDIRS): Remove intl.
1321 * po/Makefile.am (DISTFILES): Add string_literals.cc
1323 * po/string_literals.cc: Add.
1324 * po/POTFILES.in: Fix path.
1325 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't call AM_GNU_GETTEXT.
1326 * aclocal.m4: Regenerate.
1327 * configure.in: Remove AC_OUTPUT of intl/Makefile.
1329 * include/backward/backward_warning.h: Clarify message.
1331 * testsuite_flags.in (--cxxflags): Use same debug flags for
1332 library and testsuite.
1334 * include/Makefile.am (c_compatibility): Remove.
1335 * include/Makefile.in: Regenerate.
1337 2001-08-13 Mark Mitchell <mark@codesourcery.com>
1339 * configure.in (LIMITS_INC_SRCDIR): New variable.
1340 * configure.target (LIMITSH): New variable.
1341 * porting.texi: Discuss numeric limits.
1342 * config/cpu/generic/bits/limits.h: New file.
1343 * config/cpu/i386/bits/limits.h: New file.
1344 * include/Makefile.am: Install bits/limits.h.
1345 * include/bits/c++config: Include bits/limits.h.
1347 2001-08-13 H.J. Lu (hjl@gnu.org)
1349 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-copy-files):
1351 (libstdc++-v3-init ): Use it.
1353 2001-08-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1355 * include/bits/ostream.tcc (__pad_char): Change toplevel '__fmt'
1356 to '__adjust' to avoid shadowing in nested scope.
1358 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1360 * include/bits/std_limits.h(__glibcpp_char_is_signed): Use
1363 * config/os/gnu-linux/bits/os_defines.h(__glibcpp_char_is_signed):
1365 * config/os/aix/bits/os_defines.h(__glibcpp_plain_char_is_signed):
1368 2001-08-10 Loren J. Rittle <ljrittle@acm.org>
1370 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Add
1371 dummy default argument to the non-limit implementation.
1374 * include/Makefile.am: Use relative file path in rule to allow
1376 * include/Makefile.in: Rebuilt.
1378 2001-08-10 Gunter Winkler <gunter.winkler@mathematik.tu-chemnitz.de>
1380 * include/bits/std_complex.h (complex<long double>::operator*=,
1381 complex<long double>::operator/=): Fix thinko.
1383 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1385 * include/bits/std_limits.h: New file.
1386 * include/Makefile.am (bits_headers): Add std_limits.h
1387 (all-local): std_limits.h is no longer built.
1388 (${target_builddir}/std_limits.h): Remove.
1389 * include/Makefile.in: Regenerate.
1390 * src/limits.cc: New file.
1391 * src/Makefile.am (sources): Add limits.cc in replacement of
1393 * src/Makefile.in: Regenerate.
1395 2001-08-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1397 * src/gen-num-limits.cc (digits10): Fix thinko.
1399 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
1401 * po/Makefile.am (check-no): Add.
1403 * po/Makefile.in: Regenerate.
1405 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
1407 * acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
1408 * config.h.in: Regenerate.
1409 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT): Check for setrlimit
1411 * aclocal.m4: Regenerate.
1412 * configure.in: Remove duplicate AM_CONFIG_HEADER.
1413 (AM_CONFIG_HEADER): Remove testsuite/testsuite_hooks.h.
1414 Only call GLIBCPP_CHECK_SETRLIMIT for native compiles.
1415 * configure: Regenerate.
1416 * testsuite_hooks.h.in: Move to...
1417 * testsuite_hooks.h: Here, include c++config.h. Use it.
1419 * Makefile.am (SUBDIRS): Move testsuite to last directory.
1420 * Makefile.in: Regenerate.
1421 * po/Makefile.am (stamp-po): Add.
1423 2001-08-09 David Edelsohn <edelsohn@gnu.org>
1425 * config/os/aix/bits/os_defines.h: Define std_limits.h macros.
1426 * config/os/generic/bits/os_defines.h: Likewise.
1427 * config/os/gnu-linux/bits/os_defines.h: Likewise.
1428 * config/os/hpux/bits/os_defines.h: Likewise.
1429 * config/os/irix/irix6.5/bits/os_defines.h: Likewise.
1430 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
1432 2001-08-08 Benjamin Kosnik <bkoz@redhat.com>
1434 * src/Makefile.am (libstdc___la_LDFLAGS): Use -release instead of
1435 -version-info, use substituted VERSION info.
1436 * src/Makefile.in: Regenerate.
1438 2001-08-07 Benjamin Kosnik <bkoz@redhat.com>
1440 Implement std::messages.
1441 Make config a fully-nested directory.
1442 * config/locale: New directory.
1443 * config/c_locale_generic.cc: Move into locale subdirectory.
1444 * config/c_locale_generic.h: Same.
1445 * config/c_locale_gnu.cc: Same.
1446 * config/c_locale_gnu.h: Same.
1447 * config/c_locale_ieee_1003.1-200x.cc: Same.
1448 * config/c_locale_ieee_1003.1-200x_.h: Same.
1449 * config/codecvt_specializations_generic.h: Same.
1450 * config/codecvt_specializations_ieee_1003.1-200x.h: Same.
1451 * config/messages_members_gnu.h: Same.
1452 * config/messaages_members_gnu.cc: Same.
1453 * config/messages_members_generic.h: Same.
1454 * config/messaages_members_generic.cc: Same.
1455 * config/messages_members_ieee_1003.1-200x.h: Same.
1456 * config/messaages_members_ieee_1003.1-200x.cc: Same.
1457 * config/io: New directory.
1458 * config/basic_file_libio.h: Move into io subdirectory.
1459 * config/basic_file_libio.cc: Same.
1460 * config/c_io_libio.h: Same.
1461 * config/c_io_libio_codecvt.c: Same.
1462 * config/basic_file_stdio.h: Same.
1463 * config/basic_file_stdio.cc: Same.
1464 * config/c_io_stdio.h: Same.
1466 * po: New directory.
1467 * po/POTFILES.in: New file.
1468 * po/Makefile.am: New file.
1469 * po/Makefile.in: New file.
1470 * po/libstdc++.pot: Generic translation file.
1471 * po/fr.po: Preliminary French translation.
1472 * po/de.po: Preliminary German translation.
1473 * intl: New directory.
1474 * intl/Makefile.am: New file.
1475 * intl/Makefile.in: New file.
1476 * intl/string_literals.cc: New file.
1477 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump VERSION to 3.1.0. Add
1478 requisite setup for gettext. Re-arrange.
1479 * aclocal.m4: Regenerate.
1480 * configure.in: Don't call GLIBCPP_CHECK_COMPILER_VERSION.
1481 Output Makefile bits for po and intl.
1482 * configure: Regenerate.
1483 * Makefile.am (SUBDIRS): Add intl, po. Add rule for dist.
1484 * Makefile.in: Regenerate.
1485 * acconfig.h: Add ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY.
1486 * config.h.in: Regenerate.
1488 * acinclude.m4 (AC_REPLACE_STRINGFUNCS): Remove.
1490 * include/Makefile.am (install-data-local): Don't install Makefile.
1491 * include/Makefile.in: Regenerate.
1493 * include/bits/locale_facet.h (locale::facet::_S_clone_c_locale):
1495 * config/locale/c_locale_gnu.cc (_S_clone_c_locale): Add definition.
1496 * config/locale/c_locale_generic.cc: Same.
1497 * config/locale/c_locale_ieee_1003.1-200x.cc: Same.
1499 * include/bits/codecvt.h: Excise non-standard, non-required
1500 bits. This includes __enc_traits, and partial specializations of
1501 codecvt for __enc_traits.
1502 * src/codecvt.cc (__enc_traits::_S_max_size): Guard
1503 * config/codecvt_partials_ieee_1003.1-200x.h: New file.
1504 * config/codecvt_partials_generic.h: New file.
1505 * include/Makefile.am (allstamps): Add stamp-codecvt_model.
1506 (stamp-codecvt_model): Add.
1507 * include/Makefile.in: Regenerate.
1508 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in codecvt configury.
1509 * aclocal.m4: Regenerate.
1510 * configure: Regenerate.
1511 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Use macro guard.
1512 * testsuite/22_locale/codecvt_unicode_char.cc: Same.
1513 * testsuite/22_locale/ctor_copy_dtor.cc: And here.
1515 * include/bits/localefwd.h (class locale::facet): Add __enc_traits
1516 as a friend for _S_*_c_locale functions.
1517 * include/bits/codecvt.h (__enc_traits::__enc_traits): Add locale
1518 argument to default constructor so that CODESET information can be
1520 * include/bits/locale_facets.h (messages_byname):
1521 Re-implement. Remove specializations.
1522 * src/locale.cc (messages_byname<char>): Remove specialization.
1523 (messages_byname<wchar_t>): Same.
1524 * config/locale/c_locale_ieee_1003.1-200x.cc: New file.
1525 * config/locale/c_locale_ieee_1003.1-200x.h: New file.
1526 * config/locale/messages_members_ieee_1003.1-200x.cc: New file.
1527 * config/locale/messages_members_ieee_1003.1-200x.h: New file.
1528 * config/locale/messages_members_gnu.cc: New file.
1529 * config/locale/messages_members_gnu.h: New file.
1530 * config/locale/messages_members_generic.cc: New file.
1531 * config/locale/messages_members_generic.h: New file.
1533 * docs/html/configopts.html: Add documentation for new locale
1534 model, ieee_1003.1. Adjust other flags for current defaults.
1535 * docs/html/22_locale/locale.html: Update.
1536 * docs/html/22_locale/howto.html: Add link to messages.html. Organize.
1537 * docs/html/22_locale/messages.html: New.
1539 * src/Makefile.am (sources): Add messages_virtuals.cc.
1540 * src/Makefile.in: Regenerate.
1541 * include/Makefile.am (allstamps): Add stamp-messages_model.
1542 (stamp-messages_model): Add.
1543 * include/Makefile.in: Regenerate.
1544 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in messages configury.
1545 * aclocal.m4: Regenerate.
1546 * configure: Regenerate.
1548 * testsuite_flags.in (--cxxflags): Add LOCALEDIR.
1549 * testsuite/lib/libstdc++-v3-dg.exp: Remove broken LD_LIBRARY_PATH
1551 * acinclude (GLIBCPP_ENABLE_CLOCALE): Set glibcpp_localedir to the
1552 build directories message catalog base directory, and export.
1553 Eventually this should probably be made to deal with build and
1554 install directories. For now, punt on this as the library itself
1555 doesn't use message catalogs (yet).
1556 * testsuite/22_locale/messages.cc: New file.
1557 * testsuite/22_locale/messages_char_members.cc: New file.
1558 * testsuite/22_locale/messages_byname.cc: New file.
1560 2001-08-06 Phil Edwards <pme@sources.redhat.com>
1562 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls...
1563 (GLIBCPP_CHECK_SETRLIMIT): ...this new macro, which also uses...
1564 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): ...this new macro.
1565 * configure.in (AM_CONFIG_HEADER): Also generate testsuite_hooks.h.
1566 Call GLIBCPP_CONFIGURE_TESTSUITE.
1567 * aclocal.m4: Regenerate.
1568 * config.h.in: Regenerate.
1569 * configure: Regenerate.
1571 * testsuite/lib/libstdc++-v3-dg.exp: Download new header instead
1574 * testsuite_flags.in: Add build dir's testsuite to INCLUDES.
1575 * testsuite/debug_assert.h: Removed; contents merged into...
1576 * testsuite/testsuite_hooks.h.in: ...here. New file.
1577 * testsuite/17_intro/header_ciso646.cc: No longer include
1578 debug_assert.h, include testsuite_hooks.h instead.
1579 * testsuite/17_intro/header_fstream.cc: Likewise.
1580 * testsuite/17_intro/header_iomanip.cc: Likewise.
1581 * testsuite/17_intro/header_ios.cc: Likewise.
1582 * testsuite/17_intro/header_iosfwd.cc: Likewise.
1583 * testsuite/17_intro/header_iostream.cc: Likewise.
1584 * testsuite/17_intro/header_istream.cc: Likewise.
1585 * testsuite/17_intro/header_ostream.cc: Likewise.
1586 * testsuite/17_intro/header_sstream.cc: Likewise.
1587 * testsuite/17_intro/header_streambuf.cc: Likewise.
1588 * testsuite/18_support/numeric_limits.cc: Likewise.
1589 * testsuite/19_diagnostics/stdexceptions.cc: Likewise.
1590 * testsuite/20_util/allocator_members.cc: Likewise.
1591 * testsuite/20_util/auto_ptr.cc: Likewise.
1592 * testsuite/20_util/pairs.cc: Likewise.
1593 * testsuite/21_strings/append.cc: Likewise.
1594 * testsuite/21_strings/capacity.cc: Likewise.
1595 * testsuite/21_strings/char_traits_requirements.cc: Likewise.
1596 * testsuite/21_strings/compare.cc: Likewise.
1597 * testsuite/21_strings/ctor_copy_dtor.cc: Likewise. Also set up
1598 call to (disabled) __set_testsuite_memlimit() wrapper.
1599 * testsuite/21_strings/element_access.cc: Likewise.
1600 * testsuite/21_strings/find.cc: Likewise.
1601 * testsuite/21_strings/insert.cc: Likewise. Also set up call to
1602 (disabled) __set_testsuite_memlimit() wrapper.
1603 * testsuite/21_strings/inserters_extractors.cc: Likewise.
1604 * testsuite/21_strings/invariants.cc: Likewise.
1605 * testsuite/21_strings/nonmember.cc: Likewise.
1606 * testsuite/21_strings/operations.cc: Likewise.
1607 * testsuite/21_strings/replace.cc: Likewise.
1608 * testsuite/21_strings/rfind.cc: Likewise.
1609 * testsuite/21_strings/substr.cc: Likewise.
1610 * testsuite/22_locale/codecvt_char_char.cc: Likewise.
1611 * testsuite/22_locale/codecvt_unicode_char.cc: Likewise.
1612 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Likewise.
1613 * testsuite/22_locale/codecvt_wchar_t_char.cc: Likewise.
1614 * testsuite/22_locale/ctor_copy_dtor.cc: Likewise.
1615 * testsuite/22_locale/ctype_char_members.cc: Likewise.
1616 * testsuite/22_locale/ctype_wchar_t_members.cc: Likewise.
1617 * testsuite/22_locale/facet.cc: Likewise.
1618 * testsuite/22_locale/global_templates.cc: Likewise.
1619 * testsuite/22_locale/members.cc: Likewise.
1620 * testsuite/22_locale/numpunct_byname.cc: Likewise.
1621 * testsuite/22_locale/numpunct_char_members.cc: Likewise.
1622 * testsuite/22_locale/operators.cc: Likewise.
1623 * testsuite/22_locale/static_members.cc: Likewise.
1624 * testsuite/23_containers/bitset_ctor.cc: Likewise.
1625 * testsuite/23_containers/bitset_members.cc: Likewise.
1626 * testsuite/23_containers/bitset_shift.cc: Likewise.
1627 * testsuite/23_containers/vector_capacity.cc: Likewise.
1628 * testsuite/23_containers/vector_ctor.cc: Likewise.
1629 * testsuite/23_containers/vector_element_access.cc: Likewise.
1630 * testsuite/23_containers/vector_modifiers.cc: Likewise.
1631 * testsuite/24_iterators/istreambuf_iterator.cc: Likewise.
1632 * testsuite/24_iterators/iterator.cc: Likewise.
1633 * testsuite/24_iterators/ostreambuf_iterator.cc: Likewise.
1634 * testsuite/25_algorithms/binary_search.cc: Likewise.
1635 * testsuite/25_algorithms/copy.cc: Likewise.
1636 * testsuite/25_algorithms/heap.cc: Likewise.
1637 * testsuite/25_algorithms/lower_bound.cc: Likewise.
1638 * testsuite/25_algorithms/min_max.cc: Likewise.
1639 * testsuite/25_algorithms/partition.cc: Likewise.
1640 * testsuite/25_algorithms/rotate.cc: Likewise.
1641 * testsuite/25_algorithms/sort.cc: Likewise.
1642 * testsuite/26_numerics/c_math.cc: Likewise.
1643 * testsuite/26_numerics/complex_inserters_extractors.cc: Likewise.
1644 * testsuite/26_numerics/complex_value.cc: Likewise.
1645 * testsuite/27_io/filebuf.cc: Likewise.
1646 * testsuite/27_io/filebuf_members.cc: Likewise.
1647 * testsuite/27_io/filebuf_virtuals.cc: Likewise.
1648 * testsuite/27_io/fpos.cc: Likewise.
1649 * testsuite/27_io/fstream_members.cc: Likewise.
1650 * testsuite/27_io/ifstream_members.cc: Likewise.
1651 * testsuite/27_io/ios_base_callbacks.cc: Likewise.
1652 * testsuite/27_io/ios_base_members_static.cc: Likewise.
1653 * testsuite/27_io/ios_base_storage.cc: Likewise.
1654 * testsuite/27_io/ios_ctor.cc: Likewise.
1655 * testsuite/27_io/ios_init.cc: Likewise.
1656 * testsuite/27_io/ios_manip_basefield.cc: Likewise.
1657 * testsuite/27_io/ios_manip_fmtflags.cc: Likewise.
1658 * testsuite/27_io/ios_members.cc: Likewise.
1659 * testsuite/27_io/istream_extractor_arith.cc: Likewise.
1660 * testsuite/27_io/istream_extractor_char.cc: Likewise.
1661 * testsuite/27_io/istream_extractor_other.cc: Likewise.
1662 * testsuite/27_io/istream_manip.cc: Likewise.
1663 * testsuite/27_io/istream_seeks.cc: Likewise.
1664 * testsuite/27_io/istream_sentry.cc: Likewise.
1665 * testsuite/27_io/istream_unformatted.cc: Likewise.
1666 * testsuite/27_io/istringstream_members.cc: Likewise.
1667 * testsuite/27_io/narrow_stream_objects.cc: Likewise.
1668 * testsuite/27_io/ofstream_members.cc: Likewise.
1669 * testsuite/27_io/ostream_inserter_arith.cc: Likewise.
1670 * testsuite/27_io/ostream_inserter_char.cc: Likewise.
1671 * testsuite/27_io/ostream_inserter_other.cc: Likewise.
1672 * testsuite/27_io/ostream_manip.cc: Likewise.
1673 * testsuite/27_io/ostream_seeks.cc: Likewise.
1674 * testsuite/27_io/ostream_unformatted.cc: Likewise.
1675 * testsuite/27_io/ostringstream_members.cc: Likewise.
1676 * testsuite/27_io/streambuf.cc: Likewise.
1677 * testsuite/27_io/stringbuf.cc: Likewise.
1678 * testsuite/27_io/stringbuf_virtuals.cc: Likewise.
1679 * testsuite/27_io/stringstream.cc: Likewise.
1680 * testsuite/27_io/stringstream_members.cc: Likewise.
1681 * testsuite/27_io/wide_stream_objects.cc: Likewise.
1683 2001-07-31 Loren J. Rittle <ljrittle@acm.org>
1685 * src/gen-num-limits.cc: Use __LONG_LONG_MAX__.
1687 2001-07-30 Benjamin Kosnik <bkoz@redhat.com>
1689 * configure.target: Remove mips from cpu table.
1690 * config/cpu/mips/bits/atomicity.h: Remove generic
1691 versions. Comment sgidefs include.
1693 2001-07-25 H.J. Lu <hjl@gnu.org>
1695 * configure.target (cpu_include_dir): Set to `config/cpu/mips'
1698 * config/cpu/mips/bits/atomicity.h: New.
1700 2001-07-25 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1702 * acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf,
1703 hypotl, atan2f, atan2l. Remove from REPLACE_MATHFUNCS list.
1704 * aclocal.m4: Regenerate.
1705 * config.h.in: Likewise.
1706 * configure: Likewise.
1707 * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove hypotl.c
1708 (EXTRA_DIST): Remove hypot.c hypotf.c.
1709 * libmath/Makefile.am: Regenerate.
1710 * libmath/hypotf.c: Remove.
1711 * libmath/hypot.c: Likewise.
1712 * libmath/hypotl.c: Likewise.
1713 * libmath/stubs.c: The macros seen here are HAVE_xxx, not
1714 _GLIBCPP_HAVE_xxx. Add long double versions.
1716 2001-07-23 David Edelsohn <edelsohn@gnu.org>
1718 * include/bits/limits_generic.h (int): Set digits and digits10
1719 appropriately for word size.
1720 (unsigned int,long,unsigned long): Likewise.
1722 2001-07-19 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1724 * include/bits/stl_algo.h : Fix typos.
1725 * testsuite/25_algorithms/unique.cc: New file.
1727 2001-07-19 Phil Edwards <pme@sources.redhat.com>
1728 Mark Mitchell <mark@codesourcery.com>
1730 Merge from cp-parser-branch.
1731 * include/bits/basic_string.h: Qualify symbols with 'template'.
1732 * include/bits/basic_string.tcc: Likewise.
1733 * include/bits/fstream.tcc: Likewise.
1734 * include/bits/istream.tcc: Likewise.
1735 * include/bits/sstream.tcc: Likewise.
1736 * include/bits/std_istream.h: Likewise.
1737 * include/bits/stl_iterator.h: Likewise.
1738 * include/bits/streambuf.tcc: Likewise.
1739 * src/gen-num-limits.cc: Add 'template<>' to specializations.
1740 * src/locale.cc: Likewise.
1742 2001-07-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1743 Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
1745 * src/gen-num-limits.cc (set_signals_handler): New function.
1746 Factor out signals setting. Set signal handler for SIGILL.
1748 2001-07-18 Phil Edwards <pme@sources.redhat.com>
1750 * docs/html/27_io/howto.html: Fix typo.
1751 * docs/html/faq/index.html: Minor updates for 3.0 all around.
1752 * docs/html/faq/index.txt: Regenerated.
1754 2001-07-18 Stephen M. Webb <stephen@bregmasoft..com>
1755 Roman Sulzhyk <roman_sulzhyk@yahoo.com>
1758 * include/bits/ostream.tcc (ostream::put): Fixed error condition check.
1759 * testsuite/27_io/streambuf.cc (test07): Added new regression test.
1761 2001-07-17 Stephen M. Webb <stephen@bregmasoft.com>r
1763 All occurrences of the __value_type() and __distance_type()
1764 functions, which were required to support the HP STL, have been
1765 removed along with all the auxiliary forwarding functions that
1766 were required to support their use.
1768 The __iterator_category() function was pretty much left alone
1769 because there was no benefit to removing it and its use made code
1770 just a little more readable.
1772 Incidences of distance() with nonstandard argument list were
1773 replaced by calls to the standard function (only in the files
1774 affected by the removal of the other HP functions).
1776 The signature of the rotate() algorithm was changed to match the
1779 Headers were reformatted under C++STYLE guidelines (indentation,
1780 linebreaks, typename keyword).
1782 * include/bits/stl_algo.h: replaced __value_type() and
1783 __distance_type() with iterator_traits, eliminated auxiliary
1784 support functions required to support said function usage.
1785 Changed nonstandard distance() call to standard call.
1787 * include/bits/stl_algobase.h: Same.
1788 * include/bits/stl_heap.h: Same.
1789 * include/bits/stl_numeric.h: Same.
1790 * include/bits/stl_uninitialized.h: Same.
1791 * include/bits/stl_iterator_base_types.h (__value_type()):
1793 (__distance_type()): Removed.
1794 (value_type()): Gone.
1795 (distance_type()): Done in.
1796 (iterator_category()): Hasta la vista, baby.
1798 * include/bits/stl_iterator_base_funcs.h (iterator_category()):
1799 Replaced with __iterator_category().
1800 * include/backward/iterator.h: moved definition of value_type(),
1801 distance_type(), and iterator_category() out of std:: and into
1803 * testsuite/23_containers/vector_ctor.cc (test03): New testcases.
1804 * testsuite/23_containers/vector_modifiers.cc (test03): New testcases.
1805 * testsuite/25_algorithms/rotate.cc: New testcase.
1806 * testsuite/25_algorithms/copy.cc: New testcase.
1807 * testsuite/25_algorithms/sort.cc: Same.
1808 * testsuite/25_algorithms/heap.cc: Same.
1809 * testsuite/25_algorithms/partition.cc: Same.
1810 * testsuite/25_algorithms/binary_search.cc: Same.
1811 * testsuite/26_numerics/sum_diff.cc: Ditto.
1813 001-07-17 Benjamin Kosnik <bkoz@redhat.com>
1815 * testsuite/README: Add notes on naming test cases.
1816 * testsuite/22_locale/members.cc: Mark as xfail.
1817 * testsuite/22_locale/numpunct_char_members.cc: Same.
1819 2001-07-16 Stephen M. Webb <stephen@bregmasoft.com>
1821 * acinclude.m4 (GLIBCPP_ENABLE_CHEADERS): Use glibcpp_srcdir when
1822 setting C_INCLUDE_DIR.
1823 * configure.in: Revert yesterday's LN_S change.
1824 * aclocal.m4: Regenerate.
1825 * configure: Regenerate.
1827 2001-07-15 Phil Edwards <pme@sources.redhat.com>
1829 * configure.in: Temporarily force LN_S to copy instead of symlink.
1830 * configure: Regenerate.
1832 2001-07-13 Phil Edwards <pme@sources.redhat.com>
1834 * include/bits/std_sstream.h (basic_stringbuf::basic_stringbuf(string):
1835 Initialize _M_string with pointer-and-size constructor, not just
1836 pointer. Fix some comments.
1837 * testsuite/21_strings/ctor_copy_dtor.cc (test03): New test.
1838 * testsuite/27_io/stringbuf.cc (test02): Remove unused variable.
1839 (test03): Add embedded-NUL tests.
1841 * mkcheck.in: When printing totals, match the order of the tests.
1842 * include/bits/stringfwd.h: Use same declaration keywords.
1843 * include/bits/std_iosfwd.h: Cosmetic spacing.
1845 2001-07-13 Stephen M. Webb <stephen@bregmasoft.com>
1846 Loren J. Rittle <ljrittle@acm.org>
1847 Phil Edwards <pme@sources.redhat.com>
1849 * include/Makefile.am: New file encapsulating header generation rules.
1850 * Makefile.am (SUBDIRS): Prepend 'include' directory.
1851 * acinclude.m4: Moved/removed rules for building various headers.
1852 * configure.in (AC_OUTPUT): Add include/Makefile.
1853 * mkc++config: Removed.
1855 * testsuite_flags.in: Changed build-includes to match new scheme.
1856 * mknumeric_limits: Likewise.
1857 * libio/Makefile.am: Changed INCLUDES to maatch new header scheme.
1858 * libmath/Makefile.am: Likewise.
1859 * libsupc++/Makefile.am: Likewise.
1860 * src/Makefile.am: Likewise; removed rules to build headers.
1861 * libmath/mathconf.h: Changed #include'd header names to match.
1862 * libmath/stubs.c: Likewise.
1863 * src/gen-num-limits.cc: Likewise.
1865 * configure: Regenerated.
1866 * config.h.in: Regenerated.
1867 * aclocal.m4: Regenerated.
1868 * Makefile.in: Regenerated.
1869 * include/Makefile.in: Regenerated.
1870 * libio/Makefile.in: Regenerated.
1871 * libmath/Makefile.in: Regenerated.
1872 * libsupc++/Makefile.in: Regenerated.
1873 * src/Makefile.in: Regenerated.
1874 * testsuite/Makefile.in: Regenerated.
1876 2001-07-11 Felix Natter <fnatter@gmx.net>
1878 * docs/html/17_intro/porting-howto.xml: Initial checkin of
1880 * docs/html/17_intro/porting-howto.html: check in v0.9.3
1882 2001-07-11 Phil Edwards <pme@sources.redhat.com>
1884 * docs/doxygen/run_doxygen: Don't keep output from previous run.
1885 * docs/doxygen/user.cfg.in: Tweaks.
1886 * include/bits/c++config: Documentation comments for Doxygen.
1887 * include/bits/char_traits.h: Likewise.
1888 * include/bits/limits_generic.h: Likewise.
1889 * include/bits/std_stdexcept.h: Likewise.
1890 * include/bits/stl_pair.h: Likewise.
1891 * libsupc++/exception: Likewise.
1892 * libsupc++/new: Likewise.
1893 * libsupc++/typeinfo: Likewise.
1894 * libmath/Makefile.am: Update and correct copyright.
1896 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1898 * acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
1899 * aclocal.m4: Regenerate.
1902 2001-07-09 Phil Edwards <pme@sources.redhat.com>
1904 * docs/html/configopts.html: Fix thinko.
1905 * docs/html/27_io/howto.html: Fix thinko and HTML markup.
1906 * include/bits/stl_iterator.h: Fix typo.
1908 2001-07-09 Phil Edwards <pme@sources.redhat.com>
1910 * docs/html/explanations.html: New file.
1911 * docs/html/configopts.html: Link to it to provide more notes
1912 on cstdio. Minor markup and spacing fixes.
1913 * docs/html/27_io/howto.html: Talk about sync_with_stdio.
1915 2001-07-09 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
1917 * include/bits/valarray_meta.h (_Expr::operator+): Use qualified id
1918 for _Expr template template argument.
1919 (_Expr::operator-): Likewise.
1920 (_Expr::operator~): Likewise.
1921 (_Expr::operator!): Likewise.
1922 (_DEFINE_EXPR_UNARY_OPERATOR): Likewise.
1924 2001-07-06 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1926 * libmath/Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.c
1927 * libmath/Makefile.in: Regenerate.
1928 * libmath/expf.c: Remove.
1929 * libmath/atan2f.c: Likewise.
1931 2001-07-06 Daniel Jacobowitz <drow@mvista.com>
1933 * configure.in: Remove NATIVE, NULL_TARGET.
1934 Set CANADIAN only for Canadian crosses. Set xcompiling
1935 for both Canadian crosses and host-x-host crosses.
1936 * configure: Regenerated.
1938 2001-07-06 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1940 * include/bits/stl_vector.h (vector::_M_initialize_aux): Fix typo.
1942 2001-07-05 Jason Merrill <jason_merrill@redhat.com>
1944 * testsuite_flags.in (--build-includes): backward, not backwards.
1946 2001-07-04 Jeffrey Oldham <oldham@codesourcery.com>
1948 * include/ext/ropeimpl.h (_Rope_RopeRep::_M_free_c_string):
1949 Replace destroy by _Destroy.
1950 (_Rope_RopeRep::_S_free_string): Likewise.
1951 (rope::c_str()): Likewise.
1952 * include/ext/slist (_Slist_base::_M_erase_after>): Likewise.
1953 (_Slist_base::_M_erase_after): Likewise.
1954 (slist::_M_create_node): Replace construct by _Construct.
1955 (slist::pop_front): Replace destroy by _Destroy.
1956 * include/ext/stl_hashtable.h (hashtable::_M_new_node): Replace
1957 construct by _Construct.
1958 (hashtable::_M_delete_node): Replace destroy by _Destroy.
1959 * include/ext/stl_rope.h (rope::rope): Replace construct by
1961 (rope::copy): Replace destroy by _Destroy.
1963 2001-07-03 Benjamin Kosnik <bkoz@redhat.com>
1965 * include/bits/localefwd.h: Format.
1966 * include/bits/locale_facts.tcc (locale::combine): Adjust.
1967 * src/locale.cc (locale::locale::(_Impl)): Don't call
1969 (locale::facet::_M_remove_reference): Simplify.
1970 * src/globals.cc (locale_impl_c): New. Format.
1972 * src/ios.cc (ios_base::Init::Init): Increment _S_ios_base_init last.
1974 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
1976 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
1977 expansion (thanks to Alexandre Oliva).
1978 * aclocal.m4: Regenerate.
1979 * configure: Regenerate.
1981 2001-07-02 Benjamin Kosnik <bkoz@redhat.com>
1983 * src/locale.cc (locale::locale(const char*)): Make sure global
1984 locales are initialized.
1985 * include/bits/locale_facets.tcc (locale::combine): Refcout should
1986 be zero, not one as it's return-by-value.
1987 * testsuite/27_io/ios_base_callbacks.cc (test01): Don't check for
1989 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Instead, check
1992 * libsupc++/eh_alloc.cc: Use climits, not limits.h.
1994 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
1997 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
1998 * aclocal.m4: Regenerate.
1999 * configure: Regenerate.
2001 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
2004 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to
2005 staged/installed area to support -I-. Document.
2006 * aclocal.m4: Regenerate.
2007 * configure: Regenerate.
2009 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
2012 * src/ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to
2013 __out_bufsize. Add __in_bufsize, document it and use it.
2015 2001-07-01 Stephen M. Webb <stephen@bregmasoft.com>
2017 * include/bits/stl_construct.h (construct): Remove.
2019 (__destroy): Replaced by use of iterator_traits.
2020 * include/bits/stl_deque.h: replaced HP iterator functions with
2022 (construct): changed to _Construct.
2023 (destroy): changed to _Destroy.
2024 * include/bits/stl_tempbuf.h: Same.
2025 * include/bits/stl_tree.h: Same.
2026 * include/bits/stl_vector.h: Same.
2027 * include/backward/iterator.h (construct): moved definition to here.
2030 2001-06-29 Benjamin Kosnik <bkoz@redhat.com>
2032 * include/bits/locale_facets.tcc (locale::combine): Clone _Impl.
2033 before replacing facet.
2034 * include/bits/localefwd.h (locale::_Impl::_M_remove_reference):
2036 * src/localename.cc (locale::_Impl): Correct ctor initialization
2037 lists. Initialize ref count with one. Simplify.
2038 * src/locale.cc: Add comment.
2039 * testsuite/22_locale/numpunct.cc (test01): Add derivation test.
2040 * testsuite/22_locale/numpunct_char_members.cc (test01): Add tests.
2041 * testsuite/22_locale/members.cc (test02): Fix.
2043 2001-06-27 Phil Edwards <pme@sources.redhat.com>
2045 * include/backward/algo.h: Add "GPL plus runtime exception" comment
2046 block, this time for real.
2047 * include/backward/algobase.h: Likewise.
2048 * include/backward/alloc.h: Likewise.
2049 * include/backward/bvector.h: Likewise.
2050 * include/backward/defalloc.h: Likewise.
2051 * include/backward/deque.h: Likewise.
2052 * include/backward/function.h: Likewise.
2053 * include/backward/hash_map.h: Likewise.
2054 * include/backward/hash_set.h: Likewise.
2055 * include/backward/hashtable.h: Likewise.
2056 * include/backward/heap.h: Likewise.
2057 * include/backward/iterator.h: Likewise.
2058 * include/backward/list.h: Likewise.
2059 * include/backward/map.h: Likewise.
2060 * include/backward/multimap.h: Likewise.
2061 * include/backward/multiset.h: Likewise.
2062 * include/backward/pair.h: Likewise.
2063 * include/backward/rope.h: Likewise.
2064 * include/backward/set.h: Likewise.
2065 * include/backward/slist.h: Likewise.
2066 * include/backward/stack.h: Likewise.
2067 * include/backward/strstream: Likewise.
2068 * include/backward/tempbuf.h: Likewise.
2069 * include/backward/tree.h: Likewise.
2070 * include/backward/vector.h: Likewise.
2071 * include/bits/pthread_allocimpl.h: Likewise.
2072 * include/bits/std_algorithm.h: Likewise.
2073 * include/bits/std_bitset.h: Likewise.
2074 * include/bits/std_deque.h: Likewise.
2075 * include/bits/std_functional.h: Likewise.
2076 * include/bits/std_iterator.h: Likewise.
2077 * include/bits/std_list.h: Likewise.
2078 * include/bits/std_map.h: Likewise.
2079 * include/bits/std_memory.h: Likewise.
2080 * include/bits/std_numeric.h: Likewise.
2081 * include/bits/std_queue.h: Likewise.
2082 * include/bits/std_set.h: Likewise.
2083 * include/bits/std_stack.h: Likewise.
2084 * include/bits/std_utility.h: Likewise.
2085 * include/bits/std_vector.h: Likewise.
2086 * include/bits/stl_algo.h: Likewise.
2087 * include/bits/stl_algobase.h: Likewise.
2088 * include/bits/stl_alloc.h: Likewise.
2089 * include/bits/stl_bvector.h: Likewise.
2090 * include/bits/stl_construct.h: Likewise.
2091 * include/bits/stl_deque.h: Likewise.
2092 * include/bits/stl_function.h: Likewise.
2093 * include/bits/stl_heap.h: Likewise.
2094 * include/bits/stl_iterator.h: Likewise.
2095 * include/bits/stl_iterator_base_funcs.h: Likewise.
2096 * include/bits/stl_iterator_base_types.h: Likewise.
2097 * include/bits/stl_list.h: Likewise.
2098 * include/bits/stl_map.h: Likewise.
2099 * include/bits/stl_multimap.h: Likewise.
2100 * include/bits/stl_multiset.h: Likewise.
2101 * include/bits/stl_numeric.h: Likewise.
2102 * include/bits/stl_pair.h: Likewise.
2103 * include/bits/stl_pthread_alloc.h: Likewise.
2104 * include/bits/stl_queue.h: Likewise.
2105 * include/bits/stl_raw_storage_iter.h: Likewise.
2106 * include/bits/stl_relops.h: Likewise.
2107 * include/bits/stl_set.h: Likewise.
2108 * include/bits/stl_stack.h: Likewise.
2109 * include/bits/stl_tempbuf.h: Likewise.
2110 * include/bits/stl_threads.h: Likewise.
2111 * include/bits/stl_tree.h: Likewise.
2112 * include/bits/stl_uninitialized.h: Likewise.
2113 * include/bits/stl_vector.h: Likewise.
2114 * include/bits/type_traits.h: Likewise.
2115 * include/ext/hash_map: Likewise.
2116 * include/ext/hash_set: Likewise.
2117 * include/ext/rope: Likewise.
2118 * include/ext/ropeimpl.h: Likewise.
2119 * include/ext/slist: Likewise.
2120 * include/ext/stl_hash_fun.h: Likewise.
2121 * include/ext/stl_hashtable.h: Likewise.
2122 * include/ext/stl_rope.h: Likewise.
2123 * src/bitset.cc: Likewise.
2124 * src/strstream.cc: Likewise.
2126 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2127 <vakatov@ncbi.nlm.nih.gov>
2130 * include/bits/streambuf.tcc (__copy_streambufs): Don't set eofbit.
2131 * testsuite/27_io/ostream_inserter_other.cc (test04): Add test.
2132 * testsuite/27_io/istream_extractor_other.cc: Fix.
2134 2001-06-26 Zoltan Hidvegi <hzoli@austin.ibm.com>
2136 * acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
2137 * aclocal.m4: Regenerate.
2138 * configure: Regenerate.
2140 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2142 * include/bits/stream_iterator.h (istream_iterator): Add copy ctor.
2143 (ostream_iterator): Same.
2144 * include/bits/stl_iterator.h (front_insert_iterator::operator=):
2145 Change argument to const_reference.
2146 (back_insert_iterator): Same.
2148 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2150 * include/bits/sbuf_iter.h: Change to..
2151 * include/bits/streambuf_iterator.h: This.
2152 * include/bits/stl_iterator.h: Take out of here...
2153 * include/bits/stream_iterator.h: Add.
2154 * src/Makefile.am (base_headers): Add streambuf_iterator,
2156 * src/Makefile.in: Regenerate.
2157 * include/bits/std_string.h: Adjust includes.
2158 * include/bits/basic_ios.h: Same.
2159 * include/bits/locale_facets.tcc: Same.
2160 * include/bits/std_iosfwd.h: Same.
2162 * include/bits/std_iterator.h: Add istream, ostream includes.
2163 * include/bits/stl_iterator.h: Tweak.
2164 * testsuite/24_iterators/ostream_iterator.cc: Add test.
2165 * testsuite/24_iterators/istream_iterator.cc: Same.
2166 * testsuite/23_containers/multiset.cc: Add iterator include.
2168 2001-06-26 Phil Edwards <pme@sources.redhat.com>
2170 * acinclude.m4: Clean extraneous tabs, rewrap 'test' lines.
2171 * aclocal.m4: Regenerate.
2172 * configure: Regenerate.
2174 2001-06-26 Felix Natter <f.natter@ndh.net>
2176 * docs/html/17_intro/porting-howto.html: Fixed some errors.
2178 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2180 * include/bits/stl_iterator.h (istream_iterator::operator->): Fix
2182 (istream_iterator::operator*): Same.
2184 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2185 Alexandre Petit-Bianco <apbianco@redhat.com>
2187 * testsuite/21_strings/element_access.cc (test01): Chill Out Cafe
2188 is on 41st, not 14th.
2190 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2192 * include/bits/std_iterator.h: Include sbuf_iter.h via std_ios.h.
2194 * include/bits/stl_iterator.h (istream_iterator): Inherit from
2196 (ostream_iterator): Same.
2197 * testsuite/24_iterators/istream_iterator.cc: New file.
2198 * testsuite/24_iterators/ostream_iterator.cc: New file.
2200 * include/bits/sbuf_iter.h: Remove self typedef.
2201 * testsuite/24_iterators/ostreambuf_iterator.cc: Add test.
2202 * testsuite/24_iterators/istreambuf_iterator.cc: Add test.
2204 * include/bits/stl_iterator.h (reverse_iterator): Remove
2205 extraneous typedefs. Add typename.
2206 (__normal_iterator): Remove typedefs referring to self. Add typename.
2207 (reverse_bidiretional_iterator): Remove, not longer required.
2209 2001-06-26 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2211 * include/bits/stl_iterator.h (__normal_iterator<>): Qualify
2212 dependent names with `typename'. Bring in various required
2213 iterator_traits members. Can't imagine why that used to work.
2215 2001-06-25 Phil Edwards <pme@sources.redhat.com>
2216 Kurt Garloff <garloff@suse.de>
2219 * src/cmath.cc: New [version of an old] file; instantiate
2220 __cmath_power to start with.
2221 * src/Makefile.am (sources): Add cmath.cc (and alphabetize).
2222 * Makefile.in: Regenerate.
2223 * libio/Makefile.in: Regenerate.
2224 * libmath/Makefile.in: Regenerate.
2225 * libsupc++/Makefile.in: Regenerate.
2226 * src/Makefile.in: Regenerate.
2227 * testsuite/Makefile.in: Regenerate.
2229 2001-06-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2231 * libmath/stubs.c: Fix thinko.
2233 2001-06-24 David Edelsohn <dje@watson.ibm.com>
2235 * libmath/stubs.c (sqrtf): Define.
2236 (tanf): Correct typo.
2238 2001-06-22 Benjamin Kosnik <bkoz@redhat.com>
2240 * include/bits/stl_iterator.h (reverse_iterator): Inherit from
2242 (back_insert_iterator): Same.
2243 (front_insert_iterator): Same.
2244 (insert_iterator): Same.
2246 * testsuite/20_util/raw_storage_iterator.cc: Modify.
2247 * testsuite/24_iterators/reverse_iterator.cc: New file.
2248 * testsuite/24_iterators/back_insert_iterator.cc: New file.
2249 * testsuite/24_iterators/front_insert_iterator.cc: New file.
2250 * testsuite/24_iterators/insert_iterator.cc: New file.
2252 2001-06-22 Phil Edwards <pme@sources.redhat.com>
2254 * include/*: Revert comment/license change from yesterday for all
2255 except libsupc++/unwind-cxx.h.
2256 * src/bitset.cc: Likewise.
2257 * src/strstream.cc: Likewise.
2259 2001-06-22 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2261 * libmath/stubs.c: New file.
2265 * libmath/Makefile.am (libmath_la_SOURCES): Add.
2266 * libmath/Makefile.in. Regenerate.
2268 2001-06-21 Phil Edwards <pme@sources.redhat.com>
2270 * include/backward/algo.h: Add "GPL plus runtime exception" comment.
2271 * include/backward/algobase.h: Likewise.
2272 * include/backward/alloc.h: Likewise.
2273 * include/backward/bvector.h: Likewise.
2274 * include/backward/defalloc.h: Likewise.
2275 * include/backward/deque.h: Likewise.
2276 * include/backward/function.h: Likewise.
2277 * include/backward/hash_map.h: Likewise.
2278 * include/backward/hash_set.h: Likewise.
2279 * include/backward/hashtable.h: Likewise.
2280 * include/backward/heap.h: Likewise.
2281 * include/backward/iterator.h: Likewise.
2282 * include/backward/list.h: Likewise.
2283 * include/backward/map.h: Likewise.
2284 * include/backward/multimap.h: Likewise.
2285 * include/backward/multiset.h: Likewise.
2286 * include/backward/pair.h: Likewise.
2287 * include/backward/rope.h: Likewise.
2288 * include/backward/set.h: Likewise.
2289 * include/backward/slist.h: Likewise.
2290 * include/backward/stack.h: Likewise.
2291 * include/backward/strstream: Likewise.
2292 * include/backward/tempbuf.h: Likewise.
2293 * include/backward/tree.h: Likewise.
2294 * include/backward/vector.h: Likewise.
2295 * include/bits/pthread_allocimpl.h: Likewise.
2296 * include/bits/std_algorithm.h: Likewise.
2297 * include/bits/std_bitset.h: Likewise.
2298 * include/bits/std_deque.h: Likewise.
2299 * include/bits/std_functional.h: Likewise.
2300 * include/bits/std_iterator.h: Likewise.
2301 * include/bits/std_list.h: Likewise.
2302 * include/bits/std_map.h: Likewise.
2303 * include/bits/std_memory.h: Likewise.
2304 * include/bits/std_numeric.h: Likewise.
2305 * include/bits/std_queue.h: Likewise.
2306 * include/bits/std_set.h: Likewise.
2307 * include/bits/std_stack.h: Likewise.
2308 * include/bits/std_utility.h: Likewise.
2309 * include/bits/std_vector.h: Likewise.
2310 * include/bits/stl_algo.h: Likewise.
2311 * include/bits/stl_algobase.h: Likewise.
2312 * include/bits/stl_alloc.h: Likewise.
2313 * include/bits/stl_bvector.h: Likewise.
2314 * include/bits/stl_construct.h: Likewise.
2315 * include/bits/stl_deque.h: Likewise.
2316 * include/bits/stl_function.h: Likewise.
2317 * include/bits/stl_heap.h: Likewise.
2318 * include/bits/stl_iterator.h: Likewise.
2319 * include/bits/stl_iterator_base_funcs.h: Likewise.
2320 * include/bits/stl_iterator_base_types.h: Likewise.
2321 * include/bits/stl_list.h: Likewise.
2322 * include/bits/stl_map.h: Likewise.
2323 * include/bits/stl_multimap.h: Likewise.
2324 * include/bits/stl_multiset.h: Likewise.
2325 * include/bits/stl_numeric.h: Likewise.
2326 * include/bits/stl_pair.h: Likewise.
2327 * include/bits/stl_pthread_alloc.h: Likewise.
2328 * include/bits/stl_queue.h: Likewise.
2329 * include/bits/stl_raw_storage_iter.h: Likewise.
2330 * include/bits/stl_relops.h: Likewise.
2331 * include/bits/stl_set.h: Likewise.
2332 * include/bits/stl_stack.h: Likewise.
2333 * include/bits/stl_tempbuf.h: Likewise.
2334 * include/bits/stl_threads.h: Likewise.
2335 * include/bits/stl_tree.h: Likewise.
2336 * include/bits/stl_uninitialized.h: Likewise.
2337 * include/bits/stl_vector.h: Likewise.
2338 * include/bits/type_traits.h: Likewise.
2339 * include/ext/hash_map: Likewise.
2340 * include/ext/hash_set: Likewise.
2341 * include/ext/rope: Likewise.
2342 * include/ext/ropeimpl.h: Likewise.
2343 * include/ext/slist: Likewise.
2344 * include/ext/stl_hash_fun.h: Likewise.
2345 * include/ext/stl_hashtable.h: Likewise.
2346 * include/ext/stl_rope.h: Likewise.
2347 * libsupc++/unwind-cxx.h: Likewise.
2348 * src/bitset.cc: Likewise.
2349 * src/strstream.cc: Likewise.
2351 2001-06-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2353 * include/bits/indirect_array.h (indirect_array<>::operator=):
2354 Make copy and assignment operator public. Implement. Format.
2356 * include/bits/valarray_array.h (__valarray_copy): Add overloads
2357 for copy between index arrays. Format.
2359 2001-06-19 Benjamin Kosnik <bkoz@redhat.com>
2361 * mknumeric_limits: Add static definitions, format.
2362 * testsuite/18_support/numeric_limits.cc (test02): Add test.
2364 * include/c_std/bits/std_cwchar.h: Include ctime.
2365 * testsuite/17_intro/header_cwchar.cc : Check.
2367 * include/c_std/bits/std_cwctype.h: Inject wctype.
2368 * testsuite/17_intro/header_cwctype.cc: Update.
2370 2001-06-18 Benjamin Kosnik <bkoz@redhat.com>
2372 * include/bits/stl_raw_storage_iter.h: Format. Correct derivation.
2373 * testsuite/20_util/raw_storage_iterator.cc: Same.
2375 * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to
2377 (__mem_interface): New typedef for switching between malloc and new.
2378 * testsuite/20_util/allocator_members.cc: New file.
2380 * testsuite/20_util/comparisons.cc: New file.
2381 * testsuite/20_util/pairs.cc: New file.
2383 2001-06-15 Phil Edwards <pme@sources.redhat.com>
2385 * docs/html/documentation.html: Point to new doxygen'ed collection.
2387 2001-06-14 Nathan Sidwell <nathan@codesourcery.com>
2389 * configure.in (auxdir): Replace by ...
2390 (toprel): ... new variable.
2391 (toplevel_srcdir): Construct from $toprel.
2392 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
2393 rather than .. to locate gcc source directory.
2394 (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
2395 * aclocal.m4, configure: Rebuilt.
2397 2001-06-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
2399 (Approved by Mark and Benjamin. Applied by Loren.)
2401 * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
2402 _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
2403 and _GLIBCPP_mutex_address.
2404 * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
2405 once-only runtime initialization of _M_lock mutex when
2406 __GTHREAD_MUTEX_INIT_FUNCTION is defined.
2407 (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
2408 for __GTHREAD_MUTEX_INIT_FUNCTION case.
2410 2001-06-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2412 * testsuite/26_numerics/slice_array_assignment.cc (main): New test.
2414 * include/bits/slice_array.h (slice_array<>::operator=): Make
2415 public and implement.
2416 (slice_array<>::slice_array): Make copy-constructor public.
2418 * include/bits/valarray_array.h (__valarray_copy): Add another
2419 overload to copy between strided arrays.
2421 2001-06-13 Benjamin Kosnik <bkoz@redhat.com>
2423 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
2424 * aclocal.m4: Regenerate.
2425 * configure: Regenerate.
2426 * include/bits/c++config (__GLIBCPP__): Update date.
2428 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
2430 * include/bits/fpos.h (fpos::operator-): Don't return reference,
2431 return original, non-modified version.
2432 (fpos::operator+): Same.
2433 * testsuite/27_io/fpos.cc: Add test.
2435 2001-06-12 Loren J. Rittle <ljrittle@acm.org>
2438 * porting.texi: Add documentation about libstdc++-v3-specific
2439 macros that are currently included in os_defines.h files.
2441 * config/basic_file_stdio.h (sys_getc): New method.
2442 (sys_ungetc): New method.
2443 * include/bits/basic_file.h: (sys_getc): New method signature.
2444 (sys_ungetc): New method signature.
2446 * include/bits/fstream.tcc (underflow): Add conditional code
2447 paths which avoid using short seeks on streams (especially
2448 useful when the stream might be interactive or a pipe). At
2449 the moment, this alternate path only avoids seeking when the
2450 ``buffer size'' of underflow() is 1 since the C standard only
2451 guarantees buffer space for one ungetc (this technique could
2452 be extended since *-*-solaris* supports buffering for 4 calls
2453 to ungetc and *-*-*bsd* supports buffering limited only by
2454 memory resources). Also, _GLIBCPP_AVOID_FSEEK must be defined
2455 in a port's os_defines.h file for this alternate path to even
2456 be considered. As a bonus, the idiom of using getc/ungetc
2457 requires no system calls whereas fseek maps to one or two
2458 system call(s) on many platforms.
2460 * config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
2462 * config/os/solaris/solaris2.5/bits/os_defines.h
2463 (_GLIBCPP_AVOID_FSEEK): Likewise.
2464 * config/os/solaris/solaris2.6/bits/os_defines.h
2465 (_GLIBCPP_AVOID_FSEEK): Likewise.
2466 * config/os/solaris/solaris2.7/bits/os_defines.h
2467 (_GLIBCPP_AVOID_FSEEK): Likewise.
2469 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
2471 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change to
2472 AC_TRY_COMPILE, so that the built compiler is checked, and
2473 bootstraps or cross compiles with an older compile still work.
2474 * aclocal.m4: Regenerate.
2475 * configure: Regenerate.
2477 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
2480 * include/bits/std_sstream.h: Add allocator_type, as per DR 251.
2483 * include/bits/istream.tcc (getline, get): Fix as per DR 243.
2486 * include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
2489 * include/bits/limits_generic.h: Fix as per DR 184.
2491 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
2494 * include/bits/basic_string.h (string::compare): Adjust signatures
2496 * include/bits/basic_string.tcc: And here.
2499 * config/c_io_stdio.h: Remove whitespace.
2500 * testsuite/27_io/istream_seeks.cc (test03): Add regression.
2501 (test02): Add regression.
2502 * testsuite/27_io/istream_seeks-3.tst: New file.
2504 2001-06-11 Phil Edwards <pme@sources.redhat.com>
2506 * README: Update to reflect reality.
2507 * acinclude.m4: Update descriptions, fix typos. Comment changes only.
2508 * configure.in: Make certain target_alias is set and subst'd for 2.50.
2509 * aclocal.m4: Regenerate.
2510 * configure: Regenerate (with 2.13).
2512 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
2515 * include/bits/ostream.tcc (ostream::seekp): Add error checking as
2517 * include/bits/istream.tcc (istream::seekg): Same.
2518 * testsuite/27_io/istream_seeks.cc: Fix.
2521 * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
2523 * include/bits/std_queue.h: Add c++config.h.
2524 * testsuite/20_util/binders.cc: New test.
2526 2001-06-11 Matthias Klose <doko@debian.org>
2527 Phil Edwards <pme@sources.redhat.com>
2529 * docs/doxygen/run_doxygen (find_doxygen): Tweak version check.
2530 (main script): Echo more information.
2532 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
2534 * include/c_std/bits/std_cwchar.h: Alphabetize.
2535 * include/bits/char_traits.h: Tweak.
2536 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
2537 everything used by std_cwchar.h.
2538 * aclocal.m4: Regenerate.
2539 * configure.in: Regenerate.
2540 * config.h.in: Regenerate.
2542 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
2544 * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
2545 Add checking for strtof, _Exit in stdlib.h
2546 * aclocal.m4: Regenerate.
2547 * configure.in: Regenerate.
2548 * include/c_std/bits/std_cstdio.h: Alphabetize lists.
2549 (snprintf): Put C99 functions into __gnu_cxx namespace.
2554 * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
2555 for C99 functions within _GLIBCPP_USE_C99 guard.
2559 * include/bits/locale_facets.tcc: Check if C99 is enabled.
2560 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
2562 * include/c_std/bits/cmath.tcc: Formatting tweak.
2563 * include/c_std/bits/std_cmath.h: Same.
2565 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
2567 * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
2569 2001-06-09 Alexandre Oliva <aoliva@redhat.com>
2570 Stephen L Moshier <moshier@mediaone.net>
2572 * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
2573 nothing, as in autoconf 2.50.
2574 * configure: Rebuilt.
2576 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
2578 * include/c_std/bits/std_cwchar.h: Remove size_t injection,
2579 include std_cstddef.
2580 * include/c_std/bits/std_ctime.h: Same.
2581 * include/c_std/bits/std_cstring.h: Same.
2582 * include/c_std/bits/std_cstdlib.h: Same.
2584 * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
2585 * include/c_std/bits/std_cctype.h: Remove isblank.
2587 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
2589 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
2591 * aclocal.m4: Regenerate.
2592 * configure: Regenerate.
2593 * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
2594 injection, guard fgetwc, fgetws.
2595 * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
2596 * include/c_std/bits/std_clocale.h: And here.
2597 * include/c_std/bits/std_cctype.h: And here.
2598 * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
2600 * config/basic_file_stdio.h: Don't include unistd.h.
2601 * config/c_io_stdio.h: Don't use compatibility headers.
2602 * libsupc++/eh_terminate.cc: Qualify abort.
2603 (__terminate): And here.
2604 * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
2606 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
2608 * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
2610 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
2615 * include/std/*: Add copyright notice.
2616 * include/c_std/bits/*: Use using statements instead of extern "C".
2617 * include/c_std/bits/std_cmath.h: Don't overload double versions
2618 of math functions with __buitin versions, use global version to
2619 prevent ambiguities. Remove define hacks.
2620 * include/c_std/bits/std_cwchar.h: Using declarations for "C"
2621 functions that have changed signatures and std::
2622 declarations. Remove define hacks.
2623 * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
2624 __builtins in std::. Remove define hacks.
2625 * testsuite/17_intro/headers_c.cc: Add tests.
2626 * testsuite/17_intro/headers_c++.cc: Add test.
2628 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
2629 John David Anglin <dave@hiauly1.hia.nrc.ca>
2632 * libsupc++/eh_alloc.cc: Ensure that required macros are
2633 defined before including gthr.h. Ensure that we get the
2634 version of gthr.h for which we know how to provide a
2636 * libsupc++/eh_globals.cc: Likewise. And, bring the threading
2637 code path into line with the current EH model. Use std, where
2640 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
2641 John David Anglin <dave@hiauly1.hia.nrc.ca>
2643 * config/threads-no.h: Remove file.
2644 * config/threads-posix.h: Remove file.
2646 * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
2647 (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
2648 (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
2649 * config.h.in: Regenerate.
2651 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
2652 setup and use gthr*.h files. In particular, make gthr.h files
2653 namespace-clean in the staging area (they don't have to be for
2655 * aclocal.m4: Regenerate.
2656 * configure: Regenerate.
2658 * src/Makefile.am (build_headers): Remove bits/c++threads.h
2659 and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
2660 * src/Makefile.in: Regenerate.
2662 * include/bits/c++config: Cleanup threading configuration macros.
2663 In particular, define __STL_GTHREADS macro which controls...
2664 * include/bits/stl_threads.h: ...a brand new gthr.h-based
2667 * config/c_io_stdio.h: Include staged gthr.h instead of local
2668 thread configuration file. Always use __gthread_mutex_t
2669 instead of __mutext_type (or int).
2670 * include/bits/std_fstream.h: Likewise.
2672 * docs/html/17_intro/howto.html: Remove placeholder comment in
2673 case this configuration patch didn't make it. Add advice that
2674 section only applies if configured with --enable-threads.
2675 * docs/html/23_containers/howto.html: Reword to make clear
2676 that _PTHREADS is no longer required for any port to be
2677 correctly using STL with threads. Add advice that section
2678 only applies if configured with --enable-threads.
2680 2001-06-06 Benjamin Kosnik <bkoz@redhat.com>
2682 * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
2684 2001-06-05 Benjamin Kosnik <bkoz@redhat.com>
2687 * include/bits/basic_ios.tcc: Formatting tweaks.
2688 * include/bits/ios_base.h: Formatting tweaks.
2689 * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
2690 (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
2691 * src/globals.cc: Allocate filebufs for standard streams here.
2692 (buf_cout, buf_cin, buf_cerr): Like so.
2693 (buf_wcout, buf_wcin, buf_wcerr): And so.
2694 * testsuite/27_io/ios_init.cc: Add.
2696 2001-06-04 Brendan Kehoe <brendan@zen.org>
2697 Benjamin Kosnik <bkoz@redhat.com>
2700 * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
2701 for generic ctype virtuals.
2702 * src/locale.cc: Minor tweaks, naming consistency.
2703 * testsuite/22_locale/ctype.cc: Add test.
2705 2001-06-04 Kenny Simpson <theonetruekenny@yahoo.com>
2706 Phil Edwards <pme@sources.redhat.com>
2708 PR libstdc++/3035 and PR libstdc++/3036
2709 * include/bits/stl_pair.h: Fix pair ctor and make_pair according
2710 to LWG DR 181 and 265.
2712 2001-06-04 Phil Edwards <pme@sources.redhat.com>
2715 * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
2716 equal_range): Add const overloads as per LWG DR 214.
2717 * include/bits/stl_set.h: Likewise.
2719 2001-06-04 Brendan Kehoe <brendan@zen.org>
2720 Phil Edwards <pme@sources.redhat.com>
2723 * include/bits/std_bitset.h (bitset::test): Fix __pos >= _Nb
2724 comparison; all positions must be < _Nb.
2725 * testsuite/23_containers/bitset_members.cc: New file.
2727 2001-06-04 Brendan Kehoe <brendan@zen.org>
2730 * include/bits/stl_queue.h (classes queue, priority_queue): Fix
2731 ctors to match the standard.
2733 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
2735 * include/bits/char_traits.h (move): Reverse qualification of
2737 (copy): Reverse qualification of memcpy with std::.
2739 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
2741 * include/bits/char_traits.h (move): Qualify memmove with std::.
2742 (copy): Qualify memcpy with std::.
2743 * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
2746 * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
2748 2001-06-04 Hans-Peter Nilsson <hp@axis.com>
2750 * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
2751 uninstall-glibcppinstallHEADERS): Have explicit rules catering to
2752 SUN make VPATH peculiarities.
2753 * libsupc++/Makefile.in: Regenerate.
2755 2001-06-01 Hans-Peter Nilsson <hp@axis.com>
2757 * src/Makefile.am (VPATH): Delimit with ":", not space.
2758 * src/Makefile.in: Regenerate.
2760 * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
2762 * configure: Regenerate.
2764 2001-05-31 scott snyder <snyder@fnal.gov>
2767 * include/bits/istream.tcc: Include std_ostream.h.
2769 2001-05-31 Benjamin Kosnik <bkoz@redhat.com>
2772 * src/bitset.cc: Qualify size_t with std::.
2774 2001-05-30 Benjamin Kosnik <bkoz@redhat.com>
2776 * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
2777 (_GLIBCPP_BUGGY_COMPLEX): Remove.
2778 * config.h.in: Regenerate.
2779 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
2780 * aclocal.m4: Regenerate.
2781 * configure.in: Don't call it.
2782 * configure: Regenerate.
2785 * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
2786 * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
2790 * include/bits/std_complex.h: Include sstream. Put definitions for
2791 complex inserters and extractors here, and remove them from...
2792 * src/complex_io.cc: ...here.
2793 * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
2795 (basic_ios::__numget_type): Same.
2796 * include/bits/std_istream.h: Same.
2797 * include/bits/std_ostream.h: Same.
2798 * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
2799 class iterator template arguments.
2800 * src/locale-inst.cc: Add explicit has_facet instantiations.
2801 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
2802 (_M_get_fnumput): Remove.
2803 (_M_get_fnumget): Remove.
2804 (basic_ios::_M_check_facet): New function.
2805 (basic_ios::_M_cache_facets): New function.
2806 * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
2807 (basic_ios::imbue): Call _M_cache_facets.
2808 (basic_ios::init): Same.
2809 * include/bits/istream.tcc: Format, use _M_check_facet.
2810 * include/bits/ostream.tcc: Same.
2811 * include/bits/locale_facets.tcc (__output_float): Change
2812 signature, add _Traits.
2813 * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
2816 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
2818 * include/bits/c++config (__USE_MALLOC): Do not define it.
2819 Document why not and give pointers to more information.
2821 * docs/html/23_containers/howto.html: Update documentation
2822 to reflect recent understanding of problem.
2823 * docs/html/17_intro/howto.html: Likewise.
2825 2001-05-30 Phil Edwards <pme@sources.redhat.com>
2827 * docs/doxygen/user.cfg.in: Minor addition.
2828 * docs/html/documentation.html: Reorganize. Put most-looked-at
2830 * docs/html/install.html: Update for 3.0. HTML fixups.
2831 * docs/html/17_intro/howto.html: Likewise.
2832 * docs/html/18_support/howto.html: Likewise.
2833 * docs/html/19_diagnostics/howto.html: Likewise.
2834 * docs/html/20_util/howto.html: Likewise.
2835 * docs/html/23_containers/howto.html: Likewise.
2836 * docs/html/24_iterators/howto.html: Likewise. More notes.
2837 * docs/html/25_algorithms/howto.html: Likewise.
2838 * docs/html/26_numerics/howto.html: Likewise. More notes.
2839 * docs/html/27_io/howto.html: Likewise.
2840 * docs/html/ext/howto.html: Likewise.
2841 * docs/html/faq/index.html: Likewise.
2842 * docs/html/faq/index.txt: Regenerate.
2843 * docs/html/27_io/iostreams_hierarchy.pdf: Remove in favor of
2844 Doxygen-created documentation.
2846 2001-05-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2848 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
2849 get_multilibs to find gcc.
2851 2001-05-30 Phil Edwards <pme@sources.redhat.com>
2853 * acinclude.m4 (GLIBCPP_ENABLE_C99): Reorder output messages.
2854 * aclocal.m4: Regenerate.
2855 * configure: Regenerate.
2857 2001-05-29 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2859 * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
2860 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
2862 2001-05-27 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2864 * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
2865 * include/c_std/bits/std_cstdlib.h: Same.
2866 * include/c_std/bits/std_cwchar.h: Same.
2868 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
2870 * docs/html/17_intro/howto.html: Update link.
2871 * docs/html/23_containers/howto.html: Likewise. Add new link.
2873 2001-05-26 Gabriel Dos Reis <gdr@codesourcery.com>
2875 * include/c_std/bits/std_cmath.h (sqrt): #undef.
2877 2001-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2879 * mknumeric_limits: Stop if gen-num-limits dies.
2881 2001-05-25 Benjamin Kosnik <bkoz@redhat.com>
2884 * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
2885 * aclocal.m4: Regenerate.
2888 2001-05-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2889 Phil Edwards <pme@sources.redhat.com>
2890 Alexandre Oliva <aoliva@redhat.com>
2892 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
2893 in an amd-safe manner. Revert glibcpp_prefixdir.
2895 2001-05-25 Gabriel Dos Reis <gdr@codesourcery.com>
2897 * include/c_std/bits/std_cmath.h: Tweak. #define away abs, cos,
2898 fabs, sin, sqrt. They are now implemented in terms of __builtin_
2901 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
2904 * testsuite/21_strings/inserters_extractors.cc (test09): New test.
2905 * include/bits/ostream.tcc: Format to match istream.tcc.
2906 (operator<<(basic_ostream __out, const basic_string __s)): Fix.
2908 2001-05-24 Phil Edwards <pme@sources.redhat.com>
2910 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Qualify
2912 (__cxa_free_exception): Likewise with free.
2914 2001-05-24 Mark Mitchell <mark@codesourcery.com>
2916 * include/c_std/bin/std_cstring.h: #define away all global
2917 functions we will redeclare in namespace `std'.
2918 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
2919 std::memset, instead of memset.
2920 * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
2922 * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
2925 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
2928 * include/bits/basic_ios.tcc: Small tweak.
2929 * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
2930 ctors and dtors, and rdbuf settings.
2933 * include/bits/std_sstream.h: Same, but for stringstream classes.
2934 * testsuite/27_io/ostringstream_members.cc: New.
2935 * testsuite/27_io/stringstream_members.cc: New.
2936 * testsuite/27_io/fstream_members.cc: New.
2937 * testsuite/27_io/ifstream_members.cc: Add test.
2938 * testsuite/27_io/istringstream_members.cc: Add test.
2939 * testsuite/27_io/ofstream_members.cc: Add test.
2941 2001-05-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2943 * include/bits/c++config(__NO_MATH_INLINES): Move to...
2944 * config/os/gnu-linux/bits/os_defines.h: ...here.
2946 2001-05-24 Gabriel Dos Reis <gdr@codesourcery.com>
2948 * include/bits/c++config (__NO_MATH_INLINES): New macro.
2949 * testsuite/26_numerics/fabs_inline.cc (main): New test.
2951 2001-05-22 Benjamin Kosnik <bkoz@redhat.com>
2954 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
2956 (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
2957 (libstdc++-v3-finish): Remove.
2958 (libstdc++-v3_exit): Remove.
2960 2001-05-22 Phil Edwards <pme@sources.redhat.com>
2962 * docs/html/documentation.html: Point to doxygen output.
2964 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
2966 * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
2968 * include/bits/std_sstream.h (stringbuf::setbuf): Require both
2969 arguments to be non-null.
2970 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
2971 try allocations if allocated size is greater than zero.
2972 (filebuf::_M_filebuf_init): Change to
2973 (filebuf::_M_allocate_file): Which is what it does now.
2974 (filebuf::_M_allocate_bufers): Change to
2975 (filebuf::_M_allocate_internal_buffer): This, and create
2976 (filebuf::_M_allocate_pback_buffer): New.
2977 (filebuf::_M_destroy_internal_buffer): New.
2978 (filebuf::_M_buf_allocated): New data member.
2979 (filebuf::setbuf): Use new logic, allow use of external buffer.
2980 * testsuite/27_io/stringbuf_virtuals.cc: New file.
2981 * testsuite/27_io/filebuf_virtuals.cc: New file.
2983 2001-05-21 Stephen M. Webb <stephen@bregmasoft.com>
2985 * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
2987 (strchr): Same, but to __glibcpp_strchr.
2991 * include/c_std/bits/std_cwchar.h (wcschr): Same.
2997 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
2999 * testsuite/21_strings/c_strings.cc (main): Fix.
3001 2001-05-19 Phil Edwards <pme@sources.redhat.com>
3003 * acinclude.m4: Fix --help spacing, correct comments.
3004 * aclocal.m4: Regenerate.
3005 * configure: Regenerate.
3006 * mkcheck.in: Add usage comments.
3007 * docs/html/documentation.html: Point to doxygen'd tarball.
3009 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
3011 * testsuite/README: Add notes.
3013 * src/Makefile.am (libstdc++.INC): Remove.
3014 * src/Makefile.in: Regenerate.
3016 Phil Edwards <pedwards@disaster.jaj.com>
3017 * mkcheck.in: Add missing '#'.
3019 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
3021 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
3022 appropriately for remote testing and testing installed files without
3025 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
3027 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
3028 amd glibcpp_prefixdir with absolute paths.
3030 * include/bits/c++config (__GLIBCPP__): Bump.
3031 * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
3033 2001-05-18 Gabriel Dos Reis <gdr@codesourcery.com>
3035 * include/bits/std_valarray.h (valarray<>::operator[] const):
3036 Return a const reference.
3037 * testsuite/26_numerics/valarray_const_bracket.cc: New test.
3039 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
3041 * configure.target (ATOMICITYH): Actually use AIX-specific code on
3042 earlier versions of AIX 4.*.
3044 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
3046 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set
3047 output_file based on the name of the testcase.
3049 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
3051 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Build
3052 gluefile and use it if needs_status_wrapper is set.
3054 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
3056 * configure.target (ATOMICITYH): Use cpu/generic code on earlier
3059 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
3061 * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
3062 on earlier versions of AIX.
3064 2001-05-15 Benjamin Kosnik <bkoz@redhat.com>
3066 * testsuite_flags.in (query): Add backwards, ext directories.
3068 2001-05-15 Mark Mitchell <mark@codesourcery.com>
3070 * porting.texi: Correct documentation about handling
3071 _LARRGEFILE_SOURCE and its ilk.
3072 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
3073 definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
3075 * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
3076 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
3078 2001-05-15 Zack Weinberg <zackw@stanford.edu>
3080 * testsuite/21_strings/inserters_extractors.cc,
3081 testsuite/27_io/istream_unformatted.cc,
3082 testsuite/27_io/stringstream.cc:
3083 Replace multi-line string constants with C89-style
3084 concatenated string constants.
3086 2001-05-14 Richard Henderson <rth@redhat.com>
3088 * mknumeric_limits: Build with -fno-exceptions.
3090 2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
3092 Switch over to new harness.
3093 * testsuite_flags.in: Tweaks via Gaby.
3094 * testsuite/Makefile.am: Change tool to libstdc++-v3.
3095 (EXPECT): Quote directly.
3097 * configure.in: Output testsuite_flags.
3098 * acinclude.m4: Substitute src, bld, and prefix dirs.
3099 Remove glibcpp_expect, glibcpp_runtestflags.
3100 * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
3101 * mkcheck.in: Port to new interface.
3103 * aclocal.m4: Regerate.
3104 * configure: Regnerate.
3105 * Makefile.in: Regnerate.
3106 * */Makefile.in: Regenerate.
3108 * tests_flags.in: Remove.
3109 * testsuite/lib/libstdc++.exp: Remove.
3110 * testsuite/libstdc++.tests/tests.exp: Remove.
3112 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
3114 * configure.target: Remove detection of AIX pthread multilib, now
3115 obtained from `gcc -v'.
3117 2001-05-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
3119 * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
3120 size. Add hpux case for HP size.
3122 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
3124 * testsuite_flags.in: New, simplified interface.
3125 * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
3126 * testsuite/libstdc++-v3.dg: Add.
3127 * testsuite/libstdc++-v3.dg/dg.exp: Add.
3129 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
3131 * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
3132 * testsuite/config/default.exp: Update bugs email address.
3134 2001-05-11 Richard Henderson <rth@redhat.com>
3136 * libsupc++/eh_personality.cc: Include unwind-pe.h. Remove
3137 all pointer encoding logic.
3138 (struct lsda_header_info): Add ttype_base.
3139 (get_ttype_entry): Use it instead of a context.
3140 (check_exception_spec): Likewise.
3141 (PERSONALITY_FUNCTION): Initialize ttype_base. Store it in
3142 the c++ exception header for __cxa_call_unexpected.
3143 (__cxa_call_unexpected): Use it.
3145 2001-05-09 Benjamin Kosnik <bkoz@redhat.com>
3147 * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
3148 libgloss_link_flags to find crt0.o for targets that use libgloss
3150 Change LDFLAGS to LIBS.
3151 Consistently name procedures libstdc++-XXX.
3152 * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
3154 2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
3156 * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
3161 * include/c_std/bits/std_cwchar.h (wcschr): Same.
3166 * testsuite/21_strings/c_strings.cc: Add tests.
3168 2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
3171 * include/bits/std_fstream.h (basic_filebuf): Change signature.
3172 * include/bits/fstream.tcc (basic_filebuf): Change bool argument
3173 to int_type, pass in buffer size info.
3174 * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
3175 unbuffered situation.
3176 (underflow): Remove codecvt bits for the time being.
3177 * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
3178 * include/bits/locale_facets.tcc (_M_extract): Cache dereference
3179 values from iterators, clean.
3180 * src/locale.cc: Ditto.
3181 * include/bits/sbuf_iter.h: Format.
3182 * src/ios.cc: Explicitly pass in buffer sizes at creation time.
3183 * testsuite/27_io/narrow_stream_objects.cc: Add tests.
3184 * testsuite/27_io/filebuf.cc: Tweaks.
3185 * testsuite/27_io/filebuf_members.cc: Tweaks.
3187 2001-05-07 Mark Mitchell <mark@codesourcery.com>
3189 * config/os/solaris/solaris2.7/bits/os_defines.h
3190 (_LARGEFILE_SOURCE): Define it.
3192 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
3194 * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
3195 -prefer-non-pic depending on whether libtool has shared libraries
3196 enabled or disabled.
3197 * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
3198 $(LIBSUPCXX_PICFLAGS).
3199 * configure, */Makefile.in: Rebuilt.
3201 2001-05-01 Benjamin Kosnik <bkoz@redhat.com>
3203 * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
3204 * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
3206 * include/bits/std_sstream.h (stringbuf): Leak
3208 * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
3210 2001-05-01 Tom Browder <tbrowder@home.com>
3212 * docs/html/ext/howto.html: Fix typo.
3214 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
3216 * testsuite/libstdc++.tests/tests.exp: Add comment.
3218 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
3220 * testsuite/libstdc++.tests/tests.exp: Set ulimits.
3222 2001-04-30 Mark Mitchell <mark@codesourcery.com>
3224 * porting.texi: Use the GFDL.
3226 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
3229 * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
3230 * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
3233 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
3236 * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
3238 2001-04-28 Phil Edwards <pme@sources.redhat.com>
3240 * docs/doxygen/run_doxygen: Minor tweaks.
3241 * docs/doxygen/style.css: New file.
3242 * docs/doxygen/user.cfg.in: Update using "doxygen -u" to get the
3243 latest parameters available. Use style.css.
3245 2001-04-27 Benjamin Kosnik <bkoz@redhat.com>
3247 * docs/doxygen/mainpage.doxy: New.
3248 * docs/doxygen/user.cfg.in: Change default configuration. Single
3249 frame, other tweaks.
3251 2001-04-26 Mark Mitchell <mark@codesourcery.com>
3253 * docs/html/17_intro/BADNAMES: Remove EGCS reference.
3254 Indicate obsolete nature of thelist for G++ 3.0.
3256 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
3258 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
3259 target_thread_file with `gcc -v'.
3260 * aclocal.m4, configure: Rebuilt.
3262 2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
3264 * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
3265 * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
3266 * include/c_std/bits/std_cwchar.h (std): Same.
3267 * acconfig.h (std): Remove c99 injection into std.
3268 * config.h.in: Regenerate.
3270 * testsuite/README: Fix typo.
3272 * include/bits/codecvt.h: Remove warnings.
3274 2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3276 * include/ext/slist: Include required header files.
3278 2001-04-23 Loren J. Rittle <ljrittle@acm.org>
3280 * include/c_std/bits/std_cerrno.h (errno): Define macro from
3281 identifier declared with external linkage, if needed.
3282 * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
3283 * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
3285 2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
3287 * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
3288 re-configures find the build compiler.
3289 (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
3291 * aclocal.m4: Regenerate.
3292 * configure: Regenerate.