1 2001-12-21 Paolo Carlini <pcarlini@unitus.it>
3 * include/ext/stl_rope.h (_Rope_iterator):
4 Add local typedef to fix implicit typename problems.
6 2001-12-19 Phil Edwards <pme@gcc.gnu.org>
8 * docs/doxygen/Intro.3: New 'Allocators' module.
9 * docs/doxygen/TODO: Update.
10 * docs/doxygen/doxygroups.cc: Update.
11 * docs/doxygen/run_doxygen: Update.
13 * include/bits/stl_alloc.h: Tweak doxygen hooks in comments.
14 * include/bits/std_memory.h: Doxygenate.
15 * include/bits/stl_iterator_base_types.h: Likewise.
16 * include/bits/stl_raw_storage_iter.h: Likewise.
17 * include/bits/stl_tempbuf.h: Likewise.
18 (get_temporary_buffer): Remove unused nonstandard overload.
19 * include/bits/stl_uninitialized.h: Likewise.
21 * include/bits/stl_iterator_base_types.h (input_iterator,
22 output_iterator, forward_iterator, bidirectional_iterator,
23 random_access_iterator): Move old names...
24 * include/backward/iterator.h: ...to here.
25 * include/bits/stl_bvector.h: Update.
26 * include/ext/stl_rope.h: Update.
28 2001-12-19 Phil Edwards <pme@gcc.gnu.org>
30 * docs/html/configopts.html: Describe recent options.
31 * docs/html/documentation.html: Point to new doxygen tarballs.
32 * docs/html/install.html: Brief updates.
33 * docs/html/17_intro/RELEASE-NOTES: Remove weird control character.
34 * docs/html/ext/howto.html: Fix typos, describe filebuf::fd().
35 * docs/html/faq/index.html: Update for 3.0.95.
36 * docs/html/faq/index.txt: Regenerate.
38 2001-12-19 David Billinghurst <David.Billinghurst@riotinto.com>
41 * testsuite/lib/libstdc++-v3-dg.exp: Append .exe to
44 2001-12-18 Benjamin Kosnik <bkoz@redhat.com>
46 * docs/html/17_intro/TODO: Update.
47 * docs/html/17_intro/RELEASE-NOTES: Edits, update.
48 * README: Edit for clarity, update to reflect current directory
51 2001-12-18 Benjamin Kosnik <bkoz@redhat.com>
53 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Extended checking before
55 * aclocal.m4: Rebuild.
58 2001-12-18 Paolo Carlini <pcarlini@unitus.it>
59 Nathan Myers <ncm@cantrip.org>
61 * include/bits/basic_string.h (assign(__str, __pos, __n)):
62 Call assign(__s, __n).
63 (assign(__s, __n)): Terminate the string with _S_terminal.
65 2001-12-17 Benjamin Kosnik <bkoz@redhat.com>
67 * include/bits/std_limits.h (__glibcpp_long_double_is_bounded):
68 Set to true, like float and double.
70 2001-12-17 David Billinghurst <David.Billinghurst@riotinto.com>
73 * testsuite/lib/prune.exp: New file
74 * testsuite/lib/libstdc++-v3-dg.exp: Use it
76 2001-12-17 Phil Edwards <pme@gcc.gnu.org>
78 * include/bits/basic_file.h (__basic_file::fd): New function.
79 * config/io/basic_file_stdio.h (__basic_file::fd): Define.
80 * include/bits/std_fstream.h (basic_filebuf::fd): New function.
81 * include/bits/fstream.tcc (basic_filebuf::fd): Define.
82 * testsuite/27_io/filebuf_members.cc (test_02): New test.
84 2001-12-16 Nathan Sidwell <nathan@codesourcery.com>
86 * po/Makefile.am (.po.mo): Use POSIXLY_CORRECT argument ordering.
87 * po/Makefile.in: Regenerated.
89 2001-12-16 Paolo Carlini <pcarlini@unitus.it>
91 * testsuite/21_strings/assign.cc (test01): Add tests.
93 2001-12-15 Paolo Carlini <pcarlini@unitus.it>
94 Nathan Myers <ncm@cantrip.org>
96 * include/bits/basic_string.h
97 (assign(__str, __pos, __n), assign(__s, __n)): Optimize
98 by avoiding unnecessary temporaries.
99 (assign(__s)): Call assign(__s, __n).
100 * include/bits/basic_string.tcc (_M_replace_safe): Adjust comment.
101 * include/bits/std_string.h: include stl_function.h.
102 * testsuite/21_strings/assign.cc (test02, test03): New tests.
104 2001-12-15 Benjamin Kosnik <bkoz@redhat.com>
106 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Enable gnu locale model
108 * aclocal.m4: Regenerate.
109 * configure: Regenerate.
111 2001-12-14 Benjamin Kosnik <bkoz@redhat.com>
113 Clean up initialization and simplfy caching of underlying "C"
114 default locale objects.
115 * src/localename.cc (locale::_Impl::_Impl(string, size_t):
116 Unconditionally create __clocale object for all named locales,
117 including "C" and "POSIX".
118 * config/locale/c_locale_generic.cc
119 (locale::facet::_S_create_c_locale): Always set __cloc to zero.
120 * config/locale/c_locale_gnu.cc: Always delete.
121 * include/bits/localefwd.h (locale::facet::_S_c_locale): New.
122 * src/locale.cc (locale::classic()): Initialize
123 locale::facet::_S_c_locale.
124 (locale::facet::_S_c_locale): Define.
126 * include/bits/locale_facets.h: Add ctype_byname<wchar_t> ctor
128 * src/locale.cc: Add definition here.
129 * config/os/gnu-linux/bits/ctype_inline.h: Tweak.
130 * config/os/gnu-linux/bits/ctype_noninline.h: Adjust initializations.
131 * include/bits/locale_facets.h (ctype<char>::_M_c_locale_ctype): Add.
133 (ctype<char>::_M_toupper): Remove const&.
134 (ctype<char>::_M_tolower): Remove const&.
135 (ctype<char>::_M_ctable): Remove const&.
137 * include/bits/locale_facets.h (collate): Clean up initialization
138 of _M_c_locale_collate in ctors and dtors.
139 * config/locale/collate_members_gnu.cc: Always use extended
142 * include/bits/locale_facets.h (messages): Clean up inits in ctor/dtor.
143 (messages_byname): Same.
144 * config/locale/messages_members_generic.h (messages::~messages):
146 * config/locale/messages_members_gnu.h: Same.
148 * include/bits/localefwd.h: Clean. Move dtor definitions to
149 * src/locale.cc: Here.
150 * testsuite/22_locale/facet.cc: Fix spelling.
152 Named locale support for ctype<wchar_t>.
153 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add variable
154 ctype_members_* bits.
155 * aclocal.m4: Regenerate.
156 * configure: Regenerate.
157 * src/Makefile.am (sources): Add ctype.cc.
158 * src/Makefile.in: Regenerate.
159 * config/locale/ctype_members_generic.cc: New file.
160 * config/locale/ctype_members_gnu.cc: New file.
161 * src/locale.cc: Remove ctype<wchart_t> definitions.
163 2001-12-13 Roger Sayle <roger@eyesopen.com>
165 * acconfig.h: Test for __builtin_sqrt instead of
167 * acinclude.m4: Same.
168 * include/c_shadow/bits/std_cmath.h: Same.
169 * aclocal.m4: Regenerated.
170 * config.h.in: Regenerated.
171 * configure: Regenerated.
173 2001-12-13 Phil Edwards <pme@gcc.gnu.org>
175 * docs/html/ext/howto.html: Fix typos.
177 2001-12-13 Benjamin Kosnik <bkoz@redhat.com>
180 * src/locale.cc (locale::locale(const char*)): Deal with locales
182 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Modify.
184 2001-12-12 Paolo Carlini <pcarlini@unitus.it>
186 * include/ext/ropeimpl.h (rope::_S_leaf_concat_char_iter,
187 _S_destr_leaf_concat_char_iter, _S_tree_concat, _S_concat_char_iter,
188 _S_destr_concat_char_iter, _S_concat, _S_substring, _S_balance)
189 : Adjust implicit typename.
190 * include/ext/stl_rope.h (_Rope_iterator::operator=, rope::npos):
191 Adjust implicit typename.
192 * testsuite/27_io/streambuf.cc: Adjust implicit typename.
194 2001-12-12 Benjamin Kosnik <bkoz@redhat.com>
196 Named locale support for ctype<char>.
197 * config/locale/c_locale_gnu.h (_GLIBCPP_C_LOCALE_GNU): New.
198 * config/os/gnu-linux/bits/ctype_noninline.h (ctype<char>): Add
199 definitions for alternate constructor.
200 * config/os/solaris/solaris2.7/bits/ctype_noninline.h (ctype): Same.
201 * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
202 * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
203 * config/os/newlib/bits/ctype_noninline.h (ctype): Same.
204 * config/os/irix/irix6.5/bits/ctype_noninline.h (ctype): Same.
205 * config/os/irix/irix5.2/bits/ctype_noninline.h (ctype): Same.
206 * config/os/hpux/bits/ctype_noninline.h (ctype): Same.
207 * config/os/generic/bits/ctype_noninline.h (ctype): Same.
208 * config/os/djgpp/bits/ctype_noninline.h (ctype): Same.
209 * config/os/bsd/netbsd/bits/ctype_noninline.h (ctype): Same.
210 * config/os/bsd/freebsd/bits/ctype_noninline.h (ctype): Same.
211 * config/os/aix/bits/ctype_noninline.h (ctype): Same.
212 * include/bits/locale_facets.h (ctype<_CharT>): Remove dummy
213 definitions for all virtual functions. These are now explicitly
214 undefined for non-required factets, ie any non-char, non-wchar_t
216 * src/localename.cc (locale::_Impl::_Impl(string, size_t): Named
217 locales use alternate constructor for ctype facet.
218 * include/bits/locale_facets.h (ctype<char>::ctype(__c_locale, const
219 mask*, bool, size_t): Add.
220 (ctype<wchar_t>::ctype(__c_locale, size_t): Add.
221 * src/locale.cc (ctype<wchar_t>::ctype(__c_locale, size_t)): Add
224 * testsuite/22_locale/ctype_members_char.cc (test02): Add, mark
225 XFAIL for non-gnu locale models.
227 2001-12-12 Philip Martin <philip@codematters.co.uk>
228 Ross Smith <r-smith@ihug.co.nz>
229 Paolo Carlini <pcarlini@unitus.it>
232 * include/bits/std_limits.h (defines, numeric_limits<bool>::digits10):
233 Fix digits10 values for integral types.
234 * include/bits/locale_facets.tcc (num_get::do_get for integral types):
235 Tweak _M_extract_int call.
236 * testsuite/27_io/istream_extractor_arith.cc (test13, test12_aux):
237 Tweak overflowing number of digits.
238 * testsuite/18_support/numeric_limits.cc (test03): New testcase.
240 2001-12-11 Benjamin Kosnik <bkoz@redhat.com>
242 * config/os/generic/bits/ctype_inline.h: Remove spaces.
243 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
244 * include/bits/locale_facets.h (__num_base): Move double data
245 members to first in class.
246 * include/bits/locale_facets.tcc: Re-arrange, tweak.
247 * src/locale.cc: Clean.
248 *include/bits/stl_vector.h: Space typedefs.
250 2001-12-11 Phil Edwards <pme@gcc.gnu.org>
252 * testsuite/ext/allocators.cc: New file.
254 2001-12-11 Jason Merrill <jason@redhat.com>
256 * include/bits/locale_facets.tcc (_M_extract_int): Avoid
257 uninitialized warning.
259 2001-12-11 Loren Rittle <ljrittle@acm.org>
261 * config/cpu/sparc/sparc32/bits/atomicity.h
262 (__Atomicity_lock<0>::_S_atomicity_lock): Add.
264 2001-12-10 Paolo Carlini <pcarlini@unitus.it>
266 * include/bits/basic_string.tcc (_M_replace_safe): Fix typos.
267 * include/bits/basic_string.h: Fix typos.
269 2001-12-10 Paolo Carlini <pcarlini@unitus.it>
270 Nathan Myers <ncm@cantrip.org>
272 * include/bits/basic_string.tcc (_M_replace_safe): New function.
273 (_M_replace(input_iterator_tag), append members): Use it.
274 (_M_replace(forward_iterator_tag)): Remove.
275 * include/bits/basic_string.h: Adjust declarations.
276 * src/string-inst.cc: Adjust declarations.
278 2001-12-09 Benjamin Kosnik <bkoz@redhat.com>
279 Philip Martin <pmartin@uklinux.net>
281 * include/bits/locale_facets.h (__num_base::_S_scale_hex): Add.
282 (__num_base::_S_scale_oct): Add.
283 * include/bits/locale_facets.tcc (_M_extract_int): Use them.
284 * src/locale.cc: Add definitions.
285 * testsuite/27_io/istream_extractor_arith.cc (main): Call test13.
287 * testsuite/testsuite_hooks.h: Remove duplicate VERIFY define.
289 2001-12-07 Nathan Myers <ncm@cantrip.org>
290 Loren Rittle <ljrittle@acm.org>
293 * config/cpu/sparc/sparc32/bits/atomicity.h
294 (struct __Atomicity_lock<__inst>): Add.
295 (__Atomicity_lock<__inst>::_S_atomicity_lock): Add.
296 (__exchange_and_add): Use __Atomicity_lock<0>::_S_atomicity_lock
297 instead of lock local to static function.
298 (__atomic_add): Likewise.
300 2001-12-07 Phil Edwards <pme@gcc.gnu.org>
302 * src/globals.cc: Remove __GTHREADS guard.
304 2001-12-07 Paolo Carlini <pcarlini@unitus.it>
306 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
307 Extend comment, reduce __cs_size for non-fixed outputs.
309 2001-12-07 Paolo Carlini <pcarlini@unitus.it>
311 * include/bits/basic_string.tcc (_M_mutate): Fix typo
312 in the previous check in.
314 2001-12-06 Paolo Carlini <pcarlini@unitus.it>
315 Loren J. Rittle <ljrittle@acm.org>
317 * include/bits/basic_string.tcc (_M_mutate, _M_clone): Implement
318 exponential growth policy to meet linear amortized time
319 requirements of the standard.
320 (_S_create): Adjust comment.
322 2001-12-06 Benjamin Kosnik <bkoz@redhat.com>
325 * include/bits/locale_facets.tcc (num_put): Clean.
326 (num_get::_M_extract_float): Change argument to string.
327 (num_get::do_get(float)): Fixup.
328 (num_get::do_get(double)): Same.
329 (num_get::do_get(long double)): Same.
330 (num_get::_M_extract_int): Add maximum length parameter, __max.
331 (num_get::_M_extract_float): Correct zeros, use string.
332 * include/bits/locale_facets.h (num_get::_M_extract_float): Change
334 * src/locale.cc (__num_base::_S_atoms): Remove x, X.
335 * testsuite/27_io/istream_extractor_arith.cc (test13): Add.
337 2001-12-06 Philip Martin <pmartin@uklinux.net>
339 * testsuite/27_io/istream_extractor_arith.cc (test12): Add
340 tests for excess input digits.
342 2001-12-06 Phil Edwards <pme@gcc.gnu.org>
344 * include/bits/std_bitset.h: Use GLIBCPP in multiple-inclusion guard.
345 * include/bits/stl_algo.h: Likewise.
346 * include/bits/stl_algobase.h: Likewise.
347 * include/bits/stl_bvector.h: Likewise.
348 * include/bits/stl_deque.h: Likewise.
349 * include/bits/stl_function.h: Likewise.
350 * include/bits/stl_iterator.h: Likewise.
351 * include/bits/stl_iterator_base_funcs.h: Likewise.
352 * include/bits/stl_iterator_base_types.h: Likewise.
353 * include/bits/stl_list.h: Likewise.
354 * include/bits/stl_multimap.h: Likewise.
355 * include/bits/stl_multiset.h: Likewise.
356 * include/bits/stl_pair.h: Likewise.
357 * include/bits/stl_queue.h: Likewise.
358 * include/bits/stl_set.h: Likewise.
359 * include/bits/stl_stack.h: Likewise.
360 * include/bits/stl_tempbuf.h: Likewise.
361 * include/bits/stl_tree.h: Likewise.
362 * include/bits/stl_vector.h: Likewise.
364 * include/bits/stl_alloc.h: Use our own multiple inclusion guards.
365 Doxygenate more comments. Correct historical artifacts in comments.
366 (alloc, single_alloc): Uglify non-standard names.
367 (__default_alloc_template::_NFREELISTS): Calculate from other
369 (__default_alloc_template::_S_free_list): Remove SunPro workaround.
370 (__default_alloc_template::_Lock): Mark as "unused".
371 * include/backward/alloc.h: Update.
372 * include/bits/stl_bvector.h: Likewise.
373 * include/ext/ropeimpl.h: Likewise.
374 * include/ext/stl_hashtable.h: Likewise.
376 2001-12-05 Benjamin Kosnik <bkoz@redhat.com>
379 * include/bits/locale_facets.tcc (num_put::_M_widen_float): Add
380 grouping to floating point types.
381 * testsuite/27_io/ostream_inserter_arith.cc (test02): Add test.
383 2001-12-04 Paolo Carlini <pcarlini@unitus.it>
386 * testsuite/27_io/ostream_inserter_arith.cc (test02): Add testcase
388 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
389 Deal properly with long ios_base::fixed floats.
390 (num_put::_M_widen_float): use
391 __len in __builtin_alloca call.
393 2001-12-04 Benjamin Kosnik <bkoz@redhat.com>
395 * src/Makefile.am (sources): Add ext-inst.cc.
396 * src/Makefile.in: Regenerate.
397 * src/ext-inst.cc: New file.
398 * include/bits/stl_threads.h: Format.
399 * src/globals.cc: Add instantiation for _S_swap_lock.
401 * testsuite/18_support/numeric_limits.cc: Add numeric_limits<B>
404 2001-12-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
406 * testsuite/22_locale/numpunct_members_wchar_t.cc: Only compile
407 and execute test01 if _GLIBCPP_USE_WCHAR_T is defined.
408 * testsuite/26_numerics/complex_inserters_extractors.cc: Provide
409 for explicit instantiation of class std::basic_string<char,
410 gnu_char_traits, std::allocator<char> >.
412 2001-12-03 Benjamin Kosnik <bkoz@redhat.com>
414 * testsuite/22_locale/collate.cc: Compile-only.
415 * testsuite/22_locale/time_get.cc: Same.
416 * testsuite/22_locale/time_put.cc: Same.
417 * testsuite/22_locale/numpunct.cc: Same.
418 * testsuite/22_locale/num_put.cc: Same.
419 * testsuite/22_locale/num_get.cc: Same.
420 * testsuite/22_locale/moneypunct.cc: Same.
421 * testsuite/22_locale/money_get.cc: Same.
422 * testsuite/22_locale/messages.cc: Same.
423 * testsuite/22_locale/ctype.cc: Same.
425 2001-12-03 Benjamin Kosnik <bkoz@redhat.com>
427 * src/string-inst.cc (string::_Rep::_S_terminal): Add static data
428 member instantiations.
430 2001-12-03 Steve Ellcey <sje@cup.hp.com>
432 * libstdc++-v3/configure.in: Add support for hpux cross compiles,
433 combine common linux/hpux/generic cross compile support to reduce
435 * libstdc++-v3/configure: Regenerate.
437 2001-12-03 Loren J. Rittle <ljrittle@acm.org>
439 * docs/html/ext/howto.html: Update commentary.
440 * include/bits/c++config: Update threading configuration comment.
441 (__STL_GTHREADS): Remove macro definition.
442 (__STL_THREADS): Likewise.
443 * include/bits/stl_threads.h: Leave only the configuration
444 path which had been guarded by __STL_GTHREADS. Remove all
445 guards related to __STL_GTHREADS, __STL_SGI_THREADS,
446 __STL_PTHREADS, __STL_UITHREADS and __STL_WIN32THREADS.
447 * include/bits/stl_alloc.h: Leave only the configuration path
448 which had been guarded by __STL_THREADS. Remove configuration
449 path and guards for __STL_SGI_THREADS.
450 (__NODE_ALLOCATOR_THREADS): Remove macro definition. Unroll its use.
451 (__NODE_ALLOCATOR_LOCK): Likewise.
452 (__NODE_ALLOCATOR_UNLOCK): Likewise.
453 (_NOTHREADS): Remove guards related to macro.
454 * include/ext/stl_rope.h: Remove configuration path and guards
455 for __STL_SGI_THREADS.
456 * src/stl-inst.cc: Remove use of __NODE_ALLOCATOR_THREADS.
458 2001-12-02 Phil Edwards <pme@gcc.gnu.org>
460 * docs/html/ext/howto.html: Update list of implemented DRs.
461 * docs/html/ext/lwg-active.html: Import R20 from upstream.
462 * docs/html/ext/lwg-defects.html: Import R20 from upstream.
464 2001-11-30 Benjamin Kosnik <bkoz@redhat.com>
468 * libsupc++/exception (bad_exception::~bad_exception()): Remove
470 * libsupc++/new (bad_alloc::~bad_alloc()): Remove.
471 * libsupc++/typeinfo (bad_cast::~bad_cast()): Remove.
472 (bad_typeid::~bad_typeid()): Remove.
473 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Remove definition.
474 (bad_typeid::~bad_typeid()): Same.
475 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
476 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()): Same.
478 * include/bits/std_iomanip.h: Tweak.
480 2001-11-29 Paolo Carlini <pcarlini@unitus.it>
483 * include/bits/locale_facets.tcc (__pad): Add bool parameter to
484 correctly pad internal-adjusted const char*-type objects.
485 * include/bits/locale_facts.tcc (num_put::_M_insert): Update call.
486 * include/bits/ostream.tcc (operator<<(_CharT , char, const
487 _CharT*, const char*, const basic_string&): Update calls.
488 * src/locale-inst.tcc: Update declarations.
489 * testsuite/27_io/ostream_inserter_arith.cc (test04): Add test.
491 2001-11-29 Phil Edwards <pme@gcc.gnu.org>
493 * docs/html/ext/howto.html: Finish allocator notes (inst and 3.0).
495 2001-11-29 Benjamin Kosnik <bkoz@redhat.com>
497 * include/bits/locale_facets.tcc (num_get::do_get(long double)):
498 Fix __traits_type typo.
500 2001-11-28 Paolo Carlini <pcarlini@unitus.it>
502 * include/bits/locale_facets.tcc (__pad): Correctly pad
503 internal-adjusted hex numbers.
504 * testsuite/27_io/ostream_inserter_arith.cc: Add testcase.
506 2001-11-28 Paolo Carlini <pcarlini@unitus.it>
507 Loren J. Rittle <ljrittle@acm.org>
509 * include/bits/basic_string.h
510 (basic_string::_Rep::__default_excess, _S_excess_slop):
512 * include/bits/basic_string.tcc: Remove dead code.
513 * include/bits/c++config: Remove comment.
515 2001-11-28 Benjamin Kosnik <bkoz@redhat.com>
516 Jakub Jelinek <jakub@redhat.com>
518 * config/locale/moneypunct_members_gnu.cc
519 (moneypunct<wchar_t>::_M_initialize_moneypunct): Correctly cast
521 * config/locale/numpunct_members_gnu.cc
522 (numpunct<wchar_t>::_M_initialize_numpunct): Same.
524 2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
526 * include/bits/locale_facets.tcc: Formatting tweaks.
528 * testsuite/23_containers/map_operators.cc: Don't xfail.
529 * testsuite/23_containers/set_operators.cc: Same.
530 * testsuite/backward/header_iterator_h.cc: Pass in -Wno-deprecated.
531 * testsuite/backward/header_deque_h.cc: Same.
533 2001-11-27 Loren J. Rittle <ljrittle@acm.org>
534 Paolo Carlini <pcarlini@unitus.it>
536 * include/bits/basic_string.tcc (basic_string::_Rep::_S_create):
537 Enforce allocation size blocking policy to reduce
538 fragmentation and enhance performance with common malloc
541 2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
543 Numeric facets cleanup.
544 * include/bits/locale_facets.h (__num_base::_S_atoms): Add, remove
546 (__num_base::_M_zero): Add
547 (__num_base::_M_e): Add.
548 (__num_base::_M_E): Add.
549 * include/bits/locale_facets.tcc (num_get::_M_extract): Remove.
550 (num_get::_M_extract_float): New.
551 (num_get::_M_extract_int): New.
552 * src/locale.cc (num_get::_M_extract): Remove.
554 * include/bits/locale_facets.tcc (num_put::_M_insert_float):
555 Simplify, use _M_insert.
556 (num_put::do_put(bool)): Simplify, remove __pad.
558 (__pad_output): Change to __pad.
559 * include/bits/ostream.tcc: And here.
560 * src/locale-inst: Remove instantiations.
562 * include/bits/locale_facets.h: Move helper functions in to class
564 (num_put::_M_insert_float): Same, for __output_integer.
565 (num_put::_M_insert_int): Same, for __output_float.
566 (num_put::_M_insert): New.
568 (__num_base::_S_format_float): Move
569 __build_float_format into class __num_base.
570 (__num_base::_S_format_int): Move __build_int_format into class
572 * include/bits/locale_facets.tcc (__group_digits): Change to
573 (__add_grouping): This.
574 * src/locale-inst.cc: And here. Tweak instantiations.
575 * src/misc-inst.cc: Remove instantiations.
577 * include/bits/ostream.tcc (__pad_char): Rename, adjust inserters
578 for new calling conventions, move to...
579 * include/bits/locale_facets.tcc (__pad_output): Here. Adjust
580 signature to make it useful for both ostream and num_put.
581 (__pad_numeric): Remove.
582 * src/misc-inst.cc: Remove instantiations.
583 * src/locale-inst.cc: Same.
585 * include/bits/locale_facets.h (_Numeric_get): Remove.
586 (_Numeric_put): Remove.
587 (num_get::get(short)): Remove.
588 (num_get::get(int)): Remove.
589 (num_get::do_get(short)): Remove.
590 (num_get::do_get(int)): Remove.
591 * include/bits/istream.tcc (istream::operator>>(short)): Fix as
593 (istream::operator>>(int)): Same.
595 * include/bits/locale_facets.h (_Format_cache): Remove.
596 * include/bits/locale_facets.tcc: Same.
597 * src/locale.cc: Same.
598 * src/locale-inst.cc: Same.
599 * include/bits/ostream.tcc: Same.
600 * src/ios.cc (ios_base::imbue): Remove here as well.
602 * testsuite/22_locale/num_get.cc: New file.
603 * testsuite/22_locale/num_get_members_char.cc: New file.
604 * testsuite/22_locale/num_get_members_wchar_t.cc: New.
605 * testsuite/22_locale/numpunct_members_wchar_t.cc: New file.
606 * testsuite/22_locale/num_put.cc: New file.
607 * testsuite/22_locale/num_put_members_char.cc: New file.
608 * testsuite/22_locale/num_put_members_wchar_t.cc: New file.
609 * testsuite/27_io/ostream_inserter_arith.cc: Fix.
610 * testsuite/27_io/istream_extractor_arith.cc: Fix.
612 2001-11-27 Phil Edwards <pme@gcc.gnu.org>
614 * docs/html/explanations.html: New section, empty for now.
615 * docs/html/17_intro/howto.html: Cleanup. Move unrelated link...
616 * docs/html/23_containers/howto.html: ...to here. Break up and
617 rewrap threading discussion to emphasize warning. Move malloc text...
618 * docs/html/ext/howto.html: ...to here. New section. Describe
619 allocators and __USE_MALLOC effects.
620 * docs/html/ext/sgiexts.html: Mention their code.
622 2001-11-24 Joseph S. Myers <jsm28@cam.ac.uk>
624 * docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
625 docs/html/27_io/binary_iostreams_kuehl.txt: Revert previous
628 2001-11-23 Phil Edwards <pme@gcc.gnu.org>
630 * Makefile.am (doxygen-maint): The script isn't executable in CVS.
631 * Makefile.in: Regenerated.
632 * docs/doxygen/TODO: New file listing doxygen work to be done.
633 * docs/doxygen/run_doxygen: Fix up man pages.
634 * docs/doxygen/user.cfg.in: Insert maint-only toggles.
635 * docs/doxygen/maint.cfg.in: Copy from user.cfg and turn toggles on.
636 * include/bits/stl_construct.h: Use new hooks for internal functions.
638 * docs/html/17_intro/TODO: Small updates.
639 * docs/html/faq/index.html: Likewise.
640 * docs/html/faq/index.txt: Regenerated.
642 * include/bits/stl_alloc.h: Doxygenate, reindent comments, remove
643 SGI-isms and wrappers.
644 (simple_alloc, debug_alloc): Uglify class names.
645 (__default_alloc_template): Uglify "threads" template parameter and
646 update corresponding macros.
647 * include/backward/alloc.h: Bring up to date.
649 2001-11-23 Jason Merrill <jason@redhat.com>
651 * src/vterminate.cc (__verbose_terminate_handler): Add leading
654 2001-11-23 Joseph S. Myers <jsm28@cam.ac.uk>
656 * ChangeLog, docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
657 docs/doxygen/doxygroups.cc, docs/doxygen/Intro.3,
658 docs/html/17_intro/BUGS, docs/html/17_intro/C++STYLE,
659 docs/html/17_intro/CHECKLIST, docs/html/17_intro/DESIGN,
660 docs/html/17_intro/howto.html, docs/html/17_intro/porting.html,
661 docs/html/17_intro/porting.texi, docs/html/18_support/howto.html,
662 docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
663 docs/html/21_strings/howto.html,
664 docs/html/23_containers/howto.html,
665 docs/html/26_numerics/howto.html, docs/html/27_io/howto.html,
666 docs/html/27_io/binary_iostreams_kuehl.txt,
667 docs/html/ext/sgiexts.html, docs/html/faq/index.html,
668 docs/html/faq/index.txt, testsuite/24_iterators/iterator.cc,
669 include/bits/basic_file.h, include/bits/locale_facets.h,
670 include/bits/locale_facets.tcc, include/bits/std_sstream.h,
671 include/ext/ropeimpl.h, include/ext/stl_rope.h,
672 libsupc++/tinfo.cc, libsupc++/cxxabi.h, libsupc++/typeinfo,
673 libsupc++/eh_throw.cc, acinclude.m4, aclocal.m4, configure,
674 configure.target, ChangeLog-2000: Fix spelling errors.
676 * config/locale/moneypunct_members_gnu.cc,
677 include/bits/locale_facets.h: Fix spelling errors.
679 2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
681 * testsuite/23_containers/list_capacity.cc: New file.
682 * testsuite/23_containers/list_ctor.cc: New file.
683 * testsuite/23_containers/list_modifiers.cc: New file.
684 * testsuite/23_containers/list_operators.cc: New file.
686 2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
688 * include/bits/stl_list.h: Reformatted according to C++STYLE rules.
689 (size): Replaced nonstandard distance() call with the standard one.
690 (transfer): Uglified to _M_transfer.
692 2001-11-21 Paolo Carlini <pcarlini@unitus.it>
695 * include/bits/basic_string.tcc (basic_string::reserve): Never shrink
696 below the current size.
697 * testsuite/21_strings/capacity.cc (test02): Add test.
699 2001-11-19 Phil Edwards <pme@gcc.gnu.org>
701 * docs/doxygen/Intro.3: More notes.
702 * docs/doxygen/style.css: Update to default style from Doxygen 1.2.10.
703 * include/bits/stl_algobase.h: Add doxygen hooks for functions.
704 * include/ext/hash_map: Add @file hook.
705 * include/ext/hash_set: Likewise.
706 * include/ext/rope: Likewise.
707 * include/ext/ropeimpl.h: Likewise.
708 * include/ext/slist: Likewise.
709 * include/ext/stl_hash_fun.h: Likewise.
710 * include/ext/stl_hashtable.h: Likewise.
711 * include/ext/stl_rope.h: Likewise.
713 * docs/html/17_intro/license.html: Remove "experimental" sentence.
714 * docs/html/19_diagnostics/howto.html: Document new verbose
716 * testsuite/27_io/filebuf.cc: Fix comment, move tweakable parameter
717 to more visible (closer to description) position.
719 * libsupc++/eh_type.cc: Formatting tweak.
720 * libsupc++/exception: Likewise.
721 * src/vterminate.cc: Likewise.
723 * docs/html/17_intro/porting.html: Regenerate.
724 * docs/html/faq/index.txt: Regenerate.
726 2001-11-18 Jason Merrill <jason@redhat.com>
728 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Take void*.
729 * libsupc++/eh_catch.cc (__cxa_begin_catch): Likewise.
730 * libsupc++/unwind-cxx.h: Adjust.
731 * src/Makefile.am (strstream.o): Pass -Wno-deprecated.
733 * libsupc++/eh_type.cc (__cxa_current_exception_type): New file.
734 * libsupc++/cxxabi.h: Declare it.
735 * libsupc++/Makefile.am (sources): Add it.
736 * src/vterminate.cc (verbose_terminate_handler): New file.
737 * libsupc++/exception: Declare it.
738 * src/Makefile.am (sources): Add it.
740 * src/Makefile.am (VPATH): Check the src directory before the top one.
742 2001-11-16 Paolo Carlini <pcarlini@unitus.it>
744 * include/bits/stl_deque.h (deque::erase()): Fix memory leak.
746 2001-11-16 Loren J. Rittle <ljrittle@acm.org>
748 * docs/html/17_intro/howto.html (Thread-safety): Rename
749 section to ``The Standard C++ library and multithreading'' and
750 update information based on recent mailing list traffic. Move
751 all discussion of __USE_MALLOC to...
752 * docs/html/23_containers/howto.html (Containers and multithreading):
753 ...here and rework it based on recent mailing list traffic.
755 2001-11-15 Loren J. Rittle <ljrittle@acm.org>
757 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Clarify
760 2001-11-15 <bjornw@planetarion.com>
761 Loren J. Rittle <ljrittle@acm.org>
764 * include/bits/stl_alloc.h (alloc): Update to use __mem_interface.
765 (single_client_alloc): Likewise.
767 2001-11-08 Danny Smith <dannysmith@users.sourceforge.net>
769 * configure.target: Add os_include_dir for mingw32* target.
770 * docs/html/17_intro/porting.texi: Mention mingw32 as target benefiting
771 from _GLIBCPP_AVOID_FSEEK.
772 * config/os/mingw32/bits/ctype_base.h: New file.
773 * config/os/mingw32/bits/ctype_inline.h: New file.
774 * config/os/mingw32/bits/ctype_noninline.h: New file.
775 * config/os/mingw32/bits/os_defines.h: New file.
777 2001-11-07 Nathan Myers <ncm@cantrip.org>
779 * docs/html/faq/index.html (5.8): New entry on ABIs.
780 * docs/html/faq/index.txt: Regenerate.
782 2001-11-07 Phil Edwards <pme@gcc.gnu.org>
784 * docs/html/faq/index.html: Explain libsupc++, mention 'long long'
786 * docs/html/faq/index.txt: Regenerate.
788 2001-11-06 Phil Edwards <pme@gcc.gnu.org>
790 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Run the test in
792 * aclocal.m4: Regenerate.
793 * configure: Regenerate.
795 2001-11-05 Phil Edwards <pme@gcc.gnu.org>
797 * porting.texi: Move...
798 * docs/html/17_intro/porting.texi: ...to here.
799 * docs/html/Makefile: Add rule to rebuild...
800 * docs/html/17_intro/porting.html: ...this. New file.
802 2001-11-05 Felix Natter <fnatter@gmx.net>
804 * docs/html/17_intro/porting-howto.xml: check in v0.9.4
805 * docs/html/17_intro/porting-howto.html: regenerate
807 2001-11-02 Loren J. Rittle <ljrittle@acm.org>
809 * include/bits/stl_threads.h (_Atomic_swap): Only enable path
810 when platform supports __GTHREAD_MUTEX_INIT.
812 2001-11-02 Phil Edwards <pme@gcc.gnu.org>
814 * acconfig.h: Update comments.
815 * acinclude.m4 (GLIBCPP_ENABLE_C99): Move strtoll, strtoull tests...
816 (GLIBCPP_ENABLE_LONG_LONG): ...to here. Don't check enable_c99.
817 * aclocal.m4: Regenerate.
818 * config.h.in: Regenerate.
819 * configure: Regenerate.
821 * include/bits/boost_concept_check.h: Unconditionally compile uses
822 of 'long long' which require only compiler support, not C lib support.
823 * include/bits/cpp_type_traits.h: Likewise.
824 * include/bits/std_limits.h: Likewise.
825 * include/bits/type_traits.h: Likewise.
826 * src/concept-inst.cc: Likewise.
827 * src/limits.cc: Likewise.
828 * include/c_shadow/stdlib.h: Compile conditionally on _GLIBCPP_USE_C99
829 instead of _GLIBCPP_USE_LONG_LONG.
830 * include/c_shadow/bits/std_cstdlib.h: Likewise.
832 2001-11-02 Phil Edwards <pme@gcc.gnu.org>
834 * config/io/c_io_stdio.h: Correct grammar in comments.
835 * docs/doxygen/Intro.3: Expand "top-level" man page.
836 * docs/doxygen/doxygroups.cc: New module definitions (comments).
837 * docs/doxygen/mainpage.doxy: Tweaks.
838 * docs/doxygen/run_doxygen: Update Doxygen version, massage man pages.
840 Add @file hooks so that headers are considered to be documented.
841 * include/bits/basic_ios.h, include/bits/basic_file.h,
842 include/bits/basic_string.h, include/bits/boost_concept_check.h,
843 include/bits/char_traits.h, include/bits/codecvt.h,
844 include/bits/concept_check.h, include/bits/cpp_type_traits.h,
845 include/bits/fpos.h, include/bits/gslice.h, include/bits/gslice_array.h,
846 include/bits/indirect_array.h, include/bits/ios_base.h,
847 include/bits/locale_facets.h, include/bits/localefwd.h,
848 include/bits/mask_array.h, include/bits/pthread_allocimpl.h,
849 include/bits/slice.h, include/bits/slice_array.h,
850 include/bits/std_algorithm.h, include/bits/std_bitset.h,
851 include/bits/std_complex.h, include/bits/std_deque.h,
852 include/bits/std_fstream.h, include/bits/std_functional.h,
853 include/bits/std_iomanip.h, include/bits/std_ios.h,
854 include/bits/std_iosfwd.h, include/bits/std_iostream.h,
855 include/bits/std_istream.h, include/bits/std_iterator.h,
856 include/bits/std_limits.h, include/bits/std_list.h,
857 include/bits/std_locale.h, include/bits/std_map.h,
858 include/bits/std_memory.h, include/bits/std_numeric.h,
859 include/bits/std_ostream.h, include/bits/std_queue.h,
860 include/bits/std_set.h, include/bits/std_sstream.h,
861 include/bits/std_stack.h, include/bits/std_streambuf.h,
862 include/bits/std_string.h, include/bits/std_utility.h,
863 include/bits/std_valarray.h, include/bits/std_vector.h,
864 include/bits/stl_algo.h, include/bits/stl_alloc.h,
865 include/bits/stl_bvector.h, include/bits/stl_construct.h,
866 include/bits/stl_deque.h, include/bits/stl_heap.h,
867 include/bits/stl_iterator.h, include/bits/stl_iterator_base_funcs.h,
868 include/bits/stl_iterator_base_types.h, include/bits/stl_list.h,
869 include/bits/stl_map.h, include/bits/stl_multimap.h,
870 include/bits/stl_multiset.h, include/bits/stl_numeric.h,
871 include/bits/stl_pair.h, include/bits/stl_pthread_alloc.h,
872 include/bits/stl_queue.h, include/bits/stl_raw_storage_iter.h,
873 include/bits/stl_relops.h, include/bits/stl_set.h,
874 include/bits/stl_stack.h, include/bits/stl_tempbuf.h,
875 include/bits/stl_threads.h, include/bits/stl_tree.h,
876 include/bits/stl_uninitialized.h, include/bits/stl_vector.h,
877 include/bits/stream_iterator.h, include/bits/streambuf_iterator.h,
878 include/bits/stringfwd.h, include/bits/type_traits.h,
879 include/bits/valarray_array.h, include/bits/valarray_meta.h:
880 Add hooks, tweak comments only.
882 * include/bits/stl_algobase.h (swap, min, iter_swap): Also
883 document these functions.
884 * include/bits/stl_function.h: Tweak link comments.
886 2001-11-01 Paolo Carlini <pcarlini@unitus.it>
887 Benjamin Kosnik <bkoz@redhat.com>
889 * testsuite/27_io/ios_manip_fmtflags.cc: Fix for non-interactive
891 * include/bits/locale_facets.tcc (num_put::do_put(bool)): Fix.
893 2001-11-01 Egor Duda <deo@logos-m.ru>
895 * config/os/newlib/bits/ctype_noninline.h
896 (ctype<char>::do_toupper(char __c)): Check for proper character class.
897 (ctype<char>::do_tolower(char __c)): Ditto.
899 2001-11-01 Phil Edwards <pme@gcc.gnu.org>
901 * acinclude.m4: Fix spacing.
902 (GLIBCPP_ENABLE_CONCEPT_CHECKS): New macro.
903 * configure.in: Call here.
904 * acconfig.h: Add _GLIBCPP_CONCEPT_CHECKS.
905 * include/bits/boost_concept_check.h: Fix headers.
906 (__function_requires): Make inline.
907 * include/bits/c++config (_GLIBCPP_CONCEPT_CHECKS): Remove.
908 * aclocal.m4: Regenerate.
909 * config.h.in: Regenerate.
910 * configure: Regenerate.
912 Move trailing ';' inside macro, PR libstdc++/3666.
913 * include/bits/concept_check.h: Add semicolon.
914 * include/bits/stl_algo.h: Remove semicolon.
915 * include/bits/stl_algobase.h: Likewise.
916 * include/bits/stl_deque.h: Likewise.
917 * include/bits/stl_heap.h: Likewise.
918 * include/bits/stl_iterator_base_funcs.h: Likewise.
919 * include/bits/stl_list.h: Likewise.
920 * include/bits/stl_map.h: Likewise.
921 * include/bits/stl_multimap.h: Likewise.
922 * include/bits/stl_multiset.h: Likewise.
923 * include/bits/stl_numeric.h: Likewise.
924 * include/bits/stl_queue.h: Likewise.
925 * include/bits/stl_set.h: Likewise.
926 * include/bits/stl_stack.h: Likewise.
927 * include/bits/stl_vector.h: Likewise.
928 * include/ext/hash_map: Likewise.
929 * include/ext/hash_set: Likewise.
930 * include/ext/slist: Likewise.
932 * src/concept-inst.cc: New file with explicit instantiations.
933 * src/Makefile.am (sources): Add here, with special build rules.
934 * src/Makefile.in: Regenerate.
936 2001-11-01 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
938 * include/bits/std_complex.h (_Norm_helper): New class template.
940 (abs): Tweak. Fix Thinko.
942 2001-10-31 Benjamin Kosnik <bkoz@redhat.com>
945 * include/bits/codecvt.h: Add virtual member function declarations.
946 * src/codecvt.cc: Tweaks.
947 * testsuite/22_locale/codecvt.cc: Test compilation only,
948 non-required facets not required to have linkage.
950 2001-10-31 Edward E. Meyer <edward.e.meyer@boeing.com>
953 * include/bits/std_complex.h (complex::operator/=): Correct sign.
955 2001-10-30 Paolo Carlini <pcarlini@unitus.it>
956 Benjamin Kosnik <bkoz@redhat.com>
959 * include/bits/basic_string.h: Tweaks.
960 * include/bits/basic_string.tcc (string::_M_replace(iterator,
961 iterator, _ForwardIter, _ForwardIter, forward_iterator_tag): Fix.
962 * src/string-inst.cc: Tweaks, add instantiation.
963 * testsuite/21_strings/replace.cc (test02): Add test.
964 * testsuite/21_strings/assign.cc (test01): New file.
966 2001-10-30 Jakub Jelinek <jakub@redhat.com>
968 * include/bits/stl_deque.h (_M_new_elements_at_front): Use
969 __throw_exception_again.
970 (_M_new_elements_at_back): Likewise.
972 2001-10-29 Benjamin Kosnik <bkoz@redhat.com>
975 * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
976 * testsuite/27_io/filebuf.cc (test07): New test.
977 (test03): Modify showmanyc test.
979 2001-10-26 Benjamin Kosnik <bkoz@redhat.com>
982 * config/locale/codecvt_specializations_ieee_1003.1-200x.h
983 (__enc_traits::~__enc_traits): Fix.
984 (__enc_traits::_M_init): Add error checking.
986 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
989 * include/bits/locale_facets.tcc (time_get::_M_extract_name): Fix.
991 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
994 * include/bits/ostream.tcc (ostream::operator<<(streambuf*)): Fix
996 * include/bits/istream.tcc (istream::operator>>(streambuf*): Make
997 consistent, where possible.
998 * include/bits/streambuf.tcc: Tweak.
1000 2001-10-25 Brendan Kehoe <brendan@zen.org>
1003 * bits/ostream.tcc (seekp): Scope use as ios_base::failbit.
1004 * bits/istream.tcc (seekg): Likewise.
1006 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1007 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1008 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1010 * config/os/gnu-linux/bits/os_defines.h: Set to 64 bit longs with
1012 * include/bits/std_limits.h: Fix wchar_t issues.
1013 * config/os/aix/bits/os_defines.h: Fix.
1015 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1017 * include/bits/locale_facets.tcc (collate::do_transform): Fix.
1019 2001-10-25 Phil Edwards <pme@gcc.gnu.org>
1021 * docs/html/documentation.html: Fix typo.
1023 2001-10-23 Benjamin Kosnik <bkoz@redhat.com>
1025 Make -fno-exceptions work.
1026 * config/locale/c_locale_gnu.cc: Use functexcept.
1027 * include/bits/c++config (__stl_assert): Remove.
1028 (__STL_USE_EXCEPTIONS): Same.
1030 (__STL_CATCH_ALL): Same.
1031 (__STL_THROW): Same.
1032 (__STL_RETHROW): Same.
1033 (__STL_NOTHROW): Same.
1034 (__STL_UNWIND): Same.
1035 * include/bits/pthread_allocimpl.h: Fix.
1036 * include/bits/std_bitset.h: Same.
1037 * include/bits/std_list.h: Same.
1038 * include/bits/std_memory.h: Same.
1039 * include/bits/std_queue.h: Same.
1040 * include/bits/stl_alloc.h: Same.
1041 * include/bits/stl_deque.h: Same.
1042 * include/bits/stl_list.h: Same.
1043 * include/bits/stl_queue.h: Same.
1044 * include/bits/stl_tempbuf.h: Same.
1045 * include/bits/stl_tree.h: Same.
1046 * include/bits/stl_uninitialized.h: Same.
1047 * include/bits/stl_vector.h: Same.
1048 * include/ext/ropeimpl.h: Same.
1049 * include/ext/slist: Same.
1050 * include/ext/stl_hashtable.h: Same.
1051 * include/ext/stl_rope.h: Same.
1052 * libsupc++/new_op.cc: Include cstdlib.
1053 * libsupc++/eh_personality.cc: Add exception_defines include. Use
1054 __throw_exception_again, tweak.
1055 * libsupc++/eh_aux_runtime.cc: Include stdlib for abort.
1056 * libsupc++/vec.cc: Tweak.
1057 * src/functexcept.cc: Remove unused arguments.
1058 * testsuite/23_containers/bitset_members.cc: Tweak.
1060 2001-10-22 Benjamin Kosnik <bkoz@redhat.com>
1062 * config/cpu/i386/bits/limits.h: Move to...
1063 * config/cpu/i386/bits/cpu_limits.h: ...here.
1064 * config/cpu/cris/bits/cpu_limits.h: Same.
1065 * config/cpu/powerpc/bits/cpu_limits.h: Same.
1066 * config/cpu/x86-64/bits/cpu_limits.h: Same.
1067 * config/cpu/alpha/bits/cpu_limits.h: New.
1068 * config/cpu/m68k/bits/cpu_limits.h: New.
1069 * config/cpu/s390/bits/cpu_limits.h: New.
1070 * config/os/aix/bits/os_defines.h: Tweaks.
1071 * config/os/bsd/freebsd/bits/os_defines.h: Same.
1072 * config/os/bsd/netbsd/bits/os_defines.h: Same.
1073 * config/os/djgpp/bits/os_defines.h: Same.
1074 * config/os/generic/bits/os_defines.h: Same.
1075 * config/os/gnu-linux/bits/os_defines.h: Same.
1076 * config/os/hpux/bits/os_defines.h: Same.
1077 * config/os/irix/irix5.2/bits/os_defines.h: Same.
1078 * config/os/irix/irix6.5/bits/os_defines.h: Same.
1079 * config/os/newlib/bits/os_defines.h: Same.
1080 * config/os/solaris/solaris2.5/bits/os_defines.h: Same.
1081 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
1082 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
1084 * include/bits/c++config: Remove include.
1085 * include/bits/limits_generic.h: Remove.
1086 * include/bits/std_limits.h: Include cpu_limits.h.
1087 * include/Makefile.am: Fixup.
1088 * src/limits.cc: Tweak.
1089 * src/limits_generic.cc: Remove.
1090 * src/gen-num-limits.cc: Remove.
1091 * mknumeric_limits: Remove.
1093 2001-10-20 Brendan Kehoe <brendan@zen.org>
1095 * bits/type_traits.h (_Bool): Removed this type.
1096 (__true_type, __false_type): Change to be plain structs.
1097 * src/string-inst.cc (__destroy_aux): Change third parm to be
1098 __false_type instead of _Bool<false>.
1099 * src/misc-inst.cc (__uninitialized_fill_n_aux,
1100 __uninitialized_copy_aux): Likewise.
1102 2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
1104 * mkcheck.in (static_fail): Remove older memory limit functionality.
1105 Disable E_TIME due to formatting issues.
1109 2001-10-19 Brendan Kehoe <brendan@zen.org>
1111 * include/bits/std_complex.h: Default initialize second argument
1112 of polar to 0, as specified in Library DR #79
1114 2001-10-19 Brendan Kehoe <brendan@zen.org>
1116 * include/bits/stl_raw_storage_iter.h (operator=): Fix to call
1117 _Construct instead of construct.
1119 2001-10-19 Brendan Kehoe <brendan@zen.org>
1121 * include/bits/basic_string.tcc (find_first_not_of): Take out check for
1122 __n being non-zero, since the standard does not mandate that.
1123 e.g., a search for "" in "" should yield position 0, not npos.
1124 (find_last_not_of): Likewise.
1126 2001-10-19 Brendan Kehoe <brendan@zen.org>
1128 * include/bits/stl_bvector.h (vector<bool>::_M_range_check): Fix
1129 to throw out_of_range, not range_error, thus sayeth $23.1.1.13.
1131 2001-10-19 Brendan Kehoe <brendan@zen.org>
1133 * include/bits/stl_iterator.h (reverse_iterator::current): Rename
1134 member from _M_current, and change all uses; thus sayeth $24.4.1.1.
1136 2001-10-19 Brendan Kehoe <brendan@zen.org>
1138 * include/bits/stl_algo.h (partial_sort): Add missing `>' on the
1139 template parameter _ValueType.
1141 2001-10-19 Brendan Kehoe <brendan@zen.org>
1143 * include/bits/std_limits.h: Clean up extra semicolons.
1144 * include/bits/locale_facets.h: Likewise.
1145 * include/bits/type_traits.h: Likewise.
1147 2001-10-19 Brendan Kehoe <brendan@zen.org>
1149 * include/bits/localefwd.h (locale::combine): Add const for lib DR 14.
1150 * include/bits/locale_facets.tcc (locale::combine): Likewise.
1152 2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
1154 * include/bits/locale_facets.h (__timepunct::_M_put_helper):
1155 Declare specializations for char, wchar_t.
1157 2001-10-19 Andreas Jaeger <aj@suse.de>
1159 * config/cpu/x86-64/bits/limits.h: New file.
1160 * config/cpu/x86-64/bits/atomicity.h: New file.
1161 * configure.target: Add x86-64.
1163 2001-10-17 Phil Edwards <pme@gcc.gnu.org>
1165 * docs/html/17_intro/howto.html: Remove 1999 links (and explain
1166 why). Add link to recent message.
1167 * docs/html/faq/index.html (5.6): Reformat text only; fixup <pre>
1169 * docs/html/faq/index.txt: Regenerate.
1171 2001-10-12 Loren J. Rittle <ljrittle@acm.org>
1173 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Update
1174 based on Nathan's review. Use Nathan's words.
1176 2001-10-11 Matt Kraai <kraai@alumni.carnegiemellon.edu>
1178 * docs/html/configopts.html: Quote StyleSheet attribute values.
1179 * docs/html/documentation.html: Likewise.
1180 * docs/html/explanations.html: Likewise.
1181 * docs/html/install.html: Likewise.
1182 * docs/html/17_intro/howto.html: Likewise.
1183 * docs/html/17_intro/license.html: Likewise.
1184 * docs/html/18_support/howto.html: Likewise.
1185 * docs/html/19_diagnostics/howto.html: Likewise.
1186 * docs/html/20_util/howto.html: Likewise.
1187 * docs/html/21_strings/howto.html: Likewise.
1188 * docs/html/22_locale/howto.html: Likewise.
1189 * docs/html/23_containers/howto.html: Likewise.
1190 * docs/html/24_iterators/howto.html: Likewise.
1191 * docs/html/25_algorithms/howto.html: Likewise.
1192 * docs/html/26_numerics/howto.html: Likewise.
1193 * docs/html/27_io/howto.html: Likewise.
1194 * docs/html/ext/howto.html: Likewise.
1195 * docs/html/ext/sgiexts.html: Likewise.
1196 * docs/html/faq/index.html: Likewise.
1198 2001-10-11 Loren J. Rittle <ljrittle@acm.org>
1200 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Rewrite.
1201 * docs/html/23_containers/howto.html (Containers and multithreading):
1204 2001-10-09 Phil Edwards <pme@gcc.gnu.org>
1206 * docs/html/17_intro/howto.html: Tweak markup and value type.
1207 * docs/html/27_io/howto.html: Tweak markup, describe setbuf() for
1208 nonzero arguments, add new note on threading.
1209 * docs/html/faq/index.html: Update.
1210 * docs/html/faq/index.txt: Regenerate.
1212 2001-10-09 Phil Edwards <pme@gcc.gnu.org>
1214 * docs/html/configopts.html: More HTML->XHTML and lowercasing of tags.
1215 * docs/html/documentation.html: Likewise.
1216 * docs/html/explanations.html: Likewise.
1217 * docs/html/install.html: Likewise.
1218 * docs/html/17_intro/howto.html: Likewise.
1219 * docs/html/17_intro/license.html: Likewise. Tighten up language.
1220 * docs/html/18_support/howto.html: Likewise.
1221 * docs/html/19_diagnostics/howto.html: Likewise.
1222 * docs/html/20_util/howto.html: Likewise.
1223 * docs/html/21_strings/howto.html: Likewise.
1224 * docs/html/22_locale/howto.html: Likewise.
1225 * docs/html/23_containers/howto.html: Likewise.
1226 * docs/html/24_iterators/howto.html: Likewise.
1227 * docs/html/25_algorithms/howto.html: Likewise.
1228 * docs/html/26_numerics/howto.html: Likewise.
1229 * docs/html/27_io/howto.html: Likewise.
1230 * docs/html/ext/howto.html: Likewise.
1231 * docs/html/ext/sgiexts.html: Likewise.
1232 * docs/html/faq/index.html: Likewise. Not so many absolute links.
1233 * docs/html/faq/index.txt: Regenerate.
1235 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
1237 * docs/html/22_locale/locale.html, docs/html/faq/index.html: Fix
1238 spelling errors of "separate" as "seperate", and corresponding
1239 spelling errors of related words.
1240 * docs/html/faq/index.txt: Regenerate.
1242 2001-10-05 Phil Edwards <pme@gcc.gnu.org>
1244 * config/cpu/alpha/bits/atomicity.h (__compare_and_swap): Remove
1246 * config/cpu/arm/bits/atomicity.h: Likewise.
1247 * config/cpu/generic/bits/atomicity.h: Likewise.
1248 * config/cpu/i486/bits/atomicity.h: Likewise.
1249 * config/cpu/ia64/bits/atomicity.h: Likewise.
1250 * config/cpu/mips/bits/atomicity.h: Likewise.
1251 * config/cpu/powerpc/bits/atomicity.h: Likewise.
1252 * config/cpu/sparc/sparc32/bits/atomicity.h: Likewise.
1253 * config/cpu/sparc/sparc64/bits/atomicity.h: Likewise.
1255 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
1257 * docs/html/faq/index.html: Describe DR #22, and a workaround.
1258 * docs/html/faq/index.txt: Regenerate.
1260 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
1262 * docs/html/17_intro/COPYING.DOC: New file, GFDL v1.1 from the FSF.
1263 * docs/html/17_intro/license.html: New file. Explain the licenses
1266 * docs/html/configopts.html: Link to license.html.
1267 * docs/html/documentation.html: Likewise.
1268 * docs/html/explanations.html: Likewise.
1269 * docs/html/install.html: Likewise.
1270 * docs/html/17_intro/howto.html: Likewise.
1271 * docs/html/18_support/howto.html: Likewise.
1272 * docs/html/19_diagnostics/howto.html: Likewise.
1273 * docs/html/20_util/howto.html: Likewise.
1274 * docs/html/21_strings/howto.html: Likewise.
1275 * docs/html/22_locale/howto.html: Likewise.
1276 * docs/html/23_containers/howto.html: Likewise.
1277 * docs/html/24_iterators/howto.html: Likewise.
1278 * docs/html/25_algorithms/howto.html: Likewise.
1279 * docs/html/26_numerics/howto.html: Likewise.
1280 * docs/html/27_io/howto.html: Likewise.
1281 * docs/html/ext/howto.html: Likewise.
1282 * docs/html/ext/sgiexts.html: Likewise.
1283 * docs/html/faq/index.html: Likewise. New question, linking to
1284 the new license.html.
1286 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
1288 * docs/html/17_intro/howto.html: Fix mis-sed in header from 20010917.
1289 * docs/html/18_support/howto.html: Likewise.
1290 * docs/html/19_diagnostics/howto.html: Likewise.
1291 * docs/html/20_util/howto.html: Likewise.
1292 * docs/html/21_strings/howto.html: Likewise.
1293 * docs/html/22_locale/howto.html: Likewise.
1294 * docs/html/23_containers/howto.html: Likewise.
1295 * docs/html/24_iterators/howto.html: Likewise.
1296 * docs/html/25_algorithms/howto.html: Likewise.
1297 * docs/html/26_numerics/howto.html: Likewise.
1298 * docs/html/27_io/howto.html: Likewise.
1299 * docs/html/ext/howto.html: Likewise.
1300 * docs/html/faq/index.html: Likewise. Spacing fix.
1302 2001-10-03 Dimitris Vyzovitis <vyzo@media.mit.edu>
1304 * include/bits/stl_threads.h (_Atomic_swap): New function.
1305 (_Swap_lock_struct<__dummy>::_S_swap_lock): New data.
1306 * testsuite/ext/rope.cc: New file.
1308 2001-10-02 Benjamin Kosnik <bkoz@redhat.com>
1310 * config/locale/time_members_gnu.h: Remove.
1311 * config/locale/time_members_generic.h: Remove.
1312 * config/locale/time_members_gnu.cc (__timepunct::_M_put_helper): Add.
1313 * config/locale/time_members_generic.cc: Same.
1314 * include/bits/locale_facets.h: Add data members.
1315 (__timepunct::_M_put_helper): Change signature.
1316 (__timepunct::_M_date_formats): Same.
1317 (__timepunct::_M_time_formats): Same.
1318 (__timepunct::_M_ampm): Add.
1319 (__timepunct::_M_date_time_formats): Add.
1320 (time_get::_M_extract_via_format): Add.
1321 (time_get::_M_extract_time): Change to...
1322 (time_get::_M_extract_num): ... this, modify signature.
1323 * include/bits/locale_facets.tcc (time_get::do_get_year): Fix.
1324 (time_get::do_get_time): Fix.
1325 (time_get::do_get_date): Fix.
1327 * acinclude.m4: Remove CTIME_H.
1328 * aclocal.m4: Regenerate.
1329 * include/Makefile.am: Same.
1330 * include/Makefile.in: Regenerate.
1331 * configure: Regenerate.
1333 * testsuite/22_locale/time_get_members_char.cc: Fix.
1334 * testsuite/22_locale/time_get_members_wchar_t.cc: Add.
1335 * testsuite/22_locale/time_put_members_wchar_t.cc: Add.
1337 2001-10-01 Hans-Peter Nilsson <hp@axis.com>
1339 * config/cpu/cris/bits/atomicity.h: Correct file header.
1341 2001-09-29 Hans-Peter Nilsson <hp@axis.com>
1343 * configure.target (LIMITSH): Set for cris.
1344 (cpu_include_dir): Set for cris-*-*.
1345 * config/cpu/cris/bits/atomicity.h: New file.
1346 * config/cpu/cris/bits/limits.h: New file.
1348 2001-09-28 Benjamin Kosnik <bkoz@redhat.com>
1350 * config/locale/time_members_gnu.h (__timepunct::_M_get_helper): Add.
1351 (__timepunct::_M_put_helper): Add.
1352 * config/locale/time_members_generic.h: Same.
1353 * include/bits/locale_facets.h (__match_parallel): Remove. Format.
1354 (__timepunct): Add data members.
1355 (__timepunct::_M_days): Add.
1356 (__timepunct::_M_days_abbreviated): Add.
1357 (__timepunct::_M_months): Add.
1358 (__timepunct::_M_months_abbreviated): Add.
1359 (__timepunct::_M_initialize_timepunct): Add.
1360 * include/bits/locale_facets.tcc: Same.
1361 * src/locale-inst.cc: Remove instantiations for __match_parallel.
1362 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_CC.
1363 * aclocal.m4: Regenerate.
1364 * configure: Regenerate.
1365 * testsuite/22_locale/time_put_members_char.cc: Mark XFAIL.
1366 * testsuite/22_locale/time_put_members_char.cc (test01): New file.
1367 * testsuite/22_locale/time_get.cc: New file.
1369 2001-09-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1371 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
1372 correct multilib builddir.
1373 Properly locate libgcc_s.
1375 2001-09-27 Phil Edwards <pme@gcc.gnu.org>
1377 * include/std/*: Add Doxygen hooks.
1378 * docs/doxygen/Intro.3: New file, general intro to the man pages.
1379 * docs/doxygen/mainpage.doxy: Formatting tweaks. List our own links
1380 rather than using a generated index.
1381 * docs/doxygen/user.cfg.in: Disable the index, enable man pages.
1382 * docs/doxygen/run_doxygen: Massage the generated man pages, using...
1383 * docs/doxygen/stdheader.cc: ...this new file.
1385 2001-09-26 Stan Shebs <shebs@apple.com>
1387 * include/Makefile.am: Remove RCS Id strings.
1388 * src/Makefile.am: Ditto.
1389 * docs/doxygen/run_doxygen: Ditto.
1390 * docs/html/configopts.html: Ditto.
1391 * docs/html/documentation.html: Ditto.
1392 * docs/html/explanations.html: Ditto.
1393 * docs/html/install.html: Ditto.
1394 * docs/html/17_intro/howto.html: Ditto.
1395 * docs/html/18_support/howto.html: Ditto.
1396 * docs/html/19_diagnostics/howto.html: Ditto.
1397 * docs/html/20_util/howto.html: Ditto.
1398 * docs/html/21_strings/howto.html: Ditto.
1399 * docs/html/22_locale/howto.html: Ditto.
1400 * docs/html/23_containers/howto.html: Ditto.
1401 * docs/html/24_iterators/howto.html: Ditto.
1402 * docs/html/25_algorithms/howto.html: Ditto.
1403 * docs/html/26_numerics/howto.html: Ditto.
1404 * docs/html/27_io/howto.html: Ditto.
1405 * docs/html/ext/howto.html: Ditto.
1406 * docs/html/ext/sgiexts.html: Ditto.
1407 * docs/html/faq/index.html: Ditto.
1408 * docs/html/faq/index.txt: Ditto.
1410 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
1412 * testsuite/21_strings/c_strings.cc (test01, test02): Increase
1415 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
1417 * docs/html/20_util/howto.html: Add anchor name.
1418 * docs/html/23_containers/howto.html: Line wrapping, another link.
1419 * docs/html/25_algorithms/howto.html: Another note.
1421 * docs/html/ext/howto.html: Link to SGI extensions. List DRs and
1423 * docs/html/ext/lwg-active.html: ...in this new file (from R19),
1424 * docs/html/ext/lwg-defects.html: and this new file (from R19).
1425 * docs/html/ext/sgiexts.html: New file. Mention SGI extensions
1426 carried over to libstdc++-v3.
1427 * docs/html/faq/index.html: Link to SGI extensions. Mention the
1428 "missing .." pseudobug.
1429 * docs/html/faq/index.txt: Regenerate.
1431 * include/bits/ios_base.h: DR-related comment cleanup.
1432 * include/bits/istream.tcc: Likewise.
1433 * include/bits/locale_facets.h: Likewise.
1434 * include/bits/locale_facets.tcc: Likewise.
1435 * include/bits/ostream.tcc: Likewise.
1436 * include/bits/std_bitset.h: Likewise.
1437 * include/bits/std_iosfwd.h: Likewise.
1438 * include/bits/std_istream.h: Likewise.
1439 * include/bits/std_ostream.h: Likewise.
1440 * include/bits/std_streambuf.h: Likewise.
1441 * include/bits/stl_pair.h: Likewise.
1442 * include/bits/streambuf_iterator.h: Likewise.
1444 * include/bits/std_map.h: Remove unused header inclusion guard
1445 _CPP_BITS_STL_TREE_H from around bits/stl_tree.h.
1446 * include/bits/std_set.h: Likewise.
1448 * include/bits/stl_function.h: Doxygen markup.
1449 * docs/doxygen/doxygroups.cc: New file, specifying module grouping.
1450 * libsupc++/typeinfo: Doxygen markup tweak.
1452 2001-09-20 Scott Johnston <scott@accom.com>
1453 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1455 * include/backward/alloc.h: Conditionally define malloc_alloc
1456 * testsuite/backward/header_deque_h.cc: New file.
1458 2001-09-20 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
1460 * libstdc++-v3/include/bits/locale_facets.tcc (money_put::do_put):
1461 change variable name so that it works with -fno-for-scope.
1463 2001-09-20 Benjamin Kosnik <bkoz@redhat.com>
1465 * testsuite/22_locale/numpunct_members_char.cc (test01): Remove
1466 redundant sanity checks.
1467 * testsuite/22_locale/money_put_members_wchar_t.cc (test01): Same.
1469 * testsuite/22_locale/money_put_members_char.cc (test01): Same.
1471 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test01): Same.
1472 * testsuite/22_locale/moneypunct_members_char.cc (test01): Same.
1473 * testsuite/22_locale/money_get_members_wchar_t.cc (test01): Same.
1475 * testsuite/22_locale/money_get_members_char.cc (test01): Same.
1478 2001-09-19 Benjamin Kosnik <bkoz@redhat.com>
1480 Implement std::time_put.
1481 * include/bits/locale_facets.h: Include time_members.h.
1483 (time_put): Implement.
1484 * include/bits/locale_facets.tcc (do_put): Put generic versions here.
1485 * include/bits/localefwd.h: Bump number of facets.
1486 * config/locale/time_members_generic.h: New file.
1487 * config/locale/time_members_gnu.h: New file.
1488 * config/locale/c_locale_generic.h: Include clocale.
1489 * src/locale-inst.cc: Add use_facet instantiations for __timepunct.
1490 * src/locale.cc: Add __timepunct initializations.
1491 * src/localename.cc (locale::_Impl::_Impl(string, size_t)): Same.
1492 * include/Makefile.am (stamp-target): Add time_members.h.
1493 * include/Makefile.in: Regenerate.
1494 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_H.
1495 * aclocal.m4: Regenerate.
1496 * configure: Regenerate.
1497 * testsuite/22_locale/time_put.cc: New file.
1498 * testsuite/22_locale/time_put_members_char.cc: New file.
1500 * docs/html/22_locale/locale.html: Add note.
1502 2001-09-17 Phil Edwards <pme@gcc.gnu.org>
1504 * docs/html/configopts.html: HTML to XHTML change. Lowercase tags.
1505 * docs/html/documentation.html: Likewise.
1506 * docs/html/explanations.html: Likewise.
1507 * docs/html/install.html: Likewise.
1508 * docs/html/17_intro/howto.html: Likewise.
1509 * docs/html/18_support/howto.html: Likewise.
1510 * docs/html/19_diagnostics/howto.html: Likewise.
1511 * docs/html/20_util/howto.html: Likewise.
1512 * docs/html/21_strings/howto.html: Likewise.
1513 * docs/html/22_locale/codecvt.html: Likewise.
1514 * docs/html/22_locale/ctype.html: Likewise.
1515 * docs/html/22_locale/howto.html: Likewise.
1516 * docs/html/22_locale/locale.html: Likewise.
1517 * docs/html/22_locale/messages.html: Likewise.
1518 * docs/html/23_containers/howto.html: Likewise.
1519 * docs/html/24_iterators/howto.html: Likewise.
1520 * docs/html/25_algorithms/howto.html: Likewise.
1521 * docs/html/26_numerics/howto.html: Likewise.
1522 * docs/html/27_io/howto.html: Likewise.
1523 * docs/html/ext/howto.html: Likewise.
1524 * docs/html/faq/index.html: Likewise.
1525 * docs/html/faq/index.txt: Regenerated.
1527 2001-09-14 Phil Edwards <pme@sources.redhat.com>
1529 * docs/html/17_intro/headers_cc.txt: "Sync"/copy real file over.
1530 * docs/html/17_intro/howto.html: Spacing and HTML markup fixes.
1531 * docs/html/18_support/howto.html: It won't compile; it's not code.
1532 * docs/html/19_diagnostics/howto.html: Point diagram seekers to
1534 * docs/html/22_locale/howto.html: Comment for future work.
1535 * docs/html/23_containers/howto.html: More comments.
1536 * docs/html/25_algorithms/howto.html: It's a comment, not a
1537 blunt command to the reader. (English grammar.)
1539 2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
1541 * config/locale/moneypunct_members_gnu.cc: Fix initialization of
1543 * testsuite/22_locale/money_get_members_wchar_t.cc (test02): New file.
1544 * testsuite/22_locale/money_put_members_wchar_t.cc (test02): Fix.
1546 2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
1548 * include/bits/locale_facets.tcc: Conditionalize use of strtold.
1550 2001-09-13 Alexandre Petit-Bianco <apbianco@redhat.com>
1552 * testsuite/22_locale/money_get_members_char.cc: Fixed typo in comment.
1553 * testsuite/22_locale/money_put_members_char.cc: Likewise.
1554 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
1556 2001-09-13 Benjamin Kosnik <bkoz@redhat.com>
1558 Implement std::money_get.
1559 * include/bits/locale_facets.tcc (money_get::do_get): Implement.
1560 * include/bits/locale_facets.h (money_get): Correct signatures.
1561 * testsuite/22_locale/money_get.cc: New file.
1562 * testsuite/22_locale/money_get_members_char.cc: New file.
1564 * include/bits/locale_facets.tcc (__verify_grouping): New
1565 function. Consolidate num_get and money_get group checking into
1567 (money_get): Use it.
1568 * src/locale.cc (num_get::_M_extract): Use it.
1569 * src/locale-inst.cc: Add instantiation.
1571 2001-09-12 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1573 * include/bits/std_limits.h (numeric_limits<float>::radix,
1574 numeric_limits<float>::epsilon: Fix thinko.
1576 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
1578 * configure.in: Fix cross compiling math routines. Correct
1579 comments for cross compiling and limits. Add floating point math
1580 routines found in newlib.
1581 * configure: Regenerate.
1582 * acconfig.h: Add macros.
1583 * config.h.in: Regenerate.
1585 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
1587 * config/locale/moneypunct_members_generic.cc
1588 (money_base::_S_construct_pattern): Remove unused parameters.
1590 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
1592 * include/Makefile.am (stamp-target): Remove link to self.
1593 * inclulde/Makefile.in: Regenerate.
1595 2001-09-09 Benjamin Kosnik <bkoz@redhat.com>
1597 Implement std::money_put.
1598 * include/bits/locale_facets.h
1599 (moneypunct::_M_initialize_moneypunct): Split up specializations
1600 to account for _Intl. More grody hacking to get around the
1601 ill-considered use of const bool as a template parameter.
1602 * config/locale/moneypunct_members_gnu.cc: And here.
1603 * config/locale/moneypunct_members_generic.cc: And here.
1604 * testsuite/22_locale/moneypunct_members_char.cc: Add tests.
1605 * testsuite/22_locale/moneypunct.cc: Add tests.
1606 * testsuite/22_locale/money_put_members_wchar_t.cc: New file.
1607 * testsuite/22_locale/moneypunct_members_wchar_t.cc: New file.
1609 * src/locale.cc (money_base::_S_construct_pattern): Move into
1611 * config/locale/moneypunct_members_gnu.cc: Add here.
1612 * config/locale/moneypunct_members_generic.cc: Add generic version
1615 * include/bits/locale_facets.tcc (money_put::do_put): Move member
1616 function definitions here.
1617 * include/bits/locale_facets.h (money_put): Implement.
1618 * src/locale-inst.cc: Add use_facet instantiations for moneypunct.
1619 Correct money_get, money_put instantiations.
1620 * src/locale.cc (money_base::_S_construct_pattern): Handle case
1622 * testsuite/22_locale/money_put_members_char.cc: Add tests.
1624 2001-09-05 Phil Edwards <pme@sources.redhat.com>
1626 * testsuite_flags.in: No longer need to search testsuite builddir.
1627 * src/stl-inst.cc (__sink_unused_warning): Unused, remove.
1628 * Makefile.am: The testsuite directory never needs to be made here.
1629 * Makefile.in: Regenerate.
1630 * include/Makefile.in: Regenerate.
1631 * libio/Makefile.in: Regenerate.
1632 * libmath/Makefile.in: Regenerate.
1633 * libsupc++/Makefile.in: Regenerate.
1634 * po/Makefile.in: Regenerate.
1635 * src/Makefile.in: Regenerate.
1636 * testsuite/Makefile.in: Regenerate.
1638 2001-09-04 Scott Johnston <scott@accom.com>
1639 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1641 * include/backward/iterator.h: Include <bits/std_iterator.h>,
1642 remove reverse_bidirectional_iterator.
1643 * testsuite/backward: New directory.
1644 * testsuite/backward/header_iterator_h.cc: New file.
1646 2001-09-04 Benjamin Kosnik <bkoz@redhat.com>
1648 * include/c_std/bits/std_c*.h: Don't use include_next.
1650 2001-09-03 Richard Sandiford <rsandifo@redhat.com>
1652 * libsupc++/eh_personality.cc (parse_lsda_header): Change type of
1653 tmp from _Unwind_Ptr to _Unwind_Word.
1655 2001-08-31 Jason Merrill <jason_merrill@redhat.com>
1657 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Simplify
1660 2001-08-28 Loren J. Rittle <ljrittle@acm.org>
1662 * include/Makefile.am: Use toplevel_srcdir to refer to src files
1663 outside this component.
1664 * include/Makefile.in: Regenerate.
1666 2001-08-27 Benjamin Kosnik <bkoz@redhat.com>
1668 * config/locale/c_locale_gnu.cc: Move facet info to separate files...
1669 * config/locale/c_locale_generic.cc: Same.
1670 * config/locale/moneypunct_members_gnu.cc: New file.
1671 * config/locale/moneypunct_members_generic.cc: New file.
1672 * config/locale/numpunct_members_gnu.cc: New file.
1673 * config/locale/numpunct_members_generic.cc: New file.
1674 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add moneypunct, numpunct
1676 * aclocal.m4: Regenerate.
1677 * configure: Regenerate.
1678 * src/Makefile.am (sources): And here.
1679 * src/Makefile.in: Regenerate.
1681 Rename for consistency with rest of testsuite.
1682 * testsuite/22_locale/codecvt.cc: New file.
1683 * testsuite/22_locale/money_put.cc: New file.
1684 * testsuite/22_locale/money_put_members_char.cc: New file.
1686 2001-08-27 Phil Edwards <pme@sources.redhat.com>
1689 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Handle enable/disable
1690 correctly for version-specific-runtime-libs.
1691 * aclocal.m4: Regenerate.
1692 * configure: Regenerate.
1694 2001-08-24 Loren J. Rittle <ljrittle@acm.org>
1696 * config/cpu/i386/bits/limits.h (__glibcpp_long_double_bits): Only
1697 define if not already provided by per-OS file.
1698 * config/os/bsd/freebsd/bits/os_defines.h (__glibcpp_long_double_bits):
1701 2001-08-24 Jan van Male <jan.vanmale@fenk.wau.nl>
1703 * docs/html/17_intro/C++STYLE: Fix typo.
1705 2001-08-24 Phil Edwards <pme@sources.redhat.com>
1707 * docs/html/23_containers/howto.html: Describe implementation of
1708 insertion with hints.
1710 2001-08-24 Kenny Simpson <kenny.simpson@gs.com>
1713 * include/bits/std_sstream.h (basic_ostringstream): Fix ctor.
1715 2001-08-24 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
1716 Phil Edwards <pme@sources.redhat.com>
1719 * include/bits/stl_tree.h (insert_unique): Revert last change.
1720 Values inserted at begin() must be less, not greater, than *begin()'s.
1721 * testsuite/23_containers/map_insert.cc: New file.
1723 2001-08-23 Benjamin Kosnik <bkoz@redhat.com>
1725 * config/locale/c_locale_gnu.cc: Minor tweaks.
1726 (moneypunct<wchar_t>): Implement.
1727 * include/bits/locale_facets.h: Same.
1728 * testsuite/22_locale/moneypunct.cc: New file.
1729 * testsuite/22_locale/moneypunct_byname.cc: New file.
1730 * testsuite/22_locale/moneypunct_char_members.cc: New file.
1732 2001-08-23 David Edelsohn <edelsohn@gnu.org>
1734 * config/os/gnu-linux/bits/os_defines.h: Correct __s390__ definitions.
1735 Set __powerpc__ long double definition based on __LONG_DOUBLE_128__.
1737 2001-08-23 Jason Merrill <jason_merrill@redhat.com>
1739 * testsuite_flags.in (build-includes): Re-add backward.
1741 2001-08-22 Benjamin Kosnik <bkoz@redhat.com>
1743 * testsuite/22_locale/collate_wchar_t_members.cc: Guard
1744 with _GLIBCPP_USE_WCHAR_T.
1746 2001-08-21 Benjamin Kosnik <bkoz@redhat.com>
1748 * testsuite/22_locale/collate_byname.cc (test01): Fix.
1750 2001-08-18 Vladimir A Merzliakov <wanderer@rsu.ru>
1752 * include/bits/locale_facets.tcc (collate::do_transform): Add typename.
1754 2001-08-18 Benjamin Kosnik <bkoz@redhat.com>
1756 * testsuite/22_locale/operators.cc: Add test.
1758 2001-08-17 Benjamin Kosnik <bkoz@redhat.com>
1760 Implement std::collate.
1761 * config/locale/collate_specializations_gnu.cc: Add here, implement in
1763 * config/locale/collate_specializations_generic.cc: Add here, but
1764 in a less sophisticated manner.
1765 * include/bits/locale_facets.tcc (collate): Add generic definition.
1766 * include/bits/locale_facets.h (~collate): Mark virtual.
1767 (collate::_M_compare_helper): New.
1768 (collate::_M_transform_helper): New.
1769 * src/locale.cc: Remove unnecessary specializations.
1770 * src/string-inst.cc: Tweak instantiation of ctors.
1772 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Do configury for collate.
1773 * aclocal.m4: Regenerate.
1774 * configure: Regenerate.
1775 * src/Makefile.am (sources): Add collate.cc.
1776 * src/Makefile.in: Regenerate.
1778 * testsuite/22_locale/collate_byname.cc: New.
1779 * testsuite/22_locale/collate.cc: New file.
1780 * testsuite/22_locale/collate_char_members.cc: New file.
1781 * testsuite/22_locale/collate_wchar_t_members.cc: New file.
1783 2001-08-16 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1785 * configure.target: Set LIMITSH for powerpc-*-*.
1786 * config/cpu/powerpc/bits/limits.h: New file.
1788 2001-08-16 Marc Espie <espie@openbsd.org>
1790 * configure.in: Check for <sys/types.h>.
1791 * configure: Rebuild.
1792 * config.h.in: Rebuild.
1793 * libmath/mathconf.h: Include <sys/types.h> prior to
1794 <machine/endian.h> if available.
1796 2001-08-15 Andreas Schwab <schwab@suse.de>
1798 * configure.target (cpu_include_dir): Set to `config/cpu/m68k' for
1799 m68k and m680[246]0.
1800 * config/cpu/m68k/bits/atomicity.h: New file.
1802 * include/bits/std_limits.h [__glibcpp_long_double_bits == 96]:
1803 Define appropriate long double limits for m68k extended floating
1805 (__glibcpp_f32_digits10): Corrected, off by one.
1806 (__glibcpp_f80_digits10): Likewise.
1807 (__glibcpp_f128_digits10): Likewise.
1808 * config/os/gnu-linux/bits/os_defines.h
1809 (__glibcpp_long_double_bits) [__mc68000__]: Define to 96.
1811 2001-08-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1813 * testsuite/18_support/numeric_limits.cc: Add more tests.
1814 * include/bits/std_limits.h (numeric_limits<char>::max): Fix
1817 2001-08-14 Ulrich Weigand <uweigand@de.ibm.com>
1819 * configure.target (cpu_include_dir): Set to `config/cpu/s390'
1822 * config/cpu/s390/bits/atomicity.h: New.
1824 2001-08-14 Gabriel Dos Reis <gdr@codesourcery.com>
1826 * include/bits/std_limits.h: Fix thinko.
1828 2001-08-14 Benjamin Kosnik <bkoz@redhat.com>
1830 * include/Makefile.am: Consolidate target rules. Don't clean stamp
1831 files. Tweak target build directory stamp.
1832 * include/Makefile.in: Regenerate.
1834 2001-08-14 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1836 * libstdc++-v3/libmath/stubs.c: Fix PR/3988, replace
1837 _GBLICPP_HAVE_LOGL with HAVE_LOGL
1839 2001-08-13 Benjamin Kosnik <bkoz@redhat.com>
1841 * configure.in (libtool_VERSION): Add.
1842 (VERSION): Change to
1843 (release_VERSION): This.
1844 * configure: Regenerate.
1845 * src/Makefile.am (libstdc___la_LDFLAGS): Use -version-info with
1847 * src/Makefile.in: Regenerate.
1849 * intl/Makefile.am: Remove.
1850 * intl/Makefile.in: Remove.
1852 * Makefile.am (SUBDIRS): Remove intl.
1853 * po/Makefile.am (DISTFILES): Add string_literals.cc
1855 * po/string_literals.cc: Add.
1856 * po/POTFILES.in: Fix path.
1857 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't call AM_GNU_GETTEXT.
1858 * aclocal.m4: Regenerate.
1859 * configure.in: Remove AC_OUTPUT of intl/Makefile.
1861 * include/backward/backward_warning.h: Clarify message.
1863 * testsuite_flags.in (--cxxflags): Use same debug flags for
1864 library and testsuite.
1866 * include/Makefile.am (c_compatibility): Remove.
1867 * include/Makefile.in: Regenerate.
1869 2001-08-13 Mark Mitchell <mark@codesourcery.com>
1871 * configure.in (LIMITS_INC_SRCDIR): New variable.
1872 * configure.target (LIMITSH): New variable.
1873 * porting.texi: Discuss numeric limits.
1874 * config/cpu/generic/bits/limits.h: New file.
1875 * config/cpu/i386/bits/limits.h: New file.
1876 * include/Makefile.am: Install bits/limits.h.
1877 * include/bits/c++config: Include bits/limits.h.
1879 2001-08-13 H.J. Lu (hjl@gnu.org)
1881 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-copy-files):
1883 (libstdc++-v3-init ): Use it.
1885 2001-08-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1887 * include/bits/ostream.tcc (__pad_char): Change toplevel '__fmt'
1888 to '__adjust' to avoid shadowing in nested scope.
1890 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1892 * include/bits/std_limits.h(__glibcpp_char_is_signed): Use
1895 * config/os/gnu-linux/bits/os_defines.h(__glibcpp_char_is_signed):
1897 * config/os/aix/bits/os_defines.h(__glibcpp_plain_char_is_signed):
1900 2001-08-10 Loren J. Rittle <ljrittle@acm.org>
1902 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Add
1903 dummy default argument to the non-limit implementation.
1906 * include/Makefile.am: Use relative file path in rule to allow
1908 * include/Makefile.in: Rebuilt.
1910 2001-08-10 Gunter Winkler <gunter.winkler@mathematik.tu-chemnitz.de>
1912 * include/bits/std_complex.h (complex<long double>::operator*=,
1913 complex<long double>::operator/=): Fix thinko.
1915 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1917 * include/bits/std_limits.h: New file.
1918 * include/Makefile.am (bits_headers): Add std_limits.h
1919 (all-local): std_limits.h is no longer built.
1920 (${target_builddir}/std_limits.h): Remove.
1921 * include/Makefile.in: Regenerate.
1922 * src/limits.cc: New file.
1923 * src/Makefile.am (sources): Add limits.cc in replacement of
1925 * src/Makefile.in: Regenerate.
1927 2001-08-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1929 * src/gen-num-limits.cc (digits10): Fix thinko.
1931 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
1933 * po/Makefile.am (check-no): Add.
1935 * po/Makefile.in: Regenerate.
1937 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
1939 * acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
1940 * config.h.in: Regenerate.
1941 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT): Check for setrlimit
1943 * aclocal.m4: Regenerate.
1944 * configure.in: Remove duplicate AM_CONFIG_HEADER.
1945 (AM_CONFIG_HEADER): Remove testsuite/testsuite_hooks.h.
1946 Only call GLIBCPP_CHECK_SETRLIMIT for native compiles.
1947 * configure: Regenerate.
1948 * testsuite_hooks.h.in: Move to...
1949 * testsuite_hooks.h: Here, include c++config.h. Use it.
1951 * Makefile.am (SUBDIRS): Move testsuite to last directory.
1952 * Makefile.in: Regenerate.
1953 * po/Makefile.am (stamp-po): Add.
1955 2001-08-09 David Edelsohn <edelsohn@gnu.org>
1957 * config/os/aix/bits/os_defines.h: Define std_limits.h macros.
1958 * config/os/generic/bits/os_defines.h: Likewise.
1959 * config/os/gnu-linux/bits/os_defines.h: Likewise.
1960 * config/os/hpux/bits/os_defines.h: Likewise.
1961 * config/os/irix/irix6.5/bits/os_defines.h: Likewise.
1962 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
1964 2001-08-08 Benjamin Kosnik <bkoz@redhat.com>
1966 * src/Makefile.am (libstdc___la_LDFLAGS): Use -release instead of
1967 -version-info, use substituted VERSION info.
1968 * src/Makefile.in: Regenerate.
1970 2001-08-07 Benjamin Kosnik <bkoz@redhat.com>
1972 Implement std::messages.
1973 Make config a fully-nested directory.
1974 * config/locale: New directory.
1975 * config/c_locale_generic.cc: Move into locale subdirectory.
1976 * config/c_locale_generic.h: Same.
1977 * config/c_locale_gnu.cc: Same.
1978 * config/c_locale_gnu.h: Same.
1979 * config/c_locale_ieee_1003.1-200x.cc: Same.
1980 * config/c_locale_ieee_1003.1-200x_.h: Same.
1981 * config/codecvt_specializations_generic.h: Same.
1982 * config/codecvt_specializations_ieee_1003.1-200x.h: Same.
1983 * config/messages_members_gnu.h: Same.
1984 * config/messaages_members_gnu.cc: Same.
1985 * config/messages_members_generic.h: Same.
1986 * config/messaages_members_generic.cc: Same.
1987 * config/messages_members_ieee_1003.1-200x.h: Same.
1988 * config/messaages_members_ieee_1003.1-200x.cc: Same.
1989 * config/io: New directory.
1990 * config/basic_file_libio.h: Move into io subdirectory.
1991 * config/basic_file_libio.cc: Same.
1992 * config/c_io_libio.h: Same.
1993 * config/c_io_libio_codecvt.c: Same.
1994 * config/basic_file_stdio.h: Same.
1995 * config/basic_file_stdio.cc: Same.
1996 * config/c_io_stdio.h: Same.
1998 * po: New directory.
1999 * po/POTFILES.in: New file.
2000 * po/Makefile.am: New file.
2001 * po/Makefile.in: New file.
2002 * po/libstdc++.pot: Generic translation file.
2003 * po/fr.po: Preliminary French translation.
2004 * po/de.po: Preliminary German translation.
2005 * intl: New directory.
2006 * intl/Makefile.am: New file.
2007 * intl/Makefile.in: New file.
2008 * intl/string_literals.cc: New file.
2009 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump VERSION to 3.1.0. Add
2010 requisite setup for gettext. Re-arrange.
2011 * aclocal.m4: Regenerate.
2012 * configure.in: Don't call GLIBCPP_CHECK_COMPILER_VERSION.
2013 Output Makefile bits for po and intl.
2014 * configure: Regenerate.
2015 * Makefile.am (SUBDIRS): Add intl, po. Add rule for dist.
2016 * Makefile.in: Regenerate.
2017 * acconfig.h: Add ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY.
2018 * config.h.in: Regenerate.
2020 * acinclude.m4 (AC_REPLACE_STRINGFUNCS): Remove.
2022 * include/Makefile.am (install-data-local): Don't install Makefile.
2023 * include/Makefile.in: Regenerate.
2025 * include/bits/locale_facet.h (locale::facet::_S_clone_c_locale):
2027 * config/locale/c_locale_gnu.cc (_S_clone_c_locale): Add definition.
2028 * config/locale/c_locale_generic.cc: Same.
2029 * config/locale/c_locale_ieee_1003.1-200x.cc: Same.
2031 * include/bits/codecvt.h: Excise non-standard, non-required
2032 bits. This includes __enc_traits, and partial specializations of
2033 codecvt for __enc_traits.
2034 * src/codecvt.cc (__enc_traits::_S_max_size): Guard
2035 * config/codecvt_partials_ieee_1003.1-200x.h: New file.
2036 * config/codecvt_partials_generic.h: New file.
2037 * include/Makefile.am (allstamps): Add stamp-codecvt_model.
2038 (stamp-codecvt_model): Add.
2039 * include/Makefile.in: Regenerate.
2040 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in codecvt configury.
2041 * aclocal.m4: Regenerate.
2042 * configure: Regenerate.
2043 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Use macro guard.
2044 * testsuite/22_locale/codecvt_unicode_char.cc: Same.
2045 * testsuite/22_locale/ctor_copy_dtor.cc: And here.
2047 * include/bits/localefwd.h (class locale::facet): Add __enc_traits
2048 as a friend for _S_*_c_locale functions.
2049 * include/bits/codecvt.h (__enc_traits::__enc_traits): Add locale
2050 argument to default constructor so that CODESET information can be
2052 * include/bits/locale_facets.h (messages_byname):
2053 Re-implement. Remove specializations.
2054 * src/locale.cc (messages_byname<char>): Remove specialization.
2055 (messages_byname<wchar_t>): Same.
2056 * config/locale/c_locale_ieee_1003.1-200x.cc: New file.
2057 * config/locale/c_locale_ieee_1003.1-200x.h: New file.
2058 * config/locale/messages_members_ieee_1003.1-200x.cc: New file.
2059 * config/locale/messages_members_ieee_1003.1-200x.h: New file.
2060 * config/locale/messages_members_gnu.cc: New file.
2061 * config/locale/messages_members_gnu.h: New file.
2062 * config/locale/messages_members_generic.cc: New file.
2063 * config/locale/messages_members_generic.h: New file.
2065 * docs/html/configopts.html: Add documentation for new locale
2066 model, ieee_1003.1. Adjust other flags for current defaults.
2067 * docs/html/22_locale/locale.html: Update.
2068 * docs/html/22_locale/howto.html: Add link to messages.html. Organize.
2069 * docs/html/22_locale/messages.html: New.
2071 * src/Makefile.am (sources): Add messages_virtuals.cc.
2072 * src/Makefile.in: Regenerate.
2073 * include/Makefile.am (allstamps): Add stamp-messages_model.
2074 (stamp-messages_model): Add.
2075 * include/Makefile.in: Regenerate.
2076 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in messages configury.
2077 * aclocal.m4: Regenerate.
2078 * configure: Regenerate.
2080 * testsuite_flags.in (--cxxflags): Add LOCALEDIR.
2081 * testsuite/lib/libstdc++-v3-dg.exp: Remove broken LD_LIBRARY_PATH
2083 * acinclude (GLIBCPP_ENABLE_CLOCALE): Set glibcpp_localedir to the
2084 build directories message catalog base directory, and export.
2085 Eventually this should probably be made to deal with build and
2086 install directories. For now, punt on this as the library itself
2087 doesn't use message catalogs (yet).
2088 * testsuite/22_locale/messages.cc: New file.
2089 * testsuite/22_locale/messages_char_members.cc: New file.
2090 * testsuite/22_locale/messages_byname.cc: New file.
2092 2001-08-06 Phil Edwards <pme@sources.redhat.com>
2094 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls...
2095 (GLIBCPP_CHECK_SETRLIMIT): ...this new macro, which also uses...
2096 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): ...this new macro.
2097 * configure.in (AM_CONFIG_HEADER): Also generate testsuite_hooks.h.
2098 Call GLIBCPP_CONFIGURE_TESTSUITE.
2099 * aclocal.m4: Regenerate.
2100 * config.h.in: Regenerate.
2101 * configure: Regenerate.
2103 * testsuite/lib/libstdc++-v3-dg.exp: Download new header instead
2106 * testsuite_flags.in: Add build dir's testsuite to INCLUDES.
2107 * testsuite/debug_assert.h: Removed; contents merged into...
2108 * testsuite/testsuite_hooks.h.in: ...here. New file.
2109 * testsuite/17_intro/header_ciso646.cc: No longer include
2110 debug_assert.h, include testsuite_hooks.h instead.
2111 * testsuite/17_intro/header_fstream.cc: Likewise.
2112 * testsuite/17_intro/header_iomanip.cc: Likewise.
2113 * testsuite/17_intro/header_ios.cc: Likewise.
2114 * testsuite/17_intro/header_iosfwd.cc: Likewise.
2115 * testsuite/17_intro/header_iostream.cc: Likewise.
2116 * testsuite/17_intro/header_istream.cc: Likewise.
2117 * testsuite/17_intro/header_ostream.cc: Likewise.
2118 * testsuite/17_intro/header_sstream.cc: Likewise.
2119 * testsuite/17_intro/header_streambuf.cc: Likewise.
2120 * testsuite/18_support/numeric_limits.cc: Likewise.
2121 * testsuite/19_diagnostics/stdexceptions.cc: Likewise.
2122 * testsuite/20_util/allocator_members.cc: Likewise.
2123 * testsuite/20_util/auto_ptr.cc: Likewise.
2124 * testsuite/20_util/pairs.cc: Likewise.
2125 * testsuite/21_strings/append.cc: Likewise.
2126 * testsuite/21_strings/capacity.cc: Likewise.
2127 * testsuite/21_strings/char_traits_requirements.cc: Likewise.
2128 * testsuite/21_strings/compare.cc: Likewise.
2129 * testsuite/21_strings/ctor_copy_dtor.cc: Likewise. Also set up
2130 call to (disabled) __set_testsuite_memlimit() wrapper.
2131 * testsuite/21_strings/element_access.cc: Likewise.
2132 * testsuite/21_strings/find.cc: Likewise.
2133 * testsuite/21_strings/insert.cc: Likewise. Also set up call to
2134 (disabled) __set_testsuite_memlimit() wrapper.
2135 * testsuite/21_strings/inserters_extractors.cc: Likewise.
2136 * testsuite/21_strings/invariants.cc: Likewise.
2137 * testsuite/21_strings/nonmember.cc: Likewise.
2138 * testsuite/21_strings/operations.cc: Likewise.
2139 * testsuite/21_strings/replace.cc: Likewise.
2140 * testsuite/21_strings/rfind.cc: Likewise.
2141 * testsuite/21_strings/substr.cc: Likewise.
2142 * testsuite/22_locale/codecvt_char_char.cc: Likewise.
2143 * testsuite/22_locale/codecvt_unicode_char.cc: Likewise.
2144 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Likewise.
2145 * testsuite/22_locale/codecvt_wchar_t_char.cc: Likewise.
2146 * testsuite/22_locale/ctor_copy_dtor.cc: Likewise.
2147 * testsuite/22_locale/ctype_char_members.cc: Likewise.
2148 * testsuite/22_locale/ctype_wchar_t_members.cc: Likewise.
2149 * testsuite/22_locale/facet.cc: Likewise.
2150 * testsuite/22_locale/global_templates.cc: Likewise.
2151 * testsuite/22_locale/members.cc: Likewise.
2152 * testsuite/22_locale/numpunct_byname.cc: Likewise.
2153 * testsuite/22_locale/numpunct_char_members.cc: Likewise.
2154 * testsuite/22_locale/operators.cc: Likewise.
2155 * testsuite/22_locale/static_members.cc: Likewise.
2156 * testsuite/23_containers/bitset_ctor.cc: Likewise.
2157 * testsuite/23_containers/bitset_members.cc: Likewise.
2158 * testsuite/23_containers/bitset_shift.cc: Likewise.
2159 * testsuite/23_containers/vector_capacity.cc: Likewise.
2160 * testsuite/23_containers/vector_ctor.cc: Likewise.
2161 * testsuite/23_containers/vector_element_access.cc: Likewise.
2162 * testsuite/23_containers/vector_modifiers.cc: Likewise.
2163 * testsuite/24_iterators/istreambuf_iterator.cc: Likewise.
2164 * testsuite/24_iterators/iterator.cc: Likewise.
2165 * testsuite/24_iterators/ostreambuf_iterator.cc: Likewise.
2166 * testsuite/25_algorithms/binary_search.cc: Likewise.
2167 * testsuite/25_algorithms/copy.cc: Likewise.
2168 * testsuite/25_algorithms/heap.cc: Likewise.
2169 * testsuite/25_algorithms/lower_bound.cc: Likewise.
2170 * testsuite/25_algorithms/min_max.cc: Likewise.
2171 * testsuite/25_algorithms/partition.cc: Likewise.
2172 * testsuite/25_algorithms/rotate.cc: Likewise.
2173 * testsuite/25_algorithms/sort.cc: Likewise.
2174 * testsuite/26_numerics/c_math.cc: Likewise.
2175 * testsuite/26_numerics/complex_inserters_extractors.cc: Likewise.
2176 * testsuite/26_numerics/complex_value.cc: Likewise.
2177 * testsuite/27_io/filebuf.cc: Likewise.
2178 * testsuite/27_io/filebuf_members.cc: Likewise.
2179 * testsuite/27_io/filebuf_virtuals.cc: Likewise.
2180 * testsuite/27_io/fpos.cc: Likewise.
2181 * testsuite/27_io/fstream_members.cc: Likewise.
2182 * testsuite/27_io/ifstream_members.cc: Likewise.
2183 * testsuite/27_io/ios_base_callbacks.cc: Likewise.
2184 * testsuite/27_io/ios_base_members_static.cc: Likewise.
2185 * testsuite/27_io/ios_base_storage.cc: Likewise.
2186 * testsuite/27_io/ios_ctor.cc: Likewise.
2187 * testsuite/27_io/ios_init.cc: Likewise.
2188 * testsuite/27_io/ios_manip_basefield.cc: Likewise.
2189 * testsuite/27_io/ios_manip_fmtflags.cc: Likewise.
2190 * testsuite/27_io/ios_members.cc: Likewise.
2191 * testsuite/27_io/istream_extractor_arith.cc: Likewise.
2192 * testsuite/27_io/istream_extractor_char.cc: Likewise.
2193 * testsuite/27_io/istream_extractor_other.cc: Likewise.
2194 * testsuite/27_io/istream_manip.cc: Likewise.
2195 * testsuite/27_io/istream_seeks.cc: Likewise.
2196 * testsuite/27_io/istream_sentry.cc: Likewise.
2197 * testsuite/27_io/istream_unformatted.cc: Likewise.
2198 * testsuite/27_io/istringstream_members.cc: Likewise.
2199 * testsuite/27_io/narrow_stream_objects.cc: Likewise.
2200 * testsuite/27_io/ofstream_members.cc: Likewise.
2201 * testsuite/27_io/ostream_inserter_arith.cc: Likewise.
2202 * testsuite/27_io/ostream_inserter_char.cc: Likewise.
2203 * testsuite/27_io/ostream_inserter_other.cc: Likewise.
2204 * testsuite/27_io/ostream_manip.cc: Likewise.
2205 * testsuite/27_io/ostream_seeks.cc: Likewise.
2206 * testsuite/27_io/ostream_unformatted.cc: Likewise.
2207 * testsuite/27_io/ostringstream_members.cc: Likewise.
2208 * testsuite/27_io/streambuf.cc: Likewise.
2209 * testsuite/27_io/stringbuf.cc: Likewise.
2210 * testsuite/27_io/stringbuf_virtuals.cc: Likewise.
2211 * testsuite/27_io/stringstream.cc: Likewise.
2212 * testsuite/27_io/stringstream_members.cc: Likewise.
2213 * testsuite/27_io/wide_stream_objects.cc: Likewise.
2215 2001-07-31 Loren J. Rittle <ljrittle@acm.org>
2217 * src/gen-num-limits.cc: Use __LONG_LONG_MAX__.
2219 2001-07-30 Benjamin Kosnik <bkoz@redhat.com>
2221 * configure.target: Remove mips from cpu table.
2222 * config/cpu/mips/bits/atomicity.h: Remove generic
2223 versions. Comment sgidefs include.
2225 2001-07-25 H.J. Lu <hjl@gnu.org>
2227 * configure.target (cpu_include_dir): Set to `config/cpu/mips'
2230 * config/cpu/mips/bits/atomicity.h: New.
2232 2001-07-25 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2234 * acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf,
2235 hypotl, atan2f, atan2l. Remove from REPLACE_MATHFUNCS list.
2236 * aclocal.m4: Regenerate.
2237 * config.h.in: Likewise.
2238 * configure: Likewise.
2239 * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove hypotl.c
2240 (EXTRA_DIST): Remove hypot.c hypotf.c.
2241 * libmath/Makefile.am: Regenerate.
2242 * libmath/hypotf.c: Remove.
2243 * libmath/hypot.c: Likewise.
2244 * libmath/hypotl.c: Likewise.
2245 * libmath/stubs.c: The macros seen here are HAVE_xxx, not
2246 _GLIBCPP_HAVE_xxx. Add long double versions.
2248 2001-07-23 David Edelsohn <edelsohn@gnu.org>
2250 * include/bits/limits_generic.h (int): Set digits and digits10
2251 appropriately for word size.
2252 (unsigned int,long,unsigned long): Likewise.
2254 2001-07-19 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2256 * include/bits/stl_algo.h : Fix typos.
2257 * testsuite/25_algorithms/unique.cc: New file.
2259 2001-07-19 Phil Edwards <pme@sources.redhat.com>
2260 Mark Mitchell <mark@codesourcery.com>
2262 Merge from cp-parser-branch.
2263 * include/bits/basic_string.h: Qualify symbols with 'template'.
2264 * include/bits/basic_string.tcc: Likewise.
2265 * include/bits/fstream.tcc: Likewise.
2266 * include/bits/istream.tcc: Likewise.
2267 * include/bits/sstream.tcc: Likewise.
2268 * include/bits/std_istream.h: Likewise.
2269 * include/bits/stl_iterator.h: Likewise.
2270 * include/bits/streambuf.tcc: Likewise.
2271 * src/gen-num-limits.cc: Add 'template<>' to specializations.
2272 * src/locale.cc: Likewise.
2274 2001-07-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2275 Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
2277 * src/gen-num-limits.cc (set_signals_handler): New function.
2278 Factor out signals setting. Set signal handler for SIGILL.
2280 2001-07-18 Phil Edwards <pme@sources.redhat.com>
2282 * docs/html/27_io/howto.html: Fix typo.
2283 * docs/html/faq/index.html: Minor updates for 3.0 all around.
2284 * docs/html/faq/index.txt: Regenerated.
2286 2001-07-18 Stephen M. Webb <stephen@bregmasoft..com>
2287 Roman Sulzhyk <roman_sulzhyk@yahoo.com>
2290 * include/bits/ostream.tcc (ostream::put): Fixed error condition check.
2291 * testsuite/27_io/streambuf.cc (test07): Added new regression test.
2293 2001-07-17 Stephen M. Webb <stephen@bregmasoft.com>r
2295 All occurrences of the __value_type() and __distance_type()
2296 functions, which were required to support the HP STL, have been
2297 removed along with all the auxiliary forwarding functions that
2298 were required to support their use.
2300 The __iterator_category() function was pretty much left alone
2301 because there was no benefit to removing it and its use made code
2302 just a little more readable.
2304 Incidences of distance() with nonstandard argument list were
2305 replaced by calls to the standard function (only in the files
2306 affected by the removal of the other HP functions).
2308 The signature of the rotate() algorithm was changed to match the
2311 Headers were reformatted under C++STYLE guidelines (indentation,
2312 linebreaks, typename keyword).
2314 * include/bits/stl_algo.h: replaced __value_type() and
2315 __distance_type() with iterator_traits, eliminated auxiliary
2316 support functions required to support said function usage.
2317 Changed nonstandard distance() call to standard call.
2319 * include/bits/stl_algobase.h: Same.
2320 * include/bits/stl_heap.h: Same.
2321 * include/bits/stl_numeric.h: Same.
2322 * include/bits/stl_uninitialized.h: Same.
2323 * include/bits/stl_iterator_base_types.h (__value_type()):
2325 (__distance_type()): Removed.
2326 (value_type()): Gone.
2327 (distance_type()): Done in.
2328 (iterator_category()): Hasta la vista, baby.
2330 * include/bits/stl_iterator_base_funcs.h (iterator_category()):
2331 Replaced with __iterator_category().
2332 * include/backward/iterator.h: moved definition of value_type(),
2333 distance_type(), and iterator_category() out of std:: and into
2335 * testsuite/23_containers/vector_ctor.cc (test03): New testcases.
2336 * testsuite/23_containers/vector_modifiers.cc (test03): New testcases.
2337 * testsuite/25_algorithms/rotate.cc: New testcase.
2338 * testsuite/25_algorithms/copy.cc: New testcase.
2339 * testsuite/25_algorithms/sort.cc: Same.
2340 * testsuite/25_algorithms/heap.cc: Same.
2341 * testsuite/25_algorithms/partition.cc: Same.
2342 * testsuite/25_algorithms/binary_search.cc: Same.
2343 * testsuite/26_numerics/sum_diff.cc: Ditto.
2345 001-07-17 Benjamin Kosnik <bkoz@redhat.com>
2347 * testsuite/README: Add notes on naming test cases.
2348 * testsuite/22_locale/members.cc: Mark as xfail.
2349 * testsuite/22_locale/numpunct_char_members.cc: Same.
2351 2001-07-16 Stephen M. Webb <stephen@bregmasoft.com>
2353 * acinclude.m4 (GLIBCPP_ENABLE_CHEADERS): Use glibcpp_srcdir when
2354 setting C_INCLUDE_DIR.
2355 * configure.in: Revert yesterday's LN_S change.
2356 * aclocal.m4: Regenerate.
2357 * configure: Regenerate.
2359 2001-07-15 Phil Edwards <pme@sources.redhat.com>
2361 * configure.in: Temporarily force LN_S to copy instead of symlink.
2362 * configure: Regenerate.
2364 2001-07-13 Phil Edwards <pme@sources.redhat.com>
2366 * include/bits/std_sstream.h (basic_stringbuf::basic_stringbuf(string):
2367 Initialize _M_string with pointer-and-size constructor, not just
2368 pointer. Fix some comments.
2369 * testsuite/21_strings/ctor_copy_dtor.cc (test03): New test.
2370 * testsuite/27_io/stringbuf.cc (test02): Remove unused variable.
2371 (test03): Add embedded-NUL tests.
2373 * mkcheck.in: When printing totals, match the order of the tests.
2374 * include/bits/stringfwd.h: Use same declaration keywords.
2375 * include/bits/std_iosfwd.h: Cosmetic spacing.
2377 2001-07-13 Stephen M. Webb <stephen@bregmasoft.com>
2378 Loren J. Rittle <ljrittle@acm.org>
2379 Phil Edwards <pme@sources.redhat.com>
2381 * include/Makefile.am: New file encapsulating header generation rules.
2382 * Makefile.am (SUBDIRS): Prepend 'include' directory.
2383 * acinclude.m4: Moved/removed rules for building various headers.
2384 * configure.in (AC_OUTPUT): Add include/Makefile.
2385 * mkc++config: Removed.
2387 * testsuite_flags.in: Changed build-includes to match new scheme.
2388 * mknumeric_limits: Likewise.
2389 * libio/Makefile.am: Changed INCLUDES to maatch new header scheme.
2390 * libmath/Makefile.am: Likewise.
2391 * libsupc++/Makefile.am: Likewise.
2392 * src/Makefile.am: Likewise; removed rules to build headers.
2393 * libmath/mathconf.h: Changed #include'd header names to match.
2394 * libmath/stubs.c: Likewise.
2395 * src/gen-num-limits.cc: Likewise.
2397 * configure: Regenerated.
2398 * config.h.in: Regenerated.
2399 * aclocal.m4: Regenerated.
2400 * Makefile.in: Regenerated.
2401 * include/Makefile.in: Regenerated.
2402 * libio/Makefile.in: Regenerated.
2403 * libmath/Makefile.in: Regenerated.
2404 * libsupc++/Makefile.in: Regenerated.
2405 * src/Makefile.in: Regenerated.
2406 * testsuite/Makefile.in: Regenerated.
2408 2001-07-11 Felix Natter <fnatter@gmx.net>
2410 * docs/html/17_intro/porting-howto.xml: Initial checkin of
2412 * docs/html/17_intro/porting-howto.html: check in v0.9.3
2414 2001-07-11 Phil Edwards <pme@sources.redhat.com>
2416 * docs/doxygen/run_doxygen: Don't keep output from previous run.
2417 * docs/doxygen/user.cfg.in: Tweaks.
2418 * include/bits/c++config: Documentation comments for Doxygen.
2419 * include/bits/char_traits.h: Likewise.
2420 * include/bits/limits_generic.h: Likewise.
2421 * include/bits/std_stdexcept.h: Likewise.
2422 * include/bits/stl_pair.h: Likewise.
2423 * libsupc++/exception: Likewise.
2424 * libsupc++/new: Likewise.
2425 * libsupc++/typeinfo: Likewise.
2426 * libmath/Makefile.am: Update and correct copyright.
2428 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2430 * acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
2431 * aclocal.m4: Regenerate.
2434 2001-07-09 Phil Edwards <pme@sources.redhat.com>
2436 * docs/html/configopts.html: Fix thinko.
2437 * docs/html/27_io/howto.html: Fix thinko and HTML markup.
2438 * include/bits/stl_iterator.h: Fix typo.
2440 2001-07-09 Phil Edwards <pme@sources.redhat.com>
2442 * docs/html/explanations.html: New file.
2443 * docs/html/configopts.html: Link to it to provide more notes
2444 on cstdio. Minor markup and spacing fixes.
2445 * docs/html/27_io/howto.html: Talk about sync_with_stdio.
2447 2001-07-09 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
2449 * include/bits/valarray_meta.h (_Expr::operator+): Use qualified id
2450 for _Expr template template argument.
2451 (_Expr::operator-): Likewise.
2452 (_Expr::operator~): Likewise.
2453 (_Expr::operator!): Likewise.
2454 (_DEFINE_EXPR_UNARY_OPERATOR): Likewise.
2456 2001-07-06 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2458 * libmath/Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.c
2459 * libmath/Makefile.in: Regenerate.
2460 * libmath/expf.c: Remove.
2461 * libmath/atan2f.c: Likewise.
2463 2001-07-06 Daniel Jacobowitz <drow@mvista.com>
2465 * configure.in: Remove NATIVE, NULL_TARGET.
2466 Set CANADIAN only for Canadian crosses. Set xcompiling
2467 for both Canadian crosses and host-x-host crosses.
2468 * configure: Regenerated.
2470 2001-07-06 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2472 * include/bits/stl_vector.h (vector::_M_initialize_aux): Fix typo.
2474 2001-07-05 Jason Merrill <jason_merrill@redhat.com>
2476 * testsuite_flags.in (--build-includes): backward, not backwards.
2478 2001-07-04 Jeffrey Oldham <oldham@codesourcery.com>
2480 * include/ext/ropeimpl.h (_Rope_RopeRep::_M_free_c_string):
2481 Replace destroy by _Destroy.
2482 (_Rope_RopeRep::_S_free_string): Likewise.
2483 (rope::c_str()): Likewise.
2484 * include/ext/slist (_Slist_base::_M_erase_after>): Likewise.
2485 (_Slist_base::_M_erase_after): Likewise.
2486 (slist::_M_create_node): Replace construct by _Construct.
2487 (slist::pop_front): Replace destroy by _Destroy.
2488 * include/ext/stl_hashtable.h (hashtable::_M_new_node): Replace
2489 construct by _Construct.
2490 (hashtable::_M_delete_node): Replace destroy by _Destroy.
2491 * include/ext/stl_rope.h (rope::rope): Replace construct by
2493 (rope::copy): Replace destroy by _Destroy.
2495 2001-07-03 Benjamin Kosnik <bkoz@redhat.com>
2497 * include/bits/localefwd.h: Format.
2498 * include/bits/locale_facts.tcc (locale::combine): Adjust.
2499 * src/locale.cc (locale::locale::(_Impl)): Don't call
2501 (locale::facet::_M_remove_reference): Simplify.
2502 * src/globals.cc (locale_impl_c): New. Format.
2504 * src/ios.cc (ios_base::Init::Init): Increment _S_ios_base_init last.
2506 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
2508 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
2509 expansion (thanks to Alexandre Oliva).
2510 * aclocal.m4: Regenerate.
2511 * configure: Regenerate.
2513 2001-07-02 Benjamin Kosnik <bkoz@redhat.com>
2515 * src/locale.cc (locale::locale(const char*)): Make sure global
2516 locales are initialized.
2517 * include/bits/locale_facets.tcc (locale::combine): Refcout should
2518 be zero, not one as it's return-by-value.
2519 * testsuite/27_io/ios_base_callbacks.cc (test01): Don't check for
2521 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Instead, check
2524 * libsupc++/eh_alloc.cc: Use climits, not limits.h.
2526 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
2529 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
2530 * aclocal.m4: Regenerate.
2531 * configure: Regenerate.
2533 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
2536 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to
2537 staged/installed area to support -I-. Document.
2538 * aclocal.m4: Regenerate.
2539 * configure: Regenerate.
2541 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
2544 * src/ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to
2545 __out_bufsize. Add __in_bufsize, document it and use it.
2547 2001-07-01 Stephen M. Webb <stephen@bregmasoft.com>
2549 * include/bits/stl_construct.h (construct): Remove.
2551 (__destroy): Replaced by use of iterator_traits.
2552 * include/bits/stl_deque.h: replaced HP iterator functions with
2554 (construct): changed to _Construct.
2555 (destroy): changed to _Destroy.
2556 * include/bits/stl_tempbuf.h: Same.
2557 * include/bits/stl_tree.h: Same.
2558 * include/bits/stl_vector.h: Same.
2559 * include/backward/iterator.h (construct): moved definition to here.
2562 2001-06-29 Benjamin Kosnik <bkoz@redhat.com>
2564 * include/bits/locale_facets.tcc (locale::combine): Clone _Impl.
2565 before replacing facet.
2566 * include/bits/localefwd.h (locale::_Impl::_M_remove_reference):
2568 * src/localename.cc (locale::_Impl): Correct ctor initialization
2569 lists. Initialize ref count with one. Simplify.
2570 * src/locale.cc: Add comment.
2571 * testsuite/22_locale/numpunct.cc (test01): Add derivation test.
2572 * testsuite/22_locale/numpunct_char_members.cc (test01): Add tests.
2573 * testsuite/22_locale/members.cc (test02): Fix.
2575 2001-06-27 Phil Edwards <pme@sources.redhat.com>
2577 * include/backward/algo.h: Add "GPL plus runtime exception" comment
2578 block, this time for real.
2579 * include/backward/algobase.h: Likewise.
2580 * include/backward/alloc.h: Likewise.
2581 * include/backward/bvector.h: Likewise.
2582 * include/backward/defalloc.h: Likewise.
2583 * include/backward/deque.h: Likewise.
2584 * include/backward/function.h: Likewise.
2585 * include/backward/hash_map.h: Likewise.
2586 * include/backward/hash_set.h: Likewise.
2587 * include/backward/hashtable.h: Likewise.
2588 * include/backward/heap.h: Likewise.
2589 * include/backward/iterator.h: Likewise.
2590 * include/backward/list.h: Likewise.
2591 * include/backward/map.h: Likewise.
2592 * include/backward/multimap.h: Likewise.
2593 * include/backward/multiset.h: Likewise.
2594 * include/backward/pair.h: Likewise.
2595 * include/backward/rope.h: Likewise.
2596 * include/backward/set.h: Likewise.
2597 * include/backward/slist.h: Likewise.
2598 * include/backward/stack.h: Likewise.
2599 * include/backward/strstream: Likewise.
2600 * include/backward/tempbuf.h: Likewise.
2601 * include/backward/tree.h: Likewise.
2602 * include/backward/vector.h: Likewise.
2603 * include/bits/pthread_allocimpl.h: Likewise.
2604 * include/bits/std_algorithm.h: Likewise.
2605 * include/bits/std_bitset.h: Likewise.
2606 * include/bits/std_deque.h: Likewise.
2607 * include/bits/std_functional.h: Likewise.
2608 * include/bits/std_iterator.h: Likewise.
2609 * include/bits/std_list.h: Likewise.
2610 * include/bits/std_map.h: Likewise.
2611 * include/bits/std_memory.h: Likewise.
2612 * include/bits/std_numeric.h: Likewise.
2613 * include/bits/std_queue.h: Likewise.
2614 * include/bits/std_set.h: Likewise.
2615 * include/bits/std_stack.h: Likewise.
2616 * include/bits/std_utility.h: Likewise.
2617 * include/bits/std_vector.h: Likewise.
2618 * include/bits/stl_algo.h: Likewise.
2619 * include/bits/stl_algobase.h: Likewise.
2620 * include/bits/stl_alloc.h: Likewise.
2621 * include/bits/stl_bvector.h: Likewise.
2622 * include/bits/stl_construct.h: Likewise.
2623 * include/bits/stl_deque.h: Likewise.
2624 * include/bits/stl_function.h: Likewise.
2625 * include/bits/stl_heap.h: Likewise.
2626 * include/bits/stl_iterator.h: Likewise.
2627 * include/bits/stl_iterator_base_funcs.h: Likewise.
2628 * include/bits/stl_iterator_base_types.h: Likewise.
2629 * include/bits/stl_list.h: Likewise.
2630 * include/bits/stl_map.h: Likewise.
2631 * include/bits/stl_multimap.h: Likewise.
2632 * include/bits/stl_multiset.h: Likewise.
2633 * include/bits/stl_numeric.h: Likewise.
2634 * include/bits/stl_pair.h: Likewise.
2635 * include/bits/stl_pthread_alloc.h: Likewise.
2636 * include/bits/stl_queue.h: Likewise.
2637 * include/bits/stl_raw_storage_iter.h: Likewise.
2638 * include/bits/stl_relops.h: Likewise.
2639 * include/bits/stl_set.h: Likewise.
2640 * include/bits/stl_stack.h: Likewise.
2641 * include/bits/stl_tempbuf.h: Likewise.
2642 * include/bits/stl_threads.h: Likewise.
2643 * include/bits/stl_tree.h: Likewise.
2644 * include/bits/stl_uninitialized.h: Likewise.
2645 * include/bits/stl_vector.h: Likewise.
2646 * include/bits/type_traits.h: Likewise.
2647 * include/ext/hash_map: Likewise.
2648 * include/ext/hash_set: Likewise.
2649 * include/ext/rope: Likewise.
2650 * include/ext/ropeimpl.h: Likewise.
2651 * include/ext/slist: Likewise.
2652 * include/ext/stl_hash_fun.h: Likewise.
2653 * include/ext/stl_hashtable.h: Likewise.
2654 * include/ext/stl_rope.h: Likewise.
2655 * src/bitset.cc: Likewise.
2656 * src/strstream.cc: Likewise.
2658 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2659 <vakatov@ncbi.nlm.nih.gov>
2662 * include/bits/streambuf.tcc (__copy_streambufs): Don't set eofbit.
2663 * testsuite/27_io/ostream_inserter_other.cc (test04): Add test.
2664 * testsuite/27_io/istream_extractor_other.cc: Fix.
2666 2001-06-26 Zoltan Hidvegi <hzoli@austin.ibm.com>
2668 * acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
2669 * aclocal.m4: Regenerate.
2670 * configure: Regenerate.
2672 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2674 * include/bits/stream_iterator.h (istream_iterator): Add copy ctor.
2675 (ostream_iterator): Same.
2676 * include/bits/stl_iterator.h (front_insert_iterator::operator=):
2677 Change argument to const_reference.
2678 (back_insert_iterator): Same.
2680 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2682 * include/bits/sbuf_iter.h: Change to..
2683 * include/bits/streambuf_iterator.h: This.
2684 * include/bits/stl_iterator.h: Take out of here...
2685 * include/bits/stream_iterator.h: Add.
2686 * src/Makefile.am (base_headers): Add streambuf_iterator,
2688 * src/Makefile.in: Regenerate.
2689 * include/bits/std_string.h: Adjust includes.
2690 * include/bits/basic_ios.h: Same.
2691 * include/bits/locale_facets.tcc: Same.
2692 * include/bits/std_iosfwd.h: Same.
2694 * include/bits/std_iterator.h: Add istream, ostream includes.
2695 * include/bits/stl_iterator.h: Tweak.
2696 * testsuite/24_iterators/ostream_iterator.cc: Add test.
2697 * testsuite/24_iterators/istream_iterator.cc: Same.
2698 * testsuite/23_containers/multiset.cc: Add iterator include.
2700 2001-06-26 Phil Edwards <pme@sources.redhat.com>
2702 * acinclude.m4: Clean extraneous tabs, rewrap 'test' lines.
2703 * aclocal.m4: Regenerate.
2704 * configure: Regenerate.
2706 2001-06-26 Felix Natter <f.natter@ndh.net>
2708 * docs/html/17_intro/porting-howto.html: Fixed some errors.
2710 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2712 * include/bits/stl_iterator.h (istream_iterator::operator->): Fix
2714 (istream_iterator::operator*): Same.
2716 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2717 Alexandre Petit-Bianco <apbianco@redhat.com>
2719 * testsuite/21_strings/element_access.cc (test01): Chill Out Cafe
2720 is on 41st, not 14th.
2722 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2724 * include/bits/std_iterator.h: Include sbuf_iter.h via std_ios.h.
2726 * include/bits/stl_iterator.h (istream_iterator): Inherit from
2728 (ostream_iterator): Same.
2729 * testsuite/24_iterators/istream_iterator.cc: New file.
2730 * testsuite/24_iterators/ostream_iterator.cc: New file.
2732 * include/bits/sbuf_iter.h: Remove self typedef.
2733 * testsuite/24_iterators/ostreambuf_iterator.cc: Add test.
2734 * testsuite/24_iterators/istreambuf_iterator.cc: Add test.
2736 * include/bits/stl_iterator.h (reverse_iterator): Remove
2737 extraneous typedefs. Add typename.
2738 (__normal_iterator): Remove typedefs referring to self. Add typename.
2739 (reverse_bidiretional_iterator): Remove, not longer required.
2741 2001-06-26 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2743 * include/bits/stl_iterator.h (__normal_iterator<>): Qualify
2744 dependent names with `typename'. Bring in various required
2745 iterator_traits members. Can't imagine why that used to work.
2747 2001-06-25 Phil Edwards <pme@sources.redhat.com>
2748 Kurt Garloff <garloff@suse.de>
2751 * src/cmath.cc: New [version of an old] file; instantiate
2752 __cmath_power to start with.
2753 * src/Makefile.am (sources): Add cmath.cc (and alphabetize).
2754 * Makefile.in: Regenerate.
2755 * libio/Makefile.in: Regenerate.
2756 * libmath/Makefile.in: Regenerate.
2757 * libsupc++/Makefile.in: Regenerate.
2758 * src/Makefile.in: Regenerate.
2759 * testsuite/Makefile.in: Regenerate.
2761 2001-06-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2763 * libmath/stubs.c: Fix thinko.
2765 2001-06-24 David Edelsohn <dje@watson.ibm.com>
2767 * libmath/stubs.c (sqrtf): Define.
2768 (tanf): Correct typo.
2770 2001-06-22 Benjamin Kosnik <bkoz@redhat.com>
2772 * include/bits/stl_iterator.h (reverse_iterator): Inherit from
2774 (back_insert_iterator): Same.
2775 (front_insert_iterator): Same.
2776 (insert_iterator): Same.
2778 * testsuite/20_util/raw_storage_iterator.cc: Modify.
2779 * testsuite/24_iterators/reverse_iterator.cc: New file.
2780 * testsuite/24_iterators/back_insert_iterator.cc: New file.
2781 * testsuite/24_iterators/front_insert_iterator.cc: New file.
2782 * testsuite/24_iterators/insert_iterator.cc: New file.
2784 2001-06-22 Phil Edwards <pme@sources.redhat.com>
2786 * include/*: Revert comment/license change from yesterday for all
2787 except libsupc++/unwind-cxx.h.
2788 * src/bitset.cc: Likewise.
2789 * src/strstream.cc: Likewise.
2791 2001-06-22 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2793 * libmath/stubs.c: New file.
2797 * libmath/Makefile.am (libmath_la_SOURCES): Add.
2798 * libmath/Makefile.in. Regenerate.
2800 2001-06-21 Phil Edwards <pme@sources.redhat.com>
2802 * include/backward/algo.h: Add "GPL plus runtime exception" comment.
2803 * include/backward/algobase.h: Likewise.
2804 * include/backward/alloc.h: Likewise.
2805 * include/backward/bvector.h: Likewise.
2806 * include/backward/defalloc.h: Likewise.
2807 * include/backward/deque.h: Likewise.
2808 * include/backward/function.h: Likewise.
2809 * include/backward/hash_map.h: Likewise.
2810 * include/backward/hash_set.h: Likewise.
2811 * include/backward/hashtable.h: Likewise.
2812 * include/backward/heap.h: Likewise.
2813 * include/backward/iterator.h: Likewise.
2814 * include/backward/list.h: Likewise.
2815 * include/backward/map.h: Likewise.
2816 * include/backward/multimap.h: Likewise.
2817 * include/backward/multiset.h: Likewise.
2818 * include/backward/pair.h: Likewise.
2819 * include/backward/rope.h: Likewise.
2820 * include/backward/set.h: Likewise.
2821 * include/backward/slist.h: Likewise.
2822 * include/backward/stack.h: Likewise.
2823 * include/backward/strstream: Likewise.
2824 * include/backward/tempbuf.h: Likewise.
2825 * include/backward/tree.h: Likewise.
2826 * include/backward/vector.h: Likewise.
2827 * include/bits/pthread_allocimpl.h: Likewise.
2828 * include/bits/std_algorithm.h: Likewise.
2829 * include/bits/std_bitset.h: Likewise.
2830 * include/bits/std_deque.h: Likewise.
2831 * include/bits/std_functional.h: Likewise.
2832 * include/bits/std_iterator.h: Likewise.
2833 * include/bits/std_list.h: Likewise.
2834 * include/bits/std_map.h: Likewise.
2835 * include/bits/std_memory.h: Likewise.
2836 * include/bits/std_numeric.h: Likewise.
2837 * include/bits/std_queue.h: Likewise.
2838 * include/bits/std_set.h: Likewise.
2839 * include/bits/std_stack.h: Likewise.
2840 * include/bits/std_utility.h: Likewise.
2841 * include/bits/std_vector.h: Likewise.
2842 * include/bits/stl_algo.h: Likewise.
2843 * include/bits/stl_algobase.h: Likewise.
2844 * include/bits/stl_alloc.h: Likewise.
2845 * include/bits/stl_bvector.h: Likewise.
2846 * include/bits/stl_construct.h: Likewise.
2847 * include/bits/stl_deque.h: Likewise.
2848 * include/bits/stl_function.h: Likewise.
2849 * include/bits/stl_heap.h: Likewise.
2850 * include/bits/stl_iterator.h: Likewise.
2851 * include/bits/stl_iterator_base_funcs.h: Likewise.
2852 * include/bits/stl_iterator_base_types.h: Likewise.
2853 * include/bits/stl_list.h: Likewise.
2854 * include/bits/stl_map.h: Likewise.
2855 * include/bits/stl_multimap.h: Likewise.
2856 * include/bits/stl_multiset.h: Likewise.
2857 * include/bits/stl_numeric.h: Likewise.
2858 * include/bits/stl_pair.h: Likewise.
2859 * include/bits/stl_pthread_alloc.h: Likewise.
2860 * include/bits/stl_queue.h: Likewise.
2861 * include/bits/stl_raw_storage_iter.h: Likewise.
2862 * include/bits/stl_relops.h: Likewise.
2863 * include/bits/stl_set.h: Likewise.
2864 * include/bits/stl_stack.h: Likewise.
2865 * include/bits/stl_tempbuf.h: Likewise.
2866 * include/bits/stl_threads.h: Likewise.
2867 * include/bits/stl_tree.h: Likewise.
2868 * include/bits/stl_uninitialized.h: Likewise.
2869 * include/bits/stl_vector.h: Likewise.
2870 * include/bits/type_traits.h: Likewise.
2871 * include/ext/hash_map: Likewise.
2872 * include/ext/hash_set: Likewise.
2873 * include/ext/rope: Likewise.
2874 * include/ext/ropeimpl.h: Likewise.
2875 * include/ext/slist: Likewise.
2876 * include/ext/stl_hash_fun.h: Likewise.
2877 * include/ext/stl_hashtable.h: Likewise.
2878 * include/ext/stl_rope.h: Likewise.
2879 * libsupc++/unwind-cxx.h: Likewise.
2880 * src/bitset.cc: Likewise.
2881 * src/strstream.cc: Likewise.
2883 2001-06-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2885 * include/bits/indirect_array.h (indirect_array<>::operator=):
2886 Make copy and assignment operator public. Implement. Format.
2888 * include/bits/valarray_array.h (__valarray_copy): Add overloads
2889 for copy between index arrays. Format.
2891 2001-06-19 Benjamin Kosnik <bkoz@redhat.com>
2893 * mknumeric_limits: Add static definitions, format.
2894 * testsuite/18_support/numeric_limits.cc (test02): Add test.
2896 * include/c_std/bits/std_cwchar.h: Include ctime.
2897 * testsuite/17_intro/header_cwchar.cc : Check.
2899 * include/c_std/bits/std_cwctype.h: Inject wctype.
2900 * testsuite/17_intro/header_cwctype.cc: Update.
2902 2001-06-18 Benjamin Kosnik <bkoz@redhat.com>
2904 * include/bits/stl_raw_storage_iter.h: Format. Correct derivation.
2905 * testsuite/20_util/raw_storage_iterator.cc: Same.
2907 * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to
2909 (__mem_interface): New typedef for switching between malloc and new.
2910 * testsuite/20_util/allocator_members.cc: New file.
2912 * testsuite/20_util/comparisons.cc: New file.
2913 * testsuite/20_util/pairs.cc: New file.
2915 2001-06-15 Phil Edwards <pme@sources.redhat.com>
2917 * docs/html/documentation.html: Point to new doxygen'ed collection.
2919 2001-06-14 Nathan Sidwell <nathan@codesourcery.com>
2921 * configure.in (auxdir): Replace by ...
2922 (toprel): ... new variable.
2923 (toplevel_srcdir): Construct from $toprel.
2924 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
2925 rather than .. to locate gcc source directory.
2926 (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
2927 * aclocal.m4, configure: Rebuilt.
2929 2001-06-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
2931 (Approved by Mark and Benjamin. Applied by Loren.)
2933 * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
2934 _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
2935 and _GLIBCPP_mutex_address.
2936 * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
2937 once-only runtime initialization of _M_lock mutex when
2938 __GTHREAD_MUTEX_INIT_FUNCTION is defined.
2939 (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
2940 for __GTHREAD_MUTEX_INIT_FUNCTION case.
2942 2001-06-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2944 * testsuite/26_numerics/slice_array_assignment.cc (main): New test.
2946 * include/bits/slice_array.h (slice_array<>::operator=): Make
2947 public and implement.
2948 (slice_array<>::slice_array): Make copy-constructor public.
2950 * include/bits/valarray_array.h (__valarray_copy): Add another
2951 overload to copy between strided arrays.
2953 2001-06-13 Benjamin Kosnik <bkoz@redhat.com>
2955 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
2956 * aclocal.m4: Regenerate.
2957 * configure: Regenerate.
2958 * include/bits/c++config (__GLIBCPP__): Update date.
2960 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
2962 * include/bits/fpos.h (fpos::operator-): Don't return reference,
2963 return original, non-modified version.
2964 (fpos::operator+): Same.
2965 * testsuite/27_io/fpos.cc: Add test.
2967 2001-06-12 Loren J. Rittle <ljrittle@acm.org>
2970 * porting.texi: Add documentation about libstdc++-v3-specific
2971 macros that are currently included in os_defines.h files.
2973 * config/basic_file_stdio.h (sys_getc): New method.
2974 (sys_ungetc): New method.
2975 * include/bits/basic_file.h: (sys_getc): New method signature.
2976 (sys_ungetc): New method signature.
2978 * include/bits/fstream.tcc (underflow): Add conditional code
2979 paths which avoid using short seeks on streams (especially
2980 useful when the stream might be interactive or a pipe). At
2981 the moment, this alternate path only avoids seeking when the
2982 ``buffer size'' of underflow() is 1 since the C standard only
2983 guarantees buffer space for one ungetc (this technique could
2984 be extended since *-*-solaris* supports buffering for 4 calls
2985 to ungetc and *-*-*bsd* supports buffering limited only by
2986 memory resources). Also, _GLIBCPP_AVOID_FSEEK must be defined
2987 in a port's os_defines.h file for this alternate path to even
2988 be considered. As a bonus, the idiom of using getc/ungetc
2989 requires no system calls whereas fseek maps to one or two
2990 system call(s) on many platforms.
2992 * config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
2994 * config/os/solaris/solaris2.5/bits/os_defines.h
2995 (_GLIBCPP_AVOID_FSEEK): Likewise.
2996 * config/os/solaris/solaris2.6/bits/os_defines.h
2997 (_GLIBCPP_AVOID_FSEEK): Likewise.
2998 * config/os/solaris/solaris2.7/bits/os_defines.h
2999 (_GLIBCPP_AVOID_FSEEK): Likewise.
3001 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
3003 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change to
3004 AC_TRY_COMPILE, so that the built compiler is checked, and
3005 bootstraps or cross compiles with an older compile still work.
3006 * aclocal.m4: Regenerate.
3007 * configure: Regenerate.
3009 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
3012 * include/bits/std_sstream.h: Add allocator_type, as per DR 251.
3015 * include/bits/istream.tcc (getline, get): Fix as per DR 243.
3018 * include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
3021 * include/bits/limits_generic.h: Fix as per DR 184.
3023 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
3026 * include/bits/basic_string.h (string::compare): Adjust signatures
3028 * include/bits/basic_string.tcc: And here.
3031 * config/c_io_stdio.h: Remove whitespace.
3032 * testsuite/27_io/istream_seeks.cc (test03): Add regression.
3033 (test02): Add regression.
3034 * testsuite/27_io/istream_seeks-3.tst: New file.
3036 2001-06-11 Phil Edwards <pme@sources.redhat.com>
3038 * README: Update to reflect reality.
3039 * acinclude.m4: Update descriptions, fix typos. Comment changes only.
3040 * configure.in: Make certain target_alias is set and subst'd for 2.50.
3041 * aclocal.m4: Regenerate.
3042 * configure: Regenerate (with 2.13).
3044 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
3047 * include/bits/ostream.tcc (ostream::seekp): Add error checking as
3049 * include/bits/istream.tcc (istream::seekg): Same.
3050 * testsuite/27_io/istream_seeks.cc: Fix.
3053 * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
3055 * include/bits/std_queue.h: Add c++config.h.
3056 * testsuite/20_util/binders.cc: New test.
3058 2001-06-11 Matthias Klose <doko@debian.org>
3059 Phil Edwards <pme@sources.redhat.com>
3061 * docs/doxygen/run_doxygen (find_doxygen): Tweak version check.
3062 (main script): Echo more information.
3064 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
3066 * include/c_std/bits/std_cwchar.h: Alphabetize.
3067 * include/bits/char_traits.h: Tweak.
3068 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
3069 everything used by std_cwchar.h.
3070 * aclocal.m4: Regenerate.
3071 * configure.in: Regenerate.
3072 * config.h.in: Regenerate.
3074 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
3076 * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
3077 Add checking for strtof, _Exit in stdlib.h
3078 * aclocal.m4: Regenerate.
3079 * configure.in: Regenerate.
3080 * include/c_std/bits/std_cstdio.h: Alphabetize lists.
3081 (snprintf): Put C99 functions into __gnu_cxx namespace.
3086 * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
3087 for C99 functions within _GLIBCPP_USE_C99 guard.
3091 * include/bits/locale_facets.tcc: Check if C99 is enabled.
3092 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
3094 * include/c_std/bits/cmath.tcc: Formatting tweak.
3095 * include/c_std/bits/std_cmath.h: Same.
3097 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
3099 * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
3101 2001-06-09 Alexandre Oliva <aoliva@redhat.com>
3102 Stephen L Moshier <moshier@mediaone.net>
3104 * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
3105 nothing, as in autoconf 2.50.
3106 * configure: Rebuilt.
3108 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
3110 * include/c_std/bits/std_cwchar.h: Remove size_t injection,
3111 include std_cstddef.
3112 * include/c_std/bits/std_ctime.h: Same.
3113 * include/c_std/bits/std_cstring.h: Same.
3114 * include/c_std/bits/std_cstdlib.h: Same.
3116 * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
3117 * include/c_std/bits/std_cctype.h: Remove isblank.
3119 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
3121 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
3123 * aclocal.m4: Regenerate.
3124 * configure: Regenerate.
3125 * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
3126 injection, guard fgetwc, fgetws.
3127 * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
3128 * include/c_std/bits/std_clocale.h: And here.
3129 * include/c_std/bits/std_cctype.h: And here.
3130 * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
3132 * config/basic_file_stdio.h: Don't include unistd.h.
3133 * config/c_io_stdio.h: Don't use compatibility headers.
3134 * libsupc++/eh_terminate.cc: Qualify abort.
3135 (__terminate): And here.
3136 * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
3138 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
3140 * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
3142 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
3147 * include/std/*: Add copyright notice.
3148 * include/c_std/bits/*: Use using statements instead of extern "C".
3149 * include/c_std/bits/std_cmath.h: Don't overload double versions
3150 of math functions with __buitin versions, use global version to
3151 prevent ambiguities. Remove define hacks.
3152 * include/c_std/bits/std_cwchar.h: Using declarations for "C"
3153 functions that have changed signatures and std::
3154 declarations. Remove define hacks.
3155 * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
3156 __builtins in std::. Remove define hacks.
3157 * testsuite/17_intro/headers_c.cc: Add tests.
3158 * testsuite/17_intro/headers_c++.cc: Add test.
3160 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
3161 John David Anglin <dave@hiauly1.hia.nrc.ca>
3164 * libsupc++/eh_alloc.cc: Ensure that required macros are
3165 defined before including gthr.h. Ensure that we get the
3166 version of gthr.h for which we know how to provide a
3168 * libsupc++/eh_globals.cc: Likewise. And, bring the threading
3169 code path into line with the current EH model. Use std, where
3172 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
3173 John David Anglin <dave@hiauly1.hia.nrc.ca>
3175 * config/threads-no.h: Remove file.
3176 * config/threads-posix.h: Remove file.
3178 * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
3179 (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
3180 (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
3181 * config.h.in: Regenerate.
3183 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
3184 setup and use gthr*.h files. In particular, make gthr.h files
3185 namespace-clean in the staging area (they don't have to be for
3187 * aclocal.m4: Regenerate.
3188 * configure: Regenerate.
3190 * src/Makefile.am (build_headers): Remove bits/c++threads.h
3191 and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
3192 * src/Makefile.in: Regenerate.
3194 * include/bits/c++config: Cleanup threading configuration macros.
3195 In particular, define __STL_GTHREADS macro which controls...
3196 * include/bits/stl_threads.h: ...a brand new gthr.h-based
3199 * config/c_io_stdio.h: Include staged gthr.h instead of local
3200 thread configuration file. Always use __gthread_mutex_t
3201 instead of __mutext_type (or int).
3202 * include/bits/std_fstream.h: Likewise.
3204 * docs/html/17_intro/howto.html: Remove placeholder comment in
3205 case this configuration patch didn't make it. Add advice that
3206 section only applies if configured with --enable-threads.
3207 * docs/html/23_containers/howto.html: Reword to make clear
3208 that _PTHREADS is no longer required for any port to be
3209 correctly using STL with threads. Add advice that section
3210 only applies if configured with --enable-threads.
3212 2001-06-06 Benjamin Kosnik <bkoz@redhat.com>
3214 * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
3216 2001-06-05 Benjamin Kosnik <bkoz@redhat.com>
3219 * include/bits/basic_ios.tcc: Formatting tweaks.
3220 * include/bits/ios_base.h: Formatting tweaks.
3221 * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
3222 (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
3223 * src/globals.cc: Allocate filebufs for standard streams here.
3224 (buf_cout, buf_cin, buf_cerr): Like so.
3225 (buf_wcout, buf_wcin, buf_wcerr): And so.
3226 * testsuite/27_io/ios_init.cc: Add.
3228 2001-06-04 Brendan Kehoe <brendan@zen.org>
3229 Benjamin Kosnik <bkoz@redhat.com>
3232 * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
3233 for generic ctype virtuals.
3234 * src/locale.cc: Minor tweaks, naming consistency.
3235 * testsuite/22_locale/ctype.cc: Add test.
3237 2001-06-04 Kenny Simpson <theonetruekenny@yahoo.com>
3238 Phil Edwards <pme@sources.redhat.com>
3240 PR libstdc++/3035 and PR libstdc++/3036
3241 * include/bits/stl_pair.h: Fix pair ctor and make_pair according
3242 to LWG DR 181 and 265.
3244 2001-06-04 Phil Edwards <pme@sources.redhat.com>
3247 * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
3248 equal_range): Add const overloads as per LWG DR 214.
3249 * include/bits/stl_set.h: Likewise.
3251 2001-06-04 Brendan Kehoe <brendan@zen.org>
3252 Phil Edwards <pme@sources.redhat.com>
3255 * include/bits/std_bitset.h (bitset::test): Fix __pos >= _Nb
3256 comparison; all positions must be < _Nb.
3257 * testsuite/23_containers/bitset_members.cc: New file.
3259 2001-06-04 Brendan Kehoe <brendan@zen.org>
3262 * include/bits/stl_queue.h (classes queue, priority_queue): Fix
3263 ctors to match the standard.
3265 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
3267 * include/bits/char_traits.h (move): Reverse qualification of
3269 (copy): Reverse qualification of memcpy with std::.
3271 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
3273 * include/bits/char_traits.h (move): Qualify memmove with std::.
3274 (copy): Qualify memcpy with std::.
3275 * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
3278 * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
3280 2001-06-04 Hans-Peter Nilsson <hp@axis.com>
3282 * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
3283 uninstall-glibcppinstallHEADERS): Have explicit rules catering to
3284 SUN make VPATH peculiarities.
3285 * libsupc++/Makefile.in: Regenerate.
3287 2001-06-01 Hans-Peter Nilsson <hp@axis.com>
3289 * src/Makefile.am (VPATH): Delimit with ":", not space.
3290 * src/Makefile.in: Regenerate.
3292 * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
3294 * configure: Regenerate.
3296 2001-05-31 scott snyder <snyder@fnal.gov>
3299 * include/bits/istream.tcc: Include std_ostream.h.
3301 2001-05-31 Benjamin Kosnik <bkoz@redhat.com>
3304 * src/bitset.cc: Qualify size_t with std::.
3306 2001-05-30 Benjamin Kosnik <bkoz@redhat.com>
3308 * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
3309 (_GLIBCPP_BUGGY_COMPLEX): Remove.
3310 * config.h.in: Regenerate.
3311 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
3312 * aclocal.m4: Regenerate.
3313 * configure.in: Don't call it.
3314 * configure: Regenerate.
3317 * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
3318 * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
3322 * include/bits/std_complex.h: Include sstream. Put definitions for
3323 complex inserters and extractors here, and remove them from...
3324 * src/complex_io.cc: ...here.
3325 * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
3327 (basic_ios::__numget_type): Same.
3328 * include/bits/std_istream.h: Same.
3329 * include/bits/std_ostream.h: Same.
3330 * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
3331 class iterator template arguments.
3332 * src/locale-inst.cc: Add explicit has_facet instantiations.
3333 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
3334 (_M_get_fnumput): Remove.
3335 (_M_get_fnumget): Remove.
3336 (basic_ios::_M_check_facet): New function.
3337 (basic_ios::_M_cache_facets): New function.
3338 * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
3339 (basic_ios::imbue): Call _M_cache_facets.
3340 (basic_ios::init): Same.
3341 * include/bits/istream.tcc: Format, use _M_check_facet.
3342 * include/bits/ostream.tcc: Same.
3343 * include/bits/locale_facets.tcc (__output_float): Change
3344 signature, add _Traits.
3345 * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
3348 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
3350 * include/bits/c++config (__USE_MALLOC): Do not define it.
3351 Document why not and give pointers to more information.
3353 * docs/html/23_containers/howto.html: Update documentation
3354 to reflect recent understanding of problem.
3355 * docs/html/17_intro/howto.html: Likewise.
3357 2001-05-30 Phil Edwards <pme@sources.redhat.com>
3359 * docs/doxygen/user.cfg.in: Minor addition.
3360 * docs/html/documentation.html: Reorganize. Put most-looked-at
3362 * docs/html/install.html: Update for 3.0. HTML fixups.
3363 * docs/html/17_intro/howto.html: Likewise.
3364 * docs/html/18_support/howto.html: Likewise.
3365 * docs/html/19_diagnostics/howto.html: Likewise.
3366 * docs/html/20_util/howto.html: Likewise.
3367 * docs/html/23_containers/howto.html: Likewise.
3368 * docs/html/24_iterators/howto.html: Likewise. More notes.
3369 * docs/html/25_algorithms/howto.html: Likewise.
3370 * docs/html/26_numerics/howto.html: Likewise. More notes.
3371 * docs/html/27_io/howto.html: Likewise.
3372 * docs/html/ext/howto.html: Likewise.
3373 * docs/html/faq/index.html: Likewise.
3374 * docs/html/faq/index.txt: Regenerate.
3375 * docs/html/27_io/iostreams_hierarchy.pdf: Remove in favor of
3376 Doxygen-created documentation.
3378 2001-05-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3380 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
3381 get_multilibs to find gcc.
3383 2001-05-30 Phil Edwards <pme@sources.redhat.com>
3385 * acinclude.m4 (GLIBCPP_ENABLE_C99): Reorder output messages.
3386 * aclocal.m4: Regenerate.
3387 * configure: Regenerate.
3389 2001-05-29 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3391 * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
3392 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
3394 2001-05-27 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3396 * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
3397 * include/c_std/bits/std_cstdlib.h: Same.
3398 * include/c_std/bits/std_cwchar.h: Same.
3400 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
3402 * docs/html/17_intro/howto.html: Update link.
3403 * docs/html/23_containers/howto.html: Likewise. Add new link.
3405 2001-05-26 Gabriel Dos Reis <gdr@codesourcery.com>
3407 * include/c_std/bits/std_cmath.h (sqrt): #undef.
3409 2001-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3411 * mknumeric_limits: Stop if gen-num-limits dies.
3413 2001-05-25 Benjamin Kosnik <bkoz@redhat.com>
3416 * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
3417 * aclocal.m4: Regenerate.
3420 2001-05-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3421 Phil Edwards <pme@sources.redhat.com>
3422 Alexandre Oliva <aoliva@redhat.com>
3424 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
3425 in an amd-safe manner. Revert glibcpp_prefixdir.
3427 2001-05-25 Gabriel Dos Reis <gdr@codesourcery.com>
3429 * include/c_std/bits/std_cmath.h: Tweak. #define away abs, cos,
3430 fabs, sin, sqrt. They are now implemented in terms of __builtin_
3433 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
3436 * testsuite/21_strings/inserters_extractors.cc (test09): New test.
3437 * include/bits/ostream.tcc: Format to match istream.tcc.
3438 (operator<<(basic_ostream __out, const basic_string __s)): Fix.
3440 2001-05-24 Phil Edwards <pme@sources.redhat.com>
3442 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Qualify
3444 (__cxa_free_exception): Likewise with free.
3446 2001-05-24 Mark Mitchell <mark@codesourcery.com>
3448 * include/c_std/bin/std_cstring.h: #define away all global
3449 functions we will redeclare in namespace `std'.
3450 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
3451 std::memset, instead of memset.
3452 * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
3454 * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
3457 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
3460 * include/bits/basic_ios.tcc: Small tweak.
3461 * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
3462 ctors and dtors, and rdbuf settings.
3465 * include/bits/std_sstream.h: Same, but for stringstream classes.
3466 * testsuite/27_io/ostringstream_members.cc: New.
3467 * testsuite/27_io/stringstream_members.cc: New.
3468 * testsuite/27_io/fstream_members.cc: New.
3469 * testsuite/27_io/ifstream_members.cc: Add test.
3470 * testsuite/27_io/istringstream_members.cc: Add test.
3471 * testsuite/27_io/ofstream_members.cc: Add test.
3473 2001-05-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3475 * include/bits/c++config(__NO_MATH_INLINES): Move to...
3476 * config/os/gnu-linux/bits/os_defines.h: ...here.
3478 2001-05-24 Gabriel Dos Reis <gdr@codesourcery.com>
3480 * include/bits/c++config (__NO_MATH_INLINES): New macro.
3481 * testsuite/26_numerics/fabs_inline.cc (main): New test.
3483 2001-05-22 Benjamin Kosnik <bkoz@redhat.com>
3486 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
3488 (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
3489 (libstdc++-v3-finish): Remove.
3490 (libstdc++-v3_exit): Remove.
3492 2001-05-22 Phil Edwards <pme@sources.redhat.com>
3494 * docs/html/documentation.html: Point to doxygen output.
3496 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
3498 * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
3500 * include/bits/std_sstream.h (stringbuf::setbuf): Require both
3501 arguments to be non-null.
3502 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
3503 try allocations if allocated size is greater than zero.
3504 (filebuf::_M_filebuf_init): Change to
3505 (filebuf::_M_allocate_file): Which is what it does now.
3506 (filebuf::_M_allocate_bufers): Change to
3507 (filebuf::_M_allocate_internal_buffer): This, and create
3508 (filebuf::_M_allocate_pback_buffer): New.
3509 (filebuf::_M_destroy_internal_buffer): New.
3510 (filebuf::_M_buf_allocated): New data member.
3511 (filebuf::setbuf): Use new logic, allow use of external buffer.
3512 * testsuite/27_io/stringbuf_virtuals.cc: New file.
3513 * testsuite/27_io/filebuf_virtuals.cc: New file.
3515 2001-05-21 Stephen M. Webb <stephen@bregmasoft.com>
3517 * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
3519 (strchr): Same, but to __glibcpp_strchr.
3523 * include/c_std/bits/std_cwchar.h (wcschr): Same.
3529 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
3531 * testsuite/21_strings/c_strings.cc (main): Fix.
3533 2001-05-19 Phil Edwards <pme@sources.redhat.com>
3535 * acinclude.m4: Fix --help spacing, correct comments.
3536 * aclocal.m4: Regenerate.
3537 * configure: Regenerate.
3538 * mkcheck.in: Add usage comments.
3539 * docs/html/documentation.html: Point to doxygen'd tarball.
3541 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
3543 * testsuite/README: Add notes.
3545 * src/Makefile.am (libstdc++.INC): Remove.
3546 * src/Makefile.in: Regenerate.
3548 Phil Edwards <pedwards@disaster.jaj.com>
3549 * mkcheck.in: Add missing '#'.
3551 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
3553 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
3554 appropriately for remote testing and testing installed files without
3557 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
3559 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
3560 amd glibcpp_prefixdir with absolute paths.
3562 * include/bits/c++config (__GLIBCPP__): Bump.
3563 * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
3565 2001-05-18 Gabriel Dos Reis <gdr@codesourcery.com>
3567 * include/bits/std_valarray.h (valarray<>::operator[] const):
3568 Return a const reference.
3569 * testsuite/26_numerics/valarray_const_bracket.cc: New test.
3571 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
3573 * configure.target (ATOMICITYH): Actually use AIX-specific code on
3574 earlier versions of AIX 4.*.
3576 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
3578 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set
3579 output_file based on the name of the testcase.
3581 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
3583 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Build
3584 gluefile and use it if needs_status_wrapper is set.
3586 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
3588 * configure.target (ATOMICITYH): Use cpu/generic code on earlier
3591 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
3593 * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
3594 on earlier versions of AIX.
3596 2001-05-15 Benjamin Kosnik <bkoz@redhat.com>
3598 * testsuite_flags.in (query): Add backwards, ext directories.
3600 2001-05-15 Mark Mitchell <mark@codesourcery.com>
3602 * porting.texi: Correct documentation about handling
3603 _LARRGEFILE_SOURCE and its ilk.
3604 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
3605 definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
3607 * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
3608 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
3610 2001-05-15 Zack Weinberg <zackw@stanford.edu>
3612 * testsuite/21_strings/inserters_extractors.cc,
3613 testsuite/27_io/istream_unformatted.cc,
3614 testsuite/27_io/stringstream.cc:
3615 Replace multi-line string constants with C89-style
3616 concatenated string constants.
3618 2001-05-14 Richard Henderson <rth@redhat.com>
3620 * mknumeric_limits: Build with -fno-exceptions.
3622 2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
3624 Switch over to new harness.
3625 * testsuite_flags.in: Tweaks via Gaby.
3626 * testsuite/Makefile.am: Change tool to libstdc++-v3.
3627 (EXPECT): Quote directly.
3629 * configure.in: Output testsuite_flags.
3630 * acinclude.m4: Substitute src, bld, and prefix dirs.
3631 Remove glibcpp_expect, glibcpp_runtestflags.
3632 * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
3633 * mkcheck.in: Port to new interface.
3635 * aclocal.m4: Regerate.
3636 * configure: Regnerate.
3637 * Makefile.in: Regnerate.
3638 * */Makefile.in: Regenerate.
3640 * tests_flags.in: Remove.
3641 * testsuite/lib/libstdc++.exp: Remove.
3642 * testsuite/libstdc++.tests/tests.exp: Remove.
3644 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
3646 * configure.target: Remove detection of AIX pthread multilib, now
3647 obtained from `gcc -v'.
3649 2001-05-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
3651 * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
3652 size. Add hpux case for HP size.
3654 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
3656 * testsuite_flags.in: New, simplified interface.
3657 * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
3658 * testsuite/libstdc++-v3.dg: Add.
3659 * testsuite/libstdc++-v3.dg/dg.exp: Add.
3661 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
3663 * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
3664 * testsuite/config/default.exp: Update bugs email address.
3666 2001-05-11 Richard Henderson <rth@redhat.com>
3668 * libsupc++/eh_personality.cc: Include unwind-pe.h. Remove
3669 all pointer encoding logic.
3670 (struct lsda_header_info): Add ttype_base.
3671 (get_ttype_entry): Use it instead of a context.
3672 (check_exception_spec): Likewise.
3673 (PERSONALITY_FUNCTION): Initialize ttype_base. Store it in
3674 the c++ exception header for __cxa_call_unexpected.
3675 (__cxa_call_unexpected): Use it.
3677 2001-05-09 Benjamin Kosnik <bkoz@redhat.com>
3679 * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
3680 libgloss_link_flags to find crt0.o for targets that use libgloss
3682 Change LDFLAGS to LIBS.
3683 Consistently name procedures libstdc++-XXX.
3684 * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
3686 2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
3688 * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
3693 * include/c_std/bits/std_cwchar.h (wcschr): Same.
3698 * testsuite/21_strings/c_strings.cc: Add tests.
3700 2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
3703 * include/bits/std_fstream.h (basic_filebuf): Change signature.
3704 * include/bits/fstream.tcc (basic_filebuf): Change bool argument
3705 to int_type, pass in buffer size info.
3706 * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
3707 unbuffered situation.
3708 (underflow): Remove codecvt bits for the time being.
3709 * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
3710 * include/bits/locale_facets.tcc (_M_extract): Cache dereference
3711 values from iterators, clean.
3712 * src/locale.cc: Ditto.
3713 * include/bits/sbuf_iter.h: Format.
3714 * src/ios.cc: Explicitly pass in buffer sizes at creation time.
3715 * testsuite/27_io/narrow_stream_objects.cc: Add tests.
3716 * testsuite/27_io/filebuf.cc: Tweaks.
3717 * testsuite/27_io/filebuf_members.cc: Tweaks.
3719 2001-05-07 Mark Mitchell <mark@codesourcery.com>
3721 * config/os/solaris/solaris2.7/bits/os_defines.h
3722 (_LARGEFILE_SOURCE): Define it.
3724 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
3726 * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
3727 -prefer-non-pic depending on whether libtool has shared libraries
3728 enabled or disabled.
3729 * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
3730 $(LIBSUPCXX_PICFLAGS).
3731 * configure, */Makefile.in: Rebuilt.
3733 2001-05-01 Benjamin Kosnik <bkoz@redhat.com>
3735 * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
3736 * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
3738 * include/bits/std_sstream.h (stringbuf): Leak
3740 * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
3742 2001-05-01 Tom Browder <tbrowder@home.com>
3744 * docs/html/ext/howto.html: Fix typo.
3746 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
3748 * testsuite/libstdc++.tests/tests.exp: Add comment.
3750 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
3752 * testsuite/libstdc++.tests/tests.exp: Set ulimits.
3754 2001-04-30 Mark Mitchell <mark@codesourcery.com>
3756 * porting.texi: Use the GFDL.
3758 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
3761 * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
3762 * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
3765 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
3768 * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
3770 2001-04-28 Phil Edwards <pme@sources.redhat.com>
3772 * docs/doxygen/run_doxygen: Minor tweaks.
3773 * docs/doxygen/style.css: New file.
3774 * docs/doxygen/user.cfg.in: Update using "doxygen -u" to get the
3775 latest parameters available. Use style.css.
3777 2001-04-27 Benjamin Kosnik <bkoz@redhat.com>
3779 * docs/doxygen/mainpage.doxy: New.
3780 * docs/doxygen/user.cfg.in: Change default configuration. Single
3781 frame, other tweaks.
3783 2001-04-26 Mark Mitchell <mark@codesourcery.com>
3785 * docs/html/17_intro/BADNAMES: Remove EGCS reference.
3786 Indicate obsolete nature of thelist for G++ 3.0.
3788 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
3790 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
3791 target_thread_file with `gcc -v'.
3792 * aclocal.m4, configure: Rebuilt.
3794 2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
3796 * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
3797 * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
3798 * include/c_std/bits/std_cwchar.h (std): Same.
3799 * acconfig.h (std): Remove c99 injection into std.
3800 * config.h.in: Regenerate.
3802 * testsuite/README: Fix typo.
3804 * include/bits/codecvt.h: Remove warnings.
3806 2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3808 * include/ext/slist: Include required header files.
3810 2001-04-23 Loren J. Rittle <ljrittle@acm.org>
3812 * include/c_std/bits/std_cerrno.h (errno): Define macro from
3813 identifier declared with external linkage, if needed.
3814 * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
3815 * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
3817 2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
3819 * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
3820 re-configures find the build compiler.
3821 (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
3823 * aclocal.m4: Regenerate.
3824 * configure: Regenerate.
3826 2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
3828 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
3829 support is enabled correctly before long long is activated.
3830 * aclocal.m4: Regenerate.
3831 * configure: Regenerate.
3833 * include/backward/backward_warning.h: Format correctly.
3835 * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
3836 * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
3837 * testsuite/26_numerics/c99_macros.cc: Remove.
3839 2001-04-20 Phil Edwards <pme@sources.redhat.com>
3841 * include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
3842 __iterator_category.
3844 2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
3846 * acconfig.h (_GLIBCPP_USE_C99): Add.
3847 * config.h.in: Regenerate.
3848 * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
3850 * aclocal.m4: Regenerate.
3851 * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
3852 * configure: Regenerate.
3853 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
3854 * configure: Regenerate.
3855 * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
3857 * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
3859 * include/c_std/bits/std_cstdlib.h: Same.
3860 * docs/html/configopts.html: Update.
3861 * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
3863 (test_c99_classify): Add.
3864 * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
3865 (_ISOC99_SOURCE): Remove.
3867 * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
3868 * include/bits/c++config (__STL_ASSERTIONS): Simplify.
3869 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
3870 * aclocal.m4: Regenerate.
3871 * configure: Regenerate.
3873 2001-04-19 Phil Edwards <pme@sources.redhat.com>
3875 * Makefile.am (doxygen): Assume script is missing execute perms.
3876 * Makefile.in: Regenerated.
3877 * docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
3879 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
3881 * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
3883 2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
3885 * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
3886 * testsuite/23_containers/set_operators.cc: Same.
3888 * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
3890 (__GLIBCPP__): Bump from value of last release.
3891 * include/bits/concept_check.h: Default to off, edit comments.
3892 * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
3893 * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
3894 * src/Makefile.in: Regenerate.
3896 2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE>
3898 * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
3899 Properly uglify member.
3901 2001-04-13 Phil Edwards <pme@sources.redhat.com>
3903 * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead
3907 2001-04-13 Phil Edwards <pme@sources.redhat.com>
3909 * include/bits/boost_concept_check.h: Uglify, fork from Boost.
3910 * include/bits/concept_check.h: Uglify.
3911 * include/bits/stl_algo.h: Likewise.
3912 * include/bits/stl_algobase.h: Likewise.
3913 * include/bits/stl_deque.h: Likewise.
3914 * include/bits/stl_heap.h: Likewise.
3915 * include/bits/stl_iterator_base_funcs.h: Likewise.
3916 * include/bits/stl_list.h: Likewise.
3917 * include/bits/stl_map.h: Likewise.
3918 * include/bits/stl_multimap.h: Likewise.
3919 * include/bits/stl_multiset.h: Likewise.
3920 * include/bits/stl_numeric.h: Likewise.
3921 * include/bits/stl_queue.h: Likewise.
3922 * include/bits/stl_set.h: Likewise.
3923 * include/bits/stl_stack.h: Likewise.
3924 * include/bits/stl_vector.h: Likewise.
3925 * include/ext/hash_map: Likewise.
3926 * include/ext/hash_set: Likewise.
3927 * include/ext/slist: Likewise.
3929 2001-04-13 Gabriel Dos Reis <gdr@codesourcery.com>
3931 * testsuite/23_containers/set_operators.cc: Just try to compile.
3933 * testsuite/23_containers/map_operators.cc: Same.
3935 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
3937 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
3939 (dg-test): Revert rth's change.
3941 2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
3943 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
3944 terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
3946 2001-04-12 Gabriel Dos Reis <gdr@codesourcery.com>
3948 * testsuite/README: Add DejaGnu specific documentation.
3950 2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
3952 * acinclude.m4: AC_CHECK_TOOL for expect.
3953 * aclocal.m4: Regenerate.
3954 * configure: Regenerate.
3955 * testsuite/Makefile.am (RUNTEST): Use substituted.
3958 * configure.in: Remove xcompiling substitution.
3959 * tests_flags.in (CROSS_LIB_PATH): Remove.
3960 (xcompiling): Remove.
3961 (CXX): Use substituted CXX.
3963 2001-04-11 Richard Henderson <rth@redhat.com>
3965 * testsuite/lib/libstdc++.exp: Specify path for output_file.
3967 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
3969 * include/bits/std_valarray.h(valarray<>::operator[]): Make
3972 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
3974 * testsuite/25_algorithms/equal.cc: New test.
3976 2001-04-06 Joe Buck <jbuck@welsh-buck.org>
3978 * stl_algobase.h (std::equal): avoid use of possibly-undefined
3979 operator != (one line patch).
3981 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
3983 * include/backward/backward_warning.h: Re-enable.
3985 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
3986 Alexandre Oliva <aoliva@redhat.com>
3988 * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
3990 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
3992 * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
3993 * testsuite/26_numerics/c99_macros.cc: Add test.
3995 2001-04-06 Phil Edwards <pme@sources.redhat.com>
3997 * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES.
3998 * docs/html/faq/index.txt: Regenerated.
4000 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
4002 * include/backward/backward_warning.h: Temporarily disable until
4003 g++ testsuite changes go in.
4004 * tests_flags.in (CROSS_LIB_PATH): Add.
4006 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
4008 Warn when using backward headers.
4009 * include/backward/algo.h: Include warning file.
4010 * include/backward/vector.h: Same.
4011 * include/backward/tree.h: Same.
4012 * include/backward/tempbuf.h: Same.
4013 * include/backward/strstream: Same.
4014 * include/backward/streambuf.h: Same.
4015 * include/backward/stream.h: Same.
4016 * include/backward/stack.h: Same.
4017 * include/backward/slist.h: Same.
4018 * include/backward/set.h: Same.
4019 * include/backward/rope.h:
4020 * include/backward/queue.h: Same.
4021 * include/backward/pair.h: Same.
4022 * include/backward/ostream.h: Same.
4023 * include/backward/new.h: Same.
4024 * include/backward/multiset.h: Same.
4025 * include/backward/multimap.h: Same.
4026 * include/backward/map.h: Same.
4027 * include/backward/list.h: Same.
4028 * include/backward/iterator.h: Same.
4029 * include/backward/istream.h: Same.
4030 * include/backward/iostream.h:
4031 * include/backward/iomanip.h:
4032 * include/backward/heap.h: Same.
4033 * include/backward/hashtable.h:
4034 * include/backward/hash_set.h:
4035 * include/backward/hash_map.h:
4036 * include/backward/function.h:
4037 * include/backward/fstream.h:
4038 * include/backward/deque.h:
4039 * include/backward/defalloc.h: Same.
4040 * include/backward/complex.h: Same.
4041 * include/backward/bvector.h:
4042 * include/backward/alloc.h:
4043 * include/backward/algobase.h: Same.
4045 * include/backward/backward_warning.h: New file.
4046 * src/Makefile.am (backward_headers): Add backward_warning.h
4047 * src/Makefile.in: Regenerate.
4049 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
4051 * src/Makefile.am (myinstalldirs): Make sure backward directory is
4053 (myinstallheaders): Install backward headers in backward directory.
4054 * src/Makefile.in: Regenerate.
4056 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
4058 Prepare for libstdc++-2.92.
4059 * docs/html/17_intro/RELEASE-NOTES (New): Update.
4060 * docs/html/configopts.html: Fix formatting.
4061 * README (file): Updates.
4062 * include/bits/c++config (__GLIBCPP__): Update.
4064 2001-04-05 Phil Edwards <pme@sources.redhat.com>
4066 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
4068 2001-04-04 Phil Edwards <pme@sources.redhat.com>
4070 * docs/doxygen/user.cfg.in: Extract all non-private members;
4071 reduce confusing documentation output.
4073 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
4075 * include/backward/fstream.h: Add missing semicolons.
4077 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
4079 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
4080 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
4081 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
4082 (ios_base::Init::_S_ios_create): New.
4083 (ios_base::Init::_S_ios_destroy): New.
4084 * include/bits/std_fstream.h: Change ctor args.
4085 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
4086 (ios_base::Init::~Init): Use _S_ios_destroy.
4087 (ios_base::sync_with_stdio): Use new members.
4088 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
4091 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4093 * include/backward/fstream.h: Expose streampos to global
4096 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4098 * include/bits/stl_iterator_base_types.h: Fix typo
4100 2001-04-03 Andreas Schwab <schwab@suse.de>
4102 * include/backward/fstream.h: Define filebuf and wfilebuf.
4104 2001-04-02 Phil Edwards <pme@sources.redhat.com>
4106 New concept checking implementation.
4107 * docs/html/19_diagnostics/howto.html: Document.
4108 * docs/html/17_intro/concept_check.diff: New file, for reference.
4109 * include/bits/boost_concept_check.h: New file from Boost.
4110 * include/bits/c++config: Update comments.
4112 * include/bits/concept_check.h: New file.
4113 * include/bits/concept_checks.h: Removed.
4114 * include/bits/container_concepts.h: Removed.
4115 * include/bits/sequence_concepts.h: Removed.
4116 * include/bits/stl_iterator_base.h: Removed; split into...
4117 * include/bits/stl_iterator_base_funcs.h: ...this new file...
4118 * include/bits/stl_iterator_base_types.h: ...and this new file.
4120 * include/bits/sbuf_iter.h: Update to use new implementation.
4121 * include/bits/std_iterator.h: Likewise.
4122 * include/bits/std_memory.h: Likewise.
4123 * include/bits/stl_algo.h: Likewise.
4124 * include/bits/stl_algobase.h: Likewise.
4125 * include/bits/stl_construct.h: Likewise.
4126 * include/bits/stl_deque.h: Likewise.
4127 * include/bits/stl_heap.h: Likewise.
4128 * include/bits/stl_list.h: Likewise.
4129 * include/bits/stl_map.h: Likewise.
4130 * include/bits/stl_multimap.h: Likewise.
4131 * include/bits/stl_multiset.h: Likewise.
4132 * include/bits/stl_numeric.h: Likewise.
4133 * include/bits/stl_queue.h: Likewise.
4134 * include/bits/stl_set.h: Likewise.
4135 * include/bits/stl_stack.h: Likewise.
4136 * include/bits/stl_uninitialized.h: Likewise.
4137 * include/bits/stl_vector.h: Likewise.
4138 * include/ext/hash_map: Likewise.
4139 * include/ext/hash_set: Likewise.
4140 * include/ext/slist: Likewise.
4141 * include/ext/stl_hashtable.h: Likewise.
4143 * src/Makefile.am (base_headers): Update list of headers.
4144 * Makefile.in: Regenerated.
4145 * src/Makefile.in: Regenerated.
4146 * libio/Makefile.in: Regenerated.
4147 * libmath/Makefile.in: Regenerated.
4148 * libsupc++/Makefile.in: Regenerated.
4149 * testsuite/Makefile.in: Regenerated.
4151 * docs/html/install.html: Update contact information.
4152 * docs/html/17_intro/howto.html: Ditto.
4153 * docs/html/18_support/howto.html: Ditto.
4154 * docs/html/20_util/howto.html: Ditto.
4155 * docs/html/21_strings/howto.html: Ditto.
4156 * docs/html/22_locale/howto.html: Ditto.
4157 * docs/html/23_containers/howto.html: Ditto.
4158 * docs/html/24_iterators/howto.html: Ditto.
4159 * docs/html/25_algorithms/howto.html: Ditto.
4160 * docs/html/26_numerics/howto.html: Ditto.
4161 * docs/html/27_io/howto.html: Ditto.
4162 * docs/html/faq/index.html: Ditto, plus info on new checking code.
4163 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
4164 * docs/html/faq/index.txt: Regenerated.
4166 2001-04-02 Zack Weinberg <zackw@stanford.edu>
4168 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
4169 messages with $which_library as well as $tool_flags and
4170 ${dg-extra-tool-flags}. Factor out annotation text into
4173 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
4175 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
4176 * include/c_std/bits/std_cwchar.h: Same.
4177 * testsuite/21_strings/c_strings.cc: Add.
4179 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
4181 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
4183 2001-04-01 Zack Weinberg <zackw@stanford.edu>
4185 * tests_flags.in: Use test a = b, not test a == b which is not
4188 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
4190 * configure.target: Remove duplicate aix entry.
4192 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
4194 * include/ext/stl_bvector.h: Move to...
4195 * include/bits/stl_vector.h: ...here.
4196 * include/ext/bvector: Move to...
4197 * include/backward/bvector.h: ...here.
4198 * include/bits/std_vector.h: Change stl_bvector include.
4199 * include/bits/std_queue.h: Remove bvector include.
4200 * include/ext/tree: Insert using rb_tree, move to...
4201 * include/backward/tree.h: ...here.
4202 * include/backward/hash_map.h: Include ext/hash_map.
4203 * include/backward/hash_set.h: Include ext/hash_set.
4204 * include/backward/queue.h: New file.
4205 * include/backward/stack.h: Edit.
4206 * include/backward/algo.h: Same.
4207 * include/backward/algobase.h: Same.
4208 * include/backward/alloc.h: Same.
4209 * include/backward/function.h: Same.
4210 * include/backward/iomanip.h: Same.
4211 * include/backward/istream.h: Same.
4212 * include/backward/iterator.h: Same.
4213 * include/backward/list.h: Same.
4214 * include/backward/map.h: Same.
4215 * include/backward/multimap.h: Same.
4216 * include/backward/multiset.h: Same.
4217 * include/backward/ostream.h: Same.
4218 * include/backward/pair.h: Same
4219 * include/backward/rope.h: Same.
4220 * include/backward/set.h: Same.
4221 * include/backward/stream.h: Same.
4222 * include/backward/strstream.h: Same.
4223 * include/backward/tempbuf.h: Same.
4224 * src/Makefile.am (ext_headers): Edit.
4225 * src/Makefile.in: Regenerate.
4226 * testsuite/ext/headers.cc (main): Fix.
4229 2001-03-30 Phil Edwards <pme@sources.redhat.com>
4231 * tests_flags.in (LIBS): Pass correct path for installed testing.
4233 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
4235 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
4236 * tests_flags.in (CXX): Construct here.
4237 (static_fail): Don't remove compile.out. Format with spaces.
4238 (INCLUDES): Deal with xcompiling.
4239 * configure.in (xcompiling): Substitute.
4240 * testsuite/Makefile.am: Snake libjava configury.
4241 * testsuite/Makefile.in: Regenerate.
4242 * testsuite/23_containers/map_operators.cc: Tweaks.
4243 * testsuite/23_containers/set_operators.cc: Tweaks.
4245 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4247 Enable dejagnu testing framework.
4248 * configure.in: Generate testsuite/Makefile.
4249 * configure: Regenerate.
4250 * Makefile.am (check-install): Change rule from this...
4251 (check-script-install): ...to this.
4252 (check): Change rule from this...
4253 (check-script):...to this.
4254 * Makefile.in: Regenerate.
4256 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
4258 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
4260 (LIBTOOL): Let automake take care of its definition.
4261 * libsupc++/Makefile.in: Rebuilt.
4263 2001-03-28 Richard Henderson <rth@redhat.com>
4265 IA-64 ABI Exception Handling:
4266 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
4267 * configure.in: Use it.
4268 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
4269 * libsupc++/Makefile.am (sources): Update files list.
4270 * libsupc++/Makefile.in: Regenerate.
4271 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
4272 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
4273 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
4274 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
4275 * libsupc++/exception_support.cc: Remove.
4276 * libsupc++/exception_support.h: Remove.
4277 * libsupc++/pure.cc: Use std::terminate.
4278 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
4279 (__is_pointer): Remove.
4280 * libsupc++/unwind-cxx.h: New file.
4281 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
4283 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
4285 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
4287 * src/Makefile.am (CXXLINK): Likewise.
4288 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
4290 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
4292 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
4294 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4296 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
4299 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
4301 * include/bits/basic_file.h (get_fileno): Remove.
4302 (_M_fileno): Remove.
4303 (_M_cfile_created): Add.
4304 (basic_file::basic_file(__c_file_type*, openmode): Add.
4305 (basic_file::basic_file(int, const char*, openmode): Remove.
4306 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
4307 const char*, ios_base::openmode): Don't allocate
4308 internal buffers. Turn off internal buffers.
4309 (basic_filebuf::overflow): Remove test for null buffer.
4310 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
4311 * include/bits/streambuf.cc: Tweak.
4312 * include/bits/std_ostream.h: Tweak.
4313 * config/basic_file_libio.h: Same.
4314 * config/basic_file_stdio.h: Same.
4315 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
4316 * testsuite/27_io/filebuf_members.cc: Tweaks.
4317 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
4319 2001-03-24 Phil Edwards <pme@sources.redhat.com>
4321 * Makefile.am: New targets, doxygen and doxygen-maint.
4322 * Makefile.in: Regenerated.
4323 * docs/doxygen/run_doxygen: Finally implemented.
4324 * docs/doxygen/maint.cfg.in: New file.
4325 * docs/doxygen/user.cfg.in: New file.
4327 2001-03-24 Phil Edwards <pme@sources.redhat.com>
4329 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
4330 * src/Makefile.am: Replace leading spaces with tabs on continuation
4332 * aclocal.m4: Regenerated.
4334 * Makefile.in: Ditto.
4335 * src/Makefile.in: Ditto.
4336 * libio/Makefile.in: Ditto.
4337 * libmath/Makefile.in: Ditto.
4338 * libsupc++/Makefile.in: Ditto.
4340 2001-03-24 Phil Edwards <pme@sources.redhat.com>
4342 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
4343 concept-checking code and current status of same.
4344 * docs/html/ext/howto.html: Ditto.
4345 * docs/html/faq/index.html: Ditto.
4346 * docs/html/faq/index.txt: Regenerated.
4348 2001-03-24 Phil Edwards <pme@sources.redhat.com>
4350 * include/bits/std_bitset.h: Include ostream and istream headers
4351 instead of iostream.
4353 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
4355 * include/bits/ostream.tcc: Use __builtin_alloca.
4357 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
4359 * src/misc-inst.cc (__sink_unused_warning): Move to...
4360 * src/locale-inst.cc (__sink_unused_warning): Move to...
4361 * src/stl-inst.cc: Here.
4362 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
4365 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
4367 * intclude/bits/basic_file.h: Fix typos in comments.
4369 2001-03-20 Richard Henderson <rth@redhat.com>
4371 * src/gen-num-limits.cc: Instantiate for wchar_t.
4372 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
4374 2001-03-20 Jason Merrill <jason@redhat.com>
4376 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
4377 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
4378 * libsupc++/cxxabi.h: Declare it.
4380 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
4382 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
4383 signal_func with an unspecified argument list.
4385 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
4387 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
4389 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4391 * include/bits/basic_string.tcc (operator+): Fix thinko.
4393 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
4396 * include/bits/std_streambuf.h: Remove cached locale facets.
4397 (basic_streambuf::_M_buf_fctype): Remove.
4398 (basic_streambuf::~basic_streambuf): Remove here.
4399 (basic_streambuf::basic_streambuf): Same.
4400 (basic_streambuf::imbue): Same.
4401 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
4402 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
4403 (basic_filebuf::~basic_filebuf()): Remove here.
4404 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
4405 (basic_filebuf::imbue): Same.
4406 * include/bits/localefwd.h (_Count_ones): Remove.
4407 (locale::_S_num_categories): Just use 6, since this doesn't
4408 actually change, ever.
4409 * include/bits/locale_facets.tcc (has_facet): Simplify.
4411 * testsuite/27_io/filebuf.cc (test06): Add tests.
4413 2001-03-13 Steve Ellcey <sje@cup.hp.com>
4415 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
4416 match HP-UX ctype.h header file.
4418 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
4420 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
4421 duplicate definitions of __dj_ctype_*
4423 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
4425 * libsupc++/new: Remove pragma interface.
4426 * libsupc++/typeinfo: Same.
4427 * libsupc++/exception: Same.
4428 * libsupc++/new_handler.cc: Remove pragma implementation.
4429 (bad_alloc::~bad_alloc()): Add.
4430 * libsupc++/exception_support.cc: Same.
4431 (exception::~exception): Add.
4432 (bad_exception::~bad_exception): Add.
4433 * libsupc++/tinfo.cc: Same.
4434 (bad_cast::~bad_cast): Add.
4435 (bad_typeid::~bad_typeid): Add.
4437 2001-03-13 Phil Edwards <pme@sources.redhat.com>
4439 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
4441 2001-03-12 Felix Lee <flee@redhat.com>
4443 * mkcheck.in: workaround for bash 2.01 IFS bug.
4445 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
4447 Fixups for -fno-for-scope
4448 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
4449 * src/valarray-inst.cc (__gslice_to_index): Same.
4451 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
4453 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
4454 prior to trapping signal (UnixWare 7 workaround).
4456 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
4458 * include/backward/hashtable.h: Same.
4459 * include/backward/rope.h: Fix include.
4461 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
4463 * include/backward/vector.h: Include std_vector.h.
4465 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
4466 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
4469 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4471 * include/ext/stl_hashtable.h: Change type of __n to size_t
4472 * include/backward/bvector.h: Include <ext/stl_bvector.h>
4474 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4476 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
4477 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
4478 Use streamsize, not int_type.
4480 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
4482 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
4485 2001-03-08 Andreas Schwab <schwab@suse.de>
4487 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
4489 * aclocal.m4, configure: Regenerated.
4491 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
4493 * include/bits/std_iosfwd.h: Remove string forward decls here.
4494 * include/bits/stringfwd.h: Add forward decls for char_traits
4496 * config/c_io_libio.h (wstreamoff): Delete.
4497 * config/c_io_stdio.h (wstreamoff): Same.
4498 * include/bits/char_traits.h: Use streamoff not wstreamoff for
4499 char_traits<wchar_t>::off_type.
4500 Remove duplicate typedefs.
4501 * include/bits/fpos.h: Define streampos/wstreampos here.
4502 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
4505 Changeup output files.
4506 * testsuite/27_io/istream_unformatted.cc: Change output files.
4507 * testsuite/27_io/istream_seeks-1.txt: Add.
4508 * testsuite/27_io/istream_seeks-2.tst: Add.
4509 * testsuite/27_io/istream_seeks-1.tst: Add.
4510 * testsuite/27_io/istream_unformatted-2.tst: Delete.
4511 * testsuite/27_io/istream_unformatted-3.tst: Delete.
4512 * testsuite/27_io/istream_unformatted-3.txt: Delete.
4514 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
4516 Add Irix 5.2, 6.3 support.
4517 * config/os/irix/bits: Renamed to...
4518 * config/os/irix/irix6.5/bits: this.
4519 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
4520 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
4521 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
4522 * config/os/irix/irix5.2/bits/ctype_noninline.h
4523 (ctype<char>::ctype): Initialize _M_table with __ctype.
4524 * configure.target: Adjust.
4526 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
4529 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
4530 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
4532 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
4533 (*__pf)(__ios_type&)): Same.
4534 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
4535 (*__pf)(ios_base&))): Same.
4536 * testsuite/27_io/istream_extractor_other.cc: Add tests.
4537 * testsuite/27_io/istream_manip.cc (test01): Fix.
4539 2001-03-06 Nathan Myers <ncm@cantrip.org>
4540 Benjamin Kosnik <bkoz@redhat.com>
4542 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
4543 * testsuite/17_intro/header_cerrno.cc (test01): New file.
4544 * testsuite/17_intro/header_cassert.cc (test01): New file.
4545 * testsuite/17_intro/header_cstddef.cc (test01): New file.
4546 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
4547 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
4549 2001-03-05 scott snyder <snyder@fnal.gov>
4552 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
4554 * include/c_std/bits/std_cstdlib.h: ... to here.
4555 * testsuite/17_intro/header_cstdlib.cc: Add test.
4557 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
4559 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
4561 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
4563 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
4564 definition. Replace enum with static const variables.
4566 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
4567 throw specification, fix typos, use <static_cast>.
4568 (ctype<char>::scan_is): remove throw specification.
4569 (ctype<char>::scan_not): likewise.
4571 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
4572 (ctype<char>::do_toupper(char)): use <static_cast>.
4573 (ctype<char>::do_toupper(char *, const char *)): likewise.
4574 (ctype<char>::do_tolower(char)): likewise.
4575 (ctype<char>::do_tolower(char *, const char *)): likewise.
4577 2001-03-04 Phil Edwards <pme@sources.redhat.com>
4579 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
4580 * include/backward/algo.h: Use std not __STD. Remove unneeded
4581 macros and "never happens" code. Adjust to C++STYLE guidelines.
4582 * include/backward/algobase.h: Likewise.
4583 * include/backward/alloc.h: Likewise.
4584 * include/backward/bvector.h: Likewise.
4585 * include/backward/deque.h: Likewise.
4586 * include/backward/function.h: Likewise.
4587 * include/backward/hash_map.h: Likewise.
4588 * include/backward/hash_set.h: Likewise.
4589 * include/backward/hashtable.h: Likewise.
4590 * include/backward/heap.h: Likewise.
4591 * include/backward/iterator.h: Likewise.
4592 * include/backward/list.h: Likewise.
4593 * include/backward/map.h: Likewise.
4594 * include/backward/multimap.h: Likewise.
4595 * include/backward/multiset.h: Likewise.
4596 * include/backward/pair.h: Likewise.
4597 * include/backward/rope.h: Likewise.
4598 * include/backward/set.h: Likewise.
4599 * include/backward/slist.h: Likewise.
4600 * include/backward/stack.h: Likewise.
4601 * include/backward/strstream: Likewise.
4602 * include/backward/tempbuf.h: Likewise.
4603 * include/backward/tree.h: Likewise.
4604 * include/backward/vector.h: Likewise.
4605 * include/bits/basic_ios.h: Likewise.
4606 * include/bits/basic_ios.tcc: Likewise.
4607 * include/bits/basic_string.h: Likewise.
4608 * include/bits/c++config: Likewise.
4609 * include/bits/concept_checks.h: Likewise.
4610 * include/bits/fpos.h: Likewise.
4611 * include/bits/fstream.tcc: Likewise.
4612 * include/bits/functexcept.h: Likewise.
4613 * include/bits/ios_base.h: Likewise.
4614 * include/bits/istream.tcc: Likewise.
4615 * include/bits/mask_array.h: Likewise.
4616 * include/bits/ostream.tcc: Likewise.
4617 * include/bits/pthread_allocimpl.h: Likewise.
4618 * include/bits/sbuf_iter.h: Likewise.
4619 * include/bits/slice.h: Likewise.
4620 * include/bits/slice_array.h: Likewise.
4621 * include/bits/sstream.tcc: Likewise.
4622 * include/bits/std_bitset.h: Likewise.
4623 * include/bits/std_fstream.h: Likewise.
4624 * include/bits/std_iomanip.h: Likewise.
4625 * include/bits/std_ios.h: Likewise.
4626 * include/bits/std_istream.h: Likewise.
4627 * include/bits/std_iterator.h: Likewise.
4628 * include/bits/std_memory.h: Likewise.
4629 * include/bits/std_ostream.h: Likewise.
4630 * include/bits/std_sstream.h: Likewise.
4631 * include/bits/std_streambuf.h: Likewise.
4632 * include/bits/std_string.h: Likewise.
4633 * include/bits/std_valarray.h: Likewise.
4634 * include/bits/stl_algo.h: Likewise.
4635 * include/bits/stl_algobase.h: Likewise.
4636 * include/bits/stl_alloc.h: Likewise.
4637 * include/bits/stl_construct.h: Likewise.
4638 * include/bits/stl_deque.h: Likewise.
4639 * include/bits/stl_function.h: Likewise.
4640 * include/bits/stl_heap.h: Likewise.
4641 * include/bits/stl_iterator.h: Likewise.
4642 * include/bits/stl_iterator_base.h: Likewise.
4643 * include/bits/stl_list.h: Likewise.
4644 * include/bits/stl_map.h: Likewise.
4645 * include/bits/stl_multimap.h: Likewise.
4646 * include/bits/stl_multiset.h: Likewise.
4647 * include/bits/stl_numeric.h: Likewise.
4648 * include/bits/stl_pair.h: Likewise.
4649 * include/bits/stl_pthread_alloc.h: Likewise.
4650 * include/bits/stl_queue.h: Likewise.
4651 * include/bits/stl_raw_storage_iter.h: Likewise.
4652 * include/bits/stl_relops.h: Likewise.
4653 * include/bits/stl_set.h: Likewise.
4654 * include/bits/stl_stack.h: Likewise.
4655 * include/bits/stl_tempbuf.h: Likewise.
4656 * include/bits/stl_threads.h: Likewise.
4657 * include/bits/stl_tree.h: Likewise.
4658 * include/bits/stl_uninitialized.h: Likewise.
4659 * include/bits/stl_vector.h: Likewise.
4660 * include/bits/streambuf.tcc: Likewise.
4661 * include/bits/type_traits.h: Likewise.
4662 * include/bits/valarray_meta.h: Likewise.
4663 * include/ext/bvector: Likewise.
4664 * include/ext/hash_map: Likewise.
4665 * include/ext/hash_set: Likewise.
4666 * include/ext/ropeimpl.h: Likewise.
4667 * include/ext/slist: Likewise.
4668 * include/ext/stl_bvector.h: Likewise.
4669 * include/ext/stl_hash_fun.h: Likewise.
4670 * include/ext/stl_hashtable.h: Likewise.
4671 * include/ext/stl_rope.h: Likewise.
4672 * src/complex_io.cc: Likewise.
4673 * src/ios.cc: Likewise.
4674 * src/locale-inst.cc: Likewise.
4675 * src/locale.cc: Likewise.
4676 * src/localename.cc: Likewise.
4677 * src/misc-inst.cc: Likewise.
4678 * src/stdexcept.cc: Likewise.
4679 * src/stl-inst.cc: Likewise.
4680 * src/strstream.cc: Likewise.
4681 * src/valarray-inst.cc: Likewise.
4683 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
4685 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
4687 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4689 * include/bits/istream.tcc: change type of __extracted to __size_type
4691 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
4693 * src/wstring-inst.cc: New file.
4694 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
4695 (libinst_wstring_la_SOURCES): Remove.
4696 (libstdc___la_LIBADD): Remove libinst_wstring_la.
4697 (sources): Add wstring-inst.cc
4698 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
4701 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4703 * src/locale.cc: initialise __ret with zero
4704 * src/strstream.cc:cast gptr to int_type
4706 2001-03-01 Phil Edwards <pme@sources.redhat.com>
4708 * docs/html/faq/index.html: Update broken links.
4709 * docs/html/faq/index.txt: Regenerated.
4711 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
4714 * configure.target: Change irix* to irix6.5* in target_os table.
4716 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
4719 * include/bits/c++config (__GLIBCPP__): Bump number in
4720 anticipation of 2.92.
4722 * include/bits/codecvt.h: Fix typo.
4723 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
4725 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
4726 instantiations for stdio model.
4728 2001-02-28 Phil Edwards <pme@sources.redhat.com>
4730 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
4731 and GLIBCPP_CXXFLAGS as unused variables.
4732 * configure.host: Likewise.
4733 * configure.target: Likewise.
4734 * aclocal.m4: Regenerated.
4735 * configure: Regenerated.
4736 * Makefile.in: Regenerated.
4737 * libio/Makefile.in: Regenerated.
4738 * libmath/Makefile.in: Regenerated.
4739 * libsupc++/Makefile.in: Regenerated.
4740 * src/Makefile.in: Regenerated.
4742 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
4745 * include/bits/basic_file.h: Include basic_file_model.h.
4746 * config/c_io_libio.cc: Move to...
4747 * config/basic_file_libio.cc: Here.
4748 * config/basic_file_libio.h: New file.
4749 * config/c_io_stdio.cc: Move to...
4750 * config/basic_file_stdio.cc: Here.
4751 * config/basic_file_stdio.h: New file.
4752 * config/c_io_libio.h: Tweak.
4753 * config/c_io_stdio.h: Tweak.
4754 * src/Makefile.am (build_headers): Add basic_file_model.h.
4755 (sources): Add basic_file.cc, remove c++io.cc.
4756 * src/Makefile.in: Regenerate.
4757 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
4758 basic_file_model.h and basic_file.cc.
4759 * aclocal.m4: Regenerate.
4760 * configure: Regenerate.
4761 * testsuite/27_io/filebuf.cc (test05): Add regression.
4763 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
4766 * config/cpu/alpha/bits/atomicity.h: Change.
4767 * config/cpu/arm/bits/atomicit3y.h
4768 * config/cpu/generic/bits/atomicity.h
4769 * config/cpu/i386/bits/atomicity.h
4770 * config/cpu/i486/bits/atomicity.h
4771 * config/cpu/ia64/bits/atomicity.h
4772 * config/cpu/powerpc/bits/atomicity.h
4773 * config/cpu/sparc/sparc32/bits/atomicity.h
4774 * config/cpu/sparc/sparc64/bits/atomicity.h
4775 * config/os/aix/bits/atomicity.h
4776 * config/os/irix/bits/atomicity.h
4778 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
4780 * include/bits/std_stdexcept.h (runtime_error): Make string
4782 (logic_error): Same.
4783 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
4786 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
4790 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
4791 string object, not reference.
4792 (runtime_error::runtime_error): Same.
4793 * testsuite/19_diagnostics/stdexceptions.cc: New file.
4795 2001-02-26 Phil Edwards <pme@sources.redhat.com>
4797 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
4798 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
4799 diagnostics. Remove WFMT_FLAGS.
4800 * configure.in: Replace WFMT_FLAGS with diagnostics options.
4801 * libsupc++/Makefile.am: Likewise.
4802 * src/Makefile.am: Likewise.
4803 * aclocal.m4: Regenerated.
4804 * configure: Regenerated.
4805 * Makefile.in: Regenerated.
4806 * libio/Makefile.in: Regenerated.
4807 * libmath/Makefile.in: Regenerated.
4808 * libsupc++/Makefile.in: Regenerated.
4809 * src/Makefile.in: Regenerated.
4811 2001-02-26 Phil Edwards <pme@sources.redhat.com>
4813 Fixes libstdc++/2079
4814 * include/backward/iomanip.h: Expose <ios> manipulators to global
4816 * include/backward/iostream.h: Also expose std::ws.
4818 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
4820 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
4822 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
4824 * include/bits/codecvt.h: Use __builtin_alloca.
4825 * include/bits/ostream.tcc: Same.
4826 * include/bits/fstream.tcc: Same.
4828 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
4830 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
4832 2001-02-23 David Edelsohn <dje@watson.ibm.com>
4834 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
4836 2001-02-23 Phil Edwards <pme@sources.redhat.com>
4839 * include/backward/iostream.h: Expose std::flush in old headers.
4841 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4843 * mknumeric_limits: Remove special-casing on target. Use gcc
4844 instead of g++ to build gen-num-limits.cc
4846 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
4848 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
4850 * include/bits/codecvt.h: Use alloca instead of __extension__ for
4852 * include/bits/ostream.tcc: Same.
4853 * include/bits/std_ostream.h: Same.
4854 * include/bits/fstream.tcc: Same.
4855 * include/bits/locale_facets.tcc: Add typename.
4856 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
4858 2001-02-21 Phil Edwards <pme@sources.redhat.com>
4860 * tests_flags.in: Remove -n flag from call to echo.
4862 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
4864 * config/c_locale_gnu.h: Add clocale include.
4866 2001-02-20 Phil Edwards <pme@sources.redhat.com>
4868 * include/bits/stl_config.h: Remove file.
4869 * src/Makefile.am (base_headers): Remove from list.
4870 * configure: Regenerate.
4871 * Makefile.in: Ditto.
4872 * libio/Makefile.in: Ditto.
4873 * libmath/Makefile.in: Ditto.
4874 * libsupc++/Makefile.in: Ditto.
4875 * src/Makefile.in: Ditto.
4877 * include/bits/c++config: Move relevant macros to here.
4878 * include/backward/alloc.h: Include c++config.h instead.
4879 * include/backward/function.h: Ditto.
4880 * include/backward/heap.h: Ditto.
4881 * include/backward/pair.h: Ditto.
4882 * include/bits/pthread_allocimpl.h: Ditto.
4883 * include/bits/std_functional.h: Ditto.
4884 * include/bits/std_iterator.h: Ditto.
4885 * include/bits/std_numeric.h: Ditto.
4886 * include/bits/std_utility.h: Ditto.
4887 * include/bits/stl_algobase.h: Ditto.
4888 * include/bits/type_traits.h: Ditto.
4889 * src/stl-inst.cc: Ditto.
4891 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4893 * include/bits/basic_file.h: Add #pragma system_header
4894 * include/bits/basic_ios.h: Ditto.
4895 * include/bits/basic_string.h: Ditto.
4896 * include/bits/char_traits.h: Ditto.
4897 * include/bits/codecvt.h: Ditto.
4898 * include/bits/cpp_type_traits.h: Ditto.
4899 * include/bits/fpos.h: Ditto.
4900 * include/bits/gslice.h: Ditto.
4901 * include/bits/gslice_array.h: Ditto.
4902 * include/bits/indirect_array.h: Ditto.
4903 * include/bits/ios_base.h: Ditto.
4904 * include/bits/limits_generic.h: Ditto.
4905 * include/bits/locale_facets.h: Ditto.
4906 * include/bits/localefwd.h: Ditto.
4907 * include/bits/mask_array.h: Ditto.
4908 * include/bits/sbuf_iter.h: Ditto.
4909 * include/bits/sequence_concepts.h: Ditto.
4910 * include/bits/slice.h: Ditto.
4911 * include/bits/slice_array.h: Ditto.
4912 * include/bits/std_algorithm.h: Likewise.
4913 * include/bits/std_bitset.h: Likewise.
4914 * include/bits/std_complex.h: Likewise.
4915 * include/bits/std_deque.h: Likewise.
4916 * include/bits/std_fstream.h: Likewise.
4917 * include/bits/std_functional.h: Likewise.
4918 * include/bits/std_iomanip.h: Likewise.
4919 * include/bits/std_ios.h: Likewise.
4920 * include/bits/std_iosfwd.h: Likewise.
4921 * include/bits/std_iostream.h: Likewise.
4922 * include/bits/std_istream.h: Likewise.
4923 * include/bits/std_iterator.h: Likewise.
4924 * include/bits/std_list.h: Likewise.
4925 * include/bits/std_locale.h: Likewise.
4926 * include/bits/std_map.h: Likewise.
4927 * include/bits/std_memory.h: Likewise.
4928 * include/bits/std_numeric.h: Likewise.
4929 * include/bits/std_ostream.h: Likewise.
4930 * include/bits/std_queue.h: Likewise.
4931 * include/bits/std_set.h: Likewise.
4932 * include/bits/std_sstream.h: Likewise.
4933 * include/bits/std_stack.h: Likewise.
4934 * include/bits/std_stdexcept.h: Likewise.
4935 * include/bits/std_streambuf.h: Likewise.
4936 * include/bits/std_string.h: Likewise.
4937 * include/bits/std_utility.h: Likewise.
4938 * include/bits/std_valarray.h: Likewise.
4939 * include/bits/std_vector.h: Likewise.
4940 * include/bits/stringfwd.h: Likewise.
4941 * include/bits/type_traits.h: Likewise.
4942 * include/bits/valarray_array.h: Likewise.
4943 * include/bits/valarray_meta.h: Likewise.
4945 2001-02-19 Andreas Jaeger <aj@suse.de>
4947 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
4950 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
4953 * include/bits/std_ostream.h: Replaced usage of
4954 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
4955 * include/bits/char_traits.h: Removed non-standard
4956 methods that cannot be used elsewhere.
4959 * include/bits/basic_ios.h: Uncommented #include of
4963 * include/bits/codecvt.h: See next...
4964 * include/bits/fstream.tcc: See next...
4965 * include/bits/ostream.tcc: Add __extension__
4966 to variable-length arrays.
4969 * include/bits/localefwd.h: Changed int counter type to size_t.
4972 * include/bits/std_fstream.h: Added typedef for __ctype_type.
4974 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
4976 * testsuite/21_strings/char_traits.cc: Move to ...
4977 * testsuite/21_strings/char_traits_requirements.cc: ..here.
4978 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
4979 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
4981 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
4983 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
4986 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
4988 * include/bits/c++config: Revert.
4990 2001-02-15 Mark Mitchell <mark@codesourcery.com>
4992 * include/bits/istream.tcc: Use ios_base::iostate in place of
4993 iostate throughout. Insert `typename' keyword where necessary.
4994 * include/bits/ostream.tcc: Insert `typename' keyword where
4997 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
4999 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
5000 Define so library is compliant.
5002 2001-02-15 Anthony Green <green@redhat.com>
5004 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
5006 * aclocal.m4: Regenerate.
5007 * configure: Regenerate.
5009 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
5011 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
5012 Include ieeefp.h for fpclass on UnixWare{2,7}.
5013 * aclocal.m4: Regenerate.
5014 * configure: Regenerate.
5015 * mkcheck.in (size_command): Do without GNU-grep when using
5018 2001-02-15 Mark Mitchell <mark@codesourcery.com>
5020 Remove old ABI support from libsupc++.
5021 * libsupc++/cxxabi.h: Remove conditionally compiled code.
5022 * libsupc++/exception_support.cc: Likewise.
5023 * libsupc++/pure.cc: Likewise.
5024 * libsupc++/tinfo.cc: Likewise.
5025 * libsupc++/tinfo.h: Likewise.
5026 * libsupc++/tinfo2.cc: Likewise.
5027 * libsupc++/typeinfo: Likewise.
5028 * libsupc++/vec.cc: Likewise.
5030 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
5032 Add support for -fno-exceptions.
5033 * include/bits/exception_support.h: Remove.
5034 * include/bits/basic_string.h: Remove exception_support.
5035 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
5037 (string::substr): Same.
5038 * include/bits/basic_string.tcc (string::reserve): Replace
5039 __LENGTHERROR with __throw_length_error.
5040 (string::_S_create): Same.
5041 (string::resize): Same.
5042 (string::_M_replace): Same.
5043 (string::replace): Same.
5044 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
5045 (string::compare): Same.
5046 * include/bits/stl_vector.h: Remove exception_support.
5047 * src/Makefile.am (base_headers): Remove here.
5048 * src/Makefile.in: Regenerate.
5050 * include/bits/stl_range_errors.h: Remove.
5051 * include/bits/stl_deque.h: Use __throw_range_error.
5052 * include/bits/std_deque.h: Include functexcept.h.
5053 * include/bits/std_vector.h: Same.
5054 * src/Makefile.am (base_headers): Remove here.
5055 * src/Makefile.in: Regenerate.
5056 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
5057 * include/ext/bvector: Remove stl_range_errors.h
5059 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
5061 * include/bits/functexcept.h: New file.
5062 * src/functexcept.cc: New file. Definitions for function-based
5064 * src/Makefile.am (sources): Add functexcept.cc.
5065 * src/Makefile.in: Regenerate.
5067 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
5070 * include/bits/localefwd.h: Include functexcept.h.
5071 * include/bits/std_iosfwd.h: Same.
5073 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
5074 throw basic_ios::failure.
5075 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
5076 Use __throw_exception_again.
5077 (filebuf::_M_filebuf_init): Same.
5078 * include/bits/streambuf.tcc (__copy_streambufs): Same.
5079 * include/bits/ostream.tcc (ostream::operator<<): Same.
5080 * include/bits/istream.tcc (istream::operator>>): Same.
5081 * include/bits/basic_string.tcc (string::_M_mutate): Same.
5082 (string::_S_construct): Same.
5083 (string::_M_clone): Same.
5084 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
5086 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
5087 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
5088 __throw_exception_again.
5089 (locale::_Imp::_Imp(string, size_t): Same.
5090 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
5091 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
5092 (locale::locale(const char*)): Use __throw_runtime_error.
5093 (locale::classic): Use __throw_exception_again.
5094 (locale::_S_normalize_category): Use __throw_runtime_error.
5096 * src/stdexcept.cc: Remove cruft.
5098 * libsupc++/exception_defines.h: New file.
5099 * libsupc++/new_opnt.cc: Include exception_defines.h.
5100 * libsupc++/vec.cc: Same.
5101 (__cxa_vec_new2): Use __throw_exception_again.
5102 (__cxa_vec_new3): Same.
5103 (__cxa_vec_ctor): Same.
5104 (__cxa_vec_delete3): Same.
5105 (__cxa_vec_cctor): Same.
5106 (__cxa_vec_delete2): Same.
5107 (__cxa_vec_dtor): Same.
5108 * libsupc++/exception_support.cc: Include exception_defines.h. Only
5109 compile exception-handling bits if __EXCEPTIONS is defined.
5110 Remove old ABI support.
5111 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
5112 std::__throw_bad_alloc() instead of throw bad_alloc.
5113 * libsupc++/Makefile.am: Add exception_defines.h.
5114 * libsupc++/Makefile.in: Reformat.
5115 * libsupc++/*: Format.
5117 2001-02-15 Phil Edwards <pme@sources.redhat.com>
5119 * docs/html/configopts.html: Minor updates and typo fixes.
5120 * docs/html/faq/index.html: Updates of the "not really bugs" list.
5121 * docs/html/faq/index.txt: Regenerated.
5123 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
5125 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
5126 dejagnu/dg.exp. Adapt to log options used to run testcases.
5128 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5130 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
5133 2001-02-13 Dirk Mueller <dmuell@gmx.net>
5134 Phil Edwards <pme@sources.redhat.com>
5136 * include/backward/function.h: Do not use rel_ops for older
5138 * include/backward/pair.h: Likewise.
5140 2001-02-12 Mark Mitchell <mark@codesourcery.com>
5142 * src/locale.cc: Remove bogus locale::id definitions.
5144 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5146 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
5147 not _DEFINE_VALARRAY_OPERATOR which is not existent.
5149 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
5150 thinko in member initialisation.
5152 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
5154 * include/bits/std_valarray.h(valarray<>::shift): Avoid
5155 comparaison between signed and unsigned integer types.
5156 (valarray<>::cshift): Reformat.
5158 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
5160 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
5161 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
5162 * configure.in: Test for sigsetjmp.
5163 * configure, config.h.in: Rebuilt.
5165 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
5167 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
5168 lengths and strides.
5169 (__gslice_to_index): Document.
5171 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
5173 * include/bits/char_traits.h char_traits<char>::int_type: Change
5174 to `int' to match 21.1.3.1/2.
5176 * testsuite/21_strings/char_traits-int_type.C: New test.
5178 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
5180 * testsuite/Makefile.am: New file.
5182 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
5184 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
5186 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
5188 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
5190 2001-02-08 David Edelsohn <edelsohn@gnu.org>
5192 * configure.target (aix4*): Remove extra set of brackets.
5194 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
5197 * include/bits/stringfwd.h: New file.
5198 * include/bits/stl_string_fwd.h: Remove.
5199 * include/bits/localefwd.h: Remove declaration for allocator.
5200 * include/bits/std_iosfwd: Same.
5201 * include/bits/std_string.h: Include it.
5202 * include/bits/std_ios.h: Remove include.
5203 * include/bits/basic_string.h: Tweak.
5204 * libsupc++/new: Format.
5205 * src/Makefile.am (base_headers): Add stringfwd.h, remove
5207 * src/Makefile.in: Regenerate.
5208 * include/bits/std_stdexcept.h: Rewrite.
5209 * src/stdexcept.cc: Same.
5211 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
5213 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
5214 install locations too.
5215 * aclocal.m4: Regenerate.
5216 * configure.in: Remove USE_LIBDIR.
5217 * configure: Regenerate.
5218 * src/Makefile.am (toolexecdir): Simplify, use
5219 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
5220 * src/Makefile.in: Regenerate.
5221 * libsupc++/Makefile.am: Same.
5222 * libsupc++/Makefile.in: Regenerate.
5224 * src/Makefile.am: Just remove special rules for locale-inst.cc and
5225 misc-inst.cc as no longer necessary.
5227 Follow C++STYLE for naming non-static functions.
5228 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
5230 * include/bits/streambuf.tcc: Same.
5231 * include/bits/ostream.tcc: Same.
5232 * include/bits/istream.tcc: Same.
5233 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
5234 (_S_output_float): To __output_float.
5235 * include/bits/std_streambuf.h (_S_copy_streambufs): To
5237 * include/bits/locale_facets.tcc (_S_build_float_format): To
5238 __build_float_format.
5239 (_S_format): To __output_integer.
5240 (_S_fill): To __pad.
5241 * src/locale.cc: Same.
5242 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
5244 * include/bits/locale_facets.tcc (_S_group_digits): To
5246 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
5247 for collate, numpunct.
5249 2001-02-06 Phil Edwards <pme@sources.redhat.com>
5251 * docs/html/configopts.html: Fix HTML markup.
5252 * docs/html/install.html: Bring up to date.
5253 * docs/html/17_intro/C++STYLE: Add global variable conventions.
5254 * docs/html/21_strings/howto.html: More notes.
5255 * docs/html/22_locale/howto.html: Fix HTML markup.
5256 * docs/html/27_io/howto.html: More notes.
5257 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
5258 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
5260 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
5262 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
5263 to match header files.
5264 (_S_output_float): Likewise.
5265 (_S_copy_streambufs): Likewise.
5267 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
5268 Phil Edwards <pme@sources.redhat.com>
5270 * include/bits/std_istream.h (op>> signed,unsigned char): Must
5271 use reinterpret_cast, not static_cast.
5273 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
5275 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
5276 * aclocal.m4: Regenerate.
5277 * configure: Regenerate.
5279 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
5281 * include/bits/locale_facets.h (class moneypunct): Fix typos.
5282 * libsupc++/pure.cc: Revert.
5284 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
5286 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
5287 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
5288 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
5289 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
5290 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
5291 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
5292 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
5293 * aclocal.m4: Regenerate.
5294 * configure: Regenerate.
5296 2001-02-05 Mark Mitchell <mark@codesourcery.com>
5298 * include/bits/locale_facets.tcc: Remove `static' keyword on
5299 function definitions.
5300 * include/bits/std_streambuf.h: Likewise.
5301 * src/Makefile.am: Remove use of -fimplicit-templates.
5302 * src/Makefile.in: Regenerated.
5303 * src/locale-inst.cc: Explicitly instantiate more functions.
5304 * src/misc-inst.cc: Likewise.
5305 * src/string-inst.cc: Likewise.
5307 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
5309 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
5310 macro. Consolidate all the bits to do with where includes might be
5312 * aclocal.m4: Regenerate.
5313 * configure.in: Use it.
5314 * configure: Regenerate.
5315 * src/Makefile.am (targetincludep): Use simplified rules.
5316 (targetincludep): Rename gxx_target_include_dir.
5317 (myincludep): Rename gxx_include_dir.
5318 * src/Makefile.in: Regenerate.
5319 * libsupc++/Makefile.am: Use simplified rules.
5320 * libsupc++/Makefile.in: Regenerate.
5322 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
5324 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
5325 * include/c_std/bits/std_cctype.h: Same.
5326 * include/c_std/bits/std_cassert.h: Same.
5327 * include/c_std/bits/std_cstdarg.h: Same.
5328 * include/c_std/bits/std_cstddef.h: Same.
5330 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
5332 * include/c_std/bits/std_ctime.h: Same.
5333 * include/c_std/bits/std_clocale.h: Same.
5334 * include/c_std/bits/std_cmath.h: Same.
5335 * include/c_std/bits/std_csetjmp.h: Same.
5336 * include/c_std/bits/std_csignal.h: Same.
5337 * include/c_std/bits/std_cstring.h: Same.
5338 * include/c_std/bits/std_cstdlib.h: Same.
5339 * include/c_std/bits/std_cwchar.h: Same.
5341 2001-02-05 Phil Edwards <pme@sources.redhat.com>
5343 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
5345 2001-02-05 Mark Mitchell <mark@codesourcery.com>
5347 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
5348 (string::_S_construct): Likewise.
5350 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
5352 * testsuite/config/default.exp: New file.
5353 * testsuite/config: New directory.
5355 2001-02-04 Mark Mitchell <mark@codesourcery.com>
5357 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
5358 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
5359 whenever !__GXX_MERGED_TYPEINFO_NAMES.
5360 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
5362 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
5363 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
5365 * Makefile.am (mkinstalldirs): Set.
5366 * src/Makefile.am (mkinstalldirs): Set.
5367 * libmath/Makefile.am (mkinstalldirs): Set.
5368 * libsup++/Makefile.am (mkinstalldirs): Set.
5369 * libio/Makefile.am (mkinstalldirs): Set.
5370 * */Makefile.in: Regenerate.
5372 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
5374 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
5375 * include/bits/localefwd.h: More initialization cleanups.
5377 2001-02-03 Jeffrey A Law <law@cygnus.com>
5379 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
5380 correctly targets with 16bit ints.
5381 (_S_ios_openmode_end): Similarly.
5382 (_S_ios_iostate_end): Similarly.
5383 (_S_ios_Seekdir_end): Similarly.
5385 2001-02-02 Phil Edwards <pme@sources.redhat.com>
5387 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
5389 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
5391 * configure.in (toplevel_srcdir, auxdir): Set.
5392 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
5393 * aclocal.m4, configure, Makefile.in: Rebuilt.
5394 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
5395 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
5396 * libsupc++-v3/Makefile.in: Rebuilt.
5397 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
5398 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
5400 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
5402 * config/c_locale_generic.cc: Remove langinfo include.
5404 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
5406 Preliminary named locales.
5407 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
5408 * aclocal.m4: Regenerate.
5409 * configure.in: Use it.
5410 * configure: Regerate.
5411 * src/Makefile.am (sources): Add c++locale.cc.
5412 (build_headers): Add c++locale.h.
5413 * src/Makefile.in: Regenerate.
5414 * config/c_locale_gnu.h: New file.
5415 * config/c_locale_gnu.cc: New file. Non-inline member functions
5416 for named locales, gnu-specific.
5417 * config/c_locale_generic.h: New file.
5418 * config/c_locale_generic.cc: New file. Non-inline member
5419 functions for named locales, generic version.
5420 * docs/html/configopts.html: Add documentation on new options.
5422 * include/bits/locale_facets.h (class _Messages): Remove.
5423 (class _Moneypunct): Remove.
5424 * src/locale-inst.cc: Remove.
5426 * include/bits/locale_facets.h (class _Collate): Remove.
5427 * src/locale-inst.cc (std): Remove.
5428 * src/locale.cc: And here.
5430 * include/bits/localefwd.h (locale::_M_coalesce): New
5431 function. Correctly put together multi-name locales.
5432 (_Impl(const _Impl&, category, size_t)): Remove.
5434 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
5436 (_M_normalize_category_names): Remove.
5437 (_M_replace_categories): Fix.
5439 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
5440 (locale::_Impl::_M_construct_ctype): Remove.
5441 (locale::_Impl::_M_construct_monetary): Remove.
5442 (locale::_Impl::_M_construct_numeric): Remove.
5443 (locale::_Impl::_M_construct_time): Remove.
5444 (locale::_Impl::_M_construct_messages): Remove.
5446 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
5447 (_Use_facet_failure_handle): Remove.
5448 * src/locale.cc: Remove definitions.
5449 * src/locale-inst.cc: And here.
5451 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
5453 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
5454 create and error-check underlying locale object.
5455 (locale::facet::_S_destroy_c_locale): Add, take care of properly
5456 tearing down underlying locale object.
5457 * include/bits/localefwd.h (locale::facet): Declare.
5458 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
5459 correctness, as glibc apparently has incorrect info in it. Test
5460 with it when it works again.....
5462 * include/bits/localefwd.h (locale::_Impl::__vec_string):
5463 Remove. Number of categories is fixed at six, so just simplify and
5464 make this an array of strings.
5465 (locale::_Impl::_M_has_name): Remove.
5466 (locale::_Impl::_M_name): Remove.
5467 (locale::_Impl::_M_category_names): Turns into...
5468 (locale::_Impl::_M_names): ...this.
5469 (locale::_Impl::_M_has_same_name()): New function.
5470 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
5471 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
5473 * src/locale.cc (locale::name()): Construct mangled name
5474 accurately reflecting combined locale categories.
5476 * src/locale.cc (locale::classic()): Don't initialize here.
5477 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
5478 __refs, bool __has_name, string __str): Do it here.
5480 * include/bits/localefwd.h: _S_categories_num to
5481 _S_num_categories. _S_facets_num to _S_num_facets.
5482 (locale::id::id()): Explicitly set _M_index to zero.
5483 * src/locale.cc: Same.
5485 * src/locale.cc: (locale::locale(const char*)): Construct named
5488 * src/locale.cc: Remove numpunct_byname ctors.
5489 * testsuite/22_locale/numpunct_byname.cc: New file.
5490 * testsuite/22_locale/numpunct.cc: New file.
5492 * include/bits/localefwd.h (class locale): Change data members to
5493 protected, from private.
5494 (_Impl::_M_get_c_locale): Add member function.
5495 (locale::facet::_M_get_global_impl()): Add member function.
5496 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
5497 a __c_locale pointer.
5498 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
5500 * testsuite/22_locale/members.cc: New file, test name and combine.
5502 * include/bits/locale_facets.h (class numpunct): Remove class
5503 _Punct and _Numpunct. Rewrite class numpunct to be correct for
5505 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
5506 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
5507 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
5508 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
5509 * testsuite/22_locale/numpunct_char_members.cc: New file.
5511 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
5513 * testsuite/README: Add more comment.
5514 * testsuite/lib/libstdc++.exp: Tweak comment.
5516 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
5518 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
5520 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
5522 * testsuite/21_strings/inserters_extractors.cc: Remove
5523 explicit reference to 'testsuite/'.
5525 2001-01-25 Richard Henderson <rth@redhat.com>
5527 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
5528 bits. Fixes Tru64 build issues.
5530 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
5532 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
5533 (use ${MAKE-make}, not ${MAKE:-make}).
5534 * aclocal.m4, configure: Regenerate.
5536 2001-01-25 Mark Mitchell <mark@codesourcery.com>
5538 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
5541 * src/Makefile.am (sources): Add globals.cc.
5542 * src/Makefile.in: Regenerated.
5543 * src/globals.cc: New file.
5544 * src/ios.cc (cin): Don't define here, just declare extern.
5553 2001-01-25 Phil Edwards <pme@sources.redhat.com>
5555 * include/bits/std_iterator.h: Do not include stl_relops.h.
5556 * include/bits/std_numeric.h: Ditto.
5557 * include/bits/stl_algobase.h: Ditto.
5558 * include/bits/stl_relops.h: Add comment warning about problems.
5560 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
5562 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
5563 in testcases. Prepare for the DejaGnu based framework.
5564 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
5565 directory -- it is now mkcheck working directory.
5566 * tests_flags.in: Remove reference to $(top_srcdir). Use
5568 * Makefile.am (check, check-install): Change mkcheck invocation
5570 * Makefile.in: Regenerate.
5572 2001-01-24 Mark Mitchell <mark@codesourcery.com>
5574 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
5575 (__always_swap): Likewise.
5577 2001-01-23 Chris Demetriou <cgd@broadcom.com>
5579 * libsupc++/exception_support.cc (__terminate_func): Remove
5581 (__terminate_func_ptr): New typedef.
5582 (__terminate, __terminate_set_func): New extern function
5584 (std::terminate): Use __terminate function.
5585 (std::set_terminate): Use __terminate_set_func function.
5587 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
5589 * configure.target: Just use os_include_dir always.
5590 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
5591 Link atomicity files and ctype files here.
5592 * configure: Regenerate.
5593 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
5594 (GLIBCPP_ENABLE_ATOMICITY): Remove.
5595 * aclocal.m4: Regenerate.
5597 2001-01-23 Chris Demetriou <cgd@broadcom.com>
5599 * configure.in: Place definition of MULTISUBDIR in
5600 libsupc++/Makefile as is done for src/Makefile.
5601 * configure: Regenerate.
5603 2001-01-23 Phil Edwards <pme@sources.redhat.com>
5605 * acinclude.m4: Cosmetic changes only.
5606 * aclocal.m4: Regenerated.
5607 * configure: Regenerated.
5608 * configure.target: Update documented list of changed variables.
5609 * docs/html/install.html: Fix typo.
5610 * docs/html/20_util/howto.html: More notes on auto_ptr.
5611 * docs/html/27_io/howto.html: More notes on streabufs.
5612 * docs/html/faq/index.html: Add rel_ops problem and mention the
5613 DEC as(1) .subsection difficulty.
5614 * docs/html/faq/index.txt: Regenerated.
5616 2001-01-23 Mark Mitchell <mark@codesourcery.com>
5618 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
5619 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
5620 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
5621 its already provided in config.target.
5622 * aclocal.m4: Regenerated.
5623 * configure: Likewise.
5624 * configure.target: Set ctype_include_dir for lots of systems.
5625 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
5626 * libsupc++/Makefile.in: Regenerated.
5628 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
5630 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
5633 * testsuite/README: Add comment.
5635 2001-01-21 Phil Edwards <pme@sources.redhat.com>
5637 * docs/html/configopts.html: Update for current status. Fix HTML.
5638 * docs/html/install.html: Update for current status.
5640 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5642 * testsuite/libstdc++.tests/tests.exp: New file.
5643 * testsuite/lib/libstdc++.exp: Itou.
5644 * testsuite/README: Itou.
5646 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
5648 * tests_flags.in: Just output the bare minimum to run tests.
5649 Let's the caller do its own arrangement.
5651 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
5654 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
5656 * testsuite/17_intro: Prepare testcases for new style DejaGnu
5659 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
5661 * testsuite/libstdc++.tests, testsuite/lib: New directories.
5663 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
5665 * mkcheck.in: Construct file names that match $objdir structure.
5666 * testsuite/27_io/filebuf_members-1.txt: New file.
5667 * testsuite/27_io/ifstream_members-1.txt: New file.
5668 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
5670 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
5671 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
5673 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5675 * testsuite/27_io/istream_sentry.cc (test02): Fix.
5677 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
5680 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
5681 * src/ios.cc (ios_base::failure): Make definitions match.
5682 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
5683 (class bad_cast): Same.
5684 * libsupc++/exception (class exception): Add throw specs.
5685 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
5686 (set_unexpected): Same.
5687 (uncaught_exception): Same.
5690 * docs/html/17_intro/C++STYLE (classname): Fix.
5692 2001-01-16 Mark Mitchell <mark@codesourcery.com>
5694 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
5695 Use it do explicitly instantiate predicate<T> and value<T> for
5698 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
5700 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
5701 uninitialized thinko in last change.
5703 2001-01-16 Mark Mitchell <mark@codesourcery.com>
5705 * libsupc++/exception_support.cc (__cp_pop_exception): Change
5708 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
5710 * docs/html/17_intro/C++STYLE (classname): Add more existing
5711 and stylish patterns.
5714 * include/bits/istream.tcc (istream::sentry::sentry()): Set
5715 failbit if the state of the stream is not good.
5716 * testsuite/27_io/istream_sentry.cc (test02): Add test.
5717 * testsuite/27_io/istream_manip.cc (test01): Modify.
5720 reported by Paolo Carlini <pcarlini@unitus.it>
5721 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
5722 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
5725 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
5726 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
5727 (xsgetn): Same. Simplify.
5728 * testsuite/27_io/streambuf.cc (test04): Add testcases.
5730 reported by Larry Evans <jcampbell3@prodigy.net>
5731 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
5732 equality with eof on returned value from overflow.
5734 2001-01-14 Andreas Jaeger <aj@suse.de>
5736 * libio/libio.h: Add test for glibc 2.0.
5738 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
5740 * config/os/djgpp/bits/*: Fix dates.
5742 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
5743 _CharT* __end, _CharT __c): Remove.
5744 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
5745 * include/bits/char_traits.h: Tweak.
5747 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
5749 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
5750 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
5752 * aclocal.m4: regenerated.
5753 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
5754 * configure: regenerated.
5755 * config/os/djgpp, config/os/djgpp/bits: new directories.
5756 * config/os/djgpp/bits/ctype_base.h,
5757 config/os/djgpp/bits/ctype_inline.h,
5758 config/os/djgpp/bits/ctype_noninline.h,
5759 config/os/djgpp/bits/os_defines.h: new files.
5761 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
5763 * include/c_std/bits/std_cstdio.h: Undef printf.
5765 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
5767 * src/ios.cc: Fix typo: change cout->wcout.
5769 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
5770 * src/Makefile.in: Regenerate.
5772 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5774 * include/bits/std_complex.h: Fix a typo.
5776 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
5779 Fixes for libstdc++/1576
5780 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
5781 file, move contents into....
5782 * src/ios.cc: ...Here. Put defines for iostreams objects and
5783 initialization routines into one file to simplify DSO interaction.
5784 * include/bits/std_iostream.h: Touch.
5785 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
5786 * src/Makefile.am (sources): Remove stdstreams.cc.
5787 * src/Makefile.in: Regenerate.
5789 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5791 * tests_flags.in (check_directory): Fix typo.
5793 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5795 * include/bits/std_complex.h: Fix a typo.
5797 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
5799 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
5800 code path:) Remove magic constants and restructure to handle
5801 ctype.h bit mask layout changes more gracefully. (Make fast
5802 code path:) Use __maskrune (), if available.
5803 (is): Remove special case for digit and xdigit masks.
5805 2001-01-09 Robert Lipe <robertlipe@usa.net>
5807 * include/c_std/bits/std_ctime.h: Undefine difftime.
5809 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
5811 * src/gen-num-limits.cc (signal_adapter): New template function.
5812 (signal_handler): Use it, instead of signal.
5813 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
5814 require both tests to trap to set trap_flag.
5816 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
5818 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
5819 initialize mbstate_t member, name offset data members *off, not pos.
5820 * include/bits/fstream.tcc (filebuf::filebuf): Same.
5822 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
5824 reported by Chris G. Demetriou <cgd@sibyte.com>
5825 * configure.in: Change -linux-* to -linux*.
5826 * configure: Regenerate.
5828 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
5830 Fix 27_io/filebuf_members.cc
5831 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
5832 const string& __name, category __cat, size_t __refs): Set
5833 _M_has_name with _M_name.
5834 * include/bits/localefwd.h (locale::operator!=): Protect member
5835 function call with this->.
5836 * src/locale.cc (locale::operator==): Make fast checks first.
5837 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
5839 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
5841 * src/ios.cc (ios_base::Init::Init): Initialize here.
5842 (ios_base::sync_with_stdio): Set here.
5844 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
5846 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
5847 systems that support it, call dup() before fdopen().
5849 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
5851 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
5852 * testsuite/17_intro/header_cwctype.cc (main): New file.
5854 * src/Makefile.am (base_headers): Change.
5855 * include/bits/std_string.h: And here.
5856 * include/bits/string.tcc: Tweaks, move to...
5857 * include/bits/basic_string.tcc: ...Here.
5858 * src/string-inst.cc: Simplify, just instantiate the whole class,
5859 not member-by-member.
5861 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
5863 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
5864 * aclocal.m4: Regenerate.
5865 * configure: Regenerate.
5867 * include/bits/c++config (__GLIBCPP__): Bump version number.
5869 * ChangeLog: Start new log for year 2001
5870 * ChangeLog-2000: New file.
5872 * docs/html/configopts.html: Make sure default values are current,
5875 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
5877 * include/c_std/bits/std_cwchar.h: Same.
5878 * testsuite/17_intro/header_cwchar.cc: Same.
5879 * include/c_std/bits/std_ctime.h: Same.
5880 * testsuite/17_intro/header_ctime.cc: Same.
5881 * include/c_std/bits/std_cstdlib.h: Same.
5882 Clean up undefs, make consistent with cwchar and cmath, etc.
5883 * testsuite/17_intro/header_cstdlib.cc: Same.
5884 * include/c_std/bits/std_cstdio.h: Same here.
5885 * testsuite/17_intro/header_cstring.cc: Same.
5886 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
5887 * testsuite/17_intro/header_cstring.cc: New file. Check for
5888 size_t in namespace std.
5890 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
5891 * acconfig.h (HAVE_MBSTATE_T): Add.
5892 * config.h.in: Regenerate.
5893 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
5895 * aclocal.m4: Regenerate.
5896 * configure: Regenerate.
5897 * testsuite/17_intro/headers_c++.cc: New file.
5898 * testsuite/17_intro/headers_c.cc: Small changes.
5900 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
5902 * tests_flags.in: Fix typo in usage.
5904 * tests_flags.in: Set target specific LIBS for cygwin.