1 2001-12-31 Phil Edwards <pme@gcc.gnu.org>
3 * include/bits/stl_bvector.h: Change calls to 3-argument distance()
4 into standard 2-argument version.
5 * include/bits/stl_deque.h: Likewise.
6 * include/bits/stl_tempbuf.h: Likewise.
7 * include/bits/stl_tree.h: Likewise.
8 * include/bits/stl_vector.h: Likewise.
9 * include/ext/stl_hashtable.h: Likewise.
10 * include/bits/stl_iterator_base_funcs.h: Move distance() extension...
11 * include/ext/iterator: to here. New file.
12 * include/Makefile.am (ext_headers): Add new file, alphabatize.
13 * include/Makefile.in: Regenerate.
15 2001-12-31 Phil Edwards <pme@gcc.gnu.org>
17 * include/bits/stl_deque.h: Doxygenate with initial/example hooks.
18 Clean up spacing and indentation.
20 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
22 * include/ext/slist: Move into __gnu_cxx,
23 tweak, add using declarations.
25 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
27 * include/ext/hash_map: Move into __gnu_cxx,
28 tweak, add using declarations.
29 * include/ext/hash_set: Ditto.
30 * include/ext/ropeimpl.h: Ditto.
31 * include/ext/stl_hash_fun.h: Ditto.
32 * include/ext/stl_hashtable.h: Ditto.
33 * include/ext/stl_rope.h: Ditto.
34 * src/ext-inst.cc: Tweak.
35 * testsuite/ext/rope.cc: Tweak.
37 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
39 * include/backward/algo.h: Include <ext/algorithm>,
40 tweak using declarations.
42 2001-12-29 Richard Henderson <rth@redhat.com>
44 * config/os/hpux/bits/os_defines.h: Don't define __glibcpp_long_bits.
45 * config/os/hpux/bits/cpu_limits.h: New file.
46 * configure.target (CPULIMITSH): Use it.
48 2001-12-28 Richard Henderson <rth@redhat.com>
50 * config/cpu/ia64/bits/cpu_limits.h: New file.
51 * config/os/osf/osf5.0/bits/cpu_limits.h: New file.
52 * configure.target (CPULIMITSH): Use them.
54 2001-12-28 Phil Edwards <pme@gcc.gnu.org>
56 * include/bits/c++config: Move doxygen hook comment...
57 * docs/doxygen/doxygroups.cc: ...to here.
59 2001-12-28 Phil Edwards <pme@gcc.gnu.org>
62 * include/bits/stl_algo.h (lower_bound): Relax concept checks.
63 * testsuite/ext/concept_checks.cc: New file.
65 2001-12-28 Paolo Carlini <pcarlini@unitus.it>
67 * include/bits/stl_algo.h (count returning void,
68 count_if returning void, __random_sample, random_sample,
69 random_sample_n, __is_heap, is_heap, is_sorted): Move to...
70 * include/ext/algorithm: ...here, new file.
71 * include/Makefile.am (ext_headers): Add new file.
72 * include/Makefile.in: Regenerate.
73 * testsuite/ext/headers.cc: Include <ext/algorithm>.
75 2001-12-28 Paolo Carlini <pcarlini@unitus.it>
76 Nathan Myers <ncm@cantrip.org>
78 * include/bits/basic_string.h (insert(__pos, __s, __n)):
79 Optimize by avoiding temporaries and working in-place when possible.
80 (insert(__pos1, __str)): Call insert(__pos1, __str, __pos2, __n).
81 (insert(__pos1, __str, __pos2, __n)): Call insert(__pos, __s, __n).
82 * testsuite/21_strings/insert.cc (test02): New testcases.
84 2001-12-27 Phil Edwards <pme@gcc.gnu.org>
86 * testsuite/testsuite_hooks.h (gnu_counting_struct): Add.
87 * testsuite/23_containers/deque_ctor.cc: New file.
89 2001-12-27 Paolo Carlini <pcarlini@unitus.it>
91 * include/bits/locale_facets.tcc (collate::do_transform):
92 Adjust implicit typename.
93 * config/locale/messages_members_generic.h (messages::open,
94 messages::do_open, messages::do_get): Adjust implicit typename.
95 * config/locale/messages_members_gnu.h (messages::open,
96 messages::do_open, messages::do_get): Adjust Implicit typename.
97 * config/locale/messages_members_ieee_1003.1-200x.h (messages::open,
98 messages::do_open, messages::do_get): Adjust implicit typename.
100 2001-12-27 Phil Edwards <pme@gcc.gnu.org>
103 * src/misc-inst.cc: Many additional I/O-related instantiations.
104 * testsuite/27_io/instantiations.cc: New file.
106 2001-12-26 Benjamin Kosnik <bkoz@waller.constant.com>
108 * testsuite/24_iterators/insert_iterator.cc (test02): Add.
109 * testsuite/24_iterators/front_insert_iterator.cc (test02): Add.
110 * testsuite/24_iterators/back_insert_iterator.cc (test02): Add.
111 * testsuite/24_iterators/reverse_iterator.cc (test02): Add.
113 * include/bits/stl_iterator.h (reverse_iterator): Uglify member
114 current to _M_current.
115 (back_insert_iterator): Uglify member container to _M_container.
116 (front_insert_iterator): Same.
117 (insert_iterator): Same.
119 2001-12-25 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
121 * include/bits/std_limits.h (__glibcpp_xxx_is_modulo): New
122 macros for signed types; default value is true.
123 (numeric_limits<>::is_modulo): Get value from corresponding
124 __glibcpp_xxx_is_modulo macro.
126 2001-12-23 Jeffrey A Law <law@redhat.com>
128 * config/os/hpux/bits/os_defines.h: Do not include <_sys/inttypes.h>.
129 Twiddle return types for strtoll and strtoull to avoid using
130 intmax_t and uintmax-t.
132 2001-12-22 Richard Henderson <rth@redhat.com>
134 * configure.target (CPULIMITSH): Fix typo in alpha case.
136 2001-12-22 Jeffrey A Law <law@redhat.com>
138 * config/os/hpux/bits/os_defines.h: Update to avoid #defines
139 for strtoll and strtoull.
141 2001-12-21 Jeffrey A Law <law@redhat.com>
143 * config/os/hpux/bits/os_defines.h: Include <sys/_inttypes.h.
144 Define strtoll and strtoull. Provide prototypes for
145 __strtoll and __strtoull. Define _GLIBCPP_USE_LONG_LONG
148 * src/locale-inst.cc: Include <bits/std_cstdlib.h>
150 * configure.target: Fix typo in hpux case.
152 2001-12-21 Paolo Carlini <pcarlini@unitus.it>
154 * include/ext/stl_rope.h (_Rope_iterator):
155 Add local typedef to fix implicit typename problems.
157 2001-12-19 Phil Edwards <pme@gcc.gnu.org>
159 * docs/doxygen/Intro.3: New 'Allocators' module.
160 * docs/doxygen/TODO: Update.
161 * docs/doxygen/doxygroups.cc: Update.
162 * docs/doxygen/run_doxygen: Update.
164 * include/bits/stl_alloc.h: Tweak doxygen hooks in comments.
165 * include/bits/std_memory.h: Doxygenate.
166 * include/bits/stl_iterator_base_types.h: Likewise.
167 * include/bits/stl_raw_storage_iter.h: Likewise.
168 * include/bits/stl_tempbuf.h: Likewise.
169 (get_temporary_buffer): Remove unused nonstandard overload.
170 * include/bits/stl_uninitialized.h: Likewise.
172 * include/bits/stl_iterator_base_types.h (input_iterator,
173 output_iterator, forward_iterator, bidirectional_iterator,
174 random_access_iterator): Move old names...
175 * include/backward/iterator.h: ...to here.
176 * include/bits/stl_bvector.h: Update.
177 * include/ext/stl_rope.h: Update.
179 2001-12-19 Phil Edwards <pme@gcc.gnu.org>
181 * docs/html/configopts.html: Describe recent options.
182 * docs/html/documentation.html: Point to new doxygen tarballs.
183 * docs/html/install.html: Brief updates.
184 * docs/html/17_intro/RELEASE-NOTES: Remove weird control character.
185 * docs/html/ext/howto.html: Fix typos, describe filebuf::fd().
186 * docs/html/faq/index.html: Update for 3.0.95.
187 * docs/html/faq/index.txt: Regenerate.
189 2001-12-19 David Billinghurst <David.Billinghurst@riotinto.com>
192 * testsuite/lib/libstdc++-v3-dg.exp: Append .exe to
195 2001-12-18 Benjamin Kosnik <bkoz@redhat.com>
197 * docs/html/17_intro/TODO: Update.
198 * docs/html/17_intro/RELEASE-NOTES: Edits, update.
199 * README: Edit for clarity, update to reflect current directory
202 2001-12-18 Benjamin Kosnik <bkoz@redhat.com>
204 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Extended checking before
206 * aclocal.m4: Rebuild.
207 * configure: Rebuild.
209 2001-12-18 Paolo Carlini <pcarlini@unitus.it>
210 Nathan Myers <ncm@cantrip.org>
212 * include/bits/basic_string.h (assign(__str, __pos, __n)):
213 Call assign(__s, __n).
214 (assign(__s, __n)): Terminate the string with _S_terminal.
216 2001-12-17 Benjamin Kosnik <bkoz@redhat.com>
218 * include/bits/std_limits.h (__glibcpp_long_double_is_bounded):
219 Set to true, like float and double.
221 2001-12-17 David Billinghurst <David.Billinghurst@riotinto.com>
224 * testsuite/lib/prune.exp: New file
225 * testsuite/lib/libstdc++-v3-dg.exp: Use it
227 2001-12-17 Phil Edwards <pme@gcc.gnu.org>
229 * include/bits/basic_file.h (__basic_file::fd): New function.
230 * config/io/basic_file_stdio.h (__basic_file::fd): Define.
231 * include/bits/std_fstream.h (basic_filebuf::fd): New function.
232 * include/bits/fstream.tcc (basic_filebuf::fd): Define.
233 * testsuite/27_io/filebuf_members.cc (test_02): New test.
235 2001-12-16 Nathan Sidwell <nathan@codesourcery.com>
237 * po/Makefile.am (.po.mo): Use POSIXLY_CORRECT argument ordering.
238 * po/Makefile.in: Regenerated.
240 2001-12-16 Paolo Carlini <pcarlini@unitus.it>
242 * testsuite/21_strings/assign.cc (test01): Add tests.
244 2001-12-15 Paolo Carlini <pcarlini@unitus.it>
245 Nathan Myers <ncm@cantrip.org>
247 * include/bits/basic_string.h
248 (assign(__str, __pos, __n), assign(__s, __n)): Optimize
249 by avoiding unnecessary temporaries.
250 (assign(__s)): Call assign(__s, __n).
251 * include/bits/basic_string.tcc (_M_replace_safe): Adjust comment.
252 * include/bits/std_string.h: include stl_function.h.
253 * testsuite/21_strings/assign.cc (test02, test03): New tests.
255 2001-12-15 Benjamin Kosnik <bkoz@redhat.com>
257 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Enable gnu locale model
259 * aclocal.m4: Regenerate.
260 * configure: Regenerate.
262 2001-12-14 Benjamin Kosnik <bkoz@redhat.com>
264 Clean up initialization and simplfy caching of underlying "C"
265 default locale objects.
266 * src/localename.cc (locale::_Impl::_Impl(string, size_t):
267 Unconditionally create __clocale object for all named locales,
268 including "C" and "POSIX".
269 * config/locale/c_locale_generic.cc
270 (locale::facet::_S_create_c_locale): Always set __cloc to zero.
271 * config/locale/c_locale_gnu.cc: Always delete.
272 * include/bits/localefwd.h (locale::facet::_S_c_locale): New.
273 * src/locale.cc (locale::classic()): Initialize
274 locale::facet::_S_c_locale.
275 (locale::facet::_S_c_locale): Define.
277 * include/bits/locale_facets.h: Add ctype_byname<wchar_t> ctor
279 * src/locale.cc: Add definition here.
280 * config/os/gnu-linux/bits/ctype_inline.h: Tweak.
281 * config/os/gnu-linux/bits/ctype_noninline.h: Adjust initializations.
282 * include/bits/locale_facets.h (ctype<char>::_M_c_locale_ctype): Add.
284 (ctype<char>::_M_toupper): Remove const&.
285 (ctype<char>::_M_tolower): Remove const&.
286 (ctype<char>::_M_ctable): Remove const&.
288 * include/bits/locale_facets.h (collate): Clean up initialization
289 of _M_c_locale_collate in ctors and dtors.
290 * config/locale/collate_members_gnu.cc: Always use extended
293 * include/bits/locale_facets.h (messages): Clean up inits in ctor/dtor.
294 (messages_byname): Same.
295 * config/locale/messages_members_generic.h (messages::~messages):
297 * config/locale/messages_members_gnu.h: Same.
299 * include/bits/localefwd.h: Clean. Move dtor definitions to
300 * src/locale.cc: Here.
301 * testsuite/22_locale/facet.cc: Fix spelling.
303 Named locale support for ctype<wchar_t>.
304 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add variable
305 ctype_members_* bits.
306 * aclocal.m4: Regenerate.
307 * configure: Regenerate.
308 * src/Makefile.am (sources): Add ctype.cc.
309 * src/Makefile.in: Regenerate.
310 * config/locale/ctype_members_generic.cc: New file.
311 * config/locale/ctype_members_gnu.cc: New file.
312 * src/locale.cc: Remove ctype<wchart_t> definitions.
314 2001-12-13 Roger Sayle <roger@eyesopen.com>
316 * acconfig.h: Test for __builtin_sqrt instead of
318 * acinclude.m4: Same.
319 * include/c_shadow/bits/std_cmath.h: Same.
320 * aclocal.m4: Regenerated.
321 * config.h.in: Regenerated.
322 * configure: Regenerated.
324 2001-12-13 Phil Edwards <pme@gcc.gnu.org>
326 * docs/html/ext/howto.html: Fix typos.
328 2001-12-13 Benjamin Kosnik <bkoz@redhat.com>
331 * src/locale.cc (locale::locale(const char*)): Deal with locales
333 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Modify.
335 2001-12-12 Paolo Carlini <pcarlini@unitus.it>
337 * include/ext/ropeimpl.h (rope::_S_leaf_concat_char_iter,
338 _S_destr_leaf_concat_char_iter, _S_tree_concat, _S_concat_char_iter,
339 _S_destr_concat_char_iter, _S_concat, _S_substring, _S_balance)
340 : Adjust implicit typename.
341 * include/ext/stl_rope.h (_Rope_iterator::operator=, rope::npos):
342 Adjust implicit typename.
343 * testsuite/27_io/streambuf.cc: Adjust implicit typename.
345 2001-12-12 Benjamin Kosnik <bkoz@redhat.com>
347 Named locale support for ctype<char>.
348 * config/locale/c_locale_gnu.h (_GLIBCPP_C_LOCALE_GNU): New.
349 * config/os/gnu-linux/bits/ctype_noninline.h (ctype<char>): Add
350 definitions for alternate constructor.
351 * config/os/solaris/solaris2.7/bits/ctype_noninline.h (ctype): Same.
352 * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
353 * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
354 * config/os/newlib/bits/ctype_noninline.h (ctype): Same.
355 * config/os/irix/irix6.5/bits/ctype_noninline.h (ctype): Same.
356 * config/os/irix/irix5.2/bits/ctype_noninline.h (ctype): Same.
357 * config/os/hpux/bits/ctype_noninline.h (ctype): Same.
358 * config/os/generic/bits/ctype_noninline.h (ctype): Same.
359 * config/os/djgpp/bits/ctype_noninline.h (ctype): Same.
360 * config/os/bsd/netbsd/bits/ctype_noninline.h (ctype): Same.
361 * config/os/bsd/freebsd/bits/ctype_noninline.h (ctype): Same.
362 * config/os/aix/bits/ctype_noninline.h (ctype): Same.
363 * include/bits/locale_facets.h (ctype<_CharT>): Remove dummy
364 definitions for all virtual functions. These are now explicitly
365 undefined for non-required factets, ie any non-char, non-wchar_t
367 * src/localename.cc (locale::_Impl::_Impl(string, size_t): Named
368 locales use alternate constructor for ctype facet.
369 * include/bits/locale_facets.h (ctype<char>::ctype(__c_locale, const
370 mask*, bool, size_t): Add.
371 (ctype<wchar_t>::ctype(__c_locale, size_t): Add.
372 * src/locale.cc (ctype<wchar_t>::ctype(__c_locale, size_t)): Add
375 * testsuite/22_locale/ctype_members_char.cc (test02): Add, mark
376 XFAIL for non-gnu locale models.
378 2001-12-12 Philip Martin <philip@codematters.co.uk>
379 Ross Smith <r-smith@ihug.co.nz>
380 Paolo Carlini <pcarlini@unitus.it>
383 * include/bits/std_limits.h (defines, numeric_limits<bool>::digits10):
384 Fix digits10 values for integral types.
385 * include/bits/locale_facets.tcc (num_get::do_get for integral types):
386 Tweak _M_extract_int call.
387 * testsuite/27_io/istream_extractor_arith.cc (test13, test12_aux):
388 Tweak overflowing number of digits.
389 * testsuite/18_support/numeric_limits.cc (test03): New testcase.
391 2001-12-11 Benjamin Kosnik <bkoz@redhat.com>
393 * config/os/generic/bits/ctype_inline.h: Remove spaces.
394 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
395 * include/bits/locale_facets.h (__num_base): Move double data
396 members to first in class.
397 * include/bits/locale_facets.tcc: Re-arrange, tweak.
398 * src/locale.cc: Clean.
399 *include/bits/stl_vector.h: Space typedefs.
401 2001-12-11 Phil Edwards <pme@gcc.gnu.org>
403 * testsuite/ext/allocators.cc: New file.
405 2001-12-11 Jason Merrill <jason@redhat.com>
407 * include/bits/locale_facets.tcc (_M_extract_int): Avoid
408 uninitialized warning.
410 2001-12-11 Loren Rittle <ljrittle@acm.org>
412 * config/cpu/sparc/sparc32/bits/atomicity.h
413 (__Atomicity_lock<0>::_S_atomicity_lock): Add.
415 2001-12-10 Paolo Carlini <pcarlini@unitus.it>
417 * include/bits/basic_string.tcc (_M_replace_safe): Fix typos.
418 * include/bits/basic_string.h: Fix typos.
420 2001-12-10 Paolo Carlini <pcarlini@unitus.it>
421 Nathan Myers <ncm@cantrip.org>
423 * include/bits/basic_string.tcc (_M_replace_safe): New function.
424 (_M_replace(input_iterator_tag), append members): Use it.
425 (_M_replace(forward_iterator_tag)): Remove.
426 * include/bits/basic_string.h: Adjust declarations.
427 * src/string-inst.cc: Adjust declarations.
429 2001-12-09 Benjamin Kosnik <bkoz@redhat.com>
430 Philip Martin <pmartin@uklinux.net>
432 * include/bits/locale_facets.h (__num_base::_S_scale_hex): Add.
433 (__num_base::_S_scale_oct): Add.
434 * include/bits/locale_facets.tcc (_M_extract_int): Use them.
435 * src/locale.cc: Add definitions.
436 * testsuite/27_io/istream_extractor_arith.cc (main): Call test13.
438 * testsuite/testsuite_hooks.h: Remove duplicate VERIFY define.
440 2001-12-07 Nathan Myers <ncm@cantrip.org>
441 Loren Rittle <ljrittle@acm.org>
444 * config/cpu/sparc/sparc32/bits/atomicity.h
445 (struct __Atomicity_lock<__inst>): Add.
446 (__Atomicity_lock<__inst>::_S_atomicity_lock): Add.
447 (__exchange_and_add): Use __Atomicity_lock<0>::_S_atomicity_lock
448 instead of lock local to static function.
449 (__atomic_add): Likewise.
451 2001-12-07 Phil Edwards <pme@gcc.gnu.org>
453 * src/globals.cc: Remove __GTHREADS guard.
455 2001-12-07 Paolo Carlini <pcarlini@unitus.it>
457 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
458 Extend comment, reduce __cs_size for non-fixed outputs.
460 2001-12-07 Paolo Carlini <pcarlini@unitus.it>
462 * include/bits/basic_string.tcc (_M_mutate): Fix typo
463 in the previous check in.
465 2001-12-06 Paolo Carlini <pcarlini@unitus.it>
466 Loren J. Rittle <ljrittle@acm.org>
468 * include/bits/basic_string.tcc (_M_mutate, _M_clone): Implement
469 exponential growth policy to meet linear amortized time
470 requirements of the standard.
471 (_S_create): Adjust comment.
473 2001-12-06 Benjamin Kosnik <bkoz@redhat.com>
476 * include/bits/locale_facets.tcc (num_put): Clean.
477 (num_get::_M_extract_float): Change argument to string.
478 (num_get::do_get(float)): Fixup.
479 (num_get::do_get(double)): Same.
480 (num_get::do_get(long double)): Same.
481 (num_get::_M_extract_int): Add maximum length parameter, __max.
482 (num_get::_M_extract_float): Correct zeros, use string.
483 * include/bits/locale_facets.h (num_get::_M_extract_float): Change
485 * src/locale.cc (__num_base::_S_atoms): Remove x, X.
486 * testsuite/27_io/istream_extractor_arith.cc (test13): Add.
488 2001-12-06 Philip Martin <pmartin@uklinux.net>
490 * testsuite/27_io/istream_extractor_arith.cc (test12): Add
491 tests for excess input digits.
493 2001-12-06 Phil Edwards <pme@gcc.gnu.org>
495 * include/bits/std_bitset.h: Use GLIBCPP in multiple-inclusion guard.
496 * include/bits/stl_algo.h: Likewise.
497 * include/bits/stl_algobase.h: Likewise.
498 * include/bits/stl_bvector.h: Likewise.
499 * include/bits/stl_deque.h: Likewise.
500 * include/bits/stl_function.h: Likewise.
501 * include/bits/stl_iterator.h: Likewise.
502 * include/bits/stl_iterator_base_funcs.h: Likewise.
503 * include/bits/stl_iterator_base_types.h: Likewise.
504 * include/bits/stl_list.h: Likewise.
505 * include/bits/stl_multimap.h: Likewise.
506 * include/bits/stl_multiset.h: Likewise.
507 * include/bits/stl_pair.h: Likewise.
508 * include/bits/stl_queue.h: Likewise.
509 * include/bits/stl_set.h: Likewise.
510 * include/bits/stl_stack.h: Likewise.
511 * include/bits/stl_tempbuf.h: Likewise.
512 * include/bits/stl_tree.h: Likewise.
513 * include/bits/stl_vector.h: Likewise.
515 * include/bits/stl_alloc.h: Use our own multiple inclusion guards.
516 Doxygenate more comments. Correct historical artifacts in comments.
517 (alloc, single_alloc): Uglify non-standard names.
518 (__default_alloc_template::_NFREELISTS): Calculate from other
520 (__default_alloc_template::_S_free_list): Remove SunPro workaround.
521 (__default_alloc_template::_Lock): Mark as "unused".
522 * include/backward/alloc.h: Update.
523 * include/bits/stl_bvector.h: Likewise.
524 * include/ext/ropeimpl.h: Likewise.
525 * include/ext/stl_hashtable.h: Likewise.
527 2001-12-05 Benjamin Kosnik <bkoz@redhat.com>
530 * include/bits/locale_facets.tcc (num_put::_M_widen_float): Add
531 grouping to floating point types.
532 * testsuite/27_io/ostream_inserter_arith.cc (test02): Add test.
534 2001-12-04 Paolo Carlini <pcarlini@unitus.it>
537 * testsuite/27_io/ostream_inserter_arith.cc (test02): Add testcase
539 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
540 Deal properly with long ios_base::fixed floats.
541 (num_put::_M_widen_float): use
542 __len in __builtin_alloca call.
544 2001-12-04 Benjamin Kosnik <bkoz@redhat.com>
546 * src/Makefile.am (sources): Add ext-inst.cc.
547 * src/Makefile.in: Regenerate.
548 * src/ext-inst.cc: New file.
549 * include/bits/stl_threads.h: Format.
550 * src/globals.cc: Add instantiation for _S_swap_lock.
552 * testsuite/18_support/numeric_limits.cc: Add numeric_limits<B>
555 2001-12-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
557 * testsuite/22_locale/numpunct_members_wchar_t.cc: Only compile
558 and execute test01 if _GLIBCPP_USE_WCHAR_T is defined.
559 * testsuite/26_numerics/complex_inserters_extractors.cc: Provide
560 for explicit instantiation of class std::basic_string<char,
561 gnu_char_traits, std::allocator<char> >.
563 2001-12-03 Benjamin Kosnik <bkoz@redhat.com>
565 * testsuite/22_locale/collate.cc: Compile-only.
566 * testsuite/22_locale/time_get.cc: Same.
567 * testsuite/22_locale/time_put.cc: Same.
568 * testsuite/22_locale/numpunct.cc: Same.
569 * testsuite/22_locale/num_put.cc: Same.
570 * testsuite/22_locale/num_get.cc: Same.
571 * testsuite/22_locale/moneypunct.cc: Same.
572 * testsuite/22_locale/money_get.cc: Same.
573 * testsuite/22_locale/messages.cc: Same.
574 * testsuite/22_locale/ctype.cc: Same.
576 2001-12-03 Benjamin Kosnik <bkoz@redhat.com>
578 * src/string-inst.cc (string::_Rep::_S_terminal): Add static data
579 member instantiations.
581 2001-12-03 Steve Ellcey <sje@cup.hp.com>
583 * libstdc++-v3/configure.in: Add support for hpux cross compiles,
584 combine common linux/hpux/generic cross compile support to reduce
586 * libstdc++-v3/configure: Regenerate.
588 2001-12-03 Loren J. Rittle <ljrittle@acm.org>
590 * docs/html/ext/howto.html: Update commentary.
591 * include/bits/c++config: Update threading configuration comment.
592 (__STL_GTHREADS): Remove macro definition.
593 (__STL_THREADS): Likewise.
594 * include/bits/stl_threads.h: Leave only the configuration
595 path which had been guarded by __STL_GTHREADS. Remove all
596 guards related to __STL_GTHREADS, __STL_SGI_THREADS,
597 __STL_PTHREADS, __STL_UITHREADS and __STL_WIN32THREADS.
598 * include/bits/stl_alloc.h: Leave only the configuration path
599 which had been guarded by __STL_THREADS. Remove configuration
600 path and guards for __STL_SGI_THREADS.
601 (__NODE_ALLOCATOR_THREADS): Remove macro definition. Unroll its use.
602 (__NODE_ALLOCATOR_LOCK): Likewise.
603 (__NODE_ALLOCATOR_UNLOCK): Likewise.
604 (_NOTHREADS): Remove guards related to macro.
605 * include/ext/stl_rope.h: Remove configuration path and guards
606 for __STL_SGI_THREADS.
607 * src/stl-inst.cc: Remove use of __NODE_ALLOCATOR_THREADS.
609 2001-12-02 Phil Edwards <pme@gcc.gnu.org>
611 * docs/html/ext/howto.html: Update list of implemented DRs.
612 * docs/html/ext/lwg-active.html: Import R20 from upstream.
613 * docs/html/ext/lwg-defects.html: Import R20 from upstream.
615 2001-11-30 Benjamin Kosnik <bkoz@redhat.com>
619 * libsupc++/exception (bad_exception::~bad_exception()): Remove
621 * libsupc++/new (bad_alloc::~bad_alloc()): Remove.
622 * libsupc++/typeinfo (bad_cast::~bad_cast()): Remove.
623 (bad_typeid::~bad_typeid()): Remove.
624 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Remove definition.
625 (bad_typeid::~bad_typeid()): Same.
626 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
627 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()): Same.
629 * include/bits/std_iomanip.h: Tweak.
631 2001-11-29 Paolo Carlini <pcarlini@unitus.it>
634 * include/bits/locale_facets.tcc (__pad): Add bool parameter to
635 correctly pad internal-adjusted const char*-type objects.
636 * include/bits/locale_facts.tcc (num_put::_M_insert): Update call.
637 * include/bits/ostream.tcc (operator<<(_CharT , char, const
638 _CharT*, const char*, const basic_string&): Update calls.
639 * src/locale-inst.tcc: Update declarations.
640 * testsuite/27_io/ostream_inserter_arith.cc (test04): Add test.
642 2001-11-29 Phil Edwards <pme@gcc.gnu.org>
644 * docs/html/ext/howto.html: Finish allocator notes (inst and 3.0).
646 2001-11-29 Benjamin Kosnik <bkoz@redhat.com>
648 * include/bits/locale_facets.tcc (num_get::do_get(long double)):
649 Fix __traits_type typo.
651 2001-11-28 Paolo Carlini <pcarlini@unitus.it>
653 * include/bits/locale_facets.tcc (__pad): Correctly pad
654 internal-adjusted hex numbers.
655 * testsuite/27_io/ostream_inserter_arith.cc: Add testcase.
657 2001-11-28 Paolo Carlini <pcarlini@unitus.it>
658 Loren J. Rittle <ljrittle@acm.org>
660 * include/bits/basic_string.h
661 (basic_string::_Rep::__default_excess, _S_excess_slop):
663 * include/bits/basic_string.tcc: Remove dead code.
664 * include/bits/c++config: Remove comment.
666 2001-11-28 Benjamin Kosnik <bkoz@redhat.com>
667 Jakub Jelinek <jakub@redhat.com>
669 * config/locale/moneypunct_members_gnu.cc
670 (moneypunct<wchar_t>::_M_initialize_moneypunct): Correctly cast
672 * config/locale/numpunct_members_gnu.cc
673 (numpunct<wchar_t>::_M_initialize_numpunct): Same.
675 2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
677 * include/bits/locale_facets.tcc: Formatting tweaks.
679 * testsuite/23_containers/map_operators.cc: Don't xfail.
680 * testsuite/23_containers/set_operators.cc: Same.
681 * testsuite/backward/header_iterator_h.cc: Pass in -Wno-deprecated.
682 * testsuite/backward/header_deque_h.cc: Same.
684 2001-11-27 Loren J. Rittle <ljrittle@acm.org>
685 Paolo Carlini <pcarlini@unitus.it>
687 * include/bits/basic_string.tcc (basic_string::_Rep::_S_create):
688 Enforce allocation size blocking policy to reduce
689 fragmentation and enhance performance with common malloc
692 2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
694 Numeric facets cleanup.
695 * include/bits/locale_facets.h (__num_base::_S_atoms): Add, remove
697 (__num_base::_M_zero): Add
698 (__num_base::_M_e): Add.
699 (__num_base::_M_E): Add.
700 * include/bits/locale_facets.tcc (num_get::_M_extract): Remove.
701 (num_get::_M_extract_float): New.
702 (num_get::_M_extract_int): New.
703 * src/locale.cc (num_get::_M_extract): Remove.
705 * include/bits/locale_facets.tcc (num_put::_M_insert_float):
706 Simplify, use _M_insert.
707 (num_put::do_put(bool)): Simplify, remove __pad.
709 (__pad_output): Change to __pad.
710 * include/bits/ostream.tcc: And here.
711 * src/locale-inst: Remove instantiations.
713 * include/bits/locale_facets.h: Move helper functions in to class
715 (num_put::_M_insert_float): Same, for __output_integer.
716 (num_put::_M_insert_int): Same, for __output_float.
717 (num_put::_M_insert): New.
719 (__num_base::_S_format_float): Move
720 __build_float_format into class __num_base.
721 (__num_base::_S_format_int): Move __build_int_format into class
723 * include/bits/locale_facets.tcc (__group_digits): Change to
724 (__add_grouping): This.
725 * src/locale-inst.cc: And here. Tweak instantiations.
726 * src/misc-inst.cc: Remove instantiations.
728 * include/bits/ostream.tcc (__pad_char): Rename, adjust inserters
729 for new calling conventions, move to...
730 * include/bits/locale_facets.tcc (__pad_output): Here. Adjust
731 signature to make it useful for both ostream and num_put.
732 (__pad_numeric): Remove.
733 * src/misc-inst.cc: Remove instantiations.
734 * src/locale-inst.cc: Same.
736 * include/bits/locale_facets.h (_Numeric_get): Remove.
737 (_Numeric_put): Remove.
738 (num_get::get(short)): Remove.
739 (num_get::get(int)): Remove.
740 (num_get::do_get(short)): Remove.
741 (num_get::do_get(int)): Remove.
742 * include/bits/istream.tcc (istream::operator>>(short)): Fix as
744 (istream::operator>>(int)): Same.
746 * include/bits/locale_facets.h (_Format_cache): Remove.
747 * include/bits/locale_facets.tcc: Same.
748 * src/locale.cc: Same.
749 * src/locale-inst.cc: Same.
750 * include/bits/ostream.tcc: Same.
751 * src/ios.cc (ios_base::imbue): Remove here as well.
753 * testsuite/22_locale/num_get.cc: New file.
754 * testsuite/22_locale/num_get_members_char.cc: New file.
755 * testsuite/22_locale/num_get_members_wchar_t.cc: New.
756 * testsuite/22_locale/numpunct_members_wchar_t.cc: New file.
757 * testsuite/22_locale/num_put.cc: New file.
758 * testsuite/22_locale/num_put_members_char.cc: New file.
759 * testsuite/22_locale/num_put_members_wchar_t.cc: New file.
760 * testsuite/27_io/ostream_inserter_arith.cc: Fix.
761 * testsuite/27_io/istream_extractor_arith.cc: Fix.
763 2001-11-27 Phil Edwards <pme@gcc.gnu.org>
765 * docs/html/explanations.html: New section, empty for now.
766 * docs/html/17_intro/howto.html: Cleanup. Move unrelated link...
767 * docs/html/23_containers/howto.html: ...to here. Break up and
768 rewrap threading discussion to emphasize warning. Move malloc text...
769 * docs/html/ext/howto.html: ...to here. New section. Describe
770 allocators and __USE_MALLOC effects.
771 * docs/html/ext/sgiexts.html: Mention their code.
773 2001-11-24 Joseph S. Myers <jsm28@cam.ac.uk>
775 * docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
776 docs/html/27_io/binary_iostreams_kuehl.txt: Revert previous
779 2001-11-23 Phil Edwards <pme@gcc.gnu.org>
781 * Makefile.am (doxygen-maint): The script isn't executable in CVS.
782 * Makefile.in: Regenerated.
783 * docs/doxygen/TODO: New file listing doxygen work to be done.
784 * docs/doxygen/run_doxygen: Fix up man pages.
785 * docs/doxygen/user.cfg.in: Insert maint-only toggles.
786 * docs/doxygen/maint.cfg.in: Copy from user.cfg and turn toggles on.
787 * include/bits/stl_construct.h: Use new hooks for internal functions.
789 * docs/html/17_intro/TODO: Small updates.
790 * docs/html/faq/index.html: Likewise.
791 * docs/html/faq/index.txt: Regenerated.
793 * include/bits/stl_alloc.h: Doxygenate, reindent comments, remove
794 SGI-isms and wrappers.
795 (simple_alloc, debug_alloc): Uglify class names.
796 (__default_alloc_template): Uglify "threads" template parameter and
797 update corresponding macros.
798 * include/backward/alloc.h: Bring up to date.
800 2001-11-23 Jason Merrill <jason@redhat.com>
802 * src/vterminate.cc (__verbose_terminate_handler): Add leading
805 2001-11-23 Joseph S. Myers <jsm28@cam.ac.uk>
807 * ChangeLog, docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
808 docs/doxygen/doxygroups.cc, docs/doxygen/Intro.3,
809 docs/html/17_intro/BUGS, docs/html/17_intro/C++STYLE,
810 docs/html/17_intro/CHECKLIST, docs/html/17_intro/DESIGN,
811 docs/html/17_intro/howto.html, docs/html/17_intro/porting.html,
812 docs/html/17_intro/porting.texi, docs/html/18_support/howto.html,
813 docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
814 docs/html/21_strings/howto.html,
815 docs/html/23_containers/howto.html,
816 docs/html/26_numerics/howto.html, docs/html/27_io/howto.html,
817 docs/html/27_io/binary_iostreams_kuehl.txt,
818 docs/html/ext/sgiexts.html, docs/html/faq/index.html,
819 docs/html/faq/index.txt, testsuite/24_iterators/iterator.cc,
820 include/bits/basic_file.h, include/bits/locale_facets.h,
821 include/bits/locale_facets.tcc, include/bits/std_sstream.h,
822 include/ext/ropeimpl.h, include/ext/stl_rope.h,
823 libsupc++/tinfo.cc, libsupc++/cxxabi.h, libsupc++/typeinfo,
824 libsupc++/eh_throw.cc, acinclude.m4, aclocal.m4, configure,
825 configure.target, ChangeLog-2000: Fix spelling errors.
827 * config/locale/moneypunct_members_gnu.cc,
828 include/bits/locale_facets.h: Fix spelling errors.
830 2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
832 * testsuite/23_containers/list_capacity.cc: New file.
833 * testsuite/23_containers/list_ctor.cc: New file.
834 * testsuite/23_containers/list_modifiers.cc: New file.
835 * testsuite/23_containers/list_operators.cc: New file.
837 2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
839 * include/bits/stl_list.h: Reformatted according to C++STYLE rules.
840 (size): Replaced nonstandard distance() call with the standard one.
841 (transfer): Uglified to _M_transfer.
843 2001-11-21 Paolo Carlini <pcarlini@unitus.it>
846 * include/bits/basic_string.tcc (basic_string::reserve): Never shrink
847 below the current size.
848 * testsuite/21_strings/capacity.cc (test02): Add test.
850 2001-11-19 Phil Edwards <pme@gcc.gnu.org>
852 * docs/doxygen/Intro.3: More notes.
853 * docs/doxygen/style.css: Update to default style from Doxygen 1.2.10.
854 * include/bits/stl_algobase.h: Add doxygen hooks for functions.
855 * include/ext/hash_map: Add @file hook.
856 * include/ext/hash_set: Likewise.
857 * include/ext/rope: Likewise.
858 * include/ext/ropeimpl.h: Likewise.
859 * include/ext/slist: Likewise.
860 * include/ext/stl_hash_fun.h: Likewise.
861 * include/ext/stl_hashtable.h: Likewise.
862 * include/ext/stl_rope.h: Likewise.
864 * docs/html/17_intro/license.html: Remove "experimental" sentence.
865 * docs/html/19_diagnostics/howto.html: Document new verbose
867 * testsuite/27_io/filebuf.cc: Fix comment, move tweakable parameter
868 to more visible (closer to description) position.
870 * libsupc++/eh_type.cc: Formatting tweak.
871 * libsupc++/exception: Likewise.
872 * src/vterminate.cc: Likewise.
874 * docs/html/17_intro/porting.html: Regenerate.
875 * docs/html/faq/index.txt: Regenerate.
877 2001-11-18 Jason Merrill <jason@redhat.com>
879 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Take void*.
880 * libsupc++/eh_catch.cc (__cxa_begin_catch): Likewise.
881 * libsupc++/unwind-cxx.h: Adjust.
882 * src/Makefile.am (strstream.o): Pass -Wno-deprecated.
884 * libsupc++/eh_type.cc (__cxa_current_exception_type): New file.
885 * libsupc++/cxxabi.h: Declare it.
886 * libsupc++/Makefile.am (sources): Add it.
887 * src/vterminate.cc (verbose_terminate_handler): New file.
888 * libsupc++/exception: Declare it.
889 * src/Makefile.am (sources): Add it.
891 * src/Makefile.am (VPATH): Check the src directory before the top one.
893 2001-11-16 Paolo Carlini <pcarlini@unitus.it>
895 * include/bits/stl_deque.h (deque::erase()): Fix memory leak.
897 2001-11-16 Loren J. Rittle <ljrittle@acm.org>
899 * docs/html/17_intro/howto.html (Thread-safety): Rename
900 section to ``The Standard C++ library and multithreading'' and
901 update information based on recent mailing list traffic. Move
902 all discussion of __USE_MALLOC to...
903 * docs/html/23_containers/howto.html (Containers and multithreading):
904 ...here and rework it based on recent mailing list traffic.
906 2001-11-15 Loren J. Rittle <ljrittle@acm.org>
908 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Clarify
911 2001-11-15 <bjornw@planetarion.com>
912 Loren J. Rittle <ljrittle@acm.org>
915 * include/bits/stl_alloc.h (alloc): Update to use __mem_interface.
916 (single_client_alloc): Likewise.
918 2001-11-08 Danny Smith <dannysmith@users.sourceforge.net>
920 * configure.target: Add os_include_dir for mingw32* target.
921 * docs/html/17_intro/porting.texi: Mention mingw32 as target benefiting
922 from _GLIBCPP_AVOID_FSEEK.
923 * config/os/mingw32/bits/ctype_base.h: New file.
924 * config/os/mingw32/bits/ctype_inline.h: New file.
925 * config/os/mingw32/bits/ctype_noninline.h: New file.
926 * config/os/mingw32/bits/os_defines.h: New file.
928 2001-11-07 Nathan Myers <ncm@cantrip.org>
930 * docs/html/faq/index.html (5.8): New entry on ABIs.
931 * docs/html/faq/index.txt: Regenerate.
933 2001-11-07 Phil Edwards <pme@gcc.gnu.org>
935 * docs/html/faq/index.html: Explain libsupc++, mention 'long long'
937 * docs/html/faq/index.txt: Regenerate.
939 2001-11-06 Phil Edwards <pme@gcc.gnu.org>
941 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Run the test in
943 * aclocal.m4: Regenerate.
944 * configure: Regenerate.
946 2001-11-05 Phil Edwards <pme@gcc.gnu.org>
948 * porting.texi: Move...
949 * docs/html/17_intro/porting.texi: ...to here.
950 * docs/html/Makefile: Add rule to rebuild...
951 * docs/html/17_intro/porting.html: ...this. New file.
953 2001-11-05 Felix Natter <fnatter@gmx.net>
955 * docs/html/17_intro/porting-howto.xml: check in v0.9.4
956 * docs/html/17_intro/porting-howto.html: regenerate
958 2001-11-02 Loren J. Rittle <ljrittle@acm.org>
960 * include/bits/stl_threads.h (_Atomic_swap): Only enable path
961 when platform supports __GTHREAD_MUTEX_INIT.
963 2001-11-02 Phil Edwards <pme@gcc.gnu.org>
965 * acconfig.h: Update comments.
966 * acinclude.m4 (GLIBCPP_ENABLE_C99): Move strtoll, strtoull tests...
967 (GLIBCPP_ENABLE_LONG_LONG): ...to here. Don't check enable_c99.
968 * aclocal.m4: Regenerate.
969 * config.h.in: Regenerate.
970 * configure: Regenerate.
972 * include/bits/boost_concept_check.h: Unconditionally compile uses
973 of 'long long' which require only compiler support, not C lib support.
974 * include/bits/cpp_type_traits.h: Likewise.
975 * include/bits/std_limits.h: Likewise.
976 * include/bits/type_traits.h: Likewise.
977 * src/concept-inst.cc: Likewise.
978 * src/limits.cc: Likewise.
979 * include/c_shadow/stdlib.h: Compile conditionally on _GLIBCPP_USE_C99
980 instead of _GLIBCPP_USE_LONG_LONG.
981 * include/c_shadow/bits/std_cstdlib.h: Likewise.
983 2001-11-02 Phil Edwards <pme@gcc.gnu.org>
985 * config/io/c_io_stdio.h: Correct grammar in comments.
986 * docs/doxygen/Intro.3: Expand "top-level" man page.
987 * docs/doxygen/doxygroups.cc: New module definitions (comments).
988 * docs/doxygen/mainpage.doxy: Tweaks.
989 * docs/doxygen/run_doxygen: Update Doxygen version, massage man pages.
991 Add @file hooks so that headers are considered to be documented.
992 * include/bits/basic_ios.h, include/bits/basic_file.h,
993 include/bits/basic_string.h, include/bits/boost_concept_check.h,
994 include/bits/char_traits.h, include/bits/codecvt.h,
995 include/bits/concept_check.h, include/bits/cpp_type_traits.h,
996 include/bits/fpos.h, include/bits/gslice.h, include/bits/gslice_array.h,
997 include/bits/indirect_array.h, include/bits/ios_base.h,
998 include/bits/locale_facets.h, include/bits/localefwd.h,
999 include/bits/mask_array.h, include/bits/pthread_allocimpl.h,
1000 include/bits/slice.h, include/bits/slice_array.h,
1001 include/bits/std_algorithm.h, include/bits/std_bitset.h,
1002 include/bits/std_complex.h, include/bits/std_deque.h,
1003 include/bits/std_fstream.h, include/bits/std_functional.h,
1004 include/bits/std_iomanip.h, include/bits/std_ios.h,
1005 include/bits/std_iosfwd.h, include/bits/std_iostream.h,
1006 include/bits/std_istream.h, include/bits/std_iterator.h,
1007 include/bits/std_limits.h, include/bits/std_list.h,
1008 include/bits/std_locale.h, include/bits/std_map.h,
1009 include/bits/std_memory.h, include/bits/std_numeric.h,
1010 include/bits/std_ostream.h, include/bits/std_queue.h,
1011 include/bits/std_set.h, include/bits/std_sstream.h,
1012 include/bits/std_stack.h, include/bits/std_streambuf.h,
1013 include/bits/std_string.h, include/bits/std_utility.h,
1014 include/bits/std_valarray.h, include/bits/std_vector.h,
1015 include/bits/stl_algo.h, include/bits/stl_alloc.h,
1016 include/bits/stl_bvector.h, include/bits/stl_construct.h,
1017 include/bits/stl_deque.h, include/bits/stl_heap.h,
1018 include/bits/stl_iterator.h, include/bits/stl_iterator_base_funcs.h,
1019 include/bits/stl_iterator_base_types.h, include/bits/stl_list.h,
1020 include/bits/stl_map.h, include/bits/stl_multimap.h,
1021 include/bits/stl_multiset.h, include/bits/stl_numeric.h,
1022 include/bits/stl_pair.h, include/bits/stl_pthread_alloc.h,
1023 include/bits/stl_queue.h, include/bits/stl_raw_storage_iter.h,
1024 include/bits/stl_relops.h, include/bits/stl_set.h,
1025 include/bits/stl_stack.h, include/bits/stl_tempbuf.h,
1026 include/bits/stl_threads.h, include/bits/stl_tree.h,
1027 include/bits/stl_uninitialized.h, include/bits/stl_vector.h,
1028 include/bits/stream_iterator.h, include/bits/streambuf_iterator.h,
1029 include/bits/stringfwd.h, include/bits/type_traits.h,
1030 include/bits/valarray_array.h, include/bits/valarray_meta.h:
1031 Add hooks, tweak comments only.
1033 * include/bits/stl_algobase.h (swap, min, iter_swap): Also
1034 document these functions.
1035 * include/bits/stl_function.h: Tweak link comments.
1037 2001-11-01 Paolo Carlini <pcarlini@unitus.it>
1038 Benjamin Kosnik <bkoz@redhat.com>
1040 * testsuite/27_io/ios_manip_fmtflags.cc: Fix for non-interactive
1042 * include/bits/locale_facets.tcc (num_put::do_put(bool)): Fix.
1044 2001-11-01 Egor Duda <deo@logos-m.ru>
1046 * config/os/newlib/bits/ctype_noninline.h
1047 (ctype<char>::do_toupper(char __c)): Check for proper character class.
1048 (ctype<char>::do_tolower(char __c)): Ditto.
1050 2001-11-01 Phil Edwards <pme@gcc.gnu.org>
1052 * acinclude.m4: Fix spacing.
1053 (GLIBCPP_ENABLE_CONCEPT_CHECKS): New macro.
1054 * configure.in: Call here.
1055 * acconfig.h: Add _GLIBCPP_CONCEPT_CHECKS.
1056 * include/bits/boost_concept_check.h: Fix headers.
1057 (__function_requires): Make inline.
1058 * include/bits/c++config (_GLIBCPP_CONCEPT_CHECKS): Remove.
1059 * aclocal.m4: Regenerate.
1060 * config.h.in: Regenerate.
1061 * configure: Regenerate.
1063 Move trailing ';' inside macro, PR libstdc++/3666.
1064 * include/bits/concept_check.h: Add semicolon.
1065 * include/bits/stl_algo.h: Remove semicolon.
1066 * include/bits/stl_algobase.h: Likewise.
1067 * include/bits/stl_deque.h: Likewise.
1068 * include/bits/stl_heap.h: Likewise.
1069 * include/bits/stl_iterator_base_funcs.h: Likewise.
1070 * include/bits/stl_list.h: Likewise.
1071 * include/bits/stl_map.h: Likewise.
1072 * include/bits/stl_multimap.h: Likewise.
1073 * include/bits/stl_multiset.h: Likewise.
1074 * include/bits/stl_numeric.h: Likewise.
1075 * include/bits/stl_queue.h: Likewise.
1076 * include/bits/stl_set.h: Likewise.
1077 * include/bits/stl_stack.h: Likewise.
1078 * include/bits/stl_vector.h: Likewise.
1079 * include/ext/hash_map: Likewise.
1080 * include/ext/hash_set: Likewise.
1081 * include/ext/slist: Likewise.
1083 * src/concept-inst.cc: New file with explicit instantiations.
1084 * src/Makefile.am (sources): Add here, with special build rules.
1085 * src/Makefile.in: Regenerate.
1087 2001-11-01 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1089 * include/bits/std_complex.h (_Norm_helper): New class template.
1091 (abs): Tweak. Fix Thinko.
1093 2001-10-31 Benjamin Kosnik <bkoz@redhat.com>
1096 * include/bits/codecvt.h: Add virtual member function declarations.
1097 * src/codecvt.cc: Tweaks.
1098 * testsuite/22_locale/codecvt.cc: Test compilation only,
1099 non-required facets not required to have linkage.
1101 2001-10-31 Edward E. Meyer <edward.e.meyer@boeing.com>
1104 * include/bits/std_complex.h (complex::operator/=): Correct sign.
1106 2001-10-30 Paolo Carlini <pcarlini@unitus.it>
1107 Benjamin Kosnik <bkoz@redhat.com>
1110 * include/bits/basic_string.h: Tweaks.
1111 * include/bits/basic_string.tcc (string::_M_replace(iterator,
1112 iterator, _ForwardIter, _ForwardIter, forward_iterator_tag): Fix.
1113 * src/string-inst.cc: Tweaks, add instantiation.
1114 * testsuite/21_strings/replace.cc (test02): Add test.
1115 * testsuite/21_strings/assign.cc (test01): New file.
1117 2001-10-30 Jakub Jelinek <jakub@redhat.com>
1119 * include/bits/stl_deque.h (_M_new_elements_at_front): Use
1120 __throw_exception_again.
1121 (_M_new_elements_at_back): Likewise.
1123 2001-10-29 Benjamin Kosnik <bkoz@redhat.com>
1126 * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
1127 * testsuite/27_io/filebuf.cc (test07): New test.
1128 (test03): Modify showmanyc test.
1130 2001-10-26 Benjamin Kosnik <bkoz@redhat.com>
1133 * config/locale/codecvt_specializations_ieee_1003.1-200x.h
1134 (__enc_traits::~__enc_traits): Fix.
1135 (__enc_traits::_M_init): Add error checking.
1137 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1140 * include/bits/locale_facets.tcc (time_get::_M_extract_name): Fix.
1142 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1145 * include/bits/ostream.tcc (ostream::operator<<(streambuf*)): Fix
1147 * include/bits/istream.tcc (istream::operator>>(streambuf*): Make
1148 consistent, where possible.
1149 * include/bits/streambuf.tcc: Tweak.
1151 2001-10-25 Brendan Kehoe <brendan@zen.org>
1154 * bits/ostream.tcc (seekp): Scope use as ios_base::failbit.
1155 * bits/istream.tcc (seekg): Likewise.
1157 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1158 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1159 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1161 * config/os/gnu-linux/bits/os_defines.h: Set to 64 bit longs with
1163 * include/bits/std_limits.h: Fix wchar_t issues.
1164 * config/os/aix/bits/os_defines.h: Fix.
1166 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1168 * include/bits/locale_facets.tcc (collate::do_transform): Fix.
1170 2001-10-25 Phil Edwards <pme@gcc.gnu.org>
1172 * docs/html/documentation.html: Fix typo.
1174 2001-10-23 Benjamin Kosnik <bkoz@redhat.com>
1176 Make -fno-exceptions work.
1177 * config/locale/c_locale_gnu.cc: Use functexcept.
1178 * include/bits/c++config (__stl_assert): Remove.
1179 (__STL_USE_EXCEPTIONS): Same.
1181 (__STL_CATCH_ALL): Same.
1182 (__STL_THROW): Same.
1183 (__STL_RETHROW): Same.
1184 (__STL_NOTHROW): Same.
1185 (__STL_UNWIND): Same.
1186 * include/bits/pthread_allocimpl.h: Fix.
1187 * include/bits/std_bitset.h: Same.
1188 * include/bits/std_list.h: Same.
1189 * include/bits/std_memory.h: Same.
1190 * include/bits/std_queue.h: Same.
1191 * include/bits/stl_alloc.h: Same.
1192 * include/bits/stl_deque.h: Same.
1193 * include/bits/stl_list.h: Same.
1194 * include/bits/stl_queue.h: Same.
1195 * include/bits/stl_tempbuf.h: Same.
1196 * include/bits/stl_tree.h: Same.
1197 * include/bits/stl_uninitialized.h: Same.
1198 * include/bits/stl_vector.h: Same.
1199 * include/ext/ropeimpl.h: Same.
1200 * include/ext/slist: Same.
1201 * include/ext/stl_hashtable.h: Same.
1202 * include/ext/stl_rope.h: Same.
1203 * libsupc++/new_op.cc: Include cstdlib.
1204 * libsupc++/eh_personality.cc: Add exception_defines include. Use
1205 __throw_exception_again, tweak.
1206 * libsupc++/eh_aux_runtime.cc: Include stdlib for abort.
1207 * libsupc++/vec.cc: Tweak.
1208 * src/functexcept.cc: Remove unused arguments.
1209 * testsuite/23_containers/bitset_members.cc: Tweak.
1211 2001-10-22 Benjamin Kosnik <bkoz@redhat.com>
1213 * config/cpu/i386/bits/limits.h: Move to...
1214 * config/cpu/i386/bits/cpu_limits.h: ...here.
1215 * config/cpu/cris/bits/cpu_limits.h: Same.
1216 * config/cpu/powerpc/bits/cpu_limits.h: Same.
1217 * config/cpu/x86-64/bits/cpu_limits.h: Same.
1218 * config/cpu/alpha/bits/cpu_limits.h: New.
1219 * config/cpu/m68k/bits/cpu_limits.h: New.
1220 * config/cpu/s390/bits/cpu_limits.h: New.
1221 * config/os/aix/bits/os_defines.h: Tweaks.
1222 * config/os/bsd/freebsd/bits/os_defines.h: Same.
1223 * config/os/bsd/netbsd/bits/os_defines.h: Same.
1224 * config/os/djgpp/bits/os_defines.h: Same.
1225 * config/os/generic/bits/os_defines.h: Same.
1226 * config/os/gnu-linux/bits/os_defines.h: Same.
1227 * config/os/hpux/bits/os_defines.h: Same.
1228 * config/os/irix/irix5.2/bits/os_defines.h: Same.
1229 * config/os/irix/irix6.5/bits/os_defines.h: Same.
1230 * config/os/newlib/bits/os_defines.h: Same.
1231 * config/os/solaris/solaris2.5/bits/os_defines.h: Same.
1232 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
1233 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
1235 * include/bits/c++config: Remove include.
1236 * include/bits/limits_generic.h: Remove.
1237 * include/bits/std_limits.h: Include cpu_limits.h.
1238 * include/Makefile.am: Fixup.
1239 * src/limits.cc: Tweak.
1240 * src/limits_generic.cc: Remove.
1241 * src/gen-num-limits.cc: Remove.
1242 * mknumeric_limits: Remove.
1244 2001-10-20 Brendan Kehoe <brendan@zen.org>
1246 * bits/type_traits.h (_Bool): Removed this type.
1247 (__true_type, __false_type): Change to be plain structs.
1248 * src/string-inst.cc (__destroy_aux): Change third parm to be
1249 __false_type instead of _Bool<false>.
1250 * src/misc-inst.cc (__uninitialized_fill_n_aux,
1251 __uninitialized_copy_aux): Likewise.
1253 2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
1255 * mkcheck.in (static_fail): Remove older memory limit functionality.
1256 Disable E_TIME due to formatting issues.
1260 2001-10-19 Brendan Kehoe <brendan@zen.org>
1262 * include/bits/std_complex.h: Default initialize second argument
1263 of polar to 0, as specified in Library DR #79
1265 2001-10-19 Brendan Kehoe <brendan@zen.org>
1267 * include/bits/stl_raw_storage_iter.h (operator=): Fix to call
1268 _Construct instead of construct.
1270 2001-10-19 Brendan Kehoe <brendan@zen.org>
1272 * include/bits/basic_string.tcc (find_first_not_of): Take out check for
1273 __n being non-zero, since the standard does not mandate that.
1274 e.g., a search for "" in "" should yield position 0, not npos.
1275 (find_last_not_of): Likewise.
1277 2001-10-19 Brendan Kehoe <brendan@zen.org>
1279 * include/bits/stl_bvector.h (vector<bool>::_M_range_check): Fix
1280 to throw out_of_range, not range_error, thus sayeth $23.1.1.13.
1282 2001-10-19 Brendan Kehoe <brendan@zen.org>
1284 * include/bits/stl_iterator.h (reverse_iterator::current): Rename
1285 member from _M_current, and change all uses; thus sayeth $24.4.1.1.
1287 2001-10-19 Brendan Kehoe <brendan@zen.org>
1289 * include/bits/stl_algo.h (partial_sort): Add missing `>' on the
1290 template parameter _ValueType.
1292 2001-10-19 Brendan Kehoe <brendan@zen.org>
1294 * include/bits/std_limits.h: Clean up extra semicolons.
1295 * include/bits/locale_facets.h: Likewise.
1296 * include/bits/type_traits.h: Likewise.
1298 2001-10-19 Brendan Kehoe <brendan@zen.org>
1300 * include/bits/localefwd.h (locale::combine): Add const for lib DR 14.
1301 * include/bits/locale_facets.tcc (locale::combine): Likewise.
1303 2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
1305 * include/bits/locale_facets.h (__timepunct::_M_put_helper):
1306 Declare specializations for char, wchar_t.
1308 2001-10-19 Andreas Jaeger <aj@suse.de>
1310 * config/cpu/x86-64/bits/limits.h: New file.
1311 * config/cpu/x86-64/bits/atomicity.h: New file.
1312 * configure.target: Add x86-64.
1314 2001-10-17 Phil Edwards <pme@gcc.gnu.org>
1316 * docs/html/17_intro/howto.html: Remove 1999 links (and explain
1317 why). Add link to recent message.
1318 * docs/html/faq/index.html (5.6): Reformat text only; fixup <pre>
1320 * docs/html/faq/index.txt: Regenerate.
1322 2001-10-12 Loren J. Rittle <ljrittle@acm.org>
1324 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Update
1325 based on Nathan's review. Use Nathan's words.
1327 2001-10-11 Matt Kraai <kraai@alumni.carnegiemellon.edu>
1329 * docs/html/configopts.html: Quote StyleSheet attribute values.
1330 * docs/html/documentation.html: Likewise.
1331 * docs/html/explanations.html: Likewise.
1332 * docs/html/install.html: Likewise.
1333 * docs/html/17_intro/howto.html: Likewise.
1334 * docs/html/17_intro/license.html: Likewise.
1335 * docs/html/18_support/howto.html: Likewise.
1336 * docs/html/19_diagnostics/howto.html: Likewise.
1337 * docs/html/20_util/howto.html: Likewise.
1338 * docs/html/21_strings/howto.html: Likewise.
1339 * docs/html/22_locale/howto.html: Likewise.
1340 * docs/html/23_containers/howto.html: Likewise.
1341 * docs/html/24_iterators/howto.html: Likewise.
1342 * docs/html/25_algorithms/howto.html: Likewise.
1343 * docs/html/26_numerics/howto.html: Likewise.
1344 * docs/html/27_io/howto.html: Likewise.
1345 * docs/html/ext/howto.html: Likewise.
1346 * docs/html/ext/sgiexts.html: Likewise.
1347 * docs/html/faq/index.html: Likewise.
1349 2001-10-11 Loren J. Rittle <ljrittle@acm.org>
1351 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Rewrite.
1352 * docs/html/23_containers/howto.html (Containers and multithreading):
1355 2001-10-09 Phil Edwards <pme@gcc.gnu.org>
1357 * docs/html/17_intro/howto.html: Tweak markup and value type.
1358 * docs/html/27_io/howto.html: Tweak markup, describe setbuf() for
1359 nonzero arguments, add new note on threading.
1360 * docs/html/faq/index.html: Update.
1361 * docs/html/faq/index.txt: Regenerate.
1363 2001-10-09 Phil Edwards <pme@gcc.gnu.org>
1365 * docs/html/configopts.html: More HTML->XHTML and lowercasing of tags.
1366 * docs/html/documentation.html: Likewise.
1367 * docs/html/explanations.html: Likewise.
1368 * docs/html/install.html: Likewise.
1369 * docs/html/17_intro/howto.html: Likewise.
1370 * docs/html/17_intro/license.html: Likewise. Tighten up language.
1371 * docs/html/18_support/howto.html: Likewise.
1372 * docs/html/19_diagnostics/howto.html: Likewise.
1373 * docs/html/20_util/howto.html: Likewise.
1374 * docs/html/21_strings/howto.html: Likewise.
1375 * docs/html/22_locale/howto.html: Likewise.
1376 * docs/html/23_containers/howto.html: Likewise.
1377 * docs/html/24_iterators/howto.html: Likewise.
1378 * docs/html/25_algorithms/howto.html: Likewise.
1379 * docs/html/26_numerics/howto.html: Likewise.
1380 * docs/html/27_io/howto.html: Likewise.
1381 * docs/html/ext/howto.html: Likewise.
1382 * docs/html/ext/sgiexts.html: Likewise.
1383 * docs/html/faq/index.html: Likewise. Not so many absolute links.
1384 * docs/html/faq/index.txt: Regenerate.
1386 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
1388 * docs/html/22_locale/locale.html, docs/html/faq/index.html: Fix
1389 spelling errors of "separate" as "seperate", and corresponding
1390 spelling errors of related words.
1391 * docs/html/faq/index.txt: Regenerate.
1393 2001-10-05 Phil Edwards <pme@gcc.gnu.org>
1395 * config/cpu/alpha/bits/atomicity.h (__compare_and_swap): Remove
1397 * config/cpu/arm/bits/atomicity.h: Likewise.
1398 * config/cpu/generic/bits/atomicity.h: Likewise.
1399 * config/cpu/i486/bits/atomicity.h: Likewise.
1400 * config/cpu/ia64/bits/atomicity.h: Likewise.
1401 * config/cpu/mips/bits/atomicity.h: Likewise.
1402 * config/cpu/powerpc/bits/atomicity.h: Likewise.
1403 * config/cpu/sparc/sparc32/bits/atomicity.h: Likewise.
1404 * config/cpu/sparc/sparc64/bits/atomicity.h: Likewise.
1406 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
1408 * docs/html/faq/index.html: Describe DR #22, and a workaround.
1409 * docs/html/faq/index.txt: Regenerate.
1411 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
1413 * docs/html/17_intro/COPYING.DOC: New file, GFDL v1.1 from the FSF.
1414 * docs/html/17_intro/license.html: New file. Explain the licenses
1417 * docs/html/configopts.html: Link to license.html.
1418 * docs/html/documentation.html: Likewise.
1419 * docs/html/explanations.html: Likewise.
1420 * docs/html/install.html: Likewise.
1421 * docs/html/17_intro/howto.html: Likewise.
1422 * docs/html/18_support/howto.html: Likewise.
1423 * docs/html/19_diagnostics/howto.html: Likewise.
1424 * docs/html/20_util/howto.html: Likewise.
1425 * docs/html/21_strings/howto.html: Likewise.
1426 * docs/html/22_locale/howto.html: Likewise.
1427 * docs/html/23_containers/howto.html: Likewise.
1428 * docs/html/24_iterators/howto.html: Likewise.
1429 * docs/html/25_algorithms/howto.html: Likewise.
1430 * docs/html/26_numerics/howto.html: Likewise.
1431 * docs/html/27_io/howto.html: Likewise.
1432 * docs/html/ext/howto.html: Likewise.
1433 * docs/html/ext/sgiexts.html: Likewise.
1434 * docs/html/faq/index.html: Likewise. New question, linking to
1435 the new license.html.
1437 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
1439 * docs/html/17_intro/howto.html: Fix mis-sed in header from 20010917.
1440 * docs/html/18_support/howto.html: Likewise.
1441 * docs/html/19_diagnostics/howto.html: Likewise.
1442 * docs/html/20_util/howto.html: Likewise.
1443 * docs/html/21_strings/howto.html: Likewise.
1444 * docs/html/22_locale/howto.html: Likewise.
1445 * docs/html/23_containers/howto.html: Likewise.
1446 * docs/html/24_iterators/howto.html: Likewise.
1447 * docs/html/25_algorithms/howto.html: Likewise.
1448 * docs/html/26_numerics/howto.html: Likewise.
1449 * docs/html/27_io/howto.html: Likewise.
1450 * docs/html/ext/howto.html: Likewise.
1451 * docs/html/faq/index.html: Likewise. Spacing fix.
1453 2001-10-03 Dimitris Vyzovitis <vyzo@media.mit.edu>
1455 * include/bits/stl_threads.h (_Atomic_swap): New function.
1456 (_Swap_lock_struct<__dummy>::_S_swap_lock): New data.
1457 * testsuite/ext/rope.cc: New file.
1459 2001-10-02 Benjamin Kosnik <bkoz@redhat.com>
1461 * config/locale/time_members_gnu.h: Remove.
1462 * config/locale/time_members_generic.h: Remove.
1463 * config/locale/time_members_gnu.cc (__timepunct::_M_put_helper): Add.
1464 * config/locale/time_members_generic.cc: Same.
1465 * include/bits/locale_facets.h: Add data members.
1466 (__timepunct::_M_put_helper): Change signature.
1467 (__timepunct::_M_date_formats): Same.
1468 (__timepunct::_M_time_formats): Same.
1469 (__timepunct::_M_ampm): Add.
1470 (__timepunct::_M_date_time_formats): Add.
1471 (time_get::_M_extract_via_format): Add.
1472 (time_get::_M_extract_time): Change to...
1473 (time_get::_M_extract_num): ... this, modify signature.
1474 * include/bits/locale_facets.tcc (time_get::do_get_year): Fix.
1475 (time_get::do_get_time): Fix.
1476 (time_get::do_get_date): Fix.
1478 * acinclude.m4: Remove CTIME_H.
1479 * aclocal.m4: Regenerate.
1480 * include/Makefile.am: Same.
1481 * include/Makefile.in: Regenerate.
1482 * configure: Regenerate.
1484 * testsuite/22_locale/time_get_members_char.cc: Fix.
1485 * testsuite/22_locale/time_get_members_wchar_t.cc: Add.
1486 * testsuite/22_locale/time_put_members_wchar_t.cc: Add.
1488 2001-10-01 Hans-Peter Nilsson <hp@axis.com>
1490 * config/cpu/cris/bits/atomicity.h: Correct file header.
1492 2001-09-29 Hans-Peter Nilsson <hp@axis.com>
1494 * configure.target (LIMITSH): Set for cris.
1495 (cpu_include_dir): Set for cris-*-*.
1496 * config/cpu/cris/bits/atomicity.h: New file.
1497 * config/cpu/cris/bits/limits.h: New file.
1499 2001-09-28 Benjamin Kosnik <bkoz@redhat.com>
1501 * config/locale/time_members_gnu.h (__timepunct::_M_get_helper): Add.
1502 (__timepunct::_M_put_helper): Add.
1503 * config/locale/time_members_generic.h: Same.
1504 * include/bits/locale_facets.h (__match_parallel): Remove. Format.
1505 (__timepunct): Add data members.
1506 (__timepunct::_M_days): Add.
1507 (__timepunct::_M_days_abbreviated): Add.
1508 (__timepunct::_M_months): Add.
1509 (__timepunct::_M_months_abbreviated): Add.
1510 (__timepunct::_M_initialize_timepunct): Add.
1511 * include/bits/locale_facets.tcc: Same.
1512 * src/locale-inst.cc: Remove instantiations for __match_parallel.
1513 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_CC.
1514 * aclocal.m4: Regenerate.
1515 * configure: Regenerate.
1516 * testsuite/22_locale/time_put_members_char.cc: Mark XFAIL.
1517 * testsuite/22_locale/time_put_members_char.cc (test01): New file.
1518 * testsuite/22_locale/time_get.cc: New file.
1520 2001-09-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1522 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
1523 correct multilib builddir.
1524 Properly locate libgcc_s.
1526 2001-09-27 Phil Edwards <pme@gcc.gnu.org>
1528 * include/std/*: Add Doxygen hooks.
1529 * docs/doxygen/Intro.3: New file, general intro to the man pages.
1530 * docs/doxygen/mainpage.doxy: Formatting tweaks. List our own links
1531 rather than using a generated index.
1532 * docs/doxygen/user.cfg.in: Disable the index, enable man pages.
1533 * docs/doxygen/run_doxygen: Massage the generated man pages, using...
1534 * docs/doxygen/stdheader.cc: ...this new file.
1536 2001-09-26 Stan Shebs <shebs@apple.com>
1538 * include/Makefile.am: Remove RCS Id strings.
1539 * src/Makefile.am: Ditto.
1540 * docs/doxygen/run_doxygen: Ditto.
1541 * docs/html/configopts.html: Ditto.
1542 * docs/html/documentation.html: Ditto.
1543 * docs/html/explanations.html: Ditto.
1544 * docs/html/install.html: Ditto.
1545 * docs/html/17_intro/howto.html: Ditto.
1546 * docs/html/18_support/howto.html: Ditto.
1547 * docs/html/19_diagnostics/howto.html: Ditto.
1548 * docs/html/20_util/howto.html: Ditto.
1549 * docs/html/21_strings/howto.html: Ditto.
1550 * docs/html/22_locale/howto.html: Ditto.
1551 * docs/html/23_containers/howto.html: Ditto.
1552 * docs/html/24_iterators/howto.html: Ditto.
1553 * docs/html/25_algorithms/howto.html: Ditto.
1554 * docs/html/26_numerics/howto.html: Ditto.
1555 * docs/html/27_io/howto.html: Ditto.
1556 * docs/html/ext/howto.html: Ditto.
1557 * docs/html/ext/sgiexts.html: Ditto.
1558 * docs/html/faq/index.html: Ditto.
1559 * docs/html/faq/index.txt: Ditto.
1561 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
1563 * testsuite/21_strings/c_strings.cc (test01, test02): Increase
1566 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
1568 * docs/html/20_util/howto.html: Add anchor name.
1569 * docs/html/23_containers/howto.html: Line wrapping, another link.
1570 * docs/html/25_algorithms/howto.html: Another note.
1572 * docs/html/ext/howto.html: Link to SGI extensions. List DRs and
1574 * docs/html/ext/lwg-active.html: ...in this new file (from R19),
1575 * docs/html/ext/lwg-defects.html: and this new file (from R19).
1576 * docs/html/ext/sgiexts.html: New file. Mention SGI extensions
1577 carried over to libstdc++-v3.
1578 * docs/html/faq/index.html: Link to SGI extensions. Mention the
1579 "missing .." pseudobug.
1580 * docs/html/faq/index.txt: Regenerate.
1582 * include/bits/ios_base.h: DR-related comment cleanup.
1583 * include/bits/istream.tcc: Likewise.
1584 * include/bits/locale_facets.h: Likewise.
1585 * include/bits/locale_facets.tcc: Likewise.
1586 * include/bits/ostream.tcc: Likewise.
1587 * include/bits/std_bitset.h: Likewise.
1588 * include/bits/std_iosfwd.h: Likewise.
1589 * include/bits/std_istream.h: Likewise.
1590 * include/bits/std_ostream.h: Likewise.
1591 * include/bits/std_streambuf.h: Likewise.
1592 * include/bits/stl_pair.h: Likewise.
1593 * include/bits/streambuf_iterator.h: Likewise.
1595 * include/bits/std_map.h: Remove unused header inclusion guard
1596 _CPP_BITS_STL_TREE_H from around bits/stl_tree.h.
1597 * include/bits/std_set.h: Likewise.
1599 * include/bits/stl_function.h: Doxygen markup.
1600 * docs/doxygen/doxygroups.cc: New file, specifying module grouping.
1601 * libsupc++/typeinfo: Doxygen markup tweak.
1603 2001-09-20 Scott Johnston <scott@accom.com>
1604 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1606 * include/backward/alloc.h: Conditionally define malloc_alloc
1607 * testsuite/backward/header_deque_h.cc: New file.
1609 2001-09-20 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
1611 * libstdc++-v3/include/bits/locale_facets.tcc (money_put::do_put):
1612 change variable name so that it works with -fno-for-scope.
1614 2001-09-20 Benjamin Kosnik <bkoz@redhat.com>
1616 * testsuite/22_locale/numpunct_members_char.cc (test01): Remove
1617 redundant sanity checks.
1618 * testsuite/22_locale/money_put_members_wchar_t.cc (test01): Same.
1620 * testsuite/22_locale/money_put_members_char.cc (test01): Same.
1622 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test01): Same.
1623 * testsuite/22_locale/moneypunct_members_char.cc (test01): Same.
1624 * testsuite/22_locale/money_get_members_wchar_t.cc (test01): Same.
1626 * testsuite/22_locale/money_get_members_char.cc (test01): Same.
1629 2001-09-19 Benjamin Kosnik <bkoz@redhat.com>
1631 Implement std::time_put.
1632 * include/bits/locale_facets.h: Include time_members.h.
1634 (time_put): Implement.
1635 * include/bits/locale_facets.tcc (do_put): Put generic versions here.
1636 * include/bits/localefwd.h: Bump number of facets.
1637 * config/locale/time_members_generic.h: New file.
1638 * config/locale/time_members_gnu.h: New file.
1639 * config/locale/c_locale_generic.h: Include clocale.
1640 * src/locale-inst.cc: Add use_facet instantiations for __timepunct.
1641 * src/locale.cc: Add __timepunct initializations.
1642 * src/localename.cc (locale::_Impl::_Impl(string, size_t)): Same.
1643 * include/Makefile.am (stamp-target): Add time_members.h.
1644 * include/Makefile.in: Regenerate.
1645 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_H.
1646 * aclocal.m4: Regenerate.
1647 * configure: Regenerate.
1648 * testsuite/22_locale/time_put.cc: New file.
1649 * testsuite/22_locale/time_put_members_char.cc: New file.
1651 * docs/html/22_locale/locale.html: Add note.
1653 2001-09-17 Phil Edwards <pme@gcc.gnu.org>
1655 * docs/html/configopts.html: HTML to XHTML change. Lowercase tags.
1656 * docs/html/documentation.html: Likewise.
1657 * docs/html/explanations.html: Likewise.
1658 * docs/html/install.html: Likewise.
1659 * docs/html/17_intro/howto.html: Likewise.
1660 * docs/html/18_support/howto.html: Likewise.
1661 * docs/html/19_diagnostics/howto.html: Likewise.
1662 * docs/html/20_util/howto.html: Likewise.
1663 * docs/html/21_strings/howto.html: Likewise.
1664 * docs/html/22_locale/codecvt.html: Likewise.
1665 * docs/html/22_locale/ctype.html: Likewise.
1666 * docs/html/22_locale/howto.html: Likewise.
1667 * docs/html/22_locale/locale.html: Likewise.
1668 * docs/html/22_locale/messages.html: Likewise.
1669 * docs/html/23_containers/howto.html: Likewise.
1670 * docs/html/24_iterators/howto.html: Likewise.
1671 * docs/html/25_algorithms/howto.html: Likewise.
1672 * docs/html/26_numerics/howto.html: Likewise.
1673 * docs/html/27_io/howto.html: Likewise.
1674 * docs/html/ext/howto.html: Likewise.
1675 * docs/html/faq/index.html: Likewise.
1676 * docs/html/faq/index.txt: Regenerated.
1678 2001-09-14 Phil Edwards <pme@sources.redhat.com>
1680 * docs/html/17_intro/headers_cc.txt: "Sync"/copy real file over.
1681 * docs/html/17_intro/howto.html: Spacing and HTML markup fixes.
1682 * docs/html/18_support/howto.html: It won't compile; it's not code.
1683 * docs/html/19_diagnostics/howto.html: Point diagram seekers to
1685 * docs/html/22_locale/howto.html: Comment for future work.
1686 * docs/html/23_containers/howto.html: More comments.
1687 * docs/html/25_algorithms/howto.html: It's a comment, not a
1688 blunt command to the reader. (English grammar.)
1690 2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
1692 * config/locale/moneypunct_members_gnu.cc: Fix initialization of
1694 * testsuite/22_locale/money_get_members_wchar_t.cc (test02): New file.
1695 * testsuite/22_locale/money_put_members_wchar_t.cc (test02): Fix.
1697 2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
1699 * include/bits/locale_facets.tcc: Conditionalize use of strtold.
1701 2001-09-13 Alexandre Petit-Bianco <apbianco@redhat.com>
1703 * testsuite/22_locale/money_get_members_char.cc: Fixed typo in comment.
1704 * testsuite/22_locale/money_put_members_char.cc: Likewise.
1705 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
1707 2001-09-13 Benjamin Kosnik <bkoz@redhat.com>
1709 Implement std::money_get.
1710 * include/bits/locale_facets.tcc (money_get::do_get): Implement.
1711 * include/bits/locale_facets.h (money_get): Correct signatures.
1712 * testsuite/22_locale/money_get.cc: New file.
1713 * testsuite/22_locale/money_get_members_char.cc: New file.
1715 * include/bits/locale_facets.tcc (__verify_grouping): New
1716 function. Consolidate num_get and money_get group checking into
1718 (money_get): Use it.
1719 * src/locale.cc (num_get::_M_extract): Use it.
1720 * src/locale-inst.cc: Add instantiation.
1722 2001-09-12 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1724 * include/bits/std_limits.h (numeric_limits<float>::radix,
1725 numeric_limits<float>::epsilon: Fix thinko.
1727 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
1729 * configure.in: Fix cross compiling math routines. Correct
1730 comments for cross compiling and limits. Add floating point math
1731 routines found in newlib.
1732 * configure: Regenerate.
1733 * acconfig.h: Add macros.
1734 * config.h.in: Regenerate.
1736 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
1738 * config/locale/moneypunct_members_generic.cc
1739 (money_base::_S_construct_pattern): Remove unused parameters.
1741 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
1743 * include/Makefile.am (stamp-target): Remove link to self.
1744 * inclulde/Makefile.in: Regenerate.
1746 2001-09-09 Benjamin Kosnik <bkoz@redhat.com>
1748 Implement std::money_put.
1749 * include/bits/locale_facets.h
1750 (moneypunct::_M_initialize_moneypunct): Split up specializations
1751 to account for _Intl. More grody hacking to get around the
1752 ill-considered use of const bool as a template parameter.
1753 * config/locale/moneypunct_members_gnu.cc: And here.
1754 * config/locale/moneypunct_members_generic.cc: And here.
1755 * testsuite/22_locale/moneypunct_members_char.cc: Add tests.
1756 * testsuite/22_locale/moneypunct.cc: Add tests.
1757 * testsuite/22_locale/money_put_members_wchar_t.cc: New file.
1758 * testsuite/22_locale/moneypunct_members_wchar_t.cc: New file.
1760 * src/locale.cc (money_base::_S_construct_pattern): Move into
1762 * config/locale/moneypunct_members_gnu.cc: Add here.
1763 * config/locale/moneypunct_members_generic.cc: Add generic version
1766 * include/bits/locale_facets.tcc (money_put::do_put): Move member
1767 function definitions here.
1768 * include/bits/locale_facets.h (money_put): Implement.
1769 * src/locale-inst.cc: Add use_facet instantiations for moneypunct.
1770 Correct money_get, money_put instantiations.
1771 * src/locale.cc (money_base::_S_construct_pattern): Handle case
1773 * testsuite/22_locale/money_put_members_char.cc: Add tests.
1775 2001-09-05 Phil Edwards <pme@sources.redhat.com>
1777 * testsuite_flags.in: No longer need to search testsuite builddir.
1778 * src/stl-inst.cc (__sink_unused_warning): Unused, remove.
1779 * Makefile.am: The testsuite directory never needs to be made here.
1780 * Makefile.in: Regenerate.
1781 * include/Makefile.in: Regenerate.
1782 * libio/Makefile.in: Regenerate.
1783 * libmath/Makefile.in: Regenerate.
1784 * libsupc++/Makefile.in: Regenerate.
1785 * po/Makefile.in: Regenerate.
1786 * src/Makefile.in: Regenerate.
1787 * testsuite/Makefile.in: Regenerate.
1789 2001-09-04 Scott Johnston <scott@accom.com>
1790 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1792 * include/backward/iterator.h: Include <bits/std_iterator.h>,
1793 remove reverse_bidirectional_iterator.
1794 * testsuite/backward: New directory.
1795 * testsuite/backward/header_iterator_h.cc: New file.
1797 2001-09-04 Benjamin Kosnik <bkoz@redhat.com>
1799 * include/c_std/bits/std_c*.h: Don't use include_next.
1801 2001-09-03 Richard Sandiford <rsandifo@redhat.com>
1803 * libsupc++/eh_personality.cc (parse_lsda_header): Change type of
1804 tmp from _Unwind_Ptr to _Unwind_Word.
1806 2001-08-31 Jason Merrill <jason_merrill@redhat.com>
1808 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Simplify
1811 2001-08-28 Loren J. Rittle <ljrittle@acm.org>
1813 * include/Makefile.am: Use toplevel_srcdir to refer to src files
1814 outside this component.
1815 * include/Makefile.in: Regenerate.
1817 2001-08-27 Benjamin Kosnik <bkoz@redhat.com>
1819 * config/locale/c_locale_gnu.cc: Move facet info to separate files...
1820 * config/locale/c_locale_generic.cc: Same.
1821 * config/locale/moneypunct_members_gnu.cc: New file.
1822 * config/locale/moneypunct_members_generic.cc: New file.
1823 * config/locale/numpunct_members_gnu.cc: New file.
1824 * config/locale/numpunct_members_generic.cc: New file.
1825 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add moneypunct, numpunct
1827 * aclocal.m4: Regenerate.
1828 * configure: Regenerate.
1829 * src/Makefile.am (sources): And here.
1830 * src/Makefile.in: Regenerate.
1832 Rename for consistency with rest of testsuite.
1833 * testsuite/22_locale/codecvt.cc: New file.
1834 * testsuite/22_locale/money_put.cc: New file.
1835 * testsuite/22_locale/money_put_members_char.cc: New file.
1837 2001-08-27 Phil Edwards <pme@sources.redhat.com>
1840 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Handle enable/disable
1841 correctly for version-specific-runtime-libs.
1842 * aclocal.m4: Regenerate.
1843 * configure: Regenerate.
1845 2001-08-24 Loren J. Rittle <ljrittle@acm.org>
1847 * config/cpu/i386/bits/limits.h (__glibcpp_long_double_bits): Only
1848 define if not already provided by per-OS file.
1849 * config/os/bsd/freebsd/bits/os_defines.h (__glibcpp_long_double_bits):
1852 2001-08-24 Jan van Male <jan.vanmale@fenk.wau.nl>
1854 * docs/html/17_intro/C++STYLE: Fix typo.
1856 2001-08-24 Phil Edwards <pme@sources.redhat.com>
1858 * docs/html/23_containers/howto.html: Describe implementation of
1859 insertion with hints.
1861 2001-08-24 Kenny Simpson <kenny.simpson@gs.com>
1864 * include/bits/std_sstream.h (basic_ostringstream): Fix ctor.
1866 2001-08-24 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
1867 Phil Edwards <pme@sources.redhat.com>
1870 * include/bits/stl_tree.h (insert_unique): Revert last change.
1871 Values inserted at begin() must be less, not greater, than *begin()'s.
1872 * testsuite/23_containers/map_insert.cc: New file.
1874 2001-08-23 Benjamin Kosnik <bkoz@redhat.com>
1876 * config/locale/c_locale_gnu.cc: Minor tweaks.
1877 (moneypunct<wchar_t>): Implement.
1878 * include/bits/locale_facets.h: Same.
1879 * testsuite/22_locale/moneypunct.cc: New file.
1880 * testsuite/22_locale/moneypunct_byname.cc: New file.
1881 * testsuite/22_locale/moneypunct_char_members.cc: New file.
1883 2001-08-23 David Edelsohn <edelsohn@gnu.org>
1885 * config/os/gnu-linux/bits/os_defines.h: Correct __s390__ definitions.
1886 Set __powerpc__ long double definition based on __LONG_DOUBLE_128__.
1888 2001-08-23 Jason Merrill <jason_merrill@redhat.com>
1890 * testsuite_flags.in (build-includes): Re-add backward.
1892 2001-08-22 Benjamin Kosnik <bkoz@redhat.com>
1894 * testsuite/22_locale/collate_wchar_t_members.cc: Guard
1895 with _GLIBCPP_USE_WCHAR_T.
1897 2001-08-21 Benjamin Kosnik <bkoz@redhat.com>
1899 * testsuite/22_locale/collate_byname.cc (test01): Fix.
1901 2001-08-18 Vladimir A Merzliakov <wanderer@rsu.ru>
1903 * include/bits/locale_facets.tcc (collate::do_transform): Add typename.
1905 2001-08-18 Benjamin Kosnik <bkoz@redhat.com>
1907 * testsuite/22_locale/operators.cc: Add test.
1909 2001-08-17 Benjamin Kosnik <bkoz@redhat.com>
1911 Implement std::collate.
1912 * config/locale/collate_specializations_gnu.cc: Add here, implement in
1914 * config/locale/collate_specializations_generic.cc: Add here, but
1915 in a less sophisticated manner.
1916 * include/bits/locale_facets.tcc (collate): Add generic definition.
1917 * include/bits/locale_facets.h (~collate): Mark virtual.
1918 (collate::_M_compare_helper): New.
1919 (collate::_M_transform_helper): New.
1920 * src/locale.cc: Remove unnecessary specializations.
1921 * src/string-inst.cc: Tweak instantiation of ctors.
1923 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Do configury for collate.
1924 * aclocal.m4: Regenerate.
1925 * configure: Regenerate.
1926 * src/Makefile.am (sources): Add collate.cc.
1927 * src/Makefile.in: Regenerate.
1929 * testsuite/22_locale/collate_byname.cc: New.
1930 * testsuite/22_locale/collate.cc: New file.
1931 * testsuite/22_locale/collate_char_members.cc: New file.
1932 * testsuite/22_locale/collate_wchar_t_members.cc: New file.
1934 2001-08-16 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1936 * configure.target: Set LIMITSH for powerpc-*-*.
1937 * config/cpu/powerpc/bits/limits.h: New file.
1939 2001-08-16 Marc Espie <espie@openbsd.org>
1941 * configure.in: Check for <sys/types.h>.
1942 * configure: Rebuild.
1943 * config.h.in: Rebuild.
1944 * libmath/mathconf.h: Include <sys/types.h> prior to
1945 <machine/endian.h> if available.
1947 2001-08-15 Andreas Schwab <schwab@suse.de>
1949 * configure.target (cpu_include_dir): Set to `config/cpu/m68k' for
1950 m68k and m680[246]0.
1951 * config/cpu/m68k/bits/atomicity.h: New file.
1953 * include/bits/std_limits.h [__glibcpp_long_double_bits == 96]:
1954 Define appropriate long double limits for m68k extended floating
1956 (__glibcpp_f32_digits10): Corrected, off by one.
1957 (__glibcpp_f80_digits10): Likewise.
1958 (__glibcpp_f128_digits10): Likewise.
1959 * config/os/gnu-linux/bits/os_defines.h
1960 (__glibcpp_long_double_bits) [__mc68000__]: Define to 96.
1962 2001-08-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1964 * testsuite/18_support/numeric_limits.cc: Add more tests.
1965 * include/bits/std_limits.h (numeric_limits<char>::max): Fix
1968 2001-08-14 Ulrich Weigand <uweigand@de.ibm.com>
1970 * configure.target (cpu_include_dir): Set to `config/cpu/s390'
1973 * config/cpu/s390/bits/atomicity.h: New.
1975 2001-08-14 Gabriel Dos Reis <gdr@codesourcery.com>
1977 * include/bits/std_limits.h: Fix thinko.
1979 2001-08-14 Benjamin Kosnik <bkoz@redhat.com>
1981 * include/Makefile.am: Consolidate target rules. Don't clean stamp
1982 files. Tweak target build directory stamp.
1983 * include/Makefile.in: Regenerate.
1985 2001-08-14 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1987 * libstdc++-v3/libmath/stubs.c: Fix PR/3988, replace
1988 _GBLICPP_HAVE_LOGL with HAVE_LOGL
1990 2001-08-13 Benjamin Kosnik <bkoz@redhat.com>
1992 * configure.in (libtool_VERSION): Add.
1993 (VERSION): Change to
1994 (release_VERSION): This.
1995 * configure: Regenerate.
1996 * src/Makefile.am (libstdc___la_LDFLAGS): Use -version-info with
1998 * src/Makefile.in: Regenerate.
2000 * intl/Makefile.am: Remove.
2001 * intl/Makefile.in: Remove.
2003 * Makefile.am (SUBDIRS): Remove intl.
2004 * po/Makefile.am (DISTFILES): Add string_literals.cc
2006 * po/string_literals.cc: Add.
2007 * po/POTFILES.in: Fix path.
2008 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't call AM_GNU_GETTEXT.
2009 * aclocal.m4: Regenerate.
2010 * configure.in: Remove AC_OUTPUT of intl/Makefile.
2012 * include/backward/backward_warning.h: Clarify message.
2014 * testsuite_flags.in (--cxxflags): Use same debug flags for
2015 library and testsuite.
2017 * include/Makefile.am (c_compatibility): Remove.
2018 * include/Makefile.in: Regenerate.
2020 2001-08-13 Mark Mitchell <mark@codesourcery.com>
2022 * configure.in (LIMITS_INC_SRCDIR): New variable.
2023 * configure.target (LIMITSH): New variable.
2024 * porting.texi: Discuss numeric limits.
2025 * config/cpu/generic/bits/limits.h: New file.
2026 * config/cpu/i386/bits/limits.h: New file.
2027 * include/Makefile.am: Install bits/limits.h.
2028 * include/bits/c++config: Include bits/limits.h.
2030 2001-08-13 H.J. Lu (hjl@gnu.org)
2032 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-copy-files):
2034 (libstdc++-v3-init ): Use it.
2036 2001-08-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2038 * include/bits/ostream.tcc (__pad_char): Change toplevel '__fmt'
2039 to '__adjust' to avoid shadowing in nested scope.
2041 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2043 * include/bits/std_limits.h(__glibcpp_char_is_signed): Use
2046 * config/os/gnu-linux/bits/os_defines.h(__glibcpp_char_is_signed):
2048 * config/os/aix/bits/os_defines.h(__glibcpp_plain_char_is_signed):
2051 2001-08-10 Loren J. Rittle <ljrittle@acm.org>
2053 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Add
2054 dummy default argument to the non-limit implementation.
2057 * include/Makefile.am: Use relative file path in rule to allow
2059 * include/Makefile.in: Rebuilt.
2061 2001-08-10 Gunter Winkler <gunter.winkler@mathematik.tu-chemnitz.de>
2063 * include/bits/std_complex.h (complex<long double>::operator*=,
2064 complex<long double>::operator/=): Fix thinko.
2066 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2068 * include/bits/std_limits.h: New file.
2069 * include/Makefile.am (bits_headers): Add std_limits.h
2070 (all-local): std_limits.h is no longer built.
2071 (${target_builddir}/std_limits.h): Remove.
2072 * include/Makefile.in: Regenerate.
2073 * src/limits.cc: New file.
2074 * src/Makefile.am (sources): Add limits.cc in replacement of
2076 * src/Makefile.in: Regenerate.
2078 2001-08-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2080 * src/gen-num-limits.cc (digits10): Fix thinko.
2082 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
2084 * po/Makefile.am (check-no): Add.
2086 * po/Makefile.in: Regenerate.
2088 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
2090 * acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
2091 * config.h.in: Regenerate.
2092 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT): Check for setrlimit
2094 * aclocal.m4: Regenerate.
2095 * configure.in: Remove duplicate AM_CONFIG_HEADER.
2096 (AM_CONFIG_HEADER): Remove testsuite/testsuite_hooks.h.
2097 Only call GLIBCPP_CHECK_SETRLIMIT for native compiles.
2098 * configure: Regenerate.
2099 * testsuite_hooks.h.in: Move to...
2100 * testsuite_hooks.h: Here, include c++config.h. Use it.
2102 * Makefile.am (SUBDIRS): Move testsuite to last directory.
2103 * Makefile.in: Regenerate.
2104 * po/Makefile.am (stamp-po): Add.
2106 2001-08-09 David Edelsohn <edelsohn@gnu.org>
2108 * config/os/aix/bits/os_defines.h: Define std_limits.h macros.
2109 * config/os/generic/bits/os_defines.h: Likewise.
2110 * config/os/gnu-linux/bits/os_defines.h: Likewise.
2111 * config/os/hpux/bits/os_defines.h: Likewise.
2112 * config/os/irix/irix6.5/bits/os_defines.h: Likewise.
2113 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
2115 2001-08-08 Benjamin Kosnik <bkoz@redhat.com>
2117 * src/Makefile.am (libstdc___la_LDFLAGS): Use -release instead of
2118 -version-info, use substituted VERSION info.
2119 * src/Makefile.in: Regenerate.
2121 2001-08-07 Benjamin Kosnik <bkoz@redhat.com>
2123 Implement std::messages.
2124 Make config a fully-nested directory.
2125 * config/locale: New directory.
2126 * config/c_locale_generic.cc: Move into locale subdirectory.
2127 * config/c_locale_generic.h: Same.
2128 * config/c_locale_gnu.cc: Same.
2129 * config/c_locale_gnu.h: Same.
2130 * config/c_locale_ieee_1003.1-200x.cc: Same.
2131 * config/c_locale_ieee_1003.1-200x_.h: Same.
2132 * config/codecvt_specializations_generic.h: Same.
2133 * config/codecvt_specializations_ieee_1003.1-200x.h: Same.
2134 * config/messages_members_gnu.h: Same.
2135 * config/messaages_members_gnu.cc: Same.
2136 * config/messages_members_generic.h: Same.
2137 * config/messaages_members_generic.cc: Same.
2138 * config/messages_members_ieee_1003.1-200x.h: Same.
2139 * config/messaages_members_ieee_1003.1-200x.cc: Same.
2140 * config/io: New directory.
2141 * config/basic_file_libio.h: Move into io subdirectory.
2142 * config/basic_file_libio.cc: Same.
2143 * config/c_io_libio.h: Same.
2144 * config/c_io_libio_codecvt.c: Same.
2145 * config/basic_file_stdio.h: Same.
2146 * config/basic_file_stdio.cc: Same.
2147 * config/c_io_stdio.h: Same.
2149 * po: New directory.
2150 * po/POTFILES.in: New file.
2151 * po/Makefile.am: New file.
2152 * po/Makefile.in: New file.
2153 * po/libstdc++.pot: Generic translation file.
2154 * po/fr.po: Preliminary French translation.
2155 * po/de.po: Preliminary German translation.
2156 * intl: New directory.
2157 * intl/Makefile.am: New file.
2158 * intl/Makefile.in: New file.
2159 * intl/string_literals.cc: New file.
2160 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump VERSION to 3.1.0. Add
2161 requisite setup for gettext. Re-arrange.
2162 * aclocal.m4: Regenerate.
2163 * configure.in: Don't call GLIBCPP_CHECK_COMPILER_VERSION.
2164 Output Makefile bits for po and intl.
2165 * configure: Regenerate.
2166 * Makefile.am (SUBDIRS): Add intl, po. Add rule for dist.
2167 * Makefile.in: Regenerate.
2168 * acconfig.h: Add ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY.
2169 * config.h.in: Regenerate.
2171 * acinclude.m4 (AC_REPLACE_STRINGFUNCS): Remove.
2173 * include/Makefile.am (install-data-local): Don't install Makefile.
2174 * include/Makefile.in: Regenerate.
2176 * include/bits/locale_facet.h (locale::facet::_S_clone_c_locale):
2178 * config/locale/c_locale_gnu.cc (_S_clone_c_locale): Add definition.
2179 * config/locale/c_locale_generic.cc: Same.
2180 * config/locale/c_locale_ieee_1003.1-200x.cc: Same.
2182 * include/bits/codecvt.h: Excise non-standard, non-required
2183 bits. This includes __enc_traits, and partial specializations of
2184 codecvt for __enc_traits.
2185 * src/codecvt.cc (__enc_traits::_S_max_size): Guard
2186 * config/codecvt_partials_ieee_1003.1-200x.h: New file.
2187 * config/codecvt_partials_generic.h: New file.
2188 * include/Makefile.am (allstamps): Add stamp-codecvt_model.
2189 (stamp-codecvt_model): Add.
2190 * include/Makefile.in: Regenerate.
2191 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in codecvt configury.
2192 * aclocal.m4: Regenerate.
2193 * configure: Regenerate.
2194 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Use macro guard.
2195 * testsuite/22_locale/codecvt_unicode_char.cc: Same.
2196 * testsuite/22_locale/ctor_copy_dtor.cc: And here.
2198 * include/bits/localefwd.h (class locale::facet): Add __enc_traits
2199 as a friend for _S_*_c_locale functions.
2200 * include/bits/codecvt.h (__enc_traits::__enc_traits): Add locale
2201 argument to default constructor so that CODESET information can be
2203 * include/bits/locale_facets.h (messages_byname):
2204 Re-implement. Remove specializations.
2205 * src/locale.cc (messages_byname<char>): Remove specialization.
2206 (messages_byname<wchar_t>): Same.
2207 * config/locale/c_locale_ieee_1003.1-200x.cc: New file.
2208 * config/locale/c_locale_ieee_1003.1-200x.h: New file.
2209 * config/locale/messages_members_ieee_1003.1-200x.cc: New file.
2210 * config/locale/messages_members_ieee_1003.1-200x.h: New file.
2211 * config/locale/messages_members_gnu.cc: New file.
2212 * config/locale/messages_members_gnu.h: New file.
2213 * config/locale/messages_members_generic.cc: New file.
2214 * config/locale/messages_members_generic.h: New file.
2216 * docs/html/configopts.html: Add documentation for new locale
2217 model, ieee_1003.1. Adjust other flags for current defaults.
2218 * docs/html/22_locale/locale.html: Update.
2219 * docs/html/22_locale/howto.html: Add link to messages.html. Organize.
2220 * docs/html/22_locale/messages.html: New.
2222 * src/Makefile.am (sources): Add messages_virtuals.cc.
2223 * src/Makefile.in: Regenerate.
2224 * include/Makefile.am (allstamps): Add stamp-messages_model.
2225 (stamp-messages_model): Add.
2226 * include/Makefile.in: Regenerate.
2227 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in messages configury.
2228 * aclocal.m4: Regenerate.
2229 * configure: Regenerate.
2231 * testsuite_flags.in (--cxxflags): Add LOCALEDIR.
2232 * testsuite/lib/libstdc++-v3-dg.exp: Remove broken LD_LIBRARY_PATH
2234 * acinclude (GLIBCPP_ENABLE_CLOCALE): Set glibcpp_localedir to the
2235 build directories message catalog base directory, and export.
2236 Eventually this should probably be made to deal with build and
2237 install directories. For now, punt on this as the library itself
2238 doesn't use message catalogs (yet).
2239 * testsuite/22_locale/messages.cc: New file.
2240 * testsuite/22_locale/messages_char_members.cc: New file.
2241 * testsuite/22_locale/messages_byname.cc: New file.
2243 2001-08-06 Phil Edwards <pme@sources.redhat.com>
2245 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls...
2246 (GLIBCPP_CHECK_SETRLIMIT): ...this new macro, which also uses...
2247 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): ...this new macro.
2248 * configure.in (AM_CONFIG_HEADER): Also generate testsuite_hooks.h.
2249 Call GLIBCPP_CONFIGURE_TESTSUITE.
2250 * aclocal.m4: Regenerate.
2251 * config.h.in: Regenerate.
2252 * configure: Regenerate.
2254 * testsuite/lib/libstdc++-v3-dg.exp: Download new header instead
2257 * testsuite_flags.in: Add build dir's testsuite to INCLUDES.
2258 * testsuite/debug_assert.h: Removed; contents merged into...
2259 * testsuite/testsuite_hooks.h.in: ...here. New file.
2260 * testsuite/17_intro/header_ciso646.cc: No longer include
2261 debug_assert.h, include testsuite_hooks.h instead.
2262 * testsuite/17_intro/header_fstream.cc: Likewise.
2263 * testsuite/17_intro/header_iomanip.cc: Likewise.
2264 * testsuite/17_intro/header_ios.cc: Likewise.
2265 * testsuite/17_intro/header_iosfwd.cc: Likewise.
2266 * testsuite/17_intro/header_iostream.cc: Likewise.
2267 * testsuite/17_intro/header_istream.cc: Likewise.
2268 * testsuite/17_intro/header_ostream.cc: Likewise.
2269 * testsuite/17_intro/header_sstream.cc: Likewise.
2270 * testsuite/17_intro/header_streambuf.cc: Likewise.
2271 * testsuite/18_support/numeric_limits.cc: Likewise.
2272 * testsuite/19_diagnostics/stdexceptions.cc: Likewise.
2273 * testsuite/20_util/allocator_members.cc: Likewise.
2274 * testsuite/20_util/auto_ptr.cc: Likewise.
2275 * testsuite/20_util/pairs.cc: Likewise.
2276 * testsuite/21_strings/append.cc: Likewise.
2277 * testsuite/21_strings/capacity.cc: Likewise.
2278 * testsuite/21_strings/char_traits_requirements.cc: Likewise.
2279 * testsuite/21_strings/compare.cc: Likewise.
2280 * testsuite/21_strings/ctor_copy_dtor.cc: Likewise. Also set up
2281 call to (disabled) __set_testsuite_memlimit() wrapper.
2282 * testsuite/21_strings/element_access.cc: Likewise.
2283 * testsuite/21_strings/find.cc: Likewise.
2284 * testsuite/21_strings/insert.cc: Likewise. Also set up call to
2285 (disabled) __set_testsuite_memlimit() wrapper.
2286 * testsuite/21_strings/inserters_extractors.cc: Likewise.
2287 * testsuite/21_strings/invariants.cc: Likewise.
2288 * testsuite/21_strings/nonmember.cc: Likewise.
2289 * testsuite/21_strings/operations.cc: Likewise.
2290 * testsuite/21_strings/replace.cc: Likewise.
2291 * testsuite/21_strings/rfind.cc: Likewise.
2292 * testsuite/21_strings/substr.cc: Likewise.
2293 * testsuite/22_locale/codecvt_char_char.cc: Likewise.
2294 * testsuite/22_locale/codecvt_unicode_char.cc: Likewise.
2295 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Likewise.
2296 * testsuite/22_locale/codecvt_wchar_t_char.cc: Likewise.
2297 * testsuite/22_locale/ctor_copy_dtor.cc: Likewise.
2298 * testsuite/22_locale/ctype_char_members.cc: Likewise.
2299 * testsuite/22_locale/ctype_wchar_t_members.cc: Likewise.
2300 * testsuite/22_locale/facet.cc: Likewise.
2301 * testsuite/22_locale/global_templates.cc: Likewise.
2302 * testsuite/22_locale/members.cc: Likewise.
2303 * testsuite/22_locale/numpunct_byname.cc: Likewise.
2304 * testsuite/22_locale/numpunct_char_members.cc: Likewise.
2305 * testsuite/22_locale/operators.cc: Likewise.
2306 * testsuite/22_locale/static_members.cc: Likewise.
2307 * testsuite/23_containers/bitset_ctor.cc: Likewise.
2308 * testsuite/23_containers/bitset_members.cc: Likewise.
2309 * testsuite/23_containers/bitset_shift.cc: Likewise.
2310 * testsuite/23_containers/vector_capacity.cc: Likewise.
2311 * testsuite/23_containers/vector_ctor.cc: Likewise.
2312 * testsuite/23_containers/vector_element_access.cc: Likewise.
2313 * testsuite/23_containers/vector_modifiers.cc: Likewise.
2314 * testsuite/24_iterators/istreambuf_iterator.cc: Likewise.
2315 * testsuite/24_iterators/iterator.cc: Likewise.
2316 * testsuite/24_iterators/ostreambuf_iterator.cc: Likewise.
2317 * testsuite/25_algorithms/binary_search.cc: Likewise.
2318 * testsuite/25_algorithms/copy.cc: Likewise.
2319 * testsuite/25_algorithms/heap.cc: Likewise.
2320 * testsuite/25_algorithms/lower_bound.cc: Likewise.
2321 * testsuite/25_algorithms/min_max.cc: Likewise.
2322 * testsuite/25_algorithms/partition.cc: Likewise.
2323 * testsuite/25_algorithms/rotate.cc: Likewise.
2324 * testsuite/25_algorithms/sort.cc: Likewise.
2325 * testsuite/26_numerics/c_math.cc: Likewise.
2326 * testsuite/26_numerics/complex_inserters_extractors.cc: Likewise.
2327 * testsuite/26_numerics/complex_value.cc: Likewise.
2328 * testsuite/27_io/filebuf.cc: Likewise.
2329 * testsuite/27_io/filebuf_members.cc: Likewise.
2330 * testsuite/27_io/filebuf_virtuals.cc: Likewise.
2331 * testsuite/27_io/fpos.cc: Likewise.
2332 * testsuite/27_io/fstream_members.cc: Likewise.
2333 * testsuite/27_io/ifstream_members.cc: Likewise.
2334 * testsuite/27_io/ios_base_callbacks.cc: Likewise.
2335 * testsuite/27_io/ios_base_members_static.cc: Likewise.
2336 * testsuite/27_io/ios_base_storage.cc: Likewise.
2337 * testsuite/27_io/ios_ctor.cc: Likewise.
2338 * testsuite/27_io/ios_init.cc: Likewise.
2339 * testsuite/27_io/ios_manip_basefield.cc: Likewise.
2340 * testsuite/27_io/ios_manip_fmtflags.cc: Likewise.
2341 * testsuite/27_io/ios_members.cc: Likewise.
2342 * testsuite/27_io/istream_extractor_arith.cc: Likewise.
2343 * testsuite/27_io/istream_extractor_char.cc: Likewise.
2344 * testsuite/27_io/istream_extractor_other.cc: Likewise.
2345 * testsuite/27_io/istream_manip.cc: Likewise.
2346 * testsuite/27_io/istream_seeks.cc: Likewise.
2347 * testsuite/27_io/istream_sentry.cc: Likewise.
2348 * testsuite/27_io/istream_unformatted.cc: Likewise.
2349 * testsuite/27_io/istringstream_members.cc: Likewise.
2350 * testsuite/27_io/narrow_stream_objects.cc: Likewise.
2351 * testsuite/27_io/ofstream_members.cc: Likewise.
2352 * testsuite/27_io/ostream_inserter_arith.cc: Likewise.
2353 * testsuite/27_io/ostream_inserter_char.cc: Likewise.
2354 * testsuite/27_io/ostream_inserter_other.cc: Likewise.
2355 * testsuite/27_io/ostream_manip.cc: Likewise.
2356 * testsuite/27_io/ostream_seeks.cc: Likewise.
2357 * testsuite/27_io/ostream_unformatted.cc: Likewise.
2358 * testsuite/27_io/ostringstream_members.cc: Likewise.
2359 * testsuite/27_io/streambuf.cc: Likewise.
2360 * testsuite/27_io/stringbuf.cc: Likewise.
2361 * testsuite/27_io/stringbuf_virtuals.cc: Likewise.
2362 * testsuite/27_io/stringstream.cc: Likewise.
2363 * testsuite/27_io/stringstream_members.cc: Likewise.
2364 * testsuite/27_io/wide_stream_objects.cc: Likewise.
2366 2001-07-31 Loren J. Rittle <ljrittle@acm.org>
2368 * src/gen-num-limits.cc: Use __LONG_LONG_MAX__.
2370 2001-07-30 Benjamin Kosnik <bkoz@redhat.com>
2372 * configure.target: Remove mips from cpu table.
2373 * config/cpu/mips/bits/atomicity.h: Remove generic
2374 versions. Comment sgidefs include.
2376 2001-07-25 H.J. Lu <hjl@gnu.org>
2378 * configure.target (cpu_include_dir): Set to `config/cpu/mips'
2381 * config/cpu/mips/bits/atomicity.h: New.
2383 2001-07-25 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2385 * acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf,
2386 hypotl, atan2f, atan2l. Remove from REPLACE_MATHFUNCS list.
2387 * aclocal.m4: Regenerate.
2388 * config.h.in: Likewise.
2389 * configure: Likewise.
2390 * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove hypotl.c
2391 (EXTRA_DIST): Remove hypot.c hypotf.c.
2392 * libmath/Makefile.am: Regenerate.
2393 * libmath/hypotf.c: Remove.
2394 * libmath/hypot.c: Likewise.
2395 * libmath/hypotl.c: Likewise.
2396 * libmath/stubs.c: The macros seen here are HAVE_xxx, not
2397 _GLIBCPP_HAVE_xxx. Add long double versions.
2399 2001-07-23 David Edelsohn <edelsohn@gnu.org>
2401 * include/bits/limits_generic.h (int): Set digits and digits10
2402 appropriately for word size.
2403 (unsigned int,long,unsigned long): Likewise.
2405 2001-07-19 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2407 * include/bits/stl_algo.h : Fix typos.
2408 * testsuite/25_algorithms/unique.cc: New file.
2410 2001-07-19 Phil Edwards <pme@sources.redhat.com>
2411 Mark Mitchell <mark@codesourcery.com>
2413 Merge from cp-parser-branch.
2414 * include/bits/basic_string.h: Qualify symbols with 'template'.
2415 * include/bits/basic_string.tcc: Likewise.
2416 * include/bits/fstream.tcc: Likewise.
2417 * include/bits/istream.tcc: Likewise.
2418 * include/bits/sstream.tcc: Likewise.
2419 * include/bits/std_istream.h: Likewise.
2420 * include/bits/stl_iterator.h: Likewise.
2421 * include/bits/streambuf.tcc: Likewise.
2422 * src/gen-num-limits.cc: Add 'template<>' to specializations.
2423 * src/locale.cc: Likewise.
2425 2001-07-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2426 Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
2428 * src/gen-num-limits.cc (set_signals_handler): New function.
2429 Factor out signals setting. Set signal handler for SIGILL.
2431 2001-07-18 Phil Edwards <pme@sources.redhat.com>
2433 * docs/html/27_io/howto.html: Fix typo.
2434 * docs/html/faq/index.html: Minor updates for 3.0 all around.
2435 * docs/html/faq/index.txt: Regenerated.
2437 2001-07-18 Stephen M. Webb <stephen@bregmasoft..com>
2438 Roman Sulzhyk <roman_sulzhyk@yahoo.com>
2441 * include/bits/ostream.tcc (ostream::put): Fixed error condition check.
2442 * testsuite/27_io/streambuf.cc (test07): Added new regression test.
2444 2001-07-17 Stephen M. Webb <stephen@bregmasoft.com>r
2446 All occurrences of the __value_type() and __distance_type()
2447 functions, which were required to support the HP STL, have been
2448 removed along with all the auxiliary forwarding functions that
2449 were required to support their use.
2451 The __iterator_category() function was pretty much left alone
2452 because there was no benefit to removing it and its use made code
2453 just a little more readable.
2455 Incidences of distance() with nonstandard argument list were
2456 replaced by calls to the standard function (only in the files
2457 affected by the removal of the other HP functions).
2459 The signature of the rotate() algorithm was changed to match the
2462 Headers were reformatted under C++STYLE guidelines (indentation,
2463 linebreaks, typename keyword).
2465 * include/bits/stl_algo.h: replaced __value_type() and
2466 __distance_type() with iterator_traits, eliminated auxiliary
2467 support functions required to support said function usage.
2468 Changed nonstandard distance() call to standard call.
2470 * include/bits/stl_algobase.h: Same.
2471 * include/bits/stl_heap.h: Same.
2472 * include/bits/stl_numeric.h: Same.
2473 * include/bits/stl_uninitialized.h: Same.
2474 * include/bits/stl_iterator_base_types.h (__value_type()):
2476 (__distance_type()): Removed.
2477 (value_type()): Gone.
2478 (distance_type()): Done in.
2479 (iterator_category()): Hasta la vista, baby.
2481 * include/bits/stl_iterator_base_funcs.h (iterator_category()):
2482 Replaced with __iterator_category().
2483 * include/backward/iterator.h: moved definition of value_type(),
2484 distance_type(), and iterator_category() out of std:: and into
2486 * testsuite/23_containers/vector_ctor.cc (test03): New testcases.
2487 * testsuite/23_containers/vector_modifiers.cc (test03): New testcases.
2488 * testsuite/25_algorithms/rotate.cc: New testcase.
2489 * testsuite/25_algorithms/copy.cc: New testcase.
2490 * testsuite/25_algorithms/sort.cc: Same.
2491 * testsuite/25_algorithms/heap.cc: Same.
2492 * testsuite/25_algorithms/partition.cc: Same.
2493 * testsuite/25_algorithms/binary_search.cc: Same.
2494 * testsuite/26_numerics/sum_diff.cc: Ditto.
2496 001-07-17 Benjamin Kosnik <bkoz@redhat.com>
2498 * testsuite/README: Add notes on naming test cases.
2499 * testsuite/22_locale/members.cc: Mark as xfail.
2500 * testsuite/22_locale/numpunct_char_members.cc: Same.
2502 2001-07-16 Stephen M. Webb <stephen@bregmasoft.com>
2504 * acinclude.m4 (GLIBCPP_ENABLE_CHEADERS): Use glibcpp_srcdir when
2505 setting C_INCLUDE_DIR.
2506 * configure.in: Revert yesterday's LN_S change.
2507 * aclocal.m4: Regenerate.
2508 * configure: Regenerate.
2510 2001-07-15 Phil Edwards <pme@sources.redhat.com>
2512 * configure.in: Temporarily force LN_S to copy instead of symlink.
2513 * configure: Regenerate.
2515 2001-07-13 Phil Edwards <pme@sources.redhat.com>
2517 * include/bits/std_sstream.h (basic_stringbuf::basic_stringbuf(string):
2518 Initialize _M_string with pointer-and-size constructor, not just
2519 pointer. Fix some comments.
2520 * testsuite/21_strings/ctor_copy_dtor.cc (test03): New test.
2521 * testsuite/27_io/stringbuf.cc (test02): Remove unused variable.
2522 (test03): Add embedded-NUL tests.
2524 * mkcheck.in: When printing totals, match the order of the tests.
2525 * include/bits/stringfwd.h: Use same declaration keywords.
2526 * include/bits/std_iosfwd.h: Cosmetic spacing.
2528 2001-07-13 Stephen M. Webb <stephen@bregmasoft.com>
2529 Loren J. Rittle <ljrittle@acm.org>
2530 Phil Edwards <pme@sources.redhat.com>
2532 * include/Makefile.am: New file encapsulating header generation rules.
2533 * Makefile.am (SUBDIRS): Prepend 'include' directory.
2534 * acinclude.m4: Moved/removed rules for building various headers.
2535 * configure.in (AC_OUTPUT): Add include/Makefile.
2536 * mkc++config: Removed.
2538 * testsuite_flags.in: Changed build-includes to match new scheme.
2539 * mknumeric_limits: Likewise.
2540 * libio/Makefile.am: Changed INCLUDES to maatch new header scheme.
2541 * libmath/Makefile.am: Likewise.
2542 * libsupc++/Makefile.am: Likewise.
2543 * src/Makefile.am: Likewise; removed rules to build headers.
2544 * libmath/mathconf.h: Changed #include'd header names to match.
2545 * libmath/stubs.c: Likewise.
2546 * src/gen-num-limits.cc: Likewise.
2548 * configure: Regenerated.
2549 * config.h.in: Regenerated.
2550 * aclocal.m4: Regenerated.
2551 * Makefile.in: Regenerated.
2552 * include/Makefile.in: Regenerated.
2553 * libio/Makefile.in: Regenerated.
2554 * libmath/Makefile.in: Regenerated.
2555 * libsupc++/Makefile.in: Regenerated.
2556 * src/Makefile.in: Regenerated.
2557 * testsuite/Makefile.in: Regenerated.
2559 2001-07-11 Felix Natter <fnatter@gmx.net>
2561 * docs/html/17_intro/porting-howto.xml: Initial checkin of
2563 * docs/html/17_intro/porting-howto.html: check in v0.9.3
2565 2001-07-11 Phil Edwards <pme@sources.redhat.com>
2567 * docs/doxygen/run_doxygen: Don't keep output from previous run.
2568 * docs/doxygen/user.cfg.in: Tweaks.
2569 * include/bits/c++config: Documentation comments for Doxygen.
2570 * include/bits/char_traits.h: Likewise.
2571 * include/bits/limits_generic.h: Likewise.
2572 * include/bits/std_stdexcept.h: Likewise.
2573 * include/bits/stl_pair.h: Likewise.
2574 * libsupc++/exception: Likewise.
2575 * libsupc++/new: Likewise.
2576 * libsupc++/typeinfo: Likewise.
2577 * libmath/Makefile.am: Update and correct copyright.
2579 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2581 * acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
2582 * aclocal.m4: Regenerate.
2585 2001-07-09 Phil Edwards <pme@sources.redhat.com>
2587 * docs/html/configopts.html: Fix thinko.
2588 * docs/html/27_io/howto.html: Fix thinko and HTML markup.
2589 * include/bits/stl_iterator.h: Fix typo.
2591 2001-07-09 Phil Edwards <pme@sources.redhat.com>
2593 * docs/html/explanations.html: New file.
2594 * docs/html/configopts.html: Link to it to provide more notes
2595 on cstdio. Minor markup and spacing fixes.
2596 * docs/html/27_io/howto.html: Talk about sync_with_stdio.
2598 2001-07-09 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
2600 * include/bits/valarray_meta.h (_Expr::operator+): Use qualified id
2601 for _Expr template template argument.
2602 (_Expr::operator-): Likewise.
2603 (_Expr::operator~): Likewise.
2604 (_Expr::operator!): Likewise.
2605 (_DEFINE_EXPR_UNARY_OPERATOR): Likewise.
2607 2001-07-06 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2609 * libmath/Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.c
2610 * libmath/Makefile.in: Regenerate.
2611 * libmath/expf.c: Remove.
2612 * libmath/atan2f.c: Likewise.
2614 2001-07-06 Daniel Jacobowitz <drow@mvista.com>
2616 * configure.in: Remove NATIVE, NULL_TARGET.
2617 Set CANADIAN only for Canadian crosses. Set xcompiling
2618 for both Canadian crosses and host-x-host crosses.
2619 * configure: Regenerated.
2621 2001-07-06 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2623 * include/bits/stl_vector.h (vector::_M_initialize_aux): Fix typo.
2625 2001-07-05 Jason Merrill <jason_merrill@redhat.com>
2627 * testsuite_flags.in (--build-includes): backward, not backwards.
2629 2001-07-04 Jeffrey Oldham <oldham@codesourcery.com>
2631 * include/ext/ropeimpl.h (_Rope_RopeRep::_M_free_c_string):
2632 Replace destroy by _Destroy.
2633 (_Rope_RopeRep::_S_free_string): Likewise.
2634 (rope::c_str()): Likewise.
2635 * include/ext/slist (_Slist_base::_M_erase_after>): Likewise.
2636 (_Slist_base::_M_erase_after): Likewise.
2637 (slist::_M_create_node): Replace construct by _Construct.
2638 (slist::pop_front): Replace destroy by _Destroy.
2639 * include/ext/stl_hashtable.h (hashtable::_M_new_node): Replace
2640 construct by _Construct.
2641 (hashtable::_M_delete_node): Replace destroy by _Destroy.
2642 * include/ext/stl_rope.h (rope::rope): Replace construct by
2644 (rope::copy): Replace destroy by _Destroy.
2646 2001-07-03 Benjamin Kosnik <bkoz@redhat.com>
2648 * include/bits/localefwd.h: Format.
2649 * include/bits/locale_facts.tcc (locale::combine): Adjust.
2650 * src/locale.cc (locale::locale::(_Impl)): Don't call
2652 (locale::facet::_M_remove_reference): Simplify.
2653 * src/globals.cc (locale_impl_c): New. Format.
2655 * src/ios.cc (ios_base::Init::Init): Increment _S_ios_base_init last.
2657 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
2659 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
2660 expansion (thanks to Alexandre Oliva).
2661 * aclocal.m4: Regenerate.
2662 * configure: Regenerate.
2664 2001-07-02 Benjamin Kosnik <bkoz@redhat.com>
2666 * src/locale.cc (locale::locale(const char*)): Make sure global
2667 locales are initialized.
2668 * include/bits/locale_facets.tcc (locale::combine): Refcout should
2669 be zero, not one as it's return-by-value.
2670 * testsuite/27_io/ios_base_callbacks.cc (test01): Don't check for
2672 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Instead, check
2675 * libsupc++/eh_alloc.cc: Use climits, not limits.h.
2677 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
2680 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
2681 * aclocal.m4: Regenerate.
2682 * configure: Regenerate.
2684 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
2687 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to
2688 staged/installed area to support -I-. Document.
2689 * aclocal.m4: Regenerate.
2690 * configure: Regenerate.
2692 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
2695 * src/ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to
2696 __out_bufsize. Add __in_bufsize, document it and use it.
2698 2001-07-01 Stephen M. Webb <stephen@bregmasoft.com>
2700 * include/bits/stl_construct.h (construct): Remove.
2702 (__destroy): Replaced by use of iterator_traits.
2703 * include/bits/stl_deque.h: replaced HP iterator functions with
2705 (construct): changed to _Construct.
2706 (destroy): changed to _Destroy.
2707 * include/bits/stl_tempbuf.h: Same.
2708 * include/bits/stl_tree.h: Same.
2709 * include/bits/stl_vector.h: Same.
2710 * include/backward/iterator.h (construct): moved definition to here.
2713 2001-06-29 Benjamin Kosnik <bkoz@redhat.com>
2715 * include/bits/locale_facets.tcc (locale::combine): Clone _Impl.
2716 before replacing facet.
2717 * include/bits/localefwd.h (locale::_Impl::_M_remove_reference):
2719 * src/localename.cc (locale::_Impl): Correct ctor initialization
2720 lists. Initialize ref count with one. Simplify.
2721 * src/locale.cc: Add comment.
2722 * testsuite/22_locale/numpunct.cc (test01): Add derivation test.
2723 * testsuite/22_locale/numpunct_char_members.cc (test01): Add tests.
2724 * testsuite/22_locale/members.cc (test02): Fix.
2726 2001-06-27 Phil Edwards <pme@sources.redhat.com>
2728 * include/backward/algo.h: Add "GPL plus runtime exception" comment
2729 block, this time for real.
2730 * include/backward/algobase.h: Likewise.
2731 * include/backward/alloc.h: Likewise.
2732 * include/backward/bvector.h: Likewise.
2733 * include/backward/defalloc.h: Likewise.
2734 * include/backward/deque.h: Likewise.
2735 * include/backward/function.h: Likewise.
2736 * include/backward/hash_map.h: Likewise.
2737 * include/backward/hash_set.h: Likewise.
2738 * include/backward/hashtable.h: Likewise.
2739 * include/backward/heap.h: Likewise.
2740 * include/backward/iterator.h: Likewise.
2741 * include/backward/list.h: Likewise.
2742 * include/backward/map.h: Likewise.
2743 * include/backward/multimap.h: Likewise.
2744 * include/backward/multiset.h: Likewise.
2745 * include/backward/pair.h: Likewise.
2746 * include/backward/rope.h: Likewise.
2747 * include/backward/set.h: Likewise.
2748 * include/backward/slist.h: Likewise.
2749 * include/backward/stack.h: Likewise.
2750 * include/backward/strstream: Likewise.
2751 * include/backward/tempbuf.h: Likewise.
2752 * include/backward/tree.h: Likewise.
2753 * include/backward/vector.h: Likewise.
2754 * include/bits/pthread_allocimpl.h: Likewise.
2755 * include/bits/std_algorithm.h: Likewise.
2756 * include/bits/std_bitset.h: Likewise.
2757 * include/bits/std_deque.h: Likewise.
2758 * include/bits/std_functional.h: Likewise.
2759 * include/bits/std_iterator.h: Likewise.
2760 * include/bits/std_list.h: Likewise.
2761 * include/bits/std_map.h: Likewise.
2762 * include/bits/std_memory.h: Likewise.
2763 * include/bits/std_numeric.h: Likewise.
2764 * include/bits/std_queue.h: Likewise.
2765 * include/bits/std_set.h: Likewise.
2766 * include/bits/std_stack.h: Likewise.
2767 * include/bits/std_utility.h: Likewise.
2768 * include/bits/std_vector.h: Likewise.
2769 * include/bits/stl_algo.h: Likewise.
2770 * include/bits/stl_algobase.h: Likewise.
2771 * include/bits/stl_alloc.h: Likewise.
2772 * include/bits/stl_bvector.h: Likewise.
2773 * include/bits/stl_construct.h: Likewise.
2774 * include/bits/stl_deque.h: Likewise.
2775 * include/bits/stl_function.h: Likewise.
2776 * include/bits/stl_heap.h: Likewise.
2777 * include/bits/stl_iterator.h: Likewise.
2778 * include/bits/stl_iterator_base_funcs.h: Likewise.
2779 * include/bits/stl_iterator_base_types.h: Likewise.
2780 * include/bits/stl_list.h: Likewise.
2781 * include/bits/stl_map.h: Likewise.
2782 * include/bits/stl_multimap.h: Likewise.
2783 * include/bits/stl_multiset.h: Likewise.
2784 * include/bits/stl_numeric.h: Likewise.
2785 * include/bits/stl_pair.h: Likewise.
2786 * include/bits/stl_pthread_alloc.h: Likewise.
2787 * include/bits/stl_queue.h: Likewise.
2788 * include/bits/stl_raw_storage_iter.h: Likewise.
2789 * include/bits/stl_relops.h: Likewise.
2790 * include/bits/stl_set.h: Likewise.
2791 * include/bits/stl_stack.h: Likewise.
2792 * include/bits/stl_tempbuf.h: Likewise.
2793 * include/bits/stl_threads.h: Likewise.
2794 * include/bits/stl_tree.h: Likewise.
2795 * include/bits/stl_uninitialized.h: Likewise.
2796 * include/bits/stl_vector.h: Likewise.
2797 * include/bits/type_traits.h: Likewise.
2798 * include/ext/hash_map: Likewise.
2799 * include/ext/hash_set: Likewise.
2800 * include/ext/rope: Likewise.
2801 * include/ext/ropeimpl.h: Likewise.
2802 * include/ext/slist: Likewise.
2803 * include/ext/stl_hash_fun.h: Likewise.
2804 * include/ext/stl_hashtable.h: Likewise.
2805 * include/ext/stl_rope.h: Likewise.
2806 * src/bitset.cc: Likewise.
2807 * src/strstream.cc: Likewise.
2809 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2810 <vakatov@ncbi.nlm.nih.gov>
2813 * include/bits/streambuf.tcc (__copy_streambufs): Don't set eofbit.
2814 * testsuite/27_io/ostream_inserter_other.cc (test04): Add test.
2815 * testsuite/27_io/istream_extractor_other.cc: Fix.
2817 2001-06-26 Zoltan Hidvegi <hzoli@austin.ibm.com>
2819 * acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
2820 * aclocal.m4: Regenerate.
2821 * configure: Regenerate.
2823 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2825 * include/bits/stream_iterator.h (istream_iterator): Add copy ctor.
2826 (ostream_iterator): Same.
2827 * include/bits/stl_iterator.h (front_insert_iterator::operator=):
2828 Change argument to const_reference.
2829 (back_insert_iterator): Same.
2831 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2833 * include/bits/sbuf_iter.h: Change to..
2834 * include/bits/streambuf_iterator.h: This.
2835 * include/bits/stl_iterator.h: Take out of here...
2836 * include/bits/stream_iterator.h: Add.
2837 * src/Makefile.am (base_headers): Add streambuf_iterator,
2839 * src/Makefile.in: Regenerate.
2840 * include/bits/std_string.h: Adjust includes.
2841 * include/bits/basic_ios.h: Same.
2842 * include/bits/locale_facets.tcc: Same.
2843 * include/bits/std_iosfwd.h: Same.
2845 * include/bits/std_iterator.h: Add istream, ostream includes.
2846 * include/bits/stl_iterator.h: Tweak.
2847 * testsuite/24_iterators/ostream_iterator.cc: Add test.
2848 * testsuite/24_iterators/istream_iterator.cc: Same.
2849 * testsuite/23_containers/multiset.cc: Add iterator include.
2851 2001-06-26 Phil Edwards <pme@sources.redhat.com>
2853 * acinclude.m4: Clean extraneous tabs, rewrap 'test' lines.
2854 * aclocal.m4: Regenerate.
2855 * configure: Regenerate.
2857 2001-06-26 Felix Natter <f.natter@ndh.net>
2859 * docs/html/17_intro/porting-howto.html: Fixed some errors.
2861 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2863 * include/bits/stl_iterator.h (istream_iterator::operator->): Fix
2865 (istream_iterator::operator*): Same.
2867 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2868 Alexandre Petit-Bianco <apbianco@redhat.com>
2870 * testsuite/21_strings/element_access.cc (test01): Chill Out Cafe
2871 is on 41st, not 14th.
2873 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2875 * include/bits/std_iterator.h: Include sbuf_iter.h via std_ios.h.
2877 * include/bits/stl_iterator.h (istream_iterator): Inherit from
2879 (ostream_iterator): Same.
2880 * testsuite/24_iterators/istream_iterator.cc: New file.
2881 * testsuite/24_iterators/ostream_iterator.cc: New file.
2883 * include/bits/sbuf_iter.h: Remove self typedef.
2884 * testsuite/24_iterators/ostreambuf_iterator.cc: Add test.
2885 * testsuite/24_iterators/istreambuf_iterator.cc: Add test.
2887 * include/bits/stl_iterator.h (reverse_iterator): Remove
2888 extraneous typedefs. Add typename.
2889 (__normal_iterator): Remove typedefs referring to self. Add typename.
2890 (reverse_bidiretional_iterator): Remove, not longer required.
2892 2001-06-26 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2894 * include/bits/stl_iterator.h (__normal_iterator<>): Qualify
2895 dependent names with `typename'. Bring in various required
2896 iterator_traits members. Can't imagine why that used to work.
2898 2001-06-25 Phil Edwards <pme@sources.redhat.com>
2899 Kurt Garloff <garloff@suse.de>
2902 * src/cmath.cc: New [version of an old] file; instantiate
2903 __cmath_power to start with.
2904 * src/Makefile.am (sources): Add cmath.cc (and alphabetize).
2905 * Makefile.in: Regenerate.
2906 * libio/Makefile.in: Regenerate.
2907 * libmath/Makefile.in: Regenerate.
2908 * libsupc++/Makefile.in: Regenerate.
2909 * src/Makefile.in: Regenerate.
2910 * testsuite/Makefile.in: Regenerate.
2912 2001-06-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2914 * libmath/stubs.c: Fix thinko.
2916 2001-06-24 David Edelsohn <dje@watson.ibm.com>
2918 * libmath/stubs.c (sqrtf): Define.
2919 (tanf): Correct typo.
2921 2001-06-22 Benjamin Kosnik <bkoz@redhat.com>
2923 * include/bits/stl_iterator.h (reverse_iterator): Inherit from
2925 (back_insert_iterator): Same.
2926 (front_insert_iterator): Same.
2927 (insert_iterator): Same.
2929 * testsuite/20_util/raw_storage_iterator.cc: Modify.
2930 * testsuite/24_iterators/reverse_iterator.cc: New file.
2931 * testsuite/24_iterators/back_insert_iterator.cc: New file.
2932 * testsuite/24_iterators/front_insert_iterator.cc: New file.
2933 * testsuite/24_iterators/insert_iterator.cc: New file.
2935 2001-06-22 Phil Edwards <pme@sources.redhat.com>
2937 * include/*: Revert comment/license change from yesterday for all
2938 except libsupc++/unwind-cxx.h.
2939 * src/bitset.cc: Likewise.
2940 * src/strstream.cc: Likewise.
2942 2001-06-22 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2944 * libmath/stubs.c: New file.
2948 * libmath/Makefile.am (libmath_la_SOURCES): Add.
2949 * libmath/Makefile.in. Regenerate.
2951 2001-06-21 Phil Edwards <pme@sources.redhat.com>
2953 * include/backward/algo.h: Add "GPL plus runtime exception" comment.
2954 * include/backward/algobase.h: Likewise.
2955 * include/backward/alloc.h: Likewise.
2956 * include/backward/bvector.h: Likewise.
2957 * include/backward/defalloc.h: Likewise.
2958 * include/backward/deque.h: Likewise.
2959 * include/backward/function.h: Likewise.
2960 * include/backward/hash_map.h: Likewise.
2961 * include/backward/hash_set.h: Likewise.
2962 * include/backward/hashtable.h: Likewise.
2963 * include/backward/heap.h: Likewise.
2964 * include/backward/iterator.h: Likewise.
2965 * include/backward/list.h: Likewise.
2966 * include/backward/map.h: Likewise.
2967 * include/backward/multimap.h: Likewise.
2968 * include/backward/multiset.h: Likewise.
2969 * include/backward/pair.h: Likewise.
2970 * include/backward/rope.h: Likewise.
2971 * include/backward/set.h: Likewise.
2972 * include/backward/slist.h: Likewise.
2973 * include/backward/stack.h: Likewise.
2974 * include/backward/strstream: Likewise.
2975 * include/backward/tempbuf.h: Likewise.
2976 * include/backward/tree.h: Likewise.
2977 * include/backward/vector.h: Likewise.
2978 * include/bits/pthread_allocimpl.h: Likewise.
2979 * include/bits/std_algorithm.h: Likewise.
2980 * include/bits/std_bitset.h: Likewise.
2981 * include/bits/std_deque.h: Likewise.
2982 * include/bits/std_functional.h: Likewise.
2983 * include/bits/std_iterator.h: Likewise.
2984 * include/bits/std_list.h: Likewise.
2985 * include/bits/std_map.h: Likewise.
2986 * include/bits/std_memory.h: Likewise.
2987 * include/bits/std_numeric.h: Likewise.
2988 * include/bits/std_queue.h: Likewise.
2989 * include/bits/std_set.h: Likewise.
2990 * include/bits/std_stack.h: Likewise.
2991 * include/bits/std_utility.h: Likewise.
2992 * include/bits/std_vector.h: Likewise.
2993 * include/bits/stl_algo.h: Likewise.
2994 * include/bits/stl_algobase.h: Likewise.
2995 * include/bits/stl_alloc.h: Likewise.
2996 * include/bits/stl_bvector.h: Likewise.
2997 * include/bits/stl_construct.h: Likewise.
2998 * include/bits/stl_deque.h: Likewise.
2999 * include/bits/stl_function.h: Likewise.
3000 * include/bits/stl_heap.h: Likewise.
3001 * include/bits/stl_iterator.h: Likewise.
3002 * include/bits/stl_iterator_base_funcs.h: Likewise.
3003 * include/bits/stl_iterator_base_types.h: Likewise.
3004 * include/bits/stl_list.h: Likewise.
3005 * include/bits/stl_map.h: Likewise.
3006 * include/bits/stl_multimap.h: Likewise.
3007 * include/bits/stl_multiset.h: Likewise.
3008 * include/bits/stl_numeric.h: Likewise.
3009 * include/bits/stl_pair.h: Likewise.
3010 * include/bits/stl_pthread_alloc.h: Likewise.
3011 * include/bits/stl_queue.h: Likewise.
3012 * include/bits/stl_raw_storage_iter.h: Likewise.
3013 * include/bits/stl_relops.h: Likewise.
3014 * include/bits/stl_set.h: Likewise.
3015 * include/bits/stl_stack.h: Likewise.
3016 * include/bits/stl_tempbuf.h: Likewise.
3017 * include/bits/stl_threads.h: Likewise.
3018 * include/bits/stl_tree.h: Likewise.
3019 * include/bits/stl_uninitialized.h: Likewise.
3020 * include/bits/stl_vector.h: Likewise.
3021 * include/bits/type_traits.h: Likewise.
3022 * include/ext/hash_map: Likewise.
3023 * include/ext/hash_set: Likewise.
3024 * include/ext/rope: Likewise.
3025 * include/ext/ropeimpl.h: Likewise.
3026 * include/ext/slist: Likewise.
3027 * include/ext/stl_hash_fun.h: Likewise.
3028 * include/ext/stl_hashtable.h: Likewise.
3029 * include/ext/stl_rope.h: Likewise.
3030 * libsupc++/unwind-cxx.h: Likewise.
3031 * src/bitset.cc: Likewise.
3032 * src/strstream.cc: Likewise.
3034 2001-06-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3036 * include/bits/indirect_array.h (indirect_array<>::operator=):
3037 Make copy and assignment operator public. Implement. Format.
3039 * include/bits/valarray_array.h (__valarray_copy): Add overloads
3040 for copy between index arrays. Format.
3042 2001-06-19 Benjamin Kosnik <bkoz@redhat.com>
3044 * mknumeric_limits: Add static definitions, format.
3045 * testsuite/18_support/numeric_limits.cc (test02): Add test.
3047 * include/c_std/bits/std_cwchar.h: Include ctime.
3048 * testsuite/17_intro/header_cwchar.cc : Check.
3050 * include/c_std/bits/std_cwctype.h: Inject wctype.
3051 * testsuite/17_intro/header_cwctype.cc: Update.
3053 2001-06-18 Benjamin Kosnik <bkoz@redhat.com>
3055 * include/bits/stl_raw_storage_iter.h: Format. Correct derivation.
3056 * testsuite/20_util/raw_storage_iterator.cc: Same.
3058 * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to
3060 (__mem_interface): New typedef for switching between malloc and new.
3061 * testsuite/20_util/allocator_members.cc: New file.
3063 * testsuite/20_util/comparisons.cc: New file.
3064 * testsuite/20_util/pairs.cc: New file.
3066 2001-06-15 Phil Edwards <pme@sources.redhat.com>
3068 * docs/html/documentation.html: Point to new doxygen'ed collection.
3070 2001-06-14 Nathan Sidwell <nathan@codesourcery.com>
3072 * configure.in (auxdir): Replace by ...
3073 (toprel): ... new variable.
3074 (toplevel_srcdir): Construct from $toprel.
3075 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
3076 rather than .. to locate gcc source directory.
3077 (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
3078 * aclocal.m4, configure: Rebuilt.
3080 2001-06-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
3082 (Approved by Mark and Benjamin. Applied by Loren.)
3084 * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
3085 _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
3086 and _GLIBCPP_mutex_address.
3087 * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
3088 once-only runtime initialization of _M_lock mutex when
3089 __GTHREAD_MUTEX_INIT_FUNCTION is defined.
3090 (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
3091 for __GTHREAD_MUTEX_INIT_FUNCTION case.
3093 2001-06-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3095 * testsuite/26_numerics/slice_array_assignment.cc (main): New test.
3097 * include/bits/slice_array.h (slice_array<>::operator=): Make
3098 public and implement.
3099 (slice_array<>::slice_array): Make copy-constructor public.
3101 * include/bits/valarray_array.h (__valarray_copy): Add another
3102 overload to copy between strided arrays.
3104 2001-06-13 Benjamin Kosnik <bkoz@redhat.com>
3106 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
3107 * aclocal.m4: Regenerate.
3108 * configure: Regenerate.
3109 * include/bits/c++config (__GLIBCPP__): Update date.
3111 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
3113 * include/bits/fpos.h (fpos::operator-): Don't return reference,
3114 return original, non-modified version.
3115 (fpos::operator+): Same.
3116 * testsuite/27_io/fpos.cc: Add test.
3118 2001-06-12 Loren J. Rittle <ljrittle@acm.org>
3121 * porting.texi: Add documentation about libstdc++-v3-specific
3122 macros that are currently included in os_defines.h files.
3124 * config/basic_file_stdio.h (sys_getc): New method.
3125 (sys_ungetc): New method.
3126 * include/bits/basic_file.h: (sys_getc): New method signature.
3127 (sys_ungetc): New method signature.
3129 * include/bits/fstream.tcc (underflow): Add conditional code
3130 paths which avoid using short seeks on streams (especially
3131 useful when the stream might be interactive or a pipe). At
3132 the moment, this alternate path only avoids seeking when the
3133 ``buffer size'' of underflow() is 1 since the C standard only
3134 guarantees buffer space for one ungetc (this technique could
3135 be extended since *-*-solaris* supports buffering for 4 calls
3136 to ungetc and *-*-*bsd* supports buffering limited only by
3137 memory resources). Also, _GLIBCPP_AVOID_FSEEK must be defined
3138 in a port's os_defines.h file for this alternate path to even
3139 be considered. As a bonus, the idiom of using getc/ungetc
3140 requires no system calls whereas fseek maps to one or two
3141 system call(s) on many platforms.
3143 * config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
3145 * config/os/solaris/solaris2.5/bits/os_defines.h
3146 (_GLIBCPP_AVOID_FSEEK): Likewise.
3147 * config/os/solaris/solaris2.6/bits/os_defines.h
3148 (_GLIBCPP_AVOID_FSEEK): Likewise.
3149 * config/os/solaris/solaris2.7/bits/os_defines.h
3150 (_GLIBCPP_AVOID_FSEEK): Likewise.
3152 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
3154 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change to
3155 AC_TRY_COMPILE, so that the built compiler is checked, and
3156 bootstraps or cross compiles with an older compile still work.
3157 * aclocal.m4: Regenerate.
3158 * configure: Regenerate.
3160 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
3163 * include/bits/std_sstream.h: Add allocator_type, as per DR 251.
3166 * include/bits/istream.tcc (getline, get): Fix as per DR 243.
3169 * include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
3172 * include/bits/limits_generic.h: Fix as per DR 184.
3174 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
3177 * include/bits/basic_string.h (string::compare): Adjust signatures
3179 * include/bits/basic_string.tcc: And here.
3182 * config/c_io_stdio.h: Remove whitespace.
3183 * testsuite/27_io/istream_seeks.cc (test03): Add regression.
3184 (test02): Add regression.
3185 * testsuite/27_io/istream_seeks-3.tst: New file.
3187 2001-06-11 Phil Edwards <pme@sources.redhat.com>
3189 * README: Update to reflect reality.
3190 * acinclude.m4: Update descriptions, fix typos. Comment changes only.
3191 * configure.in: Make certain target_alias is set and subst'd for 2.50.
3192 * aclocal.m4: Regenerate.
3193 * configure: Regenerate (with 2.13).
3195 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
3198 * include/bits/ostream.tcc (ostream::seekp): Add error checking as
3200 * include/bits/istream.tcc (istream::seekg): Same.
3201 * testsuite/27_io/istream_seeks.cc: Fix.
3204 * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
3206 * include/bits/std_queue.h: Add c++config.h.
3207 * testsuite/20_util/binders.cc: New test.
3209 2001-06-11 Matthias Klose <doko@debian.org>
3210 Phil Edwards <pme@sources.redhat.com>
3212 * docs/doxygen/run_doxygen (find_doxygen): Tweak version check.
3213 (main script): Echo more information.
3215 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
3217 * include/c_std/bits/std_cwchar.h: Alphabetize.
3218 * include/bits/char_traits.h: Tweak.
3219 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
3220 everything used by std_cwchar.h.
3221 * aclocal.m4: Regenerate.
3222 * configure.in: Regenerate.
3223 * config.h.in: Regenerate.
3225 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
3227 * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
3228 Add checking for strtof, _Exit in stdlib.h
3229 * aclocal.m4: Regenerate.
3230 * configure.in: Regenerate.
3231 * include/c_std/bits/std_cstdio.h: Alphabetize lists.
3232 (snprintf): Put C99 functions into __gnu_cxx namespace.
3237 * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
3238 for C99 functions within _GLIBCPP_USE_C99 guard.
3242 * include/bits/locale_facets.tcc: Check if C99 is enabled.
3243 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
3245 * include/c_std/bits/cmath.tcc: Formatting tweak.
3246 * include/c_std/bits/std_cmath.h: Same.
3248 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
3250 * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
3252 2001-06-09 Alexandre Oliva <aoliva@redhat.com>
3253 Stephen L Moshier <moshier@mediaone.net>
3255 * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
3256 nothing, as in autoconf 2.50.
3257 * configure: Rebuilt.
3259 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
3261 * include/c_std/bits/std_cwchar.h: Remove size_t injection,
3262 include std_cstddef.
3263 * include/c_std/bits/std_ctime.h: Same.
3264 * include/c_std/bits/std_cstring.h: Same.
3265 * include/c_std/bits/std_cstdlib.h: Same.
3267 * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
3268 * include/c_std/bits/std_cctype.h: Remove isblank.
3270 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
3272 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
3274 * aclocal.m4: Regenerate.
3275 * configure: Regenerate.
3276 * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
3277 injection, guard fgetwc, fgetws.
3278 * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
3279 * include/c_std/bits/std_clocale.h: And here.
3280 * include/c_std/bits/std_cctype.h: And here.
3281 * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
3283 * config/basic_file_stdio.h: Don't include unistd.h.
3284 * config/c_io_stdio.h: Don't use compatibility headers.
3285 * libsupc++/eh_terminate.cc: Qualify abort.
3286 (__terminate): And here.
3287 * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
3289 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
3291 * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
3293 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
3298 * include/std/*: Add copyright notice.
3299 * include/c_std/bits/*: Use using statements instead of extern "C".
3300 * include/c_std/bits/std_cmath.h: Don't overload double versions
3301 of math functions with __buitin versions, use global version to
3302 prevent ambiguities. Remove define hacks.
3303 * include/c_std/bits/std_cwchar.h: Using declarations for "C"
3304 functions that have changed signatures and std::
3305 declarations. Remove define hacks.
3306 * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
3307 __builtins in std::. Remove define hacks.
3308 * testsuite/17_intro/headers_c.cc: Add tests.
3309 * testsuite/17_intro/headers_c++.cc: Add test.
3311 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
3312 John David Anglin <dave@hiauly1.hia.nrc.ca>
3315 * libsupc++/eh_alloc.cc: Ensure that required macros are
3316 defined before including gthr.h. Ensure that we get the
3317 version of gthr.h for which we know how to provide a
3319 * libsupc++/eh_globals.cc: Likewise. And, bring the threading
3320 code path into line with the current EH model. Use std, where
3323 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
3324 John David Anglin <dave@hiauly1.hia.nrc.ca>
3326 * config/threads-no.h: Remove file.
3327 * config/threads-posix.h: Remove file.
3329 * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
3330 (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
3331 (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
3332 * config.h.in: Regenerate.
3334 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
3335 setup and use gthr*.h files. In particular, make gthr.h files
3336 namespace-clean in the staging area (they don't have to be for
3338 * aclocal.m4: Regenerate.
3339 * configure: Regenerate.
3341 * src/Makefile.am (build_headers): Remove bits/c++threads.h
3342 and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
3343 * src/Makefile.in: Regenerate.
3345 * include/bits/c++config: Cleanup threading configuration macros.
3346 In particular, define __STL_GTHREADS macro which controls...
3347 * include/bits/stl_threads.h: ...a brand new gthr.h-based
3350 * config/c_io_stdio.h: Include staged gthr.h instead of local
3351 thread configuration file. Always use __gthread_mutex_t
3352 instead of __mutext_type (or int).
3353 * include/bits/std_fstream.h: Likewise.
3355 * docs/html/17_intro/howto.html: Remove placeholder comment in
3356 case this configuration patch didn't make it. Add advice that
3357 section only applies if configured with --enable-threads.
3358 * docs/html/23_containers/howto.html: Reword to make clear
3359 that _PTHREADS is no longer required for any port to be
3360 correctly using STL with threads. Add advice that section
3361 only applies if configured with --enable-threads.
3363 2001-06-06 Benjamin Kosnik <bkoz@redhat.com>
3365 * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
3367 2001-06-05 Benjamin Kosnik <bkoz@redhat.com>
3370 * include/bits/basic_ios.tcc: Formatting tweaks.
3371 * include/bits/ios_base.h: Formatting tweaks.
3372 * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
3373 (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
3374 * src/globals.cc: Allocate filebufs for standard streams here.
3375 (buf_cout, buf_cin, buf_cerr): Like so.
3376 (buf_wcout, buf_wcin, buf_wcerr): And so.
3377 * testsuite/27_io/ios_init.cc: Add.
3379 2001-06-04 Brendan Kehoe <brendan@zen.org>
3380 Benjamin Kosnik <bkoz@redhat.com>
3383 * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
3384 for generic ctype virtuals.
3385 * src/locale.cc: Minor tweaks, naming consistency.
3386 * testsuite/22_locale/ctype.cc: Add test.
3388 2001-06-04 Kenny Simpson <theonetruekenny@yahoo.com>
3389 Phil Edwards <pme@sources.redhat.com>
3391 PR libstdc++/3035 and PR libstdc++/3036
3392 * include/bits/stl_pair.h: Fix pair ctor and make_pair according
3393 to LWG DR 181 and 265.
3395 2001-06-04 Phil Edwards <pme@sources.redhat.com>
3398 * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
3399 equal_range): Add const overloads as per LWG DR 214.
3400 * include/bits/stl_set.h: Likewise.
3402 2001-06-04 Brendan Kehoe <brendan@zen.org>
3403 Phil Edwards <pme@sources.redhat.com>
3406 * include/bits/std_bitset.h (bitset::test): Fix __pos >= _Nb
3407 comparison; all positions must be < _Nb.
3408 * testsuite/23_containers/bitset_members.cc: New file.
3410 2001-06-04 Brendan Kehoe <brendan@zen.org>
3413 * include/bits/stl_queue.h (classes queue, priority_queue): Fix
3414 ctors to match the standard.
3416 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
3418 * include/bits/char_traits.h (move): Reverse qualification of
3420 (copy): Reverse qualification of memcpy with std::.
3422 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
3424 * include/bits/char_traits.h (move): Qualify memmove with std::.
3425 (copy): Qualify memcpy with std::.
3426 * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
3429 * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
3431 2001-06-04 Hans-Peter Nilsson <hp@axis.com>
3433 * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
3434 uninstall-glibcppinstallHEADERS): Have explicit rules catering to
3435 SUN make VPATH peculiarities.
3436 * libsupc++/Makefile.in: Regenerate.
3438 2001-06-01 Hans-Peter Nilsson <hp@axis.com>
3440 * src/Makefile.am (VPATH): Delimit with ":", not space.
3441 * src/Makefile.in: Regenerate.
3443 * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
3445 * configure: Regenerate.
3447 2001-05-31 scott snyder <snyder@fnal.gov>
3450 * include/bits/istream.tcc: Include std_ostream.h.
3452 2001-05-31 Benjamin Kosnik <bkoz@redhat.com>
3455 * src/bitset.cc: Qualify size_t with std::.
3457 2001-05-30 Benjamin Kosnik <bkoz@redhat.com>
3459 * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
3460 (_GLIBCPP_BUGGY_COMPLEX): Remove.
3461 * config.h.in: Regenerate.
3462 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
3463 * aclocal.m4: Regenerate.
3464 * configure.in: Don't call it.
3465 * configure: Regenerate.
3468 * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
3469 * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
3473 * include/bits/std_complex.h: Include sstream. Put definitions for
3474 complex inserters and extractors here, and remove them from...
3475 * src/complex_io.cc: ...here.
3476 * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
3478 (basic_ios::__numget_type): Same.
3479 * include/bits/std_istream.h: Same.
3480 * include/bits/std_ostream.h: Same.
3481 * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
3482 class iterator template arguments.
3483 * src/locale-inst.cc: Add explicit has_facet instantiations.
3484 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
3485 (_M_get_fnumput): Remove.
3486 (_M_get_fnumget): Remove.
3487 (basic_ios::_M_check_facet): New function.
3488 (basic_ios::_M_cache_facets): New function.
3489 * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
3490 (basic_ios::imbue): Call _M_cache_facets.
3491 (basic_ios::init): Same.
3492 * include/bits/istream.tcc: Format, use _M_check_facet.
3493 * include/bits/ostream.tcc: Same.
3494 * include/bits/locale_facets.tcc (__output_float): Change
3495 signature, add _Traits.
3496 * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
3499 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
3501 * include/bits/c++config (__USE_MALLOC): Do not define it.
3502 Document why not and give pointers to more information.
3504 * docs/html/23_containers/howto.html: Update documentation
3505 to reflect recent understanding of problem.
3506 * docs/html/17_intro/howto.html: Likewise.
3508 2001-05-30 Phil Edwards <pme@sources.redhat.com>
3510 * docs/doxygen/user.cfg.in: Minor addition.
3511 * docs/html/documentation.html: Reorganize. Put most-looked-at
3513 * docs/html/install.html: Update for 3.0. HTML fixups.
3514 * docs/html/17_intro/howto.html: Likewise.
3515 * docs/html/18_support/howto.html: Likewise.
3516 * docs/html/19_diagnostics/howto.html: Likewise.
3517 * docs/html/20_util/howto.html: Likewise.
3518 * docs/html/23_containers/howto.html: Likewise.
3519 * docs/html/24_iterators/howto.html: Likewise. More notes.
3520 * docs/html/25_algorithms/howto.html: Likewise.
3521 * docs/html/26_numerics/howto.html: Likewise. More notes.
3522 * docs/html/27_io/howto.html: Likewise.
3523 * docs/html/ext/howto.html: Likewise.
3524 * docs/html/faq/index.html: Likewise.
3525 * docs/html/faq/index.txt: Regenerate.
3526 * docs/html/27_io/iostreams_hierarchy.pdf: Remove in favor of
3527 Doxygen-created documentation.
3529 2001-05-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3531 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
3532 get_multilibs to find gcc.
3534 2001-05-30 Phil Edwards <pme@sources.redhat.com>
3536 * acinclude.m4 (GLIBCPP_ENABLE_C99): Reorder output messages.
3537 * aclocal.m4: Regenerate.
3538 * configure: Regenerate.
3540 2001-05-29 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3542 * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
3543 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
3545 2001-05-27 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3547 * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
3548 * include/c_std/bits/std_cstdlib.h: Same.
3549 * include/c_std/bits/std_cwchar.h: Same.
3551 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
3553 * docs/html/17_intro/howto.html: Update link.
3554 * docs/html/23_containers/howto.html: Likewise. Add new link.
3556 2001-05-26 Gabriel Dos Reis <gdr@codesourcery.com>
3558 * include/c_std/bits/std_cmath.h (sqrt): #undef.
3560 2001-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3562 * mknumeric_limits: Stop if gen-num-limits dies.
3564 2001-05-25 Benjamin Kosnik <bkoz@redhat.com>
3567 * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
3568 * aclocal.m4: Regenerate.
3571 2001-05-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3572 Phil Edwards <pme@sources.redhat.com>
3573 Alexandre Oliva <aoliva@redhat.com>
3575 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
3576 in an amd-safe manner. Revert glibcpp_prefixdir.
3578 2001-05-25 Gabriel Dos Reis <gdr@codesourcery.com>
3580 * include/c_std/bits/std_cmath.h: Tweak. #define away abs, cos,
3581 fabs, sin, sqrt. They are now implemented in terms of __builtin_
3584 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
3587 * testsuite/21_strings/inserters_extractors.cc (test09): New test.
3588 * include/bits/ostream.tcc: Format to match istream.tcc.
3589 (operator<<(basic_ostream __out, const basic_string __s)): Fix.
3591 2001-05-24 Phil Edwards <pme@sources.redhat.com>
3593 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Qualify
3595 (__cxa_free_exception): Likewise with free.
3597 2001-05-24 Mark Mitchell <mark@codesourcery.com>
3599 * include/c_std/bin/std_cstring.h: #define away all global
3600 functions we will redeclare in namespace `std'.
3601 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
3602 std::memset, instead of memset.
3603 * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
3605 * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
3608 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
3611 * include/bits/basic_ios.tcc: Small tweak.
3612 * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
3613 ctors and dtors, and rdbuf settings.
3616 * include/bits/std_sstream.h: Same, but for stringstream classes.
3617 * testsuite/27_io/ostringstream_members.cc: New.
3618 * testsuite/27_io/stringstream_members.cc: New.
3619 * testsuite/27_io/fstream_members.cc: New.
3620 * testsuite/27_io/ifstream_members.cc: Add test.
3621 * testsuite/27_io/istringstream_members.cc: Add test.
3622 * testsuite/27_io/ofstream_members.cc: Add test.
3624 2001-05-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3626 * include/bits/c++config(__NO_MATH_INLINES): Move to...
3627 * config/os/gnu-linux/bits/os_defines.h: ...here.
3629 2001-05-24 Gabriel Dos Reis <gdr@codesourcery.com>
3631 * include/bits/c++config (__NO_MATH_INLINES): New macro.
3632 * testsuite/26_numerics/fabs_inline.cc (main): New test.
3634 2001-05-22 Benjamin Kosnik <bkoz@redhat.com>
3637 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
3639 (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
3640 (libstdc++-v3-finish): Remove.
3641 (libstdc++-v3_exit): Remove.
3643 2001-05-22 Phil Edwards <pme@sources.redhat.com>
3645 * docs/html/documentation.html: Point to doxygen output.
3647 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
3649 * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
3651 * include/bits/std_sstream.h (stringbuf::setbuf): Require both
3652 arguments to be non-null.
3653 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
3654 try allocations if allocated size is greater than zero.
3655 (filebuf::_M_filebuf_init): Change to
3656 (filebuf::_M_allocate_file): Which is what it does now.
3657 (filebuf::_M_allocate_bufers): Change to
3658 (filebuf::_M_allocate_internal_buffer): This, and create
3659 (filebuf::_M_allocate_pback_buffer): New.
3660 (filebuf::_M_destroy_internal_buffer): New.
3661 (filebuf::_M_buf_allocated): New data member.
3662 (filebuf::setbuf): Use new logic, allow use of external buffer.
3663 * testsuite/27_io/stringbuf_virtuals.cc: New file.
3664 * testsuite/27_io/filebuf_virtuals.cc: New file.
3666 2001-05-21 Stephen M. Webb <stephen@bregmasoft.com>
3668 * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
3670 (strchr): Same, but to __glibcpp_strchr.
3674 * include/c_std/bits/std_cwchar.h (wcschr): Same.
3680 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
3682 * testsuite/21_strings/c_strings.cc (main): Fix.
3684 2001-05-19 Phil Edwards <pme@sources.redhat.com>
3686 * acinclude.m4: Fix --help spacing, correct comments.
3687 * aclocal.m4: Regenerate.
3688 * configure: Regenerate.
3689 * mkcheck.in: Add usage comments.
3690 * docs/html/documentation.html: Point to doxygen'd tarball.
3692 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
3694 * testsuite/README: Add notes.
3696 * src/Makefile.am (libstdc++.INC): Remove.
3697 * src/Makefile.in: Regenerate.
3699 Phil Edwards <pedwards@disaster.jaj.com>
3700 * mkcheck.in: Add missing '#'.
3702 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
3704 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
3705 appropriately for remote testing and testing installed files without
3708 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
3710 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
3711 amd glibcpp_prefixdir with absolute paths.
3713 * include/bits/c++config (__GLIBCPP__): Bump.
3714 * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
3716 2001-05-18 Gabriel Dos Reis <gdr@codesourcery.com>
3718 * include/bits/std_valarray.h (valarray<>::operator[] const):
3719 Return a const reference.
3720 * testsuite/26_numerics/valarray_const_bracket.cc: New test.
3722 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
3724 * configure.target (ATOMICITYH): Actually use AIX-specific code on
3725 earlier versions of AIX 4.*.
3727 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
3729 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set
3730 output_file based on the name of the testcase.
3732 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
3734 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Build
3735 gluefile and use it if needs_status_wrapper is set.
3737 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
3739 * configure.target (ATOMICITYH): Use cpu/generic code on earlier
3742 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
3744 * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
3745 on earlier versions of AIX.
3747 2001-05-15 Benjamin Kosnik <bkoz@redhat.com>
3749 * testsuite_flags.in (query): Add backwards, ext directories.
3751 2001-05-15 Mark Mitchell <mark@codesourcery.com>
3753 * porting.texi: Correct documentation about handling
3754 _LARRGEFILE_SOURCE and its ilk.
3755 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
3756 definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
3758 * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
3759 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
3761 2001-05-15 Zack Weinberg <zackw@stanford.edu>
3763 * testsuite/21_strings/inserters_extractors.cc,
3764 testsuite/27_io/istream_unformatted.cc,
3765 testsuite/27_io/stringstream.cc:
3766 Replace multi-line string constants with C89-style
3767 concatenated string constants.
3769 2001-05-14 Richard Henderson <rth@redhat.com>
3771 * mknumeric_limits: Build with -fno-exceptions.
3773 2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
3775 Switch over to new harness.
3776 * testsuite_flags.in: Tweaks via Gaby.
3777 * testsuite/Makefile.am: Change tool to libstdc++-v3.
3778 (EXPECT): Quote directly.
3780 * configure.in: Output testsuite_flags.
3781 * acinclude.m4: Substitute src, bld, and prefix dirs.
3782 Remove glibcpp_expect, glibcpp_runtestflags.
3783 * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
3784 * mkcheck.in: Port to new interface.
3786 * aclocal.m4: Regerate.
3787 * configure: Regnerate.
3788 * Makefile.in: Regnerate.
3789 * */Makefile.in: Regenerate.
3791 * tests_flags.in: Remove.
3792 * testsuite/lib/libstdc++.exp: Remove.
3793 * testsuite/libstdc++.tests/tests.exp: Remove.
3795 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
3797 * configure.target: Remove detection of AIX pthread multilib, now
3798 obtained from `gcc -v'.
3800 2001-05-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
3802 * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
3803 size. Add hpux case for HP size.
3805 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
3807 * testsuite_flags.in: New, simplified interface.
3808 * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
3809 * testsuite/libstdc++-v3.dg: Add.
3810 * testsuite/libstdc++-v3.dg/dg.exp: Add.
3812 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
3814 * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
3815 * testsuite/config/default.exp: Update bugs email address.
3817 2001-05-11 Richard Henderson <rth@redhat.com>
3819 * libsupc++/eh_personality.cc: Include unwind-pe.h. Remove
3820 all pointer encoding logic.
3821 (struct lsda_header_info): Add ttype_base.
3822 (get_ttype_entry): Use it instead of a context.
3823 (check_exception_spec): Likewise.
3824 (PERSONALITY_FUNCTION): Initialize ttype_base. Store it in
3825 the c++ exception header for __cxa_call_unexpected.
3826 (__cxa_call_unexpected): Use it.
3828 2001-05-09 Benjamin Kosnik <bkoz@redhat.com>
3830 * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
3831 libgloss_link_flags to find crt0.o for targets that use libgloss
3833 Change LDFLAGS to LIBS.
3834 Consistently name procedures libstdc++-XXX.
3835 * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
3837 2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
3839 * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
3844 * include/c_std/bits/std_cwchar.h (wcschr): Same.
3849 * testsuite/21_strings/c_strings.cc: Add tests.
3851 2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
3854 * include/bits/std_fstream.h (basic_filebuf): Change signature.
3855 * include/bits/fstream.tcc (basic_filebuf): Change bool argument
3856 to int_type, pass in buffer size info.
3857 * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
3858 unbuffered situation.
3859 (underflow): Remove codecvt bits for the time being.
3860 * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
3861 * include/bits/locale_facets.tcc (_M_extract): Cache dereference
3862 values from iterators, clean.
3863 * src/locale.cc: Ditto.
3864 * include/bits/sbuf_iter.h: Format.
3865 * src/ios.cc: Explicitly pass in buffer sizes at creation time.
3866 * testsuite/27_io/narrow_stream_objects.cc: Add tests.
3867 * testsuite/27_io/filebuf.cc: Tweaks.
3868 * testsuite/27_io/filebuf_members.cc: Tweaks.
3870 2001-05-07 Mark Mitchell <mark@codesourcery.com>
3872 * config/os/solaris/solaris2.7/bits/os_defines.h
3873 (_LARGEFILE_SOURCE): Define it.
3875 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
3877 * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
3878 -prefer-non-pic depending on whether libtool has shared libraries
3879 enabled or disabled.
3880 * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
3881 $(LIBSUPCXX_PICFLAGS).
3882 * configure, */Makefile.in: Rebuilt.
3884 2001-05-01 Benjamin Kosnik <bkoz@redhat.com>
3886 * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
3887 * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
3889 * include/bits/std_sstream.h (stringbuf): Leak
3891 * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
3893 2001-05-01 Tom Browder <tbrowder@home.com>
3895 * docs/html/ext/howto.html: Fix typo.
3897 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
3899 * testsuite/libstdc++.tests/tests.exp: Add comment.
3901 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
3903 * testsuite/libstdc++.tests/tests.exp: Set ulimits.
3905 2001-04-30 Mark Mitchell <mark@codesourcery.com>
3907 * porting.texi: Use the GFDL.
3909 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
3912 * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
3913 * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
3916 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
3919 * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
3921 2001-04-28 Phil Edwards <pme@sources.redhat.com>
3923 * docs/doxygen/run_doxygen: Minor tweaks.
3924 * docs/doxygen/style.css: New file.
3925 * docs/doxygen/user.cfg.in: Update using "doxygen -u" to get the
3926 latest parameters available. Use style.css.
3928 2001-04-27 Benjamin Kosnik <bkoz@redhat.com>
3930 * docs/doxygen/mainpage.doxy: New.
3931 * docs/doxygen/user.cfg.in: Change default configuration. Single
3932 frame, other tweaks.
3934 2001-04-26 Mark Mitchell <mark@codesourcery.com>
3936 * docs/html/17_intro/BADNAMES: Remove EGCS reference.
3937 Indicate obsolete nature of thelist for G++ 3.0.
3939 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
3941 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
3942 target_thread_file with `gcc -v'.
3943 * aclocal.m4, configure: Rebuilt.
3945 2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
3947 * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
3948 * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
3949 * include/c_std/bits/std_cwchar.h (std): Same.
3950 * acconfig.h (std): Remove c99 injection into std.
3951 * config.h.in: Regenerate.
3953 * testsuite/README: Fix typo.
3955 * include/bits/codecvt.h: Remove warnings.
3957 2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3959 * include/ext/slist: Include required header files.
3961 2001-04-23 Loren J. Rittle <ljrittle@acm.org>
3963 * include/c_std/bits/std_cerrno.h (errno): Define macro from
3964 identifier declared with external linkage, if needed.
3965 * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
3966 * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
3968 2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
3970 * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
3971 re-configures find the build compiler.
3972 (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
3974 * aclocal.m4: Regenerate.
3975 * configure: Regenerate.
3977 2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
3979 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
3980 support is enabled correctly before long long is activated.
3981 * aclocal.m4: Regenerate.
3982 * configure: Regenerate.
3984 * include/backward/backward_warning.h: Format correctly.
3986 * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
3987 * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
3988 * testsuite/26_numerics/c99_macros.cc: Remove.
3990 2001-04-20 Phil Edwards <pme@sources.redhat.com>
3992 * include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
3993 __iterator_category.
3995 2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
3997 * acconfig.h (_GLIBCPP_USE_C99): Add.
3998 * config.h.in: Regenerate.
3999 * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
4001 * aclocal.m4: Regenerate.
4002 * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
4003 * configure: Regenerate.
4004 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
4005 * configure: Regenerate.
4006 * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
4008 * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
4010 * include/c_std/bits/std_cstdlib.h: Same.
4011 * docs/html/configopts.html: Update.
4012 * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
4014 (test_c99_classify): Add.
4015 * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
4016 (_ISOC99_SOURCE): Remove.
4018 * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
4019 * include/bits/c++config (__STL_ASSERTIONS): Simplify.
4020 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
4021 * aclocal.m4: Regenerate.
4022 * configure: Regenerate.
4024 2001-04-19 Phil Edwards <pme@sources.redhat.com>
4026 * Makefile.am (doxygen): Assume script is missing execute perms.
4027 * Makefile.in: Regenerated.
4028 * docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
4030 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
4032 * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
4034 2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
4036 * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
4037 * testsuite/23_containers/set_operators.cc: Same.
4039 * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
4041 (__GLIBCPP__): Bump from value of last release.
4042 * include/bits/concept_check.h: Default to off, edit comments.
4043 * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
4044 * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
4045 * src/Makefile.in: Regenerate.
4047 2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE>
4049 * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
4050 Properly uglify member.
4052 2001-04-13 Phil Edwards <pme@sources.redhat.com>
4054 * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead
4058 2001-04-13 Phil Edwards <pme@sources.redhat.com>
4060 * include/bits/boost_concept_check.h: Uglify, fork from Boost.
4061 * include/bits/concept_check.h: Uglify.
4062 * include/bits/stl_algo.h: Likewise.
4063 * include/bits/stl_algobase.h: Likewise.
4064 * include/bits/stl_deque.h: Likewise.
4065 * include/bits/stl_heap.h: Likewise.
4066 * include/bits/stl_iterator_base_funcs.h: Likewise.
4067 * include/bits/stl_list.h: Likewise.
4068 * include/bits/stl_map.h: Likewise.
4069 * include/bits/stl_multimap.h: Likewise.
4070 * include/bits/stl_multiset.h: Likewise.
4071 * include/bits/stl_numeric.h: Likewise.
4072 * include/bits/stl_queue.h: Likewise.
4073 * include/bits/stl_set.h: Likewise.
4074 * include/bits/stl_stack.h: Likewise.
4075 * include/bits/stl_vector.h: Likewise.
4076 * include/ext/hash_map: Likewise.
4077 * include/ext/hash_set: Likewise.
4078 * include/ext/slist: Likewise.
4080 2001-04-13 Gabriel Dos Reis <gdr@codesourcery.com>
4082 * testsuite/23_containers/set_operators.cc: Just try to compile.
4084 * testsuite/23_containers/map_operators.cc: Same.
4086 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
4088 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
4090 (dg-test): Revert rth's change.
4092 2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
4094 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
4095 terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
4097 2001-04-12 Gabriel Dos Reis <gdr@codesourcery.com>
4099 * testsuite/README: Add DejaGnu specific documentation.
4101 2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
4103 * acinclude.m4: AC_CHECK_TOOL for expect.
4104 * aclocal.m4: Regenerate.
4105 * configure: Regenerate.
4106 * testsuite/Makefile.am (RUNTEST): Use substituted.
4109 * configure.in: Remove xcompiling substitution.
4110 * tests_flags.in (CROSS_LIB_PATH): Remove.
4111 (xcompiling): Remove.
4112 (CXX): Use substituted CXX.
4114 2001-04-11 Richard Henderson <rth@redhat.com>
4116 * testsuite/lib/libstdc++.exp: Specify path for output_file.
4118 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
4120 * include/bits/std_valarray.h(valarray<>::operator[]): Make
4123 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
4125 * testsuite/25_algorithms/equal.cc: New test.
4127 2001-04-06 Joe Buck <jbuck@welsh-buck.org>
4129 * stl_algobase.h (std::equal): avoid use of possibly-undefined
4130 operator != (one line patch).
4132 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
4134 * include/backward/backward_warning.h: Re-enable.
4136 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
4137 Alexandre Oliva <aoliva@redhat.com>
4139 * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
4141 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
4143 * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
4144 * testsuite/26_numerics/c99_macros.cc: Add test.
4146 2001-04-06 Phil Edwards <pme@sources.redhat.com>
4148 * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES.
4149 * docs/html/faq/index.txt: Regenerated.
4151 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
4153 * include/backward/backward_warning.h: Temporarily disable until
4154 g++ testsuite changes go in.
4155 * tests_flags.in (CROSS_LIB_PATH): Add.
4157 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
4159 Warn when using backward headers.
4160 * include/backward/algo.h: Include warning file.
4161 * include/backward/vector.h: Same.
4162 * include/backward/tree.h: Same.
4163 * include/backward/tempbuf.h: Same.
4164 * include/backward/strstream: Same.
4165 * include/backward/streambuf.h: Same.
4166 * include/backward/stream.h: Same.
4167 * include/backward/stack.h: Same.
4168 * include/backward/slist.h: Same.
4169 * include/backward/set.h: Same.
4170 * include/backward/rope.h:
4171 * include/backward/queue.h: Same.
4172 * include/backward/pair.h: Same.
4173 * include/backward/ostream.h: Same.
4174 * include/backward/new.h: Same.
4175 * include/backward/multiset.h: Same.
4176 * include/backward/multimap.h: Same.
4177 * include/backward/map.h: Same.
4178 * include/backward/list.h: Same.
4179 * include/backward/iterator.h: Same.
4180 * include/backward/istream.h: Same.
4181 * include/backward/iostream.h:
4182 * include/backward/iomanip.h:
4183 * include/backward/heap.h: Same.
4184 * include/backward/hashtable.h:
4185 * include/backward/hash_set.h:
4186 * include/backward/hash_map.h:
4187 * include/backward/function.h:
4188 * include/backward/fstream.h:
4189 * include/backward/deque.h:
4190 * include/backward/defalloc.h: Same.
4191 * include/backward/complex.h: Same.
4192 * include/backward/bvector.h:
4193 * include/backward/alloc.h:
4194 * include/backward/algobase.h: Same.
4196 * include/backward/backward_warning.h: New file.
4197 * src/Makefile.am (backward_headers): Add backward_warning.h
4198 * src/Makefile.in: Regenerate.
4200 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
4202 * src/Makefile.am (myinstalldirs): Make sure backward directory is
4204 (myinstallheaders): Install backward headers in backward directory.
4205 * src/Makefile.in: Regenerate.
4207 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
4209 Prepare for libstdc++-2.92.
4210 * docs/html/17_intro/RELEASE-NOTES (New): Update.
4211 * docs/html/configopts.html: Fix formatting.
4212 * README (file): Updates.
4213 * include/bits/c++config (__GLIBCPP__): Update.
4215 2001-04-05 Phil Edwards <pme@sources.redhat.com>
4217 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
4219 2001-04-04 Phil Edwards <pme@sources.redhat.com>
4221 * docs/doxygen/user.cfg.in: Extract all non-private members;
4222 reduce confusing documentation output.
4224 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
4226 * include/backward/fstream.h: Add missing semicolons.
4228 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
4230 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
4231 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
4232 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
4233 (ios_base::Init::_S_ios_create): New.
4234 (ios_base::Init::_S_ios_destroy): New.
4235 * include/bits/std_fstream.h: Change ctor args.
4236 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
4237 (ios_base::Init::~Init): Use _S_ios_destroy.
4238 (ios_base::sync_with_stdio): Use new members.
4239 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
4242 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4244 * include/backward/fstream.h: Expose streampos to global
4247 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4249 * include/bits/stl_iterator_base_types.h: Fix typo
4251 2001-04-03 Andreas Schwab <schwab@suse.de>
4253 * include/backward/fstream.h: Define filebuf and wfilebuf.
4255 2001-04-02 Phil Edwards <pme@sources.redhat.com>
4257 New concept checking implementation.
4258 * docs/html/19_diagnostics/howto.html: Document.
4259 * docs/html/17_intro/concept_check.diff: New file, for reference.
4260 * include/bits/boost_concept_check.h: New file from Boost.
4261 * include/bits/c++config: Update comments.
4263 * include/bits/concept_check.h: New file.
4264 * include/bits/concept_checks.h: Removed.
4265 * include/bits/container_concepts.h: Removed.
4266 * include/bits/sequence_concepts.h: Removed.
4267 * include/bits/stl_iterator_base.h: Removed; split into...
4268 * include/bits/stl_iterator_base_funcs.h: ...this new file...
4269 * include/bits/stl_iterator_base_types.h: ...and this new file.
4271 * include/bits/sbuf_iter.h: Update to use new implementation.
4272 * include/bits/std_iterator.h: Likewise.
4273 * include/bits/std_memory.h: Likewise.
4274 * include/bits/stl_algo.h: Likewise.
4275 * include/bits/stl_algobase.h: Likewise.
4276 * include/bits/stl_construct.h: Likewise.
4277 * include/bits/stl_deque.h: Likewise.
4278 * include/bits/stl_heap.h: Likewise.
4279 * include/bits/stl_list.h: Likewise.
4280 * include/bits/stl_map.h: Likewise.
4281 * include/bits/stl_multimap.h: Likewise.
4282 * include/bits/stl_multiset.h: Likewise.
4283 * include/bits/stl_numeric.h: Likewise.
4284 * include/bits/stl_queue.h: Likewise.
4285 * include/bits/stl_set.h: Likewise.
4286 * include/bits/stl_stack.h: Likewise.
4287 * include/bits/stl_uninitialized.h: Likewise.
4288 * include/bits/stl_vector.h: Likewise.
4289 * include/ext/hash_map: Likewise.
4290 * include/ext/hash_set: Likewise.
4291 * include/ext/slist: Likewise.
4292 * include/ext/stl_hashtable.h: Likewise.
4294 * src/Makefile.am (base_headers): Update list of headers.
4295 * Makefile.in: Regenerated.
4296 * src/Makefile.in: Regenerated.
4297 * libio/Makefile.in: Regenerated.
4298 * libmath/Makefile.in: Regenerated.
4299 * libsupc++/Makefile.in: Regenerated.
4300 * testsuite/Makefile.in: Regenerated.
4302 * docs/html/install.html: Update contact information.
4303 * docs/html/17_intro/howto.html: Ditto.
4304 * docs/html/18_support/howto.html: Ditto.
4305 * docs/html/20_util/howto.html: Ditto.
4306 * docs/html/21_strings/howto.html: Ditto.
4307 * docs/html/22_locale/howto.html: Ditto.
4308 * docs/html/23_containers/howto.html: Ditto.
4309 * docs/html/24_iterators/howto.html: Ditto.
4310 * docs/html/25_algorithms/howto.html: Ditto.
4311 * docs/html/26_numerics/howto.html: Ditto.
4312 * docs/html/27_io/howto.html: Ditto.
4313 * docs/html/faq/index.html: Ditto, plus info on new checking code.
4314 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
4315 * docs/html/faq/index.txt: Regenerated.
4317 2001-04-02 Zack Weinberg <zackw@stanford.edu>
4319 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
4320 messages with $which_library as well as $tool_flags and
4321 ${dg-extra-tool-flags}. Factor out annotation text into
4324 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
4326 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
4327 * include/c_std/bits/std_cwchar.h: Same.
4328 * testsuite/21_strings/c_strings.cc: Add.
4330 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
4332 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
4334 2001-04-01 Zack Weinberg <zackw@stanford.edu>
4336 * tests_flags.in: Use test a = b, not test a == b which is not
4339 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
4341 * configure.target: Remove duplicate aix entry.
4343 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
4345 * include/ext/stl_bvector.h: Move to...
4346 * include/bits/stl_vector.h: ...here.
4347 * include/ext/bvector: Move to...
4348 * include/backward/bvector.h: ...here.
4349 * include/bits/std_vector.h: Change stl_bvector include.
4350 * include/bits/std_queue.h: Remove bvector include.
4351 * include/ext/tree: Insert using rb_tree, move to...
4352 * include/backward/tree.h: ...here.
4353 * include/backward/hash_map.h: Include ext/hash_map.
4354 * include/backward/hash_set.h: Include ext/hash_set.
4355 * include/backward/queue.h: New file.
4356 * include/backward/stack.h: Edit.
4357 * include/backward/algo.h: Same.
4358 * include/backward/algobase.h: Same.
4359 * include/backward/alloc.h: Same.
4360 * include/backward/function.h: Same.
4361 * include/backward/iomanip.h: Same.
4362 * include/backward/istream.h: Same.
4363 * include/backward/iterator.h: Same.
4364 * include/backward/list.h: Same.
4365 * include/backward/map.h: Same.
4366 * include/backward/multimap.h: Same.
4367 * include/backward/multiset.h: Same.
4368 * include/backward/ostream.h: Same.
4369 * include/backward/pair.h: Same
4370 * include/backward/rope.h: Same.
4371 * include/backward/set.h: Same.
4372 * include/backward/stream.h: Same.
4373 * include/backward/strstream.h: Same.
4374 * include/backward/tempbuf.h: Same.
4375 * src/Makefile.am (ext_headers): Edit.
4376 * src/Makefile.in: Regenerate.
4377 * testsuite/ext/headers.cc (main): Fix.
4380 2001-03-30 Phil Edwards <pme@sources.redhat.com>
4382 * tests_flags.in (LIBS): Pass correct path for installed testing.
4384 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
4386 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
4387 * tests_flags.in (CXX): Construct here.
4388 (static_fail): Don't remove compile.out. Format with spaces.
4389 (INCLUDES): Deal with xcompiling.
4390 * configure.in (xcompiling): Substitute.
4391 * testsuite/Makefile.am: Snake libjava configury.
4392 * testsuite/Makefile.in: Regenerate.
4393 * testsuite/23_containers/map_operators.cc: Tweaks.
4394 * testsuite/23_containers/set_operators.cc: Tweaks.
4396 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4398 Enable dejagnu testing framework.
4399 * configure.in: Generate testsuite/Makefile.
4400 * configure: Regenerate.
4401 * Makefile.am (check-install): Change rule from this...
4402 (check-script-install): ...to this.
4403 (check): Change rule from this...
4404 (check-script):...to this.
4405 * Makefile.in: Regenerate.
4407 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
4409 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
4411 (LIBTOOL): Let automake take care of its definition.
4412 * libsupc++/Makefile.in: Rebuilt.
4414 2001-03-28 Richard Henderson <rth@redhat.com>
4416 IA-64 ABI Exception Handling:
4417 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
4418 * configure.in: Use it.
4419 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
4420 * libsupc++/Makefile.am (sources): Update files list.
4421 * libsupc++/Makefile.in: Regenerate.
4422 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
4423 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
4424 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
4425 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
4426 * libsupc++/exception_support.cc: Remove.
4427 * libsupc++/exception_support.h: Remove.
4428 * libsupc++/pure.cc: Use std::terminate.
4429 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
4430 (__is_pointer): Remove.
4431 * libsupc++/unwind-cxx.h: New file.
4432 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
4434 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
4436 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
4438 * src/Makefile.am (CXXLINK): Likewise.
4439 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
4441 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
4443 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
4445 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4447 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
4450 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
4452 * include/bits/basic_file.h (get_fileno): Remove.
4453 (_M_fileno): Remove.
4454 (_M_cfile_created): Add.
4455 (basic_file::basic_file(__c_file_type*, openmode): Add.
4456 (basic_file::basic_file(int, const char*, openmode): Remove.
4457 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
4458 const char*, ios_base::openmode): Don't allocate
4459 internal buffers. Turn off internal buffers.
4460 (basic_filebuf::overflow): Remove test for null buffer.
4461 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
4462 * include/bits/streambuf.cc: Tweak.
4463 * include/bits/std_ostream.h: Tweak.
4464 * config/basic_file_libio.h: Same.
4465 * config/basic_file_stdio.h: Same.
4466 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
4467 * testsuite/27_io/filebuf_members.cc: Tweaks.
4468 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
4470 2001-03-24 Phil Edwards <pme@sources.redhat.com>
4472 * Makefile.am: New targets, doxygen and doxygen-maint.
4473 * Makefile.in: Regenerated.
4474 * docs/doxygen/run_doxygen: Finally implemented.
4475 * docs/doxygen/maint.cfg.in: New file.
4476 * docs/doxygen/user.cfg.in: New file.
4478 2001-03-24 Phil Edwards <pme@sources.redhat.com>
4480 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
4481 * src/Makefile.am: Replace leading spaces with tabs on continuation
4483 * aclocal.m4: Regenerated.
4485 * Makefile.in: Ditto.
4486 * src/Makefile.in: Ditto.
4487 * libio/Makefile.in: Ditto.
4488 * libmath/Makefile.in: Ditto.
4489 * libsupc++/Makefile.in: Ditto.
4491 2001-03-24 Phil Edwards <pme@sources.redhat.com>
4493 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
4494 concept-checking code and current status of same.
4495 * docs/html/ext/howto.html: Ditto.
4496 * docs/html/faq/index.html: Ditto.
4497 * docs/html/faq/index.txt: Regenerated.
4499 2001-03-24 Phil Edwards <pme@sources.redhat.com>
4501 * include/bits/std_bitset.h: Include ostream and istream headers
4502 instead of iostream.
4504 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
4506 * include/bits/ostream.tcc: Use __builtin_alloca.
4508 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
4510 * src/misc-inst.cc (__sink_unused_warning): Move to...
4511 * src/locale-inst.cc (__sink_unused_warning): Move to...
4512 * src/stl-inst.cc: Here.
4513 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
4516 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
4518 * intclude/bits/basic_file.h: Fix typos in comments.
4520 2001-03-20 Richard Henderson <rth@redhat.com>
4522 * src/gen-num-limits.cc: Instantiate for wchar_t.
4523 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
4525 2001-03-20 Jason Merrill <jason@redhat.com>
4527 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
4528 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
4529 * libsupc++/cxxabi.h: Declare it.
4531 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
4533 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
4534 signal_func with an unspecified argument list.
4536 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
4538 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
4540 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4542 * include/bits/basic_string.tcc (operator+): Fix thinko.
4544 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
4547 * include/bits/std_streambuf.h: Remove cached locale facets.
4548 (basic_streambuf::_M_buf_fctype): Remove.
4549 (basic_streambuf::~basic_streambuf): Remove here.
4550 (basic_streambuf::basic_streambuf): Same.
4551 (basic_streambuf::imbue): Same.
4552 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
4553 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
4554 (basic_filebuf::~basic_filebuf()): Remove here.
4555 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
4556 (basic_filebuf::imbue): Same.
4557 * include/bits/localefwd.h (_Count_ones): Remove.
4558 (locale::_S_num_categories): Just use 6, since this doesn't
4559 actually change, ever.
4560 * include/bits/locale_facets.tcc (has_facet): Simplify.
4562 * testsuite/27_io/filebuf.cc (test06): Add tests.
4564 2001-03-13 Steve Ellcey <sje@cup.hp.com>
4566 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
4567 match HP-UX ctype.h header file.
4569 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
4571 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
4572 duplicate definitions of __dj_ctype_*
4574 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
4576 * libsupc++/new: Remove pragma interface.
4577 * libsupc++/typeinfo: Same.
4578 * libsupc++/exception: Same.
4579 * libsupc++/new_handler.cc: Remove pragma implementation.
4580 (bad_alloc::~bad_alloc()): Add.
4581 * libsupc++/exception_support.cc: Same.
4582 (exception::~exception): Add.
4583 (bad_exception::~bad_exception): Add.
4584 * libsupc++/tinfo.cc: Same.
4585 (bad_cast::~bad_cast): Add.
4586 (bad_typeid::~bad_typeid): Add.
4588 2001-03-13 Phil Edwards <pme@sources.redhat.com>
4590 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
4592 2001-03-12 Felix Lee <flee@redhat.com>
4594 * mkcheck.in: workaround for bash 2.01 IFS bug.
4596 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
4598 Fixups for -fno-for-scope
4599 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
4600 * src/valarray-inst.cc (__gslice_to_index): Same.
4602 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
4604 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
4605 prior to trapping signal (UnixWare 7 workaround).
4607 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
4609 * include/backward/hashtable.h: Same.
4610 * include/backward/rope.h: Fix include.
4612 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
4614 * include/backward/vector.h: Include std_vector.h.
4616 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
4617 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
4620 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4622 * include/ext/stl_hashtable.h: Change type of __n to size_t
4623 * include/backward/bvector.h: Include <ext/stl_bvector.h>
4625 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4627 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
4628 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
4629 Use streamsize, not int_type.
4631 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
4633 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
4636 2001-03-08 Andreas Schwab <schwab@suse.de>
4638 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
4640 * aclocal.m4, configure: Regenerated.
4642 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
4644 * include/bits/std_iosfwd.h: Remove string forward decls here.
4645 * include/bits/stringfwd.h: Add forward decls for char_traits
4647 * config/c_io_libio.h (wstreamoff): Delete.
4648 * config/c_io_stdio.h (wstreamoff): Same.
4649 * include/bits/char_traits.h: Use streamoff not wstreamoff for
4650 char_traits<wchar_t>::off_type.
4651 Remove duplicate typedefs.
4652 * include/bits/fpos.h: Define streampos/wstreampos here.
4653 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
4656 Changeup output files.
4657 * testsuite/27_io/istream_unformatted.cc: Change output files.
4658 * testsuite/27_io/istream_seeks-1.txt: Add.
4659 * testsuite/27_io/istream_seeks-2.tst: Add.
4660 * testsuite/27_io/istream_seeks-1.tst: Add.
4661 * testsuite/27_io/istream_unformatted-2.tst: Delete.
4662 * testsuite/27_io/istream_unformatted-3.tst: Delete.
4663 * testsuite/27_io/istream_unformatted-3.txt: Delete.
4665 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
4667 Add Irix 5.2, 6.3 support.
4668 * config/os/irix/bits: Renamed to...
4669 * config/os/irix/irix6.5/bits: this.
4670 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
4671 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
4672 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
4673 * config/os/irix/irix5.2/bits/ctype_noninline.h
4674 (ctype<char>::ctype): Initialize _M_table with __ctype.
4675 * configure.target: Adjust.
4677 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
4680 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
4681 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
4683 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
4684 (*__pf)(__ios_type&)): Same.
4685 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
4686 (*__pf)(ios_base&))): Same.
4687 * testsuite/27_io/istream_extractor_other.cc: Add tests.
4688 * testsuite/27_io/istream_manip.cc (test01): Fix.
4690 2001-03-06 Nathan Myers <ncm@cantrip.org>
4691 Benjamin Kosnik <bkoz@redhat.com>
4693 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
4694 * testsuite/17_intro/header_cerrno.cc (test01): New file.
4695 * testsuite/17_intro/header_cassert.cc (test01): New file.
4696 * testsuite/17_intro/header_cstddef.cc (test01): New file.
4697 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
4698 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
4700 2001-03-05 scott snyder <snyder@fnal.gov>
4703 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
4705 * include/c_std/bits/std_cstdlib.h: ... to here.
4706 * testsuite/17_intro/header_cstdlib.cc: Add test.
4708 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
4710 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
4712 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
4714 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
4715 definition. Replace enum with static const variables.
4717 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
4718 throw specification, fix typos, use <static_cast>.
4719 (ctype<char>::scan_is): remove throw specification.
4720 (ctype<char>::scan_not): likewise.
4722 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
4723 (ctype<char>::do_toupper(char)): use <static_cast>.
4724 (ctype<char>::do_toupper(char *, const char *)): likewise.
4725 (ctype<char>::do_tolower(char)): likewise.
4726 (ctype<char>::do_tolower(char *, const char *)): likewise.
4728 2001-03-04 Phil Edwards <pme@sources.redhat.com>
4730 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
4731 * include/backward/algo.h: Use std not __STD. Remove unneeded
4732 macros and "never happens" code. Adjust to C++STYLE guidelines.
4733 * include/backward/algobase.h: Likewise.
4734 * include/backward/alloc.h: Likewise.
4735 * include/backward/bvector.h: Likewise.
4736 * include/backward/deque.h: Likewise.
4737 * include/backward/function.h: Likewise.
4738 * include/backward/hash_map.h: Likewise.
4739 * include/backward/hash_set.h: Likewise.
4740 * include/backward/hashtable.h: Likewise.
4741 * include/backward/heap.h: Likewise.
4742 * include/backward/iterator.h: Likewise.
4743 * include/backward/list.h: Likewise.
4744 * include/backward/map.h: Likewise.
4745 * include/backward/multimap.h: Likewise.
4746 * include/backward/multiset.h: Likewise.
4747 * include/backward/pair.h: Likewise.
4748 * include/backward/rope.h: Likewise.
4749 * include/backward/set.h: Likewise.
4750 * include/backward/slist.h: Likewise.
4751 * include/backward/stack.h: Likewise.
4752 * include/backward/strstream: Likewise.
4753 * include/backward/tempbuf.h: Likewise.
4754 * include/backward/tree.h: Likewise.
4755 * include/backward/vector.h: Likewise.
4756 * include/bits/basic_ios.h: Likewise.
4757 * include/bits/basic_ios.tcc: Likewise.
4758 * include/bits/basic_string.h: Likewise.
4759 * include/bits/c++config: Likewise.
4760 * include/bits/concept_checks.h: Likewise.
4761 * include/bits/fpos.h: Likewise.
4762 * include/bits/fstream.tcc: Likewise.
4763 * include/bits/functexcept.h: Likewise.
4764 * include/bits/ios_base.h: Likewise.
4765 * include/bits/istream.tcc: Likewise.
4766 * include/bits/mask_array.h: Likewise.
4767 * include/bits/ostream.tcc: Likewise.
4768 * include/bits/pthread_allocimpl.h: Likewise.
4769 * include/bits/sbuf_iter.h: Likewise.
4770 * include/bits/slice.h: Likewise.
4771 * include/bits/slice_array.h: Likewise.
4772 * include/bits/sstream.tcc: Likewise.
4773 * include/bits/std_bitset.h: Likewise.
4774 * include/bits/std_fstream.h: Likewise.
4775 * include/bits/std_iomanip.h: Likewise.
4776 * include/bits/std_ios.h: Likewise.
4777 * include/bits/std_istream.h: Likewise.
4778 * include/bits/std_iterator.h: Likewise.
4779 * include/bits/std_memory.h: Likewise.
4780 * include/bits/std_ostream.h: Likewise.
4781 * include/bits/std_sstream.h: Likewise.
4782 * include/bits/std_streambuf.h: Likewise.
4783 * include/bits/std_string.h: Likewise.
4784 * include/bits/std_valarray.h: Likewise.
4785 * include/bits/stl_algo.h: Likewise.
4786 * include/bits/stl_algobase.h: Likewise.
4787 * include/bits/stl_alloc.h: Likewise.
4788 * include/bits/stl_construct.h: Likewise.
4789 * include/bits/stl_deque.h: Likewise.
4790 * include/bits/stl_function.h: Likewise.
4791 * include/bits/stl_heap.h: Likewise.
4792 * include/bits/stl_iterator.h: Likewise.
4793 * include/bits/stl_iterator_base.h: Likewise.
4794 * include/bits/stl_list.h: Likewise.
4795 * include/bits/stl_map.h: Likewise.
4796 * include/bits/stl_multimap.h: Likewise.
4797 * include/bits/stl_multiset.h: Likewise.
4798 * include/bits/stl_numeric.h: Likewise.
4799 * include/bits/stl_pair.h: Likewise.
4800 * include/bits/stl_pthread_alloc.h: Likewise.
4801 * include/bits/stl_queue.h: Likewise.
4802 * include/bits/stl_raw_storage_iter.h: Likewise.
4803 * include/bits/stl_relops.h: Likewise.
4804 * include/bits/stl_set.h: Likewise.
4805 * include/bits/stl_stack.h: Likewise.
4806 * include/bits/stl_tempbuf.h: Likewise.
4807 * include/bits/stl_threads.h: Likewise.
4808 * include/bits/stl_tree.h: Likewise.
4809 * include/bits/stl_uninitialized.h: Likewise.
4810 * include/bits/stl_vector.h: Likewise.
4811 * include/bits/streambuf.tcc: Likewise.
4812 * include/bits/type_traits.h: Likewise.
4813 * include/bits/valarray_meta.h: Likewise.
4814 * include/ext/bvector: Likewise.
4815 * include/ext/hash_map: Likewise.
4816 * include/ext/hash_set: Likewise.
4817 * include/ext/ropeimpl.h: Likewise.
4818 * include/ext/slist: Likewise.
4819 * include/ext/stl_bvector.h: Likewise.
4820 * include/ext/stl_hash_fun.h: Likewise.
4821 * include/ext/stl_hashtable.h: Likewise.
4822 * include/ext/stl_rope.h: Likewise.
4823 * src/complex_io.cc: Likewise.
4824 * src/ios.cc: Likewise.
4825 * src/locale-inst.cc: Likewise.
4826 * src/locale.cc: Likewise.
4827 * src/localename.cc: Likewise.
4828 * src/misc-inst.cc: Likewise.
4829 * src/stdexcept.cc: Likewise.
4830 * src/stl-inst.cc: Likewise.
4831 * src/strstream.cc: Likewise.
4832 * src/valarray-inst.cc: Likewise.
4834 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
4836 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
4838 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4840 * include/bits/istream.tcc: change type of __extracted to __size_type
4842 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
4844 * src/wstring-inst.cc: New file.
4845 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
4846 (libinst_wstring_la_SOURCES): Remove.
4847 (libstdc___la_LIBADD): Remove libinst_wstring_la.
4848 (sources): Add wstring-inst.cc
4849 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
4852 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4854 * src/locale.cc: initialise __ret with zero
4855 * src/strstream.cc:cast gptr to int_type
4857 2001-03-01 Phil Edwards <pme@sources.redhat.com>
4859 * docs/html/faq/index.html: Update broken links.
4860 * docs/html/faq/index.txt: Regenerated.
4862 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
4865 * configure.target: Change irix* to irix6.5* in target_os table.
4867 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
4870 * include/bits/c++config (__GLIBCPP__): Bump number in
4871 anticipation of 2.92.
4873 * include/bits/codecvt.h: Fix typo.
4874 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
4876 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
4877 instantiations for stdio model.
4879 2001-02-28 Phil Edwards <pme@sources.redhat.com>
4881 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
4882 and GLIBCPP_CXXFLAGS as unused variables.
4883 * configure.host: Likewise.
4884 * configure.target: Likewise.
4885 * aclocal.m4: Regenerated.
4886 * configure: Regenerated.
4887 * Makefile.in: Regenerated.
4888 * libio/Makefile.in: Regenerated.
4889 * libmath/Makefile.in: Regenerated.
4890 * libsupc++/Makefile.in: Regenerated.
4891 * src/Makefile.in: Regenerated.
4893 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
4896 * include/bits/basic_file.h: Include basic_file_model.h.
4897 * config/c_io_libio.cc: Move to...
4898 * config/basic_file_libio.cc: Here.
4899 * config/basic_file_libio.h: New file.
4900 * config/c_io_stdio.cc: Move to...
4901 * config/basic_file_stdio.cc: Here.
4902 * config/basic_file_stdio.h: New file.
4903 * config/c_io_libio.h: Tweak.
4904 * config/c_io_stdio.h: Tweak.
4905 * src/Makefile.am (build_headers): Add basic_file_model.h.
4906 (sources): Add basic_file.cc, remove c++io.cc.
4907 * src/Makefile.in: Regenerate.
4908 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
4909 basic_file_model.h and basic_file.cc.
4910 * aclocal.m4: Regenerate.
4911 * configure: Regenerate.
4912 * testsuite/27_io/filebuf.cc (test05): Add regression.
4914 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
4917 * config/cpu/alpha/bits/atomicity.h: Change.
4918 * config/cpu/arm/bits/atomicit3y.h
4919 * config/cpu/generic/bits/atomicity.h
4920 * config/cpu/i386/bits/atomicity.h
4921 * config/cpu/i486/bits/atomicity.h
4922 * config/cpu/ia64/bits/atomicity.h
4923 * config/cpu/powerpc/bits/atomicity.h
4924 * config/cpu/sparc/sparc32/bits/atomicity.h
4925 * config/cpu/sparc/sparc64/bits/atomicity.h
4926 * config/os/aix/bits/atomicity.h
4927 * config/os/irix/bits/atomicity.h
4929 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
4931 * include/bits/std_stdexcept.h (runtime_error): Make string
4933 (logic_error): Same.
4934 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
4937 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
4941 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
4942 string object, not reference.
4943 (runtime_error::runtime_error): Same.
4944 * testsuite/19_diagnostics/stdexceptions.cc: New file.
4946 2001-02-26 Phil Edwards <pme@sources.redhat.com>
4948 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
4949 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
4950 diagnostics. Remove WFMT_FLAGS.
4951 * configure.in: Replace WFMT_FLAGS with diagnostics options.
4952 * libsupc++/Makefile.am: Likewise.
4953 * src/Makefile.am: Likewise.
4954 * aclocal.m4: Regenerated.
4955 * configure: Regenerated.
4956 * Makefile.in: Regenerated.
4957 * libio/Makefile.in: Regenerated.
4958 * libmath/Makefile.in: Regenerated.
4959 * libsupc++/Makefile.in: Regenerated.
4960 * src/Makefile.in: Regenerated.
4962 2001-02-26 Phil Edwards <pme@sources.redhat.com>
4964 Fixes libstdc++/2079
4965 * include/backward/iomanip.h: Expose <ios> manipulators to global
4967 * include/backward/iostream.h: Also expose std::ws.
4969 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
4971 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
4973 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
4975 * include/bits/codecvt.h: Use __builtin_alloca.
4976 * include/bits/ostream.tcc: Same.
4977 * include/bits/fstream.tcc: Same.
4979 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
4981 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
4983 2001-02-23 David Edelsohn <dje@watson.ibm.com>
4985 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
4987 2001-02-23 Phil Edwards <pme@sources.redhat.com>
4990 * include/backward/iostream.h: Expose std::flush in old headers.
4992 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4994 * mknumeric_limits: Remove special-casing on target. Use gcc
4995 instead of g++ to build gen-num-limits.cc
4997 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
4999 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
5001 * include/bits/codecvt.h: Use alloca instead of __extension__ for
5003 * include/bits/ostream.tcc: Same.
5004 * include/bits/std_ostream.h: Same.
5005 * include/bits/fstream.tcc: Same.
5006 * include/bits/locale_facets.tcc: Add typename.
5007 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
5009 2001-02-21 Phil Edwards <pme@sources.redhat.com>
5011 * tests_flags.in: Remove -n flag from call to echo.
5013 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
5015 * config/c_locale_gnu.h: Add clocale include.
5017 2001-02-20 Phil Edwards <pme@sources.redhat.com>
5019 * include/bits/stl_config.h: Remove file.
5020 * src/Makefile.am (base_headers): Remove from list.
5021 * configure: Regenerate.
5022 * Makefile.in: Ditto.
5023 * libio/Makefile.in: Ditto.
5024 * libmath/Makefile.in: Ditto.
5025 * libsupc++/Makefile.in: Ditto.
5026 * src/Makefile.in: Ditto.
5028 * include/bits/c++config: Move relevant macros to here.
5029 * include/backward/alloc.h: Include c++config.h instead.
5030 * include/backward/function.h: Ditto.
5031 * include/backward/heap.h: Ditto.
5032 * include/backward/pair.h: Ditto.
5033 * include/bits/pthread_allocimpl.h: Ditto.
5034 * include/bits/std_functional.h: Ditto.
5035 * include/bits/std_iterator.h: Ditto.
5036 * include/bits/std_numeric.h: Ditto.
5037 * include/bits/std_utility.h: Ditto.
5038 * include/bits/stl_algobase.h: Ditto.
5039 * include/bits/type_traits.h: Ditto.
5040 * src/stl-inst.cc: Ditto.
5042 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5044 * include/bits/basic_file.h: Add #pragma system_header
5045 * include/bits/basic_ios.h: Ditto.
5046 * include/bits/basic_string.h: Ditto.
5047 * include/bits/char_traits.h: Ditto.
5048 * include/bits/codecvt.h: Ditto.
5049 * include/bits/cpp_type_traits.h: Ditto.
5050 * include/bits/fpos.h: Ditto.
5051 * include/bits/gslice.h: Ditto.
5052 * include/bits/gslice_array.h: Ditto.
5053 * include/bits/indirect_array.h: Ditto.
5054 * include/bits/ios_base.h: Ditto.
5055 * include/bits/limits_generic.h: Ditto.
5056 * include/bits/locale_facets.h: Ditto.
5057 * include/bits/localefwd.h: Ditto.
5058 * include/bits/mask_array.h: Ditto.
5059 * include/bits/sbuf_iter.h: Ditto.
5060 * include/bits/sequence_concepts.h: Ditto.
5061 * include/bits/slice.h: Ditto.
5062 * include/bits/slice_array.h: Ditto.
5063 * include/bits/std_algorithm.h: Likewise.
5064 * include/bits/std_bitset.h: Likewise.
5065 * include/bits/std_complex.h: Likewise.
5066 * include/bits/std_deque.h: Likewise.
5067 * include/bits/std_fstream.h: Likewise.
5068 * include/bits/std_functional.h: Likewise.
5069 * include/bits/std_iomanip.h: Likewise.
5070 * include/bits/std_ios.h: Likewise.
5071 * include/bits/std_iosfwd.h: Likewise.
5072 * include/bits/std_iostream.h: Likewise.
5073 * include/bits/std_istream.h: Likewise.
5074 * include/bits/std_iterator.h: Likewise.
5075 * include/bits/std_list.h: Likewise.
5076 * include/bits/std_locale.h: Likewise.
5077 * include/bits/std_map.h: Likewise.
5078 * include/bits/std_memory.h: Likewise.
5079 * include/bits/std_numeric.h: Likewise.
5080 * include/bits/std_ostream.h: Likewise.
5081 * include/bits/std_queue.h: Likewise.
5082 * include/bits/std_set.h: Likewise.
5083 * include/bits/std_sstream.h: Likewise.
5084 * include/bits/std_stack.h: Likewise.
5085 * include/bits/std_stdexcept.h: Likewise.
5086 * include/bits/std_streambuf.h: Likewise.
5087 * include/bits/std_string.h: Likewise.
5088 * include/bits/std_utility.h: Likewise.
5089 * include/bits/std_valarray.h: Likewise.
5090 * include/bits/std_vector.h: Likewise.
5091 * include/bits/stringfwd.h: Likewise.
5092 * include/bits/type_traits.h: Likewise.
5093 * include/bits/valarray_array.h: Likewise.
5094 * include/bits/valarray_meta.h: Likewise.
5096 2001-02-19 Andreas Jaeger <aj@suse.de>
5098 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
5101 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
5104 * include/bits/std_ostream.h: Replaced usage of
5105 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
5106 * include/bits/char_traits.h: Removed non-standard
5107 methods that cannot be used elsewhere.
5110 * include/bits/basic_ios.h: Uncommented #include of
5114 * include/bits/codecvt.h: See next...
5115 * include/bits/fstream.tcc: See next...
5116 * include/bits/ostream.tcc: Add __extension__
5117 to variable-length arrays.
5120 * include/bits/localefwd.h: Changed int counter type to size_t.
5123 * include/bits/std_fstream.h: Added typedef for __ctype_type.
5125 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
5127 * testsuite/21_strings/char_traits.cc: Move to ...
5128 * testsuite/21_strings/char_traits_requirements.cc: ..here.
5129 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
5130 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
5132 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
5134 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
5137 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
5139 * include/bits/c++config: Revert.
5141 2001-02-15 Mark Mitchell <mark@codesourcery.com>
5143 * include/bits/istream.tcc: Use ios_base::iostate in place of
5144 iostate throughout. Insert `typename' keyword where necessary.
5145 * include/bits/ostream.tcc: Insert `typename' keyword where
5148 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
5150 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
5151 Define so library is compliant.
5153 2001-02-15 Anthony Green <green@redhat.com>
5155 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
5157 * aclocal.m4: Regenerate.
5158 * configure: Regenerate.
5160 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
5162 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
5163 Include ieeefp.h for fpclass on UnixWare{2,7}.
5164 * aclocal.m4: Regenerate.
5165 * configure: Regenerate.
5166 * mkcheck.in (size_command): Do without GNU-grep when using
5169 2001-02-15 Mark Mitchell <mark@codesourcery.com>
5171 Remove old ABI support from libsupc++.
5172 * libsupc++/cxxabi.h: Remove conditionally compiled code.
5173 * libsupc++/exception_support.cc: Likewise.
5174 * libsupc++/pure.cc: Likewise.
5175 * libsupc++/tinfo.cc: Likewise.
5176 * libsupc++/tinfo.h: Likewise.
5177 * libsupc++/tinfo2.cc: Likewise.
5178 * libsupc++/typeinfo: Likewise.
5179 * libsupc++/vec.cc: Likewise.
5181 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
5183 Add support for -fno-exceptions.
5184 * include/bits/exception_support.h: Remove.
5185 * include/bits/basic_string.h: Remove exception_support.
5186 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
5188 (string::substr): Same.
5189 * include/bits/basic_string.tcc (string::reserve): Replace
5190 __LENGTHERROR with __throw_length_error.
5191 (string::_S_create): Same.
5192 (string::resize): Same.
5193 (string::_M_replace): Same.
5194 (string::replace): Same.
5195 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
5196 (string::compare): Same.
5197 * include/bits/stl_vector.h: Remove exception_support.
5198 * src/Makefile.am (base_headers): Remove here.
5199 * src/Makefile.in: Regenerate.
5201 * include/bits/stl_range_errors.h: Remove.
5202 * include/bits/stl_deque.h: Use __throw_range_error.
5203 * include/bits/std_deque.h: Include functexcept.h.
5204 * include/bits/std_vector.h: Same.
5205 * src/Makefile.am (base_headers): Remove here.
5206 * src/Makefile.in: Regenerate.
5207 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
5208 * include/ext/bvector: Remove stl_range_errors.h
5210 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
5212 * include/bits/functexcept.h: New file.
5213 * src/functexcept.cc: New file. Definitions for function-based
5215 * src/Makefile.am (sources): Add functexcept.cc.
5216 * src/Makefile.in: Regenerate.
5218 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
5221 * include/bits/localefwd.h: Include functexcept.h.
5222 * include/bits/std_iosfwd.h: Same.
5224 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
5225 throw basic_ios::failure.
5226 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
5227 Use __throw_exception_again.
5228 (filebuf::_M_filebuf_init): Same.
5229 * include/bits/streambuf.tcc (__copy_streambufs): Same.
5230 * include/bits/ostream.tcc (ostream::operator<<): Same.
5231 * include/bits/istream.tcc (istream::operator>>): Same.
5232 * include/bits/basic_string.tcc (string::_M_mutate): Same.
5233 (string::_S_construct): Same.
5234 (string::_M_clone): Same.
5235 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
5237 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
5238 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
5239 __throw_exception_again.
5240 (locale::_Imp::_Imp(string, size_t): Same.
5241 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
5242 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
5243 (locale::locale(const char*)): Use __throw_runtime_error.
5244 (locale::classic): Use __throw_exception_again.
5245 (locale::_S_normalize_category): Use __throw_runtime_error.
5247 * src/stdexcept.cc: Remove cruft.
5249 * libsupc++/exception_defines.h: New file.
5250 * libsupc++/new_opnt.cc: Include exception_defines.h.
5251 * libsupc++/vec.cc: Same.
5252 (__cxa_vec_new2): Use __throw_exception_again.
5253 (__cxa_vec_new3): Same.
5254 (__cxa_vec_ctor): Same.
5255 (__cxa_vec_delete3): Same.
5256 (__cxa_vec_cctor): Same.
5257 (__cxa_vec_delete2): Same.
5258 (__cxa_vec_dtor): Same.
5259 * libsupc++/exception_support.cc: Include exception_defines.h. Only
5260 compile exception-handling bits if __EXCEPTIONS is defined.
5261 Remove old ABI support.
5262 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
5263 std::__throw_bad_alloc() instead of throw bad_alloc.
5264 * libsupc++/Makefile.am: Add exception_defines.h.
5265 * libsupc++/Makefile.in: Reformat.
5266 * libsupc++/*: Format.
5268 2001-02-15 Phil Edwards <pme@sources.redhat.com>
5270 * docs/html/configopts.html: Minor updates and typo fixes.
5271 * docs/html/faq/index.html: Updates of the "not really bugs" list.
5272 * docs/html/faq/index.txt: Regenerated.
5274 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
5276 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
5277 dejagnu/dg.exp. Adapt to log options used to run testcases.
5279 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5281 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
5284 2001-02-13 Dirk Mueller <dmuell@gmx.net>
5285 Phil Edwards <pme@sources.redhat.com>
5287 * include/backward/function.h: Do not use rel_ops for older
5289 * include/backward/pair.h: Likewise.
5291 2001-02-12 Mark Mitchell <mark@codesourcery.com>
5293 * src/locale.cc: Remove bogus locale::id definitions.
5295 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5297 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
5298 not _DEFINE_VALARRAY_OPERATOR which is not existent.
5300 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
5301 thinko in member initialisation.
5303 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
5305 * include/bits/std_valarray.h(valarray<>::shift): Avoid
5306 comparaison between signed and unsigned integer types.
5307 (valarray<>::cshift): Reformat.
5309 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
5311 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
5312 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
5313 * configure.in: Test for sigsetjmp.
5314 * configure, config.h.in: Rebuilt.
5316 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
5318 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
5319 lengths and strides.
5320 (__gslice_to_index): Document.
5322 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
5324 * include/bits/char_traits.h char_traits<char>::int_type: Change
5325 to `int' to match 21.1.3.1/2.
5327 * testsuite/21_strings/char_traits-int_type.C: New test.
5329 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
5331 * testsuite/Makefile.am: New file.
5333 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
5335 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
5337 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
5339 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
5341 2001-02-08 David Edelsohn <edelsohn@gnu.org>
5343 * configure.target (aix4*): Remove extra set of brackets.
5345 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
5348 * include/bits/stringfwd.h: New file.
5349 * include/bits/stl_string_fwd.h: Remove.
5350 * include/bits/localefwd.h: Remove declaration for allocator.
5351 * include/bits/std_iosfwd: Same.
5352 * include/bits/std_string.h: Include it.
5353 * include/bits/std_ios.h: Remove include.
5354 * include/bits/basic_string.h: Tweak.
5355 * libsupc++/new: Format.
5356 * src/Makefile.am (base_headers): Add stringfwd.h, remove
5358 * src/Makefile.in: Regenerate.
5359 * include/bits/std_stdexcept.h: Rewrite.
5360 * src/stdexcept.cc: Same.
5362 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
5364 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
5365 install locations too.
5366 * aclocal.m4: Regenerate.
5367 * configure.in: Remove USE_LIBDIR.
5368 * configure: Regenerate.
5369 * src/Makefile.am (toolexecdir): Simplify, use
5370 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
5371 * src/Makefile.in: Regenerate.
5372 * libsupc++/Makefile.am: Same.
5373 * libsupc++/Makefile.in: Regenerate.
5375 * src/Makefile.am: Just remove special rules for locale-inst.cc and
5376 misc-inst.cc as no longer necessary.
5378 Follow C++STYLE for naming non-static functions.
5379 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
5381 * include/bits/streambuf.tcc: Same.
5382 * include/bits/ostream.tcc: Same.
5383 * include/bits/istream.tcc: Same.
5384 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
5385 (_S_output_float): To __output_float.
5386 * include/bits/std_streambuf.h (_S_copy_streambufs): To
5388 * include/bits/locale_facets.tcc (_S_build_float_format): To
5389 __build_float_format.
5390 (_S_format): To __output_integer.
5391 (_S_fill): To __pad.
5392 * src/locale.cc: Same.
5393 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
5395 * include/bits/locale_facets.tcc (_S_group_digits): To
5397 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
5398 for collate, numpunct.
5400 2001-02-06 Phil Edwards <pme@sources.redhat.com>
5402 * docs/html/configopts.html: Fix HTML markup.
5403 * docs/html/install.html: Bring up to date.
5404 * docs/html/17_intro/C++STYLE: Add global variable conventions.
5405 * docs/html/21_strings/howto.html: More notes.
5406 * docs/html/22_locale/howto.html: Fix HTML markup.
5407 * docs/html/27_io/howto.html: More notes.
5408 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
5409 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
5411 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
5413 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
5414 to match header files.
5415 (_S_output_float): Likewise.
5416 (_S_copy_streambufs): Likewise.
5418 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
5419 Phil Edwards <pme@sources.redhat.com>
5421 * include/bits/std_istream.h (op>> signed,unsigned char): Must
5422 use reinterpret_cast, not static_cast.
5424 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
5426 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
5427 * aclocal.m4: Regenerate.
5428 * configure: Regenerate.
5430 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
5432 * include/bits/locale_facets.h (class moneypunct): Fix typos.
5433 * libsupc++/pure.cc: Revert.
5435 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
5437 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
5438 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
5439 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
5440 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
5441 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
5442 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
5443 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
5444 * aclocal.m4: Regenerate.
5445 * configure: Regenerate.
5447 2001-02-05 Mark Mitchell <mark@codesourcery.com>
5449 * include/bits/locale_facets.tcc: Remove `static' keyword on
5450 function definitions.
5451 * include/bits/std_streambuf.h: Likewise.
5452 * src/Makefile.am: Remove use of -fimplicit-templates.
5453 * src/Makefile.in: Regenerated.
5454 * src/locale-inst.cc: Explicitly instantiate more functions.
5455 * src/misc-inst.cc: Likewise.
5456 * src/string-inst.cc: Likewise.
5458 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
5460 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
5461 macro. Consolidate all the bits to do with where includes might be
5463 * aclocal.m4: Regenerate.
5464 * configure.in: Use it.
5465 * configure: Regenerate.
5466 * src/Makefile.am (targetincludep): Use simplified rules.
5467 (targetincludep): Rename gxx_target_include_dir.
5468 (myincludep): Rename gxx_include_dir.
5469 * src/Makefile.in: Regenerate.
5470 * libsupc++/Makefile.am: Use simplified rules.
5471 * libsupc++/Makefile.in: Regenerate.
5473 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
5475 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
5476 * include/c_std/bits/std_cctype.h: Same.
5477 * include/c_std/bits/std_cassert.h: Same.
5478 * include/c_std/bits/std_cstdarg.h: Same.
5479 * include/c_std/bits/std_cstddef.h: Same.
5481 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
5483 * include/c_std/bits/std_ctime.h: Same.
5484 * include/c_std/bits/std_clocale.h: Same.
5485 * include/c_std/bits/std_cmath.h: Same.
5486 * include/c_std/bits/std_csetjmp.h: Same.
5487 * include/c_std/bits/std_csignal.h: Same.
5488 * include/c_std/bits/std_cstring.h: Same.
5489 * include/c_std/bits/std_cstdlib.h: Same.
5490 * include/c_std/bits/std_cwchar.h: Same.
5492 2001-02-05 Phil Edwards <pme@sources.redhat.com>
5494 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
5496 2001-02-05 Mark Mitchell <mark@codesourcery.com>
5498 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
5499 (string::_S_construct): Likewise.
5501 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
5503 * testsuite/config/default.exp: New file.
5504 * testsuite/config: New directory.
5506 2001-02-04 Mark Mitchell <mark@codesourcery.com>
5508 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
5509 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
5510 whenever !__GXX_MERGED_TYPEINFO_NAMES.
5511 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
5513 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
5514 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
5516 * Makefile.am (mkinstalldirs): Set.
5517 * src/Makefile.am (mkinstalldirs): Set.
5518 * libmath/Makefile.am (mkinstalldirs): Set.
5519 * libsup++/Makefile.am (mkinstalldirs): Set.
5520 * libio/Makefile.am (mkinstalldirs): Set.
5521 * */Makefile.in: Regenerate.
5523 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
5525 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
5526 * include/bits/localefwd.h: More initialization cleanups.
5528 2001-02-03 Jeffrey A Law <law@cygnus.com>
5530 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
5531 correctly targets with 16bit ints.
5532 (_S_ios_openmode_end): Similarly.
5533 (_S_ios_iostate_end): Similarly.
5534 (_S_ios_Seekdir_end): Similarly.
5536 2001-02-02 Phil Edwards <pme@sources.redhat.com>
5538 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
5540 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
5542 * configure.in (toplevel_srcdir, auxdir): Set.
5543 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
5544 * aclocal.m4, configure, Makefile.in: Rebuilt.
5545 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
5546 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
5547 * libsupc++-v3/Makefile.in: Rebuilt.
5548 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
5549 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
5551 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
5553 * config/c_locale_generic.cc: Remove langinfo include.
5555 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
5557 Preliminary named locales.
5558 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
5559 * aclocal.m4: Regenerate.
5560 * configure.in: Use it.
5561 * configure: Regerate.
5562 * src/Makefile.am (sources): Add c++locale.cc.
5563 (build_headers): Add c++locale.h.
5564 * src/Makefile.in: Regenerate.
5565 * config/c_locale_gnu.h: New file.
5566 * config/c_locale_gnu.cc: New file. Non-inline member functions
5567 for named locales, gnu-specific.
5568 * config/c_locale_generic.h: New file.
5569 * config/c_locale_generic.cc: New file. Non-inline member
5570 functions for named locales, generic version.
5571 * docs/html/configopts.html: Add documentation on new options.
5573 * include/bits/locale_facets.h (class _Messages): Remove.
5574 (class _Moneypunct): Remove.
5575 * src/locale-inst.cc: Remove.
5577 * include/bits/locale_facets.h (class _Collate): Remove.
5578 * src/locale-inst.cc (std): Remove.
5579 * src/locale.cc: And here.
5581 * include/bits/localefwd.h (locale::_M_coalesce): New
5582 function. Correctly put together multi-name locales.
5583 (_Impl(const _Impl&, category, size_t)): Remove.
5585 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
5587 (_M_normalize_category_names): Remove.
5588 (_M_replace_categories): Fix.
5590 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
5591 (locale::_Impl::_M_construct_ctype): Remove.
5592 (locale::_Impl::_M_construct_monetary): Remove.
5593 (locale::_Impl::_M_construct_numeric): Remove.
5594 (locale::_Impl::_M_construct_time): Remove.
5595 (locale::_Impl::_M_construct_messages): Remove.
5597 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
5598 (_Use_facet_failure_handle): Remove.
5599 * src/locale.cc: Remove definitions.
5600 * src/locale-inst.cc: And here.
5602 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
5604 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
5605 create and error-check underlying locale object.
5606 (locale::facet::_S_destroy_c_locale): Add, take care of properly
5607 tearing down underlying locale object.
5608 * include/bits/localefwd.h (locale::facet): Declare.
5609 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
5610 correctness, as glibc apparently has incorrect info in it. Test
5611 with it when it works again.....
5613 * include/bits/localefwd.h (locale::_Impl::__vec_string):
5614 Remove. Number of categories is fixed at six, so just simplify and
5615 make this an array of strings.
5616 (locale::_Impl::_M_has_name): Remove.
5617 (locale::_Impl::_M_name): Remove.
5618 (locale::_Impl::_M_category_names): Turns into...
5619 (locale::_Impl::_M_names): ...this.
5620 (locale::_Impl::_M_has_same_name()): New function.
5621 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
5622 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
5624 * src/locale.cc (locale::name()): Construct mangled name
5625 accurately reflecting combined locale categories.
5627 * src/locale.cc (locale::classic()): Don't initialize here.
5628 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
5629 __refs, bool __has_name, string __str): Do it here.
5631 * include/bits/localefwd.h: _S_categories_num to
5632 _S_num_categories. _S_facets_num to _S_num_facets.
5633 (locale::id::id()): Explicitly set _M_index to zero.
5634 * src/locale.cc: Same.
5636 * src/locale.cc: (locale::locale(const char*)): Construct named
5639 * src/locale.cc: Remove numpunct_byname ctors.
5640 * testsuite/22_locale/numpunct_byname.cc: New file.
5641 * testsuite/22_locale/numpunct.cc: New file.
5643 * include/bits/localefwd.h (class locale): Change data members to
5644 protected, from private.
5645 (_Impl::_M_get_c_locale): Add member function.
5646 (locale::facet::_M_get_global_impl()): Add member function.
5647 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
5648 a __c_locale pointer.
5649 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
5651 * testsuite/22_locale/members.cc: New file, test name and combine.
5653 * include/bits/locale_facets.h (class numpunct): Remove class
5654 _Punct and _Numpunct. Rewrite class numpunct to be correct for
5656 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
5657 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
5658 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
5659 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
5660 * testsuite/22_locale/numpunct_char_members.cc: New file.
5662 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
5664 * testsuite/README: Add more comment.
5665 * testsuite/lib/libstdc++.exp: Tweak comment.
5667 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
5669 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
5671 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
5673 * testsuite/21_strings/inserters_extractors.cc: Remove
5674 explicit reference to 'testsuite/'.
5676 2001-01-25 Richard Henderson <rth@redhat.com>
5678 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
5679 bits. Fixes Tru64 build issues.
5681 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
5683 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
5684 (use ${MAKE-make}, not ${MAKE:-make}).
5685 * aclocal.m4, configure: Regenerate.
5687 2001-01-25 Mark Mitchell <mark@codesourcery.com>
5689 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
5692 * src/Makefile.am (sources): Add globals.cc.
5693 * src/Makefile.in: Regenerated.
5694 * src/globals.cc: New file.
5695 * src/ios.cc (cin): Don't define here, just declare extern.
5704 2001-01-25 Phil Edwards <pme@sources.redhat.com>
5706 * include/bits/std_iterator.h: Do not include stl_relops.h.
5707 * include/bits/std_numeric.h: Ditto.
5708 * include/bits/stl_algobase.h: Ditto.
5709 * include/bits/stl_relops.h: Add comment warning about problems.
5711 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
5713 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
5714 in testcases. Prepare for the DejaGnu based framework.
5715 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
5716 directory -- it is now mkcheck working directory.
5717 * tests_flags.in: Remove reference to $(top_srcdir). Use
5719 * Makefile.am (check, check-install): Change mkcheck invocation
5721 * Makefile.in: Regenerate.
5723 2001-01-24 Mark Mitchell <mark@codesourcery.com>
5725 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
5726 (__always_swap): Likewise.
5728 2001-01-23 Chris Demetriou <cgd@broadcom.com>
5730 * libsupc++/exception_support.cc (__terminate_func): Remove
5732 (__terminate_func_ptr): New typedef.
5733 (__terminate, __terminate_set_func): New extern function
5735 (std::terminate): Use __terminate function.
5736 (std::set_terminate): Use __terminate_set_func function.
5738 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
5740 * configure.target: Just use os_include_dir always.
5741 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
5742 Link atomicity files and ctype files here.
5743 * configure: Regenerate.
5744 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
5745 (GLIBCPP_ENABLE_ATOMICITY): Remove.
5746 * aclocal.m4: Regenerate.
5748 2001-01-23 Chris Demetriou <cgd@broadcom.com>
5750 * configure.in: Place definition of MULTISUBDIR in
5751 libsupc++/Makefile as is done for src/Makefile.
5752 * configure: Regenerate.
5754 2001-01-23 Phil Edwards <pme@sources.redhat.com>
5756 * acinclude.m4: Cosmetic changes only.
5757 * aclocal.m4: Regenerated.
5758 * configure: Regenerated.
5759 * configure.target: Update documented list of changed variables.
5760 * docs/html/install.html: Fix typo.
5761 * docs/html/20_util/howto.html: More notes on auto_ptr.
5762 * docs/html/27_io/howto.html: More notes on streabufs.
5763 * docs/html/faq/index.html: Add rel_ops problem and mention the
5764 DEC as(1) .subsection difficulty.
5765 * docs/html/faq/index.txt: Regenerated.
5767 2001-01-23 Mark Mitchell <mark@codesourcery.com>
5769 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
5770 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
5771 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
5772 its already provided in config.target.
5773 * aclocal.m4: Regenerated.
5774 * configure: Likewise.
5775 * configure.target: Set ctype_include_dir for lots of systems.
5776 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
5777 * libsupc++/Makefile.in: Regenerated.
5779 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
5781 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
5784 * testsuite/README: Add comment.
5786 2001-01-21 Phil Edwards <pme@sources.redhat.com>
5788 * docs/html/configopts.html: Update for current status. Fix HTML.
5789 * docs/html/install.html: Update for current status.
5791 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5793 * testsuite/libstdc++.tests/tests.exp: New file.
5794 * testsuite/lib/libstdc++.exp: Itou.
5795 * testsuite/README: Itou.
5797 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
5799 * tests_flags.in: Just output the bare minimum to run tests.
5800 Let's the caller do its own arrangement.
5802 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
5805 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
5807 * testsuite/17_intro: Prepare testcases for new style DejaGnu
5810 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
5812 * testsuite/libstdc++.tests, testsuite/lib: New directories.
5814 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
5816 * mkcheck.in: Construct file names that match $objdir structure.
5817 * testsuite/27_io/filebuf_members-1.txt: New file.
5818 * testsuite/27_io/ifstream_members-1.txt: New file.
5819 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
5821 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
5822 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
5824 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5826 * testsuite/27_io/istream_sentry.cc (test02): Fix.
5828 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
5831 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
5832 * src/ios.cc (ios_base::failure): Make definitions match.
5833 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
5834 (class bad_cast): Same.
5835 * libsupc++/exception (class exception): Add throw specs.
5836 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
5837 (set_unexpected): Same.
5838 (uncaught_exception): Same.
5841 * docs/html/17_intro/C++STYLE (classname): Fix.
5843 2001-01-16 Mark Mitchell <mark@codesourcery.com>
5845 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
5846 Use it do explicitly instantiate predicate<T> and value<T> for
5849 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
5851 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
5852 uninitialized thinko in last change.
5854 2001-01-16 Mark Mitchell <mark@codesourcery.com>
5856 * libsupc++/exception_support.cc (__cp_pop_exception): Change
5859 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
5861 * docs/html/17_intro/C++STYLE (classname): Add more existing
5862 and stylish patterns.
5865 * include/bits/istream.tcc (istream::sentry::sentry()): Set
5866 failbit if the state of the stream is not good.
5867 * testsuite/27_io/istream_sentry.cc (test02): Add test.
5868 * testsuite/27_io/istream_manip.cc (test01): Modify.
5871 reported by Paolo Carlini <pcarlini@unitus.it>
5872 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
5873 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
5876 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
5877 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
5878 (xsgetn): Same. Simplify.
5879 * testsuite/27_io/streambuf.cc (test04): Add testcases.
5881 reported by Larry Evans <jcampbell3@prodigy.net>
5882 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
5883 equality with eof on returned value from overflow.
5885 2001-01-14 Andreas Jaeger <aj@suse.de>
5887 * libio/libio.h: Add test for glibc 2.0.
5889 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
5891 * config/os/djgpp/bits/*: Fix dates.
5893 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
5894 _CharT* __end, _CharT __c): Remove.
5895 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
5896 * include/bits/char_traits.h: Tweak.
5898 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
5900 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
5901 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
5903 * aclocal.m4: regenerated.
5904 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
5905 * configure: regenerated.
5906 * config/os/djgpp, config/os/djgpp/bits: new directories.
5907 * config/os/djgpp/bits/ctype_base.h,
5908 config/os/djgpp/bits/ctype_inline.h,
5909 config/os/djgpp/bits/ctype_noninline.h,
5910 config/os/djgpp/bits/os_defines.h: new files.
5912 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
5914 * include/c_std/bits/std_cstdio.h: Undef printf.
5916 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
5918 * src/ios.cc: Fix typo: change cout->wcout.
5920 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
5921 * src/Makefile.in: Regenerate.
5923 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5925 * include/bits/std_complex.h: Fix a typo.
5927 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
5930 Fixes for libstdc++/1576
5931 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
5932 file, move contents into....
5933 * src/ios.cc: ...Here. Put defines for iostreams objects and
5934 initialization routines into one file to simplify DSO interaction.
5935 * include/bits/std_iostream.h: Touch.
5936 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
5937 * src/Makefile.am (sources): Remove stdstreams.cc.
5938 * src/Makefile.in: Regenerate.
5940 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5942 * tests_flags.in (check_directory): Fix typo.
5944 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5946 * include/bits/std_complex.h: Fix a typo.
5948 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
5950 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
5951 code path:) Remove magic constants and restructure to handle
5952 ctype.h bit mask layout changes more gracefully. (Make fast
5953 code path:) Use __maskrune (), if available.
5954 (is): Remove special case for digit and xdigit masks.
5956 2001-01-09 Robert Lipe <robertlipe@usa.net>
5958 * include/c_std/bits/std_ctime.h: Undefine difftime.
5960 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
5962 * src/gen-num-limits.cc (signal_adapter): New template function.
5963 (signal_handler): Use it, instead of signal.
5964 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
5965 require both tests to trap to set trap_flag.
5967 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
5969 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
5970 initialize mbstate_t member, name offset data members *off, not pos.
5971 * include/bits/fstream.tcc (filebuf::filebuf): Same.
5973 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
5975 reported by Chris G. Demetriou <cgd@sibyte.com>
5976 * configure.in: Change -linux-* to -linux*.
5977 * configure: Regenerate.
5979 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
5981 Fix 27_io/filebuf_members.cc
5982 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
5983 const string& __name, category __cat, size_t __refs): Set
5984 _M_has_name with _M_name.
5985 * include/bits/localefwd.h (locale::operator!=): Protect member
5986 function call with this->.
5987 * src/locale.cc (locale::operator==): Make fast checks first.
5988 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
5990 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
5992 * src/ios.cc (ios_base::Init::Init): Initialize here.
5993 (ios_base::sync_with_stdio): Set here.
5995 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
5997 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
5998 systems that support it, call dup() before fdopen().
6000 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
6002 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
6003 * testsuite/17_intro/header_cwctype.cc (main): New file.
6005 * src/Makefile.am (base_headers): Change.
6006 * include/bits/std_string.h: And here.
6007 * include/bits/string.tcc: Tweaks, move to...
6008 * include/bits/basic_string.tcc: ...Here.
6009 * src/string-inst.cc: Simplify, just instantiate the whole class,
6010 not member-by-member.
6012 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
6014 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
6015 * aclocal.m4: Regenerate.
6016 * configure: Regenerate.
6018 * include/bits/c++config (__GLIBCPP__): Bump version number.
6020 * ChangeLog: Start new log for year 2001
6021 * ChangeLog-2000: New file.
6023 * docs/html/configopts.html: Make sure default values are current,
6026 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
6028 * include/c_std/bits/std_cwchar.h: Same.
6029 * testsuite/17_intro/header_cwchar.cc: Same.
6030 * include/c_std/bits/std_ctime.h: Same.
6031 * testsuite/17_intro/header_ctime.cc: Same.
6032 * include/c_std/bits/std_cstdlib.h: Same.
6033 Clean up undefs, make consistent with cwchar and cmath, etc.
6034 * testsuite/17_intro/header_cstdlib.cc: Same.
6035 * include/c_std/bits/std_cstdio.h: Same here.
6036 * testsuite/17_intro/header_cstring.cc: Same.
6037 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
6038 * testsuite/17_intro/header_cstring.cc: New file. Check for
6039 size_t in namespace std.
6041 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
6042 * acconfig.h (HAVE_MBSTATE_T): Add.
6043 * config.h.in: Regenerate.
6044 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
6046 * aclocal.m4: Regenerate.
6047 * configure: Regenerate.
6048 * testsuite/17_intro/headers_c++.cc: New file.
6049 * testsuite/17_intro/headers_c.cc: Small changes.
6051 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
6053 * tests_flags.in: Fix typo in usage.
6055 * tests_flags.in: Set target specific LIBS for cygwin.