1 2001-12-06 Phil Edwards <pme@gcc.gnu.org>
3 * include/bits/std_bitset.h: Use GLIBCPP in multiple-inclusion guard.
4 * include/bits/stl_algo.h: Likewise.
5 * include/bits/stl_algobase.h: Likewise.
6 * include/bits/stl_bvector.h: Likewise.
7 * include/bits/stl_deque.h: Likewise.
8 * include/bits/stl_function.h: Likewise.
9 * include/bits/stl_iterator.h: Likewise.
10 * include/bits/stl_iterator_base_funcs.h: Likewise.
11 * include/bits/stl_iterator_base_types.h: Likewise.
12 * include/bits/stl_list.h: Likewise.
13 * include/bits/stl_multimap.h: Likewise.
14 * include/bits/stl_multiset.h: Likewise.
15 * include/bits/stl_pair.h: Likewise.
16 * include/bits/stl_queue.h: Likewise.
17 * include/bits/stl_set.h: Likewise.
18 * include/bits/stl_stack.h: Likewise.
19 * include/bits/stl_tempbuf.h: Likewise.
20 * include/bits/stl_tree.h: Likewise.
21 * include/bits/stl_vector.h: Likewise.
23 * include/bits/stl_alloc.h: Use our own multiple inclusion guards.
24 Doxygenate more comments. Correct historical artifacts in comments.
25 (alloc, single_alloc): Uglify non-standard names.
26 (__default_alloc_template::_NFREELISTS): Calculate from other
28 (__default_alloc_template::_S_free_list): Remove SunPro workaround.
29 (__default_alloc_template::_Lock): Mark as "unused".
30 * include/backward/alloc.h: Update.
31 * include/bits/stl_bvector.h: Likewise.
32 * include/ext/ropeimpl.h: Likewise.
33 * include/ext/stl_hashtable.h: Likewise.
35 2001-12-05 Benjamin Kosnik <bkoz@redhat.com>
38 * include/bits/locale_facets.tcc (num_put::_M_widen_float): Add
39 grouping to floating point types.
40 * testsuite/27_io/ostream_inserter_arith.cc (test02): Add test.
42 2001-12-04 Paolo Carlini <pcarlini@unitus.it>
45 * testsuite/27_io/ostream_inserter_arith.cc (test02): add testcase
47 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
48 Deal properly with long ios_base::fixed floats.
49 (num_put::_M_widen_float): use
50 __len in __builtin_alloca call.
52 2001-12-04 Benjamin Kosnik <bkoz@redhat.com>
54 * src/Makefile.am (sources): Add ext-inst.cc.
55 * src/Makefile.in: Regenerate.
56 * src/ext-inst.cc: New file.
57 * include/bits/stl_threads.h: Format.
58 * src/globals.cc: Add instantiation for _S_swap_lock.
60 * testsuite/18_support/numeric_limits.cc: Add numeric_limits<B>
63 2001-12-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
65 * testsuite/22_locale/numpunct_members_wchar_t.cc: Only compile
66 and execute test01 if _GLIBCPP_USE_WCHAR_T is defined.
67 * testsuite/26_numerics/complex_inserters_extractors.cc: Provide
68 for explicit instantiation of class std::basic_string<char,
69 gnu_char_traits, std::allocator<char> >.
71 2001-12-03 Benjamin Kosnik <bkoz@redhat.com>
73 * testsuite/22_locale/collate.cc: Compile-only.
74 * testsuite/22_locale/time_get.cc: Same.
75 * testsuite/22_locale/time_put.cc: Same.
76 * testsuite/22_locale/numpunct.cc: Same.
77 * testsuite/22_locale/num_put.cc: Same.
78 * testsuite/22_locale/num_get.cc: Same.
79 * testsuite/22_locale/moneypunct.cc: Same.
80 * testsuite/22_locale/money_get.cc: Same.
81 * testsuite/22_locale/messages.cc: Same.
82 * testsuite/22_locale/ctype.cc: Same.
84 2001-12-03 Benjamin Kosnik <bkoz@redhat.com>
86 * src/string-inst.cc (string::_Rep::_S_terminal): Add static data
87 member instantiations.
89 2001-12-03 Steve Ellcey <sje@cup.hp.com>
91 * libstdc++-v3/configure.in: Add support for hpux cross compiles,
92 combine common linux/hpux/generic cross compile support to reduce
94 * libstdc++-v3/configure: Regenerate.
96 2001-12-03 Loren J. Rittle <ljrittle@acm.org>
98 * docs/html/ext/howto.html: Update commentary.
99 * include/bits/c++config: Update threading configuration comment.
100 (__STL_GTHREADS): Remove macro definition.
101 (__STL_THREADS): Likewise.
102 * include/bits/stl_threads.h: Leave only the configuration
103 path which had been guarded by __STL_GTHREADS. Remove all
104 guards related to __STL_GTHREADS, __STL_SGI_THREADS,
105 __STL_PTHREADS, __STL_UITHREADS and __STL_WIN32THREADS.
106 * include/bits/stl_alloc.h: Leave only the configuration path
107 which had been guarded by __STL_THREADS. Remove configuration
108 path and guards for __STL_SGI_THREADS.
109 (__NODE_ALLOCATOR_THREADS): Remove macro definition. Unroll its use.
110 (__NODE_ALLOCATOR_LOCK): Likewise.
111 (__NODE_ALLOCATOR_UNLOCK): Likewise.
112 (_NOTHREADS): Remove guards related to macro.
113 * include/ext/stl_rope.h: Remove configuration path and guards
114 for __STL_SGI_THREADS.
115 * src/stl-inst.cc: Remove use of __NODE_ALLOCATOR_THREADS.
117 2001-12-02 Phil Edwards <pme@gcc.gnu.org>
119 * docs/html/ext/howto.html: Update list of implemented DRs.
120 * docs/html/ext/lwg-active.html: Import R20 from upstream.
121 * docs/html/ext/lwg-defects.html: Import R20 from upstream.
123 2001-11-30 Benjamin Kosnik <bkoz@redhat.com>
127 * libsupc++/exception (bad_exception::~bad_exception()): Remove
129 * libsupc++/new (bad_alloc::~bad_alloc()): Remove.
130 * libsupc++/typeinfo (bad_cast::~bad_cast()): Remove.
131 (bad_typeid::~bad_typeid()): Remove.
132 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Remove definition.
133 (bad_typeid::~bad_typeid()): Same.
134 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
135 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()): Same.
137 * include/bits/std_iomanip.h: Tweak.
139 2001-11-29 Paolo Carlini <pcarlini@unitus.it>
142 * include/bits/locale_facets.tcc (__pad): Add bool parameter to
143 correctly pad internal-adjusted const char*-type objects.
144 * include/bits/locale_facts.tcc (num_put::_M_insert): Update call.
145 * include/bits/ostream.tcc (operator<<(_CharT , char, const
146 _CharT*, const char*, const basic_string&): Update calls.
147 * src/locale-inst.tcc: Update declarations.
148 * testsuite/27_io/ostream_inserter_arith.cc (test04): Add test.
150 2001-11-29 Phil Edwards <pme@gcc.gnu.org>
152 * docs/html/ext/howto.html: Finish allocator notes (inst and 3.0).
154 2001-11-29 Benjamin Kosnik <bkoz@redhat.com>
156 * include/bits/locale_facets.tcc (num_get::do_get(long double)):
157 Fix __traits_type typo.
159 2001-11-28 Paolo Carlini <pcarlini@unitus.it>
161 * include/bits/locale_facets.tcc (__pad): Correctly pad
162 internal-adjusted hex numbers.
163 * testsuite/27_io/ostream_inserter_arith.cc: Add testcase.
165 2001-11-28 Paolo Carlini <pcarlini@unitus.it>
166 Loren J. Rittle <ljrittle@acm.org>
168 * include/bits/basic_string.h
169 (basic_string::_Rep::__default_excess, _S_excess_slop):
171 * include/bits/basic_string.tcc: Remove dead code.
172 * include/bits/c++config: Remove comment.
174 2001-11-28 Benjamin Kosnik <bkoz@redhat.com>
175 Jakub Jelinek <jakub@redhat.com>
177 * config/locale/moneypunct_members_gnu.cc
178 (moneypunct<wchar_t>::_M_initialize_moneypunct): Correctly cast
180 * config/locale/numpunct_members_gnu.cc
181 (numpunct<wchar_t>::_M_initialize_numpunct): Same.
183 2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
185 * include/bits/locale_facets.tcc: Formatting tweaks.
187 * testsuite/23_containers/map_operators.cc: Don't xfail.
188 * testsuite/23_containers/set_operators.cc: Same.
189 * testsuite/backward/header_iterator_h.cc: Pass in -Wno-deprecated.
190 * testsuite/backward/header_deque_h.cc: Same.
192 2001-11-27 Loren J. Rittle <ljrittle@acm.org>
193 Paolo Carlini <pcarlini@unitus.it>
195 * include/bits/basic_string.tcc (basic_string::_Rep::_S_create):
196 Enforce allocation size blocking policy to reduce
197 fragmentation and enhance performance with common malloc
200 2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
202 Numeric facets cleanup.
203 * include/bits/locale_facets.h (__num_base::_S_atoms): Add, remove
205 (__num_base::_M_zero): Add
206 (__num_base::_M_e): Add.
207 (__num_base::_M_E): Add.
208 * include/bits/locale_facets.tcc (num_get::_M_extract): Remove.
209 (num_get::_M_extract_float): New.
210 (num_get::_M_extract_int): New.
211 * src/locale.cc (num_get::_M_extract): Remove.
213 * include/bits/locale_facets.tcc (num_put::_M_insert_float):
214 Simplify, use _M_insert.
215 (num_put::do_put(bool)): Simplify, remove __pad.
217 (__pad_output): Change to __pad.
218 * include/bits/ostream.tcc: And here.
219 * src/locale-inst: Remove instantiations.
221 * include/bits/locale_facets.h: Move helper functions in to class
223 (num_put::_M_insert_float): Same, for __output_integer.
224 (num_put::_M_insert_int): Same, for __output_float.
225 (num_put::_M_insert): New.
227 (__num_base::_S_format_float): Move
228 __build_float_format into class __num_base.
229 (__num_base::_S_format_int): Move __build_int_format into class
231 * include/bits/locale_facets.tcc (__group_digits): Change to
232 (__add_grouping): This.
233 * src/locale-inst.cc: And here. Tweak instantiations.
234 * src/misc-inst.cc: Remove instantiations.
236 * include/bits/ostream.tcc (__pad_char): Rename, adjust inserters
237 for new calling conventions, move to...
238 * include/bits/locale_facets.tcc (__pad_output): Here. Adjust
239 signature to make it useful for both ostream and num_put.
240 (__pad_numeric): Remove.
241 * src/misc-inst.cc: Remove instantiations.
242 * src/locale-inst.cc: Same.
244 * include/bits/locale_facets.h (_Numeric_get): Remove.
245 (_Numeric_put): Remove.
246 (num_get::get(short)): Remove.
247 (num_get::get(int)): Remove.
248 (num_get::do_get(short)): Remove.
249 (num_get::do_get(int)): Remove.
250 * include/bits/istream.tcc (istream::operator>>(short)): Fix as
252 (istream::operator>>(int)): Same.
254 * include/bits/locale_facets.h (_Format_cache): Remove.
255 * include/bits/locale_facets.tcc: Same.
256 * src/locale.cc: Same.
257 * src/locale-inst.cc: Same.
258 * include/bits/ostream.tcc: Same.
259 * src/ios.cc (ios_base::imbue): Remove here as well.
261 * testsuite/22_locale/num_get.cc: New file.
262 * testsuite/22_locale/num_get_members_char.cc: New file.
263 * testsuite/22_locale/num_get_members_wchar_t.cc: New.
264 * testsuite/22_locale/numpunct_members_wchar_t.cc: New file.
265 * testsuite/22_locale/num_put.cc: New file.
266 * testsuite/22_locale/num_put_members_char.cc: New file.
267 * testsuite/22_locale/num_put_members_wchar_t.cc: New file.
268 * testsuite/27_io/ostream_inserter_arith.cc: Fix.
269 * testsuite/27_io/istream_extractor_arith.cc: Fix.
271 2001-11-27 Phil Edwards <pme@gcc.gnu.org>
273 * docs/html/explanations.html: New section, empty for now.
274 * docs/html/17_intro/howto.html: Cleanup. Move unrelated link...
275 * docs/html/23_containers/howto.html: ...to here. Break up and
276 rewrap threading discussion to emphasize warning. Move malloc text...
277 * docs/html/ext/howto.html: ...to here. New section. Describe
278 allocators and __USE_MALLOC effects.
279 * docs/html/ext/sgiexts.html: Mention their code.
281 2001-11-24 Joseph S. Myers <jsm28@cam.ac.uk>
283 * docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
284 docs/html/27_io/binary_iostreams_kuehl.txt: Revert previous
287 2001-11-23 Phil Edwards <pme@gcc.gnu.org>
289 * Makefile.am (doxygen-maint): The script isn't executable in CVS.
290 * Makefile.in: Regenerated.
291 * docs/doxygen/TODO: New file listing doxygen work to be done.
292 * docs/doxygen/run_doxygen: Fix up man pages.
293 * docs/doxygen/user.cfg.in: Insert maint-only toggles.
294 * docs/doxygen/maint.cfg.in: Copy from user.cfg and turn toggles on.
295 * include/bits/stl_construct.h: Use new hooks for internal functions.
297 * docs/html/17_intro/TODO: Small updates.
298 * docs/html/faq/index.html: Likewise.
299 * docs/html/faq/index.txt: Regenerated.
301 * include/bits/stl_alloc.h: Doxygenate, reindent comments, remove
302 SGI-isms and wrappers.
303 (simple_alloc, debug_alloc): Uglify class names.
304 (__default_alloc_template): Uglify "threads" template parameter and
305 update corresponding macros.
306 * include/backward/alloc.h: Bring up to date.
308 2001-11-23 Jason Merrill <jason@redhat.com>
310 * src/vterminate.cc (__verbose_terminate_handler): Add leading
313 2001-11-23 Joseph S. Myers <jsm28@cam.ac.uk>
315 * ChangeLog, docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
316 docs/doxygen/doxygroups.cc, docs/doxygen/Intro.3,
317 docs/html/17_intro/BUGS, docs/html/17_intro/C++STYLE,
318 docs/html/17_intro/CHECKLIST, docs/html/17_intro/DESIGN,
319 docs/html/17_intro/howto.html, docs/html/17_intro/porting.html,
320 docs/html/17_intro/porting.texi, docs/html/18_support/howto.html,
321 docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
322 docs/html/21_strings/howto.html,
323 docs/html/23_containers/howto.html,
324 docs/html/26_numerics/howto.html, docs/html/27_io/howto.html,
325 docs/html/27_io/binary_iostreams_kuehl.txt,
326 docs/html/ext/sgiexts.html, docs/html/faq/index.html,
327 docs/html/faq/index.txt, testsuite/24_iterators/iterator.cc,
328 include/bits/basic_file.h, include/bits/locale_facets.h,
329 include/bits/locale_facets.tcc, include/bits/std_sstream.h,
330 include/ext/ropeimpl.h, include/ext/stl_rope.h,
331 libsupc++/tinfo.cc, libsupc++/cxxabi.h, libsupc++/typeinfo,
332 libsupc++/eh_throw.cc, acinclude.m4, aclocal.m4, configure,
333 configure.target, ChangeLog-2000: Fix spelling errors.
335 * config/locale/moneypunct_members_gnu.cc,
336 include/bits/locale_facets.h: Fix spelling errors.
338 2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
340 * testsuite/23_containers/list_capacity.cc: New file.
341 * testsuite/23_containers/list_ctor.cc: New file.
342 * testsuite/23_containers/list_modifiers.cc: New file.
343 * testsuite/23_containers/list_operators.cc: New file.
345 2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
347 * include/bits/stl_list.h: Reformatted according to C++STYLE rules.
348 (size): Replaced nonstandard distance() call with the standard one.
349 (transfer): Uglified to _M_transfer.
351 2001-11-21 Paolo Carlini <pcarlini@unitus.it>
354 * include/bits/basic_string.tcc (basic_string::reserve): Never shrink
355 below the current size.
356 * testsuite/21_strings/capacity.cc (test02): Add test.
358 2001-11-19 Phil Edwards <pme@gcc.gnu.org>
360 * docs/doxygen/Intro.3: More notes.
361 * docs/doxygen/style.css: Update to default style from Doxygen 1.2.10.
362 * include/bits/stl_algobase.h: Add doxygen hooks for functions.
363 * include/ext/hash_map: Add @file hook.
364 * include/ext/hash_set: Likewise.
365 * include/ext/rope: Likewise.
366 * include/ext/ropeimpl.h: Likewise.
367 * include/ext/slist: Likewise.
368 * include/ext/stl_hash_fun.h: Likewise.
369 * include/ext/stl_hashtable.h: Likewise.
370 * include/ext/stl_rope.h: Likewise.
372 * docs/html/17_intro/license.html: Remove "experimental" sentence.
373 * docs/html/19_diagnostics/howto.html: Document new verbose
375 * testsuite/27_io/filebuf.cc: Fix comment, move tweakable parameter
376 to more visible (closer to description) position.
378 * libsupc++/eh_type.cc: Formatting tweak.
379 * libsupc++/exception: Likewise.
380 * src/vterminate.cc: Likewise.
382 * docs/html/17_intro/porting.html: Regenerate.
383 * docs/html/faq/index.txt: Regenerate.
385 2001-11-18 Jason Merrill <jason@redhat.com>
387 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Take void*.
388 * libsupc++/eh_catch.cc (__cxa_begin_catch): Likewise.
389 * libsupc++/unwind-cxx.h: Adjust.
390 * src/Makefile.am (strstream.o): Pass -Wno-deprecated.
392 * libsupc++/eh_type.cc (__cxa_current_exception_type): New file.
393 * libsupc++/cxxabi.h: Declare it.
394 * libsupc++/Makefile.am (sources): Add it.
395 * src/vterminate.cc (verbose_terminate_handler): New file.
396 * libsupc++/exception: Declare it.
397 * src/Makefile.am (sources): Add it.
399 * src/Makefile.am (VPATH): Check the src directory before the top one.
401 2001-11-16 Paolo Carlini <pcarlini@unitus.it>
403 * include/bits/stl_deque.h (deque::erase()): Fix memory leak.
405 2001-11-16 Loren J. Rittle <ljrittle@acm.org>
407 * docs/html/17_intro/howto.html (Thread-safety): Rename
408 section to ``The Standard C++ library and multithreading'' and
409 update information based on recent mailing list traffic. Move
410 all discussion of __USE_MALLOC to...
411 * docs/html/23_containers/howto.html (Containers and multithreading):
412 ...here and rework it based on recent mailing list traffic.
414 2001-11-15 Loren J. Rittle <ljrittle@acm.org>
416 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Clarify
419 2001-11-15 <bjornw@planetarion.com>
420 Loren J. Rittle <ljrittle@acm.org>
423 * include/bits/stl_alloc.h (alloc): Update to use __mem_interface.
424 (single_client_alloc): Likewise.
426 2001-11-08 Danny Smith <dannysmith@users.sourceforge.net>
428 * configure.target: Add os_include_dir for mingw32* target.
429 * docs/html/17_intro/porting.texi: Mention mingw32 as target benefiting
430 from _GLIBCPP_AVOID_FSEEK.
431 * config/os/mingw32/bits/ctype_base.h: New file.
432 * config/os/mingw32/bits/ctype_inline.h: New file.
433 * config/os/mingw32/bits/ctype_noninline.h: New file.
434 * config/os/mingw32/bits/os_defines.h: New file.
436 2001-11-07 Nathan Myers <ncm@cantrip.org>
438 * docs/html/faq/index.html (5.8): New entry on ABIs.
439 * docs/html/faq/index.txt: Regenerate.
441 2001-11-07 Phil Edwards <pme@gcc.gnu.org>
443 * docs/html/faq/index.html: Explain libsupc++, mention 'long long'
445 * docs/html/faq/index.txt: Regenerate.
447 2001-11-06 Phil Edwards <pme@gcc.gnu.org>
449 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Run the test in
451 * aclocal.m4: Regenerate.
452 * configure: Regenerate.
454 2001-11-05 Phil Edwards <pme@gcc.gnu.org>
456 * porting.texi: Move...
457 * docs/html/17_intro/porting.texi: ...to here.
458 * docs/html/Makefile: Add rule to rebuild...
459 * docs/html/17_intro/porting.html: ...this. New file.
461 2001-11-05 Felix Natter <fnatter@gmx.net>
463 * docs/html/17_intro/porting-howto.xml: check in v0.9.4
464 * docs/html/17_intro/porting-howto.html: regenerate
466 2001-11-02 Loren J. Rittle <ljrittle@acm.org>
468 * include/bits/stl_threads.h (_Atomic_swap): Only enable path
469 when platform supports __GTHREAD_MUTEX_INIT.
471 2001-11-02 Phil Edwards <pme@gcc.gnu.org>
473 * acconfig.h: Update comments.
474 * acinclude.m4 (GLIBCPP_ENABLE_C99): Move strtoll, strtoull tests...
475 (GLIBCPP_ENABLE_LONG_LONG): ...to here. Don't check enable_c99.
476 * aclocal.m4: Regenerate.
477 * config.h.in: Regenerate.
478 * configure: Regenerate.
480 * include/bits/boost_concept_check.h: Unconditionally compile uses
481 of 'long long' which require only compiler support, not C lib support.
482 * include/bits/cpp_type_traits.h: Likewise.
483 * include/bits/std_limits.h: Likewise.
484 * include/bits/type_traits.h: Likewise.
485 * src/concept-inst.cc: Likewise.
486 * src/limits.cc: Likewise.
487 * include/c_shadow/stdlib.h: Compile conditionally on _GLIBCPP_USE_C99
488 instead of _GLIBCPP_USE_LONG_LONG.
489 * include/c_shadow/bits/std_cstdlib.h: Likewise.
491 2001-11-02 Phil Edwards <pme@gcc.gnu.org>
493 * config/io/c_io_stdio.h: Correct grammar in comments.
494 * docs/doxygen/Intro.3: Expand "top-level" man page.
495 * docs/doxygen/doxygroups.cc: New module definitions (comments).
496 * docs/doxygen/mainpage.doxy: Tweaks.
497 * docs/doxygen/run_doxygen: Update Doxygen version, massage man pages.
499 Add @file hooks so that headers are considered to be documented.
500 * include/bits/basic_ios.h, include/bits/basic_file.h,
501 include/bits/basic_string.h, include/bits/boost_concept_check.h,
502 include/bits/char_traits.h, include/bits/codecvt.h,
503 include/bits/concept_check.h, include/bits/cpp_type_traits.h,
504 include/bits/fpos.h, include/bits/gslice.h, include/bits/gslice_array.h,
505 include/bits/indirect_array.h, include/bits/ios_base.h,
506 include/bits/locale_facets.h, include/bits/localefwd.h,
507 include/bits/mask_array.h, include/bits/pthread_allocimpl.h,
508 include/bits/slice.h, include/bits/slice_array.h,
509 include/bits/std_algorithm.h, include/bits/std_bitset.h,
510 include/bits/std_complex.h, include/bits/std_deque.h,
511 include/bits/std_fstream.h, include/bits/std_functional.h,
512 include/bits/std_iomanip.h, include/bits/std_ios.h,
513 include/bits/std_iosfwd.h, include/bits/std_iostream.h,
514 include/bits/std_istream.h, include/bits/std_iterator.h,
515 include/bits/std_limits.h, include/bits/std_list.h,
516 include/bits/std_locale.h, include/bits/std_map.h,
517 include/bits/std_memory.h, include/bits/std_numeric.h,
518 include/bits/std_ostream.h, include/bits/std_queue.h,
519 include/bits/std_set.h, include/bits/std_sstream.h,
520 include/bits/std_stack.h, include/bits/std_streambuf.h,
521 include/bits/std_string.h, include/bits/std_utility.h,
522 include/bits/std_valarray.h, include/bits/std_vector.h,
523 include/bits/stl_algo.h, include/bits/stl_alloc.h,
524 include/bits/stl_bvector.h, include/bits/stl_construct.h,
525 include/bits/stl_deque.h, include/bits/stl_heap.h,
526 include/bits/stl_iterator.h, include/bits/stl_iterator_base_funcs.h,
527 include/bits/stl_iterator_base_types.h, include/bits/stl_list.h,
528 include/bits/stl_map.h, include/bits/stl_multimap.h,
529 include/bits/stl_multiset.h, include/bits/stl_numeric.h,
530 include/bits/stl_pair.h, include/bits/stl_pthread_alloc.h,
531 include/bits/stl_queue.h, include/bits/stl_raw_storage_iter.h,
532 include/bits/stl_relops.h, include/bits/stl_set.h,
533 include/bits/stl_stack.h, include/bits/stl_tempbuf.h,
534 include/bits/stl_threads.h, include/bits/stl_tree.h,
535 include/bits/stl_uninitialized.h, include/bits/stl_vector.h,
536 include/bits/stream_iterator.h, include/bits/streambuf_iterator.h,
537 include/bits/stringfwd.h, include/bits/type_traits.h,
538 include/bits/valarray_array.h, include/bits/valarray_meta.h:
539 Add hooks, tweak comments only.
541 * include/bits/stl_algobase.h (swap, min, iter_swap): Also
542 document these functions.
543 * include/bits/stl_function.h: Tweak link comments.
545 2001-11-01 Paolo Carlini <pcarlini@unitus.it>
546 Benjamin Kosnik <bkoz@redhat.com>
548 * testsuite/27_io/ios_manip_fmtflags.cc: Fix for non-interactive
550 * include/bits/locale_facets.tcc (num_put::do_put(bool)): Fix.
552 2001-11-01 Egor Duda <deo@logos-m.ru>
554 * config/os/newlib/bits/ctype_noninline.h
555 (ctype<char>::do_toupper(char __c)): Check for proper character class.
556 (ctype<char>::do_tolower(char __c)): Ditto.
558 2001-11-01 Phil Edwards <pme@gcc.gnu.org>
560 * acinclude.m4: Fix spacing.
561 (GLIBCPP_ENABLE_CONCEPT_CHECKS): New macro.
562 * configure.in: Call here.
563 * acconfig.h: Add _GLIBCPP_CONCEPT_CHECKS.
564 * include/bits/boost_concept_check.h: Fix headers.
565 (__function_requires): Make inline.
566 * include/bits/c++config (_GLIBCPP_CONCEPT_CHECKS): Remove.
567 * aclocal.m4: Regenerate.
568 * config.h.in: Regenerate.
569 * configure: Regenerate.
571 Move trailing ';' inside macro, PR libstdc++/3666.
572 * include/bits/concept_check.h: Add semicolon.
573 * include/bits/stl_algo.h: Remove semicolon.
574 * include/bits/stl_algobase.h: Likewise.
575 * include/bits/stl_deque.h: Likewise.
576 * include/bits/stl_heap.h: Likewise.
577 * include/bits/stl_iterator_base_funcs.h: Likewise.
578 * include/bits/stl_list.h: Likewise.
579 * include/bits/stl_map.h: Likewise.
580 * include/bits/stl_multimap.h: Likewise.
581 * include/bits/stl_multiset.h: Likewise.
582 * include/bits/stl_numeric.h: Likewise.
583 * include/bits/stl_queue.h: Likewise.
584 * include/bits/stl_set.h: Likewise.
585 * include/bits/stl_stack.h: Likewise.
586 * include/bits/stl_vector.h: Likewise.
587 * include/ext/hash_map: Likewise.
588 * include/ext/hash_set: Likewise.
589 * include/ext/slist: Likewise.
591 * src/concept-inst.cc: New file with explicit instantiations.
592 * src/Makefile.am (sources): Add here, with special build rules.
593 * src/Makefile.in: Regenerate.
595 2001-11-01 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
597 * include/bits/std_complex.h (_Norm_helper): New class template.
599 (abs): Tweak. Fix Thinko.
601 2001-10-31 Benjamin Kosnik <bkoz@redhat.com>
604 * include/bits/codecvt.h: Add virtual member function declarations.
605 * src/codecvt.cc: Tweaks.
606 * testsuite/22_locale/codecvt.cc: Test compilation only,
607 non-required facets not required to have linkage.
609 2001-10-31 Edward E. Meyer <edward.e.meyer@boeing.com>
612 * include/bits/std_complex.h (complex::operator/=): Correct sign.
614 2001-10-30 Paolo Carlini <pcarlini@unitus.it>
615 Benjamin Kosnik <bkoz@redhat.com>
618 * include/bits/basic_string.h: Tweaks.
619 * include/bits/basic_string.tcc (string::_M_replace(iterator,
620 iterator, _ForwardIter, _ForwardIter, forward_iterator_tag): Fix.
621 * src/string-inst.cc: Tweaks, add instantiation.
622 * testsuite/21_strings/replace.cc (test02): Add test.
623 * testsuite/21_strings/assign.cc (test01): New file.
625 2001-10-30 Jakub Jelinek <jakub@redhat.com>
627 * include/bits/stl_deque.h (_M_new_elements_at_front): Use
628 __throw_exception_again.
629 (_M_new_elements_at_back): Likewise.
631 2001-10-29 Benjamin Kosnik <bkoz@redhat.com>
634 * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
635 * testsuite/27_io/filebuf.cc (test07): New test.
636 (test03): Modify showmanyc test.
638 2001-10-26 Benjamin Kosnik <bkoz@redhat.com>
641 * config/locale/codecvt_specializations_ieee_1003.1-200x.h
642 (__enc_traits::~__enc_traits): Fix.
643 (__enc_traits::_M_init): Add error checking.
645 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
648 * include/bits/locale_facets.tcc (time_get::_M_extract_name): Fix.
650 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
653 * include/bits/ostream.tcc (ostream::operator<<(streambuf*)): Fix
655 * include/bits/istream.tcc (istream::operator>>(streambuf*): Make
656 consistent, where possible.
657 * include/bits/streambuf.tcc: Tweak.
659 2001-10-25 Brendan Kehoe <brendan@zen.org>
662 * bits/ostream.tcc (seekp): Scope use as ios_base::failbit.
663 * bits/istream.tcc (seekg): Likewise.
665 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
666 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
667 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
669 * config/os/gnu-linux/bits/os_defines.h: Set to 64 bit longs with
671 * include/bits/std_limits.h: Fix wchar_t issues.
672 * config/os/aix/bits/os_defines.h: Fix.
674 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
676 * include/bits/locale_facets.tcc (collate::do_transform): Fix.
678 2001-10-25 Phil Edwards <pme@gcc.gnu.org>
680 * docs/html/documentation.html: Fix typo.
682 2001-10-23 Benjamin Kosnik <bkoz@redhat.com>
684 Make -fno-exceptions work.
685 * config/locale/c_locale_gnu.cc: Use functexcept.
686 * include/bits/c++config (__stl_assert): Remove.
687 (__STL_USE_EXCEPTIONS): Same.
689 (__STL_CATCH_ALL): Same.
691 (__STL_RETHROW): Same.
692 (__STL_NOTHROW): Same.
693 (__STL_UNWIND): Same.
694 * include/bits/pthread_allocimpl.h: Fix.
695 * include/bits/std_bitset.h: Same.
696 * include/bits/std_list.h: Same.
697 * include/bits/std_memory.h: Same.
698 * include/bits/std_queue.h: Same.
699 * include/bits/stl_alloc.h: Same.
700 * include/bits/stl_deque.h: Same.
701 * include/bits/stl_list.h: Same.
702 * include/bits/stl_queue.h: Same.
703 * include/bits/stl_tempbuf.h: Same.
704 * include/bits/stl_tree.h: Same.
705 * include/bits/stl_uninitialized.h: Same.
706 * include/bits/stl_vector.h: Same.
707 * include/ext/ropeimpl.h: Same.
708 * include/ext/slist: Same.
709 * include/ext/stl_hashtable.h: Same.
710 * include/ext/stl_rope.h: Same.
711 * libsupc++/new_op.cc: Include cstdlib.
712 * libsupc++/eh_personality.cc: Add exception_defines include. Use
713 __throw_exception_again, tweak.
714 * libsupc++/eh_aux_runtime.cc: Include stdlib for abort.
715 * libsupc++/vec.cc: Tweak.
716 * src/functexcept.cc: Remove unused arguments.
717 * testsuite/23_containers/bitset_members.cc: Tweak.
719 2001-10-22 Benjamin Kosnik <bkoz@redhat.com>
721 * config/cpu/i386/bits/limits.h: Move to...
722 * config/cpu/i386/bits/cpu_limits.h: ...here.
723 * config/cpu/cris/bits/cpu_limits.h: Same.
724 * config/cpu/powerpc/bits/cpu_limits.h: Same.
725 * config/cpu/x86-64/bits/cpu_limits.h: Same.
726 * config/cpu/alpha/bits/cpu_limits.h: New.
727 * config/cpu/m68k/bits/cpu_limits.h: New.
728 * config/cpu/s390/bits/cpu_limits.h: New.
729 * config/os/aix/bits/os_defines.h: Tweaks.
730 * config/os/bsd/freebsd/bits/os_defines.h: Same.
731 * config/os/bsd/netbsd/bits/os_defines.h: Same.
732 * config/os/djgpp/bits/os_defines.h: Same.
733 * config/os/generic/bits/os_defines.h: Same.
734 * config/os/gnu-linux/bits/os_defines.h: Same.
735 * config/os/hpux/bits/os_defines.h: Same.
736 * config/os/irix/irix5.2/bits/os_defines.h: Same.
737 * config/os/irix/irix6.5/bits/os_defines.h: Same.
738 * config/os/newlib/bits/os_defines.h: Same.
739 * config/os/solaris/solaris2.5/bits/os_defines.h: Same.
740 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
741 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
743 * include/bits/c++config: Remove include.
744 * include/bits/limits_generic.h: Remove.
745 * include/bits/std_limits.h: Include cpu_limits.h.
746 * include/Makefile.am: Fixup.
747 * src/limits.cc: Tweak.
748 * src/limits_generic.cc: Remove.
749 * src/gen-num-limits.cc: Remove.
750 * mknumeric_limits: Remove.
752 2001-10-20 Brendan Kehoe <brendan@zen.org>
754 * bits/type_traits.h (_Bool): Removed this type.
755 (__true_type, __false_type): Change to be plain structs.
756 * src/string-inst.cc (__destroy_aux): Change third parm to be
757 __false_type instead of _Bool<false>.
758 * src/misc-inst.cc (__uninitialized_fill_n_aux,
759 __uninitialized_copy_aux): Likewise.
761 2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
763 * mkcheck.in (static_fail): Remove older memory limit functionality.
764 Disable E_TIME due to formatting issues.
768 2001-10-19 Brendan Kehoe <brendan@zen.org>
770 * include/bits/std_complex.h: Default initialize second argument
771 of polar to 0, as specified in Library DR #79
773 2001-10-19 Brendan Kehoe <brendan@zen.org>
775 * include/bits/stl_raw_storage_iter.h (operator=): Fix to call
776 _Construct instead of construct.
778 2001-10-19 Brendan Kehoe <brendan@zen.org>
780 * include/bits/basic_string.tcc (find_first_not_of): Take out check for
781 __n being non-zero, since the standard does not mandate that.
782 e.g., a search for "" in "" should yield position 0, not npos.
783 (find_last_not_of): Likewise.
785 2001-10-19 Brendan Kehoe <brendan@zen.org>
787 * include/bits/stl_bvector.h (vector<bool>::_M_range_check): Fix
788 to throw out_of_range, not range_error, thus sayeth $23.1.1.13.
790 2001-10-19 Brendan Kehoe <brendan@zen.org>
792 * include/bits/stl_iterator.h (reverse_iterator::current): Rename
793 member from _M_current, and change all uses; thus sayeth $24.4.1.1.
795 2001-10-19 Brendan Kehoe <brendan@zen.org>
797 * include/bits/stl_algo.h (partial_sort): Add missing `>' on the
798 template parameter _ValueType.
800 2001-10-19 Brendan Kehoe <brendan@zen.org>
802 * include/bits/std_limits.h: Clean up extra semicolons.
803 * include/bits/locale_facets.h: Likewise.
804 * include/bits/type_traits.h: Likewise.
806 2001-10-19 Brendan Kehoe <brendan@zen.org>
808 * include/bits/localefwd.h (locale::combine): Add const for lib DR 14.
809 * include/bits/locale_facets.tcc (locale::combine): Likewise.
811 2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
813 * include/bits/locale_facets.h (__timepunct::_M_put_helper):
814 Declare specializations for char, wchar_t.
816 2001-10-19 Andreas Jaeger <aj@suse.de>
818 * config/cpu/x86-64/bits/limits.h: New file.
819 * config/cpu/x86-64/bits/atomicity.h: New file.
820 * configure.target: Add x86-64.
822 2001-10-17 Phil Edwards <pme@gcc.gnu.org>
824 * docs/html/17_intro/howto.html: Remove 1999 links (and explain
825 why). Add link to recent message.
826 * docs/html/faq/index.html (5.6): Reformat text only; fixup <pre>
828 * docs/html/faq/index.txt: Regenerate.
830 2001-10-12 Loren J. Rittle <ljrittle@acm.org>
832 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Update
833 based on Nathan's review. Use Nathan's words.
835 2001-10-11 Matt Kraai <kraai@alumni.carnegiemellon.edu>
837 * docs/html/configopts.html: Quote StyleSheet attribute values.
838 * docs/html/documentation.html: Likewise.
839 * docs/html/explanations.html: Likewise.
840 * docs/html/install.html: Likewise.
841 * docs/html/17_intro/howto.html: Likewise.
842 * docs/html/17_intro/license.html: Likewise.
843 * docs/html/18_support/howto.html: Likewise.
844 * docs/html/19_diagnostics/howto.html: Likewise.
845 * docs/html/20_util/howto.html: Likewise.
846 * docs/html/21_strings/howto.html: Likewise.
847 * docs/html/22_locale/howto.html: Likewise.
848 * docs/html/23_containers/howto.html: Likewise.
849 * docs/html/24_iterators/howto.html: Likewise.
850 * docs/html/25_algorithms/howto.html: Likewise.
851 * docs/html/26_numerics/howto.html: Likewise.
852 * docs/html/27_io/howto.html: Likewise.
853 * docs/html/ext/howto.html: Likewise.
854 * docs/html/ext/sgiexts.html: Likewise.
855 * docs/html/faq/index.html: Likewise.
857 2001-10-11 Loren J. Rittle <ljrittle@acm.org>
859 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Rewrite.
860 * docs/html/23_containers/howto.html (Containers and multithreading):
863 2001-10-09 Phil Edwards <pme@gcc.gnu.org>
865 * docs/html/17_intro/howto.html: Tweak markup and value type.
866 * docs/html/27_io/howto.html: Tweak markup, describe setbuf() for
867 nonzero arguments, add new note on threading.
868 * docs/html/faq/index.html: Update.
869 * docs/html/faq/index.txt: Regenerate.
871 2001-10-09 Phil Edwards <pme@gcc.gnu.org>
873 * docs/html/configopts.html: More HTML->XHTML and lowercasing of tags.
874 * docs/html/documentation.html: Likewise.
875 * docs/html/explanations.html: Likewise.
876 * docs/html/install.html: Likewise.
877 * docs/html/17_intro/howto.html: Likewise.
878 * docs/html/17_intro/license.html: Likewise. Tighten up language.
879 * docs/html/18_support/howto.html: Likewise.
880 * docs/html/19_diagnostics/howto.html: Likewise.
881 * docs/html/20_util/howto.html: Likewise.
882 * docs/html/21_strings/howto.html: Likewise.
883 * docs/html/22_locale/howto.html: Likewise.
884 * docs/html/23_containers/howto.html: Likewise.
885 * docs/html/24_iterators/howto.html: Likewise.
886 * docs/html/25_algorithms/howto.html: Likewise.
887 * docs/html/26_numerics/howto.html: Likewise.
888 * docs/html/27_io/howto.html: Likewise.
889 * docs/html/ext/howto.html: Likewise.
890 * docs/html/ext/sgiexts.html: Likewise.
891 * docs/html/faq/index.html: Likewise. Not so many absolute links.
892 * docs/html/faq/index.txt: Regenerate.
894 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
896 * docs/html/22_locale/locale.html, docs/html/faq/index.html: Fix
897 spelling errors of "separate" as "seperate", and corresponding
898 spelling errors of related words.
899 * docs/html/faq/index.txt: Regenerate.
901 2001-10-05 Phil Edwards <pme@gcc.gnu.org>
903 * config/cpu/alpha/bits/atomicity.h (__compare_and_swap): Remove
905 * config/cpu/arm/bits/atomicity.h: Likewise.
906 * config/cpu/generic/bits/atomicity.h: Likewise.
907 * config/cpu/i486/bits/atomicity.h: Likewise.
908 * config/cpu/ia64/bits/atomicity.h: Likewise.
909 * config/cpu/mips/bits/atomicity.h: Likewise.
910 * config/cpu/powerpc/bits/atomicity.h: Likewise.
911 * config/cpu/sparc/sparc32/bits/atomicity.h: Likewise.
912 * config/cpu/sparc/sparc64/bits/atomicity.h: Likewise.
914 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
916 * docs/html/faq/index.html: Describe DR #22, and a workaround.
917 * docs/html/faq/index.txt: Regenerate.
919 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
921 * docs/html/17_intro/COPYING.DOC: New file, GFDL v1.1 from the FSF.
922 * docs/html/17_intro/license.html: New file. Explain the licenses
925 * docs/html/configopts.html: Link to license.html.
926 * docs/html/documentation.html: Likewise.
927 * docs/html/explanations.html: Likewise.
928 * docs/html/install.html: Likewise.
929 * docs/html/17_intro/howto.html: Likewise.
930 * docs/html/18_support/howto.html: Likewise.
931 * docs/html/19_diagnostics/howto.html: Likewise.
932 * docs/html/20_util/howto.html: Likewise.
933 * docs/html/21_strings/howto.html: Likewise.
934 * docs/html/22_locale/howto.html: Likewise.
935 * docs/html/23_containers/howto.html: Likewise.
936 * docs/html/24_iterators/howto.html: Likewise.
937 * docs/html/25_algorithms/howto.html: Likewise.
938 * docs/html/26_numerics/howto.html: Likewise.
939 * docs/html/27_io/howto.html: Likewise.
940 * docs/html/ext/howto.html: Likewise.
941 * docs/html/ext/sgiexts.html: Likewise.
942 * docs/html/faq/index.html: Likewise. New question, linking to
943 the new license.html.
945 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
947 * docs/html/17_intro/howto.html: Fix mis-sed in header from 20010917.
948 * docs/html/18_support/howto.html: Likewise.
949 * docs/html/19_diagnostics/howto.html: Likewise.
950 * docs/html/20_util/howto.html: Likewise.
951 * docs/html/21_strings/howto.html: Likewise.
952 * docs/html/22_locale/howto.html: Likewise.
953 * docs/html/23_containers/howto.html: Likewise.
954 * docs/html/24_iterators/howto.html: Likewise.
955 * docs/html/25_algorithms/howto.html: Likewise.
956 * docs/html/26_numerics/howto.html: Likewise.
957 * docs/html/27_io/howto.html: Likewise.
958 * docs/html/ext/howto.html: Likewise.
959 * docs/html/faq/index.html: Likewise. Spacing fix.
961 2001-10-03 Dimitris Vyzovitis <vyzo@media.mit.edu>
963 * include/bits/stl_threads.h (_Atomic_swap): New function.
964 (_Swap_lock_struct<__dummy>::_S_swap_lock): New data.
965 * testsuite/ext/rope.cc: New file.
967 2001-10-02 Benjamin Kosnik <bkoz@redhat.com>
969 * config/locale/time_members_gnu.h: Remove.
970 * config/locale/time_members_generic.h: Remove.
971 * config/locale/time_members_gnu.cc (__timepunct::_M_put_helper): Add.
972 * config/locale/time_members_generic.cc: Same.
973 * include/bits/locale_facets.h: Add data members.
974 (__timepunct::_M_put_helper): Change signature.
975 (__timepunct::_M_date_formats): Same.
976 (__timepunct::_M_time_formats): Same.
977 (__timepunct::_M_ampm): Add.
978 (__timepunct::_M_date_time_formats): Add.
979 (time_get::_M_extract_via_format): Add.
980 (time_get::_M_extract_time): Change to...
981 (time_get::_M_extract_num): ... this, modify signature.
982 * include/bits/locale_facets.tcc (time_get::do_get_year): Fix.
983 (time_get::do_get_time): Fix.
984 (time_get::do_get_date): Fix.
986 * acinclude.m4: Remove CTIME_H.
987 * aclocal.m4: Regenerate.
988 * include/Makefile.am: Same.
989 * include/Makefile.in: Regenerate.
990 * configure: Regenerate.
992 * testsuite/22_locale/time_get_members_char.cc: Fix.
993 * testsuite/22_locale/time_get_members_wchar_t.cc: Add.
994 * testsuite/22_locale/time_put_members_wchar_t.cc: Add.
996 2001-10-01 Hans-Peter Nilsson <hp@axis.com>
998 * config/cpu/cris/bits/atomicity.h: Correct file header.
1000 2001-09-29 Hans-Peter Nilsson <hp@axis.com>
1002 * configure.target (LIMITSH): Set for cris.
1003 (cpu_include_dir): Set for cris-*-*.
1004 * config/cpu/cris/bits/atomicity.h: New file.
1005 * config/cpu/cris/bits/limits.h: New file.
1007 2001-09-28 Benjamin Kosnik <bkoz@redhat.com>
1009 * config/locale/time_members_gnu.h (__timepunct::_M_get_helper): Add.
1010 (__timepunct::_M_put_helper): Add.
1011 * config/locale/time_members_generic.h: Same.
1012 * include/bits/locale_facets.h (__match_parallel): Remove. Format.
1013 (__timepunct): Add data members.
1014 (__timepunct::_M_days): Add.
1015 (__timepunct::_M_days_abbreviated): Add.
1016 (__timepunct::_M_months): Add.
1017 (__timepunct::_M_months_abbreviated): Add.
1018 (__timepunct::_M_initialize_timepunct): Add.
1019 * include/bits/locale_facets.tcc: Same.
1020 * src/locale-inst.cc: Remove instantiations for __match_parallel.
1021 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_CC.
1022 * aclocal.m4: Regenerate.
1023 * configure: Regenerate.
1024 * testsuite/22_locale/time_put_members_char.cc: Mark XFAIL.
1025 * testsuite/22_locale/time_put_members_char.cc (test01): New file.
1026 * testsuite/22_locale/time_get.cc: New file.
1028 2001-09-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1030 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
1031 correct multilib builddir.
1032 Properly locate libgcc_s.
1034 2001-09-27 Phil Edwards <pme@gcc.gnu.org>
1036 * include/std/*: Add Doxygen hooks.
1037 * docs/doxygen/Intro.3: New file, general intro to the man pages.
1038 * docs/doxygen/mainpage.doxy: Formatting tweaks. List our own links
1039 rather than using a generated index.
1040 * docs/doxygen/user.cfg.in: Disable the index, enable man pages.
1041 * docs/doxygen/run_doxygen: Massage the generated man pages, using...
1042 * docs/doxygen/stdheader.cc: ...this new file.
1044 2001-09-26 Stan Shebs <shebs@apple.com>
1046 * include/Makefile.am: Remove RCS Id strings.
1047 * src/Makefile.am: Ditto.
1048 * docs/doxygen/run_doxygen: Ditto.
1049 * docs/html/configopts.html: Ditto.
1050 * docs/html/documentation.html: Ditto.
1051 * docs/html/explanations.html: Ditto.
1052 * docs/html/install.html: Ditto.
1053 * docs/html/17_intro/howto.html: Ditto.
1054 * docs/html/18_support/howto.html: Ditto.
1055 * docs/html/19_diagnostics/howto.html: Ditto.
1056 * docs/html/20_util/howto.html: Ditto.
1057 * docs/html/21_strings/howto.html: Ditto.
1058 * docs/html/22_locale/howto.html: Ditto.
1059 * docs/html/23_containers/howto.html: Ditto.
1060 * docs/html/24_iterators/howto.html: Ditto.
1061 * docs/html/25_algorithms/howto.html: Ditto.
1062 * docs/html/26_numerics/howto.html: Ditto.
1063 * docs/html/27_io/howto.html: Ditto.
1064 * docs/html/ext/howto.html: Ditto.
1065 * docs/html/ext/sgiexts.html: Ditto.
1066 * docs/html/faq/index.html: Ditto.
1067 * docs/html/faq/index.txt: Ditto.
1069 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
1071 * testsuite/21_strings/c_strings.cc (test01, test02): Increase
1074 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
1076 * docs/html/20_util/howto.html: Add anchor name.
1077 * docs/html/23_containers/howto.html: Line wrapping, another link.
1078 * docs/html/25_algorithms/howto.html: Another note.
1080 * docs/html/ext/howto.html: Link to SGI extensions. List DRs and
1082 * docs/html/ext/lwg-active.html: ...in this new file (from R19),
1083 * docs/html/ext/lwg-defects.html: and this new file (from R19).
1084 * docs/html/ext/sgiexts.html: New file. Mention SGI extensions
1085 carried over to libstdc++-v3.
1086 * docs/html/faq/index.html: Link to SGI extensions. Mention the
1087 "missing .." pseudobug.
1088 * docs/html/faq/index.txt: Regenerate.
1090 * include/bits/ios_base.h: DR-related comment cleanup.
1091 * include/bits/istream.tcc: Likewise.
1092 * include/bits/locale_facets.h: Likewise.
1093 * include/bits/locale_facets.tcc: Likewise.
1094 * include/bits/ostream.tcc: Likewise.
1095 * include/bits/std_bitset.h: Likewise.
1096 * include/bits/std_iosfwd.h: Likewise.
1097 * include/bits/std_istream.h: Likewise.
1098 * include/bits/std_ostream.h: Likewise.
1099 * include/bits/std_streambuf.h: Likewise.
1100 * include/bits/stl_pair.h: Likewise.
1101 * include/bits/streambuf_iterator.h: Likewise.
1103 * include/bits/std_map.h: Remove unused header inclusion guard
1104 _CPP_BITS_STL_TREE_H from around bits/stl_tree.h.
1105 * include/bits/std_set.h: Likewise.
1107 * include/bits/stl_function.h: Doxygen markup.
1108 * docs/doxygen/doxygroups.cc: New file, specifying module grouping.
1109 * libsupc++/typeinfo: Doxygen markup tweak.
1111 2001-09-20 Scott Johnston <scott@accom.com>
1112 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1114 * include/backward/alloc.h: Conditionally define malloc_alloc
1115 * testsuite/backward/header_deque_h.cc: New file.
1117 2001-09-20 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
1119 * libstdc++-v3/include/bits/locale_facets.tcc (money_put::do_put):
1120 change variable name so that it works with -fno-for-scope.
1122 2001-09-20 Benjamin Kosnik <bkoz@redhat.com>
1124 * testsuite/22_locale/numpunct_members_char.cc (test01): Remove
1125 redundant sanity checks.
1126 * testsuite/22_locale/money_put_members_wchar_t.cc (test01): Same.
1128 * testsuite/22_locale/money_put_members_char.cc (test01): Same.
1130 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test01): Same.
1131 * testsuite/22_locale/moneypunct_members_char.cc (test01): Same.
1132 * testsuite/22_locale/money_get_members_wchar_t.cc (test01): Same.
1134 * testsuite/22_locale/money_get_members_char.cc (test01): Same.
1137 2001-09-19 Benjamin Kosnik <bkoz@redhat.com>
1139 Implement std::time_put.
1140 * include/bits/locale_facets.h: Include time_members.h.
1142 (time_put): Implement.
1143 * include/bits/locale_facets.tcc (do_put): Put generic versions here.
1144 * include/bits/localefwd.h: Bump number of facets.
1145 * config/locale/time_members_generic.h: New file.
1146 * config/locale/time_members_gnu.h: New file.
1147 * config/locale/c_locale_generic.h: Include clocale.
1148 * src/locale-inst.cc: Add use_facet instantiations for __timepunct.
1149 * src/locale.cc: Add __timepunct initializations.
1150 * src/localename.cc (locale::_Impl::_Impl(string, size_t)): Same.
1151 * include/Makefile.am (stamp-target): Add time_members.h.
1152 * include/Makefile.in: Regenerate.
1153 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_H.
1154 * aclocal.m4: Regenerate.
1155 * configure: Regenerate.
1156 * testsuite/22_locale/time_put.cc: New file.
1157 * testsuite/22_locale/time_put_members_char.cc: New file.
1159 * docs/html/22_locale/locale.html: Add note.
1161 2001-09-17 Phil Edwards <pme@gcc.gnu.org>
1163 * docs/html/configopts.html: HTML to XHTML change. Lowercase tags.
1164 * docs/html/documentation.html: Likewise.
1165 * docs/html/explanations.html: Likewise.
1166 * docs/html/install.html: Likewise.
1167 * docs/html/17_intro/howto.html: Likewise.
1168 * docs/html/18_support/howto.html: Likewise.
1169 * docs/html/19_diagnostics/howto.html: Likewise.
1170 * docs/html/20_util/howto.html: Likewise.
1171 * docs/html/21_strings/howto.html: Likewise.
1172 * docs/html/22_locale/codecvt.html: Likewise.
1173 * docs/html/22_locale/ctype.html: Likewise.
1174 * docs/html/22_locale/howto.html: Likewise.
1175 * docs/html/22_locale/locale.html: Likewise.
1176 * docs/html/22_locale/messages.html: Likewise.
1177 * docs/html/23_containers/howto.html: Likewise.
1178 * docs/html/24_iterators/howto.html: Likewise.
1179 * docs/html/25_algorithms/howto.html: Likewise.
1180 * docs/html/26_numerics/howto.html: Likewise.
1181 * docs/html/27_io/howto.html: Likewise.
1182 * docs/html/ext/howto.html: Likewise.
1183 * docs/html/faq/index.html: Likewise.
1184 * docs/html/faq/index.txt: Regenerated.
1186 2001-09-14 Phil Edwards <pme@sources.redhat.com>
1188 * docs/html/17_intro/headers_cc.txt: "Sync"/copy real file over.
1189 * docs/html/17_intro/howto.html: Spacing and HTML markup fixes.
1190 * docs/html/18_support/howto.html: It won't compile; it's not code.
1191 * docs/html/19_diagnostics/howto.html: Point diagram seekers to
1193 * docs/html/22_locale/howto.html: Comment for future work.
1194 * docs/html/23_containers/howto.html: More comments.
1195 * docs/html/25_algorithms/howto.html: It's a comment, not a
1196 blunt command to the reader. (English grammar.)
1198 2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
1200 * config/locale/moneypunct_members_gnu.cc: Fix initialization of
1202 * testsuite/22_locale/money_get_members_wchar_t.cc (test02): New file.
1203 * testsuite/22_locale/money_put_members_wchar_t.cc (test02): Fix.
1205 2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
1207 * include/bits/locale_facets.tcc: Conditionalize use of strtold.
1209 2001-09-13 Alexandre Petit-Bianco <apbianco@redhat.com>
1211 * testsuite/22_locale/money_get_members_char.cc: Fixed typo in comment.
1212 * testsuite/22_locale/money_put_members_char.cc: Likewise.
1213 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
1215 2001-09-13 Benjamin Kosnik <bkoz@redhat.com>
1217 Implement std::money_get.
1218 * include/bits/locale_facets.tcc (money_get::do_get): Implement.
1219 * include/bits/locale_facets.h (money_get): Correct signatures.
1220 * testsuite/22_locale/money_get.cc: New file.
1221 * testsuite/22_locale/money_get_members_char.cc: New file.
1223 * include/bits/locale_facets.tcc (__verify_grouping): New
1224 function. Consolidate num_get and money_get group checking into
1226 (money_get): Use it.
1227 * src/locale.cc (num_get::_M_extract): Use it.
1228 * src/locale-inst.cc: Add instantiation.
1230 2001-09-12 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1232 * include/bits/std_limits.h (numeric_limits<float>::radix,
1233 numeric_limits<float>::epsilon: Fix thinko.
1235 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
1237 * configure.in: Fix cross compiling math routines. Correct
1238 comments for cross compiling and limits. Add floating point math
1239 routines found in newlib.
1240 * configure: Regenerate.
1241 * acconfig.h: Add macros.
1242 * config.h.in: Regenerate.
1244 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
1246 * config/locale/moneypunct_members_generic.cc
1247 (money_base::_S_construct_pattern): Remove unused parameters.
1249 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
1251 * include/Makefile.am (stamp-target): Remove link to self.
1252 * inclulde/Makefile.in: Regenerate.
1254 2001-09-09 Benjamin Kosnik <bkoz@redhat.com>
1256 Implement std::money_put.
1257 * include/bits/locale_facets.h
1258 (moneypunct::_M_initialize_moneypunct): Split up specializations
1259 to account for _Intl. More grody hacking to get around the
1260 ill-considered use of const bool as a template parameter.
1261 * config/locale/moneypunct_members_gnu.cc: And here.
1262 * config/locale/moneypunct_members_generic.cc: And here.
1263 * testsuite/22_locale/moneypunct_members_char.cc: Add tests.
1264 * testsuite/22_locale/moneypunct.cc: Add tests.
1265 * testsuite/22_locale/money_put_members_wchar_t.cc: New file.
1266 * testsuite/22_locale/moneypunct_members_wchar_t.cc: New file.
1268 * src/locale.cc (money_base::_S_construct_pattern): Move into
1270 * config/locale/moneypunct_members_gnu.cc: Add here.
1271 * config/locale/moneypunct_members_generic.cc: Add generic version
1274 * include/bits/locale_facets.tcc (money_put::do_put): Move member
1275 function definitions here.
1276 * include/bits/locale_facets.h (money_put): Implement.
1277 * src/locale-inst.cc: Add use_facet instantiations for moneypunct.
1278 Correct money_get, money_put instantiations.
1279 * src/locale.cc (money_base::_S_construct_pattern): Handle case
1281 * testsuite/22_locale/money_put_members_char.cc: Add tests.
1283 2001-09-05 Phil Edwards <pme@sources.redhat.com>
1285 * testsuite_flags.in: No longer need to search testsuite builddir.
1286 * src/stl-inst.cc (__sink_unused_warning): Unused, remove.
1287 * Makefile.am: The testsuite directory never needs to be made here.
1288 * Makefile.in: Regenerate.
1289 * include/Makefile.in: Regenerate.
1290 * libio/Makefile.in: Regenerate.
1291 * libmath/Makefile.in: Regenerate.
1292 * libsupc++/Makefile.in: Regenerate.
1293 * po/Makefile.in: Regenerate.
1294 * src/Makefile.in: Regenerate.
1295 * testsuite/Makefile.in: Regenerate.
1297 2001-09-04 Scott Johnston <scott@accom.com>
1298 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1300 * include/backward/iterator.h: Include <bits/std_iterator.h>,
1301 remove reverse_bidirectional_iterator.
1302 * testsuite/backward: New directory.
1303 * testsuite/backward/header_iterator_h.cc: New file.
1305 2001-09-04 Benjamin Kosnik <bkoz@redhat.com>
1307 * include/c_std/bits/std_c*.h: Don't use include_next.
1309 2001-09-03 Richard Sandiford <rsandifo@redhat.com>
1311 * libsupc++/eh_personality.cc (parse_lsda_header): Change type of
1312 tmp from _Unwind_Ptr to _Unwind_Word.
1314 2001-08-31 Jason Merrill <jason_merrill@redhat.com>
1316 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Simplify
1319 2001-08-28 Loren J. Rittle <ljrittle@acm.org>
1321 * include/Makefile.am: Use toplevel_srcdir to refer to src files
1322 outside this component.
1323 * include/Makefile.in: Regenerate.
1325 2001-08-27 Benjamin Kosnik <bkoz@redhat.com>
1327 * config/locale/c_locale_gnu.cc: Move facet info to separate files...
1328 * config/locale/c_locale_generic.cc: Same.
1329 * config/locale/moneypunct_members_gnu.cc: New file.
1330 * config/locale/moneypunct_members_generic.cc: New file.
1331 * config/locale/numpunct_members_gnu.cc: New file.
1332 * config/locale/numpunct_members_generic.cc: New file.
1333 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add moneypunct, numpunct
1335 * aclocal.m4: Regenerate.
1336 * configure: Regenerate.
1337 * src/Makefile.am (sources): And here.
1338 * src/Makefile.in: Regenerate.
1340 Rename for consistency with rest of testsuite.
1341 * testsuite/22_locale/codecvt.cc: New file.
1342 * testsuite/22_locale/money_put.cc: New file.
1343 * testsuite/22_locale/money_put_members_char.cc: New file.
1345 2001-08-27 Phil Edwards <pme@sources.redhat.com>
1348 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Handle enable/disable
1349 correctly for version-specific-runtime-libs.
1350 * aclocal.m4: Regenerate.
1351 * configure: Regenerate.
1353 2001-08-24 Loren J. Rittle <ljrittle@acm.org>
1355 * config/cpu/i386/bits/limits.h (__glibcpp_long_double_bits): Only
1356 define if not already provided by per-OS file.
1357 * config/os/bsd/freebsd/bits/os_defines.h (__glibcpp_long_double_bits):
1360 2001-08-24 Jan van Male <jan.vanmale@fenk.wau.nl>
1362 * docs/html/17_intro/C++STYLE: Fix typo.
1364 2001-08-24 Phil Edwards <pme@sources.redhat.com>
1366 * docs/html/23_containers/howto.html: Describe implementation of
1367 insertion with hints.
1369 2001-08-24 Kenny Simpson <kenny.simpson@gs.com>
1372 * include/bits/std_sstream.h (basic_ostringstream): Fix ctor.
1374 2001-08-24 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
1375 Phil Edwards <pme@sources.redhat.com>
1378 * include/bits/stl_tree.h (insert_unique): Revert last change.
1379 Values inserted at begin() must be less, not greater, than *begin()'s.
1380 * testsuite/23_containers/map_insert.cc: New file.
1382 2001-08-23 Benjamin Kosnik <bkoz@redhat.com>
1384 * config/locale/c_locale_gnu.cc: Minor tweaks.
1385 (moneypunct<wchar_t>): Implement.
1386 * include/bits/locale_facets.h: Same.
1387 * testsuite/22_locale/moneypunct.cc: New file.
1388 * testsuite/22_locale/moneypunct_byname.cc: New file.
1389 * testsuite/22_locale/moneypunct_char_members.cc: New file.
1391 2001-08-23 David Edelsohn <edelsohn@gnu.org>
1393 * config/os/gnu-linux/bits/os_defines.h: Correct __s390__ definitions.
1394 Set __powerpc__ long double definition based on __LONG_DOUBLE_128__.
1396 2001-08-23 Jason Merrill <jason_merrill@redhat.com>
1398 * testsuite_flags.in (build-includes): Re-add backward.
1400 2001-08-22 Benjamin Kosnik <bkoz@redhat.com>
1402 * testsuite/22_locale/collate_wchar_t_members.cc: Guard
1403 with _GLIBCPP_USE_WCHAR_T.
1405 2001-08-21 Benjamin Kosnik <bkoz@redhat.com>
1407 * testsuite/22_locale/collate_byname.cc (test01): Fix.
1409 2001-08-18 Vladimir A Merzliakov <wanderer@rsu.ru>
1411 * include/bits/locale_facets.tcc (collate::do_transform): Add typename.
1413 2001-08-18 Benjamin Kosnik <bkoz@redhat.com>
1415 * testsuite/22_locale/operators.cc: Add test.
1417 2001-08-17 Benjamin Kosnik <bkoz@redhat.com>
1419 Implement std::collate.
1420 * config/locale/collate_specializations_gnu.cc: Add here, implement in
1422 * config/locale/collate_specializations_generic.cc: Add here, but
1423 in a less sophisticated manner.
1424 * include/bits/locale_facets.tcc (collate): Add generic definition.
1425 * include/bits/locale_facets.h (~collate): Mark virtual.
1426 (collate::_M_compare_helper): New.
1427 (collate::_M_transform_helper): New.
1428 * src/locale.cc: Remove unnecessary specializations.
1429 * src/string-inst.cc: Tweak instantiation of ctors.
1431 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Do configury for collate.
1432 * aclocal.m4: Regenerate.
1433 * configure: Regenerate.
1434 * src/Makefile.am (sources): Add collate.cc.
1435 * src/Makefile.in: Regenerate.
1437 * testsuite/22_locale/collate_byname.cc: New.
1438 * testsuite/22_locale/collate.cc: New file.
1439 * testsuite/22_locale/collate_char_members.cc: New file.
1440 * testsuite/22_locale/collate_wchar_t_members.cc: New file.
1442 2001-08-16 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1444 * configure.target: Set LIMITSH for powerpc-*-*.
1445 * config/cpu/powerpc/bits/limits.h: New file.
1447 2001-08-16 Marc Espie <espie@openbsd.org>
1449 * configure.in: Check for <sys/types.h>.
1450 * configure: Rebuild.
1451 * config.h.in: Rebuild.
1452 * libmath/mathconf.h: Include <sys/types.h> prior to
1453 <machine/endian.h> if available.
1455 2001-08-15 Andreas Schwab <schwab@suse.de>
1457 * configure.target (cpu_include_dir): Set to `config/cpu/m68k' for
1458 m68k and m680[246]0.
1459 * config/cpu/m68k/bits/atomicity.h: New file.
1461 * include/bits/std_limits.h [__glibcpp_long_double_bits == 96]:
1462 Define appropriate long double limits for m68k extended floating
1464 (__glibcpp_f32_digits10): Corrected, off by one.
1465 (__glibcpp_f80_digits10): Likewise.
1466 (__glibcpp_f128_digits10): Likewise.
1467 * config/os/gnu-linux/bits/os_defines.h
1468 (__glibcpp_long_double_bits) [__mc68000__]: Define to 96.
1470 2001-08-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1472 * testsuite/18_support/numeric_limits.cc: Add more tests.
1473 * include/bits/std_limits.h (numeric_limits<char>::max): Fix
1476 2001-08-14 Ulrich Weigand <uweigand@de.ibm.com>
1478 * configure.target (cpu_include_dir): Set to `config/cpu/s390'
1481 * config/cpu/s390/bits/atomicity.h: New.
1483 2001-08-14 Gabriel Dos Reis <gdr@codesourcery.com>
1485 * include/bits/std_limits.h: Fix thinko.
1487 2001-08-14 Benjamin Kosnik <bkoz@redhat.com>
1489 * include/Makefile.am: Consolidate target rules. Don't clean stamp
1490 files. Tweak target build directory stamp.
1491 * include/Makefile.in: Regenerate.
1493 2001-08-14 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1495 * libstdc++-v3/libmath/stubs.c: Fix PR/3988, replace
1496 _GBLICPP_HAVE_LOGL with HAVE_LOGL
1498 2001-08-13 Benjamin Kosnik <bkoz@redhat.com>
1500 * configure.in (libtool_VERSION): Add.
1501 (VERSION): Change to
1502 (release_VERSION): This.
1503 * configure: Regenerate.
1504 * src/Makefile.am (libstdc___la_LDFLAGS): Use -version-info with
1506 * src/Makefile.in: Regenerate.
1508 * intl/Makefile.am: Remove.
1509 * intl/Makefile.in: Remove.
1511 * Makefile.am (SUBDIRS): Remove intl.
1512 * po/Makefile.am (DISTFILES): Add string_literals.cc
1514 * po/string_literals.cc: Add.
1515 * po/POTFILES.in: Fix path.
1516 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't call AM_GNU_GETTEXT.
1517 * aclocal.m4: Regenerate.
1518 * configure.in: Remove AC_OUTPUT of intl/Makefile.
1520 * include/backward/backward_warning.h: Clarify message.
1522 * testsuite_flags.in (--cxxflags): Use same debug flags for
1523 library and testsuite.
1525 * include/Makefile.am (c_compatibility): Remove.
1526 * include/Makefile.in: Regenerate.
1528 2001-08-13 Mark Mitchell <mark@codesourcery.com>
1530 * configure.in (LIMITS_INC_SRCDIR): New variable.
1531 * configure.target (LIMITSH): New variable.
1532 * porting.texi: Discuss numeric limits.
1533 * config/cpu/generic/bits/limits.h: New file.
1534 * config/cpu/i386/bits/limits.h: New file.
1535 * include/Makefile.am: Install bits/limits.h.
1536 * include/bits/c++config: Include bits/limits.h.
1538 2001-08-13 H.J. Lu (hjl@gnu.org)
1540 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-copy-files):
1542 (libstdc++-v3-init ): Use it.
1544 2001-08-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1546 * include/bits/ostream.tcc (__pad_char): Change toplevel '__fmt'
1547 to '__adjust' to avoid shadowing in nested scope.
1549 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1551 * include/bits/std_limits.h(__glibcpp_char_is_signed): Use
1554 * config/os/gnu-linux/bits/os_defines.h(__glibcpp_char_is_signed):
1556 * config/os/aix/bits/os_defines.h(__glibcpp_plain_char_is_signed):
1559 2001-08-10 Loren J. Rittle <ljrittle@acm.org>
1561 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Add
1562 dummy default argument to the non-limit implementation.
1565 * include/Makefile.am: Use relative file path in rule to allow
1567 * include/Makefile.in: Rebuilt.
1569 2001-08-10 Gunter Winkler <gunter.winkler@mathematik.tu-chemnitz.de>
1571 * include/bits/std_complex.h (complex<long double>::operator*=,
1572 complex<long double>::operator/=): Fix thinko.
1574 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1576 * include/bits/std_limits.h: New file.
1577 * include/Makefile.am (bits_headers): Add std_limits.h
1578 (all-local): std_limits.h is no longer built.
1579 (${target_builddir}/std_limits.h): Remove.
1580 * include/Makefile.in: Regenerate.
1581 * src/limits.cc: New file.
1582 * src/Makefile.am (sources): Add limits.cc in replacement of
1584 * src/Makefile.in: Regenerate.
1586 2001-08-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1588 * src/gen-num-limits.cc (digits10): Fix thinko.
1590 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
1592 * po/Makefile.am (check-no): Add.
1594 * po/Makefile.in: Regenerate.
1596 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
1598 * acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
1599 * config.h.in: Regenerate.
1600 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT): Check for setrlimit
1602 * aclocal.m4: Regenerate.
1603 * configure.in: Remove duplicate AM_CONFIG_HEADER.
1604 (AM_CONFIG_HEADER): Remove testsuite/testsuite_hooks.h.
1605 Only call GLIBCPP_CHECK_SETRLIMIT for native compiles.
1606 * configure: Regenerate.
1607 * testsuite_hooks.h.in: Move to...
1608 * testsuite_hooks.h: Here, include c++config.h. Use it.
1610 * Makefile.am (SUBDIRS): Move testsuite to last directory.
1611 * Makefile.in: Regenerate.
1612 * po/Makefile.am (stamp-po): Add.
1614 2001-08-09 David Edelsohn <edelsohn@gnu.org>
1616 * config/os/aix/bits/os_defines.h: Define std_limits.h macros.
1617 * config/os/generic/bits/os_defines.h: Likewise.
1618 * config/os/gnu-linux/bits/os_defines.h: Likewise.
1619 * config/os/hpux/bits/os_defines.h: Likewise.
1620 * config/os/irix/irix6.5/bits/os_defines.h: Likewise.
1621 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
1623 2001-08-08 Benjamin Kosnik <bkoz@redhat.com>
1625 * src/Makefile.am (libstdc___la_LDFLAGS): Use -release instead of
1626 -version-info, use substituted VERSION info.
1627 * src/Makefile.in: Regenerate.
1629 2001-08-07 Benjamin Kosnik <bkoz@redhat.com>
1631 Implement std::messages.
1632 Make config a fully-nested directory.
1633 * config/locale: New directory.
1634 * config/c_locale_generic.cc: Move into locale subdirectory.
1635 * config/c_locale_generic.h: Same.
1636 * config/c_locale_gnu.cc: Same.
1637 * config/c_locale_gnu.h: Same.
1638 * config/c_locale_ieee_1003.1-200x.cc: Same.
1639 * config/c_locale_ieee_1003.1-200x_.h: Same.
1640 * config/codecvt_specializations_generic.h: Same.
1641 * config/codecvt_specializations_ieee_1003.1-200x.h: Same.
1642 * config/messages_members_gnu.h: Same.
1643 * config/messaages_members_gnu.cc: Same.
1644 * config/messages_members_generic.h: Same.
1645 * config/messaages_members_generic.cc: Same.
1646 * config/messages_members_ieee_1003.1-200x.h: Same.
1647 * config/messaages_members_ieee_1003.1-200x.cc: Same.
1648 * config/io: New directory.
1649 * config/basic_file_libio.h: Move into io subdirectory.
1650 * config/basic_file_libio.cc: Same.
1651 * config/c_io_libio.h: Same.
1652 * config/c_io_libio_codecvt.c: Same.
1653 * config/basic_file_stdio.h: Same.
1654 * config/basic_file_stdio.cc: Same.
1655 * config/c_io_stdio.h: Same.
1657 * po: New directory.
1658 * po/POTFILES.in: New file.
1659 * po/Makefile.am: New file.
1660 * po/Makefile.in: New file.
1661 * po/libstdc++.pot: Generic translation file.
1662 * po/fr.po: Preliminary French translation.
1663 * po/de.po: Preliminary German translation.
1664 * intl: New directory.
1665 * intl/Makefile.am: New file.
1666 * intl/Makefile.in: New file.
1667 * intl/string_literals.cc: New file.
1668 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump VERSION to 3.1.0. Add
1669 requisite setup for gettext. Re-arrange.
1670 * aclocal.m4: Regenerate.
1671 * configure.in: Don't call GLIBCPP_CHECK_COMPILER_VERSION.
1672 Output Makefile bits for po and intl.
1673 * configure: Regenerate.
1674 * Makefile.am (SUBDIRS): Add intl, po. Add rule for dist.
1675 * Makefile.in: Regenerate.
1676 * acconfig.h: Add ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY.
1677 * config.h.in: Regenerate.
1679 * acinclude.m4 (AC_REPLACE_STRINGFUNCS): Remove.
1681 * include/Makefile.am (install-data-local): Don't install Makefile.
1682 * include/Makefile.in: Regenerate.
1684 * include/bits/locale_facet.h (locale::facet::_S_clone_c_locale):
1686 * config/locale/c_locale_gnu.cc (_S_clone_c_locale): Add definition.
1687 * config/locale/c_locale_generic.cc: Same.
1688 * config/locale/c_locale_ieee_1003.1-200x.cc: Same.
1690 * include/bits/codecvt.h: Excise non-standard, non-required
1691 bits. This includes __enc_traits, and partial specializations of
1692 codecvt for __enc_traits.
1693 * src/codecvt.cc (__enc_traits::_S_max_size): Guard
1694 * config/codecvt_partials_ieee_1003.1-200x.h: New file.
1695 * config/codecvt_partials_generic.h: New file.
1696 * include/Makefile.am (allstamps): Add stamp-codecvt_model.
1697 (stamp-codecvt_model): Add.
1698 * include/Makefile.in: Regenerate.
1699 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in codecvt configury.
1700 * aclocal.m4: Regenerate.
1701 * configure: Regenerate.
1702 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Use macro guard.
1703 * testsuite/22_locale/codecvt_unicode_char.cc: Same.
1704 * testsuite/22_locale/ctor_copy_dtor.cc: And here.
1706 * include/bits/localefwd.h (class locale::facet): Add __enc_traits
1707 as a friend for _S_*_c_locale functions.
1708 * include/bits/codecvt.h (__enc_traits::__enc_traits): Add locale
1709 argument to default constructor so that CODESET information can be
1711 * include/bits/locale_facets.h (messages_byname):
1712 Re-implement. Remove specializations.
1713 * src/locale.cc (messages_byname<char>): Remove specialization.
1714 (messages_byname<wchar_t>): Same.
1715 * config/locale/c_locale_ieee_1003.1-200x.cc: New file.
1716 * config/locale/c_locale_ieee_1003.1-200x.h: New file.
1717 * config/locale/messages_members_ieee_1003.1-200x.cc: New file.
1718 * config/locale/messages_members_ieee_1003.1-200x.h: New file.
1719 * config/locale/messages_members_gnu.cc: New file.
1720 * config/locale/messages_members_gnu.h: New file.
1721 * config/locale/messages_members_generic.cc: New file.
1722 * config/locale/messages_members_generic.h: New file.
1724 * docs/html/configopts.html: Add documentation for new locale
1725 model, ieee_1003.1. Adjust other flags for current defaults.
1726 * docs/html/22_locale/locale.html: Update.
1727 * docs/html/22_locale/howto.html: Add link to messages.html. Organize.
1728 * docs/html/22_locale/messages.html: New.
1730 * src/Makefile.am (sources): Add messages_virtuals.cc.
1731 * src/Makefile.in: Regenerate.
1732 * include/Makefile.am (allstamps): Add stamp-messages_model.
1733 (stamp-messages_model): Add.
1734 * include/Makefile.in: Regenerate.
1735 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in messages configury.
1736 * aclocal.m4: Regenerate.
1737 * configure: Regenerate.
1739 * testsuite_flags.in (--cxxflags): Add LOCALEDIR.
1740 * testsuite/lib/libstdc++-v3-dg.exp: Remove broken LD_LIBRARY_PATH
1742 * acinclude (GLIBCPP_ENABLE_CLOCALE): Set glibcpp_localedir to the
1743 build directories message catalog base directory, and export.
1744 Eventually this should probably be made to deal with build and
1745 install directories. For now, punt on this as the library itself
1746 doesn't use message catalogs (yet).
1747 * testsuite/22_locale/messages.cc: New file.
1748 * testsuite/22_locale/messages_char_members.cc: New file.
1749 * testsuite/22_locale/messages_byname.cc: New file.
1751 2001-08-06 Phil Edwards <pme@sources.redhat.com>
1753 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls...
1754 (GLIBCPP_CHECK_SETRLIMIT): ...this new macro, which also uses...
1755 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): ...this new macro.
1756 * configure.in (AM_CONFIG_HEADER): Also generate testsuite_hooks.h.
1757 Call GLIBCPP_CONFIGURE_TESTSUITE.
1758 * aclocal.m4: Regenerate.
1759 * config.h.in: Regenerate.
1760 * configure: Regenerate.
1762 * testsuite/lib/libstdc++-v3-dg.exp: Download new header instead
1765 * testsuite_flags.in: Add build dir's testsuite to INCLUDES.
1766 * testsuite/debug_assert.h: Removed; contents merged into...
1767 * testsuite/testsuite_hooks.h.in: ...here. New file.
1768 * testsuite/17_intro/header_ciso646.cc: No longer include
1769 debug_assert.h, include testsuite_hooks.h instead.
1770 * testsuite/17_intro/header_fstream.cc: Likewise.
1771 * testsuite/17_intro/header_iomanip.cc: Likewise.
1772 * testsuite/17_intro/header_ios.cc: Likewise.
1773 * testsuite/17_intro/header_iosfwd.cc: Likewise.
1774 * testsuite/17_intro/header_iostream.cc: Likewise.
1775 * testsuite/17_intro/header_istream.cc: Likewise.
1776 * testsuite/17_intro/header_ostream.cc: Likewise.
1777 * testsuite/17_intro/header_sstream.cc: Likewise.
1778 * testsuite/17_intro/header_streambuf.cc: Likewise.
1779 * testsuite/18_support/numeric_limits.cc: Likewise.
1780 * testsuite/19_diagnostics/stdexceptions.cc: Likewise.
1781 * testsuite/20_util/allocator_members.cc: Likewise.
1782 * testsuite/20_util/auto_ptr.cc: Likewise.
1783 * testsuite/20_util/pairs.cc: Likewise.
1784 * testsuite/21_strings/append.cc: Likewise.
1785 * testsuite/21_strings/capacity.cc: Likewise.
1786 * testsuite/21_strings/char_traits_requirements.cc: Likewise.
1787 * testsuite/21_strings/compare.cc: Likewise.
1788 * testsuite/21_strings/ctor_copy_dtor.cc: Likewise. Also set up
1789 call to (disabled) __set_testsuite_memlimit() wrapper.
1790 * testsuite/21_strings/element_access.cc: Likewise.
1791 * testsuite/21_strings/find.cc: Likewise.
1792 * testsuite/21_strings/insert.cc: Likewise. Also set up call to
1793 (disabled) __set_testsuite_memlimit() wrapper.
1794 * testsuite/21_strings/inserters_extractors.cc: Likewise.
1795 * testsuite/21_strings/invariants.cc: Likewise.
1796 * testsuite/21_strings/nonmember.cc: Likewise.
1797 * testsuite/21_strings/operations.cc: Likewise.
1798 * testsuite/21_strings/replace.cc: Likewise.
1799 * testsuite/21_strings/rfind.cc: Likewise.
1800 * testsuite/21_strings/substr.cc: Likewise.
1801 * testsuite/22_locale/codecvt_char_char.cc: Likewise.
1802 * testsuite/22_locale/codecvt_unicode_char.cc: Likewise.
1803 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Likewise.
1804 * testsuite/22_locale/codecvt_wchar_t_char.cc: Likewise.
1805 * testsuite/22_locale/ctor_copy_dtor.cc: Likewise.
1806 * testsuite/22_locale/ctype_char_members.cc: Likewise.
1807 * testsuite/22_locale/ctype_wchar_t_members.cc: Likewise.
1808 * testsuite/22_locale/facet.cc: Likewise.
1809 * testsuite/22_locale/global_templates.cc: Likewise.
1810 * testsuite/22_locale/members.cc: Likewise.
1811 * testsuite/22_locale/numpunct_byname.cc: Likewise.
1812 * testsuite/22_locale/numpunct_char_members.cc: Likewise.
1813 * testsuite/22_locale/operators.cc: Likewise.
1814 * testsuite/22_locale/static_members.cc: Likewise.
1815 * testsuite/23_containers/bitset_ctor.cc: Likewise.
1816 * testsuite/23_containers/bitset_members.cc: Likewise.
1817 * testsuite/23_containers/bitset_shift.cc: Likewise.
1818 * testsuite/23_containers/vector_capacity.cc: Likewise.
1819 * testsuite/23_containers/vector_ctor.cc: Likewise.
1820 * testsuite/23_containers/vector_element_access.cc: Likewise.
1821 * testsuite/23_containers/vector_modifiers.cc: Likewise.
1822 * testsuite/24_iterators/istreambuf_iterator.cc: Likewise.
1823 * testsuite/24_iterators/iterator.cc: Likewise.
1824 * testsuite/24_iterators/ostreambuf_iterator.cc: Likewise.
1825 * testsuite/25_algorithms/binary_search.cc: Likewise.
1826 * testsuite/25_algorithms/copy.cc: Likewise.
1827 * testsuite/25_algorithms/heap.cc: Likewise.
1828 * testsuite/25_algorithms/lower_bound.cc: Likewise.
1829 * testsuite/25_algorithms/min_max.cc: Likewise.
1830 * testsuite/25_algorithms/partition.cc: Likewise.
1831 * testsuite/25_algorithms/rotate.cc: Likewise.
1832 * testsuite/25_algorithms/sort.cc: Likewise.
1833 * testsuite/26_numerics/c_math.cc: Likewise.
1834 * testsuite/26_numerics/complex_inserters_extractors.cc: Likewise.
1835 * testsuite/26_numerics/complex_value.cc: Likewise.
1836 * testsuite/27_io/filebuf.cc: Likewise.
1837 * testsuite/27_io/filebuf_members.cc: Likewise.
1838 * testsuite/27_io/filebuf_virtuals.cc: Likewise.
1839 * testsuite/27_io/fpos.cc: Likewise.
1840 * testsuite/27_io/fstream_members.cc: Likewise.
1841 * testsuite/27_io/ifstream_members.cc: Likewise.
1842 * testsuite/27_io/ios_base_callbacks.cc: Likewise.
1843 * testsuite/27_io/ios_base_members_static.cc: Likewise.
1844 * testsuite/27_io/ios_base_storage.cc: Likewise.
1845 * testsuite/27_io/ios_ctor.cc: Likewise.
1846 * testsuite/27_io/ios_init.cc: Likewise.
1847 * testsuite/27_io/ios_manip_basefield.cc: Likewise.
1848 * testsuite/27_io/ios_manip_fmtflags.cc: Likewise.
1849 * testsuite/27_io/ios_members.cc: Likewise.
1850 * testsuite/27_io/istream_extractor_arith.cc: Likewise.
1851 * testsuite/27_io/istream_extractor_char.cc: Likewise.
1852 * testsuite/27_io/istream_extractor_other.cc: Likewise.
1853 * testsuite/27_io/istream_manip.cc: Likewise.
1854 * testsuite/27_io/istream_seeks.cc: Likewise.
1855 * testsuite/27_io/istream_sentry.cc: Likewise.
1856 * testsuite/27_io/istream_unformatted.cc: Likewise.
1857 * testsuite/27_io/istringstream_members.cc: Likewise.
1858 * testsuite/27_io/narrow_stream_objects.cc: Likewise.
1859 * testsuite/27_io/ofstream_members.cc: Likewise.
1860 * testsuite/27_io/ostream_inserter_arith.cc: Likewise.
1861 * testsuite/27_io/ostream_inserter_char.cc: Likewise.
1862 * testsuite/27_io/ostream_inserter_other.cc: Likewise.
1863 * testsuite/27_io/ostream_manip.cc: Likewise.
1864 * testsuite/27_io/ostream_seeks.cc: Likewise.
1865 * testsuite/27_io/ostream_unformatted.cc: Likewise.
1866 * testsuite/27_io/ostringstream_members.cc: Likewise.
1867 * testsuite/27_io/streambuf.cc: Likewise.
1868 * testsuite/27_io/stringbuf.cc: Likewise.
1869 * testsuite/27_io/stringbuf_virtuals.cc: Likewise.
1870 * testsuite/27_io/stringstream.cc: Likewise.
1871 * testsuite/27_io/stringstream_members.cc: Likewise.
1872 * testsuite/27_io/wide_stream_objects.cc: Likewise.
1874 2001-07-31 Loren J. Rittle <ljrittle@acm.org>
1876 * src/gen-num-limits.cc: Use __LONG_LONG_MAX__.
1878 2001-07-30 Benjamin Kosnik <bkoz@redhat.com>
1880 * configure.target: Remove mips from cpu table.
1881 * config/cpu/mips/bits/atomicity.h: Remove generic
1882 versions. Comment sgidefs include.
1884 2001-07-25 H.J. Lu <hjl@gnu.org>
1886 * configure.target (cpu_include_dir): Set to `config/cpu/mips'
1889 * config/cpu/mips/bits/atomicity.h: New.
1891 2001-07-25 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1893 * acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf,
1894 hypotl, atan2f, atan2l. Remove from REPLACE_MATHFUNCS list.
1895 * aclocal.m4: Regenerate.
1896 * config.h.in: Likewise.
1897 * configure: Likewise.
1898 * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove hypotl.c
1899 (EXTRA_DIST): Remove hypot.c hypotf.c.
1900 * libmath/Makefile.am: Regenerate.
1901 * libmath/hypotf.c: Remove.
1902 * libmath/hypot.c: Likewise.
1903 * libmath/hypotl.c: Likewise.
1904 * libmath/stubs.c: The macros seen here are HAVE_xxx, not
1905 _GLIBCPP_HAVE_xxx. Add long double versions.
1907 2001-07-23 David Edelsohn <edelsohn@gnu.org>
1909 * include/bits/limits_generic.h (int): Set digits and digits10
1910 appropriately for word size.
1911 (unsigned int,long,unsigned long): Likewise.
1913 2001-07-19 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1915 * include/bits/stl_algo.h : Fix typos.
1916 * testsuite/25_algorithms/unique.cc: New file.
1918 2001-07-19 Phil Edwards <pme@sources.redhat.com>
1919 Mark Mitchell <mark@codesourcery.com>
1921 Merge from cp-parser-branch.
1922 * include/bits/basic_string.h: Qualify symbols with 'template'.
1923 * include/bits/basic_string.tcc: Likewise.
1924 * include/bits/fstream.tcc: Likewise.
1925 * include/bits/istream.tcc: Likewise.
1926 * include/bits/sstream.tcc: Likewise.
1927 * include/bits/std_istream.h: Likewise.
1928 * include/bits/stl_iterator.h: Likewise.
1929 * include/bits/streambuf.tcc: Likewise.
1930 * src/gen-num-limits.cc: Add 'template<>' to specializations.
1931 * src/locale.cc: Likewise.
1933 2001-07-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1934 Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
1936 * src/gen-num-limits.cc (set_signals_handler): New function.
1937 Factor out signals setting. Set signal handler for SIGILL.
1939 2001-07-18 Phil Edwards <pme@sources.redhat.com>
1941 * docs/html/27_io/howto.html: Fix typo.
1942 * docs/html/faq/index.html: Minor updates for 3.0 all around.
1943 * docs/html/faq/index.txt: Regenerated.
1945 2001-07-18 Stephen M. Webb <stephen@bregmasoft..com>
1946 Roman Sulzhyk <roman_sulzhyk@yahoo.com>
1949 * include/bits/ostream.tcc (ostream::put): Fixed error condition check.
1950 * testsuite/27_io/streambuf.cc (test07): Added new regression test.
1952 2001-07-17 Stephen M. Webb <stephen@bregmasoft.com>r
1954 All occurrences of the __value_type() and __distance_type()
1955 functions, which were required to support the HP STL, have been
1956 removed along with all the auxiliary forwarding functions that
1957 were required to support their use.
1959 The __iterator_category() function was pretty much left alone
1960 because there was no benefit to removing it and its use made code
1961 just a little more readable.
1963 Incidences of distance() with nonstandard argument list were
1964 replaced by calls to the standard function (only in the files
1965 affected by the removal of the other HP functions).
1967 The signature of the rotate() algorithm was changed to match the
1970 Headers were reformatted under C++STYLE guidelines (indentation,
1971 linebreaks, typename keyword).
1973 * include/bits/stl_algo.h: replaced __value_type() and
1974 __distance_type() with iterator_traits, eliminated auxiliary
1975 support functions required to support said function usage.
1976 Changed nonstandard distance() call to standard call.
1978 * include/bits/stl_algobase.h: Same.
1979 * include/bits/stl_heap.h: Same.
1980 * include/bits/stl_numeric.h: Same.
1981 * include/bits/stl_uninitialized.h: Same.
1982 * include/bits/stl_iterator_base_types.h (__value_type()):
1984 (__distance_type()): Removed.
1985 (value_type()): Gone.
1986 (distance_type()): Done in.
1987 (iterator_category()): Hasta la vista, baby.
1989 * include/bits/stl_iterator_base_funcs.h (iterator_category()):
1990 Replaced with __iterator_category().
1991 * include/backward/iterator.h: moved definition of value_type(),
1992 distance_type(), and iterator_category() out of std:: and into
1994 * testsuite/23_containers/vector_ctor.cc (test03): New testcases.
1995 * testsuite/23_containers/vector_modifiers.cc (test03): New testcases.
1996 * testsuite/25_algorithms/rotate.cc: New testcase.
1997 * testsuite/25_algorithms/copy.cc: New testcase.
1998 * testsuite/25_algorithms/sort.cc: Same.
1999 * testsuite/25_algorithms/heap.cc: Same.
2000 * testsuite/25_algorithms/partition.cc: Same.
2001 * testsuite/25_algorithms/binary_search.cc: Same.
2002 * testsuite/26_numerics/sum_diff.cc: Ditto.
2004 001-07-17 Benjamin Kosnik <bkoz@redhat.com>
2006 * testsuite/README: Add notes on naming test cases.
2007 * testsuite/22_locale/members.cc: Mark as xfail.
2008 * testsuite/22_locale/numpunct_char_members.cc: Same.
2010 2001-07-16 Stephen M. Webb <stephen@bregmasoft.com>
2012 * acinclude.m4 (GLIBCPP_ENABLE_CHEADERS): Use glibcpp_srcdir when
2013 setting C_INCLUDE_DIR.
2014 * configure.in: Revert yesterday's LN_S change.
2015 * aclocal.m4: Regenerate.
2016 * configure: Regenerate.
2018 2001-07-15 Phil Edwards <pme@sources.redhat.com>
2020 * configure.in: Temporarily force LN_S to copy instead of symlink.
2021 * configure: Regenerate.
2023 2001-07-13 Phil Edwards <pme@sources.redhat.com>
2025 * include/bits/std_sstream.h (basic_stringbuf::basic_stringbuf(string):
2026 Initialize _M_string with pointer-and-size constructor, not just
2027 pointer. Fix some comments.
2028 * testsuite/21_strings/ctor_copy_dtor.cc (test03): New test.
2029 * testsuite/27_io/stringbuf.cc (test02): Remove unused variable.
2030 (test03): Add embedded-NUL tests.
2032 * mkcheck.in: When printing totals, match the order of the tests.
2033 * include/bits/stringfwd.h: Use same declaration keywords.
2034 * include/bits/std_iosfwd.h: Cosmetic spacing.
2036 2001-07-13 Stephen M. Webb <stephen@bregmasoft.com>
2037 Loren J. Rittle <ljrittle@acm.org>
2038 Phil Edwards <pme@sources.redhat.com>
2040 * include/Makefile.am: New file encapsulating header generation rules.
2041 * Makefile.am (SUBDIRS): Prepend 'include' directory.
2042 * acinclude.m4: Moved/removed rules for building various headers.
2043 * configure.in (AC_OUTPUT): Add include/Makefile.
2044 * mkc++config: Removed.
2046 * testsuite_flags.in: Changed build-includes to match new scheme.
2047 * mknumeric_limits: Likewise.
2048 * libio/Makefile.am: Changed INCLUDES to maatch new header scheme.
2049 * libmath/Makefile.am: Likewise.
2050 * libsupc++/Makefile.am: Likewise.
2051 * src/Makefile.am: Likewise; removed rules to build headers.
2052 * libmath/mathconf.h: Changed #include'd header names to match.
2053 * libmath/stubs.c: Likewise.
2054 * src/gen-num-limits.cc: Likewise.
2056 * configure: Regenerated.
2057 * config.h.in: Regenerated.
2058 * aclocal.m4: Regenerated.
2059 * Makefile.in: Regenerated.
2060 * include/Makefile.in: Regenerated.
2061 * libio/Makefile.in: Regenerated.
2062 * libmath/Makefile.in: Regenerated.
2063 * libsupc++/Makefile.in: Regenerated.
2064 * src/Makefile.in: Regenerated.
2065 * testsuite/Makefile.in: Regenerated.
2067 2001-07-11 Felix Natter <fnatter@gmx.net>
2069 * docs/html/17_intro/porting-howto.xml: Initial checkin of
2071 * docs/html/17_intro/porting-howto.html: check in v0.9.3
2073 2001-07-11 Phil Edwards <pme@sources.redhat.com>
2075 * docs/doxygen/run_doxygen: Don't keep output from previous run.
2076 * docs/doxygen/user.cfg.in: Tweaks.
2077 * include/bits/c++config: Documentation comments for Doxygen.
2078 * include/bits/char_traits.h: Likewise.
2079 * include/bits/limits_generic.h: Likewise.
2080 * include/bits/std_stdexcept.h: Likewise.
2081 * include/bits/stl_pair.h: Likewise.
2082 * libsupc++/exception: Likewise.
2083 * libsupc++/new: Likewise.
2084 * libsupc++/typeinfo: Likewise.
2085 * libmath/Makefile.am: Update and correct copyright.
2087 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2089 * acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
2090 * aclocal.m4: Regenerate.
2093 2001-07-09 Phil Edwards <pme@sources.redhat.com>
2095 * docs/html/configopts.html: Fix thinko.
2096 * docs/html/27_io/howto.html: Fix thinko and HTML markup.
2097 * include/bits/stl_iterator.h: Fix typo.
2099 2001-07-09 Phil Edwards <pme@sources.redhat.com>
2101 * docs/html/explanations.html: New file.
2102 * docs/html/configopts.html: Link to it to provide more notes
2103 on cstdio. Minor markup and spacing fixes.
2104 * docs/html/27_io/howto.html: Talk about sync_with_stdio.
2106 2001-07-09 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
2108 * include/bits/valarray_meta.h (_Expr::operator+): Use qualified id
2109 for _Expr template template argument.
2110 (_Expr::operator-): Likewise.
2111 (_Expr::operator~): Likewise.
2112 (_Expr::operator!): Likewise.
2113 (_DEFINE_EXPR_UNARY_OPERATOR): Likewise.
2115 2001-07-06 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2117 * libmath/Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.c
2118 * libmath/Makefile.in: Regenerate.
2119 * libmath/expf.c: Remove.
2120 * libmath/atan2f.c: Likewise.
2122 2001-07-06 Daniel Jacobowitz <drow@mvista.com>
2124 * configure.in: Remove NATIVE, NULL_TARGET.
2125 Set CANADIAN only for Canadian crosses. Set xcompiling
2126 for both Canadian crosses and host-x-host crosses.
2127 * configure: Regenerated.
2129 2001-07-06 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2131 * include/bits/stl_vector.h (vector::_M_initialize_aux): Fix typo.
2133 2001-07-05 Jason Merrill <jason_merrill@redhat.com>
2135 * testsuite_flags.in (--build-includes): backward, not backwards.
2137 2001-07-04 Jeffrey Oldham <oldham@codesourcery.com>
2139 * include/ext/ropeimpl.h (_Rope_RopeRep::_M_free_c_string):
2140 Replace destroy by _Destroy.
2141 (_Rope_RopeRep::_S_free_string): Likewise.
2142 (rope::c_str()): Likewise.
2143 * include/ext/slist (_Slist_base::_M_erase_after>): Likewise.
2144 (_Slist_base::_M_erase_after): Likewise.
2145 (slist::_M_create_node): Replace construct by _Construct.
2146 (slist::pop_front): Replace destroy by _Destroy.
2147 * include/ext/stl_hashtable.h (hashtable::_M_new_node): Replace
2148 construct by _Construct.
2149 (hashtable::_M_delete_node): Replace destroy by _Destroy.
2150 * include/ext/stl_rope.h (rope::rope): Replace construct by
2152 (rope::copy): Replace destroy by _Destroy.
2154 2001-07-03 Benjamin Kosnik <bkoz@redhat.com>
2156 * include/bits/localefwd.h: Format.
2157 * include/bits/locale_facts.tcc (locale::combine): Adjust.
2158 * src/locale.cc (locale::locale::(_Impl)): Don't call
2160 (locale::facet::_M_remove_reference): Simplify.
2161 * src/globals.cc (locale_impl_c): New. Format.
2163 * src/ios.cc (ios_base::Init::Init): Increment _S_ios_base_init last.
2165 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
2167 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
2168 expansion (thanks to Alexandre Oliva).
2169 * aclocal.m4: Regenerate.
2170 * configure: Regenerate.
2172 2001-07-02 Benjamin Kosnik <bkoz@redhat.com>
2174 * src/locale.cc (locale::locale(const char*)): Make sure global
2175 locales are initialized.
2176 * include/bits/locale_facets.tcc (locale::combine): Refcout should
2177 be zero, not one as it's return-by-value.
2178 * testsuite/27_io/ios_base_callbacks.cc (test01): Don't check for
2180 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Instead, check
2183 * libsupc++/eh_alloc.cc: Use climits, not limits.h.
2185 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
2188 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
2189 * aclocal.m4: Regenerate.
2190 * configure: Regenerate.
2192 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
2195 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to
2196 staged/installed area to support -I-. Document.
2197 * aclocal.m4: Regenerate.
2198 * configure: Regenerate.
2200 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
2203 * src/ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to
2204 __out_bufsize. Add __in_bufsize, document it and use it.
2206 2001-07-01 Stephen M. Webb <stephen@bregmasoft.com>
2208 * include/bits/stl_construct.h (construct): Remove.
2210 (__destroy): Replaced by use of iterator_traits.
2211 * include/bits/stl_deque.h: replaced HP iterator functions with
2213 (construct): changed to _Construct.
2214 (destroy): changed to _Destroy.
2215 * include/bits/stl_tempbuf.h: Same.
2216 * include/bits/stl_tree.h: Same.
2217 * include/bits/stl_vector.h: Same.
2218 * include/backward/iterator.h (construct): moved definition to here.
2221 2001-06-29 Benjamin Kosnik <bkoz@redhat.com>
2223 * include/bits/locale_facets.tcc (locale::combine): Clone _Impl.
2224 before replacing facet.
2225 * include/bits/localefwd.h (locale::_Impl::_M_remove_reference):
2227 * src/localename.cc (locale::_Impl): Correct ctor initialization
2228 lists. Initialize ref count with one. Simplify.
2229 * src/locale.cc: Add comment.
2230 * testsuite/22_locale/numpunct.cc (test01): Add derivation test.
2231 * testsuite/22_locale/numpunct_char_members.cc (test01): Add tests.
2232 * testsuite/22_locale/members.cc (test02): Fix.
2234 2001-06-27 Phil Edwards <pme@sources.redhat.com>
2236 * include/backward/algo.h: Add "GPL plus runtime exception" comment
2237 block, this time for real.
2238 * include/backward/algobase.h: Likewise.
2239 * include/backward/alloc.h: Likewise.
2240 * include/backward/bvector.h: Likewise.
2241 * include/backward/defalloc.h: Likewise.
2242 * include/backward/deque.h: Likewise.
2243 * include/backward/function.h: Likewise.
2244 * include/backward/hash_map.h: Likewise.
2245 * include/backward/hash_set.h: Likewise.
2246 * include/backward/hashtable.h: Likewise.
2247 * include/backward/heap.h: Likewise.
2248 * include/backward/iterator.h: Likewise.
2249 * include/backward/list.h: Likewise.
2250 * include/backward/map.h: Likewise.
2251 * include/backward/multimap.h: Likewise.
2252 * include/backward/multiset.h: Likewise.
2253 * include/backward/pair.h: Likewise.
2254 * include/backward/rope.h: Likewise.
2255 * include/backward/set.h: Likewise.
2256 * include/backward/slist.h: Likewise.
2257 * include/backward/stack.h: Likewise.
2258 * include/backward/strstream: Likewise.
2259 * include/backward/tempbuf.h: Likewise.
2260 * include/backward/tree.h: Likewise.
2261 * include/backward/vector.h: Likewise.
2262 * include/bits/pthread_allocimpl.h: Likewise.
2263 * include/bits/std_algorithm.h: Likewise.
2264 * include/bits/std_bitset.h: Likewise.
2265 * include/bits/std_deque.h: Likewise.
2266 * include/bits/std_functional.h: Likewise.
2267 * include/bits/std_iterator.h: Likewise.
2268 * include/bits/std_list.h: Likewise.
2269 * include/bits/std_map.h: Likewise.
2270 * include/bits/std_memory.h: Likewise.
2271 * include/bits/std_numeric.h: Likewise.
2272 * include/bits/std_queue.h: Likewise.
2273 * include/bits/std_set.h: Likewise.
2274 * include/bits/std_stack.h: Likewise.
2275 * include/bits/std_utility.h: Likewise.
2276 * include/bits/std_vector.h: Likewise.
2277 * include/bits/stl_algo.h: Likewise.
2278 * include/bits/stl_algobase.h: Likewise.
2279 * include/bits/stl_alloc.h: Likewise.
2280 * include/bits/stl_bvector.h: Likewise.
2281 * include/bits/stl_construct.h: Likewise.
2282 * include/bits/stl_deque.h: Likewise.
2283 * include/bits/stl_function.h: Likewise.
2284 * include/bits/stl_heap.h: Likewise.
2285 * include/bits/stl_iterator.h: Likewise.
2286 * include/bits/stl_iterator_base_funcs.h: Likewise.
2287 * include/bits/stl_iterator_base_types.h: Likewise.
2288 * include/bits/stl_list.h: Likewise.
2289 * include/bits/stl_map.h: Likewise.
2290 * include/bits/stl_multimap.h: Likewise.
2291 * include/bits/stl_multiset.h: Likewise.
2292 * include/bits/stl_numeric.h: Likewise.
2293 * include/bits/stl_pair.h: Likewise.
2294 * include/bits/stl_pthread_alloc.h: Likewise.
2295 * include/bits/stl_queue.h: Likewise.
2296 * include/bits/stl_raw_storage_iter.h: Likewise.
2297 * include/bits/stl_relops.h: Likewise.
2298 * include/bits/stl_set.h: Likewise.
2299 * include/bits/stl_stack.h: Likewise.
2300 * include/bits/stl_tempbuf.h: Likewise.
2301 * include/bits/stl_threads.h: Likewise.
2302 * include/bits/stl_tree.h: Likewise.
2303 * include/bits/stl_uninitialized.h: Likewise.
2304 * include/bits/stl_vector.h: Likewise.
2305 * include/bits/type_traits.h: Likewise.
2306 * include/ext/hash_map: Likewise.
2307 * include/ext/hash_set: Likewise.
2308 * include/ext/rope: Likewise.
2309 * include/ext/ropeimpl.h: Likewise.
2310 * include/ext/slist: Likewise.
2311 * include/ext/stl_hash_fun.h: Likewise.
2312 * include/ext/stl_hashtable.h: Likewise.
2313 * include/ext/stl_rope.h: Likewise.
2314 * src/bitset.cc: Likewise.
2315 * src/strstream.cc: Likewise.
2317 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2318 <vakatov@ncbi.nlm.nih.gov>
2321 * include/bits/streambuf.tcc (__copy_streambufs): Don't set eofbit.
2322 * testsuite/27_io/ostream_inserter_other.cc (test04): Add test.
2323 * testsuite/27_io/istream_extractor_other.cc: Fix.
2325 2001-06-26 Zoltan Hidvegi <hzoli@austin.ibm.com>
2327 * acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
2328 * aclocal.m4: Regenerate.
2329 * configure: Regenerate.
2331 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2333 * include/bits/stream_iterator.h (istream_iterator): Add copy ctor.
2334 (ostream_iterator): Same.
2335 * include/bits/stl_iterator.h (front_insert_iterator::operator=):
2336 Change argument to const_reference.
2337 (back_insert_iterator): Same.
2339 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2341 * include/bits/sbuf_iter.h: Change to..
2342 * include/bits/streambuf_iterator.h: This.
2343 * include/bits/stl_iterator.h: Take out of here...
2344 * include/bits/stream_iterator.h: Add.
2345 * src/Makefile.am (base_headers): Add streambuf_iterator,
2347 * src/Makefile.in: Regenerate.
2348 * include/bits/std_string.h: Adjust includes.
2349 * include/bits/basic_ios.h: Same.
2350 * include/bits/locale_facets.tcc: Same.
2351 * include/bits/std_iosfwd.h: Same.
2353 * include/bits/std_iterator.h: Add istream, ostream includes.
2354 * include/bits/stl_iterator.h: Tweak.
2355 * testsuite/24_iterators/ostream_iterator.cc: Add test.
2356 * testsuite/24_iterators/istream_iterator.cc: Same.
2357 * testsuite/23_containers/multiset.cc: Add iterator include.
2359 2001-06-26 Phil Edwards <pme@sources.redhat.com>
2361 * acinclude.m4: Clean extraneous tabs, rewrap 'test' lines.
2362 * aclocal.m4: Regenerate.
2363 * configure: Regenerate.
2365 2001-06-26 Felix Natter <f.natter@ndh.net>
2367 * docs/html/17_intro/porting-howto.html: Fixed some errors.
2369 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2371 * include/bits/stl_iterator.h (istream_iterator::operator->): Fix
2373 (istream_iterator::operator*): Same.
2375 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2376 Alexandre Petit-Bianco <apbianco@redhat.com>
2378 * testsuite/21_strings/element_access.cc (test01): Chill Out Cafe
2379 is on 41st, not 14th.
2381 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2383 * include/bits/std_iterator.h: Include sbuf_iter.h via std_ios.h.
2385 * include/bits/stl_iterator.h (istream_iterator): Inherit from
2387 (ostream_iterator): Same.
2388 * testsuite/24_iterators/istream_iterator.cc: New file.
2389 * testsuite/24_iterators/ostream_iterator.cc: New file.
2391 * include/bits/sbuf_iter.h: Remove self typedef.
2392 * testsuite/24_iterators/ostreambuf_iterator.cc: Add test.
2393 * testsuite/24_iterators/istreambuf_iterator.cc: Add test.
2395 * include/bits/stl_iterator.h (reverse_iterator): Remove
2396 extraneous typedefs. Add typename.
2397 (__normal_iterator): Remove typedefs referring to self. Add typename.
2398 (reverse_bidiretional_iterator): Remove, not longer required.
2400 2001-06-26 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2402 * include/bits/stl_iterator.h (__normal_iterator<>): Qualify
2403 dependent names with `typename'. Bring in various required
2404 iterator_traits members. Can't imagine why that used to work.
2406 2001-06-25 Phil Edwards <pme@sources.redhat.com>
2407 Kurt Garloff <garloff@suse.de>
2410 * src/cmath.cc: New [version of an old] file; instantiate
2411 __cmath_power to start with.
2412 * src/Makefile.am (sources): Add cmath.cc (and alphabetize).
2413 * Makefile.in: Regenerate.
2414 * libio/Makefile.in: Regenerate.
2415 * libmath/Makefile.in: Regenerate.
2416 * libsupc++/Makefile.in: Regenerate.
2417 * src/Makefile.in: Regenerate.
2418 * testsuite/Makefile.in: Regenerate.
2420 2001-06-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2422 * libmath/stubs.c: Fix thinko.
2424 2001-06-24 David Edelsohn <dje@watson.ibm.com>
2426 * libmath/stubs.c (sqrtf): Define.
2427 (tanf): Correct typo.
2429 2001-06-22 Benjamin Kosnik <bkoz@redhat.com>
2431 * include/bits/stl_iterator.h (reverse_iterator): Inherit from
2433 (back_insert_iterator): Same.
2434 (front_insert_iterator): Same.
2435 (insert_iterator): Same.
2437 * testsuite/20_util/raw_storage_iterator.cc: Modify.
2438 * testsuite/24_iterators/reverse_iterator.cc: New file.
2439 * testsuite/24_iterators/back_insert_iterator.cc: New file.
2440 * testsuite/24_iterators/front_insert_iterator.cc: New file.
2441 * testsuite/24_iterators/insert_iterator.cc: New file.
2443 2001-06-22 Phil Edwards <pme@sources.redhat.com>
2445 * include/*: Revert comment/license change from yesterday for all
2446 except libsupc++/unwind-cxx.h.
2447 * src/bitset.cc: Likewise.
2448 * src/strstream.cc: Likewise.
2450 2001-06-22 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2452 * libmath/stubs.c: New file.
2456 * libmath/Makefile.am (libmath_la_SOURCES): Add.
2457 * libmath/Makefile.in. Regenerate.
2459 2001-06-21 Phil Edwards <pme@sources.redhat.com>
2461 * include/backward/algo.h: Add "GPL plus runtime exception" comment.
2462 * include/backward/algobase.h: Likewise.
2463 * include/backward/alloc.h: Likewise.
2464 * include/backward/bvector.h: Likewise.
2465 * include/backward/defalloc.h: Likewise.
2466 * include/backward/deque.h: Likewise.
2467 * include/backward/function.h: Likewise.
2468 * include/backward/hash_map.h: Likewise.
2469 * include/backward/hash_set.h: Likewise.
2470 * include/backward/hashtable.h: Likewise.
2471 * include/backward/heap.h: Likewise.
2472 * include/backward/iterator.h: Likewise.
2473 * include/backward/list.h: Likewise.
2474 * include/backward/map.h: Likewise.
2475 * include/backward/multimap.h: Likewise.
2476 * include/backward/multiset.h: Likewise.
2477 * include/backward/pair.h: Likewise.
2478 * include/backward/rope.h: Likewise.
2479 * include/backward/set.h: Likewise.
2480 * include/backward/slist.h: Likewise.
2481 * include/backward/stack.h: Likewise.
2482 * include/backward/strstream: Likewise.
2483 * include/backward/tempbuf.h: Likewise.
2484 * include/backward/tree.h: Likewise.
2485 * include/backward/vector.h: Likewise.
2486 * include/bits/pthread_allocimpl.h: Likewise.
2487 * include/bits/std_algorithm.h: Likewise.
2488 * include/bits/std_bitset.h: Likewise.
2489 * include/bits/std_deque.h: Likewise.
2490 * include/bits/std_functional.h: Likewise.
2491 * include/bits/std_iterator.h: Likewise.
2492 * include/bits/std_list.h: Likewise.
2493 * include/bits/std_map.h: Likewise.
2494 * include/bits/std_memory.h: Likewise.
2495 * include/bits/std_numeric.h: Likewise.
2496 * include/bits/std_queue.h: Likewise.
2497 * include/bits/std_set.h: Likewise.
2498 * include/bits/std_stack.h: Likewise.
2499 * include/bits/std_utility.h: Likewise.
2500 * include/bits/std_vector.h: Likewise.
2501 * include/bits/stl_algo.h: Likewise.
2502 * include/bits/stl_algobase.h: Likewise.
2503 * include/bits/stl_alloc.h: Likewise.
2504 * include/bits/stl_bvector.h: Likewise.
2505 * include/bits/stl_construct.h: Likewise.
2506 * include/bits/stl_deque.h: Likewise.
2507 * include/bits/stl_function.h: Likewise.
2508 * include/bits/stl_heap.h: Likewise.
2509 * include/bits/stl_iterator.h: Likewise.
2510 * include/bits/stl_iterator_base_funcs.h: Likewise.
2511 * include/bits/stl_iterator_base_types.h: Likewise.
2512 * include/bits/stl_list.h: Likewise.
2513 * include/bits/stl_map.h: Likewise.
2514 * include/bits/stl_multimap.h: Likewise.
2515 * include/bits/stl_multiset.h: Likewise.
2516 * include/bits/stl_numeric.h: Likewise.
2517 * include/bits/stl_pair.h: Likewise.
2518 * include/bits/stl_pthread_alloc.h: Likewise.
2519 * include/bits/stl_queue.h: Likewise.
2520 * include/bits/stl_raw_storage_iter.h: Likewise.
2521 * include/bits/stl_relops.h: Likewise.
2522 * include/bits/stl_set.h: Likewise.
2523 * include/bits/stl_stack.h: Likewise.
2524 * include/bits/stl_tempbuf.h: Likewise.
2525 * include/bits/stl_threads.h: Likewise.
2526 * include/bits/stl_tree.h: Likewise.
2527 * include/bits/stl_uninitialized.h: Likewise.
2528 * include/bits/stl_vector.h: Likewise.
2529 * include/bits/type_traits.h: Likewise.
2530 * include/ext/hash_map: Likewise.
2531 * include/ext/hash_set: Likewise.
2532 * include/ext/rope: Likewise.
2533 * include/ext/ropeimpl.h: Likewise.
2534 * include/ext/slist: Likewise.
2535 * include/ext/stl_hash_fun.h: Likewise.
2536 * include/ext/stl_hashtable.h: Likewise.
2537 * include/ext/stl_rope.h: Likewise.
2538 * libsupc++/unwind-cxx.h: Likewise.
2539 * src/bitset.cc: Likewise.
2540 * src/strstream.cc: Likewise.
2542 2001-06-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2544 * include/bits/indirect_array.h (indirect_array<>::operator=):
2545 Make copy and assignment operator public. Implement. Format.
2547 * include/bits/valarray_array.h (__valarray_copy): Add overloads
2548 for copy between index arrays. Format.
2550 2001-06-19 Benjamin Kosnik <bkoz@redhat.com>
2552 * mknumeric_limits: Add static definitions, format.
2553 * testsuite/18_support/numeric_limits.cc (test02): Add test.
2555 * include/c_std/bits/std_cwchar.h: Include ctime.
2556 * testsuite/17_intro/header_cwchar.cc : Check.
2558 * include/c_std/bits/std_cwctype.h: Inject wctype.
2559 * testsuite/17_intro/header_cwctype.cc: Update.
2561 2001-06-18 Benjamin Kosnik <bkoz@redhat.com>
2563 * include/bits/stl_raw_storage_iter.h: Format. Correct derivation.
2564 * testsuite/20_util/raw_storage_iterator.cc: Same.
2566 * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to
2568 (__mem_interface): New typedef for switching between malloc and new.
2569 * testsuite/20_util/allocator_members.cc: New file.
2571 * testsuite/20_util/comparisons.cc: New file.
2572 * testsuite/20_util/pairs.cc: New file.
2574 2001-06-15 Phil Edwards <pme@sources.redhat.com>
2576 * docs/html/documentation.html: Point to new doxygen'ed collection.
2578 2001-06-14 Nathan Sidwell <nathan@codesourcery.com>
2580 * configure.in (auxdir): Replace by ...
2581 (toprel): ... new variable.
2582 (toplevel_srcdir): Construct from $toprel.
2583 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
2584 rather than .. to locate gcc source directory.
2585 (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
2586 * aclocal.m4, configure: Rebuilt.
2588 2001-06-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
2590 (Approved by Mark and Benjamin. Applied by Loren.)
2592 * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
2593 _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
2594 and _GLIBCPP_mutex_address.
2595 * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
2596 once-only runtime initialization of _M_lock mutex when
2597 __GTHREAD_MUTEX_INIT_FUNCTION is defined.
2598 (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
2599 for __GTHREAD_MUTEX_INIT_FUNCTION case.
2601 2001-06-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2603 * testsuite/26_numerics/slice_array_assignment.cc (main): New test.
2605 * include/bits/slice_array.h (slice_array<>::operator=): Make
2606 public and implement.
2607 (slice_array<>::slice_array): Make copy-constructor public.
2609 * include/bits/valarray_array.h (__valarray_copy): Add another
2610 overload to copy between strided arrays.
2612 2001-06-13 Benjamin Kosnik <bkoz@redhat.com>
2614 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
2615 * aclocal.m4: Regenerate.
2616 * configure: Regenerate.
2617 * include/bits/c++config (__GLIBCPP__): Update date.
2619 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
2621 * include/bits/fpos.h (fpos::operator-): Don't return reference,
2622 return original, non-modified version.
2623 (fpos::operator+): Same.
2624 * testsuite/27_io/fpos.cc: Add test.
2626 2001-06-12 Loren J. Rittle <ljrittle@acm.org>
2629 * porting.texi: Add documentation about libstdc++-v3-specific
2630 macros that are currently included in os_defines.h files.
2632 * config/basic_file_stdio.h (sys_getc): New method.
2633 (sys_ungetc): New method.
2634 * include/bits/basic_file.h: (sys_getc): New method signature.
2635 (sys_ungetc): New method signature.
2637 * include/bits/fstream.tcc (underflow): Add conditional code
2638 paths which avoid using short seeks on streams (especially
2639 useful when the stream might be interactive or a pipe). At
2640 the moment, this alternate path only avoids seeking when the
2641 ``buffer size'' of underflow() is 1 since the C standard only
2642 guarantees buffer space for one ungetc (this technique could
2643 be extended since *-*-solaris* supports buffering for 4 calls
2644 to ungetc and *-*-*bsd* supports buffering limited only by
2645 memory resources). Also, _GLIBCPP_AVOID_FSEEK must be defined
2646 in a port's os_defines.h file for this alternate path to even
2647 be considered. As a bonus, the idiom of using getc/ungetc
2648 requires no system calls whereas fseek maps to one or two
2649 system call(s) on many platforms.
2651 * config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
2653 * config/os/solaris/solaris2.5/bits/os_defines.h
2654 (_GLIBCPP_AVOID_FSEEK): Likewise.
2655 * config/os/solaris/solaris2.6/bits/os_defines.h
2656 (_GLIBCPP_AVOID_FSEEK): Likewise.
2657 * config/os/solaris/solaris2.7/bits/os_defines.h
2658 (_GLIBCPP_AVOID_FSEEK): Likewise.
2660 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
2662 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change to
2663 AC_TRY_COMPILE, so that the built compiler is checked, and
2664 bootstraps or cross compiles with an older compile still work.
2665 * aclocal.m4: Regenerate.
2666 * configure: Regenerate.
2668 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
2671 * include/bits/std_sstream.h: Add allocator_type, as per DR 251.
2674 * include/bits/istream.tcc (getline, get): Fix as per DR 243.
2677 * include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
2680 * include/bits/limits_generic.h: Fix as per DR 184.
2682 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
2685 * include/bits/basic_string.h (string::compare): Adjust signatures
2687 * include/bits/basic_string.tcc: And here.
2690 * config/c_io_stdio.h: Remove whitespace.
2691 * testsuite/27_io/istream_seeks.cc (test03): Add regression.
2692 (test02): Add regression.
2693 * testsuite/27_io/istream_seeks-3.tst: New file.
2695 2001-06-11 Phil Edwards <pme@sources.redhat.com>
2697 * README: Update to reflect reality.
2698 * acinclude.m4: Update descriptions, fix typos. Comment changes only.
2699 * configure.in: Make certain target_alias is set and subst'd for 2.50.
2700 * aclocal.m4: Regenerate.
2701 * configure: Regenerate (with 2.13).
2703 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
2706 * include/bits/ostream.tcc (ostream::seekp): Add error checking as
2708 * include/bits/istream.tcc (istream::seekg): Same.
2709 * testsuite/27_io/istream_seeks.cc: Fix.
2712 * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
2714 * include/bits/std_queue.h: Add c++config.h.
2715 * testsuite/20_util/binders.cc: New test.
2717 2001-06-11 Matthias Klose <doko@debian.org>
2718 Phil Edwards <pme@sources.redhat.com>
2720 * docs/doxygen/run_doxygen (find_doxygen): Tweak version check.
2721 (main script): Echo more information.
2723 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
2725 * include/c_std/bits/std_cwchar.h: Alphabetize.
2726 * include/bits/char_traits.h: Tweak.
2727 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
2728 everything used by std_cwchar.h.
2729 * aclocal.m4: Regenerate.
2730 * configure.in: Regenerate.
2731 * config.h.in: Regenerate.
2733 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
2735 * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
2736 Add checking for strtof, _Exit in stdlib.h
2737 * aclocal.m4: Regenerate.
2738 * configure.in: Regenerate.
2739 * include/c_std/bits/std_cstdio.h: Alphabetize lists.
2740 (snprintf): Put C99 functions into __gnu_cxx namespace.
2745 * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
2746 for C99 functions within _GLIBCPP_USE_C99 guard.
2750 * include/bits/locale_facets.tcc: Check if C99 is enabled.
2751 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
2753 * include/c_std/bits/cmath.tcc: Formatting tweak.
2754 * include/c_std/bits/std_cmath.h: Same.
2756 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
2758 * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
2760 2001-06-09 Alexandre Oliva <aoliva@redhat.com>
2761 Stephen L Moshier <moshier@mediaone.net>
2763 * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
2764 nothing, as in autoconf 2.50.
2765 * configure: Rebuilt.
2767 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
2769 * include/c_std/bits/std_cwchar.h: Remove size_t injection,
2770 include std_cstddef.
2771 * include/c_std/bits/std_ctime.h: Same.
2772 * include/c_std/bits/std_cstring.h: Same.
2773 * include/c_std/bits/std_cstdlib.h: Same.
2775 * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
2776 * include/c_std/bits/std_cctype.h: Remove isblank.
2778 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
2780 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
2782 * aclocal.m4: Regenerate.
2783 * configure: Regenerate.
2784 * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
2785 injection, guard fgetwc, fgetws.
2786 * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
2787 * include/c_std/bits/std_clocale.h: And here.
2788 * include/c_std/bits/std_cctype.h: And here.
2789 * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
2791 * config/basic_file_stdio.h: Don't include unistd.h.
2792 * config/c_io_stdio.h: Don't use compatibility headers.
2793 * libsupc++/eh_terminate.cc: Qualify abort.
2794 (__terminate): And here.
2795 * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
2797 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
2799 * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
2801 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
2806 * include/std/*: Add copyright notice.
2807 * include/c_std/bits/*: Use using statements instead of extern "C".
2808 * include/c_std/bits/std_cmath.h: Don't overload double versions
2809 of math functions with __buitin versions, use global version to
2810 prevent ambiguities. Remove define hacks.
2811 * include/c_std/bits/std_cwchar.h: Using declarations for "C"
2812 functions that have changed signatures and std::
2813 declarations. Remove define hacks.
2814 * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
2815 __builtins in std::. Remove define hacks.
2816 * testsuite/17_intro/headers_c.cc: Add tests.
2817 * testsuite/17_intro/headers_c++.cc: Add test.
2819 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
2820 John David Anglin <dave@hiauly1.hia.nrc.ca>
2823 * libsupc++/eh_alloc.cc: Ensure that required macros are
2824 defined before including gthr.h. Ensure that we get the
2825 version of gthr.h for which we know how to provide a
2827 * libsupc++/eh_globals.cc: Likewise. And, bring the threading
2828 code path into line with the current EH model. Use std, where
2831 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
2832 John David Anglin <dave@hiauly1.hia.nrc.ca>
2834 * config/threads-no.h: Remove file.
2835 * config/threads-posix.h: Remove file.
2837 * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
2838 (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
2839 (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
2840 * config.h.in: Regenerate.
2842 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
2843 setup and use gthr*.h files. In particular, make gthr.h files
2844 namespace-clean in the staging area (they don't have to be for
2846 * aclocal.m4: Regenerate.
2847 * configure: Regenerate.
2849 * src/Makefile.am (build_headers): Remove bits/c++threads.h
2850 and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
2851 * src/Makefile.in: Regenerate.
2853 * include/bits/c++config: Cleanup threading configuration macros.
2854 In particular, define __STL_GTHREADS macro which controls...
2855 * include/bits/stl_threads.h: ...a brand new gthr.h-based
2858 * config/c_io_stdio.h: Include staged gthr.h instead of local
2859 thread configuration file. Always use __gthread_mutex_t
2860 instead of __mutext_type (or int).
2861 * include/bits/std_fstream.h: Likewise.
2863 * docs/html/17_intro/howto.html: Remove placeholder comment in
2864 case this configuration patch didn't make it. Add advice that
2865 section only applies if configured with --enable-threads.
2866 * docs/html/23_containers/howto.html: Reword to make clear
2867 that _PTHREADS is no longer required for any port to be
2868 correctly using STL with threads. Add advice that section
2869 only applies if configured with --enable-threads.
2871 2001-06-06 Benjamin Kosnik <bkoz@redhat.com>
2873 * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
2875 2001-06-05 Benjamin Kosnik <bkoz@redhat.com>
2878 * include/bits/basic_ios.tcc: Formatting tweaks.
2879 * include/bits/ios_base.h: Formatting tweaks.
2880 * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
2881 (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
2882 * src/globals.cc: Allocate filebufs for standard streams here.
2883 (buf_cout, buf_cin, buf_cerr): Like so.
2884 (buf_wcout, buf_wcin, buf_wcerr): And so.
2885 * testsuite/27_io/ios_init.cc: Add.
2887 2001-06-04 Brendan Kehoe <brendan@zen.org>
2888 Benjamin Kosnik <bkoz@redhat.com>
2891 * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
2892 for generic ctype virtuals.
2893 * src/locale.cc: Minor tweaks, naming consistency.
2894 * testsuite/22_locale/ctype.cc: Add test.
2896 2001-06-04 Kenny Simpson <theonetruekenny@yahoo.com>
2897 Phil Edwards <pme@sources.redhat.com>
2899 PR libstdc++/3035 and PR libstdc++/3036
2900 * include/bits/stl_pair.h: Fix pair ctor and make_pair according
2901 to LWG DR 181 and 265.
2903 2001-06-04 Phil Edwards <pme@sources.redhat.com>
2906 * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
2907 equal_range): Add const overloads as per LWG DR 214.
2908 * include/bits/stl_set.h: Likewise.
2910 2001-06-04 Brendan Kehoe <brendan@zen.org>
2911 Phil Edwards <pme@sources.redhat.com>
2914 * include/bits/std_bitset.h (bitset::test): Fix __pos >= _Nb
2915 comparison; all positions must be < _Nb.
2916 * testsuite/23_containers/bitset_members.cc: New file.
2918 2001-06-04 Brendan Kehoe <brendan@zen.org>
2921 * include/bits/stl_queue.h (classes queue, priority_queue): Fix
2922 ctors to match the standard.
2924 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
2926 * include/bits/char_traits.h (move): Reverse qualification of
2928 (copy): Reverse qualification of memcpy with std::.
2930 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
2932 * include/bits/char_traits.h (move): Qualify memmove with std::.
2933 (copy): Qualify memcpy with std::.
2934 * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
2937 * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
2939 2001-06-04 Hans-Peter Nilsson <hp@axis.com>
2941 * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
2942 uninstall-glibcppinstallHEADERS): Have explicit rules catering to
2943 SUN make VPATH peculiarities.
2944 * libsupc++/Makefile.in: Regenerate.
2946 2001-06-01 Hans-Peter Nilsson <hp@axis.com>
2948 * src/Makefile.am (VPATH): Delimit with ":", not space.
2949 * src/Makefile.in: Regenerate.
2951 * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
2953 * configure: Regenerate.
2955 2001-05-31 scott snyder <snyder@fnal.gov>
2958 * include/bits/istream.tcc: Include std_ostream.h.
2960 2001-05-31 Benjamin Kosnik <bkoz@redhat.com>
2963 * src/bitset.cc: Qualify size_t with std::.
2965 2001-05-30 Benjamin Kosnik <bkoz@redhat.com>
2967 * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
2968 (_GLIBCPP_BUGGY_COMPLEX): Remove.
2969 * config.h.in: Regenerate.
2970 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
2971 * aclocal.m4: Regenerate.
2972 * configure.in: Don't call it.
2973 * configure: Regenerate.
2976 * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
2977 * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
2981 * include/bits/std_complex.h: Include sstream. Put definitions for
2982 complex inserters and extractors here, and remove them from...
2983 * src/complex_io.cc: ...here.
2984 * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
2986 (basic_ios::__numget_type): Same.
2987 * include/bits/std_istream.h: Same.
2988 * include/bits/std_ostream.h: Same.
2989 * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
2990 class iterator template arguments.
2991 * src/locale-inst.cc: Add explicit has_facet instantiations.
2992 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
2993 (_M_get_fnumput): Remove.
2994 (_M_get_fnumget): Remove.
2995 (basic_ios::_M_check_facet): New function.
2996 (basic_ios::_M_cache_facets): New function.
2997 * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
2998 (basic_ios::imbue): Call _M_cache_facets.
2999 (basic_ios::init): Same.
3000 * include/bits/istream.tcc: Format, use _M_check_facet.
3001 * include/bits/ostream.tcc: Same.
3002 * include/bits/locale_facets.tcc (__output_float): Change
3003 signature, add _Traits.
3004 * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
3007 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
3009 * include/bits/c++config (__USE_MALLOC): Do not define it.
3010 Document why not and give pointers to more information.
3012 * docs/html/23_containers/howto.html: Update documentation
3013 to reflect recent understanding of problem.
3014 * docs/html/17_intro/howto.html: Likewise.
3016 2001-05-30 Phil Edwards <pme@sources.redhat.com>
3018 * docs/doxygen/user.cfg.in: Minor addition.
3019 * docs/html/documentation.html: Reorganize. Put most-looked-at
3021 * docs/html/install.html: Update for 3.0. HTML fixups.
3022 * docs/html/17_intro/howto.html: Likewise.
3023 * docs/html/18_support/howto.html: Likewise.
3024 * docs/html/19_diagnostics/howto.html: Likewise.
3025 * docs/html/20_util/howto.html: Likewise.
3026 * docs/html/23_containers/howto.html: Likewise.
3027 * docs/html/24_iterators/howto.html: Likewise. More notes.
3028 * docs/html/25_algorithms/howto.html: Likewise.
3029 * docs/html/26_numerics/howto.html: Likewise. More notes.
3030 * docs/html/27_io/howto.html: Likewise.
3031 * docs/html/ext/howto.html: Likewise.
3032 * docs/html/faq/index.html: Likewise.
3033 * docs/html/faq/index.txt: Regenerate.
3034 * docs/html/27_io/iostreams_hierarchy.pdf: Remove in favor of
3035 Doxygen-created documentation.
3037 2001-05-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3039 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
3040 get_multilibs to find gcc.
3042 2001-05-30 Phil Edwards <pme@sources.redhat.com>
3044 * acinclude.m4 (GLIBCPP_ENABLE_C99): Reorder output messages.
3045 * aclocal.m4: Regenerate.
3046 * configure: Regenerate.
3048 2001-05-29 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3050 * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
3051 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
3053 2001-05-27 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3055 * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
3056 * include/c_std/bits/std_cstdlib.h: Same.
3057 * include/c_std/bits/std_cwchar.h: Same.
3059 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
3061 * docs/html/17_intro/howto.html: Update link.
3062 * docs/html/23_containers/howto.html: Likewise. Add new link.
3064 2001-05-26 Gabriel Dos Reis <gdr@codesourcery.com>
3066 * include/c_std/bits/std_cmath.h (sqrt): #undef.
3068 2001-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3070 * mknumeric_limits: Stop if gen-num-limits dies.
3072 2001-05-25 Benjamin Kosnik <bkoz@redhat.com>
3075 * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
3076 * aclocal.m4: Regenerate.
3079 2001-05-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3080 Phil Edwards <pme@sources.redhat.com>
3081 Alexandre Oliva <aoliva@redhat.com>
3083 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
3084 in an amd-safe manner. Revert glibcpp_prefixdir.
3086 2001-05-25 Gabriel Dos Reis <gdr@codesourcery.com>
3088 * include/c_std/bits/std_cmath.h: Tweak. #define away abs, cos,
3089 fabs, sin, sqrt. They are now implemented in terms of __builtin_
3092 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
3095 * testsuite/21_strings/inserters_extractors.cc (test09): New test.
3096 * include/bits/ostream.tcc: Format to match istream.tcc.
3097 (operator<<(basic_ostream __out, const basic_string __s)): Fix.
3099 2001-05-24 Phil Edwards <pme@sources.redhat.com>
3101 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Qualify
3103 (__cxa_free_exception): Likewise with free.
3105 2001-05-24 Mark Mitchell <mark@codesourcery.com>
3107 * include/c_std/bin/std_cstring.h: #define away all global
3108 functions we will redeclare in namespace `std'.
3109 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
3110 std::memset, instead of memset.
3111 * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
3113 * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
3116 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
3119 * include/bits/basic_ios.tcc: Small tweak.
3120 * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
3121 ctors and dtors, and rdbuf settings.
3124 * include/bits/std_sstream.h: Same, but for stringstream classes.
3125 * testsuite/27_io/ostringstream_members.cc: New.
3126 * testsuite/27_io/stringstream_members.cc: New.
3127 * testsuite/27_io/fstream_members.cc: New.
3128 * testsuite/27_io/ifstream_members.cc: Add test.
3129 * testsuite/27_io/istringstream_members.cc: Add test.
3130 * testsuite/27_io/ofstream_members.cc: Add test.
3132 2001-05-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3134 * include/bits/c++config(__NO_MATH_INLINES): Move to...
3135 * config/os/gnu-linux/bits/os_defines.h: ...here.
3137 2001-05-24 Gabriel Dos Reis <gdr@codesourcery.com>
3139 * include/bits/c++config (__NO_MATH_INLINES): New macro.
3140 * testsuite/26_numerics/fabs_inline.cc (main): New test.
3142 2001-05-22 Benjamin Kosnik <bkoz@redhat.com>
3145 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
3147 (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
3148 (libstdc++-v3-finish): Remove.
3149 (libstdc++-v3_exit): Remove.
3151 2001-05-22 Phil Edwards <pme@sources.redhat.com>
3153 * docs/html/documentation.html: Point to doxygen output.
3155 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
3157 * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
3159 * include/bits/std_sstream.h (stringbuf::setbuf): Require both
3160 arguments to be non-null.
3161 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
3162 try allocations if allocated size is greater than zero.
3163 (filebuf::_M_filebuf_init): Change to
3164 (filebuf::_M_allocate_file): Which is what it does now.
3165 (filebuf::_M_allocate_bufers): Change to
3166 (filebuf::_M_allocate_internal_buffer): This, and create
3167 (filebuf::_M_allocate_pback_buffer): New.
3168 (filebuf::_M_destroy_internal_buffer): New.
3169 (filebuf::_M_buf_allocated): New data member.
3170 (filebuf::setbuf): Use new logic, allow use of external buffer.
3171 * testsuite/27_io/stringbuf_virtuals.cc: New file.
3172 * testsuite/27_io/filebuf_virtuals.cc: New file.
3174 2001-05-21 Stephen M. Webb <stephen@bregmasoft.com>
3176 * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
3178 (strchr): Same, but to __glibcpp_strchr.
3182 * include/c_std/bits/std_cwchar.h (wcschr): Same.
3188 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
3190 * testsuite/21_strings/c_strings.cc (main): Fix.
3192 2001-05-19 Phil Edwards <pme@sources.redhat.com>
3194 * acinclude.m4: Fix --help spacing, correct comments.
3195 * aclocal.m4: Regenerate.
3196 * configure: Regenerate.
3197 * mkcheck.in: Add usage comments.
3198 * docs/html/documentation.html: Point to doxygen'd tarball.
3200 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
3202 * testsuite/README: Add notes.
3204 * src/Makefile.am (libstdc++.INC): Remove.
3205 * src/Makefile.in: Regenerate.
3207 Phil Edwards <pedwards@disaster.jaj.com>
3208 * mkcheck.in: Add missing '#'.
3210 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
3212 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
3213 appropriately for remote testing and testing installed files without
3216 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
3218 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
3219 amd glibcpp_prefixdir with absolute paths.
3221 * include/bits/c++config (__GLIBCPP__): Bump.
3222 * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
3224 2001-05-18 Gabriel Dos Reis <gdr@codesourcery.com>
3226 * include/bits/std_valarray.h (valarray<>::operator[] const):
3227 Return a const reference.
3228 * testsuite/26_numerics/valarray_const_bracket.cc: New test.
3230 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
3232 * configure.target (ATOMICITYH): Actually use AIX-specific code on
3233 earlier versions of AIX 4.*.
3235 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
3237 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set
3238 output_file based on the name of the testcase.
3240 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
3242 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Build
3243 gluefile and use it if needs_status_wrapper is set.
3245 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
3247 * configure.target (ATOMICITYH): Use cpu/generic code on earlier
3250 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
3252 * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
3253 on earlier versions of AIX.
3255 2001-05-15 Benjamin Kosnik <bkoz@redhat.com>
3257 * testsuite_flags.in (query): Add backwards, ext directories.
3259 2001-05-15 Mark Mitchell <mark@codesourcery.com>
3261 * porting.texi: Correct documentation about handling
3262 _LARRGEFILE_SOURCE and its ilk.
3263 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
3264 definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
3266 * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
3267 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
3269 2001-05-15 Zack Weinberg <zackw@stanford.edu>
3271 * testsuite/21_strings/inserters_extractors.cc,
3272 testsuite/27_io/istream_unformatted.cc,
3273 testsuite/27_io/stringstream.cc:
3274 Replace multi-line string constants with C89-style
3275 concatenated string constants.
3277 2001-05-14 Richard Henderson <rth@redhat.com>
3279 * mknumeric_limits: Build with -fno-exceptions.
3281 2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
3283 Switch over to new harness.
3284 * testsuite_flags.in: Tweaks via Gaby.
3285 * testsuite/Makefile.am: Change tool to libstdc++-v3.
3286 (EXPECT): Quote directly.
3288 * configure.in: Output testsuite_flags.
3289 * acinclude.m4: Substitute src, bld, and prefix dirs.
3290 Remove glibcpp_expect, glibcpp_runtestflags.
3291 * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
3292 * mkcheck.in: Port to new interface.
3294 * aclocal.m4: Regerate.
3295 * configure: Regnerate.
3296 * Makefile.in: Regnerate.
3297 * */Makefile.in: Regenerate.
3299 * tests_flags.in: Remove.
3300 * testsuite/lib/libstdc++.exp: Remove.
3301 * testsuite/libstdc++.tests/tests.exp: Remove.
3303 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
3305 * configure.target: Remove detection of AIX pthread multilib, now
3306 obtained from `gcc -v'.
3308 2001-05-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
3310 * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
3311 size. Add hpux case for HP size.
3313 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
3315 * testsuite_flags.in: New, simplified interface.
3316 * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
3317 * testsuite/libstdc++-v3.dg: Add.
3318 * testsuite/libstdc++-v3.dg/dg.exp: Add.
3320 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
3322 * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
3323 * testsuite/config/default.exp: Update bugs email address.
3325 2001-05-11 Richard Henderson <rth@redhat.com>
3327 * libsupc++/eh_personality.cc: Include unwind-pe.h. Remove
3328 all pointer encoding logic.
3329 (struct lsda_header_info): Add ttype_base.
3330 (get_ttype_entry): Use it instead of a context.
3331 (check_exception_spec): Likewise.
3332 (PERSONALITY_FUNCTION): Initialize ttype_base. Store it in
3333 the c++ exception header for __cxa_call_unexpected.
3334 (__cxa_call_unexpected): Use it.
3336 2001-05-09 Benjamin Kosnik <bkoz@redhat.com>
3338 * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
3339 libgloss_link_flags to find crt0.o for targets that use libgloss
3341 Change LDFLAGS to LIBS.
3342 Consistently name procedures libstdc++-XXX.
3343 * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
3345 2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
3347 * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
3352 * include/c_std/bits/std_cwchar.h (wcschr): Same.
3357 * testsuite/21_strings/c_strings.cc: Add tests.
3359 2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
3362 * include/bits/std_fstream.h (basic_filebuf): Change signature.
3363 * include/bits/fstream.tcc (basic_filebuf): Change bool argument
3364 to int_type, pass in buffer size info.
3365 * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
3366 unbuffered situation.
3367 (underflow): Remove codecvt bits for the time being.
3368 * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
3369 * include/bits/locale_facets.tcc (_M_extract): Cache dereference
3370 values from iterators, clean.
3371 * src/locale.cc: Ditto.
3372 * include/bits/sbuf_iter.h: Format.
3373 * src/ios.cc: Explicitly pass in buffer sizes at creation time.
3374 * testsuite/27_io/narrow_stream_objects.cc: Add tests.
3375 * testsuite/27_io/filebuf.cc: Tweaks.
3376 * testsuite/27_io/filebuf_members.cc: Tweaks.
3378 2001-05-07 Mark Mitchell <mark@codesourcery.com>
3380 * config/os/solaris/solaris2.7/bits/os_defines.h
3381 (_LARGEFILE_SOURCE): Define it.
3383 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
3385 * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
3386 -prefer-non-pic depending on whether libtool has shared libraries
3387 enabled or disabled.
3388 * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
3389 $(LIBSUPCXX_PICFLAGS).
3390 * configure, */Makefile.in: Rebuilt.
3392 2001-05-01 Benjamin Kosnik <bkoz@redhat.com>
3394 * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
3395 * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
3397 * include/bits/std_sstream.h (stringbuf): Leak
3399 * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
3401 2001-05-01 Tom Browder <tbrowder@home.com>
3403 * docs/html/ext/howto.html: Fix typo.
3405 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
3407 * testsuite/libstdc++.tests/tests.exp: Add comment.
3409 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
3411 * testsuite/libstdc++.tests/tests.exp: Set ulimits.
3413 2001-04-30 Mark Mitchell <mark@codesourcery.com>
3415 * porting.texi: Use the GFDL.
3417 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
3420 * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
3421 * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
3424 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
3427 * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
3429 2001-04-28 Phil Edwards <pme@sources.redhat.com>
3431 * docs/doxygen/run_doxygen: Minor tweaks.
3432 * docs/doxygen/style.css: New file.
3433 * docs/doxygen/user.cfg.in: Update using "doxygen -u" to get the
3434 latest parameters available. Use style.css.
3436 2001-04-27 Benjamin Kosnik <bkoz@redhat.com>
3438 * docs/doxygen/mainpage.doxy: New.
3439 * docs/doxygen/user.cfg.in: Change default configuration. Single
3440 frame, other tweaks.
3442 2001-04-26 Mark Mitchell <mark@codesourcery.com>
3444 * docs/html/17_intro/BADNAMES: Remove EGCS reference.
3445 Indicate obsolete nature of thelist for G++ 3.0.
3447 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
3449 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
3450 target_thread_file with `gcc -v'.
3451 * aclocal.m4, configure: Rebuilt.
3453 2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
3455 * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
3456 * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
3457 * include/c_std/bits/std_cwchar.h (std): Same.
3458 * acconfig.h (std): Remove c99 injection into std.
3459 * config.h.in: Regenerate.
3461 * testsuite/README: Fix typo.
3463 * include/bits/codecvt.h: Remove warnings.
3465 2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3467 * include/ext/slist: Include required header files.
3469 2001-04-23 Loren J. Rittle <ljrittle@acm.org>
3471 * include/c_std/bits/std_cerrno.h (errno): Define macro from
3472 identifier declared with external linkage, if needed.
3473 * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
3474 * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
3476 2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
3478 * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
3479 re-configures find the build compiler.
3480 (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
3482 * aclocal.m4: Regenerate.
3483 * configure: Regenerate.
3485 2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
3487 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
3488 support is enabled correctly before long long is activated.
3489 * aclocal.m4: Regenerate.
3490 * configure: Regenerate.
3492 * include/backward/backward_warning.h: Format correctly.
3494 * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
3495 * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
3496 * testsuite/26_numerics/c99_macros.cc: Remove.
3498 2001-04-20 Phil Edwards <pme@sources.redhat.com>
3500 * include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
3501 __iterator_category.
3503 2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
3505 * acconfig.h (_GLIBCPP_USE_C99): Add.
3506 * config.h.in: Regenerate.
3507 * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
3509 * aclocal.m4: Regenerate.
3510 * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
3511 * configure: Regenerate.
3512 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
3513 * configure: Regenerate.
3514 * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
3516 * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
3518 * include/c_std/bits/std_cstdlib.h: Same.
3519 * docs/html/configopts.html: Update.
3520 * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
3522 (test_c99_classify): Add.
3523 * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
3524 (_ISOC99_SOURCE): Remove.
3526 * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
3527 * include/bits/c++config (__STL_ASSERTIONS): Simplify.
3528 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
3529 * aclocal.m4: Regenerate.
3530 * configure: Regenerate.
3532 2001-04-19 Phil Edwards <pme@sources.redhat.com>
3534 * Makefile.am (doxygen): Assume script is missing execute perms.
3535 * Makefile.in: Regenerated.
3536 * docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
3538 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
3540 * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
3542 2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
3544 * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
3545 * testsuite/23_containers/set_operators.cc: Same.
3547 * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
3549 (__GLIBCPP__): Bump from value of last release.
3550 * include/bits/concept_check.h: Default to off, edit comments.
3551 * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
3552 * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
3553 * src/Makefile.in: Regenerate.
3555 2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE>
3557 * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
3558 Properly uglify member.
3560 2001-04-13 Phil Edwards <pme@sources.redhat.com>
3562 * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead
3566 2001-04-13 Phil Edwards <pme@sources.redhat.com>
3568 * include/bits/boost_concept_check.h: Uglify, fork from Boost.
3569 * include/bits/concept_check.h: Uglify.
3570 * include/bits/stl_algo.h: Likewise.
3571 * include/bits/stl_algobase.h: Likewise.
3572 * include/bits/stl_deque.h: Likewise.
3573 * include/bits/stl_heap.h: Likewise.
3574 * include/bits/stl_iterator_base_funcs.h: Likewise.
3575 * include/bits/stl_list.h: Likewise.
3576 * include/bits/stl_map.h: Likewise.
3577 * include/bits/stl_multimap.h: Likewise.
3578 * include/bits/stl_multiset.h: Likewise.
3579 * include/bits/stl_numeric.h: Likewise.
3580 * include/bits/stl_queue.h: Likewise.
3581 * include/bits/stl_set.h: Likewise.
3582 * include/bits/stl_stack.h: Likewise.
3583 * include/bits/stl_vector.h: Likewise.
3584 * include/ext/hash_map: Likewise.
3585 * include/ext/hash_set: Likewise.
3586 * include/ext/slist: Likewise.
3588 2001-04-13 Gabriel Dos Reis <gdr@codesourcery.com>
3590 * testsuite/23_containers/set_operators.cc: Just try to compile.
3592 * testsuite/23_containers/map_operators.cc: Same.
3594 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
3596 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
3598 (dg-test): Revert rth's change.
3600 2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
3602 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
3603 terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
3605 2001-04-12 Gabriel Dos Reis <gdr@codesourcery.com>
3607 * testsuite/README: Add DejaGnu specific documentation.
3609 2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
3611 * acinclude.m4: AC_CHECK_TOOL for expect.
3612 * aclocal.m4: Regenerate.
3613 * configure: Regenerate.
3614 * testsuite/Makefile.am (RUNTEST): Use substituted.
3617 * configure.in: Remove xcompiling substitution.
3618 * tests_flags.in (CROSS_LIB_PATH): Remove.
3619 (xcompiling): Remove.
3620 (CXX): Use substituted CXX.
3622 2001-04-11 Richard Henderson <rth@redhat.com>
3624 * testsuite/lib/libstdc++.exp: Specify path for output_file.
3626 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
3628 * include/bits/std_valarray.h(valarray<>::operator[]): Make
3631 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
3633 * testsuite/25_algorithms/equal.cc: New test.
3635 2001-04-06 Joe Buck <jbuck@welsh-buck.org>
3637 * stl_algobase.h (std::equal): avoid use of possibly-undefined
3638 operator != (one line patch).
3640 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
3642 * include/backward/backward_warning.h: Re-enable.
3644 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
3645 Alexandre Oliva <aoliva@redhat.com>
3647 * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
3649 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
3651 * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
3652 * testsuite/26_numerics/c99_macros.cc: Add test.
3654 2001-04-06 Phil Edwards <pme@sources.redhat.com>
3656 * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES.
3657 * docs/html/faq/index.txt: Regenerated.
3659 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
3661 * include/backward/backward_warning.h: Temporarily disable until
3662 g++ testsuite changes go in.
3663 * tests_flags.in (CROSS_LIB_PATH): Add.
3665 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
3667 Warn when using backward headers.
3668 * include/backward/algo.h: Include warning file.
3669 * include/backward/vector.h: Same.
3670 * include/backward/tree.h: Same.
3671 * include/backward/tempbuf.h: Same.
3672 * include/backward/strstream: Same.
3673 * include/backward/streambuf.h: Same.
3674 * include/backward/stream.h: Same.
3675 * include/backward/stack.h: Same.
3676 * include/backward/slist.h: Same.
3677 * include/backward/set.h: Same.
3678 * include/backward/rope.h:
3679 * include/backward/queue.h: Same.
3680 * include/backward/pair.h: Same.
3681 * include/backward/ostream.h: Same.
3682 * include/backward/new.h: Same.
3683 * include/backward/multiset.h: Same.
3684 * include/backward/multimap.h: Same.
3685 * include/backward/map.h: Same.
3686 * include/backward/list.h: Same.
3687 * include/backward/iterator.h: Same.
3688 * include/backward/istream.h: Same.
3689 * include/backward/iostream.h:
3690 * include/backward/iomanip.h:
3691 * include/backward/heap.h: Same.
3692 * include/backward/hashtable.h:
3693 * include/backward/hash_set.h:
3694 * include/backward/hash_map.h:
3695 * include/backward/function.h:
3696 * include/backward/fstream.h:
3697 * include/backward/deque.h:
3698 * include/backward/defalloc.h: Same.
3699 * include/backward/complex.h: Same.
3700 * include/backward/bvector.h:
3701 * include/backward/alloc.h:
3702 * include/backward/algobase.h: Same.
3704 * include/backward/backward_warning.h: New file.
3705 * src/Makefile.am (backward_headers): Add backward_warning.h
3706 * src/Makefile.in: Regenerate.
3708 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
3710 * src/Makefile.am (myinstalldirs): Make sure backward directory is
3712 (myinstallheaders): Install backward headers in backward directory.
3713 * src/Makefile.in: Regenerate.
3715 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
3717 Prepare for libstdc++-2.92.
3718 * docs/html/17_intro/RELEASE-NOTES (New): Update.
3719 * docs/html/configopts.html: Fix formatting.
3720 * README (file): Updates.
3721 * include/bits/c++config (__GLIBCPP__): Update.
3723 2001-04-05 Phil Edwards <pme@sources.redhat.com>
3725 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
3727 2001-04-04 Phil Edwards <pme@sources.redhat.com>
3729 * docs/doxygen/user.cfg.in: Extract all non-private members;
3730 reduce confusing documentation output.
3732 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
3734 * include/backward/fstream.h: Add missing semicolons.
3736 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
3738 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
3739 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
3740 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
3741 (ios_base::Init::_S_ios_create): New.
3742 (ios_base::Init::_S_ios_destroy): New.
3743 * include/bits/std_fstream.h: Change ctor args.
3744 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
3745 (ios_base::Init::~Init): Use _S_ios_destroy.
3746 (ios_base::sync_with_stdio): Use new members.
3747 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
3750 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3752 * include/backward/fstream.h: Expose streampos to global
3755 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3757 * include/bits/stl_iterator_base_types.h: Fix typo
3759 2001-04-03 Andreas Schwab <schwab@suse.de>
3761 * include/backward/fstream.h: Define filebuf and wfilebuf.
3763 2001-04-02 Phil Edwards <pme@sources.redhat.com>
3765 New concept checking implementation.
3766 * docs/html/19_diagnostics/howto.html: Document.
3767 * docs/html/17_intro/concept_check.diff: New file, for reference.
3768 * include/bits/boost_concept_check.h: New file from Boost.
3769 * include/bits/c++config: Update comments.
3771 * include/bits/concept_check.h: New file.
3772 * include/bits/concept_checks.h: Removed.
3773 * include/bits/container_concepts.h: Removed.
3774 * include/bits/sequence_concepts.h: Removed.
3775 * include/bits/stl_iterator_base.h: Removed; split into...
3776 * include/bits/stl_iterator_base_funcs.h: ...this new file...
3777 * include/bits/stl_iterator_base_types.h: ...and this new file.
3779 * include/bits/sbuf_iter.h: Update to use new implementation.
3780 * include/bits/std_iterator.h: Likewise.
3781 * include/bits/std_memory.h: Likewise.
3782 * include/bits/stl_algo.h: Likewise.
3783 * include/bits/stl_algobase.h: Likewise.
3784 * include/bits/stl_construct.h: Likewise.
3785 * include/bits/stl_deque.h: Likewise.
3786 * include/bits/stl_heap.h: Likewise.
3787 * include/bits/stl_list.h: Likewise.
3788 * include/bits/stl_map.h: Likewise.
3789 * include/bits/stl_multimap.h: Likewise.
3790 * include/bits/stl_multiset.h: Likewise.
3791 * include/bits/stl_numeric.h: Likewise.
3792 * include/bits/stl_queue.h: Likewise.
3793 * include/bits/stl_set.h: Likewise.
3794 * include/bits/stl_stack.h: Likewise.
3795 * include/bits/stl_uninitialized.h: Likewise.
3796 * include/bits/stl_vector.h: Likewise.
3797 * include/ext/hash_map: Likewise.
3798 * include/ext/hash_set: Likewise.
3799 * include/ext/slist: Likewise.
3800 * include/ext/stl_hashtable.h: Likewise.
3802 * src/Makefile.am (base_headers): Update list of headers.
3803 * Makefile.in: Regenerated.
3804 * src/Makefile.in: Regenerated.
3805 * libio/Makefile.in: Regenerated.
3806 * libmath/Makefile.in: Regenerated.
3807 * libsupc++/Makefile.in: Regenerated.
3808 * testsuite/Makefile.in: Regenerated.
3810 * docs/html/install.html: Update contact information.
3811 * docs/html/17_intro/howto.html: Ditto.
3812 * docs/html/18_support/howto.html: Ditto.
3813 * docs/html/20_util/howto.html: Ditto.
3814 * docs/html/21_strings/howto.html: Ditto.
3815 * docs/html/22_locale/howto.html: Ditto.
3816 * docs/html/23_containers/howto.html: Ditto.
3817 * docs/html/24_iterators/howto.html: Ditto.
3818 * docs/html/25_algorithms/howto.html: Ditto.
3819 * docs/html/26_numerics/howto.html: Ditto.
3820 * docs/html/27_io/howto.html: Ditto.
3821 * docs/html/faq/index.html: Ditto, plus info on new checking code.
3822 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
3823 * docs/html/faq/index.txt: Regenerated.
3825 2001-04-02 Zack Weinberg <zackw@stanford.edu>
3827 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
3828 messages with $which_library as well as $tool_flags and
3829 ${dg-extra-tool-flags}. Factor out annotation text into
3832 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
3834 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
3835 * include/c_std/bits/std_cwchar.h: Same.
3836 * testsuite/21_strings/c_strings.cc: Add.
3838 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
3840 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
3842 2001-04-01 Zack Weinberg <zackw@stanford.edu>
3844 * tests_flags.in: Use test a = b, not test a == b which is not
3847 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
3849 * configure.target: Remove duplicate aix entry.
3851 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
3853 * include/ext/stl_bvector.h: Move to...
3854 * include/bits/stl_vector.h: ...here.
3855 * include/ext/bvector: Move to...
3856 * include/backward/bvector.h: ...here.
3857 * include/bits/std_vector.h: Change stl_bvector include.
3858 * include/bits/std_queue.h: Remove bvector include.
3859 * include/ext/tree: Insert using rb_tree, move to...
3860 * include/backward/tree.h: ...here.
3861 * include/backward/hash_map.h: Include ext/hash_map.
3862 * include/backward/hash_set.h: Include ext/hash_set.
3863 * include/backward/queue.h: New file.
3864 * include/backward/stack.h: Edit.
3865 * include/backward/algo.h: Same.
3866 * include/backward/algobase.h: Same.
3867 * include/backward/alloc.h: Same.
3868 * include/backward/function.h: Same.
3869 * include/backward/iomanip.h: Same.
3870 * include/backward/istream.h: Same.
3871 * include/backward/iterator.h: Same.
3872 * include/backward/list.h: Same.
3873 * include/backward/map.h: Same.
3874 * include/backward/multimap.h: Same.
3875 * include/backward/multiset.h: Same.
3876 * include/backward/ostream.h: Same.
3877 * include/backward/pair.h: Same
3878 * include/backward/rope.h: Same.
3879 * include/backward/set.h: Same.
3880 * include/backward/stream.h: Same.
3881 * include/backward/strstream.h: Same.
3882 * include/backward/tempbuf.h: Same.
3883 * src/Makefile.am (ext_headers): Edit.
3884 * src/Makefile.in: Regenerate.
3885 * testsuite/ext/headers.cc (main): Fix.
3888 2001-03-30 Phil Edwards <pme@sources.redhat.com>
3890 * tests_flags.in (LIBS): Pass correct path for installed testing.
3892 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
3894 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
3895 * tests_flags.in (CXX): Construct here.
3896 (static_fail): Don't remove compile.out. Format with spaces.
3897 (INCLUDES): Deal with xcompiling.
3898 * configure.in (xcompiling): Substitute.
3899 * testsuite/Makefile.am: Snake libjava configury.
3900 * testsuite/Makefile.in: Regenerate.
3901 * testsuite/23_containers/map_operators.cc: Tweaks.
3902 * testsuite/23_containers/set_operators.cc: Tweaks.
3904 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3906 Enable dejagnu testing framework.
3907 * configure.in: Generate testsuite/Makefile.
3908 * configure: Regenerate.
3909 * Makefile.am (check-install): Change rule from this...
3910 (check-script-install): ...to this.
3911 (check): Change rule from this...
3912 (check-script):...to this.
3913 * Makefile.in: Regenerate.
3915 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
3917 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
3919 (LIBTOOL): Let automake take care of its definition.
3920 * libsupc++/Makefile.in: Rebuilt.
3922 2001-03-28 Richard Henderson <rth@redhat.com>
3924 IA-64 ABI Exception Handling:
3925 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
3926 * configure.in: Use it.
3927 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
3928 * libsupc++/Makefile.am (sources): Update files list.
3929 * libsupc++/Makefile.in: Regenerate.
3930 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
3931 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
3932 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
3933 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
3934 * libsupc++/exception_support.cc: Remove.
3935 * libsupc++/exception_support.h: Remove.
3936 * libsupc++/pure.cc: Use std::terminate.
3937 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
3938 (__is_pointer): Remove.
3939 * libsupc++/unwind-cxx.h: New file.
3940 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
3942 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
3944 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
3946 * src/Makefile.am (CXXLINK): Likewise.
3947 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
3949 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
3951 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
3953 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3955 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
3958 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
3960 * include/bits/basic_file.h (get_fileno): Remove.
3961 (_M_fileno): Remove.
3962 (_M_cfile_created): Add.
3963 (basic_file::basic_file(__c_file_type*, openmode): Add.
3964 (basic_file::basic_file(int, const char*, openmode): Remove.
3965 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
3966 const char*, ios_base::openmode): Don't allocate
3967 internal buffers. Turn off internal buffers.
3968 (basic_filebuf::overflow): Remove test for null buffer.
3969 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
3970 * include/bits/streambuf.cc: Tweak.
3971 * include/bits/std_ostream.h: Tweak.
3972 * config/basic_file_libio.h: Same.
3973 * config/basic_file_stdio.h: Same.
3974 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
3975 * testsuite/27_io/filebuf_members.cc: Tweaks.
3976 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
3978 2001-03-24 Phil Edwards <pme@sources.redhat.com>
3980 * Makefile.am: New targets, doxygen and doxygen-maint.
3981 * Makefile.in: Regenerated.
3982 * docs/doxygen/run_doxygen: Finally implemented.
3983 * docs/doxygen/maint.cfg.in: New file.
3984 * docs/doxygen/user.cfg.in: New file.
3986 2001-03-24 Phil Edwards <pme@sources.redhat.com>
3988 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
3989 * src/Makefile.am: Replace leading spaces with tabs on continuation
3991 * aclocal.m4: Regenerated.
3993 * Makefile.in: Ditto.
3994 * src/Makefile.in: Ditto.
3995 * libio/Makefile.in: Ditto.
3996 * libmath/Makefile.in: Ditto.
3997 * libsupc++/Makefile.in: Ditto.
3999 2001-03-24 Phil Edwards <pme@sources.redhat.com>
4001 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
4002 concept-checking code and current status of same.
4003 * docs/html/ext/howto.html: Ditto.
4004 * docs/html/faq/index.html: Ditto.
4005 * docs/html/faq/index.txt: Regenerated.
4007 2001-03-24 Phil Edwards <pme@sources.redhat.com>
4009 * include/bits/std_bitset.h: Include ostream and istream headers
4010 instead of iostream.
4012 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
4014 * include/bits/ostream.tcc: Use __builtin_alloca.
4016 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
4018 * src/misc-inst.cc (__sink_unused_warning): Move to...
4019 * src/locale-inst.cc (__sink_unused_warning): Move to...
4020 * src/stl-inst.cc: Here.
4021 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
4024 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
4026 * intclude/bits/basic_file.h: Fix typos in comments.
4028 2001-03-20 Richard Henderson <rth@redhat.com>
4030 * src/gen-num-limits.cc: Instantiate for wchar_t.
4031 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
4033 2001-03-20 Jason Merrill <jason@redhat.com>
4035 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
4036 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
4037 * libsupc++/cxxabi.h: Declare it.
4039 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
4041 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
4042 signal_func with an unspecified argument list.
4044 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
4046 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
4048 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4050 * include/bits/basic_string.tcc (operator+): Fix thinko.
4052 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
4055 * include/bits/std_streambuf.h: Remove cached locale facets.
4056 (basic_streambuf::_M_buf_fctype): Remove.
4057 (basic_streambuf::~basic_streambuf): Remove here.
4058 (basic_streambuf::basic_streambuf): Same.
4059 (basic_streambuf::imbue): Same.
4060 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
4061 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
4062 (basic_filebuf::~basic_filebuf()): Remove here.
4063 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
4064 (basic_filebuf::imbue): Same.
4065 * include/bits/localefwd.h (_Count_ones): Remove.
4066 (locale::_S_num_categories): Just use 6, since this doesn't
4067 actually change, ever.
4068 * include/bits/locale_facets.tcc (has_facet): Simplify.
4070 * testsuite/27_io/filebuf.cc (test06): Add tests.
4072 2001-03-13 Steve Ellcey <sje@cup.hp.com>
4074 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
4075 match HP-UX ctype.h header file.
4077 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
4079 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
4080 duplicate definitions of __dj_ctype_*
4082 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
4084 * libsupc++/new: Remove pragma interface.
4085 * libsupc++/typeinfo: Same.
4086 * libsupc++/exception: Same.
4087 * libsupc++/new_handler.cc: Remove pragma implementation.
4088 (bad_alloc::~bad_alloc()): Add.
4089 * libsupc++/exception_support.cc: Same.
4090 (exception::~exception): Add.
4091 (bad_exception::~bad_exception): Add.
4092 * libsupc++/tinfo.cc: Same.
4093 (bad_cast::~bad_cast): Add.
4094 (bad_typeid::~bad_typeid): Add.
4096 2001-03-13 Phil Edwards <pme@sources.redhat.com>
4098 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
4100 2001-03-12 Felix Lee <flee@redhat.com>
4102 * mkcheck.in: workaround for bash 2.01 IFS bug.
4104 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
4106 Fixups for -fno-for-scope
4107 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
4108 * src/valarray-inst.cc (__gslice_to_index): Same.
4110 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
4112 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
4113 prior to trapping signal (UnixWare 7 workaround).
4115 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
4117 * include/backward/hashtable.h: Same.
4118 * include/backward/rope.h: Fix include.
4120 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
4122 * include/backward/vector.h: Include std_vector.h.
4124 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
4125 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
4128 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4130 * include/ext/stl_hashtable.h: Change type of __n to size_t
4131 * include/backward/bvector.h: Include <ext/stl_bvector.h>
4133 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4135 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
4136 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
4137 Use streamsize, not int_type.
4139 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
4141 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
4144 2001-03-08 Andreas Schwab <schwab@suse.de>
4146 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
4148 * aclocal.m4, configure: Regenerated.
4150 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
4152 * include/bits/std_iosfwd.h: Remove string forward decls here.
4153 * include/bits/stringfwd.h: Add forward decls for char_traits
4155 * config/c_io_libio.h (wstreamoff): Delete.
4156 * config/c_io_stdio.h (wstreamoff): Same.
4157 * include/bits/char_traits.h: Use streamoff not wstreamoff for
4158 char_traits<wchar_t>::off_type.
4159 Remove duplicate typedefs.
4160 * include/bits/fpos.h: Define streampos/wstreampos here.
4161 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
4164 Changeup output files.
4165 * testsuite/27_io/istream_unformatted.cc: Change output files.
4166 * testsuite/27_io/istream_seeks-1.txt: Add.
4167 * testsuite/27_io/istream_seeks-2.tst: Add.
4168 * testsuite/27_io/istream_seeks-1.tst: Add.
4169 * testsuite/27_io/istream_unformatted-2.tst: Delete.
4170 * testsuite/27_io/istream_unformatted-3.tst: Delete.
4171 * testsuite/27_io/istream_unformatted-3.txt: Delete.
4173 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
4175 Add Irix 5.2, 6.3 support.
4176 * config/os/irix/bits: Renamed to...
4177 * config/os/irix/irix6.5/bits: this.
4178 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
4179 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
4180 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
4181 * config/os/irix/irix5.2/bits/ctype_noninline.h
4182 (ctype<char>::ctype): Initialize _M_table with __ctype.
4183 * configure.target: Adjust.
4185 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
4188 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
4189 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
4191 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
4192 (*__pf)(__ios_type&)): Same.
4193 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
4194 (*__pf)(ios_base&))): Same.
4195 * testsuite/27_io/istream_extractor_other.cc: Add tests.
4196 * testsuite/27_io/istream_manip.cc (test01): Fix.
4198 2001-03-06 Nathan Myers <ncm@cantrip.org>
4199 Benjamin Kosnik <bkoz@redhat.com>
4201 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
4202 * testsuite/17_intro/header_cerrno.cc (test01): New file.
4203 * testsuite/17_intro/header_cassert.cc (test01): New file.
4204 * testsuite/17_intro/header_cstddef.cc (test01): New file.
4205 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
4206 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
4208 2001-03-05 scott snyder <snyder@fnal.gov>
4211 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
4213 * include/c_std/bits/std_cstdlib.h: ... to here.
4214 * testsuite/17_intro/header_cstdlib.cc: Add test.
4216 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
4218 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
4220 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
4222 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
4223 definition. Replace enum with static const variables.
4225 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
4226 throw specification, fix typos, use <static_cast>.
4227 (ctype<char>::scan_is): remove throw specification.
4228 (ctype<char>::scan_not): likewise.
4230 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
4231 (ctype<char>::do_toupper(char)): use <static_cast>.
4232 (ctype<char>::do_toupper(char *, const char *)): likewise.
4233 (ctype<char>::do_tolower(char)): likewise.
4234 (ctype<char>::do_tolower(char *, const char *)): likewise.
4236 2001-03-04 Phil Edwards <pme@sources.redhat.com>
4238 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
4239 * include/backward/algo.h: Use std not __STD. Remove unneeded
4240 macros and "never happens" code. Adjust to C++STYLE guidelines.
4241 * include/backward/algobase.h: Likewise.
4242 * include/backward/alloc.h: Likewise.
4243 * include/backward/bvector.h: Likewise.
4244 * include/backward/deque.h: Likewise.
4245 * include/backward/function.h: Likewise.
4246 * include/backward/hash_map.h: Likewise.
4247 * include/backward/hash_set.h: Likewise.
4248 * include/backward/hashtable.h: Likewise.
4249 * include/backward/heap.h: Likewise.
4250 * include/backward/iterator.h: Likewise.
4251 * include/backward/list.h: Likewise.
4252 * include/backward/map.h: Likewise.
4253 * include/backward/multimap.h: Likewise.
4254 * include/backward/multiset.h: Likewise.
4255 * include/backward/pair.h: Likewise.
4256 * include/backward/rope.h: Likewise.
4257 * include/backward/set.h: Likewise.
4258 * include/backward/slist.h: Likewise.
4259 * include/backward/stack.h: Likewise.
4260 * include/backward/strstream: Likewise.
4261 * include/backward/tempbuf.h: Likewise.
4262 * include/backward/tree.h: Likewise.
4263 * include/backward/vector.h: Likewise.
4264 * include/bits/basic_ios.h: Likewise.
4265 * include/bits/basic_ios.tcc: Likewise.
4266 * include/bits/basic_string.h: Likewise.
4267 * include/bits/c++config: Likewise.
4268 * include/bits/concept_checks.h: Likewise.
4269 * include/bits/fpos.h: Likewise.
4270 * include/bits/fstream.tcc: Likewise.
4271 * include/bits/functexcept.h: Likewise.
4272 * include/bits/ios_base.h: Likewise.
4273 * include/bits/istream.tcc: Likewise.
4274 * include/bits/mask_array.h: Likewise.
4275 * include/bits/ostream.tcc: Likewise.
4276 * include/bits/pthread_allocimpl.h: Likewise.
4277 * include/bits/sbuf_iter.h: Likewise.
4278 * include/bits/slice.h: Likewise.
4279 * include/bits/slice_array.h: Likewise.
4280 * include/bits/sstream.tcc: Likewise.
4281 * include/bits/std_bitset.h: Likewise.
4282 * include/bits/std_fstream.h: Likewise.
4283 * include/bits/std_iomanip.h: Likewise.
4284 * include/bits/std_ios.h: Likewise.
4285 * include/bits/std_istream.h: Likewise.
4286 * include/bits/std_iterator.h: Likewise.
4287 * include/bits/std_memory.h: Likewise.
4288 * include/bits/std_ostream.h: Likewise.
4289 * include/bits/std_sstream.h: Likewise.
4290 * include/bits/std_streambuf.h: Likewise.
4291 * include/bits/std_string.h: Likewise.
4292 * include/bits/std_valarray.h: Likewise.
4293 * include/bits/stl_algo.h: Likewise.
4294 * include/bits/stl_algobase.h: Likewise.
4295 * include/bits/stl_alloc.h: Likewise.
4296 * include/bits/stl_construct.h: Likewise.
4297 * include/bits/stl_deque.h: Likewise.
4298 * include/bits/stl_function.h: Likewise.
4299 * include/bits/stl_heap.h: Likewise.
4300 * include/bits/stl_iterator.h: Likewise.
4301 * include/bits/stl_iterator_base.h: Likewise.
4302 * include/bits/stl_list.h: Likewise.
4303 * include/bits/stl_map.h: Likewise.
4304 * include/bits/stl_multimap.h: Likewise.
4305 * include/bits/stl_multiset.h: Likewise.
4306 * include/bits/stl_numeric.h: Likewise.
4307 * include/bits/stl_pair.h: Likewise.
4308 * include/bits/stl_pthread_alloc.h: Likewise.
4309 * include/bits/stl_queue.h: Likewise.
4310 * include/bits/stl_raw_storage_iter.h: Likewise.
4311 * include/bits/stl_relops.h: Likewise.
4312 * include/bits/stl_set.h: Likewise.
4313 * include/bits/stl_stack.h: Likewise.
4314 * include/bits/stl_tempbuf.h: Likewise.
4315 * include/bits/stl_threads.h: Likewise.
4316 * include/bits/stl_tree.h: Likewise.
4317 * include/bits/stl_uninitialized.h: Likewise.
4318 * include/bits/stl_vector.h: Likewise.
4319 * include/bits/streambuf.tcc: Likewise.
4320 * include/bits/type_traits.h: Likewise.
4321 * include/bits/valarray_meta.h: Likewise.
4322 * include/ext/bvector: Likewise.
4323 * include/ext/hash_map: Likewise.
4324 * include/ext/hash_set: Likewise.
4325 * include/ext/ropeimpl.h: Likewise.
4326 * include/ext/slist: Likewise.
4327 * include/ext/stl_bvector.h: Likewise.
4328 * include/ext/stl_hash_fun.h: Likewise.
4329 * include/ext/stl_hashtable.h: Likewise.
4330 * include/ext/stl_rope.h: Likewise.
4331 * src/complex_io.cc: Likewise.
4332 * src/ios.cc: Likewise.
4333 * src/locale-inst.cc: Likewise.
4334 * src/locale.cc: Likewise.
4335 * src/localename.cc: Likewise.
4336 * src/misc-inst.cc: Likewise.
4337 * src/stdexcept.cc: Likewise.
4338 * src/stl-inst.cc: Likewise.
4339 * src/strstream.cc: Likewise.
4340 * src/valarray-inst.cc: Likewise.
4342 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
4344 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
4346 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4348 * include/bits/istream.tcc: change type of __extracted to __size_type
4350 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
4352 * src/wstring-inst.cc: New file.
4353 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
4354 (libinst_wstring_la_SOURCES): Remove.
4355 (libstdc___la_LIBADD): Remove libinst_wstring_la.
4356 (sources): Add wstring-inst.cc
4357 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
4360 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4362 * src/locale.cc: initialise __ret with zero
4363 * src/strstream.cc:cast gptr to int_type
4365 2001-03-01 Phil Edwards <pme@sources.redhat.com>
4367 * docs/html/faq/index.html: Update broken links.
4368 * docs/html/faq/index.txt: Regenerated.
4370 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
4373 * configure.target: Change irix* to irix6.5* in target_os table.
4375 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
4378 * include/bits/c++config (__GLIBCPP__): Bump number in
4379 anticipation of 2.92.
4381 * include/bits/codecvt.h: Fix typo.
4382 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
4384 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
4385 instantiations for stdio model.
4387 2001-02-28 Phil Edwards <pme@sources.redhat.com>
4389 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
4390 and GLIBCPP_CXXFLAGS as unused variables.
4391 * configure.host: Likewise.
4392 * configure.target: Likewise.
4393 * aclocal.m4: Regenerated.
4394 * configure: Regenerated.
4395 * Makefile.in: Regenerated.
4396 * libio/Makefile.in: Regenerated.
4397 * libmath/Makefile.in: Regenerated.
4398 * libsupc++/Makefile.in: Regenerated.
4399 * src/Makefile.in: Regenerated.
4401 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
4404 * include/bits/basic_file.h: Include basic_file_model.h.
4405 * config/c_io_libio.cc: Move to...
4406 * config/basic_file_libio.cc: Here.
4407 * config/basic_file_libio.h: New file.
4408 * config/c_io_stdio.cc: Move to...
4409 * config/basic_file_stdio.cc: Here.
4410 * config/basic_file_stdio.h: New file.
4411 * config/c_io_libio.h: Tweak.
4412 * config/c_io_stdio.h: Tweak.
4413 * src/Makefile.am (build_headers): Add basic_file_model.h.
4414 (sources): Add basic_file.cc, remove c++io.cc.
4415 * src/Makefile.in: Regenerate.
4416 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
4417 basic_file_model.h and basic_file.cc.
4418 * aclocal.m4: Regenerate.
4419 * configure: Regenerate.
4420 * testsuite/27_io/filebuf.cc (test05): Add regression.
4422 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
4425 * config/cpu/alpha/bits/atomicity.h: Change.
4426 * config/cpu/arm/bits/atomicit3y.h
4427 * config/cpu/generic/bits/atomicity.h
4428 * config/cpu/i386/bits/atomicity.h
4429 * config/cpu/i486/bits/atomicity.h
4430 * config/cpu/ia64/bits/atomicity.h
4431 * config/cpu/powerpc/bits/atomicity.h
4432 * config/cpu/sparc/sparc32/bits/atomicity.h
4433 * config/cpu/sparc/sparc64/bits/atomicity.h
4434 * config/os/aix/bits/atomicity.h
4435 * config/os/irix/bits/atomicity.h
4437 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
4439 * include/bits/std_stdexcept.h (runtime_error): Make string
4441 (logic_error): Same.
4442 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
4445 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
4449 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
4450 string object, not reference.
4451 (runtime_error::runtime_error): Same.
4452 * testsuite/19_diagnostics/stdexceptions.cc: New file.
4454 2001-02-26 Phil Edwards <pme@sources.redhat.com>
4456 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
4457 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
4458 diagnostics. Remove WFMT_FLAGS.
4459 * configure.in: Replace WFMT_FLAGS with diagnostics options.
4460 * libsupc++/Makefile.am: Likewise.
4461 * src/Makefile.am: Likewise.
4462 * aclocal.m4: Regenerated.
4463 * configure: Regenerated.
4464 * Makefile.in: Regenerated.
4465 * libio/Makefile.in: Regenerated.
4466 * libmath/Makefile.in: Regenerated.
4467 * libsupc++/Makefile.in: Regenerated.
4468 * src/Makefile.in: Regenerated.
4470 2001-02-26 Phil Edwards <pme@sources.redhat.com>
4472 Fixes libstdc++/2079
4473 * include/backward/iomanip.h: Expose <ios> manipulators to global
4475 * include/backward/iostream.h: Also expose std::ws.
4477 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
4479 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
4481 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
4483 * include/bits/codecvt.h: Use __builtin_alloca.
4484 * include/bits/ostream.tcc: Same.
4485 * include/bits/fstream.tcc: Same.
4487 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
4489 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
4491 2001-02-23 David Edelsohn <dje@watson.ibm.com>
4493 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
4495 2001-02-23 Phil Edwards <pme@sources.redhat.com>
4498 * include/backward/iostream.h: Expose std::flush in old headers.
4500 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4502 * mknumeric_limits: Remove special-casing on target. Use gcc
4503 instead of g++ to build gen-num-limits.cc
4505 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
4507 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
4509 * include/bits/codecvt.h: Use alloca instead of __extension__ for
4511 * include/bits/ostream.tcc: Same.
4512 * include/bits/std_ostream.h: Same.
4513 * include/bits/fstream.tcc: Same.
4514 * include/bits/locale_facets.tcc: Add typename.
4515 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
4517 2001-02-21 Phil Edwards <pme@sources.redhat.com>
4519 * tests_flags.in: Remove -n flag from call to echo.
4521 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
4523 * config/c_locale_gnu.h: Add clocale include.
4525 2001-02-20 Phil Edwards <pme@sources.redhat.com>
4527 * include/bits/stl_config.h: Remove file.
4528 * src/Makefile.am (base_headers): Remove from list.
4529 * configure: Regenerate.
4530 * Makefile.in: Ditto.
4531 * libio/Makefile.in: Ditto.
4532 * libmath/Makefile.in: Ditto.
4533 * libsupc++/Makefile.in: Ditto.
4534 * src/Makefile.in: Ditto.
4536 * include/bits/c++config: Move relevant macros to here.
4537 * include/backward/alloc.h: Include c++config.h instead.
4538 * include/backward/function.h: Ditto.
4539 * include/backward/heap.h: Ditto.
4540 * include/backward/pair.h: Ditto.
4541 * include/bits/pthread_allocimpl.h: Ditto.
4542 * include/bits/std_functional.h: Ditto.
4543 * include/bits/std_iterator.h: Ditto.
4544 * include/bits/std_numeric.h: Ditto.
4545 * include/bits/std_utility.h: Ditto.
4546 * include/bits/stl_algobase.h: Ditto.
4547 * include/bits/type_traits.h: Ditto.
4548 * src/stl-inst.cc: Ditto.
4550 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4552 * include/bits/basic_file.h: Add #pragma system_header
4553 * include/bits/basic_ios.h: Ditto.
4554 * include/bits/basic_string.h: Ditto.
4555 * include/bits/char_traits.h: Ditto.
4556 * include/bits/codecvt.h: Ditto.
4557 * include/bits/cpp_type_traits.h: Ditto.
4558 * include/bits/fpos.h: Ditto.
4559 * include/bits/gslice.h: Ditto.
4560 * include/bits/gslice_array.h: Ditto.
4561 * include/bits/indirect_array.h: Ditto.
4562 * include/bits/ios_base.h: Ditto.
4563 * include/bits/limits_generic.h: Ditto.
4564 * include/bits/locale_facets.h: Ditto.
4565 * include/bits/localefwd.h: Ditto.
4566 * include/bits/mask_array.h: Ditto.
4567 * include/bits/sbuf_iter.h: Ditto.
4568 * include/bits/sequence_concepts.h: Ditto.
4569 * include/bits/slice.h: Ditto.
4570 * include/bits/slice_array.h: Ditto.
4571 * include/bits/std_algorithm.h: Likewise.
4572 * include/bits/std_bitset.h: Likewise.
4573 * include/bits/std_complex.h: Likewise.
4574 * include/bits/std_deque.h: Likewise.
4575 * include/bits/std_fstream.h: Likewise.
4576 * include/bits/std_functional.h: Likewise.
4577 * include/bits/std_iomanip.h: Likewise.
4578 * include/bits/std_ios.h: Likewise.
4579 * include/bits/std_iosfwd.h: Likewise.
4580 * include/bits/std_iostream.h: Likewise.
4581 * include/bits/std_istream.h: Likewise.
4582 * include/bits/std_iterator.h: Likewise.
4583 * include/bits/std_list.h: Likewise.
4584 * include/bits/std_locale.h: Likewise.
4585 * include/bits/std_map.h: Likewise.
4586 * include/bits/std_memory.h: Likewise.
4587 * include/bits/std_numeric.h: Likewise.
4588 * include/bits/std_ostream.h: Likewise.
4589 * include/bits/std_queue.h: Likewise.
4590 * include/bits/std_set.h: Likewise.
4591 * include/bits/std_sstream.h: Likewise.
4592 * include/bits/std_stack.h: Likewise.
4593 * include/bits/std_stdexcept.h: Likewise.
4594 * include/bits/std_streambuf.h: Likewise.
4595 * include/bits/std_string.h: Likewise.
4596 * include/bits/std_utility.h: Likewise.
4597 * include/bits/std_valarray.h: Likewise.
4598 * include/bits/std_vector.h: Likewise.
4599 * include/bits/stringfwd.h: Likewise.
4600 * include/bits/type_traits.h: Likewise.
4601 * include/bits/valarray_array.h: Likewise.
4602 * include/bits/valarray_meta.h: Likewise.
4604 2001-02-19 Andreas Jaeger <aj@suse.de>
4606 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
4609 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
4612 * include/bits/std_ostream.h: Replaced usage of
4613 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
4614 * include/bits/char_traits.h: Removed non-standard
4615 methods that cannot be used elsewhere.
4618 * include/bits/basic_ios.h: Uncommented #include of
4622 * include/bits/codecvt.h: See next...
4623 * include/bits/fstream.tcc: See next...
4624 * include/bits/ostream.tcc: Add __extension__
4625 to variable-length arrays.
4628 * include/bits/localefwd.h: Changed int counter type to size_t.
4631 * include/bits/std_fstream.h: Added typedef for __ctype_type.
4633 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
4635 * testsuite/21_strings/char_traits.cc: Move to ...
4636 * testsuite/21_strings/char_traits_requirements.cc: ..here.
4637 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
4638 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
4640 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
4642 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
4645 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
4647 * include/bits/c++config: Revert.
4649 2001-02-15 Mark Mitchell <mark@codesourcery.com>
4651 * include/bits/istream.tcc: Use ios_base::iostate in place of
4652 iostate throughout. Insert `typename' keyword where necessary.
4653 * include/bits/ostream.tcc: Insert `typename' keyword where
4656 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
4658 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
4659 Define so library is compliant.
4661 2001-02-15 Anthony Green <green@redhat.com>
4663 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
4665 * aclocal.m4: Regenerate.
4666 * configure: Regenerate.
4668 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
4670 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
4671 Include ieeefp.h for fpclass on UnixWare{2,7}.
4672 * aclocal.m4: Regenerate.
4673 * configure: Regenerate.
4674 * mkcheck.in (size_command): Do without GNU-grep when using
4677 2001-02-15 Mark Mitchell <mark@codesourcery.com>
4679 Remove old ABI support from libsupc++.
4680 * libsupc++/cxxabi.h: Remove conditionally compiled code.
4681 * libsupc++/exception_support.cc: Likewise.
4682 * libsupc++/pure.cc: Likewise.
4683 * libsupc++/tinfo.cc: Likewise.
4684 * libsupc++/tinfo.h: Likewise.
4685 * libsupc++/tinfo2.cc: Likewise.
4686 * libsupc++/typeinfo: Likewise.
4687 * libsupc++/vec.cc: Likewise.
4689 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
4691 Add support for -fno-exceptions.
4692 * include/bits/exception_support.h: Remove.
4693 * include/bits/basic_string.h: Remove exception_support.
4694 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
4696 (string::substr): Same.
4697 * include/bits/basic_string.tcc (string::reserve): Replace
4698 __LENGTHERROR with __throw_length_error.
4699 (string::_S_create): Same.
4700 (string::resize): Same.
4701 (string::_M_replace): Same.
4702 (string::replace): Same.
4703 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
4704 (string::compare): Same.
4705 * include/bits/stl_vector.h: Remove exception_support.
4706 * src/Makefile.am (base_headers): Remove here.
4707 * src/Makefile.in: Regenerate.
4709 * include/bits/stl_range_errors.h: Remove.
4710 * include/bits/stl_deque.h: Use __throw_range_error.
4711 * include/bits/std_deque.h: Include functexcept.h.
4712 * include/bits/std_vector.h: Same.
4713 * src/Makefile.am (base_headers): Remove here.
4714 * src/Makefile.in: Regenerate.
4715 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
4716 * include/ext/bvector: Remove stl_range_errors.h
4718 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
4720 * include/bits/functexcept.h: New file.
4721 * src/functexcept.cc: New file. Definitions for function-based
4723 * src/Makefile.am (sources): Add functexcept.cc.
4724 * src/Makefile.in: Regenerate.
4726 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
4729 * include/bits/localefwd.h: Include functexcept.h.
4730 * include/bits/std_iosfwd.h: Same.
4732 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
4733 throw basic_ios::failure.
4734 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
4735 Use __throw_exception_again.
4736 (filebuf::_M_filebuf_init): Same.
4737 * include/bits/streambuf.tcc (__copy_streambufs): Same.
4738 * include/bits/ostream.tcc (ostream::operator<<): Same.
4739 * include/bits/istream.tcc (istream::operator>>): Same.
4740 * include/bits/basic_string.tcc (string::_M_mutate): Same.
4741 (string::_S_construct): Same.
4742 (string::_M_clone): Same.
4743 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
4745 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
4746 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
4747 __throw_exception_again.
4748 (locale::_Imp::_Imp(string, size_t): Same.
4749 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
4750 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
4751 (locale::locale(const char*)): Use __throw_runtime_error.
4752 (locale::classic): Use __throw_exception_again.
4753 (locale::_S_normalize_category): Use __throw_runtime_error.
4755 * src/stdexcept.cc: Remove cruft.
4757 * libsupc++/exception_defines.h: New file.
4758 * libsupc++/new_opnt.cc: Include exception_defines.h.
4759 * libsupc++/vec.cc: Same.
4760 (__cxa_vec_new2): Use __throw_exception_again.
4761 (__cxa_vec_new3): Same.
4762 (__cxa_vec_ctor): Same.
4763 (__cxa_vec_delete3): Same.
4764 (__cxa_vec_cctor): Same.
4765 (__cxa_vec_delete2): Same.
4766 (__cxa_vec_dtor): Same.
4767 * libsupc++/exception_support.cc: Include exception_defines.h. Only
4768 compile exception-handling bits if __EXCEPTIONS is defined.
4769 Remove old ABI support.
4770 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
4771 std::__throw_bad_alloc() instead of throw bad_alloc.
4772 * libsupc++/Makefile.am: Add exception_defines.h.
4773 * libsupc++/Makefile.in: Reformat.
4774 * libsupc++/*: Format.
4776 2001-02-15 Phil Edwards <pme@sources.redhat.com>
4778 * docs/html/configopts.html: Minor updates and typo fixes.
4779 * docs/html/faq/index.html: Updates of the "not really bugs" list.
4780 * docs/html/faq/index.txt: Regenerated.
4782 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
4784 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
4785 dejagnu/dg.exp. Adapt to log options used to run testcases.
4787 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4789 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
4792 2001-02-13 Dirk Mueller <dmuell@gmx.net>
4793 Phil Edwards <pme@sources.redhat.com>
4795 * include/backward/function.h: Do not use rel_ops for older
4797 * include/backward/pair.h: Likewise.
4799 2001-02-12 Mark Mitchell <mark@codesourcery.com>
4801 * src/locale.cc: Remove bogus locale::id definitions.
4803 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4805 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
4806 not _DEFINE_VALARRAY_OPERATOR which is not existent.
4808 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
4809 thinko in member initialisation.
4811 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
4813 * include/bits/std_valarray.h(valarray<>::shift): Avoid
4814 comparaison between signed and unsigned integer types.
4815 (valarray<>::cshift): Reformat.
4817 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
4819 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
4820 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
4821 * configure.in: Test for sigsetjmp.
4822 * configure, config.h.in: Rebuilt.
4824 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
4826 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
4827 lengths and strides.
4828 (__gslice_to_index): Document.
4830 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
4832 * include/bits/char_traits.h char_traits<char>::int_type: Change
4833 to `int' to match 21.1.3.1/2.
4835 * testsuite/21_strings/char_traits-int_type.C: New test.
4837 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
4839 * testsuite/Makefile.am: New file.
4841 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
4843 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
4845 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
4847 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
4849 2001-02-08 David Edelsohn <edelsohn@gnu.org>
4851 * configure.target (aix4*): Remove extra set of brackets.
4853 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
4856 * include/bits/stringfwd.h: New file.
4857 * include/bits/stl_string_fwd.h: Remove.
4858 * include/bits/localefwd.h: Remove declaration for allocator.
4859 * include/bits/std_iosfwd: Same.
4860 * include/bits/std_string.h: Include it.
4861 * include/bits/std_ios.h: Remove include.
4862 * include/bits/basic_string.h: Tweak.
4863 * libsupc++/new: Format.
4864 * src/Makefile.am (base_headers): Add stringfwd.h, remove
4866 * src/Makefile.in: Regenerate.
4867 * include/bits/std_stdexcept.h: Rewrite.
4868 * src/stdexcept.cc: Same.
4870 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
4872 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
4873 install locations too.
4874 * aclocal.m4: Regenerate.
4875 * configure.in: Remove USE_LIBDIR.
4876 * configure: Regenerate.
4877 * src/Makefile.am (toolexecdir): Simplify, use
4878 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
4879 * src/Makefile.in: Regenerate.
4880 * libsupc++/Makefile.am: Same.
4881 * libsupc++/Makefile.in: Regenerate.
4883 * src/Makefile.am: Just remove special rules for locale-inst.cc and
4884 misc-inst.cc as no longer necessary.
4886 Follow C++STYLE for naming non-static functions.
4887 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
4889 * include/bits/streambuf.tcc: Same.
4890 * include/bits/ostream.tcc: Same.
4891 * include/bits/istream.tcc: Same.
4892 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
4893 (_S_output_float): To __output_float.
4894 * include/bits/std_streambuf.h (_S_copy_streambufs): To
4896 * include/bits/locale_facets.tcc (_S_build_float_format): To
4897 __build_float_format.
4898 (_S_format): To __output_integer.
4899 (_S_fill): To __pad.
4900 * src/locale.cc: Same.
4901 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
4903 * include/bits/locale_facets.tcc (_S_group_digits): To
4905 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
4906 for collate, numpunct.
4908 2001-02-06 Phil Edwards <pme@sources.redhat.com>
4910 * docs/html/configopts.html: Fix HTML markup.
4911 * docs/html/install.html: Bring up to date.
4912 * docs/html/17_intro/C++STYLE: Add global variable conventions.
4913 * docs/html/21_strings/howto.html: More notes.
4914 * docs/html/22_locale/howto.html: Fix HTML markup.
4915 * docs/html/27_io/howto.html: More notes.
4916 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
4917 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
4919 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
4921 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
4922 to match header files.
4923 (_S_output_float): Likewise.
4924 (_S_copy_streambufs): Likewise.
4926 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
4927 Phil Edwards <pme@sources.redhat.com>
4929 * include/bits/std_istream.h (op>> signed,unsigned char): Must
4930 use reinterpret_cast, not static_cast.
4932 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
4934 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
4935 * aclocal.m4: Regenerate.
4936 * configure: Regenerate.
4938 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
4940 * include/bits/locale_facets.h (class moneypunct): Fix typos.
4941 * libsupc++/pure.cc: Revert.
4943 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
4945 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
4946 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
4947 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
4948 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
4949 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
4950 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
4951 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
4952 * aclocal.m4: Regenerate.
4953 * configure: Regenerate.
4955 2001-02-05 Mark Mitchell <mark@codesourcery.com>
4957 * include/bits/locale_facets.tcc: Remove `static' keyword on
4958 function definitions.
4959 * include/bits/std_streambuf.h: Likewise.
4960 * src/Makefile.am: Remove use of -fimplicit-templates.
4961 * src/Makefile.in: Regenerated.
4962 * src/locale-inst.cc: Explicitly instantiate more functions.
4963 * src/misc-inst.cc: Likewise.
4964 * src/string-inst.cc: Likewise.
4966 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
4968 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
4969 macro. Consolidate all the bits to do with where includes might be
4971 * aclocal.m4: Regenerate.
4972 * configure.in: Use it.
4973 * configure: Regenerate.
4974 * src/Makefile.am (targetincludep): Use simplified rules.
4975 (targetincludep): Rename gxx_target_include_dir.
4976 (myincludep): Rename gxx_include_dir.
4977 * src/Makefile.in: Regenerate.
4978 * libsupc++/Makefile.am: Use simplified rules.
4979 * libsupc++/Makefile.in: Regenerate.
4981 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
4983 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
4984 * include/c_std/bits/std_cctype.h: Same.
4985 * include/c_std/bits/std_cassert.h: Same.
4986 * include/c_std/bits/std_cstdarg.h: Same.
4987 * include/c_std/bits/std_cstddef.h: Same.
4989 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
4991 * include/c_std/bits/std_ctime.h: Same.
4992 * include/c_std/bits/std_clocale.h: Same.
4993 * include/c_std/bits/std_cmath.h: Same.
4994 * include/c_std/bits/std_csetjmp.h: Same.
4995 * include/c_std/bits/std_csignal.h: Same.
4996 * include/c_std/bits/std_cstring.h: Same.
4997 * include/c_std/bits/std_cstdlib.h: Same.
4998 * include/c_std/bits/std_cwchar.h: Same.
5000 2001-02-05 Phil Edwards <pme@sources.redhat.com>
5002 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
5004 2001-02-05 Mark Mitchell <mark@codesourcery.com>
5006 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
5007 (string::_S_construct): Likewise.
5009 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
5011 * testsuite/config/default.exp: New file.
5012 * testsuite/config: New directory.
5014 2001-02-04 Mark Mitchell <mark@codesourcery.com>
5016 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
5017 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
5018 whenever !__GXX_MERGED_TYPEINFO_NAMES.
5019 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
5021 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
5022 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
5024 * Makefile.am (mkinstalldirs): Set.
5025 * src/Makefile.am (mkinstalldirs): Set.
5026 * libmath/Makefile.am (mkinstalldirs): Set.
5027 * libsup++/Makefile.am (mkinstalldirs): Set.
5028 * libio/Makefile.am (mkinstalldirs): Set.
5029 * */Makefile.in: Regenerate.
5031 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
5033 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
5034 * include/bits/localefwd.h: More initialization cleanups.
5036 2001-02-03 Jeffrey A Law <law@cygnus.com>
5038 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
5039 correctly targets with 16bit ints.
5040 (_S_ios_openmode_end): Similarly.
5041 (_S_ios_iostate_end): Similarly.
5042 (_S_ios_Seekdir_end): Similarly.
5044 2001-02-02 Phil Edwards <pme@sources.redhat.com>
5046 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
5048 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
5050 * configure.in (toplevel_srcdir, auxdir): Set.
5051 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
5052 * aclocal.m4, configure, Makefile.in: Rebuilt.
5053 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
5054 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
5055 * libsupc++-v3/Makefile.in: Rebuilt.
5056 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
5057 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
5059 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
5061 * config/c_locale_generic.cc: Remove langinfo include.
5063 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
5065 Preliminary named locales.
5066 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
5067 * aclocal.m4: Regenerate.
5068 * configure.in: Use it.
5069 * configure: Regerate.
5070 * src/Makefile.am (sources): Add c++locale.cc.
5071 (build_headers): Add c++locale.h.
5072 * src/Makefile.in: Regenerate.
5073 * config/c_locale_gnu.h: New file.
5074 * config/c_locale_gnu.cc: New file. Non-inline member functions
5075 for named locales, gnu-specific.
5076 * config/c_locale_generic.h: New file.
5077 * config/c_locale_generic.cc: New file. Non-inline member
5078 functions for named locales, generic version.
5079 * docs/html/configopts.html: Add documentation on new options.
5081 * include/bits/locale_facets.h (class _Messages): Remove.
5082 (class _Moneypunct): Remove.
5083 * src/locale-inst.cc: Remove.
5085 * include/bits/locale_facets.h (class _Collate): Remove.
5086 * src/locale-inst.cc (std): Remove.
5087 * src/locale.cc: And here.
5089 * include/bits/localefwd.h (locale::_M_coalesce): New
5090 function. Correctly put together multi-name locales.
5091 (_Impl(const _Impl&, category, size_t)): Remove.
5093 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
5095 (_M_normalize_category_names): Remove.
5096 (_M_replace_categories): Fix.
5098 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
5099 (locale::_Impl::_M_construct_ctype): Remove.
5100 (locale::_Impl::_M_construct_monetary): Remove.
5101 (locale::_Impl::_M_construct_numeric): Remove.
5102 (locale::_Impl::_M_construct_time): Remove.
5103 (locale::_Impl::_M_construct_messages): Remove.
5105 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
5106 (_Use_facet_failure_handle): Remove.
5107 * src/locale.cc: Remove definitions.
5108 * src/locale-inst.cc: And here.
5110 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
5112 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
5113 create and error-check underlying locale object.
5114 (locale::facet::_S_destroy_c_locale): Add, take care of properly
5115 tearing down underlying locale object.
5116 * include/bits/localefwd.h (locale::facet): Declare.
5117 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
5118 correctness, as glibc apparently has incorrect info in it. Test
5119 with it when it works again.....
5121 * include/bits/localefwd.h (locale::_Impl::__vec_string):
5122 Remove. Number of categories is fixed at six, so just simplify and
5123 make this an array of strings.
5124 (locale::_Impl::_M_has_name): Remove.
5125 (locale::_Impl::_M_name): Remove.
5126 (locale::_Impl::_M_category_names): Turns into...
5127 (locale::_Impl::_M_names): ...this.
5128 (locale::_Impl::_M_has_same_name()): New function.
5129 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
5130 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
5132 * src/locale.cc (locale::name()): Construct mangled name
5133 accurately reflecting combined locale categories.
5135 * src/locale.cc (locale::classic()): Don't initialize here.
5136 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
5137 __refs, bool __has_name, string __str): Do it here.
5139 * include/bits/localefwd.h: _S_categories_num to
5140 _S_num_categories. _S_facets_num to _S_num_facets.
5141 (locale::id::id()): Explicitly set _M_index to zero.
5142 * src/locale.cc: Same.
5144 * src/locale.cc: (locale::locale(const char*)): Construct named
5147 * src/locale.cc: Remove numpunct_byname ctors.
5148 * testsuite/22_locale/numpunct_byname.cc: New file.
5149 * testsuite/22_locale/numpunct.cc: New file.
5151 * include/bits/localefwd.h (class locale): Change data members to
5152 protected, from private.
5153 (_Impl::_M_get_c_locale): Add member function.
5154 (locale::facet::_M_get_global_impl()): Add member function.
5155 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
5156 a __c_locale pointer.
5157 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
5159 * testsuite/22_locale/members.cc: New file, test name and combine.
5161 * include/bits/locale_facets.h (class numpunct): Remove class
5162 _Punct and _Numpunct. Rewrite class numpunct to be correct for
5164 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
5165 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
5166 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
5167 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
5168 * testsuite/22_locale/numpunct_char_members.cc: New file.
5170 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
5172 * testsuite/README: Add more comment.
5173 * testsuite/lib/libstdc++.exp: Tweak comment.
5175 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
5177 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
5179 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
5181 * testsuite/21_strings/inserters_extractors.cc: Remove
5182 explicit reference to 'testsuite/'.
5184 2001-01-25 Richard Henderson <rth@redhat.com>
5186 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
5187 bits. Fixes Tru64 build issues.
5189 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
5191 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
5192 (use ${MAKE-make}, not ${MAKE:-make}).
5193 * aclocal.m4, configure: Regenerate.
5195 2001-01-25 Mark Mitchell <mark@codesourcery.com>
5197 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
5200 * src/Makefile.am (sources): Add globals.cc.
5201 * src/Makefile.in: Regenerated.
5202 * src/globals.cc: New file.
5203 * src/ios.cc (cin): Don't define here, just declare extern.
5212 2001-01-25 Phil Edwards <pme@sources.redhat.com>
5214 * include/bits/std_iterator.h: Do not include stl_relops.h.
5215 * include/bits/std_numeric.h: Ditto.
5216 * include/bits/stl_algobase.h: Ditto.
5217 * include/bits/stl_relops.h: Add comment warning about problems.
5219 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
5221 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
5222 in testcases. Prepare for the DejaGnu based framework.
5223 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
5224 directory -- it is now mkcheck working directory.
5225 * tests_flags.in: Remove reference to $(top_srcdir). Use
5227 * Makefile.am (check, check-install): Change mkcheck invocation
5229 * Makefile.in: Regenerate.
5231 2001-01-24 Mark Mitchell <mark@codesourcery.com>
5233 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
5234 (__always_swap): Likewise.
5236 2001-01-23 Chris Demetriou <cgd@broadcom.com>
5238 * libsupc++/exception_support.cc (__terminate_func): Remove
5240 (__terminate_func_ptr): New typedef.
5241 (__terminate, __terminate_set_func): New extern function
5243 (std::terminate): Use __terminate function.
5244 (std::set_terminate): Use __terminate_set_func function.
5246 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
5248 * configure.target: Just use os_include_dir always.
5249 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
5250 Link atomicity files and ctype files here.
5251 * configure: Regenerate.
5252 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
5253 (GLIBCPP_ENABLE_ATOMICITY): Remove.
5254 * aclocal.m4: Regenerate.
5256 2001-01-23 Chris Demetriou <cgd@broadcom.com>
5258 * configure.in: Place definition of MULTISUBDIR in
5259 libsupc++/Makefile as is done for src/Makefile.
5260 * configure: Regenerate.
5262 2001-01-23 Phil Edwards <pme@sources.redhat.com>
5264 * acinclude.m4: Cosmetic changes only.
5265 * aclocal.m4: Regenerated.
5266 * configure: Regenerated.
5267 * configure.target: Update documented list of changed variables.
5268 * docs/html/install.html: Fix typo.
5269 * docs/html/20_util/howto.html: More notes on auto_ptr.
5270 * docs/html/27_io/howto.html: More notes on streabufs.
5271 * docs/html/faq/index.html: Add rel_ops problem and mention the
5272 DEC as(1) .subsection difficulty.
5273 * docs/html/faq/index.txt: Regenerated.
5275 2001-01-23 Mark Mitchell <mark@codesourcery.com>
5277 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
5278 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
5279 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
5280 its already provided in config.target.
5281 * aclocal.m4: Regenerated.
5282 * configure: Likewise.
5283 * configure.target: Set ctype_include_dir for lots of systems.
5284 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
5285 * libsupc++/Makefile.in: Regenerated.
5287 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
5289 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
5292 * testsuite/README: Add comment.
5294 2001-01-21 Phil Edwards <pme@sources.redhat.com>
5296 * docs/html/configopts.html: Update for current status. Fix HTML.
5297 * docs/html/install.html: Update for current status.
5299 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5301 * testsuite/libstdc++.tests/tests.exp: New file.
5302 * testsuite/lib/libstdc++.exp: Itou.
5303 * testsuite/README: Itou.
5305 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
5307 * tests_flags.in: Just output the bare minimum to run tests.
5308 Let's the caller do its own arrangement.
5310 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
5313 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
5315 * testsuite/17_intro: Prepare testcases for new style DejaGnu
5318 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
5320 * testsuite/libstdc++.tests, testsuite/lib: New directories.
5322 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
5324 * mkcheck.in: Construct file names that match $objdir structure.
5325 * testsuite/27_io/filebuf_members-1.txt: New file.
5326 * testsuite/27_io/ifstream_members-1.txt: New file.
5327 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
5329 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
5330 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
5332 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5334 * testsuite/27_io/istream_sentry.cc (test02): Fix.
5336 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
5339 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
5340 * src/ios.cc (ios_base::failure): Make definitions match.
5341 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
5342 (class bad_cast): Same.
5343 * libsupc++/exception (class exception): Add throw specs.
5344 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
5345 (set_unexpected): Same.
5346 (uncaught_exception): Same.
5349 * docs/html/17_intro/C++STYLE (classname): Fix.
5351 2001-01-16 Mark Mitchell <mark@codesourcery.com>
5353 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
5354 Use it do explicitly instantiate predicate<T> and value<T> for
5357 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
5359 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
5360 uninitialized thinko in last change.
5362 2001-01-16 Mark Mitchell <mark@codesourcery.com>
5364 * libsupc++/exception_support.cc (__cp_pop_exception): Change
5367 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
5369 * docs/html/17_intro/C++STYLE (classname): Add more existing
5370 and stylish patterns.
5373 * include/bits/istream.tcc (istream::sentry::sentry()): Set
5374 failbit if the state of the stream is not good.
5375 * testsuite/27_io/istream_sentry.cc (test02): Add test.
5376 * testsuite/27_io/istream_manip.cc (test01): Modify.
5379 reported by Paolo Carlini <pcarlini@unitus.it>
5380 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
5381 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
5384 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
5385 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
5386 (xsgetn): Same. Simplify.
5387 * testsuite/27_io/streambuf.cc (test04): Add testcases.
5389 reported by Larry Evans <jcampbell3@prodigy.net>
5390 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
5391 equality with eof on returned value from overflow.
5393 2001-01-14 Andreas Jaeger <aj@suse.de>
5395 * libio/libio.h: Add test for glibc 2.0.
5397 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
5399 * config/os/djgpp/bits/*: Fix dates.
5401 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
5402 _CharT* __end, _CharT __c): Remove.
5403 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
5404 * include/bits/char_traits.h: Tweak.
5406 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
5408 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
5409 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
5411 * aclocal.m4: regenerated.
5412 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
5413 * configure: regenerated.
5414 * config/os/djgpp, config/os/djgpp/bits: new directories.
5415 * config/os/djgpp/bits/ctype_base.h,
5416 config/os/djgpp/bits/ctype_inline.h,
5417 config/os/djgpp/bits/ctype_noninline.h,
5418 config/os/djgpp/bits/os_defines.h: new files.
5420 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
5422 * include/c_std/bits/std_cstdio.h: Undef printf.
5424 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
5426 * src/ios.cc: Fix typo: change cout->wcout.
5428 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
5429 * src/Makefile.in: Regenerate.
5431 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5433 * include/bits/std_complex.h: Fix a typo.
5435 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
5438 Fixes for libstdc++/1576
5439 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
5440 file, move contents into....
5441 * src/ios.cc: ...Here. Put defines for iostreams objects and
5442 initialization routines into one file to simplify DSO interaction.
5443 * include/bits/std_iostream.h: Touch.
5444 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
5445 * src/Makefile.am (sources): Remove stdstreams.cc.
5446 * src/Makefile.in: Regenerate.
5448 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5450 * tests_flags.in (check_directory): Fix typo.
5452 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5454 * include/bits/std_complex.h: Fix a typo.
5456 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
5458 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
5459 code path:) Remove magic constants and restructure to handle
5460 ctype.h bit mask layout changes more gracefully. (Make fast
5461 code path:) Use __maskrune (), if available.
5462 (is): Remove special case for digit and xdigit masks.
5464 2001-01-09 Robert Lipe <robertlipe@usa.net>
5466 * include/c_std/bits/std_ctime.h: Undefine difftime.
5468 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
5470 * src/gen-num-limits.cc (signal_adapter): New template function.
5471 (signal_handler): Use it, instead of signal.
5472 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
5473 require both tests to trap to set trap_flag.
5475 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
5477 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
5478 initialize mbstate_t member, name offset data members *off, not pos.
5479 * include/bits/fstream.tcc (filebuf::filebuf): Same.
5481 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
5483 reported by Chris G. Demetriou <cgd@sibyte.com>
5484 * configure.in: Change -linux-* to -linux*.
5485 * configure: Regenerate.
5487 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
5489 Fix 27_io/filebuf_members.cc
5490 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
5491 const string& __name, category __cat, size_t __refs): Set
5492 _M_has_name with _M_name.
5493 * include/bits/localefwd.h (locale::operator!=): Protect member
5494 function call with this->.
5495 * src/locale.cc (locale::operator==): Make fast checks first.
5496 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
5498 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
5500 * src/ios.cc (ios_base::Init::Init): Initialize here.
5501 (ios_base::sync_with_stdio): Set here.
5503 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
5505 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
5506 systems that support it, call dup() before fdopen().
5508 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
5510 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
5511 * testsuite/17_intro/header_cwctype.cc (main): New file.
5513 * src/Makefile.am (base_headers): Change.
5514 * include/bits/std_string.h: And here.
5515 * include/bits/string.tcc: Tweaks, move to...
5516 * include/bits/basic_string.tcc: ...Here.
5517 * src/string-inst.cc: Simplify, just instantiate the whole class,
5518 not member-by-member.
5520 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
5522 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
5523 * aclocal.m4: Regenerate.
5524 * configure: Regenerate.
5526 * include/bits/c++config (__GLIBCPP__): Bump version number.
5528 * ChangeLog: Start new log for year 2001
5529 * ChangeLog-2000: New file.
5531 * docs/html/configopts.html: Make sure default values are current,
5534 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
5536 * include/c_std/bits/std_cwchar.h: Same.
5537 * testsuite/17_intro/header_cwchar.cc: Same.
5538 * include/c_std/bits/std_ctime.h: Same.
5539 * testsuite/17_intro/header_ctime.cc: Same.
5540 * include/c_std/bits/std_cstdlib.h: Same.
5541 Clean up undefs, make consistent with cwchar and cmath, etc.
5542 * testsuite/17_intro/header_cstdlib.cc: Same.
5543 * include/c_std/bits/std_cstdio.h: Same here.
5544 * testsuite/17_intro/header_cstring.cc: Same.
5545 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
5546 * testsuite/17_intro/header_cstring.cc: New file. Check for
5547 size_t in namespace std.
5549 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
5550 * acconfig.h (HAVE_MBSTATE_T): Add.
5551 * config.h.in: Regenerate.
5552 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
5554 * aclocal.m4: Regenerate.
5555 * configure: Regenerate.
5556 * testsuite/17_intro/headers_c++.cc: New file.
5557 * testsuite/17_intro/headers_c.cc: Small changes.
5559 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
5561 * tests_flags.in: Fix typo in usage.
5563 * tests_flags.in: Set target specific LIBS for cygwin.