1 2001-12-11 Phil Edwards <pme@gcc.gnu.org>
3 * testsuite/ext/allocators.cc: New file.
5 2001-12-11 Jason Merrill <jason@redhat.com>
7 * include/bits/locale_facets.tcc (_M_extract_int): Avoid
10 2001-12-11 Loren Rittle <ljrittle@acm.org>
12 * config/cpu/sparc/sparc32/bits/atomicity.h
13 (__Atomicity_lock<0>::_S_atomicity_lock): Add.
15 2001-12-10 Paolo Carlini <pcarlini@unitus.it>
17 * include/bits/basic_string.tcc (_M_replace_safe): Fix typos.
18 * include/bits/basic_string.h: Fix typos.
20 2001-12-10 Paolo Carlini <pcarlini@unitus.it>
21 Nathan Myers <ncm@cantrip.org>
23 * include/bits/basic_string.tcc (_M_replace_safe): New function.
24 (_M_replace(input_iterator_tag), append members): Use it.
25 (_M_replace(forward_iterator_tag)): Remove.
26 * include/bits/basic_string.h: Adjust declarations.
27 * src/string-inst.cc: Adjust declarations.
29 2001-12-09 Benjamin Kosnik <bkoz@redhat.com>
30 Philip Martin <pmartin@uklinux.net>
32 * include/bits/locale_facets.h (__num_base::_S_scale_hex): Add.
33 (__num_base::_S_scale_oct): Add.
34 * include/bits/locale_facets.tcc (_M_extract_int): Use them.
35 * src/locale.cc: Add definitions.
36 * testsuite/27_io/istream_extractor_arith.cc (main): Call test13.
38 * testsuite/testsuite_hooks.h: Remove duplicate VERIFY define.
40 2001-12-07 Nathan Myers <ncm@cantrip.org>
41 Loren Rittle <ljrittle@acm.org>
44 * config/cpu/sparc/sparc32/bits/atomicity.h
45 (struct __Atomicity_lock<__inst>): Add.
46 (__Atomicity_lock<__inst>::_S_atomicity_lock): Add.
47 (__exchange_and_add): Use __Atomicity_lock<0>::_S_atomicity_lock
48 instead of lock local to static function.
49 (__atomic_add): Likewise.
51 2001-12-07 Phil Edwards <pme@gcc.gnu.org>
53 * src/globals.cc: Remove __GTHREADS guard.
55 2001-12-07 Paolo Carlini <pcarlini@unitus.it>
57 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
58 Extend comment, reduce __cs_size for non-fixed outputs.
60 2001-12-07 Paolo Carlini <pcarlini@unitus.it>
62 * include/bits/basic_string.tcc (_M_mutate): Fix typo
63 in the previous check in.
65 2001-12-06 Paolo Carlini <pcarlini@unitus.it>
66 Loren J. Rittle <ljrittle@acm.org>
68 * include/bits/basic_string.tcc (_M_mutate, _M_clone): Implement
69 exponential growth policy to meet linear amortized time
70 requirements of the standard.
71 (_S_create): Adjust comment.
73 2001-12-06 Benjamin Kosnik <bkoz@redhat.com>
76 * include/bits/locale_facets.tcc (num_put): Clean.
77 (num_get::_M_extract_float): Change argument to string.
78 (num_get::do_get(float)): Fixup.
79 (num_get::do_get(double)): Same.
80 (num_get::do_get(long double)): Same.
81 (num_get::_M_extract_int): Add maximum length parameter, __max.
82 (num_get::_M_extract_float): Correct zeros, use string.
83 * include/bits/locale_facets.h (num_get::_M_extract_float): Change
85 * src/locale.cc (__num_base::_S_atoms): Remove x, X.
86 * testsuite/27_io/istream_extractor_arith.cc (test13): Add.
88 2001-12-06 Philip Martin <pmartin@uklinux.net>
90 * testsuite/27_io/istream_extractor_arith.cc (test12): Add
91 tests for excess input digits.
93 2001-12-06 Phil Edwards <pme@gcc.gnu.org>
95 * include/bits/std_bitset.h: Use GLIBCPP in multiple-inclusion guard.
96 * include/bits/stl_algo.h: Likewise.
97 * include/bits/stl_algobase.h: Likewise.
98 * include/bits/stl_bvector.h: Likewise.
99 * include/bits/stl_deque.h: Likewise.
100 * include/bits/stl_function.h: Likewise.
101 * include/bits/stl_iterator.h: Likewise.
102 * include/bits/stl_iterator_base_funcs.h: Likewise.
103 * include/bits/stl_iterator_base_types.h: Likewise.
104 * include/bits/stl_list.h: Likewise.
105 * include/bits/stl_multimap.h: Likewise.
106 * include/bits/stl_multiset.h: Likewise.
107 * include/bits/stl_pair.h: Likewise.
108 * include/bits/stl_queue.h: Likewise.
109 * include/bits/stl_set.h: Likewise.
110 * include/bits/stl_stack.h: Likewise.
111 * include/bits/stl_tempbuf.h: Likewise.
112 * include/bits/stl_tree.h: Likewise.
113 * include/bits/stl_vector.h: Likewise.
115 * include/bits/stl_alloc.h: Use our own multiple inclusion guards.
116 Doxygenate more comments. Correct historical artifacts in comments.
117 (alloc, single_alloc): Uglify non-standard names.
118 (__default_alloc_template::_NFREELISTS): Calculate from other
120 (__default_alloc_template::_S_free_list): Remove SunPro workaround.
121 (__default_alloc_template::_Lock): Mark as "unused".
122 * include/backward/alloc.h: Update.
123 * include/bits/stl_bvector.h: Likewise.
124 * include/ext/ropeimpl.h: Likewise.
125 * include/ext/stl_hashtable.h: Likewise.
127 2001-12-05 Benjamin Kosnik <bkoz@redhat.com>
130 * include/bits/locale_facets.tcc (num_put::_M_widen_float): Add
131 grouping to floating point types.
132 * testsuite/27_io/ostream_inserter_arith.cc (test02): Add test.
134 2001-12-04 Paolo Carlini <pcarlini@unitus.it>
137 * testsuite/27_io/ostream_inserter_arith.cc (test02): Add testcase
139 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
140 Deal properly with long ios_base::fixed floats.
141 (num_put::_M_widen_float): use
142 __len in __builtin_alloca call.
144 2001-12-04 Benjamin Kosnik <bkoz@redhat.com>
146 * src/Makefile.am (sources): Add ext-inst.cc.
147 * src/Makefile.in: Regenerate.
148 * src/ext-inst.cc: New file.
149 * include/bits/stl_threads.h: Format.
150 * src/globals.cc: Add instantiation for _S_swap_lock.
152 * testsuite/18_support/numeric_limits.cc: Add numeric_limits<B>
155 2001-12-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
157 * testsuite/22_locale/numpunct_members_wchar_t.cc: Only compile
158 and execute test01 if _GLIBCPP_USE_WCHAR_T is defined.
159 * testsuite/26_numerics/complex_inserters_extractors.cc: Provide
160 for explicit instantiation of class std::basic_string<char,
161 gnu_char_traits, std::allocator<char> >.
163 2001-12-03 Benjamin Kosnik <bkoz@redhat.com>
165 * testsuite/22_locale/collate.cc: Compile-only.
166 * testsuite/22_locale/time_get.cc: Same.
167 * testsuite/22_locale/time_put.cc: Same.
168 * testsuite/22_locale/numpunct.cc: Same.
169 * testsuite/22_locale/num_put.cc: Same.
170 * testsuite/22_locale/num_get.cc: Same.
171 * testsuite/22_locale/moneypunct.cc: Same.
172 * testsuite/22_locale/money_get.cc: Same.
173 * testsuite/22_locale/messages.cc: Same.
174 * testsuite/22_locale/ctype.cc: Same.
176 2001-12-03 Benjamin Kosnik <bkoz@redhat.com>
178 * src/string-inst.cc (string::_Rep::_S_terminal): Add static data
179 member instantiations.
181 2001-12-03 Steve Ellcey <sje@cup.hp.com>
183 * libstdc++-v3/configure.in: Add support for hpux cross compiles,
184 combine common linux/hpux/generic cross compile support to reduce
186 * libstdc++-v3/configure: Regenerate.
188 2001-12-03 Loren J. Rittle <ljrittle@acm.org>
190 * docs/html/ext/howto.html: Update commentary.
191 * include/bits/c++config: Update threading configuration comment.
192 (__STL_GTHREADS): Remove macro definition.
193 (__STL_THREADS): Likewise.
194 * include/bits/stl_threads.h: Leave only the configuration
195 path which had been guarded by __STL_GTHREADS. Remove all
196 guards related to __STL_GTHREADS, __STL_SGI_THREADS,
197 __STL_PTHREADS, __STL_UITHREADS and __STL_WIN32THREADS.
198 * include/bits/stl_alloc.h: Leave only the configuration path
199 which had been guarded by __STL_THREADS. Remove configuration
200 path and guards for __STL_SGI_THREADS.
201 (__NODE_ALLOCATOR_THREADS): Remove macro definition. Unroll its use.
202 (__NODE_ALLOCATOR_LOCK): Likewise.
203 (__NODE_ALLOCATOR_UNLOCK): Likewise.
204 (_NOTHREADS): Remove guards related to macro.
205 * include/ext/stl_rope.h: Remove configuration path and guards
206 for __STL_SGI_THREADS.
207 * src/stl-inst.cc: Remove use of __NODE_ALLOCATOR_THREADS.
209 2001-12-02 Phil Edwards <pme@gcc.gnu.org>
211 * docs/html/ext/howto.html: Update list of implemented DRs.
212 * docs/html/ext/lwg-active.html: Import R20 from upstream.
213 * docs/html/ext/lwg-defects.html: Import R20 from upstream.
215 2001-11-30 Benjamin Kosnik <bkoz@redhat.com>
219 * libsupc++/exception (bad_exception::~bad_exception()): Remove
221 * libsupc++/new (bad_alloc::~bad_alloc()): Remove.
222 * libsupc++/typeinfo (bad_cast::~bad_cast()): Remove.
223 (bad_typeid::~bad_typeid()): Remove.
224 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Remove definition.
225 (bad_typeid::~bad_typeid()): Same.
226 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
227 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()): Same.
229 * include/bits/std_iomanip.h: Tweak.
231 2001-11-29 Paolo Carlini <pcarlini@unitus.it>
234 * include/bits/locale_facets.tcc (__pad): Add bool parameter to
235 correctly pad internal-adjusted const char*-type objects.
236 * include/bits/locale_facts.tcc (num_put::_M_insert): Update call.
237 * include/bits/ostream.tcc (operator<<(_CharT , char, const
238 _CharT*, const char*, const basic_string&): Update calls.
239 * src/locale-inst.tcc: Update declarations.
240 * testsuite/27_io/ostream_inserter_arith.cc (test04): Add test.
242 2001-11-29 Phil Edwards <pme@gcc.gnu.org>
244 * docs/html/ext/howto.html: Finish allocator notes (inst and 3.0).
246 2001-11-29 Benjamin Kosnik <bkoz@redhat.com>
248 * include/bits/locale_facets.tcc (num_get::do_get(long double)):
249 Fix __traits_type typo.
251 2001-11-28 Paolo Carlini <pcarlini@unitus.it>
253 * include/bits/locale_facets.tcc (__pad): Correctly pad
254 internal-adjusted hex numbers.
255 * testsuite/27_io/ostream_inserter_arith.cc: Add testcase.
257 2001-11-28 Paolo Carlini <pcarlini@unitus.it>
258 Loren J. Rittle <ljrittle@acm.org>
260 * include/bits/basic_string.h
261 (basic_string::_Rep::__default_excess, _S_excess_slop):
263 * include/bits/basic_string.tcc: Remove dead code.
264 * include/bits/c++config: Remove comment.
266 2001-11-28 Benjamin Kosnik <bkoz@redhat.com>
267 Jakub Jelinek <jakub@redhat.com>
269 * config/locale/moneypunct_members_gnu.cc
270 (moneypunct<wchar_t>::_M_initialize_moneypunct): Correctly cast
272 * config/locale/numpunct_members_gnu.cc
273 (numpunct<wchar_t>::_M_initialize_numpunct): Same.
275 2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
277 * include/bits/locale_facets.tcc: Formatting tweaks.
279 * testsuite/23_containers/map_operators.cc: Don't xfail.
280 * testsuite/23_containers/set_operators.cc: Same.
281 * testsuite/backward/header_iterator_h.cc: Pass in -Wno-deprecated.
282 * testsuite/backward/header_deque_h.cc: Same.
284 2001-11-27 Loren J. Rittle <ljrittle@acm.org>
285 Paolo Carlini <pcarlini@unitus.it>
287 * include/bits/basic_string.tcc (basic_string::_Rep::_S_create):
288 Enforce allocation size blocking policy to reduce
289 fragmentation and enhance performance with common malloc
292 2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
294 Numeric facets cleanup.
295 * include/bits/locale_facets.h (__num_base::_S_atoms): Add, remove
297 (__num_base::_M_zero): Add
298 (__num_base::_M_e): Add.
299 (__num_base::_M_E): Add.
300 * include/bits/locale_facets.tcc (num_get::_M_extract): Remove.
301 (num_get::_M_extract_float): New.
302 (num_get::_M_extract_int): New.
303 * src/locale.cc (num_get::_M_extract): Remove.
305 * include/bits/locale_facets.tcc (num_put::_M_insert_float):
306 Simplify, use _M_insert.
307 (num_put::do_put(bool)): Simplify, remove __pad.
309 (__pad_output): Change to __pad.
310 * include/bits/ostream.tcc: And here.
311 * src/locale-inst: Remove instantiations.
313 * include/bits/locale_facets.h: Move helper functions in to class
315 (num_put::_M_insert_float): Same, for __output_integer.
316 (num_put::_M_insert_int): Same, for __output_float.
317 (num_put::_M_insert): New.
319 (__num_base::_S_format_float): Move
320 __build_float_format into class __num_base.
321 (__num_base::_S_format_int): Move __build_int_format into class
323 * include/bits/locale_facets.tcc (__group_digits): Change to
324 (__add_grouping): This.
325 * src/locale-inst.cc: And here. Tweak instantiations.
326 * src/misc-inst.cc: Remove instantiations.
328 * include/bits/ostream.tcc (__pad_char): Rename, adjust inserters
329 for new calling conventions, move to...
330 * include/bits/locale_facets.tcc (__pad_output): Here. Adjust
331 signature to make it useful for both ostream and num_put.
332 (__pad_numeric): Remove.
333 * src/misc-inst.cc: Remove instantiations.
334 * src/locale-inst.cc: Same.
336 * include/bits/locale_facets.h (_Numeric_get): Remove.
337 (_Numeric_put): Remove.
338 (num_get::get(short)): Remove.
339 (num_get::get(int)): Remove.
340 (num_get::do_get(short)): Remove.
341 (num_get::do_get(int)): Remove.
342 * include/bits/istream.tcc (istream::operator>>(short)): Fix as
344 (istream::operator>>(int)): Same.
346 * include/bits/locale_facets.h (_Format_cache): Remove.
347 * include/bits/locale_facets.tcc: Same.
348 * src/locale.cc: Same.
349 * src/locale-inst.cc: Same.
350 * include/bits/ostream.tcc: Same.
351 * src/ios.cc (ios_base::imbue): Remove here as well.
353 * testsuite/22_locale/num_get.cc: New file.
354 * testsuite/22_locale/num_get_members_char.cc: New file.
355 * testsuite/22_locale/num_get_members_wchar_t.cc: New.
356 * testsuite/22_locale/numpunct_members_wchar_t.cc: New file.
357 * testsuite/22_locale/num_put.cc: New file.
358 * testsuite/22_locale/num_put_members_char.cc: New file.
359 * testsuite/22_locale/num_put_members_wchar_t.cc: New file.
360 * testsuite/27_io/ostream_inserter_arith.cc: Fix.
361 * testsuite/27_io/istream_extractor_arith.cc: Fix.
363 2001-11-27 Phil Edwards <pme@gcc.gnu.org>
365 * docs/html/explanations.html: New section, empty for now.
366 * docs/html/17_intro/howto.html: Cleanup. Move unrelated link...
367 * docs/html/23_containers/howto.html: ...to here. Break up and
368 rewrap threading discussion to emphasize warning. Move malloc text...
369 * docs/html/ext/howto.html: ...to here. New section. Describe
370 allocators and __USE_MALLOC effects.
371 * docs/html/ext/sgiexts.html: Mention their code.
373 2001-11-24 Joseph S. Myers <jsm28@cam.ac.uk>
375 * docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
376 docs/html/27_io/binary_iostreams_kuehl.txt: Revert previous
379 2001-11-23 Phil Edwards <pme@gcc.gnu.org>
381 * Makefile.am (doxygen-maint): The script isn't executable in CVS.
382 * Makefile.in: Regenerated.
383 * docs/doxygen/TODO: New file listing doxygen work to be done.
384 * docs/doxygen/run_doxygen: Fix up man pages.
385 * docs/doxygen/user.cfg.in: Insert maint-only toggles.
386 * docs/doxygen/maint.cfg.in: Copy from user.cfg and turn toggles on.
387 * include/bits/stl_construct.h: Use new hooks for internal functions.
389 * docs/html/17_intro/TODO: Small updates.
390 * docs/html/faq/index.html: Likewise.
391 * docs/html/faq/index.txt: Regenerated.
393 * include/bits/stl_alloc.h: Doxygenate, reindent comments, remove
394 SGI-isms and wrappers.
395 (simple_alloc, debug_alloc): Uglify class names.
396 (__default_alloc_template): Uglify "threads" template parameter and
397 update corresponding macros.
398 * include/backward/alloc.h: Bring up to date.
400 2001-11-23 Jason Merrill <jason@redhat.com>
402 * src/vterminate.cc (__verbose_terminate_handler): Add leading
405 2001-11-23 Joseph S. Myers <jsm28@cam.ac.uk>
407 * ChangeLog, docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
408 docs/doxygen/doxygroups.cc, docs/doxygen/Intro.3,
409 docs/html/17_intro/BUGS, docs/html/17_intro/C++STYLE,
410 docs/html/17_intro/CHECKLIST, docs/html/17_intro/DESIGN,
411 docs/html/17_intro/howto.html, docs/html/17_intro/porting.html,
412 docs/html/17_intro/porting.texi, docs/html/18_support/howto.html,
413 docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
414 docs/html/21_strings/howto.html,
415 docs/html/23_containers/howto.html,
416 docs/html/26_numerics/howto.html, docs/html/27_io/howto.html,
417 docs/html/27_io/binary_iostreams_kuehl.txt,
418 docs/html/ext/sgiexts.html, docs/html/faq/index.html,
419 docs/html/faq/index.txt, testsuite/24_iterators/iterator.cc,
420 include/bits/basic_file.h, include/bits/locale_facets.h,
421 include/bits/locale_facets.tcc, include/bits/std_sstream.h,
422 include/ext/ropeimpl.h, include/ext/stl_rope.h,
423 libsupc++/tinfo.cc, libsupc++/cxxabi.h, libsupc++/typeinfo,
424 libsupc++/eh_throw.cc, acinclude.m4, aclocal.m4, configure,
425 configure.target, ChangeLog-2000: Fix spelling errors.
427 * config/locale/moneypunct_members_gnu.cc,
428 include/bits/locale_facets.h: Fix spelling errors.
430 2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
432 * testsuite/23_containers/list_capacity.cc: New file.
433 * testsuite/23_containers/list_ctor.cc: New file.
434 * testsuite/23_containers/list_modifiers.cc: New file.
435 * testsuite/23_containers/list_operators.cc: New file.
437 2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
439 * include/bits/stl_list.h: Reformatted according to C++STYLE rules.
440 (size): Replaced nonstandard distance() call with the standard one.
441 (transfer): Uglified to _M_transfer.
443 2001-11-21 Paolo Carlini <pcarlini@unitus.it>
446 * include/bits/basic_string.tcc (basic_string::reserve): Never shrink
447 below the current size.
448 * testsuite/21_strings/capacity.cc (test02): Add test.
450 2001-11-19 Phil Edwards <pme@gcc.gnu.org>
452 * docs/doxygen/Intro.3: More notes.
453 * docs/doxygen/style.css: Update to default style from Doxygen 1.2.10.
454 * include/bits/stl_algobase.h: Add doxygen hooks for functions.
455 * include/ext/hash_map: Add @file hook.
456 * include/ext/hash_set: Likewise.
457 * include/ext/rope: Likewise.
458 * include/ext/ropeimpl.h: Likewise.
459 * include/ext/slist: Likewise.
460 * include/ext/stl_hash_fun.h: Likewise.
461 * include/ext/stl_hashtable.h: Likewise.
462 * include/ext/stl_rope.h: Likewise.
464 * docs/html/17_intro/license.html: Remove "experimental" sentence.
465 * docs/html/19_diagnostics/howto.html: Document new verbose
467 * testsuite/27_io/filebuf.cc: Fix comment, move tweakable parameter
468 to more visible (closer to description) position.
470 * libsupc++/eh_type.cc: Formatting tweak.
471 * libsupc++/exception: Likewise.
472 * src/vterminate.cc: Likewise.
474 * docs/html/17_intro/porting.html: Regenerate.
475 * docs/html/faq/index.txt: Regenerate.
477 2001-11-18 Jason Merrill <jason@redhat.com>
479 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Take void*.
480 * libsupc++/eh_catch.cc (__cxa_begin_catch): Likewise.
481 * libsupc++/unwind-cxx.h: Adjust.
482 * src/Makefile.am (strstream.o): Pass -Wno-deprecated.
484 * libsupc++/eh_type.cc (__cxa_current_exception_type): New file.
485 * libsupc++/cxxabi.h: Declare it.
486 * libsupc++/Makefile.am (sources): Add it.
487 * src/vterminate.cc (verbose_terminate_handler): New file.
488 * libsupc++/exception: Declare it.
489 * src/Makefile.am (sources): Add it.
491 * src/Makefile.am (VPATH): Check the src directory before the top one.
493 2001-11-16 Paolo Carlini <pcarlini@unitus.it>
495 * include/bits/stl_deque.h (deque::erase()): Fix memory leak.
497 2001-11-16 Loren J. Rittle <ljrittle@acm.org>
499 * docs/html/17_intro/howto.html (Thread-safety): Rename
500 section to ``The Standard C++ library and multithreading'' and
501 update information based on recent mailing list traffic. Move
502 all discussion of __USE_MALLOC to...
503 * docs/html/23_containers/howto.html (Containers and multithreading):
504 ...here and rework it based on recent mailing list traffic.
506 2001-11-15 Loren J. Rittle <ljrittle@acm.org>
508 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Clarify
511 2001-11-15 <bjornw@planetarion.com>
512 Loren J. Rittle <ljrittle@acm.org>
515 * include/bits/stl_alloc.h (alloc): Update to use __mem_interface.
516 (single_client_alloc): Likewise.
518 2001-11-08 Danny Smith <dannysmith@users.sourceforge.net>
520 * configure.target: Add os_include_dir for mingw32* target.
521 * docs/html/17_intro/porting.texi: Mention mingw32 as target benefiting
522 from _GLIBCPP_AVOID_FSEEK.
523 * config/os/mingw32/bits/ctype_base.h: New file.
524 * config/os/mingw32/bits/ctype_inline.h: New file.
525 * config/os/mingw32/bits/ctype_noninline.h: New file.
526 * config/os/mingw32/bits/os_defines.h: New file.
528 2001-11-07 Nathan Myers <ncm@cantrip.org>
530 * docs/html/faq/index.html (5.8): New entry on ABIs.
531 * docs/html/faq/index.txt: Regenerate.
533 2001-11-07 Phil Edwards <pme@gcc.gnu.org>
535 * docs/html/faq/index.html: Explain libsupc++, mention 'long long'
537 * docs/html/faq/index.txt: Regenerate.
539 2001-11-06 Phil Edwards <pme@gcc.gnu.org>
541 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Run the test in
543 * aclocal.m4: Regenerate.
544 * configure: Regenerate.
546 2001-11-05 Phil Edwards <pme@gcc.gnu.org>
548 * porting.texi: Move...
549 * docs/html/17_intro/porting.texi: ...to here.
550 * docs/html/Makefile: Add rule to rebuild...
551 * docs/html/17_intro/porting.html: ...this. New file.
553 2001-11-05 Felix Natter <fnatter@gmx.net>
555 * docs/html/17_intro/porting-howto.xml: check in v0.9.4
556 * docs/html/17_intro/porting-howto.html: regenerate
558 2001-11-02 Loren J. Rittle <ljrittle@acm.org>
560 * include/bits/stl_threads.h (_Atomic_swap): Only enable path
561 when platform supports __GTHREAD_MUTEX_INIT.
563 2001-11-02 Phil Edwards <pme@gcc.gnu.org>
565 * acconfig.h: Update comments.
566 * acinclude.m4 (GLIBCPP_ENABLE_C99): Move strtoll, strtoull tests...
567 (GLIBCPP_ENABLE_LONG_LONG): ...to here. Don't check enable_c99.
568 * aclocal.m4: Regenerate.
569 * config.h.in: Regenerate.
570 * configure: Regenerate.
572 * include/bits/boost_concept_check.h: Unconditionally compile uses
573 of 'long long' which require only compiler support, not C lib support.
574 * include/bits/cpp_type_traits.h: Likewise.
575 * include/bits/std_limits.h: Likewise.
576 * include/bits/type_traits.h: Likewise.
577 * src/concept-inst.cc: Likewise.
578 * src/limits.cc: Likewise.
579 * include/c_shadow/stdlib.h: Compile conditionally on _GLIBCPP_USE_C99
580 instead of _GLIBCPP_USE_LONG_LONG.
581 * include/c_shadow/bits/std_cstdlib.h: Likewise.
583 2001-11-02 Phil Edwards <pme@gcc.gnu.org>
585 * config/io/c_io_stdio.h: Correct grammar in comments.
586 * docs/doxygen/Intro.3: Expand "top-level" man page.
587 * docs/doxygen/doxygroups.cc: New module definitions (comments).
588 * docs/doxygen/mainpage.doxy: Tweaks.
589 * docs/doxygen/run_doxygen: Update Doxygen version, massage man pages.
591 Add @file hooks so that headers are considered to be documented.
592 * include/bits/basic_ios.h, include/bits/basic_file.h,
593 include/bits/basic_string.h, include/bits/boost_concept_check.h,
594 include/bits/char_traits.h, include/bits/codecvt.h,
595 include/bits/concept_check.h, include/bits/cpp_type_traits.h,
596 include/bits/fpos.h, include/bits/gslice.h, include/bits/gslice_array.h,
597 include/bits/indirect_array.h, include/bits/ios_base.h,
598 include/bits/locale_facets.h, include/bits/localefwd.h,
599 include/bits/mask_array.h, include/bits/pthread_allocimpl.h,
600 include/bits/slice.h, include/bits/slice_array.h,
601 include/bits/std_algorithm.h, include/bits/std_bitset.h,
602 include/bits/std_complex.h, include/bits/std_deque.h,
603 include/bits/std_fstream.h, include/bits/std_functional.h,
604 include/bits/std_iomanip.h, include/bits/std_ios.h,
605 include/bits/std_iosfwd.h, include/bits/std_iostream.h,
606 include/bits/std_istream.h, include/bits/std_iterator.h,
607 include/bits/std_limits.h, include/bits/std_list.h,
608 include/bits/std_locale.h, include/bits/std_map.h,
609 include/bits/std_memory.h, include/bits/std_numeric.h,
610 include/bits/std_ostream.h, include/bits/std_queue.h,
611 include/bits/std_set.h, include/bits/std_sstream.h,
612 include/bits/std_stack.h, include/bits/std_streambuf.h,
613 include/bits/std_string.h, include/bits/std_utility.h,
614 include/bits/std_valarray.h, include/bits/std_vector.h,
615 include/bits/stl_algo.h, include/bits/stl_alloc.h,
616 include/bits/stl_bvector.h, include/bits/stl_construct.h,
617 include/bits/stl_deque.h, include/bits/stl_heap.h,
618 include/bits/stl_iterator.h, include/bits/stl_iterator_base_funcs.h,
619 include/bits/stl_iterator_base_types.h, include/bits/stl_list.h,
620 include/bits/stl_map.h, include/bits/stl_multimap.h,
621 include/bits/stl_multiset.h, include/bits/stl_numeric.h,
622 include/bits/stl_pair.h, include/bits/stl_pthread_alloc.h,
623 include/bits/stl_queue.h, include/bits/stl_raw_storage_iter.h,
624 include/bits/stl_relops.h, include/bits/stl_set.h,
625 include/bits/stl_stack.h, include/bits/stl_tempbuf.h,
626 include/bits/stl_threads.h, include/bits/stl_tree.h,
627 include/bits/stl_uninitialized.h, include/bits/stl_vector.h,
628 include/bits/stream_iterator.h, include/bits/streambuf_iterator.h,
629 include/bits/stringfwd.h, include/bits/type_traits.h,
630 include/bits/valarray_array.h, include/bits/valarray_meta.h:
631 Add hooks, tweak comments only.
633 * include/bits/stl_algobase.h (swap, min, iter_swap): Also
634 document these functions.
635 * include/bits/stl_function.h: Tweak link comments.
637 2001-11-01 Paolo Carlini <pcarlini@unitus.it>
638 Benjamin Kosnik <bkoz@redhat.com>
640 * testsuite/27_io/ios_manip_fmtflags.cc: Fix for non-interactive
642 * include/bits/locale_facets.tcc (num_put::do_put(bool)): Fix.
644 2001-11-01 Egor Duda <deo@logos-m.ru>
646 * config/os/newlib/bits/ctype_noninline.h
647 (ctype<char>::do_toupper(char __c)): Check for proper character class.
648 (ctype<char>::do_tolower(char __c)): Ditto.
650 2001-11-01 Phil Edwards <pme@gcc.gnu.org>
652 * acinclude.m4: Fix spacing.
653 (GLIBCPP_ENABLE_CONCEPT_CHECKS): New macro.
654 * configure.in: Call here.
655 * acconfig.h: Add _GLIBCPP_CONCEPT_CHECKS.
656 * include/bits/boost_concept_check.h: Fix headers.
657 (__function_requires): Make inline.
658 * include/bits/c++config (_GLIBCPP_CONCEPT_CHECKS): Remove.
659 * aclocal.m4: Regenerate.
660 * config.h.in: Regenerate.
661 * configure: Regenerate.
663 Move trailing ';' inside macro, PR libstdc++/3666.
664 * include/bits/concept_check.h: Add semicolon.
665 * include/bits/stl_algo.h: Remove semicolon.
666 * include/bits/stl_algobase.h: Likewise.
667 * include/bits/stl_deque.h: Likewise.
668 * include/bits/stl_heap.h: Likewise.
669 * include/bits/stl_iterator_base_funcs.h: Likewise.
670 * include/bits/stl_list.h: Likewise.
671 * include/bits/stl_map.h: Likewise.
672 * include/bits/stl_multimap.h: Likewise.
673 * include/bits/stl_multiset.h: Likewise.
674 * include/bits/stl_numeric.h: Likewise.
675 * include/bits/stl_queue.h: Likewise.
676 * include/bits/stl_set.h: Likewise.
677 * include/bits/stl_stack.h: Likewise.
678 * include/bits/stl_vector.h: Likewise.
679 * include/ext/hash_map: Likewise.
680 * include/ext/hash_set: Likewise.
681 * include/ext/slist: Likewise.
683 * src/concept-inst.cc: New file with explicit instantiations.
684 * src/Makefile.am (sources): Add here, with special build rules.
685 * src/Makefile.in: Regenerate.
687 2001-11-01 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
689 * include/bits/std_complex.h (_Norm_helper): New class template.
691 (abs): Tweak. Fix Thinko.
693 2001-10-31 Benjamin Kosnik <bkoz@redhat.com>
696 * include/bits/codecvt.h: Add virtual member function declarations.
697 * src/codecvt.cc: Tweaks.
698 * testsuite/22_locale/codecvt.cc: Test compilation only,
699 non-required facets not required to have linkage.
701 2001-10-31 Edward E. Meyer <edward.e.meyer@boeing.com>
704 * include/bits/std_complex.h (complex::operator/=): Correct sign.
706 2001-10-30 Paolo Carlini <pcarlini@unitus.it>
707 Benjamin Kosnik <bkoz@redhat.com>
710 * include/bits/basic_string.h: Tweaks.
711 * include/bits/basic_string.tcc (string::_M_replace(iterator,
712 iterator, _ForwardIter, _ForwardIter, forward_iterator_tag): Fix.
713 * src/string-inst.cc: Tweaks, add instantiation.
714 * testsuite/21_strings/replace.cc (test02): Add test.
715 * testsuite/21_strings/assign.cc (test01): New file.
717 2001-10-30 Jakub Jelinek <jakub@redhat.com>
719 * include/bits/stl_deque.h (_M_new_elements_at_front): Use
720 __throw_exception_again.
721 (_M_new_elements_at_back): Likewise.
723 2001-10-29 Benjamin Kosnik <bkoz@redhat.com>
726 * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
727 * testsuite/27_io/filebuf.cc (test07): New test.
728 (test03): Modify showmanyc test.
730 2001-10-26 Benjamin Kosnik <bkoz@redhat.com>
733 * config/locale/codecvt_specializations_ieee_1003.1-200x.h
734 (__enc_traits::~__enc_traits): Fix.
735 (__enc_traits::_M_init): Add error checking.
737 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
740 * include/bits/locale_facets.tcc (time_get::_M_extract_name): Fix.
742 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
745 * include/bits/ostream.tcc (ostream::operator<<(streambuf*)): Fix
747 * include/bits/istream.tcc (istream::operator>>(streambuf*): Make
748 consistent, where possible.
749 * include/bits/streambuf.tcc: Tweak.
751 2001-10-25 Brendan Kehoe <brendan@zen.org>
754 * bits/ostream.tcc (seekp): Scope use as ios_base::failbit.
755 * bits/istream.tcc (seekg): Likewise.
757 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
758 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
759 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
761 * config/os/gnu-linux/bits/os_defines.h: Set to 64 bit longs with
763 * include/bits/std_limits.h: Fix wchar_t issues.
764 * config/os/aix/bits/os_defines.h: Fix.
766 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
768 * include/bits/locale_facets.tcc (collate::do_transform): Fix.
770 2001-10-25 Phil Edwards <pme@gcc.gnu.org>
772 * docs/html/documentation.html: Fix typo.
774 2001-10-23 Benjamin Kosnik <bkoz@redhat.com>
776 Make -fno-exceptions work.
777 * config/locale/c_locale_gnu.cc: Use functexcept.
778 * include/bits/c++config (__stl_assert): Remove.
779 (__STL_USE_EXCEPTIONS): Same.
781 (__STL_CATCH_ALL): Same.
783 (__STL_RETHROW): Same.
784 (__STL_NOTHROW): Same.
785 (__STL_UNWIND): Same.
786 * include/bits/pthread_allocimpl.h: Fix.
787 * include/bits/std_bitset.h: Same.
788 * include/bits/std_list.h: Same.
789 * include/bits/std_memory.h: Same.
790 * include/bits/std_queue.h: Same.
791 * include/bits/stl_alloc.h: Same.
792 * include/bits/stl_deque.h: Same.
793 * include/bits/stl_list.h: Same.
794 * include/bits/stl_queue.h: Same.
795 * include/bits/stl_tempbuf.h: Same.
796 * include/bits/stl_tree.h: Same.
797 * include/bits/stl_uninitialized.h: Same.
798 * include/bits/stl_vector.h: Same.
799 * include/ext/ropeimpl.h: Same.
800 * include/ext/slist: Same.
801 * include/ext/stl_hashtable.h: Same.
802 * include/ext/stl_rope.h: Same.
803 * libsupc++/new_op.cc: Include cstdlib.
804 * libsupc++/eh_personality.cc: Add exception_defines include. Use
805 __throw_exception_again, tweak.
806 * libsupc++/eh_aux_runtime.cc: Include stdlib for abort.
807 * libsupc++/vec.cc: Tweak.
808 * src/functexcept.cc: Remove unused arguments.
809 * testsuite/23_containers/bitset_members.cc: Tweak.
811 2001-10-22 Benjamin Kosnik <bkoz@redhat.com>
813 * config/cpu/i386/bits/limits.h: Move to...
814 * config/cpu/i386/bits/cpu_limits.h: ...here.
815 * config/cpu/cris/bits/cpu_limits.h: Same.
816 * config/cpu/powerpc/bits/cpu_limits.h: Same.
817 * config/cpu/x86-64/bits/cpu_limits.h: Same.
818 * config/cpu/alpha/bits/cpu_limits.h: New.
819 * config/cpu/m68k/bits/cpu_limits.h: New.
820 * config/cpu/s390/bits/cpu_limits.h: New.
821 * config/os/aix/bits/os_defines.h: Tweaks.
822 * config/os/bsd/freebsd/bits/os_defines.h: Same.
823 * config/os/bsd/netbsd/bits/os_defines.h: Same.
824 * config/os/djgpp/bits/os_defines.h: Same.
825 * config/os/generic/bits/os_defines.h: Same.
826 * config/os/gnu-linux/bits/os_defines.h: Same.
827 * config/os/hpux/bits/os_defines.h: Same.
828 * config/os/irix/irix5.2/bits/os_defines.h: Same.
829 * config/os/irix/irix6.5/bits/os_defines.h: Same.
830 * config/os/newlib/bits/os_defines.h: Same.
831 * config/os/solaris/solaris2.5/bits/os_defines.h: Same.
832 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
833 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
835 * include/bits/c++config: Remove include.
836 * include/bits/limits_generic.h: Remove.
837 * include/bits/std_limits.h: Include cpu_limits.h.
838 * include/Makefile.am: Fixup.
839 * src/limits.cc: Tweak.
840 * src/limits_generic.cc: Remove.
841 * src/gen-num-limits.cc: Remove.
842 * mknumeric_limits: Remove.
844 2001-10-20 Brendan Kehoe <brendan@zen.org>
846 * bits/type_traits.h (_Bool): Removed this type.
847 (__true_type, __false_type): Change to be plain structs.
848 * src/string-inst.cc (__destroy_aux): Change third parm to be
849 __false_type instead of _Bool<false>.
850 * src/misc-inst.cc (__uninitialized_fill_n_aux,
851 __uninitialized_copy_aux): Likewise.
853 2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
855 * mkcheck.in (static_fail): Remove older memory limit functionality.
856 Disable E_TIME due to formatting issues.
860 2001-10-19 Brendan Kehoe <brendan@zen.org>
862 * include/bits/std_complex.h: Default initialize second argument
863 of polar to 0, as specified in Library DR #79
865 2001-10-19 Brendan Kehoe <brendan@zen.org>
867 * include/bits/stl_raw_storage_iter.h (operator=): Fix to call
868 _Construct instead of construct.
870 2001-10-19 Brendan Kehoe <brendan@zen.org>
872 * include/bits/basic_string.tcc (find_first_not_of): Take out check for
873 __n being non-zero, since the standard does not mandate that.
874 e.g., a search for "" in "" should yield position 0, not npos.
875 (find_last_not_of): Likewise.
877 2001-10-19 Brendan Kehoe <brendan@zen.org>
879 * include/bits/stl_bvector.h (vector<bool>::_M_range_check): Fix
880 to throw out_of_range, not range_error, thus sayeth $23.1.1.13.
882 2001-10-19 Brendan Kehoe <brendan@zen.org>
884 * include/bits/stl_iterator.h (reverse_iterator::current): Rename
885 member from _M_current, and change all uses; thus sayeth $24.4.1.1.
887 2001-10-19 Brendan Kehoe <brendan@zen.org>
889 * include/bits/stl_algo.h (partial_sort): Add missing `>' on the
890 template parameter _ValueType.
892 2001-10-19 Brendan Kehoe <brendan@zen.org>
894 * include/bits/std_limits.h: Clean up extra semicolons.
895 * include/bits/locale_facets.h: Likewise.
896 * include/bits/type_traits.h: Likewise.
898 2001-10-19 Brendan Kehoe <brendan@zen.org>
900 * include/bits/localefwd.h (locale::combine): Add const for lib DR 14.
901 * include/bits/locale_facets.tcc (locale::combine): Likewise.
903 2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
905 * include/bits/locale_facets.h (__timepunct::_M_put_helper):
906 Declare specializations for char, wchar_t.
908 2001-10-19 Andreas Jaeger <aj@suse.de>
910 * config/cpu/x86-64/bits/limits.h: New file.
911 * config/cpu/x86-64/bits/atomicity.h: New file.
912 * configure.target: Add x86-64.
914 2001-10-17 Phil Edwards <pme@gcc.gnu.org>
916 * docs/html/17_intro/howto.html: Remove 1999 links (and explain
917 why). Add link to recent message.
918 * docs/html/faq/index.html (5.6): Reformat text only; fixup <pre>
920 * docs/html/faq/index.txt: Regenerate.
922 2001-10-12 Loren J. Rittle <ljrittle@acm.org>
924 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Update
925 based on Nathan's review. Use Nathan's words.
927 2001-10-11 Matt Kraai <kraai@alumni.carnegiemellon.edu>
929 * docs/html/configopts.html: Quote StyleSheet attribute values.
930 * docs/html/documentation.html: Likewise.
931 * docs/html/explanations.html: Likewise.
932 * docs/html/install.html: Likewise.
933 * docs/html/17_intro/howto.html: Likewise.
934 * docs/html/17_intro/license.html: Likewise.
935 * docs/html/18_support/howto.html: Likewise.
936 * docs/html/19_diagnostics/howto.html: Likewise.
937 * docs/html/20_util/howto.html: Likewise.
938 * docs/html/21_strings/howto.html: Likewise.
939 * docs/html/22_locale/howto.html: Likewise.
940 * docs/html/23_containers/howto.html: Likewise.
941 * docs/html/24_iterators/howto.html: Likewise.
942 * docs/html/25_algorithms/howto.html: Likewise.
943 * docs/html/26_numerics/howto.html: Likewise.
944 * docs/html/27_io/howto.html: Likewise.
945 * docs/html/ext/howto.html: Likewise.
946 * docs/html/ext/sgiexts.html: Likewise.
947 * docs/html/faq/index.html: Likewise.
949 2001-10-11 Loren J. Rittle <ljrittle@acm.org>
951 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Rewrite.
952 * docs/html/23_containers/howto.html (Containers and multithreading):
955 2001-10-09 Phil Edwards <pme@gcc.gnu.org>
957 * docs/html/17_intro/howto.html: Tweak markup and value type.
958 * docs/html/27_io/howto.html: Tweak markup, describe setbuf() for
959 nonzero arguments, add new note on threading.
960 * docs/html/faq/index.html: Update.
961 * docs/html/faq/index.txt: Regenerate.
963 2001-10-09 Phil Edwards <pme@gcc.gnu.org>
965 * docs/html/configopts.html: More HTML->XHTML and lowercasing of tags.
966 * docs/html/documentation.html: Likewise.
967 * docs/html/explanations.html: Likewise.
968 * docs/html/install.html: Likewise.
969 * docs/html/17_intro/howto.html: Likewise.
970 * docs/html/17_intro/license.html: Likewise. Tighten up language.
971 * docs/html/18_support/howto.html: Likewise.
972 * docs/html/19_diagnostics/howto.html: Likewise.
973 * docs/html/20_util/howto.html: Likewise.
974 * docs/html/21_strings/howto.html: Likewise.
975 * docs/html/22_locale/howto.html: Likewise.
976 * docs/html/23_containers/howto.html: Likewise.
977 * docs/html/24_iterators/howto.html: Likewise.
978 * docs/html/25_algorithms/howto.html: Likewise.
979 * docs/html/26_numerics/howto.html: Likewise.
980 * docs/html/27_io/howto.html: Likewise.
981 * docs/html/ext/howto.html: Likewise.
982 * docs/html/ext/sgiexts.html: Likewise.
983 * docs/html/faq/index.html: Likewise. Not so many absolute links.
984 * docs/html/faq/index.txt: Regenerate.
986 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
988 * docs/html/22_locale/locale.html, docs/html/faq/index.html: Fix
989 spelling errors of "separate" as "seperate", and corresponding
990 spelling errors of related words.
991 * docs/html/faq/index.txt: Regenerate.
993 2001-10-05 Phil Edwards <pme@gcc.gnu.org>
995 * config/cpu/alpha/bits/atomicity.h (__compare_and_swap): Remove
997 * config/cpu/arm/bits/atomicity.h: Likewise.
998 * config/cpu/generic/bits/atomicity.h: Likewise.
999 * config/cpu/i486/bits/atomicity.h: Likewise.
1000 * config/cpu/ia64/bits/atomicity.h: Likewise.
1001 * config/cpu/mips/bits/atomicity.h: Likewise.
1002 * config/cpu/powerpc/bits/atomicity.h: Likewise.
1003 * config/cpu/sparc/sparc32/bits/atomicity.h: Likewise.
1004 * config/cpu/sparc/sparc64/bits/atomicity.h: Likewise.
1006 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
1008 * docs/html/faq/index.html: Describe DR #22, and a workaround.
1009 * docs/html/faq/index.txt: Regenerate.
1011 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
1013 * docs/html/17_intro/COPYING.DOC: New file, GFDL v1.1 from the FSF.
1014 * docs/html/17_intro/license.html: New file. Explain the licenses
1017 * docs/html/configopts.html: Link to license.html.
1018 * docs/html/documentation.html: Likewise.
1019 * docs/html/explanations.html: Likewise.
1020 * docs/html/install.html: Likewise.
1021 * docs/html/17_intro/howto.html: Likewise.
1022 * docs/html/18_support/howto.html: Likewise.
1023 * docs/html/19_diagnostics/howto.html: Likewise.
1024 * docs/html/20_util/howto.html: Likewise.
1025 * docs/html/21_strings/howto.html: Likewise.
1026 * docs/html/22_locale/howto.html: Likewise.
1027 * docs/html/23_containers/howto.html: Likewise.
1028 * docs/html/24_iterators/howto.html: Likewise.
1029 * docs/html/25_algorithms/howto.html: Likewise.
1030 * docs/html/26_numerics/howto.html: Likewise.
1031 * docs/html/27_io/howto.html: Likewise.
1032 * docs/html/ext/howto.html: Likewise.
1033 * docs/html/ext/sgiexts.html: Likewise.
1034 * docs/html/faq/index.html: Likewise. New question, linking to
1035 the new license.html.
1037 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
1039 * docs/html/17_intro/howto.html: Fix mis-sed in header from 20010917.
1040 * docs/html/18_support/howto.html: Likewise.
1041 * docs/html/19_diagnostics/howto.html: Likewise.
1042 * docs/html/20_util/howto.html: Likewise.
1043 * docs/html/21_strings/howto.html: Likewise.
1044 * docs/html/22_locale/howto.html: Likewise.
1045 * docs/html/23_containers/howto.html: Likewise.
1046 * docs/html/24_iterators/howto.html: Likewise.
1047 * docs/html/25_algorithms/howto.html: Likewise.
1048 * docs/html/26_numerics/howto.html: Likewise.
1049 * docs/html/27_io/howto.html: Likewise.
1050 * docs/html/ext/howto.html: Likewise.
1051 * docs/html/faq/index.html: Likewise. Spacing fix.
1053 2001-10-03 Dimitris Vyzovitis <vyzo@media.mit.edu>
1055 * include/bits/stl_threads.h (_Atomic_swap): New function.
1056 (_Swap_lock_struct<__dummy>::_S_swap_lock): New data.
1057 * testsuite/ext/rope.cc: New file.
1059 2001-10-02 Benjamin Kosnik <bkoz@redhat.com>
1061 * config/locale/time_members_gnu.h: Remove.
1062 * config/locale/time_members_generic.h: Remove.
1063 * config/locale/time_members_gnu.cc (__timepunct::_M_put_helper): Add.
1064 * config/locale/time_members_generic.cc: Same.
1065 * include/bits/locale_facets.h: Add data members.
1066 (__timepunct::_M_put_helper): Change signature.
1067 (__timepunct::_M_date_formats): Same.
1068 (__timepunct::_M_time_formats): Same.
1069 (__timepunct::_M_ampm): Add.
1070 (__timepunct::_M_date_time_formats): Add.
1071 (time_get::_M_extract_via_format): Add.
1072 (time_get::_M_extract_time): Change to...
1073 (time_get::_M_extract_num): ... this, modify signature.
1074 * include/bits/locale_facets.tcc (time_get::do_get_year): Fix.
1075 (time_get::do_get_time): Fix.
1076 (time_get::do_get_date): Fix.
1078 * acinclude.m4: Remove CTIME_H.
1079 * aclocal.m4: Regenerate.
1080 * include/Makefile.am: Same.
1081 * include/Makefile.in: Regenerate.
1082 * configure: Regenerate.
1084 * testsuite/22_locale/time_get_members_char.cc: Fix.
1085 * testsuite/22_locale/time_get_members_wchar_t.cc: Add.
1086 * testsuite/22_locale/time_put_members_wchar_t.cc: Add.
1088 2001-10-01 Hans-Peter Nilsson <hp@axis.com>
1090 * config/cpu/cris/bits/atomicity.h: Correct file header.
1092 2001-09-29 Hans-Peter Nilsson <hp@axis.com>
1094 * configure.target (LIMITSH): Set for cris.
1095 (cpu_include_dir): Set for cris-*-*.
1096 * config/cpu/cris/bits/atomicity.h: New file.
1097 * config/cpu/cris/bits/limits.h: New file.
1099 2001-09-28 Benjamin Kosnik <bkoz@redhat.com>
1101 * config/locale/time_members_gnu.h (__timepunct::_M_get_helper): Add.
1102 (__timepunct::_M_put_helper): Add.
1103 * config/locale/time_members_generic.h: Same.
1104 * include/bits/locale_facets.h (__match_parallel): Remove. Format.
1105 (__timepunct): Add data members.
1106 (__timepunct::_M_days): Add.
1107 (__timepunct::_M_days_abbreviated): Add.
1108 (__timepunct::_M_months): Add.
1109 (__timepunct::_M_months_abbreviated): Add.
1110 (__timepunct::_M_initialize_timepunct): Add.
1111 * include/bits/locale_facets.tcc: Same.
1112 * src/locale-inst.cc: Remove instantiations for __match_parallel.
1113 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_CC.
1114 * aclocal.m4: Regenerate.
1115 * configure: Regenerate.
1116 * testsuite/22_locale/time_put_members_char.cc: Mark XFAIL.
1117 * testsuite/22_locale/time_put_members_char.cc (test01): New file.
1118 * testsuite/22_locale/time_get.cc: New file.
1120 2001-09-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1122 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
1123 correct multilib builddir.
1124 Properly locate libgcc_s.
1126 2001-09-27 Phil Edwards <pme@gcc.gnu.org>
1128 * include/std/*: Add Doxygen hooks.
1129 * docs/doxygen/Intro.3: New file, general intro to the man pages.
1130 * docs/doxygen/mainpage.doxy: Formatting tweaks. List our own links
1131 rather than using a generated index.
1132 * docs/doxygen/user.cfg.in: Disable the index, enable man pages.
1133 * docs/doxygen/run_doxygen: Massage the generated man pages, using...
1134 * docs/doxygen/stdheader.cc: ...this new file.
1136 2001-09-26 Stan Shebs <shebs@apple.com>
1138 * include/Makefile.am: Remove RCS Id strings.
1139 * src/Makefile.am: Ditto.
1140 * docs/doxygen/run_doxygen: Ditto.
1141 * docs/html/configopts.html: Ditto.
1142 * docs/html/documentation.html: Ditto.
1143 * docs/html/explanations.html: Ditto.
1144 * docs/html/install.html: Ditto.
1145 * docs/html/17_intro/howto.html: Ditto.
1146 * docs/html/18_support/howto.html: Ditto.
1147 * docs/html/19_diagnostics/howto.html: Ditto.
1148 * docs/html/20_util/howto.html: Ditto.
1149 * docs/html/21_strings/howto.html: Ditto.
1150 * docs/html/22_locale/howto.html: Ditto.
1151 * docs/html/23_containers/howto.html: Ditto.
1152 * docs/html/24_iterators/howto.html: Ditto.
1153 * docs/html/25_algorithms/howto.html: Ditto.
1154 * docs/html/26_numerics/howto.html: Ditto.
1155 * docs/html/27_io/howto.html: Ditto.
1156 * docs/html/ext/howto.html: Ditto.
1157 * docs/html/ext/sgiexts.html: Ditto.
1158 * docs/html/faq/index.html: Ditto.
1159 * docs/html/faq/index.txt: Ditto.
1161 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
1163 * testsuite/21_strings/c_strings.cc (test01, test02): Increase
1166 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
1168 * docs/html/20_util/howto.html: Add anchor name.
1169 * docs/html/23_containers/howto.html: Line wrapping, another link.
1170 * docs/html/25_algorithms/howto.html: Another note.
1172 * docs/html/ext/howto.html: Link to SGI extensions. List DRs and
1174 * docs/html/ext/lwg-active.html: ...in this new file (from R19),
1175 * docs/html/ext/lwg-defects.html: and this new file (from R19).
1176 * docs/html/ext/sgiexts.html: New file. Mention SGI extensions
1177 carried over to libstdc++-v3.
1178 * docs/html/faq/index.html: Link to SGI extensions. Mention the
1179 "missing .." pseudobug.
1180 * docs/html/faq/index.txt: Regenerate.
1182 * include/bits/ios_base.h: DR-related comment cleanup.
1183 * include/bits/istream.tcc: Likewise.
1184 * include/bits/locale_facets.h: Likewise.
1185 * include/bits/locale_facets.tcc: Likewise.
1186 * include/bits/ostream.tcc: Likewise.
1187 * include/bits/std_bitset.h: Likewise.
1188 * include/bits/std_iosfwd.h: Likewise.
1189 * include/bits/std_istream.h: Likewise.
1190 * include/bits/std_ostream.h: Likewise.
1191 * include/bits/std_streambuf.h: Likewise.
1192 * include/bits/stl_pair.h: Likewise.
1193 * include/bits/streambuf_iterator.h: Likewise.
1195 * include/bits/std_map.h: Remove unused header inclusion guard
1196 _CPP_BITS_STL_TREE_H from around bits/stl_tree.h.
1197 * include/bits/std_set.h: Likewise.
1199 * include/bits/stl_function.h: Doxygen markup.
1200 * docs/doxygen/doxygroups.cc: New file, specifying module grouping.
1201 * libsupc++/typeinfo: Doxygen markup tweak.
1203 2001-09-20 Scott Johnston <scott@accom.com>
1204 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1206 * include/backward/alloc.h: Conditionally define malloc_alloc
1207 * testsuite/backward/header_deque_h.cc: New file.
1209 2001-09-20 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
1211 * libstdc++-v3/include/bits/locale_facets.tcc (money_put::do_put):
1212 change variable name so that it works with -fno-for-scope.
1214 2001-09-20 Benjamin Kosnik <bkoz@redhat.com>
1216 * testsuite/22_locale/numpunct_members_char.cc (test01): Remove
1217 redundant sanity checks.
1218 * testsuite/22_locale/money_put_members_wchar_t.cc (test01): Same.
1220 * testsuite/22_locale/money_put_members_char.cc (test01): Same.
1222 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test01): Same.
1223 * testsuite/22_locale/moneypunct_members_char.cc (test01): Same.
1224 * testsuite/22_locale/money_get_members_wchar_t.cc (test01): Same.
1226 * testsuite/22_locale/money_get_members_char.cc (test01): Same.
1229 2001-09-19 Benjamin Kosnik <bkoz@redhat.com>
1231 Implement std::time_put.
1232 * include/bits/locale_facets.h: Include time_members.h.
1234 (time_put): Implement.
1235 * include/bits/locale_facets.tcc (do_put): Put generic versions here.
1236 * include/bits/localefwd.h: Bump number of facets.
1237 * config/locale/time_members_generic.h: New file.
1238 * config/locale/time_members_gnu.h: New file.
1239 * config/locale/c_locale_generic.h: Include clocale.
1240 * src/locale-inst.cc: Add use_facet instantiations for __timepunct.
1241 * src/locale.cc: Add __timepunct initializations.
1242 * src/localename.cc (locale::_Impl::_Impl(string, size_t)): Same.
1243 * include/Makefile.am (stamp-target): Add time_members.h.
1244 * include/Makefile.in: Regenerate.
1245 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_H.
1246 * aclocal.m4: Regenerate.
1247 * configure: Regenerate.
1248 * testsuite/22_locale/time_put.cc: New file.
1249 * testsuite/22_locale/time_put_members_char.cc: New file.
1251 * docs/html/22_locale/locale.html: Add note.
1253 2001-09-17 Phil Edwards <pme@gcc.gnu.org>
1255 * docs/html/configopts.html: HTML to XHTML change. Lowercase tags.
1256 * docs/html/documentation.html: Likewise.
1257 * docs/html/explanations.html: Likewise.
1258 * docs/html/install.html: Likewise.
1259 * docs/html/17_intro/howto.html: Likewise.
1260 * docs/html/18_support/howto.html: Likewise.
1261 * docs/html/19_diagnostics/howto.html: Likewise.
1262 * docs/html/20_util/howto.html: Likewise.
1263 * docs/html/21_strings/howto.html: Likewise.
1264 * docs/html/22_locale/codecvt.html: Likewise.
1265 * docs/html/22_locale/ctype.html: Likewise.
1266 * docs/html/22_locale/howto.html: Likewise.
1267 * docs/html/22_locale/locale.html: Likewise.
1268 * docs/html/22_locale/messages.html: Likewise.
1269 * docs/html/23_containers/howto.html: Likewise.
1270 * docs/html/24_iterators/howto.html: Likewise.
1271 * docs/html/25_algorithms/howto.html: Likewise.
1272 * docs/html/26_numerics/howto.html: Likewise.
1273 * docs/html/27_io/howto.html: Likewise.
1274 * docs/html/ext/howto.html: Likewise.
1275 * docs/html/faq/index.html: Likewise.
1276 * docs/html/faq/index.txt: Regenerated.
1278 2001-09-14 Phil Edwards <pme@sources.redhat.com>
1280 * docs/html/17_intro/headers_cc.txt: "Sync"/copy real file over.
1281 * docs/html/17_intro/howto.html: Spacing and HTML markup fixes.
1282 * docs/html/18_support/howto.html: It won't compile; it's not code.
1283 * docs/html/19_diagnostics/howto.html: Point diagram seekers to
1285 * docs/html/22_locale/howto.html: Comment for future work.
1286 * docs/html/23_containers/howto.html: More comments.
1287 * docs/html/25_algorithms/howto.html: It's a comment, not a
1288 blunt command to the reader. (English grammar.)
1290 2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
1292 * config/locale/moneypunct_members_gnu.cc: Fix initialization of
1294 * testsuite/22_locale/money_get_members_wchar_t.cc (test02): New file.
1295 * testsuite/22_locale/money_put_members_wchar_t.cc (test02): Fix.
1297 2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
1299 * include/bits/locale_facets.tcc: Conditionalize use of strtold.
1301 2001-09-13 Alexandre Petit-Bianco <apbianco@redhat.com>
1303 * testsuite/22_locale/money_get_members_char.cc: Fixed typo in comment.
1304 * testsuite/22_locale/money_put_members_char.cc: Likewise.
1305 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
1307 2001-09-13 Benjamin Kosnik <bkoz@redhat.com>
1309 Implement std::money_get.
1310 * include/bits/locale_facets.tcc (money_get::do_get): Implement.
1311 * include/bits/locale_facets.h (money_get): Correct signatures.
1312 * testsuite/22_locale/money_get.cc: New file.
1313 * testsuite/22_locale/money_get_members_char.cc: New file.
1315 * include/bits/locale_facets.tcc (__verify_grouping): New
1316 function. Consolidate num_get and money_get group checking into
1318 (money_get): Use it.
1319 * src/locale.cc (num_get::_M_extract): Use it.
1320 * src/locale-inst.cc: Add instantiation.
1322 2001-09-12 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1324 * include/bits/std_limits.h (numeric_limits<float>::radix,
1325 numeric_limits<float>::epsilon: Fix thinko.
1327 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
1329 * configure.in: Fix cross compiling math routines. Correct
1330 comments for cross compiling and limits. Add floating point math
1331 routines found in newlib.
1332 * configure: Regenerate.
1333 * acconfig.h: Add macros.
1334 * config.h.in: Regenerate.
1336 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
1338 * config/locale/moneypunct_members_generic.cc
1339 (money_base::_S_construct_pattern): Remove unused parameters.
1341 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
1343 * include/Makefile.am (stamp-target): Remove link to self.
1344 * inclulde/Makefile.in: Regenerate.
1346 2001-09-09 Benjamin Kosnik <bkoz@redhat.com>
1348 Implement std::money_put.
1349 * include/bits/locale_facets.h
1350 (moneypunct::_M_initialize_moneypunct): Split up specializations
1351 to account for _Intl. More grody hacking to get around the
1352 ill-considered use of const bool as a template parameter.
1353 * config/locale/moneypunct_members_gnu.cc: And here.
1354 * config/locale/moneypunct_members_generic.cc: And here.
1355 * testsuite/22_locale/moneypunct_members_char.cc: Add tests.
1356 * testsuite/22_locale/moneypunct.cc: Add tests.
1357 * testsuite/22_locale/money_put_members_wchar_t.cc: New file.
1358 * testsuite/22_locale/moneypunct_members_wchar_t.cc: New file.
1360 * src/locale.cc (money_base::_S_construct_pattern): Move into
1362 * config/locale/moneypunct_members_gnu.cc: Add here.
1363 * config/locale/moneypunct_members_generic.cc: Add generic version
1366 * include/bits/locale_facets.tcc (money_put::do_put): Move member
1367 function definitions here.
1368 * include/bits/locale_facets.h (money_put): Implement.
1369 * src/locale-inst.cc: Add use_facet instantiations for moneypunct.
1370 Correct money_get, money_put instantiations.
1371 * src/locale.cc (money_base::_S_construct_pattern): Handle case
1373 * testsuite/22_locale/money_put_members_char.cc: Add tests.
1375 2001-09-05 Phil Edwards <pme@sources.redhat.com>
1377 * testsuite_flags.in: No longer need to search testsuite builddir.
1378 * src/stl-inst.cc (__sink_unused_warning): Unused, remove.
1379 * Makefile.am: The testsuite directory never needs to be made here.
1380 * Makefile.in: Regenerate.
1381 * include/Makefile.in: Regenerate.
1382 * libio/Makefile.in: Regenerate.
1383 * libmath/Makefile.in: Regenerate.
1384 * libsupc++/Makefile.in: Regenerate.
1385 * po/Makefile.in: Regenerate.
1386 * src/Makefile.in: Regenerate.
1387 * testsuite/Makefile.in: Regenerate.
1389 2001-09-04 Scott Johnston <scott@accom.com>
1390 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1392 * include/backward/iterator.h: Include <bits/std_iterator.h>,
1393 remove reverse_bidirectional_iterator.
1394 * testsuite/backward: New directory.
1395 * testsuite/backward/header_iterator_h.cc: New file.
1397 2001-09-04 Benjamin Kosnik <bkoz@redhat.com>
1399 * include/c_std/bits/std_c*.h: Don't use include_next.
1401 2001-09-03 Richard Sandiford <rsandifo@redhat.com>
1403 * libsupc++/eh_personality.cc (parse_lsda_header): Change type of
1404 tmp from _Unwind_Ptr to _Unwind_Word.
1406 2001-08-31 Jason Merrill <jason_merrill@redhat.com>
1408 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Simplify
1411 2001-08-28 Loren J. Rittle <ljrittle@acm.org>
1413 * include/Makefile.am: Use toplevel_srcdir to refer to src files
1414 outside this component.
1415 * include/Makefile.in: Regenerate.
1417 2001-08-27 Benjamin Kosnik <bkoz@redhat.com>
1419 * config/locale/c_locale_gnu.cc: Move facet info to separate files...
1420 * config/locale/c_locale_generic.cc: Same.
1421 * config/locale/moneypunct_members_gnu.cc: New file.
1422 * config/locale/moneypunct_members_generic.cc: New file.
1423 * config/locale/numpunct_members_gnu.cc: New file.
1424 * config/locale/numpunct_members_generic.cc: New file.
1425 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add moneypunct, numpunct
1427 * aclocal.m4: Regenerate.
1428 * configure: Regenerate.
1429 * src/Makefile.am (sources): And here.
1430 * src/Makefile.in: Regenerate.
1432 Rename for consistency with rest of testsuite.
1433 * testsuite/22_locale/codecvt.cc: New file.
1434 * testsuite/22_locale/money_put.cc: New file.
1435 * testsuite/22_locale/money_put_members_char.cc: New file.
1437 2001-08-27 Phil Edwards <pme@sources.redhat.com>
1440 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Handle enable/disable
1441 correctly for version-specific-runtime-libs.
1442 * aclocal.m4: Regenerate.
1443 * configure: Regenerate.
1445 2001-08-24 Loren J. Rittle <ljrittle@acm.org>
1447 * config/cpu/i386/bits/limits.h (__glibcpp_long_double_bits): Only
1448 define if not already provided by per-OS file.
1449 * config/os/bsd/freebsd/bits/os_defines.h (__glibcpp_long_double_bits):
1452 2001-08-24 Jan van Male <jan.vanmale@fenk.wau.nl>
1454 * docs/html/17_intro/C++STYLE: Fix typo.
1456 2001-08-24 Phil Edwards <pme@sources.redhat.com>
1458 * docs/html/23_containers/howto.html: Describe implementation of
1459 insertion with hints.
1461 2001-08-24 Kenny Simpson <kenny.simpson@gs.com>
1464 * include/bits/std_sstream.h (basic_ostringstream): Fix ctor.
1466 2001-08-24 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
1467 Phil Edwards <pme@sources.redhat.com>
1470 * include/bits/stl_tree.h (insert_unique): Revert last change.
1471 Values inserted at begin() must be less, not greater, than *begin()'s.
1472 * testsuite/23_containers/map_insert.cc: New file.
1474 2001-08-23 Benjamin Kosnik <bkoz@redhat.com>
1476 * config/locale/c_locale_gnu.cc: Minor tweaks.
1477 (moneypunct<wchar_t>): Implement.
1478 * include/bits/locale_facets.h: Same.
1479 * testsuite/22_locale/moneypunct.cc: New file.
1480 * testsuite/22_locale/moneypunct_byname.cc: New file.
1481 * testsuite/22_locale/moneypunct_char_members.cc: New file.
1483 2001-08-23 David Edelsohn <edelsohn@gnu.org>
1485 * config/os/gnu-linux/bits/os_defines.h: Correct __s390__ definitions.
1486 Set __powerpc__ long double definition based on __LONG_DOUBLE_128__.
1488 2001-08-23 Jason Merrill <jason_merrill@redhat.com>
1490 * testsuite_flags.in (build-includes): Re-add backward.
1492 2001-08-22 Benjamin Kosnik <bkoz@redhat.com>
1494 * testsuite/22_locale/collate_wchar_t_members.cc: Guard
1495 with _GLIBCPP_USE_WCHAR_T.
1497 2001-08-21 Benjamin Kosnik <bkoz@redhat.com>
1499 * testsuite/22_locale/collate_byname.cc (test01): Fix.
1501 2001-08-18 Vladimir A Merzliakov <wanderer@rsu.ru>
1503 * include/bits/locale_facets.tcc (collate::do_transform): Add typename.
1505 2001-08-18 Benjamin Kosnik <bkoz@redhat.com>
1507 * testsuite/22_locale/operators.cc: Add test.
1509 2001-08-17 Benjamin Kosnik <bkoz@redhat.com>
1511 Implement std::collate.
1512 * config/locale/collate_specializations_gnu.cc: Add here, implement in
1514 * config/locale/collate_specializations_generic.cc: Add here, but
1515 in a less sophisticated manner.
1516 * include/bits/locale_facets.tcc (collate): Add generic definition.
1517 * include/bits/locale_facets.h (~collate): Mark virtual.
1518 (collate::_M_compare_helper): New.
1519 (collate::_M_transform_helper): New.
1520 * src/locale.cc: Remove unnecessary specializations.
1521 * src/string-inst.cc: Tweak instantiation of ctors.
1523 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Do configury for collate.
1524 * aclocal.m4: Regenerate.
1525 * configure: Regenerate.
1526 * src/Makefile.am (sources): Add collate.cc.
1527 * src/Makefile.in: Regenerate.
1529 * testsuite/22_locale/collate_byname.cc: New.
1530 * testsuite/22_locale/collate.cc: New file.
1531 * testsuite/22_locale/collate_char_members.cc: New file.
1532 * testsuite/22_locale/collate_wchar_t_members.cc: New file.
1534 2001-08-16 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1536 * configure.target: Set LIMITSH for powerpc-*-*.
1537 * config/cpu/powerpc/bits/limits.h: New file.
1539 2001-08-16 Marc Espie <espie@openbsd.org>
1541 * configure.in: Check for <sys/types.h>.
1542 * configure: Rebuild.
1543 * config.h.in: Rebuild.
1544 * libmath/mathconf.h: Include <sys/types.h> prior to
1545 <machine/endian.h> if available.
1547 2001-08-15 Andreas Schwab <schwab@suse.de>
1549 * configure.target (cpu_include_dir): Set to `config/cpu/m68k' for
1550 m68k and m680[246]0.
1551 * config/cpu/m68k/bits/atomicity.h: New file.
1553 * include/bits/std_limits.h [__glibcpp_long_double_bits == 96]:
1554 Define appropriate long double limits for m68k extended floating
1556 (__glibcpp_f32_digits10): Corrected, off by one.
1557 (__glibcpp_f80_digits10): Likewise.
1558 (__glibcpp_f128_digits10): Likewise.
1559 * config/os/gnu-linux/bits/os_defines.h
1560 (__glibcpp_long_double_bits) [__mc68000__]: Define to 96.
1562 2001-08-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1564 * testsuite/18_support/numeric_limits.cc: Add more tests.
1565 * include/bits/std_limits.h (numeric_limits<char>::max): Fix
1568 2001-08-14 Ulrich Weigand <uweigand@de.ibm.com>
1570 * configure.target (cpu_include_dir): Set to `config/cpu/s390'
1573 * config/cpu/s390/bits/atomicity.h: New.
1575 2001-08-14 Gabriel Dos Reis <gdr@codesourcery.com>
1577 * include/bits/std_limits.h: Fix thinko.
1579 2001-08-14 Benjamin Kosnik <bkoz@redhat.com>
1581 * include/Makefile.am: Consolidate target rules. Don't clean stamp
1582 files. Tweak target build directory stamp.
1583 * include/Makefile.in: Regenerate.
1585 2001-08-14 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1587 * libstdc++-v3/libmath/stubs.c: Fix PR/3988, replace
1588 _GBLICPP_HAVE_LOGL with HAVE_LOGL
1590 2001-08-13 Benjamin Kosnik <bkoz@redhat.com>
1592 * configure.in (libtool_VERSION): Add.
1593 (VERSION): Change to
1594 (release_VERSION): This.
1595 * configure: Regenerate.
1596 * src/Makefile.am (libstdc___la_LDFLAGS): Use -version-info with
1598 * src/Makefile.in: Regenerate.
1600 * intl/Makefile.am: Remove.
1601 * intl/Makefile.in: Remove.
1603 * Makefile.am (SUBDIRS): Remove intl.
1604 * po/Makefile.am (DISTFILES): Add string_literals.cc
1606 * po/string_literals.cc: Add.
1607 * po/POTFILES.in: Fix path.
1608 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't call AM_GNU_GETTEXT.
1609 * aclocal.m4: Regenerate.
1610 * configure.in: Remove AC_OUTPUT of intl/Makefile.
1612 * include/backward/backward_warning.h: Clarify message.
1614 * testsuite_flags.in (--cxxflags): Use same debug flags for
1615 library and testsuite.
1617 * include/Makefile.am (c_compatibility): Remove.
1618 * include/Makefile.in: Regenerate.
1620 2001-08-13 Mark Mitchell <mark@codesourcery.com>
1622 * configure.in (LIMITS_INC_SRCDIR): New variable.
1623 * configure.target (LIMITSH): New variable.
1624 * porting.texi: Discuss numeric limits.
1625 * config/cpu/generic/bits/limits.h: New file.
1626 * config/cpu/i386/bits/limits.h: New file.
1627 * include/Makefile.am: Install bits/limits.h.
1628 * include/bits/c++config: Include bits/limits.h.
1630 2001-08-13 H.J. Lu (hjl@gnu.org)
1632 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-copy-files):
1634 (libstdc++-v3-init ): Use it.
1636 2001-08-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1638 * include/bits/ostream.tcc (__pad_char): Change toplevel '__fmt'
1639 to '__adjust' to avoid shadowing in nested scope.
1641 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1643 * include/bits/std_limits.h(__glibcpp_char_is_signed): Use
1646 * config/os/gnu-linux/bits/os_defines.h(__glibcpp_char_is_signed):
1648 * config/os/aix/bits/os_defines.h(__glibcpp_plain_char_is_signed):
1651 2001-08-10 Loren J. Rittle <ljrittle@acm.org>
1653 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Add
1654 dummy default argument to the non-limit implementation.
1657 * include/Makefile.am: Use relative file path in rule to allow
1659 * include/Makefile.in: Rebuilt.
1661 2001-08-10 Gunter Winkler <gunter.winkler@mathematik.tu-chemnitz.de>
1663 * include/bits/std_complex.h (complex<long double>::operator*=,
1664 complex<long double>::operator/=): Fix thinko.
1666 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1668 * include/bits/std_limits.h: New file.
1669 * include/Makefile.am (bits_headers): Add std_limits.h
1670 (all-local): std_limits.h is no longer built.
1671 (${target_builddir}/std_limits.h): Remove.
1672 * include/Makefile.in: Regenerate.
1673 * src/limits.cc: New file.
1674 * src/Makefile.am (sources): Add limits.cc in replacement of
1676 * src/Makefile.in: Regenerate.
1678 2001-08-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1680 * src/gen-num-limits.cc (digits10): Fix thinko.
1682 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
1684 * po/Makefile.am (check-no): Add.
1686 * po/Makefile.in: Regenerate.
1688 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
1690 * acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
1691 * config.h.in: Regenerate.
1692 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT): Check for setrlimit
1694 * aclocal.m4: Regenerate.
1695 * configure.in: Remove duplicate AM_CONFIG_HEADER.
1696 (AM_CONFIG_HEADER): Remove testsuite/testsuite_hooks.h.
1697 Only call GLIBCPP_CHECK_SETRLIMIT for native compiles.
1698 * configure: Regenerate.
1699 * testsuite_hooks.h.in: Move to...
1700 * testsuite_hooks.h: Here, include c++config.h. Use it.
1702 * Makefile.am (SUBDIRS): Move testsuite to last directory.
1703 * Makefile.in: Regenerate.
1704 * po/Makefile.am (stamp-po): Add.
1706 2001-08-09 David Edelsohn <edelsohn@gnu.org>
1708 * config/os/aix/bits/os_defines.h: Define std_limits.h macros.
1709 * config/os/generic/bits/os_defines.h: Likewise.
1710 * config/os/gnu-linux/bits/os_defines.h: Likewise.
1711 * config/os/hpux/bits/os_defines.h: Likewise.
1712 * config/os/irix/irix6.5/bits/os_defines.h: Likewise.
1713 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
1715 2001-08-08 Benjamin Kosnik <bkoz@redhat.com>
1717 * src/Makefile.am (libstdc___la_LDFLAGS): Use -release instead of
1718 -version-info, use substituted VERSION info.
1719 * src/Makefile.in: Regenerate.
1721 2001-08-07 Benjamin Kosnik <bkoz@redhat.com>
1723 Implement std::messages.
1724 Make config a fully-nested directory.
1725 * config/locale: New directory.
1726 * config/c_locale_generic.cc: Move into locale subdirectory.
1727 * config/c_locale_generic.h: Same.
1728 * config/c_locale_gnu.cc: Same.
1729 * config/c_locale_gnu.h: Same.
1730 * config/c_locale_ieee_1003.1-200x.cc: Same.
1731 * config/c_locale_ieee_1003.1-200x_.h: Same.
1732 * config/codecvt_specializations_generic.h: Same.
1733 * config/codecvt_specializations_ieee_1003.1-200x.h: Same.
1734 * config/messages_members_gnu.h: Same.
1735 * config/messaages_members_gnu.cc: Same.
1736 * config/messages_members_generic.h: Same.
1737 * config/messaages_members_generic.cc: Same.
1738 * config/messages_members_ieee_1003.1-200x.h: Same.
1739 * config/messaages_members_ieee_1003.1-200x.cc: Same.
1740 * config/io: New directory.
1741 * config/basic_file_libio.h: Move into io subdirectory.
1742 * config/basic_file_libio.cc: Same.
1743 * config/c_io_libio.h: Same.
1744 * config/c_io_libio_codecvt.c: Same.
1745 * config/basic_file_stdio.h: Same.
1746 * config/basic_file_stdio.cc: Same.
1747 * config/c_io_stdio.h: Same.
1749 * po: New directory.
1750 * po/POTFILES.in: New file.
1751 * po/Makefile.am: New file.
1752 * po/Makefile.in: New file.
1753 * po/libstdc++.pot: Generic translation file.
1754 * po/fr.po: Preliminary French translation.
1755 * po/de.po: Preliminary German translation.
1756 * intl: New directory.
1757 * intl/Makefile.am: New file.
1758 * intl/Makefile.in: New file.
1759 * intl/string_literals.cc: New file.
1760 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump VERSION to 3.1.0. Add
1761 requisite setup for gettext. Re-arrange.
1762 * aclocal.m4: Regenerate.
1763 * configure.in: Don't call GLIBCPP_CHECK_COMPILER_VERSION.
1764 Output Makefile bits for po and intl.
1765 * configure: Regenerate.
1766 * Makefile.am (SUBDIRS): Add intl, po. Add rule for dist.
1767 * Makefile.in: Regenerate.
1768 * acconfig.h: Add ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY.
1769 * config.h.in: Regenerate.
1771 * acinclude.m4 (AC_REPLACE_STRINGFUNCS): Remove.
1773 * include/Makefile.am (install-data-local): Don't install Makefile.
1774 * include/Makefile.in: Regenerate.
1776 * include/bits/locale_facet.h (locale::facet::_S_clone_c_locale):
1778 * config/locale/c_locale_gnu.cc (_S_clone_c_locale): Add definition.
1779 * config/locale/c_locale_generic.cc: Same.
1780 * config/locale/c_locale_ieee_1003.1-200x.cc: Same.
1782 * include/bits/codecvt.h: Excise non-standard, non-required
1783 bits. This includes __enc_traits, and partial specializations of
1784 codecvt for __enc_traits.
1785 * src/codecvt.cc (__enc_traits::_S_max_size): Guard
1786 * config/codecvt_partials_ieee_1003.1-200x.h: New file.
1787 * config/codecvt_partials_generic.h: New file.
1788 * include/Makefile.am (allstamps): Add stamp-codecvt_model.
1789 (stamp-codecvt_model): Add.
1790 * include/Makefile.in: Regenerate.
1791 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in codecvt configury.
1792 * aclocal.m4: Regenerate.
1793 * configure: Regenerate.
1794 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Use macro guard.
1795 * testsuite/22_locale/codecvt_unicode_char.cc: Same.
1796 * testsuite/22_locale/ctor_copy_dtor.cc: And here.
1798 * include/bits/localefwd.h (class locale::facet): Add __enc_traits
1799 as a friend for _S_*_c_locale functions.
1800 * include/bits/codecvt.h (__enc_traits::__enc_traits): Add locale
1801 argument to default constructor so that CODESET information can be
1803 * include/bits/locale_facets.h (messages_byname):
1804 Re-implement. Remove specializations.
1805 * src/locale.cc (messages_byname<char>): Remove specialization.
1806 (messages_byname<wchar_t>): Same.
1807 * config/locale/c_locale_ieee_1003.1-200x.cc: New file.
1808 * config/locale/c_locale_ieee_1003.1-200x.h: New file.
1809 * config/locale/messages_members_ieee_1003.1-200x.cc: New file.
1810 * config/locale/messages_members_ieee_1003.1-200x.h: New file.
1811 * config/locale/messages_members_gnu.cc: New file.
1812 * config/locale/messages_members_gnu.h: New file.
1813 * config/locale/messages_members_generic.cc: New file.
1814 * config/locale/messages_members_generic.h: New file.
1816 * docs/html/configopts.html: Add documentation for new locale
1817 model, ieee_1003.1. Adjust other flags for current defaults.
1818 * docs/html/22_locale/locale.html: Update.
1819 * docs/html/22_locale/howto.html: Add link to messages.html. Organize.
1820 * docs/html/22_locale/messages.html: New.
1822 * src/Makefile.am (sources): Add messages_virtuals.cc.
1823 * src/Makefile.in: Regenerate.
1824 * include/Makefile.am (allstamps): Add stamp-messages_model.
1825 (stamp-messages_model): Add.
1826 * include/Makefile.in: Regenerate.
1827 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in messages configury.
1828 * aclocal.m4: Regenerate.
1829 * configure: Regenerate.
1831 * testsuite_flags.in (--cxxflags): Add LOCALEDIR.
1832 * testsuite/lib/libstdc++-v3-dg.exp: Remove broken LD_LIBRARY_PATH
1834 * acinclude (GLIBCPP_ENABLE_CLOCALE): Set glibcpp_localedir to the
1835 build directories message catalog base directory, and export.
1836 Eventually this should probably be made to deal with build and
1837 install directories. For now, punt on this as the library itself
1838 doesn't use message catalogs (yet).
1839 * testsuite/22_locale/messages.cc: New file.
1840 * testsuite/22_locale/messages_char_members.cc: New file.
1841 * testsuite/22_locale/messages_byname.cc: New file.
1843 2001-08-06 Phil Edwards <pme@sources.redhat.com>
1845 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls...
1846 (GLIBCPP_CHECK_SETRLIMIT): ...this new macro, which also uses...
1847 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): ...this new macro.
1848 * configure.in (AM_CONFIG_HEADER): Also generate testsuite_hooks.h.
1849 Call GLIBCPP_CONFIGURE_TESTSUITE.
1850 * aclocal.m4: Regenerate.
1851 * config.h.in: Regenerate.
1852 * configure: Regenerate.
1854 * testsuite/lib/libstdc++-v3-dg.exp: Download new header instead
1857 * testsuite_flags.in: Add build dir's testsuite to INCLUDES.
1858 * testsuite/debug_assert.h: Removed; contents merged into...
1859 * testsuite/testsuite_hooks.h.in: ...here. New file.
1860 * testsuite/17_intro/header_ciso646.cc: No longer include
1861 debug_assert.h, include testsuite_hooks.h instead.
1862 * testsuite/17_intro/header_fstream.cc: Likewise.
1863 * testsuite/17_intro/header_iomanip.cc: Likewise.
1864 * testsuite/17_intro/header_ios.cc: Likewise.
1865 * testsuite/17_intro/header_iosfwd.cc: Likewise.
1866 * testsuite/17_intro/header_iostream.cc: Likewise.
1867 * testsuite/17_intro/header_istream.cc: Likewise.
1868 * testsuite/17_intro/header_ostream.cc: Likewise.
1869 * testsuite/17_intro/header_sstream.cc: Likewise.
1870 * testsuite/17_intro/header_streambuf.cc: Likewise.
1871 * testsuite/18_support/numeric_limits.cc: Likewise.
1872 * testsuite/19_diagnostics/stdexceptions.cc: Likewise.
1873 * testsuite/20_util/allocator_members.cc: Likewise.
1874 * testsuite/20_util/auto_ptr.cc: Likewise.
1875 * testsuite/20_util/pairs.cc: Likewise.
1876 * testsuite/21_strings/append.cc: Likewise.
1877 * testsuite/21_strings/capacity.cc: Likewise.
1878 * testsuite/21_strings/char_traits_requirements.cc: Likewise.
1879 * testsuite/21_strings/compare.cc: Likewise.
1880 * testsuite/21_strings/ctor_copy_dtor.cc: Likewise. Also set up
1881 call to (disabled) __set_testsuite_memlimit() wrapper.
1882 * testsuite/21_strings/element_access.cc: Likewise.
1883 * testsuite/21_strings/find.cc: Likewise.
1884 * testsuite/21_strings/insert.cc: Likewise. Also set up call to
1885 (disabled) __set_testsuite_memlimit() wrapper.
1886 * testsuite/21_strings/inserters_extractors.cc: Likewise.
1887 * testsuite/21_strings/invariants.cc: Likewise.
1888 * testsuite/21_strings/nonmember.cc: Likewise.
1889 * testsuite/21_strings/operations.cc: Likewise.
1890 * testsuite/21_strings/replace.cc: Likewise.
1891 * testsuite/21_strings/rfind.cc: Likewise.
1892 * testsuite/21_strings/substr.cc: Likewise.
1893 * testsuite/22_locale/codecvt_char_char.cc: Likewise.
1894 * testsuite/22_locale/codecvt_unicode_char.cc: Likewise.
1895 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Likewise.
1896 * testsuite/22_locale/codecvt_wchar_t_char.cc: Likewise.
1897 * testsuite/22_locale/ctor_copy_dtor.cc: Likewise.
1898 * testsuite/22_locale/ctype_char_members.cc: Likewise.
1899 * testsuite/22_locale/ctype_wchar_t_members.cc: Likewise.
1900 * testsuite/22_locale/facet.cc: Likewise.
1901 * testsuite/22_locale/global_templates.cc: Likewise.
1902 * testsuite/22_locale/members.cc: Likewise.
1903 * testsuite/22_locale/numpunct_byname.cc: Likewise.
1904 * testsuite/22_locale/numpunct_char_members.cc: Likewise.
1905 * testsuite/22_locale/operators.cc: Likewise.
1906 * testsuite/22_locale/static_members.cc: Likewise.
1907 * testsuite/23_containers/bitset_ctor.cc: Likewise.
1908 * testsuite/23_containers/bitset_members.cc: Likewise.
1909 * testsuite/23_containers/bitset_shift.cc: Likewise.
1910 * testsuite/23_containers/vector_capacity.cc: Likewise.
1911 * testsuite/23_containers/vector_ctor.cc: Likewise.
1912 * testsuite/23_containers/vector_element_access.cc: Likewise.
1913 * testsuite/23_containers/vector_modifiers.cc: Likewise.
1914 * testsuite/24_iterators/istreambuf_iterator.cc: Likewise.
1915 * testsuite/24_iterators/iterator.cc: Likewise.
1916 * testsuite/24_iterators/ostreambuf_iterator.cc: Likewise.
1917 * testsuite/25_algorithms/binary_search.cc: Likewise.
1918 * testsuite/25_algorithms/copy.cc: Likewise.
1919 * testsuite/25_algorithms/heap.cc: Likewise.
1920 * testsuite/25_algorithms/lower_bound.cc: Likewise.
1921 * testsuite/25_algorithms/min_max.cc: Likewise.
1922 * testsuite/25_algorithms/partition.cc: Likewise.
1923 * testsuite/25_algorithms/rotate.cc: Likewise.
1924 * testsuite/25_algorithms/sort.cc: Likewise.
1925 * testsuite/26_numerics/c_math.cc: Likewise.
1926 * testsuite/26_numerics/complex_inserters_extractors.cc: Likewise.
1927 * testsuite/26_numerics/complex_value.cc: Likewise.
1928 * testsuite/27_io/filebuf.cc: Likewise.
1929 * testsuite/27_io/filebuf_members.cc: Likewise.
1930 * testsuite/27_io/filebuf_virtuals.cc: Likewise.
1931 * testsuite/27_io/fpos.cc: Likewise.
1932 * testsuite/27_io/fstream_members.cc: Likewise.
1933 * testsuite/27_io/ifstream_members.cc: Likewise.
1934 * testsuite/27_io/ios_base_callbacks.cc: Likewise.
1935 * testsuite/27_io/ios_base_members_static.cc: Likewise.
1936 * testsuite/27_io/ios_base_storage.cc: Likewise.
1937 * testsuite/27_io/ios_ctor.cc: Likewise.
1938 * testsuite/27_io/ios_init.cc: Likewise.
1939 * testsuite/27_io/ios_manip_basefield.cc: Likewise.
1940 * testsuite/27_io/ios_manip_fmtflags.cc: Likewise.
1941 * testsuite/27_io/ios_members.cc: Likewise.
1942 * testsuite/27_io/istream_extractor_arith.cc: Likewise.
1943 * testsuite/27_io/istream_extractor_char.cc: Likewise.
1944 * testsuite/27_io/istream_extractor_other.cc: Likewise.
1945 * testsuite/27_io/istream_manip.cc: Likewise.
1946 * testsuite/27_io/istream_seeks.cc: Likewise.
1947 * testsuite/27_io/istream_sentry.cc: Likewise.
1948 * testsuite/27_io/istream_unformatted.cc: Likewise.
1949 * testsuite/27_io/istringstream_members.cc: Likewise.
1950 * testsuite/27_io/narrow_stream_objects.cc: Likewise.
1951 * testsuite/27_io/ofstream_members.cc: Likewise.
1952 * testsuite/27_io/ostream_inserter_arith.cc: Likewise.
1953 * testsuite/27_io/ostream_inserter_char.cc: Likewise.
1954 * testsuite/27_io/ostream_inserter_other.cc: Likewise.
1955 * testsuite/27_io/ostream_manip.cc: Likewise.
1956 * testsuite/27_io/ostream_seeks.cc: Likewise.
1957 * testsuite/27_io/ostream_unformatted.cc: Likewise.
1958 * testsuite/27_io/ostringstream_members.cc: Likewise.
1959 * testsuite/27_io/streambuf.cc: Likewise.
1960 * testsuite/27_io/stringbuf.cc: Likewise.
1961 * testsuite/27_io/stringbuf_virtuals.cc: Likewise.
1962 * testsuite/27_io/stringstream.cc: Likewise.
1963 * testsuite/27_io/stringstream_members.cc: Likewise.
1964 * testsuite/27_io/wide_stream_objects.cc: Likewise.
1966 2001-07-31 Loren J. Rittle <ljrittle@acm.org>
1968 * src/gen-num-limits.cc: Use __LONG_LONG_MAX__.
1970 2001-07-30 Benjamin Kosnik <bkoz@redhat.com>
1972 * configure.target: Remove mips from cpu table.
1973 * config/cpu/mips/bits/atomicity.h: Remove generic
1974 versions. Comment sgidefs include.
1976 2001-07-25 H.J. Lu <hjl@gnu.org>
1978 * configure.target (cpu_include_dir): Set to `config/cpu/mips'
1981 * config/cpu/mips/bits/atomicity.h: New.
1983 2001-07-25 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1985 * acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf,
1986 hypotl, atan2f, atan2l. Remove from REPLACE_MATHFUNCS list.
1987 * aclocal.m4: Regenerate.
1988 * config.h.in: Likewise.
1989 * configure: Likewise.
1990 * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove hypotl.c
1991 (EXTRA_DIST): Remove hypot.c hypotf.c.
1992 * libmath/Makefile.am: Regenerate.
1993 * libmath/hypotf.c: Remove.
1994 * libmath/hypot.c: Likewise.
1995 * libmath/hypotl.c: Likewise.
1996 * libmath/stubs.c: The macros seen here are HAVE_xxx, not
1997 _GLIBCPP_HAVE_xxx. Add long double versions.
1999 2001-07-23 David Edelsohn <edelsohn@gnu.org>
2001 * include/bits/limits_generic.h (int): Set digits and digits10
2002 appropriately for word size.
2003 (unsigned int,long,unsigned long): Likewise.
2005 2001-07-19 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2007 * include/bits/stl_algo.h : Fix typos.
2008 * testsuite/25_algorithms/unique.cc: New file.
2010 2001-07-19 Phil Edwards <pme@sources.redhat.com>
2011 Mark Mitchell <mark@codesourcery.com>
2013 Merge from cp-parser-branch.
2014 * include/bits/basic_string.h: Qualify symbols with 'template'.
2015 * include/bits/basic_string.tcc: Likewise.
2016 * include/bits/fstream.tcc: Likewise.
2017 * include/bits/istream.tcc: Likewise.
2018 * include/bits/sstream.tcc: Likewise.
2019 * include/bits/std_istream.h: Likewise.
2020 * include/bits/stl_iterator.h: Likewise.
2021 * include/bits/streambuf.tcc: Likewise.
2022 * src/gen-num-limits.cc: Add 'template<>' to specializations.
2023 * src/locale.cc: Likewise.
2025 2001-07-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2026 Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
2028 * src/gen-num-limits.cc (set_signals_handler): New function.
2029 Factor out signals setting. Set signal handler for SIGILL.
2031 2001-07-18 Phil Edwards <pme@sources.redhat.com>
2033 * docs/html/27_io/howto.html: Fix typo.
2034 * docs/html/faq/index.html: Minor updates for 3.0 all around.
2035 * docs/html/faq/index.txt: Regenerated.
2037 2001-07-18 Stephen M. Webb <stephen@bregmasoft..com>
2038 Roman Sulzhyk <roman_sulzhyk@yahoo.com>
2041 * include/bits/ostream.tcc (ostream::put): Fixed error condition check.
2042 * testsuite/27_io/streambuf.cc (test07): Added new regression test.
2044 2001-07-17 Stephen M. Webb <stephen@bregmasoft.com>r
2046 All occurrences of the __value_type() and __distance_type()
2047 functions, which were required to support the HP STL, have been
2048 removed along with all the auxiliary forwarding functions that
2049 were required to support their use.
2051 The __iterator_category() function was pretty much left alone
2052 because there was no benefit to removing it and its use made code
2053 just a little more readable.
2055 Incidences of distance() with nonstandard argument list were
2056 replaced by calls to the standard function (only in the files
2057 affected by the removal of the other HP functions).
2059 The signature of the rotate() algorithm was changed to match the
2062 Headers were reformatted under C++STYLE guidelines (indentation,
2063 linebreaks, typename keyword).
2065 * include/bits/stl_algo.h: replaced __value_type() and
2066 __distance_type() with iterator_traits, eliminated auxiliary
2067 support functions required to support said function usage.
2068 Changed nonstandard distance() call to standard call.
2070 * include/bits/stl_algobase.h: Same.
2071 * include/bits/stl_heap.h: Same.
2072 * include/bits/stl_numeric.h: Same.
2073 * include/bits/stl_uninitialized.h: Same.
2074 * include/bits/stl_iterator_base_types.h (__value_type()):
2076 (__distance_type()): Removed.
2077 (value_type()): Gone.
2078 (distance_type()): Done in.
2079 (iterator_category()): Hasta la vista, baby.
2081 * include/bits/stl_iterator_base_funcs.h (iterator_category()):
2082 Replaced with __iterator_category().
2083 * include/backward/iterator.h: moved definition of value_type(),
2084 distance_type(), and iterator_category() out of std:: and into
2086 * testsuite/23_containers/vector_ctor.cc (test03): New testcases.
2087 * testsuite/23_containers/vector_modifiers.cc (test03): New testcases.
2088 * testsuite/25_algorithms/rotate.cc: New testcase.
2089 * testsuite/25_algorithms/copy.cc: New testcase.
2090 * testsuite/25_algorithms/sort.cc: Same.
2091 * testsuite/25_algorithms/heap.cc: Same.
2092 * testsuite/25_algorithms/partition.cc: Same.
2093 * testsuite/25_algorithms/binary_search.cc: Same.
2094 * testsuite/26_numerics/sum_diff.cc: Ditto.
2096 001-07-17 Benjamin Kosnik <bkoz@redhat.com>
2098 * testsuite/README: Add notes on naming test cases.
2099 * testsuite/22_locale/members.cc: Mark as xfail.
2100 * testsuite/22_locale/numpunct_char_members.cc: Same.
2102 2001-07-16 Stephen M. Webb <stephen@bregmasoft.com>
2104 * acinclude.m4 (GLIBCPP_ENABLE_CHEADERS): Use glibcpp_srcdir when
2105 setting C_INCLUDE_DIR.
2106 * configure.in: Revert yesterday's LN_S change.
2107 * aclocal.m4: Regenerate.
2108 * configure: Regenerate.
2110 2001-07-15 Phil Edwards <pme@sources.redhat.com>
2112 * configure.in: Temporarily force LN_S to copy instead of symlink.
2113 * configure: Regenerate.
2115 2001-07-13 Phil Edwards <pme@sources.redhat.com>
2117 * include/bits/std_sstream.h (basic_stringbuf::basic_stringbuf(string):
2118 Initialize _M_string with pointer-and-size constructor, not just
2119 pointer. Fix some comments.
2120 * testsuite/21_strings/ctor_copy_dtor.cc (test03): New test.
2121 * testsuite/27_io/stringbuf.cc (test02): Remove unused variable.
2122 (test03): Add embedded-NUL tests.
2124 * mkcheck.in: When printing totals, match the order of the tests.
2125 * include/bits/stringfwd.h: Use same declaration keywords.
2126 * include/bits/std_iosfwd.h: Cosmetic spacing.
2128 2001-07-13 Stephen M. Webb <stephen@bregmasoft.com>
2129 Loren J. Rittle <ljrittle@acm.org>
2130 Phil Edwards <pme@sources.redhat.com>
2132 * include/Makefile.am: New file encapsulating header generation rules.
2133 * Makefile.am (SUBDIRS): Prepend 'include' directory.
2134 * acinclude.m4: Moved/removed rules for building various headers.
2135 * configure.in (AC_OUTPUT): Add include/Makefile.
2136 * mkc++config: Removed.
2138 * testsuite_flags.in: Changed build-includes to match new scheme.
2139 * mknumeric_limits: Likewise.
2140 * libio/Makefile.am: Changed INCLUDES to maatch new header scheme.
2141 * libmath/Makefile.am: Likewise.
2142 * libsupc++/Makefile.am: Likewise.
2143 * src/Makefile.am: Likewise; removed rules to build headers.
2144 * libmath/mathconf.h: Changed #include'd header names to match.
2145 * libmath/stubs.c: Likewise.
2146 * src/gen-num-limits.cc: Likewise.
2148 * configure: Regenerated.
2149 * config.h.in: Regenerated.
2150 * aclocal.m4: Regenerated.
2151 * Makefile.in: Regenerated.
2152 * include/Makefile.in: Regenerated.
2153 * libio/Makefile.in: Regenerated.
2154 * libmath/Makefile.in: Regenerated.
2155 * libsupc++/Makefile.in: Regenerated.
2156 * src/Makefile.in: Regenerated.
2157 * testsuite/Makefile.in: Regenerated.
2159 2001-07-11 Felix Natter <fnatter@gmx.net>
2161 * docs/html/17_intro/porting-howto.xml: Initial checkin of
2163 * docs/html/17_intro/porting-howto.html: check in v0.9.3
2165 2001-07-11 Phil Edwards <pme@sources.redhat.com>
2167 * docs/doxygen/run_doxygen: Don't keep output from previous run.
2168 * docs/doxygen/user.cfg.in: Tweaks.
2169 * include/bits/c++config: Documentation comments for Doxygen.
2170 * include/bits/char_traits.h: Likewise.
2171 * include/bits/limits_generic.h: Likewise.
2172 * include/bits/std_stdexcept.h: Likewise.
2173 * include/bits/stl_pair.h: Likewise.
2174 * libsupc++/exception: Likewise.
2175 * libsupc++/new: Likewise.
2176 * libsupc++/typeinfo: Likewise.
2177 * libmath/Makefile.am: Update and correct copyright.
2179 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2181 * acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
2182 * aclocal.m4: Regenerate.
2185 2001-07-09 Phil Edwards <pme@sources.redhat.com>
2187 * docs/html/configopts.html: Fix thinko.
2188 * docs/html/27_io/howto.html: Fix thinko and HTML markup.
2189 * include/bits/stl_iterator.h: Fix typo.
2191 2001-07-09 Phil Edwards <pme@sources.redhat.com>
2193 * docs/html/explanations.html: New file.
2194 * docs/html/configopts.html: Link to it to provide more notes
2195 on cstdio. Minor markup and spacing fixes.
2196 * docs/html/27_io/howto.html: Talk about sync_with_stdio.
2198 2001-07-09 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
2200 * include/bits/valarray_meta.h (_Expr::operator+): Use qualified id
2201 for _Expr template template argument.
2202 (_Expr::operator-): Likewise.
2203 (_Expr::operator~): Likewise.
2204 (_Expr::operator!): Likewise.
2205 (_DEFINE_EXPR_UNARY_OPERATOR): Likewise.
2207 2001-07-06 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2209 * libmath/Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.c
2210 * libmath/Makefile.in: Regenerate.
2211 * libmath/expf.c: Remove.
2212 * libmath/atan2f.c: Likewise.
2214 2001-07-06 Daniel Jacobowitz <drow@mvista.com>
2216 * configure.in: Remove NATIVE, NULL_TARGET.
2217 Set CANADIAN only for Canadian crosses. Set xcompiling
2218 for both Canadian crosses and host-x-host crosses.
2219 * configure: Regenerated.
2221 2001-07-06 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2223 * include/bits/stl_vector.h (vector::_M_initialize_aux): Fix typo.
2225 2001-07-05 Jason Merrill <jason_merrill@redhat.com>
2227 * testsuite_flags.in (--build-includes): backward, not backwards.
2229 2001-07-04 Jeffrey Oldham <oldham@codesourcery.com>
2231 * include/ext/ropeimpl.h (_Rope_RopeRep::_M_free_c_string):
2232 Replace destroy by _Destroy.
2233 (_Rope_RopeRep::_S_free_string): Likewise.
2234 (rope::c_str()): Likewise.
2235 * include/ext/slist (_Slist_base::_M_erase_after>): Likewise.
2236 (_Slist_base::_M_erase_after): Likewise.
2237 (slist::_M_create_node): Replace construct by _Construct.
2238 (slist::pop_front): Replace destroy by _Destroy.
2239 * include/ext/stl_hashtable.h (hashtable::_M_new_node): Replace
2240 construct by _Construct.
2241 (hashtable::_M_delete_node): Replace destroy by _Destroy.
2242 * include/ext/stl_rope.h (rope::rope): Replace construct by
2244 (rope::copy): Replace destroy by _Destroy.
2246 2001-07-03 Benjamin Kosnik <bkoz@redhat.com>
2248 * include/bits/localefwd.h: Format.
2249 * include/bits/locale_facts.tcc (locale::combine): Adjust.
2250 * src/locale.cc (locale::locale::(_Impl)): Don't call
2252 (locale::facet::_M_remove_reference): Simplify.
2253 * src/globals.cc (locale_impl_c): New. Format.
2255 * src/ios.cc (ios_base::Init::Init): Increment _S_ios_base_init last.
2257 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
2259 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
2260 expansion (thanks to Alexandre Oliva).
2261 * aclocal.m4: Regenerate.
2262 * configure: Regenerate.
2264 2001-07-02 Benjamin Kosnik <bkoz@redhat.com>
2266 * src/locale.cc (locale::locale(const char*)): Make sure global
2267 locales are initialized.
2268 * include/bits/locale_facets.tcc (locale::combine): Refcout should
2269 be zero, not one as it's return-by-value.
2270 * testsuite/27_io/ios_base_callbacks.cc (test01): Don't check for
2272 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Instead, check
2275 * libsupc++/eh_alloc.cc: Use climits, not limits.h.
2277 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
2280 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
2281 * aclocal.m4: Regenerate.
2282 * configure: Regenerate.
2284 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
2287 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to
2288 staged/installed area to support -I-. Document.
2289 * aclocal.m4: Regenerate.
2290 * configure: Regenerate.
2292 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
2295 * src/ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to
2296 __out_bufsize. Add __in_bufsize, document it and use it.
2298 2001-07-01 Stephen M. Webb <stephen@bregmasoft.com>
2300 * include/bits/stl_construct.h (construct): Remove.
2302 (__destroy): Replaced by use of iterator_traits.
2303 * include/bits/stl_deque.h: replaced HP iterator functions with
2305 (construct): changed to _Construct.
2306 (destroy): changed to _Destroy.
2307 * include/bits/stl_tempbuf.h: Same.
2308 * include/bits/stl_tree.h: Same.
2309 * include/bits/stl_vector.h: Same.
2310 * include/backward/iterator.h (construct): moved definition to here.
2313 2001-06-29 Benjamin Kosnik <bkoz@redhat.com>
2315 * include/bits/locale_facets.tcc (locale::combine): Clone _Impl.
2316 before replacing facet.
2317 * include/bits/localefwd.h (locale::_Impl::_M_remove_reference):
2319 * src/localename.cc (locale::_Impl): Correct ctor initialization
2320 lists. Initialize ref count with one. Simplify.
2321 * src/locale.cc: Add comment.
2322 * testsuite/22_locale/numpunct.cc (test01): Add derivation test.
2323 * testsuite/22_locale/numpunct_char_members.cc (test01): Add tests.
2324 * testsuite/22_locale/members.cc (test02): Fix.
2326 2001-06-27 Phil Edwards <pme@sources.redhat.com>
2328 * include/backward/algo.h: Add "GPL plus runtime exception" comment
2329 block, this time for real.
2330 * include/backward/algobase.h: Likewise.
2331 * include/backward/alloc.h: Likewise.
2332 * include/backward/bvector.h: Likewise.
2333 * include/backward/defalloc.h: Likewise.
2334 * include/backward/deque.h: Likewise.
2335 * include/backward/function.h: Likewise.
2336 * include/backward/hash_map.h: Likewise.
2337 * include/backward/hash_set.h: Likewise.
2338 * include/backward/hashtable.h: Likewise.
2339 * include/backward/heap.h: Likewise.
2340 * include/backward/iterator.h: Likewise.
2341 * include/backward/list.h: Likewise.
2342 * include/backward/map.h: Likewise.
2343 * include/backward/multimap.h: Likewise.
2344 * include/backward/multiset.h: Likewise.
2345 * include/backward/pair.h: Likewise.
2346 * include/backward/rope.h: Likewise.
2347 * include/backward/set.h: Likewise.
2348 * include/backward/slist.h: Likewise.
2349 * include/backward/stack.h: Likewise.
2350 * include/backward/strstream: Likewise.
2351 * include/backward/tempbuf.h: Likewise.
2352 * include/backward/tree.h: Likewise.
2353 * include/backward/vector.h: Likewise.
2354 * include/bits/pthread_allocimpl.h: Likewise.
2355 * include/bits/std_algorithm.h: Likewise.
2356 * include/bits/std_bitset.h: Likewise.
2357 * include/bits/std_deque.h: Likewise.
2358 * include/bits/std_functional.h: Likewise.
2359 * include/bits/std_iterator.h: Likewise.
2360 * include/bits/std_list.h: Likewise.
2361 * include/bits/std_map.h: Likewise.
2362 * include/bits/std_memory.h: Likewise.
2363 * include/bits/std_numeric.h: Likewise.
2364 * include/bits/std_queue.h: Likewise.
2365 * include/bits/std_set.h: Likewise.
2366 * include/bits/std_stack.h: Likewise.
2367 * include/bits/std_utility.h: Likewise.
2368 * include/bits/std_vector.h: Likewise.
2369 * include/bits/stl_algo.h: Likewise.
2370 * include/bits/stl_algobase.h: Likewise.
2371 * include/bits/stl_alloc.h: Likewise.
2372 * include/bits/stl_bvector.h: Likewise.
2373 * include/bits/stl_construct.h: Likewise.
2374 * include/bits/stl_deque.h: Likewise.
2375 * include/bits/stl_function.h: Likewise.
2376 * include/bits/stl_heap.h: Likewise.
2377 * include/bits/stl_iterator.h: Likewise.
2378 * include/bits/stl_iterator_base_funcs.h: Likewise.
2379 * include/bits/stl_iterator_base_types.h: Likewise.
2380 * include/bits/stl_list.h: Likewise.
2381 * include/bits/stl_map.h: Likewise.
2382 * include/bits/stl_multimap.h: Likewise.
2383 * include/bits/stl_multiset.h: Likewise.
2384 * include/bits/stl_numeric.h: Likewise.
2385 * include/bits/stl_pair.h: Likewise.
2386 * include/bits/stl_pthread_alloc.h: Likewise.
2387 * include/bits/stl_queue.h: Likewise.
2388 * include/bits/stl_raw_storage_iter.h: Likewise.
2389 * include/bits/stl_relops.h: Likewise.
2390 * include/bits/stl_set.h: Likewise.
2391 * include/bits/stl_stack.h: Likewise.
2392 * include/bits/stl_tempbuf.h: Likewise.
2393 * include/bits/stl_threads.h: Likewise.
2394 * include/bits/stl_tree.h: Likewise.
2395 * include/bits/stl_uninitialized.h: Likewise.
2396 * include/bits/stl_vector.h: Likewise.
2397 * include/bits/type_traits.h: Likewise.
2398 * include/ext/hash_map: Likewise.
2399 * include/ext/hash_set: Likewise.
2400 * include/ext/rope: Likewise.
2401 * include/ext/ropeimpl.h: Likewise.
2402 * include/ext/slist: Likewise.
2403 * include/ext/stl_hash_fun.h: Likewise.
2404 * include/ext/stl_hashtable.h: Likewise.
2405 * include/ext/stl_rope.h: Likewise.
2406 * src/bitset.cc: Likewise.
2407 * src/strstream.cc: Likewise.
2409 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2410 <vakatov@ncbi.nlm.nih.gov>
2413 * include/bits/streambuf.tcc (__copy_streambufs): Don't set eofbit.
2414 * testsuite/27_io/ostream_inserter_other.cc (test04): Add test.
2415 * testsuite/27_io/istream_extractor_other.cc: Fix.
2417 2001-06-26 Zoltan Hidvegi <hzoli@austin.ibm.com>
2419 * acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
2420 * aclocal.m4: Regenerate.
2421 * configure: Regenerate.
2423 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2425 * include/bits/stream_iterator.h (istream_iterator): Add copy ctor.
2426 (ostream_iterator): Same.
2427 * include/bits/stl_iterator.h (front_insert_iterator::operator=):
2428 Change argument to const_reference.
2429 (back_insert_iterator): Same.
2431 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2433 * include/bits/sbuf_iter.h: Change to..
2434 * include/bits/streambuf_iterator.h: This.
2435 * include/bits/stl_iterator.h: Take out of here...
2436 * include/bits/stream_iterator.h: Add.
2437 * src/Makefile.am (base_headers): Add streambuf_iterator,
2439 * src/Makefile.in: Regenerate.
2440 * include/bits/std_string.h: Adjust includes.
2441 * include/bits/basic_ios.h: Same.
2442 * include/bits/locale_facets.tcc: Same.
2443 * include/bits/std_iosfwd.h: Same.
2445 * include/bits/std_iterator.h: Add istream, ostream includes.
2446 * include/bits/stl_iterator.h: Tweak.
2447 * testsuite/24_iterators/ostream_iterator.cc: Add test.
2448 * testsuite/24_iterators/istream_iterator.cc: Same.
2449 * testsuite/23_containers/multiset.cc: Add iterator include.
2451 2001-06-26 Phil Edwards <pme@sources.redhat.com>
2453 * acinclude.m4: Clean extraneous tabs, rewrap 'test' lines.
2454 * aclocal.m4: Regenerate.
2455 * configure: Regenerate.
2457 2001-06-26 Felix Natter <f.natter@ndh.net>
2459 * docs/html/17_intro/porting-howto.html: Fixed some errors.
2461 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2463 * include/bits/stl_iterator.h (istream_iterator::operator->): Fix
2465 (istream_iterator::operator*): Same.
2467 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2468 Alexandre Petit-Bianco <apbianco@redhat.com>
2470 * testsuite/21_strings/element_access.cc (test01): Chill Out Cafe
2471 is on 41st, not 14th.
2473 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2475 * include/bits/std_iterator.h: Include sbuf_iter.h via std_ios.h.
2477 * include/bits/stl_iterator.h (istream_iterator): Inherit from
2479 (ostream_iterator): Same.
2480 * testsuite/24_iterators/istream_iterator.cc: New file.
2481 * testsuite/24_iterators/ostream_iterator.cc: New file.
2483 * include/bits/sbuf_iter.h: Remove self typedef.
2484 * testsuite/24_iterators/ostreambuf_iterator.cc: Add test.
2485 * testsuite/24_iterators/istreambuf_iterator.cc: Add test.
2487 * include/bits/stl_iterator.h (reverse_iterator): Remove
2488 extraneous typedefs. Add typename.
2489 (__normal_iterator): Remove typedefs referring to self. Add typename.
2490 (reverse_bidiretional_iterator): Remove, not longer required.
2492 2001-06-26 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2494 * include/bits/stl_iterator.h (__normal_iterator<>): Qualify
2495 dependent names with `typename'. Bring in various required
2496 iterator_traits members. Can't imagine why that used to work.
2498 2001-06-25 Phil Edwards <pme@sources.redhat.com>
2499 Kurt Garloff <garloff@suse.de>
2502 * src/cmath.cc: New [version of an old] file; instantiate
2503 __cmath_power to start with.
2504 * src/Makefile.am (sources): Add cmath.cc (and alphabetize).
2505 * Makefile.in: Regenerate.
2506 * libio/Makefile.in: Regenerate.
2507 * libmath/Makefile.in: Regenerate.
2508 * libsupc++/Makefile.in: Regenerate.
2509 * src/Makefile.in: Regenerate.
2510 * testsuite/Makefile.in: Regenerate.
2512 2001-06-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2514 * libmath/stubs.c: Fix thinko.
2516 2001-06-24 David Edelsohn <dje@watson.ibm.com>
2518 * libmath/stubs.c (sqrtf): Define.
2519 (tanf): Correct typo.
2521 2001-06-22 Benjamin Kosnik <bkoz@redhat.com>
2523 * include/bits/stl_iterator.h (reverse_iterator): Inherit from
2525 (back_insert_iterator): Same.
2526 (front_insert_iterator): Same.
2527 (insert_iterator): Same.
2529 * testsuite/20_util/raw_storage_iterator.cc: Modify.
2530 * testsuite/24_iterators/reverse_iterator.cc: New file.
2531 * testsuite/24_iterators/back_insert_iterator.cc: New file.
2532 * testsuite/24_iterators/front_insert_iterator.cc: New file.
2533 * testsuite/24_iterators/insert_iterator.cc: New file.
2535 2001-06-22 Phil Edwards <pme@sources.redhat.com>
2537 * include/*: Revert comment/license change from yesterday for all
2538 except libsupc++/unwind-cxx.h.
2539 * src/bitset.cc: Likewise.
2540 * src/strstream.cc: Likewise.
2542 2001-06-22 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2544 * libmath/stubs.c: New file.
2548 * libmath/Makefile.am (libmath_la_SOURCES): Add.
2549 * libmath/Makefile.in. Regenerate.
2551 2001-06-21 Phil Edwards <pme@sources.redhat.com>
2553 * include/backward/algo.h: Add "GPL plus runtime exception" comment.
2554 * include/backward/algobase.h: Likewise.
2555 * include/backward/alloc.h: Likewise.
2556 * include/backward/bvector.h: Likewise.
2557 * include/backward/defalloc.h: Likewise.
2558 * include/backward/deque.h: Likewise.
2559 * include/backward/function.h: Likewise.
2560 * include/backward/hash_map.h: Likewise.
2561 * include/backward/hash_set.h: Likewise.
2562 * include/backward/hashtable.h: Likewise.
2563 * include/backward/heap.h: Likewise.
2564 * include/backward/iterator.h: Likewise.
2565 * include/backward/list.h: Likewise.
2566 * include/backward/map.h: Likewise.
2567 * include/backward/multimap.h: Likewise.
2568 * include/backward/multiset.h: Likewise.
2569 * include/backward/pair.h: Likewise.
2570 * include/backward/rope.h: Likewise.
2571 * include/backward/set.h: Likewise.
2572 * include/backward/slist.h: Likewise.
2573 * include/backward/stack.h: Likewise.
2574 * include/backward/strstream: Likewise.
2575 * include/backward/tempbuf.h: Likewise.
2576 * include/backward/tree.h: Likewise.
2577 * include/backward/vector.h: Likewise.
2578 * include/bits/pthread_allocimpl.h: Likewise.
2579 * include/bits/std_algorithm.h: Likewise.
2580 * include/bits/std_bitset.h: Likewise.
2581 * include/bits/std_deque.h: Likewise.
2582 * include/bits/std_functional.h: Likewise.
2583 * include/bits/std_iterator.h: Likewise.
2584 * include/bits/std_list.h: Likewise.
2585 * include/bits/std_map.h: Likewise.
2586 * include/bits/std_memory.h: Likewise.
2587 * include/bits/std_numeric.h: Likewise.
2588 * include/bits/std_queue.h: Likewise.
2589 * include/bits/std_set.h: Likewise.
2590 * include/bits/std_stack.h: Likewise.
2591 * include/bits/std_utility.h: Likewise.
2592 * include/bits/std_vector.h: Likewise.
2593 * include/bits/stl_algo.h: Likewise.
2594 * include/bits/stl_algobase.h: Likewise.
2595 * include/bits/stl_alloc.h: Likewise.
2596 * include/bits/stl_bvector.h: Likewise.
2597 * include/bits/stl_construct.h: Likewise.
2598 * include/bits/stl_deque.h: Likewise.
2599 * include/bits/stl_function.h: Likewise.
2600 * include/bits/stl_heap.h: Likewise.
2601 * include/bits/stl_iterator.h: Likewise.
2602 * include/bits/stl_iterator_base_funcs.h: Likewise.
2603 * include/bits/stl_iterator_base_types.h: Likewise.
2604 * include/bits/stl_list.h: Likewise.
2605 * include/bits/stl_map.h: Likewise.
2606 * include/bits/stl_multimap.h: Likewise.
2607 * include/bits/stl_multiset.h: Likewise.
2608 * include/bits/stl_numeric.h: Likewise.
2609 * include/bits/stl_pair.h: Likewise.
2610 * include/bits/stl_pthread_alloc.h: Likewise.
2611 * include/bits/stl_queue.h: Likewise.
2612 * include/bits/stl_raw_storage_iter.h: Likewise.
2613 * include/bits/stl_relops.h: Likewise.
2614 * include/bits/stl_set.h: Likewise.
2615 * include/bits/stl_stack.h: Likewise.
2616 * include/bits/stl_tempbuf.h: Likewise.
2617 * include/bits/stl_threads.h: Likewise.
2618 * include/bits/stl_tree.h: Likewise.
2619 * include/bits/stl_uninitialized.h: Likewise.
2620 * include/bits/stl_vector.h: Likewise.
2621 * include/bits/type_traits.h: Likewise.
2622 * include/ext/hash_map: Likewise.
2623 * include/ext/hash_set: Likewise.
2624 * include/ext/rope: Likewise.
2625 * include/ext/ropeimpl.h: Likewise.
2626 * include/ext/slist: Likewise.
2627 * include/ext/stl_hash_fun.h: Likewise.
2628 * include/ext/stl_hashtable.h: Likewise.
2629 * include/ext/stl_rope.h: Likewise.
2630 * libsupc++/unwind-cxx.h: Likewise.
2631 * src/bitset.cc: Likewise.
2632 * src/strstream.cc: Likewise.
2634 2001-06-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2636 * include/bits/indirect_array.h (indirect_array<>::operator=):
2637 Make copy and assignment operator public. Implement. Format.
2639 * include/bits/valarray_array.h (__valarray_copy): Add overloads
2640 for copy between index arrays. Format.
2642 2001-06-19 Benjamin Kosnik <bkoz@redhat.com>
2644 * mknumeric_limits: Add static definitions, format.
2645 * testsuite/18_support/numeric_limits.cc (test02): Add test.
2647 * include/c_std/bits/std_cwchar.h: Include ctime.
2648 * testsuite/17_intro/header_cwchar.cc : Check.
2650 * include/c_std/bits/std_cwctype.h: Inject wctype.
2651 * testsuite/17_intro/header_cwctype.cc: Update.
2653 2001-06-18 Benjamin Kosnik <bkoz@redhat.com>
2655 * include/bits/stl_raw_storage_iter.h: Format. Correct derivation.
2656 * testsuite/20_util/raw_storage_iterator.cc: Same.
2658 * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to
2660 (__mem_interface): New typedef for switching between malloc and new.
2661 * testsuite/20_util/allocator_members.cc: New file.
2663 * testsuite/20_util/comparisons.cc: New file.
2664 * testsuite/20_util/pairs.cc: New file.
2666 2001-06-15 Phil Edwards <pme@sources.redhat.com>
2668 * docs/html/documentation.html: Point to new doxygen'ed collection.
2670 2001-06-14 Nathan Sidwell <nathan@codesourcery.com>
2672 * configure.in (auxdir): Replace by ...
2673 (toprel): ... new variable.
2674 (toplevel_srcdir): Construct from $toprel.
2675 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
2676 rather than .. to locate gcc source directory.
2677 (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
2678 * aclocal.m4, configure: Rebuilt.
2680 2001-06-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
2682 (Approved by Mark and Benjamin. Applied by Loren.)
2684 * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
2685 _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
2686 and _GLIBCPP_mutex_address.
2687 * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
2688 once-only runtime initialization of _M_lock mutex when
2689 __GTHREAD_MUTEX_INIT_FUNCTION is defined.
2690 (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
2691 for __GTHREAD_MUTEX_INIT_FUNCTION case.
2693 2001-06-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2695 * testsuite/26_numerics/slice_array_assignment.cc (main): New test.
2697 * include/bits/slice_array.h (slice_array<>::operator=): Make
2698 public and implement.
2699 (slice_array<>::slice_array): Make copy-constructor public.
2701 * include/bits/valarray_array.h (__valarray_copy): Add another
2702 overload to copy between strided arrays.
2704 2001-06-13 Benjamin Kosnik <bkoz@redhat.com>
2706 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
2707 * aclocal.m4: Regenerate.
2708 * configure: Regenerate.
2709 * include/bits/c++config (__GLIBCPP__): Update date.
2711 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
2713 * include/bits/fpos.h (fpos::operator-): Don't return reference,
2714 return original, non-modified version.
2715 (fpos::operator+): Same.
2716 * testsuite/27_io/fpos.cc: Add test.
2718 2001-06-12 Loren J. Rittle <ljrittle@acm.org>
2721 * porting.texi: Add documentation about libstdc++-v3-specific
2722 macros that are currently included in os_defines.h files.
2724 * config/basic_file_stdio.h (sys_getc): New method.
2725 (sys_ungetc): New method.
2726 * include/bits/basic_file.h: (sys_getc): New method signature.
2727 (sys_ungetc): New method signature.
2729 * include/bits/fstream.tcc (underflow): Add conditional code
2730 paths which avoid using short seeks on streams (especially
2731 useful when the stream might be interactive or a pipe). At
2732 the moment, this alternate path only avoids seeking when the
2733 ``buffer size'' of underflow() is 1 since the C standard only
2734 guarantees buffer space for one ungetc (this technique could
2735 be extended since *-*-solaris* supports buffering for 4 calls
2736 to ungetc and *-*-*bsd* supports buffering limited only by
2737 memory resources). Also, _GLIBCPP_AVOID_FSEEK must be defined
2738 in a port's os_defines.h file for this alternate path to even
2739 be considered. As a bonus, the idiom of using getc/ungetc
2740 requires no system calls whereas fseek maps to one or two
2741 system call(s) on many platforms.
2743 * config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
2745 * config/os/solaris/solaris2.5/bits/os_defines.h
2746 (_GLIBCPP_AVOID_FSEEK): Likewise.
2747 * config/os/solaris/solaris2.6/bits/os_defines.h
2748 (_GLIBCPP_AVOID_FSEEK): Likewise.
2749 * config/os/solaris/solaris2.7/bits/os_defines.h
2750 (_GLIBCPP_AVOID_FSEEK): Likewise.
2752 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
2754 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change to
2755 AC_TRY_COMPILE, so that the built compiler is checked, and
2756 bootstraps or cross compiles with an older compile still work.
2757 * aclocal.m4: Regenerate.
2758 * configure: Regenerate.
2760 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
2763 * include/bits/std_sstream.h: Add allocator_type, as per DR 251.
2766 * include/bits/istream.tcc (getline, get): Fix as per DR 243.
2769 * include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
2772 * include/bits/limits_generic.h: Fix as per DR 184.
2774 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
2777 * include/bits/basic_string.h (string::compare): Adjust signatures
2779 * include/bits/basic_string.tcc: And here.
2782 * config/c_io_stdio.h: Remove whitespace.
2783 * testsuite/27_io/istream_seeks.cc (test03): Add regression.
2784 (test02): Add regression.
2785 * testsuite/27_io/istream_seeks-3.tst: New file.
2787 2001-06-11 Phil Edwards <pme@sources.redhat.com>
2789 * README: Update to reflect reality.
2790 * acinclude.m4: Update descriptions, fix typos. Comment changes only.
2791 * configure.in: Make certain target_alias is set and subst'd for 2.50.
2792 * aclocal.m4: Regenerate.
2793 * configure: Regenerate (with 2.13).
2795 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
2798 * include/bits/ostream.tcc (ostream::seekp): Add error checking as
2800 * include/bits/istream.tcc (istream::seekg): Same.
2801 * testsuite/27_io/istream_seeks.cc: Fix.
2804 * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
2806 * include/bits/std_queue.h: Add c++config.h.
2807 * testsuite/20_util/binders.cc: New test.
2809 2001-06-11 Matthias Klose <doko@debian.org>
2810 Phil Edwards <pme@sources.redhat.com>
2812 * docs/doxygen/run_doxygen (find_doxygen): Tweak version check.
2813 (main script): Echo more information.
2815 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
2817 * include/c_std/bits/std_cwchar.h: Alphabetize.
2818 * include/bits/char_traits.h: Tweak.
2819 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
2820 everything used by std_cwchar.h.
2821 * aclocal.m4: Regenerate.
2822 * configure.in: Regenerate.
2823 * config.h.in: Regenerate.
2825 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
2827 * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
2828 Add checking for strtof, _Exit in stdlib.h
2829 * aclocal.m4: Regenerate.
2830 * configure.in: Regenerate.
2831 * include/c_std/bits/std_cstdio.h: Alphabetize lists.
2832 (snprintf): Put C99 functions into __gnu_cxx namespace.
2837 * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
2838 for C99 functions within _GLIBCPP_USE_C99 guard.
2842 * include/bits/locale_facets.tcc: Check if C99 is enabled.
2843 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
2845 * include/c_std/bits/cmath.tcc: Formatting tweak.
2846 * include/c_std/bits/std_cmath.h: Same.
2848 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
2850 * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
2852 2001-06-09 Alexandre Oliva <aoliva@redhat.com>
2853 Stephen L Moshier <moshier@mediaone.net>
2855 * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
2856 nothing, as in autoconf 2.50.
2857 * configure: Rebuilt.
2859 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
2861 * include/c_std/bits/std_cwchar.h: Remove size_t injection,
2862 include std_cstddef.
2863 * include/c_std/bits/std_ctime.h: Same.
2864 * include/c_std/bits/std_cstring.h: Same.
2865 * include/c_std/bits/std_cstdlib.h: Same.
2867 * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
2868 * include/c_std/bits/std_cctype.h: Remove isblank.
2870 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
2872 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
2874 * aclocal.m4: Regenerate.
2875 * configure: Regenerate.
2876 * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
2877 injection, guard fgetwc, fgetws.
2878 * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
2879 * include/c_std/bits/std_clocale.h: And here.
2880 * include/c_std/bits/std_cctype.h: And here.
2881 * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
2883 * config/basic_file_stdio.h: Don't include unistd.h.
2884 * config/c_io_stdio.h: Don't use compatibility headers.
2885 * libsupc++/eh_terminate.cc: Qualify abort.
2886 (__terminate): And here.
2887 * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
2889 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
2891 * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
2893 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
2898 * include/std/*: Add copyright notice.
2899 * include/c_std/bits/*: Use using statements instead of extern "C".
2900 * include/c_std/bits/std_cmath.h: Don't overload double versions
2901 of math functions with __buitin versions, use global version to
2902 prevent ambiguities. Remove define hacks.
2903 * include/c_std/bits/std_cwchar.h: Using declarations for "C"
2904 functions that have changed signatures and std::
2905 declarations. Remove define hacks.
2906 * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
2907 __builtins in std::. Remove define hacks.
2908 * testsuite/17_intro/headers_c.cc: Add tests.
2909 * testsuite/17_intro/headers_c++.cc: Add test.
2911 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
2912 John David Anglin <dave@hiauly1.hia.nrc.ca>
2915 * libsupc++/eh_alloc.cc: Ensure that required macros are
2916 defined before including gthr.h. Ensure that we get the
2917 version of gthr.h for which we know how to provide a
2919 * libsupc++/eh_globals.cc: Likewise. And, bring the threading
2920 code path into line with the current EH model. Use std, where
2923 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
2924 John David Anglin <dave@hiauly1.hia.nrc.ca>
2926 * config/threads-no.h: Remove file.
2927 * config/threads-posix.h: Remove file.
2929 * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
2930 (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
2931 (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
2932 * config.h.in: Regenerate.
2934 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
2935 setup and use gthr*.h files. In particular, make gthr.h files
2936 namespace-clean in the staging area (they don't have to be for
2938 * aclocal.m4: Regenerate.
2939 * configure: Regenerate.
2941 * src/Makefile.am (build_headers): Remove bits/c++threads.h
2942 and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
2943 * src/Makefile.in: Regenerate.
2945 * include/bits/c++config: Cleanup threading configuration macros.
2946 In particular, define __STL_GTHREADS macro which controls...
2947 * include/bits/stl_threads.h: ...a brand new gthr.h-based
2950 * config/c_io_stdio.h: Include staged gthr.h instead of local
2951 thread configuration file. Always use __gthread_mutex_t
2952 instead of __mutext_type (or int).
2953 * include/bits/std_fstream.h: Likewise.
2955 * docs/html/17_intro/howto.html: Remove placeholder comment in
2956 case this configuration patch didn't make it. Add advice that
2957 section only applies if configured with --enable-threads.
2958 * docs/html/23_containers/howto.html: Reword to make clear
2959 that _PTHREADS is no longer required for any port to be
2960 correctly using STL with threads. Add advice that section
2961 only applies if configured with --enable-threads.
2963 2001-06-06 Benjamin Kosnik <bkoz@redhat.com>
2965 * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
2967 2001-06-05 Benjamin Kosnik <bkoz@redhat.com>
2970 * include/bits/basic_ios.tcc: Formatting tweaks.
2971 * include/bits/ios_base.h: Formatting tweaks.
2972 * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
2973 (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
2974 * src/globals.cc: Allocate filebufs for standard streams here.
2975 (buf_cout, buf_cin, buf_cerr): Like so.
2976 (buf_wcout, buf_wcin, buf_wcerr): And so.
2977 * testsuite/27_io/ios_init.cc: Add.
2979 2001-06-04 Brendan Kehoe <brendan@zen.org>
2980 Benjamin Kosnik <bkoz@redhat.com>
2983 * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
2984 for generic ctype virtuals.
2985 * src/locale.cc: Minor tweaks, naming consistency.
2986 * testsuite/22_locale/ctype.cc: Add test.
2988 2001-06-04 Kenny Simpson <theonetruekenny@yahoo.com>
2989 Phil Edwards <pme@sources.redhat.com>
2991 PR libstdc++/3035 and PR libstdc++/3036
2992 * include/bits/stl_pair.h: Fix pair ctor and make_pair according
2993 to LWG DR 181 and 265.
2995 2001-06-04 Phil Edwards <pme@sources.redhat.com>
2998 * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
2999 equal_range): Add const overloads as per LWG DR 214.
3000 * include/bits/stl_set.h: Likewise.
3002 2001-06-04 Brendan Kehoe <brendan@zen.org>
3003 Phil Edwards <pme@sources.redhat.com>
3006 * include/bits/std_bitset.h (bitset::test): Fix __pos >= _Nb
3007 comparison; all positions must be < _Nb.
3008 * testsuite/23_containers/bitset_members.cc: New file.
3010 2001-06-04 Brendan Kehoe <brendan@zen.org>
3013 * include/bits/stl_queue.h (classes queue, priority_queue): Fix
3014 ctors to match the standard.
3016 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
3018 * include/bits/char_traits.h (move): Reverse qualification of
3020 (copy): Reverse qualification of memcpy with std::.
3022 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
3024 * include/bits/char_traits.h (move): Qualify memmove with std::.
3025 (copy): Qualify memcpy with std::.
3026 * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
3029 * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
3031 2001-06-04 Hans-Peter Nilsson <hp@axis.com>
3033 * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
3034 uninstall-glibcppinstallHEADERS): Have explicit rules catering to
3035 SUN make VPATH peculiarities.
3036 * libsupc++/Makefile.in: Regenerate.
3038 2001-06-01 Hans-Peter Nilsson <hp@axis.com>
3040 * src/Makefile.am (VPATH): Delimit with ":", not space.
3041 * src/Makefile.in: Regenerate.
3043 * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
3045 * configure: Regenerate.
3047 2001-05-31 scott snyder <snyder@fnal.gov>
3050 * include/bits/istream.tcc: Include std_ostream.h.
3052 2001-05-31 Benjamin Kosnik <bkoz@redhat.com>
3055 * src/bitset.cc: Qualify size_t with std::.
3057 2001-05-30 Benjamin Kosnik <bkoz@redhat.com>
3059 * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
3060 (_GLIBCPP_BUGGY_COMPLEX): Remove.
3061 * config.h.in: Regenerate.
3062 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
3063 * aclocal.m4: Regenerate.
3064 * configure.in: Don't call it.
3065 * configure: Regenerate.
3068 * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
3069 * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
3073 * include/bits/std_complex.h: Include sstream. Put definitions for
3074 complex inserters and extractors here, and remove them from...
3075 * src/complex_io.cc: ...here.
3076 * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
3078 (basic_ios::__numget_type): Same.
3079 * include/bits/std_istream.h: Same.
3080 * include/bits/std_ostream.h: Same.
3081 * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
3082 class iterator template arguments.
3083 * src/locale-inst.cc: Add explicit has_facet instantiations.
3084 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
3085 (_M_get_fnumput): Remove.
3086 (_M_get_fnumget): Remove.
3087 (basic_ios::_M_check_facet): New function.
3088 (basic_ios::_M_cache_facets): New function.
3089 * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
3090 (basic_ios::imbue): Call _M_cache_facets.
3091 (basic_ios::init): Same.
3092 * include/bits/istream.tcc: Format, use _M_check_facet.
3093 * include/bits/ostream.tcc: Same.
3094 * include/bits/locale_facets.tcc (__output_float): Change
3095 signature, add _Traits.
3096 * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
3099 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
3101 * include/bits/c++config (__USE_MALLOC): Do not define it.
3102 Document why not and give pointers to more information.
3104 * docs/html/23_containers/howto.html: Update documentation
3105 to reflect recent understanding of problem.
3106 * docs/html/17_intro/howto.html: Likewise.
3108 2001-05-30 Phil Edwards <pme@sources.redhat.com>
3110 * docs/doxygen/user.cfg.in: Minor addition.
3111 * docs/html/documentation.html: Reorganize. Put most-looked-at
3113 * docs/html/install.html: Update for 3.0. HTML fixups.
3114 * docs/html/17_intro/howto.html: Likewise.
3115 * docs/html/18_support/howto.html: Likewise.
3116 * docs/html/19_diagnostics/howto.html: Likewise.
3117 * docs/html/20_util/howto.html: Likewise.
3118 * docs/html/23_containers/howto.html: Likewise.
3119 * docs/html/24_iterators/howto.html: Likewise. More notes.
3120 * docs/html/25_algorithms/howto.html: Likewise.
3121 * docs/html/26_numerics/howto.html: Likewise. More notes.
3122 * docs/html/27_io/howto.html: Likewise.
3123 * docs/html/ext/howto.html: Likewise.
3124 * docs/html/faq/index.html: Likewise.
3125 * docs/html/faq/index.txt: Regenerate.
3126 * docs/html/27_io/iostreams_hierarchy.pdf: Remove in favor of
3127 Doxygen-created documentation.
3129 2001-05-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3131 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
3132 get_multilibs to find gcc.
3134 2001-05-30 Phil Edwards <pme@sources.redhat.com>
3136 * acinclude.m4 (GLIBCPP_ENABLE_C99): Reorder output messages.
3137 * aclocal.m4: Regenerate.
3138 * configure: Regenerate.
3140 2001-05-29 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3142 * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
3143 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
3145 2001-05-27 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3147 * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
3148 * include/c_std/bits/std_cstdlib.h: Same.
3149 * include/c_std/bits/std_cwchar.h: Same.
3151 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
3153 * docs/html/17_intro/howto.html: Update link.
3154 * docs/html/23_containers/howto.html: Likewise. Add new link.
3156 2001-05-26 Gabriel Dos Reis <gdr@codesourcery.com>
3158 * include/c_std/bits/std_cmath.h (sqrt): #undef.
3160 2001-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3162 * mknumeric_limits: Stop if gen-num-limits dies.
3164 2001-05-25 Benjamin Kosnik <bkoz@redhat.com>
3167 * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
3168 * aclocal.m4: Regenerate.
3171 2001-05-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3172 Phil Edwards <pme@sources.redhat.com>
3173 Alexandre Oliva <aoliva@redhat.com>
3175 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
3176 in an amd-safe manner. Revert glibcpp_prefixdir.
3178 2001-05-25 Gabriel Dos Reis <gdr@codesourcery.com>
3180 * include/c_std/bits/std_cmath.h: Tweak. #define away abs, cos,
3181 fabs, sin, sqrt. They are now implemented in terms of __builtin_
3184 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
3187 * testsuite/21_strings/inserters_extractors.cc (test09): New test.
3188 * include/bits/ostream.tcc: Format to match istream.tcc.
3189 (operator<<(basic_ostream __out, const basic_string __s)): Fix.
3191 2001-05-24 Phil Edwards <pme@sources.redhat.com>
3193 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Qualify
3195 (__cxa_free_exception): Likewise with free.
3197 2001-05-24 Mark Mitchell <mark@codesourcery.com>
3199 * include/c_std/bin/std_cstring.h: #define away all global
3200 functions we will redeclare in namespace `std'.
3201 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
3202 std::memset, instead of memset.
3203 * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
3205 * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
3208 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
3211 * include/bits/basic_ios.tcc: Small tweak.
3212 * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
3213 ctors and dtors, and rdbuf settings.
3216 * include/bits/std_sstream.h: Same, but for stringstream classes.
3217 * testsuite/27_io/ostringstream_members.cc: New.
3218 * testsuite/27_io/stringstream_members.cc: New.
3219 * testsuite/27_io/fstream_members.cc: New.
3220 * testsuite/27_io/ifstream_members.cc: Add test.
3221 * testsuite/27_io/istringstream_members.cc: Add test.
3222 * testsuite/27_io/ofstream_members.cc: Add test.
3224 2001-05-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3226 * include/bits/c++config(__NO_MATH_INLINES): Move to...
3227 * config/os/gnu-linux/bits/os_defines.h: ...here.
3229 2001-05-24 Gabriel Dos Reis <gdr@codesourcery.com>
3231 * include/bits/c++config (__NO_MATH_INLINES): New macro.
3232 * testsuite/26_numerics/fabs_inline.cc (main): New test.
3234 2001-05-22 Benjamin Kosnik <bkoz@redhat.com>
3237 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
3239 (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
3240 (libstdc++-v3-finish): Remove.
3241 (libstdc++-v3_exit): Remove.
3243 2001-05-22 Phil Edwards <pme@sources.redhat.com>
3245 * docs/html/documentation.html: Point to doxygen output.
3247 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
3249 * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
3251 * include/bits/std_sstream.h (stringbuf::setbuf): Require both
3252 arguments to be non-null.
3253 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
3254 try allocations if allocated size is greater than zero.
3255 (filebuf::_M_filebuf_init): Change to
3256 (filebuf::_M_allocate_file): Which is what it does now.
3257 (filebuf::_M_allocate_bufers): Change to
3258 (filebuf::_M_allocate_internal_buffer): This, and create
3259 (filebuf::_M_allocate_pback_buffer): New.
3260 (filebuf::_M_destroy_internal_buffer): New.
3261 (filebuf::_M_buf_allocated): New data member.
3262 (filebuf::setbuf): Use new logic, allow use of external buffer.
3263 * testsuite/27_io/stringbuf_virtuals.cc: New file.
3264 * testsuite/27_io/filebuf_virtuals.cc: New file.
3266 2001-05-21 Stephen M. Webb <stephen@bregmasoft.com>
3268 * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
3270 (strchr): Same, but to __glibcpp_strchr.
3274 * include/c_std/bits/std_cwchar.h (wcschr): Same.
3280 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
3282 * testsuite/21_strings/c_strings.cc (main): Fix.
3284 2001-05-19 Phil Edwards <pme@sources.redhat.com>
3286 * acinclude.m4: Fix --help spacing, correct comments.
3287 * aclocal.m4: Regenerate.
3288 * configure: Regenerate.
3289 * mkcheck.in: Add usage comments.
3290 * docs/html/documentation.html: Point to doxygen'd tarball.
3292 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
3294 * testsuite/README: Add notes.
3296 * src/Makefile.am (libstdc++.INC): Remove.
3297 * src/Makefile.in: Regenerate.
3299 Phil Edwards <pedwards@disaster.jaj.com>
3300 * mkcheck.in: Add missing '#'.
3302 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
3304 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
3305 appropriately for remote testing and testing installed files without
3308 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
3310 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
3311 amd glibcpp_prefixdir with absolute paths.
3313 * include/bits/c++config (__GLIBCPP__): Bump.
3314 * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
3316 2001-05-18 Gabriel Dos Reis <gdr@codesourcery.com>
3318 * include/bits/std_valarray.h (valarray<>::operator[] const):
3319 Return a const reference.
3320 * testsuite/26_numerics/valarray_const_bracket.cc: New test.
3322 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
3324 * configure.target (ATOMICITYH): Actually use AIX-specific code on
3325 earlier versions of AIX 4.*.
3327 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
3329 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set
3330 output_file based on the name of the testcase.
3332 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
3334 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Build
3335 gluefile and use it if needs_status_wrapper is set.
3337 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
3339 * configure.target (ATOMICITYH): Use cpu/generic code on earlier
3342 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
3344 * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
3345 on earlier versions of AIX.
3347 2001-05-15 Benjamin Kosnik <bkoz@redhat.com>
3349 * testsuite_flags.in (query): Add backwards, ext directories.
3351 2001-05-15 Mark Mitchell <mark@codesourcery.com>
3353 * porting.texi: Correct documentation about handling
3354 _LARRGEFILE_SOURCE and its ilk.
3355 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
3356 definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
3358 * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
3359 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
3361 2001-05-15 Zack Weinberg <zackw@stanford.edu>
3363 * testsuite/21_strings/inserters_extractors.cc,
3364 testsuite/27_io/istream_unformatted.cc,
3365 testsuite/27_io/stringstream.cc:
3366 Replace multi-line string constants with C89-style
3367 concatenated string constants.
3369 2001-05-14 Richard Henderson <rth@redhat.com>
3371 * mknumeric_limits: Build with -fno-exceptions.
3373 2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
3375 Switch over to new harness.
3376 * testsuite_flags.in: Tweaks via Gaby.
3377 * testsuite/Makefile.am: Change tool to libstdc++-v3.
3378 (EXPECT): Quote directly.
3380 * configure.in: Output testsuite_flags.
3381 * acinclude.m4: Substitute src, bld, and prefix dirs.
3382 Remove glibcpp_expect, glibcpp_runtestflags.
3383 * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
3384 * mkcheck.in: Port to new interface.
3386 * aclocal.m4: Regerate.
3387 * configure: Regnerate.
3388 * Makefile.in: Regnerate.
3389 * */Makefile.in: Regenerate.
3391 * tests_flags.in: Remove.
3392 * testsuite/lib/libstdc++.exp: Remove.
3393 * testsuite/libstdc++.tests/tests.exp: Remove.
3395 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
3397 * configure.target: Remove detection of AIX pthread multilib, now
3398 obtained from `gcc -v'.
3400 2001-05-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
3402 * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
3403 size. Add hpux case for HP size.
3405 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
3407 * testsuite_flags.in: New, simplified interface.
3408 * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
3409 * testsuite/libstdc++-v3.dg: Add.
3410 * testsuite/libstdc++-v3.dg/dg.exp: Add.
3412 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
3414 * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
3415 * testsuite/config/default.exp: Update bugs email address.
3417 2001-05-11 Richard Henderson <rth@redhat.com>
3419 * libsupc++/eh_personality.cc: Include unwind-pe.h. Remove
3420 all pointer encoding logic.
3421 (struct lsda_header_info): Add ttype_base.
3422 (get_ttype_entry): Use it instead of a context.
3423 (check_exception_spec): Likewise.
3424 (PERSONALITY_FUNCTION): Initialize ttype_base. Store it in
3425 the c++ exception header for __cxa_call_unexpected.
3426 (__cxa_call_unexpected): Use it.
3428 2001-05-09 Benjamin Kosnik <bkoz@redhat.com>
3430 * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
3431 libgloss_link_flags to find crt0.o for targets that use libgloss
3433 Change LDFLAGS to LIBS.
3434 Consistently name procedures libstdc++-XXX.
3435 * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
3437 2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
3439 * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
3444 * include/c_std/bits/std_cwchar.h (wcschr): Same.
3449 * testsuite/21_strings/c_strings.cc: Add tests.
3451 2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
3454 * include/bits/std_fstream.h (basic_filebuf): Change signature.
3455 * include/bits/fstream.tcc (basic_filebuf): Change bool argument
3456 to int_type, pass in buffer size info.
3457 * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
3458 unbuffered situation.
3459 (underflow): Remove codecvt bits for the time being.
3460 * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
3461 * include/bits/locale_facets.tcc (_M_extract): Cache dereference
3462 values from iterators, clean.
3463 * src/locale.cc: Ditto.
3464 * include/bits/sbuf_iter.h: Format.
3465 * src/ios.cc: Explicitly pass in buffer sizes at creation time.
3466 * testsuite/27_io/narrow_stream_objects.cc: Add tests.
3467 * testsuite/27_io/filebuf.cc: Tweaks.
3468 * testsuite/27_io/filebuf_members.cc: Tweaks.
3470 2001-05-07 Mark Mitchell <mark@codesourcery.com>
3472 * config/os/solaris/solaris2.7/bits/os_defines.h
3473 (_LARGEFILE_SOURCE): Define it.
3475 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
3477 * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
3478 -prefer-non-pic depending on whether libtool has shared libraries
3479 enabled or disabled.
3480 * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
3481 $(LIBSUPCXX_PICFLAGS).
3482 * configure, */Makefile.in: Rebuilt.
3484 2001-05-01 Benjamin Kosnik <bkoz@redhat.com>
3486 * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
3487 * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
3489 * include/bits/std_sstream.h (stringbuf): Leak
3491 * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
3493 2001-05-01 Tom Browder <tbrowder@home.com>
3495 * docs/html/ext/howto.html: Fix typo.
3497 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
3499 * testsuite/libstdc++.tests/tests.exp: Add comment.
3501 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
3503 * testsuite/libstdc++.tests/tests.exp: Set ulimits.
3505 2001-04-30 Mark Mitchell <mark@codesourcery.com>
3507 * porting.texi: Use the GFDL.
3509 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
3512 * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
3513 * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
3516 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
3519 * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
3521 2001-04-28 Phil Edwards <pme@sources.redhat.com>
3523 * docs/doxygen/run_doxygen: Minor tweaks.
3524 * docs/doxygen/style.css: New file.
3525 * docs/doxygen/user.cfg.in: Update using "doxygen -u" to get the
3526 latest parameters available. Use style.css.
3528 2001-04-27 Benjamin Kosnik <bkoz@redhat.com>
3530 * docs/doxygen/mainpage.doxy: New.
3531 * docs/doxygen/user.cfg.in: Change default configuration. Single
3532 frame, other tweaks.
3534 2001-04-26 Mark Mitchell <mark@codesourcery.com>
3536 * docs/html/17_intro/BADNAMES: Remove EGCS reference.
3537 Indicate obsolete nature of thelist for G++ 3.0.
3539 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
3541 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
3542 target_thread_file with `gcc -v'.
3543 * aclocal.m4, configure: Rebuilt.
3545 2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
3547 * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
3548 * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
3549 * include/c_std/bits/std_cwchar.h (std): Same.
3550 * acconfig.h (std): Remove c99 injection into std.
3551 * config.h.in: Regenerate.
3553 * testsuite/README: Fix typo.
3555 * include/bits/codecvt.h: Remove warnings.
3557 2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3559 * include/ext/slist: Include required header files.
3561 2001-04-23 Loren J. Rittle <ljrittle@acm.org>
3563 * include/c_std/bits/std_cerrno.h (errno): Define macro from
3564 identifier declared with external linkage, if needed.
3565 * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
3566 * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
3568 2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
3570 * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
3571 re-configures find the build compiler.
3572 (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
3574 * aclocal.m4: Regenerate.
3575 * configure: Regenerate.
3577 2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
3579 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
3580 support is enabled correctly before long long is activated.
3581 * aclocal.m4: Regenerate.
3582 * configure: Regenerate.
3584 * include/backward/backward_warning.h: Format correctly.
3586 * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
3587 * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
3588 * testsuite/26_numerics/c99_macros.cc: Remove.
3590 2001-04-20 Phil Edwards <pme@sources.redhat.com>
3592 * include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
3593 __iterator_category.
3595 2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
3597 * acconfig.h (_GLIBCPP_USE_C99): Add.
3598 * config.h.in: Regenerate.
3599 * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
3601 * aclocal.m4: Regenerate.
3602 * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
3603 * configure: Regenerate.
3604 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
3605 * configure: Regenerate.
3606 * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
3608 * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
3610 * include/c_std/bits/std_cstdlib.h: Same.
3611 * docs/html/configopts.html: Update.
3612 * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
3614 (test_c99_classify): Add.
3615 * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
3616 (_ISOC99_SOURCE): Remove.
3618 * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
3619 * include/bits/c++config (__STL_ASSERTIONS): Simplify.
3620 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
3621 * aclocal.m4: Regenerate.
3622 * configure: Regenerate.
3624 2001-04-19 Phil Edwards <pme@sources.redhat.com>
3626 * Makefile.am (doxygen): Assume script is missing execute perms.
3627 * Makefile.in: Regenerated.
3628 * docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
3630 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
3632 * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
3634 2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
3636 * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
3637 * testsuite/23_containers/set_operators.cc: Same.
3639 * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
3641 (__GLIBCPP__): Bump from value of last release.
3642 * include/bits/concept_check.h: Default to off, edit comments.
3643 * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
3644 * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
3645 * src/Makefile.in: Regenerate.
3647 2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE>
3649 * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
3650 Properly uglify member.
3652 2001-04-13 Phil Edwards <pme@sources.redhat.com>
3654 * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead
3658 2001-04-13 Phil Edwards <pme@sources.redhat.com>
3660 * include/bits/boost_concept_check.h: Uglify, fork from Boost.
3661 * include/bits/concept_check.h: Uglify.
3662 * include/bits/stl_algo.h: Likewise.
3663 * include/bits/stl_algobase.h: Likewise.
3664 * include/bits/stl_deque.h: Likewise.
3665 * include/bits/stl_heap.h: Likewise.
3666 * include/bits/stl_iterator_base_funcs.h: Likewise.
3667 * include/bits/stl_list.h: Likewise.
3668 * include/bits/stl_map.h: Likewise.
3669 * include/bits/stl_multimap.h: Likewise.
3670 * include/bits/stl_multiset.h: Likewise.
3671 * include/bits/stl_numeric.h: Likewise.
3672 * include/bits/stl_queue.h: Likewise.
3673 * include/bits/stl_set.h: Likewise.
3674 * include/bits/stl_stack.h: Likewise.
3675 * include/bits/stl_vector.h: Likewise.
3676 * include/ext/hash_map: Likewise.
3677 * include/ext/hash_set: Likewise.
3678 * include/ext/slist: Likewise.
3680 2001-04-13 Gabriel Dos Reis <gdr@codesourcery.com>
3682 * testsuite/23_containers/set_operators.cc: Just try to compile.
3684 * testsuite/23_containers/map_operators.cc: Same.
3686 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
3688 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
3690 (dg-test): Revert rth's change.
3692 2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
3694 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
3695 terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
3697 2001-04-12 Gabriel Dos Reis <gdr@codesourcery.com>
3699 * testsuite/README: Add DejaGnu specific documentation.
3701 2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
3703 * acinclude.m4: AC_CHECK_TOOL for expect.
3704 * aclocal.m4: Regenerate.
3705 * configure: Regenerate.
3706 * testsuite/Makefile.am (RUNTEST): Use substituted.
3709 * configure.in: Remove xcompiling substitution.
3710 * tests_flags.in (CROSS_LIB_PATH): Remove.
3711 (xcompiling): Remove.
3712 (CXX): Use substituted CXX.
3714 2001-04-11 Richard Henderson <rth@redhat.com>
3716 * testsuite/lib/libstdc++.exp: Specify path for output_file.
3718 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
3720 * include/bits/std_valarray.h(valarray<>::operator[]): Make
3723 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
3725 * testsuite/25_algorithms/equal.cc: New test.
3727 2001-04-06 Joe Buck <jbuck@welsh-buck.org>
3729 * stl_algobase.h (std::equal): avoid use of possibly-undefined
3730 operator != (one line patch).
3732 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
3734 * include/backward/backward_warning.h: Re-enable.
3736 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
3737 Alexandre Oliva <aoliva@redhat.com>
3739 * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
3741 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
3743 * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
3744 * testsuite/26_numerics/c99_macros.cc: Add test.
3746 2001-04-06 Phil Edwards <pme@sources.redhat.com>
3748 * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES.
3749 * docs/html/faq/index.txt: Regenerated.
3751 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
3753 * include/backward/backward_warning.h: Temporarily disable until
3754 g++ testsuite changes go in.
3755 * tests_flags.in (CROSS_LIB_PATH): Add.
3757 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
3759 Warn when using backward headers.
3760 * include/backward/algo.h: Include warning file.
3761 * include/backward/vector.h: Same.
3762 * include/backward/tree.h: Same.
3763 * include/backward/tempbuf.h: Same.
3764 * include/backward/strstream: Same.
3765 * include/backward/streambuf.h: Same.
3766 * include/backward/stream.h: Same.
3767 * include/backward/stack.h: Same.
3768 * include/backward/slist.h: Same.
3769 * include/backward/set.h: Same.
3770 * include/backward/rope.h:
3771 * include/backward/queue.h: Same.
3772 * include/backward/pair.h: Same.
3773 * include/backward/ostream.h: Same.
3774 * include/backward/new.h: Same.
3775 * include/backward/multiset.h: Same.
3776 * include/backward/multimap.h: Same.
3777 * include/backward/map.h: Same.
3778 * include/backward/list.h: Same.
3779 * include/backward/iterator.h: Same.
3780 * include/backward/istream.h: Same.
3781 * include/backward/iostream.h:
3782 * include/backward/iomanip.h:
3783 * include/backward/heap.h: Same.
3784 * include/backward/hashtable.h:
3785 * include/backward/hash_set.h:
3786 * include/backward/hash_map.h:
3787 * include/backward/function.h:
3788 * include/backward/fstream.h:
3789 * include/backward/deque.h:
3790 * include/backward/defalloc.h: Same.
3791 * include/backward/complex.h: Same.
3792 * include/backward/bvector.h:
3793 * include/backward/alloc.h:
3794 * include/backward/algobase.h: Same.
3796 * include/backward/backward_warning.h: New file.
3797 * src/Makefile.am (backward_headers): Add backward_warning.h
3798 * src/Makefile.in: Regenerate.
3800 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
3802 * src/Makefile.am (myinstalldirs): Make sure backward directory is
3804 (myinstallheaders): Install backward headers in backward directory.
3805 * src/Makefile.in: Regenerate.
3807 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
3809 Prepare for libstdc++-2.92.
3810 * docs/html/17_intro/RELEASE-NOTES (New): Update.
3811 * docs/html/configopts.html: Fix formatting.
3812 * README (file): Updates.
3813 * include/bits/c++config (__GLIBCPP__): Update.
3815 2001-04-05 Phil Edwards <pme@sources.redhat.com>
3817 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
3819 2001-04-04 Phil Edwards <pme@sources.redhat.com>
3821 * docs/doxygen/user.cfg.in: Extract all non-private members;
3822 reduce confusing documentation output.
3824 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
3826 * include/backward/fstream.h: Add missing semicolons.
3828 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
3830 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
3831 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
3832 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
3833 (ios_base::Init::_S_ios_create): New.
3834 (ios_base::Init::_S_ios_destroy): New.
3835 * include/bits/std_fstream.h: Change ctor args.
3836 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
3837 (ios_base::Init::~Init): Use _S_ios_destroy.
3838 (ios_base::sync_with_stdio): Use new members.
3839 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
3842 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3844 * include/backward/fstream.h: Expose streampos to global
3847 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3849 * include/bits/stl_iterator_base_types.h: Fix typo
3851 2001-04-03 Andreas Schwab <schwab@suse.de>
3853 * include/backward/fstream.h: Define filebuf and wfilebuf.
3855 2001-04-02 Phil Edwards <pme@sources.redhat.com>
3857 New concept checking implementation.
3858 * docs/html/19_diagnostics/howto.html: Document.
3859 * docs/html/17_intro/concept_check.diff: New file, for reference.
3860 * include/bits/boost_concept_check.h: New file from Boost.
3861 * include/bits/c++config: Update comments.
3863 * include/bits/concept_check.h: New file.
3864 * include/bits/concept_checks.h: Removed.
3865 * include/bits/container_concepts.h: Removed.
3866 * include/bits/sequence_concepts.h: Removed.
3867 * include/bits/stl_iterator_base.h: Removed; split into...
3868 * include/bits/stl_iterator_base_funcs.h: ...this new file...
3869 * include/bits/stl_iterator_base_types.h: ...and this new file.
3871 * include/bits/sbuf_iter.h: Update to use new implementation.
3872 * include/bits/std_iterator.h: Likewise.
3873 * include/bits/std_memory.h: Likewise.
3874 * include/bits/stl_algo.h: Likewise.
3875 * include/bits/stl_algobase.h: Likewise.
3876 * include/bits/stl_construct.h: Likewise.
3877 * include/bits/stl_deque.h: Likewise.
3878 * include/bits/stl_heap.h: Likewise.
3879 * include/bits/stl_list.h: Likewise.
3880 * include/bits/stl_map.h: Likewise.
3881 * include/bits/stl_multimap.h: Likewise.
3882 * include/bits/stl_multiset.h: Likewise.
3883 * include/bits/stl_numeric.h: Likewise.
3884 * include/bits/stl_queue.h: Likewise.
3885 * include/bits/stl_set.h: Likewise.
3886 * include/bits/stl_stack.h: Likewise.
3887 * include/bits/stl_uninitialized.h: Likewise.
3888 * include/bits/stl_vector.h: Likewise.
3889 * include/ext/hash_map: Likewise.
3890 * include/ext/hash_set: Likewise.
3891 * include/ext/slist: Likewise.
3892 * include/ext/stl_hashtable.h: Likewise.
3894 * src/Makefile.am (base_headers): Update list of headers.
3895 * Makefile.in: Regenerated.
3896 * src/Makefile.in: Regenerated.
3897 * libio/Makefile.in: Regenerated.
3898 * libmath/Makefile.in: Regenerated.
3899 * libsupc++/Makefile.in: Regenerated.
3900 * testsuite/Makefile.in: Regenerated.
3902 * docs/html/install.html: Update contact information.
3903 * docs/html/17_intro/howto.html: Ditto.
3904 * docs/html/18_support/howto.html: Ditto.
3905 * docs/html/20_util/howto.html: Ditto.
3906 * docs/html/21_strings/howto.html: Ditto.
3907 * docs/html/22_locale/howto.html: Ditto.
3908 * docs/html/23_containers/howto.html: Ditto.
3909 * docs/html/24_iterators/howto.html: Ditto.
3910 * docs/html/25_algorithms/howto.html: Ditto.
3911 * docs/html/26_numerics/howto.html: Ditto.
3912 * docs/html/27_io/howto.html: Ditto.
3913 * docs/html/faq/index.html: Ditto, plus info on new checking code.
3914 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
3915 * docs/html/faq/index.txt: Regenerated.
3917 2001-04-02 Zack Weinberg <zackw@stanford.edu>
3919 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
3920 messages with $which_library as well as $tool_flags and
3921 ${dg-extra-tool-flags}. Factor out annotation text into
3924 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
3926 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
3927 * include/c_std/bits/std_cwchar.h: Same.
3928 * testsuite/21_strings/c_strings.cc: Add.
3930 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
3932 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
3934 2001-04-01 Zack Weinberg <zackw@stanford.edu>
3936 * tests_flags.in: Use test a = b, not test a == b which is not
3939 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
3941 * configure.target: Remove duplicate aix entry.
3943 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
3945 * include/ext/stl_bvector.h: Move to...
3946 * include/bits/stl_vector.h: ...here.
3947 * include/ext/bvector: Move to...
3948 * include/backward/bvector.h: ...here.
3949 * include/bits/std_vector.h: Change stl_bvector include.
3950 * include/bits/std_queue.h: Remove bvector include.
3951 * include/ext/tree: Insert using rb_tree, move to...
3952 * include/backward/tree.h: ...here.
3953 * include/backward/hash_map.h: Include ext/hash_map.
3954 * include/backward/hash_set.h: Include ext/hash_set.
3955 * include/backward/queue.h: New file.
3956 * include/backward/stack.h: Edit.
3957 * include/backward/algo.h: Same.
3958 * include/backward/algobase.h: Same.
3959 * include/backward/alloc.h: Same.
3960 * include/backward/function.h: Same.
3961 * include/backward/iomanip.h: Same.
3962 * include/backward/istream.h: Same.
3963 * include/backward/iterator.h: Same.
3964 * include/backward/list.h: Same.
3965 * include/backward/map.h: Same.
3966 * include/backward/multimap.h: Same.
3967 * include/backward/multiset.h: Same.
3968 * include/backward/ostream.h: Same.
3969 * include/backward/pair.h: Same
3970 * include/backward/rope.h: Same.
3971 * include/backward/set.h: Same.
3972 * include/backward/stream.h: Same.
3973 * include/backward/strstream.h: Same.
3974 * include/backward/tempbuf.h: Same.
3975 * src/Makefile.am (ext_headers): Edit.
3976 * src/Makefile.in: Regenerate.
3977 * testsuite/ext/headers.cc (main): Fix.
3980 2001-03-30 Phil Edwards <pme@sources.redhat.com>
3982 * tests_flags.in (LIBS): Pass correct path for installed testing.
3984 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
3986 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
3987 * tests_flags.in (CXX): Construct here.
3988 (static_fail): Don't remove compile.out. Format with spaces.
3989 (INCLUDES): Deal with xcompiling.
3990 * configure.in (xcompiling): Substitute.
3991 * testsuite/Makefile.am: Snake libjava configury.
3992 * testsuite/Makefile.in: Regenerate.
3993 * testsuite/23_containers/map_operators.cc: Tweaks.
3994 * testsuite/23_containers/set_operators.cc: Tweaks.
3996 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3998 Enable dejagnu testing framework.
3999 * configure.in: Generate testsuite/Makefile.
4000 * configure: Regenerate.
4001 * Makefile.am (check-install): Change rule from this...
4002 (check-script-install): ...to this.
4003 (check): Change rule from this...
4004 (check-script):...to this.
4005 * Makefile.in: Regenerate.
4007 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
4009 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
4011 (LIBTOOL): Let automake take care of its definition.
4012 * libsupc++/Makefile.in: Rebuilt.
4014 2001-03-28 Richard Henderson <rth@redhat.com>
4016 IA-64 ABI Exception Handling:
4017 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
4018 * configure.in: Use it.
4019 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
4020 * libsupc++/Makefile.am (sources): Update files list.
4021 * libsupc++/Makefile.in: Regenerate.
4022 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
4023 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
4024 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
4025 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
4026 * libsupc++/exception_support.cc: Remove.
4027 * libsupc++/exception_support.h: Remove.
4028 * libsupc++/pure.cc: Use std::terminate.
4029 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
4030 (__is_pointer): Remove.
4031 * libsupc++/unwind-cxx.h: New file.
4032 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
4034 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
4036 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
4038 * src/Makefile.am (CXXLINK): Likewise.
4039 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
4041 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
4043 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
4045 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4047 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
4050 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
4052 * include/bits/basic_file.h (get_fileno): Remove.
4053 (_M_fileno): Remove.
4054 (_M_cfile_created): Add.
4055 (basic_file::basic_file(__c_file_type*, openmode): Add.
4056 (basic_file::basic_file(int, const char*, openmode): Remove.
4057 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
4058 const char*, ios_base::openmode): Don't allocate
4059 internal buffers. Turn off internal buffers.
4060 (basic_filebuf::overflow): Remove test for null buffer.
4061 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
4062 * include/bits/streambuf.cc: Tweak.
4063 * include/bits/std_ostream.h: Tweak.
4064 * config/basic_file_libio.h: Same.
4065 * config/basic_file_stdio.h: Same.
4066 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
4067 * testsuite/27_io/filebuf_members.cc: Tweaks.
4068 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
4070 2001-03-24 Phil Edwards <pme@sources.redhat.com>
4072 * Makefile.am: New targets, doxygen and doxygen-maint.
4073 * Makefile.in: Regenerated.
4074 * docs/doxygen/run_doxygen: Finally implemented.
4075 * docs/doxygen/maint.cfg.in: New file.
4076 * docs/doxygen/user.cfg.in: New file.
4078 2001-03-24 Phil Edwards <pme@sources.redhat.com>
4080 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
4081 * src/Makefile.am: Replace leading spaces with tabs on continuation
4083 * aclocal.m4: Regenerated.
4085 * Makefile.in: Ditto.
4086 * src/Makefile.in: Ditto.
4087 * libio/Makefile.in: Ditto.
4088 * libmath/Makefile.in: Ditto.
4089 * libsupc++/Makefile.in: Ditto.
4091 2001-03-24 Phil Edwards <pme@sources.redhat.com>
4093 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
4094 concept-checking code and current status of same.
4095 * docs/html/ext/howto.html: Ditto.
4096 * docs/html/faq/index.html: Ditto.
4097 * docs/html/faq/index.txt: Regenerated.
4099 2001-03-24 Phil Edwards <pme@sources.redhat.com>
4101 * include/bits/std_bitset.h: Include ostream and istream headers
4102 instead of iostream.
4104 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
4106 * include/bits/ostream.tcc: Use __builtin_alloca.
4108 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
4110 * src/misc-inst.cc (__sink_unused_warning): Move to...
4111 * src/locale-inst.cc (__sink_unused_warning): Move to...
4112 * src/stl-inst.cc: Here.
4113 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
4116 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
4118 * intclude/bits/basic_file.h: Fix typos in comments.
4120 2001-03-20 Richard Henderson <rth@redhat.com>
4122 * src/gen-num-limits.cc: Instantiate for wchar_t.
4123 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
4125 2001-03-20 Jason Merrill <jason@redhat.com>
4127 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
4128 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
4129 * libsupc++/cxxabi.h: Declare it.
4131 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
4133 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
4134 signal_func with an unspecified argument list.
4136 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
4138 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
4140 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4142 * include/bits/basic_string.tcc (operator+): Fix thinko.
4144 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
4147 * include/bits/std_streambuf.h: Remove cached locale facets.
4148 (basic_streambuf::_M_buf_fctype): Remove.
4149 (basic_streambuf::~basic_streambuf): Remove here.
4150 (basic_streambuf::basic_streambuf): Same.
4151 (basic_streambuf::imbue): Same.
4152 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
4153 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
4154 (basic_filebuf::~basic_filebuf()): Remove here.
4155 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
4156 (basic_filebuf::imbue): Same.
4157 * include/bits/localefwd.h (_Count_ones): Remove.
4158 (locale::_S_num_categories): Just use 6, since this doesn't
4159 actually change, ever.
4160 * include/bits/locale_facets.tcc (has_facet): Simplify.
4162 * testsuite/27_io/filebuf.cc (test06): Add tests.
4164 2001-03-13 Steve Ellcey <sje@cup.hp.com>
4166 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
4167 match HP-UX ctype.h header file.
4169 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
4171 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
4172 duplicate definitions of __dj_ctype_*
4174 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
4176 * libsupc++/new: Remove pragma interface.
4177 * libsupc++/typeinfo: Same.
4178 * libsupc++/exception: Same.
4179 * libsupc++/new_handler.cc: Remove pragma implementation.
4180 (bad_alloc::~bad_alloc()): Add.
4181 * libsupc++/exception_support.cc: Same.
4182 (exception::~exception): Add.
4183 (bad_exception::~bad_exception): Add.
4184 * libsupc++/tinfo.cc: Same.
4185 (bad_cast::~bad_cast): Add.
4186 (bad_typeid::~bad_typeid): Add.
4188 2001-03-13 Phil Edwards <pme@sources.redhat.com>
4190 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
4192 2001-03-12 Felix Lee <flee@redhat.com>
4194 * mkcheck.in: workaround for bash 2.01 IFS bug.
4196 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
4198 Fixups for -fno-for-scope
4199 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
4200 * src/valarray-inst.cc (__gslice_to_index): Same.
4202 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
4204 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
4205 prior to trapping signal (UnixWare 7 workaround).
4207 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
4209 * include/backward/hashtable.h: Same.
4210 * include/backward/rope.h: Fix include.
4212 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
4214 * include/backward/vector.h: Include std_vector.h.
4216 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
4217 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
4220 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4222 * include/ext/stl_hashtable.h: Change type of __n to size_t
4223 * include/backward/bvector.h: Include <ext/stl_bvector.h>
4225 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4227 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
4228 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
4229 Use streamsize, not int_type.
4231 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
4233 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
4236 2001-03-08 Andreas Schwab <schwab@suse.de>
4238 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
4240 * aclocal.m4, configure: Regenerated.
4242 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
4244 * include/bits/std_iosfwd.h: Remove string forward decls here.
4245 * include/bits/stringfwd.h: Add forward decls for char_traits
4247 * config/c_io_libio.h (wstreamoff): Delete.
4248 * config/c_io_stdio.h (wstreamoff): Same.
4249 * include/bits/char_traits.h: Use streamoff not wstreamoff for
4250 char_traits<wchar_t>::off_type.
4251 Remove duplicate typedefs.
4252 * include/bits/fpos.h: Define streampos/wstreampos here.
4253 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
4256 Changeup output files.
4257 * testsuite/27_io/istream_unformatted.cc: Change output files.
4258 * testsuite/27_io/istream_seeks-1.txt: Add.
4259 * testsuite/27_io/istream_seeks-2.tst: Add.
4260 * testsuite/27_io/istream_seeks-1.tst: Add.
4261 * testsuite/27_io/istream_unformatted-2.tst: Delete.
4262 * testsuite/27_io/istream_unformatted-3.tst: Delete.
4263 * testsuite/27_io/istream_unformatted-3.txt: Delete.
4265 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
4267 Add Irix 5.2, 6.3 support.
4268 * config/os/irix/bits: Renamed to...
4269 * config/os/irix/irix6.5/bits: this.
4270 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
4271 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
4272 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
4273 * config/os/irix/irix5.2/bits/ctype_noninline.h
4274 (ctype<char>::ctype): Initialize _M_table with __ctype.
4275 * configure.target: Adjust.
4277 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
4280 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
4281 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
4283 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
4284 (*__pf)(__ios_type&)): Same.
4285 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
4286 (*__pf)(ios_base&))): Same.
4287 * testsuite/27_io/istream_extractor_other.cc: Add tests.
4288 * testsuite/27_io/istream_manip.cc (test01): Fix.
4290 2001-03-06 Nathan Myers <ncm@cantrip.org>
4291 Benjamin Kosnik <bkoz@redhat.com>
4293 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
4294 * testsuite/17_intro/header_cerrno.cc (test01): New file.
4295 * testsuite/17_intro/header_cassert.cc (test01): New file.
4296 * testsuite/17_intro/header_cstddef.cc (test01): New file.
4297 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
4298 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
4300 2001-03-05 scott snyder <snyder@fnal.gov>
4303 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
4305 * include/c_std/bits/std_cstdlib.h: ... to here.
4306 * testsuite/17_intro/header_cstdlib.cc: Add test.
4308 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
4310 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
4312 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
4314 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
4315 definition. Replace enum with static const variables.
4317 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
4318 throw specification, fix typos, use <static_cast>.
4319 (ctype<char>::scan_is): remove throw specification.
4320 (ctype<char>::scan_not): likewise.
4322 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
4323 (ctype<char>::do_toupper(char)): use <static_cast>.
4324 (ctype<char>::do_toupper(char *, const char *)): likewise.
4325 (ctype<char>::do_tolower(char)): likewise.
4326 (ctype<char>::do_tolower(char *, const char *)): likewise.
4328 2001-03-04 Phil Edwards <pme@sources.redhat.com>
4330 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
4331 * include/backward/algo.h: Use std not __STD. Remove unneeded
4332 macros and "never happens" code. Adjust to C++STYLE guidelines.
4333 * include/backward/algobase.h: Likewise.
4334 * include/backward/alloc.h: Likewise.
4335 * include/backward/bvector.h: Likewise.
4336 * include/backward/deque.h: Likewise.
4337 * include/backward/function.h: Likewise.
4338 * include/backward/hash_map.h: Likewise.
4339 * include/backward/hash_set.h: Likewise.
4340 * include/backward/hashtable.h: Likewise.
4341 * include/backward/heap.h: Likewise.
4342 * include/backward/iterator.h: Likewise.
4343 * include/backward/list.h: Likewise.
4344 * include/backward/map.h: Likewise.
4345 * include/backward/multimap.h: Likewise.
4346 * include/backward/multiset.h: Likewise.
4347 * include/backward/pair.h: Likewise.
4348 * include/backward/rope.h: Likewise.
4349 * include/backward/set.h: Likewise.
4350 * include/backward/slist.h: Likewise.
4351 * include/backward/stack.h: Likewise.
4352 * include/backward/strstream: Likewise.
4353 * include/backward/tempbuf.h: Likewise.
4354 * include/backward/tree.h: Likewise.
4355 * include/backward/vector.h: Likewise.
4356 * include/bits/basic_ios.h: Likewise.
4357 * include/bits/basic_ios.tcc: Likewise.
4358 * include/bits/basic_string.h: Likewise.
4359 * include/bits/c++config: Likewise.
4360 * include/bits/concept_checks.h: Likewise.
4361 * include/bits/fpos.h: Likewise.
4362 * include/bits/fstream.tcc: Likewise.
4363 * include/bits/functexcept.h: Likewise.
4364 * include/bits/ios_base.h: Likewise.
4365 * include/bits/istream.tcc: Likewise.
4366 * include/bits/mask_array.h: Likewise.
4367 * include/bits/ostream.tcc: Likewise.
4368 * include/bits/pthread_allocimpl.h: Likewise.
4369 * include/bits/sbuf_iter.h: Likewise.
4370 * include/bits/slice.h: Likewise.
4371 * include/bits/slice_array.h: Likewise.
4372 * include/bits/sstream.tcc: Likewise.
4373 * include/bits/std_bitset.h: Likewise.
4374 * include/bits/std_fstream.h: Likewise.
4375 * include/bits/std_iomanip.h: Likewise.
4376 * include/bits/std_ios.h: Likewise.
4377 * include/bits/std_istream.h: Likewise.
4378 * include/bits/std_iterator.h: Likewise.
4379 * include/bits/std_memory.h: Likewise.
4380 * include/bits/std_ostream.h: Likewise.
4381 * include/bits/std_sstream.h: Likewise.
4382 * include/bits/std_streambuf.h: Likewise.
4383 * include/bits/std_string.h: Likewise.
4384 * include/bits/std_valarray.h: Likewise.
4385 * include/bits/stl_algo.h: Likewise.
4386 * include/bits/stl_algobase.h: Likewise.
4387 * include/bits/stl_alloc.h: Likewise.
4388 * include/bits/stl_construct.h: Likewise.
4389 * include/bits/stl_deque.h: Likewise.
4390 * include/bits/stl_function.h: Likewise.
4391 * include/bits/stl_heap.h: Likewise.
4392 * include/bits/stl_iterator.h: Likewise.
4393 * include/bits/stl_iterator_base.h: Likewise.
4394 * include/bits/stl_list.h: Likewise.
4395 * include/bits/stl_map.h: Likewise.
4396 * include/bits/stl_multimap.h: Likewise.
4397 * include/bits/stl_multiset.h: Likewise.
4398 * include/bits/stl_numeric.h: Likewise.
4399 * include/bits/stl_pair.h: Likewise.
4400 * include/bits/stl_pthread_alloc.h: Likewise.
4401 * include/bits/stl_queue.h: Likewise.
4402 * include/bits/stl_raw_storage_iter.h: Likewise.
4403 * include/bits/stl_relops.h: Likewise.
4404 * include/bits/stl_set.h: Likewise.
4405 * include/bits/stl_stack.h: Likewise.
4406 * include/bits/stl_tempbuf.h: Likewise.
4407 * include/bits/stl_threads.h: Likewise.
4408 * include/bits/stl_tree.h: Likewise.
4409 * include/bits/stl_uninitialized.h: Likewise.
4410 * include/bits/stl_vector.h: Likewise.
4411 * include/bits/streambuf.tcc: Likewise.
4412 * include/bits/type_traits.h: Likewise.
4413 * include/bits/valarray_meta.h: Likewise.
4414 * include/ext/bvector: Likewise.
4415 * include/ext/hash_map: Likewise.
4416 * include/ext/hash_set: Likewise.
4417 * include/ext/ropeimpl.h: Likewise.
4418 * include/ext/slist: Likewise.
4419 * include/ext/stl_bvector.h: Likewise.
4420 * include/ext/stl_hash_fun.h: Likewise.
4421 * include/ext/stl_hashtable.h: Likewise.
4422 * include/ext/stl_rope.h: Likewise.
4423 * src/complex_io.cc: Likewise.
4424 * src/ios.cc: Likewise.
4425 * src/locale-inst.cc: Likewise.
4426 * src/locale.cc: Likewise.
4427 * src/localename.cc: Likewise.
4428 * src/misc-inst.cc: Likewise.
4429 * src/stdexcept.cc: Likewise.
4430 * src/stl-inst.cc: Likewise.
4431 * src/strstream.cc: Likewise.
4432 * src/valarray-inst.cc: Likewise.
4434 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
4436 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
4438 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4440 * include/bits/istream.tcc: change type of __extracted to __size_type
4442 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
4444 * src/wstring-inst.cc: New file.
4445 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
4446 (libinst_wstring_la_SOURCES): Remove.
4447 (libstdc___la_LIBADD): Remove libinst_wstring_la.
4448 (sources): Add wstring-inst.cc
4449 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
4452 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4454 * src/locale.cc: initialise __ret with zero
4455 * src/strstream.cc:cast gptr to int_type
4457 2001-03-01 Phil Edwards <pme@sources.redhat.com>
4459 * docs/html/faq/index.html: Update broken links.
4460 * docs/html/faq/index.txt: Regenerated.
4462 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
4465 * configure.target: Change irix* to irix6.5* in target_os table.
4467 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
4470 * include/bits/c++config (__GLIBCPP__): Bump number in
4471 anticipation of 2.92.
4473 * include/bits/codecvt.h: Fix typo.
4474 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
4476 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
4477 instantiations for stdio model.
4479 2001-02-28 Phil Edwards <pme@sources.redhat.com>
4481 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
4482 and GLIBCPP_CXXFLAGS as unused variables.
4483 * configure.host: Likewise.
4484 * configure.target: Likewise.
4485 * aclocal.m4: Regenerated.
4486 * configure: Regenerated.
4487 * Makefile.in: Regenerated.
4488 * libio/Makefile.in: Regenerated.
4489 * libmath/Makefile.in: Regenerated.
4490 * libsupc++/Makefile.in: Regenerated.
4491 * src/Makefile.in: Regenerated.
4493 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
4496 * include/bits/basic_file.h: Include basic_file_model.h.
4497 * config/c_io_libio.cc: Move to...
4498 * config/basic_file_libio.cc: Here.
4499 * config/basic_file_libio.h: New file.
4500 * config/c_io_stdio.cc: Move to...
4501 * config/basic_file_stdio.cc: Here.
4502 * config/basic_file_stdio.h: New file.
4503 * config/c_io_libio.h: Tweak.
4504 * config/c_io_stdio.h: Tweak.
4505 * src/Makefile.am (build_headers): Add basic_file_model.h.
4506 (sources): Add basic_file.cc, remove c++io.cc.
4507 * src/Makefile.in: Regenerate.
4508 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
4509 basic_file_model.h and basic_file.cc.
4510 * aclocal.m4: Regenerate.
4511 * configure: Regenerate.
4512 * testsuite/27_io/filebuf.cc (test05): Add regression.
4514 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
4517 * config/cpu/alpha/bits/atomicity.h: Change.
4518 * config/cpu/arm/bits/atomicit3y.h
4519 * config/cpu/generic/bits/atomicity.h
4520 * config/cpu/i386/bits/atomicity.h
4521 * config/cpu/i486/bits/atomicity.h
4522 * config/cpu/ia64/bits/atomicity.h
4523 * config/cpu/powerpc/bits/atomicity.h
4524 * config/cpu/sparc/sparc32/bits/atomicity.h
4525 * config/cpu/sparc/sparc64/bits/atomicity.h
4526 * config/os/aix/bits/atomicity.h
4527 * config/os/irix/bits/atomicity.h
4529 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
4531 * include/bits/std_stdexcept.h (runtime_error): Make string
4533 (logic_error): Same.
4534 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
4537 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
4541 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
4542 string object, not reference.
4543 (runtime_error::runtime_error): Same.
4544 * testsuite/19_diagnostics/stdexceptions.cc: New file.
4546 2001-02-26 Phil Edwards <pme@sources.redhat.com>
4548 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
4549 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
4550 diagnostics. Remove WFMT_FLAGS.
4551 * configure.in: Replace WFMT_FLAGS with diagnostics options.
4552 * libsupc++/Makefile.am: Likewise.
4553 * src/Makefile.am: Likewise.
4554 * aclocal.m4: Regenerated.
4555 * configure: Regenerated.
4556 * Makefile.in: Regenerated.
4557 * libio/Makefile.in: Regenerated.
4558 * libmath/Makefile.in: Regenerated.
4559 * libsupc++/Makefile.in: Regenerated.
4560 * src/Makefile.in: Regenerated.
4562 2001-02-26 Phil Edwards <pme@sources.redhat.com>
4564 Fixes libstdc++/2079
4565 * include/backward/iomanip.h: Expose <ios> manipulators to global
4567 * include/backward/iostream.h: Also expose std::ws.
4569 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
4571 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
4573 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
4575 * include/bits/codecvt.h: Use __builtin_alloca.
4576 * include/bits/ostream.tcc: Same.
4577 * include/bits/fstream.tcc: Same.
4579 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
4581 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
4583 2001-02-23 David Edelsohn <dje@watson.ibm.com>
4585 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
4587 2001-02-23 Phil Edwards <pme@sources.redhat.com>
4590 * include/backward/iostream.h: Expose std::flush in old headers.
4592 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4594 * mknumeric_limits: Remove special-casing on target. Use gcc
4595 instead of g++ to build gen-num-limits.cc
4597 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
4599 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
4601 * include/bits/codecvt.h: Use alloca instead of __extension__ for
4603 * include/bits/ostream.tcc: Same.
4604 * include/bits/std_ostream.h: Same.
4605 * include/bits/fstream.tcc: Same.
4606 * include/bits/locale_facets.tcc: Add typename.
4607 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
4609 2001-02-21 Phil Edwards <pme@sources.redhat.com>
4611 * tests_flags.in: Remove -n flag from call to echo.
4613 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
4615 * config/c_locale_gnu.h: Add clocale include.
4617 2001-02-20 Phil Edwards <pme@sources.redhat.com>
4619 * include/bits/stl_config.h: Remove file.
4620 * src/Makefile.am (base_headers): Remove from list.
4621 * configure: Regenerate.
4622 * Makefile.in: Ditto.
4623 * libio/Makefile.in: Ditto.
4624 * libmath/Makefile.in: Ditto.
4625 * libsupc++/Makefile.in: Ditto.
4626 * src/Makefile.in: Ditto.
4628 * include/bits/c++config: Move relevant macros to here.
4629 * include/backward/alloc.h: Include c++config.h instead.
4630 * include/backward/function.h: Ditto.
4631 * include/backward/heap.h: Ditto.
4632 * include/backward/pair.h: Ditto.
4633 * include/bits/pthread_allocimpl.h: Ditto.
4634 * include/bits/std_functional.h: Ditto.
4635 * include/bits/std_iterator.h: Ditto.
4636 * include/bits/std_numeric.h: Ditto.
4637 * include/bits/std_utility.h: Ditto.
4638 * include/bits/stl_algobase.h: Ditto.
4639 * include/bits/type_traits.h: Ditto.
4640 * src/stl-inst.cc: Ditto.
4642 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4644 * include/bits/basic_file.h: Add #pragma system_header
4645 * include/bits/basic_ios.h: Ditto.
4646 * include/bits/basic_string.h: Ditto.
4647 * include/bits/char_traits.h: Ditto.
4648 * include/bits/codecvt.h: Ditto.
4649 * include/bits/cpp_type_traits.h: Ditto.
4650 * include/bits/fpos.h: Ditto.
4651 * include/bits/gslice.h: Ditto.
4652 * include/bits/gslice_array.h: Ditto.
4653 * include/bits/indirect_array.h: Ditto.
4654 * include/bits/ios_base.h: Ditto.
4655 * include/bits/limits_generic.h: Ditto.
4656 * include/bits/locale_facets.h: Ditto.
4657 * include/bits/localefwd.h: Ditto.
4658 * include/bits/mask_array.h: Ditto.
4659 * include/bits/sbuf_iter.h: Ditto.
4660 * include/bits/sequence_concepts.h: Ditto.
4661 * include/bits/slice.h: Ditto.
4662 * include/bits/slice_array.h: Ditto.
4663 * include/bits/std_algorithm.h: Likewise.
4664 * include/bits/std_bitset.h: Likewise.
4665 * include/bits/std_complex.h: Likewise.
4666 * include/bits/std_deque.h: Likewise.
4667 * include/bits/std_fstream.h: Likewise.
4668 * include/bits/std_functional.h: Likewise.
4669 * include/bits/std_iomanip.h: Likewise.
4670 * include/bits/std_ios.h: Likewise.
4671 * include/bits/std_iosfwd.h: Likewise.
4672 * include/bits/std_iostream.h: Likewise.
4673 * include/bits/std_istream.h: Likewise.
4674 * include/bits/std_iterator.h: Likewise.
4675 * include/bits/std_list.h: Likewise.
4676 * include/bits/std_locale.h: Likewise.
4677 * include/bits/std_map.h: Likewise.
4678 * include/bits/std_memory.h: Likewise.
4679 * include/bits/std_numeric.h: Likewise.
4680 * include/bits/std_ostream.h: Likewise.
4681 * include/bits/std_queue.h: Likewise.
4682 * include/bits/std_set.h: Likewise.
4683 * include/bits/std_sstream.h: Likewise.
4684 * include/bits/std_stack.h: Likewise.
4685 * include/bits/std_stdexcept.h: Likewise.
4686 * include/bits/std_streambuf.h: Likewise.
4687 * include/bits/std_string.h: Likewise.
4688 * include/bits/std_utility.h: Likewise.
4689 * include/bits/std_valarray.h: Likewise.
4690 * include/bits/std_vector.h: Likewise.
4691 * include/bits/stringfwd.h: Likewise.
4692 * include/bits/type_traits.h: Likewise.
4693 * include/bits/valarray_array.h: Likewise.
4694 * include/bits/valarray_meta.h: Likewise.
4696 2001-02-19 Andreas Jaeger <aj@suse.de>
4698 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
4701 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
4704 * include/bits/std_ostream.h: Replaced usage of
4705 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
4706 * include/bits/char_traits.h: Removed non-standard
4707 methods that cannot be used elsewhere.
4710 * include/bits/basic_ios.h: Uncommented #include of
4714 * include/bits/codecvt.h: See next...
4715 * include/bits/fstream.tcc: See next...
4716 * include/bits/ostream.tcc: Add __extension__
4717 to variable-length arrays.
4720 * include/bits/localefwd.h: Changed int counter type to size_t.
4723 * include/bits/std_fstream.h: Added typedef for __ctype_type.
4725 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
4727 * testsuite/21_strings/char_traits.cc: Move to ...
4728 * testsuite/21_strings/char_traits_requirements.cc: ..here.
4729 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
4730 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
4732 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
4734 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
4737 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
4739 * include/bits/c++config: Revert.
4741 2001-02-15 Mark Mitchell <mark@codesourcery.com>
4743 * include/bits/istream.tcc: Use ios_base::iostate in place of
4744 iostate throughout. Insert `typename' keyword where necessary.
4745 * include/bits/ostream.tcc: Insert `typename' keyword where
4748 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
4750 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
4751 Define so library is compliant.
4753 2001-02-15 Anthony Green <green@redhat.com>
4755 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
4757 * aclocal.m4: Regenerate.
4758 * configure: Regenerate.
4760 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
4762 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
4763 Include ieeefp.h for fpclass on UnixWare{2,7}.
4764 * aclocal.m4: Regenerate.
4765 * configure: Regenerate.
4766 * mkcheck.in (size_command): Do without GNU-grep when using
4769 2001-02-15 Mark Mitchell <mark@codesourcery.com>
4771 Remove old ABI support from libsupc++.
4772 * libsupc++/cxxabi.h: Remove conditionally compiled code.
4773 * libsupc++/exception_support.cc: Likewise.
4774 * libsupc++/pure.cc: Likewise.
4775 * libsupc++/tinfo.cc: Likewise.
4776 * libsupc++/tinfo.h: Likewise.
4777 * libsupc++/tinfo2.cc: Likewise.
4778 * libsupc++/typeinfo: Likewise.
4779 * libsupc++/vec.cc: Likewise.
4781 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
4783 Add support for -fno-exceptions.
4784 * include/bits/exception_support.h: Remove.
4785 * include/bits/basic_string.h: Remove exception_support.
4786 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
4788 (string::substr): Same.
4789 * include/bits/basic_string.tcc (string::reserve): Replace
4790 __LENGTHERROR with __throw_length_error.
4791 (string::_S_create): Same.
4792 (string::resize): Same.
4793 (string::_M_replace): Same.
4794 (string::replace): Same.
4795 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
4796 (string::compare): Same.
4797 * include/bits/stl_vector.h: Remove exception_support.
4798 * src/Makefile.am (base_headers): Remove here.
4799 * src/Makefile.in: Regenerate.
4801 * include/bits/stl_range_errors.h: Remove.
4802 * include/bits/stl_deque.h: Use __throw_range_error.
4803 * include/bits/std_deque.h: Include functexcept.h.
4804 * include/bits/std_vector.h: Same.
4805 * src/Makefile.am (base_headers): Remove here.
4806 * src/Makefile.in: Regenerate.
4807 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
4808 * include/ext/bvector: Remove stl_range_errors.h
4810 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
4812 * include/bits/functexcept.h: New file.
4813 * src/functexcept.cc: New file. Definitions for function-based
4815 * src/Makefile.am (sources): Add functexcept.cc.
4816 * src/Makefile.in: Regenerate.
4818 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
4821 * include/bits/localefwd.h: Include functexcept.h.
4822 * include/bits/std_iosfwd.h: Same.
4824 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
4825 throw basic_ios::failure.
4826 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
4827 Use __throw_exception_again.
4828 (filebuf::_M_filebuf_init): Same.
4829 * include/bits/streambuf.tcc (__copy_streambufs): Same.
4830 * include/bits/ostream.tcc (ostream::operator<<): Same.
4831 * include/bits/istream.tcc (istream::operator>>): Same.
4832 * include/bits/basic_string.tcc (string::_M_mutate): Same.
4833 (string::_S_construct): Same.
4834 (string::_M_clone): Same.
4835 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
4837 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
4838 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
4839 __throw_exception_again.
4840 (locale::_Imp::_Imp(string, size_t): Same.
4841 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
4842 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
4843 (locale::locale(const char*)): Use __throw_runtime_error.
4844 (locale::classic): Use __throw_exception_again.
4845 (locale::_S_normalize_category): Use __throw_runtime_error.
4847 * src/stdexcept.cc: Remove cruft.
4849 * libsupc++/exception_defines.h: New file.
4850 * libsupc++/new_opnt.cc: Include exception_defines.h.
4851 * libsupc++/vec.cc: Same.
4852 (__cxa_vec_new2): Use __throw_exception_again.
4853 (__cxa_vec_new3): Same.
4854 (__cxa_vec_ctor): Same.
4855 (__cxa_vec_delete3): Same.
4856 (__cxa_vec_cctor): Same.
4857 (__cxa_vec_delete2): Same.
4858 (__cxa_vec_dtor): Same.
4859 * libsupc++/exception_support.cc: Include exception_defines.h. Only
4860 compile exception-handling bits if __EXCEPTIONS is defined.
4861 Remove old ABI support.
4862 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
4863 std::__throw_bad_alloc() instead of throw bad_alloc.
4864 * libsupc++/Makefile.am: Add exception_defines.h.
4865 * libsupc++/Makefile.in: Reformat.
4866 * libsupc++/*: Format.
4868 2001-02-15 Phil Edwards <pme@sources.redhat.com>
4870 * docs/html/configopts.html: Minor updates and typo fixes.
4871 * docs/html/faq/index.html: Updates of the "not really bugs" list.
4872 * docs/html/faq/index.txt: Regenerated.
4874 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
4876 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
4877 dejagnu/dg.exp. Adapt to log options used to run testcases.
4879 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4881 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
4884 2001-02-13 Dirk Mueller <dmuell@gmx.net>
4885 Phil Edwards <pme@sources.redhat.com>
4887 * include/backward/function.h: Do not use rel_ops for older
4889 * include/backward/pair.h: Likewise.
4891 2001-02-12 Mark Mitchell <mark@codesourcery.com>
4893 * src/locale.cc: Remove bogus locale::id definitions.
4895 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4897 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
4898 not _DEFINE_VALARRAY_OPERATOR which is not existent.
4900 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
4901 thinko in member initialisation.
4903 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
4905 * include/bits/std_valarray.h(valarray<>::shift): Avoid
4906 comparaison between signed and unsigned integer types.
4907 (valarray<>::cshift): Reformat.
4909 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
4911 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
4912 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
4913 * configure.in: Test for sigsetjmp.
4914 * configure, config.h.in: Rebuilt.
4916 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
4918 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
4919 lengths and strides.
4920 (__gslice_to_index): Document.
4922 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
4924 * include/bits/char_traits.h char_traits<char>::int_type: Change
4925 to `int' to match 21.1.3.1/2.
4927 * testsuite/21_strings/char_traits-int_type.C: New test.
4929 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
4931 * testsuite/Makefile.am: New file.
4933 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
4935 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
4937 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
4939 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
4941 2001-02-08 David Edelsohn <edelsohn@gnu.org>
4943 * configure.target (aix4*): Remove extra set of brackets.
4945 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
4948 * include/bits/stringfwd.h: New file.
4949 * include/bits/stl_string_fwd.h: Remove.
4950 * include/bits/localefwd.h: Remove declaration for allocator.
4951 * include/bits/std_iosfwd: Same.
4952 * include/bits/std_string.h: Include it.
4953 * include/bits/std_ios.h: Remove include.
4954 * include/bits/basic_string.h: Tweak.
4955 * libsupc++/new: Format.
4956 * src/Makefile.am (base_headers): Add stringfwd.h, remove
4958 * src/Makefile.in: Regenerate.
4959 * include/bits/std_stdexcept.h: Rewrite.
4960 * src/stdexcept.cc: Same.
4962 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
4964 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
4965 install locations too.
4966 * aclocal.m4: Regenerate.
4967 * configure.in: Remove USE_LIBDIR.
4968 * configure: Regenerate.
4969 * src/Makefile.am (toolexecdir): Simplify, use
4970 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
4971 * src/Makefile.in: Regenerate.
4972 * libsupc++/Makefile.am: Same.
4973 * libsupc++/Makefile.in: Regenerate.
4975 * src/Makefile.am: Just remove special rules for locale-inst.cc and
4976 misc-inst.cc as no longer necessary.
4978 Follow C++STYLE for naming non-static functions.
4979 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
4981 * include/bits/streambuf.tcc: Same.
4982 * include/bits/ostream.tcc: Same.
4983 * include/bits/istream.tcc: Same.
4984 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
4985 (_S_output_float): To __output_float.
4986 * include/bits/std_streambuf.h (_S_copy_streambufs): To
4988 * include/bits/locale_facets.tcc (_S_build_float_format): To
4989 __build_float_format.
4990 (_S_format): To __output_integer.
4991 (_S_fill): To __pad.
4992 * src/locale.cc: Same.
4993 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
4995 * include/bits/locale_facets.tcc (_S_group_digits): To
4997 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
4998 for collate, numpunct.
5000 2001-02-06 Phil Edwards <pme@sources.redhat.com>
5002 * docs/html/configopts.html: Fix HTML markup.
5003 * docs/html/install.html: Bring up to date.
5004 * docs/html/17_intro/C++STYLE: Add global variable conventions.
5005 * docs/html/21_strings/howto.html: More notes.
5006 * docs/html/22_locale/howto.html: Fix HTML markup.
5007 * docs/html/27_io/howto.html: More notes.
5008 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
5009 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
5011 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
5013 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
5014 to match header files.
5015 (_S_output_float): Likewise.
5016 (_S_copy_streambufs): Likewise.
5018 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
5019 Phil Edwards <pme@sources.redhat.com>
5021 * include/bits/std_istream.h (op>> signed,unsigned char): Must
5022 use reinterpret_cast, not static_cast.
5024 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
5026 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
5027 * aclocal.m4: Regenerate.
5028 * configure: Regenerate.
5030 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
5032 * include/bits/locale_facets.h (class moneypunct): Fix typos.
5033 * libsupc++/pure.cc: Revert.
5035 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
5037 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
5038 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
5039 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
5040 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
5041 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
5042 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
5043 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
5044 * aclocal.m4: Regenerate.
5045 * configure: Regenerate.
5047 2001-02-05 Mark Mitchell <mark@codesourcery.com>
5049 * include/bits/locale_facets.tcc: Remove `static' keyword on
5050 function definitions.
5051 * include/bits/std_streambuf.h: Likewise.
5052 * src/Makefile.am: Remove use of -fimplicit-templates.
5053 * src/Makefile.in: Regenerated.
5054 * src/locale-inst.cc: Explicitly instantiate more functions.
5055 * src/misc-inst.cc: Likewise.
5056 * src/string-inst.cc: Likewise.
5058 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
5060 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
5061 macro. Consolidate all the bits to do with where includes might be
5063 * aclocal.m4: Regenerate.
5064 * configure.in: Use it.
5065 * configure: Regenerate.
5066 * src/Makefile.am (targetincludep): Use simplified rules.
5067 (targetincludep): Rename gxx_target_include_dir.
5068 (myincludep): Rename gxx_include_dir.
5069 * src/Makefile.in: Regenerate.
5070 * libsupc++/Makefile.am: Use simplified rules.
5071 * libsupc++/Makefile.in: Regenerate.
5073 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
5075 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
5076 * include/c_std/bits/std_cctype.h: Same.
5077 * include/c_std/bits/std_cassert.h: Same.
5078 * include/c_std/bits/std_cstdarg.h: Same.
5079 * include/c_std/bits/std_cstddef.h: Same.
5081 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
5083 * include/c_std/bits/std_ctime.h: Same.
5084 * include/c_std/bits/std_clocale.h: Same.
5085 * include/c_std/bits/std_cmath.h: Same.
5086 * include/c_std/bits/std_csetjmp.h: Same.
5087 * include/c_std/bits/std_csignal.h: Same.
5088 * include/c_std/bits/std_cstring.h: Same.
5089 * include/c_std/bits/std_cstdlib.h: Same.
5090 * include/c_std/bits/std_cwchar.h: Same.
5092 2001-02-05 Phil Edwards <pme@sources.redhat.com>
5094 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
5096 2001-02-05 Mark Mitchell <mark@codesourcery.com>
5098 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
5099 (string::_S_construct): Likewise.
5101 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
5103 * testsuite/config/default.exp: New file.
5104 * testsuite/config: New directory.
5106 2001-02-04 Mark Mitchell <mark@codesourcery.com>
5108 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
5109 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
5110 whenever !__GXX_MERGED_TYPEINFO_NAMES.
5111 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
5113 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
5114 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
5116 * Makefile.am (mkinstalldirs): Set.
5117 * src/Makefile.am (mkinstalldirs): Set.
5118 * libmath/Makefile.am (mkinstalldirs): Set.
5119 * libsup++/Makefile.am (mkinstalldirs): Set.
5120 * libio/Makefile.am (mkinstalldirs): Set.
5121 * */Makefile.in: Regenerate.
5123 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
5125 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
5126 * include/bits/localefwd.h: More initialization cleanups.
5128 2001-02-03 Jeffrey A Law <law@cygnus.com>
5130 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
5131 correctly targets with 16bit ints.
5132 (_S_ios_openmode_end): Similarly.
5133 (_S_ios_iostate_end): Similarly.
5134 (_S_ios_Seekdir_end): Similarly.
5136 2001-02-02 Phil Edwards <pme@sources.redhat.com>
5138 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
5140 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
5142 * configure.in (toplevel_srcdir, auxdir): Set.
5143 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
5144 * aclocal.m4, configure, Makefile.in: Rebuilt.
5145 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
5146 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
5147 * libsupc++-v3/Makefile.in: Rebuilt.
5148 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
5149 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
5151 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
5153 * config/c_locale_generic.cc: Remove langinfo include.
5155 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
5157 Preliminary named locales.
5158 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
5159 * aclocal.m4: Regenerate.
5160 * configure.in: Use it.
5161 * configure: Regerate.
5162 * src/Makefile.am (sources): Add c++locale.cc.
5163 (build_headers): Add c++locale.h.
5164 * src/Makefile.in: Regenerate.
5165 * config/c_locale_gnu.h: New file.
5166 * config/c_locale_gnu.cc: New file. Non-inline member functions
5167 for named locales, gnu-specific.
5168 * config/c_locale_generic.h: New file.
5169 * config/c_locale_generic.cc: New file. Non-inline member
5170 functions for named locales, generic version.
5171 * docs/html/configopts.html: Add documentation on new options.
5173 * include/bits/locale_facets.h (class _Messages): Remove.
5174 (class _Moneypunct): Remove.
5175 * src/locale-inst.cc: Remove.
5177 * include/bits/locale_facets.h (class _Collate): Remove.
5178 * src/locale-inst.cc (std): Remove.
5179 * src/locale.cc: And here.
5181 * include/bits/localefwd.h (locale::_M_coalesce): New
5182 function. Correctly put together multi-name locales.
5183 (_Impl(const _Impl&, category, size_t)): Remove.
5185 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
5187 (_M_normalize_category_names): Remove.
5188 (_M_replace_categories): Fix.
5190 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
5191 (locale::_Impl::_M_construct_ctype): Remove.
5192 (locale::_Impl::_M_construct_monetary): Remove.
5193 (locale::_Impl::_M_construct_numeric): Remove.
5194 (locale::_Impl::_M_construct_time): Remove.
5195 (locale::_Impl::_M_construct_messages): Remove.
5197 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
5198 (_Use_facet_failure_handle): Remove.
5199 * src/locale.cc: Remove definitions.
5200 * src/locale-inst.cc: And here.
5202 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
5204 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
5205 create and error-check underlying locale object.
5206 (locale::facet::_S_destroy_c_locale): Add, take care of properly
5207 tearing down underlying locale object.
5208 * include/bits/localefwd.h (locale::facet): Declare.
5209 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
5210 correctness, as glibc apparently has incorrect info in it. Test
5211 with it when it works again.....
5213 * include/bits/localefwd.h (locale::_Impl::__vec_string):
5214 Remove. Number of categories is fixed at six, so just simplify and
5215 make this an array of strings.
5216 (locale::_Impl::_M_has_name): Remove.
5217 (locale::_Impl::_M_name): Remove.
5218 (locale::_Impl::_M_category_names): Turns into...
5219 (locale::_Impl::_M_names): ...this.
5220 (locale::_Impl::_M_has_same_name()): New function.
5221 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
5222 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
5224 * src/locale.cc (locale::name()): Construct mangled name
5225 accurately reflecting combined locale categories.
5227 * src/locale.cc (locale::classic()): Don't initialize here.
5228 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
5229 __refs, bool __has_name, string __str): Do it here.
5231 * include/bits/localefwd.h: _S_categories_num to
5232 _S_num_categories. _S_facets_num to _S_num_facets.
5233 (locale::id::id()): Explicitly set _M_index to zero.
5234 * src/locale.cc: Same.
5236 * src/locale.cc: (locale::locale(const char*)): Construct named
5239 * src/locale.cc: Remove numpunct_byname ctors.
5240 * testsuite/22_locale/numpunct_byname.cc: New file.
5241 * testsuite/22_locale/numpunct.cc: New file.
5243 * include/bits/localefwd.h (class locale): Change data members to
5244 protected, from private.
5245 (_Impl::_M_get_c_locale): Add member function.
5246 (locale::facet::_M_get_global_impl()): Add member function.
5247 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
5248 a __c_locale pointer.
5249 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
5251 * testsuite/22_locale/members.cc: New file, test name and combine.
5253 * include/bits/locale_facets.h (class numpunct): Remove class
5254 _Punct and _Numpunct. Rewrite class numpunct to be correct for
5256 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
5257 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
5258 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
5259 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
5260 * testsuite/22_locale/numpunct_char_members.cc: New file.
5262 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
5264 * testsuite/README: Add more comment.
5265 * testsuite/lib/libstdc++.exp: Tweak comment.
5267 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
5269 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
5271 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
5273 * testsuite/21_strings/inserters_extractors.cc: Remove
5274 explicit reference to 'testsuite/'.
5276 2001-01-25 Richard Henderson <rth@redhat.com>
5278 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
5279 bits. Fixes Tru64 build issues.
5281 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
5283 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
5284 (use ${MAKE-make}, not ${MAKE:-make}).
5285 * aclocal.m4, configure: Regenerate.
5287 2001-01-25 Mark Mitchell <mark@codesourcery.com>
5289 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
5292 * src/Makefile.am (sources): Add globals.cc.
5293 * src/Makefile.in: Regenerated.
5294 * src/globals.cc: New file.
5295 * src/ios.cc (cin): Don't define here, just declare extern.
5304 2001-01-25 Phil Edwards <pme@sources.redhat.com>
5306 * include/bits/std_iterator.h: Do not include stl_relops.h.
5307 * include/bits/std_numeric.h: Ditto.
5308 * include/bits/stl_algobase.h: Ditto.
5309 * include/bits/stl_relops.h: Add comment warning about problems.
5311 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
5313 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
5314 in testcases. Prepare for the DejaGnu based framework.
5315 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
5316 directory -- it is now mkcheck working directory.
5317 * tests_flags.in: Remove reference to $(top_srcdir). Use
5319 * Makefile.am (check, check-install): Change mkcheck invocation
5321 * Makefile.in: Regenerate.
5323 2001-01-24 Mark Mitchell <mark@codesourcery.com>
5325 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
5326 (__always_swap): Likewise.
5328 2001-01-23 Chris Demetriou <cgd@broadcom.com>
5330 * libsupc++/exception_support.cc (__terminate_func): Remove
5332 (__terminate_func_ptr): New typedef.
5333 (__terminate, __terminate_set_func): New extern function
5335 (std::terminate): Use __terminate function.
5336 (std::set_terminate): Use __terminate_set_func function.
5338 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
5340 * configure.target: Just use os_include_dir always.
5341 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
5342 Link atomicity files and ctype files here.
5343 * configure: Regenerate.
5344 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
5345 (GLIBCPP_ENABLE_ATOMICITY): Remove.
5346 * aclocal.m4: Regenerate.
5348 2001-01-23 Chris Demetriou <cgd@broadcom.com>
5350 * configure.in: Place definition of MULTISUBDIR in
5351 libsupc++/Makefile as is done for src/Makefile.
5352 * configure: Regenerate.
5354 2001-01-23 Phil Edwards <pme@sources.redhat.com>
5356 * acinclude.m4: Cosmetic changes only.
5357 * aclocal.m4: Regenerated.
5358 * configure: Regenerated.
5359 * configure.target: Update documented list of changed variables.
5360 * docs/html/install.html: Fix typo.
5361 * docs/html/20_util/howto.html: More notes on auto_ptr.
5362 * docs/html/27_io/howto.html: More notes on streabufs.
5363 * docs/html/faq/index.html: Add rel_ops problem and mention the
5364 DEC as(1) .subsection difficulty.
5365 * docs/html/faq/index.txt: Regenerated.
5367 2001-01-23 Mark Mitchell <mark@codesourcery.com>
5369 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
5370 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
5371 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
5372 its already provided in config.target.
5373 * aclocal.m4: Regenerated.
5374 * configure: Likewise.
5375 * configure.target: Set ctype_include_dir for lots of systems.
5376 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
5377 * libsupc++/Makefile.in: Regenerated.
5379 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
5381 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
5384 * testsuite/README: Add comment.
5386 2001-01-21 Phil Edwards <pme@sources.redhat.com>
5388 * docs/html/configopts.html: Update for current status. Fix HTML.
5389 * docs/html/install.html: Update for current status.
5391 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5393 * testsuite/libstdc++.tests/tests.exp: New file.
5394 * testsuite/lib/libstdc++.exp: Itou.
5395 * testsuite/README: Itou.
5397 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
5399 * tests_flags.in: Just output the bare minimum to run tests.
5400 Let's the caller do its own arrangement.
5402 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
5405 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
5407 * testsuite/17_intro: Prepare testcases for new style DejaGnu
5410 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
5412 * testsuite/libstdc++.tests, testsuite/lib: New directories.
5414 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
5416 * mkcheck.in: Construct file names that match $objdir structure.
5417 * testsuite/27_io/filebuf_members-1.txt: New file.
5418 * testsuite/27_io/ifstream_members-1.txt: New file.
5419 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
5421 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
5422 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
5424 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5426 * testsuite/27_io/istream_sentry.cc (test02): Fix.
5428 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
5431 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
5432 * src/ios.cc (ios_base::failure): Make definitions match.
5433 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
5434 (class bad_cast): Same.
5435 * libsupc++/exception (class exception): Add throw specs.
5436 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
5437 (set_unexpected): Same.
5438 (uncaught_exception): Same.
5441 * docs/html/17_intro/C++STYLE (classname): Fix.
5443 2001-01-16 Mark Mitchell <mark@codesourcery.com>
5445 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
5446 Use it do explicitly instantiate predicate<T> and value<T> for
5449 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
5451 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
5452 uninitialized thinko in last change.
5454 2001-01-16 Mark Mitchell <mark@codesourcery.com>
5456 * libsupc++/exception_support.cc (__cp_pop_exception): Change
5459 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
5461 * docs/html/17_intro/C++STYLE (classname): Add more existing
5462 and stylish patterns.
5465 * include/bits/istream.tcc (istream::sentry::sentry()): Set
5466 failbit if the state of the stream is not good.
5467 * testsuite/27_io/istream_sentry.cc (test02): Add test.
5468 * testsuite/27_io/istream_manip.cc (test01): Modify.
5471 reported by Paolo Carlini <pcarlini@unitus.it>
5472 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
5473 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
5476 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
5477 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
5478 (xsgetn): Same. Simplify.
5479 * testsuite/27_io/streambuf.cc (test04): Add testcases.
5481 reported by Larry Evans <jcampbell3@prodigy.net>
5482 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
5483 equality with eof on returned value from overflow.
5485 2001-01-14 Andreas Jaeger <aj@suse.de>
5487 * libio/libio.h: Add test for glibc 2.0.
5489 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
5491 * config/os/djgpp/bits/*: Fix dates.
5493 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
5494 _CharT* __end, _CharT __c): Remove.
5495 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
5496 * include/bits/char_traits.h: Tweak.
5498 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
5500 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
5501 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
5503 * aclocal.m4: regenerated.
5504 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
5505 * configure: regenerated.
5506 * config/os/djgpp, config/os/djgpp/bits: new directories.
5507 * config/os/djgpp/bits/ctype_base.h,
5508 config/os/djgpp/bits/ctype_inline.h,
5509 config/os/djgpp/bits/ctype_noninline.h,
5510 config/os/djgpp/bits/os_defines.h: new files.
5512 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
5514 * include/c_std/bits/std_cstdio.h: Undef printf.
5516 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
5518 * src/ios.cc: Fix typo: change cout->wcout.
5520 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
5521 * src/Makefile.in: Regenerate.
5523 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5525 * include/bits/std_complex.h: Fix a typo.
5527 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
5530 Fixes for libstdc++/1576
5531 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
5532 file, move contents into....
5533 * src/ios.cc: ...Here. Put defines for iostreams objects and
5534 initialization routines into one file to simplify DSO interaction.
5535 * include/bits/std_iostream.h: Touch.
5536 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
5537 * src/Makefile.am (sources): Remove stdstreams.cc.
5538 * src/Makefile.in: Regenerate.
5540 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5542 * tests_flags.in (check_directory): Fix typo.
5544 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5546 * include/bits/std_complex.h: Fix a typo.
5548 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
5550 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
5551 code path:) Remove magic constants and restructure to handle
5552 ctype.h bit mask layout changes more gracefully. (Make fast
5553 code path:) Use __maskrune (), if available.
5554 (is): Remove special case for digit and xdigit masks.
5556 2001-01-09 Robert Lipe <robertlipe@usa.net>
5558 * include/c_std/bits/std_ctime.h: Undefine difftime.
5560 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
5562 * src/gen-num-limits.cc (signal_adapter): New template function.
5563 (signal_handler): Use it, instead of signal.
5564 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
5565 require both tests to trap to set trap_flag.
5567 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
5569 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
5570 initialize mbstate_t member, name offset data members *off, not pos.
5571 * include/bits/fstream.tcc (filebuf::filebuf): Same.
5573 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
5575 reported by Chris G. Demetriou <cgd@sibyte.com>
5576 * configure.in: Change -linux-* to -linux*.
5577 * configure: Regenerate.
5579 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
5581 Fix 27_io/filebuf_members.cc
5582 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
5583 const string& __name, category __cat, size_t __refs): Set
5584 _M_has_name with _M_name.
5585 * include/bits/localefwd.h (locale::operator!=): Protect member
5586 function call with this->.
5587 * src/locale.cc (locale::operator==): Make fast checks first.
5588 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
5590 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
5592 * src/ios.cc (ios_base::Init::Init): Initialize here.
5593 (ios_base::sync_with_stdio): Set here.
5595 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
5597 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
5598 systems that support it, call dup() before fdopen().
5600 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
5602 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
5603 * testsuite/17_intro/header_cwctype.cc (main): New file.
5605 * src/Makefile.am (base_headers): Change.
5606 * include/bits/std_string.h: And here.
5607 * include/bits/string.tcc: Tweaks, move to...
5608 * include/bits/basic_string.tcc: ...Here.
5609 * src/string-inst.cc: Simplify, just instantiate the whole class,
5610 not member-by-member.
5612 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
5614 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
5615 * aclocal.m4: Regenerate.
5616 * configure: Regenerate.
5618 * include/bits/c++config (__GLIBCPP__): Bump version number.
5620 * ChangeLog: Start new log for year 2001
5621 * ChangeLog-2000: New file.
5623 * docs/html/configopts.html: Make sure default values are current,
5626 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
5628 * include/c_std/bits/std_cwchar.h: Same.
5629 * testsuite/17_intro/header_cwchar.cc: Same.
5630 * include/c_std/bits/std_ctime.h: Same.
5631 * testsuite/17_intro/header_ctime.cc: Same.
5632 * include/c_std/bits/std_cstdlib.h: Same.
5633 Clean up undefs, make consistent with cwchar and cmath, etc.
5634 * testsuite/17_intro/header_cstdlib.cc: Same.
5635 * include/c_std/bits/std_cstdio.h: Same here.
5636 * testsuite/17_intro/header_cstring.cc: Same.
5637 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
5638 * testsuite/17_intro/header_cstring.cc: New file. Check for
5639 size_t in namespace std.
5641 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
5642 * acconfig.h (HAVE_MBSTATE_T): Add.
5643 * config.h.in: Regenerate.
5644 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
5646 * aclocal.m4: Regenerate.
5647 * configure: Regenerate.
5648 * testsuite/17_intro/headers_c++.cc: New file.
5649 * testsuite/17_intro/headers_c.cc: Small changes.
5651 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
5653 * tests_flags.in: Fix typo in usage.
5655 * tests_flags.in: Set target specific LIBS for cygwin.