1 2001-12-29 Richard Henderson <rth@redhat.com>
3 * config/os/hpux/bits/os_defines.h: Don't define __glibcpp_long_bits.
4 * config/os/hpux/bits/cpu_limits.h: New file.
5 * configure.target (CPULIMITSH): Use it.
7 2001-12-28 Richard Henderson <rth@redhat.com>
9 * config/cpu/ia64/bits/cpu_limits.h: New file.
10 * config/os/osf/osf5.0/bits/cpu_limits.h: New file.
11 * configure.target (CPULIMITSH): Use them.
13 2001-12-28 Phil Edwards <pme@gcc.gnu.org>
15 * include/bits/c++config: Move doxygen hook comment...
16 * docs/doxygen/doxygroups.cc: ...to here.
18 2001-12-28 Phil Edwards <pme@gcc.gnu.org>
21 * include/bits/stl_algo.h (lower_bound): Relax concept checks.
22 * testsuite/ext/concept_checks.cc: New file.
24 2001-12-28 Paolo Carlini <pcarlini@unitus.it>
26 * include/bits/stl_algo.h (count returning void,
27 count_if returning void, __random_sample, random_sample,
28 random_sample_n, __is_heap, is_heap, is_sorted): Move to...
29 * include/ext/algorithm: ...here, new file.
30 * include/Makefile.am (ext_headers): Add new file.
31 * include/Makefile.in: Regenerate.
32 * testsuite/ext/headers.cc: Include <ext/algorithm>.
34 2001-12-28 Paolo Carlini <pcarlini@unitus.it>
35 Nathan Myers <ncm@cantrip.org>
37 * include/bits/basic_string.h (insert(__pos, __s, __n)):
38 Optimize by avoiding temporaries and working in-place when possible.
39 (insert(__pos1, __str)): Call insert(__pos1, __str, __pos2, __n).
40 (insert(__pos1, __str, __pos2, __n)): Call insert(__pos, __s, __n).
41 * testsuite/21_strings/insert.cc (test02): New testcases.
43 2001-12-27 Phil Edwards <pme@gcc.gnu.org>
45 * testsuite/testsuite_hooks.h (gnu_counting_struct): Add.
46 * testsuite/23_containers/deque_ctor.cc: New file.
48 2001-12-27 Paolo Carlini <pcarlini@unitus.it>
50 * include/bits/locale_facets.tcc (collate::do_transform):
51 Adjust implicit typename.
52 * config/locale/messages_members_generic.h (messages::open,
53 messages::do_open, messages::do_get): Adjust implicit typename.
54 * config/locale/messages_members_gnu.h (messages::open,
55 messages::do_open, messages::do_get): Adjust Implicit typename.
56 * config/locale/messages_members_ieee_1003.1-200x.h (messages::open,
57 messages::do_open, messages::do_get): Adjust implicit typename.
59 2001-12-27 Phil Edwards <pme@gcc.gnu.org>
62 * src/misc-inst.cc: Many additional I/O-related instantiations.
63 * testsuite/27_io/instantiations.cc: New file.
65 2001-12-26 Benjamin Kosnik <bkoz@waller.constant.com>
67 * testsuite/24_iterators/insert_iterator.cc (test02): Add.
68 * testsuite/24_iterators/front_insert_iterator.cc (test02): Add.
69 * testsuite/24_iterators/back_insert_iterator.cc (test02): Add.
70 * testsuite/24_iterators/reverse_iterator.cc (test02): Add.
72 * include/bits/stl_iterator.h (reverse_iterator): Uglify member
73 current to _M_current.
74 (back_insert_iterator): Uglify member container to _M_container.
75 (front_insert_iterator): Same.
76 (insert_iterator): Same.
78 2001-12-25 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
80 * include/bits/std_limits.h (__glibcpp_xxx_is_modulo): New
81 macros for signed types; default value is true.
82 (numeric_limits<>::is_modulo): Get value from corresponding
83 __glibcpp_xxx_is_modulo macro.
85 2001-12-23 Jeffrey A Law <law@redhat.com>
87 * config/os/hpux/bits/os_defines.h: Do not include <_sys/inttypes.h>.
88 Twiddle return types for strtoll and strtoull to avoid using
89 intmax_t and uintmax-t.
91 2001-12-22 Richard Henderson <rth@redhat.com>
93 * configure.target (CPULIMITSH): Fix typo in alpha case.
95 2001-12-22 Jeffrey A Law <law@redhat.com>
97 * config/os/hpux/bits/os_defines.h: Update to avoid #defines
98 for strtoll and strtoull.
100 2001-12-21 Jeffrey A Law <law@redhat.com>
102 * config/os/hpux/bits/os_defines.h: Include <sys/_inttypes.h.
103 Define strtoll and strtoull. Provide prototypes for
104 __strtoll and __strtoull. Define _GLIBCPP_USE_LONG_LONG
107 * src/locale-inst.cc: Include <bits/std_cstdlib.h>
109 * configure.target: Fix typo in hpux case.
111 2001-12-21 Paolo Carlini <pcarlini@unitus.it>
113 * include/ext/stl_rope.h (_Rope_iterator):
114 Add local typedef to fix implicit typename problems.
116 2001-12-19 Phil Edwards <pme@gcc.gnu.org>
118 * docs/doxygen/Intro.3: New 'Allocators' module.
119 * docs/doxygen/TODO: Update.
120 * docs/doxygen/doxygroups.cc: Update.
121 * docs/doxygen/run_doxygen: Update.
123 * include/bits/stl_alloc.h: Tweak doxygen hooks in comments.
124 * include/bits/std_memory.h: Doxygenate.
125 * include/bits/stl_iterator_base_types.h: Likewise.
126 * include/bits/stl_raw_storage_iter.h: Likewise.
127 * include/bits/stl_tempbuf.h: Likewise.
128 (get_temporary_buffer): Remove unused nonstandard overload.
129 * include/bits/stl_uninitialized.h: Likewise.
131 * include/bits/stl_iterator_base_types.h (input_iterator,
132 output_iterator, forward_iterator, bidirectional_iterator,
133 random_access_iterator): Move old names...
134 * include/backward/iterator.h: ...to here.
135 * include/bits/stl_bvector.h: Update.
136 * include/ext/stl_rope.h: Update.
138 2001-12-19 Phil Edwards <pme@gcc.gnu.org>
140 * docs/html/configopts.html: Describe recent options.
141 * docs/html/documentation.html: Point to new doxygen tarballs.
142 * docs/html/install.html: Brief updates.
143 * docs/html/17_intro/RELEASE-NOTES: Remove weird control character.
144 * docs/html/ext/howto.html: Fix typos, describe filebuf::fd().
145 * docs/html/faq/index.html: Update for 3.0.95.
146 * docs/html/faq/index.txt: Regenerate.
148 2001-12-19 David Billinghurst <David.Billinghurst@riotinto.com>
151 * testsuite/lib/libstdc++-v3-dg.exp: Append .exe to
154 2001-12-18 Benjamin Kosnik <bkoz@redhat.com>
156 * docs/html/17_intro/TODO: Update.
157 * docs/html/17_intro/RELEASE-NOTES: Edits, update.
158 * README: Edit for clarity, update to reflect current directory
161 2001-12-18 Benjamin Kosnik <bkoz@redhat.com>
163 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Extended checking before
165 * aclocal.m4: Rebuild.
166 * configure: Rebuild.
168 2001-12-18 Paolo Carlini <pcarlini@unitus.it>
169 Nathan Myers <ncm@cantrip.org>
171 * include/bits/basic_string.h (assign(__str, __pos, __n)):
172 Call assign(__s, __n).
173 (assign(__s, __n)): Terminate the string with _S_terminal.
175 2001-12-17 Benjamin Kosnik <bkoz@redhat.com>
177 * include/bits/std_limits.h (__glibcpp_long_double_is_bounded):
178 Set to true, like float and double.
180 2001-12-17 David Billinghurst <David.Billinghurst@riotinto.com>
183 * testsuite/lib/prune.exp: New file
184 * testsuite/lib/libstdc++-v3-dg.exp: Use it
186 2001-12-17 Phil Edwards <pme@gcc.gnu.org>
188 * include/bits/basic_file.h (__basic_file::fd): New function.
189 * config/io/basic_file_stdio.h (__basic_file::fd): Define.
190 * include/bits/std_fstream.h (basic_filebuf::fd): New function.
191 * include/bits/fstream.tcc (basic_filebuf::fd): Define.
192 * testsuite/27_io/filebuf_members.cc (test_02): New test.
194 2001-12-16 Nathan Sidwell <nathan@codesourcery.com>
196 * po/Makefile.am (.po.mo): Use POSIXLY_CORRECT argument ordering.
197 * po/Makefile.in: Regenerated.
199 2001-12-16 Paolo Carlini <pcarlini@unitus.it>
201 * testsuite/21_strings/assign.cc (test01): Add tests.
203 2001-12-15 Paolo Carlini <pcarlini@unitus.it>
204 Nathan Myers <ncm@cantrip.org>
206 * include/bits/basic_string.h
207 (assign(__str, __pos, __n), assign(__s, __n)): Optimize
208 by avoiding unnecessary temporaries.
209 (assign(__s)): Call assign(__s, __n).
210 * include/bits/basic_string.tcc (_M_replace_safe): Adjust comment.
211 * include/bits/std_string.h: include stl_function.h.
212 * testsuite/21_strings/assign.cc (test02, test03): New tests.
214 2001-12-15 Benjamin Kosnik <bkoz@redhat.com>
216 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Enable gnu locale model
218 * aclocal.m4: Regenerate.
219 * configure: Regenerate.
221 2001-12-14 Benjamin Kosnik <bkoz@redhat.com>
223 Clean up initialization and simplfy caching of underlying "C"
224 default locale objects.
225 * src/localename.cc (locale::_Impl::_Impl(string, size_t):
226 Unconditionally create __clocale object for all named locales,
227 including "C" and "POSIX".
228 * config/locale/c_locale_generic.cc
229 (locale::facet::_S_create_c_locale): Always set __cloc to zero.
230 * config/locale/c_locale_gnu.cc: Always delete.
231 * include/bits/localefwd.h (locale::facet::_S_c_locale): New.
232 * src/locale.cc (locale::classic()): Initialize
233 locale::facet::_S_c_locale.
234 (locale::facet::_S_c_locale): Define.
236 * include/bits/locale_facets.h: Add ctype_byname<wchar_t> ctor
238 * src/locale.cc: Add definition here.
239 * config/os/gnu-linux/bits/ctype_inline.h: Tweak.
240 * config/os/gnu-linux/bits/ctype_noninline.h: Adjust initializations.
241 * include/bits/locale_facets.h (ctype<char>::_M_c_locale_ctype): Add.
243 (ctype<char>::_M_toupper): Remove const&.
244 (ctype<char>::_M_tolower): Remove const&.
245 (ctype<char>::_M_ctable): Remove const&.
247 * include/bits/locale_facets.h (collate): Clean up initialization
248 of _M_c_locale_collate in ctors and dtors.
249 * config/locale/collate_members_gnu.cc: Always use extended
252 * include/bits/locale_facets.h (messages): Clean up inits in ctor/dtor.
253 (messages_byname): Same.
254 * config/locale/messages_members_generic.h (messages::~messages):
256 * config/locale/messages_members_gnu.h: Same.
258 * include/bits/localefwd.h: Clean. Move dtor definitions to
259 * src/locale.cc: Here.
260 * testsuite/22_locale/facet.cc: Fix spelling.
262 Named locale support for ctype<wchar_t>.
263 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add variable
264 ctype_members_* bits.
265 * aclocal.m4: Regenerate.
266 * configure: Regenerate.
267 * src/Makefile.am (sources): Add ctype.cc.
268 * src/Makefile.in: Regenerate.
269 * config/locale/ctype_members_generic.cc: New file.
270 * config/locale/ctype_members_gnu.cc: New file.
271 * src/locale.cc: Remove ctype<wchart_t> definitions.
273 2001-12-13 Roger Sayle <roger@eyesopen.com>
275 * acconfig.h: Test for __builtin_sqrt instead of
277 * acinclude.m4: Same.
278 * include/c_shadow/bits/std_cmath.h: Same.
279 * aclocal.m4: Regenerated.
280 * config.h.in: Regenerated.
281 * configure: Regenerated.
283 2001-12-13 Phil Edwards <pme@gcc.gnu.org>
285 * docs/html/ext/howto.html: Fix typos.
287 2001-12-13 Benjamin Kosnik <bkoz@redhat.com>
290 * src/locale.cc (locale::locale(const char*)): Deal with locales
292 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Modify.
294 2001-12-12 Paolo Carlini <pcarlini@unitus.it>
296 * include/ext/ropeimpl.h (rope::_S_leaf_concat_char_iter,
297 _S_destr_leaf_concat_char_iter, _S_tree_concat, _S_concat_char_iter,
298 _S_destr_concat_char_iter, _S_concat, _S_substring, _S_balance)
299 : Adjust implicit typename.
300 * include/ext/stl_rope.h (_Rope_iterator::operator=, rope::npos):
301 Adjust implicit typename.
302 * testsuite/27_io/streambuf.cc: Adjust implicit typename.
304 2001-12-12 Benjamin Kosnik <bkoz@redhat.com>
306 Named locale support for ctype<char>.
307 * config/locale/c_locale_gnu.h (_GLIBCPP_C_LOCALE_GNU): New.
308 * config/os/gnu-linux/bits/ctype_noninline.h (ctype<char>): Add
309 definitions for alternate constructor.
310 * config/os/solaris/solaris2.7/bits/ctype_noninline.h (ctype): Same.
311 * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
312 * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
313 * config/os/newlib/bits/ctype_noninline.h (ctype): Same.
314 * config/os/irix/irix6.5/bits/ctype_noninline.h (ctype): Same.
315 * config/os/irix/irix5.2/bits/ctype_noninline.h (ctype): Same.
316 * config/os/hpux/bits/ctype_noninline.h (ctype): Same.
317 * config/os/generic/bits/ctype_noninline.h (ctype): Same.
318 * config/os/djgpp/bits/ctype_noninline.h (ctype): Same.
319 * config/os/bsd/netbsd/bits/ctype_noninline.h (ctype): Same.
320 * config/os/bsd/freebsd/bits/ctype_noninline.h (ctype): Same.
321 * config/os/aix/bits/ctype_noninline.h (ctype): Same.
322 * include/bits/locale_facets.h (ctype<_CharT>): Remove dummy
323 definitions for all virtual functions. These are now explicitly
324 undefined for non-required factets, ie any non-char, non-wchar_t
326 * src/localename.cc (locale::_Impl::_Impl(string, size_t): Named
327 locales use alternate constructor for ctype facet.
328 * include/bits/locale_facets.h (ctype<char>::ctype(__c_locale, const
329 mask*, bool, size_t): Add.
330 (ctype<wchar_t>::ctype(__c_locale, size_t): Add.
331 * src/locale.cc (ctype<wchar_t>::ctype(__c_locale, size_t)): Add
334 * testsuite/22_locale/ctype_members_char.cc (test02): Add, mark
335 XFAIL for non-gnu locale models.
337 2001-12-12 Philip Martin <philip@codematters.co.uk>
338 Ross Smith <r-smith@ihug.co.nz>
339 Paolo Carlini <pcarlini@unitus.it>
342 * include/bits/std_limits.h (defines, numeric_limits<bool>::digits10):
343 Fix digits10 values for integral types.
344 * include/bits/locale_facets.tcc (num_get::do_get for integral types):
345 Tweak _M_extract_int call.
346 * testsuite/27_io/istream_extractor_arith.cc (test13, test12_aux):
347 Tweak overflowing number of digits.
348 * testsuite/18_support/numeric_limits.cc (test03): New testcase.
350 2001-12-11 Benjamin Kosnik <bkoz@redhat.com>
352 * config/os/generic/bits/ctype_inline.h: Remove spaces.
353 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
354 * include/bits/locale_facets.h (__num_base): Move double data
355 members to first in class.
356 * include/bits/locale_facets.tcc: Re-arrange, tweak.
357 * src/locale.cc: Clean.
358 *include/bits/stl_vector.h: Space typedefs.
360 2001-12-11 Phil Edwards <pme@gcc.gnu.org>
362 * testsuite/ext/allocators.cc: New file.
364 2001-12-11 Jason Merrill <jason@redhat.com>
366 * include/bits/locale_facets.tcc (_M_extract_int): Avoid
367 uninitialized warning.
369 2001-12-11 Loren Rittle <ljrittle@acm.org>
371 * config/cpu/sparc/sparc32/bits/atomicity.h
372 (__Atomicity_lock<0>::_S_atomicity_lock): Add.
374 2001-12-10 Paolo Carlini <pcarlini@unitus.it>
376 * include/bits/basic_string.tcc (_M_replace_safe): Fix typos.
377 * include/bits/basic_string.h: Fix typos.
379 2001-12-10 Paolo Carlini <pcarlini@unitus.it>
380 Nathan Myers <ncm@cantrip.org>
382 * include/bits/basic_string.tcc (_M_replace_safe): New function.
383 (_M_replace(input_iterator_tag), append members): Use it.
384 (_M_replace(forward_iterator_tag)): Remove.
385 * include/bits/basic_string.h: Adjust declarations.
386 * src/string-inst.cc: Adjust declarations.
388 2001-12-09 Benjamin Kosnik <bkoz@redhat.com>
389 Philip Martin <pmartin@uklinux.net>
391 * include/bits/locale_facets.h (__num_base::_S_scale_hex): Add.
392 (__num_base::_S_scale_oct): Add.
393 * include/bits/locale_facets.tcc (_M_extract_int): Use them.
394 * src/locale.cc: Add definitions.
395 * testsuite/27_io/istream_extractor_arith.cc (main): Call test13.
397 * testsuite/testsuite_hooks.h: Remove duplicate VERIFY define.
399 2001-12-07 Nathan Myers <ncm@cantrip.org>
400 Loren Rittle <ljrittle@acm.org>
403 * config/cpu/sparc/sparc32/bits/atomicity.h
404 (struct __Atomicity_lock<__inst>): Add.
405 (__Atomicity_lock<__inst>::_S_atomicity_lock): Add.
406 (__exchange_and_add): Use __Atomicity_lock<0>::_S_atomicity_lock
407 instead of lock local to static function.
408 (__atomic_add): Likewise.
410 2001-12-07 Phil Edwards <pme@gcc.gnu.org>
412 * src/globals.cc: Remove __GTHREADS guard.
414 2001-12-07 Paolo Carlini <pcarlini@unitus.it>
416 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
417 Extend comment, reduce __cs_size for non-fixed outputs.
419 2001-12-07 Paolo Carlini <pcarlini@unitus.it>
421 * include/bits/basic_string.tcc (_M_mutate): Fix typo
422 in the previous check in.
424 2001-12-06 Paolo Carlini <pcarlini@unitus.it>
425 Loren J. Rittle <ljrittle@acm.org>
427 * include/bits/basic_string.tcc (_M_mutate, _M_clone): Implement
428 exponential growth policy to meet linear amortized time
429 requirements of the standard.
430 (_S_create): Adjust comment.
432 2001-12-06 Benjamin Kosnik <bkoz@redhat.com>
435 * include/bits/locale_facets.tcc (num_put): Clean.
436 (num_get::_M_extract_float): Change argument to string.
437 (num_get::do_get(float)): Fixup.
438 (num_get::do_get(double)): Same.
439 (num_get::do_get(long double)): Same.
440 (num_get::_M_extract_int): Add maximum length parameter, __max.
441 (num_get::_M_extract_float): Correct zeros, use string.
442 * include/bits/locale_facets.h (num_get::_M_extract_float): Change
444 * src/locale.cc (__num_base::_S_atoms): Remove x, X.
445 * testsuite/27_io/istream_extractor_arith.cc (test13): Add.
447 2001-12-06 Philip Martin <pmartin@uklinux.net>
449 * testsuite/27_io/istream_extractor_arith.cc (test12): Add
450 tests for excess input digits.
452 2001-12-06 Phil Edwards <pme@gcc.gnu.org>
454 * include/bits/std_bitset.h: Use GLIBCPP in multiple-inclusion guard.
455 * include/bits/stl_algo.h: Likewise.
456 * include/bits/stl_algobase.h: Likewise.
457 * include/bits/stl_bvector.h: Likewise.
458 * include/bits/stl_deque.h: Likewise.
459 * include/bits/stl_function.h: Likewise.
460 * include/bits/stl_iterator.h: Likewise.
461 * include/bits/stl_iterator_base_funcs.h: Likewise.
462 * include/bits/stl_iterator_base_types.h: Likewise.
463 * include/bits/stl_list.h: Likewise.
464 * include/bits/stl_multimap.h: Likewise.
465 * include/bits/stl_multiset.h: Likewise.
466 * include/bits/stl_pair.h: Likewise.
467 * include/bits/stl_queue.h: Likewise.
468 * include/bits/stl_set.h: Likewise.
469 * include/bits/stl_stack.h: Likewise.
470 * include/bits/stl_tempbuf.h: Likewise.
471 * include/bits/stl_tree.h: Likewise.
472 * include/bits/stl_vector.h: Likewise.
474 * include/bits/stl_alloc.h: Use our own multiple inclusion guards.
475 Doxygenate more comments. Correct historical artifacts in comments.
476 (alloc, single_alloc): Uglify non-standard names.
477 (__default_alloc_template::_NFREELISTS): Calculate from other
479 (__default_alloc_template::_S_free_list): Remove SunPro workaround.
480 (__default_alloc_template::_Lock): Mark as "unused".
481 * include/backward/alloc.h: Update.
482 * include/bits/stl_bvector.h: Likewise.
483 * include/ext/ropeimpl.h: Likewise.
484 * include/ext/stl_hashtable.h: Likewise.
486 2001-12-05 Benjamin Kosnik <bkoz@redhat.com>
489 * include/bits/locale_facets.tcc (num_put::_M_widen_float): Add
490 grouping to floating point types.
491 * testsuite/27_io/ostream_inserter_arith.cc (test02): Add test.
493 2001-12-04 Paolo Carlini <pcarlini@unitus.it>
496 * testsuite/27_io/ostream_inserter_arith.cc (test02): Add testcase
498 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
499 Deal properly with long ios_base::fixed floats.
500 (num_put::_M_widen_float): use
501 __len in __builtin_alloca call.
503 2001-12-04 Benjamin Kosnik <bkoz@redhat.com>
505 * src/Makefile.am (sources): Add ext-inst.cc.
506 * src/Makefile.in: Regenerate.
507 * src/ext-inst.cc: New file.
508 * include/bits/stl_threads.h: Format.
509 * src/globals.cc: Add instantiation for _S_swap_lock.
511 * testsuite/18_support/numeric_limits.cc: Add numeric_limits<B>
514 2001-12-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
516 * testsuite/22_locale/numpunct_members_wchar_t.cc: Only compile
517 and execute test01 if _GLIBCPP_USE_WCHAR_T is defined.
518 * testsuite/26_numerics/complex_inserters_extractors.cc: Provide
519 for explicit instantiation of class std::basic_string<char,
520 gnu_char_traits, std::allocator<char> >.
522 2001-12-03 Benjamin Kosnik <bkoz@redhat.com>
524 * testsuite/22_locale/collate.cc: Compile-only.
525 * testsuite/22_locale/time_get.cc: Same.
526 * testsuite/22_locale/time_put.cc: Same.
527 * testsuite/22_locale/numpunct.cc: Same.
528 * testsuite/22_locale/num_put.cc: Same.
529 * testsuite/22_locale/num_get.cc: Same.
530 * testsuite/22_locale/moneypunct.cc: Same.
531 * testsuite/22_locale/money_get.cc: Same.
532 * testsuite/22_locale/messages.cc: Same.
533 * testsuite/22_locale/ctype.cc: Same.
535 2001-12-03 Benjamin Kosnik <bkoz@redhat.com>
537 * src/string-inst.cc (string::_Rep::_S_terminal): Add static data
538 member instantiations.
540 2001-12-03 Steve Ellcey <sje@cup.hp.com>
542 * libstdc++-v3/configure.in: Add support for hpux cross compiles,
543 combine common linux/hpux/generic cross compile support to reduce
545 * libstdc++-v3/configure: Regenerate.
547 2001-12-03 Loren J. Rittle <ljrittle@acm.org>
549 * docs/html/ext/howto.html: Update commentary.
550 * include/bits/c++config: Update threading configuration comment.
551 (__STL_GTHREADS): Remove macro definition.
552 (__STL_THREADS): Likewise.
553 * include/bits/stl_threads.h: Leave only the configuration
554 path which had been guarded by __STL_GTHREADS. Remove all
555 guards related to __STL_GTHREADS, __STL_SGI_THREADS,
556 __STL_PTHREADS, __STL_UITHREADS and __STL_WIN32THREADS.
557 * include/bits/stl_alloc.h: Leave only the configuration path
558 which had been guarded by __STL_THREADS. Remove configuration
559 path and guards for __STL_SGI_THREADS.
560 (__NODE_ALLOCATOR_THREADS): Remove macro definition. Unroll its use.
561 (__NODE_ALLOCATOR_LOCK): Likewise.
562 (__NODE_ALLOCATOR_UNLOCK): Likewise.
563 (_NOTHREADS): Remove guards related to macro.
564 * include/ext/stl_rope.h: Remove configuration path and guards
565 for __STL_SGI_THREADS.
566 * src/stl-inst.cc: Remove use of __NODE_ALLOCATOR_THREADS.
568 2001-12-02 Phil Edwards <pme@gcc.gnu.org>
570 * docs/html/ext/howto.html: Update list of implemented DRs.
571 * docs/html/ext/lwg-active.html: Import R20 from upstream.
572 * docs/html/ext/lwg-defects.html: Import R20 from upstream.
574 2001-11-30 Benjamin Kosnik <bkoz@redhat.com>
578 * libsupc++/exception (bad_exception::~bad_exception()): Remove
580 * libsupc++/new (bad_alloc::~bad_alloc()): Remove.
581 * libsupc++/typeinfo (bad_cast::~bad_cast()): Remove.
582 (bad_typeid::~bad_typeid()): Remove.
583 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Remove definition.
584 (bad_typeid::~bad_typeid()): Same.
585 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
586 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()): Same.
588 * include/bits/std_iomanip.h: Tweak.
590 2001-11-29 Paolo Carlini <pcarlini@unitus.it>
593 * include/bits/locale_facets.tcc (__pad): Add bool parameter to
594 correctly pad internal-adjusted const char*-type objects.
595 * include/bits/locale_facts.tcc (num_put::_M_insert): Update call.
596 * include/bits/ostream.tcc (operator<<(_CharT , char, const
597 _CharT*, const char*, const basic_string&): Update calls.
598 * src/locale-inst.tcc: Update declarations.
599 * testsuite/27_io/ostream_inserter_arith.cc (test04): Add test.
601 2001-11-29 Phil Edwards <pme@gcc.gnu.org>
603 * docs/html/ext/howto.html: Finish allocator notes (inst and 3.0).
605 2001-11-29 Benjamin Kosnik <bkoz@redhat.com>
607 * include/bits/locale_facets.tcc (num_get::do_get(long double)):
608 Fix __traits_type typo.
610 2001-11-28 Paolo Carlini <pcarlini@unitus.it>
612 * include/bits/locale_facets.tcc (__pad): Correctly pad
613 internal-adjusted hex numbers.
614 * testsuite/27_io/ostream_inserter_arith.cc: Add testcase.
616 2001-11-28 Paolo Carlini <pcarlini@unitus.it>
617 Loren J. Rittle <ljrittle@acm.org>
619 * include/bits/basic_string.h
620 (basic_string::_Rep::__default_excess, _S_excess_slop):
622 * include/bits/basic_string.tcc: Remove dead code.
623 * include/bits/c++config: Remove comment.
625 2001-11-28 Benjamin Kosnik <bkoz@redhat.com>
626 Jakub Jelinek <jakub@redhat.com>
628 * config/locale/moneypunct_members_gnu.cc
629 (moneypunct<wchar_t>::_M_initialize_moneypunct): Correctly cast
631 * config/locale/numpunct_members_gnu.cc
632 (numpunct<wchar_t>::_M_initialize_numpunct): Same.
634 2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
636 * include/bits/locale_facets.tcc: Formatting tweaks.
638 * testsuite/23_containers/map_operators.cc: Don't xfail.
639 * testsuite/23_containers/set_operators.cc: Same.
640 * testsuite/backward/header_iterator_h.cc: Pass in -Wno-deprecated.
641 * testsuite/backward/header_deque_h.cc: Same.
643 2001-11-27 Loren J. Rittle <ljrittle@acm.org>
644 Paolo Carlini <pcarlini@unitus.it>
646 * include/bits/basic_string.tcc (basic_string::_Rep::_S_create):
647 Enforce allocation size blocking policy to reduce
648 fragmentation and enhance performance with common malloc
651 2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
653 Numeric facets cleanup.
654 * include/bits/locale_facets.h (__num_base::_S_atoms): Add, remove
656 (__num_base::_M_zero): Add
657 (__num_base::_M_e): Add.
658 (__num_base::_M_E): Add.
659 * include/bits/locale_facets.tcc (num_get::_M_extract): Remove.
660 (num_get::_M_extract_float): New.
661 (num_get::_M_extract_int): New.
662 * src/locale.cc (num_get::_M_extract): Remove.
664 * include/bits/locale_facets.tcc (num_put::_M_insert_float):
665 Simplify, use _M_insert.
666 (num_put::do_put(bool)): Simplify, remove __pad.
668 (__pad_output): Change to __pad.
669 * include/bits/ostream.tcc: And here.
670 * src/locale-inst: Remove instantiations.
672 * include/bits/locale_facets.h: Move helper functions in to class
674 (num_put::_M_insert_float): Same, for __output_integer.
675 (num_put::_M_insert_int): Same, for __output_float.
676 (num_put::_M_insert): New.
678 (__num_base::_S_format_float): Move
679 __build_float_format into class __num_base.
680 (__num_base::_S_format_int): Move __build_int_format into class
682 * include/bits/locale_facets.tcc (__group_digits): Change to
683 (__add_grouping): This.
684 * src/locale-inst.cc: And here. Tweak instantiations.
685 * src/misc-inst.cc: Remove instantiations.
687 * include/bits/ostream.tcc (__pad_char): Rename, adjust inserters
688 for new calling conventions, move to...
689 * include/bits/locale_facets.tcc (__pad_output): Here. Adjust
690 signature to make it useful for both ostream and num_put.
691 (__pad_numeric): Remove.
692 * src/misc-inst.cc: Remove instantiations.
693 * src/locale-inst.cc: Same.
695 * include/bits/locale_facets.h (_Numeric_get): Remove.
696 (_Numeric_put): Remove.
697 (num_get::get(short)): Remove.
698 (num_get::get(int)): Remove.
699 (num_get::do_get(short)): Remove.
700 (num_get::do_get(int)): Remove.
701 * include/bits/istream.tcc (istream::operator>>(short)): Fix as
703 (istream::operator>>(int)): Same.
705 * include/bits/locale_facets.h (_Format_cache): Remove.
706 * include/bits/locale_facets.tcc: Same.
707 * src/locale.cc: Same.
708 * src/locale-inst.cc: Same.
709 * include/bits/ostream.tcc: Same.
710 * src/ios.cc (ios_base::imbue): Remove here as well.
712 * testsuite/22_locale/num_get.cc: New file.
713 * testsuite/22_locale/num_get_members_char.cc: New file.
714 * testsuite/22_locale/num_get_members_wchar_t.cc: New.
715 * testsuite/22_locale/numpunct_members_wchar_t.cc: New file.
716 * testsuite/22_locale/num_put.cc: New file.
717 * testsuite/22_locale/num_put_members_char.cc: New file.
718 * testsuite/22_locale/num_put_members_wchar_t.cc: New file.
719 * testsuite/27_io/ostream_inserter_arith.cc: Fix.
720 * testsuite/27_io/istream_extractor_arith.cc: Fix.
722 2001-11-27 Phil Edwards <pme@gcc.gnu.org>
724 * docs/html/explanations.html: New section, empty for now.
725 * docs/html/17_intro/howto.html: Cleanup. Move unrelated link...
726 * docs/html/23_containers/howto.html: ...to here. Break up and
727 rewrap threading discussion to emphasize warning. Move malloc text...
728 * docs/html/ext/howto.html: ...to here. New section. Describe
729 allocators and __USE_MALLOC effects.
730 * docs/html/ext/sgiexts.html: Mention their code.
732 2001-11-24 Joseph S. Myers <jsm28@cam.ac.uk>
734 * docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
735 docs/html/27_io/binary_iostreams_kuehl.txt: Revert previous
738 2001-11-23 Phil Edwards <pme@gcc.gnu.org>
740 * Makefile.am (doxygen-maint): The script isn't executable in CVS.
741 * Makefile.in: Regenerated.
742 * docs/doxygen/TODO: New file listing doxygen work to be done.
743 * docs/doxygen/run_doxygen: Fix up man pages.
744 * docs/doxygen/user.cfg.in: Insert maint-only toggles.
745 * docs/doxygen/maint.cfg.in: Copy from user.cfg and turn toggles on.
746 * include/bits/stl_construct.h: Use new hooks for internal functions.
748 * docs/html/17_intro/TODO: Small updates.
749 * docs/html/faq/index.html: Likewise.
750 * docs/html/faq/index.txt: Regenerated.
752 * include/bits/stl_alloc.h: Doxygenate, reindent comments, remove
753 SGI-isms and wrappers.
754 (simple_alloc, debug_alloc): Uglify class names.
755 (__default_alloc_template): Uglify "threads" template parameter and
756 update corresponding macros.
757 * include/backward/alloc.h: Bring up to date.
759 2001-11-23 Jason Merrill <jason@redhat.com>
761 * src/vterminate.cc (__verbose_terminate_handler): Add leading
764 2001-11-23 Joseph S. Myers <jsm28@cam.ac.uk>
766 * ChangeLog, docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
767 docs/doxygen/doxygroups.cc, docs/doxygen/Intro.3,
768 docs/html/17_intro/BUGS, docs/html/17_intro/C++STYLE,
769 docs/html/17_intro/CHECKLIST, docs/html/17_intro/DESIGN,
770 docs/html/17_intro/howto.html, docs/html/17_intro/porting.html,
771 docs/html/17_intro/porting.texi, docs/html/18_support/howto.html,
772 docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
773 docs/html/21_strings/howto.html,
774 docs/html/23_containers/howto.html,
775 docs/html/26_numerics/howto.html, docs/html/27_io/howto.html,
776 docs/html/27_io/binary_iostreams_kuehl.txt,
777 docs/html/ext/sgiexts.html, docs/html/faq/index.html,
778 docs/html/faq/index.txt, testsuite/24_iterators/iterator.cc,
779 include/bits/basic_file.h, include/bits/locale_facets.h,
780 include/bits/locale_facets.tcc, include/bits/std_sstream.h,
781 include/ext/ropeimpl.h, include/ext/stl_rope.h,
782 libsupc++/tinfo.cc, libsupc++/cxxabi.h, libsupc++/typeinfo,
783 libsupc++/eh_throw.cc, acinclude.m4, aclocal.m4, configure,
784 configure.target, ChangeLog-2000: Fix spelling errors.
786 * config/locale/moneypunct_members_gnu.cc,
787 include/bits/locale_facets.h: Fix spelling errors.
789 2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
791 * testsuite/23_containers/list_capacity.cc: New file.
792 * testsuite/23_containers/list_ctor.cc: New file.
793 * testsuite/23_containers/list_modifiers.cc: New file.
794 * testsuite/23_containers/list_operators.cc: New file.
796 2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
798 * include/bits/stl_list.h: Reformatted according to C++STYLE rules.
799 (size): Replaced nonstandard distance() call with the standard one.
800 (transfer): Uglified to _M_transfer.
802 2001-11-21 Paolo Carlini <pcarlini@unitus.it>
805 * include/bits/basic_string.tcc (basic_string::reserve): Never shrink
806 below the current size.
807 * testsuite/21_strings/capacity.cc (test02): Add test.
809 2001-11-19 Phil Edwards <pme@gcc.gnu.org>
811 * docs/doxygen/Intro.3: More notes.
812 * docs/doxygen/style.css: Update to default style from Doxygen 1.2.10.
813 * include/bits/stl_algobase.h: Add doxygen hooks for functions.
814 * include/ext/hash_map: Add @file hook.
815 * include/ext/hash_set: Likewise.
816 * include/ext/rope: Likewise.
817 * include/ext/ropeimpl.h: Likewise.
818 * include/ext/slist: Likewise.
819 * include/ext/stl_hash_fun.h: Likewise.
820 * include/ext/stl_hashtable.h: Likewise.
821 * include/ext/stl_rope.h: Likewise.
823 * docs/html/17_intro/license.html: Remove "experimental" sentence.
824 * docs/html/19_diagnostics/howto.html: Document new verbose
826 * testsuite/27_io/filebuf.cc: Fix comment, move tweakable parameter
827 to more visible (closer to description) position.
829 * libsupc++/eh_type.cc: Formatting tweak.
830 * libsupc++/exception: Likewise.
831 * src/vterminate.cc: Likewise.
833 * docs/html/17_intro/porting.html: Regenerate.
834 * docs/html/faq/index.txt: Regenerate.
836 2001-11-18 Jason Merrill <jason@redhat.com>
838 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Take void*.
839 * libsupc++/eh_catch.cc (__cxa_begin_catch): Likewise.
840 * libsupc++/unwind-cxx.h: Adjust.
841 * src/Makefile.am (strstream.o): Pass -Wno-deprecated.
843 * libsupc++/eh_type.cc (__cxa_current_exception_type): New file.
844 * libsupc++/cxxabi.h: Declare it.
845 * libsupc++/Makefile.am (sources): Add it.
846 * src/vterminate.cc (verbose_terminate_handler): New file.
847 * libsupc++/exception: Declare it.
848 * src/Makefile.am (sources): Add it.
850 * src/Makefile.am (VPATH): Check the src directory before the top one.
852 2001-11-16 Paolo Carlini <pcarlini@unitus.it>
854 * include/bits/stl_deque.h (deque::erase()): Fix memory leak.
856 2001-11-16 Loren J. Rittle <ljrittle@acm.org>
858 * docs/html/17_intro/howto.html (Thread-safety): Rename
859 section to ``The Standard C++ library and multithreading'' and
860 update information based on recent mailing list traffic. Move
861 all discussion of __USE_MALLOC to...
862 * docs/html/23_containers/howto.html (Containers and multithreading):
863 ...here and rework it based on recent mailing list traffic.
865 2001-11-15 Loren J. Rittle <ljrittle@acm.org>
867 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Clarify
870 2001-11-15 <bjornw@planetarion.com>
871 Loren J. Rittle <ljrittle@acm.org>
874 * include/bits/stl_alloc.h (alloc): Update to use __mem_interface.
875 (single_client_alloc): Likewise.
877 2001-11-08 Danny Smith <dannysmith@users.sourceforge.net>
879 * configure.target: Add os_include_dir for mingw32* target.
880 * docs/html/17_intro/porting.texi: Mention mingw32 as target benefiting
881 from _GLIBCPP_AVOID_FSEEK.
882 * config/os/mingw32/bits/ctype_base.h: New file.
883 * config/os/mingw32/bits/ctype_inline.h: New file.
884 * config/os/mingw32/bits/ctype_noninline.h: New file.
885 * config/os/mingw32/bits/os_defines.h: New file.
887 2001-11-07 Nathan Myers <ncm@cantrip.org>
889 * docs/html/faq/index.html (5.8): New entry on ABIs.
890 * docs/html/faq/index.txt: Regenerate.
892 2001-11-07 Phil Edwards <pme@gcc.gnu.org>
894 * docs/html/faq/index.html: Explain libsupc++, mention 'long long'
896 * docs/html/faq/index.txt: Regenerate.
898 2001-11-06 Phil Edwards <pme@gcc.gnu.org>
900 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Run the test in
902 * aclocal.m4: Regenerate.
903 * configure: Regenerate.
905 2001-11-05 Phil Edwards <pme@gcc.gnu.org>
907 * porting.texi: Move...
908 * docs/html/17_intro/porting.texi: ...to here.
909 * docs/html/Makefile: Add rule to rebuild...
910 * docs/html/17_intro/porting.html: ...this. New file.
912 2001-11-05 Felix Natter <fnatter@gmx.net>
914 * docs/html/17_intro/porting-howto.xml: check in v0.9.4
915 * docs/html/17_intro/porting-howto.html: regenerate
917 2001-11-02 Loren J. Rittle <ljrittle@acm.org>
919 * include/bits/stl_threads.h (_Atomic_swap): Only enable path
920 when platform supports __GTHREAD_MUTEX_INIT.
922 2001-11-02 Phil Edwards <pme@gcc.gnu.org>
924 * acconfig.h: Update comments.
925 * acinclude.m4 (GLIBCPP_ENABLE_C99): Move strtoll, strtoull tests...
926 (GLIBCPP_ENABLE_LONG_LONG): ...to here. Don't check enable_c99.
927 * aclocal.m4: Regenerate.
928 * config.h.in: Regenerate.
929 * configure: Regenerate.
931 * include/bits/boost_concept_check.h: Unconditionally compile uses
932 of 'long long' which require only compiler support, not C lib support.
933 * include/bits/cpp_type_traits.h: Likewise.
934 * include/bits/std_limits.h: Likewise.
935 * include/bits/type_traits.h: Likewise.
936 * src/concept-inst.cc: Likewise.
937 * src/limits.cc: Likewise.
938 * include/c_shadow/stdlib.h: Compile conditionally on _GLIBCPP_USE_C99
939 instead of _GLIBCPP_USE_LONG_LONG.
940 * include/c_shadow/bits/std_cstdlib.h: Likewise.
942 2001-11-02 Phil Edwards <pme@gcc.gnu.org>
944 * config/io/c_io_stdio.h: Correct grammar in comments.
945 * docs/doxygen/Intro.3: Expand "top-level" man page.
946 * docs/doxygen/doxygroups.cc: New module definitions (comments).
947 * docs/doxygen/mainpage.doxy: Tweaks.
948 * docs/doxygen/run_doxygen: Update Doxygen version, massage man pages.
950 Add @file hooks so that headers are considered to be documented.
951 * include/bits/basic_ios.h, include/bits/basic_file.h,
952 include/bits/basic_string.h, include/bits/boost_concept_check.h,
953 include/bits/char_traits.h, include/bits/codecvt.h,
954 include/bits/concept_check.h, include/bits/cpp_type_traits.h,
955 include/bits/fpos.h, include/bits/gslice.h, include/bits/gslice_array.h,
956 include/bits/indirect_array.h, include/bits/ios_base.h,
957 include/bits/locale_facets.h, include/bits/localefwd.h,
958 include/bits/mask_array.h, include/bits/pthread_allocimpl.h,
959 include/bits/slice.h, include/bits/slice_array.h,
960 include/bits/std_algorithm.h, include/bits/std_bitset.h,
961 include/bits/std_complex.h, include/bits/std_deque.h,
962 include/bits/std_fstream.h, include/bits/std_functional.h,
963 include/bits/std_iomanip.h, include/bits/std_ios.h,
964 include/bits/std_iosfwd.h, include/bits/std_iostream.h,
965 include/bits/std_istream.h, include/bits/std_iterator.h,
966 include/bits/std_limits.h, include/bits/std_list.h,
967 include/bits/std_locale.h, include/bits/std_map.h,
968 include/bits/std_memory.h, include/bits/std_numeric.h,
969 include/bits/std_ostream.h, include/bits/std_queue.h,
970 include/bits/std_set.h, include/bits/std_sstream.h,
971 include/bits/std_stack.h, include/bits/std_streambuf.h,
972 include/bits/std_string.h, include/bits/std_utility.h,
973 include/bits/std_valarray.h, include/bits/std_vector.h,
974 include/bits/stl_algo.h, include/bits/stl_alloc.h,
975 include/bits/stl_bvector.h, include/bits/stl_construct.h,
976 include/bits/stl_deque.h, include/bits/stl_heap.h,
977 include/bits/stl_iterator.h, include/bits/stl_iterator_base_funcs.h,
978 include/bits/stl_iterator_base_types.h, include/bits/stl_list.h,
979 include/bits/stl_map.h, include/bits/stl_multimap.h,
980 include/bits/stl_multiset.h, include/bits/stl_numeric.h,
981 include/bits/stl_pair.h, include/bits/stl_pthread_alloc.h,
982 include/bits/stl_queue.h, include/bits/stl_raw_storage_iter.h,
983 include/bits/stl_relops.h, include/bits/stl_set.h,
984 include/bits/stl_stack.h, include/bits/stl_tempbuf.h,
985 include/bits/stl_threads.h, include/bits/stl_tree.h,
986 include/bits/stl_uninitialized.h, include/bits/stl_vector.h,
987 include/bits/stream_iterator.h, include/bits/streambuf_iterator.h,
988 include/bits/stringfwd.h, include/bits/type_traits.h,
989 include/bits/valarray_array.h, include/bits/valarray_meta.h:
990 Add hooks, tweak comments only.
992 * include/bits/stl_algobase.h (swap, min, iter_swap): Also
993 document these functions.
994 * include/bits/stl_function.h: Tweak link comments.
996 2001-11-01 Paolo Carlini <pcarlini@unitus.it>
997 Benjamin Kosnik <bkoz@redhat.com>
999 * testsuite/27_io/ios_manip_fmtflags.cc: Fix for non-interactive
1001 * include/bits/locale_facets.tcc (num_put::do_put(bool)): Fix.
1003 2001-11-01 Egor Duda <deo@logos-m.ru>
1005 * config/os/newlib/bits/ctype_noninline.h
1006 (ctype<char>::do_toupper(char __c)): Check for proper character class.
1007 (ctype<char>::do_tolower(char __c)): Ditto.
1009 2001-11-01 Phil Edwards <pme@gcc.gnu.org>
1011 * acinclude.m4: Fix spacing.
1012 (GLIBCPP_ENABLE_CONCEPT_CHECKS): New macro.
1013 * configure.in: Call here.
1014 * acconfig.h: Add _GLIBCPP_CONCEPT_CHECKS.
1015 * include/bits/boost_concept_check.h: Fix headers.
1016 (__function_requires): Make inline.
1017 * include/bits/c++config (_GLIBCPP_CONCEPT_CHECKS): Remove.
1018 * aclocal.m4: Regenerate.
1019 * config.h.in: Regenerate.
1020 * configure: Regenerate.
1022 Move trailing ';' inside macro, PR libstdc++/3666.
1023 * include/bits/concept_check.h: Add semicolon.
1024 * include/bits/stl_algo.h: Remove semicolon.
1025 * include/bits/stl_algobase.h: Likewise.
1026 * include/bits/stl_deque.h: Likewise.
1027 * include/bits/stl_heap.h: Likewise.
1028 * include/bits/stl_iterator_base_funcs.h: Likewise.
1029 * include/bits/stl_list.h: Likewise.
1030 * include/bits/stl_map.h: Likewise.
1031 * include/bits/stl_multimap.h: Likewise.
1032 * include/bits/stl_multiset.h: Likewise.
1033 * include/bits/stl_numeric.h: Likewise.
1034 * include/bits/stl_queue.h: Likewise.
1035 * include/bits/stl_set.h: Likewise.
1036 * include/bits/stl_stack.h: Likewise.
1037 * include/bits/stl_vector.h: Likewise.
1038 * include/ext/hash_map: Likewise.
1039 * include/ext/hash_set: Likewise.
1040 * include/ext/slist: Likewise.
1042 * src/concept-inst.cc: New file with explicit instantiations.
1043 * src/Makefile.am (sources): Add here, with special build rules.
1044 * src/Makefile.in: Regenerate.
1046 2001-11-01 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1048 * include/bits/std_complex.h (_Norm_helper): New class template.
1050 (abs): Tweak. Fix Thinko.
1052 2001-10-31 Benjamin Kosnik <bkoz@redhat.com>
1055 * include/bits/codecvt.h: Add virtual member function declarations.
1056 * src/codecvt.cc: Tweaks.
1057 * testsuite/22_locale/codecvt.cc: Test compilation only,
1058 non-required facets not required to have linkage.
1060 2001-10-31 Edward E. Meyer <edward.e.meyer@boeing.com>
1063 * include/bits/std_complex.h (complex::operator/=): Correct sign.
1065 2001-10-30 Paolo Carlini <pcarlini@unitus.it>
1066 Benjamin Kosnik <bkoz@redhat.com>
1069 * include/bits/basic_string.h: Tweaks.
1070 * include/bits/basic_string.tcc (string::_M_replace(iterator,
1071 iterator, _ForwardIter, _ForwardIter, forward_iterator_tag): Fix.
1072 * src/string-inst.cc: Tweaks, add instantiation.
1073 * testsuite/21_strings/replace.cc (test02): Add test.
1074 * testsuite/21_strings/assign.cc (test01): New file.
1076 2001-10-30 Jakub Jelinek <jakub@redhat.com>
1078 * include/bits/stl_deque.h (_M_new_elements_at_front): Use
1079 __throw_exception_again.
1080 (_M_new_elements_at_back): Likewise.
1082 2001-10-29 Benjamin Kosnik <bkoz@redhat.com>
1085 * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
1086 * testsuite/27_io/filebuf.cc (test07): New test.
1087 (test03): Modify showmanyc test.
1089 2001-10-26 Benjamin Kosnik <bkoz@redhat.com>
1092 * config/locale/codecvt_specializations_ieee_1003.1-200x.h
1093 (__enc_traits::~__enc_traits): Fix.
1094 (__enc_traits::_M_init): Add error checking.
1096 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1099 * include/bits/locale_facets.tcc (time_get::_M_extract_name): Fix.
1101 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1104 * include/bits/ostream.tcc (ostream::operator<<(streambuf*)): Fix
1106 * include/bits/istream.tcc (istream::operator>>(streambuf*): Make
1107 consistent, where possible.
1108 * include/bits/streambuf.tcc: Tweak.
1110 2001-10-25 Brendan Kehoe <brendan@zen.org>
1113 * bits/ostream.tcc (seekp): Scope use as ios_base::failbit.
1114 * bits/istream.tcc (seekg): Likewise.
1116 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1117 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1118 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1120 * config/os/gnu-linux/bits/os_defines.h: Set to 64 bit longs with
1122 * include/bits/std_limits.h: Fix wchar_t issues.
1123 * config/os/aix/bits/os_defines.h: Fix.
1125 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1127 * include/bits/locale_facets.tcc (collate::do_transform): Fix.
1129 2001-10-25 Phil Edwards <pme@gcc.gnu.org>
1131 * docs/html/documentation.html: Fix typo.
1133 2001-10-23 Benjamin Kosnik <bkoz@redhat.com>
1135 Make -fno-exceptions work.
1136 * config/locale/c_locale_gnu.cc: Use functexcept.
1137 * include/bits/c++config (__stl_assert): Remove.
1138 (__STL_USE_EXCEPTIONS): Same.
1140 (__STL_CATCH_ALL): Same.
1141 (__STL_THROW): Same.
1142 (__STL_RETHROW): Same.
1143 (__STL_NOTHROW): Same.
1144 (__STL_UNWIND): Same.
1145 * include/bits/pthread_allocimpl.h: Fix.
1146 * include/bits/std_bitset.h: Same.
1147 * include/bits/std_list.h: Same.
1148 * include/bits/std_memory.h: Same.
1149 * include/bits/std_queue.h: Same.
1150 * include/bits/stl_alloc.h: Same.
1151 * include/bits/stl_deque.h: Same.
1152 * include/bits/stl_list.h: Same.
1153 * include/bits/stl_queue.h: Same.
1154 * include/bits/stl_tempbuf.h: Same.
1155 * include/bits/stl_tree.h: Same.
1156 * include/bits/stl_uninitialized.h: Same.
1157 * include/bits/stl_vector.h: Same.
1158 * include/ext/ropeimpl.h: Same.
1159 * include/ext/slist: Same.
1160 * include/ext/stl_hashtable.h: Same.
1161 * include/ext/stl_rope.h: Same.
1162 * libsupc++/new_op.cc: Include cstdlib.
1163 * libsupc++/eh_personality.cc: Add exception_defines include. Use
1164 __throw_exception_again, tweak.
1165 * libsupc++/eh_aux_runtime.cc: Include stdlib for abort.
1166 * libsupc++/vec.cc: Tweak.
1167 * src/functexcept.cc: Remove unused arguments.
1168 * testsuite/23_containers/bitset_members.cc: Tweak.
1170 2001-10-22 Benjamin Kosnik <bkoz@redhat.com>
1172 * config/cpu/i386/bits/limits.h: Move to...
1173 * config/cpu/i386/bits/cpu_limits.h: ...here.
1174 * config/cpu/cris/bits/cpu_limits.h: Same.
1175 * config/cpu/powerpc/bits/cpu_limits.h: Same.
1176 * config/cpu/x86-64/bits/cpu_limits.h: Same.
1177 * config/cpu/alpha/bits/cpu_limits.h: New.
1178 * config/cpu/m68k/bits/cpu_limits.h: New.
1179 * config/cpu/s390/bits/cpu_limits.h: New.
1180 * config/os/aix/bits/os_defines.h: Tweaks.
1181 * config/os/bsd/freebsd/bits/os_defines.h: Same.
1182 * config/os/bsd/netbsd/bits/os_defines.h: Same.
1183 * config/os/djgpp/bits/os_defines.h: Same.
1184 * config/os/generic/bits/os_defines.h: Same.
1185 * config/os/gnu-linux/bits/os_defines.h: Same.
1186 * config/os/hpux/bits/os_defines.h: Same.
1187 * config/os/irix/irix5.2/bits/os_defines.h: Same.
1188 * config/os/irix/irix6.5/bits/os_defines.h: Same.
1189 * config/os/newlib/bits/os_defines.h: Same.
1190 * config/os/solaris/solaris2.5/bits/os_defines.h: Same.
1191 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
1192 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
1194 * include/bits/c++config: Remove include.
1195 * include/bits/limits_generic.h: Remove.
1196 * include/bits/std_limits.h: Include cpu_limits.h.
1197 * include/Makefile.am: Fixup.
1198 * src/limits.cc: Tweak.
1199 * src/limits_generic.cc: Remove.
1200 * src/gen-num-limits.cc: Remove.
1201 * mknumeric_limits: Remove.
1203 2001-10-20 Brendan Kehoe <brendan@zen.org>
1205 * bits/type_traits.h (_Bool): Removed this type.
1206 (__true_type, __false_type): Change to be plain structs.
1207 * src/string-inst.cc (__destroy_aux): Change third parm to be
1208 __false_type instead of _Bool<false>.
1209 * src/misc-inst.cc (__uninitialized_fill_n_aux,
1210 __uninitialized_copy_aux): Likewise.
1212 2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
1214 * mkcheck.in (static_fail): Remove older memory limit functionality.
1215 Disable E_TIME due to formatting issues.
1219 2001-10-19 Brendan Kehoe <brendan@zen.org>
1221 * include/bits/std_complex.h: Default initialize second argument
1222 of polar to 0, as specified in Library DR #79
1224 2001-10-19 Brendan Kehoe <brendan@zen.org>
1226 * include/bits/stl_raw_storage_iter.h (operator=): Fix to call
1227 _Construct instead of construct.
1229 2001-10-19 Brendan Kehoe <brendan@zen.org>
1231 * include/bits/basic_string.tcc (find_first_not_of): Take out check for
1232 __n being non-zero, since the standard does not mandate that.
1233 e.g., a search for "" in "" should yield position 0, not npos.
1234 (find_last_not_of): Likewise.
1236 2001-10-19 Brendan Kehoe <brendan@zen.org>
1238 * include/bits/stl_bvector.h (vector<bool>::_M_range_check): Fix
1239 to throw out_of_range, not range_error, thus sayeth $23.1.1.13.
1241 2001-10-19 Brendan Kehoe <brendan@zen.org>
1243 * include/bits/stl_iterator.h (reverse_iterator::current): Rename
1244 member from _M_current, and change all uses; thus sayeth $24.4.1.1.
1246 2001-10-19 Brendan Kehoe <brendan@zen.org>
1248 * include/bits/stl_algo.h (partial_sort): Add missing `>' on the
1249 template parameter _ValueType.
1251 2001-10-19 Brendan Kehoe <brendan@zen.org>
1253 * include/bits/std_limits.h: Clean up extra semicolons.
1254 * include/bits/locale_facets.h: Likewise.
1255 * include/bits/type_traits.h: Likewise.
1257 2001-10-19 Brendan Kehoe <brendan@zen.org>
1259 * include/bits/localefwd.h (locale::combine): Add const for lib DR 14.
1260 * include/bits/locale_facets.tcc (locale::combine): Likewise.
1262 2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
1264 * include/bits/locale_facets.h (__timepunct::_M_put_helper):
1265 Declare specializations for char, wchar_t.
1267 2001-10-19 Andreas Jaeger <aj@suse.de>
1269 * config/cpu/x86-64/bits/limits.h: New file.
1270 * config/cpu/x86-64/bits/atomicity.h: New file.
1271 * configure.target: Add x86-64.
1273 2001-10-17 Phil Edwards <pme@gcc.gnu.org>
1275 * docs/html/17_intro/howto.html: Remove 1999 links (and explain
1276 why). Add link to recent message.
1277 * docs/html/faq/index.html (5.6): Reformat text only; fixup <pre>
1279 * docs/html/faq/index.txt: Regenerate.
1281 2001-10-12 Loren J. Rittle <ljrittle@acm.org>
1283 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Update
1284 based on Nathan's review. Use Nathan's words.
1286 2001-10-11 Matt Kraai <kraai@alumni.carnegiemellon.edu>
1288 * docs/html/configopts.html: Quote StyleSheet attribute values.
1289 * docs/html/documentation.html: Likewise.
1290 * docs/html/explanations.html: Likewise.
1291 * docs/html/install.html: Likewise.
1292 * docs/html/17_intro/howto.html: Likewise.
1293 * docs/html/17_intro/license.html: Likewise.
1294 * docs/html/18_support/howto.html: Likewise.
1295 * docs/html/19_diagnostics/howto.html: Likewise.
1296 * docs/html/20_util/howto.html: Likewise.
1297 * docs/html/21_strings/howto.html: Likewise.
1298 * docs/html/22_locale/howto.html: Likewise.
1299 * docs/html/23_containers/howto.html: Likewise.
1300 * docs/html/24_iterators/howto.html: Likewise.
1301 * docs/html/25_algorithms/howto.html: Likewise.
1302 * docs/html/26_numerics/howto.html: Likewise.
1303 * docs/html/27_io/howto.html: Likewise.
1304 * docs/html/ext/howto.html: Likewise.
1305 * docs/html/ext/sgiexts.html: Likewise.
1306 * docs/html/faq/index.html: Likewise.
1308 2001-10-11 Loren J. Rittle <ljrittle@acm.org>
1310 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Rewrite.
1311 * docs/html/23_containers/howto.html (Containers and multithreading):
1314 2001-10-09 Phil Edwards <pme@gcc.gnu.org>
1316 * docs/html/17_intro/howto.html: Tweak markup and value type.
1317 * docs/html/27_io/howto.html: Tweak markup, describe setbuf() for
1318 nonzero arguments, add new note on threading.
1319 * docs/html/faq/index.html: Update.
1320 * docs/html/faq/index.txt: Regenerate.
1322 2001-10-09 Phil Edwards <pme@gcc.gnu.org>
1324 * docs/html/configopts.html: More HTML->XHTML and lowercasing of tags.
1325 * docs/html/documentation.html: Likewise.
1326 * docs/html/explanations.html: Likewise.
1327 * docs/html/install.html: Likewise.
1328 * docs/html/17_intro/howto.html: Likewise.
1329 * docs/html/17_intro/license.html: Likewise. Tighten up language.
1330 * docs/html/18_support/howto.html: Likewise.
1331 * docs/html/19_diagnostics/howto.html: Likewise.
1332 * docs/html/20_util/howto.html: Likewise.
1333 * docs/html/21_strings/howto.html: Likewise.
1334 * docs/html/22_locale/howto.html: Likewise.
1335 * docs/html/23_containers/howto.html: Likewise.
1336 * docs/html/24_iterators/howto.html: Likewise.
1337 * docs/html/25_algorithms/howto.html: Likewise.
1338 * docs/html/26_numerics/howto.html: Likewise.
1339 * docs/html/27_io/howto.html: Likewise.
1340 * docs/html/ext/howto.html: Likewise.
1341 * docs/html/ext/sgiexts.html: Likewise.
1342 * docs/html/faq/index.html: Likewise. Not so many absolute links.
1343 * docs/html/faq/index.txt: Regenerate.
1345 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
1347 * docs/html/22_locale/locale.html, docs/html/faq/index.html: Fix
1348 spelling errors of "separate" as "seperate", and corresponding
1349 spelling errors of related words.
1350 * docs/html/faq/index.txt: Regenerate.
1352 2001-10-05 Phil Edwards <pme@gcc.gnu.org>
1354 * config/cpu/alpha/bits/atomicity.h (__compare_and_swap): Remove
1356 * config/cpu/arm/bits/atomicity.h: Likewise.
1357 * config/cpu/generic/bits/atomicity.h: Likewise.
1358 * config/cpu/i486/bits/atomicity.h: Likewise.
1359 * config/cpu/ia64/bits/atomicity.h: Likewise.
1360 * config/cpu/mips/bits/atomicity.h: Likewise.
1361 * config/cpu/powerpc/bits/atomicity.h: Likewise.
1362 * config/cpu/sparc/sparc32/bits/atomicity.h: Likewise.
1363 * config/cpu/sparc/sparc64/bits/atomicity.h: Likewise.
1365 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
1367 * docs/html/faq/index.html: Describe DR #22, and a workaround.
1368 * docs/html/faq/index.txt: Regenerate.
1370 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
1372 * docs/html/17_intro/COPYING.DOC: New file, GFDL v1.1 from the FSF.
1373 * docs/html/17_intro/license.html: New file. Explain the licenses
1376 * docs/html/configopts.html: Link to license.html.
1377 * docs/html/documentation.html: Likewise.
1378 * docs/html/explanations.html: Likewise.
1379 * docs/html/install.html: Likewise.
1380 * docs/html/17_intro/howto.html: Likewise.
1381 * docs/html/18_support/howto.html: Likewise.
1382 * docs/html/19_diagnostics/howto.html: Likewise.
1383 * docs/html/20_util/howto.html: Likewise.
1384 * docs/html/21_strings/howto.html: Likewise.
1385 * docs/html/22_locale/howto.html: Likewise.
1386 * docs/html/23_containers/howto.html: Likewise.
1387 * docs/html/24_iterators/howto.html: Likewise.
1388 * docs/html/25_algorithms/howto.html: Likewise.
1389 * docs/html/26_numerics/howto.html: Likewise.
1390 * docs/html/27_io/howto.html: Likewise.
1391 * docs/html/ext/howto.html: Likewise.
1392 * docs/html/ext/sgiexts.html: Likewise.
1393 * docs/html/faq/index.html: Likewise. New question, linking to
1394 the new license.html.
1396 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
1398 * docs/html/17_intro/howto.html: Fix mis-sed in header from 20010917.
1399 * docs/html/18_support/howto.html: Likewise.
1400 * docs/html/19_diagnostics/howto.html: Likewise.
1401 * docs/html/20_util/howto.html: Likewise.
1402 * docs/html/21_strings/howto.html: Likewise.
1403 * docs/html/22_locale/howto.html: Likewise.
1404 * docs/html/23_containers/howto.html: Likewise.
1405 * docs/html/24_iterators/howto.html: Likewise.
1406 * docs/html/25_algorithms/howto.html: Likewise.
1407 * docs/html/26_numerics/howto.html: Likewise.
1408 * docs/html/27_io/howto.html: Likewise.
1409 * docs/html/ext/howto.html: Likewise.
1410 * docs/html/faq/index.html: Likewise. Spacing fix.
1412 2001-10-03 Dimitris Vyzovitis <vyzo@media.mit.edu>
1414 * include/bits/stl_threads.h (_Atomic_swap): New function.
1415 (_Swap_lock_struct<__dummy>::_S_swap_lock): New data.
1416 * testsuite/ext/rope.cc: New file.
1418 2001-10-02 Benjamin Kosnik <bkoz@redhat.com>
1420 * config/locale/time_members_gnu.h: Remove.
1421 * config/locale/time_members_generic.h: Remove.
1422 * config/locale/time_members_gnu.cc (__timepunct::_M_put_helper): Add.
1423 * config/locale/time_members_generic.cc: Same.
1424 * include/bits/locale_facets.h: Add data members.
1425 (__timepunct::_M_put_helper): Change signature.
1426 (__timepunct::_M_date_formats): Same.
1427 (__timepunct::_M_time_formats): Same.
1428 (__timepunct::_M_ampm): Add.
1429 (__timepunct::_M_date_time_formats): Add.
1430 (time_get::_M_extract_via_format): Add.
1431 (time_get::_M_extract_time): Change to...
1432 (time_get::_M_extract_num): ... this, modify signature.
1433 * include/bits/locale_facets.tcc (time_get::do_get_year): Fix.
1434 (time_get::do_get_time): Fix.
1435 (time_get::do_get_date): Fix.
1437 * acinclude.m4: Remove CTIME_H.
1438 * aclocal.m4: Regenerate.
1439 * include/Makefile.am: Same.
1440 * include/Makefile.in: Regenerate.
1441 * configure: Regenerate.
1443 * testsuite/22_locale/time_get_members_char.cc: Fix.
1444 * testsuite/22_locale/time_get_members_wchar_t.cc: Add.
1445 * testsuite/22_locale/time_put_members_wchar_t.cc: Add.
1447 2001-10-01 Hans-Peter Nilsson <hp@axis.com>
1449 * config/cpu/cris/bits/atomicity.h: Correct file header.
1451 2001-09-29 Hans-Peter Nilsson <hp@axis.com>
1453 * configure.target (LIMITSH): Set for cris.
1454 (cpu_include_dir): Set for cris-*-*.
1455 * config/cpu/cris/bits/atomicity.h: New file.
1456 * config/cpu/cris/bits/limits.h: New file.
1458 2001-09-28 Benjamin Kosnik <bkoz@redhat.com>
1460 * config/locale/time_members_gnu.h (__timepunct::_M_get_helper): Add.
1461 (__timepunct::_M_put_helper): Add.
1462 * config/locale/time_members_generic.h: Same.
1463 * include/bits/locale_facets.h (__match_parallel): Remove. Format.
1464 (__timepunct): Add data members.
1465 (__timepunct::_M_days): Add.
1466 (__timepunct::_M_days_abbreviated): Add.
1467 (__timepunct::_M_months): Add.
1468 (__timepunct::_M_months_abbreviated): Add.
1469 (__timepunct::_M_initialize_timepunct): Add.
1470 * include/bits/locale_facets.tcc: Same.
1471 * src/locale-inst.cc: Remove instantiations for __match_parallel.
1472 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_CC.
1473 * aclocal.m4: Regenerate.
1474 * configure: Regenerate.
1475 * testsuite/22_locale/time_put_members_char.cc: Mark XFAIL.
1476 * testsuite/22_locale/time_put_members_char.cc (test01): New file.
1477 * testsuite/22_locale/time_get.cc: New file.
1479 2001-09-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1481 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
1482 correct multilib builddir.
1483 Properly locate libgcc_s.
1485 2001-09-27 Phil Edwards <pme@gcc.gnu.org>
1487 * include/std/*: Add Doxygen hooks.
1488 * docs/doxygen/Intro.3: New file, general intro to the man pages.
1489 * docs/doxygen/mainpage.doxy: Formatting tweaks. List our own links
1490 rather than using a generated index.
1491 * docs/doxygen/user.cfg.in: Disable the index, enable man pages.
1492 * docs/doxygen/run_doxygen: Massage the generated man pages, using...
1493 * docs/doxygen/stdheader.cc: ...this new file.
1495 2001-09-26 Stan Shebs <shebs@apple.com>
1497 * include/Makefile.am: Remove RCS Id strings.
1498 * src/Makefile.am: Ditto.
1499 * docs/doxygen/run_doxygen: Ditto.
1500 * docs/html/configopts.html: Ditto.
1501 * docs/html/documentation.html: Ditto.
1502 * docs/html/explanations.html: Ditto.
1503 * docs/html/install.html: Ditto.
1504 * docs/html/17_intro/howto.html: Ditto.
1505 * docs/html/18_support/howto.html: Ditto.
1506 * docs/html/19_diagnostics/howto.html: Ditto.
1507 * docs/html/20_util/howto.html: Ditto.
1508 * docs/html/21_strings/howto.html: Ditto.
1509 * docs/html/22_locale/howto.html: Ditto.
1510 * docs/html/23_containers/howto.html: Ditto.
1511 * docs/html/24_iterators/howto.html: Ditto.
1512 * docs/html/25_algorithms/howto.html: Ditto.
1513 * docs/html/26_numerics/howto.html: Ditto.
1514 * docs/html/27_io/howto.html: Ditto.
1515 * docs/html/ext/howto.html: Ditto.
1516 * docs/html/ext/sgiexts.html: Ditto.
1517 * docs/html/faq/index.html: Ditto.
1518 * docs/html/faq/index.txt: Ditto.
1520 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
1522 * testsuite/21_strings/c_strings.cc (test01, test02): Increase
1525 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
1527 * docs/html/20_util/howto.html: Add anchor name.
1528 * docs/html/23_containers/howto.html: Line wrapping, another link.
1529 * docs/html/25_algorithms/howto.html: Another note.
1531 * docs/html/ext/howto.html: Link to SGI extensions. List DRs and
1533 * docs/html/ext/lwg-active.html: ...in this new file (from R19),
1534 * docs/html/ext/lwg-defects.html: and this new file (from R19).
1535 * docs/html/ext/sgiexts.html: New file. Mention SGI extensions
1536 carried over to libstdc++-v3.
1537 * docs/html/faq/index.html: Link to SGI extensions. Mention the
1538 "missing .." pseudobug.
1539 * docs/html/faq/index.txt: Regenerate.
1541 * include/bits/ios_base.h: DR-related comment cleanup.
1542 * include/bits/istream.tcc: Likewise.
1543 * include/bits/locale_facets.h: Likewise.
1544 * include/bits/locale_facets.tcc: Likewise.
1545 * include/bits/ostream.tcc: Likewise.
1546 * include/bits/std_bitset.h: Likewise.
1547 * include/bits/std_iosfwd.h: Likewise.
1548 * include/bits/std_istream.h: Likewise.
1549 * include/bits/std_ostream.h: Likewise.
1550 * include/bits/std_streambuf.h: Likewise.
1551 * include/bits/stl_pair.h: Likewise.
1552 * include/bits/streambuf_iterator.h: Likewise.
1554 * include/bits/std_map.h: Remove unused header inclusion guard
1555 _CPP_BITS_STL_TREE_H from around bits/stl_tree.h.
1556 * include/bits/std_set.h: Likewise.
1558 * include/bits/stl_function.h: Doxygen markup.
1559 * docs/doxygen/doxygroups.cc: New file, specifying module grouping.
1560 * libsupc++/typeinfo: Doxygen markup tweak.
1562 2001-09-20 Scott Johnston <scott@accom.com>
1563 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1565 * include/backward/alloc.h: Conditionally define malloc_alloc
1566 * testsuite/backward/header_deque_h.cc: New file.
1568 2001-09-20 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
1570 * libstdc++-v3/include/bits/locale_facets.tcc (money_put::do_put):
1571 change variable name so that it works with -fno-for-scope.
1573 2001-09-20 Benjamin Kosnik <bkoz@redhat.com>
1575 * testsuite/22_locale/numpunct_members_char.cc (test01): Remove
1576 redundant sanity checks.
1577 * testsuite/22_locale/money_put_members_wchar_t.cc (test01): Same.
1579 * testsuite/22_locale/money_put_members_char.cc (test01): Same.
1581 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test01): Same.
1582 * testsuite/22_locale/moneypunct_members_char.cc (test01): Same.
1583 * testsuite/22_locale/money_get_members_wchar_t.cc (test01): Same.
1585 * testsuite/22_locale/money_get_members_char.cc (test01): Same.
1588 2001-09-19 Benjamin Kosnik <bkoz@redhat.com>
1590 Implement std::time_put.
1591 * include/bits/locale_facets.h: Include time_members.h.
1593 (time_put): Implement.
1594 * include/bits/locale_facets.tcc (do_put): Put generic versions here.
1595 * include/bits/localefwd.h: Bump number of facets.
1596 * config/locale/time_members_generic.h: New file.
1597 * config/locale/time_members_gnu.h: New file.
1598 * config/locale/c_locale_generic.h: Include clocale.
1599 * src/locale-inst.cc: Add use_facet instantiations for __timepunct.
1600 * src/locale.cc: Add __timepunct initializations.
1601 * src/localename.cc (locale::_Impl::_Impl(string, size_t)): Same.
1602 * include/Makefile.am (stamp-target): Add time_members.h.
1603 * include/Makefile.in: Regenerate.
1604 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_H.
1605 * aclocal.m4: Regenerate.
1606 * configure: Regenerate.
1607 * testsuite/22_locale/time_put.cc: New file.
1608 * testsuite/22_locale/time_put_members_char.cc: New file.
1610 * docs/html/22_locale/locale.html: Add note.
1612 2001-09-17 Phil Edwards <pme@gcc.gnu.org>
1614 * docs/html/configopts.html: HTML to XHTML change. Lowercase tags.
1615 * docs/html/documentation.html: Likewise.
1616 * docs/html/explanations.html: Likewise.
1617 * docs/html/install.html: Likewise.
1618 * docs/html/17_intro/howto.html: Likewise.
1619 * docs/html/18_support/howto.html: Likewise.
1620 * docs/html/19_diagnostics/howto.html: Likewise.
1621 * docs/html/20_util/howto.html: Likewise.
1622 * docs/html/21_strings/howto.html: Likewise.
1623 * docs/html/22_locale/codecvt.html: Likewise.
1624 * docs/html/22_locale/ctype.html: Likewise.
1625 * docs/html/22_locale/howto.html: Likewise.
1626 * docs/html/22_locale/locale.html: Likewise.
1627 * docs/html/22_locale/messages.html: Likewise.
1628 * docs/html/23_containers/howto.html: Likewise.
1629 * docs/html/24_iterators/howto.html: Likewise.
1630 * docs/html/25_algorithms/howto.html: Likewise.
1631 * docs/html/26_numerics/howto.html: Likewise.
1632 * docs/html/27_io/howto.html: Likewise.
1633 * docs/html/ext/howto.html: Likewise.
1634 * docs/html/faq/index.html: Likewise.
1635 * docs/html/faq/index.txt: Regenerated.
1637 2001-09-14 Phil Edwards <pme@sources.redhat.com>
1639 * docs/html/17_intro/headers_cc.txt: "Sync"/copy real file over.
1640 * docs/html/17_intro/howto.html: Spacing and HTML markup fixes.
1641 * docs/html/18_support/howto.html: It won't compile; it's not code.
1642 * docs/html/19_diagnostics/howto.html: Point diagram seekers to
1644 * docs/html/22_locale/howto.html: Comment for future work.
1645 * docs/html/23_containers/howto.html: More comments.
1646 * docs/html/25_algorithms/howto.html: It's a comment, not a
1647 blunt command to the reader. (English grammar.)
1649 2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
1651 * config/locale/moneypunct_members_gnu.cc: Fix initialization of
1653 * testsuite/22_locale/money_get_members_wchar_t.cc (test02): New file.
1654 * testsuite/22_locale/money_put_members_wchar_t.cc (test02): Fix.
1656 2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
1658 * include/bits/locale_facets.tcc: Conditionalize use of strtold.
1660 2001-09-13 Alexandre Petit-Bianco <apbianco@redhat.com>
1662 * testsuite/22_locale/money_get_members_char.cc: Fixed typo in comment.
1663 * testsuite/22_locale/money_put_members_char.cc: Likewise.
1664 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
1666 2001-09-13 Benjamin Kosnik <bkoz@redhat.com>
1668 Implement std::money_get.
1669 * include/bits/locale_facets.tcc (money_get::do_get): Implement.
1670 * include/bits/locale_facets.h (money_get): Correct signatures.
1671 * testsuite/22_locale/money_get.cc: New file.
1672 * testsuite/22_locale/money_get_members_char.cc: New file.
1674 * include/bits/locale_facets.tcc (__verify_grouping): New
1675 function. Consolidate num_get and money_get group checking into
1677 (money_get): Use it.
1678 * src/locale.cc (num_get::_M_extract): Use it.
1679 * src/locale-inst.cc: Add instantiation.
1681 2001-09-12 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1683 * include/bits/std_limits.h (numeric_limits<float>::radix,
1684 numeric_limits<float>::epsilon: Fix thinko.
1686 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
1688 * configure.in: Fix cross compiling math routines. Correct
1689 comments for cross compiling and limits. Add floating point math
1690 routines found in newlib.
1691 * configure: Regenerate.
1692 * acconfig.h: Add macros.
1693 * config.h.in: Regenerate.
1695 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
1697 * config/locale/moneypunct_members_generic.cc
1698 (money_base::_S_construct_pattern): Remove unused parameters.
1700 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
1702 * include/Makefile.am (stamp-target): Remove link to self.
1703 * inclulde/Makefile.in: Regenerate.
1705 2001-09-09 Benjamin Kosnik <bkoz@redhat.com>
1707 Implement std::money_put.
1708 * include/bits/locale_facets.h
1709 (moneypunct::_M_initialize_moneypunct): Split up specializations
1710 to account for _Intl. More grody hacking to get around the
1711 ill-considered use of const bool as a template parameter.
1712 * config/locale/moneypunct_members_gnu.cc: And here.
1713 * config/locale/moneypunct_members_generic.cc: And here.
1714 * testsuite/22_locale/moneypunct_members_char.cc: Add tests.
1715 * testsuite/22_locale/moneypunct.cc: Add tests.
1716 * testsuite/22_locale/money_put_members_wchar_t.cc: New file.
1717 * testsuite/22_locale/moneypunct_members_wchar_t.cc: New file.
1719 * src/locale.cc (money_base::_S_construct_pattern): Move into
1721 * config/locale/moneypunct_members_gnu.cc: Add here.
1722 * config/locale/moneypunct_members_generic.cc: Add generic version
1725 * include/bits/locale_facets.tcc (money_put::do_put): Move member
1726 function definitions here.
1727 * include/bits/locale_facets.h (money_put): Implement.
1728 * src/locale-inst.cc: Add use_facet instantiations for moneypunct.
1729 Correct money_get, money_put instantiations.
1730 * src/locale.cc (money_base::_S_construct_pattern): Handle case
1732 * testsuite/22_locale/money_put_members_char.cc: Add tests.
1734 2001-09-05 Phil Edwards <pme@sources.redhat.com>
1736 * testsuite_flags.in: No longer need to search testsuite builddir.
1737 * src/stl-inst.cc (__sink_unused_warning): Unused, remove.
1738 * Makefile.am: The testsuite directory never needs to be made here.
1739 * Makefile.in: Regenerate.
1740 * include/Makefile.in: Regenerate.
1741 * libio/Makefile.in: Regenerate.
1742 * libmath/Makefile.in: Regenerate.
1743 * libsupc++/Makefile.in: Regenerate.
1744 * po/Makefile.in: Regenerate.
1745 * src/Makefile.in: Regenerate.
1746 * testsuite/Makefile.in: Regenerate.
1748 2001-09-04 Scott Johnston <scott@accom.com>
1749 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1751 * include/backward/iterator.h: Include <bits/std_iterator.h>,
1752 remove reverse_bidirectional_iterator.
1753 * testsuite/backward: New directory.
1754 * testsuite/backward/header_iterator_h.cc: New file.
1756 2001-09-04 Benjamin Kosnik <bkoz@redhat.com>
1758 * include/c_std/bits/std_c*.h: Don't use include_next.
1760 2001-09-03 Richard Sandiford <rsandifo@redhat.com>
1762 * libsupc++/eh_personality.cc (parse_lsda_header): Change type of
1763 tmp from _Unwind_Ptr to _Unwind_Word.
1765 2001-08-31 Jason Merrill <jason_merrill@redhat.com>
1767 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Simplify
1770 2001-08-28 Loren J. Rittle <ljrittle@acm.org>
1772 * include/Makefile.am: Use toplevel_srcdir to refer to src files
1773 outside this component.
1774 * include/Makefile.in: Regenerate.
1776 2001-08-27 Benjamin Kosnik <bkoz@redhat.com>
1778 * config/locale/c_locale_gnu.cc: Move facet info to separate files...
1779 * config/locale/c_locale_generic.cc: Same.
1780 * config/locale/moneypunct_members_gnu.cc: New file.
1781 * config/locale/moneypunct_members_generic.cc: New file.
1782 * config/locale/numpunct_members_gnu.cc: New file.
1783 * config/locale/numpunct_members_generic.cc: New file.
1784 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add moneypunct, numpunct
1786 * aclocal.m4: Regenerate.
1787 * configure: Regenerate.
1788 * src/Makefile.am (sources): And here.
1789 * src/Makefile.in: Regenerate.
1791 Rename for consistency with rest of testsuite.
1792 * testsuite/22_locale/codecvt.cc: New file.
1793 * testsuite/22_locale/money_put.cc: New file.
1794 * testsuite/22_locale/money_put_members_char.cc: New file.
1796 2001-08-27 Phil Edwards <pme@sources.redhat.com>
1799 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Handle enable/disable
1800 correctly for version-specific-runtime-libs.
1801 * aclocal.m4: Regenerate.
1802 * configure: Regenerate.
1804 2001-08-24 Loren J. Rittle <ljrittle@acm.org>
1806 * config/cpu/i386/bits/limits.h (__glibcpp_long_double_bits): Only
1807 define if not already provided by per-OS file.
1808 * config/os/bsd/freebsd/bits/os_defines.h (__glibcpp_long_double_bits):
1811 2001-08-24 Jan van Male <jan.vanmale@fenk.wau.nl>
1813 * docs/html/17_intro/C++STYLE: Fix typo.
1815 2001-08-24 Phil Edwards <pme@sources.redhat.com>
1817 * docs/html/23_containers/howto.html: Describe implementation of
1818 insertion with hints.
1820 2001-08-24 Kenny Simpson <kenny.simpson@gs.com>
1823 * include/bits/std_sstream.h (basic_ostringstream): Fix ctor.
1825 2001-08-24 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
1826 Phil Edwards <pme@sources.redhat.com>
1829 * include/bits/stl_tree.h (insert_unique): Revert last change.
1830 Values inserted at begin() must be less, not greater, than *begin()'s.
1831 * testsuite/23_containers/map_insert.cc: New file.
1833 2001-08-23 Benjamin Kosnik <bkoz@redhat.com>
1835 * config/locale/c_locale_gnu.cc: Minor tweaks.
1836 (moneypunct<wchar_t>): Implement.
1837 * include/bits/locale_facets.h: Same.
1838 * testsuite/22_locale/moneypunct.cc: New file.
1839 * testsuite/22_locale/moneypunct_byname.cc: New file.
1840 * testsuite/22_locale/moneypunct_char_members.cc: New file.
1842 2001-08-23 David Edelsohn <edelsohn@gnu.org>
1844 * config/os/gnu-linux/bits/os_defines.h: Correct __s390__ definitions.
1845 Set __powerpc__ long double definition based on __LONG_DOUBLE_128__.
1847 2001-08-23 Jason Merrill <jason_merrill@redhat.com>
1849 * testsuite_flags.in (build-includes): Re-add backward.
1851 2001-08-22 Benjamin Kosnik <bkoz@redhat.com>
1853 * testsuite/22_locale/collate_wchar_t_members.cc: Guard
1854 with _GLIBCPP_USE_WCHAR_T.
1856 2001-08-21 Benjamin Kosnik <bkoz@redhat.com>
1858 * testsuite/22_locale/collate_byname.cc (test01): Fix.
1860 2001-08-18 Vladimir A Merzliakov <wanderer@rsu.ru>
1862 * include/bits/locale_facets.tcc (collate::do_transform): Add typename.
1864 2001-08-18 Benjamin Kosnik <bkoz@redhat.com>
1866 * testsuite/22_locale/operators.cc: Add test.
1868 2001-08-17 Benjamin Kosnik <bkoz@redhat.com>
1870 Implement std::collate.
1871 * config/locale/collate_specializations_gnu.cc: Add here, implement in
1873 * config/locale/collate_specializations_generic.cc: Add here, but
1874 in a less sophisticated manner.
1875 * include/bits/locale_facets.tcc (collate): Add generic definition.
1876 * include/bits/locale_facets.h (~collate): Mark virtual.
1877 (collate::_M_compare_helper): New.
1878 (collate::_M_transform_helper): New.
1879 * src/locale.cc: Remove unnecessary specializations.
1880 * src/string-inst.cc: Tweak instantiation of ctors.
1882 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Do configury for collate.
1883 * aclocal.m4: Regenerate.
1884 * configure: Regenerate.
1885 * src/Makefile.am (sources): Add collate.cc.
1886 * src/Makefile.in: Regenerate.
1888 * testsuite/22_locale/collate_byname.cc: New.
1889 * testsuite/22_locale/collate.cc: New file.
1890 * testsuite/22_locale/collate_char_members.cc: New file.
1891 * testsuite/22_locale/collate_wchar_t_members.cc: New file.
1893 2001-08-16 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1895 * configure.target: Set LIMITSH for powerpc-*-*.
1896 * config/cpu/powerpc/bits/limits.h: New file.
1898 2001-08-16 Marc Espie <espie@openbsd.org>
1900 * configure.in: Check for <sys/types.h>.
1901 * configure: Rebuild.
1902 * config.h.in: Rebuild.
1903 * libmath/mathconf.h: Include <sys/types.h> prior to
1904 <machine/endian.h> if available.
1906 2001-08-15 Andreas Schwab <schwab@suse.de>
1908 * configure.target (cpu_include_dir): Set to `config/cpu/m68k' for
1909 m68k and m680[246]0.
1910 * config/cpu/m68k/bits/atomicity.h: New file.
1912 * include/bits/std_limits.h [__glibcpp_long_double_bits == 96]:
1913 Define appropriate long double limits for m68k extended floating
1915 (__glibcpp_f32_digits10): Corrected, off by one.
1916 (__glibcpp_f80_digits10): Likewise.
1917 (__glibcpp_f128_digits10): Likewise.
1918 * config/os/gnu-linux/bits/os_defines.h
1919 (__glibcpp_long_double_bits) [__mc68000__]: Define to 96.
1921 2001-08-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1923 * testsuite/18_support/numeric_limits.cc: Add more tests.
1924 * include/bits/std_limits.h (numeric_limits<char>::max): Fix
1927 2001-08-14 Ulrich Weigand <uweigand@de.ibm.com>
1929 * configure.target (cpu_include_dir): Set to `config/cpu/s390'
1932 * config/cpu/s390/bits/atomicity.h: New.
1934 2001-08-14 Gabriel Dos Reis <gdr@codesourcery.com>
1936 * include/bits/std_limits.h: Fix thinko.
1938 2001-08-14 Benjamin Kosnik <bkoz@redhat.com>
1940 * include/Makefile.am: Consolidate target rules. Don't clean stamp
1941 files. Tweak target build directory stamp.
1942 * include/Makefile.in: Regenerate.
1944 2001-08-14 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1946 * libstdc++-v3/libmath/stubs.c: Fix PR/3988, replace
1947 _GBLICPP_HAVE_LOGL with HAVE_LOGL
1949 2001-08-13 Benjamin Kosnik <bkoz@redhat.com>
1951 * configure.in (libtool_VERSION): Add.
1952 (VERSION): Change to
1953 (release_VERSION): This.
1954 * configure: Regenerate.
1955 * src/Makefile.am (libstdc___la_LDFLAGS): Use -version-info with
1957 * src/Makefile.in: Regenerate.
1959 * intl/Makefile.am: Remove.
1960 * intl/Makefile.in: Remove.
1962 * Makefile.am (SUBDIRS): Remove intl.
1963 * po/Makefile.am (DISTFILES): Add string_literals.cc
1965 * po/string_literals.cc: Add.
1966 * po/POTFILES.in: Fix path.
1967 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't call AM_GNU_GETTEXT.
1968 * aclocal.m4: Regenerate.
1969 * configure.in: Remove AC_OUTPUT of intl/Makefile.
1971 * include/backward/backward_warning.h: Clarify message.
1973 * testsuite_flags.in (--cxxflags): Use same debug flags for
1974 library and testsuite.
1976 * include/Makefile.am (c_compatibility): Remove.
1977 * include/Makefile.in: Regenerate.
1979 2001-08-13 Mark Mitchell <mark@codesourcery.com>
1981 * configure.in (LIMITS_INC_SRCDIR): New variable.
1982 * configure.target (LIMITSH): New variable.
1983 * porting.texi: Discuss numeric limits.
1984 * config/cpu/generic/bits/limits.h: New file.
1985 * config/cpu/i386/bits/limits.h: New file.
1986 * include/Makefile.am: Install bits/limits.h.
1987 * include/bits/c++config: Include bits/limits.h.
1989 2001-08-13 H.J. Lu (hjl@gnu.org)
1991 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-copy-files):
1993 (libstdc++-v3-init ): Use it.
1995 2001-08-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1997 * include/bits/ostream.tcc (__pad_char): Change toplevel '__fmt'
1998 to '__adjust' to avoid shadowing in nested scope.
2000 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2002 * include/bits/std_limits.h(__glibcpp_char_is_signed): Use
2005 * config/os/gnu-linux/bits/os_defines.h(__glibcpp_char_is_signed):
2007 * config/os/aix/bits/os_defines.h(__glibcpp_plain_char_is_signed):
2010 2001-08-10 Loren J. Rittle <ljrittle@acm.org>
2012 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Add
2013 dummy default argument to the non-limit implementation.
2016 * include/Makefile.am: Use relative file path in rule to allow
2018 * include/Makefile.in: Rebuilt.
2020 2001-08-10 Gunter Winkler <gunter.winkler@mathematik.tu-chemnitz.de>
2022 * include/bits/std_complex.h (complex<long double>::operator*=,
2023 complex<long double>::operator/=): Fix thinko.
2025 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2027 * include/bits/std_limits.h: New file.
2028 * include/Makefile.am (bits_headers): Add std_limits.h
2029 (all-local): std_limits.h is no longer built.
2030 (${target_builddir}/std_limits.h): Remove.
2031 * include/Makefile.in: Regenerate.
2032 * src/limits.cc: New file.
2033 * src/Makefile.am (sources): Add limits.cc in replacement of
2035 * src/Makefile.in: Regenerate.
2037 2001-08-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2039 * src/gen-num-limits.cc (digits10): Fix thinko.
2041 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
2043 * po/Makefile.am (check-no): Add.
2045 * po/Makefile.in: Regenerate.
2047 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
2049 * acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
2050 * config.h.in: Regenerate.
2051 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT): Check for setrlimit
2053 * aclocal.m4: Regenerate.
2054 * configure.in: Remove duplicate AM_CONFIG_HEADER.
2055 (AM_CONFIG_HEADER): Remove testsuite/testsuite_hooks.h.
2056 Only call GLIBCPP_CHECK_SETRLIMIT for native compiles.
2057 * configure: Regenerate.
2058 * testsuite_hooks.h.in: Move to...
2059 * testsuite_hooks.h: Here, include c++config.h. Use it.
2061 * Makefile.am (SUBDIRS): Move testsuite to last directory.
2062 * Makefile.in: Regenerate.
2063 * po/Makefile.am (stamp-po): Add.
2065 2001-08-09 David Edelsohn <edelsohn@gnu.org>
2067 * config/os/aix/bits/os_defines.h: Define std_limits.h macros.
2068 * config/os/generic/bits/os_defines.h: Likewise.
2069 * config/os/gnu-linux/bits/os_defines.h: Likewise.
2070 * config/os/hpux/bits/os_defines.h: Likewise.
2071 * config/os/irix/irix6.5/bits/os_defines.h: Likewise.
2072 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
2074 2001-08-08 Benjamin Kosnik <bkoz@redhat.com>
2076 * src/Makefile.am (libstdc___la_LDFLAGS): Use -release instead of
2077 -version-info, use substituted VERSION info.
2078 * src/Makefile.in: Regenerate.
2080 2001-08-07 Benjamin Kosnik <bkoz@redhat.com>
2082 Implement std::messages.
2083 Make config a fully-nested directory.
2084 * config/locale: New directory.
2085 * config/c_locale_generic.cc: Move into locale subdirectory.
2086 * config/c_locale_generic.h: Same.
2087 * config/c_locale_gnu.cc: Same.
2088 * config/c_locale_gnu.h: Same.
2089 * config/c_locale_ieee_1003.1-200x.cc: Same.
2090 * config/c_locale_ieee_1003.1-200x_.h: Same.
2091 * config/codecvt_specializations_generic.h: Same.
2092 * config/codecvt_specializations_ieee_1003.1-200x.h: Same.
2093 * config/messages_members_gnu.h: Same.
2094 * config/messaages_members_gnu.cc: Same.
2095 * config/messages_members_generic.h: Same.
2096 * config/messaages_members_generic.cc: Same.
2097 * config/messages_members_ieee_1003.1-200x.h: Same.
2098 * config/messaages_members_ieee_1003.1-200x.cc: Same.
2099 * config/io: New directory.
2100 * config/basic_file_libio.h: Move into io subdirectory.
2101 * config/basic_file_libio.cc: Same.
2102 * config/c_io_libio.h: Same.
2103 * config/c_io_libio_codecvt.c: Same.
2104 * config/basic_file_stdio.h: Same.
2105 * config/basic_file_stdio.cc: Same.
2106 * config/c_io_stdio.h: Same.
2108 * po: New directory.
2109 * po/POTFILES.in: New file.
2110 * po/Makefile.am: New file.
2111 * po/Makefile.in: New file.
2112 * po/libstdc++.pot: Generic translation file.
2113 * po/fr.po: Preliminary French translation.
2114 * po/de.po: Preliminary German translation.
2115 * intl: New directory.
2116 * intl/Makefile.am: New file.
2117 * intl/Makefile.in: New file.
2118 * intl/string_literals.cc: New file.
2119 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump VERSION to 3.1.0. Add
2120 requisite setup for gettext. Re-arrange.
2121 * aclocal.m4: Regenerate.
2122 * configure.in: Don't call GLIBCPP_CHECK_COMPILER_VERSION.
2123 Output Makefile bits for po and intl.
2124 * configure: Regenerate.
2125 * Makefile.am (SUBDIRS): Add intl, po. Add rule for dist.
2126 * Makefile.in: Regenerate.
2127 * acconfig.h: Add ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY.
2128 * config.h.in: Regenerate.
2130 * acinclude.m4 (AC_REPLACE_STRINGFUNCS): Remove.
2132 * include/Makefile.am (install-data-local): Don't install Makefile.
2133 * include/Makefile.in: Regenerate.
2135 * include/bits/locale_facet.h (locale::facet::_S_clone_c_locale):
2137 * config/locale/c_locale_gnu.cc (_S_clone_c_locale): Add definition.
2138 * config/locale/c_locale_generic.cc: Same.
2139 * config/locale/c_locale_ieee_1003.1-200x.cc: Same.
2141 * include/bits/codecvt.h: Excise non-standard, non-required
2142 bits. This includes __enc_traits, and partial specializations of
2143 codecvt for __enc_traits.
2144 * src/codecvt.cc (__enc_traits::_S_max_size): Guard
2145 * config/codecvt_partials_ieee_1003.1-200x.h: New file.
2146 * config/codecvt_partials_generic.h: New file.
2147 * include/Makefile.am (allstamps): Add stamp-codecvt_model.
2148 (stamp-codecvt_model): Add.
2149 * include/Makefile.in: Regenerate.
2150 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in codecvt configury.
2151 * aclocal.m4: Regenerate.
2152 * configure: Regenerate.
2153 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Use macro guard.
2154 * testsuite/22_locale/codecvt_unicode_char.cc: Same.
2155 * testsuite/22_locale/ctor_copy_dtor.cc: And here.
2157 * include/bits/localefwd.h (class locale::facet): Add __enc_traits
2158 as a friend for _S_*_c_locale functions.
2159 * include/bits/codecvt.h (__enc_traits::__enc_traits): Add locale
2160 argument to default constructor so that CODESET information can be
2162 * include/bits/locale_facets.h (messages_byname):
2163 Re-implement. Remove specializations.
2164 * src/locale.cc (messages_byname<char>): Remove specialization.
2165 (messages_byname<wchar_t>): Same.
2166 * config/locale/c_locale_ieee_1003.1-200x.cc: New file.
2167 * config/locale/c_locale_ieee_1003.1-200x.h: New file.
2168 * config/locale/messages_members_ieee_1003.1-200x.cc: New file.
2169 * config/locale/messages_members_ieee_1003.1-200x.h: New file.
2170 * config/locale/messages_members_gnu.cc: New file.
2171 * config/locale/messages_members_gnu.h: New file.
2172 * config/locale/messages_members_generic.cc: New file.
2173 * config/locale/messages_members_generic.h: New file.
2175 * docs/html/configopts.html: Add documentation for new locale
2176 model, ieee_1003.1. Adjust other flags for current defaults.
2177 * docs/html/22_locale/locale.html: Update.
2178 * docs/html/22_locale/howto.html: Add link to messages.html. Organize.
2179 * docs/html/22_locale/messages.html: New.
2181 * src/Makefile.am (sources): Add messages_virtuals.cc.
2182 * src/Makefile.in: Regenerate.
2183 * include/Makefile.am (allstamps): Add stamp-messages_model.
2184 (stamp-messages_model): Add.
2185 * include/Makefile.in: Regenerate.
2186 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in messages configury.
2187 * aclocal.m4: Regenerate.
2188 * configure: Regenerate.
2190 * testsuite_flags.in (--cxxflags): Add LOCALEDIR.
2191 * testsuite/lib/libstdc++-v3-dg.exp: Remove broken LD_LIBRARY_PATH
2193 * acinclude (GLIBCPP_ENABLE_CLOCALE): Set glibcpp_localedir to the
2194 build directories message catalog base directory, and export.
2195 Eventually this should probably be made to deal with build and
2196 install directories. For now, punt on this as the library itself
2197 doesn't use message catalogs (yet).
2198 * testsuite/22_locale/messages.cc: New file.
2199 * testsuite/22_locale/messages_char_members.cc: New file.
2200 * testsuite/22_locale/messages_byname.cc: New file.
2202 2001-08-06 Phil Edwards <pme@sources.redhat.com>
2204 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls...
2205 (GLIBCPP_CHECK_SETRLIMIT): ...this new macro, which also uses...
2206 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): ...this new macro.
2207 * configure.in (AM_CONFIG_HEADER): Also generate testsuite_hooks.h.
2208 Call GLIBCPP_CONFIGURE_TESTSUITE.
2209 * aclocal.m4: Regenerate.
2210 * config.h.in: Regenerate.
2211 * configure: Regenerate.
2213 * testsuite/lib/libstdc++-v3-dg.exp: Download new header instead
2216 * testsuite_flags.in: Add build dir's testsuite to INCLUDES.
2217 * testsuite/debug_assert.h: Removed; contents merged into...
2218 * testsuite/testsuite_hooks.h.in: ...here. New file.
2219 * testsuite/17_intro/header_ciso646.cc: No longer include
2220 debug_assert.h, include testsuite_hooks.h instead.
2221 * testsuite/17_intro/header_fstream.cc: Likewise.
2222 * testsuite/17_intro/header_iomanip.cc: Likewise.
2223 * testsuite/17_intro/header_ios.cc: Likewise.
2224 * testsuite/17_intro/header_iosfwd.cc: Likewise.
2225 * testsuite/17_intro/header_iostream.cc: Likewise.
2226 * testsuite/17_intro/header_istream.cc: Likewise.
2227 * testsuite/17_intro/header_ostream.cc: Likewise.
2228 * testsuite/17_intro/header_sstream.cc: Likewise.
2229 * testsuite/17_intro/header_streambuf.cc: Likewise.
2230 * testsuite/18_support/numeric_limits.cc: Likewise.
2231 * testsuite/19_diagnostics/stdexceptions.cc: Likewise.
2232 * testsuite/20_util/allocator_members.cc: Likewise.
2233 * testsuite/20_util/auto_ptr.cc: Likewise.
2234 * testsuite/20_util/pairs.cc: Likewise.
2235 * testsuite/21_strings/append.cc: Likewise.
2236 * testsuite/21_strings/capacity.cc: Likewise.
2237 * testsuite/21_strings/char_traits_requirements.cc: Likewise.
2238 * testsuite/21_strings/compare.cc: Likewise.
2239 * testsuite/21_strings/ctor_copy_dtor.cc: Likewise. Also set up
2240 call to (disabled) __set_testsuite_memlimit() wrapper.
2241 * testsuite/21_strings/element_access.cc: Likewise.
2242 * testsuite/21_strings/find.cc: Likewise.
2243 * testsuite/21_strings/insert.cc: Likewise. Also set up call to
2244 (disabled) __set_testsuite_memlimit() wrapper.
2245 * testsuite/21_strings/inserters_extractors.cc: Likewise.
2246 * testsuite/21_strings/invariants.cc: Likewise.
2247 * testsuite/21_strings/nonmember.cc: Likewise.
2248 * testsuite/21_strings/operations.cc: Likewise.
2249 * testsuite/21_strings/replace.cc: Likewise.
2250 * testsuite/21_strings/rfind.cc: Likewise.
2251 * testsuite/21_strings/substr.cc: Likewise.
2252 * testsuite/22_locale/codecvt_char_char.cc: Likewise.
2253 * testsuite/22_locale/codecvt_unicode_char.cc: Likewise.
2254 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Likewise.
2255 * testsuite/22_locale/codecvt_wchar_t_char.cc: Likewise.
2256 * testsuite/22_locale/ctor_copy_dtor.cc: Likewise.
2257 * testsuite/22_locale/ctype_char_members.cc: Likewise.
2258 * testsuite/22_locale/ctype_wchar_t_members.cc: Likewise.
2259 * testsuite/22_locale/facet.cc: Likewise.
2260 * testsuite/22_locale/global_templates.cc: Likewise.
2261 * testsuite/22_locale/members.cc: Likewise.
2262 * testsuite/22_locale/numpunct_byname.cc: Likewise.
2263 * testsuite/22_locale/numpunct_char_members.cc: Likewise.
2264 * testsuite/22_locale/operators.cc: Likewise.
2265 * testsuite/22_locale/static_members.cc: Likewise.
2266 * testsuite/23_containers/bitset_ctor.cc: Likewise.
2267 * testsuite/23_containers/bitset_members.cc: Likewise.
2268 * testsuite/23_containers/bitset_shift.cc: Likewise.
2269 * testsuite/23_containers/vector_capacity.cc: Likewise.
2270 * testsuite/23_containers/vector_ctor.cc: Likewise.
2271 * testsuite/23_containers/vector_element_access.cc: Likewise.
2272 * testsuite/23_containers/vector_modifiers.cc: Likewise.
2273 * testsuite/24_iterators/istreambuf_iterator.cc: Likewise.
2274 * testsuite/24_iterators/iterator.cc: Likewise.
2275 * testsuite/24_iterators/ostreambuf_iterator.cc: Likewise.
2276 * testsuite/25_algorithms/binary_search.cc: Likewise.
2277 * testsuite/25_algorithms/copy.cc: Likewise.
2278 * testsuite/25_algorithms/heap.cc: Likewise.
2279 * testsuite/25_algorithms/lower_bound.cc: Likewise.
2280 * testsuite/25_algorithms/min_max.cc: Likewise.
2281 * testsuite/25_algorithms/partition.cc: Likewise.
2282 * testsuite/25_algorithms/rotate.cc: Likewise.
2283 * testsuite/25_algorithms/sort.cc: Likewise.
2284 * testsuite/26_numerics/c_math.cc: Likewise.
2285 * testsuite/26_numerics/complex_inserters_extractors.cc: Likewise.
2286 * testsuite/26_numerics/complex_value.cc: Likewise.
2287 * testsuite/27_io/filebuf.cc: Likewise.
2288 * testsuite/27_io/filebuf_members.cc: Likewise.
2289 * testsuite/27_io/filebuf_virtuals.cc: Likewise.
2290 * testsuite/27_io/fpos.cc: Likewise.
2291 * testsuite/27_io/fstream_members.cc: Likewise.
2292 * testsuite/27_io/ifstream_members.cc: Likewise.
2293 * testsuite/27_io/ios_base_callbacks.cc: Likewise.
2294 * testsuite/27_io/ios_base_members_static.cc: Likewise.
2295 * testsuite/27_io/ios_base_storage.cc: Likewise.
2296 * testsuite/27_io/ios_ctor.cc: Likewise.
2297 * testsuite/27_io/ios_init.cc: Likewise.
2298 * testsuite/27_io/ios_manip_basefield.cc: Likewise.
2299 * testsuite/27_io/ios_manip_fmtflags.cc: Likewise.
2300 * testsuite/27_io/ios_members.cc: Likewise.
2301 * testsuite/27_io/istream_extractor_arith.cc: Likewise.
2302 * testsuite/27_io/istream_extractor_char.cc: Likewise.
2303 * testsuite/27_io/istream_extractor_other.cc: Likewise.
2304 * testsuite/27_io/istream_manip.cc: Likewise.
2305 * testsuite/27_io/istream_seeks.cc: Likewise.
2306 * testsuite/27_io/istream_sentry.cc: Likewise.
2307 * testsuite/27_io/istream_unformatted.cc: Likewise.
2308 * testsuite/27_io/istringstream_members.cc: Likewise.
2309 * testsuite/27_io/narrow_stream_objects.cc: Likewise.
2310 * testsuite/27_io/ofstream_members.cc: Likewise.
2311 * testsuite/27_io/ostream_inserter_arith.cc: Likewise.
2312 * testsuite/27_io/ostream_inserter_char.cc: Likewise.
2313 * testsuite/27_io/ostream_inserter_other.cc: Likewise.
2314 * testsuite/27_io/ostream_manip.cc: Likewise.
2315 * testsuite/27_io/ostream_seeks.cc: Likewise.
2316 * testsuite/27_io/ostream_unformatted.cc: Likewise.
2317 * testsuite/27_io/ostringstream_members.cc: Likewise.
2318 * testsuite/27_io/streambuf.cc: Likewise.
2319 * testsuite/27_io/stringbuf.cc: Likewise.
2320 * testsuite/27_io/stringbuf_virtuals.cc: Likewise.
2321 * testsuite/27_io/stringstream.cc: Likewise.
2322 * testsuite/27_io/stringstream_members.cc: Likewise.
2323 * testsuite/27_io/wide_stream_objects.cc: Likewise.
2325 2001-07-31 Loren J. Rittle <ljrittle@acm.org>
2327 * src/gen-num-limits.cc: Use __LONG_LONG_MAX__.
2329 2001-07-30 Benjamin Kosnik <bkoz@redhat.com>
2331 * configure.target: Remove mips from cpu table.
2332 * config/cpu/mips/bits/atomicity.h: Remove generic
2333 versions. Comment sgidefs include.
2335 2001-07-25 H.J. Lu <hjl@gnu.org>
2337 * configure.target (cpu_include_dir): Set to `config/cpu/mips'
2340 * config/cpu/mips/bits/atomicity.h: New.
2342 2001-07-25 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2344 * acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf,
2345 hypotl, atan2f, atan2l. Remove from REPLACE_MATHFUNCS list.
2346 * aclocal.m4: Regenerate.
2347 * config.h.in: Likewise.
2348 * configure: Likewise.
2349 * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove hypotl.c
2350 (EXTRA_DIST): Remove hypot.c hypotf.c.
2351 * libmath/Makefile.am: Regenerate.
2352 * libmath/hypotf.c: Remove.
2353 * libmath/hypot.c: Likewise.
2354 * libmath/hypotl.c: Likewise.
2355 * libmath/stubs.c: The macros seen here are HAVE_xxx, not
2356 _GLIBCPP_HAVE_xxx. Add long double versions.
2358 2001-07-23 David Edelsohn <edelsohn@gnu.org>
2360 * include/bits/limits_generic.h (int): Set digits and digits10
2361 appropriately for word size.
2362 (unsigned int,long,unsigned long): Likewise.
2364 2001-07-19 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2366 * include/bits/stl_algo.h : Fix typos.
2367 * testsuite/25_algorithms/unique.cc: New file.
2369 2001-07-19 Phil Edwards <pme@sources.redhat.com>
2370 Mark Mitchell <mark@codesourcery.com>
2372 Merge from cp-parser-branch.
2373 * include/bits/basic_string.h: Qualify symbols with 'template'.
2374 * include/bits/basic_string.tcc: Likewise.
2375 * include/bits/fstream.tcc: Likewise.
2376 * include/bits/istream.tcc: Likewise.
2377 * include/bits/sstream.tcc: Likewise.
2378 * include/bits/std_istream.h: Likewise.
2379 * include/bits/stl_iterator.h: Likewise.
2380 * include/bits/streambuf.tcc: Likewise.
2381 * src/gen-num-limits.cc: Add 'template<>' to specializations.
2382 * src/locale.cc: Likewise.
2384 2001-07-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2385 Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
2387 * src/gen-num-limits.cc (set_signals_handler): New function.
2388 Factor out signals setting. Set signal handler for SIGILL.
2390 2001-07-18 Phil Edwards <pme@sources.redhat.com>
2392 * docs/html/27_io/howto.html: Fix typo.
2393 * docs/html/faq/index.html: Minor updates for 3.0 all around.
2394 * docs/html/faq/index.txt: Regenerated.
2396 2001-07-18 Stephen M. Webb <stephen@bregmasoft..com>
2397 Roman Sulzhyk <roman_sulzhyk@yahoo.com>
2400 * include/bits/ostream.tcc (ostream::put): Fixed error condition check.
2401 * testsuite/27_io/streambuf.cc (test07): Added new regression test.
2403 2001-07-17 Stephen M. Webb <stephen@bregmasoft.com>r
2405 All occurrences of the __value_type() and __distance_type()
2406 functions, which were required to support the HP STL, have been
2407 removed along with all the auxiliary forwarding functions that
2408 were required to support their use.
2410 The __iterator_category() function was pretty much left alone
2411 because there was no benefit to removing it and its use made code
2412 just a little more readable.
2414 Incidences of distance() with nonstandard argument list were
2415 replaced by calls to the standard function (only in the files
2416 affected by the removal of the other HP functions).
2418 The signature of the rotate() algorithm was changed to match the
2421 Headers were reformatted under C++STYLE guidelines (indentation,
2422 linebreaks, typename keyword).
2424 * include/bits/stl_algo.h: replaced __value_type() and
2425 __distance_type() with iterator_traits, eliminated auxiliary
2426 support functions required to support said function usage.
2427 Changed nonstandard distance() call to standard call.
2429 * include/bits/stl_algobase.h: Same.
2430 * include/bits/stl_heap.h: Same.
2431 * include/bits/stl_numeric.h: Same.
2432 * include/bits/stl_uninitialized.h: Same.
2433 * include/bits/stl_iterator_base_types.h (__value_type()):
2435 (__distance_type()): Removed.
2436 (value_type()): Gone.
2437 (distance_type()): Done in.
2438 (iterator_category()): Hasta la vista, baby.
2440 * include/bits/stl_iterator_base_funcs.h (iterator_category()):
2441 Replaced with __iterator_category().
2442 * include/backward/iterator.h: moved definition of value_type(),
2443 distance_type(), and iterator_category() out of std:: and into
2445 * testsuite/23_containers/vector_ctor.cc (test03): New testcases.
2446 * testsuite/23_containers/vector_modifiers.cc (test03): New testcases.
2447 * testsuite/25_algorithms/rotate.cc: New testcase.
2448 * testsuite/25_algorithms/copy.cc: New testcase.
2449 * testsuite/25_algorithms/sort.cc: Same.
2450 * testsuite/25_algorithms/heap.cc: Same.
2451 * testsuite/25_algorithms/partition.cc: Same.
2452 * testsuite/25_algorithms/binary_search.cc: Same.
2453 * testsuite/26_numerics/sum_diff.cc: Ditto.
2455 001-07-17 Benjamin Kosnik <bkoz@redhat.com>
2457 * testsuite/README: Add notes on naming test cases.
2458 * testsuite/22_locale/members.cc: Mark as xfail.
2459 * testsuite/22_locale/numpunct_char_members.cc: Same.
2461 2001-07-16 Stephen M. Webb <stephen@bregmasoft.com>
2463 * acinclude.m4 (GLIBCPP_ENABLE_CHEADERS): Use glibcpp_srcdir when
2464 setting C_INCLUDE_DIR.
2465 * configure.in: Revert yesterday's LN_S change.
2466 * aclocal.m4: Regenerate.
2467 * configure: Regenerate.
2469 2001-07-15 Phil Edwards <pme@sources.redhat.com>
2471 * configure.in: Temporarily force LN_S to copy instead of symlink.
2472 * configure: Regenerate.
2474 2001-07-13 Phil Edwards <pme@sources.redhat.com>
2476 * include/bits/std_sstream.h (basic_stringbuf::basic_stringbuf(string):
2477 Initialize _M_string with pointer-and-size constructor, not just
2478 pointer. Fix some comments.
2479 * testsuite/21_strings/ctor_copy_dtor.cc (test03): New test.
2480 * testsuite/27_io/stringbuf.cc (test02): Remove unused variable.
2481 (test03): Add embedded-NUL tests.
2483 * mkcheck.in: When printing totals, match the order of the tests.
2484 * include/bits/stringfwd.h: Use same declaration keywords.
2485 * include/bits/std_iosfwd.h: Cosmetic spacing.
2487 2001-07-13 Stephen M. Webb <stephen@bregmasoft.com>
2488 Loren J. Rittle <ljrittle@acm.org>
2489 Phil Edwards <pme@sources.redhat.com>
2491 * include/Makefile.am: New file encapsulating header generation rules.
2492 * Makefile.am (SUBDIRS): Prepend 'include' directory.
2493 * acinclude.m4: Moved/removed rules for building various headers.
2494 * configure.in (AC_OUTPUT): Add include/Makefile.
2495 * mkc++config: Removed.
2497 * testsuite_flags.in: Changed build-includes to match new scheme.
2498 * mknumeric_limits: Likewise.
2499 * libio/Makefile.am: Changed INCLUDES to maatch new header scheme.
2500 * libmath/Makefile.am: Likewise.
2501 * libsupc++/Makefile.am: Likewise.
2502 * src/Makefile.am: Likewise; removed rules to build headers.
2503 * libmath/mathconf.h: Changed #include'd header names to match.
2504 * libmath/stubs.c: Likewise.
2505 * src/gen-num-limits.cc: Likewise.
2507 * configure: Regenerated.
2508 * config.h.in: Regenerated.
2509 * aclocal.m4: Regenerated.
2510 * Makefile.in: Regenerated.
2511 * include/Makefile.in: Regenerated.
2512 * libio/Makefile.in: Regenerated.
2513 * libmath/Makefile.in: Regenerated.
2514 * libsupc++/Makefile.in: Regenerated.
2515 * src/Makefile.in: Regenerated.
2516 * testsuite/Makefile.in: Regenerated.
2518 2001-07-11 Felix Natter <fnatter@gmx.net>
2520 * docs/html/17_intro/porting-howto.xml: Initial checkin of
2522 * docs/html/17_intro/porting-howto.html: check in v0.9.3
2524 2001-07-11 Phil Edwards <pme@sources.redhat.com>
2526 * docs/doxygen/run_doxygen: Don't keep output from previous run.
2527 * docs/doxygen/user.cfg.in: Tweaks.
2528 * include/bits/c++config: Documentation comments for Doxygen.
2529 * include/bits/char_traits.h: Likewise.
2530 * include/bits/limits_generic.h: Likewise.
2531 * include/bits/std_stdexcept.h: Likewise.
2532 * include/bits/stl_pair.h: Likewise.
2533 * libsupc++/exception: Likewise.
2534 * libsupc++/new: Likewise.
2535 * libsupc++/typeinfo: Likewise.
2536 * libmath/Makefile.am: Update and correct copyright.
2538 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2540 * acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
2541 * aclocal.m4: Regenerate.
2544 2001-07-09 Phil Edwards <pme@sources.redhat.com>
2546 * docs/html/configopts.html: Fix thinko.
2547 * docs/html/27_io/howto.html: Fix thinko and HTML markup.
2548 * include/bits/stl_iterator.h: Fix typo.
2550 2001-07-09 Phil Edwards <pme@sources.redhat.com>
2552 * docs/html/explanations.html: New file.
2553 * docs/html/configopts.html: Link to it to provide more notes
2554 on cstdio. Minor markup and spacing fixes.
2555 * docs/html/27_io/howto.html: Talk about sync_with_stdio.
2557 2001-07-09 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
2559 * include/bits/valarray_meta.h (_Expr::operator+): Use qualified id
2560 for _Expr template template argument.
2561 (_Expr::operator-): Likewise.
2562 (_Expr::operator~): Likewise.
2563 (_Expr::operator!): Likewise.
2564 (_DEFINE_EXPR_UNARY_OPERATOR): Likewise.
2566 2001-07-06 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2568 * libmath/Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.c
2569 * libmath/Makefile.in: Regenerate.
2570 * libmath/expf.c: Remove.
2571 * libmath/atan2f.c: Likewise.
2573 2001-07-06 Daniel Jacobowitz <drow@mvista.com>
2575 * configure.in: Remove NATIVE, NULL_TARGET.
2576 Set CANADIAN only for Canadian crosses. Set xcompiling
2577 for both Canadian crosses and host-x-host crosses.
2578 * configure: Regenerated.
2580 2001-07-06 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2582 * include/bits/stl_vector.h (vector::_M_initialize_aux): Fix typo.
2584 2001-07-05 Jason Merrill <jason_merrill@redhat.com>
2586 * testsuite_flags.in (--build-includes): backward, not backwards.
2588 2001-07-04 Jeffrey Oldham <oldham@codesourcery.com>
2590 * include/ext/ropeimpl.h (_Rope_RopeRep::_M_free_c_string):
2591 Replace destroy by _Destroy.
2592 (_Rope_RopeRep::_S_free_string): Likewise.
2593 (rope::c_str()): Likewise.
2594 * include/ext/slist (_Slist_base::_M_erase_after>): Likewise.
2595 (_Slist_base::_M_erase_after): Likewise.
2596 (slist::_M_create_node): Replace construct by _Construct.
2597 (slist::pop_front): Replace destroy by _Destroy.
2598 * include/ext/stl_hashtable.h (hashtable::_M_new_node): Replace
2599 construct by _Construct.
2600 (hashtable::_M_delete_node): Replace destroy by _Destroy.
2601 * include/ext/stl_rope.h (rope::rope): Replace construct by
2603 (rope::copy): Replace destroy by _Destroy.
2605 2001-07-03 Benjamin Kosnik <bkoz@redhat.com>
2607 * include/bits/localefwd.h: Format.
2608 * include/bits/locale_facts.tcc (locale::combine): Adjust.
2609 * src/locale.cc (locale::locale::(_Impl)): Don't call
2611 (locale::facet::_M_remove_reference): Simplify.
2612 * src/globals.cc (locale_impl_c): New. Format.
2614 * src/ios.cc (ios_base::Init::Init): Increment _S_ios_base_init last.
2616 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
2618 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
2619 expansion (thanks to Alexandre Oliva).
2620 * aclocal.m4: Regenerate.
2621 * configure: Regenerate.
2623 2001-07-02 Benjamin Kosnik <bkoz@redhat.com>
2625 * src/locale.cc (locale::locale(const char*)): Make sure global
2626 locales are initialized.
2627 * include/bits/locale_facets.tcc (locale::combine): Refcout should
2628 be zero, not one as it's return-by-value.
2629 * testsuite/27_io/ios_base_callbacks.cc (test01): Don't check for
2631 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Instead, check
2634 * libsupc++/eh_alloc.cc: Use climits, not limits.h.
2636 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
2639 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
2640 * aclocal.m4: Regenerate.
2641 * configure: Regenerate.
2643 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
2646 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to
2647 staged/installed area to support -I-. Document.
2648 * aclocal.m4: Regenerate.
2649 * configure: Regenerate.
2651 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
2654 * src/ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to
2655 __out_bufsize. Add __in_bufsize, document it and use it.
2657 2001-07-01 Stephen M. Webb <stephen@bregmasoft.com>
2659 * include/bits/stl_construct.h (construct): Remove.
2661 (__destroy): Replaced by use of iterator_traits.
2662 * include/bits/stl_deque.h: replaced HP iterator functions with
2664 (construct): changed to _Construct.
2665 (destroy): changed to _Destroy.
2666 * include/bits/stl_tempbuf.h: Same.
2667 * include/bits/stl_tree.h: Same.
2668 * include/bits/stl_vector.h: Same.
2669 * include/backward/iterator.h (construct): moved definition to here.
2672 2001-06-29 Benjamin Kosnik <bkoz@redhat.com>
2674 * include/bits/locale_facets.tcc (locale::combine): Clone _Impl.
2675 before replacing facet.
2676 * include/bits/localefwd.h (locale::_Impl::_M_remove_reference):
2678 * src/localename.cc (locale::_Impl): Correct ctor initialization
2679 lists. Initialize ref count with one. Simplify.
2680 * src/locale.cc: Add comment.
2681 * testsuite/22_locale/numpunct.cc (test01): Add derivation test.
2682 * testsuite/22_locale/numpunct_char_members.cc (test01): Add tests.
2683 * testsuite/22_locale/members.cc (test02): Fix.
2685 2001-06-27 Phil Edwards <pme@sources.redhat.com>
2687 * include/backward/algo.h: Add "GPL plus runtime exception" comment
2688 block, this time for real.
2689 * include/backward/algobase.h: Likewise.
2690 * include/backward/alloc.h: Likewise.
2691 * include/backward/bvector.h: Likewise.
2692 * include/backward/defalloc.h: Likewise.
2693 * include/backward/deque.h: Likewise.
2694 * include/backward/function.h: Likewise.
2695 * include/backward/hash_map.h: Likewise.
2696 * include/backward/hash_set.h: Likewise.
2697 * include/backward/hashtable.h: Likewise.
2698 * include/backward/heap.h: Likewise.
2699 * include/backward/iterator.h: Likewise.
2700 * include/backward/list.h: Likewise.
2701 * include/backward/map.h: Likewise.
2702 * include/backward/multimap.h: Likewise.
2703 * include/backward/multiset.h: Likewise.
2704 * include/backward/pair.h: Likewise.
2705 * include/backward/rope.h: Likewise.
2706 * include/backward/set.h: Likewise.
2707 * include/backward/slist.h: Likewise.
2708 * include/backward/stack.h: Likewise.
2709 * include/backward/strstream: Likewise.
2710 * include/backward/tempbuf.h: Likewise.
2711 * include/backward/tree.h: Likewise.
2712 * include/backward/vector.h: Likewise.
2713 * include/bits/pthread_allocimpl.h: Likewise.
2714 * include/bits/std_algorithm.h: Likewise.
2715 * include/bits/std_bitset.h: Likewise.
2716 * include/bits/std_deque.h: Likewise.
2717 * include/bits/std_functional.h: Likewise.
2718 * include/bits/std_iterator.h: Likewise.
2719 * include/bits/std_list.h: Likewise.
2720 * include/bits/std_map.h: Likewise.
2721 * include/bits/std_memory.h: Likewise.
2722 * include/bits/std_numeric.h: Likewise.
2723 * include/bits/std_queue.h: Likewise.
2724 * include/bits/std_set.h: Likewise.
2725 * include/bits/std_stack.h: Likewise.
2726 * include/bits/std_utility.h: Likewise.
2727 * include/bits/std_vector.h: Likewise.
2728 * include/bits/stl_algo.h: Likewise.
2729 * include/bits/stl_algobase.h: Likewise.
2730 * include/bits/stl_alloc.h: Likewise.
2731 * include/bits/stl_bvector.h: Likewise.
2732 * include/bits/stl_construct.h: Likewise.
2733 * include/bits/stl_deque.h: Likewise.
2734 * include/bits/stl_function.h: Likewise.
2735 * include/bits/stl_heap.h: Likewise.
2736 * include/bits/stl_iterator.h: Likewise.
2737 * include/bits/stl_iterator_base_funcs.h: Likewise.
2738 * include/bits/stl_iterator_base_types.h: Likewise.
2739 * include/bits/stl_list.h: Likewise.
2740 * include/bits/stl_map.h: Likewise.
2741 * include/bits/stl_multimap.h: Likewise.
2742 * include/bits/stl_multiset.h: Likewise.
2743 * include/bits/stl_numeric.h: Likewise.
2744 * include/bits/stl_pair.h: Likewise.
2745 * include/bits/stl_pthread_alloc.h: Likewise.
2746 * include/bits/stl_queue.h: Likewise.
2747 * include/bits/stl_raw_storage_iter.h: Likewise.
2748 * include/bits/stl_relops.h: Likewise.
2749 * include/bits/stl_set.h: Likewise.
2750 * include/bits/stl_stack.h: Likewise.
2751 * include/bits/stl_tempbuf.h: Likewise.
2752 * include/bits/stl_threads.h: Likewise.
2753 * include/bits/stl_tree.h: Likewise.
2754 * include/bits/stl_uninitialized.h: Likewise.
2755 * include/bits/stl_vector.h: Likewise.
2756 * include/bits/type_traits.h: Likewise.
2757 * include/ext/hash_map: Likewise.
2758 * include/ext/hash_set: Likewise.
2759 * include/ext/rope: Likewise.
2760 * include/ext/ropeimpl.h: Likewise.
2761 * include/ext/slist: Likewise.
2762 * include/ext/stl_hash_fun.h: Likewise.
2763 * include/ext/stl_hashtable.h: Likewise.
2764 * include/ext/stl_rope.h: Likewise.
2765 * src/bitset.cc: Likewise.
2766 * src/strstream.cc: Likewise.
2768 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2769 <vakatov@ncbi.nlm.nih.gov>
2772 * include/bits/streambuf.tcc (__copy_streambufs): Don't set eofbit.
2773 * testsuite/27_io/ostream_inserter_other.cc (test04): Add test.
2774 * testsuite/27_io/istream_extractor_other.cc: Fix.
2776 2001-06-26 Zoltan Hidvegi <hzoli@austin.ibm.com>
2778 * acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
2779 * aclocal.m4: Regenerate.
2780 * configure: Regenerate.
2782 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2784 * include/bits/stream_iterator.h (istream_iterator): Add copy ctor.
2785 (ostream_iterator): Same.
2786 * include/bits/stl_iterator.h (front_insert_iterator::operator=):
2787 Change argument to const_reference.
2788 (back_insert_iterator): Same.
2790 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2792 * include/bits/sbuf_iter.h: Change to..
2793 * include/bits/streambuf_iterator.h: This.
2794 * include/bits/stl_iterator.h: Take out of here...
2795 * include/bits/stream_iterator.h: Add.
2796 * src/Makefile.am (base_headers): Add streambuf_iterator,
2798 * src/Makefile.in: Regenerate.
2799 * include/bits/std_string.h: Adjust includes.
2800 * include/bits/basic_ios.h: Same.
2801 * include/bits/locale_facets.tcc: Same.
2802 * include/bits/std_iosfwd.h: Same.
2804 * include/bits/std_iterator.h: Add istream, ostream includes.
2805 * include/bits/stl_iterator.h: Tweak.
2806 * testsuite/24_iterators/ostream_iterator.cc: Add test.
2807 * testsuite/24_iterators/istream_iterator.cc: Same.
2808 * testsuite/23_containers/multiset.cc: Add iterator include.
2810 2001-06-26 Phil Edwards <pme@sources.redhat.com>
2812 * acinclude.m4: Clean extraneous tabs, rewrap 'test' lines.
2813 * aclocal.m4: Regenerate.
2814 * configure: Regenerate.
2816 2001-06-26 Felix Natter <f.natter@ndh.net>
2818 * docs/html/17_intro/porting-howto.html: Fixed some errors.
2820 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2822 * include/bits/stl_iterator.h (istream_iterator::operator->): Fix
2824 (istream_iterator::operator*): Same.
2826 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2827 Alexandre Petit-Bianco <apbianco@redhat.com>
2829 * testsuite/21_strings/element_access.cc (test01): Chill Out Cafe
2830 is on 41st, not 14th.
2832 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2834 * include/bits/std_iterator.h: Include sbuf_iter.h via std_ios.h.
2836 * include/bits/stl_iterator.h (istream_iterator): Inherit from
2838 (ostream_iterator): Same.
2839 * testsuite/24_iterators/istream_iterator.cc: New file.
2840 * testsuite/24_iterators/ostream_iterator.cc: New file.
2842 * include/bits/sbuf_iter.h: Remove self typedef.
2843 * testsuite/24_iterators/ostreambuf_iterator.cc: Add test.
2844 * testsuite/24_iterators/istreambuf_iterator.cc: Add test.
2846 * include/bits/stl_iterator.h (reverse_iterator): Remove
2847 extraneous typedefs. Add typename.
2848 (__normal_iterator): Remove typedefs referring to self. Add typename.
2849 (reverse_bidiretional_iterator): Remove, not longer required.
2851 2001-06-26 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2853 * include/bits/stl_iterator.h (__normal_iterator<>): Qualify
2854 dependent names with `typename'. Bring in various required
2855 iterator_traits members. Can't imagine why that used to work.
2857 2001-06-25 Phil Edwards <pme@sources.redhat.com>
2858 Kurt Garloff <garloff@suse.de>
2861 * src/cmath.cc: New [version of an old] file; instantiate
2862 __cmath_power to start with.
2863 * src/Makefile.am (sources): Add cmath.cc (and alphabetize).
2864 * Makefile.in: Regenerate.
2865 * libio/Makefile.in: Regenerate.
2866 * libmath/Makefile.in: Regenerate.
2867 * libsupc++/Makefile.in: Regenerate.
2868 * src/Makefile.in: Regenerate.
2869 * testsuite/Makefile.in: Regenerate.
2871 2001-06-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2873 * libmath/stubs.c: Fix thinko.
2875 2001-06-24 David Edelsohn <dje@watson.ibm.com>
2877 * libmath/stubs.c (sqrtf): Define.
2878 (tanf): Correct typo.
2880 2001-06-22 Benjamin Kosnik <bkoz@redhat.com>
2882 * include/bits/stl_iterator.h (reverse_iterator): Inherit from
2884 (back_insert_iterator): Same.
2885 (front_insert_iterator): Same.
2886 (insert_iterator): Same.
2888 * testsuite/20_util/raw_storage_iterator.cc: Modify.
2889 * testsuite/24_iterators/reverse_iterator.cc: New file.
2890 * testsuite/24_iterators/back_insert_iterator.cc: New file.
2891 * testsuite/24_iterators/front_insert_iterator.cc: New file.
2892 * testsuite/24_iterators/insert_iterator.cc: New file.
2894 2001-06-22 Phil Edwards <pme@sources.redhat.com>
2896 * include/*: Revert comment/license change from yesterday for all
2897 except libsupc++/unwind-cxx.h.
2898 * src/bitset.cc: Likewise.
2899 * src/strstream.cc: Likewise.
2901 2001-06-22 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2903 * libmath/stubs.c: New file.
2907 * libmath/Makefile.am (libmath_la_SOURCES): Add.
2908 * libmath/Makefile.in. Regenerate.
2910 2001-06-21 Phil Edwards <pme@sources.redhat.com>
2912 * include/backward/algo.h: Add "GPL plus runtime exception" comment.
2913 * include/backward/algobase.h: Likewise.
2914 * include/backward/alloc.h: Likewise.
2915 * include/backward/bvector.h: Likewise.
2916 * include/backward/defalloc.h: Likewise.
2917 * include/backward/deque.h: Likewise.
2918 * include/backward/function.h: Likewise.
2919 * include/backward/hash_map.h: Likewise.
2920 * include/backward/hash_set.h: Likewise.
2921 * include/backward/hashtable.h: Likewise.
2922 * include/backward/heap.h: Likewise.
2923 * include/backward/iterator.h: Likewise.
2924 * include/backward/list.h: Likewise.
2925 * include/backward/map.h: Likewise.
2926 * include/backward/multimap.h: Likewise.
2927 * include/backward/multiset.h: Likewise.
2928 * include/backward/pair.h: Likewise.
2929 * include/backward/rope.h: Likewise.
2930 * include/backward/set.h: Likewise.
2931 * include/backward/slist.h: Likewise.
2932 * include/backward/stack.h: Likewise.
2933 * include/backward/strstream: Likewise.
2934 * include/backward/tempbuf.h: Likewise.
2935 * include/backward/tree.h: Likewise.
2936 * include/backward/vector.h: Likewise.
2937 * include/bits/pthread_allocimpl.h: Likewise.
2938 * include/bits/std_algorithm.h: Likewise.
2939 * include/bits/std_bitset.h: Likewise.
2940 * include/bits/std_deque.h: Likewise.
2941 * include/bits/std_functional.h: Likewise.
2942 * include/bits/std_iterator.h: Likewise.
2943 * include/bits/std_list.h: Likewise.
2944 * include/bits/std_map.h: Likewise.
2945 * include/bits/std_memory.h: Likewise.
2946 * include/bits/std_numeric.h: Likewise.
2947 * include/bits/std_queue.h: Likewise.
2948 * include/bits/std_set.h: Likewise.
2949 * include/bits/std_stack.h: Likewise.
2950 * include/bits/std_utility.h: Likewise.
2951 * include/bits/std_vector.h: Likewise.
2952 * include/bits/stl_algo.h: Likewise.
2953 * include/bits/stl_algobase.h: Likewise.
2954 * include/bits/stl_alloc.h: Likewise.
2955 * include/bits/stl_bvector.h: Likewise.
2956 * include/bits/stl_construct.h: Likewise.
2957 * include/bits/stl_deque.h: Likewise.
2958 * include/bits/stl_function.h: Likewise.
2959 * include/bits/stl_heap.h: Likewise.
2960 * include/bits/stl_iterator.h: Likewise.
2961 * include/bits/stl_iterator_base_funcs.h: Likewise.
2962 * include/bits/stl_iterator_base_types.h: Likewise.
2963 * include/bits/stl_list.h: Likewise.
2964 * include/bits/stl_map.h: Likewise.
2965 * include/bits/stl_multimap.h: Likewise.
2966 * include/bits/stl_multiset.h: Likewise.
2967 * include/bits/stl_numeric.h: Likewise.
2968 * include/bits/stl_pair.h: Likewise.
2969 * include/bits/stl_pthread_alloc.h: Likewise.
2970 * include/bits/stl_queue.h: Likewise.
2971 * include/bits/stl_raw_storage_iter.h: Likewise.
2972 * include/bits/stl_relops.h: Likewise.
2973 * include/bits/stl_set.h: Likewise.
2974 * include/bits/stl_stack.h: Likewise.
2975 * include/bits/stl_tempbuf.h: Likewise.
2976 * include/bits/stl_threads.h: Likewise.
2977 * include/bits/stl_tree.h: Likewise.
2978 * include/bits/stl_uninitialized.h: Likewise.
2979 * include/bits/stl_vector.h: Likewise.
2980 * include/bits/type_traits.h: Likewise.
2981 * include/ext/hash_map: Likewise.
2982 * include/ext/hash_set: Likewise.
2983 * include/ext/rope: Likewise.
2984 * include/ext/ropeimpl.h: Likewise.
2985 * include/ext/slist: Likewise.
2986 * include/ext/stl_hash_fun.h: Likewise.
2987 * include/ext/stl_hashtable.h: Likewise.
2988 * include/ext/stl_rope.h: Likewise.
2989 * libsupc++/unwind-cxx.h: Likewise.
2990 * src/bitset.cc: Likewise.
2991 * src/strstream.cc: Likewise.
2993 2001-06-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2995 * include/bits/indirect_array.h (indirect_array<>::operator=):
2996 Make copy and assignment operator public. Implement. Format.
2998 * include/bits/valarray_array.h (__valarray_copy): Add overloads
2999 for copy between index arrays. Format.
3001 2001-06-19 Benjamin Kosnik <bkoz@redhat.com>
3003 * mknumeric_limits: Add static definitions, format.
3004 * testsuite/18_support/numeric_limits.cc (test02): Add test.
3006 * include/c_std/bits/std_cwchar.h: Include ctime.
3007 * testsuite/17_intro/header_cwchar.cc : Check.
3009 * include/c_std/bits/std_cwctype.h: Inject wctype.
3010 * testsuite/17_intro/header_cwctype.cc: Update.
3012 2001-06-18 Benjamin Kosnik <bkoz@redhat.com>
3014 * include/bits/stl_raw_storage_iter.h: Format. Correct derivation.
3015 * testsuite/20_util/raw_storage_iterator.cc: Same.
3017 * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to
3019 (__mem_interface): New typedef for switching between malloc and new.
3020 * testsuite/20_util/allocator_members.cc: New file.
3022 * testsuite/20_util/comparisons.cc: New file.
3023 * testsuite/20_util/pairs.cc: New file.
3025 2001-06-15 Phil Edwards <pme@sources.redhat.com>
3027 * docs/html/documentation.html: Point to new doxygen'ed collection.
3029 2001-06-14 Nathan Sidwell <nathan@codesourcery.com>
3031 * configure.in (auxdir): Replace by ...
3032 (toprel): ... new variable.
3033 (toplevel_srcdir): Construct from $toprel.
3034 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
3035 rather than .. to locate gcc source directory.
3036 (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
3037 * aclocal.m4, configure: Rebuilt.
3039 2001-06-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
3041 (Approved by Mark and Benjamin. Applied by Loren.)
3043 * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
3044 _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
3045 and _GLIBCPP_mutex_address.
3046 * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
3047 once-only runtime initialization of _M_lock mutex when
3048 __GTHREAD_MUTEX_INIT_FUNCTION is defined.
3049 (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
3050 for __GTHREAD_MUTEX_INIT_FUNCTION case.
3052 2001-06-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3054 * testsuite/26_numerics/slice_array_assignment.cc (main): New test.
3056 * include/bits/slice_array.h (slice_array<>::operator=): Make
3057 public and implement.
3058 (slice_array<>::slice_array): Make copy-constructor public.
3060 * include/bits/valarray_array.h (__valarray_copy): Add another
3061 overload to copy between strided arrays.
3063 2001-06-13 Benjamin Kosnik <bkoz@redhat.com>
3065 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
3066 * aclocal.m4: Regenerate.
3067 * configure: Regenerate.
3068 * include/bits/c++config (__GLIBCPP__): Update date.
3070 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
3072 * include/bits/fpos.h (fpos::operator-): Don't return reference,
3073 return original, non-modified version.
3074 (fpos::operator+): Same.
3075 * testsuite/27_io/fpos.cc: Add test.
3077 2001-06-12 Loren J. Rittle <ljrittle@acm.org>
3080 * porting.texi: Add documentation about libstdc++-v3-specific
3081 macros that are currently included in os_defines.h files.
3083 * config/basic_file_stdio.h (sys_getc): New method.
3084 (sys_ungetc): New method.
3085 * include/bits/basic_file.h: (sys_getc): New method signature.
3086 (sys_ungetc): New method signature.
3088 * include/bits/fstream.tcc (underflow): Add conditional code
3089 paths which avoid using short seeks on streams (especially
3090 useful when the stream might be interactive or a pipe). At
3091 the moment, this alternate path only avoids seeking when the
3092 ``buffer size'' of underflow() is 1 since the C standard only
3093 guarantees buffer space for one ungetc (this technique could
3094 be extended since *-*-solaris* supports buffering for 4 calls
3095 to ungetc and *-*-*bsd* supports buffering limited only by
3096 memory resources). Also, _GLIBCPP_AVOID_FSEEK must be defined
3097 in a port's os_defines.h file for this alternate path to even
3098 be considered. As a bonus, the idiom of using getc/ungetc
3099 requires no system calls whereas fseek maps to one or two
3100 system call(s) on many platforms.
3102 * config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
3104 * config/os/solaris/solaris2.5/bits/os_defines.h
3105 (_GLIBCPP_AVOID_FSEEK): Likewise.
3106 * config/os/solaris/solaris2.6/bits/os_defines.h
3107 (_GLIBCPP_AVOID_FSEEK): Likewise.
3108 * config/os/solaris/solaris2.7/bits/os_defines.h
3109 (_GLIBCPP_AVOID_FSEEK): Likewise.
3111 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
3113 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change to
3114 AC_TRY_COMPILE, so that the built compiler is checked, and
3115 bootstraps or cross compiles with an older compile still work.
3116 * aclocal.m4: Regenerate.
3117 * configure: Regenerate.
3119 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
3122 * include/bits/std_sstream.h: Add allocator_type, as per DR 251.
3125 * include/bits/istream.tcc (getline, get): Fix as per DR 243.
3128 * include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
3131 * include/bits/limits_generic.h: Fix as per DR 184.
3133 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
3136 * include/bits/basic_string.h (string::compare): Adjust signatures
3138 * include/bits/basic_string.tcc: And here.
3141 * config/c_io_stdio.h: Remove whitespace.
3142 * testsuite/27_io/istream_seeks.cc (test03): Add regression.
3143 (test02): Add regression.
3144 * testsuite/27_io/istream_seeks-3.tst: New file.
3146 2001-06-11 Phil Edwards <pme@sources.redhat.com>
3148 * README: Update to reflect reality.
3149 * acinclude.m4: Update descriptions, fix typos. Comment changes only.
3150 * configure.in: Make certain target_alias is set and subst'd for 2.50.
3151 * aclocal.m4: Regenerate.
3152 * configure: Regenerate (with 2.13).
3154 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
3157 * include/bits/ostream.tcc (ostream::seekp): Add error checking as
3159 * include/bits/istream.tcc (istream::seekg): Same.
3160 * testsuite/27_io/istream_seeks.cc: Fix.
3163 * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
3165 * include/bits/std_queue.h: Add c++config.h.
3166 * testsuite/20_util/binders.cc: New test.
3168 2001-06-11 Matthias Klose <doko@debian.org>
3169 Phil Edwards <pme@sources.redhat.com>
3171 * docs/doxygen/run_doxygen (find_doxygen): Tweak version check.
3172 (main script): Echo more information.
3174 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
3176 * include/c_std/bits/std_cwchar.h: Alphabetize.
3177 * include/bits/char_traits.h: Tweak.
3178 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
3179 everything used by std_cwchar.h.
3180 * aclocal.m4: Regenerate.
3181 * configure.in: Regenerate.
3182 * config.h.in: Regenerate.
3184 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
3186 * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
3187 Add checking for strtof, _Exit in stdlib.h
3188 * aclocal.m4: Regenerate.
3189 * configure.in: Regenerate.
3190 * include/c_std/bits/std_cstdio.h: Alphabetize lists.
3191 (snprintf): Put C99 functions into __gnu_cxx namespace.
3196 * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
3197 for C99 functions within _GLIBCPP_USE_C99 guard.
3201 * include/bits/locale_facets.tcc: Check if C99 is enabled.
3202 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
3204 * include/c_std/bits/cmath.tcc: Formatting tweak.
3205 * include/c_std/bits/std_cmath.h: Same.
3207 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
3209 * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
3211 2001-06-09 Alexandre Oliva <aoliva@redhat.com>
3212 Stephen L Moshier <moshier@mediaone.net>
3214 * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
3215 nothing, as in autoconf 2.50.
3216 * configure: Rebuilt.
3218 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
3220 * include/c_std/bits/std_cwchar.h: Remove size_t injection,
3221 include std_cstddef.
3222 * include/c_std/bits/std_ctime.h: Same.
3223 * include/c_std/bits/std_cstring.h: Same.
3224 * include/c_std/bits/std_cstdlib.h: Same.
3226 * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
3227 * include/c_std/bits/std_cctype.h: Remove isblank.
3229 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
3231 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
3233 * aclocal.m4: Regenerate.
3234 * configure: Regenerate.
3235 * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
3236 injection, guard fgetwc, fgetws.
3237 * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
3238 * include/c_std/bits/std_clocale.h: And here.
3239 * include/c_std/bits/std_cctype.h: And here.
3240 * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
3242 * config/basic_file_stdio.h: Don't include unistd.h.
3243 * config/c_io_stdio.h: Don't use compatibility headers.
3244 * libsupc++/eh_terminate.cc: Qualify abort.
3245 (__terminate): And here.
3246 * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
3248 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
3250 * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
3252 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
3257 * include/std/*: Add copyright notice.
3258 * include/c_std/bits/*: Use using statements instead of extern "C".
3259 * include/c_std/bits/std_cmath.h: Don't overload double versions
3260 of math functions with __buitin versions, use global version to
3261 prevent ambiguities. Remove define hacks.
3262 * include/c_std/bits/std_cwchar.h: Using declarations for "C"
3263 functions that have changed signatures and std::
3264 declarations. Remove define hacks.
3265 * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
3266 __builtins in std::. Remove define hacks.
3267 * testsuite/17_intro/headers_c.cc: Add tests.
3268 * testsuite/17_intro/headers_c++.cc: Add test.
3270 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
3271 John David Anglin <dave@hiauly1.hia.nrc.ca>
3274 * libsupc++/eh_alloc.cc: Ensure that required macros are
3275 defined before including gthr.h. Ensure that we get the
3276 version of gthr.h for which we know how to provide a
3278 * libsupc++/eh_globals.cc: Likewise. And, bring the threading
3279 code path into line with the current EH model. Use std, where
3282 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
3283 John David Anglin <dave@hiauly1.hia.nrc.ca>
3285 * config/threads-no.h: Remove file.
3286 * config/threads-posix.h: Remove file.
3288 * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
3289 (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
3290 (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
3291 * config.h.in: Regenerate.
3293 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
3294 setup and use gthr*.h files. In particular, make gthr.h files
3295 namespace-clean in the staging area (they don't have to be for
3297 * aclocal.m4: Regenerate.
3298 * configure: Regenerate.
3300 * src/Makefile.am (build_headers): Remove bits/c++threads.h
3301 and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
3302 * src/Makefile.in: Regenerate.
3304 * include/bits/c++config: Cleanup threading configuration macros.
3305 In particular, define __STL_GTHREADS macro which controls...
3306 * include/bits/stl_threads.h: ...a brand new gthr.h-based
3309 * config/c_io_stdio.h: Include staged gthr.h instead of local
3310 thread configuration file. Always use __gthread_mutex_t
3311 instead of __mutext_type (or int).
3312 * include/bits/std_fstream.h: Likewise.
3314 * docs/html/17_intro/howto.html: Remove placeholder comment in
3315 case this configuration patch didn't make it. Add advice that
3316 section only applies if configured with --enable-threads.
3317 * docs/html/23_containers/howto.html: Reword to make clear
3318 that _PTHREADS is no longer required for any port to be
3319 correctly using STL with threads. Add advice that section
3320 only applies if configured with --enable-threads.
3322 2001-06-06 Benjamin Kosnik <bkoz@redhat.com>
3324 * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
3326 2001-06-05 Benjamin Kosnik <bkoz@redhat.com>
3329 * include/bits/basic_ios.tcc: Formatting tweaks.
3330 * include/bits/ios_base.h: Formatting tweaks.
3331 * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
3332 (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
3333 * src/globals.cc: Allocate filebufs for standard streams here.
3334 (buf_cout, buf_cin, buf_cerr): Like so.
3335 (buf_wcout, buf_wcin, buf_wcerr): And so.
3336 * testsuite/27_io/ios_init.cc: Add.
3338 2001-06-04 Brendan Kehoe <brendan@zen.org>
3339 Benjamin Kosnik <bkoz@redhat.com>
3342 * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
3343 for generic ctype virtuals.
3344 * src/locale.cc: Minor tweaks, naming consistency.
3345 * testsuite/22_locale/ctype.cc: Add test.
3347 2001-06-04 Kenny Simpson <theonetruekenny@yahoo.com>
3348 Phil Edwards <pme@sources.redhat.com>
3350 PR libstdc++/3035 and PR libstdc++/3036
3351 * include/bits/stl_pair.h: Fix pair ctor and make_pair according
3352 to LWG DR 181 and 265.
3354 2001-06-04 Phil Edwards <pme@sources.redhat.com>
3357 * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
3358 equal_range): Add const overloads as per LWG DR 214.
3359 * include/bits/stl_set.h: Likewise.
3361 2001-06-04 Brendan Kehoe <brendan@zen.org>
3362 Phil Edwards <pme@sources.redhat.com>
3365 * include/bits/std_bitset.h (bitset::test): Fix __pos >= _Nb
3366 comparison; all positions must be < _Nb.
3367 * testsuite/23_containers/bitset_members.cc: New file.
3369 2001-06-04 Brendan Kehoe <brendan@zen.org>
3372 * include/bits/stl_queue.h (classes queue, priority_queue): Fix
3373 ctors to match the standard.
3375 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
3377 * include/bits/char_traits.h (move): Reverse qualification of
3379 (copy): Reverse qualification of memcpy with std::.
3381 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
3383 * include/bits/char_traits.h (move): Qualify memmove with std::.
3384 (copy): Qualify memcpy with std::.
3385 * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
3388 * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
3390 2001-06-04 Hans-Peter Nilsson <hp@axis.com>
3392 * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
3393 uninstall-glibcppinstallHEADERS): Have explicit rules catering to
3394 SUN make VPATH peculiarities.
3395 * libsupc++/Makefile.in: Regenerate.
3397 2001-06-01 Hans-Peter Nilsson <hp@axis.com>
3399 * src/Makefile.am (VPATH): Delimit with ":", not space.
3400 * src/Makefile.in: Regenerate.
3402 * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
3404 * configure: Regenerate.
3406 2001-05-31 scott snyder <snyder@fnal.gov>
3409 * include/bits/istream.tcc: Include std_ostream.h.
3411 2001-05-31 Benjamin Kosnik <bkoz@redhat.com>
3414 * src/bitset.cc: Qualify size_t with std::.
3416 2001-05-30 Benjamin Kosnik <bkoz@redhat.com>
3418 * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
3419 (_GLIBCPP_BUGGY_COMPLEX): Remove.
3420 * config.h.in: Regenerate.
3421 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
3422 * aclocal.m4: Regenerate.
3423 * configure.in: Don't call it.
3424 * configure: Regenerate.
3427 * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
3428 * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
3432 * include/bits/std_complex.h: Include sstream. Put definitions for
3433 complex inserters and extractors here, and remove them from...
3434 * src/complex_io.cc: ...here.
3435 * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
3437 (basic_ios::__numget_type): Same.
3438 * include/bits/std_istream.h: Same.
3439 * include/bits/std_ostream.h: Same.
3440 * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
3441 class iterator template arguments.
3442 * src/locale-inst.cc: Add explicit has_facet instantiations.
3443 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
3444 (_M_get_fnumput): Remove.
3445 (_M_get_fnumget): Remove.
3446 (basic_ios::_M_check_facet): New function.
3447 (basic_ios::_M_cache_facets): New function.
3448 * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
3449 (basic_ios::imbue): Call _M_cache_facets.
3450 (basic_ios::init): Same.
3451 * include/bits/istream.tcc: Format, use _M_check_facet.
3452 * include/bits/ostream.tcc: Same.
3453 * include/bits/locale_facets.tcc (__output_float): Change
3454 signature, add _Traits.
3455 * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
3458 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
3460 * include/bits/c++config (__USE_MALLOC): Do not define it.
3461 Document why not and give pointers to more information.
3463 * docs/html/23_containers/howto.html: Update documentation
3464 to reflect recent understanding of problem.
3465 * docs/html/17_intro/howto.html: Likewise.
3467 2001-05-30 Phil Edwards <pme@sources.redhat.com>
3469 * docs/doxygen/user.cfg.in: Minor addition.
3470 * docs/html/documentation.html: Reorganize. Put most-looked-at
3472 * docs/html/install.html: Update for 3.0. HTML fixups.
3473 * docs/html/17_intro/howto.html: Likewise.
3474 * docs/html/18_support/howto.html: Likewise.
3475 * docs/html/19_diagnostics/howto.html: Likewise.
3476 * docs/html/20_util/howto.html: Likewise.
3477 * docs/html/23_containers/howto.html: Likewise.
3478 * docs/html/24_iterators/howto.html: Likewise. More notes.
3479 * docs/html/25_algorithms/howto.html: Likewise.
3480 * docs/html/26_numerics/howto.html: Likewise. More notes.
3481 * docs/html/27_io/howto.html: Likewise.
3482 * docs/html/ext/howto.html: Likewise.
3483 * docs/html/faq/index.html: Likewise.
3484 * docs/html/faq/index.txt: Regenerate.
3485 * docs/html/27_io/iostreams_hierarchy.pdf: Remove in favor of
3486 Doxygen-created documentation.
3488 2001-05-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3490 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
3491 get_multilibs to find gcc.
3493 2001-05-30 Phil Edwards <pme@sources.redhat.com>
3495 * acinclude.m4 (GLIBCPP_ENABLE_C99): Reorder output messages.
3496 * aclocal.m4: Regenerate.
3497 * configure: Regenerate.
3499 2001-05-29 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3501 * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
3502 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
3504 2001-05-27 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3506 * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
3507 * include/c_std/bits/std_cstdlib.h: Same.
3508 * include/c_std/bits/std_cwchar.h: Same.
3510 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
3512 * docs/html/17_intro/howto.html: Update link.
3513 * docs/html/23_containers/howto.html: Likewise. Add new link.
3515 2001-05-26 Gabriel Dos Reis <gdr@codesourcery.com>
3517 * include/c_std/bits/std_cmath.h (sqrt): #undef.
3519 2001-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3521 * mknumeric_limits: Stop if gen-num-limits dies.
3523 2001-05-25 Benjamin Kosnik <bkoz@redhat.com>
3526 * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
3527 * aclocal.m4: Regenerate.
3530 2001-05-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3531 Phil Edwards <pme@sources.redhat.com>
3532 Alexandre Oliva <aoliva@redhat.com>
3534 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
3535 in an amd-safe manner. Revert glibcpp_prefixdir.
3537 2001-05-25 Gabriel Dos Reis <gdr@codesourcery.com>
3539 * include/c_std/bits/std_cmath.h: Tweak. #define away abs, cos,
3540 fabs, sin, sqrt. They are now implemented in terms of __builtin_
3543 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
3546 * testsuite/21_strings/inserters_extractors.cc (test09): New test.
3547 * include/bits/ostream.tcc: Format to match istream.tcc.
3548 (operator<<(basic_ostream __out, const basic_string __s)): Fix.
3550 2001-05-24 Phil Edwards <pme@sources.redhat.com>
3552 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Qualify
3554 (__cxa_free_exception): Likewise with free.
3556 2001-05-24 Mark Mitchell <mark@codesourcery.com>
3558 * include/c_std/bin/std_cstring.h: #define away all global
3559 functions we will redeclare in namespace `std'.
3560 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
3561 std::memset, instead of memset.
3562 * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
3564 * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
3567 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
3570 * include/bits/basic_ios.tcc: Small tweak.
3571 * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
3572 ctors and dtors, and rdbuf settings.
3575 * include/bits/std_sstream.h: Same, but for stringstream classes.
3576 * testsuite/27_io/ostringstream_members.cc: New.
3577 * testsuite/27_io/stringstream_members.cc: New.
3578 * testsuite/27_io/fstream_members.cc: New.
3579 * testsuite/27_io/ifstream_members.cc: Add test.
3580 * testsuite/27_io/istringstream_members.cc: Add test.
3581 * testsuite/27_io/ofstream_members.cc: Add test.
3583 2001-05-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3585 * include/bits/c++config(__NO_MATH_INLINES): Move to...
3586 * config/os/gnu-linux/bits/os_defines.h: ...here.
3588 2001-05-24 Gabriel Dos Reis <gdr@codesourcery.com>
3590 * include/bits/c++config (__NO_MATH_INLINES): New macro.
3591 * testsuite/26_numerics/fabs_inline.cc (main): New test.
3593 2001-05-22 Benjamin Kosnik <bkoz@redhat.com>
3596 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
3598 (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
3599 (libstdc++-v3-finish): Remove.
3600 (libstdc++-v3_exit): Remove.
3602 2001-05-22 Phil Edwards <pme@sources.redhat.com>
3604 * docs/html/documentation.html: Point to doxygen output.
3606 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
3608 * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
3610 * include/bits/std_sstream.h (stringbuf::setbuf): Require both
3611 arguments to be non-null.
3612 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
3613 try allocations if allocated size is greater than zero.
3614 (filebuf::_M_filebuf_init): Change to
3615 (filebuf::_M_allocate_file): Which is what it does now.
3616 (filebuf::_M_allocate_bufers): Change to
3617 (filebuf::_M_allocate_internal_buffer): This, and create
3618 (filebuf::_M_allocate_pback_buffer): New.
3619 (filebuf::_M_destroy_internal_buffer): New.
3620 (filebuf::_M_buf_allocated): New data member.
3621 (filebuf::setbuf): Use new logic, allow use of external buffer.
3622 * testsuite/27_io/stringbuf_virtuals.cc: New file.
3623 * testsuite/27_io/filebuf_virtuals.cc: New file.
3625 2001-05-21 Stephen M. Webb <stephen@bregmasoft.com>
3627 * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
3629 (strchr): Same, but to __glibcpp_strchr.
3633 * include/c_std/bits/std_cwchar.h (wcschr): Same.
3639 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
3641 * testsuite/21_strings/c_strings.cc (main): Fix.
3643 2001-05-19 Phil Edwards <pme@sources.redhat.com>
3645 * acinclude.m4: Fix --help spacing, correct comments.
3646 * aclocal.m4: Regenerate.
3647 * configure: Regenerate.
3648 * mkcheck.in: Add usage comments.
3649 * docs/html/documentation.html: Point to doxygen'd tarball.
3651 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
3653 * testsuite/README: Add notes.
3655 * src/Makefile.am (libstdc++.INC): Remove.
3656 * src/Makefile.in: Regenerate.
3658 Phil Edwards <pedwards@disaster.jaj.com>
3659 * mkcheck.in: Add missing '#'.
3661 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
3663 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
3664 appropriately for remote testing and testing installed files without
3667 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
3669 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
3670 amd glibcpp_prefixdir with absolute paths.
3672 * include/bits/c++config (__GLIBCPP__): Bump.
3673 * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
3675 2001-05-18 Gabriel Dos Reis <gdr@codesourcery.com>
3677 * include/bits/std_valarray.h (valarray<>::operator[] const):
3678 Return a const reference.
3679 * testsuite/26_numerics/valarray_const_bracket.cc: New test.
3681 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
3683 * configure.target (ATOMICITYH): Actually use AIX-specific code on
3684 earlier versions of AIX 4.*.
3686 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
3688 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set
3689 output_file based on the name of the testcase.
3691 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
3693 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Build
3694 gluefile and use it if needs_status_wrapper is set.
3696 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
3698 * configure.target (ATOMICITYH): Use cpu/generic code on earlier
3701 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
3703 * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
3704 on earlier versions of AIX.
3706 2001-05-15 Benjamin Kosnik <bkoz@redhat.com>
3708 * testsuite_flags.in (query): Add backwards, ext directories.
3710 2001-05-15 Mark Mitchell <mark@codesourcery.com>
3712 * porting.texi: Correct documentation about handling
3713 _LARRGEFILE_SOURCE and its ilk.
3714 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
3715 definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
3717 * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
3718 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
3720 2001-05-15 Zack Weinberg <zackw@stanford.edu>
3722 * testsuite/21_strings/inserters_extractors.cc,
3723 testsuite/27_io/istream_unformatted.cc,
3724 testsuite/27_io/stringstream.cc:
3725 Replace multi-line string constants with C89-style
3726 concatenated string constants.
3728 2001-05-14 Richard Henderson <rth@redhat.com>
3730 * mknumeric_limits: Build with -fno-exceptions.
3732 2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
3734 Switch over to new harness.
3735 * testsuite_flags.in: Tweaks via Gaby.
3736 * testsuite/Makefile.am: Change tool to libstdc++-v3.
3737 (EXPECT): Quote directly.
3739 * configure.in: Output testsuite_flags.
3740 * acinclude.m4: Substitute src, bld, and prefix dirs.
3741 Remove glibcpp_expect, glibcpp_runtestflags.
3742 * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
3743 * mkcheck.in: Port to new interface.
3745 * aclocal.m4: Regerate.
3746 * configure: Regnerate.
3747 * Makefile.in: Regnerate.
3748 * */Makefile.in: Regenerate.
3750 * tests_flags.in: Remove.
3751 * testsuite/lib/libstdc++.exp: Remove.
3752 * testsuite/libstdc++.tests/tests.exp: Remove.
3754 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
3756 * configure.target: Remove detection of AIX pthread multilib, now
3757 obtained from `gcc -v'.
3759 2001-05-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
3761 * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
3762 size. Add hpux case for HP size.
3764 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
3766 * testsuite_flags.in: New, simplified interface.
3767 * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
3768 * testsuite/libstdc++-v3.dg: Add.
3769 * testsuite/libstdc++-v3.dg/dg.exp: Add.
3771 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
3773 * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
3774 * testsuite/config/default.exp: Update bugs email address.
3776 2001-05-11 Richard Henderson <rth@redhat.com>
3778 * libsupc++/eh_personality.cc: Include unwind-pe.h. Remove
3779 all pointer encoding logic.
3780 (struct lsda_header_info): Add ttype_base.
3781 (get_ttype_entry): Use it instead of a context.
3782 (check_exception_spec): Likewise.
3783 (PERSONALITY_FUNCTION): Initialize ttype_base. Store it in
3784 the c++ exception header for __cxa_call_unexpected.
3785 (__cxa_call_unexpected): Use it.
3787 2001-05-09 Benjamin Kosnik <bkoz@redhat.com>
3789 * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
3790 libgloss_link_flags to find crt0.o for targets that use libgloss
3792 Change LDFLAGS to LIBS.
3793 Consistently name procedures libstdc++-XXX.
3794 * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
3796 2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
3798 * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
3803 * include/c_std/bits/std_cwchar.h (wcschr): Same.
3808 * testsuite/21_strings/c_strings.cc: Add tests.
3810 2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
3813 * include/bits/std_fstream.h (basic_filebuf): Change signature.
3814 * include/bits/fstream.tcc (basic_filebuf): Change bool argument
3815 to int_type, pass in buffer size info.
3816 * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
3817 unbuffered situation.
3818 (underflow): Remove codecvt bits for the time being.
3819 * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
3820 * include/bits/locale_facets.tcc (_M_extract): Cache dereference
3821 values from iterators, clean.
3822 * src/locale.cc: Ditto.
3823 * include/bits/sbuf_iter.h: Format.
3824 * src/ios.cc: Explicitly pass in buffer sizes at creation time.
3825 * testsuite/27_io/narrow_stream_objects.cc: Add tests.
3826 * testsuite/27_io/filebuf.cc: Tweaks.
3827 * testsuite/27_io/filebuf_members.cc: Tweaks.
3829 2001-05-07 Mark Mitchell <mark@codesourcery.com>
3831 * config/os/solaris/solaris2.7/bits/os_defines.h
3832 (_LARGEFILE_SOURCE): Define it.
3834 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
3836 * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
3837 -prefer-non-pic depending on whether libtool has shared libraries
3838 enabled or disabled.
3839 * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
3840 $(LIBSUPCXX_PICFLAGS).
3841 * configure, */Makefile.in: Rebuilt.
3843 2001-05-01 Benjamin Kosnik <bkoz@redhat.com>
3845 * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
3846 * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
3848 * include/bits/std_sstream.h (stringbuf): Leak
3850 * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
3852 2001-05-01 Tom Browder <tbrowder@home.com>
3854 * docs/html/ext/howto.html: Fix typo.
3856 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
3858 * testsuite/libstdc++.tests/tests.exp: Add comment.
3860 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
3862 * testsuite/libstdc++.tests/tests.exp: Set ulimits.
3864 2001-04-30 Mark Mitchell <mark@codesourcery.com>
3866 * porting.texi: Use the GFDL.
3868 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
3871 * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
3872 * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
3875 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
3878 * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
3880 2001-04-28 Phil Edwards <pme@sources.redhat.com>
3882 * docs/doxygen/run_doxygen: Minor tweaks.
3883 * docs/doxygen/style.css: New file.
3884 * docs/doxygen/user.cfg.in: Update using "doxygen -u" to get the
3885 latest parameters available. Use style.css.
3887 2001-04-27 Benjamin Kosnik <bkoz@redhat.com>
3889 * docs/doxygen/mainpage.doxy: New.
3890 * docs/doxygen/user.cfg.in: Change default configuration. Single
3891 frame, other tweaks.
3893 2001-04-26 Mark Mitchell <mark@codesourcery.com>
3895 * docs/html/17_intro/BADNAMES: Remove EGCS reference.
3896 Indicate obsolete nature of thelist for G++ 3.0.
3898 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
3900 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
3901 target_thread_file with `gcc -v'.
3902 * aclocal.m4, configure: Rebuilt.
3904 2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
3906 * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
3907 * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
3908 * include/c_std/bits/std_cwchar.h (std): Same.
3909 * acconfig.h (std): Remove c99 injection into std.
3910 * config.h.in: Regenerate.
3912 * testsuite/README: Fix typo.
3914 * include/bits/codecvt.h: Remove warnings.
3916 2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3918 * include/ext/slist: Include required header files.
3920 2001-04-23 Loren J. Rittle <ljrittle@acm.org>
3922 * include/c_std/bits/std_cerrno.h (errno): Define macro from
3923 identifier declared with external linkage, if needed.
3924 * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
3925 * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
3927 2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
3929 * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
3930 re-configures find the build compiler.
3931 (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
3933 * aclocal.m4: Regenerate.
3934 * configure: Regenerate.
3936 2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
3938 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
3939 support is enabled correctly before long long is activated.
3940 * aclocal.m4: Regenerate.
3941 * configure: Regenerate.
3943 * include/backward/backward_warning.h: Format correctly.
3945 * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
3946 * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
3947 * testsuite/26_numerics/c99_macros.cc: Remove.
3949 2001-04-20 Phil Edwards <pme@sources.redhat.com>
3951 * include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
3952 __iterator_category.
3954 2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
3956 * acconfig.h (_GLIBCPP_USE_C99): Add.
3957 * config.h.in: Regenerate.
3958 * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
3960 * aclocal.m4: Regenerate.
3961 * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
3962 * configure: Regenerate.
3963 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
3964 * configure: Regenerate.
3965 * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
3967 * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
3969 * include/c_std/bits/std_cstdlib.h: Same.
3970 * docs/html/configopts.html: Update.
3971 * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
3973 (test_c99_classify): Add.
3974 * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
3975 (_ISOC99_SOURCE): Remove.
3977 * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
3978 * include/bits/c++config (__STL_ASSERTIONS): Simplify.
3979 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
3980 * aclocal.m4: Regenerate.
3981 * configure: Regenerate.
3983 2001-04-19 Phil Edwards <pme@sources.redhat.com>
3985 * Makefile.am (doxygen): Assume script is missing execute perms.
3986 * Makefile.in: Regenerated.
3987 * docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
3989 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
3991 * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
3993 2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
3995 * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
3996 * testsuite/23_containers/set_operators.cc: Same.
3998 * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
4000 (__GLIBCPP__): Bump from value of last release.
4001 * include/bits/concept_check.h: Default to off, edit comments.
4002 * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
4003 * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
4004 * src/Makefile.in: Regenerate.
4006 2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE>
4008 * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
4009 Properly uglify member.
4011 2001-04-13 Phil Edwards <pme@sources.redhat.com>
4013 * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead
4017 2001-04-13 Phil Edwards <pme@sources.redhat.com>
4019 * include/bits/boost_concept_check.h: Uglify, fork from Boost.
4020 * include/bits/concept_check.h: Uglify.
4021 * include/bits/stl_algo.h: Likewise.
4022 * include/bits/stl_algobase.h: Likewise.
4023 * include/bits/stl_deque.h: Likewise.
4024 * include/bits/stl_heap.h: Likewise.
4025 * include/bits/stl_iterator_base_funcs.h: Likewise.
4026 * include/bits/stl_list.h: Likewise.
4027 * include/bits/stl_map.h: Likewise.
4028 * include/bits/stl_multimap.h: Likewise.
4029 * include/bits/stl_multiset.h: Likewise.
4030 * include/bits/stl_numeric.h: Likewise.
4031 * include/bits/stl_queue.h: Likewise.
4032 * include/bits/stl_set.h: Likewise.
4033 * include/bits/stl_stack.h: Likewise.
4034 * include/bits/stl_vector.h: Likewise.
4035 * include/ext/hash_map: Likewise.
4036 * include/ext/hash_set: Likewise.
4037 * include/ext/slist: Likewise.
4039 2001-04-13 Gabriel Dos Reis <gdr@codesourcery.com>
4041 * testsuite/23_containers/set_operators.cc: Just try to compile.
4043 * testsuite/23_containers/map_operators.cc: Same.
4045 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
4047 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
4049 (dg-test): Revert rth's change.
4051 2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
4053 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
4054 terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
4056 2001-04-12 Gabriel Dos Reis <gdr@codesourcery.com>
4058 * testsuite/README: Add DejaGnu specific documentation.
4060 2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
4062 * acinclude.m4: AC_CHECK_TOOL for expect.
4063 * aclocal.m4: Regenerate.
4064 * configure: Regenerate.
4065 * testsuite/Makefile.am (RUNTEST): Use substituted.
4068 * configure.in: Remove xcompiling substitution.
4069 * tests_flags.in (CROSS_LIB_PATH): Remove.
4070 (xcompiling): Remove.
4071 (CXX): Use substituted CXX.
4073 2001-04-11 Richard Henderson <rth@redhat.com>
4075 * testsuite/lib/libstdc++.exp: Specify path for output_file.
4077 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
4079 * include/bits/std_valarray.h(valarray<>::operator[]): Make
4082 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
4084 * testsuite/25_algorithms/equal.cc: New test.
4086 2001-04-06 Joe Buck <jbuck@welsh-buck.org>
4088 * stl_algobase.h (std::equal): avoid use of possibly-undefined
4089 operator != (one line patch).
4091 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
4093 * include/backward/backward_warning.h: Re-enable.
4095 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
4096 Alexandre Oliva <aoliva@redhat.com>
4098 * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
4100 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
4102 * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
4103 * testsuite/26_numerics/c99_macros.cc: Add test.
4105 2001-04-06 Phil Edwards <pme@sources.redhat.com>
4107 * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES.
4108 * docs/html/faq/index.txt: Regenerated.
4110 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
4112 * include/backward/backward_warning.h: Temporarily disable until
4113 g++ testsuite changes go in.
4114 * tests_flags.in (CROSS_LIB_PATH): Add.
4116 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
4118 Warn when using backward headers.
4119 * include/backward/algo.h: Include warning file.
4120 * include/backward/vector.h: Same.
4121 * include/backward/tree.h: Same.
4122 * include/backward/tempbuf.h: Same.
4123 * include/backward/strstream: Same.
4124 * include/backward/streambuf.h: Same.
4125 * include/backward/stream.h: Same.
4126 * include/backward/stack.h: Same.
4127 * include/backward/slist.h: Same.
4128 * include/backward/set.h: Same.
4129 * include/backward/rope.h:
4130 * include/backward/queue.h: Same.
4131 * include/backward/pair.h: Same.
4132 * include/backward/ostream.h: Same.
4133 * include/backward/new.h: Same.
4134 * include/backward/multiset.h: Same.
4135 * include/backward/multimap.h: Same.
4136 * include/backward/map.h: Same.
4137 * include/backward/list.h: Same.
4138 * include/backward/iterator.h: Same.
4139 * include/backward/istream.h: Same.
4140 * include/backward/iostream.h:
4141 * include/backward/iomanip.h:
4142 * include/backward/heap.h: Same.
4143 * include/backward/hashtable.h:
4144 * include/backward/hash_set.h:
4145 * include/backward/hash_map.h:
4146 * include/backward/function.h:
4147 * include/backward/fstream.h:
4148 * include/backward/deque.h:
4149 * include/backward/defalloc.h: Same.
4150 * include/backward/complex.h: Same.
4151 * include/backward/bvector.h:
4152 * include/backward/alloc.h:
4153 * include/backward/algobase.h: Same.
4155 * include/backward/backward_warning.h: New file.
4156 * src/Makefile.am (backward_headers): Add backward_warning.h
4157 * src/Makefile.in: Regenerate.
4159 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
4161 * src/Makefile.am (myinstalldirs): Make sure backward directory is
4163 (myinstallheaders): Install backward headers in backward directory.
4164 * src/Makefile.in: Regenerate.
4166 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
4168 Prepare for libstdc++-2.92.
4169 * docs/html/17_intro/RELEASE-NOTES (New): Update.
4170 * docs/html/configopts.html: Fix formatting.
4171 * README (file): Updates.
4172 * include/bits/c++config (__GLIBCPP__): Update.
4174 2001-04-05 Phil Edwards <pme@sources.redhat.com>
4176 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
4178 2001-04-04 Phil Edwards <pme@sources.redhat.com>
4180 * docs/doxygen/user.cfg.in: Extract all non-private members;
4181 reduce confusing documentation output.
4183 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
4185 * include/backward/fstream.h: Add missing semicolons.
4187 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
4189 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
4190 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
4191 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
4192 (ios_base::Init::_S_ios_create): New.
4193 (ios_base::Init::_S_ios_destroy): New.
4194 * include/bits/std_fstream.h: Change ctor args.
4195 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
4196 (ios_base::Init::~Init): Use _S_ios_destroy.
4197 (ios_base::sync_with_stdio): Use new members.
4198 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
4201 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4203 * include/backward/fstream.h: Expose streampos to global
4206 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4208 * include/bits/stl_iterator_base_types.h: Fix typo
4210 2001-04-03 Andreas Schwab <schwab@suse.de>
4212 * include/backward/fstream.h: Define filebuf and wfilebuf.
4214 2001-04-02 Phil Edwards <pme@sources.redhat.com>
4216 New concept checking implementation.
4217 * docs/html/19_diagnostics/howto.html: Document.
4218 * docs/html/17_intro/concept_check.diff: New file, for reference.
4219 * include/bits/boost_concept_check.h: New file from Boost.
4220 * include/bits/c++config: Update comments.
4222 * include/bits/concept_check.h: New file.
4223 * include/bits/concept_checks.h: Removed.
4224 * include/bits/container_concepts.h: Removed.
4225 * include/bits/sequence_concepts.h: Removed.
4226 * include/bits/stl_iterator_base.h: Removed; split into...
4227 * include/bits/stl_iterator_base_funcs.h: ...this new file...
4228 * include/bits/stl_iterator_base_types.h: ...and this new file.
4230 * include/bits/sbuf_iter.h: Update to use new implementation.
4231 * include/bits/std_iterator.h: Likewise.
4232 * include/bits/std_memory.h: Likewise.
4233 * include/bits/stl_algo.h: Likewise.
4234 * include/bits/stl_algobase.h: Likewise.
4235 * include/bits/stl_construct.h: Likewise.
4236 * include/bits/stl_deque.h: Likewise.
4237 * include/bits/stl_heap.h: Likewise.
4238 * include/bits/stl_list.h: Likewise.
4239 * include/bits/stl_map.h: Likewise.
4240 * include/bits/stl_multimap.h: Likewise.
4241 * include/bits/stl_multiset.h: Likewise.
4242 * include/bits/stl_numeric.h: Likewise.
4243 * include/bits/stl_queue.h: Likewise.
4244 * include/bits/stl_set.h: Likewise.
4245 * include/bits/stl_stack.h: Likewise.
4246 * include/bits/stl_uninitialized.h: Likewise.
4247 * include/bits/stl_vector.h: Likewise.
4248 * include/ext/hash_map: Likewise.
4249 * include/ext/hash_set: Likewise.
4250 * include/ext/slist: Likewise.
4251 * include/ext/stl_hashtable.h: Likewise.
4253 * src/Makefile.am (base_headers): Update list of headers.
4254 * Makefile.in: Regenerated.
4255 * src/Makefile.in: Regenerated.
4256 * libio/Makefile.in: Regenerated.
4257 * libmath/Makefile.in: Regenerated.
4258 * libsupc++/Makefile.in: Regenerated.
4259 * testsuite/Makefile.in: Regenerated.
4261 * docs/html/install.html: Update contact information.
4262 * docs/html/17_intro/howto.html: Ditto.
4263 * docs/html/18_support/howto.html: Ditto.
4264 * docs/html/20_util/howto.html: Ditto.
4265 * docs/html/21_strings/howto.html: Ditto.
4266 * docs/html/22_locale/howto.html: Ditto.
4267 * docs/html/23_containers/howto.html: Ditto.
4268 * docs/html/24_iterators/howto.html: Ditto.
4269 * docs/html/25_algorithms/howto.html: Ditto.
4270 * docs/html/26_numerics/howto.html: Ditto.
4271 * docs/html/27_io/howto.html: Ditto.
4272 * docs/html/faq/index.html: Ditto, plus info on new checking code.
4273 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
4274 * docs/html/faq/index.txt: Regenerated.
4276 2001-04-02 Zack Weinberg <zackw@stanford.edu>
4278 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
4279 messages with $which_library as well as $tool_flags and
4280 ${dg-extra-tool-flags}. Factor out annotation text into
4283 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
4285 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
4286 * include/c_std/bits/std_cwchar.h: Same.
4287 * testsuite/21_strings/c_strings.cc: Add.
4289 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
4291 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
4293 2001-04-01 Zack Weinberg <zackw@stanford.edu>
4295 * tests_flags.in: Use test a = b, not test a == b which is not
4298 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
4300 * configure.target: Remove duplicate aix entry.
4302 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
4304 * include/ext/stl_bvector.h: Move to...
4305 * include/bits/stl_vector.h: ...here.
4306 * include/ext/bvector: Move to...
4307 * include/backward/bvector.h: ...here.
4308 * include/bits/std_vector.h: Change stl_bvector include.
4309 * include/bits/std_queue.h: Remove bvector include.
4310 * include/ext/tree: Insert using rb_tree, move to...
4311 * include/backward/tree.h: ...here.
4312 * include/backward/hash_map.h: Include ext/hash_map.
4313 * include/backward/hash_set.h: Include ext/hash_set.
4314 * include/backward/queue.h: New file.
4315 * include/backward/stack.h: Edit.
4316 * include/backward/algo.h: Same.
4317 * include/backward/algobase.h: Same.
4318 * include/backward/alloc.h: Same.
4319 * include/backward/function.h: Same.
4320 * include/backward/iomanip.h: Same.
4321 * include/backward/istream.h: Same.
4322 * include/backward/iterator.h: Same.
4323 * include/backward/list.h: Same.
4324 * include/backward/map.h: Same.
4325 * include/backward/multimap.h: Same.
4326 * include/backward/multiset.h: Same.
4327 * include/backward/ostream.h: Same.
4328 * include/backward/pair.h: Same
4329 * include/backward/rope.h: Same.
4330 * include/backward/set.h: Same.
4331 * include/backward/stream.h: Same.
4332 * include/backward/strstream.h: Same.
4333 * include/backward/tempbuf.h: Same.
4334 * src/Makefile.am (ext_headers): Edit.
4335 * src/Makefile.in: Regenerate.
4336 * testsuite/ext/headers.cc (main): Fix.
4339 2001-03-30 Phil Edwards <pme@sources.redhat.com>
4341 * tests_flags.in (LIBS): Pass correct path for installed testing.
4343 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
4345 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
4346 * tests_flags.in (CXX): Construct here.
4347 (static_fail): Don't remove compile.out. Format with spaces.
4348 (INCLUDES): Deal with xcompiling.
4349 * configure.in (xcompiling): Substitute.
4350 * testsuite/Makefile.am: Snake libjava configury.
4351 * testsuite/Makefile.in: Regenerate.
4352 * testsuite/23_containers/map_operators.cc: Tweaks.
4353 * testsuite/23_containers/set_operators.cc: Tweaks.
4355 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4357 Enable dejagnu testing framework.
4358 * configure.in: Generate testsuite/Makefile.
4359 * configure: Regenerate.
4360 * Makefile.am (check-install): Change rule from this...
4361 (check-script-install): ...to this.
4362 (check): Change rule from this...
4363 (check-script):...to this.
4364 * Makefile.in: Regenerate.
4366 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
4368 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
4370 (LIBTOOL): Let automake take care of its definition.
4371 * libsupc++/Makefile.in: Rebuilt.
4373 2001-03-28 Richard Henderson <rth@redhat.com>
4375 IA-64 ABI Exception Handling:
4376 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
4377 * configure.in: Use it.
4378 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
4379 * libsupc++/Makefile.am (sources): Update files list.
4380 * libsupc++/Makefile.in: Regenerate.
4381 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
4382 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
4383 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
4384 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
4385 * libsupc++/exception_support.cc: Remove.
4386 * libsupc++/exception_support.h: Remove.
4387 * libsupc++/pure.cc: Use std::terminate.
4388 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
4389 (__is_pointer): Remove.
4390 * libsupc++/unwind-cxx.h: New file.
4391 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
4393 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
4395 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
4397 * src/Makefile.am (CXXLINK): Likewise.
4398 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
4400 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
4402 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
4404 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4406 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
4409 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
4411 * include/bits/basic_file.h (get_fileno): Remove.
4412 (_M_fileno): Remove.
4413 (_M_cfile_created): Add.
4414 (basic_file::basic_file(__c_file_type*, openmode): Add.
4415 (basic_file::basic_file(int, const char*, openmode): Remove.
4416 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
4417 const char*, ios_base::openmode): Don't allocate
4418 internal buffers. Turn off internal buffers.
4419 (basic_filebuf::overflow): Remove test for null buffer.
4420 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
4421 * include/bits/streambuf.cc: Tweak.
4422 * include/bits/std_ostream.h: Tweak.
4423 * config/basic_file_libio.h: Same.
4424 * config/basic_file_stdio.h: Same.
4425 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
4426 * testsuite/27_io/filebuf_members.cc: Tweaks.
4427 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
4429 2001-03-24 Phil Edwards <pme@sources.redhat.com>
4431 * Makefile.am: New targets, doxygen and doxygen-maint.
4432 * Makefile.in: Regenerated.
4433 * docs/doxygen/run_doxygen: Finally implemented.
4434 * docs/doxygen/maint.cfg.in: New file.
4435 * docs/doxygen/user.cfg.in: New file.
4437 2001-03-24 Phil Edwards <pme@sources.redhat.com>
4439 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
4440 * src/Makefile.am: Replace leading spaces with tabs on continuation
4442 * aclocal.m4: Regenerated.
4444 * Makefile.in: Ditto.
4445 * src/Makefile.in: Ditto.
4446 * libio/Makefile.in: Ditto.
4447 * libmath/Makefile.in: Ditto.
4448 * libsupc++/Makefile.in: Ditto.
4450 2001-03-24 Phil Edwards <pme@sources.redhat.com>
4452 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
4453 concept-checking code and current status of same.
4454 * docs/html/ext/howto.html: Ditto.
4455 * docs/html/faq/index.html: Ditto.
4456 * docs/html/faq/index.txt: Regenerated.
4458 2001-03-24 Phil Edwards <pme@sources.redhat.com>
4460 * include/bits/std_bitset.h: Include ostream and istream headers
4461 instead of iostream.
4463 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
4465 * include/bits/ostream.tcc: Use __builtin_alloca.
4467 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
4469 * src/misc-inst.cc (__sink_unused_warning): Move to...
4470 * src/locale-inst.cc (__sink_unused_warning): Move to...
4471 * src/stl-inst.cc: Here.
4472 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
4475 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
4477 * intclude/bits/basic_file.h: Fix typos in comments.
4479 2001-03-20 Richard Henderson <rth@redhat.com>
4481 * src/gen-num-limits.cc: Instantiate for wchar_t.
4482 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
4484 2001-03-20 Jason Merrill <jason@redhat.com>
4486 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
4487 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
4488 * libsupc++/cxxabi.h: Declare it.
4490 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
4492 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
4493 signal_func with an unspecified argument list.
4495 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
4497 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
4499 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4501 * include/bits/basic_string.tcc (operator+): Fix thinko.
4503 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
4506 * include/bits/std_streambuf.h: Remove cached locale facets.
4507 (basic_streambuf::_M_buf_fctype): Remove.
4508 (basic_streambuf::~basic_streambuf): Remove here.
4509 (basic_streambuf::basic_streambuf): Same.
4510 (basic_streambuf::imbue): Same.
4511 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
4512 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
4513 (basic_filebuf::~basic_filebuf()): Remove here.
4514 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
4515 (basic_filebuf::imbue): Same.
4516 * include/bits/localefwd.h (_Count_ones): Remove.
4517 (locale::_S_num_categories): Just use 6, since this doesn't
4518 actually change, ever.
4519 * include/bits/locale_facets.tcc (has_facet): Simplify.
4521 * testsuite/27_io/filebuf.cc (test06): Add tests.
4523 2001-03-13 Steve Ellcey <sje@cup.hp.com>
4525 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
4526 match HP-UX ctype.h header file.
4528 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
4530 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
4531 duplicate definitions of __dj_ctype_*
4533 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
4535 * libsupc++/new: Remove pragma interface.
4536 * libsupc++/typeinfo: Same.
4537 * libsupc++/exception: Same.
4538 * libsupc++/new_handler.cc: Remove pragma implementation.
4539 (bad_alloc::~bad_alloc()): Add.
4540 * libsupc++/exception_support.cc: Same.
4541 (exception::~exception): Add.
4542 (bad_exception::~bad_exception): Add.
4543 * libsupc++/tinfo.cc: Same.
4544 (bad_cast::~bad_cast): Add.
4545 (bad_typeid::~bad_typeid): Add.
4547 2001-03-13 Phil Edwards <pme@sources.redhat.com>
4549 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
4551 2001-03-12 Felix Lee <flee@redhat.com>
4553 * mkcheck.in: workaround for bash 2.01 IFS bug.
4555 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
4557 Fixups for -fno-for-scope
4558 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
4559 * src/valarray-inst.cc (__gslice_to_index): Same.
4561 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
4563 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
4564 prior to trapping signal (UnixWare 7 workaround).
4566 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
4568 * include/backward/hashtable.h: Same.
4569 * include/backward/rope.h: Fix include.
4571 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
4573 * include/backward/vector.h: Include std_vector.h.
4575 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
4576 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
4579 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4581 * include/ext/stl_hashtable.h: Change type of __n to size_t
4582 * include/backward/bvector.h: Include <ext/stl_bvector.h>
4584 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4586 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
4587 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
4588 Use streamsize, not int_type.
4590 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
4592 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
4595 2001-03-08 Andreas Schwab <schwab@suse.de>
4597 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
4599 * aclocal.m4, configure: Regenerated.
4601 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
4603 * include/bits/std_iosfwd.h: Remove string forward decls here.
4604 * include/bits/stringfwd.h: Add forward decls for char_traits
4606 * config/c_io_libio.h (wstreamoff): Delete.
4607 * config/c_io_stdio.h (wstreamoff): Same.
4608 * include/bits/char_traits.h: Use streamoff not wstreamoff for
4609 char_traits<wchar_t>::off_type.
4610 Remove duplicate typedefs.
4611 * include/bits/fpos.h: Define streampos/wstreampos here.
4612 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
4615 Changeup output files.
4616 * testsuite/27_io/istream_unformatted.cc: Change output files.
4617 * testsuite/27_io/istream_seeks-1.txt: Add.
4618 * testsuite/27_io/istream_seeks-2.tst: Add.
4619 * testsuite/27_io/istream_seeks-1.tst: Add.
4620 * testsuite/27_io/istream_unformatted-2.tst: Delete.
4621 * testsuite/27_io/istream_unformatted-3.tst: Delete.
4622 * testsuite/27_io/istream_unformatted-3.txt: Delete.
4624 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
4626 Add Irix 5.2, 6.3 support.
4627 * config/os/irix/bits: Renamed to...
4628 * config/os/irix/irix6.5/bits: this.
4629 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
4630 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
4631 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
4632 * config/os/irix/irix5.2/bits/ctype_noninline.h
4633 (ctype<char>::ctype): Initialize _M_table with __ctype.
4634 * configure.target: Adjust.
4636 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
4639 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
4640 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
4642 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
4643 (*__pf)(__ios_type&)): Same.
4644 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
4645 (*__pf)(ios_base&))): Same.
4646 * testsuite/27_io/istream_extractor_other.cc: Add tests.
4647 * testsuite/27_io/istream_manip.cc (test01): Fix.
4649 2001-03-06 Nathan Myers <ncm@cantrip.org>
4650 Benjamin Kosnik <bkoz@redhat.com>
4652 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
4653 * testsuite/17_intro/header_cerrno.cc (test01): New file.
4654 * testsuite/17_intro/header_cassert.cc (test01): New file.
4655 * testsuite/17_intro/header_cstddef.cc (test01): New file.
4656 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
4657 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
4659 2001-03-05 scott snyder <snyder@fnal.gov>
4662 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
4664 * include/c_std/bits/std_cstdlib.h: ... to here.
4665 * testsuite/17_intro/header_cstdlib.cc: Add test.
4667 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
4669 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
4671 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
4673 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
4674 definition. Replace enum with static const variables.
4676 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
4677 throw specification, fix typos, use <static_cast>.
4678 (ctype<char>::scan_is): remove throw specification.
4679 (ctype<char>::scan_not): likewise.
4681 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
4682 (ctype<char>::do_toupper(char)): use <static_cast>.
4683 (ctype<char>::do_toupper(char *, const char *)): likewise.
4684 (ctype<char>::do_tolower(char)): likewise.
4685 (ctype<char>::do_tolower(char *, const char *)): likewise.
4687 2001-03-04 Phil Edwards <pme@sources.redhat.com>
4689 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
4690 * include/backward/algo.h: Use std not __STD. Remove unneeded
4691 macros and "never happens" code. Adjust to C++STYLE guidelines.
4692 * include/backward/algobase.h: Likewise.
4693 * include/backward/alloc.h: Likewise.
4694 * include/backward/bvector.h: Likewise.
4695 * include/backward/deque.h: Likewise.
4696 * include/backward/function.h: Likewise.
4697 * include/backward/hash_map.h: Likewise.
4698 * include/backward/hash_set.h: Likewise.
4699 * include/backward/hashtable.h: Likewise.
4700 * include/backward/heap.h: Likewise.
4701 * include/backward/iterator.h: Likewise.
4702 * include/backward/list.h: Likewise.
4703 * include/backward/map.h: Likewise.
4704 * include/backward/multimap.h: Likewise.
4705 * include/backward/multiset.h: Likewise.
4706 * include/backward/pair.h: Likewise.
4707 * include/backward/rope.h: Likewise.
4708 * include/backward/set.h: Likewise.
4709 * include/backward/slist.h: Likewise.
4710 * include/backward/stack.h: Likewise.
4711 * include/backward/strstream: Likewise.
4712 * include/backward/tempbuf.h: Likewise.
4713 * include/backward/tree.h: Likewise.
4714 * include/backward/vector.h: Likewise.
4715 * include/bits/basic_ios.h: Likewise.
4716 * include/bits/basic_ios.tcc: Likewise.
4717 * include/bits/basic_string.h: Likewise.
4718 * include/bits/c++config: Likewise.
4719 * include/bits/concept_checks.h: Likewise.
4720 * include/bits/fpos.h: Likewise.
4721 * include/bits/fstream.tcc: Likewise.
4722 * include/bits/functexcept.h: Likewise.
4723 * include/bits/ios_base.h: Likewise.
4724 * include/bits/istream.tcc: Likewise.
4725 * include/bits/mask_array.h: Likewise.
4726 * include/bits/ostream.tcc: Likewise.
4727 * include/bits/pthread_allocimpl.h: Likewise.
4728 * include/bits/sbuf_iter.h: Likewise.
4729 * include/bits/slice.h: Likewise.
4730 * include/bits/slice_array.h: Likewise.
4731 * include/bits/sstream.tcc: Likewise.
4732 * include/bits/std_bitset.h: Likewise.
4733 * include/bits/std_fstream.h: Likewise.
4734 * include/bits/std_iomanip.h: Likewise.
4735 * include/bits/std_ios.h: Likewise.
4736 * include/bits/std_istream.h: Likewise.
4737 * include/bits/std_iterator.h: Likewise.
4738 * include/bits/std_memory.h: Likewise.
4739 * include/bits/std_ostream.h: Likewise.
4740 * include/bits/std_sstream.h: Likewise.
4741 * include/bits/std_streambuf.h: Likewise.
4742 * include/bits/std_string.h: Likewise.
4743 * include/bits/std_valarray.h: Likewise.
4744 * include/bits/stl_algo.h: Likewise.
4745 * include/bits/stl_algobase.h: Likewise.
4746 * include/bits/stl_alloc.h: Likewise.
4747 * include/bits/stl_construct.h: Likewise.
4748 * include/bits/stl_deque.h: Likewise.
4749 * include/bits/stl_function.h: Likewise.
4750 * include/bits/stl_heap.h: Likewise.
4751 * include/bits/stl_iterator.h: Likewise.
4752 * include/bits/stl_iterator_base.h: Likewise.
4753 * include/bits/stl_list.h: Likewise.
4754 * include/bits/stl_map.h: Likewise.
4755 * include/bits/stl_multimap.h: Likewise.
4756 * include/bits/stl_multiset.h: Likewise.
4757 * include/bits/stl_numeric.h: Likewise.
4758 * include/bits/stl_pair.h: Likewise.
4759 * include/bits/stl_pthread_alloc.h: Likewise.
4760 * include/bits/stl_queue.h: Likewise.
4761 * include/bits/stl_raw_storage_iter.h: Likewise.
4762 * include/bits/stl_relops.h: Likewise.
4763 * include/bits/stl_set.h: Likewise.
4764 * include/bits/stl_stack.h: Likewise.
4765 * include/bits/stl_tempbuf.h: Likewise.
4766 * include/bits/stl_threads.h: Likewise.
4767 * include/bits/stl_tree.h: Likewise.
4768 * include/bits/stl_uninitialized.h: Likewise.
4769 * include/bits/stl_vector.h: Likewise.
4770 * include/bits/streambuf.tcc: Likewise.
4771 * include/bits/type_traits.h: Likewise.
4772 * include/bits/valarray_meta.h: Likewise.
4773 * include/ext/bvector: Likewise.
4774 * include/ext/hash_map: Likewise.
4775 * include/ext/hash_set: Likewise.
4776 * include/ext/ropeimpl.h: Likewise.
4777 * include/ext/slist: Likewise.
4778 * include/ext/stl_bvector.h: Likewise.
4779 * include/ext/stl_hash_fun.h: Likewise.
4780 * include/ext/stl_hashtable.h: Likewise.
4781 * include/ext/stl_rope.h: Likewise.
4782 * src/complex_io.cc: Likewise.
4783 * src/ios.cc: Likewise.
4784 * src/locale-inst.cc: Likewise.
4785 * src/locale.cc: Likewise.
4786 * src/localename.cc: Likewise.
4787 * src/misc-inst.cc: Likewise.
4788 * src/stdexcept.cc: Likewise.
4789 * src/stl-inst.cc: Likewise.
4790 * src/strstream.cc: Likewise.
4791 * src/valarray-inst.cc: Likewise.
4793 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
4795 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
4797 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4799 * include/bits/istream.tcc: change type of __extracted to __size_type
4801 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
4803 * src/wstring-inst.cc: New file.
4804 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
4805 (libinst_wstring_la_SOURCES): Remove.
4806 (libstdc___la_LIBADD): Remove libinst_wstring_la.
4807 (sources): Add wstring-inst.cc
4808 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
4811 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4813 * src/locale.cc: initialise __ret with zero
4814 * src/strstream.cc:cast gptr to int_type
4816 2001-03-01 Phil Edwards <pme@sources.redhat.com>
4818 * docs/html/faq/index.html: Update broken links.
4819 * docs/html/faq/index.txt: Regenerated.
4821 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
4824 * configure.target: Change irix* to irix6.5* in target_os table.
4826 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
4829 * include/bits/c++config (__GLIBCPP__): Bump number in
4830 anticipation of 2.92.
4832 * include/bits/codecvt.h: Fix typo.
4833 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
4835 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
4836 instantiations for stdio model.
4838 2001-02-28 Phil Edwards <pme@sources.redhat.com>
4840 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
4841 and GLIBCPP_CXXFLAGS as unused variables.
4842 * configure.host: Likewise.
4843 * configure.target: Likewise.
4844 * aclocal.m4: Regenerated.
4845 * configure: Regenerated.
4846 * Makefile.in: Regenerated.
4847 * libio/Makefile.in: Regenerated.
4848 * libmath/Makefile.in: Regenerated.
4849 * libsupc++/Makefile.in: Regenerated.
4850 * src/Makefile.in: Regenerated.
4852 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
4855 * include/bits/basic_file.h: Include basic_file_model.h.
4856 * config/c_io_libio.cc: Move to...
4857 * config/basic_file_libio.cc: Here.
4858 * config/basic_file_libio.h: New file.
4859 * config/c_io_stdio.cc: Move to...
4860 * config/basic_file_stdio.cc: Here.
4861 * config/basic_file_stdio.h: New file.
4862 * config/c_io_libio.h: Tweak.
4863 * config/c_io_stdio.h: Tweak.
4864 * src/Makefile.am (build_headers): Add basic_file_model.h.
4865 (sources): Add basic_file.cc, remove c++io.cc.
4866 * src/Makefile.in: Regenerate.
4867 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
4868 basic_file_model.h and basic_file.cc.
4869 * aclocal.m4: Regenerate.
4870 * configure: Regenerate.
4871 * testsuite/27_io/filebuf.cc (test05): Add regression.
4873 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
4876 * config/cpu/alpha/bits/atomicity.h: Change.
4877 * config/cpu/arm/bits/atomicit3y.h
4878 * config/cpu/generic/bits/atomicity.h
4879 * config/cpu/i386/bits/atomicity.h
4880 * config/cpu/i486/bits/atomicity.h
4881 * config/cpu/ia64/bits/atomicity.h
4882 * config/cpu/powerpc/bits/atomicity.h
4883 * config/cpu/sparc/sparc32/bits/atomicity.h
4884 * config/cpu/sparc/sparc64/bits/atomicity.h
4885 * config/os/aix/bits/atomicity.h
4886 * config/os/irix/bits/atomicity.h
4888 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
4890 * include/bits/std_stdexcept.h (runtime_error): Make string
4892 (logic_error): Same.
4893 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
4896 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
4900 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
4901 string object, not reference.
4902 (runtime_error::runtime_error): Same.
4903 * testsuite/19_diagnostics/stdexceptions.cc: New file.
4905 2001-02-26 Phil Edwards <pme@sources.redhat.com>
4907 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
4908 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
4909 diagnostics. Remove WFMT_FLAGS.
4910 * configure.in: Replace WFMT_FLAGS with diagnostics options.
4911 * libsupc++/Makefile.am: Likewise.
4912 * src/Makefile.am: Likewise.
4913 * aclocal.m4: Regenerated.
4914 * configure: Regenerated.
4915 * Makefile.in: Regenerated.
4916 * libio/Makefile.in: Regenerated.
4917 * libmath/Makefile.in: Regenerated.
4918 * libsupc++/Makefile.in: Regenerated.
4919 * src/Makefile.in: Regenerated.
4921 2001-02-26 Phil Edwards <pme@sources.redhat.com>
4923 Fixes libstdc++/2079
4924 * include/backward/iomanip.h: Expose <ios> manipulators to global
4926 * include/backward/iostream.h: Also expose std::ws.
4928 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
4930 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
4932 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
4934 * include/bits/codecvt.h: Use __builtin_alloca.
4935 * include/bits/ostream.tcc: Same.
4936 * include/bits/fstream.tcc: Same.
4938 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
4940 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
4942 2001-02-23 David Edelsohn <dje@watson.ibm.com>
4944 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
4946 2001-02-23 Phil Edwards <pme@sources.redhat.com>
4949 * include/backward/iostream.h: Expose std::flush in old headers.
4951 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4953 * mknumeric_limits: Remove special-casing on target. Use gcc
4954 instead of g++ to build gen-num-limits.cc
4956 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
4958 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
4960 * include/bits/codecvt.h: Use alloca instead of __extension__ for
4962 * include/bits/ostream.tcc: Same.
4963 * include/bits/std_ostream.h: Same.
4964 * include/bits/fstream.tcc: Same.
4965 * include/bits/locale_facets.tcc: Add typename.
4966 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
4968 2001-02-21 Phil Edwards <pme@sources.redhat.com>
4970 * tests_flags.in: Remove -n flag from call to echo.
4972 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
4974 * config/c_locale_gnu.h: Add clocale include.
4976 2001-02-20 Phil Edwards <pme@sources.redhat.com>
4978 * include/bits/stl_config.h: Remove file.
4979 * src/Makefile.am (base_headers): Remove from list.
4980 * configure: Regenerate.
4981 * Makefile.in: Ditto.
4982 * libio/Makefile.in: Ditto.
4983 * libmath/Makefile.in: Ditto.
4984 * libsupc++/Makefile.in: Ditto.
4985 * src/Makefile.in: Ditto.
4987 * include/bits/c++config: Move relevant macros to here.
4988 * include/backward/alloc.h: Include c++config.h instead.
4989 * include/backward/function.h: Ditto.
4990 * include/backward/heap.h: Ditto.
4991 * include/backward/pair.h: Ditto.
4992 * include/bits/pthread_allocimpl.h: Ditto.
4993 * include/bits/std_functional.h: Ditto.
4994 * include/bits/std_iterator.h: Ditto.
4995 * include/bits/std_numeric.h: Ditto.
4996 * include/bits/std_utility.h: Ditto.
4997 * include/bits/stl_algobase.h: Ditto.
4998 * include/bits/type_traits.h: Ditto.
4999 * src/stl-inst.cc: Ditto.
5001 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5003 * include/bits/basic_file.h: Add #pragma system_header
5004 * include/bits/basic_ios.h: Ditto.
5005 * include/bits/basic_string.h: Ditto.
5006 * include/bits/char_traits.h: Ditto.
5007 * include/bits/codecvt.h: Ditto.
5008 * include/bits/cpp_type_traits.h: Ditto.
5009 * include/bits/fpos.h: Ditto.
5010 * include/bits/gslice.h: Ditto.
5011 * include/bits/gslice_array.h: Ditto.
5012 * include/bits/indirect_array.h: Ditto.
5013 * include/bits/ios_base.h: Ditto.
5014 * include/bits/limits_generic.h: Ditto.
5015 * include/bits/locale_facets.h: Ditto.
5016 * include/bits/localefwd.h: Ditto.
5017 * include/bits/mask_array.h: Ditto.
5018 * include/bits/sbuf_iter.h: Ditto.
5019 * include/bits/sequence_concepts.h: Ditto.
5020 * include/bits/slice.h: Ditto.
5021 * include/bits/slice_array.h: Ditto.
5022 * include/bits/std_algorithm.h: Likewise.
5023 * include/bits/std_bitset.h: Likewise.
5024 * include/bits/std_complex.h: Likewise.
5025 * include/bits/std_deque.h: Likewise.
5026 * include/bits/std_fstream.h: Likewise.
5027 * include/bits/std_functional.h: Likewise.
5028 * include/bits/std_iomanip.h: Likewise.
5029 * include/bits/std_ios.h: Likewise.
5030 * include/bits/std_iosfwd.h: Likewise.
5031 * include/bits/std_iostream.h: Likewise.
5032 * include/bits/std_istream.h: Likewise.
5033 * include/bits/std_iterator.h: Likewise.
5034 * include/bits/std_list.h: Likewise.
5035 * include/bits/std_locale.h: Likewise.
5036 * include/bits/std_map.h: Likewise.
5037 * include/bits/std_memory.h: Likewise.
5038 * include/bits/std_numeric.h: Likewise.
5039 * include/bits/std_ostream.h: Likewise.
5040 * include/bits/std_queue.h: Likewise.
5041 * include/bits/std_set.h: Likewise.
5042 * include/bits/std_sstream.h: Likewise.
5043 * include/bits/std_stack.h: Likewise.
5044 * include/bits/std_stdexcept.h: Likewise.
5045 * include/bits/std_streambuf.h: Likewise.
5046 * include/bits/std_string.h: Likewise.
5047 * include/bits/std_utility.h: Likewise.
5048 * include/bits/std_valarray.h: Likewise.
5049 * include/bits/std_vector.h: Likewise.
5050 * include/bits/stringfwd.h: Likewise.
5051 * include/bits/type_traits.h: Likewise.
5052 * include/bits/valarray_array.h: Likewise.
5053 * include/bits/valarray_meta.h: Likewise.
5055 2001-02-19 Andreas Jaeger <aj@suse.de>
5057 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
5060 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
5063 * include/bits/std_ostream.h: Replaced usage of
5064 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
5065 * include/bits/char_traits.h: Removed non-standard
5066 methods that cannot be used elsewhere.
5069 * include/bits/basic_ios.h: Uncommented #include of
5073 * include/bits/codecvt.h: See next...
5074 * include/bits/fstream.tcc: See next...
5075 * include/bits/ostream.tcc: Add __extension__
5076 to variable-length arrays.
5079 * include/bits/localefwd.h: Changed int counter type to size_t.
5082 * include/bits/std_fstream.h: Added typedef for __ctype_type.
5084 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
5086 * testsuite/21_strings/char_traits.cc: Move to ...
5087 * testsuite/21_strings/char_traits_requirements.cc: ..here.
5088 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
5089 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
5091 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
5093 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
5096 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
5098 * include/bits/c++config: Revert.
5100 2001-02-15 Mark Mitchell <mark@codesourcery.com>
5102 * include/bits/istream.tcc: Use ios_base::iostate in place of
5103 iostate throughout. Insert `typename' keyword where necessary.
5104 * include/bits/ostream.tcc: Insert `typename' keyword where
5107 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
5109 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
5110 Define so library is compliant.
5112 2001-02-15 Anthony Green <green@redhat.com>
5114 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
5116 * aclocal.m4: Regenerate.
5117 * configure: Regenerate.
5119 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
5121 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
5122 Include ieeefp.h for fpclass on UnixWare{2,7}.
5123 * aclocal.m4: Regenerate.
5124 * configure: Regenerate.
5125 * mkcheck.in (size_command): Do without GNU-grep when using
5128 2001-02-15 Mark Mitchell <mark@codesourcery.com>
5130 Remove old ABI support from libsupc++.
5131 * libsupc++/cxxabi.h: Remove conditionally compiled code.
5132 * libsupc++/exception_support.cc: Likewise.
5133 * libsupc++/pure.cc: Likewise.
5134 * libsupc++/tinfo.cc: Likewise.
5135 * libsupc++/tinfo.h: Likewise.
5136 * libsupc++/tinfo2.cc: Likewise.
5137 * libsupc++/typeinfo: Likewise.
5138 * libsupc++/vec.cc: Likewise.
5140 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
5142 Add support for -fno-exceptions.
5143 * include/bits/exception_support.h: Remove.
5144 * include/bits/basic_string.h: Remove exception_support.
5145 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
5147 (string::substr): Same.
5148 * include/bits/basic_string.tcc (string::reserve): Replace
5149 __LENGTHERROR with __throw_length_error.
5150 (string::_S_create): Same.
5151 (string::resize): Same.
5152 (string::_M_replace): Same.
5153 (string::replace): Same.
5154 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
5155 (string::compare): Same.
5156 * include/bits/stl_vector.h: Remove exception_support.
5157 * src/Makefile.am (base_headers): Remove here.
5158 * src/Makefile.in: Regenerate.
5160 * include/bits/stl_range_errors.h: Remove.
5161 * include/bits/stl_deque.h: Use __throw_range_error.
5162 * include/bits/std_deque.h: Include functexcept.h.
5163 * include/bits/std_vector.h: Same.
5164 * src/Makefile.am (base_headers): Remove here.
5165 * src/Makefile.in: Regenerate.
5166 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
5167 * include/ext/bvector: Remove stl_range_errors.h
5169 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
5171 * include/bits/functexcept.h: New file.
5172 * src/functexcept.cc: New file. Definitions for function-based
5174 * src/Makefile.am (sources): Add functexcept.cc.
5175 * src/Makefile.in: Regenerate.
5177 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
5180 * include/bits/localefwd.h: Include functexcept.h.
5181 * include/bits/std_iosfwd.h: Same.
5183 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
5184 throw basic_ios::failure.
5185 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
5186 Use __throw_exception_again.
5187 (filebuf::_M_filebuf_init): Same.
5188 * include/bits/streambuf.tcc (__copy_streambufs): Same.
5189 * include/bits/ostream.tcc (ostream::operator<<): Same.
5190 * include/bits/istream.tcc (istream::operator>>): Same.
5191 * include/bits/basic_string.tcc (string::_M_mutate): Same.
5192 (string::_S_construct): Same.
5193 (string::_M_clone): Same.
5194 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
5196 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
5197 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
5198 __throw_exception_again.
5199 (locale::_Imp::_Imp(string, size_t): Same.
5200 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
5201 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
5202 (locale::locale(const char*)): Use __throw_runtime_error.
5203 (locale::classic): Use __throw_exception_again.
5204 (locale::_S_normalize_category): Use __throw_runtime_error.
5206 * src/stdexcept.cc: Remove cruft.
5208 * libsupc++/exception_defines.h: New file.
5209 * libsupc++/new_opnt.cc: Include exception_defines.h.
5210 * libsupc++/vec.cc: Same.
5211 (__cxa_vec_new2): Use __throw_exception_again.
5212 (__cxa_vec_new3): Same.
5213 (__cxa_vec_ctor): Same.
5214 (__cxa_vec_delete3): Same.
5215 (__cxa_vec_cctor): Same.
5216 (__cxa_vec_delete2): Same.
5217 (__cxa_vec_dtor): Same.
5218 * libsupc++/exception_support.cc: Include exception_defines.h. Only
5219 compile exception-handling bits if __EXCEPTIONS is defined.
5220 Remove old ABI support.
5221 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
5222 std::__throw_bad_alloc() instead of throw bad_alloc.
5223 * libsupc++/Makefile.am: Add exception_defines.h.
5224 * libsupc++/Makefile.in: Reformat.
5225 * libsupc++/*: Format.
5227 2001-02-15 Phil Edwards <pme@sources.redhat.com>
5229 * docs/html/configopts.html: Minor updates and typo fixes.
5230 * docs/html/faq/index.html: Updates of the "not really bugs" list.
5231 * docs/html/faq/index.txt: Regenerated.
5233 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
5235 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
5236 dejagnu/dg.exp. Adapt to log options used to run testcases.
5238 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5240 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
5243 2001-02-13 Dirk Mueller <dmuell@gmx.net>
5244 Phil Edwards <pme@sources.redhat.com>
5246 * include/backward/function.h: Do not use rel_ops for older
5248 * include/backward/pair.h: Likewise.
5250 2001-02-12 Mark Mitchell <mark@codesourcery.com>
5252 * src/locale.cc: Remove bogus locale::id definitions.
5254 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5256 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
5257 not _DEFINE_VALARRAY_OPERATOR which is not existent.
5259 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
5260 thinko in member initialisation.
5262 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
5264 * include/bits/std_valarray.h(valarray<>::shift): Avoid
5265 comparaison between signed and unsigned integer types.
5266 (valarray<>::cshift): Reformat.
5268 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
5270 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
5271 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
5272 * configure.in: Test for sigsetjmp.
5273 * configure, config.h.in: Rebuilt.
5275 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
5277 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
5278 lengths and strides.
5279 (__gslice_to_index): Document.
5281 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
5283 * include/bits/char_traits.h char_traits<char>::int_type: Change
5284 to `int' to match 21.1.3.1/2.
5286 * testsuite/21_strings/char_traits-int_type.C: New test.
5288 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
5290 * testsuite/Makefile.am: New file.
5292 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
5294 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
5296 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
5298 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
5300 2001-02-08 David Edelsohn <edelsohn@gnu.org>
5302 * configure.target (aix4*): Remove extra set of brackets.
5304 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
5307 * include/bits/stringfwd.h: New file.
5308 * include/bits/stl_string_fwd.h: Remove.
5309 * include/bits/localefwd.h: Remove declaration for allocator.
5310 * include/bits/std_iosfwd: Same.
5311 * include/bits/std_string.h: Include it.
5312 * include/bits/std_ios.h: Remove include.
5313 * include/bits/basic_string.h: Tweak.
5314 * libsupc++/new: Format.
5315 * src/Makefile.am (base_headers): Add stringfwd.h, remove
5317 * src/Makefile.in: Regenerate.
5318 * include/bits/std_stdexcept.h: Rewrite.
5319 * src/stdexcept.cc: Same.
5321 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
5323 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
5324 install locations too.
5325 * aclocal.m4: Regenerate.
5326 * configure.in: Remove USE_LIBDIR.
5327 * configure: Regenerate.
5328 * src/Makefile.am (toolexecdir): Simplify, use
5329 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
5330 * src/Makefile.in: Regenerate.
5331 * libsupc++/Makefile.am: Same.
5332 * libsupc++/Makefile.in: Regenerate.
5334 * src/Makefile.am: Just remove special rules for locale-inst.cc and
5335 misc-inst.cc as no longer necessary.
5337 Follow C++STYLE for naming non-static functions.
5338 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
5340 * include/bits/streambuf.tcc: Same.
5341 * include/bits/ostream.tcc: Same.
5342 * include/bits/istream.tcc: Same.
5343 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
5344 (_S_output_float): To __output_float.
5345 * include/bits/std_streambuf.h (_S_copy_streambufs): To
5347 * include/bits/locale_facets.tcc (_S_build_float_format): To
5348 __build_float_format.
5349 (_S_format): To __output_integer.
5350 (_S_fill): To __pad.
5351 * src/locale.cc: Same.
5352 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
5354 * include/bits/locale_facets.tcc (_S_group_digits): To
5356 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
5357 for collate, numpunct.
5359 2001-02-06 Phil Edwards <pme@sources.redhat.com>
5361 * docs/html/configopts.html: Fix HTML markup.
5362 * docs/html/install.html: Bring up to date.
5363 * docs/html/17_intro/C++STYLE: Add global variable conventions.
5364 * docs/html/21_strings/howto.html: More notes.
5365 * docs/html/22_locale/howto.html: Fix HTML markup.
5366 * docs/html/27_io/howto.html: More notes.
5367 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
5368 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
5370 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
5372 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
5373 to match header files.
5374 (_S_output_float): Likewise.
5375 (_S_copy_streambufs): Likewise.
5377 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
5378 Phil Edwards <pme@sources.redhat.com>
5380 * include/bits/std_istream.h (op>> signed,unsigned char): Must
5381 use reinterpret_cast, not static_cast.
5383 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
5385 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
5386 * aclocal.m4: Regenerate.
5387 * configure: Regenerate.
5389 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
5391 * include/bits/locale_facets.h (class moneypunct): Fix typos.
5392 * libsupc++/pure.cc: Revert.
5394 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
5396 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
5397 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
5398 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
5399 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
5400 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
5401 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
5402 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
5403 * aclocal.m4: Regenerate.
5404 * configure: Regenerate.
5406 2001-02-05 Mark Mitchell <mark@codesourcery.com>
5408 * include/bits/locale_facets.tcc: Remove `static' keyword on
5409 function definitions.
5410 * include/bits/std_streambuf.h: Likewise.
5411 * src/Makefile.am: Remove use of -fimplicit-templates.
5412 * src/Makefile.in: Regenerated.
5413 * src/locale-inst.cc: Explicitly instantiate more functions.
5414 * src/misc-inst.cc: Likewise.
5415 * src/string-inst.cc: Likewise.
5417 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
5419 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
5420 macro. Consolidate all the bits to do with where includes might be
5422 * aclocal.m4: Regenerate.
5423 * configure.in: Use it.
5424 * configure: Regenerate.
5425 * src/Makefile.am (targetincludep): Use simplified rules.
5426 (targetincludep): Rename gxx_target_include_dir.
5427 (myincludep): Rename gxx_include_dir.
5428 * src/Makefile.in: Regenerate.
5429 * libsupc++/Makefile.am: Use simplified rules.
5430 * libsupc++/Makefile.in: Regenerate.
5432 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
5434 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
5435 * include/c_std/bits/std_cctype.h: Same.
5436 * include/c_std/bits/std_cassert.h: Same.
5437 * include/c_std/bits/std_cstdarg.h: Same.
5438 * include/c_std/bits/std_cstddef.h: Same.
5440 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
5442 * include/c_std/bits/std_ctime.h: Same.
5443 * include/c_std/bits/std_clocale.h: Same.
5444 * include/c_std/bits/std_cmath.h: Same.
5445 * include/c_std/bits/std_csetjmp.h: Same.
5446 * include/c_std/bits/std_csignal.h: Same.
5447 * include/c_std/bits/std_cstring.h: Same.
5448 * include/c_std/bits/std_cstdlib.h: Same.
5449 * include/c_std/bits/std_cwchar.h: Same.
5451 2001-02-05 Phil Edwards <pme@sources.redhat.com>
5453 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
5455 2001-02-05 Mark Mitchell <mark@codesourcery.com>
5457 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
5458 (string::_S_construct): Likewise.
5460 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
5462 * testsuite/config/default.exp: New file.
5463 * testsuite/config: New directory.
5465 2001-02-04 Mark Mitchell <mark@codesourcery.com>
5467 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
5468 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
5469 whenever !__GXX_MERGED_TYPEINFO_NAMES.
5470 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
5472 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
5473 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
5475 * Makefile.am (mkinstalldirs): Set.
5476 * src/Makefile.am (mkinstalldirs): Set.
5477 * libmath/Makefile.am (mkinstalldirs): Set.
5478 * libsup++/Makefile.am (mkinstalldirs): Set.
5479 * libio/Makefile.am (mkinstalldirs): Set.
5480 * */Makefile.in: Regenerate.
5482 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
5484 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
5485 * include/bits/localefwd.h: More initialization cleanups.
5487 2001-02-03 Jeffrey A Law <law@cygnus.com>
5489 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
5490 correctly targets with 16bit ints.
5491 (_S_ios_openmode_end): Similarly.
5492 (_S_ios_iostate_end): Similarly.
5493 (_S_ios_Seekdir_end): Similarly.
5495 2001-02-02 Phil Edwards <pme@sources.redhat.com>
5497 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
5499 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
5501 * configure.in (toplevel_srcdir, auxdir): Set.
5502 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
5503 * aclocal.m4, configure, Makefile.in: Rebuilt.
5504 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
5505 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
5506 * libsupc++-v3/Makefile.in: Rebuilt.
5507 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
5508 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
5510 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
5512 * config/c_locale_generic.cc: Remove langinfo include.
5514 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
5516 Preliminary named locales.
5517 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
5518 * aclocal.m4: Regenerate.
5519 * configure.in: Use it.
5520 * configure: Regerate.
5521 * src/Makefile.am (sources): Add c++locale.cc.
5522 (build_headers): Add c++locale.h.
5523 * src/Makefile.in: Regenerate.
5524 * config/c_locale_gnu.h: New file.
5525 * config/c_locale_gnu.cc: New file. Non-inline member functions
5526 for named locales, gnu-specific.
5527 * config/c_locale_generic.h: New file.
5528 * config/c_locale_generic.cc: New file. Non-inline member
5529 functions for named locales, generic version.
5530 * docs/html/configopts.html: Add documentation on new options.
5532 * include/bits/locale_facets.h (class _Messages): Remove.
5533 (class _Moneypunct): Remove.
5534 * src/locale-inst.cc: Remove.
5536 * include/bits/locale_facets.h (class _Collate): Remove.
5537 * src/locale-inst.cc (std): Remove.
5538 * src/locale.cc: And here.
5540 * include/bits/localefwd.h (locale::_M_coalesce): New
5541 function. Correctly put together multi-name locales.
5542 (_Impl(const _Impl&, category, size_t)): Remove.
5544 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
5546 (_M_normalize_category_names): Remove.
5547 (_M_replace_categories): Fix.
5549 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
5550 (locale::_Impl::_M_construct_ctype): Remove.
5551 (locale::_Impl::_M_construct_monetary): Remove.
5552 (locale::_Impl::_M_construct_numeric): Remove.
5553 (locale::_Impl::_M_construct_time): Remove.
5554 (locale::_Impl::_M_construct_messages): Remove.
5556 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
5557 (_Use_facet_failure_handle): Remove.
5558 * src/locale.cc: Remove definitions.
5559 * src/locale-inst.cc: And here.
5561 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
5563 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
5564 create and error-check underlying locale object.
5565 (locale::facet::_S_destroy_c_locale): Add, take care of properly
5566 tearing down underlying locale object.
5567 * include/bits/localefwd.h (locale::facet): Declare.
5568 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
5569 correctness, as glibc apparently has incorrect info in it. Test
5570 with it when it works again.....
5572 * include/bits/localefwd.h (locale::_Impl::__vec_string):
5573 Remove. Number of categories is fixed at six, so just simplify and
5574 make this an array of strings.
5575 (locale::_Impl::_M_has_name): Remove.
5576 (locale::_Impl::_M_name): Remove.
5577 (locale::_Impl::_M_category_names): Turns into...
5578 (locale::_Impl::_M_names): ...this.
5579 (locale::_Impl::_M_has_same_name()): New function.
5580 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
5581 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
5583 * src/locale.cc (locale::name()): Construct mangled name
5584 accurately reflecting combined locale categories.
5586 * src/locale.cc (locale::classic()): Don't initialize here.
5587 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
5588 __refs, bool __has_name, string __str): Do it here.
5590 * include/bits/localefwd.h: _S_categories_num to
5591 _S_num_categories. _S_facets_num to _S_num_facets.
5592 (locale::id::id()): Explicitly set _M_index to zero.
5593 * src/locale.cc: Same.
5595 * src/locale.cc: (locale::locale(const char*)): Construct named
5598 * src/locale.cc: Remove numpunct_byname ctors.
5599 * testsuite/22_locale/numpunct_byname.cc: New file.
5600 * testsuite/22_locale/numpunct.cc: New file.
5602 * include/bits/localefwd.h (class locale): Change data members to
5603 protected, from private.
5604 (_Impl::_M_get_c_locale): Add member function.
5605 (locale::facet::_M_get_global_impl()): Add member function.
5606 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
5607 a __c_locale pointer.
5608 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
5610 * testsuite/22_locale/members.cc: New file, test name and combine.
5612 * include/bits/locale_facets.h (class numpunct): Remove class
5613 _Punct and _Numpunct. Rewrite class numpunct to be correct for
5615 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
5616 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
5617 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
5618 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
5619 * testsuite/22_locale/numpunct_char_members.cc: New file.
5621 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
5623 * testsuite/README: Add more comment.
5624 * testsuite/lib/libstdc++.exp: Tweak comment.
5626 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
5628 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
5630 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
5632 * testsuite/21_strings/inserters_extractors.cc: Remove
5633 explicit reference to 'testsuite/'.
5635 2001-01-25 Richard Henderson <rth@redhat.com>
5637 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
5638 bits. Fixes Tru64 build issues.
5640 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
5642 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
5643 (use ${MAKE-make}, not ${MAKE:-make}).
5644 * aclocal.m4, configure: Regenerate.
5646 2001-01-25 Mark Mitchell <mark@codesourcery.com>
5648 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
5651 * src/Makefile.am (sources): Add globals.cc.
5652 * src/Makefile.in: Regenerated.
5653 * src/globals.cc: New file.
5654 * src/ios.cc (cin): Don't define here, just declare extern.
5663 2001-01-25 Phil Edwards <pme@sources.redhat.com>
5665 * include/bits/std_iterator.h: Do not include stl_relops.h.
5666 * include/bits/std_numeric.h: Ditto.
5667 * include/bits/stl_algobase.h: Ditto.
5668 * include/bits/stl_relops.h: Add comment warning about problems.
5670 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
5672 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
5673 in testcases. Prepare for the DejaGnu based framework.
5674 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
5675 directory -- it is now mkcheck working directory.
5676 * tests_flags.in: Remove reference to $(top_srcdir). Use
5678 * Makefile.am (check, check-install): Change mkcheck invocation
5680 * Makefile.in: Regenerate.
5682 2001-01-24 Mark Mitchell <mark@codesourcery.com>
5684 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
5685 (__always_swap): Likewise.
5687 2001-01-23 Chris Demetriou <cgd@broadcom.com>
5689 * libsupc++/exception_support.cc (__terminate_func): Remove
5691 (__terminate_func_ptr): New typedef.
5692 (__terminate, __terminate_set_func): New extern function
5694 (std::terminate): Use __terminate function.
5695 (std::set_terminate): Use __terminate_set_func function.
5697 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
5699 * configure.target: Just use os_include_dir always.
5700 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
5701 Link atomicity files and ctype files here.
5702 * configure: Regenerate.
5703 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
5704 (GLIBCPP_ENABLE_ATOMICITY): Remove.
5705 * aclocal.m4: Regenerate.
5707 2001-01-23 Chris Demetriou <cgd@broadcom.com>
5709 * configure.in: Place definition of MULTISUBDIR in
5710 libsupc++/Makefile as is done for src/Makefile.
5711 * configure: Regenerate.
5713 2001-01-23 Phil Edwards <pme@sources.redhat.com>
5715 * acinclude.m4: Cosmetic changes only.
5716 * aclocal.m4: Regenerated.
5717 * configure: Regenerated.
5718 * configure.target: Update documented list of changed variables.
5719 * docs/html/install.html: Fix typo.
5720 * docs/html/20_util/howto.html: More notes on auto_ptr.
5721 * docs/html/27_io/howto.html: More notes on streabufs.
5722 * docs/html/faq/index.html: Add rel_ops problem and mention the
5723 DEC as(1) .subsection difficulty.
5724 * docs/html/faq/index.txt: Regenerated.
5726 2001-01-23 Mark Mitchell <mark@codesourcery.com>
5728 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
5729 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
5730 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
5731 its already provided in config.target.
5732 * aclocal.m4: Regenerated.
5733 * configure: Likewise.
5734 * configure.target: Set ctype_include_dir for lots of systems.
5735 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
5736 * libsupc++/Makefile.in: Regenerated.
5738 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
5740 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
5743 * testsuite/README: Add comment.
5745 2001-01-21 Phil Edwards <pme@sources.redhat.com>
5747 * docs/html/configopts.html: Update for current status. Fix HTML.
5748 * docs/html/install.html: Update for current status.
5750 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5752 * testsuite/libstdc++.tests/tests.exp: New file.
5753 * testsuite/lib/libstdc++.exp: Itou.
5754 * testsuite/README: Itou.
5756 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
5758 * tests_flags.in: Just output the bare minimum to run tests.
5759 Let's the caller do its own arrangement.
5761 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
5764 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
5766 * testsuite/17_intro: Prepare testcases for new style DejaGnu
5769 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
5771 * testsuite/libstdc++.tests, testsuite/lib: New directories.
5773 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
5775 * mkcheck.in: Construct file names that match $objdir structure.
5776 * testsuite/27_io/filebuf_members-1.txt: New file.
5777 * testsuite/27_io/ifstream_members-1.txt: New file.
5778 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
5780 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
5781 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
5783 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5785 * testsuite/27_io/istream_sentry.cc (test02): Fix.
5787 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
5790 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
5791 * src/ios.cc (ios_base::failure): Make definitions match.
5792 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
5793 (class bad_cast): Same.
5794 * libsupc++/exception (class exception): Add throw specs.
5795 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
5796 (set_unexpected): Same.
5797 (uncaught_exception): Same.
5800 * docs/html/17_intro/C++STYLE (classname): Fix.
5802 2001-01-16 Mark Mitchell <mark@codesourcery.com>
5804 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
5805 Use it do explicitly instantiate predicate<T> and value<T> for
5808 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
5810 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
5811 uninitialized thinko in last change.
5813 2001-01-16 Mark Mitchell <mark@codesourcery.com>
5815 * libsupc++/exception_support.cc (__cp_pop_exception): Change
5818 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
5820 * docs/html/17_intro/C++STYLE (classname): Add more existing
5821 and stylish patterns.
5824 * include/bits/istream.tcc (istream::sentry::sentry()): Set
5825 failbit if the state of the stream is not good.
5826 * testsuite/27_io/istream_sentry.cc (test02): Add test.
5827 * testsuite/27_io/istream_manip.cc (test01): Modify.
5830 reported by Paolo Carlini <pcarlini@unitus.it>
5831 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
5832 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
5835 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
5836 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
5837 (xsgetn): Same. Simplify.
5838 * testsuite/27_io/streambuf.cc (test04): Add testcases.
5840 reported by Larry Evans <jcampbell3@prodigy.net>
5841 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
5842 equality with eof on returned value from overflow.
5844 2001-01-14 Andreas Jaeger <aj@suse.de>
5846 * libio/libio.h: Add test for glibc 2.0.
5848 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
5850 * config/os/djgpp/bits/*: Fix dates.
5852 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
5853 _CharT* __end, _CharT __c): Remove.
5854 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
5855 * include/bits/char_traits.h: Tweak.
5857 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
5859 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
5860 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
5862 * aclocal.m4: regenerated.
5863 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
5864 * configure: regenerated.
5865 * config/os/djgpp, config/os/djgpp/bits: new directories.
5866 * config/os/djgpp/bits/ctype_base.h,
5867 config/os/djgpp/bits/ctype_inline.h,
5868 config/os/djgpp/bits/ctype_noninline.h,
5869 config/os/djgpp/bits/os_defines.h: new files.
5871 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
5873 * include/c_std/bits/std_cstdio.h: Undef printf.
5875 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
5877 * src/ios.cc: Fix typo: change cout->wcout.
5879 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
5880 * src/Makefile.in: Regenerate.
5882 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5884 * include/bits/std_complex.h: Fix a typo.
5886 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
5889 Fixes for libstdc++/1576
5890 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
5891 file, move contents into....
5892 * src/ios.cc: ...Here. Put defines for iostreams objects and
5893 initialization routines into one file to simplify DSO interaction.
5894 * include/bits/std_iostream.h: Touch.
5895 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
5896 * src/Makefile.am (sources): Remove stdstreams.cc.
5897 * src/Makefile.in: Regenerate.
5899 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5901 * tests_flags.in (check_directory): Fix typo.
5903 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5905 * include/bits/std_complex.h: Fix a typo.
5907 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
5909 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
5910 code path:) Remove magic constants and restructure to handle
5911 ctype.h bit mask layout changes more gracefully. (Make fast
5912 code path:) Use __maskrune (), if available.
5913 (is): Remove special case for digit and xdigit masks.
5915 2001-01-09 Robert Lipe <robertlipe@usa.net>
5917 * include/c_std/bits/std_ctime.h: Undefine difftime.
5919 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
5921 * src/gen-num-limits.cc (signal_adapter): New template function.
5922 (signal_handler): Use it, instead of signal.
5923 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
5924 require both tests to trap to set trap_flag.
5926 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
5928 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
5929 initialize mbstate_t member, name offset data members *off, not pos.
5930 * include/bits/fstream.tcc (filebuf::filebuf): Same.
5932 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
5934 reported by Chris G. Demetriou <cgd@sibyte.com>
5935 * configure.in: Change -linux-* to -linux*.
5936 * configure: Regenerate.
5938 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
5940 Fix 27_io/filebuf_members.cc
5941 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
5942 const string& __name, category __cat, size_t __refs): Set
5943 _M_has_name with _M_name.
5944 * include/bits/localefwd.h (locale::operator!=): Protect member
5945 function call with this->.
5946 * src/locale.cc (locale::operator==): Make fast checks first.
5947 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
5949 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
5951 * src/ios.cc (ios_base::Init::Init): Initialize here.
5952 (ios_base::sync_with_stdio): Set here.
5954 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
5956 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
5957 systems that support it, call dup() before fdopen().
5959 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
5961 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
5962 * testsuite/17_intro/header_cwctype.cc (main): New file.
5964 * src/Makefile.am (base_headers): Change.
5965 * include/bits/std_string.h: And here.
5966 * include/bits/string.tcc: Tweaks, move to...
5967 * include/bits/basic_string.tcc: ...Here.
5968 * src/string-inst.cc: Simplify, just instantiate the whole class,
5969 not member-by-member.
5971 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
5973 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
5974 * aclocal.m4: Regenerate.
5975 * configure: Regenerate.
5977 * include/bits/c++config (__GLIBCPP__): Bump version number.
5979 * ChangeLog: Start new log for year 2001
5980 * ChangeLog-2000: New file.
5982 * docs/html/configopts.html: Make sure default values are current,
5985 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
5987 * include/c_std/bits/std_cwchar.h: Same.
5988 * testsuite/17_intro/header_cwchar.cc: Same.
5989 * include/c_std/bits/std_ctime.h: Same.
5990 * testsuite/17_intro/header_ctime.cc: Same.
5991 * include/c_std/bits/std_cstdlib.h: Same.
5992 Clean up undefs, make consistent with cwchar and cmath, etc.
5993 * testsuite/17_intro/header_cstdlib.cc: Same.
5994 * include/c_std/bits/std_cstdio.h: Same here.
5995 * testsuite/17_intro/header_cstring.cc: Same.
5996 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
5997 * testsuite/17_intro/header_cstring.cc: New file. Check for
5998 size_t in namespace std.
6000 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
6001 * acconfig.h (HAVE_MBSTATE_T): Add.
6002 * config.h.in: Regenerate.
6003 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
6005 * aclocal.m4: Regenerate.
6006 * configure: Regenerate.
6007 * testsuite/17_intro/headers_c++.cc: New file.
6008 * testsuite/17_intro/headers_c.cc: Small changes.
6010 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
6012 * tests_flags.in: Fix typo in usage.
6014 * tests_flags.in: Set target specific LIBS for cygwin.