1 2001-12-07 Nathan Myers <ncm@cantrip.org>
2 Loren Rittle <ljrittle@acm.org>
5 * config/cpu/sparc/sparc32/bits/atomicity.h
6 (struct __Atomicity_lock<__inst>): Add.
7 (__Atomicity_lock<__inst>::_S_atomicity_lock): Add.
8 (__exchange_and_add): Use __Atomicity_lock<0>::_S_atomicity_lock
9 instead of lock local to static function.
10 (__atomic_add): Likewise.
12 2001-12-07 Phil Edwards <pme@gcc.gnu.org>
14 * src/globals.cc: Remove __GTHREADS guard.
16 2001-12-07 Paolo Carlini <pcarlini@unitus.it>
18 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
19 Extend comment, reduce __cs_size for non-fixed outputs.
21 2001-12-07 Paolo Carlini <pcarlini@unitus.it>
23 * include/bits/basic_string.tcc (_M_mutate): Fix typo
24 in the previous check in.
26 2001-12-06 Paolo Carlini <pcarlini@unitus.it>
27 Loren J. Rittle <ljrittle@acm.org>
29 * include/bits/basic_string.tcc (_M_mutate, _M_clone): Implement
30 exponential growth policy to meet linear amortized time
31 requirements of the standard.
32 (_S_create): Adjust comment.
34 2001-12-06 Benjamin Kosnik <bkoz@redhat.com>
37 * include/bits/locale_facets.tcc (num_put): Clean.
38 (num_get::_M_extract_float): Change argument to string.
39 (num_get::do_get(float)): Fixup.
40 (num_get::do_get(double)): Same.
41 (num_get::do_get(long double)): Same.
42 (num_get::_M_extract_int): Add maximum length parameter, __max.
43 (num_get::_M_extract_float): Correct zeros, use string.
44 * include/bits/locale_facets.h (num_get::_M_extract_float): Change
46 * src/locale.cc (__num_base::_S_atoms): Remove x, X.
47 * testsuite/27_io/istream_extractor_arith.cc (test13): Add.
49 2001-12-06 Philip Martin <pmartin@uklinux.net>
51 * testsuite/27_io/istream_extractor_arith.cc (test12): Add
52 tests for excess input digits.
54 2001-12-06 Phil Edwards <pme@gcc.gnu.org>
56 * include/bits/std_bitset.h: Use GLIBCPP in multiple-inclusion guard.
57 * include/bits/stl_algo.h: Likewise.
58 * include/bits/stl_algobase.h: Likewise.
59 * include/bits/stl_bvector.h: Likewise.
60 * include/bits/stl_deque.h: Likewise.
61 * include/bits/stl_function.h: Likewise.
62 * include/bits/stl_iterator.h: Likewise.
63 * include/bits/stl_iterator_base_funcs.h: Likewise.
64 * include/bits/stl_iterator_base_types.h: Likewise.
65 * include/bits/stl_list.h: Likewise.
66 * include/bits/stl_multimap.h: Likewise.
67 * include/bits/stl_multiset.h: Likewise.
68 * include/bits/stl_pair.h: Likewise.
69 * include/bits/stl_queue.h: Likewise.
70 * include/bits/stl_set.h: Likewise.
71 * include/bits/stl_stack.h: Likewise.
72 * include/bits/stl_tempbuf.h: Likewise.
73 * include/bits/stl_tree.h: Likewise.
74 * include/bits/stl_vector.h: Likewise.
76 * include/bits/stl_alloc.h: Use our own multiple inclusion guards.
77 Doxygenate more comments. Correct historical artifacts in comments.
78 (alloc, single_alloc): Uglify non-standard names.
79 (__default_alloc_template::_NFREELISTS): Calculate from other
81 (__default_alloc_template::_S_free_list): Remove SunPro workaround.
82 (__default_alloc_template::_Lock): Mark as "unused".
83 * include/backward/alloc.h: Update.
84 * include/bits/stl_bvector.h: Likewise.
85 * include/ext/ropeimpl.h: Likewise.
86 * include/ext/stl_hashtable.h: Likewise.
88 2001-12-05 Benjamin Kosnik <bkoz@redhat.com>
91 * include/bits/locale_facets.tcc (num_put::_M_widen_float): Add
92 grouping to floating point types.
93 * testsuite/27_io/ostream_inserter_arith.cc (test02): Add test.
95 2001-12-04 Paolo Carlini <pcarlini@unitus.it>
98 * testsuite/27_io/ostream_inserter_arith.cc (test02): Add testcase
100 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
101 Deal properly with long ios_base::fixed floats.
102 (num_put::_M_widen_float): use
103 __len in __builtin_alloca call.
105 2001-12-04 Benjamin Kosnik <bkoz@redhat.com>
107 * src/Makefile.am (sources): Add ext-inst.cc.
108 * src/Makefile.in: Regenerate.
109 * src/ext-inst.cc: New file.
110 * include/bits/stl_threads.h: Format.
111 * src/globals.cc: Add instantiation for _S_swap_lock.
113 * testsuite/18_support/numeric_limits.cc: Add numeric_limits<B>
116 2001-12-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
118 * testsuite/22_locale/numpunct_members_wchar_t.cc: Only compile
119 and execute test01 if _GLIBCPP_USE_WCHAR_T is defined.
120 * testsuite/26_numerics/complex_inserters_extractors.cc: Provide
121 for explicit instantiation of class std::basic_string<char,
122 gnu_char_traits, std::allocator<char> >.
124 2001-12-03 Benjamin Kosnik <bkoz@redhat.com>
126 * testsuite/22_locale/collate.cc: Compile-only.
127 * testsuite/22_locale/time_get.cc: Same.
128 * testsuite/22_locale/time_put.cc: Same.
129 * testsuite/22_locale/numpunct.cc: Same.
130 * testsuite/22_locale/num_put.cc: Same.
131 * testsuite/22_locale/num_get.cc: Same.
132 * testsuite/22_locale/moneypunct.cc: Same.
133 * testsuite/22_locale/money_get.cc: Same.
134 * testsuite/22_locale/messages.cc: Same.
135 * testsuite/22_locale/ctype.cc: Same.
137 2001-12-03 Benjamin Kosnik <bkoz@redhat.com>
139 * src/string-inst.cc (string::_Rep::_S_terminal): Add static data
140 member instantiations.
142 2001-12-03 Steve Ellcey <sje@cup.hp.com>
144 * libstdc++-v3/configure.in: Add support for hpux cross compiles,
145 combine common linux/hpux/generic cross compile support to reduce
147 * libstdc++-v3/configure: Regenerate.
149 2001-12-03 Loren J. Rittle <ljrittle@acm.org>
151 * docs/html/ext/howto.html: Update commentary.
152 * include/bits/c++config: Update threading configuration comment.
153 (__STL_GTHREADS): Remove macro definition.
154 (__STL_THREADS): Likewise.
155 * include/bits/stl_threads.h: Leave only the configuration
156 path which had been guarded by __STL_GTHREADS. Remove all
157 guards related to __STL_GTHREADS, __STL_SGI_THREADS,
158 __STL_PTHREADS, __STL_UITHREADS and __STL_WIN32THREADS.
159 * include/bits/stl_alloc.h: Leave only the configuration path
160 which had been guarded by __STL_THREADS. Remove configuration
161 path and guards for __STL_SGI_THREADS.
162 (__NODE_ALLOCATOR_THREADS): Remove macro definition. Unroll its use.
163 (__NODE_ALLOCATOR_LOCK): Likewise.
164 (__NODE_ALLOCATOR_UNLOCK): Likewise.
165 (_NOTHREADS): Remove guards related to macro.
166 * include/ext/stl_rope.h: Remove configuration path and guards
167 for __STL_SGI_THREADS.
168 * src/stl-inst.cc: Remove use of __NODE_ALLOCATOR_THREADS.
170 2001-12-02 Phil Edwards <pme@gcc.gnu.org>
172 * docs/html/ext/howto.html: Update list of implemented DRs.
173 * docs/html/ext/lwg-active.html: Import R20 from upstream.
174 * docs/html/ext/lwg-defects.html: Import R20 from upstream.
176 2001-11-30 Benjamin Kosnik <bkoz@redhat.com>
180 * libsupc++/exception (bad_exception::~bad_exception()): Remove
182 * libsupc++/new (bad_alloc::~bad_alloc()): Remove.
183 * libsupc++/typeinfo (bad_cast::~bad_cast()): Remove.
184 (bad_typeid::~bad_typeid()): Remove.
185 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Remove definition.
186 (bad_typeid::~bad_typeid()): Same.
187 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
188 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()): Same.
190 * include/bits/std_iomanip.h: Tweak.
192 2001-11-29 Paolo Carlini <pcarlini@unitus.it>
195 * include/bits/locale_facets.tcc (__pad): Add bool parameter to
196 correctly pad internal-adjusted const char*-type objects.
197 * include/bits/locale_facts.tcc (num_put::_M_insert): Update call.
198 * include/bits/ostream.tcc (operator<<(_CharT , char, const
199 _CharT*, const char*, const basic_string&): Update calls.
200 * src/locale-inst.tcc: Update declarations.
201 * testsuite/27_io/ostream_inserter_arith.cc (test04): Add test.
203 2001-11-29 Phil Edwards <pme@gcc.gnu.org>
205 * docs/html/ext/howto.html: Finish allocator notes (inst and 3.0).
207 2001-11-29 Benjamin Kosnik <bkoz@redhat.com>
209 * include/bits/locale_facets.tcc (num_get::do_get(long double)):
210 Fix __traits_type typo.
212 2001-11-28 Paolo Carlini <pcarlini@unitus.it>
214 * include/bits/locale_facets.tcc (__pad): Correctly pad
215 internal-adjusted hex numbers.
216 * testsuite/27_io/ostream_inserter_arith.cc: Add testcase.
218 2001-11-28 Paolo Carlini <pcarlini@unitus.it>
219 Loren J. Rittle <ljrittle@acm.org>
221 * include/bits/basic_string.h
222 (basic_string::_Rep::__default_excess, _S_excess_slop):
224 * include/bits/basic_string.tcc: Remove dead code.
225 * include/bits/c++config: Remove comment.
227 2001-11-28 Benjamin Kosnik <bkoz@redhat.com>
228 Jakub Jelinek <jakub@redhat.com>
230 * config/locale/moneypunct_members_gnu.cc
231 (moneypunct<wchar_t>::_M_initialize_moneypunct): Correctly cast
233 * config/locale/numpunct_members_gnu.cc
234 (numpunct<wchar_t>::_M_initialize_numpunct): Same.
236 2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
238 * include/bits/locale_facets.tcc: Formatting tweaks.
240 * testsuite/23_containers/map_operators.cc: Don't xfail.
241 * testsuite/23_containers/set_operators.cc: Same.
242 * testsuite/backward/header_iterator_h.cc: Pass in -Wno-deprecated.
243 * testsuite/backward/header_deque_h.cc: Same.
245 2001-11-27 Loren J. Rittle <ljrittle@acm.org>
246 Paolo Carlini <pcarlini@unitus.it>
248 * include/bits/basic_string.tcc (basic_string::_Rep::_S_create):
249 Enforce allocation size blocking policy to reduce
250 fragmentation and enhance performance with common malloc
253 2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
255 Numeric facets cleanup.
256 * include/bits/locale_facets.h (__num_base::_S_atoms): Add, remove
258 (__num_base::_M_zero): Add
259 (__num_base::_M_e): Add.
260 (__num_base::_M_E): Add.
261 * include/bits/locale_facets.tcc (num_get::_M_extract): Remove.
262 (num_get::_M_extract_float): New.
263 (num_get::_M_extract_int): New.
264 * src/locale.cc (num_get::_M_extract): Remove.
266 * include/bits/locale_facets.tcc (num_put::_M_insert_float):
267 Simplify, use _M_insert.
268 (num_put::do_put(bool)): Simplify, remove __pad.
270 (__pad_output): Change to __pad.
271 * include/bits/ostream.tcc: And here.
272 * src/locale-inst: Remove instantiations.
274 * include/bits/locale_facets.h: Move helper functions in to class
276 (num_put::_M_insert_float): Same, for __output_integer.
277 (num_put::_M_insert_int): Same, for __output_float.
278 (num_put::_M_insert): New.
280 (__num_base::_S_format_float): Move
281 __build_float_format into class __num_base.
282 (__num_base::_S_format_int): Move __build_int_format into class
284 * include/bits/locale_facets.tcc (__group_digits): Change to
285 (__add_grouping): This.
286 * src/locale-inst.cc: And here. Tweak instantiations.
287 * src/misc-inst.cc: Remove instantiations.
289 * include/bits/ostream.tcc (__pad_char): Rename, adjust inserters
290 for new calling conventions, move to...
291 * include/bits/locale_facets.tcc (__pad_output): Here. Adjust
292 signature to make it useful for both ostream and num_put.
293 (__pad_numeric): Remove.
294 * src/misc-inst.cc: Remove instantiations.
295 * src/locale-inst.cc: Same.
297 * include/bits/locale_facets.h (_Numeric_get): Remove.
298 (_Numeric_put): Remove.
299 (num_get::get(short)): Remove.
300 (num_get::get(int)): Remove.
301 (num_get::do_get(short)): Remove.
302 (num_get::do_get(int)): Remove.
303 * include/bits/istream.tcc (istream::operator>>(short)): Fix as
305 (istream::operator>>(int)): Same.
307 * include/bits/locale_facets.h (_Format_cache): Remove.
308 * include/bits/locale_facets.tcc: Same.
309 * src/locale.cc: Same.
310 * src/locale-inst.cc: Same.
311 * include/bits/ostream.tcc: Same.
312 * src/ios.cc (ios_base::imbue): Remove here as well.
314 * testsuite/22_locale/num_get.cc: New file.
315 * testsuite/22_locale/num_get_members_char.cc: New file.
316 * testsuite/22_locale/num_get_members_wchar_t.cc: New.
317 * testsuite/22_locale/numpunct_members_wchar_t.cc: New file.
318 * testsuite/22_locale/num_put.cc: New file.
319 * testsuite/22_locale/num_put_members_char.cc: New file.
320 * testsuite/22_locale/num_put_members_wchar_t.cc: New file.
321 * testsuite/27_io/ostream_inserter_arith.cc: Fix.
322 * testsuite/27_io/istream_extractor_arith.cc: Fix.
324 2001-11-27 Phil Edwards <pme@gcc.gnu.org>
326 * docs/html/explanations.html: New section, empty for now.
327 * docs/html/17_intro/howto.html: Cleanup. Move unrelated link...
328 * docs/html/23_containers/howto.html: ...to here. Break up and
329 rewrap threading discussion to emphasize warning. Move malloc text...
330 * docs/html/ext/howto.html: ...to here. New section. Describe
331 allocators and __USE_MALLOC effects.
332 * docs/html/ext/sgiexts.html: Mention their code.
334 2001-11-24 Joseph S. Myers <jsm28@cam.ac.uk>
336 * docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
337 docs/html/27_io/binary_iostreams_kuehl.txt: Revert previous
340 2001-11-23 Phil Edwards <pme@gcc.gnu.org>
342 * Makefile.am (doxygen-maint): The script isn't executable in CVS.
343 * Makefile.in: Regenerated.
344 * docs/doxygen/TODO: New file listing doxygen work to be done.
345 * docs/doxygen/run_doxygen: Fix up man pages.
346 * docs/doxygen/user.cfg.in: Insert maint-only toggles.
347 * docs/doxygen/maint.cfg.in: Copy from user.cfg and turn toggles on.
348 * include/bits/stl_construct.h: Use new hooks for internal functions.
350 * docs/html/17_intro/TODO: Small updates.
351 * docs/html/faq/index.html: Likewise.
352 * docs/html/faq/index.txt: Regenerated.
354 * include/bits/stl_alloc.h: Doxygenate, reindent comments, remove
355 SGI-isms and wrappers.
356 (simple_alloc, debug_alloc): Uglify class names.
357 (__default_alloc_template): Uglify "threads" template parameter and
358 update corresponding macros.
359 * include/backward/alloc.h: Bring up to date.
361 2001-11-23 Jason Merrill <jason@redhat.com>
363 * src/vterminate.cc (__verbose_terminate_handler): Add leading
366 2001-11-23 Joseph S. Myers <jsm28@cam.ac.uk>
368 * ChangeLog, docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
369 docs/doxygen/doxygroups.cc, docs/doxygen/Intro.3,
370 docs/html/17_intro/BUGS, docs/html/17_intro/C++STYLE,
371 docs/html/17_intro/CHECKLIST, docs/html/17_intro/DESIGN,
372 docs/html/17_intro/howto.html, docs/html/17_intro/porting.html,
373 docs/html/17_intro/porting.texi, docs/html/18_support/howto.html,
374 docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
375 docs/html/21_strings/howto.html,
376 docs/html/23_containers/howto.html,
377 docs/html/26_numerics/howto.html, docs/html/27_io/howto.html,
378 docs/html/27_io/binary_iostreams_kuehl.txt,
379 docs/html/ext/sgiexts.html, docs/html/faq/index.html,
380 docs/html/faq/index.txt, testsuite/24_iterators/iterator.cc,
381 include/bits/basic_file.h, include/bits/locale_facets.h,
382 include/bits/locale_facets.tcc, include/bits/std_sstream.h,
383 include/ext/ropeimpl.h, include/ext/stl_rope.h,
384 libsupc++/tinfo.cc, libsupc++/cxxabi.h, libsupc++/typeinfo,
385 libsupc++/eh_throw.cc, acinclude.m4, aclocal.m4, configure,
386 configure.target, ChangeLog-2000: Fix spelling errors.
388 * config/locale/moneypunct_members_gnu.cc,
389 include/bits/locale_facets.h: Fix spelling errors.
391 2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
393 * testsuite/23_containers/list_capacity.cc: New file.
394 * testsuite/23_containers/list_ctor.cc: New file.
395 * testsuite/23_containers/list_modifiers.cc: New file.
396 * testsuite/23_containers/list_operators.cc: New file.
398 2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
400 * include/bits/stl_list.h: Reformatted according to C++STYLE rules.
401 (size): Replaced nonstandard distance() call with the standard one.
402 (transfer): Uglified to _M_transfer.
404 2001-11-21 Paolo Carlini <pcarlini@unitus.it>
407 * include/bits/basic_string.tcc (basic_string::reserve): Never shrink
408 below the current size.
409 * testsuite/21_strings/capacity.cc (test02): Add test.
411 2001-11-19 Phil Edwards <pme@gcc.gnu.org>
413 * docs/doxygen/Intro.3: More notes.
414 * docs/doxygen/style.css: Update to default style from Doxygen 1.2.10.
415 * include/bits/stl_algobase.h: Add doxygen hooks for functions.
416 * include/ext/hash_map: Add @file hook.
417 * include/ext/hash_set: Likewise.
418 * include/ext/rope: Likewise.
419 * include/ext/ropeimpl.h: Likewise.
420 * include/ext/slist: Likewise.
421 * include/ext/stl_hash_fun.h: Likewise.
422 * include/ext/stl_hashtable.h: Likewise.
423 * include/ext/stl_rope.h: Likewise.
425 * docs/html/17_intro/license.html: Remove "experimental" sentence.
426 * docs/html/19_diagnostics/howto.html: Document new verbose
428 * testsuite/27_io/filebuf.cc: Fix comment, move tweakable parameter
429 to more visible (closer to description) position.
431 * libsupc++/eh_type.cc: Formatting tweak.
432 * libsupc++/exception: Likewise.
433 * src/vterminate.cc: Likewise.
435 * docs/html/17_intro/porting.html: Regenerate.
436 * docs/html/faq/index.txt: Regenerate.
438 2001-11-18 Jason Merrill <jason@redhat.com>
440 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Take void*.
441 * libsupc++/eh_catch.cc (__cxa_begin_catch): Likewise.
442 * libsupc++/unwind-cxx.h: Adjust.
443 * src/Makefile.am (strstream.o): Pass -Wno-deprecated.
445 * libsupc++/eh_type.cc (__cxa_current_exception_type): New file.
446 * libsupc++/cxxabi.h: Declare it.
447 * libsupc++/Makefile.am (sources): Add it.
448 * src/vterminate.cc (verbose_terminate_handler): New file.
449 * libsupc++/exception: Declare it.
450 * src/Makefile.am (sources): Add it.
452 * src/Makefile.am (VPATH): Check the src directory before the top one.
454 2001-11-16 Paolo Carlini <pcarlini@unitus.it>
456 * include/bits/stl_deque.h (deque::erase()): Fix memory leak.
458 2001-11-16 Loren J. Rittle <ljrittle@acm.org>
460 * docs/html/17_intro/howto.html (Thread-safety): Rename
461 section to ``The Standard C++ library and multithreading'' and
462 update information based on recent mailing list traffic. Move
463 all discussion of __USE_MALLOC to...
464 * docs/html/23_containers/howto.html (Containers and multithreading):
465 ...here and rework it based on recent mailing list traffic.
467 2001-11-15 Loren J. Rittle <ljrittle@acm.org>
469 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Clarify
472 2001-11-15 <bjornw@planetarion.com>
473 Loren J. Rittle <ljrittle@acm.org>
476 * include/bits/stl_alloc.h (alloc): Update to use __mem_interface.
477 (single_client_alloc): Likewise.
479 2001-11-08 Danny Smith <dannysmith@users.sourceforge.net>
481 * configure.target: Add os_include_dir for mingw32* target.
482 * docs/html/17_intro/porting.texi: Mention mingw32 as target benefiting
483 from _GLIBCPP_AVOID_FSEEK.
484 * config/os/mingw32/bits/ctype_base.h: New file.
485 * config/os/mingw32/bits/ctype_inline.h: New file.
486 * config/os/mingw32/bits/ctype_noninline.h: New file.
487 * config/os/mingw32/bits/os_defines.h: New file.
489 2001-11-07 Nathan Myers <ncm@cantrip.org>
491 * docs/html/faq/index.html (5.8): New entry on ABIs.
492 * docs/html/faq/index.txt: Regenerate.
494 2001-11-07 Phil Edwards <pme@gcc.gnu.org>
496 * docs/html/faq/index.html: Explain libsupc++, mention 'long long'
498 * docs/html/faq/index.txt: Regenerate.
500 2001-11-06 Phil Edwards <pme@gcc.gnu.org>
502 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Run the test in
504 * aclocal.m4: Regenerate.
505 * configure: Regenerate.
507 2001-11-05 Phil Edwards <pme@gcc.gnu.org>
509 * porting.texi: Move...
510 * docs/html/17_intro/porting.texi: ...to here.
511 * docs/html/Makefile: Add rule to rebuild...
512 * docs/html/17_intro/porting.html: ...this. New file.
514 2001-11-05 Felix Natter <fnatter@gmx.net>
516 * docs/html/17_intro/porting-howto.xml: check in v0.9.4
517 * docs/html/17_intro/porting-howto.html: regenerate
519 2001-11-02 Loren J. Rittle <ljrittle@acm.org>
521 * include/bits/stl_threads.h (_Atomic_swap): Only enable path
522 when platform supports __GTHREAD_MUTEX_INIT.
524 2001-11-02 Phil Edwards <pme@gcc.gnu.org>
526 * acconfig.h: Update comments.
527 * acinclude.m4 (GLIBCPP_ENABLE_C99): Move strtoll, strtoull tests...
528 (GLIBCPP_ENABLE_LONG_LONG): ...to here. Don't check enable_c99.
529 * aclocal.m4: Regenerate.
530 * config.h.in: Regenerate.
531 * configure: Regenerate.
533 * include/bits/boost_concept_check.h: Unconditionally compile uses
534 of 'long long' which require only compiler support, not C lib support.
535 * include/bits/cpp_type_traits.h: Likewise.
536 * include/bits/std_limits.h: Likewise.
537 * include/bits/type_traits.h: Likewise.
538 * src/concept-inst.cc: Likewise.
539 * src/limits.cc: Likewise.
540 * include/c_shadow/stdlib.h: Compile conditionally on _GLIBCPP_USE_C99
541 instead of _GLIBCPP_USE_LONG_LONG.
542 * include/c_shadow/bits/std_cstdlib.h: Likewise.
544 2001-11-02 Phil Edwards <pme@gcc.gnu.org>
546 * config/io/c_io_stdio.h: Correct grammar in comments.
547 * docs/doxygen/Intro.3: Expand "top-level" man page.
548 * docs/doxygen/doxygroups.cc: New module definitions (comments).
549 * docs/doxygen/mainpage.doxy: Tweaks.
550 * docs/doxygen/run_doxygen: Update Doxygen version, massage man pages.
552 Add @file hooks so that headers are considered to be documented.
553 * include/bits/basic_ios.h, include/bits/basic_file.h,
554 include/bits/basic_string.h, include/bits/boost_concept_check.h,
555 include/bits/char_traits.h, include/bits/codecvt.h,
556 include/bits/concept_check.h, include/bits/cpp_type_traits.h,
557 include/bits/fpos.h, include/bits/gslice.h, include/bits/gslice_array.h,
558 include/bits/indirect_array.h, include/bits/ios_base.h,
559 include/bits/locale_facets.h, include/bits/localefwd.h,
560 include/bits/mask_array.h, include/bits/pthread_allocimpl.h,
561 include/bits/slice.h, include/bits/slice_array.h,
562 include/bits/std_algorithm.h, include/bits/std_bitset.h,
563 include/bits/std_complex.h, include/bits/std_deque.h,
564 include/bits/std_fstream.h, include/bits/std_functional.h,
565 include/bits/std_iomanip.h, include/bits/std_ios.h,
566 include/bits/std_iosfwd.h, include/bits/std_iostream.h,
567 include/bits/std_istream.h, include/bits/std_iterator.h,
568 include/bits/std_limits.h, include/bits/std_list.h,
569 include/bits/std_locale.h, include/bits/std_map.h,
570 include/bits/std_memory.h, include/bits/std_numeric.h,
571 include/bits/std_ostream.h, include/bits/std_queue.h,
572 include/bits/std_set.h, include/bits/std_sstream.h,
573 include/bits/std_stack.h, include/bits/std_streambuf.h,
574 include/bits/std_string.h, include/bits/std_utility.h,
575 include/bits/std_valarray.h, include/bits/std_vector.h,
576 include/bits/stl_algo.h, include/bits/stl_alloc.h,
577 include/bits/stl_bvector.h, include/bits/stl_construct.h,
578 include/bits/stl_deque.h, include/bits/stl_heap.h,
579 include/bits/stl_iterator.h, include/bits/stl_iterator_base_funcs.h,
580 include/bits/stl_iterator_base_types.h, include/bits/stl_list.h,
581 include/bits/stl_map.h, include/bits/stl_multimap.h,
582 include/bits/stl_multiset.h, include/bits/stl_numeric.h,
583 include/bits/stl_pair.h, include/bits/stl_pthread_alloc.h,
584 include/bits/stl_queue.h, include/bits/stl_raw_storage_iter.h,
585 include/bits/stl_relops.h, include/bits/stl_set.h,
586 include/bits/stl_stack.h, include/bits/stl_tempbuf.h,
587 include/bits/stl_threads.h, include/bits/stl_tree.h,
588 include/bits/stl_uninitialized.h, include/bits/stl_vector.h,
589 include/bits/stream_iterator.h, include/bits/streambuf_iterator.h,
590 include/bits/stringfwd.h, include/bits/type_traits.h,
591 include/bits/valarray_array.h, include/bits/valarray_meta.h:
592 Add hooks, tweak comments only.
594 * include/bits/stl_algobase.h (swap, min, iter_swap): Also
595 document these functions.
596 * include/bits/stl_function.h: Tweak link comments.
598 2001-11-01 Paolo Carlini <pcarlini@unitus.it>
599 Benjamin Kosnik <bkoz@redhat.com>
601 * testsuite/27_io/ios_manip_fmtflags.cc: Fix for non-interactive
603 * include/bits/locale_facets.tcc (num_put::do_put(bool)): Fix.
605 2001-11-01 Egor Duda <deo@logos-m.ru>
607 * config/os/newlib/bits/ctype_noninline.h
608 (ctype<char>::do_toupper(char __c)): Check for proper character class.
609 (ctype<char>::do_tolower(char __c)): Ditto.
611 2001-11-01 Phil Edwards <pme@gcc.gnu.org>
613 * acinclude.m4: Fix spacing.
614 (GLIBCPP_ENABLE_CONCEPT_CHECKS): New macro.
615 * configure.in: Call here.
616 * acconfig.h: Add _GLIBCPP_CONCEPT_CHECKS.
617 * include/bits/boost_concept_check.h: Fix headers.
618 (__function_requires): Make inline.
619 * include/bits/c++config (_GLIBCPP_CONCEPT_CHECKS): Remove.
620 * aclocal.m4: Regenerate.
621 * config.h.in: Regenerate.
622 * configure: Regenerate.
624 Move trailing ';' inside macro, PR libstdc++/3666.
625 * include/bits/concept_check.h: Add semicolon.
626 * include/bits/stl_algo.h: Remove semicolon.
627 * include/bits/stl_algobase.h: Likewise.
628 * include/bits/stl_deque.h: Likewise.
629 * include/bits/stl_heap.h: Likewise.
630 * include/bits/stl_iterator_base_funcs.h: Likewise.
631 * include/bits/stl_list.h: Likewise.
632 * include/bits/stl_map.h: Likewise.
633 * include/bits/stl_multimap.h: Likewise.
634 * include/bits/stl_multiset.h: Likewise.
635 * include/bits/stl_numeric.h: Likewise.
636 * include/bits/stl_queue.h: Likewise.
637 * include/bits/stl_set.h: Likewise.
638 * include/bits/stl_stack.h: Likewise.
639 * include/bits/stl_vector.h: Likewise.
640 * include/ext/hash_map: Likewise.
641 * include/ext/hash_set: Likewise.
642 * include/ext/slist: Likewise.
644 * src/concept-inst.cc: New file with explicit instantiations.
645 * src/Makefile.am (sources): Add here, with special build rules.
646 * src/Makefile.in: Regenerate.
648 2001-11-01 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
650 * include/bits/std_complex.h (_Norm_helper): New class template.
652 (abs): Tweak. Fix Thinko.
654 2001-10-31 Benjamin Kosnik <bkoz@redhat.com>
657 * include/bits/codecvt.h: Add virtual member function declarations.
658 * src/codecvt.cc: Tweaks.
659 * testsuite/22_locale/codecvt.cc: Test compilation only,
660 non-required facets not required to have linkage.
662 2001-10-31 Edward E. Meyer <edward.e.meyer@boeing.com>
665 * include/bits/std_complex.h (complex::operator/=): Correct sign.
667 2001-10-30 Paolo Carlini <pcarlini@unitus.it>
668 Benjamin Kosnik <bkoz@redhat.com>
671 * include/bits/basic_string.h: Tweaks.
672 * include/bits/basic_string.tcc (string::_M_replace(iterator,
673 iterator, _ForwardIter, _ForwardIter, forward_iterator_tag): Fix.
674 * src/string-inst.cc: Tweaks, add instantiation.
675 * testsuite/21_strings/replace.cc (test02): Add test.
676 * testsuite/21_strings/assign.cc (test01): New file.
678 2001-10-30 Jakub Jelinek <jakub@redhat.com>
680 * include/bits/stl_deque.h (_M_new_elements_at_front): Use
681 __throw_exception_again.
682 (_M_new_elements_at_back): Likewise.
684 2001-10-29 Benjamin Kosnik <bkoz@redhat.com>
687 * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
688 * testsuite/27_io/filebuf.cc (test07): New test.
689 (test03): Modify showmanyc test.
691 2001-10-26 Benjamin Kosnik <bkoz@redhat.com>
694 * config/locale/codecvt_specializations_ieee_1003.1-200x.h
695 (__enc_traits::~__enc_traits): Fix.
696 (__enc_traits::_M_init): Add error checking.
698 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
701 * include/bits/locale_facets.tcc (time_get::_M_extract_name): Fix.
703 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
706 * include/bits/ostream.tcc (ostream::operator<<(streambuf*)): Fix
708 * include/bits/istream.tcc (istream::operator>>(streambuf*): Make
709 consistent, where possible.
710 * include/bits/streambuf.tcc: Tweak.
712 2001-10-25 Brendan Kehoe <brendan@zen.org>
715 * bits/ostream.tcc (seekp): Scope use as ios_base::failbit.
716 * bits/istream.tcc (seekg): Likewise.
718 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
719 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
720 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
722 * config/os/gnu-linux/bits/os_defines.h: Set to 64 bit longs with
724 * include/bits/std_limits.h: Fix wchar_t issues.
725 * config/os/aix/bits/os_defines.h: Fix.
727 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
729 * include/bits/locale_facets.tcc (collate::do_transform): Fix.
731 2001-10-25 Phil Edwards <pme@gcc.gnu.org>
733 * docs/html/documentation.html: Fix typo.
735 2001-10-23 Benjamin Kosnik <bkoz@redhat.com>
737 Make -fno-exceptions work.
738 * config/locale/c_locale_gnu.cc: Use functexcept.
739 * include/bits/c++config (__stl_assert): Remove.
740 (__STL_USE_EXCEPTIONS): Same.
742 (__STL_CATCH_ALL): Same.
744 (__STL_RETHROW): Same.
745 (__STL_NOTHROW): Same.
746 (__STL_UNWIND): Same.
747 * include/bits/pthread_allocimpl.h: Fix.
748 * include/bits/std_bitset.h: Same.
749 * include/bits/std_list.h: Same.
750 * include/bits/std_memory.h: Same.
751 * include/bits/std_queue.h: Same.
752 * include/bits/stl_alloc.h: Same.
753 * include/bits/stl_deque.h: Same.
754 * include/bits/stl_list.h: Same.
755 * include/bits/stl_queue.h: Same.
756 * include/bits/stl_tempbuf.h: Same.
757 * include/bits/stl_tree.h: Same.
758 * include/bits/stl_uninitialized.h: Same.
759 * include/bits/stl_vector.h: Same.
760 * include/ext/ropeimpl.h: Same.
761 * include/ext/slist: Same.
762 * include/ext/stl_hashtable.h: Same.
763 * include/ext/stl_rope.h: Same.
764 * libsupc++/new_op.cc: Include cstdlib.
765 * libsupc++/eh_personality.cc: Add exception_defines include. Use
766 __throw_exception_again, tweak.
767 * libsupc++/eh_aux_runtime.cc: Include stdlib for abort.
768 * libsupc++/vec.cc: Tweak.
769 * src/functexcept.cc: Remove unused arguments.
770 * testsuite/23_containers/bitset_members.cc: Tweak.
772 2001-10-22 Benjamin Kosnik <bkoz@redhat.com>
774 * config/cpu/i386/bits/limits.h: Move to...
775 * config/cpu/i386/bits/cpu_limits.h: ...here.
776 * config/cpu/cris/bits/cpu_limits.h: Same.
777 * config/cpu/powerpc/bits/cpu_limits.h: Same.
778 * config/cpu/x86-64/bits/cpu_limits.h: Same.
779 * config/cpu/alpha/bits/cpu_limits.h: New.
780 * config/cpu/m68k/bits/cpu_limits.h: New.
781 * config/cpu/s390/bits/cpu_limits.h: New.
782 * config/os/aix/bits/os_defines.h: Tweaks.
783 * config/os/bsd/freebsd/bits/os_defines.h: Same.
784 * config/os/bsd/netbsd/bits/os_defines.h: Same.
785 * config/os/djgpp/bits/os_defines.h: Same.
786 * config/os/generic/bits/os_defines.h: Same.
787 * config/os/gnu-linux/bits/os_defines.h: Same.
788 * config/os/hpux/bits/os_defines.h: Same.
789 * config/os/irix/irix5.2/bits/os_defines.h: Same.
790 * config/os/irix/irix6.5/bits/os_defines.h: Same.
791 * config/os/newlib/bits/os_defines.h: Same.
792 * config/os/solaris/solaris2.5/bits/os_defines.h: Same.
793 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
794 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
796 * include/bits/c++config: Remove include.
797 * include/bits/limits_generic.h: Remove.
798 * include/bits/std_limits.h: Include cpu_limits.h.
799 * include/Makefile.am: Fixup.
800 * src/limits.cc: Tweak.
801 * src/limits_generic.cc: Remove.
802 * src/gen-num-limits.cc: Remove.
803 * mknumeric_limits: Remove.
805 2001-10-20 Brendan Kehoe <brendan@zen.org>
807 * bits/type_traits.h (_Bool): Removed this type.
808 (__true_type, __false_type): Change to be plain structs.
809 * src/string-inst.cc (__destroy_aux): Change third parm to be
810 __false_type instead of _Bool<false>.
811 * src/misc-inst.cc (__uninitialized_fill_n_aux,
812 __uninitialized_copy_aux): Likewise.
814 2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
816 * mkcheck.in (static_fail): Remove older memory limit functionality.
817 Disable E_TIME due to formatting issues.
821 2001-10-19 Brendan Kehoe <brendan@zen.org>
823 * include/bits/std_complex.h: Default initialize second argument
824 of polar to 0, as specified in Library DR #79
826 2001-10-19 Brendan Kehoe <brendan@zen.org>
828 * include/bits/stl_raw_storage_iter.h (operator=): Fix to call
829 _Construct instead of construct.
831 2001-10-19 Brendan Kehoe <brendan@zen.org>
833 * include/bits/basic_string.tcc (find_first_not_of): Take out check for
834 __n being non-zero, since the standard does not mandate that.
835 e.g., a search for "" in "" should yield position 0, not npos.
836 (find_last_not_of): Likewise.
838 2001-10-19 Brendan Kehoe <brendan@zen.org>
840 * include/bits/stl_bvector.h (vector<bool>::_M_range_check): Fix
841 to throw out_of_range, not range_error, thus sayeth $23.1.1.13.
843 2001-10-19 Brendan Kehoe <brendan@zen.org>
845 * include/bits/stl_iterator.h (reverse_iterator::current): Rename
846 member from _M_current, and change all uses; thus sayeth $24.4.1.1.
848 2001-10-19 Brendan Kehoe <brendan@zen.org>
850 * include/bits/stl_algo.h (partial_sort): Add missing `>' on the
851 template parameter _ValueType.
853 2001-10-19 Brendan Kehoe <brendan@zen.org>
855 * include/bits/std_limits.h: Clean up extra semicolons.
856 * include/bits/locale_facets.h: Likewise.
857 * include/bits/type_traits.h: Likewise.
859 2001-10-19 Brendan Kehoe <brendan@zen.org>
861 * include/bits/localefwd.h (locale::combine): Add const for lib DR 14.
862 * include/bits/locale_facets.tcc (locale::combine): Likewise.
864 2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
866 * include/bits/locale_facets.h (__timepunct::_M_put_helper):
867 Declare specializations for char, wchar_t.
869 2001-10-19 Andreas Jaeger <aj@suse.de>
871 * config/cpu/x86-64/bits/limits.h: New file.
872 * config/cpu/x86-64/bits/atomicity.h: New file.
873 * configure.target: Add x86-64.
875 2001-10-17 Phil Edwards <pme@gcc.gnu.org>
877 * docs/html/17_intro/howto.html: Remove 1999 links (and explain
878 why). Add link to recent message.
879 * docs/html/faq/index.html (5.6): Reformat text only; fixup <pre>
881 * docs/html/faq/index.txt: Regenerate.
883 2001-10-12 Loren J. Rittle <ljrittle@acm.org>
885 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Update
886 based on Nathan's review. Use Nathan's words.
888 2001-10-11 Matt Kraai <kraai@alumni.carnegiemellon.edu>
890 * docs/html/configopts.html: Quote StyleSheet attribute values.
891 * docs/html/documentation.html: Likewise.
892 * docs/html/explanations.html: Likewise.
893 * docs/html/install.html: Likewise.
894 * docs/html/17_intro/howto.html: Likewise.
895 * docs/html/17_intro/license.html: Likewise.
896 * docs/html/18_support/howto.html: Likewise.
897 * docs/html/19_diagnostics/howto.html: Likewise.
898 * docs/html/20_util/howto.html: Likewise.
899 * docs/html/21_strings/howto.html: Likewise.
900 * docs/html/22_locale/howto.html: Likewise.
901 * docs/html/23_containers/howto.html: Likewise.
902 * docs/html/24_iterators/howto.html: Likewise.
903 * docs/html/25_algorithms/howto.html: Likewise.
904 * docs/html/26_numerics/howto.html: Likewise.
905 * docs/html/27_io/howto.html: Likewise.
906 * docs/html/ext/howto.html: Likewise.
907 * docs/html/ext/sgiexts.html: Likewise.
908 * docs/html/faq/index.html: Likewise.
910 2001-10-11 Loren J. Rittle <ljrittle@acm.org>
912 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Rewrite.
913 * docs/html/23_containers/howto.html (Containers and multithreading):
916 2001-10-09 Phil Edwards <pme@gcc.gnu.org>
918 * docs/html/17_intro/howto.html: Tweak markup and value type.
919 * docs/html/27_io/howto.html: Tweak markup, describe setbuf() for
920 nonzero arguments, add new note on threading.
921 * docs/html/faq/index.html: Update.
922 * docs/html/faq/index.txt: Regenerate.
924 2001-10-09 Phil Edwards <pme@gcc.gnu.org>
926 * docs/html/configopts.html: More HTML->XHTML and lowercasing of tags.
927 * docs/html/documentation.html: Likewise.
928 * docs/html/explanations.html: Likewise.
929 * docs/html/install.html: Likewise.
930 * docs/html/17_intro/howto.html: Likewise.
931 * docs/html/17_intro/license.html: Likewise. Tighten up language.
932 * docs/html/18_support/howto.html: Likewise.
933 * docs/html/19_diagnostics/howto.html: Likewise.
934 * docs/html/20_util/howto.html: Likewise.
935 * docs/html/21_strings/howto.html: Likewise.
936 * docs/html/22_locale/howto.html: Likewise.
937 * docs/html/23_containers/howto.html: Likewise.
938 * docs/html/24_iterators/howto.html: Likewise.
939 * docs/html/25_algorithms/howto.html: Likewise.
940 * docs/html/26_numerics/howto.html: Likewise.
941 * docs/html/27_io/howto.html: Likewise.
942 * docs/html/ext/howto.html: Likewise.
943 * docs/html/ext/sgiexts.html: Likewise.
944 * docs/html/faq/index.html: Likewise. Not so many absolute links.
945 * docs/html/faq/index.txt: Regenerate.
947 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
949 * docs/html/22_locale/locale.html, docs/html/faq/index.html: Fix
950 spelling errors of "separate" as "seperate", and corresponding
951 spelling errors of related words.
952 * docs/html/faq/index.txt: Regenerate.
954 2001-10-05 Phil Edwards <pme@gcc.gnu.org>
956 * config/cpu/alpha/bits/atomicity.h (__compare_and_swap): Remove
958 * config/cpu/arm/bits/atomicity.h: Likewise.
959 * config/cpu/generic/bits/atomicity.h: Likewise.
960 * config/cpu/i486/bits/atomicity.h: Likewise.
961 * config/cpu/ia64/bits/atomicity.h: Likewise.
962 * config/cpu/mips/bits/atomicity.h: Likewise.
963 * config/cpu/powerpc/bits/atomicity.h: Likewise.
964 * config/cpu/sparc/sparc32/bits/atomicity.h: Likewise.
965 * config/cpu/sparc/sparc64/bits/atomicity.h: Likewise.
967 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
969 * docs/html/faq/index.html: Describe DR #22, and a workaround.
970 * docs/html/faq/index.txt: Regenerate.
972 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
974 * docs/html/17_intro/COPYING.DOC: New file, GFDL v1.1 from the FSF.
975 * docs/html/17_intro/license.html: New file. Explain the licenses
978 * docs/html/configopts.html: Link to license.html.
979 * docs/html/documentation.html: Likewise.
980 * docs/html/explanations.html: Likewise.
981 * docs/html/install.html: Likewise.
982 * docs/html/17_intro/howto.html: Likewise.
983 * docs/html/18_support/howto.html: Likewise.
984 * docs/html/19_diagnostics/howto.html: Likewise.
985 * docs/html/20_util/howto.html: Likewise.
986 * docs/html/21_strings/howto.html: Likewise.
987 * docs/html/22_locale/howto.html: Likewise.
988 * docs/html/23_containers/howto.html: Likewise.
989 * docs/html/24_iterators/howto.html: Likewise.
990 * docs/html/25_algorithms/howto.html: Likewise.
991 * docs/html/26_numerics/howto.html: Likewise.
992 * docs/html/27_io/howto.html: Likewise.
993 * docs/html/ext/howto.html: Likewise.
994 * docs/html/ext/sgiexts.html: Likewise.
995 * docs/html/faq/index.html: Likewise. New question, linking to
996 the new license.html.
998 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
1000 * docs/html/17_intro/howto.html: Fix mis-sed in header from 20010917.
1001 * docs/html/18_support/howto.html: Likewise.
1002 * docs/html/19_diagnostics/howto.html: Likewise.
1003 * docs/html/20_util/howto.html: Likewise.
1004 * docs/html/21_strings/howto.html: Likewise.
1005 * docs/html/22_locale/howto.html: Likewise.
1006 * docs/html/23_containers/howto.html: Likewise.
1007 * docs/html/24_iterators/howto.html: Likewise.
1008 * docs/html/25_algorithms/howto.html: Likewise.
1009 * docs/html/26_numerics/howto.html: Likewise.
1010 * docs/html/27_io/howto.html: Likewise.
1011 * docs/html/ext/howto.html: Likewise.
1012 * docs/html/faq/index.html: Likewise. Spacing fix.
1014 2001-10-03 Dimitris Vyzovitis <vyzo@media.mit.edu>
1016 * include/bits/stl_threads.h (_Atomic_swap): New function.
1017 (_Swap_lock_struct<__dummy>::_S_swap_lock): New data.
1018 * testsuite/ext/rope.cc: New file.
1020 2001-10-02 Benjamin Kosnik <bkoz@redhat.com>
1022 * config/locale/time_members_gnu.h: Remove.
1023 * config/locale/time_members_generic.h: Remove.
1024 * config/locale/time_members_gnu.cc (__timepunct::_M_put_helper): Add.
1025 * config/locale/time_members_generic.cc: Same.
1026 * include/bits/locale_facets.h: Add data members.
1027 (__timepunct::_M_put_helper): Change signature.
1028 (__timepunct::_M_date_formats): Same.
1029 (__timepunct::_M_time_formats): Same.
1030 (__timepunct::_M_ampm): Add.
1031 (__timepunct::_M_date_time_formats): Add.
1032 (time_get::_M_extract_via_format): Add.
1033 (time_get::_M_extract_time): Change to...
1034 (time_get::_M_extract_num): ... this, modify signature.
1035 * include/bits/locale_facets.tcc (time_get::do_get_year): Fix.
1036 (time_get::do_get_time): Fix.
1037 (time_get::do_get_date): Fix.
1039 * acinclude.m4: Remove CTIME_H.
1040 * aclocal.m4: Regenerate.
1041 * include/Makefile.am: Same.
1042 * include/Makefile.in: Regenerate.
1043 * configure: Regenerate.
1045 * testsuite/22_locale/time_get_members_char.cc: Fix.
1046 * testsuite/22_locale/time_get_members_wchar_t.cc: Add.
1047 * testsuite/22_locale/time_put_members_wchar_t.cc: Add.
1049 2001-10-01 Hans-Peter Nilsson <hp@axis.com>
1051 * config/cpu/cris/bits/atomicity.h: Correct file header.
1053 2001-09-29 Hans-Peter Nilsson <hp@axis.com>
1055 * configure.target (LIMITSH): Set for cris.
1056 (cpu_include_dir): Set for cris-*-*.
1057 * config/cpu/cris/bits/atomicity.h: New file.
1058 * config/cpu/cris/bits/limits.h: New file.
1060 2001-09-28 Benjamin Kosnik <bkoz@redhat.com>
1062 * config/locale/time_members_gnu.h (__timepunct::_M_get_helper): Add.
1063 (__timepunct::_M_put_helper): Add.
1064 * config/locale/time_members_generic.h: Same.
1065 * include/bits/locale_facets.h (__match_parallel): Remove. Format.
1066 (__timepunct): Add data members.
1067 (__timepunct::_M_days): Add.
1068 (__timepunct::_M_days_abbreviated): Add.
1069 (__timepunct::_M_months): Add.
1070 (__timepunct::_M_months_abbreviated): Add.
1071 (__timepunct::_M_initialize_timepunct): Add.
1072 * include/bits/locale_facets.tcc: Same.
1073 * src/locale-inst.cc: Remove instantiations for __match_parallel.
1074 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_CC.
1075 * aclocal.m4: Regenerate.
1076 * configure: Regenerate.
1077 * testsuite/22_locale/time_put_members_char.cc: Mark XFAIL.
1078 * testsuite/22_locale/time_put_members_char.cc (test01): New file.
1079 * testsuite/22_locale/time_get.cc: New file.
1081 2001-09-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1083 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
1084 correct multilib builddir.
1085 Properly locate libgcc_s.
1087 2001-09-27 Phil Edwards <pme@gcc.gnu.org>
1089 * include/std/*: Add Doxygen hooks.
1090 * docs/doxygen/Intro.3: New file, general intro to the man pages.
1091 * docs/doxygen/mainpage.doxy: Formatting tweaks. List our own links
1092 rather than using a generated index.
1093 * docs/doxygen/user.cfg.in: Disable the index, enable man pages.
1094 * docs/doxygen/run_doxygen: Massage the generated man pages, using...
1095 * docs/doxygen/stdheader.cc: ...this new file.
1097 2001-09-26 Stan Shebs <shebs@apple.com>
1099 * include/Makefile.am: Remove RCS Id strings.
1100 * src/Makefile.am: Ditto.
1101 * docs/doxygen/run_doxygen: Ditto.
1102 * docs/html/configopts.html: Ditto.
1103 * docs/html/documentation.html: Ditto.
1104 * docs/html/explanations.html: Ditto.
1105 * docs/html/install.html: Ditto.
1106 * docs/html/17_intro/howto.html: Ditto.
1107 * docs/html/18_support/howto.html: Ditto.
1108 * docs/html/19_diagnostics/howto.html: Ditto.
1109 * docs/html/20_util/howto.html: Ditto.
1110 * docs/html/21_strings/howto.html: Ditto.
1111 * docs/html/22_locale/howto.html: Ditto.
1112 * docs/html/23_containers/howto.html: Ditto.
1113 * docs/html/24_iterators/howto.html: Ditto.
1114 * docs/html/25_algorithms/howto.html: Ditto.
1115 * docs/html/26_numerics/howto.html: Ditto.
1116 * docs/html/27_io/howto.html: Ditto.
1117 * docs/html/ext/howto.html: Ditto.
1118 * docs/html/ext/sgiexts.html: Ditto.
1119 * docs/html/faq/index.html: Ditto.
1120 * docs/html/faq/index.txt: Ditto.
1122 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
1124 * testsuite/21_strings/c_strings.cc (test01, test02): Increase
1127 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
1129 * docs/html/20_util/howto.html: Add anchor name.
1130 * docs/html/23_containers/howto.html: Line wrapping, another link.
1131 * docs/html/25_algorithms/howto.html: Another note.
1133 * docs/html/ext/howto.html: Link to SGI extensions. List DRs and
1135 * docs/html/ext/lwg-active.html: ...in this new file (from R19),
1136 * docs/html/ext/lwg-defects.html: and this new file (from R19).
1137 * docs/html/ext/sgiexts.html: New file. Mention SGI extensions
1138 carried over to libstdc++-v3.
1139 * docs/html/faq/index.html: Link to SGI extensions. Mention the
1140 "missing .." pseudobug.
1141 * docs/html/faq/index.txt: Regenerate.
1143 * include/bits/ios_base.h: DR-related comment cleanup.
1144 * include/bits/istream.tcc: Likewise.
1145 * include/bits/locale_facets.h: Likewise.
1146 * include/bits/locale_facets.tcc: Likewise.
1147 * include/bits/ostream.tcc: Likewise.
1148 * include/bits/std_bitset.h: Likewise.
1149 * include/bits/std_iosfwd.h: Likewise.
1150 * include/bits/std_istream.h: Likewise.
1151 * include/bits/std_ostream.h: Likewise.
1152 * include/bits/std_streambuf.h: Likewise.
1153 * include/bits/stl_pair.h: Likewise.
1154 * include/bits/streambuf_iterator.h: Likewise.
1156 * include/bits/std_map.h: Remove unused header inclusion guard
1157 _CPP_BITS_STL_TREE_H from around bits/stl_tree.h.
1158 * include/bits/std_set.h: Likewise.
1160 * include/bits/stl_function.h: Doxygen markup.
1161 * docs/doxygen/doxygroups.cc: New file, specifying module grouping.
1162 * libsupc++/typeinfo: Doxygen markup tweak.
1164 2001-09-20 Scott Johnston <scott@accom.com>
1165 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1167 * include/backward/alloc.h: Conditionally define malloc_alloc
1168 * testsuite/backward/header_deque_h.cc: New file.
1170 2001-09-20 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
1172 * libstdc++-v3/include/bits/locale_facets.tcc (money_put::do_put):
1173 change variable name so that it works with -fno-for-scope.
1175 2001-09-20 Benjamin Kosnik <bkoz@redhat.com>
1177 * testsuite/22_locale/numpunct_members_char.cc (test01): Remove
1178 redundant sanity checks.
1179 * testsuite/22_locale/money_put_members_wchar_t.cc (test01): Same.
1181 * testsuite/22_locale/money_put_members_char.cc (test01): Same.
1183 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test01): Same.
1184 * testsuite/22_locale/moneypunct_members_char.cc (test01): Same.
1185 * testsuite/22_locale/money_get_members_wchar_t.cc (test01): Same.
1187 * testsuite/22_locale/money_get_members_char.cc (test01): Same.
1190 2001-09-19 Benjamin Kosnik <bkoz@redhat.com>
1192 Implement std::time_put.
1193 * include/bits/locale_facets.h: Include time_members.h.
1195 (time_put): Implement.
1196 * include/bits/locale_facets.tcc (do_put): Put generic versions here.
1197 * include/bits/localefwd.h: Bump number of facets.
1198 * config/locale/time_members_generic.h: New file.
1199 * config/locale/time_members_gnu.h: New file.
1200 * config/locale/c_locale_generic.h: Include clocale.
1201 * src/locale-inst.cc: Add use_facet instantiations for __timepunct.
1202 * src/locale.cc: Add __timepunct initializations.
1203 * src/localename.cc (locale::_Impl::_Impl(string, size_t)): Same.
1204 * include/Makefile.am (stamp-target): Add time_members.h.
1205 * include/Makefile.in: Regenerate.
1206 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_H.
1207 * aclocal.m4: Regenerate.
1208 * configure: Regenerate.
1209 * testsuite/22_locale/time_put.cc: New file.
1210 * testsuite/22_locale/time_put_members_char.cc: New file.
1212 * docs/html/22_locale/locale.html: Add note.
1214 2001-09-17 Phil Edwards <pme@gcc.gnu.org>
1216 * docs/html/configopts.html: HTML to XHTML change. Lowercase tags.
1217 * docs/html/documentation.html: Likewise.
1218 * docs/html/explanations.html: Likewise.
1219 * docs/html/install.html: Likewise.
1220 * docs/html/17_intro/howto.html: Likewise.
1221 * docs/html/18_support/howto.html: Likewise.
1222 * docs/html/19_diagnostics/howto.html: Likewise.
1223 * docs/html/20_util/howto.html: Likewise.
1224 * docs/html/21_strings/howto.html: Likewise.
1225 * docs/html/22_locale/codecvt.html: Likewise.
1226 * docs/html/22_locale/ctype.html: Likewise.
1227 * docs/html/22_locale/howto.html: Likewise.
1228 * docs/html/22_locale/locale.html: Likewise.
1229 * docs/html/22_locale/messages.html: Likewise.
1230 * docs/html/23_containers/howto.html: Likewise.
1231 * docs/html/24_iterators/howto.html: Likewise.
1232 * docs/html/25_algorithms/howto.html: Likewise.
1233 * docs/html/26_numerics/howto.html: Likewise.
1234 * docs/html/27_io/howto.html: Likewise.
1235 * docs/html/ext/howto.html: Likewise.
1236 * docs/html/faq/index.html: Likewise.
1237 * docs/html/faq/index.txt: Regenerated.
1239 2001-09-14 Phil Edwards <pme@sources.redhat.com>
1241 * docs/html/17_intro/headers_cc.txt: "Sync"/copy real file over.
1242 * docs/html/17_intro/howto.html: Spacing and HTML markup fixes.
1243 * docs/html/18_support/howto.html: It won't compile; it's not code.
1244 * docs/html/19_diagnostics/howto.html: Point diagram seekers to
1246 * docs/html/22_locale/howto.html: Comment for future work.
1247 * docs/html/23_containers/howto.html: More comments.
1248 * docs/html/25_algorithms/howto.html: It's a comment, not a
1249 blunt command to the reader. (English grammar.)
1251 2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
1253 * config/locale/moneypunct_members_gnu.cc: Fix initialization of
1255 * testsuite/22_locale/money_get_members_wchar_t.cc (test02): New file.
1256 * testsuite/22_locale/money_put_members_wchar_t.cc (test02): Fix.
1258 2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
1260 * include/bits/locale_facets.tcc: Conditionalize use of strtold.
1262 2001-09-13 Alexandre Petit-Bianco <apbianco@redhat.com>
1264 * testsuite/22_locale/money_get_members_char.cc: Fixed typo in comment.
1265 * testsuite/22_locale/money_put_members_char.cc: Likewise.
1266 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
1268 2001-09-13 Benjamin Kosnik <bkoz@redhat.com>
1270 Implement std::money_get.
1271 * include/bits/locale_facets.tcc (money_get::do_get): Implement.
1272 * include/bits/locale_facets.h (money_get): Correct signatures.
1273 * testsuite/22_locale/money_get.cc: New file.
1274 * testsuite/22_locale/money_get_members_char.cc: New file.
1276 * include/bits/locale_facets.tcc (__verify_grouping): New
1277 function. Consolidate num_get and money_get group checking into
1279 (money_get): Use it.
1280 * src/locale.cc (num_get::_M_extract): Use it.
1281 * src/locale-inst.cc: Add instantiation.
1283 2001-09-12 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1285 * include/bits/std_limits.h (numeric_limits<float>::radix,
1286 numeric_limits<float>::epsilon: Fix thinko.
1288 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
1290 * configure.in: Fix cross compiling math routines. Correct
1291 comments for cross compiling and limits. Add floating point math
1292 routines found in newlib.
1293 * configure: Regenerate.
1294 * acconfig.h: Add macros.
1295 * config.h.in: Regenerate.
1297 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
1299 * config/locale/moneypunct_members_generic.cc
1300 (money_base::_S_construct_pattern): Remove unused parameters.
1302 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
1304 * include/Makefile.am (stamp-target): Remove link to self.
1305 * inclulde/Makefile.in: Regenerate.
1307 2001-09-09 Benjamin Kosnik <bkoz@redhat.com>
1309 Implement std::money_put.
1310 * include/bits/locale_facets.h
1311 (moneypunct::_M_initialize_moneypunct): Split up specializations
1312 to account for _Intl. More grody hacking to get around the
1313 ill-considered use of const bool as a template parameter.
1314 * config/locale/moneypunct_members_gnu.cc: And here.
1315 * config/locale/moneypunct_members_generic.cc: And here.
1316 * testsuite/22_locale/moneypunct_members_char.cc: Add tests.
1317 * testsuite/22_locale/moneypunct.cc: Add tests.
1318 * testsuite/22_locale/money_put_members_wchar_t.cc: New file.
1319 * testsuite/22_locale/moneypunct_members_wchar_t.cc: New file.
1321 * src/locale.cc (money_base::_S_construct_pattern): Move into
1323 * config/locale/moneypunct_members_gnu.cc: Add here.
1324 * config/locale/moneypunct_members_generic.cc: Add generic version
1327 * include/bits/locale_facets.tcc (money_put::do_put): Move member
1328 function definitions here.
1329 * include/bits/locale_facets.h (money_put): Implement.
1330 * src/locale-inst.cc: Add use_facet instantiations for moneypunct.
1331 Correct money_get, money_put instantiations.
1332 * src/locale.cc (money_base::_S_construct_pattern): Handle case
1334 * testsuite/22_locale/money_put_members_char.cc: Add tests.
1336 2001-09-05 Phil Edwards <pme@sources.redhat.com>
1338 * testsuite_flags.in: No longer need to search testsuite builddir.
1339 * src/stl-inst.cc (__sink_unused_warning): Unused, remove.
1340 * Makefile.am: The testsuite directory never needs to be made here.
1341 * Makefile.in: Regenerate.
1342 * include/Makefile.in: Regenerate.
1343 * libio/Makefile.in: Regenerate.
1344 * libmath/Makefile.in: Regenerate.
1345 * libsupc++/Makefile.in: Regenerate.
1346 * po/Makefile.in: Regenerate.
1347 * src/Makefile.in: Regenerate.
1348 * testsuite/Makefile.in: Regenerate.
1350 2001-09-04 Scott Johnston <scott@accom.com>
1351 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1353 * include/backward/iterator.h: Include <bits/std_iterator.h>,
1354 remove reverse_bidirectional_iterator.
1355 * testsuite/backward: New directory.
1356 * testsuite/backward/header_iterator_h.cc: New file.
1358 2001-09-04 Benjamin Kosnik <bkoz@redhat.com>
1360 * include/c_std/bits/std_c*.h: Don't use include_next.
1362 2001-09-03 Richard Sandiford <rsandifo@redhat.com>
1364 * libsupc++/eh_personality.cc (parse_lsda_header): Change type of
1365 tmp from _Unwind_Ptr to _Unwind_Word.
1367 2001-08-31 Jason Merrill <jason_merrill@redhat.com>
1369 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Simplify
1372 2001-08-28 Loren J. Rittle <ljrittle@acm.org>
1374 * include/Makefile.am: Use toplevel_srcdir to refer to src files
1375 outside this component.
1376 * include/Makefile.in: Regenerate.
1378 2001-08-27 Benjamin Kosnik <bkoz@redhat.com>
1380 * config/locale/c_locale_gnu.cc: Move facet info to separate files...
1381 * config/locale/c_locale_generic.cc: Same.
1382 * config/locale/moneypunct_members_gnu.cc: New file.
1383 * config/locale/moneypunct_members_generic.cc: New file.
1384 * config/locale/numpunct_members_gnu.cc: New file.
1385 * config/locale/numpunct_members_generic.cc: New file.
1386 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add moneypunct, numpunct
1388 * aclocal.m4: Regenerate.
1389 * configure: Regenerate.
1390 * src/Makefile.am (sources): And here.
1391 * src/Makefile.in: Regenerate.
1393 Rename for consistency with rest of testsuite.
1394 * testsuite/22_locale/codecvt.cc: New file.
1395 * testsuite/22_locale/money_put.cc: New file.
1396 * testsuite/22_locale/money_put_members_char.cc: New file.
1398 2001-08-27 Phil Edwards <pme@sources.redhat.com>
1401 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Handle enable/disable
1402 correctly for version-specific-runtime-libs.
1403 * aclocal.m4: Regenerate.
1404 * configure: Regenerate.
1406 2001-08-24 Loren J. Rittle <ljrittle@acm.org>
1408 * config/cpu/i386/bits/limits.h (__glibcpp_long_double_bits): Only
1409 define if not already provided by per-OS file.
1410 * config/os/bsd/freebsd/bits/os_defines.h (__glibcpp_long_double_bits):
1413 2001-08-24 Jan van Male <jan.vanmale@fenk.wau.nl>
1415 * docs/html/17_intro/C++STYLE: Fix typo.
1417 2001-08-24 Phil Edwards <pme@sources.redhat.com>
1419 * docs/html/23_containers/howto.html: Describe implementation of
1420 insertion with hints.
1422 2001-08-24 Kenny Simpson <kenny.simpson@gs.com>
1425 * include/bits/std_sstream.h (basic_ostringstream): Fix ctor.
1427 2001-08-24 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
1428 Phil Edwards <pme@sources.redhat.com>
1431 * include/bits/stl_tree.h (insert_unique): Revert last change.
1432 Values inserted at begin() must be less, not greater, than *begin()'s.
1433 * testsuite/23_containers/map_insert.cc: New file.
1435 2001-08-23 Benjamin Kosnik <bkoz@redhat.com>
1437 * config/locale/c_locale_gnu.cc: Minor tweaks.
1438 (moneypunct<wchar_t>): Implement.
1439 * include/bits/locale_facets.h: Same.
1440 * testsuite/22_locale/moneypunct.cc: New file.
1441 * testsuite/22_locale/moneypunct_byname.cc: New file.
1442 * testsuite/22_locale/moneypunct_char_members.cc: New file.
1444 2001-08-23 David Edelsohn <edelsohn@gnu.org>
1446 * config/os/gnu-linux/bits/os_defines.h: Correct __s390__ definitions.
1447 Set __powerpc__ long double definition based on __LONG_DOUBLE_128__.
1449 2001-08-23 Jason Merrill <jason_merrill@redhat.com>
1451 * testsuite_flags.in (build-includes): Re-add backward.
1453 2001-08-22 Benjamin Kosnik <bkoz@redhat.com>
1455 * testsuite/22_locale/collate_wchar_t_members.cc: Guard
1456 with _GLIBCPP_USE_WCHAR_T.
1458 2001-08-21 Benjamin Kosnik <bkoz@redhat.com>
1460 * testsuite/22_locale/collate_byname.cc (test01): Fix.
1462 2001-08-18 Vladimir A Merzliakov <wanderer@rsu.ru>
1464 * include/bits/locale_facets.tcc (collate::do_transform): Add typename.
1466 2001-08-18 Benjamin Kosnik <bkoz@redhat.com>
1468 * testsuite/22_locale/operators.cc: Add test.
1470 2001-08-17 Benjamin Kosnik <bkoz@redhat.com>
1472 Implement std::collate.
1473 * config/locale/collate_specializations_gnu.cc: Add here, implement in
1475 * config/locale/collate_specializations_generic.cc: Add here, but
1476 in a less sophisticated manner.
1477 * include/bits/locale_facets.tcc (collate): Add generic definition.
1478 * include/bits/locale_facets.h (~collate): Mark virtual.
1479 (collate::_M_compare_helper): New.
1480 (collate::_M_transform_helper): New.
1481 * src/locale.cc: Remove unnecessary specializations.
1482 * src/string-inst.cc: Tweak instantiation of ctors.
1484 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Do configury for collate.
1485 * aclocal.m4: Regenerate.
1486 * configure: Regenerate.
1487 * src/Makefile.am (sources): Add collate.cc.
1488 * src/Makefile.in: Regenerate.
1490 * testsuite/22_locale/collate_byname.cc: New.
1491 * testsuite/22_locale/collate.cc: New file.
1492 * testsuite/22_locale/collate_char_members.cc: New file.
1493 * testsuite/22_locale/collate_wchar_t_members.cc: New file.
1495 2001-08-16 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1497 * configure.target: Set LIMITSH for powerpc-*-*.
1498 * config/cpu/powerpc/bits/limits.h: New file.
1500 2001-08-16 Marc Espie <espie@openbsd.org>
1502 * configure.in: Check for <sys/types.h>.
1503 * configure: Rebuild.
1504 * config.h.in: Rebuild.
1505 * libmath/mathconf.h: Include <sys/types.h> prior to
1506 <machine/endian.h> if available.
1508 2001-08-15 Andreas Schwab <schwab@suse.de>
1510 * configure.target (cpu_include_dir): Set to `config/cpu/m68k' for
1511 m68k and m680[246]0.
1512 * config/cpu/m68k/bits/atomicity.h: New file.
1514 * include/bits/std_limits.h [__glibcpp_long_double_bits == 96]:
1515 Define appropriate long double limits for m68k extended floating
1517 (__glibcpp_f32_digits10): Corrected, off by one.
1518 (__glibcpp_f80_digits10): Likewise.
1519 (__glibcpp_f128_digits10): Likewise.
1520 * config/os/gnu-linux/bits/os_defines.h
1521 (__glibcpp_long_double_bits) [__mc68000__]: Define to 96.
1523 2001-08-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1525 * testsuite/18_support/numeric_limits.cc: Add more tests.
1526 * include/bits/std_limits.h (numeric_limits<char>::max): Fix
1529 2001-08-14 Ulrich Weigand <uweigand@de.ibm.com>
1531 * configure.target (cpu_include_dir): Set to `config/cpu/s390'
1534 * config/cpu/s390/bits/atomicity.h: New.
1536 2001-08-14 Gabriel Dos Reis <gdr@codesourcery.com>
1538 * include/bits/std_limits.h: Fix thinko.
1540 2001-08-14 Benjamin Kosnik <bkoz@redhat.com>
1542 * include/Makefile.am: Consolidate target rules. Don't clean stamp
1543 files. Tweak target build directory stamp.
1544 * include/Makefile.in: Regenerate.
1546 2001-08-14 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1548 * libstdc++-v3/libmath/stubs.c: Fix PR/3988, replace
1549 _GBLICPP_HAVE_LOGL with HAVE_LOGL
1551 2001-08-13 Benjamin Kosnik <bkoz@redhat.com>
1553 * configure.in (libtool_VERSION): Add.
1554 (VERSION): Change to
1555 (release_VERSION): This.
1556 * configure: Regenerate.
1557 * src/Makefile.am (libstdc___la_LDFLAGS): Use -version-info with
1559 * src/Makefile.in: Regenerate.
1561 * intl/Makefile.am: Remove.
1562 * intl/Makefile.in: Remove.
1564 * Makefile.am (SUBDIRS): Remove intl.
1565 * po/Makefile.am (DISTFILES): Add string_literals.cc
1567 * po/string_literals.cc: Add.
1568 * po/POTFILES.in: Fix path.
1569 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't call AM_GNU_GETTEXT.
1570 * aclocal.m4: Regenerate.
1571 * configure.in: Remove AC_OUTPUT of intl/Makefile.
1573 * include/backward/backward_warning.h: Clarify message.
1575 * testsuite_flags.in (--cxxflags): Use same debug flags for
1576 library and testsuite.
1578 * include/Makefile.am (c_compatibility): Remove.
1579 * include/Makefile.in: Regenerate.
1581 2001-08-13 Mark Mitchell <mark@codesourcery.com>
1583 * configure.in (LIMITS_INC_SRCDIR): New variable.
1584 * configure.target (LIMITSH): New variable.
1585 * porting.texi: Discuss numeric limits.
1586 * config/cpu/generic/bits/limits.h: New file.
1587 * config/cpu/i386/bits/limits.h: New file.
1588 * include/Makefile.am: Install bits/limits.h.
1589 * include/bits/c++config: Include bits/limits.h.
1591 2001-08-13 H.J. Lu (hjl@gnu.org)
1593 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-copy-files):
1595 (libstdc++-v3-init ): Use it.
1597 2001-08-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1599 * include/bits/ostream.tcc (__pad_char): Change toplevel '__fmt'
1600 to '__adjust' to avoid shadowing in nested scope.
1602 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1604 * include/bits/std_limits.h(__glibcpp_char_is_signed): Use
1607 * config/os/gnu-linux/bits/os_defines.h(__glibcpp_char_is_signed):
1609 * config/os/aix/bits/os_defines.h(__glibcpp_plain_char_is_signed):
1612 2001-08-10 Loren J. Rittle <ljrittle@acm.org>
1614 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Add
1615 dummy default argument to the non-limit implementation.
1618 * include/Makefile.am: Use relative file path in rule to allow
1620 * include/Makefile.in: Rebuilt.
1622 2001-08-10 Gunter Winkler <gunter.winkler@mathematik.tu-chemnitz.de>
1624 * include/bits/std_complex.h (complex<long double>::operator*=,
1625 complex<long double>::operator/=): Fix thinko.
1627 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1629 * include/bits/std_limits.h: New file.
1630 * include/Makefile.am (bits_headers): Add std_limits.h
1631 (all-local): std_limits.h is no longer built.
1632 (${target_builddir}/std_limits.h): Remove.
1633 * include/Makefile.in: Regenerate.
1634 * src/limits.cc: New file.
1635 * src/Makefile.am (sources): Add limits.cc in replacement of
1637 * src/Makefile.in: Regenerate.
1639 2001-08-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1641 * src/gen-num-limits.cc (digits10): Fix thinko.
1643 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
1645 * po/Makefile.am (check-no): Add.
1647 * po/Makefile.in: Regenerate.
1649 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
1651 * acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
1652 * config.h.in: Regenerate.
1653 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT): Check for setrlimit
1655 * aclocal.m4: Regenerate.
1656 * configure.in: Remove duplicate AM_CONFIG_HEADER.
1657 (AM_CONFIG_HEADER): Remove testsuite/testsuite_hooks.h.
1658 Only call GLIBCPP_CHECK_SETRLIMIT for native compiles.
1659 * configure: Regenerate.
1660 * testsuite_hooks.h.in: Move to...
1661 * testsuite_hooks.h: Here, include c++config.h. Use it.
1663 * Makefile.am (SUBDIRS): Move testsuite to last directory.
1664 * Makefile.in: Regenerate.
1665 * po/Makefile.am (stamp-po): Add.
1667 2001-08-09 David Edelsohn <edelsohn@gnu.org>
1669 * config/os/aix/bits/os_defines.h: Define std_limits.h macros.
1670 * config/os/generic/bits/os_defines.h: Likewise.
1671 * config/os/gnu-linux/bits/os_defines.h: Likewise.
1672 * config/os/hpux/bits/os_defines.h: Likewise.
1673 * config/os/irix/irix6.5/bits/os_defines.h: Likewise.
1674 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
1676 2001-08-08 Benjamin Kosnik <bkoz@redhat.com>
1678 * src/Makefile.am (libstdc___la_LDFLAGS): Use -release instead of
1679 -version-info, use substituted VERSION info.
1680 * src/Makefile.in: Regenerate.
1682 2001-08-07 Benjamin Kosnik <bkoz@redhat.com>
1684 Implement std::messages.
1685 Make config a fully-nested directory.
1686 * config/locale: New directory.
1687 * config/c_locale_generic.cc: Move into locale subdirectory.
1688 * config/c_locale_generic.h: Same.
1689 * config/c_locale_gnu.cc: Same.
1690 * config/c_locale_gnu.h: Same.
1691 * config/c_locale_ieee_1003.1-200x.cc: Same.
1692 * config/c_locale_ieee_1003.1-200x_.h: Same.
1693 * config/codecvt_specializations_generic.h: Same.
1694 * config/codecvt_specializations_ieee_1003.1-200x.h: Same.
1695 * config/messages_members_gnu.h: Same.
1696 * config/messaages_members_gnu.cc: Same.
1697 * config/messages_members_generic.h: Same.
1698 * config/messaages_members_generic.cc: Same.
1699 * config/messages_members_ieee_1003.1-200x.h: Same.
1700 * config/messaages_members_ieee_1003.1-200x.cc: Same.
1701 * config/io: New directory.
1702 * config/basic_file_libio.h: Move into io subdirectory.
1703 * config/basic_file_libio.cc: Same.
1704 * config/c_io_libio.h: Same.
1705 * config/c_io_libio_codecvt.c: Same.
1706 * config/basic_file_stdio.h: Same.
1707 * config/basic_file_stdio.cc: Same.
1708 * config/c_io_stdio.h: Same.
1710 * po: New directory.
1711 * po/POTFILES.in: New file.
1712 * po/Makefile.am: New file.
1713 * po/Makefile.in: New file.
1714 * po/libstdc++.pot: Generic translation file.
1715 * po/fr.po: Preliminary French translation.
1716 * po/de.po: Preliminary German translation.
1717 * intl: New directory.
1718 * intl/Makefile.am: New file.
1719 * intl/Makefile.in: New file.
1720 * intl/string_literals.cc: New file.
1721 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump VERSION to 3.1.0. Add
1722 requisite setup for gettext. Re-arrange.
1723 * aclocal.m4: Regenerate.
1724 * configure.in: Don't call GLIBCPP_CHECK_COMPILER_VERSION.
1725 Output Makefile bits for po and intl.
1726 * configure: Regenerate.
1727 * Makefile.am (SUBDIRS): Add intl, po. Add rule for dist.
1728 * Makefile.in: Regenerate.
1729 * acconfig.h: Add ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY.
1730 * config.h.in: Regenerate.
1732 * acinclude.m4 (AC_REPLACE_STRINGFUNCS): Remove.
1734 * include/Makefile.am (install-data-local): Don't install Makefile.
1735 * include/Makefile.in: Regenerate.
1737 * include/bits/locale_facet.h (locale::facet::_S_clone_c_locale):
1739 * config/locale/c_locale_gnu.cc (_S_clone_c_locale): Add definition.
1740 * config/locale/c_locale_generic.cc: Same.
1741 * config/locale/c_locale_ieee_1003.1-200x.cc: Same.
1743 * include/bits/codecvt.h: Excise non-standard, non-required
1744 bits. This includes __enc_traits, and partial specializations of
1745 codecvt for __enc_traits.
1746 * src/codecvt.cc (__enc_traits::_S_max_size): Guard
1747 * config/codecvt_partials_ieee_1003.1-200x.h: New file.
1748 * config/codecvt_partials_generic.h: New file.
1749 * include/Makefile.am (allstamps): Add stamp-codecvt_model.
1750 (stamp-codecvt_model): Add.
1751 * include/Makefile.in: Regenerate.
1752 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in codecvt configury.
1753 * aclocal.m4: Regenerate.
1754 * configure: Regenerate.
1755 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Use macro guard.
1756 * testsuite/22_locale/codecvt_unicode_char.cc: Same.
1757 * testsuite/22_locale/ctor_copy_dtor.cc: And here.
1759 * include/bits/localefwd.h (class locale::facet): Add __enc_traits
1760 as a friend for _S_*_c_locale functions.
1761 * include/bits/codecvt.h (__enc_traits::__enc_traits): Add locale
1762 argument to default constructor so that CODESET information can be
1764 * include/bits/locale_facets.h (messages_byname):
1765 Re-implement. Remove specializations.
1766 * src/locale.cc (messages_byname<char>): Remove specialization.
1767 (messages_byname<wchar_t>): Same.
1768 * config/locale/c_locale_ieee_1003.1-200x.cc: New file.
1769 * config/locale/c_locale_ieee_1003.1-200x.h: New file.
1770 * config/locale/messages_members_ieee_1003.1-200x.cc: New file.
1771 * config/locale/messages_members_ieee_1003.1-200x.h: New file.
1772 * config/locale/messages_members_gnu.cc: New file.
1773 * config/locale/messages_members_gnu.h: New file.
1774 * config/locale/messages_members_generic.cc: New file.
1775 * config/locale/messages_members_generic.h: New file.
1777 * docs/html/configopts.html: Add documentation for new locale
1778 model, ieee_1003.1. Adjust other flags for current defaults.
1779 * docs/html/22_locale/locale.html: Update.
1780 * docs/html/22_locale/howto.html: Add link to messages.html. Organize.
1781 * docs/html/22_locale/messages.html: New.
1783 * src/Makefile.am (sources): Add messages_virtuals.cc.
1784 * src/Makefile.in: Regenerate.
1785 * include/Makefile.am (allstamps): Add stamp-messages_model.
1786 (stamp-messages_model): Add.
1787 * include/Makefile.in: Regenerate.
1788 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in messages configury.
1789 * aclocal.m4: Regenerate.
1790 * configure: Regenerate.
1792 * testsuite_flags.in (--cxxflags): Add LOCALEDIR.
1793 * testsuite/lib/libstdc++-v3-dg.exp: Remove broken LD_LIBRARY_PATH
1795 * acinclude (GLIBCPP_ENABLE_CLOCALE): Set glibcpp_localedir to the
1796 build directories message catalog base directory, and export.
1797 Eventually this should probably be made to deal with build and
1798 install directories. For now, punt on this as the library itself
1799 doesn't use message catalogs (yet).
1800 * testsuite/22_locale/messages.cc: New file.
1801 * testsuite/22_locale/messages_char_members.cc: New file.
1802 * testsuite/22_locale/messages_byname.cc: New file.
1804 2001-08-06 Phil Edwards <pme@sources.redhat.com>
1806 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls...
1807 (GLIBCPP_CHECK_SETRLIMIT): ...this new macro, which also uses...
1808 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): ...this new macro.
1809 * configure.in (AM_CONFIG_HEADER): Also generate testsuite_hooks.h.
1810 Call GLIBCPP_CONFIGURE_TESTSUITE.
1811 * aclocal.m4: Regenerate.
1812 * config.h.in: Regenerate.
1813 * configure: Regenerate.
1815 * testsuite/lib/libstdc++-v3-dg.exp: Download new header instead
1818 * testsuite_flags.in: Add build dir's testsuite to INCLUDES.
1819 * testsuite/debug_assert.h: Removed; contents merged into...
1820 * testsuite/testsuite_hooks.h.in: ...here. New file.
1821 * testsuite/17_intro/header_ciso646.cc: No longer include
1822 debug_assert.h, include testsuite_hooks.h instead.
1823 * testsuite/17_intro/header_fstream.cc: Likewise.
1824 * testsuite/17_intro/header_iomanip.cc: Likewise.
1825 * testsuite/17_intro/header_ios.cc: Likewise.
1826 * testsuite/17_intro/header_iosfwd.cc: Likewise.
1827 * testsuite/17_intro/header_iostream.cc: Likewise.
1828 * testsuite/17_intro/header_istream.cc: Likewise.
1829 * testsuite/17_intro/header_ostream.cc: Likewise.
1830 * testsuite/17_intro/header_sstream.cc: Likewise.
1831 * testsuite/17_intro/header_streambuf.cc: Likewise.
1832 * testsuite/18_support/numeric_limits.cc: Likewise.
1833 * testsuite/19_diagnostics/stdexceptions.cc: Likewise.
1834 * testsuite/20_util/allocator_members.cc: Likewise.
1835 * testsuite/20_util/auto_ptr.cc: Likewise.
1836 * testsuite/20_util/pairs.cc: Likewise.
1837 * testsuite/21_strings/append.cc: Likewise.
1838 * testsuite/21_strings/capacity.cc: Likewise.
1839 * testsuite/21_strings/char_traits_requirements.cc: Likewise.
1840 * testsuite/21_strings/compare.cc: Likewise.
1841 * testsuite/21_strings/ctor_copy_dtor.cc: Likewise. Also set up
1842 call to (disabled) __set_testsuite_memlimit() wrapper.
1843 * testsuite/21_strings/element_access.cc: Likewise.
1844 * testsuite/21_strings/find.cc: Likewise.
1845 * testsuite/21_strings/insert.cc: Likewise. Also set up call to
1846 (disabled) __set_testsuite_memlimit() wrapper.
1847 * testsuite/21_strings/inserters_extractors.cc: Likewise.
1848 * testsuite/21_strings/invariants.cc: Likewise.
1849 * testsuite/21_strings/nonmember.cc: Likewise.
1850 * testsuite/21_strings/operations.cc: Likewise.
1851 * testsuite/21_strings/replace.cc: Likewise.
1852 * testsuite/21_strings/rfind.cc: Likewise.
1853 * testsuite/21_strings/substr.cc: Likewise.
1854 * testsuite/22_locale/codecvt_char_char.cc: Likewise.
1855 * testsuite/22_locale/codecvt_unicode_char.cc: Likewise.
1856 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Likewise.
1857 * testsuite/22_locale/codecvt_wchar_t_char.cc: Likewise.
1858 * testsuite/22_locale/ctor_copy_dtor.cc: Likewise.
1859 * testsuite/22_locale/ctype_char_members.cc: Likewise.
1860 * testsuite/22_locale/ctype_wchar_t_members.cc: Likewise.
1861 * testsuite/22_locale/facet.cc: Likewise.
1862 * testsuite/22_locale/global_templates.cc: Likewise.
1863 * testsuite/22_locale/members.cc: Likewise.
1864 * testsuite/22_locale/numpunct_byname.cc: Likewise.
1865 * testsuite/22_locale/numpunct_char_members.cc: Likewise.
1866 * testsuite/22_locale/operators.cc: Likewise.
1867 * testsuite/22_locale/static_members.cc: Likewise.
1868 * testsuite/23_containers/bitset_ctor.cc: Likewise.
1869 * testsuite/23_containers/bitset_members.cc: Likewise.
1870 * testsuite/23_containers/bitset_shift.cc: Likewise.
1871 * testsuite/23_containers/vector_capacity.cc: Likewise.
1872 * testsuite/23_containers/vector_ctor.cc: Likewise.
1873 * testsuite/23_containers/vector_element_access.cc: Likewise.
1874 * testsuite/23_containers/vector_modifiers.cc: Likewise.
1875 * testsuite/24_iterators/istreambuf_iterator.cc: Likewise.
1876 * testsuite/24_iterators/iterator.cc: Likewise.
1877 * testsuite/24_iterators/ostreambuf_iterator.cc: Likewise.
1878 * testsuite/25_algorithms/binary_search.cc: Likewise.
1879 * testsuite/25_algorithms/copy.cc: Likewise.
1880 * testsuite/25_algorithms/heap.cc: Likewise.
1881 * testsuite/25_algorithms/lower_bound.cc: Likewise.
1882 * testsuite/25_algorithms/min_max.cc: Likewise.
1883 * testsuite/25_algorithms/partition.cc: Likewise.
1884 * testsuite/25_algorithms/rotate.cc: Likewise.
1885 * testsuite/25_algorithms/sort.cc: Likewise.
1886 * testsuite/26_numerics/c_math.cc: Likewise.
1887 * testsuite/26_numerics/complex_inserters_extractors.cc: Likewise.
1888 * testsuite/26_numerics/complex_value.cc: Likewise.
1889 * testsuite/27_io/filebuf.cc: Likewise.
1890 * testsuite/27_io/filebuf_members.cc: Likewise.
1891 * testsuite/27_io/filebuf_virtuals.cc: Likewise.
1892 * testsuite/27_io/fpos.cc: Likewise.
1893 * testsuite/27_io/fstream_members.cc: Likewise.
1894 * testsuite/27_io/ifstream_members.cc: Likewise.
1895 * testsuite/27_io/ios_base_callbacks.cc: Likewise.
1896 * testsuite/27_io/ios_base_members_static.cc: Likewise.
1897 * testsuite/27_io/ios_base_storage.cc: Likewise.
1898 * testsuite/27_io/ios_ctor.cc: Likewise.
1899 * testsuite/27_io/ios_init.cc: Likewise.
1900 * testsuite/27_io/ios_manip_basefield.cc: Likewise.
1901 * testsuite/27_io/ios_manip_fmtflags.cc: Likewise.
1902 * testsuite/27_io/ios_members.cc: Likewise.
1903 * testsuite/27_io/istream_extractor_arith.cc: Likewise.
1904 * testsuite/27_io/istream_extractor_char.cc: Likewise.
1905 * testsuite/27_io/istream_extractor_other.cc: Likewise.
1906 * testsuite/27_io/istream_manip.cc: Likewise.
1907 * testsuite/27_io/istream_seeks.cc: Likewise.
1908 * testsuite/27_io/istream_sentry.cc: Likewise.
1909 * testsuite/27_io/istream_unformatted.cc: Likewise.
1910 * testsuite/27_io/istringstream_members.cc: Likewise.
1911 * testsuite/27_io/narrow_stream_objects.cc: Likewise.
1912 * testsuite/27_io/ofstream_members.cc: Likewise.
1913 * testsuite/27_io/ostream_inserter_arith.cc: Likewise.
1914 * testsuite/27_io/ostream_inserter_char.cc: Likewise.
1915 * testsuite/27_io/ostream_inserter_other.cc: Likewise.
1916 * testsuite/27_io/ostream_manip.cc: Likewise.
1917 * testsuite/27_io/ostream_seeks.cc: Likewise.
1918 * testsuite/27_io/ostream_unformatted.cc: Likewise.
1919 * testsuite/27_io/ostringstream_members.cc: Likewise.
1920 * testsuite/27_io/streambuf.cc: Likewise.
1921 * testsuite/27_io/stringbuf.cc: Likewise.
1922 * testsuite/27_io/stringbuf_virtuals.cc: Likewise.
1923 * testsuite/27_io/stringstream.cc: Likewise.
1924 * testsuite/27_io/stringstream_members.cc: Likewise.
1925 * testsuite/27_io/wide_stream_objects.cc: Likewise.
1927 2001-07-31 Loren J. Rittle <ljrittle@acm.org>
1929 * src/gen-num-limits.cc: Use __LONG_LONG_MAX__.
1931 2001-07-30 Benjamin Kosnik <bkoz@redhat.com>
1933 * configure.target: Remove mips from cpu table.
1934 * config/cpu/mips/bits/atomicity.h: Remove generic
1935 versions. Comment sgidefs include.
1937 2001-07-25 H.J. Lu <hjl@gnu.org>
1939 * configure.target (cpu_include_dir): Set to `config/cpu/mips'
1942 * config/cpu/mips/bits/atomicity.h: New.
1944 2001-07-25 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1946 * acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf,
1947 hypotl, atan2f, atan2l. Remove from REPLACE_MATHFUNCS list.
1948 * aclocal.m4: Regenerate.
1949 * config.h.in: Likewise.
1950 * configure: Likewise.
1951 * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove hypotl.c
1952 (EXTRA_DIST): Remove hypot.c hypotf.c.
1953 * libmath/Makefile.am: Regenerate.
1954 * libmath/hypotf.c: Remove.
1955 * libmath/hypot.c: Likewise.
1956 * libmath/hypotl.c: Likewise.
1957 * libmath/stubs.c: The macros seen here are HAVE_xxx, not
1958 _GLIBCPP_HAVE_xxx. Add long double versions.
1960 2001-07-23 David Edelsohn <edelsohn@gnu.org>
1962 * include/bits/limits_generic.h (int): Set digits and digits10
1963 appropriately for word size.
1964 (unsigned int,long,unsigned long): Likewise.
1966 2001-07-19 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1968 * include/bits/stl_algo.h : Fix typos.
1969 * testsuite/25_algorithms/unique.cc: New file.
1971 2001-07-19 Phil Edwards <pme@sources.redhat.com>
1972 Mark Mitchell <mark@codesourcery.com>
1974 Merge from cp-parser-branch.
1975 * include/bits/basic_string.h: Qualify symbols with 'template'.
1976 * include/bits/basic_string.tcc: Likewise.
1977 * include/bits/fstream.tcc: Likewise.
1978 * include/bits/istream.tcc: Likewise.
1979 * include/bits/sstream.tcc: Likewise.
1980 * include/bits/std_istream.h: Likewise.
1981 * include/bits/stl_iterator.h: Likewise.
1982 * include/bits/streambuf.tcc: Likewise.
1983 * src/gen-num-limits.cc: Add 'template<>' to specializations.
1984 * src/locale.cc: Likewise.
1986 2001-07-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1987 Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
1989 * src/gen-num-limits.cc (set_signals_handler): New function.
1990 Factor out signals setting. Set signal handler for SIGILL.
1992 2001-07-18 Phil Edwards <pme@sources.redhat.com>
1994 * docs/html/27_io/howto.html: Fix typo.
1995 * docs/html/faq/index.html: Minor updates for 3.0 all around.
1996 * docs/html/faq/index.txt: Regenerated.
1998 2001-07-18 Stephen M. Webb <stephen@bregmasoft..com>
1999 Roman Sulzhyk <roman_sulzhyk@yahoo.com>
2002 * include/bits/ostream.tcc (ostream::put): Fixed error condition check.
2003 * testsuite/27_io/streambuf.cc (test07): Added new regression test.
2005 2001-07-17 Stephen M. Webb <stephen@bregmasoft.com>r
2007 All occurrences of the __value_type() and __distance_type()
2008 functions, which were required to support the HP STL, have been
2009 removed along with all the auxiliary forwarding functions that
2010 were required to support their use.
2012 The __iterator_category() function was pretty much left alone
2013 because there was no benefit to removing it and its use made code
2014 just a little more readable.
2016 Incidences of distance() with nonstandard argument list were
2017 replaced by calls to the standard function (only in the files
2018 affected by the removal of the other HP functions).
2020 The signature of the rotate() algorithm was changed to match the
2023 Headers were reformatted under C++STYLE guidelines (indentation,
2024 linebreaks, typename keyword).
2026 * include/bits/stl_algo.h: replaced __value_type() and
2027 __distance_type() with iterator_traits, eliminated auxiliary
2028 support functions required to support said function usage.
2029 Changed nonstandard distance() call to standard call.
2031 * include/bits/stl_algobase.h: Same.
2032 * include/bits/stl_heap.h: Same.
2033 * include/bits/stl_numeric.h: Same.
2034 * include/bits/stl_uninitialized.h: Same.
2035 * include/bits/stl_iterator_base_types.h (__value_type()):
2037 (__distance_type()): Removed.
2038 (value_type()): Gone.
2039 (distance_type()): Done in.
2040 (iterator_category()): Hasta la vista, baby.
2042 * include/bits/stl_iterator_base_funcs.h (iterator_category()):
2043 Replaced with __iterator_category().
2044 * include/backward/iterator.h: moved definition of value_type(),
2045 distance_type(), and iterator_category() out of std:: and into
2047 * testsuite/23_containers/vector_ctor.cc (test03): New testcases.
2048 * testsuite/23_containers/vector_modifiers.cc (test03): New testcases.
2049 * testsuite/25_algorithms/rotate.cc: New testcase.
2050 * testsuite/25_algorithms/copy.cc: New testcase.
2051 * testsuite/25_algorithms/sort.cc: Same.
2052 * testsuite/25_algorithms/heap.cc: Same.
2053 * testsuite/25_algorithms/partition.cc: Same.
2054 * testsuite/25_algorithms/binary_search.cc: Same.
2055 * testsuite/26_numerics/sum_diff.cc: Ditto.
2057 001-07-17 Benjamin Kosnik <bkoz@redhat.com>
2059 * testsuite/README: Add notes on naming test cases.
2060 * testsuite/22_locale/members.cc: Mark as xfail.
2061 * testsuite/22_locale/numpunct_char_members.cc: Same.
2063 2001-07-16 Stephen M. Webb <stephen@bregmasoft.com>
2065 * acinclude.m4 (GLIBCPP_ENABLE_CHEADERS): Use glibcpp_srcdir when
2066 setting C_INCLUDE_DIR.
2067 * configure.in: Revert yesterday's LN_S change.
2068 * aclocal.m4: Regenerate.
2069 * configure: Regenerate.
2071 2001-07-15 Phil Edwards <pme@sources.redhat.com>
2073 * configure.in: Temporarily force LN_S to copy instead of symlink.
2074 * configure: Regenerate.
2076 2001-07-13 Phil Edwards <pme@sources.redhat.com>
2078 * include/bits/std_sstream.h (basic_stringbuf::basic_stringbuf(string):
2079 Initialize _M_string with pointer-and-size constructor, not just
2080 pointer. Fix some comments.
2081 * testsuite/21_strings/ctor_copy_dtor.cc (test03): New test.
2082 * testsuite/27_io/stringbuf.cc (test02): Remove unused variable.
2083 (test03): Add embedded-NUL tests.
2085 * mkcheck.in: When printing totals, match the order of the tests.
2086 * include/bits/stringfwd.h: Use same declaration keywords.
2087 * include/bits/std_iosfwd.h: Cosmetic spacing.
2089 2001-07-13 Stephen M. Webb <stephen@bregmasoft.com>
2090 Loren J. Rittle <ljrittle@acm.org>
2091 Phil Edwards <pme@sources.redhat.com>
2093 * include/Makefile.am: New file encapsulating header generation rules.
2094 * Makefile.am (SUBDIRS): Prepend 'include' directory.
2095 * acinclude.m4: Moved/removed rules for building various headers.
2096 * configure.in (AC_OUTPUT): Add include/Makefile.
2097 * mkc++config: Removed.
2099 * testsuite_flags.in: Changed build-includes to match new scheme.
2100 * mknumeric_limits: Likewise.
2101 * libio/Makefile.am: Changed INCLUDES to maatch new header scheme.
2102 * libmath/Makefile.am: Likewise.
2103 * libsupc++/Makefile.am: Likewise.
2104 * src/Makefile.am: Likewise; removed rules to build headers.
2105 * libmath/mathconf.h: Changed #include'd header names to match.
2106 * libmath/stubs.c: Likewise.
2107 * src/gen-num-limits.cc: Likewise.
2109 * configure: Regenerated.
2110 * config.h.in: Regenerated.
2111 * aclocal.m4: Regenerated.
2112 * Makefile.in: Regenerated.
2113 * include/Makefile.in: Regenerated.
2114 * libio/Makefile.in: Regenerated.
2115 * libmath/Makefile.in: Regenerated.
2116 * libsupc++/Makefile.in: Regenerated.
2117 * src/Makefile.in: Regenerated.
2118 * testsuite/Makefile.in: Regenerated.
2120 2001-07-11 Felix Natter <fnatter@gmx.net>
2122 * docs/html/17_intro/porting-howto.xml: Initial checkin of
2124 * docs/html/17_intro/porting-howto.html: check in v0.9.3
2126 2001-07-11 Phil Edwards <pme@sources.redhat.com>
2128 * docs/doxygen/run_doxygen: Don't keep output from previous run.
2129 * docs/doxygen/user.cfg.in: Tweaks.
2130 * include/bits/c++config: Documentation comments for Doxygen.
2131 * include/bits/char_traits.h: Likewise.
2132 * include/bits/limits_generic.h: Likewise.
2133 * include/bits/std_stdexcept.h: Likewise.
2134 * include/bits/stl_pair.h: Likewise.
2135 * libsupc++/exception: Likewise.
2136 * libsupc++/new: Likewise.
2137 * libsupc++/typeinfo: Likewise.
2138 * libmath/Makefile.am: Update and correct copyright.
2140 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2142 * acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
2143 * aclocal.m4: Regenerate.
2146 2001-07-09 Phil Edwards <pme@sources.redhat.com>
2148 * docs/html/configopts.html: Fix thinko.
2149 * docs/html/27_io/howto.html: Fix thinko and HTML markup.
2150 * include/bits/stl_iterator.h: Fix typo.
2152 2001-07-09 Phil Edwards <pme@sources.redhat.com>
2154 * docs/html/explanations.html: New file.
2155 * docs/html/configopts.html: Link to it to provide more notes
2156 on cstdio. Minor markup and spacing fixes.
2157 * docs/html/27_io/howto.html: Talk about sync_with_stdio.
2159 2001-07-09 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
2161 * include/bits/valarray_meta.h (_Expr::operator+): Use qualified id
2162 for _Expr template template argument.
2163 (_Expr::operator-): Likewise.
2164 (_Expr::operator~): Likewise.
2165 (_Expr::operator!): Likewise.
2166 (_DEFINE_EXPR_UNARY_OPERATOR): Likewise.
2168 2001-07-06 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2170 * libmath/Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.c
2171 * libmath/Makefile.in: Regenerate.
2172 * libmath/expf.c: Remove.
2173 * libmath/atan2f.c: Likewise.
2175 2001-07-06 Daniel Jacobowitz <drow@mvista.com>
2177 * configure.in: Remove NATIVE, NULL_TARGET.
2178 Set CANADIAN only for Canadian crosses. Set xcompiling
2179 for both Canadian crosses and host-x-host crosses.
2180 * configure: Regenerated.
2182 2001-07-06 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2184 * include/bits/stl_vector.h (vector::_M_initialize_aux): Fix typo.
2186 2001-07-05 Jason Merrill <jason_merrill@redhat.com>
2188 * testsuite_flags.in (--build-includes): backward, not backwards.
2190 2001-07-04 Jeffrey Oldham <oldham@codesourcery.com>
2192 * include/ext/ropeimpl.h (_Rope_RopeRep::_M_free_c_string):
2193 Replace destroy by _Destroy.
2194 (_Rope_RopeRep::_S_free_string): Likewise.
2195 (rope::c_str()): Likewise.
2196 * include/ext/slist (_Slist_base::_M_erase_after>): Likewise.
2197 (_Slist_base::_M_erase_after): Likewise.
2198 (slist::_M_create_node): Replace construct by _Construct.
2199 (slist::pop_front): Replace destroy by _Destroy.
2200 * include/ext/stl_hashtable.h (hashtable::_M_new_node): Replace
2201 construct by _Construct.
2202 (hashtable::_M_delete_node): Replace destroy by _Destroy.
2203 * include/ext/stl_rope.h (rope::rope): Replace construct by
2205 (rope::copy): Replace destroy by _Destroy.
2207 2001-07-03 Benjamin Kosnik <bkoz@redhat.com>
2209 * include/bits/localefwd.h: Format.
2210 * include/bits/locale_facts.tcc (locale::combine): Adjust.
2211 * src/locale.cc (locale::locale::(_Impl)): Don't call
2213 (locale::facet::_M_remove_reference): Simplify.
2214 * src/globals.cc (locale_impl_c): New. Format.
2216 * src/ios.cc (ios_base::Init::Init): Increment _S_ios_base_init last.
2218 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
2220 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
2221 expansion (thanks to Alexandre Oliva).
2222 * aclocal.m4: Regenerate.
2223 * configure: Regenerate.
2225 2001-07-02 Benjamin Kosnik <bkoz@redhat.com>
2227 * src/locale.cc (locale::locale(const char*)): Make sure global
2228 locales are initialized.
2229 * include/bits/locale_facets.tcc (locale::combine): Refcout should
2230 be zero, not one as it's return-by-value.
2231 * testsuite/27_io/ios_base_callbacks.cc (test01): Don't check for
2233 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Instead, check
2236 * libsupc++/eh_alloc.cc: Use climits, not limits.h.
2238 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
2241 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
2242 * aclocal.m4: Regenerate.
2243 * configure: Regenerate.
2245 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
2248 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to
2249 staged/installed area to support -I-. Document.
2250 * aclocal.m4: Regenerate.
2251 * configure: Regenerate.
2253 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
2256 * src/ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to
2257 __out_bufsize. Add __in_bufsize, document it and use it.
2259 2001-07-01 Stephen M. Webb <stephen@bregmasoft.com>
2261 * include/bits/stl_construct.h (construct): Remove.
2263 (__destroy): Replaced by use of iterator_traits.
2264 * include/bits/stl_deque.h: replaced HP iterator functions with
2266 (construct): changed to _Construct.
2267 (destroy): changed to _Destroy.
2268 * include/bits/stl_tempbuf.h: Same.
2269 * include/bits/stl_tree.h: Same.
2270 * include/bits/stl_vector.h: Same.
2271 * include/backward/iterator.h (construct): moved definition to here.
2274 2001-06-29 Benjamin Kosnik <bkoz@redhat.com>
2276 * include/bits/locale_facets.tcc (locale::combine): Clone _Impl.
2277 before replacing facet.
2278 * include/bits/localefwd.h (locale::_Impl::_M_remove_reference):
2280 * src/localename.cc (locale::_Impl): Correct ctor initialization
2281 lists. Initialize ref count with one. Simplify.
2282 * src/locale.cc: Add comment.
2283 * testsuite/22_locale/numpunct.cc (test01): Add derivation test.
2284 * testsuite/22_locale/numpunct_char_members.cc (test01): Add tests.
2285 * testsuite/22_locale/members.cc (test02): Fix.
2287 2001-06-27 Phil Edwards <pme@sources.redhat.com>
2289 * include/backward/algo.h: Add "GPL plus runtime exception" comment
2290 block, this time for real.
2291 * include/backward/algobase.h: Likewise.
2292 * include/backward/alloc.h: Likewise.
2293 * include/backward/bvector.h: Likewise.
2294 * include/backward/defalloc.h: Likewise.
2295 * include/backward/deque.h: Likewise.
2296 * include/backward/function.h: Likewise.
2297 * include/backward/hash_map.h: Likewise.
2298 * include/backward/hash_set.h: Likewise.
2299 * include/backward/hashtable.h: Likewise.
2300 * include/backward/heap.h: Likewise.
2301 * include/backward/iterator.h: Likewise.
2302 * include/backward/list.h: Likewise.
2303 * include/backward/map.h: Likewise.
2304 * include/backward/multimap.h: Likewise.
2305 * include/backward/multiset.h: Likewise.
2306 * include/backward/pair.h: Likewise.
2307 * include/backward/rope.h: Likewise.
2308 * include/backward/set.h: Likewise.
2309 * include/backward/slist.h: Likewise.
2310 * include/backward/stack.h: Likewise.
2311 * include/backward/strstream: Likewise.
2312 * include/backward/tempbuf.h: Likewise.
2313 * include/backward/tree.h: Likewise.
2314 * include/backward/vector.h: Likewise.
2315 * include/bits/pthread_allocimpl.h: Likewise.
2316 * include/bits/std_algorithm.h: Likewise.
2317 * include/bits/std_bitset.h: Likewise.
2318 * include/bits/std_deque.h: Likewise.
2319 * include/bits/std_functional.h: Likewise.
2320 * include/bits/std_iterator.h: Likewise.
2321 * include/bits/std_list.h: Likewise.
2322 * include/bits/std_map.h: Likewise.
2323 * include/bits/std_memory.h: Likewise.
2324 * include/bits/std_numeric.h: Likewise.
2325 * include/bits/std_queue.h: Likewise.
2326 * include/bits/std_set.h: Likewise.
2327 * include/bits/std_stack.h: Likewise.
2328 * include/bits/std_utility.h: Likewise.
2329 * include/bits/std_vector.h: Likewise.
2330 * include/bits/stl_algo.h: Likewise.
2331 * include/bits/stl_algobase.h: Likewise.
2332 * include/bits/stl_alloc.h: Likewise.
2333 * include/bits/stl_bvector.h: Likewise.
2334 * include/bits/stl_construct.h: Likewise.
2335 * include/bits/stl_deque.h: Likewise.
2336 * include/bits/stl_function.h: Likewise.
2337 * include/bits/stl_heap.h: Likewise.
2338 * include/bits/stl_iterator.h: Likewise.
2339 * include/bits/stl_iterator_base_funcs.h: Likewise.
2340 * include/bits/stl_iterator_base_types.h: Likewise.
2341 * include/bits/stl_list.h: Likewise.
2342 * include/bits/stl_map.h: Likewise.
2343 * include/bits/stl_multimap.h: Likewise.
2344 * include/bits/stl_multiset.h: Likewise.
2345 * include/bits/stl_numeric.h: Likewise.
2346 * include/bits/stl_pair.h: Likewise.
2347 * include/bits/stl_pthread_alloc.h: Likewise.
2348 * include/bits/stl_queue.h: Likewise.
2349 * include/bits/stl_raw_storage_iter.h: Likewise.
2350 * include/bits/stl_relops.h: Likewise.
2351 * include/bits/stl_set.h: Likewise.
2352 * include/bits/stl_stack.h: Likewise.
2353 * include/bits/stl_tempbuf.h: Likewise.
2354 * include/bits/stl_threads.h: Likewise.
2355 * include/bits/stl_tree.h: Likewise.
2356 * include/bits/stl_uninitialized.h: Likewise.
2357 * include/bits/stl_vector.h: Likewise.
2358 * include/bits/type_traits.h: Likewise.
2359 * include/ext/hash_map: Likewise.
2360 * include/ext/hash_set: Likewise.
2361 * include/ext/rope: Likewise.
2362 * include/ext/ropeimpl.h: Likewise.
2363 * include/ext/slist: Likewise.
2364 * include/ext/stl_hash_fun.h: Likewise.
2365 * include/ext/stl_hashtable.h: Likewise.
2366 * include/ext/stl_rope.h: Likewise.
2367 * src/bitset.cc: Likewise.
2368 * src/strstream.cc: Likewise.
2370 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2371 <vakatov@ncbi.nlm.nih.gov>
2374 * include/bits/streambuf.tcc (__copy_streambufs): Don't set eofbit.
2375 * testsuite/27_io/ostream_inserter_other.cc (test04): Add test.
2376 * testsuite/27_io/istream_extractor_other.cc: Fix.
2378 2001-06-26 Zoltan Hidvegi <hzoli@austin.ibm.com>
2380 * acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
2381 * aclocal.m4: Regenerate.
2382 * configure: Regenerate.
2384 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2386 * include/bits/stream_iterator.h (istream_iterator): Add copy ctor.
2387 (ostream_iterator): Same.
2388 * include/bits/stl_iterator.h (front_insert_iterator::operator=):
2389 Change argument to const_reference.
2390 (back_insert_iterator): Same.
2392 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2394 * include/bits/sbuf_iter.h: Change to..
2395 * include/bits/streambuf_iterator.h: This.
2396 * include/bits/stl_iterator.h: Take out of here...
2397 * include/bits/stream_iterator.h: Add.
2398 * src/Makefile.am (base_headers): Add streambuf_iterator,
2400 * src/Makefile.in: Regenerate.
2401 * include/bits/std_string.h: Adjust includes.
2402 * include/bits/basic_ios.h: Same.
2403 * include/bits/locale_facets.tcc: Same.
2404 * include/bits/std_iosfwd.h: Same.
2406 * include/bits/std_iterator.h: Add istream, ostream includes.
2407 * include/bits/stl_iterator.h: Tweak.
2408 * testsuite/24_iterators/ostream_iterator.cc: Add test.
2409 * testsuite/24_iterators/istream_iterator.cc: Same.
2410 * testsuite/23_containers/multiset.cc: Add iterator include.
2412 2001-06-26 Phil Edwards <pme@sources.redhat.com>
2414 * acinclude.m4: Clean extraneous tabs, rewrap 'test' lines.
2415 * aclocal.m4: Regenerate.
2416 * configure: Regenerate.
2418 2001-06-26 Felix Natter <f.natter@ndh.net>
2420 * docs/html/17_intro/porting-howto.html: Fixed some errors.
2422 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2424 * include/bits/stl_iterator.h (istream_iterator::operator->): Fix
2426 (istream_iterator::operator*): Same.
2428 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2429 Alexandre Petit-Bianco <apbianco@redhat.com>
2431 * testsuite/21_strings/element_access.cc (test01): Chill Out Cafe
2432 is on 41st, not 14th.
2434 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2436 * include/bits/std_iterator.h: Include sbuf_iter.h via std_ios.h.
2438 * include/bits/stl_iterator.h (istream_iterator): Inherit from
2440 (ostream_iterator): Same.
2441 * testsuite/24_iterators/istream_iterator.cc: New file.
2442 * testsuite/24_iterators/ostream_iterator.cc: New file.
2444 * include/bits/sbuf_iter.h: Remove self typedef.
2445 * testsuite/24_iterators/ostreambuf_iterator.cc: Add test.
2446 * testsuite/24_iterators/istreambuf_iterator.cc: Add test.
2448 * include/bits/stl_iterator.h (reverse_iterator): Remove
2449 extraneous typedefs. Add typename.
2450 (__normal_iterator): Remove typedefs referring to self. Add typename.
2451 (reverse_bidiretional_iterator): Remove, not longer required.
2453 2001-06-26 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2455 * include/bits/stl_iterator.h (__normal_iterator<>): Qualify
2456 dependent names with `typename'. Bring in various required
2457 iterator_traits members. Can't imagine why that used to work.
2459 2001-06-25 Phil Edwards <pme@sources.redhat.com>
2460 Kurt Garloff <garloff@suse.de>
2463 * src/cmath.cc: New [version of an old] file; instantiate
2464 __cmath_power to start with.
2465 * src/Makefile.am (sources): Add cmath.cc (and alphabetize).
2466 * Makefile.in: Regenerate.
2467 * libio/Makefile.in: Regenerate.
2468 * libmath/Makefile.in: Regenerate.
2469 * libsupc++/Makefile.in: Regenerate.
2470 * src/Makefile.in: Regenerate.
2471 * testsuite/Makefile.in: Regenerate.
2473 2001-06-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2475 * libmath/stubs.c: Fix thinko.
2477 2001-06-24 David Edelsohn <dje@watson.ibm.com>
2479 * libmath/stubs.c (sqrtf): Define.
2480 (tanf): Correct typo.
2482 2001-06-22 Benjamin Kosnik <bkoz@redhat.com>
2484 * include/bits/stl_iterator.h (reverse_iterator): Inherit from
2486 (back_insert_iterator): Same.
2487 (front_insert_iterator): Same.
2488 (insert_iterator): Same.
2490 * testsuite/20_util/raw_storage_iterator.cc: Modify.
2491 * testsuite/24_iterators/reverse_iterator.cc: New file.
2492 * testsuite/24_iterators/back_insert_iterator.cc: New file.
2493 * testsuite/24_iterators/front_insert_iterator.cc: New file.
2494 * testsuite/24_iterators/insert_iterator.cc: New file.
2496 2001-06-22 Phil Edwards <pme@sources.redhat.com>
2498 * include/*: Revert comment/license change from yesterday for all
2499 except libsupc++/unwind-cxx.h.
2500 * src/bitset.cc: Likewise.
2501 * src/strstream.cc: Likewise.
2503 2001-06-22 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2505 * libmath/stubs.c: New file.
2509 * libmath/Makefile.am (libmath_la_SOURCES): Add.
2510 * libmath/Makefile.in. Regenerate.
2512 2001-06-21 Phil Edwards <pme@sources.redhat.com>
2514 * include/backward/algo.h: Add "GPL plus runtime exception" comment.
2515 * include/backward/algobase.h: Likewise.
2516 * include/backward/alloc.h: Likewise.
2517 * include/backward/bvector.h: Likewise.
2518 * include/backward/defalloc.h: Likewise.
2519 * include/backward/deque.h: Likewise.
2520 * include/backward/function.h: Likewise.
2521 * include/backward/hash_map.h: Likewise.
2522 * include/backward/hash_set.h: Likewise.
2523 * include/backward/hashtable.h: Likewise.
2524 * include/backward/heap.h: Likewise.
2525 * include/backward/iterator.h: Likewise.
2526 * include/backward/list.h: Likewise.
2527 * include/backward/map.h: Likewise.
2528 * include/backward/multimap.h: Likewise.
2529 * include/backward/multiset.h: Likewise.
2530 * include/backward/pair.h: Likewise.
2531 * include/backward/rope.h: Likewise.
2532 * include/backward/set.h: Likewise.
2533 * include/backward/slist.h: Likewise.
2534 * include/backward/stack.h: Likewise.
2535 * include/backward/strstream: Likewise.
2536 * include/backward/tempbuf.h: Likewise.
2537 * include/backward/tree.h: Likewise.
2538 * include/backward/vector.h: Likewise.
2539 * include/bits/pthread_allocimpl.h: Likewise.
2540 * include/bits/std_algorithm.h: Likewise.
2541 * include/bits/std_bitset.h: Likewise.
2542 * include/bits/std_deque.h: Likewise.
2543 * include/bits/std_functional.h: Likewise.
2544 * include/bits/std_iterator.h: Likewise.
2545 * include/bits/std_list.h: Likewise.
2546 * include/bits/std_map.h: Likewise.
2547 * include/bits/std_memory.h: Likewise.
2548 * include/bits/std_numeric.h: Likewise.
2549 * include/bits/std_queue.h: Likewise.
2550 * include/bits/std_set.h: Likewise.
2551 * include/bits/std_stack.h: Likewise.
2552 * include/bits/std_utility.h: Likewise.
2553 * include/bits/std_vector.h: Likewise.
2554 * include/bits/stl_algo.h: Likewise.
2555 * include/bits/stl_algobase.h: Likewise.
2556 * include/bits/stl_alloc.h: Likewise.
2557 * include/bits/stl_bvector.h: Likewise.
2558 * include/bits/stl_construct.h: Likewise.
2559 * include/bits/stl_deque.h: Likewise.
2560 * include/bits/stl_function.h: Likewise.
2561 * include/bits/stl_heap.h: Likewise.
2562 * include/bits/stl_iterator.h: Likewise.
2563 * include/bits/stl_iterator_base_funcs.h: Likewise.
2564 * include/bits/stl_iterator_base_types.h: Likewise.
2565 * include/bits/stl_list.h: Likewise.
2566 * include/bits/stl_map.h: Likewise.
2567 * include/bits/stl_multimap.h: Likewise.
2568 * include/bits/stl_multiset.h: Likewise.
2569 * include/bits/stl_numeric.h: Likewise.
2570 * include/bits/stl_pair.h: Likewise.
2571 * include/bits/stl_pthread_alloc.h: Likewise.
2572 * include/bits/stl_queue.h: Likewise.
2573 * include/bits/stl_raw_storage_iter.h: Likewise.
2574 * include/bits/stl_relops.h: Likewise.
2575 * include/bits/stl_set.h: Likewise.
2576 * include/bits/stl_stack.h: Likewise.
2577 * include/bits/stl_tempbuf.h: Likewise.
2578 * include/bits/stl_threads.h: Likewise.
2579 * include/bits/stl_tree.h: Likewise.
2580 * include/bits/stl_uninitialized.h: Likewise.
2581 * include/bits/stl_vector.h: Likewise.
2582 * include/bits/type_traits.h: Likewise.
2583 * include/ext/hash_map: Likewise.
2584 * include/ext/hash_set: Likewise.
2585 * include/ext/rope: Likewise.
2586 * include/ext/ropeimpl.h: Likewise.
2587 * include/ext/slist: Likewise.
2588 * include/ext/stl_hash_fun.h: Likewise.
2589 * include/ext/stl_hashtable.h: Likewise.
2590 * include/ext/stl_rope.h: Likewise.
2591 * libsupc++/unwind-cxx.h: Likewise.
2592 * src/bitset.cc: Likewise.
2593 * src/strstream.cc: Likewise.
2595 2001-06-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2597 * include/bits/indirect_array.h (indirect_array<>::operator=):
2598 Make copy and assignment operator public. Implement. Format.
2600 * include/bits/valarray_array.h (__valarray_copy): Add overloads
2601 for copy between index arrays. Format.
2603 2001-06-19 Benjamin Kosnik <bkoz@redhat.com>
2605 * mknumeric_limits: Add static definitions, format.
2606 * testsuite/18_support/numeric_limits.cc (test02): Add test.
2608 * include/c_std/bits/std_cwchar.h: Include ctime.
2609 * testsuite/17_intro/header_cwchar.cc : Check.
2611 * include/c_std/bits/std_cwctype.h: Inject wctype.
2612 * testsuite/17_intro/header_cwctype.cc: Update.
2614 2001-06-18 Benjamin Kosnik <bkoz@redhat.com>
2616 * include/bits/stl_raw_storage_iter.h: Format. Correct derivation.
2617 * testsuite/20_util/raw_storage_iterator.cc: Same.
2619 * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to
2621 (__mem_interface): New typedef for switching between malloc and new.
2622 * testsuite/20_util/allocator_members.cc: New file.
2624 * testsuite/20_util/comparisons.cc: New file.
2625 * testsuite/20_util/pairs.cc: New file.
2627 2001-06-15 Phil Edwards <pme@sources.redhat.com>
2629 * docs/html/documentation.html: Point to new doxygen'ed collection.
2631 2001-06-14 Nathan Sidwell <nathan@codesourcery.com>
2633 * configure.in (auxdir): Replace by ...
2634 (toprel): ... new variable.
2635 (toplevel_srcdir): Construct from $toprel.
2636 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
2637 rather than .. to locate gcc source directory.
2638 (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
2639 * aclocal.m4, configure: Rebuilt.
2641 2001-06-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
2643 (Approved by Mark and Benjamin. Applied by Loren.)
2645 * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
2646 _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
2647 and _GLIBCPP_mutex_address.
2648 * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
2649 once-only runtime initialization of _M_lock mutex when
2650 __GTHREAD_MUTEX_INIT_FUNCTION is defined.
2651 (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
2652 for __GTHREAD_MUTEX_INIT_FUNCTION case.
2654 2001-06-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2656 * testsuite/26_numerics/slice_array_assignment.cc (main): New test.
2658 * include/bits/slice_array.h (slice_array<>::operator=): Make
2659 public and implement.
2660 (slice_array<>::slice_array): Make copy-constructor public.
2662 * include/bits/valarray_array.h (__valarray_copy): Add another
2663 overload to copy between strided arrays.
2665 2001-06-13 Benjamin Kosnik <bkoz@redhat.com>
2667 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
2668 * aclocal.m4: Regenerate.
2669 * configure: Regenerate.
2670 * include/bits/c++config (__GLIBCPP__): Update date.
2672 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
2674 * include/bits/fpos.h (fpos::operator-): Don't return reference,
2675 return original, non-modified version.
2676 (fpos::operator+): Same.
2677 * testsuite/27_io/fpos.cc: Add test.
2679 2001-06-12 Loren J. Rittle <ljrittle@acm.org>
2682 * porting.texi: Add documentation about libstdc++-v3-specific
2683 macros that are currently included in os_defines.h files.
2685 * config/basic_file_stdio.h (sys_getc): New method.
2686 (sys_ungetc): New method.
2687 * include/bits/basic_file.h: (sys_getc): New method signature.
2688 (sys_ungetc): New method signature.
2690 * include/bits/fstream.tcc (underflow): Add conditional code
2691 paths which avoid using short seeks on streams (especially
2692 useful when the stream might be interactive or a pipe). At
2693 the moment, this alternate path only avoids seeking when the
2694 ``buffer size'' of underflow() is 1 since the C standard only
2695 guarantees buffer space for one ungetc (this technique could
2696 be extended since *-*-solaris* supports buffering for 4 calls
2697 to ungetc and *-*-*bsd* supports buffering limited only by
2698 memory resources). Also, _GLIBCPP_AVOID_FSEEK must be defined
2699 in a port's os_defines.h file for this alternate path to even
2700 be considered. As a bonus, the idiom of using getc/ungetc
2701 requires no system calls whereas fseek maps to one or two
2702 system call(s) on many platforms.
2704 * config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
2706 * config/os/solaris/solaris2.5/bits/os_defines.h
2707 (_GLIBCPP_AVOID_FSEEK): Likewise.
2708 * config/os/solaris/solaris2.6/bits/os_defines.h
2709 (_GLIBCPP_AVOID_FSEEK): Likewise.
2710 * config/os/solaris/solaris2.7/bits/os_defines.h
2711 (_GLIBCPP_AVOID_FSEEK): Likewise.
2713 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
2715 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change to
2716 AC_TRY_COMPILE, so that the built compiler is checked, and
2717 bootstraps or cross compiles with an older compile still work.
2718 * aclocal.m4: Regenerate.
2719 * configure: Regenerate.
2721 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
2724 * include/bits/std_sstream.h: Add allocator_type, as per DR 251.
2727 * include/bits/istream.tcc (getline, get): Fix as per DR 243.
2730 * include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
2733 * include/bits/limits_generic.h: Fix as per DR 184.
2735 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
2738 * include/bits/basic_string.h (string::compare): Adjust signatures
2740 * include/bits/basic_string.tcc: And here.
2743 * config/c_io_stdio.h: Remove whitespace.
2744 * testsuite/27_io/istream_seeks.cc (test03): Add regression.
2745 (test02): Add regression.
2746 * testsuite/27_io/istream_seeks-3.tst: New file.
2748 2001-06-11 Phil Edwards <pme@sources.redhat.com>
2750 * README: Update to reflect reality.
2751 * acinclude.m4: Update descriptions, fix typos. Comment changes only.
2752 * configure.in: Make certain target_alias is set and subst'd for 2.50.
2753 * aclocal.m4: Regenerate.
2754 * configure: Regenerate (with 2.13).
2756 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
2759 * include/bits/ostream.tcc (ostream::seekp): Add error checking as
2761 * include/bits/istream.tcc (istream::seekg): Same.
2762 * testsuite/27_io/istream_seeks.cc: Fix.
2765 * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
2767 * include/bits/std_queue.h: Add c++config.h.
2768 * testsuite/20_util/binders.cc: New test.
2770 2001-06-11 Matthias Klose <doko@debian.org>
2771 Phil Edwards <pme@sources.redhat.com>
2773 * docs/doxygen/run_doxygen (find_doxygen): Tweak version check.
2774 (main script): Echo more information.
2776 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
2778 * include/c_std/bits/std_cwchar.h: Alphabetize.
2779 * include/bits/char_traits.h: Tweak.
2780 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
2781 everything used by std_cwchar.h.
2782 * aclocal.m4: Regenerate.
2783 * configure.in: Regenerate.
2784 * config.h.in: Regenerate.
2786 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
2788 * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
2789 Add checking for strtof, _Exit in stdlib.h
2790 * aclocal.m4: Regenerate.
2791 * configure.in: Regenerate.
2792 * include/c_std/bits/std_cstdio.h: Alphabetize lists.
2793 (snprintf): Put C99 functions into __gnu_cxx namespace.
2798 * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
2799 for C99 functions within _GLIBCPP_USE_C99 guard.
2803 * include/bits/locale_facets.tcc: Check if C99 is enabled.
2804 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
2806 * include/c_std/bits/cmath.tcc: Formatting tweak.
2807 * include/c_std/bits/std_cmath.h: Same.
2809 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
2811 * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
2813 2001-06-09 Alexandre Oliva <aoliva@redhat.com>
2814 Stephen L Moshier <moshier@mediaone.net>
2816 * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
2817 nothing, as in autoconf 2.50.
2818 * configure: Rebuilt.
2820 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
2822 * include/c_std/bits/std_cwchar.h: Remove size_t injection,
2823 include std_cstddef.
2824 * include/c_std/bits/std_ctime.h: Same.
2825 * include/c_std/bits/std_cstring.h: Same.
2826 * include/c_std/bits/std_cstdlib.h: Same.
2828 * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
2829 * include/c_std/bits/std_cctype.h: Remove isblank.
2831 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
2833 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
2835 * aclocal.m4: Regenerate.
2836 * configure: Regenerate.
2837 * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
2838 injection, guard fgetwc, fgetws.
2839 * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
2840 * include/c_std/bits/std_clocale.h: And here.
2841 * include/c_std/bits/std_cctype.h: And here.
2842 * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
2844 * config/basic_file_stdio.h: Don't include unistd.h.
2845 * config/c_io_stdio.h: Don't use compatibility headers.
2846 * libsupc++/eh_terminate.cc: Qualify abort.
2847 (__terminate): And here.
2848 * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
2850 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
2852 * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
2854 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
2859 * include/std/*: Add copyright notice.
2860 * include/c_std/bits/*: Use using statements instead of extern "C".
2861 * include/c_std/bits/std_cmath.h: Don't overload double versions
2862 of math functions with __buitin versions, use global version to
2863 prevent ambiguities. Remove define hacks.
2864 * include/c_std/bits/std_cwchar.h: Using declarations for "C"
2865 functions that have changed signatures and std::
2866 declarations. Remove define hacks.
2867 * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
2868 __builtins in std::. Remove define hacks.
2869 * testsuite/17_intro/headers_c.cc: Add tests.
2870 * testsuite/17_intro/headers_c++.cc: Add test.
2872 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
2873 John David Anglin <dave@hiauly1.hia.nrc.ca>
2876 * libsupc++/eh_alloc.cc: Ensure that required macros are
2877 defined before including gthr.h. Ensure that we get the
2878 version of gthr.h for which we know how to provide a
2880 * libsupc++/eh_globals.cc: Likewise. And, bring the threading
2881 code path into line with the current EH model. Use std, where
2884 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
2885 John David Anglin <dave@hiauly1.hia.nrc.ca>
2887 * config/threads-no.h: Remove file.
2888 * config/threads-posix.h: Remove file.
2890 * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
2891 (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
2892 (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
2893 * config.h.in: Regenerate.
2895 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
2896 setup and use gthr*.h files. In particular, make gthr.h files
2897 namespace-clean in the staging area (they don't have to be for
2899 * aclocal.m4: Regenerate.
2900 * configure: Regenerate.
2902 * src/Makefile.am (build_headers): Remove bits/c++threads.h
2903 and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
2904 * src/Makefile.in: Regenerate.
2906 * include/bits/c++config: Cleanup threading configuration macros.
2907 In particular, define __STL_GTHREADS macro which controls...
2908 * include/bits/stl_threads.h: ...a brand new gthr.h-based
2911 * config/c_io_stdio.h: Include staged gthr.h instead of local
2912 thread configuration file. Always use __gthread_mutex_t
2913 instead of __mutext_type (or int).
2914 * include/bits/std_fstream.h: Likewise.
2916 * docs/html/17_intro/howto.html: Remove placeholder comment in
2917 case this configuration patch didn't make it. Add advice that
2918 section only applies if configured with --enable-threads.
2919 * docs/html/23_containers/howto.html: Reword to make clear
2920 that _PTHREADS is no longer required for any port to be
2921 correctly using STL with threads. Add advice that section
2922 only applies if configured with --enable-threads.
2924 2001-06-06 Benjamin Kosnik <bkoz@redhat.com>
2926 * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
2928 2001-06-05 Benjamin Kosnik <bkoz@redhat.com>
2931 * include/bits/basic_ios.tcc: Formatting tweaks.
2932 * include/bits/ios_base.h: Formatting tweaks.
2933 * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
2934 (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
2935 * src/globals.cc: Allocate filebufs for standard streams here.
2936 (buf_cout, buf_cin, buf_cerr): Like so.
2937 (buf_wcout, buf_wcin, buf_wcerr): And so.
2938 * testsuite/27_io/ios_init.cc: Add.
2940 2001-06-04 Brendan Kehoe <brendan@zen.org>
2941 Benjamin Kosnik <bkoz@redhat.com>
2944 * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
2945 for generic ctype virtuals.
2946 * src/locale.cc: Minor tweaks, naming consistency.
2947 * testsuite/22_locale/ctype.cc: Add test.
2949 2001-06-04 Kenny Simpson <theonetruekenny@yahoo.com>
2950 Phil Edwards <pme@sources.redhat.com>
2952 PR libstdc++/3035 and PR libstdc++/3036
2953 * include/bits/stl_pair.h: Fix pair ctor and make_pair according
2954 to LWG DR 181 and 265.
2956 2001-06-04 Phil Edwards <pme@sources.redhat.com>
2959 * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
2960 equal_range): Add const overloads as per LWG DR 214.
2961 * include/bits/stl_set.h: Likewise.
2963 2001-06-04 Brendan Kehoe <brendan@zen.org>
2964 Phil Edwards <pme@sources.redhat.com>
2967 * include/bits/std_bitset.h (bitset::test): Fix __pos >= _Nb
2968 comparison; all positions must be < _Nb.
2969 * testsuite/23_containers/bitset_members.cc: New file.
2971 2001-06-04 Brendan Kehoe <brendan@zen.org>
2974 * include/bits/stl_queue.h (classes queue, priority_queue): Fix
2975 ctors to match the standard.
2977 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
2979 * include/bits/char_traits.h (move): Reverse qualification of
2981 (copy): Reverse qualification of memcpy with std::.
2983 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
2985 * include/bits/char_traits.h (move): Qualify memmove with std::.
2986 (copy): Qualify memcpy with std::.
2987 * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
2990 * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
2992 2001-06-04 Hans-Peter Nilsson <hp@axis.com>
2994 * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
2995 uninstall-glibcppinstallHEADERS): Have explicit rules catering to
2996 SUN make VPATH peculiarities.
2997 * libsupc++/Makefile.in: Regenerate.
2999 2001-06-01 Hans-Peter Nilsson <hp@axis.com>
3001 * src/Makefile.am (VPATH): Delimit with ":", not space.
3002 * src/Makefile.in: Regenerate.
3004 * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
3006 * configure: Regenerate.
3008 2001-05-31 scott snyder <snyder@fnal.gov>
3011 * include/bits/istream.tcc: Include std_ostream.h.
3013 2001-05-31 Benjamin Kosnik <bkoz@redhat.com>
3016 * src/bitset.cc: Qualify size_t with std::.
3018 2001-05-30 Benjamin Kosnik <bkoz@redhat.com>
3020 * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
3021 (_GLIBCPP_BUGGY_COMPLEX): Remove.
3022 * config.h.in: Regenerate.
3023 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
3024 * aclocal.m4: Regenerate.
3025 * configure.in: Don't call it.
3026 * configure: Regenerate.
3029 * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
3030 * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
3034 * include/bits/std_complex.h: Include sstream. Put definitions for
3035 complex inserters and extractors here, and remove them from...
3036 * src/complex_io.cc: ...here.
3037 * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
3039 (basic_ios::__numget_type): Same.
3040 * include/bits/std_istream.h: Same.
3041 * include/bits/std_ostream.h: Same.
3042 * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
3043 class iterator template arguments.
3044 * src/locale-inst.cc: Add explicit has_facet instantiations.
3045 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
3046 (_M_get_fnumput): Remove.
3047 (_M_get_fnumget): Remove.
3048 (basic_ios::_M_check_facet): New function.
3049 (basic_ios::_M_cache_facets): New function.
3050 * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
3051 (basic_ios::imbue): Call _M_cache_facets.
3052 (basic_ios::init): Same.
3053 * include/bits/istream.tcc: Format, use _M_check_facet.
3054 * include/bits/ostream.tcc: Same.
3055 * include/bits/locale_facets.tcc (__output_float): Change
3056 signature, add _Traits.
3057 * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
3060 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
3062 * include/bits/c++config (__USE_MALLOC): Do not define it.
3063 Document why not and give pointers to more information.
3065 * docs/html/23_containers/howto.html: Update documentation
3066 to reflect recent understanding of problem.
3067 * docs/html/17_intro/howto.html: Likewise.
3069 2001-05-30 Phil Edwards <pme@sources.redhat.com>
3071 * docs/doxygen/user.cfg.in: Minor addition.
3072 * docs/html/documentation.html: Reorganize. Put most-looked-at
3074 * docs/html/install.html: Update for 3.0. HTML fixups.
3075 * docs/html/17_intro/howto.html: Likewise.
3076 * docs/html/18_support/howto.html: Likewise.
3077 * docs/html/19_diagnostics/howto.html: Likewise.
3078 * docs/html/20_util/howto.html: Likewise.
3079 * docs/html/23_containers/howto.html: Likewise.
3080 * docs/html/24_iterators/howto.html: Likewise. More notes.
3081 * docs/html/25_algorithms/howto.html: Likewise.
3082 * docs/html/26_numerics/howto.html: Likewise. More notes.
3083 * docs/html/27_io/howto.html: Likewise.
3084 * docs/html/ext/howto.html: Likewise.
3085 * docs/html/faq/index.html: Likewise.
3086 * docs/html/faq/index.txt: Regenerate.
3087 * docs/html/27_io/iostreams_hierarchy.pdf: Remove in favor of
3088 Doxygen-created documentation.
3090 2001-05-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3092 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
3093 get_multilibs to find gcc.
3095 2001-05-30 Phil Edwards <pme@sources.redhat.com>
3097 * acinclude.m4 (GLIBCPP_ENABLE_C99): Reorder output messages.
3098 * aclocal.m4: Regenerate.
3099 * configure: Regenerate.
3101 2001-05-29 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3103 * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
3104 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
3106 2001-05-27 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3108 * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
3109 * include/c_std/bits/std_cstdlib.h: Same.
3110 * include/c_std/bits/std_cwchar.h: Same.
3112 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
3114 * docs/html/17_intro/howto.html: Update link.
3115 * docs/html/23_containers/howto.html: Likewise. Add new link.
3117 2001-05-26 Gabriel Dos Reis <gdr@codesourcery.com>
3119 * include/c_std/bits/std_cmath.h (sqrt): #undef.
3121 2001-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3123 * mknumeric_limits: Stop if gen-num-limits dies.
3125 2001-05-25 Benjamin Kosnik <bkoz@redhat.com>
3128 * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
3129 * aclocal.m4: Regenerate.
3132 2001-05-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3133 Phil Edwards <pme@sources.redhat.com>
3134 Alexandre Oliva <aoliva@redhat.com>
3136 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
3137 in an amd-safe manner. Revert glibcpp_prefixdir.
3139 2001-05-25 Gabriel Dos Reis <gdr@codesourcery.com>
3141 * include/c_std/bits/std_cmath.h: Tweak. #define away abs, cos,
3142 fabs, sin, sqrt. They are now implemented in terms of __builtin_
3145 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
3148 * testsuite/21_strings/inserters_extractors.cc (test09): New test.
3149 * include/bits/ostream.tcc: Format to match istream.tcc.
3150 (operator<<(basic_ostream __out, const basic_string __s)): Fix.
3152 2001-05-24 Phil Edwards <pme@sources.redhat.com>
3154 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Qualify
3156 (__cxa_free_exception): Likewise with free.
3158 2001-05-24 Mark Mitchell <mark@codesourcery.com>
3160 * include/c_std/bin/std_cstring.h: #define away all global
3161 functions we will redeclare in namespace `std'.
3162 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
3163 std::memset, instead of memset.
3164 * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
3166 * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
3169 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
3172 * include/bits/basic_ios.tcc: Small tweak.
3173 * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
3174 ctors and dtors, and rdbuf settings.
3177 * include/bits/std_sstream.h: Same, but for stringstream classes.
3178 * testsuite/27_io/ostringstream_members.cc: New.
3179 * testsuite/27_io/stringstream_members.cc: New.
3180 * testsuite/27_io/fstream_members.cc: New.
3181 * testsuite/27_io/ifstream_members.cc: Add test.
3182 * testsuite/27_io/istringstream_members.cc: Add test.
3183 * testsuite/27_io/ofstream_members.cc: Add test.
3185 2001-05-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3187 * include/bits/c++config(__NO_MATH_INLINES): Move to...
3188 * config/os/gnu-linux/bits/os_defines.h: ...here.
3190 2001-05-24 Gabriel Dos Reis <gdr@codesourcery.com>
3192 * include/bits/c++config (__NO_MATH_INLINES): New macro.
3193 * testsuite/26_numerics/fabs_inline.cc (main): New test.
3195 2001-05-22 Benjamin Kosnik <bkoz@redhat.com>
3198 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
3200 (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
3201 (libstdc++-v3-finish): Remove.
3202 (libstdc++-v3_exit): Remove.
3204 2001-05-22 Phil Edwards <pme@sources.redhat.com>
3206 * docs/html/documentation.html: Point to doxygen output.
3208 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
3210 * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
3212 * include/bits/std_sstream.h (stringbuf::setbuf): Require both
3213 arguments to be non-null.
3214 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
3215 try allocations if allocated size is greater than zero.
3216 (filebuf::_M_filebuf_init): Change to
3217 (filebuf::_M_allocate_file): Which is what it does now.
3218 (filebuf::_M_allocate_bufers): Change to
3219 (filebuf::_M_allocate_internal_buffer): This, and create
3220 (filebuf::_M_allocate_pback_buffer): New.
3221 (filebuf::_M_destroy_internal_buffer): New.
3222 (filebuf::_M_buf_allocated): New data member.
3223 (filebuf::setbuf): Use new logic, allow use of external buffer.
3224 * testsuite/27_io/stringbuf_virtuals.cc: New file.
3225 * testsuite/27_io/filebuf_virtuals.cc: New file.
3227 2001-05-21 Stephen M. Webb <stephen@bregmasoft.com>
3229 * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
3231 (strchr): Same, but to __glibcpp_strchr.
3235 * include/c_std/bits/std_cwchar.h (wcschr): Same.
3241 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
3243 * testsuite/21_strings/c_strings.cc (main): Fix.
3245 2001-05-19 Phil Edwards <pme@sources.redhat.com>
3247 * acinclude.m4: Fix --help spacing, correct comments.
3248 * aclocal.m4: Regenerate.
3249 * configure: Regenerate.
3250 * mkcheck.in: Add usage comments.
3251 * docs/html/documentation.html: Point to doxygen'd tarball.
3253 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
3255 * testsuite/README: Add notes.
3257 * src/Makefile.am (libstdc++.INC): Remove.
3258 * src/Makefile.in: Regenerate.
3260 Phil Edwards <pedwards@disaster.jaj.com>
3261 * mkcheck.in: Add missing '#'.
3263 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
3265 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
3266 appropriately for remote testing and testing installed files without
3269 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
3271 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
3272 amd glibcpp_prefixdir with absolute paths.
3274 * include/bits/c++config (__GLIBCPP__): Bump.
3275 * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
3277 2001-05-18 Gabriel Dos Reis <gdr@codesourcery.com>
3279 * include/bits/std_valarray.h (valarray<>::operator[] const):
3280 Return a const reference.
3281 * testsuite/26_numerics/valarray_const_bracket.cc: New test.
3283 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
3285 * configure.target (ATOMICITYH): Actually use AIX-specific code on
3286 earlier versions of AIX 4.*.
3288 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
3290 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set
3291 output_file based on the name of the testcase.
3293 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
3295 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Build
3296 gluefile and use it if needs_status_wrapper is set.
3298 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
3300 * configure.target (ATOMICITYH): Use cpu/generic code on earlier
3303 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
3305 * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
3306 on earlier versions of AIX.
3308 2001-05-15 Benjamin Kosnik <bkoz@redhat.com>
3310 * testsuite_flags.in (query): Add backwards, ext directories.
3312 2001-05-15 Mark Mitchell <mark@codesourcery.com>
3314 * porting.texi: Correct documentation about handling
3315 _LARRGEFILE_SOURCE and its ilk.
3316 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
3317 definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
3319 * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
3320 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
3322 2001-05-15 Zack Weinberg <zackw@stanford.edu>
3324 * testsuite/21_strings/inserters_extractors.cc,
3325 testsuite/27_io/istream_unformatted.cc,
3326 testsuite/27_io/stringstream.cc:
3327 Replace multi-line string constants with C89-style
3328 concatenated string constants.
3330 2001-05-14 Richard Henderson <rth@redhat.com>
3332 * mknumeric_limits: Build with -fno-exceptions.
3334 2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
3336 Switch over to new harness.
3337 * testsuite_flags.in: Tweaks via Gaby.
3338 * testsuite/Makefile.am: Change tool to libstdc++-v3.
3339 (EXPECT): Quote directly.
3341 * configure.in: Output testsuite_flags.
3342 * acinclude.m4: Substitute src, bld, and prefix dirs.
3343 Remove glibcpp_expect, glibcpp_runtestflags.
3344 * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
3345 * mkcheck.in: Port to new interface.
3347 * aclocal.m4: Regerate.
3348 * configure: Regnerate.
3349 * Makefile.in: Regnerate.
3350 * */Makefile.in: Regenerate.
3352 * tests_flags.in: Remove.
3353 * testsuite/lib/libstdc++.exp: Remove.
3354 * testsuite/libstdc++.tests/tests.exp: Remove.
3356 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
3358 * configure.target: Remove detection of AIX pthread multilib, now
3359 obtained from `gcc -v'.
3361 2001-05-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
3363 * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
3364 size. Add hpux case for HP size.
3366 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
3368 * testsuite_flags.in: New, simplified interface.
3369 * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
3370 * testsuite/libstdc++-v3.dg: Add.
3371 * testsuite/libstdc++-v3.dg/dg.exp: Add.
3373 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
3375 * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
3376 * testsuite/config/default.exp: Update bugs email address.
3378 2001-05-11 Richard Henderson <rth@redhat.com>
3380 * libsupc++/eh_personality.cc: Include unwind-pe.h. Remove
3381 all pointer encoding logic.
3382 (struct lsda_header_info): Add ttype_base.
3383 (get_ttype_entry): Use it instead of a context.
3384 (check_exception_spec): Likewise.
3385 (PERSONALITY_FUNCTION): Initialize ttype_base. Store it in
3386 the c++ exception header for __cxa_call_unexpected.
3387 (__cxa_call_unexpected): Use it.
3389 2001-05-09 Benjamin Kosnik <bkoz@redhat.com>
3391 * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
3392 libgloss_link_flags to find crt0.o for targets that use libgloss
3394 Change LDFLAGS to LIBS.
3395 Consistently name procedures libstdc++-XXX.
3396 * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
3398 2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
3400 * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
3405 * include/c_std/bits/std_cwchar.h (wcschr): Same.
3410 * testsuite/21_strings/c_strings.cc: Add tests.
3412 2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
3415 * include/bits/std_fstream.h (basic_filebuf): Change signature.
3416 * include/bits/fstream.tcc (basic_filebuf): Change bool argument
3417 to int_type, pass in buffer size info.
3418 * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
3419 unbuffered situation.
3420 (underflow): Remove codecvt bits for the time being.
3421 * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
3422 * include/bits/locale_facets.tcc (_M_extract): Cache dereference
3423 values from iterators, clean.
3424 * src/locale.cc: Ditto.
3425 * include/bits/sbuf_iter.h: Format.
3426 * src/ios.cc: Explicitly pass in buffer sizes at creation time.
3427 * testsuite/27_io/narrow_stream_objects.cc: Add tests.
3428 * testsuite/27_io/filebuf.cc: Tweaks.
3429 * testsuite/27_io/filebuf_members.cc: Tweaks.
3431 2001-05-07 Mark Mitchell <mark@codesourcery.com>
3433 * config/os/solaris/solaris2.7/bits/os_defines.h
3434 (_LARGEFILE_SOURCE): Define it.
3436 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
3438 * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
3439 -prefer-non-pic depending on whether libtool has shared libraries
3440 enabled or disabled.
3441 * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
3442 $(LIBSUPCXX_PICFLAGS).
3443 * configure, */Makefile.in: Rebuilt.
3445 2001-05-01 Benjamin Kosnik <bkoz@redhat.com>
3447 * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
3448 * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
3450 * include/bits/std_sstream.h (stringbuf): Leak
3452 * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
3454 2001-05-01 Tom Browder <tbrowder@home.com>
3456 * docs/html/ext/howto.html: Fix typo.
3458 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
3460 * testsuite/libstdc++.tests/tests.exp: Add comment.
3462 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
3464 * testsuite/libstdc++.tests/tests.exp: Set ulimits.
3466 2001-04-30 Mark Mitchell <mark@codesourcery.com>
3468 * porting.texi: Use the GFDL.
3470 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
3473 * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
3474 * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
3477 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
3480 * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
3482 2001-04-28 Phil Edwards <pme@sources.redhat.com>
3484 * docs/doxygen/run_doxygen: Minor tweaks.
3485 * docs/doxygen/style.css: New file.
3486 * docs/doxygen/user.cfg.in: Update using "doxygen -u" to get the
3487 latest parameters available. Use style.css.
3489 2001-04-27 Benjamin Kosnik <bkoz@redhat.com>
3491 * docs/doxygen/mainpage.doxy: New.
3492 * docs/doxygen/user.cfg.in: Change default configuration. Single
3493 frame, other tweaks.
3495 2001-04-26 Mark Mitchell <mark@codesourcery.com>
3497 * docs/html/17_intro/BADNAMES: Remove EGCS reference.
3498 Indicate obsolete nature of thelist for G++ 3.0.
3500 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
3502 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
3503 target_thread_file with `gcc -v'.
3504 * aclocal.m4, configure: Rebuilt.
3506 2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
3508 * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
3509 * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
3510 * include/c_std/bits/std_cwchar.h (std): Same.
3511 * acconfig.h (std): Remove c99 injection into std.
3512 * config.h.in: Regenerate.
3514 * testsuite/README: Fix typo.
3516 * include/bits/codecvt.h: Remove warnings.
3518 2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3520 * include/ext/slist: Include required header files.
3522 2001-04-23 Loren J. Rittle <ljrittle@acm.org>
3524 * include/c_std/bits/std_cerrno.h (errno): Define macro from
3525 identifier declared with external linkage, if needed.
3526 * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
3527 * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
3529 2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
3531 * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
3532 re-configures find the build compiler.
3533 (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
3535 * aclocal.m4: Regenerate.
3536 * configure: Regenerate.
3538 2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
3540 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
3541 support is enabled correctly before long long is activated.
3542 * aclocal.m4: Regenerate.
3543 * configure: Regenerate.
3545 * include/backward/backward_warning.h: Format correctly.
3547 * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
3548 * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
3549 * testsuite/26_numerics/c99_macros.cc: Remove.
3551 2001-04-20 Phil Edwards <pme@sources.redhat.com>
3553 * include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
3554 __iterator_category.
3556 2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
3558 * acconfig.h (_GLIBCPP_USE_C99): Add.
3559 * config.h.in: Regenerate.
3560 * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
3562 * aclocal.m4: Regenerate.
3563 * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
3564 * configure: Regenerate.
3565 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
3566 * configure: Regenerate.
3567 * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
3569 * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
3571 * include/c_std/bits/std_cstdlib.h: Same.
3572 * docs/html/configopts.html: Update.
3573 * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
3575 (test_c99_classify): Add.
3576 * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
3577 (_ISOC99_SOURCE): Remove.
3579 * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
3580 * include/bits/c++config (__STL_ASSERTIONS): Simplify.
3581 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
3582 * aclocal.m4: Regenerate.
3583 * configure: Regenerate.
3585 2001-04-19 Phil Edwards <pme@sources.redhat.com>
3587 * Makefile.am (doxygen): Assume script is missing execute perms.
3588 * Makefile.in: Regenerated.
3589 * docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
3591 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
3593 * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
3595 2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
3597 * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
3598 * testsuite/23_containers/set_operators.cc: Same.
3600 * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
3602 (__GLIBCPP__): Bump from value of last release.
3603 * include/bits/concept_check.h: Default to off, edit comments.
3604 * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
3605 * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
3606 * src/Makefile.in: Regenerate.
3608 2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE>
3610 * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
3611 Properly uglify member.
3613 2001-04-13 Phil Edwards <pme@sources.redhat.com>
3615 * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead
3619 2001-04-13 Phil Edwards <pme@sources.redhat.com>
3621 * include/bits/boost_concept_check.h: Uglify, fork from Boost.
3622 * include/bits/concept_check.h: Uglify.
3623 * include/bits/stl_algo.h: Likewise.
3624 * include/bits/stl_algobase.h: Likewise.
3625 * include/bits/stl_deque.h: Likewise.
3626 * include/bits/stl_heap.h: Likewise.
3627 * include/bits/stl_iterator_base_funcs.h: Likewise.
3628 * include/bits/stl_list.h: Likewise.
3629 * include/bits/stl_map.h: Likewise.
3630 * include/bits/stl_multimap.h: Likewise.
3631 * include/bits/stl_multiset.h: Likewise.
3632 * include/bits/stl_numeric.h: Likewise.
3633 * include/bits/stl_queue.h: Likewise.
3634 * include/bits/stl_set.h: Likewise.
3635 * include/bits/stl_stack.h: Likewise.
3636 * include/bits/stl_vector.h: Likewise.
3637 * include/ext/hash_map: Likewise.
3638 * include/ext/hash_set: Likewise.
3639 * include/ext/slist: Likewise.
3641 2001-04-13 Gabriel Dos Reis <gdr@codesourcery.com>
3643 * testsuite/23_containers/set_operators.cc: Just try to compile.
3645 * testsuite/23_containers/map_operators.cc: Same.
3647 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
3649 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
3651 (dg-test): Revert rth's change.
3653 2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
3655 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
3656 terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
3658 2001-04-12 Gabriel Dos Reis <gdr@codesourcery.com>
3660 * testsuite/README: Add DejaGnu specific documentation.
3662 2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
3664 * acinclude.m4: AC_CHECK_TOOL for expect.
3665 * aclocal.m4: Regenerate.
3666 * configure: Regenerate.
3667 * testsuite/Makefile.am (RUNTEST): Use substituted.
3670 * configure.in: Remove xcompiling substitution.
3671 * tests_flags.in (CROSS_LIB_PATH): Remove.
3672 (xcompiling): Remove.
3673 (CXX): Use substituted CXX.
3675 2001-04-11 Richard Henderson <rth@redhat.com>
3677 * testsuite/lib/libstdc++.exp: Specify path for output_file.
3679 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
3681 * include/bits/std_valarray.h(valarray<>::operator[]): Make
3684 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
3686 * testsuite/25_algorithms/equal.cc: New test.
3688 2001-04-06 Joe Buck <jbuck@welsh-buck.org>
3690 * stl_algobase.h (std::equal): avoid use of possibly-undefined
3691 operator != (one line patch).
3693 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
3695 * include/backward/backward_warning.h: Re-enable.
3697 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
3698 Alexandre Oliva <aoliva@redhat.com>
3700 * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
3702 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
3704 * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
3705 * testsuite/26_numerics/c99_macros.cc: Add test.
3707 2001-04-06 Phil Edwards <pme@sources.redhat.com>
3709 * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES.
3710 * docs/html/faq/index.txt: Regenerated.
3712 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
3714 * include/backward/backward_warning.h: Temporarily disable until
3715 g++ testsuite changes go in.
3716 * tests_flags.in (CROSS_LIB_PATH): Add.
3718 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
3720 Warn when using backward headers.
3721 * include/backward/algo.h: Include warning file.
3722 * include/backward/vector.h: Same.
3723 * include/backward/tree.h: Same.
3724 * include/backward/tempbuf.h: Same.
3725 * include/backward/strstream: Same.
3726 * include/backward/streambuf.h: Same.
3727 * include/backward/stream.h: Same.
3728 * include/backward/stack.h: Same.
3729 * include/backward/slist.h: Same.
3730 * include/backward/set.h: Same.
3731 * include/backward/rope.h:
3732 * include/backward/queue.h: Same.
3733 * include/backward/pair.h: Same.
3734 * include/backward/ostream.h: Same.
3735 * include/backward/new.h: Same.
3736 * include/backward/multiset.h: Same.
3737 * include/backward/multimap.h: Same.
3738 * include/backward/map.h: Same.
3739 * include/backward/list.h: Same.
3740 * include/backward/iterator.h: Same.
3741 * include/backward/istream.h: Same.
3742 * include/backward/iostream.h:
3743 * include/backward/iomanip.h:
3744 * include/backward/heap.h: Same.
3745 * include/backward/hashtable.h:
3746 * include/backward/hash_set.h:
3747 * include/backward/hash_map.h:
3748 * include/backward/function.h:
3749 * include/backward/fstream.h:
3750 * include/backward/deque.h:
3751 * include/backward/defalloc.h: Same.
3752 * include/backward/complex.h: Same.
3753 * include/backward/bvector.h:
3754 * include/backward/alloc.h:
3755 * include/backward/algobase.h: Same.
3757 * include/backward/backward_warning.h: New file.
3758 * src/Makefile.am (backward_headers): Add backward_warning.h
3759 * src/Makefile.in: Regenerate.
3761 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
3763 * src/Makefile.am (myinstalldirs): Make sure backward directory is
3765 (myinstallheaders): Install backward headers in backward directory.
3766 * src/Makefile.in: Regenerate.
3768 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
3770 Prepare for libstdc++-2.92.
3771 * docs/html/17_intro/RELEASE-NOTES (New): Update.
3772 * docs/html/configopts.html: Fix formatting.
3773 * README (file): Updates.
3774 * include/bits/c++config (__GLIBCPP__): Update.
3776 2001-04-05 Phil Edwards <pme@sources.redhat.com>
3778 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
3780 2001-04-04 Phil Edwards <pme@sources.redhat.com>
3782 * docs/doxygen/user.cfg.in: Extract all non-private members;
3783 reduce confusing documentation output.
3785 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
3787 * include/backward/fstream.h: Add missing semicolons.
3789 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
3791 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
3792 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
3793 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
3794 (ios_base::Init::_S_ios_create): New.
3795 (ios_base::Init::_S_ios_destroy): New.
3796 * include/bits/std_fstream.h: Change ctor args.
3797 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
3798 (ios_base::Init::~Init): Use _S_ios_destroy.
3799 (ios_base::sync_with_stdio): Use new members.
3800 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
3803 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3805 * include/backward/fstream.h: Expose streampos to global
3808 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3810 * include/bits/stl_iterator_base_types.h: Fix typo
3812 2001-04-03 Andreas Schwab <schwab@suse.de>
3814 * include/backward/fstream.h: Define filebuf and wfilebuf.
3816 2001-04-02 Phil Edwards <pme@sources.redhat.com>
3818 New concept checking implementation.
3819 * docs/html/19_diagnostics/howto.html: Document.
3820 * docs/html/17_intro/concept_check.diff: New file, for reference.
3821 * include/bits/boost_concept_check.h: New file from Boost.
3822 * include/bits/c++config: Update comments.
3824 * include/bits/concept_check.h: New file.
3825 * include/bits/concept_checks.h: Removed.
3826 * include/bits/container_concepts.h: Removed.
3827 * include/bits/sequence_concepts.h: Removed.
3828 * include/bits/stl_iterator_base.h: Removed; split into...
3829 * include/bits/stl_iterator_base_funcs.h: ...this new file...
3830 * include/bits/stl_iterator_base_types.h: ...and this new file.
3832 * include/bits/sbuf_iter.h: Update to use new implementation.
3833 * include/bits/std_iterator.h: Likewise.
3834 * include/bits/std_memory.h: Likewise.
3835 * include/bits/stl_algo.h: Likewise.
3836 * include/bits/stl_algobase.h: Likewise.
3837 * include/bits/stl_construct.h: Likewise.
3838 * include/bits/stl_deque.h: Likewise.
3839 * include/bits/stl_heap.h: Likewise.
3840 * include/bits/stl_list.h: Likewise.
3841 * include/bits/stl_map.h: Likewise.
3842 * include/bits/stl_multimap.h: Likewise.
3843 * include/bits/stl_multiset.h: Likewise.
3844 * include/bits/stl_numeric.h: Likewise.
3845 * include/bits/stl_queue.h: Likewise.
3846 * include/bits/stl_set.h: Likewise.
3847 * include/bits/stl_stack.h: Likewise.
3848 * include/bits/stl_uninitialized.h: Likewise.
3849 * include/bits/stl_vector.h: Likewise.
3850 * include/ext/hash_map: Likewise.
3851 * include/ext/hash_set: Likewise.
3852 * include/ext/slist: Likewise.
3853 * include/ext/stl_hashtable.h: Likewise.
3855 * src/Makefile.am (base_headers): Update list of headers.
3856 * Makefile.in: Regenerated.
3857 * src/Makefile.in: Regenerated.
3858 * libio/Makefile.in: Regenerated.
3859 * libmath/Makefile.in: Regenerated.
3860 * libsupc++/Makefile.in: Regenerated.
3861 * testsuite/Makefile.in: Regenerated.
3863 * docs/html/install.html: Update contact information.
3864 * docs/html/17_intro/howto.html: Ditto.
3865 * docs/html/18_support/howto.html: Ditto.
3866 * docs/html/20_util/howto.html: Ditto.
3867 * docs/html/21_strings/howto.html: Ditto.
3868 * docs/html/22_locale/howto.html: Ditto.
3869 * docs/html/23_containers/howto.html: Ditto.
3870 * docs/html/24_iterators/howto.html: Ditto.
3871 * docs/html/25_algorithms/howto.html: Ditto.
3872 * docs/html/26_numerics/howto.html: Ditto.
3873 * docs/html/27_io/howto.html: Ditto.
3874 * docs/html/faq/index.html: Ditto, plus info on new checking code.
3875 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
3876 * docs/html/faq/index.txt: Regenerated.
3878 2001-04-02 Zack Weinberg <zackw@stanford.edu>
3880 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
3881 messages with $which_library as well as $tool_flags and
3882 ${dg-extra-tool-flags}. Factor out annotation text into
3885 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
3887 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
3888 * include/c_std/bits/std_cwchar.h: Same.
3889 * testsuite/21_strings/c_strings.cc: Add.
3891 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
3893 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
3895 2001-04-01 Zack Weinberg <zackw@stanford.edu>
3897 * tests_flags.in: Use test a = b, not test a == b which is not
3900 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
3902 * configure.target: Remove duplicate aix entry.
3904 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
3906 * include/ext/stl_bvector.h: Move to...
3907 * include/bits/stl_vector.h: ...here.
3908 * include/ext/bvector: Move to...
3909 * include/backward/bvector.h: ...here.
3910 * include/bits/std_vector.h: Change stl_bvector include.
3911 * include/bits/std_queue.h: Remove bvector include.
3912 * include/ext/tree: Insert using rb_tree, move to...
3913 * include/backward/tree.h: ...here.
3914 * include/backward/hash_map.h: Include ext/hash_map.
3915 * include/backward/hash_set.h: Include ext/hash_set.
3916 * include/backward/queue.h: New file.
3917 * include/backward/stack.h: Edit.
3918 * include/backward/algo.h: Same.
3919 * include/backward/algobase.h: Same.
3920 * include/backward/alloc.h: Same.
3921 * include/backward/function.h: Same.
3922 * include/backward/iomanip.h: Same.
3923 * include/backward/istream.h: Same.
3924 * include/backward/iterator.h: Same.
3925 * include/backward/list.h: Same.
3926 * include/backward/map.h: Same.
3927 * include/backward/multimap.h: Same.
3928 * include/backward/multiset.h: Same.
3929 * include/backward/ostream.h: Same.
3930 * include/backward/pair.h: Same
3931 * include/backward/rope.h: Same.
3932 * include/backward/set.h: Same.
3933 * include/backward/stream.h: Same.
3934 * include/backward/strstream.h: Same.
3935 * include/backward/tempbuf.h: Same.
3936 * src/Makefile.am (ext_headers): Edit.
3937 * src/Makefile.in: Regenerate.
3938 * testsuite/ext/headers.cc (main): Fix.
3941 2001-03-30 Phil Edwards <pme@sources.redhat.com>
3943 * tests_flags.in (LIBS): Pass correct path for installed testing.
3945 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
3947 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
3948 * tests_flags.in (CXX): Construct here.
3949 (static_fail): Don't remove compile.out. Format with spaces.
3950 (INCLUDES): Deal with xcompiling.
3951 * configure.in (xcompiling): Substitute.
3952 * testsuite/Makefile.am: Snake libjava configury.
3953 * testsuite/Makefile.in: Regenerate.
3954 * testsuite/23_containers/map_operators.cc: Tweaks.
3955 * testsuite/23_containers/set_operators.cc: Tweaks.
3957 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3959 Enable dejagnu testing framework.
3960 * configure.in: Generate testsuite/Makefile.
3961 * configure: Regenerate.
3962 * Makefile.am (check-install): Change rule from this...
3963 (check-script-install): ...to this.
3964 (check): Change rule from this...
3965 (check-script):...to this.
3966 * Makefile.in: Regenerate.
3968 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
3970 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
3972 (LIBTOOL): Let automake take care of its definition.
3973 * libsupc++/Makefile.in: Rebuilt.
3975 2001-03-28 Richard Henderson <rth@redhat.com>
3977 IA-64 ABI Exception Handling:
3978 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
3979 * configure.in: Use it.
3980 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
3981 * libsupc++/Makefile.am (sources): Update files list.
3982 * libsupc++/Makefile.in: Regenerate.
3983 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
3984 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
3985 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
3986 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
3987 * libsupc++/exception_support.cc: Remove.
3988 * libsupc++/exception_support.h: Remove.
3989 * libsupc++/pure.cc: Use std::terminate.
3990 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
3991 (__is_pointer): Remove.
3992 * libsupc++/unwind-cxx.h: New file.
3993 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
3995 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
3997 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
3999 * src/Makefile.am (CXXLINK): Likewise.
4000 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
4002 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
4004 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
4006 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4008 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
4011 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
4013 * include/bits/basic_file.h (get_fileno): Remove.
4014 (_M_fileno): Remove.
4015 (_M_cfile_created): Add.
4016 (basic_file::basic_file(__c_file_type*, openmode): Add.
4017 (basic_file::basic_file(int, const char*, openmode): Remove.
4018 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
4019 const char*, ios_base::openmode): Don't allocate
4020 internal buffers. Turn off internal buffers.
4021 (basic_filebuf::overflow): Remove test for null buffer.
4022 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
4023 * include/bits/streambuf.cc: Tweak.
4024 * include/bits/std_ostream.h: Tweak.
4025 * config/basic_file_libio.h: Same.
4026 * config/basic_file_stdio.h: Same.
4027 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
4028 * testsuite/27_io/filebuf_members.cc: Tweaks.
4029 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
4031 2001-03-24 Phil Edwards <pme@sources.redhat.com>
4033 * Makefile.am: New targets, doxygen and doxygen-maint.
4034 * Makefile.in: Regenerated.
4035 * docs/doxygen/run_doxygen: Finally implemented.
4036 * docs/doxygen/maint.cfg.in: New file.
4037 * docs/doxygen/user.cfg.in: New file.
4039 2001-03-24 Phil Edwards <pme@sources.redhat.com>
4041 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
4042 * src/Makefile.am: Replace leading spaces with tabs on continuation
4044 * aclocal.m4: Regenerated.
4046 * Makefile.in: Ditto.
4047 * src/Makefile.in: Ditto.
4048 * libio/Makefile.in: Ditto.
4049 * libmath/Makefile.in: Ditto.
4050 * libsupc++/Makefile.in: Ditto.
4052 2001-03-24 Phil Edwards <pme@sources.redhat.com>
4054 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
4055 concept-checking code and current status of same.
4056 * docs/html/ext/howto.html: Ditto.
4057 * docs/html/faq/index.html: Ditto.
4058 * docs/html/faq/index.txt: Regenerated.
4060 2001-03-24 Phil Edwards <pme@sources.redhat.com>
4062 * include/bits/std_bitset.h: Include ostream and istream headers
4063 instead of iostream.
4065 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
4067 * include/bits/ostream.tcc: Use __builtin_alloca.
4069 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
4071 * src/misc-inst.cc (__sink_unused_warning): Move to...
4072 * src/locale-inst.cc (__sink_unused_warning): Move to...
4073 * src/stl-inst.cc: Here.
4074 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
4077 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
4079 * intclude/bits/basic_file.h: Fix typos in comments.
4081 2001-03-20 Richard Henderson <rth@redhat.com>
4083 * src/gen-num-limits.cc: Instantiate for wchar_t.
4084 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
4086 2001-03-20 Jason Merrill <jason@redhat.com>
4088 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
4089 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
4090 * libsupc++/cxxabi.h: Declare it.
4092 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
4094 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
4095 signal_func with an unspecified argument list.
4097 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
4099 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
4101 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4103 * include/bits/basic_string.tcc (operator+): Fix thinko.
4105 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
4108 * include/bits/std_streambuf.h: Remove cached locale facets.
4109 (basic_streambuf::_M_buf_fctype): Remove.
4110 (basic_streambuf::~basic_streambuf): Remove here.
4111 (basic_streambuf::basic_streambuf): Same.
4112 (basic_streambuf::imbue): Same.
4113 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
4114 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
4115 (basic_filebuf::~basic_filebuf()): Remove here.
4116 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
4117 (basic_filebuf::imbue): Same.
4118 * include/bits/localefwd.h (_Count_ones): Remove.
4119 (locale::_S_num_categories): Just use 6, since this doesn't
4120 actually change, ever.
4121 * include/bits/locale_facets.tcc (has_facet): Simplify.
4123 * testsuite/27_io/filebuf.cc (test06): Add tests.
4125 2001-03-13 Steve Ellcey <sje@cup.hp.com>
4127 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
4128 match HP-UX ctype.h header file.
4130 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
4132 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
4133 duplicate definitions of __dj_ctype_*
4135 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
4137 * libsupc++/new: Remove pragma interface.
4138 * libsupc++/typeinfo: Same.
4139 * libsupc++/exception: Same.
4140 * libsupc++/new_handler.cc: Remove pragma implementation.
4141 (bad_alloc::~bad_alloc()): Add.
4142 * libsupc++/exception_support.cc: Same.
4143 (exception::~exception): Add.
4144 (bad_exception::~bad_exception): Add.
4145 * libsupc++/tinfo.cc: Same.
4146 (bad_cast::~bad_cast): Add.
4147 (bad_typeid::~bad_typeid): Add.
4149 2001-03-13 Phil Edwards <pme@sources.redhat.com>
4151 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
4153 2001-03-12 Felix Lee <flee@redhat.com>
4155 * mkcheck.in: workaround for bash 2.01 IFS bug.
4157 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
4159 Fixups for -fno-for-scope
4160 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
4161 * src/valarray-inst.cc (__gslice_to_index): Same.
4163 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
4165 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
4166 prior to trapping signal (UnixWare 7 workaround).
4168 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
4170 * include/backward/hashtable.h: Same.
4171 * include/backward/rope.h: Fix include.
4173 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
4175 * include/backward/vector.h: Include std_vector.h.
4177 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
4178 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
4181 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4183 * include/ext/stl_hashtable.h: Change type of __n to size_t
4184 * include/backward/bvector.h: Include <ext/stl_bvector.h>
4186 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4188 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
4189 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
4190 Use streamsize, not int_type.
4192 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
4194 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
4197 2001-03-08 Andreas Schwab <schwab@suse.de>
4199 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
4201 * aclocal.m4, configure: Regenerated.
4203 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
4205 * include/bits/std_iosfwd.h: Remove string forward decls here.
4206 * include/bits/stringfwd.h: Add forward decls for char_traits
4208 * config/c_io_libio.h (wstreamoff): Delete.
4209 * config/c_io_stdio.h (wstreamoff): Same.
4210 * include/bits/char_traits.h: Use streamoff not wstreamoff for
4211 char_traits<wchar_t>::off_type.
4212 Remove duplicate typedefs.
4213 * include/bits/fpos.h: Define streampos/wstreampos here.
4214 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
4217 Changeup output files.
4218 * testsuite/27_io/istream_unformatted.cc: Change output files.
4219 * testsuite/27_io/istream_seeks-1.txt: Add.
4220 * testsuite/27_io/istream_seeks-2.tst: Add.
4221 * testsuite/27_io/istream_seeks-1.tst: Add.
4222 * testsuite/27_io/istream_unformatted-2.tst: Delete.
4223 * testsuite/27_io/istream_unformatted-3.tst: Delete.
4224 * testsuite/27_io/istream_unformatted-3.txt: Delete.
4226 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
4228 Add Irix 5.2, 6.3 support.
4229 * config/os/irix/bits: Renamed to...
4230 * config/os/irix/irix6.5/bits: this.
4231 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
4232 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
4233 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
4234 * config/os/irix/irix5.2/bits/ctype_noninline.h
4235 (ctype<char>::ctype): Initialize _M_table with __ctype.
4236 * configure.target: Adjust.
4238 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
4241 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
4242 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
4244 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
4245 (*__pf)(__ios_type&)): Same.
4246 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
4247 (*__pf)(ios_base&))): Same.
4248 * testsuite/27_io/istream_extractor_other.cc: Add tests.
4249 * testsuite/27_io/istream_manip.cc (test01): Fix.
4251 2001-03-06 Nathan Myers <ncm@cantrip.org>
4252 Benjamin Kosnik <bkoz@redhat.com>
4254 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
4255 * testsuite/17_intro/header_cerrno.cc (test01): New file.
4256 * testsuite/17_intro/header_cassert.cc (test01): New file.
4257 * testsuite/17_intro/header_cstddef.cc (test01): New file.
4258 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
4259 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
4261 2001-03-05 scott snyder <snyder@fnal.gov>
4264 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
4266 * include/c_std/bits/std_cstdlib.h: ... to here.
4267 * testsuite/17_intro/header_cstdlib.cc: Add test.
4269 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
4271 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
4273 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
4275 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
4276 definition. Replace enum with static const variables.
4278 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
4279 throw specification, fix typos, use <static_cast>.
4280 (ctype<char>::scan_is): remove throw specification.
4281 (ctype<char>::scan_not): likewise.
4283 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
4284 (ctype<char>::do_toupper(char)): use <static_cast>.
4285 (ctype<char>::do_toupper(char *, const char *)): likewise.
4286 (ctype<char>::do_tolower(char)): likewise.
4287 (ctype<char>::do_tolower(char *, const char *)): likewise.
4289 2001-03-04 Phil Edwards <pme@sources.redhat.com>
4291 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
4292 * include/backward/algo.h: Use std not __STD. Remove unneeded
4293 macros and "never happens" code. Adjust to C++STYLE guidelines.
4294 * include/backward/algobase.h: Likewise.
4295 * include/backward/alloc.h: Likewise.
4296 * include/backward/bvector.h: Likewise.
4297 * include/backward/deque.h: Likewise.
4298 * include/backward/function.h: Likewise.
4299 * include/backward/hash_map.h: Likewise.
4300 * include/backward/hash_set.h: Likewise.
4301 * include/backward/hashtable.h: Likewise.
4302 * include/backward/heap.h: Likewise.
4303 * include/backward/iterator.h: Likewise.
4304 * include/backward/list.h: Likewise.
4305 * include/backward/map.h: Likewise.
4306 * include/backward/multimap.h: Likewise.
4307 * include/backward/multiset.h: Likewise.
4308 * include/backward/pair.h: Likewise.
4309 * include/backward/rope.h: Likewise.
4310 * include/backward/set.h: Likewise.
4311 * include/backward/slist.h: Likewise.
4312 * include/backward/stack.h: Likewise.
4313 * include/backward/strstream: Likewise.
4314 * include/backward/tempbuf.h: Likewise.
4315 * include/backward/tree.h: Likewise.
4316 * include/backward/vector.h: Likewise.
4317 * include/bits/basic_ios.h: Likewise.
4318 * include/bits/basic_ios.tcc: Likewise.
4319 * include/bits/basic_string.h: Likewise.
4320 * include/bits/c++config: Likewise.
4321 * include/bits/concept_checks.h: Likewise.
4322 * include/bits/fpos.h: Likewise.
4323 * include/bits/fstream.tcc: Likewise.
4324 * include/bits/functexcept.h: Likewise.
4325 * include/bits/ios_base.h: Likewise.
4326 * include/bits/istream.tcc: Likewise.
4327 * include/bits/mask_array.h: Likewise.
4328 * include/bits/ostream.tcc: Likewise.
4329 * include/bits/pthread_allocimpl.h: Likewise.
4330 * include/bits/sbuf_iter.h: Likewise.
4331 * include/bits/slice.h: Likewise.
4332 * include/bits/slice_array.h: Likewise.
4333 * include/bits/sstream.tcc: Likewise.
4334 * include/bits/std_bitset.h: Likewise.
4335 * include/bits/std_fstream.h: Likewise.
4336 * include/bits/std_iomanip.h: Likewise.
4337 * include/bits/std_ios.h: Likewise.
4338 * include/bits/std_istream.h: Likewise.
4339 * include/bits/std_iterator.h: Likewise.
4340 * include/bits/std_memory.h: Likewise.
4341 * include/bits/std_ostream.h: Likewise.
4342 * include/bits/std_sstream.h: Likewise.
4343 * include/bits/std_streambuf.h: Likewise.
4344 * include/bits/std_string.h: Likewise.
4345 * include/bits/std_valarray.h: Likewise.
4346 * include/bits/stl_algo.h: Likewise.
4347 * include/bits/stl_algobase.h: Likewise.
4348 * include/bits/stl_alloc.h: Likewise.
4349 * include/bits/stl_construct.h: Likewise.
4350 * include/bits/stl_deque.h: Likewise.
4351 * include/bits/stl_function.h: Likewise.
4352 * include/bits/stl_heap.h: Likewise.
4353 * include/bits/stl_iterator.h: Likewise.
4354 * include/bits/stl_iterator_base.h: Likewise.
4355 * include/bits/stl_list.h: Likewise.
4356 * include/bits/stl_map.h: Likewise.
4357 * include/bits/stl_multimap.h: Likewise.
4358 * include/bits/stl_multiset.h: Likewise.
4359 * include/bits/stl_numeric.h: Likewise.
4360 * include/bits/stl_pair.h: Likewise.
4361 * include/bits/stl_pthread_alloc.h: Likewise.
4362 * include/bits/stl_queue.h: Likewise.
4363 * include/bits/stl_raw_storage_iter.h: Likewise.
4364 * include/bits/stl_relops.h: Likewise.
4365 * include/bits/stl_set.h: Likewise.
4366 * include/bits/stl_stack.h: Likewise.
4367 * include/bits/stl_tempbuf.h: Likewise.
4368 * include/bits/stl_threads.h: Likewise.
4369 * include/bits/stl_tree.h: Likewise.
4370 * include/bits/stl_uninitialized.h: Likewise.
4371 * include/bits/stl_vector.h: Likewise.
4372 * include/bits/streambuf.tcc: Likewise.
4373 * include/bits/type_traits.h: Likewise.
4374 * include/bits/valarray_meta.h: Likewise.
4375 * include/ext/bvector: Likewise.
4376 * include/ext/hash_map: Likewise.
4377 * include/ext/hash_set: Likewise.
4378 * include/ext/ropeimpl.h: Likewise.
4379 * include/ext/slist: Likewise.
4380 * include/ext/stl_bvector.h: Likewise.
4381 * include/ext/stl_hash_fun.h: Likewise.
4382 * include/ext/stl_hashtable.h: Likewise.
4383 * include/ext/stl_rope.h: Likewise.
4384 * src/complex_io.cc: Likewise.
4385 * src/ios.cc: Likewise.
4386 * src/locale-inst.cc: Likewise.
4387 * src/locale.cc: Likewise.
4388 * src/localename.cc: Likewise.
4389 * src/misc-inst.cc: Likewise.
4390 * src/stdexcept.cc: Likewise.
4391 * src/stl-inst.cc: Likewise.
4392 * src/strstream.cc: Likewise.
4393 * src/valarray-inst.cc: Likewise.
4395 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
4397 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
4399 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4401 * include/bits/istream.tcc: change type of __extracted to __size_type
4403 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
4405 * src/wstring-inst.cc: New file.
4406 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
4407 (libinst_wstring_la_SOURCES): Remove.
4408 (libstdc___la_LIBADD): Remove libinst_wstring_la.
4409 (sources): Add wstring-inst.cc
4410 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
4413 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4415 * src/locale.cc: initialise __ret with zero
4416 * src/strstream.cc:cast gptr to int_type
4418 2001-03-01 Phil Edwards <pme@sources.redhat.com>
4420 * docs/html/faq/index.html: Update broken links.
4421 * docs/html/faq/index.txt: Regenerated.
4423 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
4426 * configure.target: Change irix* to irix6.5* in target_os table.
4428 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
4431 * include/bits/c++config (__GLIBCPP__): Bump number in
4432 anticipation of 2.92.
4434 * include/bits/codecvt.h: Fix typo.
4435 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
4437 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
4438 instantiations for stdio model.
4440 2001-02-28 Phil Edwards <pme@sources.redhat.com>
4442 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
4443 and GLIBCPP_CXXFLAGS as unused variables.
4444 * configure.host: Likewise.
4445 * configure.target: Likewise.
4446 * aclocal.m4: Regenerated.
4447 * configure: Regenerated.
4448 * Makefile.in: Regenerated.
4449 * libio/Makefile.in: Regenerated.
4450 * libmath/Makefile.in: Regenerated.
4451 * libsupc++/Makefile.in: Regenerated.
4452 * src/Makefile.in: Regenerated.
4454 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
4457 * include/bits/basic_file.h: Include basic_file_model.h.
4458 * config/c_io_libio.cc: Move to...
4459 * config/basic_file_libio.cc: Here.
4460 * config/basic_file_libio.h: New file.
4461 * config/c_io_stdio.cc: Move to...
4462 * config/basic_file_stdio.cc: Here.
4463 * config/basic_file_stdio.h: New file.
4464 * config/c_io_libio.h: Tweak.
4465 * config/c_io_stdio.h: Tweak.
4466 * src/Makefile.am (build_headers): Add basic_file_model.h.
4467 (sources): Add basic_file.cc, remove c++io.cc.
4468 * src/Makefile.in: Regenerate.
4469 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
4470 basic_file_model.h and basic_file.cc.
4471 * aclocal.m4: Regenerate.
4472 * configure: Regenerate.
4473 * testsuite/27_io/filebuf.cc (test05): Add regression.
4475 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
4478 * config/cpu/alpha/bits/atomicity.h: Change.
4479 * config/cpu/arm/bits/atomicit3y.h
4480 * config/cpu/generic/bits/atomicity.h
4481 * config/cpu/i386/bits/atomicity.h
4482 * config/cpu/i486/bits/atomicity.h
4483 * config/cpu/ia64/bits/atomicity.h
4484 * config/cpu/powerpc/bits/atomicity.h
4485 * config/cpu/sparc/sparc32/bits/atomicity.h
4486 * config/cpu/sparc/sparc64/bits/atomicity.h
4487 * config/os/aix/bits/atomicity.h
4488 * config/os/irix/bits/atomicity.h
4490 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
4492 * include/bits/std_stdexcept.h (runtime_error): Make string
4494 (logic_error): Same.
4495 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
4498 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
4502 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
4503 string object, not reference.
4504 (runtime_error::runtime_error): Same.
4505 * testsuite/19_diagnostics/stdexceptions.cc: New file.
4507 2001-02-26 Phil Edwards <pme@sources.redhat.com>
4509 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
4510 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
4511 diagnostics. Remove WFMT_FLAGS.
4512 * configure.in: Replace WFMT_FLAGS with diagnostics options.
4513 * libsupc++/Makefile.am: Likewise.
4514 * src/Makefile.am: Likewise.
4515 * aclocal.m4: Regenerated.
4516 * configure: Regenerated.
4517 * Makefile.in: Regenerated.
4518 * libio/Makefile.in: Regenerated.
4519 * libmath/Makefile.in: Regenerated.
4520 * libsupc++/Makefile.in: Regenerated.
4521 * src/Makefile.in: Regenerated.
4523 2001-02-26 Phil Edwards <pme@sources.redhat.com>
4525 Fixes libstdc++/2079
4526 * include/backward/iomanip.h: Expose <ios> manipulators to global
4528 * include/backward/iostream.h: Also expose std::ws.
4530 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
4532 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
4534 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
4536 * include/bits/codecvt.h: Use __builtin_alloca.
4537 * include/bits/ostream.tcc: Same.
4538 * include/bits/fstream.tcc: Same.
4540 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
4542 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
4544 2001-02-23 David Edelsohn <dje@watson.ibm.com>
4546 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
4548 2001-02-23 Phil Edwards <pme@sources.redhat.com>
4551 * include/backward/iostream.h: Expose std::flush in old headers.
4553 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4555 * mknumeric_limits: Remove special-casing on target. Use gcc
4556 instead of g++ to build gen-num-limits.cc
4558 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
4560 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
4562 * include/bits/codecvt.h: Use alloca instead of __extension__ for
4564 * include/bits/ostream.tcc: Same.
4565 * include/bits/std_ostream.h: Same.
4566 * include/bits/fstream.tcc: Same.
4567 * include/bits/locale_facets.tcc: Add typename.
4568 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
4570 2001-02-21 Phil Edwards <pme@sources.redhat.com>
4572 * tests_flags.in: Remove -n flag from call to echo.
4574 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
4576 * config/c_locale_gnu.h: Add clocale include.
4578 2001-02-20 Phil Edwards <pme@sources.redhat.com>
4580 * include/bits/stl_config.h: Remove file.
4581 * src/Makefile.am (base_headers): Remove from list.
4582 * configure: Regenerate.
4583 * Makefile.in: Ditto.
4584 * libio/Makefile.in: Ditto.
4585 * libmath/Makefile.in: Ditto.
4586 * libsupc++/Makefile.in: Ditto.
4587 * src/Makefile.in: Ditto.
4589 * include/bits/c++config: Move relevant macros to here.
4590 * include/backward/alloc.h: Include c++config.h instead.
4591 * include/backward/function.h: Ditto.
4592 * include/backward/heap.h: Ditto.
4593 * include/backward/pair.h: Ditto.
4594 * include/bits/pthread_allocimpl.h: Ditto.
4595 * include/bits/std_functional.h: Ditto.
4596 * include/bits/std_iterator.h: Ditto.
4597 * include/bits/std_numeric.h: Ditto.
4598 * include/bits/std_utility.h: Ditto.
4599 * include/bits/stl_algobase.h: Ditto.
4600 * include/bits/type_traits.h: Ditto.
4601 * src/stl-inst.cc: Ditto.
4603 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4605 * include/bits/basic_file.h: Add #pragma system_header
4606 * include/bits/basic_ios.h: Ditto.
4607 * include/bits/basic_string.h: Ditto.
4608 * include/bits/char_traits.h: Ditto.
4609 * include/bits/codecvt.h: Ditto.
4610 * include/bits/cpp_type_traits.h: Ditto.
4611 * include/bits/fpos.h: Ditto.
4612 * include/bits/gslice.h: Ditto.
4613 * include/bits/gslice_array.h: Ditto.
4614 * include/bits/indirect_array.h: Ditto.
4615 * include/bits/ios_base.h: Ditto.
4616 * include/bits/limits_generic.h: Ditto.
4617 * include/bits/locale_facets.h: Ditto.
4618 * include/bits/localefwd.h: Ditto.
4619 * include/bits/mask_array.h: Ditto.
4620 * include/bits/sbuf_iter.h: Ditto.
4621 * include/bits/sequence_concepts.h: Ditto.
4622 * include/bits/slice.h: Ditto.
4623 * include/bits/slice_array.h: Ditto.
4624 * include/bits/std_algorithm.h: Likewise.
4625 * include/bits/std_bitset.h: Likewise.
4626 * include/bits/std_complex.h: Likewise.
4627 * include/bits/std_deque.h: Likewise.
4628 * include/bits/std_fstream.h: Likewise.
4629 * include/bits/std_functional.h: Likewise.
4630 * include/bits/std_iomanip.h: Likewise.
4631 * include/bits/std_ios.h: Likewise.
4632 * include/bits/std_iosfwd.h: Likewise.
4633 * include/bits/std_iostream.h: Likewise.
4634 * include/bits/std_istream.h: Likewise.
4635 * include/bits/std_iterator.h: Likewise.
4636 * include/bits/std_list.h: Likewise.
4637 * include/bits/std_locale.h: Likewise.
4638 * include/bits/std_map.h: Likewise.
4639 * include/bits/std_memory.h: Likewise.
4640 * include/bits/std_numeric.h: Likewise.
4641 * include/bits/std_ostream.h: Likewise.
4642 * include/bits/std_queue.h: Likewise.
4643 * include/bits/std_set.h: Likewise.
4644 * include/bits/std_sstream.h: Likewise.
4645 * include/bits/std_stack.h: Likewise.
4646 * include/bits/std_stdexcept.h: Likewise.
4647 * include/bits/std_streambuf.h: Likewise.
4648 * include/bits/std_string.h: Likewise.
4649 * include/bits/std_utility.h: Likewise.
4650 * include/bits/std_valarray.h: Likewise.
4651 * include/bits/std_vector.h: Likewise.
4652 * include/bits/stringfwd.h: Likewise.
4653 * include/bits/type_traits.h: Likewise.
4654 * include/bits/valarray_array.h: Likewise.
4655 * include/bits/valarray_meta.h: Likewise.
4657 2001-02-19 Andreas Jaeger <aj@suse.de>
4659 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
4662 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
4665 * include/bits/std_ostream.h: Replaced usage of
4666 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
4667 * include/bits/char_traits.h: Removed non-standard
4668 methods that cannot be used elsewhere.
4671 * include/bits/basic_ios.h: Uncommented #include of
4675 * include/bits/codecvt.h: See next...
4676 * include/bits/fstream.tcc: See next...
4677 * include/bits/ostream.tcc: Add __extension__
4678 to variable-length arrays.
4681 * include/bits/localefwd.h: Changed int counter type to size_t.
4684 * include/bits/std_fstream.h: Added typedef for __ctype_type.
4686 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
4688 * testsuite/21_strings/char_traits.cc: Move to ...
4689 * testsuite/21_strings/char_traits_requirements.cc: ..here.
4690 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
4691 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
4693 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
4695 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
4698 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
4700 * include/bits/c++config: Revert.
4702 2001-02-15 Mark Mitchell <mark@codesourcery.com>
4704 * include/bits/istream.tcc: Use ios_base::iostate in place of
4705 iostate throughout. Insert `typename' keyword where necessary.
4706 * include/bits/ostream.tcc: Insert `typename' keyword where
4709 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
4711 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
4712 Define so library is compliant.
4714 2001-02-15 Anthony Green <green@redhat.com>
4716 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
4718 * aclocal.m4: Regenerate.
4719 * configure: Regenerate.
4721 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
4723 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
4724 Include ieeefp.h for fpclass on UnixWare{2,7}.
4725 * aclocal.m4: Regenerate.
4726 * configure: Regenerate.
4727 * mkcheck.in (size_command): Do without GNU-grep when using
4730 2001-02-15 Mark Mitchell <mark@codesourcery.com>
4732 Remove old ABI support from libsupc++.
4733 * libsupc++/cxxabi.h: Remove conditionally compiled code.
4734 * libsupc++/exception_support.cc: Likewise.
4735 * libsupc++/pure.cc: Likewise.
4736 * libsupc++/tinfo.cc: Likewise.
4737 * libsupc++/tinfo.h: Likewise.
4738 * libsupc++/tinfo2.cc: Likewise.
4739 * libsupc++/typeinfo: Likewise.
4740 * libsupc++/vec.cc: Likewise.
4742 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
4744 Add support for -fno-exceptions.
4745 * include/bits/exception_support.h: Remove.
4746 * include/bits/basic_string.h: Remove exception_support.
4747 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
4749 (string::substr): Same.
4750 * include/bits/basic_string.tcc (string::reserve): Replace
4751 __LENGTHERROR with __throw_length_error.
4752 (string::_S_create): Same.
4753 (string::resize): Same.
4754 (string::_M_replace): Same.
4755 (string::replace): Same.
4756 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
4757 (string::compare): Same.
4758 * include/bits/stl_vector.h: Remove exception_support.
4759 * src/Makefile.am (base_headers): Remove here.
4760 * src/Makefile.in: Regenerate.
4762 * include/bits/stl_range_errors.h: Remove.
4763 * include/bits/stl_deque.h: Use __throw_range_error.
4764 * include/bits/std_deque.h: Include functexcept.h.
4765 * include/bits/std_vector.h: Same.
4766 * src/Makefile.am (base_headers): Remove here.
4767 * src/Makefile.in: Regenerate.
4768 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
4769 * include/ext/bvector: Remove stl_range_errors.h
4771 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
4773 * include/bits/functexcept.h: New file.
4774 * src/functexcept.cc: New file. Definitions for function-based
4776 * src/Makefile.am (sources): Add functexcept.cc.
4777 * src/Makefile.in: Regenerate.
4779 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
4782 * include/bits/localefwd.h: Include functexcept.h.
4783 * include/bits/std_iosfwd.h: Same.
4785 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
4786 throw basic_ios::failure.
4787 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
4788 Use __throw_exception_again.
4789 (filebuf::_M_filebuf_init): Same.
4790 * include/bits/streambuf.tcc (__copy_streambufs): Same.
4791 * include/bits/ostream.tcc (ostream::operator<<): Same.
4792 * include/bits/istream.tcc (istream::operator>>): Same.
4793 * include/bits/basic_string.tcc (string::_M_mutate): Same.
4794 (string::_S_construct): Same.
4795 (string::_M_clone): Same.
4796 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
4798 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
4799 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
4800 __throw_exception_again.
4801 (locale::_Imp::_Imp(string, size_t): Same.
4802 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
4803 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
4804 (locale::locale(const char*)): Use __throw_runtime_error.
4805 (locale::classic): Use __throw_exception_again.
4806 (locale::_S_normalize_category): Use __throw_runtime_error.
4808 * src/stdexcept.cc: Remove cruft.
4810 * libsupc++/exception_defines.h: New file.
4811 * libsupc++/new_opnt.cc: Include exception_defines.h.
4812 * libsupc++/vec.cc: Same.
4813 (__cxa_vec_new2): Use __throw_exception_again.
4814 (__cxa_vec_new3): Same.
4815 (__cxa_vec_ctor): Same.
4816 (__cxa_vec_delete3): Same.
4817 (__cxa_vec_cctor): Same.
4818 (__cxa_vec_delete2): Same.
4819 (__cxa_vec_dtor): Same.
4820 * libsupc++/exception_support.cc: Include exception_defines.h. Only
4821 compile exception-handling bits if __EXCEPTIONS is defined.
4822 Remove old ABI support.
4823 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
4824 std::__throw_bad_alloc() instead of throw bad_alloc.
4825 * libsupc++/Makefile.am: Add exception_defines.h.
4826 * libsupc++/Makefile.in: Reformat.
4827 * libsupc++/*: Format.
4829 2001-02-15 Phil Edwards <pme@sources.redhat.com>
4831 * docs/html/configopts.html: Minor updates and typo fixes.
4832 * docs/html/faq/index.html: Updates of the "not really bugs" list.
4833 * docs/html/faq/index.txt: Regenerated.
4835 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
4837 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
4838 dejagnu/dg.exp. Adapt to log options used to run testcases.
4840 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4842 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
4845 2001-02-13 Dirk Mueller <dmuell@gmx.net>
4846 Phil Edwards <pme@sources.redhat.com>
4848 * include/backward/function.h: Do not use rel_ops for older
4850 * include/backward/pair.h: Likewise.
4852 2001-02-12 Mark Mitchell <mark@codesourcery.com>
4854 * src/locale.cc: Remove bogus locale::id definitions.
4856 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4858 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
4859 not _DEFINE_VALARRAY_OPERATOR which is not existent.
4861 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
4862 thinko in member initialisation.
4864 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
4866 * include/bits/std_valarray.h(valarray<>::shift): Avoid
4867 comparaison between signed and unsigned integer types.
4868 (valarray<>::cshift): Reformat.
4870 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
4872 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
4873 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
4874 * configure.in: Test for sigsetjmp.
4875 * configure, config.h.in: Rebuilt.
4877 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
4879 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
4880 lengths and strides.
4881 (__gslice_to_index): Document.
4883 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
4885 * include/bits/char_traits.h char_traits<char>::int_type: Change
4886 to `int' to match 21.1.3.1/2.
4888 * testsuite/21_strings/char_traits-int_type.C: New test.
4890 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
4892 * testsuite/Makefile.am: New file.
4894 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
4896 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
4898 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
4900 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
4902 2001-02-08 David Edelsohn <edelsohn@gnu.org>
4904 * configure.target (aix4*): Remove extra set of brackets.
4906 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
4909 * include/bits/stringfwd.h: New file.
4910 * include/bits/stl_string_fwd.h: Remove.
4911 * include/bits/localefwd.h: Remove declaration for allocator.
4912 * include/bits/std_iosfwd: Same.
4913 * include/bits/std_string.h: Include it.
4914 * include/bits/std_ios.h: Remove include.
4915 * include/bits/basic_string.h: Tweak.
4916 * libsupc++/new: Format.
4917 * src/Makefile.am (base_headers): Add stringfwd.h, remove
4919 * src/Makefile.in: Regenerate.
4920 * include/bits/std_stdexcept.h: Rewrite.
4921 * src/stdexcept.cc: Same.
4923 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
4925 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
4926 install locations too.
4927 * aclocal.m4: Regenerate.
4928 * configure.in: Remove USE_LIBDIR.
4929 * configure: Regenerate.
4930 * src/Makefile.am (toolexecdir): Simplify, use
4931 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
4932 * src/Makefile.in: Regenerate.
4933 * libsupc++/Makefile.am: Same.
4934 * libsupc++/Makefile.in: Regenerate.
4936 * src/Makefile.am: Just remove special rules for locale-inst.cc and
4937 misc-inst.cc as no longer necessary.
4939 Follow C++STYLE for naming non-static functions.
4940 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
4942 * include/bits/streambuf.tcc: Same.
4943 * include/bits/ostream.tcc: Same.
4944 * include/bits/istream.tcc: Same.
4945 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
4946 (_S_output_float): To __output_float.
4947 * include/bits/std_streambuf.h (_S_copy_streambufs): To
4949 * include/bits/locale_facets.tcc (_S_build_float_format): To
4950 __build_float_format.
4951 (_S_format): To __output_integer.
4952 (_S_fill): To __pad.
4953 * src/locale.cc: Same.
4954 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
4956 * include/bits/locale_facets.tcc (_S_group_digits): To
4958 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
4959 for collate, numpunct.
4961 2001-02-06 Phil Edwards <pme@sources.redhat.com>
4963 * docs/html/configopts.html: Fix HTML markup.
4964 * docs/html/install.html: Bring up to date.
4965 * docs/html/17_intro/C++STYLE: Add global variable conventions.
4966 * docs/html/21_strings/howto.html: More notes.
4967 * docs/html/22_locale/howto.html: Fix HTML markup.
4968 * docs/html/27_io/howto.html: More notes.
4969 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
4970 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
4972 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
4974 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
4975 to match header files.
4976 (_S_output_float): Likewise.
4977 (_S_copy_streambufs): Likewise.
4979 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
4980 Phil Edwards <pme@sources.redhat.com>
4982 * include/bits/std_istream.h (op>> signed,unsigned char): Must
4983 use reinterpret_cast, not static_cast.
4985 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
4987 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
4988 * aclocal.m4: Regenerate.
4989 * configure: Regenerate.
4991 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
4993 * include/bits/locale_facets.h (class moneypunct): Fix typos.
4994 * libsupc++/pure.cc: Revert.
4996 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
4998 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
4999 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
5000 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
5001 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
5002 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
5003 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
5004 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
5005 * aclocal.m4: Regenerate.
5006 * configure: Regenerate.
5008 2001-02-05 Mark Mitchell <mark@codesourcery.com>
5010 * include/bits/locale_facets.tcc: Remove `static' keyword on
5011 function definitions.
5012 * include/bits/std_streambuf.h: Likewise.
5013 * src/Makefile.am: Remove use of -fimplicit-templates.
5014 * src/Makefile.in: Regenerated.
5015 * src/locale-inst.cc: Explicitly instantiate more functions.
5016 * src/misc-inst.cc: Likewise.
5017 * src/string-inst.cc: Likewise.
5019 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
5021 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
5022 macro. Consolidate all the bits to do with where includes might be
5024 * aclocal.m4: Regenerate.
5025 * configure.in: Use it.
5026 * configure: Regenerate.
5027 * src/Makefile.am (targetincludep): Use simplified rules.
5028 (targetincludep): Rename gxx_target_include_dir.
5029 (myincludep): Rename gxx_include_dir.
5030 * src/Makefile.in: Regenerate.
5031 * libsupc++/Makefile.am: Use simplified rules.
5032 * libsupc++/Makefile.in: Regenerate.
5034 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
5036 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
5037 * include/c_std/bits/std_cctype.h: Same.
5038 * include/c_std/bits/std_cassert.h: Same.
5039 * include/c_std/bits/std_cstdarg.h: Same.
5040 * include/c_std/bits/std_cstddef.h: Same.
5042 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
5044 * include/c_std/bits/std_ctime.h: Same.
5045 * include/c_std/bits/std_clocale.h: Same.
5046 * include/c_std/bits/std_cmath.h: Same.
5047 * include/c_std/bits/std_csetjmp.h: Same.
5048 * include/c_std/bits/std_csignal.h: Same.
5049 * include/c_std/bits/std_cstring.h: Same.
5050 * include/c_std/bits/std_cstdlib.h: Same.
5051 * include/c_std/bits/std_cwchar.h: Same.
5053 2001-02-05 Phil Edwards <pme@sources.redhat.com>
5055 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
5057 2001-02-05 Mark Mitchell <mark@codesourcery.com>
5059 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
5060 (string::_S_construct): Likewise.
5062 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
5064 * testsuite/config/default.exp: New file.
5065 * testsuite/config: New directory.
5067 2001-02-04 Mark Mitchell <mark@codesourcery.com>
5069 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
5070 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
5071 whenever !__GXX_MERGED_TYPEINFO_NAMES.
5072 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
5074 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
5075 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
5077 * Makefile.am (mkinstalldirs): Set.
5078 * src/Makefile.am (mkinstalldirs): Set.
5079 * libmath/Makefile.am (mkinstalldirs): Set.
5080 * libsup++/Makefile.am (mkinstalldirs): Set.
5081 * libio/Makefile.am (mkinstalldirs): Set.
5082 * */Makefile.in: Regenerate.
5084 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
5086 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
5087 * include/bits/localefwd.h: More initialization cleanups.
5089 2001-02-03 Jeffrey A Law <law@cygnus.com>
5091 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
5092 correctly targets with 16bit ints.
5093 (_S_ios_openmode_end): Similarly.
5094 (_S_ios_iostate_end): Similarly.
5095 (_S_ios_Seekdir_end): Similarly.
5097 2001-02-02 Phil Edwards <pme@sources.redhat.com>
5099 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
5101 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
5103 * configure.in (toplevel_srcdir, auxdir): Set.
5104 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
5105 * aclocal.m4, configure, Makefile.in: Rebuilt.
5106 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
5107 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
5108 * libsupc++-v3/Makefile.in: Rebuilt.
5109 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
5110 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
5112 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
5114 * config/c_locale_generic.cc: Remove langinfo include.
5116 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
5118 Preliminary named locales.
5119 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
5120 * aclocal.m4: Regenerate.
5121 * configure.in: Use it.
5122 * configure: Regerate.
5123 * src/Makefile.am (sources): Add c++locale.cc.
5124 (build_headers): Add c++locale.h.
5125 * src/Makefile.in: Regenerate.
5126 * config/c_locale_gnu.h: New file.
5127 * config/c_locale_gnu.cc: New file. Non-inline member functions
5128 for named locales, gnu-specific.
5129 * config/c_locale_generic.h: New file.
5130 * config/c_locale_generic.cc: New file. Non-inline member
5131 functions for named locales, generic version.
5132 * docs/html/configopts.html: Add documentation on new options.
5134 * include/bits/locale_facets.h (class _Messages): Remove.
5135 (class _Moneypunct): Remove.
5136 * src/locale-inst.cc: Remove.
5138 * include/bits/locale_facets.h (class _Collate): Remove.
5139 * src/locale-inst.cc (std): Remove.
5140 * src/locale.cc: And here.
5142 * include/bits/localefwd.h (locale::_M_coalesce): New
5143 function. Correctly put together multi-name locales.
5144 (_Impl(const _Impl&, category, size_t)): Remove.
5146 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
5148 (_M_normalize_category_names): Remove.
5149 (_M_replace_categories): Fix.
5151 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
5152 (locale::_Impl::_M_construct_ctype): Remove.
5153 (locale::_Impl::_M_construct_monetary): Remove.
5154 (locale::_Impl::_M_construct_numeric): Remove.
5155 (locale::_Impl::_M_construct_time): Remove.
5156 (locale::_Impl::_M_construct_messages): Remove.
5158 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
5159 (_Use_facet_failure_handle): Remove.
5160 * src/locale.cc: Remove definitions.
5161 * src/locale-inst.cc: And here.
5163 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
5165 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
5166 create and error-check underlying locale object.
5167 (locale::facet::_S_destroy_c_locale): Add, take care of properly
5168 tearing down underlying locale object.
5169 * include/bits/localefwd.h (locale::facet): Declare.
5170 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
5171 correctness, as glibc apparently has incorrect info in it. Test
5172 with it when it works again.....
5174 * include/bits/localefwd.h (locale::_Impl::__vec_string):
5175 Remove. Number of categories is fixed at six, so just simplify and
5176 make this an array of strings.
5177 (locale::_Impl::_M_has_name): Remove.
5178 (locale::_Impl::_M_name): Remove.
5179 (locale::_Impl::_M_category_names): Turns into...
5180 (locale::_Impl::_M_names): ...this.
5181 (locale::_Impl::_M_has_same_name()): New function.
5182 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
5183 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
5185 * src/locale.cc (locale::name()): Construct mangled name
5186 accurately reflecting combined locale categories.
5188 * src/locale.cc (locale::classic()): Don't initialize here.
5189 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
5190 __refs, bool __has_name, string __str): Do it here.
5192 * include/bits/localefwd.h: _S_categories_num to
5193 _S_num_categories. _S_facets_num to _S_num_facets.
5194 (locale::id::id()): Explicitly set _M_index to zero.
5195 * src/locale.cc: Same.
5197 * src/locale.cc: (locale::locale(const char*)): Construct named
5200 * src/locale.cc: Remove numpunct_byname ctors.
5201 * testsuite/22_locale/numpunct_byname.cc: New file.
5202 * testsuite/22_locale/numpunct.cc: New file.
5204 * include/bits/localefwd.h (class locale): Change data members to
5205 protected, from private.
5206 (_Impl::_M_get_c_locale): Add member function.
5207 (locale::facet::_M_get_global_impl()): Add member function.
5208 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
5209 a __c_locale pointer.
5210 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
5212 * testsuite/22_locale/members.cc: New file, test name and combine.
5214 * include/bits/locale_facets.h (class numpunct): Remove class
5215 _Punct and _Numpunct. Rewrite class numpunct to be correct for
5217 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
5218 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
5219 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
5220 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
5221 * testsuite/22_locale/numpunct_char_members.cc: New file.
5223 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
5225 * testsuite/README: Add more comment.
5226 * testsuite/lib/libstdc++.exp: Tweak comment.
5228 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
5230 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
5232 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
5234 * testsuite/21_strings/inserters_extractors.cc: Remove
5235 explicit reference to 'testsuite/'.
5237 2001-01-25 Richard Henderson <rth@redhat.com>
5239 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
5240 bits. Fixes Tru64 build issues.
5242 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
5244 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
5245 (use ${MAKE-make}, not ${MAKE:-make}).
5246 * aclocal.m4, configure: Regenerate.
5248 2001-01-25 Mark Mitchell <mark@codesourcery.com>
5250 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
5253 * src/Makefile.am (sources): Add globals.cc.
5254 * src/Makefile.in: Regenerated.
5255 * src/globals.cc: New file.
5256 * src/ios.cc (cin): Don't define here, just declare extern.
5265 2001-01-25 Phil Edwards <pme@sources.redhat.com>
5267 * include/bits/std_iterator.h: Do not include stl_relops.h.
5268 * include/bits/std_numeric.h: Ditto.
5269 * include/bits/stl_algobase.h: Ditto.
5270 * include/bits/stl_relops.h: Add comment warning about problems.
5272 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
5274 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
5275 in testcases. Prepare for the DejaGnu based framework.
5276 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
5277 directory -- it is now mkcheck working directory.
5278 * tests_flags.in: Remove reference to $(top_srcdir). Use
5280 * Makefile.am (check, check-install): Change mkcheck invocation
5282 * Makefile.in: Regenerate.
5284 2001-01-24 Mark Mitchell <mark@codesourcery.com>
5286 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
5287 (__always_swap): Likewise.
5289 2001-01-23 Chris Demetriou <cgd@broadcom.com>
5291 * libsupc++/exception_support.cc (__terminate_func): Remove
5293 (__terminate_func_ptr): New typedef.
5294 (__terminate, __terminate_set_func): New extern function
5296 (std::terminate): Use __terminate function.
5297 (std::set_terminate): Use __terminate_set_func function.
5299 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
5301 * configure.target: Just use os_include_dir always.
5302 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
5303 Link atomicity files and ctype files here.
5304 * configure: Regenerate.
5305 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
5306 (GLIBCPP_ENABLE_ATOMICITY): Remove.
5307 * aclocal.m4: Regenerate.
5309 2001-01-23 Chris Demetriou <cgd@broadcom.com>
5311 * configure.in: Place definition of MULTISUBDIR in
5312 libsupc++/Makefile as is done for src/Makefile.
5313 * configure: Regenerate.
5315 2001-01-23 Phil Edwards <pme@sources.redhat.com>
5317 * acinclude.m4: Cosmetic changes only.
5318 * aclocal.m4: Regenerated.
5319 * configure: Regenerated.
5320 * configure.target: Update documented list of changed variables.
5321 * docs/html/install.html: Fix typo.
5322 * docs/html/20_util/howto.html: More notes on auto_ptr.
5323 * docs/html/27_io/howto.html: More notes on streabufs.
5324 * docs/html/faq/index.html: Add rel_ops problem and mention the
5325 DEC as(1) .subsection difficulty.
5326 * docs/html/faq/index.txt: Regenerated.
5328 2001-01-23 Mark Mitchell <mark@codesourcery.com>
5330 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
5331 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
5332 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
5333 its already provided in config.target.
5334 * aclocal.m4: Regenerated.
5335 * configure: Likewise.
5336 * configure.target: Set ctype_include_dir for lots of systems.
5337 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
5338 * libsupc++/Makefile.in: Regenerated.
5340 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
5342 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
5345 * testsuite/README: Add comment.
5347 2001-01-21 Phil Edwards <pme@sources.redhat.com>
5349 * docs/html/configopts.html: Update for current status. Fix HTML.
5350 * docs/html/install.html: Update for current status.
5352 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5354 * testsuite/libstdc++.tests/tests.exp: New file.
5355 * testsuite/lib/libstdc++.exp: Itou.
5356 * testsuite/README: Itou.
5358 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
5360 * tests_flags.in: Just output the bare minimum to run tests.
5361 Let's the caller do its own arrangement.
5363 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
5366 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
5368 * testsuite/17_intro: Prepare testcases for new style DejaGnu
5371 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
5373 * testsuite/libstdc++.tests, testsuite/lib: New directories.
5375 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
5377 * mkcheck.in: Construct file names that match $objdir structure.
5378 * testsuite/27_io/filebuf_members-1.txt: New file.
5379 * testsuite/27_io/ifstream_members-1.txt: New file.
5380 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
5382 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
5383 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
5385 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5387 * testsuite/27_io/istream_sentry.cc (test02): Fix.
5389 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
5392 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
5393 * src/ios.cc (ios_base::failure): Make definitions match.
5394 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
5395 (class bad_cast): Same.
5396 * libsupc++/exception (class exception): Add throw specs.
5397 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
5398 (set_unexpected): Same.
5399 (uncaught_exception): Same.
5402 * docs/html/17_intro/C++STYLE (classname): Fix.
5404 2001-01-16 Mark Mitchell <mark@codesourcery.com>
5406 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
5407 Use it do explicitly instantiate predicate<T> and value<T> for
5410 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
5412 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
5413 uninitialized thinko in last change.
5415 2001-01-16 Mark Mitchell <mark@codesourcery.com>
5417 * libsupc++/exception_support.cc (__cp_pop_exception): Change
5420 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
5422 * docs/html/17_intro/C++STYLE (classname): Add more existing
5423 and stylish patterns.
5426 * include/bits/istream.tcc (istream::sentry::sentry()): Set
5427 failbit if the state of the stream is not good.
5428 * testsuite/27_io/istream_sentry.cc (test02): Add test.
5429 * testsuite/27_io/istream_manip.cc (test01): Modify.
5432 reported by Paolo Carlini <pcarlini@unitus.it>
5433 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
5434 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
5437 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
5438 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
5439 (xsgetn): Same. Simplify.
5440 * testsuite/27_io/streambuf.cc (test04): Add testcases.
5442 reported by Larry Evans <jcampbell3@prodigy.net>
5443 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
5444 equality with eof on returned value from overflow.
5446 2001-01-14 Andreas Jaeger <aj@suse.de>
5448 * libio/libio.h: Add test for glibc 2.0.
5450 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
5452 * config/os/djgpp/bits/*: Fix dates.
5454 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
5455 _CharT* __end, _CharT __c): Remove.
5456 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
5457 * include/bits/char_traits.h: Tweak.
5459 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
5461 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
5462 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
5464 * aclocal.m4: regenerated.
5465 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
5466 * configure: regenerated.
5467 * config/os/djgpp, config/os/djgpp/bits: new directories.
5468 * config/os/djgpp/bits/ctype_base.h,
5469 config/os/djgpp/bits/ctype_inline.h,
5470 config/os/djgpp/bits/ctype_noninline.h,
5471 config/os/djgpp/bits/os_defines.h: new files.
5473 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
5475 * include/c_std/bits/std_cstdio.h: Undef printf.
5477 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
5479 * src/ios.cc: Fix typo: change cout->wcout.
5481 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
5482 * src/Makefile.in: Regenerate.
5484 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5486 * include/bits/std_complex.h: Fix a typo.
5488 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
5491 Fixes for libstdc++/1576
5492 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
5493 file, move contents into....
5494 * src/ios.cc: ...Here. Put defines for iostreams objects and
5495 initialization routines into one file to simplify DSO interaction.
5496 * include/bits/std_iostream.h: Touch.
5497 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
5498 * src/Makefile.am (sources): Remove stdstreams.cc.
5499 * src/Makefile.in: Regenerate.
5501 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5503 * tests_flags.in (check_directory): Fix typo.
5505 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5507 * include/bits/std_complex.h: Fix a typo.
5509 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
5511 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
5512 code path:) Remove magic constants and restructure to handle
5513 ctype.h bit mask layout changes more gracefully. (Make fast
5514 code path:) Use __maskrune (), if available.
5515 (is): Remove special case for digit and xdigit masks.
5517 2001-01-09 Robert Lipe <robertlipe@usa.net>
5519 * include/c_std/bits/std_ctime.h: Undefine difftime.
5521 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
5523 * src/gen-num-limits.cc (signal_adapter): New template function.
5524 (signal_handler): Use it, instead of signal.
5525 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
5526 require both tests to trap to set trap_flag.
5528 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
5530 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
5531 initialize mbstate_t member, name offset data members *off, not pos.
5532 * include/bits/fstream.tcc (filebuf::filebuf): Same.
5534 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
5536 reported by Chris G. Demetriou <cgd@sibyte.com>
5537 * configure.in: Change -linux-* to -linux*.
5538 * configure: Regenerate.
5540 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
5542 Fix 27_io/filebuf_members.cc
5543 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
5544 const string& __name, category __cat, size_t __refs): Set
5545 _M_has_name with _M_name.
5546 * include/bits/localefwd.h (locale::operator!=): Protect member
5547 function call with this->.
5548 * src/locale.cc (locale::operator==): Make fast checks first.
5549 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
5551 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
5553 * src/ios.cc (ios_base::Init::Init): Initialize here.
5554 (ios_base::sync_with_stdio): Set here.
5556 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
5558 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
5559 systems that support it, call dup() before fdopen().
5561 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
5563 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
5564 * testsuite/17_intro/header_cwctype.cc (main): New file.
5566 * src/Makefile.am (base_headers): Change.
5567 * include/bits/std_string.h: And here.
5568 * include/bits/string.tcc: Tweaks, move to...
5569 * include/bits/basic_string.tcc: ...Here.
5570 * src/string-inst.cc: Simplify, just instantiate the whole class,
5571 not member-by-member.
5573 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
5575 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
5576 * aclocal.m4: Regenerate.
5577 * configure: Regenerate.
5579 * include/bits/c++config (__GLIBCPP__): Bump version number.
5581 * ChangeLog: Start new log for year 2001
5582 * ChangeLog-2000: New file.
5584 * docs/html/configopts.html: Make sure default values are current,
5587 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
5589 * include/c_std/bits/std_cwchar.h: Same.
5590 * testsuite/17_intro/header_cwchar.cc: Same.
5591 * include/c_std/bits/std_ctime.h: Same.
5592 * testsuite/17_intro/header_ctime.cc: Same.
5593 * include/c_std/bits/std_cstdlib.h: Same.
5594 Clean up undefs, make consistent with cwchar and cmath, etc.
5595 * testsuite/17_intro/header_cstdlib.cc: Same.
5596 * include/c_std/bits/std_cstdio.h: Same here.
5597 * testsuite/17_intro/header_cstring.cc: Same.
5598 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
5599 * testsuite/17_intro/header_cstring.cc: New file. Check for
5600 size_t in namespace std.
5602 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
5603 * acconfig.h (HAVE_MBSTATE_T): Add.
5604 * config.h.in: Regenerate.
5605 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
5607 * aclocal.m4: Regenerate.
5608 * configure: Regenerate.
5609 * testsuite/17_intro/headers_c++.cc: New file.
5610 * testsuite/17_intro/headers_c.cc: Small changes.
5612 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
5614 * tests_flags.in: Fix typo in usage.
5616 * tests_flags.in: Set target specific LIBS for cygwin.