1 2001-11-24 Joseph S. Myers <jsm28@cam.ac.uk>
3 * docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
4 docs/html/27_io/binary_iostreams_kuehl.txt: Revert previous
7 2001-11-23 Phil Edwards <pme@gcc.gnu.org>
9 * Makefile.am (doxygen-maint): The script isn't executable in CVS.
10 * Makefile.in: Regenerated.
11 * docs/doxygen/TODO: New file listing doxygen work to be done.
12 * docs/doxygen/run_doxygen: Fix up man pages.
13 * docs/doxygen/user.cfg.in: Insert maint-only toggles.
14 * docs/doxygen/maint.cfg.in: Copy from user.cfg and turn toggles on.
15 * include/bits/stl_construct.h: Use new hooks for internal functions.
17 * docs/html/17_intro/TODO: Small updates.
18 * docs/html/faq/index.html: Likewise.
19 * docs/html/faq/index.txt: Regenerated.
21 * include/bits/stl_alloc.h: Doxygenate, reindent comments, remove
22 SGI-isms and wrappers.
23 (simple_alloc, debug_alloc): Uglify class names.
24 (__default_alloc_template): Uglify "threads" template parameter and
25 update corresponding macros.
26 * include/backward/alloc.h: Bring up to date.
28 2001-11-23 Jason Merrill <jason@redhat.com>
30 * src/vterminate.cc (__verbose_terminate_handler): Add leading
33 2001-11-23 Joseph S. Myers <jsm28@cam.ac.uk>
35 * ChangeLog, docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
36 docs/doxygen/doxygroups.cc, docs/doxygen/Intro.3,
37 docs/html/17_intro/BUGS, docs/html/17_intro/C++STYLE,
38 docs/html/17_intro/CHECKLIST, docs/html/17_intro/DESIGN,
39 docs/html/17_intro/howto.html, docs/html/17_intro/porting.html,
40 docs/html/17_intro/porting.texi, docs/html/18_support/howto.html,
41 docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
42 docs/html/21_strings/howto.html,
43 docs/html/23_containers/howto.html,
44 docs/html/26_numerics/howto.html, docs/html/27_io/howto.html,
45 docs/html/27_io/binary_iostreams_kuehl.txt,
46 docs/html/ext/sgiexts.html, docs/html/faq/index.html,
47 docs/html/faq/index.txt, testsuite/24_iterators/iterator.cc,
48 include/bits/basic_file.h, include/bits/locale_facets.h,
49 include/bits/locale_facets.tcc, include/bits/std_sstream.h,
50 include/ext/ropeimpl.h, include/ext/stl_rope.h,
51 libsupc++/tinfo.cc, libsupc++/cxxabi.h, libsupc++/typeinfo,
52 libsupc++/eh_throw.cc, acinclude.m4, aclocal.m4, configure,
53 configure.target, ChangeLog-2000: Fix spelling errors.
55 * config/locale/moneypunct_members_gnu.cc,
56 include/bits/locale_facets.h: Fix spelling errors.
58 2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
60 * testsuite/23_containers/list_capacity.cc: New file.
61 * testsuite/23_containers/list_ctor.cc: New file.
62 * testsuite/23_containers/list_modifiers.cc: New file.
63 * testsuite/23_containers/list_operators.cc: New file.
65 2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
67 * include/bits/stl_list.h: Reformatted according to C++STYLE rules.
68 (size): Replaced nonstandard distance() call with the standard one.
69 (transfer): Uglified to _M_transfer.
71 2001-11-21 Paolo Carlini <pcarlini@unitus.it>
74 * include/bits/basic_string.tcc (basic_string::reserve): Never shrink
75 below the current size.
76 * testsuite/21_strings/capacity.cc (test02): Add test.
78 2001-11-19 Phil Edwards <pme@gcc.gnu.org>
80 * docs/doxygen/Intro.3: More notes.
81 * docs/doxygen/style.css: Update to default style from Doxygen 1.2.10.
82 * include/bits/stl_algobase.h: Add doxygen hooks for functions.
83 * include/ext/hash_map: Add @file hook.
84 * include/ext/hash_set: Likewise.
85 * include/ext/rope: Likewise.
86 * include/ext/ropeimpl.h: Likewise.
87 * include/ext/slist: Likewise.
88 * include/ext/stl_hash_fun.h: Likewise.
89 * include/ext/stl_hashtable.h: Likewise.
90 * include/ext/stl_rope.h: Likewise.
92 * docs/html/17_intro/license.html: Remove "experimental" sentence.
93 * docs/html/19_diagnostics/howto.html: Document new verbose
95 * testsuite/27_io/filebuf.cc: Fix comment, move tweakable parameter
96 to more visible (closer to description) position.
98 * libsupc++/eh_type.cc: Formatting tweak.
99 * libsupc++/exception: Likewise.
100 * src/vterminate.cc: Likewise.
102 * docs/html/17_intro/porting.html: Regenerate.
103 * docs/html/faq/index.txt: Regenerate.
105 2001-11-18 Jason Merrill <jason@redhat.com>
107 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Take void*.
108 * libsupc++/eh_catch.cc (__cxa_begin_catch): Likewise.
109 * libsupc++/unwind-cxx.h: Adjust.
110 * src/Makefile.am (strstream.o): Pass -Wno-deprecated.
112 * libsupc++/eh_type.cc (__cxa_current_exception_type): New file.
113 * libsupc++/cxxabi.h: Declare it.
114 * libsupc++/Makefile.am (sources): Add it.
115 * src/vterminate.cc (verbose_terminate_handler): New file.
116 * libsupc++/exception: Declare it.
117 * src/Makefile.am (sources): Add it.
119 * src/Makefile.am (VPATH): Check the src directory before the top one.
121 2001-11-16 Paolo Carlini <pcarlini@unitus.it>
123 * include/bits/stl_deque.h (deque::erase()): Fix memory leak.
125 2001-11-16 Loren J. Rittle <ljrittle@acm.org>
127 * docs/html/17_intro/howto.html (Thread-safety): Rename
128 section to ``The Standard C++ library and multithreading'' and
129 update information based on recent mailing list traffic. Move
130 all discussion of __USE_MALLOC to...
131 * docs/html/23_containers/howto.html (Containers and multithreading):
132 ...here and rework it based on recent mailing list traffic.
134 2001-11-15 Loren J. Rittle <ljrittle@acm.org>
136 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Clarify
139 2001-11-15 <bjornw@planetarion.com>
140 Loren J. Rittle <ljrittle@acm.org>
143 * include/bits/stl_alloc.h (alloc): Update to use __mem_interface.
144 (single_client_alloc): Likewise.
146 2001-11-08 Danny Smith <dannysmith@users.sourceforge.net>
148 * configure.target: Add os_include_dir for mingw32* target.
149 * docs/html/17_intro/porting.texi: Mention mingw32 as target benefiting
150 from _GLIBCPP_AVOID_FSEEK.
151 * config/os/mingw32/bits/ctype_base.h: New file.
152 * config/os/mingw32/bits/ctype_inline.h: New file.
153 * config/os/mingw32/bits/ctype_noninline.h: New file.
154 * config/os/mingw32/bits/os_defines.h: New file.
156 2001-11-07 Nathan Myers <ncm@cantrip.org>
158 * docs/html/faq/index.html (5.8): New entry on ABIs.
159 * docs/html/faq/index.txt: Regenerate.
161 2001-11-07 Phil Edwards <pme@gcc.gnu.org>
163 * docs/html/faq/index.html: Explain libsupc++, mention 'long long'
165 * docs/html/faq/index.txt: Regenerate.
167 2001-11-06 Phil Edwards <pme@gcc.gnu.org>
169 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Run the test in
171 * aclocal.m4: Regenerate.
172 * configure: Regenerate.
174 2001-11-05 Phil Edwards <pme@gcc.gnu.org>
176 * porting.texi: Move...
177 * docs/html/17_intro/porting.texi: ...to here.
178 * docs/html/Makefile: Add rule to rebuild...
179 * docs/html/17_intro/porting.html: ...this. New file.
181 2001-11-05 Felix Natter <fnatter@gmx.net>
183 * docs/html/17_intro/porting-howto.xml: check in v0.9.4
184 * docs/html/17_intro/porting-howto.html: regenerate
186 2001-11-02 Loren J. Rittle <ljrittle@acm.org>
188 * include/bits/stl_threads.h (_Atomic_swap): Only enable path
189 when platform supports __GTHREAD_MUTEX_INIT.
191 2001-11-02 Phil Edwards <pme@gcc.gnu.org>
193 * acconfig.h: Update comments.
194 * acinclude.m4 (GLIBCPP_ENABLE_C99): Move strtoll, strtoull tests...
195 (GLIBCPP_ENABLE_LONG_LONG): ...to here. Don't check enable_c99.
196 * aclocal.m4: Regenerate.
197 * config.h.in: Regenerate.
198 * configure: Regenerate.
200 * include/bits/boost_concept_check.h: Unconditionally compile uses
201 of 'long long' which require only compiler support, not C lib support.
202 * include/bits/cpp_type_traits.h: Likewise.
203 * include/bits/std_limits.h: Likewise.
204 * include/bits/type_traits.h: Likewise.
205 * src/concept-inst.cc: Likewise.
206 * src/limits.cc: Likewise.
207 * include/c_shadow/stdlib.h: Compile conditionally on _GLIBCPP_USE_C99
208 instead of _GLIBCPP_USE_LONG_LONG.
209 * include/c_shadow/bits/std_cstdlib.h: Likewise.
211 2001-11-02 Phil Edwards <pme@gcc.gnu.org>
213 * config/io/c_io_stdio.h: Correct grammar in comments.
214 * docs/doxygen/Intro.3: Expand "top-level" man page.
215 * docs/doxygen/doxygroups.cc: New module definitions (comments).
216 * docs/doxygen/mainpage.doxy: Tweaks.
217 * docs/doxygen/run_doxygen: Update Doxygen version, massage man pages.
219 Add @file hooks so that headers are considered to be documented.
220 * include/bits/basic_ios.h, include/bits/basic_file.h,
221 include/bits/basic_string.h, include/bits/boost_concept_check.h,
222 include/bits/char_traits.h, include/bits/codecvt.h,
223 include/bits/concept_check.h, include/bits/cpp_type_traits.h,
224 include/bits/fpos.h, include/bits/gslice.h, include/bits/gslice_array.h,
225 include/bits/indirect_array.h, include/bits/ios_base.h,
226 include/bits/locale_facets.h, include/bits/localefwd.h,
227 include/bits/mask_array.h, include/bits/pthread_allocimpl.h,
228 include/bits/slice.h, include/bits/slice_array.h,
229 include/bits/std_algorithm.h, include/bits/std_bitset.h,
230 include/bits/std_complex.h, include/bits/std_deque.h,
231 include/bits/std_fstream.h, include/bits/std_functional.h,
232 include/bits/std_iomanip.h, include/bits/std_ios.h,
233 include/bits/std_iosfwd.h, include/bits/std_iostream.h,
234 include/bits/std_istream.h, include/bits/std_iterator.h,
235 include/bits/std_limits.h, include/bits/std_list.h,
236 include/bits/std_locale.h, include/bits/std_map.h,
237 include/bits/std_memory.h, include/bits/std_numeric.h,
238 include/bits/std_ostream.h, include/bits/std_queue.h,
239 include/bits/std_set.h, include/bits/std_sstream.h,
240 include/bits/std_stack.h, include/bits/std_streambuf.h,
241 include/bits/std_string.h, include/bits/std_utility.h,
242 include/bits/std_valarray.h, include/bits/std_vector.h,
243 include/bits/stl_algo.h, include/bits/stl_alloc.h,
244 include/bits/stl_bvector.h, include/bits/stl_construct.h,
245 include/bits/stl_deque.h, include/bits/stl_heap.h,
246 include/bits/stl_iterator.h, include/bits/stl_iterator_base_funcs.h,
247 include/bits/stl_iterator_base_types.h, include/bits/stl_list.h,
248 include/bits/stl_map.h, include/bits/stl_multimap.h,
249 include/bits/stl_multiset.h, include/bits/stl_numeric.h,
250 include/bits/stl_pair.h, include/bits/stl_pthread_alloc.h,
251 include/bits/stl_queue.h, include/bits/stl_raw_storage_iter.h,
252 include/bits/stl_relops.h, include/bits/stl_set.h,
253 include/bits/stl_stack.h, include/bits/stl_tempbuf.h,
254 include/bits/stl_threads.h, include/bits/stl_tree.h,
255 include/bits/stl_uninitialized.h, include/bits/stl_vector.h,
256 include/bits/stream_iterator.h, include/bits/streambuf_iterator.h,
257 include/bits/stringfwd.h, include/bits/type_traits.h,
258 include/bits/valarray_array.h, include/bits/valarray_meta.h:
259 Add hooks, tweak comments only.
261 * include/bits/stl_algobase.h (swap, min, iter_swap): Also
262 document these functions.
263 * include/bits/stl_function.h: Tweak link comments.
265 2001-11-01 Paolo Carlini <pcarlini@unitus.it>
266 Benjamin Kosnik <bkoz@redhat.com>
268 * testsuite/27_io/ios_manip_fmtflags.cc: Fix for non-interactive
270 * include/bits/locale_facets.tcc (num_put::do_put(bool)): Fix.
272 2001-11-01 Egor Duda <deo@logos-m.ru>
274 * config/os/newlib/bits/ctype_noninline.h
275 (ctype<char>::do_toupper(char __c)): Check for proper character class.
276 (ctype<char>::do_tolower(char __c)): Ditto.
278 2001-11-01 Phil Edwards <pme@gcc.gnu.org>
280 * acinclude.m4: Fix spacing.
281 (GLIBCPP_ENABLE_CONCEPT_CHECKS): New macro.
282 * configure.in: Call here.
283 * acconfig.h: Add _GLIBCPP_CONCEPT_CHECKS.
284 * include/bits/boost_concept_check.h: Fix headers.
285 (__function_requires): Make inline.
286 * include/bits/c++config (_GLIBCPP_CONCEPT_CHECKS): Remove.
287 * aclocal.m4: Regenerate.
288 * config.h.in: Regenerate.
289 * configure: Regenerate.
291 Move trailing ';' inside macro, PR libstdc++/3666.
292 * include/bits/concept_check.h: Add semicolon.
293 * include/bits/stl_algo.h: Remove semicolon.
294 * include/bits/stl_algobase.h: Likewise.
295 * include/bits/stl_deque.h: Likewise.
296 * include/bits/stl_heap.h: Likewise.
297 * include/bits/stl_iterator_base_funcs.h: Likewise.
298 * include/bits/stl_list.h: Likewise.
299 * include/bits/stl_map.h: Likewise.
300 * include/bits/stl_multimap.h: Likewise.
301 * include/bits/stl_multiset.h: Likewise.
302 * include/bits/stl_numeric.h: Likewise.
303 * include/bits/stl_queue.h: Likewise.
304 * include/bits/stl_set.h: Likewise.
305 * include/bits/stl_stack.h: Likewise.
306 * include/bits/stl_vector.h: Likewise.
307 * include/ext/hash_map: Likewise.
308 * include/ext/hash_set: Likewise.
309 * include/ext/slist: Likewise.
311 * src/concept-inst.cc: New file with explicit instantiations.
312 * src/Makefile.am (sources): Add here, with special build rules.
313 * src/Makefile.in: Regenerate.
315 2001-11-01 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
317 * include/bits/std_complex.h (_Norm_helper): New class template.
319 (abs): Tweak. Fix Thinko.
321 2001-10-31 Benjamin Kosnik <bkoz@redhat.com>
324 * include/bits/codecvt.h: Add virtual member function declarations.
325 * src/codecvt.cc: Tweaks.
326 * testsuite/22_locale/codecvt.cc: Test compilation only,
327 non-required facets not required to have linkage.
329 2001-10-31 Edward E. Meyer <edward.e.meyer@boeing.com>
332 * include/bits/std_complex.h (complex::operator/=): Correct sign.
334 2001-10-30 Paolo Carlini <pcarlini@unitus.it>
335 Benjamin Kosnik <bkoz@redhat.com>
338 * include/bits/basic_string.h: Tweaks.
339 * include/bits/basic_string.tcc (string::_M_replace(iterator,
340 iterator, _ForwardIter, _ForwardIter, forward_iterator_tag): Fix.
341 * src/string-inst.cc: Tweaks, add instantiation.
342 * testsuite/21_strings/replace.cc (test02): Add test.
343 * testsuite/21_strings/assign.cc (test01): New file.
345 001-10-30 Jakub Jelinek <jakub@redhat.com>
347 * include/bits/stl_deque.h (_M_new_elements_at_front): Use
348 __throw_exception_again.
349 (_M_new_elements_at_back): Likewise.
351 2001-10-29 Benjamin Kosnik <bkoz@redhat.com>
354 * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
355 * testsuite/27_io/filebuf.cc (test07): New test.
356 (test03): Modify showmanyc test.
358 2001-10-26 Benjamin Kosnik <bkoz@redhat.com>
361 * config/locale/codecvt_specializations_ieee_1003.1-200x.h
362 (__enc_traits::~__enc_traits): Fix.
363 (__enc_traits::_M_init): Add error checking.
365 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
368 * include/bits/locale_facets.tcc (time_get::_M_extract_name): Fix.
370 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
373 * include/bits/ostream.tcc (ostream::operator<<(streambuf*)): Fix
375 * include/bits/istream.tcc (istream::operator>>(streambuf*): Make
376 consistent, where possible.
377 * include/bits/streambuf.tcc: Tweak.
379 2001-10-25 Brendan Kehoe <brendan@zen.org>
382 * bits/ostream.tcc (seekp): Scope use as ios_base::failbit.
383 * bits/istream.tcc (seekg): Likewise.
385 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
386 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
387 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
389 * config/os/gnu-linux/bits/os_defines.h: Set to 64 bit longs with
391 * include/bits/std_limits.h: Fix wchar_t issues.
392 * config/os/aix/bits/os_defines.h: Fix.
394 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
396 * include/bits/locale_facets.tcc (collate::do_transform): Fix.
398 2001-10-25 Phil Edwards <pme@gcc.gnu.org>
400 * docs/html/documentation.html: Fix typo.
402 2001-10-23 Benjamin Kosnik <bkoz@redhat.com>
404 Make -fno-exceptions work.
405 * config/locale/c_locale_gnu.cc: Use functexcept.
406 * include/bits/c++config (__stl_assert): Remove.
407 (__STL_USE_EXCEPTIONS): Same.
409 (__STL_CATCH_ALL): Same.
411 (__STL_RETHROW): Same.
412 (__STL_NOTHROW): Same.
413 (__STL_UNWIND): Same.
414 * include/bits/pthread_allocimpl.h: Fix.
415 * include/bits/std_bitset.h: Same.
416 * include/bits/std_list.h: Same.
417 * include/bits/std_memory.h: Same.
418 * include/bits/std_queue.h: Same.
419 * include/bits/stl_alloc.h: Same.
420 * include/bits/stl_deque.h: Same.
421 * include/bits/stl_list.h: Same.
422 * include/bits/stl_queue.h: Same.
423 * include/bits/stl_tempbuf.h: Same.
424 * include/bits/stl_tree.h: Same.
425 * include/bits/stl_uninitialized.h: Same.
426 * include/bits/stl_vector.h: Same.
427 * include/ext/ropeimpl.h: Same.
428 * include/ext/slist: Same.
429 * include/ext/stl_hashtable.h: Same.
430 * include/ext/stl_rope.h: Same.
431 * libsupc++/new_op.cc: Include cstdlib.
432 * libsupc++/eh_personality.cc: Add exception_defines include. Use
433 __throw_exception_again, tweak.
434 * libsupc++/eh_aux_runtime.cc: Include stdlib for abort.
435 * libsupc++/vec.cc: Tweak.
436 * src/functexcept.cc: Remove unused arguments.
437 * testsuite/23_containers/bitset_members.cc: Tweak.
439 2001-10-22 Benjamin Kosnik <bkoz@redhat.com>
441 * config/cpu/i386/bits/limits.h: Move to...
442 * config/cpu/i386/bits/cpu_limits.h: ...here.
443 * config/cpu/cris/bits/cpu_limits.h: Same.
444 * config/cpu/powerpc/bits/cpu_limits.h: Same.
445 * config/cpu/x86-64/bits/cpu_limits.h: Same.
446 * config/cpu/alpha/bits/cpu_limits.h: New.
447 * config/cpu/m68k/bits/cpu_limits.h: New.
448 * config/cpu/s390/bits/cpu_limits.h: New.
449 * config/os/aix/bits/os_defines.h: Tweaks.
450 * config/os/bsd/freebsd/bits/os_defines.h: Same.
451 * config/os/bsd/netbsd/bits/os_defines.h: Same.
452 * config/os/djgpp/bits/os_defines.h: Same.
453 * config/os/generic/bits/os_defines.h: Same.
454 * config/os/gnu-linux/bits/os_defines.h: Same.
455 * config/os/hpux/bits/os_defines.h: Same.
456 * config/os/irix/irix5.2/bits/os_defines.h: Same.
457 * config/os/irix/irix6.5/bits/os_defines.h: Same.
458 * config/os/newlib/bits/os_defines.h: Same.
459 * config/os/solaris/solaris2.5/bits/os_defines.h: Same.
460 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
461 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
463 * include/bits/c++config: Remove include.
464 * include/bits/limits_generic.h: Remove.
465 * include/bits/std_limits.h: Include cpu_limits.h.
466 * include/Makefile.am: Fixup.
467 * src/limits.cc: Tweak.
468 * src/limits_generic.cc: Remove.
469 * src/gen-num-limits.cc: Remove.
470 * mknumeric_limits: Remove.
472 2001-10-20 Brendan Kehoe <brendan@zen.org>
474 * bits/type_traits.h (_Bool): Removed this type.
475 (__true_type, __false_type): Change to be plain structs.
476 * src/string-inst.cc (__destroy_aux): Change third parm to be
477 __false_type instead of _Bool<false>.
478 * src/misc-inst.cc (__uninitialized_fill_n_aux,
479 __uninitialized_copy_aux): Likewise.
481 2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
483 * mkcheck.in (static_fail): Remove older memory limit functionality.
484 Disable E_TIME due to formatting issues.
488 2001-10-19 Brendan Kehoe <brendan@zen.org>
490 * include/bits/std_complex.h: Default initialize second argument
491 of polar to 0, as specified in Library DR #79
493 2001-10-19 Brendan Kehoe <brendan@zen.org>
495 * include/bits/stl_raw_storage_iter.h (operator=): Fix to call
496 _Construct instead of construct.
498 2001-10-19 Brendan Kehoe <brendan@zen.org>
500 * include/bits/basic_string.tcc (find_first_not_of): Take out check for
501 __n being non-zero, since the standard does not mandate that.
502 e.g., a search for "" in "" should yield position 0, not npos.
503 (find_last_not_of): Likewise.
505 2001-10-19 Brendan Kehoe <brendan@zen.org>
507 * include/bits/stl_bvector.h (vector<bool>::_M_range_check): Fix
508 to throw out_of_range, not range_error, thus sayeth $23.1.1.13.
510 2001-10-19 Brendan Kehoe <brendan@zen.org>
512 * include/bits/stl_iterator.h (reverse_iterator::current): Rename
513 member from _M_current, and change all uses; thus sayeth $24.4.1.1.
515 2001-10-19 Brendan Kehoe <brendan@zen.org>
517 * include/bits/stl_algo.h (partial_sort): Add missing `>' on the
518 template parameter _ValueType.
520 2001-10-19 Brendan Kehoe <brendan@zen.org>
522 * include/bits/std_limits.h: Clean up extra semicolons.
523 * include/bits/locale_facets.h: Likewise.
524 * include/bits/type_traits.h: Likewise.
526 2001-10-19 Brendan Kehoe <brendan@zen.org>
528 * include/bits/localefwd.h (locale::combine): Add const for lib DR 14.
529 * include/bits/locale_facets.tcc (locale::combine): Likewise.
531 2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
533 * include/bits/locale_facets.h (__timepunct::_M_put_helper):
534 Declare specializations for char, wchar_t.
536 2001-10-19 Andreas Jaeger <aj@suse.de>
538 * config/cpu/x86-64/bits/limits.h: New file.
539 * config/cpu/x86-64/bits/atomicity.h: New file.
540 * configure.target: Add x86-64.
542 2001-10-17 Phil Edwards <pme@gcc.gnu.org>
544 * docs/html/17_intro/howto.html: Remove 1999 links (and explain
545 why). Add link to recent message.
546 * docs/html/faq/index.html (5.6): Reformat text only; fixup <pre>
548 * docs/html/faq/index.txt: Regenerate.
550 2001-10-12 Loren J. Rittle <ljrittle@acm.org>
552 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Update
553 based on Nathan's review. Use Nathan's words.
555 2001-10-11 Matt Kraai <kraai@alumni.carnegiemellon.edu>
557 * docs/html/configopts.html: Quote StyleSheet attribute values.
558 * docs/html/documentation.html: Likewise.
559 * docs/html/explanations.html: Likewise.
560 * docs/html/install.html: Likewise.
561 * docs/html/17_intro/howto.html: Likewise.
562 * docs/html/17_intro/license.html: Likewise.
563 * docs/html/18_support/howto.html: Likewise.
564 * docs/html/19_diagnostics/howto.html: Likewise.
565 * docs/html/20_util/howto.html: Likewise.
566 * docs/html/21_strings/howto.html: Likewise.
567 * docs/html/22_locale/howto.html: Likewise.
568 * docs/html/23_containers/howto.html: Likewise.
569 * docs/html/24_iterators/howto.html: Likewise.
570 * docs/html/25_algorithms/howto.html: Likewise.
571 * docs/html/26_numerics/howto.html: Likewise.
572 * docs/html/27_io/howto.html: Likewise.
573 * docs/html/ext/howto.html: Likewise.
574 * docs/html/ext/sgiexts.html: Likewise.
575 * docs/html/faq/index.html: Likewise.
577 2001-10-11 Loren J. Rittle <ljrittle@acm.org>
579 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Rewrite.
580 * docs/html/23_containers/howto.html (Containers and multithreading):
583 2001-10-09 Phil Edwards <pme@gcc.gnu.org>
585 * docs/html/17_intro/howto.html: Tweak markup and value type.
586 * docs/html/27_io/howto.html: Tweak markup, describe setbuf() for
587 nonzero arguments, add new note on threading.
588 * docs/html/faq/index.html: Update.
589 * docs/html/faq/index.txt: Regenerate.
591 2001-10-09 Phil Edwards <pme@gcc.gnu.org>
593 * docs/html/configopts.html: More HTML->XHTML and lowercasing of tags.
594 * docs/html/documentation.html: Likewise.
595 * docs/html/explanations.html: Likewise.
596 * docs/html/install.html: Likewise.
597 * docs/html/17_intro/howto.html: Likewise.
598 * docs/html/17_intro/license.html: Likewise. Tighten up language.
599 * docs/html/18_support/howto.html: Likewise.
600 * docs/html/19_diagnostics/howto.html: Likewise.
601 * docs/html/20_util/howto.html: Likewise.
602 * docs/html/21_strings/howto.html: Likewise.
603 * docs/html/22_locale/howto.html: Likewise.
604 * docs/html/23_containers/howto.html: Likewise.
605 * docs/html/24_iterators/howto.html: Likewise.
606 * docs/html/25_algorithms/howto.html: Likewise.
607 * docs/html/26_numerics/howto.html: Likewise.
608 * docs/html/27_io/howto.html: Likewise.
609 * docs/html/ext/howto.html: Likewise.
610 * docs/html/ext/sgiexts.html: Likewise.
611 * docs/html/faq/index.html: Likewise. Not so many absolute links.
612 * docs/html/faq/index.txt: Regenerate.
614 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
616 * docs/html/22_locale/locale.html, docs/html/faq/index.html: Fix
617 spelling errors of "separate" as "seperate", and corresponding
618 spelling errors of related words.
619 * docs/html/faq/index.txt: Regenerate.
621 2001-10-05 Phil Edwards <pme@gcc.gnu.org>
623 * config/cpu/alpha/bits/atomicity.h (__compare_and_swap): Remove
625 * config/cpu/arm/bits/atomicity.h: Likewise.
626 * config/cpu/generic/bits/atomicity.h: Likewise.
627 * config/cpu/i486/bits/atomicity.h: Likewise.
628 * config/cpu/ia64/bits/atomicity.h: Likewise.
629 * config/cpu/mips/bits/atomicity.h: Likewise.
630 * config/cpu/powerpc/bits/atomicity.h: Likewise.
631 * config/cpu/sparc/sparc32/bits/atomicity.h: Likewise.
632 * config/cpu/sparc/sparc64/bits/atomicity.h: Likewise.
634 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
636 * docs/html/faq/index.html: Describe DR #22, and a workaround.
637 * docs/html/faq/index.txt: Regenerate.
639 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
641 * docs/html/17_intro/COPYING.DOC: New file, GFDL v1.1 from the FSF.
642 * docs/html/17_intro/license.html: New file. Explain the licenses
645 * docs/html/configopts.html: Link to license.html.
646 * docs/html/documentation.html: Likewise.
647 * docs/html/explanations.html: Likewise.
648 * docs/html/install.html: Likewise.
649 * docs/html/17_intro/howto.html: Likewise.
650 * docs/html/18_support/howto.html: Likewise.
651 * docs/html/19_diagnostics/howto.html: Likewise.
652 * docs/html/20_util/howto.html: Likewise.
653 * docs/html/21_strings/howto.html: Likewise.
654 * docs/html/22_locale/howto.html: Likewise.
655 * docs/html/23_containers/howto.html: Likewise.
656 * docs/html/24_iterators/howto.html: Likewise.
657 * docs/html/25_algorithms/howto.html: Likewise.
658 * docs/html/26_numerics/howto.html: Likewise.
659 * docs/html/27_io/howto.html: Likewise.
660 * docs/html/ext/howto.html: Likewise.
661 * docs/html/ext/sgiexts.html: Likewise.
662 * docs/html/faq/index.html: Likewise. New question, linking to
663 the new license.html.
665 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
667 * docs/html/17_intro/howto.html: Fix mis-sed in header from 20010917.
668 * docs/html/18_support/howto.html: Likewise.
669 * docs/html/19_diagnostics/howto.html: Likewise.
670 * docs/html/20_util/howto.html: Likewise.
671 * docs/html/21_strings/howto.html: Likewise.
672 * docs/html/22_locale/howto.html: Likewise.
673 * docs/html/23_containers/howto.html: Likewise.
674 * docs/html/24_iterators/howto.html: Likewise.
675 * docs/html/25_algorithms/howto.html: Likewise.
676 * docs/html/26_numerics/howto.html: Likewise.
677 * docs/html/27_io/howto.html: Likewise.
678 * docs/html/ext/howto.html: Likewise.
679 * docs/html/faq/index.html: Likewise. Spacing fix.
681 2001-10-03 Dimitris Vyzovitis <vyzo@media.mit.edu>
683 * include/bits/stl_threads.h (_Atomic_swap): New function.
684 (_Swap_lock_struct<__dummy>::_S_swap_lock): New data.
685 * testsuite/ext/rope.cc: New file.
687 2001-10-02 Benjamin Kosnik <bkoz@redhat.com>
689 * config/locale/time_members_gnu.h: Remove.
690 * config/locale/time_members_generic.h: Remove.
691 * config/locale/time_members_gnu.cc (__timepunct::_M_put_helper): Add.
692 * config/locale/time_members_generic.cc: Same.
693 * include/bits/locale_facets.h: Add data members.
694 (__timepunct::_M_put_helper): Change signature.
695 (__timepunct::_M_date_formats): Same.
696 (__timepunct::_M_time_formats): Same.
697 (__timepunct::_M_ampm): Add.
698 (__timepunct::_M_date_time_formats): Add.
699 (time_get::_M_extract_via_format): Add.
700 (time_get::_M_extract_time): Change to...
701 (time_get::_M_extract_num): ... this, modify signature.
702 * include/bits/locale_facets.tcc (time_get::do_get_year): Fix.
703 (time_get::do_get_time): Fix.
704 (time_get::do_get_date): Fix.
706 * acinclude.m4: Remove CTIME_H.
707 * aclocal.m4: Regenerate.
708 * include/Makefile.am: Same.
709 * include/Makefile.in: Regenerate.
710 * configure: Regenerate.
712 * testsuite/22_locale/time_get_members_char.cc: Fix.
713 * testsuite/22_locale/time_get_members_wchar_t.cc: Add.
714 * testsuite/22_locale/time_put_members_wchar_t.cc: Add.
716 2001-10-01 Hans-Peter Nilsson <hp@axis.com>
718 * config/cpu/cris/bits/atomicity.h: Correct file header.
720 2001-09-29 Hans-Peter Nilsson <hp@axis.com>
722 * configure.target (LIMITSH): Set for cris.
723 (cpu_include_dir): Set for cris-*-*.
724 * config/cpu/cris/bits/atomicity.h: New file.
725 * config/cpu/cris/bits/limits.h: New file.
727 2001-09-28 Benjamin Kosnik <bkoz@redhat.com>
729 * config/locale/time_members_gnu.h (__timepunct::_M_get_helper): Add.
730 (__timepunct::_M_put_helper): Add.
731 * config/locale/time_members_generic.h: Same.
732 * include/bits/locale_facets.h (__match_parallel): Remove. Format.
733 (__timepunct): Add data members.
734 (__timepunct::_M_days): Add.
735 (__timepunct::_M_days_abbreviated): Add.
736 (__timepunct::_M_months): Add.
737 (__timepunct::_M_months_abbreviated): Add.
738 (__timepunct::_M_initialize_timepunct): Add.
739 * include/bits/locale_facets.tcc: Same.
740 * src/locale-inst.cc: Remove instantiations for __match_parallel.
741 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_CC.
742 * aclocal.m4: Regenerate.
743 * configure: Regenerate.
744 * testsuite/22_locale/time_put_members_char.cc: Mark XFAIL.
745 * testsuite/22_locale/time_put_members_char.cc (test01): New file.
746 * testsuite/22_locale/time_get.cc: New file.
748 2001-09-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
750 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
751 correct multilib builddir.
752 Properly locate libgcc_s.
754 2001-09-27 Phil Edwards <pme@gcc.gnu.org>
756 * include/std/*: Add Doxygen hooks.
757 * docs/doxygen/Intro.3: New file, general intro to the man pages.
758 * docs/doxygen/mainpage.doxy: Formatting tweaks. List our own links
759 rather than using a generated index.
760 * docs/doxygen/user.cfg.in: Disable the index, enable man pages.
761 * docs/doxygen/run_doxygen: Massage the generated man pages, using...
762 * docs/doxygen/stdheader.cc: ...this new file.
764 2001-09-26 Stan Shebs <shebs@apple.com>
766 * include/Makefile.am: Remove RCS Id strings.
767 * src/Makefile.am: Ditto.
768 * docs/doxygen/run_doxygen: Ditto.
769 * docs/html/configopts.html: Ditto.
770 * docs/html/documentation.html: Ditto.
771 * docs/html/explanations.html: Ditto.
772 * docs/html/install.html: Ditto.
773 * docs/html/17_intro/howto.html: Ditto.
774 * docs/html/18_support/howto.html: Ditto.
775 * docs/html/19_diagnostics/howto.html: Ditto.
776 * docs/html/20_util/howto.html: Ditto.
777 * docs/html/21_strings/howto.html: Ditto.
778 * docs/html/22_locale/howto.html: Ditto.
779 * docs/html/23_containers/howto.html: Ditto.
780 * docs/html/24_iterators/howto.html: Ditto.
781 * docs/html/25_algorithms/howto.html: Ditto.
782 * docs/html/26_numerics/howto.html: Ditto.
783 * docs/html/27_io/howto.html: Ditto.
784 * docs/html/ext/howto.html: Ditto.
785 * docs/html/ext/sgiexts.html: Ditto.
786 * docs/html/faq/index.html: Ditto.
787 * docs/html/faq/index.txt: Ditto.
789 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
791 * testsuite/21_strings/c_strings.cc (test01, test02): Increase
794 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
796 * docs/html/20_util/howto.html: Add anchor name.
797 * docs/html/23_containers/howto.html: Line wrapping, another link.
798 * docs/html/25_algorithms/howto.html: Another note.
800 * docs/html/ext/howto.html: Link to SGI extensions. List DRs and
802 * docs/html/ext/lwg-active.html: ...in this new file (from R19),
803 * docs/html/ext/lwg-defects.html: and this new file (from R19).
804 * docs/html/ext/sgiexts.html: New file. Mention SGI extensions
805 carried over to libstdc++-v3.
806 * docs/html/faq/index.html: Link to SGI extensions. Mention the
807 "missing .." pseudobug.
808 * docs/html/faq/index.txt: Regenerate.
810 * include/bits/ios_base.h: DR-related comment cleanup.
811 * include/bits/istream.tcc: Likewise.
812 * include/bits/locale_facets.h: Likewise.
813 * include/bits/locale_facets.tcc: Likewise.
814 * include/bits/ostream.tcc: Likewise.
815 * include/bits/std_bitset.h: Likewise.
816 * include/bits/std_iosfwd.h: Likewise.
817 * include/bits/std_istream.h: Likewise.
818 * include/bits/std_ostream.h: Likewise.
819 * include/bits/std_streambuf.h: Likewise.
820 * include/bits/stl_pair.h: Likewise.
821 * include/bits/streambuf_iterator.h: Likewise.
823 * include/bits/std_map.h: Remove unused header inclusion guard
824 _CPP_BITS_STL_TREE_H from around bits/stl_tree.h.
825 * include/bits/std_set.h: Likewise.
827 * include/bits/stl_function.h: Doxygen markup.
828 * docs/doxygen/doxygroups.cc: New file, specifying module grouping.
829 * libsupc++/typeinfo: Doxygen markup tweak.
831 2001-09-20 Scott Johnston <scott@accom.com>
832 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
834 * include/backward/alloc.h: Conditionally define malloc_alloc
835 * testsuite/backward/header_deque_h.cc: New file.
837 2001-09-20 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
839 * libstdc++-v3/include/bits/locale_facets.tcc (money_put::do_put):
840 change variable name so that it works with -fno-for-scope.
842 2001-09-20 Benjamin Kosnik <bkoz@redhat.com>
844 * testsuite/22_locale/numpunct_members_char.cc (test01): Remove
845 redundant sanity checks.
846 * testsuite/22_locale/money_put_members_wchar_t.cc (test01): Same.
848 * testsuite/22_locale/money_put_members_char.cc (test01): Same.
850 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test01): Same.
851 * testsuite/22_locale/moneypunct_members_char.cc (test01): Same.
852 * testsuite/22_locale/money_get_members_wchar_t.cc (test01): Same.
854 * testsuite/22_locale/money_get_members_char.cc (test01): Same.
857 2001-09-19 Benjamin Kosnik <bkoz@redhat.com>
859 Implement std::time_put.
860 * include/bits/locale_facets.h: Include time_members.h.
862 (time_put): Implement.
863 * include/bits/locale_facets.tcc (do_put): Put generic versions here.
864 * include/bits/localefwd.h: Bump number of facets.
865 * config/locale/time_members_generic.h: New file.
866 * config/locale/time_members_gnu.h: New file.
867 * config/locale/c_locale_generic.h: Include clocale.
868 * src/locale-inst.cc: Add use_facet instantiations for __timepunct.
869 * src/locale.cc: Add __timepunct initializations.
870 * src/localename.cc (locale::_Impl::_Impl(string, size_t)): Same.
871 * include/Makefile.am (stamp-target): Add time_members.h.
872 * include/Makefile.in: Regenerate.
873 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_H.
874 * aclocal.m4: Regenerate.
875 * configure: Regenerate.
876 * testsuite/22_locale/time_put.cc: New file.
877 * testsuite/22_locale/time_put_members_char.cc: New file.
879 * docs/html/22_locale/locale.html: Add note.
881 2001-09-17 Phil Edwards <pme@gcc.gnu.org>
883 * docs/html/configopts.html: HTML to XHTML change. Lowercase tags.
884 * docs/html/documentation.html: Likewise.
885 * docs/html/explanations.html: Likewise.
886 * docs/html/install.html: Likewise.
887 * docs/html/17_intro/howto.html: Likewise.
888 * docs/html/18_support/howto.html: Likewise.
889 * docs/html/19_diagnostics/howto.html: Likewise.
890 * docs/html/20_util/howto.html: Likewise.
891 * docs/html/21_strings/howto.html: Likewise.
892 * docs/html/22_locale/codecvt.html: Likewise.
893 * docs/html/22_locale/ctype.html: Likewise.
894 * docs/html/22_locale/howto.html: Likewise.
895 * docs/html/22_locale/locale.html: Likewise.
896 * docs/html/22_locale/messages.html: Likewise.
897 * docs/html/23_containers/howto.html: Likewise.
898 * docs/html/24_iterators/howto.html: Likewise.
899 * docs/html/25_algorithms/howto.html: Likewise.
900 * docs/html/26_numerics/howto.html: Likewise.
901 * docs/html/27_io/howto.html: Likewise.
902 * docs/html/ext/howto.html: Likewise.
903 * docs/html/faq/index.html: Likewise.
904 * docs/html/faq/index.txt: Regenerated.
906 2001-09-14 Phil Edwards <pme@sources.redhat.com>
908 * docs/html/17_intro/headers_cc.txt: "Sync"/copy real file over.
909 * docs/html/17_intro/howto.html: Spacing and HTML markup fixes.
910 * docs/html/18_support/howto.html: It won't compile; it's not code.
911 * docs/html/19_diagnostics/howto.html: Point diagram seekers to
913 * docs/html/22_locale/howto.html: Comment for future work.
914 * docs/html/23_containers/howto.html: More comments.
915 * docs/html/25_algorithms/howto.html: It's a comment, not a
916 blunt command to the reader. (English grammar.)
918 2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
920 * config/locale/moneypunct_members_gnu.cc: Fix initialization of
922 * testsuite/22_locale/money_get_members_wchar_t.cc (test02): New file.
923 * testsuite/22_locale/money_put_members_wchar_t.cc (test02): Fix.
925 2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
927 * include/bits/locale_facets.tcc: Conditionalize use of strtold.
929 2001-09-13 Alexandre Petit-Bianco <apbianco@redhat.com>
931 * testsuite/22_locale/money_get_members_char.cc: Fixed typo in comment.
932 * testsuite/22_locale/money_put_members_char.cc: Likewise.
933 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
935 2001-09-13 Benjamin Kosnik <bkoz@redhat.com>
937 Implement std::money_get.
938 * include/bits/locale_facets.tcc (money_get::do_get): Implement.
939 * include/bits/locale_facets.h (money_get): Correct signatures.
940 * testsuite/22_locale/money_get.cc: New file.
941 * testsuite/22_locale/money_get_members_char.cc: New file.
943 * include/bits/locale_facets.tcc (__verify_grouping): New
944 function. Consolidate num_get and money_get group checking into
947 * src/locale.cc (num_get::_M_extract): Use it.
948 * src/locale-inst.cc: Add instantiation.
950 2001-09-12 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
952 * include/bits/std_limits.h (numeric_limits<float>::radix,
953 numeric_limits<float>::epsilon: Fix thinko.
955 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
957 * configure.in: Fix cross compiling math routines. Correct
958 comments for cross compiling and limits. Add floating point math
959 routines found in newlib.
960 * configure: Regenerate.
961 * acconfig.h: Add macros.
962 * config.h.in: Regenerate.
964 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
966 * config/locale/moneypunct_members_generic.cc
967 (money_base::_S_construct_pattern): Remove unused parameters.
969 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
971 * include/Makefile.am (stamp-target): Remove link to self.
972 * inclulde/Makefile.in: Regenerate.
974 2001-09-09 Benjamin Kosnik <bkoz@redhat.com>
976 Implement std::money_put.
977 * include/bits/locale_facets.h
978 (moneypunct::_M_initialize_moneypunct): Split up specializations
979 to account for _Intl. More grody hacking to get around the
980 ill-considered use of const bool as a template parameter.
981 * config/locale/moneypunct_members_gnu.cc: And here.
982 * config/locale/moneypunct_members_generic.cc: And here.
983 * testsuite/22_locale/moneypunct_members_char.cc: Add tests.
984 * testsuite/22_locale/moneypunct.cc: Add tests.
985 * testsuite/22_locale/money_put_members_wchar_t.cc: New file.
986 * testsuite/22_locale/moneypunct_members_wchar_t.cc: New file.
988 * src/locale.cc (money_base::_S_construct_pattern): Move into
990 * config/locale/moneypunct_members_gnu.cc: Add here.
991 * config/locale/moneypunct_members_generic.cc: Add generic version
994 * include/bits/locale_facets.tcc (money_put::do_put): Move member
995 function definitions here.
996 * include/bits/locale_facets.h (money_put): Implement.
997 * src/locale-inst.cc: Add use_facet instantiations for moneypunct.
998 Correct money_get, money_put instantiations.
999 * src/locale.cc (money_base::_S_construct_pattern): Handle case
1001 * testsuite/22_locale/money_put_members_char.cc: Add tests.
1003 2001-09-05 Phil Edwards <pme@sources.redhat.com>
1005 * testsuite_flags.in: No longer need to search testsuite builddir.
1006 * src/stl-inst.cc (__sink_unused_warning): Unused, remove.
1007 * Makefile.am: The testsuite directory never needs to be made here.
1008 * Makefile.in: Regenerate.
1009 * include/Makefile.in: Regenerate.
1010 * libio/Makefile.in: Regenerate.
1011 * libmath/Makefile.in: Regenerate.
1012 * libsupc++/Makefile.in: Regenerate.
1013 * po/Makefile.in: Regenerate.
1014 * src/Makefile.in: Regenerate.
1015 * testsuite/Makefile.in: Regenerate.
1017 2001-09-04 Scott Johnston <scott@accom.com>
1018 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1020 * include/backward/iterator.h: Include <bits/std_iterator.h>,
1021 remove reverse_bidirectional_iterator.
1022 * testsuite/backward: New directory.
1023 * testsuite/backward/header_iterator_h.cc: New file.
1025 2001-09-04 Benjamin Kosnik <bkoz@redhat.com>
1027 * include/c_std/bits/std_c*.h: Don't use include_next.
1029 2001-09-03 Richard Sandiford <rsandifo@redhat.com>
1031 * libsupc++/eh_personality.cc (parse_lsda_header): Change type of
1032 tmp from _Unwind_Ptr to _Unwind_Word.
1034 2001-08-31 Jason Merrill <jason_merrill@redhat.com>
1036 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Simplify
1039 2001-08-28 Loren J. Rittle <ljrittle@acm.org>
1041 * include/Makefile.am: Use toplevel_srcdir to refer to src files
1042 outside this component.
1043 * include/Makefile.in: Regenerate.
1045 2001-08-27 Benjamin Kosnik <bkoz@redhat.com>
1047 * config/locale/c_locale_gnu.cc: Move facet info to separate files...
1048 * config/locale/c_locale_generic.cc: Same.
1049 * config/locale/moneypunct_members_gnu.cc: New file.
1050 * config/locale/moneypunct_members_generic.cc: New file.
1051 * config/locale/numpunct_members_gnu.cc: New file.
1052 * config/locale/numpunct_members_generic.cc: New file.
1053 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add moneypunct, numpunct
1055 * aclocal.m4: Regenerate.
1056 * configure: Regenerate.
1057 * src/Makefile.am (sources): And here.
1058 * src/Makefile.in: Regenerate.
1060 Rename for consistency with rest of testsuite.
1061 * testsuite/22_locale/codecvt.cc: New file.
1062 * testsuite/22_locale/money_put.cc: New file.
1063 * testsuite/22_locale/money_put_members_char.cc: New file.
1065 2001-08-27 Phil Edwards <pme@sources.redhat.com>
1068 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Handle enable/disable
1069 correctly for version-specific-runtime-libs.
1070 * aclocal.m4: Regenerate.
1071 * configure: Regenerate.
1073 2001-08-24 Loren J. Rittle <ljrittle@acm.org>
1075 * config/cpu/i386/bits/limits.h (__glibcpp_long_double_bits): Only
1076 define if not already provided by per-OS file.
1077 * config/os/bsd/freebsd/bits/os_defines.h (__glibcpp_long_double_bits):
1080 2001-08-24 Jan van Male <jan.vanmale@fenk.wau.nl>
1082 * docs/html/17_intro/C++STYLE: Fix typo.
1084 2001-08-24 Phil Edwards <pme@sources.redhat.com>
1086 * docs/html/23_containers/howto.html: Describe implementation of
1087 insertion with hints.
1089 2001-08-24 Kenny Simpson <kenny.simpson@gs.com>
1092 * include/bits/std_sstream.h (basic_ostringstream): Fix ctor.
1094 2001-08-24 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
1095 Phil Edwards <pme@sources.redhat.com>
1098 * include/bits/stl_tree.h (insert_unique): Revert last change.
1099 Values inserted at begin() must be less, not greater, than *begin()'s.
1100 * testsuite/23_containers/map_insert.cc: New file.
1102 2001-08-23 Benjamin Kosnik <bkoz@redhat.com>
1104 * config/locale/c_locale_gnu.cc: Minor tweaks.
1105 (moneypunct<wchar_t>): Implement.
1106 * include/bits/locale_facets.h: Same.
1107 * testsuite/22_locale/moneypunct.cc: New file.
1108 * testsuite/22_locale/moneypunct_byname.cc: New file.
1109 * testsuite/22_locale/moneypunct_char_members.cc: New file.
1111 2001-08-23 David Edelsohn <edelsohn@gnu.org>
1113 * config/os/gnu-linux/bits/os_defines.h: Correct __s390__ definitions.
1114 Set __powerpc__ long double definition based on __LONG_DOUBLE_128__.
1116 2001-08-23 Jason Merrill <jason_merrill@redhat.com>
1118 * testsuite_flags.in (build-includes): Re-add backward.
1120 2001-08-22 Benjamin Kosnik <bkoz@redhat.com>
1122 * testsuite/22_locale/collate_wchar_t_members.cc: Guard
1123 with _GLIBCPP_USE_WCHAR_T.
1125 2001-08-21 Benjamin Kosnik <bkoz@redhat.com>
1127 * testsuite/22_locale/collate_byname.cc (test01): Fix.
1129 2001-08-18 Vladimir A Merzliakov <wanderer@rsu.ru>
1131 * include/bits/locale_facets.tcc (collate::do_transform): Add typename.
1133 2001-08-18 Benjamin Kosnik <bkoz@redhat.com>
1135 * testsuite/22_locale/operators.cc: Add test.
1137 2001-08-17 Benjamin Kosnik <bkoz@redhat.com>
1139 Implement std::collate.
1140 * config/locale/collate_specializations_gnu.cc: Add here, implement in
1142 * config/locale/collate_specializations_generic.cc: Add here, but
1143 in a less sophisticated manner.
1144 * include/bits/locale_facets.tcc (collate): Add generic definition.
1145 * include/bits/locale_facets.h (~collate): Mark virtual.
1146 (collate::_M_compare_helper): New.
1147 (collate::_M_transform_helper): New.
1148 * src/locale.cc: Remove unnecessary specializations.
1149 * src/string-inst.cc: Tweak instantiation of ctors.
1151 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Do configury for collate.
1152 * aclocal.m4: Regenerate.
1153 * configure: Regenerate.
1154 * src/Makefile.am (sources): Add collate.cc.
1155 * src/Makefile.in: Regenerate.
1157 * testsuite/22_locale/collate_byname.cc: New.
1158 * testsuite/22_locale/collate.cc: New file.
1159 * testsuite/22_locale/collate_char_members.cc: New file.
1160 * testsuite/22_locale/collate_wchar_t_members.cc: New file.
1162 2001-08-16 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1164 * configure.target: Set LIMITSH for powerpc-*-*.
1165 * config/cpu/powerpc/bits/limits.h: New file.
1167 2001-08-16 Marc Espie <espie@openbsd.org>
1169 * configure.in: Check for <sys/types.h>.
1170 * configure: Rebuild.
1171 * config.h.in: Rebuild.
1172 * libmath/mathconf.h: Include <sys/types.h> prior to
1173 <machine/endian.h> if available.
1175 2001-08-15 Andreas Schwab <schwab@suse.de>
1177 * configure.target (cpu_include_dir): Set to `config/cpu/m68k' for
1178 m68k and m680[246]0.
1179 * config/cpu/m68k/bits/atomicity.h: New file.
1181 * include/bits/std_limits.h [__glibcpp_long_double_bits == 96]:
1182 Define appropriate long double limits for m68k extended floating
1184 (__glibcpp_f32_digits10): Corrected, off by one.
1185 (__glibcpp_f80_digits10): Likewise.
1186 (__glibcpp_f128_digits10): Likewise.
1187 * config/os/gnu-linux/bits/os_defines.h
1188 (__glibcpp_long_double_bits) [__mc68000__]: Define to 96.
1190 2001-08-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1192 * testsuite/18_support/numeric_limits.cc: Add more tests.
1193 * include/bits/std_limits.h (numeric_limits<char>::max): Fix
1196 2001-08-14 Ulrich Weigand <uweigand@de.ibm.com>
1198 * configure.target (cpu_include_dir): Set to `config/cpu/s390'
1201 * config/cpu/s390/bits/atomicity.h: New.
1203 2001-08-14 Gabriel Dos Reis <gdr@codesourcery.com>
1205 * include/bits/std_limits.h: Fix thinko.
1207 2001-08-14 Benjamin Kosnik <bkoz@redhat.com>
1209 * include/Makefile.am: Consolidate target rules. Don't clean stamp
1210 files. Tweak target build directory stamp.
1211 * include/Makefile.in: Regenerate.
1213 2001-08-14 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1215 * libstdc++-v3/libmath/stubs.c: Fix PR/3988, replace
1216 _GBLICPP_HAVE_LOGL with HAVE_LOGL
1218 2001-08-13 Benjamin Kosnik <bkoz@redhat.com>
1220 * configure.in (libtool_VERSION): Add.
1221 (VERSION): Change to
1222 (release_VERSION): This.
1223 * configure: Regenerate.
1224 * src/Makefile.am (libstdc___la_LDFLAGS): Use -version-info with
1226 * src/Makefile.in: Regenerate.
1228 * intl/Makefile.am: Remove.
1229 * intl/Makefile.in: Remove.
1231 * Makefile.am (SUBDIRS): Remove intl.
1232 * po/Makefile.am (DISTFILES): Add string_literals.cc
1234 * po/string_literals.cc: Add.
1235 * po/POTFILES.in: Fix path.
1236 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't call AM_GNU_GETTEXT.
1237 * aclocal.m4: Regenerate.
1238 * configure.in: Remove AC_OUTPUT of intl/Makefile.
1240 * include/backward/backward_warning.h: Clarify message.
1242 * testsuite_flags.in (--cxxflags): Use same debug flags for
1243 library and testsuite.
1245 * include/Makefile.am (c_compatibility): Remove.
1246 * include/Makefile.in: Regenerate.
1248 2001-08-13 Mark Mitchell <mark@codesourcery.com>
1250 * configure.in (LIMITS_INC_SRCDIR): New variable.
1251 * configure.target (LIMITSH): New variable.
1252 * porting.texi: Discuss numeric limits.
1253 * config/cpu/generic/bits/limits.h: New file.
1254 * config/cpu/i386/bits/limits.h: New file.
1255 * include/Makefile.am: Install bits/limits.h.
1256 * include/bits/c++config: Include bits/limits.h.
1258 2001-08-13 H.J. Lu (hjl@gnu.org)
1260 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-copy-files):
1262 (libstdc++-v3-init ): Use it.
1264 2001-08-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1266 * include/bits/ostream.tcc (__pad_char): Change toplevel '__fmt'
1267 to '__adjust' to avoid shadowing in nested scope.
1269 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1271 * include/bits/std_limits.h(__glibcpp_char_is_signed): Use
1274 * config/os/gnu-linux/bits/os_defines.h(__glibcpp_char_is_signed):
1276 * config/os/aix/bits/os_defines.h(__glibcpp_plain_char_is_signed):
1279 2001-08-10 Loren J. Rittle <ljrittle@acm.org>
1281 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Add
1282 dummy default argument to the non-limit implementation.
1285 * include/Makefile.am: Use relative file path in rule to allow
1287 * include/Makefile.in: Rebuilt.
1289 2001-08-10 Gunter Winkler <gunter.winkler@mathematik.tu-chemnitz.de>
1291 * include/bits/std_complex.h (complex<long double>::operator*=,
1292 complex<long double>::operator/=): Fix thinko.
1294 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1296 * include/bits/std_limits.h: New file.
1297 * include/Makefile.am (bits_headers): Add std_limits.h
1298 (all-local): std_limits.h is no longer built.
1299 (${target_builddir}/std_limits.h): Remove.
1300 * include/Makefile.in: Regenerate.
1301 * src/limits.cc: New file.
1302 * src/Makefile.am (sources): Add limits.cc in replacement of
1304 * src/Makefile.in: Regenerate.
1306 2001-08-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1308 * src/gen-num-limits.cc (digits10): Fix thinko.
1310 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
1312 * po/Makefile.am (check-no): Add.
1314 * po/Makefile.in: Regenerate.
1316 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
1318 * acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
1319 * config.h.in: Regenerate.
1320 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT): Check for setrlimit
1322 * aclocal.m4: Regenerate.
1323 * configure.in: Remove duplicate AM_CONFIG_HEADER.
1324 (AM_CONFIG_HEADER): Remove testsuite/testsuite_hooks.h.
1325 Only call GLIBCPP_CHECK_SETRLIMIT for native compiles.
1326 * configure: Regenerate.
1327 * testsuite_hooks.h.in: Move to...
1328 * testsuite_hooks.h: Here, include c++config.h. Use it.
1330 * Makefile.am (SUBDIRS): Move testsuite to last directory.
1331 * Makefile.in: Regenerate.
1332 * po/Makefile.am (stamp-po): Add.
1334 2001-08-09 David Edelsohn <edelsohn@gnu.org>
1336 * config/os/aix/bits/os_defines.h: Define std_limits.h macros.
1337 * config/os/generic/bits/os_defines.h: Likewise.
1338 * config/os/gnu-linux/bits/os_defines.h: Likewise.
1339 * config/os/hpux/bits/os_defines.h: Likewise.
1340 * config/os/irix/irix6.5/bits/os_defines.h: Likewise.
1341 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
1343 2001-08-08 Benjamin Kosnik <bkoz@redhat.com>
1345 * src/Makefile.am (libstdc___la_LDFLAGS): Use -release instead of
1346 -version-info, use substituted VERSION info.
1347 * src/Makefile.in: Regenerate.
1349 2001-08-07 Benjamin Kosnik <bkoz@redhat.com>
1351 Implement std::messages.
1352 Make config a fully-nested directory.
1353 * config/locale: New directory.
1354 * config/c_locale_generic.cc: Move into locale subdirectory.
1355 * config/c_locale_generic.h: Same.
1356 * config/c_locale_gnu.cc: Same.
1357 * config/c_locale_gnu.h: Same.
1358 * config/c_locale_ieee_1003.1-200x.cc: Same.
1359 * config/c_locale_ieee_1003.1-200x_.h: Same.
1360 * config/codecvt_specializations_generic.h: Same.
1361 * config/codecvt_specializations_ieee_1003.1-200x.h: Same.
1362 * config/messages_members_gnu.h: Same.
1363 * config/messaages_members_gnu.cc: Same.
1364 * config/messages_members_generic.h: Same.
1365 * config/messaages_members_generic.cc: Same.
1366 * config/messages_members_ieee_1003.1-200x.h: Same.
1367 * config/messaages_members_ieee_1003.1-200x.cc: Same.
1368 * config/io: New directory.
1369 * config/basic_file_libio.h: Move into io subdirectory.
1370 * config/basic_file_libio.cc: Same.
1371 * config/c_io_libio.h: Same.
1372 * config/c_io_libio_codecvt.c: Same.
1373 * config/basic_file_stdio.h: Same.
1374 * config/basic_file_stdio.cc: Same.
1375 * config/c_io_stdio.h: Same.
1377 * po: New directory.
1378 * po/POTFILES.in: New file.
1379 * po/Makefile.am: New file.
1380 * po/Makefile.in: New file.
1381 * po/libstdc++.pot: Generic translation file.
1382 * po/fr.po: Preliminary French translation.
1383 * po/de.po: Preliminary German translation.
1384 * intl: New directory.
1385 * intl/Makefile.am: New file.
1386 * intl/Makefile.in: New file.
1387 * intl/string_literals.cc: New file.
1388 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump VERSION to 3.1.0. Add
1389 requisite setup for gettext. Re-arrange.
1390 * aclocal.m4: Regenerate.
1391 * configure.in: Don't call GLIBCPP_CHECK_COMPILER_VERSION.
1392 Output Makefile bits for po and intl.
1393 * configure: Regenerate.
1394 * Makefile.am (SUBDIRS): Add intl, po. Add rule for dist.
1395 * Makefile.in: Regenerate.
1396 * acconfig.h: Add ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY.
1397 * config.h.in: Regenerate.
1399 * acinclude.m4 (AC_REPLACE_STRINGFUNCS): Remove.
1401 * include/Makefile.am (install-data-local): Don't install Makefile.
1402 * include/Makefile.in: Regenerate.
1404 * include/bits/locale_facet.h (locale::facet::_S_clone_c_locale):
1406 * config/locale/c_locale_gnu.cc (_S_clone_c_locale): Add definition.
1407 * config/locale/c_locale_generic.cc: Same.
1408 * config/locale/c_locale_ieee_1003.1-200x.cc: Same.
1410 * include/bits/codecvt.h: Excise non-standard, non-required
1411 bits. This includes __enc_traits, and partial specializations of
1412 codecvt for __enc_traits.
1413 * src/codecvt.cc (__enc_traits::_S_max_size): Guard
1414 * config/codecvt_partials_ieee_1003.1-200x.h: New file.
1415 * config/codecvt_partials_generic.h: New file.
1416 * include/Makefile.am (allstamps): Add stamp-codecvt_model.
1417 (stamp-codecvt_model): Add.
1418 * include/Makefile.in: Regenerate.
1419 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in codecvt configury.
1420 * aclocal.m4: Regenerate.
1421 * configure: Regenerate.
1422 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Use macro guard.
1423 * testsuite/22_locale/codecvt_unicode_char.cc: Same.
1424 * testsuite/22_locale/ctor_copy_dtor.cc: And here.
1426 * include/bits/localefwd.h (class locale::facet): Add __enc_traits
1427 as a friend for _S_*_c_locale functions.
1428 * include/bits/codecvt.h (__enc_traits::__enc_traits): Add locale
1429 argument to default constructor so that CODESET information can be
1431 * include/bits/locale_facets.h (messages_byname):
1432 Re-implement. Remove specializations.
1433 * src/locale.cc (messages_byname<char>): Remove specialization.
1434 (messages_byname<wchar_t>): Same.
1435 * config/locale/c_locale_ieee_1003.1-200x.cc: New file.
1436 * config/locale/c_locale_ieee_1003.1-200x.h: New file.
1437 * config/locale/messages_members_ieee_1003.1-200x.cc: New file.
1438 * config/locale/messages_members_ieee_1003.1-200x.h: New file.
1439 * config/locale/messages_members_gnu.cc: New file.
1440 * config/locale/messages_members_gnu.h: New file.
1441 * config/locale/messages_members_generic.cc: New file.
1442 * config/locale/messages_members_generic.h: New file.
1444 * docs/html/configopts.html: Add documentation for new locale
1445 model, ieee_1003.1. Adjust other flags for current defaults.
1446 * docs/html/22_locale/locale.html: Update.
1447 * docs/html/22_locale/howto.html: Add link to messages.html. Organize.
1448 * docs/html/22_locale/messages.html: New.
1450 * src/Makefile.am (sources): Add messages_virtuals.cc.
1451 * src/Makefile.in: Regenerate.
1452 * include/Makefile.am (allstamps): Add stamp-messages_model.
1453 (stamp-messages_model): Add.
1454 * include/Makefile.in: Regenerate.
1455 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in messages configury.
1456 * aclocal.m4: Regenerate.
1457 * configure: Regenerate.
1459 * testsuite_flags.in (--cxxflags): Add LOCALEDIR.
1460 * testsuite/lib/libstdc++-v3-dg.exp: Remove broken LD_LIBRARY_PATH
1462 * acinclude (GLIBCPP_ENABLE_CLOCALE): Set glibcpp_localedir to the
1463 build directories message catalog base directory, and export.
1464 Eventually this should probably be made to deal with build and
1465 install directories. For now, punt on this as the library itself
1466 doesn't use message catalogs (yet).
1467 * testsuite/22_locale/messages.cc: New file.
1468 * testsuite/22_locale/messages_char_members.cc: New file.
1469 * testsuite/22_locale/messages_byname.cc: New file.
1471 2001-08-06 Phil Edwards <pme@sources.redhat.com>
1473 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls...
1474 (GLIBCPP_CHECK_SETRLIMIT): ...this new macro, which also uses...
1475 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): ...this new macro.
1476 * configure.in (AM_CONFIG_HEADER): Also generate testsuite_hooks.h.
1477 Call GLIBCPP_CONFIGURE_TESTSUITE.
1478 * aclocal.m4: Regenerate.
1479 * config.h.in: Regenerate.
1480 * configure: Regenerate.
1482 * testsuite/lib/libstdc++-v3-dg.exp: Download new header instead
1485 * testsuite_flags.in: Add build dir's testsuite to INCLUDES.
1486 * testsuite/debug_assert.h: Removed; contents merged into...
1487 * testsuite/testsuite_hooks.h.in: ...here. New file.
1488 * testsuite/17_intro/header_ciso646.cc: No longer include
1489 debug_assert.h, include testsuite_hooks.h instead.
1490 * testsuite/17_intro/header_fstream.cc: Likewise.
1491 * testsuite/17_intro/header_iomanip.cc: Likewise.
1492 * testsuite/17_intro/header_ios.cc: Likewise.
1493 * testsuite/17_intro/header_iosfwd.cc: Likewise.
1494 * testsuite/17_intro/header_iostream.cc: Likewise.
1495 * testsuite/17_intro/header_istream.cc: Likewise.
1496 * testsuite/17_intro/header_ostream.cc: Likewise.
1497 * testsuite/17_intro/header_sstream.cc: Likewise.
1498 * testsuite/17_intro/header_streambuf.cc: Likewise.
1499 * testsuite/18_support/numeric_limits.cc: Likewise.
1500 * testsuite/19_diagnostics/stdexceptions.cc: Likewise.
1501 * testsuite/20_util/allocator_members.cc: Likewise.
1502 * testsuite/20_util/auto_ptr.cc: Likewise.
1503 * testsuite/20_util/pairs.cc: Likewise.
1504 * testsuite/21_strings/append.cc: Likewise.
1505 * testsuite/21_strings/capacity.cc: Likewise.
1506 * testsuite/21_strings/char_traits_requirements.cc: Likewise.
1507 * testsuite/21_strings/compare.cc: Likewise.
1508 * testsuite/21_strings/ctor_copy_dtor.cc: Likewise. Also set up
1509 call to (disabled) __set_testsuite_memlimit() wrapper.
1510 * testsuite/21_strings/element_access.cc: Likewise.
1511 * testsuite/21_strings/find.cc: Likewise.
1512 * testsuite/21_strings/insert.cc: Likewise. Also set up call to
1513 (disabled) __set_testsuite_memlimit() wrapper.
1514 * testsuite/21_strings/inserters_extractors.cc: Likewise.
1515 * testsuite/21_strings/invariants.cc: Likewise.
1516 * testsuite/21_strings/nonmember.cc: Likewise.
1517 * testsuite/21_strings/operations.cc: Likewise.
1518 * testsuite/21_strings/replace.cc: Likewise.
1519 * testsuite/21_strings/rfind.cc: Likewise.
1520 * testsuite/21_strings/substr.cc: Likewise.
1521 * testsuite/22_locale/codecvt_char_char.cc: Likewise.
1522 * testsuite/22_locale/codecvt_unicode_char.cc: Likewise.
1523 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Likewise.
1524 * testsuite/22_locale/codecvt_wchar_t_char.cc: Likewise.
1525 * testsuite/22_locale/ctor_copy_dtor.cc: Likewise.
1526 * testsuite/22_locale/ctype_char_members.cc: Likewise.
1527 * testsuite/22_locale/ctype_wchar_t_members.cc: Likewise.
1528 * testsuite/22_locale/facet.cc: Likewise.
1529 * testsuite/22_locale/global_templates.cc: Likewise.
1530 * testsuite/22_locale/members.cc: Likewise.
1531 * testsuite/22_locale/numpunct_byname.cc: Likewise.
1532 * testsuite/22_locale/numpunct_char_members.cc: Likewise.
1533 * testsuite/22_locale/operators.cc: Likewise.
1534 * testsuite/22_locale/static_members.cc: Likewise.
1535 * testsuite/23_containers/bitset_ctor.cc: Likewise.
1536 * testsuite/23_containers/bitset_members.cc: Likewise.
1537 * testsuite/23_containers/bitset_shift.cc: Likewise.
1538 * testsuite/23_containers/vector_capacity.cc: Likewise.
1539 * testsuite/23_containers/vector_ctor.cc: Likewise.
1540 * testsuite/23_containers/vector_element_access.cc: Likewise.
1541 * testsuite/23_containers/vector_modifiers.cc: Likewise.
1542 * testsuite/24_iterators/istreambuf_iterator.cc: Likewise.
1543 * testsuite/24_iterators/iterator.cc: Likewise.
1544 * testsuite/24_iterators/ostreambuf_iterator.cc: Likewise.
1545 * testsuite/25_algorithms/binary_search.cc: Likewise.
1546 * testsuite/25_algorithms/copy.cc: Likewise.
1547 * testsuite/25_algorithms/heap.cc: Likewise.
1548 * testsuite/25_algorithms/lower_bound.cc: Likewise.
1549 * testsuite/25_algorithms/min_max.cc: Likewise.
1550 * testsuite/25_algorithms/partition.cc: Likewise.
1551 * testsuite/25_algorithms/rotate.cc: Likewise.
1552 * testsuite/25_algorithms/sort.cc: Likewise.
1553 * testsuite/26_numerics/c_math.cc: Likewise.
1554 * testsuite/26_numerics/complex_inserters_extractors.cc: Likewise.
1555 * testsuite/26_numerics/complex_value.cc: Likewise.
1556 * testsuite/27_io/filebuf.cc: Likewise.
1557 * testsuite/27_io/filebuf_members.cc: Likewise.
1558 * testsuite/27_io/filebuf_virtuals.cc: Likewise.
1559 * testsuite/27_io/fpos.cc: Likewise.
1560 * testsuite/27_io/fstream_members.cc: Likewise.
1561 * testsuite/27_io/ifstream_members.cc: Likewise.
1562 * testsuite/27_io/ios_base_callbacks.cc: Likewise.
1563 * testsuite/27_io/ios_base_members_static.cc: Likewise.
1564 * testsuite/27_io/ios_base_storage.cc: Likewise.
1565 * testsuite/27_io/ios_ctor.cc: Likewise.
1566 * testsuite/27_io/ios_init.cc: Likewise.
1567 * testsuite/27_io/ios_manip_basefield.cc: Likewise.
1568 * testsuite/27_io/ios_manip_fmtflags.cc: Likewise.
1569 * testsuite/27_io/ios_members.cc: Likewise.
1570 * testsuite/27_io/istream_extractor_arith.cc: Likewise.
1571 * testsuite/27_io/istream_extractor_char.cc: Likewise.
1572 * testsuite/27_io/istream_extractor_other.cc: Likewise.
1573 * testsuite/27_io/istream_manip.cc: Likewise.
1574 * testsuite/27_io/istream_seeks.cc: Likewise.
1575 * testsuite/27_io/istream_sentry.cc: Likewise.
1576 * testsuite/27_io/istream_unformatted.cc: Likewise.
1577 * testsuite/27_io/istringstream_members.cc: Likewise.
1578 * testsuite/27_io/narrow_stream_objects.cc: Likewise.
1579 * testsuite/27_io/ofstream_members.cc: Likewise.
1580 * testsuite/27_io/ostream_inserter_arith.cc: Likewise.
1581 * testsuite/27_io/ostream_inserter_char.cc: Likewise.
1582 * testsuite/27_io/ostream_inserter_other.cc: Likewise.
1583 * testsuite/27_io/ostream_manip.cc: Likewise.
1584 * testsuite/27_io/ostream_seeks.cc: Likewise.
1585 * testsuite/27_io/ostream_unformatted.cc: Likewise.
1586 * testsuite/27_io/ostringstream_members.cc: Likewise.
1587 * testsuite/27_io/streambuf.cc: Likewise.
1588 * testsuite/27_io/stringbuf.cc: Likewise.
1589 * testsuite/27_io/stringbuf_virtuals.cc: Likewise.
1590 * testsuite/27_io/stringstream.cc: Likewise.
1591 * testsuite/27_io/stringstream_members.cc: Likewise.
1592 * testsuite/27_io/wide_stream_objects.cc: Likewise.
1594 2001-07-31 Loren J. Rittle <ljrittle@acm.org>
1596 * src/gen-num-limits.cc: Use __LONG_LONG_MAX__.
1598 2001-07-30 Benjamin Kosnik <bkoz@redhat.com>
1600 * configure.target: Remove mips from cpu table.
1601 * config/cpu/mips/bits/atomicity.h: Remove generic
1602 versions. Comment sgidefs include.
1604 2001-07-25 H.J. Lu <hjl@gnu.org>
1606 * configure.target (cpu_include_dir): Set to `config/cpu/mips'
1609 * config/cpu/mips/bits/atomicity.h: New.
1611 2001-07-25 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1613 * acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf,
1614 hypotl, atan2f, atan2l. Remove from REPLACE_MATHFUNCS list.
1615 * aclocal.m4: Regenerate.
1616 * config.h.in: Likewise.
1617 * configure: Likewise.
1618 * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove hypotl.c
1619 (EXTRA_DIST): Remove hypot.c hypotf.c.
1620 * libmath/Makefile.am: Regenerate.
1621 * libmath/hypotf.c: Remove.
1622 * libmath/hypot.c: Likewise.
1623 * libmath/hypotl.c: Likewise.
1624 * libmath/stubs.c: The macros seen here are HAVE_xxx, not
1625 _GLIBCPP_HAVE_xxx. Add long double versions.
1627 2001-07-23 David Edelsohn <edelsohn@gnu.org>
1629 * include/bits/limits_generic.h (int): Set digits and digits10
1630 appropriately for word size.
1631 (unsigned int,long,unsigned long): Likewise.
1633 2001-07-19 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1635 * include/bits/stl_algo.h : Fix typos.
1636 * testsuite/25_algorithms/unique.cc: New file.
1638 2001-07-19 Phil Edwards <pme@sources.redhat.com>
1639 Mark Mitchell <mark@codesourcery.com>
1641 Merge from cp-parser-branch.
1642 * include/bits/basic_string.h: Qualify symbols with 'template'.
1643 * include/bits/basic_string.tcc: Likewise.
1644 * include/bits/fstream.tcc: Likewise.
1645 * include/bits/istream.tcc: Likewise.
1646 * include/bits/sstream.tcc: Likewise.
1647 * include/bits/std_istream.h: Likewise.
1648 * include/bits/stl_iterator.h: Likewise.
1649 * include/bits/streambuf.tcc: Likewise.
1650 * src/gen-num-limits.cc: Add 'template<>' to specializations.
1651 * src/locale.cc: Likewise.
1653 2001-07-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1654 Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
1656 * src/gen-num-limits.cc (set_signals_handler): New function.
1657 Factor out signals setting. Set signal handler for SIGILL.
1659 2001-07-18 Phil Edwards <pme@sources.redhat.com>
1661 * docs/html/27_io/howto.html: Fix typo.
1662 * docs/html/faq/index.html: Minor updates for 3.0 all around.
1663 * docs/html/faq/index.txt: Regenerated.
1665 2001-07-18 Stephen M. Webb <stephen@bregmasoft..com>
1666 Roman Sulzhyk <roman_sulzhyk@yahoo.com>
1669 * include/bits/ostream.tcc (ostream::put): Fixed error condition check.
1670 * testsuite/27_io/streambuf.cc (test07): Added new regression test.
1672 2001-07-17 Stephen M. Webb <stephen@bregmasoft.com>r
1674 All occurrences of the __value_type() and __distance_type()
1675 functions, which were required to support the HP STL, have been
1676 removed along with all the auxiliary forwarding functions that
1677 were required to support their use.
1679 The __iterator_category() function was pretty much left alone
1680 because there was no benefit to removing it and its use made code
1681 just a little more readable.
1683 Incidences of distance() with nonstandard argument list were
1684 replaced by calls to the standard function (only in the files
1685 affected by the removal of the other HP functions).
1687 The signature of the rotate() algorithm was changed to match the
1690 Headers were reformatted under C++STYLE guidelines (indentation,
1691 linebreaks, typename keyword).
1693 * include/bits/stl_algo.h: replaced __value_type() and
1694 __distance_type() with iterator_traits, eliminated auxiliary
1695 support functions required to support said function usage.
1696 Changed nonstandard distance() call to standard call.
1698 * include/bits/stl_algobase.h: Same.
1699 * include/bits/stl_heap.h: Same.
1700 * include/bits/stl_numeric.h: Same.
1701 * include/bits/stl_uninitialized.h: Same.
1702 * include/bits/stl_iterator_base_types.h (__value_type()):
1704 (__distance_type()): Removed.
1705 (value_type()): Gone.
1706 (distance_type()): Done in.
1707 (iterator_category()): Hasta la vista, baby.
1709 * include/bits/stl_iterator_base_funcs.h (iterator_category()):
1710 Replaced with __iterator_category().
1711 * include/backward/iterator.h: moved definition of value_type(),
1712 distance_type(), and iterator_category() out of std:: and into
1714 * testsuite/23_containers/vector_ctor.cc (test03): New testcases.
1715 * testsuite/23_containers/vector_modifiers.cc (test03): New testcases.
1716 * testsuite/25_algorithms/rotate.cc: New testcase.
1717 * testsuite/25_algorithms/copy.cc: New testcase.
1718 * testsuite/25_algorithms/sort.cc: Same.
1719 * testsuite/25_algorithms/heap.cc: Same.
1720 * testsuite/25_algorithms/partition.cc: Same.
1721 * testsuite/25_algorithms/binary_search.cc: Same.
1722 * testsuite/26_numerics/sum_diff.cc: Ditto.
1724 001-07-17 Benjamin Kosnik <bkoz@redhat.com>
1726 * testsuite/README: Add notes on naming test cases.
1727 * testsuite/22_locale/members.cc: Mark as xfail.
1728 * testsuite/22_locale/numpunct_char_members.cc: Same.
1730 2001-07-16 Stephen M. Webb <stephen@bregmasoft.com>
1732 * acinclude.m4 (GLIBCPP_ENABLE_CHEADERS): Use glibcpp_srcdir when
1733 setting C_INCLUDE_DIR.
1734 * configure.in: Revert yesterday's LN_S change.
1735 * aclocal.m4: Regenerate.
1736 * configure: Regenerate.
1738 2001-07-15 Phil Edwards <pme@sources.redhat.com>
1740 * configure.in: Temporarily force LN_S to copy instead of symlink.
1741 * configure: Regenerate.
1743 2001-07-13 Phil Edwards <pme@sources.redhat.com>
1745 * include/bits/std_sstream.h (basic_stringbuf::basic_stringbuf(string):
1746 Initialize _M_string with pointer-and-size constructor, not just
1747 pointer. Fix some comments.
1748 * testsuite/21_strings/ctor_copy_dtor.cc (test03): New test.
1749 * testsuite/27_io/stringbuf.cc (test02): Remove unused variable.
1750 (test03): Add embedded-NUL tests.
1752 * mkcheck.in: When printing totals, match the order of the tests.
1753 * include/bits/stringfwd.h: Use same declaration keywords.
1754 * include/bits/std_iosfwd.h: Cosmetic spacing.
1756 2001-07-13 Stephen M. Webb <stephen@bregmasoft.com>
1757 Loren J. Rittle <ljrittle@acm.org>
1758 Phil Edwards <pme@sources.redhat.com>
1760 * include/Makefile.am: New file encapsulating header generation rules.
1761 * Makefile.am (SUBDIRS): Prepend 'include' directory.
1762 * acinclude.m4: Moved/removed rules for building various headers.
1763 * configure.in (AC_OUTPUT): Add include/Makefile.
1764 * mkc++config: Removed.
1766 * testsuite_flags.in: Changed build-includes to match new scheme.
1767 * mknumeric_limits: Likewise.
1768 * libio/Makefile.am: Changed INCLUDES to maatch new header scheme.
1769 * libmath/Makefile.am: Likewise.
1770 * libsupc++/Makefile.am: Likewise.
1771 * src/Makefile.am: Likewise; removed rules to build headers.
1772 * libmath/mathconf.h: Changed #include'd header names to match.
1773 * libmath/stubs.c: Likewise.
1774 * src/gen-num-limits.cc: Likewise.
1776 * configure: Regenerated.
1777 * config.h.in: Regenerated.
1778 * aclocal.m4: Regenerated.
1779 * Makefile.in: Regenerated.
1780 * include/Makefile.in: Regenerated.
1781 * libio/Makefile.in: Regenerated.
1782 * libmath/Makefile.in: Regenerated.
1783 * libsupc++/Makefile.in: Regenerated.
1784 * src/Makefile.in: Regenerated.
1785 * testsuite/Makefile.in: Regenerated.
1787 2001-07-11 Felix Natter <fnatter@gmx.net>
1789 * docs/html/17_intro/porting-howto.xml: Initial checkin of
1791 * docs/html/17_intro/porting-howto.html: check in v0.9.3
1793 2001-07-11 Phil Edwards <pme@sources.redhat.com>
1795 * docs/doxygen/run_doxygen: Don't keep output from previous run.
1796 * docs/doxygen/user.cfg.in: Tweaks.
1797 * include/bits/c++config: Documentation comments for Doxygen.
1798 * include/bits/char_traits.h: Likewise.
1799 * include/bits/limits_generic.h: Likewise.
1800 * include/bits/std_stdexcept.h: Likewise.
1801 * include/bits/stl_pair.h: Likewise.
1802 * libsupc++/exception: Likewise.
1803 * libsupc++/new: Likewise.
1804 * libsupc++/typeinfo: Likewise.
1805 * libmath/Makefile.am: Update and correct copyright.
1807 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1809 * acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
1810 * aclocal.m4: Regenerate.
1813 2001-07-09 Phil Edwards <pme@sources.redhat.com>
1815 * docs/html/configopts.html: Fix thinko.
1816 * docs/html/27_io/howto.html: Fix thinko and HTML markup.
1817 * include/bits/stl_iterator.h: Fix typo.
1819 2001-07-09 Phil Edwards <pme@sources.redhat.com>
1821 * docs/html/explanations.html: New file.
1822 * docs/html/configopts.html: Link to it to provide more notes
1823 on cstdio. Minor markup and spacing fixes.
1824 * docs/html/27_io/howto.html: Talk about sync_with_stdio.
1826 2001-07-09 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
1828 * include/bits/valarray_meta.h (_Expr::operator+): Use qualified id
1829 for _Expr template template argument.
1830 (_Expr::operator-): Likewise.
1831 (_Expr::operator~): Likewise.
1832 (_Expr::operator!): Likewise.
1833 (_DEFINE_EXPR_UNARY_OPERATOR): Likewise.
1835 2001-07-06 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1837 * libmath/Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.c
1838 * libmath/Makefile.in: Regenerate.
1839 * libmath/expf.c: Remove.
1840 * libmath/atan2f.c: Likewise.
1842 2001-07-06 Daniel Jacobowitz <drow@mvista.com>
1844 * configure.in: Remove NATIVE, NULL_TARGET.
1845 Set CANADIAN only for Canadian crosses. Set xcompiling
1846 for both Canadian crosses and host-x-host crosses.
1847 * configure: Regenerated.
1849 2001-07-06 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1851 * include/bits/stl_vector.h (vector::_M_initialize_aux): Fix typo.
1853 2001-07-05 Jason Merrill <jason_merrill@redhat.com>
1855 * testsuite_flags.in (--build-includes): backward, not backwards.
1857 2001-07-04 Jeffrey Oldham <oldham@codesourcery.com>
1859 * include/ext/ropeimpl.h (_Rope_RopeRep::_M_free_c_string):
1860 Replace destroy by _Destroy.
1861 (_Rope_RopeRep::_S_free_string): Likewise.
1862 (rope::c_str()): Likewise.
1863 * include/ext/slist (_Slist_base::_M_erase_after>): Likewise.
1864 (_Slist_base::_M_erase_after): Likewise.
1865 (slist::_M_create_node): Replace construct by _Construct.
1866 (slist::pop_front): Replace destroy by _Destroy.
1867 * include/ext/stl_hashtable.h (hashtable::_M_new_node): Replace
1868 construct by _Construct.
1869 (hashtable::_M_delete_node): Replace destroy by _Destroy.
1870 * include/ext/stl_rope.h (rope::rope): Replace construct by
1872 (rope::copy): Replace destroy by _Destroy.
1874 2001-07-03 Benjamin Kosnik <bkoz@redhat.com>
1876 * include/bits/localefwd.h: Format.
1877 * include/bits/locale_facts.tcc (locale::combine): Adjust.
1878 * src/locale.cc (locale::locale::(_Impl)): Don't call
1880 (locale::facet::_M_remove_reference): Simplify.
1881 * src/globals.cc (locale_impl_c): New. Format.
1883 * src/ios.cc (ios_base::Init::Init): Increment _S_ios_base_init last.
1885 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
1887 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
1888 expansion (thanks to Alexandre Oliva).
1889 * aclocal.m4: Regenerate.
1890 * configure: Regenerate.
1892 2001-07-02 Benjamin Kosnik <bkoz@redhat.com>
1894 * src/locale.cc (locale::locale(const char*)): Make sure global
1895 locales are initialized.
1896 * include/bits/locale_facets.tcc (locale::combine): Refcout should
1897 be zero, not one as it's return-by-value.
1898 * testsuite/27_io/ios_base_callbacks.cc (test01): Don't check for
1900 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Instead, check
1903 * libsupc++/eh_alloc.cc: Use climits, not limits.h.
1905 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
1908 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
1909 * aclocal.m4: Regenerate.
1910 * configure: Regenerate.
1912 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
1915 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to
1916 staged/installed area to support -I-. Document.
1917 * aclocal.m4: Regenerate.
1918 * configure: Regenerate.
1920 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
1923 * src/ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to
1924 __out_bufsize. Add __in_bufsize, document it and use it.
1926 2001-07-01 Stephen M. Webb <stephen@bregmasoft.com>
1928 * include/bits/stl_construct.h (construct): Remove.
1930 (__destroy): Replaced by use of iterator_traits.
1931 * include/bits/stl_deque.h: replaced HP iterator functions with
1933 (construct): changed to _Construct.
1934 (destroy): changed to _Destroy.
1935 * include/bits/stl_tempbuf.h: Same.
1936 * include/bits/stl_tree.h: Same.
1937 * include/bits/stl_vector.h: Same.
1938 * include/backward/iterator.h (construct): moved definition to here.
1941 2001-06-29 Benjamin Kosnik <bkoz@redhat.com>
1943 * include/bits/locale_facets.tcc (locale::combine): Clone _Impl.
1944 before replacing facet.
1945 * include/bits/localefwd.h (locale::_Impl::_M_remove_reference):
1947 * src/localename.cc (locale::_Impl): Correct ctor initialization
1948 lists. Initialize ref count with one. Simplify.
1949 * src/locale.cc: Add comment.
1950 * testsuite/22_locale/numpunct.cc (test01): Add derivation test.
1951 * testsuite/22_locale/numpunct_char_members.cc (test01): Add tests.
1952 * testsuite/22_locale/members.cc (test02): Fix.
1954 2001-06-27 Phil Edwards <pme@sources.redhat.com>
1956 * include/backward/algo.h: Add "GPL plus runtime exception" comment
1957 block, this time for real.
1958 * include/backward/algobase.h: Likewise.
1959 * include/backward/alloc.h: Likewise.
1960 * include/backward/bvector.h: Likewise.
1961 * include/backward/defalloc.h: Likewise.
1962 * include/backward/deque.h: Likewise.
1963 * include/backward/function.h: Likewise.
1964 * include/backward/hash_map.h: Likewise.
1965 * include/backward/hash_set.h: Likewise.
1966 * include/backward/hashtable.h: Likewise.
1967 * include/backward/heap.h: Likewise.
1968 * include/backward/iterator.h: Likewise.
1969 * include/backward/list.h: Likewise.
1970 * include/backward/map.h: Likewise.
1971 * include/backward/multimap.h: Likewise.
1972 * include/backward/multiset.h: Likewise.
1973 * include/backward/pair.h: Likewise.
1974 * include/backward/rope.h: Likewise.
1975 * include/backward/set.h: Likewise.
1976 * include/backward/slist.h: Likewise.
1977 * include/backward/stack.h: Likewise.
1978 * include/backward/strstream: Likewise.
1979 * include/backward/tempbuf.h: Likewise.
1980 * include/backward/tree.h: Likewise.
1981 * include/backward/vector.h: Likewise.
1982 * include/bits/pthread_allocimpl.h: Likewise.
1983 * include/bits/std_algorithm.h: Likewise.
1984 * include/bits/std_bitset.h: Likewise.
1985 * include/bits/std_deque.h: Likewise.
1986 * include/bits/std_functional.h: Likewise.
1987 * include/bits/std_iterator.h: Likewise.
1988 * include/bits/std_list.h: Likewise.
1989 * include/bits/std_map.h: Likewise.
1990 * include/bits/std_memory.h: Likewise.
1991 * include/bits/std_numeric.h: Likewise.
1992 * include/bits/std_queue.h: Likewise.
1993 * include/bits/std_set.h: Likewise.
1994 * include/bits/std_stack.h: Likewise.
1995 * include/bits/std_utility.h: Likewise.
1996 * include/bits/std_vector.h: Likewise.
1997 * include/bits/stl_algo.h: Likewise.
1998 * include/bits/stl_algobase.h: Likewise.
1999 * include/bits/stl_alloc.h: Likewise.
2000 * include/bits/stl_bvector.h: Likewise.
2001 * include/bits/stl_construct.h: Likewise.
2002 * include/bits/stl_deque.h: Likewise.
2003 * include/bits/stl_function.h: Likewise.
2004 * include/bits/stl_heap.h: Likewise.
2005 * include/bits/stl_iterator.h: Likewise.
2006 * include/bits/stl_iterator_base_funcs.h: Likewise.
2007 * include/bits/stl_iterator_base_types.h: Likewise.
2008 * include/bits/stl_list.h: Likewise.
2009 * include/bits/stl_map.h: Likewise.
2010 * include/bits/stl_multimap.h: Likewise.
2011 * include/bits/stl_multiset.h: Likewise.
2012 * include/bits/stl_numeric.h: Likewise.
2013 * include/bits/stl_pair.h: Likewise.
2014 * include/bits/stl_pthread_alloc.h: Likewise.
2015 * include/bits/stl_queue.h: Likewise.
2016 * include/bits/stl_raw_storage_iter.h: Likewise.
2017 * include/bits/stl_relops.h: Likewise.
2018 * include/bits/stl_set.h: Likewise.
2019 * include/bits/stl_stack.h: Likewise.
2020 * include/bits/stl_tempbuf.h: Likewise.
2021 * include/bits/stl_threads.h: Likewise.
2022 * include/bits/stl_tree.h: Likewise.
2023 * include/bits/stl_uninitialized.h: Likewise.
2024 * include/bits/stl_vector.h: Likewise.
2025 * include/bits/type_traits.h: Likewise.
2026 * include/ext/hash_map: Likewise.
2027 * include/ext/hash_set: Likewise.
2028 * include/ext/rope: Likewise.
2029 * include/ext/ropeimpl.h: Likewise.
2030 * include/ext/slist: Likewise.
2031 * include/ext/stl_hash_fun.h: Likewise.
2032 * include/ext/stl_hashtable.h: Likewise.
2033 * include/ext/stl_rope.h: Likewise.
2034 * src/bitset.cc: Likewise.
2035 * src/strstream.cc: Likewise.
2037 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2038 <vakatov@ncbi.nlm.nih.gov>
2041 * include/bits/streambuf.tcc (__copy_streambufs): Don't set eofbit.
2042 * testsuite/27_io/ostream_inserter_other.cc (test04): Add test.
2043 * testsuite/27_io/istream_extractor_other.cc: Fix.
2045 2001-06-26 Zoltan Hidvegi <hzoli@austin.ibm.com>
2047 * acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
2048 * aclocal.m4: Regenerate.
2049 * configure: Regenerate.
2051 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2053 * include/bits/stream_iterator.h (istream_iterator): Add copy ctor.
2054 (ostream_iterator): Same.
2055 * include/bits/stl_iterator.h (front_insert_iterator::operator=):
2056 Change argument to const_reference.
2057 (back_insert_iterator): Same.
2059 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2061 * include/bits/sbuf_iter.h: Change to..
2062 * include/bits/streambuf_iterator.h: This.
2063 * include/bits/stl_iterator.h: Take out of here...
2064 * include/bits/stream_iterator.h: Add.
2065 * src/Makefile.am (base_headers): Add streambuf_iterator,
2067 * src/Makefile.in: Regenerate.
2068 * include/bits/std_string.h: Adjust includes.
2069 * include/bits/basic_ios.h: Same.
2070 * include/bits/locale_facets.tcc: Same.
2071 * include/bits/std_iosfwd.h: Same.
2073 * include/bits/std_iterator.h: Add istream, ostream includes.
2074 * include/bits/stl_iterator.h: Tweak.
2075 * testsuite/24_iterators/ostream_iterator.cc: Add test.
2076 * testsuite/24_iterators/istream_iterator.cc: Same.
2077 * testsuite/23_containers/multiset.cc: Add iterator include.
2079 2001-06-26 Phil Edwards <pme@sources.redhat.com>
2081 * acinclude.m4: Clean extraneous tabs, rewrap 'test' lines.
2082 * aclocal.m4: Regenerate.
2083 * configure: Regenerate.
2085 2001-06-26 Felix Natter <f.natter@ndh.net>
2087 * docs/html/17_intro/porting-howto.html: Fixed some errors.
2089 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2091 * include/bits/stl_iterator.h (istream_iterator::operator->): Fix
2093 (istream_iterator::operator*): Same.
2095 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2096 Alexandre Petit-Bianco <apbianco@redhat.com>
2098 * testsuite/21_strings/element_access.cc (test01): Chill Out Cafe
2099 is on 41st, not 14th.
2101 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2103 * include/bits/std_iterator.h: Include sbuf_iter.h via std_ios.h.
2105 * include/bits/stl_iterator.h (istream_iterator): Inherit from
2107 (ostream_iterator): Same.
2108 * testsuite/24_iterators/istream_iterator.cc: New file.
2109 * testsuite/24_iterators/ostream_iterator.cc: New file.
2111 * include/bits/sbuf_iter.h: Remove self typedef.
2112 * testsuite/24_iterators/ostreambuf_iterator.cc: Add test.
2113 * testsuite/24_iterators/istreambuf_iterator.cc: Add test.
2115 * include/bits/stl_iterator.h (reverse_iterator): Remove
2116 extraneous typedefs. Add typename.
2117 (__normal_iterator): Remove typedefs referring to self. Add typename.
2118 (reverse_bidiretional_iterator): Remove, not longer required.
2120 2001-06-26 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2122 * include/bits/stl_iterator.h (__normal_iterator<>): Qualify
2123 dependent names with `typename'. Bring in various required
2124 iterator_traits members. Can't imagine why that used to work.
2126 2001-06-25 Phil Edwards <pme@sources.redhat.com>
2127 Kurt Garloff <garloff@suse.de>
2130 * src/cmath.cc: New [version of an old] file; instantiate
2131 __cmath_power to start with.
2132 * src/Makefile.am (sources): Add cmath.cc (and alphabetize).
2133 * Makefile.in: Regenerate.
2134 * libio/Makefile.in: Regenerate.
2135 * libmath/Makefile.in: Regenerate.
2136 * libsupc++/Makefile.in: Regenerate.
2137 * src/Makefile.in: Regenerate.
2138 * testsuite/Makefile.in: Regenerate.
2140 2001-06-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2142 * libmath/stubs.c: Fix thinko.
2144 2001-06-24 David Edelsohn <dje@watson.ibm.com>
2146 * libmath/stubs.c (sqrtf): Define.
2147 (tanf): Correct typo.
2149 2001-06-22 Benjamin Kosnik <bkoz@redhat.com>
2151 * include/bits/stl_iterator.h (reverse_iterator): Inherit from
2153 (back_insert_iterator): Same.
2154 (front_insert_iterator): Same.
2155 (insert_iterator): Same.
2157 * testsuite/20_util/raw_storage_iterator.cc: Modify.
2158 * testsuite/24_iterators/reverse_iterator.cc: New file.
2159 * testsuite/24_iterators/back_insert_iterator.cc: New file.
2160 * testsuite/24_iterators/front_insert_iterator.cc: New file.
2161 * testsuite/24_iterators/insert_iterator.cc: New file.
2163 2001-06-22 Phil Edwards <pme@sources.redhat.com>
2165 * include/*: Revert comment/license change from yesterday for all
2166 except libsupc++/unwind-cxx.h.
2167 * src/bitset.cc: Likewise.
2168 * src/strstream.cc: Likewise.
2170 2001-06-22 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2172 * libmath/stubs.c: New file.
2176 * libmath/Makefile.am (libmath_la_SOURCES): Add.
2177 * libmath/Makefile.in. Regenerate.
2179 2001-06-21 Phil Edwards <pme@sources.redhat.com>
2181 * include/backward/algo.h: Add "GPL plus runtime exception" comment.
2182 * include/backward/algobase.h: Likewise.
2183 * include/backward/alloc.h: Likewise.
2184 * include/backward/bvector.h: Likewise.
2185 * include/backward/defalloc.h: Likewise.
2186 * include/backward/deque.h: Likewise.
2187 * include/backward/function.h: Likewise.
2188 * include/backward/hash_map.h: Likewise.
2189 * include/backward/hash_set.h: Likewise.
2190 * include/backward/hashtable.h: Likewise.
2191 * include/backward/heap.h: Likewise.
2192 * include/backward/iterator.h: Likewise.
2193 * include/backward/list.h: Likewise.
2194 * include/backward/map.h: Likewise.
2195 * include/backward/multimap.h: Likewise.
2196 * include/backward/multiset.h: Likewise.
2197 * include/backward/pair.h: Likewise.
2198 * include/backward/rope.h: Likewise.
2199 * include/backward/set.h: Likewise.
2200 * include/backward/slist.h: Likewise.
2201 * include/backward/stack.h: Likewise.
2202 * include/backward/strstream: Likewise.
2203 * include/backward/tempbuf.h: Likewise.
2204 * include/backward/tree.h: Likewise.
2205 * include/backward/vector.h: Likewise.
2206 * include/bits/pthread_allocimpl.h: Likewise.
2207 * include/bits/std_algorithm.h: Likewise.
2208 * include/bits/std_bitset.h: Likewise.
2209 * include/bits/std_deque.h: Likewise.
2210 * include/bits/std_functional.h: Likewise.
2211 * include/bits/std_iterator.h: Likewise.
2212 * include/bits/std_list.h: Likewise.
2213 * include/bits/std_map.h: Likewise.
2214 * include/bits/std_memory.h: Likewise.
2215 * include/bits/std_numeric.h: Likewise.
2216 * include/bits/std_queue.h: Likewise.
2217 * include/bits/std_set.h: Likewise.
2218 * include/bits/std_stack.h: Likewise.
2219 * include/bits/std_utility.h: Likewise.
2220 * include/bits/std_vector.h: Likewise.
2221 * include/bits/stl_algo.h: Likewise.
2222 * include/bits/stl_algobase.h: Likewise.
2223 * include/bits/stl_alloc.h: Likewise.
2224 * include/bits/stl_bvector.h: Likewise.
2225 * include/bits/stl_construct.h: Likewise.
2226 * include/bits/stl_deque.h: Likewise.
2227 * include/bits/stl_function.h: Likewise.
2228 * include/bits/stl_heap.h: Likewise.
2229 * include/bits/stl_iterator.h: Likewise.
2230 * include/bits/stl_iterator_base_funcs.h: Likewise.
2231 * include/bits/stl_iterator_base_types.h: Likewise.
2232 * include/bits/stl_list.h: Likewise.
2233 * include/bits/stl_map.h: Likewise.
2234 * include/bits/stl_multimap.h: Likewise.
2235 * include/bits/stl_multiset.h: Likewise.
2236 * include/bits/stl_numeric.h: Likewise.
2237 * include/bits/stl_pair.h: Likewise.
2238 * include/bits/stl_pthread_alloc.h: Likewise.
2239 * include/bits/stl_queue.h: Likewise.
2240 * include/bits/stl_raw_storage_iter.h: Likewise.
2241 * include/bits/stl_relops.h: Likewise.
2242 * include/bits/stl_set.h: Likewise.
2243 * include/bits/stl_stack.h: Likewise.
2244 * include/bits/stl_tempbuf.h: Likewise.
2245 * include/bits/stl_threads.h: Likewise.
2246 * include/bits/stl_tree.h: Likewise.
2247 * include/bits/stl_uninitialized.h: Likewise.
2248 * include/bits/stl_vector.h: Likewise.
2249 * include/bits/type_traits.h: Likewise.
2250 * include/ext/hash_map: Likewise.
2251 * include/ext/hash_set: Likewise.
2252 * include/ext/rope: Likewise.
2253 * include/ext/ropeimpl.h: Likewise.
2254 * include/ext/slist: Likewise.
2255 * include/ext/stl_hash_fun.h: Likewise.
2256 * include/ext/stl_hashtable.h: Likewise.
2257 * include/ext/stl_rope.h: Likewise.
2258 * libsupc++/unwind-cxx.h: Likewise.
2259 * src/bitset.cc: Likewise.
2260 * src/strstream.cc: Likewise.
2262 2001-06-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2264 * include/bits/indirect_array.h (indirect_array<>::operator=):
2265 Make copy and assignment operator public. Implement. Format.
2267 * include/bits/valarray_array.h (__valarray_copy): Add overloads
2268 for copy between index arrays. Format.
2270 2001-06-19 Benjamin Kosnik <bkoz@redhat.com>
2272 * mknumeric_limits: Add static definitions, format.
2273 * testsuite/18_support/numeric_limits.cc (test02): Add test.
2275 * include/c_std/bits/std_cwchar.h: Include ctime.
2276 * testsuite/17_intro/header_cwchar.cc : Check.
2278 * include/c_std/bits/std_cwctype.h: Inject wctype.
2279 * testsuite/17_intro/header_cwctype.cc: Update.
2281 2001-06-18 Benjamin Kosnik <bkoz@redhat.com>
2283 * include/bits/stl_raw_storage_iter.h: Format. Correct derivation.
2284 * testsuite/20_util/raw_storage_iterator.cc: Same.
2286 * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to
2288 (__mem_interface): New typedef for switching between malloc and new.
2289 * testsuite/20_util/allocator_members.cc: New file.
2291 * testsuite/20_util/comparisons.cc: New file.
2292 * testsuite/20_util/pairs.cc: New file.
2294 2001-06-15 Phil Edwards <pme@sources.redhat.com>
2296 * docs/html/documentation.html: Point to new doxygen'ed collection.
2298 2001-06-14 Nathan Sidwell <nathan@codesourcery.com>
2300 * configure.in (auxdir): Replace by ...
2301 (toprel): ... new variable.
2302 (toplevel_srcdir): Construct from $toprel.
2303 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
2304 rather than .. to locate gcc source directory.
2305 (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
2306 * aclocal.m4, configure: Rebuilt.
2308 2001-06-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
2310 (Approved by Mark and Benjamin. Applied by Loren.)
2312 * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
2313 _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
2314 and _GLIBCPP_mutex_address.
2315 * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
2316 once-only runtime initialization of _M_lock mutex when
2317 __GTHREAD_MUTEX_INIT_FUNCTION is defined.
2318 (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
2319 for __GTHREAD_MUTEX_INIT_FUNCTION case.
2321 2001-06-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2323 * testsuite/26_numerics/slice_array_assignment.cc (main): New test.
2325 * include/bits/slice_array.h (slice_array<>::operator=): Make
2326 public and implement.
2327 (slice_array<>::slice_array): Make copy-constructor public.
2329 * include/bits/valarray_array.h (__valarray_copy): Add another
2330 overload to copy between strided arrays.
2332 2001-06-13 Benjamin Kosnik <bkoz@redhat.com>
2334 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
2335 * aclocal.m4: Regenerate.
2336 * configure: Regenerate.
2337 * include/bits/c++config (__GLIBCPP__): Update date.
2339 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
2341 * include/bits/fpos.h (fpos::operator-): Don't return reference,
2342 return original, non-modified version.
2343 (fpos::operator+): Same.
2344 * testsuite/27_io/fpos.cc: Add test.
2346 2001-06-12 Loren J. Rittle <ljrittle@acm.org>
2349 * porting.texi: Add documentation about libstdc++-v3-specific
2350 macros that are currently included in os_defines.h files.
2352 * config/basic_file_stdio.h (sys_getc): New method.
2353 (sys_ungetc): New method.
2354 * include/bits/basic_file.h: (sys_getc): New method signature.
2355 (sys_ungetc): New method signature.
2357 * include/bits/fstream.tcc (underflow): Add conditional code
2358 paths which avoid using short seeks on streams (especially
2359 useful when the stream might be interactive or a pipe). At
2360 the moment, this alternate path only avoids seeking when the
2361 ``buffer size'' of underflow() is 1 since the C standard only
2362 guarantees buffer space for one ungetc (this technique could
2363 be extended since *-*-solaris* supports buffering for 4 calls
2364 to ungetc and *-*-*bsd* supports buffering limited only by
2365 memory resources). Also, _GLIBCPP_AVOID_FSEEK must be defined
2366 in a port's os_defines.h file for this alternate path to even
2367 be considered. As a bonus, the idiom of using getc/ungetc
2368 requires no system calls whereas fseek maps to one or two
2369 system call(s) on many platforms.
2371 * config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
2373 * config/os/solaris/solaris2.5/bits/os_defines.h
2374 (_GLIBCPP_AVOID_FSEEK): Likewise.
2375 * config/os/solaris/solaris2.6/bits/os_defines.h
2376 (_GLIBCPP_AVOID_FSEEK): Likewise.
2377 * config/os/solaris/solaris2.7/bits/os_defines.h
2378 (_GLIBCPP_AVOID_FSEEK): Likewise.
2380 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
2382 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change to
2383 AC_TRY_COMPILE, so that the built compiler is checked, and
2384 bootstraps or cross compiles with an older compile still work.
2385 * aclocal.m4: Regenerate.
2386 * configure: Regenerate.
2388 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
2391 * include/bits/std_sstream.h: Add allocator_type, as per DR 251.
2394 * include/bits/istream.tcc (getline, get): Fix as per DR 243.
2397 * include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
2400 * include/bits/limits_generic.h: Fix as per DR 184.
2402 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
2405 * include/bits/basic_string.h (string::compare): Adjust signatures
2407 * include/bits/basic_string.tcc: And here.
2410 * config/c_io_stdio.h: Remove whitespace.
2411 * testsuite/27_io/istream_seeks.cc (test03): Add regression.
2412 (test02): Add regression.
2413 * testsuite/27_io/istream_seeks-3.tst: New file.
2415 2001-06-11 Phil Edwards <pme@sources.redhat.com>
2417 * README: Update to reflect reality.
2418 * acinclude.m4: Update descriptions, fix typos. Comment changes only.
2419 * configure.in: Make certain target_alias is set and subst'd for 2.50.
2420 * aclocal.m4: Regenerate.
2421 * configure: Regenerate (with 2.13).
2423 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
2426 * include/bits/ostream.tcc (ostream::seekp): Add error checking as
2428 * include/bits/istream.tcc (istream::seekg): Same.
2429 * testsuite/27_io/istream_seeks.cc: Fix.
2432 * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
2434 * include/bits/std_queue.h: Add c++config.h.
2435 * testsuite/20_util/binders.cc: New test.
2437 2001-06-11 Matthias Klose <doko@debian.org>
2438 Phil Edwards <pme@sources.redhat.com>
2440 * docs/doxygen/run_doxygen (find_doxygen): Tweak version check.
2441 (main script): Echo more information.
2443 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
2445 * include/c_std/bits/std_cwchar.h: Alphabetize.
2446 * include/bits/char_traits.h: Tweak.
2447 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
2448 everything used by std_cwchar.h.
2449 * aclocal.m4: Regenerate.
2450 * configure.in: Regenerate.
2451 * config.h.in: Regenerate.
2453 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
2455 * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
2456 Add checking for strtof, _Exit in stdlib.h
2457 * aclocal.m4: Regenerate.
2458 * configure.in: Regenerate.
2459 * include/c_std/bits/std_cstdio.h: Alphabetize lists.
2460 (snprintf): Put C99 functions into __gnu_cxx namespace.
2465 * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
2466 for C99 functions within _GLIBCPP_USE_C99 guard.
2470 * include/bits/locale_facets.tcc: Check if C99 is enabled.
2471 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
2473 * include/c_std/bits/cmath.tcc: Formatting tweak.
2474 * include/c_std/bits/std_cmath.h: Same.
2476 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
2478 * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
2480 2001-06-09 Alexandre Oliva <aoliva@redhat.com>
2481 Stephen L Moshier <moshier@mediaone.net>
2483 * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
2484 nothing, as in autoconf 2.50.
2485 * configure: Rebuilt.
2487 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
2489 * include/c_std/bits/std_cwchar.h: Remove size_t injection,
2490 include std_cstddef.
2491 * include/c_std/bits/std_ctime.h: Same.
2492 * include/c_std/bits/std_cstring.h: Same.
2493 * include/c_std/bits/std_cstdlib.h: Same.
2495 * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
2496 * include/c_std/bits/std_cctype.h: Remove isblank.
2498 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
2500 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
2502 * aclocal.m4: Regenerate.
2503 * configure: Regenerate.
2504 * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
2505 injection, guard fgetwc, fgetws.
2506 * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
2507 * include/c_std/bits/std_clocale.h: And here.
2508 * include/c_std/bits/std_cctype.h: And here.
2509 * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
2511 * config/basic_file_stdio.h: Don't include unistd.h.
2512 * config/c_io_stdio.h: Don't use compatibility headers.
2513 * libsupc++/eh_terminate.cc: Qualify abort.
2514 (__terminate): And here.
2515 * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
2517 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
2519 * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
2521 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
2526 * include/std/*: Add copyright notice.
2527 * include/c_std/bits/*: Use using statements instead of extern "C".
2528 * include/c_std/bits/std_cmath.h: Don't overload double versions
2529 of math functions with __buitin versions, use global version to
2530 prevent ambiguities. Remove define hacks.
2531 * include/c_std/bits/std_cwchar.h: Using declarations for "C"
2532 functions that have changed signatures and std::
2533 declarations. Remove define hacks.
2534 * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
2535 __builtins in std::. Remove define hacks.
2536 * testsuite/17_intro/headers_c.cc: Add tests.
2537 * testsuite/17_intro/headers_c++.cc: Add test.
2539 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
2540 John David Anglin <dave@hiauly1.hia.nrc.ca>
2543 * libsupc++/eh_alloc.cc: Ensure that required macros are
2544 defined before including gthr.h. Ensure that we get the
2545 version of gthr.h for which we know how to provide a
2547 * libsupc++/eh_globals.cc: Likewise. And, bring the threading
2548 code path into line with the current EH model. Use std, where
2551 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
2552 John David Anglin <dave@hiauly1.hia.nrc.ca>
2554 * config/threads-no.h: Remove file.
2555 * config/threads-posix.h: Remove file.
2557 * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
2558 (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
2559 (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
2560 * config.h.in: Regenerate.
2562 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
2563 setup and use gthr*.h files. In particular, make gthr.h files
2564 namespace-clean in the staging area (they don't have to be for
2566 * aclocal.m4: Regenerate.
2567 * configure: Regenerate.
2569 * src/Makefile.am (build_headers): Remove bits/c++threads.h
2570 and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
2571 * src/Makefile.in: Regenerate.
2573 * include/bits/c++config: Cleanup threading configuration macros.
2574 In particular, define __STL_GTHREADS macro which controls...
2575 * include/bits/stl_threads.h: ...a brand new gthr.h-based
2578 * config/c_io_stdio.h: Include staged gthr.h instead of local
2579 thread configuration file. Always use __gthread_mutex_t
2580 instead of __mutext_type (or int).
2581 * include/bits/std_fstream.h: Likewise.
2583 * docs/html/17_intro/howto.html: Remove placeholder comment in
2584 case this configuration patch didn't make it. Add advice that
2585 section only applies if configured with --enable-threads.
2586 * docs/html/23_containers/howto.html: Reword to make clear
2587 that _PTHREADS is no longer required for any port to be
2588 correctly using STL with threads. Add advice that section
2589 only applies if configured with --enable-threads.
2591 2001-06-06 Benjamin Kosnik <bkoz@redhat.com>
2593 * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
2595 2001-06-05 Benjamin Kosnik <bkoz@redhat.com>
2598 * include/bits/basic_ios.tcc: Formatting tweaks.
2599 * include/bits/ios_base.h: Formatting tweaks.
2600 * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
2601 (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
2602 * src/globals.cc: Allocate filebufs for standard streams here.
2603 (buf_cout, buf_cin, buf_cerr): Like so.
2604 (buf_wcout, buf_wcin, buf_wcerr): And so.
2605 * testsuite/27_io/ios_init.cc: Add.
2607 2001-06-04 Brendan Kehoe <brendan@zen.org>
2608 Benjamin Kosnik <bkoz@redhat.com>
2611 * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
2612 for generic ctype virtuals.
2613 * src/locale.cc: Minor tweaks, naming consistency.
2614 * testsuite/22_locale/ctype.cc: Add test.
2616 2001-06-04 Kenny Simpson <theonetruekenny@yahoo.com>
2617 Phil Edwards <pme@sources.redhat.com>
2619 PR libstdc++/3035 and PR libstdc++/3036
2620 * include/bits/stl_pair.h: Fix pair ctor and make_pair according
2621 to LWG DR 181 and 265.
2623 2001-06-04 Phil Edwards <pme@sources.redhat.com>
2626 * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
2627 equal_range): Add const overloads as per LWG DR 214.
2628 * include/bits/stl_set.h: Likewise.
2630 2001-06-04 Brendan Kehoe <brendan@zen.org>
2631 Phil Edwards <pme@sources.redhat.com>
2634 * include/bits/std_bitset.h (bitset::test): Fix __pos >= _Nb
2635 comparison; all positions must be < _Nb.
2636 * testsuite/23_containers/bitset_members.cc: New file.
2638 2001-06-04 Brendan Kehoe <brendan@zen.org>
2641 * include/bits/stl_queue.h (classes queue, priority_queue): Fix
2642 ctors to match the standard.
2644 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
2646 * include/bits/char_traits.h (move): Reverse qualification of
2648 (copy): Reverse qualification of memcpy with std::.
2650 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
2652 * include/bits/char_traits.h (move): Qualify memmove with std::.
2653 (copy): Qualify memcpy with std::.
2654 * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
2657 * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
2659 2001-06-04 Hans-Peter Nilsson <hp@axis.com>
2661 * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
2662 uninstall-glibcppinstallHEADERS): Have explicit rules catering to
2663 SUN make VPATH peculiarities.
2664 * libsupc++/Makefile.in: Regenerate.
2666 2001-06-01 Hans-Peter Nilsson <hp@axis.com>
2668 * src/Makefile.am (VPATH): Delimit with ":", not space.
2669 * src/Makefile.in: Regenerate.
2671 * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
2673 * configure: Regenerate.
2675 2001-05-31 scott snyder <snyder@fnal.gov>
2678 * include/bits/istream.tcc: Include std_ostream.h.
2680 2001-05-31 Benjamin Kosnik <bkoz@redhat.com>
2683 * src/bitset.cc: Qualify size_t with std::.
2685 2001-05-30 Benjamin Kosnik <bkoz@redhat.com>
2687 * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
2688 (_GLIBCPP_BUGGY_COMPLEX): Remove.
2689 * config.h.in: Regenerate.
2690 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
2691 * aclocal.m4: Regenerate.
2692 * configure.in: Don't call it.
2693 * configure: Regenerate.
2696 * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
2697 * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
2701 * include/bits/std_complex.h: Include sstream. Put definitions for
2702 complex inserters and extractors here, and remove them from...
2703 * src/complex_io.cc: ...here.
2704 * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
2706 (basic_ios::__numget_type): Same.
2707 * include/bits/std_istream.h: Same.
2708 * include/bits/std_ostream.h: Same.
2709 * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
2710 class iterator template arguments.
2711 * src/locale-inst.cc: Add explicit has_facet instantiations.
2712 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
2713 (_M_get_fnumput): Remove.
2714 (_M_get_fnumget): Remove.
2715 (basic_ios::_M_check_facet): New function.
2716 (basic_ios::_M_cache_facets): New function.
2717 * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
2718 (basic_ios::imbue): Call _M_cache_facets.
2719 (basic_ios::init): Same.
2720 * include/bits/istream.tcc: Format, use _M_check_facet.
2721 * include/bits/ostream.tcc: Same.
2722 * include/bits/locale_facets.tcc (__output_float): Change
2723 signature, add _Traits.
2724 * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
2727 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
2729 * include/bits/c++config (__USE_MALLOC): Do not define it.
2730 Document why not and give pointers to more information.
2732 * docs/html/23_containers/howto.html: Update documentation
2733 to reflect recent understanding of problem.
2734 * docs/html/17_intro/howto.html: Likewise.
2736 2001-05-30 Phil Edwards <pme@sources.redhat.com>
2738 * docs/doxygen/user.cfg.in: Minor addition.
2739 * docs/html/documentation.html: Reorganize. Put most-looked-at
2741 * docs/html/install.html: Update for 3.0. HTML fixups.
2742 * docs/html/17_intro/howto.html: Likewise.
2743 * docs/html/18_support/howto.html: Likewise.
2744 * docs/html/19_diagnostics/howto.html: Likewise.
2745 * docs/html/20_util/howto.html: Likewise.
2746 * docs/html/23_containers/howto.html: Likewise.
2747 * docs/html/24_iterators/howto.html: Likewise. More notes.
2748 * docs/html/25_algorithms/howto.html: Likewise.
2749 * docs/html/26_numerics/howto.html: Likewise. More notes.
2750 * docs/html/27_io/howto.html: Likewise.
2751 * docs/html/ext/howto.html: Likewise.
2752 * docs/html/faq/index.html: Likewise.
2753 * docs/html/faq/index.txt: Regenerate.
2754 * docs/html/27_io/iostreams_hierarchy.pdf: Remove in favor of
2755 Doxygen-created documentation.
2757 2001-05-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2759 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
2760 get_multilibs to find gcc.
2762 2001-05-30 Phil Edwards <pme@sources.redhat.com>
2764 * acinclude.m4 (GLIBCPP_ENABLE_C99): Reorder output messages.
2765 * aclocal.m4: Regenerate.
2766 * configure: Regenerate.
2768 2001-05-29 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2770 * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
2771 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
2773 2001-05-27 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2775 * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
2776 * include/c_std/bits/std_cstdlib.h: Same.
2777 * include/c_std/bits/std_cwchar.h: Same.
2779 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
2781 * docs/html/17_intro/howto.html: Update link.
2782 * docs/html/23_containers/howto.html: Likewise. Add new link.
2784 2001-05-26 Gabriel Dos Reis <gdr@codesourcery.com>
2786 * include/c_std/bits/std_cmath.h (sqrt): #undef.
2788 2001-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2790 * mknumeric_limits: Stop if gen-num-limits dies.
2792 2001-05-25 Benjamin Kosnik <bkoz@redhat.com>
2795 * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
2796 * aclocal.m4: Regenerate.
2799 2001-05-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2800 Phil Edwards <pme@sources.redhat.com>
2801 Alexandre Oliva <aoliva@redhat.com>
2803 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
2804 in an amd-safe manner. Revert glibcpp_prefixdir.
2806 2001-05-25 Gabriel Dos Reis <gdr@codesourcery.com>
2808 * include/c_std/bits/std_cmath.h: Tweak. #define away abs, cos,
2809 fabs, sin, sqrt. They are now implemented in terms of __builtin_
2812 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
2815 * testsuite/21_strings/inserters_extractors.cc (test09): New test.
2816 * include/bits/ostream.tcc: Format to match istream.tcc.
2817 (operator<<(basic_ostream __out, const basic_string __s)): Fix.
2819 2001-05-24 Phil Edwards <pme@sources.redhat.com>
2821 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Qualify
2823 (__cxa_free_exception): Likewise with free.
2825 2001-05-24 Mark Mitchell <mark@codesourcery.com>
2827 * include/c_std/bin/std_cstring.h: #define away all global
2828 functions we will redeclare in namespace `std'.
2829 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
2830 std::memset, instead of memset.
2831 * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
2833 * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
2836 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
2839 * include/bits/basic_ios.tcc: Small tweak.
2840 * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
2841 ctors and dtors, and rdbuf settings.
2844 * include/bits/std_sstream.h: Same, but for stringstream classes.
2845 * testsuite/27_io/ostringstream_members.cc: New.
2846 * testsuite/27_io/stringstream_members.cc: New.
2847 * testsuite/27_io/fstream_members.cc: New.
2848 * testsuite/27_io/ifstream_members.cc: Add test.
2849 * testsuite/27_io/istringstream_members.cc: Add test.
2850 * testsuite/27_io/ofstream_members.cc: Add test.
2852 2001-05-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2854 * include/bits/c++config(__NO_MATH_INLINES): Move to...
2855 * config/os/gnu-linux/bits/os_defines.h: ...here.
2857 2001-05-24 Gabriel Dos Reis <gdr@codesourcery.com>
2859 * include/bits/c++config (__NO_MATH_INLINES): New macro.
2860 * testsuite/26_numerics/fabs_inline.cc (main): New test.
2862 2001-05-22 Benjamin Kosnik <bkoz@redhat.com>
2865 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
2867 (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
2868 (libstdc++-v3-finish): Remove.
2869 (libstdc++-v3_exit): Remove.
2871 2001-05-22 Phil Edwards <pme@sources.redhat.com>
2873 * docs/html/documentation.html: Point to doxygen output.
2875 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
2877 * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
2879 * include/bits/std_sstream.h (stringbuf::setbuf): Require both
2880 arguments to be non-null.
2881 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
2882 try allocations if allocated size is greater than zero.
2883 (filebuf::_M_filebuf_init): Change to
2884 (filebuf::_M_allocate_file): Which is what it does now.
2885 (filebuf::_M_allocate_bufers): Change to
2886 (filebuf::_M_allocate_internal_buffer): This, and create
2887 (filebuf::_M_allocate_pback_buffer): New.
2888 (filebuf::_M_destroy_internal_buffer): New.
2889 (filebuf::_M_buf_allocated): New data member.
2890 (filebuf::setbuf): Use new logic, allow use of external buffer.
2891 * testsuite/27_io/stringbuf_virtuals.cc: New file.
2892 * testsuite/27_io/filebuf_virtuals.cc: New file.
2894 2001-05-21 Stephen M. Webb <stephen@bregmasoft.com>
2896 * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
2898 (strchr): Same, but to __glibcpp_strchr.
2902 * include/c_std/bits/std_cwchar.h (wcschr): Same.
2908 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
2910 * testsuite/21_strings/c_strings.cc (main): Fix.
2912 2001-05-19 Phil Edwards <pme@sources.redhat.com>
2914 * acinclude.m4: Fix --help spacing, correct comments.
2915 * aclocal.m4: Regenerate.
2916 * configure: Regenerate.
2917 * mkcheck.in: Add usage comments.
2918 * docs/html/documentation.html: Point to doxygen'd tarball.
2920 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
2922 * testsuite/README: Add notes.
2924 * src/Makefile.am (libstdc++.INC): Remove.
2925 * src/Makefile.in: Regenerate.
2927 Phil Edwards <pedwards@disaster.jaj.com>
2928 * mkcheck.in: Add missing '#'.
2930 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
2932 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
2933 appropriately for remote testing and testing installed files without
2936 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
2938 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
2939 amd glibcpp_prefixdir with absolute paths.
2941 * include/bits/c++config (__GLIBCPP__): Bump.
2942 * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
2944 2001-05-18 Gabriel Dos Reis <gdr@codesourcery.com>
2946 * include/bits/std_valarray.h (valarray<>::operator[] const):
2947 Return a const reference.
2948 * testsuite/26_numerics/valarray_const_bracket.cc: New test.
2950 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
2952 * configure.target (ATOMICITYH): Actually use AIX-specific code on
2953 earlier versions of AIX 4.*.
2955 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
2957 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set
2958 output_file based on the name of the testcase.
2960 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
2962 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Build
2963 gluefile and use it if needs_status_wrapper is set.
2965 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
2967 * configure.target (ATOMICITYH): Use cpu/generic code on earlier
2970 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
2972 * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
2973 on earlier versions of AIX.
2975 2001-05-15 Benjamin Kosnik <bkoz@redhat.com>
2977 * testsuite_flags.in (query): Add backwards, ext directories.
2979 2001-05-15 Mark Mitchell <mark@codesourcery.com>
2981 * porting.texi: Correct documentation about handling
2982 _LARRGEFILE_SOURCE and its ilk.
2983 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
2984 definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
2986 * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
2987 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
2989 2001-05-15 Zack Weinberg <zackw@stanford.edu>
2991 * testsuite/21_strings/inserters_extractors.cc,
2992 testsuite/27_io/istream_unformatted.cc,
2993 testsuite/27_io/stringstream.cc:
2994 Replace multi-line string constants with C89-style
2995 concatenated string constants.
2997 2001-05-14 Richard Henderson <rth@redhat.com>
2999 * mknumeric_limits: Build with -fno-exceptions.
3001 2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
3003 Switch over to new harness.
3004 * testsuite_flags.in: Tweaks via Gaby.
3005 * testsuite/Makefile.am: Change tool to libstdc++-v3.
3006 (EXPECT): Quote directly.
3008 * configure.in: Output testsuite_flags.
3009 * acinclude.m4: Substitute src, bld, and prefix dirs.
3010 Remove glibcpp_expect, glibcpp_runtestflags.
3011 * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
3012 * mkcheck.in: Port to new interface.
3014 * aclocal.m4: Regerate.
3015 * configure: Regnerate.
3016 * Makefile.in: Regnerate.
3017 * */Makefile.in: Regenerate.
3019 * tests_flags.in: Remove.
3020 * testsuite/lib/libstdc++.exp: Remove.
3021 * testsuite/libstdc++.tests/tests.exp: Remove.
3023 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
3025 * configure.target: Remove detection of AIX pthread multilib, now
3026 obtained from `gcc -v'.
3028 2001-05-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
3030 * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
3031 size. Add hpux case for HP size.
3033 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
3035 * testsuite_flags.in: New, simplified interface.
3036 * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
3037 * testsuite/libstdc++-v3.dg: Add.
3038 * testsuite/libstdc++-v3.dg/dg.exp: Add.
3040 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
3042 * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
3043 * testsuite/config/default.exp: Update bugs email address.
3045 2001-05-11 Richard Henderson <rth@redhat.com>
3047 * libsupc++/eh_personality.cc: Include unwind-pe.h. Remove
3048 all pointer encoding logic.
3049 (struct lsda_header_info): Add ttype_base.
3050 (get_ttype_entry): Use it instead of a context.
3051 (check_exception_spec): Likewise.
3052 (PERSONALITY_FUNCTION): Initialize ttype_base. Store it in
3053 the c++ exception header for __cxa_call_unexpected.
3054 (__cxa_call_unexpected): Use it.
3056 2001-05-09 Benjamin Kosnik <bkoz@redhat.com>
3058 * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
3059 libgloss_link_flags to find crt0.o for targets that use libgloss
3061 Change LDFLAGS to LIBS.
3062 Consistently name procedures libstdc++-XXX.
3063 * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
3065 2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
3067 * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
3072 * include/c_std/bits/std_cwchar.h (wcschr): Same.
3077 * testsuite/21_strings/c_strings.cc: Add tests.
3079 2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
3082 * include/bits/std_fstream.h (basic_filebuf): Change signature.
3083 * include/bits/fstream.tcc (basic_filebuf): Change bool argument
3084 to int_type, pass in buffer size info.
3085 * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
3086 unbuffered situation.
3087 (underflow): Remove codecvt bits for the time being.
3088 * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
3089 * include/bits/locale_facets.tcc (_M_extract): Cache dereference
3090 values from iterators, clean.
3091 * src/locale.cc: Ditto.
3092 * include/bits/sbuf_iter.h: Format.
3093 * src/ios.cc: Explicitly pass in buffer sizes at creation time.
3094 * testsuite/27_io/narrow_stream_objects.cc: Add tests.
3095 * testsuite/27_io/filebuf.cc: Tweaks.
3096 * testsuite/27_io/filebuf_members.cc: Tweaks.
3098 2001-05-07 Mark Mitchell <mark@codesourcery.com>
3100 * config/os/solaris/solaris2.7/bits/os_defines.h
3101 (_LARGEFILE_SOURCE): Define it.
3103 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
3105 * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
3106 -prefer-non-pic depending on whether libtool has shared libraries
3107 enabled or disabled.
3108 * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
3109 $(LIBSUPCXX_PICFLAGS).
3110 * configure, */Makefile.in: Rebuilt.
3112 2001-05-01 Benjamin Kosnik <bkoz@redhat.com>
3114 * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
3115 * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
3117 * include/bits/std_sstream.h (stringbuf): Leak
3119 * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
3121 2001-05-01 Tom Browder <tbrowder@home.com>
3123 * docs/html/ext/howto.html: Fix typo.
3125 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
3127 * testsuite/libstdc++.tests/tests.exp: Add comment.
3129 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
3131 * testsuite/libstdc++.tests/tests.exp: Set ulimits.
3133 2001-04-30 Mark Mitchell <mark@codesourcery.com>
3135 * porting.texi: Use the GFDL.
3137 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
3140 * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
3141 * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
3144 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
3147 * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
3149 2001-04-28 Phil Edwards <pme@sources.redhat.com>
3151 * docs/doxygen/run_doxygen: Minor tweaks.
3152 * docs/doxygen/style.css: New file.
3153 * docs/doxygen/user.cfg.in: Update using "doxygen -u" to get the
3154 latest parameters available. Use style.css.
3156 2001-04-27 Benjamin Kosnik <bkoz@redhat.com>
3158 * docs/doxygen/mainpage.doxy: New.
3159 * docs/doxygen/user.cfg.in: Change default configuration. Single
3160 frame, other tweaks.
3162 2001-04-26 Mark Mitchell <mark@codesourcery.com>
3164 * docs/html/17_intro/BADNAMES: Remove EGCS reference.
3165 Indicate obsolete nature of thelist for G++ 3.0.
3167 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
3169 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
3170 target_thread_file with `gcc -v'.
3171 * aclocal.m4, configure: Rebuilt.
3173 2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
3175 * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
3176 * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
3177 * include/c_std/bits/std_cwchar.h (std): Same.
3178 * acconfig.h (std): Remove c99 injection into std.
3179 * config.h.in: Regenerate.
3181 * testsuite/README: Fix typo.
3183 * include/bits/codecvt.h: Remove warnings.
3185 2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3187 * include/ext/slist: Include required header files.
3189 2001-04-23 Loren J. Rittle <ljrittle@acm.org>
3191 * include/c_std/bits/std_cerrno.h (errno): Define macro from
3192 identifier declared with external linkage, if needed.
3193 * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
3194 * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
3196 2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
3198 * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
3199 re-configures find the build compiler.
3200 (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
3202 * aclocal.m4: Regenerate.
3203 * configure: Regenerate.
3205 2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
3207 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
3208 support is enabled correctly before long long is activated.
3209 * aclocal.m4: Regenerate.
3210 * configure: Regenerate.
3212 * include/backward/backward_warning.h: Format correctly.
3214 * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
3215 * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
3216 * testsuite/26_numerics/c99_macros.cc: Remove.
3218 2001-04-20 Phil Edwards <pme@sources.redhat.com>
3220 * include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
3221 __iterator_category.
3223 2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
3225 * acconfig.h (_GLIBCPP_USE_C99): Add.
3226 * config.h.in: Regenerate.
3227 * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
3229 * aclocal.m4: Regenerate.
3230 * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
3231 * configure: Regenerate.
3232 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
3233 * configure: Regenerate.
3234 * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
3236 * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
3238 * include/c_std/bits/std_cstdlib.h: Same.
3239 * docs/html/configopts.html: Update.
3240 * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
3242 (test_c99_classify): Add.
3243 * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
3244 (_ISOC99_SOURCE): Remove.
3246 * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
3247 * include/bits/c++config (__STL_ASSERTIONS): Simplify.
3248 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
3249 * aclocal.m4: Regenerate.
3250 * configure: Regenerate.
3252 2001-04-19 Phil Edwards <pme@sources.redhat.com>
3254 * Makefile.am (doxygen): Assume script is missing execute perms.
3255 * Makefile.in: Regenerated.
3256 * docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
3258 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
3260 * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
3262 2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
3264 * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
3265 * testsuite/23_containers/set_operators.cc: Same.
3267 * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
3269 (__GLIBCPP__): Bump from value of last release.
3270 * include/bits/concept_check.h: Default to off, edit comments.
3271 * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
3272 * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
3273 * src/Makefile.in: Regenerate.
3275 2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE>
3277 * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
3278 Properly uglify member.
3280 2001-04-13 Phil Edwards <pme@sources.redhat.com>
3282 * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead
3286 2001-04-13 Phil Edwards <pme@sources.redhat.com>
3288 * include/bits/boost_concept_check.h: Uglify, fork from Boost.
3289 * include/bits/concept_check.h: Uglify.
3290 * include/bits/stl_algo.h: Likewise.
3291 * include/bits/stl_algobase.h: Likewise.
3292 * include/bits/stl_deque.h: Likewise.
3293 * include/bits/stl_heap.h: Likewise.
3294 * include/bits/stl_iterator_base_funcs.h: Likewise.
3295 * include/bits/stl_list.h: Likewise.
3296 * include/bits/stl_map.h: Likewise.
3297 * include/bits/stl_multimap.h: Likewise.
3298 * include/bits/stl_multiset.h: Likewise.
3299 * include/bits/stl_numeric.h: Likewise.
3300 * include/bits/stl_queue.h: Likewise.
3301 * include/bits/stl_set.h: Likewise.
3302 * include/bits/stl_stack.h: Likewise.
3303 * include/bits/stl_vector.h: Likewise.
3304 * include/ext/hash_map: Likewise.
3305 * include/ext/hash_set: Likewise.
3306 * include/ext/slist: Likewise.
3308 2001-04-13 Gabriel Dos Reis <gdr@codesourcery.com>
3310 * testsuite/23_containers/set_operators.cc: Just try to compile.
3312 * testsuite/23_containers/map_operators.cc: Same.
3314 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
3316 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
3318 (dg-test): Revert rth's change.
3320 2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
3322 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
3323 terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
3325 2001-04-12 Gabriel Dos Reis <gdr@codesourcery.com>
3327 * testsuite/README: Add DejaGnu specific documentation.
3329 2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
3331 * acinclude.m4: AC_CHECK_TOOL for expect.
3332 * aclocal.m4: Regenerate.
3333 * configure: Regenerate.
3334 * testsuite/Makefile.am (RUNTEST): Use substituted.
3337 * configure.in: Remove xcompiling substitution.
3338 * tests_flags.in (CROSS_LIB_PATH): Remove.
3339 (xcompiling): Remove.
3340 (CXX): Use substituted CXX.
3342 2001-04-11 Richard Henderson <rth@redhat.com>
3344 * testsuite/lib/libstdc++.exp: Specify path for output_file.
3346 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
3348 * include/bits/std_valarray.h(valarray<>::operator[]): Make
3351 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
3353 * testsuite/25_algorithms/equal.cc: New test.
3355 2001-04-06 Joe Buck <jbuck@welsh-buck.org>
3357 * stl_algobase.h (std::equal): avoid use of possibly-undefined
3358 operator != (one line patch).
3360 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
3362 * include/backward/backward_warning.h: Re-enable.
3364 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
3365 Alexandre Oliva <aoliva@redhat.com>
3367 * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
3369 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
3371 * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
3372 * testsuite/26_numerics/c99_macros.cc: Add test.
3374 2001-04-06 Phil Edwards <pme@sources.redhat.com>
3376 * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES.
3377 * docs/html/faq/index.txt: Regenerated.
3379 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
3381 * include/backward/backward_warning.h: Temporarily disable until
3382 g++ testsuite changes go in.
3383 * tests_flags.in (CROSS_LIB_PATH): Add.
3385 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
3387 Warn when using backward headers.
3388 * include/backward/algo.h: Include warning file.
3389 * include/backward/vector.h: Same.
3390 * include/backward/tree.h: Same.
3391 * include/backward/tempbuf.h: Same.
3392 * include/backward/strstream: Same.
3393 * include/backward/streambuf.h: Same.
3394 * include/backward/stream.h: Same.
3395 * include/backward/stack.h: Same.
3396 * include/backward/slist.h: Same.
3397 * include/backward/set.h: Same.
3398 * include/backward/rope.h:
3399 * include/backward/queue.h: Same.
3400 * include/backward/pair.h: Same.
3401 * include/backward/ostream.h: Same.
3402 * include/backward/new.h: Same.
3403 * include/backward/multiset.h: Same.
3404 * include/backward/multimap.h: Same.
3405 * include/backward/map.h: Same.
3406 * include/backward/list.h: Same.
3407 * include/backward/iterator.h: Same.
3408 * include/backward/istream.h: Same.
3409 * include/backward/iostream.h:
3410 * include/backward/iomanip.h:
3411 * include/backward/heap.h: Same.
3412 * include/backward/hashtable.h:
3413 * include/backward/hash_set.h:
3414 * include/backward/hash_map.h:
3415 * include/backward/function.h:
3416 * include/backward/fstream.h:
3417 * include/backward/deque.h:
3418 * include/backward/defalloc.h: Same.
3419 * include/backward/complex.h: Same.
3420 * include/backward/bvector.h:
3421 * include/backward/alloc.h:
3422 * include/backward/algobase.h: Same.
3424 * include/backward/backward_warning.h: New file.
3425 * src/Makefile.am (backward_headers): Add backward_warning.h
3426 * src/Makefile.in: Regenerate.
3428 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
3430 * src/Makefile.am (myinstalldirs): Make sure backward directory is
3432 (myinstallheaders): Install backward headers in backward directory.
3433 * src/Makefile.in: Regenerate.
3435 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
3437 Prepare for libstdc++-2.92.
3438 * docs/html/17_intro/RELEASE-NOTES (New): Update.
3439 * docs/html/configopts.html: Fix formatting.
3440 * README (file): Updates.
3441 * include/bits/c++config (__GLIBCPP__): Update.
3443 2001-04-05 Phil Edwards <pme@sources.redhat.com>
3445 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
3447 2001-04-04 Phil Edwards <pme@sources.redhat.com>
3449 * docs/doxygen/user.cfg.in: Extract all non-private members;
3450 reduce confusing documentation output.
3452 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
3454 * include/backward/fstream.h: Add missing semicolons.
3456 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
3458 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
3459 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
3460 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
3461 (ios_base::Init::_S_ios_create): New.
3462 (ios_base::Init::_S_ios_destroy): New.
3463 * include/bits/std_fstream.h: Change ctor args.
3464 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
3465 (ios_base::Init::~Init): Use _S_ios_destroy.
3466 (ios_base::sync_with_stdio): Use new members.
3467 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
3470 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3472 * include/backward/fstream.h: Expose streampos to global
3475 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3477 * include/bits/stl_iterator_base_types.h: Fix typo
3479 2001-04-03 Andreas Schwab <schwab@suse.de>
3481 * include/backward/fstream.h: Define filebuf and wfilebuf.
3483 2001-04-02 Phil Edwards <pme@sources.redhat.com>
3485 New concept checking implementation.
3486 * docs/html/19_diagnostics/howto.html: Document.
3487 * docs/html/17_intro/concept_check.diff: New file, for reference.
3488 * include/bits/boost_concept_check.h: New file from Boost.
3489 * include/bits/c++config: Update comments.
3491 * include/bits/concept_check.h: New file.
3492 * include/bits/concept_checks.h: Removed.
3493 * include/bits/container_concepts.h: Removed.
3494 * include/bits/sequence_concepts.h: Removed.
3495 * include/bits/stl_iterator_base.h: Removed; split into...
3496 * include/bits/stl_iterator_base_funcs.h: ...this new file...
3497 * include/bits/stl_iterator_base_types.h: ...and this new file.
3499 * include/bits/sbuf_iter.h: Update to use new implementation.
3500 * include/bits/std_iterator.h: Likewise.
3501 * include/bits/std_memory.h: Likewise.
3502 * include/bits/stl_algo.h: Likewise.
3503 * include/bits/stl_algobase.h: Likewise.
3504 * include/bits/stl_construct.h: Likewise.
3505 * include/bits/stl_deque.h: Likewise.
3506 * include/bits/stl_heap.h: Likewise.
3507 * include/bits/stl_list.h: Likewise.
3508 * include/bits/stl_map.h: Likewise.
3509 * include/bits/stl_multimap.h: Likewise.
3510 * include/bits/stl_multiset.h: Likewise.
3511 * include/bits/stl_numeric.h: Likewise.
3512 * include/bits/stl_queue.h: Likewise.
3513 * include/bits/stl_set.h: Likewise.
3514 * include/bits/stl_stack.h: Likewise.
3515 * include/bits/stl_uninitialized.h: Likewise.
3516 * include/bits/stl_vector.h: Likewise.
3517 * include/ext/hash_map: Likewise.
3518 * include/ext/hash_set: Likewise.
3519 * include/ext/slist: Likewise.
3520 * include/ext/stl_hashtable.h: Likewise.
3522 * src/Makefile.am (base_headers): Update list of headers.
3523 * Makefile.in: Regenerated.
3524 * src/Makefile.in: Regenerated.
3525 * libio/Makefile.in: Regenerated.
3526 * libmath/Makefile.in: Regenerated.
3527 * libsupc++/Makefile.in: Regenerated.
3528 * testsuite/Makefile.in: Regenerated.
3530 * docs/html/install.html: Update contact information.
3531 * docs/html/17_intro/howto.html: Ditto.
3532 * docs/html/18_support/howto.html: Ditto.
3533 * docs/html/20_util/howto.html: Ditto.
3534 * docs/html/21_strings/howto.html: Ditto.
3535 * docs/html/22_locale/howto.html: Ditto.
3536 * docs/html/23_containers/howto.html: Ditto.
3537 * docs/html/24_iterators/howto.html: Ditto.
3538 * docs/html/25_algorithms/howto.html: Ditto.
3539 * docs/html/26_numerics/howto.html: Ditto.
3540 * docs/html/27_io/howto.html: Ditto.
3541 * docs/html/faq/index.html: Ditto, plus info on new checking code.
3542 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
3543 * docs/html/faq/index.txt: Regenerated.
3545 2001-04-02 Zack Weinberg <zackw@stanford.edu>
3547 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
3548 messages with $which_library as well as $tool_flags and
3549 ${dg-extra-tool-flags}. Factor out annotation text into
3552 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
3554 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
3555 * include/c_std/bits/std_cwchar.h: Same.
3556 * testsuite/21_strings/c_strings.cc: Add.
3558 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
3560 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
3562 2001-04-01 Zack Weinberg <zackw@stanford.edu>
3564 * tests_flags.in: Use test a = b, not test a == b which is not
3567 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
3569 * configure.target: Remove duplicate aix entry.
3571 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
3573 * include/ext/stl_bvector.h: Move to...
3574 * include/bits/stl_vector.h: ...here.
3575 * include/ext/bvector: Move to...
3576 * include/backward/bvector.h: ...here.
3577 * include/bits/std_vector.h: Change stl_bvector include.
3578 * include/bits/std_queue.h: Remove bvector include.
3579 * include/ext/tree: Insert using rb_tree, move to...
3580 * include/backward/tree.h: ...here.
3581 * include/backward/hash_map.h: Include ext/hash_map.
3582 * include/backward/hash_set.h: Include ext/hash_set.
3583 * include/backward/queue.h: New file.
3584 * include/backward/stack.h: Edit.
3585 * include/backward/algo.h: Same.
3586 * include/backward/algobase.h: Same.
3587 * include/backward/alloc.h: Same.
3588 * include/backward/function.h: Same.
3589 * include/backward/iomanip.h: Same.
3590 * include/backward/istream.h: Same.
3591 * include/backward/iterator.h: Same.
3592 * include/backward/list.h: Same.
3593 * include/backward/map.h: Same.
3594 * include/backward/multimap.h: Same.
3595 * include/backward/multiset.h: Same.
3596 * include/backward/ostream.h: Same.
3597 * include/backward/pair.h: Same
3598 * include/backward/rope.h: Same.
3599 * include/backward/set.h: Same.
3600 * include/backward/stream.h: Same.
3601 * include/backward/strstream.h: Same.
3602 * include/backward/tempbuf.h: Same.
3603 * src/Makefile.am (ext_headers): Edit.
3604 * src/Makefile.in: Regenerate.
3605 * testsuite/ext/headers.cc (main): Fix.
3608 2001-03-30 Phil Edwards <pme@sources.redhat.com>
3610 * tests_flags.in (LIBS): Pass correct path for installed testing.
3612 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
3614 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
3615 * tests_flags.in (CXX): Construct here.
3616 (static_fail): Don't remove compile.out. Format with spaces.
3617 (INCLUDES): Deal with xcompiling.
3618 * configure.in (xcompiling): Substitute.
3619 * testsuite/Makefile.am: Snake libjava configury.
3620 * testsuite/Makefile.in: Regenerate.
3621 * testsuite/23_containers/map_operators.cc: Tweaks.
3622 * testsuite/23_containers/set_operators.cc: Tweaks.
3624 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3626 Enable dejagnu testing framework.
3627 * configure.in: Generate testsuite/Makefile.
3628 * configure: Regenerate.
3629 * Makefile.am (check-install): Change rule from this...
3630 (check-script-install): ...to this.
3631 (check): Change rule from this...
3632 (check-script):...to this.
3633 * Makefile.in: Regenerate.
3635 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
3637 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
3639 (LIBTOOL): Let automake take care of its definition.
3640 * libsupc++/Makefile.in: Rebuilt.
3642 2001-03-28 Richard Henderson <rth@redhat.com>
3644 IA-64 ABI Exception Handling:
3645 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
3646 * configure.in: Use it.
3647 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
3648 * libsupc++/Makefile.am (sources): Update files list.
3649 * libsupc++/Makefile.in: Regenerate.
3650 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
3651 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
3652 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
3653 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
3654 * libsupc++/exception_support.cc: Remove.
3655 * libsupc++/exception_support.h: Remove.
3656 * libsupc++/pure.cc: Use std::terminate.
3657 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
3658 (__is_pointer): Remove.
3659 * libsupc++/unwind-cxx.h: New file.
3660 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
3662 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
3664 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
3666 * src/Makefile.am (CXXLINK): Likewise.
3667 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
3669 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
3671 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
3673 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3675 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
3678 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
3680 * include/bits/basic_file.h (get_fileno): Remove.
3681 (_M_fileno): Remove.
3682 (_M_cfile_created): Add.
3683 (basic_file::basic_file(__c_file_type*, openmode): Add.
3684 (basic_file::basic_file(int, const char*, openmode): Remove.
3685 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
3686 const char*, ios_base::openmode): Don't allocate
3687 internal buffers. Turn off internal buffers.
3688 (basic_filebuf::overflow): Remove test for null buffer.
3689 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
3690 * include/bits/streambuf.cc: Tweak.
3691 * include/bits/std_ostream.h: Tweak.
3692 * config/basic_file_libio.h: Same.
3693 * config/basic_file_stdio.h: Same.
3694 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
3695 * testsuite/27_io/filebuf_members.cc: Tweaks.
3696 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
3698 2001-03-24 Phil Edwards <pme@sources.redhat.com>
3700 * Makefile.am: New targets, doxygen and doxygen-maint.
3701 * Makefile.in: Regenerated.
3702 * docs/doxygen/run_doxygen: Finally implemented.
3703 * docs/doxygen/maint.cfg.in: New file.
3704 * docs/doxygen/user.cfg.in: New file.
3706 2001-03-24 Phil Edwards <pme@sources.redhat.com>
3708 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
3709 * src/Makefile.am: Replace leading spaces with tabs on continuation
3711 * aclocal.m4: Regenerated.
3713 * Makefile.in: Ditto.
3714 * src/Makefile.in: Ditto.
3715 * libio/Makefile.in: Ditto.
3716 * libmath/Makefile.in: Ditto.
3717 * libsupc++/Makefile.in: Ditto.
3719 2001-03-24 Phil Edwards <pme@sources.redhat.com>
3721 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
3722 concept-checking code and current status of same.
3723 * docs/html/ext/howto.html: Ditto.
3724 * docs/html/faq/index.html: Ditto.
3725 * docs/html/faq/index.txt: Regenerated.
3727 2001-03-24 Phil Edwards <pme@sources.redhat.com>
3729 * include/bits/std_bitset.h: Include ostream and istream headers
3730 instead of iostream.
3732 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
3734 * include/bits/ostream.tcc: Use __builtin_alloca.
3736 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
3738 * src/misc-inst.cc (__sink_unused_warning): Move to...
3739 * src/locale-inst.cc (__sink_unused_warning): Move to...
3740 * src/stl-inst.cc: Here.
3741 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
3744 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
3746 * intclude/bits/basic_file.h: Fix typos in comments.
3748 2001-03-20 Richard Henderson <rth@redhat.com>
3750 * src/gen-num-limits.cc: Instantiate for wchar_t.
3751 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
3753 2001-03-20 Jason Merrill <jason@redhat.com>
3755 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
3756 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
3757 * libsupc++/cxxabi.h: Declare it.
3759 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
3761 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
3762 signal_func with an unspecified argument list.
3764 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
3766 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
3768 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3770 * include/bits/basic_string.tcc (operator+): Fix thinko.
3772 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
3775 * include/bits/std_streambuf.h: Remove cached locale facets.
3776 (basic_streambuf::_M_buf_fctype): Remove.
3777 (basic_streambuf::~basic_streambuf): Remove here.
3778 (basic_streambuf::basic_streambuf): Same.
3779 (basic_streambuf::imbue): Same.
3780 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
3781 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
3782 (basic_filebuf::~basic_filebuf()): Remove here.
3783 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
3784 (basic_filebuf::imbue): Same.
3785 * include/bits/localefwd.h (_Count_ones): Remove.
3786 (locale::_S_num_categories): Just use 6, since this doesn't
3787 actually change, ever.
3788 * include/bits/locale_facets.tcc (has_facet): Simplify.
3790 * testsuite/27_io/filebuf.cc (test06): Add tests.
3792 2001-03-13 Steve Ellcey <sje@cup.hp.com>
3794 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
3795 match HP-UX ctype.h header file.
3797 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
3799 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
3800 duplicate definitions of __dj_ctype_*
3802 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
3804 * libsupc++/new: Remove pragma interface.
3805 * libsupc++/typeinfo: Same.
3806 * libsupc++/exception: Same.
3807 * libsupc++/new_handler.cc: Remove pragma implementation.
3808 (bad_alloc::~bad_alloc()): Add.
3809 * libsupc++/exception_support.cc: Same.
3810 (exception::~exception): Add.
3811 (bad_exception::~bad_exception): Add.
3812 * libsupc++/tinfo.cc: Same.
3813 (bad_cast::~bad_cast): Add.
3814 (bad_typeid::~bad_typeid): Add.
3816 2001-03-13 Phil Edwards <pme@sources.redhat.com>
3818 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
3820 2001-03-12 Felix Lee <flee@redhat.com>
3822 * mkcheck.in: workaround for bash 2.01 IFS bug.
3824 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
3826 Fixups for -fno-for-scope
3827 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
3828 * src/valarray-inst.cc (__gslice_to_index): Same.
3830 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
3832 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
3833 prior to trapping signal (UnixWare 7 workaround).
3835 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
3837 * include/backward/hashtable.h: Same.
3838 * include/backward/rope.h: Fix include.
3840 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
3842 * include/backward/vector.h: Include std_vector.h.
3844 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
3845 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
3848 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3850 * include/ext/stl_hashtable.h: Change type of __n to size_t
3851 * include/backward/bvector.h: Include <ext/stl_bvector.h>
3853 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3855 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
3856 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
3857 Use streamsize, not int_type.
3859 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
3861 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
3864 2001-03-08 Andreas Schwab <schwab@suse.de>
3866 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
3868 * aclocal.m4, configure: Regenerated.
3870 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
3872 * include/bits/std_iosfwd.h: Remove string forward decls here.
3873 * include/bits/stringfwd.h: Add forward decls for char_traits
3875 * config/c_io_libio.h (wstreamoff): Delete.
3876 * config/c_io_stdio.h (wstreamoff): Same.
3877 * include/bits/char_traits.h: Use streamoff not wstreamoff for
3878 char_traits<wchar_t>::off_type.
3879 Remove duplicate typedefs.
3880 * include/bits/fpos.h: Define streampos/wstreampos here.
3881 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
3884 Changeup output files.
3885 * testsuite/27_io/istream_unformatted.cc: Change output files.
3886 * testsuite/27_io/istream_seeks-1.txt: Add.
3887 * testsuite/27_io/istream_seeks-2.tst: Add.
3888 * testsuite/27_io/istream_seeks-1.tst: Add.
3889 * testsuite/27_io/istream_unformatted-2.tst: Delete.
3890 * testsuite/27_io/istream_unformatted-3.tst: Delete.
3891 * testsuite/27_io/istream_unformatted-3.txt: Delete.
3893 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
3895 Add Irix 5.2, 6.3 support.
3896 * config/os/irix/bits: Renamed to...
3897 * config/os/irix/irix6.5/bits: this.
3898 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
3899 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
3900 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
3901 * config/os/irix/irix5.2/bits/ctype_noninline.h
3902 (ctype<char>::ctype): Initialize _M_table with __ctype.
3903 * configure.target: Adjust.
3905 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
3908 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
3909 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
3911 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
3912 (*__pf)(__ios_type&)): Same.
3913 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
3914 (*__pf)(ios_base&))): Same.
3915 * testsuite/27_io/istream_extractor_other.cc: Add tests.
3916 * testsuite/27_io/istream_manip.cc (test01): Fix.
3918 2001-03-06 Nathan Myers <ncm@cantrip.org>
3919 Benjamin Kosnik <bkoz@redhat.com>
3921 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
3922 * testsuite/17_intro/header_cerrno.cc (test01): New file.
3923 * testsuite/17_intro/header_cassert.cc (test01): New file.
3924 * testsuite/17_intro/header_cstddef.cc (test01): New file.
3925 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
3926 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
3928 2001-03-05 scott snyder <snyder@fnal.gov>
3931 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
3933 * include/c_std/bits/std_cstdlib.h: ... to here.
3934 * testsuite/17_intro/header_cstdlib.cc: Add test.
3936 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
3938 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
3940 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
3942 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
3943 definition. Replace enum with static const variables.
3945 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
3946 throw specification, fix typos, use <static_cast>.
3947 (ctype<char>::scan_is): remove throw specification.
3948 (ctype<char>::scan_not): likewise.
3950 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
3951 (ctype<char>::do_toupper(char)): use <static_cast>.
3952 (ctype<char>::do_toupper(char *, const char *)): likewise.
3953 (ctype<char>::do_tolower(char)): likewise.
3954 (ctype<char>::do_tolower(char *, const char *)): likewise.
3956 2001-03-04 Phil Edwards <pme@sources.redhat.com>
3958 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
3959 * include/backward/algo.h: Use std not __STD. Remove unneeded
3960 macros and "never happens" code. Adjust to C++STYLE guidelines.
3961 * include/backward/algobase.h: Likewise.
3962 * include/backward/alloc.h: Likewise.
3963 * include/backward/bvector.h: Likewise.
3964 * include/backward/deque.h: Likewise.
3965 * include/backward/function.h: Likewise.
3966 * include/backward/hash_map.h: Likewise.
3967 * include/backward/hash_set.h: Likewise.
3968 * include/backward/hashtable.h: Likewise.
3969 * include/backward/heap.h: Likewise.
3970 * include/backward/iterator.h: Likewise.
3971 * include/backward/list.h: Likewise.
3972 * include/backward/map.h: Likewise.
3973 * include/backward/multimap.h: Likewise.
3974 * include/backward/multiset.h: Likewise.
3975 * include/backward/pair.h: Likewise.
3976 * include/backward/rope.h: Likewise.
3977 * include/backward/set.h: Likewise.
3978 * include/backward/slist.h: Likewise.
3979 * include/backward/stack.h: Likewise.
3980 * include/backward/strstream: Likewise.
3981 * include/backward/tempbuf.h: Likewise.
3982 * include/backward/tree.h: Likewise.
3983 * include/backward/vector.h: Likewise.
3984 * include/bits/basic_ios.h: Likewise.
3985 * include/bits/basic_ios.tcc: Likewise.
3986 * include/bits/basic_string.h: Likewise.
3987 * include/bits/c++config: Likewise.
3988 * include/bits/concept_checks.h: Likewise.
3989 * include/bits/fpos.h: Likewise.
3990 * include/bits/fstream.tcc: Likewise.
3991 * include/bits/functexcept.h: Likewise.
3992 * include/bits/ios_base.h: Likewise.
3993 * include/bits/istream.tcc: Likewise.
3994 * include/bits/mask_array.h: Likewise.
3995 * include/bits/ostream.tcc: Likewise.
3996 * include/bits/pthread_allocimpl.h: Likewise.
3997 * include/bits/sbuf_iter.h: Likewise.
3998 * include/bits/slice.h: Likewise.
3999 * include/bits/slice_array.h: Likewise.
4000 * include/bits/sstream.tcc: Likewise.
4001 * include/bits/std_bitset.h: Likewise.
4002 * include/bits/std_fstream.h: Likewise.
4003 * include/bits/std_iomanip.h: Likewise.
4004 * include/bits/std_ios.h: Likewise.
4005 * include/bits/std_istream.h: Likewise.
4006 * include/bits/std_iterator.h: Likewise.
4007 * include/bits/std_memory.h: Likewise.
4008 * include/bits/std_ostream.h: Likewise.
4009 * include/bits/std_sstream.h: Likewise.
4010 * include/bits/std_streambuf.h: Likewise.
4011 * include/bits/std_string.h: Likewise.
4012 * include/bits/std_valarray.h: Likewise.
4013 * include/bits/stl_algo.h: Likewise.
4014 * include/bits/stl_algobase.h: Likewise.
4015 * include/bits/stl_alloc.h: Likewise.
4016 * include/bits/stl_construct.h: Likewise.
4017 * include/bits/stl_deque.h: Likewise.
4018 * include/bits/stl_function.h: Likewise.
4019 * include/bits/stl_heap.h: Likewise.
4020 * include/bits/stl_iterator.h: Likewise.
4021 * include/bits/stl_iterator_base.h: Likewise.
4022 * include/bits/stl_list.h: Likewise.
4023 * include/bits/stl_map.h: Likewise.
4024 * include/bits/stl_multimap.h: Likewise.
4025 * include/bits/stl_multiset.h: Likewise.
4026 * include/bits/stl_numeric.h: Likewise.
4027 * include/bits/stl_pair.h: Likewise.
4028 * include/bits/stl_pthread_alloc.h: Likewise.
4029 * include/bits/stl_queue.h: Likewise.
4030 * include/bits/stl_raw_storage_iter.h: Likewise.
4031 * include/bits/stl_relops.h: Likewise.
4032 * include/bits/stl_set.h: Likewise.
4033 * include/bits/stl_stack.h: Likewise.
4034 * include/bits/stl_tempbuf.h: Likewise.
4035 * include/bits/stl_threads.h: Likewise.
4036 * include/bits/stl_tree.h: Likewise.
4037 * include/bits/stl_uninitialized.h: Likewise.
4038 * include/bits/stl_vector.h: Likewise.
4039 * include/bits/streambuf.tcc: Likewise.
4040 * include/bits/type_traits.h: Likewise.
4041 * include/bits/valarray_meta.h: Likewise.
4042 * include/ext/bvector: Likewise.
4043 * include/ext/hash_map: Likewise.
4044 * include/ext/hash_set: Likewise.
4045 * include/ext/ropeimpl.h: Likewise.
4046 * include/ext/slist: Likewise.
4047 * include/ext/stl_bvector.h: Likewise.
4048 * include/ext/stl_hash_fun.h: Likewise.
4049 * include/ext/stl_hashtable.h: Likewise.
4050 * include/ext/stl_rope.h: Likewise.
4051 * src/complex_io.cc: Likewise.
4052 * src/ios.cc: Likewise.
4053 * src/locale-inst.cc: Likewise.
4054 * src/locale.cc: Likewise.
4055 * src/localename.cc: Likewise.
4056 * src/misc-inst.cc: Likewise.
4057 * src/stdexcept.cc: Likewise.
4058 * src/stl-inst.cc: Likewise.
4059 * src/strstream.cc: Likewise.
4060 * src/valarray-inst.cc: Likewise.
4062 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
4064 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
4066 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4068 * include/bits/istream.tcc: change type of __extracted to __size_type
4070 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
4072 * src/wstring-inst.cc: New file.
4073 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
4074 (libinst_wstring_la_SOURCES): Remove.
4075 (libstdc___la_LIBADD): Remove libinst_wstring_la.
4076 (sources): Add wstring-inst.cc
4077 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
4080 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4082 * src/locale.cc: initialise __ret with zero
4083 * src/strstream.cc:cast gptr to int_type
4085 2001-03-01 Phil Edwards <pme@sources.redhat.com>
4087 * docs/html/faq/index.html: Update broken links.
4088 * docs/html/faq/index.txt: Regenerated.
4090 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
4093 * configure.target: Change irix* to irix6.5* in target_os table.
4095 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
4098 * include/bits/c++config (__GLIBCPP__): Bump number in
4099 anticipation of 2.92.
4101 * include/bits/codecvt.h: Fix typo.
4102 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
4104 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
4105 instantiations for stdio model.
4107 2001-02-28 Phil Edwards <pme@sources.redhat.com>
4109 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
4110 and GLIBCPP_CXXFLAGS as unused variables.
4111 * configure.host: Likewise.
4112 * configure.target: Likewise.
4113 * aclocal.m4: Regenerated.
4114 * configure: Regenerated.
4115 * Makefile.in: Regenerated.
4116 * libio/Makefile.in: Regenerated.
4117 * libmath/Makefile.in: Regenerated.
4118 * libsupc++/Makefile.in: Regenerated.
4119 * src/Makefile.in: Regenerated.
4121 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
4124 * include/bits/basic_file.h: Include basic_file_model.h.
4125 * config/c_io_libio.cc: Move to...
4126 * config/basic_file_libio.cc: Here.
4127 * config/basic_file_libio.h: New file.
4128 * config/c_io_stdio.cc: Move to...
4129 * config/basic_file_stdio.cc: Here.
4130 * config/basic_file_stdio.h: New file.
4131 * config/c_io_libio.h: Tweak.
4132 * config/c_io_stdio.h: Tweak.
4133 * src/Makefile.am (build_headers): Add basic_file_model.h.
4134 (sources): Add basic_file.cc, remove c++io.cc.
4135 * src/Makefile.in: Regenerate.
4136 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
4137 basic_file_model.h and basic_file.cc.
4138 * aclocal.m4: Regenerate.
4139 * configure: Regenerate.
4140 * testsuite/27_io/filebuf.cc (test05): Add regression.
4142 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
4145 * config/cpu/alpha/bits/atomicity.h: Change.
4146 * config/cpu/arm/bits/atomicit3y.h
4147 * config/cpu/generic/bits/atomicity.h
4148 * config/cpu/i386/bits/atomicity.h
4149 * config/cpu/i486/bits/atomicity.h
4150 * config/cpu/ia64/bits/atomicity.h
4151 * config/cpu/powerpc/bits/atomicity.h
4152 * config/cpu/sparc/sparc32/bits/atomicity.h
4153 * config/cpu/sparc/sparc64/bits/atomicity.h
4154 * config/os/aix/bits/atomicity.h
4155 * config/os/irix/bits/atomicity.h
4157 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
4159 * include/bits/std_stdexcept.h (runtime_error): Make string
4161 (logic_error): Same.
4162 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
4165 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
4169 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
4170 string object, not reference.
4171 (runtime_error::runtime_error): Same.
4172 * testsuite/19_diagnostics/stdexceptions.cc: New file.
4174 2001-02-26 Phil Edwards <pme@sources.redhat.com>
4176 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
4177 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
4178 diagnostics. Remove WFMT_FLAGS.
4179 * configure.in: Replace WFMT_FLAGS with diagnostics options.
4180 * libsupc++/Makefile.am: Likewise.
4181 * src/Makefile.am: Likewise.
4182 * aclocal.m4: Regenerated.
4183 * configure: Regenerated.
4184 * Makefile.in: Regenerated.
4185 * libio/Makefile.in: Regenerated.
4186 * libmath/Makefile.in: Regenerated.
4187 * libsupc++/Makefile.in: Regenerated.
4188 * src/Makefile.in: Regenerated.
4190 2001-02-26 Phil Edwards <pme@sources.redhat.com>
4192 Fixes libstdc++/2079
4193 * include/backward/iomanip.h: Expose <ios> manipulators to global
4195 * include/backward/iostream.h: Also expose std::ws.
4197 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
4199 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
4201 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
4203 * include/bits/codecvt.h: Use __builtin_alloca.
4204 * include/bits/ostream.tcc: Same.
4205 * include/bits/fstream.tcc: Same.
4207 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
4209 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
4211 2001-02-23 David Edelsohn <dje@watson.ibm.com>
4213 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
4215 2001-02-23 Phil Edwards <pme@sources.redhat.com>
4218 * include/backward/iostream.h: Expose std::flush in old headers.
4220 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4222 * mknumeric_limits: Remove special-casing on target. Use gcc
4223 instead of g++ to build gen-num-limits.cc
4225 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
4227 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
4229 * include/bits/codecvt.h: Use alloca instead of __extension__ for
4231 * include/bits/ostream.tcc: Same.
4232 * include/bits/std_ostream.h: Same.
4233 * include/bits/fstream.tcc: Same.
4234 * include/bits/locale_facets.tcc: Add typename.
4235 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
4237 2001-02-21 Phil Edwards <pme@sources.redhat.com>
4239 * tests_flags.in: Remove -n flag from call to echo.
4241 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
4243 * config/c_locale_gnu.h: Add clocale include.
4245 2001-02-20 Phil Edwards <pme@sources.redhat.com>
4247 * include/bits/stl_config.h: Remove file.
4248 * src/Makefile.am (base_headers): Remove from list.
4249 * configure: Regenerate.
4250 * Makefile.in: Ditto.
4251 * libio/Makefile.in: Ditto.
4252 * libmath/Makefile.in: Ditto.
4253 * libsupc++/Makefile.in: Ditto.
4254 * src/Makefile.in: Ditto.
4256 * include/bits/c++config: Move relevant macros to here.
4257 * include/backward/alloc.h: Include c++config.h instead.
4258 * include/backward/function.h: Ditto.
4259 * include/backward/heap.h: Ditto.
4260 * include/backward/pair.h: Ditto.
4261 * include/bits/pthread_allocimpl.h: Ditto.
4262 * include/bits/std_functional.h: Ditto.
4263 * include/bits/std_iterator.h: Ditto.
4264 * include/bits/std_numeric.h: Ditto.
4265 * include/bits/std_utility.h: Ditto.
4266 * include/bits/stl_algobase.h: Ditto.
4267 * include/bits/type_traits.h: Ditto.
4268 * src/stl-inst.cc: Ditto.
4270 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4272 * include/bits/basic_file.h: Add #pragma system_header
4273 * include/bits/basic_ios.h: Ditto.
4274 * include/bits/basic_string.h: Ditto.
4275 * include/bits/char_traits.h: Ditto.
4276 * include/bits/codecvt.h: Ditto.
4277 * include/bits/cpp_type_traits.h: Ditto.
4278 * include/bits/fpos.h: Ditto.
4279 * include/bits/gslice.h: Ditto.
4280 * include/bits/gslice_array.h: Ditto.
4281 * include/bits/indirect_array.h: Ditto.
4282 * include/bits/ios_base.h: Ditto.
4283 * include/bits/limits_generic.h: Ditto.
4284 * include/bits/locale_facets.h: Ditto.
4285 * include/bits/localefwd.h: Ditto.
4286 * include/bits/mask_array.h: Ditto.
4287 * include/bits/sbuf_iter.h: Ditto.
4288 * include/bits/sequence_concepts.h: Ditto.
4289 * include/bits/slice.h: Ditto.
4290 * include/bits/slice_array.h: Ditto.
4291 * include/bits/std_algorithm.h: Likewise.
4292 * include/bits/std_bitset.h: Likewise.
4293 * include/bits/std_complex.h: Likewise.
4294 * include/bits/std_deque.h: Likewise.
4295 * include/bits/std_fstream.h: Likewise.
4296 * include/bits/std_functional.h: Likewise.
4297 * include/bits/std_iomanip.h: Likewise.
4298 * include/bits/std_ios.h: Likewise.
4299 * include/bits/std_iosfwd.h: Likewise.
4300 * include/bits/std_iostream.h: Likewise.
4301 * include/bits/std_istream.h: Likewise.
4302 * include/bits/std_iterator.h: Likewise.
4303 * include/bits/std_list.h: Likewise.
4304 * include/bits/std_locale.h: Likewise.
4305 * include/bits/std_map.h: Likewise.
4306 * include/bits/std_memory.h: Likewise.
4307 * include/bits/std_numeric.h: Likewise.
4308 * include/bits/std_ostream.h: Likewise.
4309 * include/bits/std_queue.h: Likewise.
4310 * include/bits/std_set.h: Likewise.
4311 * include/bits/std_sstream.h: Likewise.
4312 * include/bits/std_stack.h: Likewise.
4313 * include/bits/std_stdexcept.h: Likewise.
4314 * include/bits/std_streambuf.h: Likewise.
4315 * include/bits/std_string.h: Likewise.
4316 * include/bits/std_utility.h: Likewise.
4317 * include/bits/std_valarray.h: Likewise.
4318 * include/bits/std_vector.h: Likewise.
4319 * include/bits/stringfwd.h: Likewise.
4320 * include/bits/type_traits.h: Likewise.
4321 * include/bits/valarray_array.h: Likewise.
4322 * include/bits/valarray_meta.h: Likewise.
4324 2001-02-19 Andreas Jaeger <aj@suse.de>
4326 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
4329 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
4332 * include/bits/std_ostream.h: Replaced usage of
4333 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
4334 * include/bits/char_traits.h: Removed non-standard
4335 methods that cannot be used elsewhere.
4338 * include/bits/basic_ios.h: Uncommented #include of
4342 * include/bits/codecvt.h: See next...
4343 * include/bits/fstream.tcc: See next...
4344 * include/bits/ostream.tcc: Add __extension__
4345 to variable-length arrays.
4348 * include/bits/localefwd.h: Changed int counter type to size_t.
4351 * include/bits/std_fstream.h: Added typedef for __ctype_type.
4353 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
4355 * testsuite/21_strings/char_traits.cc: Move to ...
4356 * testsuite/21_strings/char_traits_requirements.cc: ..here.
4357 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
4358 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
4360 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
4362 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
4365 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
4367 * include/bits/c++config: Revert.
4369 2001-02-15 Mark Mitchell <mark@codesourcery.com>
4371 * include/bits/istream.tcc: Use ios_base::iostate in place of
4372 iostate throughout. Insert `typename' keyword where necessary.
4373 * include/bits/ostream.tcc: Insert `typename' keyword where
4376 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
4378 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
4379 Define so library is compliant.
4381 2001-02-15 Anthony Green <green@redhat.com>
4383 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
4385 * aclocal.m4: Regenerate.
4386 * configure: Regenerate.
4388 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
4390 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
4391 Include ieeefp.h for fpclass on UnixWare{2,7}.
4392 * aclocal.m4: Regenerate.
4393 * configure: Regenerate.
4394 * mkcheck.in (size_command): Do without GNU-grep when using
4397 2001-02-15 Mark Mitchell <mark@codesourcery.com>
4399 Remove old ABI support from libsupc++.
4400 * libsupc++/cxxabi.h: Remove conditionally compiled code.
4401 * libsupc++/exception_support.cc: Likewise.
4402 * libsupc++/pure.cc: Likewise.
4403 * libsupc++/tinfo.cc: Likewise.
4404 * libsupc++/tinfo.h: Likewise.
4405 * libsupc++/tinfo2.cc: Likewise.
4406 * libsupc++/typeinfo: Likewise.
4407 * libsupc++/vec.cc: Likewise.
4409 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
4411 Add support for -fno-exceptions.
4412 * include/bits/exception_support.h: Remove.
4413 * include/bits/basic_string.h: Remove exception_support.
4414 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
4416 (string::substr): Same.
4417 * include/bits/basic_string.tcc (string::reserve): Replace
4418 __LENGTHERROR with __throw_length_error.
4419 (string::_S_create): Same.
4420 (string::resize): Same.
4421 (string::_M_replace): Same.
4422 (string::replace): Same.
4423 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
4424 (string::compare): Same.
4425 * include/bits/stl_vector.h: Remove exception_support.
4426 * src/Makefile.am (base_headers): Remove here.
4427 * src/Makefile.in: Regenerate.
4429 * include/bits/stl_range_errors.h: Remove.
4430 * include/bits/stl_deque.h: Use __throw_range_error.
4431 * include/bits/std_deque.h: Include functexcept.h.
4432 * include/bits/std_vector.h: Same.
4433 * src/Makefile.am (base_headers): Remove here.
4434 * src/Makefile.in: Regenerate.
4435 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
4436 * include/ext/bvector: Remove stl_range_errors.h
4438 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
4440 * include/bits/functexcept.h: New file.
4441 * src/functexcept.cc: New file. Definitions for function-based
4443 * src/Makefile.am (sources): Add functexcept.cc.
4444 * src/Makefile.in: Regenerate.
4446 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
4449 * include/bits/localefwd.h: Include functexcept.h.
4450 * include/bits/std_iosfwd.h: Same.
4452 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
4453 throw basic_ios::failure.
4454 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
4455 Use __throw_exception_again.
4456 (filebuf::_M_filebuf_init): Same.
4457 * include/bits/streambuf.tcc (__copy_streambufs): Same.
4458 * include/bits/ostream.tcc (ostream::operator<<): Same.
4459 * include/bits/istream.tcc (istream::operator>>): Same.
4460 * include/bits/basic_string.tcc (string::_M_mutate): Same.
4461 (string::_S_construct): Same.
4462 (string::_M_clone): Same.
4463 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
4465 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
4466 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
4467 __throw_exception_again.
4468 (locale::_Imp::_Imp(string, size_t): Same.
4469 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
4470 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
4471 (locale::locale(const char*)): Use __throw_runtime_error.
4472 (locale::classic): Use __throw_exception_again.
4473 (locale::_S_normalize_category): Use __throw_runtime_error.
4475 * src/stdexcept.cc: Remove cruft.
4477 * libsupc++/exception_defines.h: New file.
4478 * libsupc++/new_opnt.cc: Include exception_defines.h.
4479 * libsupc++/vec.cc: Same.
4480 (__cxa_vec_new2): Use __throw_exception_again.
4481 (__cxa_vec_new3): Same.
4482 (__cxa_vec_ctor): Same.
4483 (__cxa_vec_delete3): Same.
4484 (__cxa_vec_cctor): Same.
4485 (__cxa_vec_delete2): Same.
4486 (__cxa_vec_dtor): Same.
4487 * libsupc++/exception_support.cc: Include exception_defines.h. Only
4488 compile exception-handling bits if __EXCEPTIONS is defined.
4489 Remove old ABI support.
4490 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
4491 std::__throw_bad_alloc() instead of throw bad_alloc.
4492 * libsupc++/Makefile.am: Add exception_defines.h.
4493 * libsupc++/Makefile.in: Reformat.
4494 * libsupc++/*: Format.
4496 2001-02-15 Phil Edwards <pme@sources.redhat.com>
4498 * docs/html/configopts.html: Minor updates and typo fixes.
4499 * docs/html/faq/index.html: Updates of the "not really bugs" list.
4500 * docs/html/faq/index.txt: Regenerated.
4502 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
4504 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
4505 dejagnu/dg.exp. Adapt to log options used to run testcases.
4507 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4509 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
4512 2001-02-13 Dirk Mueller <dmuell@gmx.net>
4513 Phil Edwards <pme@sources.redhat.com>
4515 * include/backward/function.h: Do not use rel_ops for older
4517 * include/backward/pair.h: Likewise.
4519 2001-02-12 Mark Mitchell <mark@codesourcery.com>
4521 * src/locale.cc: Remove bogus locale::id definitions.
4523 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4525 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
4526 not _DEFINE_VALARRAY_OPERATOR which is not existent.
4528 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
4529 thinko in member initialisation.
4531 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
4533 * include/bits/std_valarray.h(valarray<>::shift): Avoid
4534 comparaison between signed and unsigned integer types.
4535 (valarray<>::cshift): Reformat.
4537 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
4539 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
4540 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
4541 * configure.in: Test for sigsetjmp.
4542 * configure, config.h.in: Rebuilt.
4544 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
4546 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
4547 lengths and strides.
4548 (__gslice_to_index): Document.
4550 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
4552 * include/bits/char_traits.h char_traits<char>::int_type: Change
4553 to `int' to match 21.1.3.1/2.
4555 * testsuite/21_strings/char_traits-int_type.C: New test.
4557 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
4559 * testsuite/Makefile.am: New file.
4561 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
4563 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
4565 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
4567 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
4569 2001-02-08 David Edelsohn <edelsohn@gnu.org>
4571 * configure.target (aix4*): Remove extra set of brackets.
4573 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
4576 * include/bits/stringfwd.h: New file.
4577 * include/bits/stl_string_fwd.h: Remove.
4578 * include/bits/localefwd.h: Remove declaration for allocator.
4579 * include/bits/std_iosfwd: Same.
4580 * include/bits/std_string.h: Include it.
4581 * include/bits/std_ios.h: Remove include.
4582 * include/bits/basic_string.h: Tweak.
4583 * libsupc++/new: Format.
4584 * src/Makefile.am (base_headers): Add stringfwd.h, remove
4586 * src/Makefile.in: Regenerate.
4587 * include/bits/std_stdexcept.h: Rewrite.
4588 * src/stdexcept.cc: Same.
4590 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
4592 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
4593 install locations too.
4594 * aclocal.m4: Regenerate.
4595 * configure.in: Remove USE_LIBDIR.
4596 * configure: Regenerate.
4597 * src/Makefile.am (toolexecdir): Simplify, use
4598 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
4599 * src/Makefile.in: Regenerate.
4600 * libsupc++/Makefile.am: Same.
4601 * libsupc++/Makefile.in: Regenerate.
4603 * src/Makefile.am: Just remove special rules for locale-inst.cc and
4604 misc-inst.cc as no longer necessary.
4606 Follow C++STYLE for naming non-static functions.
4607 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
4609 * include/bits/streambuf.tcc: Same.
4610 * include/bits/ostream.tcc: Same.
4611 * include/bits/istream.tcc: Same.
4612 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
4613 (_S_output_float): To __output_float.
4614 * include/bits/std_streambuf.h (_S_copy_streambufs): To
4616 * include/bits/locale_facets.tcc (_S_build_float_format): To
4617 __build_float_format.
4618 (_S_format): To __output_integer.
4619 (_S_fill): To __pad.
4620 * src/locale.cc: Same.
4621 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
4623 * include/bits/locale_facets.tcc (_S_group_digits): To
4625 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
4626 for collate, numpunct.
4628 2001-02-06 Phil Edwards <pme@sources.redhat.com>
4630 * docs/html/configopts.html: Fix HTML markup.
4631 * docs/html/install.html: Bring up to date.
4632 * docs/html/17_intro/C++STYLE: Add global variable conventions.
4633 * docs/html/21_strings/howto.html: More notes.
4634 * docs/html/22_locale/howto.html: Fix HTML markup.
4635 * docs/html/27_io/howto.html: More notes.
4636 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
4637 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
4639 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
4641 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
4642 to match header files.
4643 (_S_output_float): Likewise.
4644 (_S_copy_streambufs): Likewise.
4646 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
4647 Phil Edwards <pme@sources.redhat.com>
4649 * include/bits/std_istream.h (op>> signed,unsigned char): Must
4650 use reinterpret_cast, not static_cast.
4652 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
4654 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
4655 * aclocal.m4: Regenerate.
4656 * configure: Regenerate.
4658 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
4660 * include/bits/locale_facets.h (class moneypunct): Fix typos.
4661 * libsupc++/pure.cc: Revert.
4663 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
4665 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
4666 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
4667 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
4668 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
4669 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
4670 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
4671 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
4672 * aclocal.m4: Regenerate.
4673 * configure: Regenerate.
4675 2001-02-05 Mark Mitchell <mark@codesourcery.com>
4677 * include/bits/locale_facets.tcc: Remove `static' keyword on
4678 function definitions.
4679 * include/bits/std_streambuf.h: Likewise.
4680 * src/Makefile.am: Remove use of -fimplicit-templates.
4681 * src/Makefile.in: Regenerated.
4682 * src/locale-inst.cc: Explicitly instantiate more functions.
4683 * src/misc-inst.cc: Likewise.
4684 * src/string-inst.cc: Likewise.
4686 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
4688 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
4689 macro. Consolidate all the bits to do with where includes might be
4691 * aclocal.m4: Regenerate.
4692 * configure.in: Use it.
4693 * configure: Regenerate.
4694 * src/Makefile.am (targetincludep): Use simplified rules.
4695 (targetincludep): Rename gxx_target_include_dir.
4696 (myincludep): Rename gxx_include_dir.
4697 * src/Makefile.in: Regenerate.
4698 * libsupc++/Makefile.am: Use simplified rules.
4699 * libsupc++/Makefile.in: Regenerate.
4701 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
4703 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
4704 * include/c_std/bits/std_cctype.h: Same.
4705 * include/c_std/bits/std_cassert.h: Same.
4706 * include/c_std/bits/std_cstdarg.h: Same.
4707 * include/c_std/bits/std_cstddef.h: Same.
4709 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
4711 * include/c_std/bits/std_ctime.h: Same.
4712 * include/c_std/bits/std_clocale.h: Same.
4713 * include/c_std/bits/std_cmath.h: Same.
4714 * include/c_std/bits/std_csetjmp.h: Same.
4715 * include/c_std/bits/std_csignal.h: Same.
4716 * include/c_std/bits/std_cstring.h: Same.
4717 * include/c_std/bits/std_cstdlib.h: Same.
4718 * include/c_std/bits/std_cwchar.h: Same.
4720 2001-02-05 Phil Edwards <pme@sources.redhat.com>
4722 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
4724 2001-02-05 Mark Mitchell <mark@codesourcery.com>
4726 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
4727 (string::_S_construct): Likewise.
4729 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
4731 * testsuite/config/default.exp: New file.
4732 * testsuite/config: New directory.
4734 2001-02-04 Mark Mitchell <mark@codesourcery.com>
4736 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
4737 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
4738 whenever !__GXX_MERGED_TYPEINFO_NAMES.
4739 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
4741 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
4742 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
4744 * Makefile.am (mkinstalldirs): Set.
4745 * src/Makefile.am (mkinstalldirs): Set.
4746 * libmath/Makefile.am (mkinstalldirs): Set.
4747 * libsup++/Makefile.am (mkinstalldirs): Set.
4748 * libio/Makefile.am (mkinstalldirs): Set.
4749 * */Makefile.in: Regenerate.
4751 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
4753 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
4754 * include/bits/localefwd.h: More initialization cleanups.
4756 2001-02-03 Jeffrey A Law <law@cygnus.com>
4758 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
4759 correctly targets with 16bit ints.
4760 (_S_ios_openmode_end): Similarly.
4761 (_S_ios_iostate_end): Similarly.
4762 (_S_ios_Seekdir_end): Similarly.
4764 2001-02-02 Phil Edwards <pme@sources.redhat.com>
4766 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
4768 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
4770 * configure.in (toplevel_srcdir, auxdir): Set.
4771 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
4772 * aclocal.m4, configure, Makefile.in: Rebuilt.
4773 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
4774 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
4775 * libsupc++-v3/Makefile.in: Rebuilt.
4776 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
4777 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
4779 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
4781 * config/c_locale_generic.cc: Remove langinfo include.
4783 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
4785 Preliminary named locales.
4786 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
4787 * aclocal.m4: Regenerate.
4788 * configure.in: Use it.
4789 * configure: Regerate.
4790 * src/Makefile.am (sources): Add c++locale.cc.
4791 (build_headers): Add c++locale.h.
4792 * src/Makefile.in: Regenerate.
4793 * config/c_locale_gnu.h: New file.
4794 * config/c_locale_gnu.cc: New file. Non-inline member functions
4795 for named locales, gnu-specific.
4796 * config/c_locale_generic.h: New file.
4797 * config/c_locale_generic.cc: New file. Non-inline member
4798 functions for named locales, generic version.
4799 * docs/html/configopts.html: Add documentation on new options.
4801 * include/bits/locale_facets.h (class _Messages): Remove.
4802 (class _Moneypunct): Remove.
4803 * src/locale-inst.cc: Remove.
4805 * include/bits/locale_facets.h (class _Collate): Remove.
4806 * src/locale-inst.cc (std): Remove.
4807 * src/locale.cc: And here.
4809 * include/bits/localefwd.h (locale::_M_coalesce): New
4810 function. Correctly put together multi-name locales.
4811 (_Impl(const _Impl&, category, size_t)): Remove.
4813 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
4815 (_M_normalize_category_names): Remove.
4816 (_M_replace_categories): Fix.
4818 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
4819 (locale::_Impl::_M_construct_ctype): Remove.
4820 (locale::_Impl::_M_construct_monetary): Remove.
4821 (locale::_Impl::_M_construct_numeric): Remove.
4822 (locale::_Impl::_M_construct_time): Remove.
4823 (locale::_Impl::_M_construct_messages): Remove.
4825 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
4826 (_Use_facet_failure_handle): Remove.
4827 * src/locale.cc: Remove definitions.
4828 * src/locale-inst.cc: And here.
4830 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
4832 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
4833 create and error-check underlying locale object.
4834 (locale::facet::_S_destroy_c_locale): Add, take care of properly
4835 tearing down underlying locale object.
4836 * include/bits/localefwd.h (locale::facet): Declare.
4837 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
4838 correctness, as glibc apparently has incorrect info in it. Test
4839 with it when it works again.....
4841 * include/bits/localefwd.h (locale::_Impl::__vec_string):
4842 Remove. Number of categories is fixed at six, so just simplify and
4843 make this an array of strings.
4844 (locale::_Impl::_M_has_name): Remove.
4845 (locale::_Impl::_M_name): Remove.
4846 (locale::_Impl::_M_category_names): Turns into...
4847 (locale::_Impl::_M_names): ...this.
4848 (locale::_Impl::_M_has_same_name()): New function.
4849 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
4850 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
4852 * src/locale.cc (locale::name()): Construct mangled name
4853 accurately reflecting combined locale categories.
4855 * src/locale.cc (locale::classic()): Don't initialize here.
4856 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
4857 __refs, bool __has_name, string __str): Do it here.
4859 * include/bits/localefwd.h: _S_categories_num to
4860 _S_num_categories. _S_facets_num to _S_num_facets.
4861 (locale::id::id()): Explicitly set _M_index to zero.
4862 * src/locale.cc: Same.
4864 * src/locale.cc: (locale::locale(const char*)): Construct named
4867 * src/locale.cc: Remove numpunct_byname ctors.
4868 * testsuite/22_locale/numpunct_byname.cc: New file.
4869 * testsuite/22_locale/numpunct.cc: New file.
4871 * include/bits/localefwd.h (class locale): Change data members to
4872 protected, from private.
4873 (_Impl::_M_get_c_locale): Add member function.
4874 (locale::facet::_M_get_global_impl()): Add member function.
4875 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
4876 a __c_locale pointer.
4877 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
4879 * testsuite/22_locale/members.cc: New file, test name and combine.
4881 * include/bits/locale_facets.h (class numpunct): Remove class
4882 _Punct and _Numpunct. Rewrite class numpunct to be correct for
4884 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
4885 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
4886 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
4887 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
4888 * testsuite/22_locale/numpunct_char_members.cc: New file.
4890 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
4892 * testsuite/README: Add more comment.
4893 * testsuite/lib/libstdc++.exp: Tweak comment.
4895 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
4897 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
4899 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
4901 * testsuite/21_strings/inserters_extractors.cc: Remove
4902 explicit reference to 'testsuite/'.
4904 2001-01-25 Richard Henderson <rth@redhat.com>
4906 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
4907 bits. Fixes Tru64 build issues.
4909 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
4911 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
4912 (use ${MAKE-make}, not ${MAKE:-make}).
4913 * aclocal.m4, configure: Regenerate.
4915 2001-01-25 Mark Mitchell <mark@codesourcery.com>
4917 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
4920 * src/Makefile.am (sources): Add globals.cc.
4921 * src/Makefile.in: Regenerated.
4922 * src/globals.cc: New file.
4923 * src/ios.cc (cin): Don't define here, just declare extern.
4932 2001-01-25 Phil Edwards <pme@sources.redhat.com>
4934 * include/bits/std_iterator.h: Do not include stl_relops.h.
4935 * include/bits/std_numeric.h: Ditto.
4936 * include/bits/stl_algobase.h: Ditto.
4937 * include/bits/stl_relops.h: Add comment warning about problems.
4939 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
4941 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
4942 in testcases. Prepare for the DejaGnu based framework.
4943 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
4944 directory -- it is now mkcheck working directory.
4945 * tests_flags.in: Remove reference to $(top_srcdir). Use
4947 * Makefile.am (check, check-install): Change mkcheck invocation
4949 * Makefile.in: Regenerate.
4951 2001-01-24 Mark Mitchell <mark@codesourcery.com>
4953 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
4954 (__always_swap): Likewise.
4956 2001-01-23 Chris Demetriou <cgd@broadcom.com>
4958 * libsupc++/exception_support.cc (__terminate_func): Remove
4960 (__terminate_func_ptr): New typedef.
4961 (__terminate, __terminate_set_func): New extern function
4963 (std::terminate): Use __terminate function.
4964 (std::set_terminate): Use __terminate_set_func function.
4966 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
4968 * configure.target: Just use os_include_dir always.
4969 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
4970 Link atomicity files and ctype files here.
4971 * configure: Regenerate.
4972 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
4973 (GLIBCPP_ENABLE_ATOMICITY): Remove.
4974 * aclocal.m4: Regenerate.
4976 2001-01-23 Chris Demetriou <cgd@broadcom.com>
4978 * configure.in: Place definition of MULTISUBDIR in
4979 libsupc++/Makefile as is done for src/Makefile.
4980 * configure: Regenerate.
4982 2001-01-23 Phil Edwards <pme@sources.redhat.com>
4984 * acinclude.m4: Cosmetic changes only.
4985 * aclocal.m4: Regenerated.
4986 * configure: Regenerated.
4987 * configure.target: Update documented list of changed variables.
4988 * docs/html/install.html: Fix typo.
4989 * docs/html/20_util/howto.html: More notes on auto_ptr.
4990 * docs/html/27_io/howto.html: More notes on streabufs.
4991 * docs/html/faq/index.html: Add rel_ops problem and mention the
4992 DEC as(1) .subsection difficulty.
4993 * docs/html/faq/index.txt: Regenerated.
4995 2001-01-23 Mark Mitchell <mark@codesourcery.com>
4997 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
4998 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
4999 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
5000 its already provided in config.target.
5001 * aclocal.m4: Regenerated.
5002 * configure: Likewise.
5003 * configure.target: Set ctype_include_dir for lots of systems.
5004 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
5005 * libsupc++/Makefile.in: Regenerated.
5007 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
5009 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
5012 * testsuite/README: Add comment.
5014 2001-01-21 Phil Edwards <pme@sources.redhat.com>
5016 * docs/html/configopts.html: Update for current status. Fix HTML.
5017 * docs/html/install.html: Update for current status.
5019 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5021 * testsuite/libstdc++.tests/tests.exp: New file.
5022 * testsuite/lib/libstdc++.exp: Itou.
5023 * testsuite/README: Itou.
5025 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
5027 * tests_flags.in: Just output the bare minimum to run tests.
5028 Let's the caller do its own arrangement.
5030 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
5033 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
5035 * testsuite/17_intro: Prepare testcases for new style DejaGnu
5038 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
5040 * testsuite/libstdc++.tests, testsuite/lib: New directories.
5042 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
5044 * mkcheck.in: Construct file names that match $objdir structure.
5045 * testsuite/27_io/filebuf_members-1.txt: New file.
5046 * testsuite/27_io/ifstream_members-1.txt: New file.
5047 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
5049 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
5050 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
5052 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5054 * testsuite/27_io/istream_sentry.cc (test02): Fix.
5056 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
5059 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
5060 * src/ios.cc (ios_base::failure): Make definitions match.
5061 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
5062 (class bad_cast): Same.
5063 * libsupc++/exception (class exception): Add throw specs.
5064 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
5065 (set_unexpected): Same.
5066 (uncaught_exception): Same.
5069 * docs/html/17_intro/C++STYLE (classname): Fix.
5071 2001-01-16 Mark Mitchell <mark@codesourcery.com>
5073 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
5074 Use it do explicitly instantiate predicate<T> and value<T> for
5077 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
5079 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
5080 uninitialized thinko in last change.
5082 2001-01-16 Mark Mitchell <mark@codesourcery.com>
5084 * libsupc++/exception_support.cc (__cp_pop_exception): Change
5087 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
5089 * docs/html/17_intro/C++STYLE (classname): Add more existing
5090 and stylish patterns.
5093 * include/bits/istream.tcc (istream::sentry::sentry()): Set
5094 failbit if the state of the stream is not good.
5095 * testsuite/27_io/istream_sentry.cc (test02): Add test.
5096 * testsuite/27_io/istream_manip.cc (test01): Modify.
5099 reported by Paolo Carlini <pcarlini@unitus.it>
5100 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
5101 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
5104 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
5105 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
5106 (xsgetn): Same. Simplify.
5107 * testsuite/27_io/streambuf.cc (test04): Add testcases.
5109 reported by Larry Evans <jcampbell3@prodigy.net>
5110 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
5111 equality with eof on returned value from overflow.
5113 2001-01-14 Andreas Jaeger <aj@suse.de>
5115 * libio/libio.h: Add test for glibc 2.0.
5117 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
5119 * config/os/djgpp/bits/*: Fix dates.
5121 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
5122 _CharT* __end, _CharT __c): Remove.
5123 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
5124 * include/bits/char_traits.h: Tweak.
5126 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
5128 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
5129 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
5131 * aclocal.m4: regenerated.
5132 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
5133 * configure: regenerated.
5134 * config/os/djgpp, config/os/djgpp/bits: new directories.
5135 * config/os/djgpp/bits/ctype_base.h,
5136 config/os/djgpp/bits/ctype_inline.h,
5137 config/os/djgpp/bits/ctype_noninline.h,
5138 config/os/djgpp/bits/os_defines.h: new files.
5140 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
5142 * include/c_std/bits/std_cstdio.h: Undef printf.
5144 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
5146 * src/ios.cc: Fix typo: change cout->wcout.
5148 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
5149 * src/Makefile.in: Regenerate.
5151 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5153 * include/bits/std_complex.h: Fix a typo.
5155 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
5158 Fixes for libstdc++/1576
5159 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
5160 file, move contents into....
5161 * src/ios.cc: ...Here. Put defines for iostreams objects and
5162 initialization routines into one file to simplify DSO interaction.
5163 * include/bits/std_iostream.h: Touch.
5164 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
5165 * src/Makefile.am (sources): Remove stdstreams.cc.
5166 * src/Makefile.in: Regenerate.
5168 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5170 * tests_flags.in (check_directory): Fix typo.
5172 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5174 * include/bits/std_complex.h: Fix a typo.
5176 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
5178 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
5179 code path:) Remove magic constants and restructure to handle
5180 ctype.h bit mask layout changes more gracefully. (Make fast
5181 code path:) Use __maskrune (), if available.
5182 (is): Remove special case for digit and xdigit masks.
5184 2001-01-09 Robert Lipe <robertlipe@usa.net>
5186 * include/c_std/bits/std_ctime.h: Undefine difftime.
5188 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
5190 * src/gen-num-limits.cc (signal_adapter): New template function.
5191 (signal_handler): Use it, instead of signal.
5192 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
5193 require both tests to trap to set trap_flag.
5195 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
5197 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
5198 initialize mbstate_t member, name offset data members *off, not pos.
5199 * include/bits/fstream.tcc (filebuf::filebuf): Same.
5201 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
5203 reported by Chris G. Demetriou <cgd@sibyte.com>
5204 * configure.in: Change -linux-* to -linux*.
5205 * configure: Regenerate.
5207 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
5209 Fix 27_io/filebuf_members.cc
5210 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
5211 const string& __name, category __cat, size_t __refs): Set
5212 _M_has_name with _M_name.
5213 * include/bits/localefwd.h (locale::operator!=): Protect member
5214 function call with this->.
5215 * src/locale.cc (locale::operator==): Make fast checks first.
5216 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
5218 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
5220 * src/ios.cc (ios_base::Init::Init): Initialize here.
5221 (ios_base::sync_with_stdio): Set here.
5223 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
5225 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
5226 systems that support it, call dup() before fdopen().
5228 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
5230 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
5231 * testsuite/17_intro/header_cwctype.cc (main): New file.
5233 * src/Makefile.am (base_headers): Change.
5234 * include/bits/std_string.h: And here.
5235 * include/bits/string.tcc: Tweaks, move to...
5236 * include/bits/basic_string.tcc: ...Here.
5237 * src/string-inst.cc: Simplify, just instantiate the whole class,
5238 not member-by-member.
5240 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
5242 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
5243 * aclocal.m4: Regenerate.
5244 * configure: Regenerate.
5246 * include/bits/c++config (__GLIBCPP__): Bump version number.
5248 * ChangeLog: Start new log for year 2001
5249 * ChangeLog-2000: New file.
5251 * docs/html/configopts.html: Make sure default values are current,
5254 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
5256 * include/c_std/bits/std_cwchar.h: Same.
5257 * testsuite/17_intro/header_cwchar.cc: Same.
5258 * include/c_std/bits/std_ctime.h: Same.
5259 * testsuite/17_intro/header_ctime.cc: Same.
5260 * include/c_std/bits/std_cstdlib.h: Same.
5261 Clean up undefs, make consistent with cwchar and cmath, etc.
5262 * testsuite/17_intro/header_cstdlib.cc: Same.
5263 * include/c_std/bits/std_cstdio.h: Same here.
5264 * testsuite/17_intro/header_cstring.cc: Same.
5265 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
5266 * testsuite/17_intro/header_cstring.cc: New file. Check for
5267 size_t in namespace std.
5269 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
5270 * acconfig.h (HAVE_MBSTATE_T): Add.
5271 * config.h.in: Regenerate.
5272 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
5274 * aclocal.m4: Regenerate.
5275 * configure: Regenerate.
5276 * testsuite/17_intro/headers_c++.cc: New file.
5277 * testsuite/17_intro/headers_c.cc: Small changes.
5279 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
5281 * tests_flags.in: Fix typo in usage.
5283 * tests_flags.in: Set target specific LIBS for cygwin.