1 2001-12-10 Paolo Carlini <pcarlini@unitus.it>
3 * include/bits/basic_string.tcc (_M_replace_safe): Fix typos.
4 * include/bits/basic_string.h: Fix typos.
6 2001-12-10 Paolo Carlini <pcarlini@unitus.it>
7 Nathan Myers <ncm@cantrip.org>
9 * include/bits/basic_string.tcc (_M_replace_safe): New function.
10 (_M_replace(input_iterator_tag), append members): Use it.
11 (_M_replace(forward_iterator_tag)): Remove.
12 * include/bits/basic_string.h: Adjust declarations.
13 * src/string-inst.cc: Adjust declarations.
15 2001-12-09 Benjamin Kosnik <bkoz@redhat.com>
16 Philip Martin <pmartin@uklinux.net>
18 * include/bits/locale_facets.h (__num_base::_S_scale_hex): Add.
19 (__num_base::_S_scale_oct): Add.
20 * src/locale.cc: Add definitions.
21 * testsuite/27_io/istream_extractor_arith.cc (main): Call test13.
23 * testsuite/testsuite_hooks.h: Remove duplicate VERIFY define.
25 2001-12-07 Nathan Myers <ncm@cantrip.org>
26 Loren Rittle <ljrittle@acm.org>
29 * config/cpu/sparc/sparc32/bits/atomicity.h
30 (struct __Atomicity_lock<__inst>): Add.
31 (__Atomicity_lock<__inst>::_S_atomicity_lock): Add.
32 (__exchange_and_add): Use __Atomicity_lock<0>::_S_atomicity_lock
33 instead of lock local to static function.
34 (__atomic_add): Likewise.
36 2001-12-07 Phil Edwards <pme@gcc.gnu.org>
38 * src/globals.cc: Remove __GTHREADS guard.
40 2001-12-07 Paolo Carlini <pcarlini@unitus.it>
42 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
43 Extend comment, reduce __cs_size for non-fixed outputs.
45 2001-12-07 Paolo Carlini <pcarlini@unitus.it>
47 * include/bits/basic_string.tcc (_M_mutate): Fix typo
48 in the previous check in.
50 2001-12-06 Paolo Carlini <pcarlini@unitus.it>
51 Loren J. Rittle <ljrittle@acm.org>
53 * include/bits/basic_string.tcc (_M_mutate, _M_clone): Implement
54 exponential growth policy to meet linear amortized time
55 requirements of the standard.
56 (_S_create): Adjust comment.
58 2001-12-06 Benjamin Kosnik <bkoz@redhat.com>
61 * include/bits/locale_facets.tcc (num_put): Clean.
62 (num_get::_M_extract_float): Change argument to string.
63 (num_get::do_get(float)): Fixup.
64 (num_get::do_get(double)): Same.
65 (num_get::do_get(long double)): Same.
66 (num_get::_M_extract_int): Add maximum length parameter, __max.
67 (num_get::_M_extract_float): Correct zeros, use string.
68 * include/bits/locale_facets.h (num_get::_M_extract_float): Change
70 * src/locale.cc (__num_base::_S_atoms): Remove x, X.
71 * testsuite/27_io/istream_extractor_arith.cc (test13): Add.
73 2001-12-06 Philip Martin <pmartin@uklinux.net>
75 * testsuite/27_io/istream_extractor_arith.cc (test12): Add
76 tests for excess input digits.
78 2001-12-06 Phil Edwards <pme@gcc.gnu.org>
80 * include/bits/std_bitset.h: Use GLIBCPP in multiple-inclusion guard.
81 * include/bits/stl_algo.h: Likewise.
82 * include/bits/stl_algobase.h: Likewise.
83 * include/bits/stl_bvector.h: Likewise.
84 * include/bits/stl_deque.h: Likewise.
85 * include/bits/stl_function.h: Likewise.
86 * include/bits/stl_iterator.h: Likewise.
87 * include/bits/stl_iterator_base_funcs.h: Likewise.
88 * include/bits/stl_iterator_base_types.h: Likewise.
89 * include/bits/stl_list.h: Likewise.
90 * include/bits/stl_multimap.h: Likewise.
91 * include/bits/stl_multiset.h: Likewise.
92 * include/bits/stl_pair.h: Likewise.
93 * include/bits/stl_queue.h: Likewise.
94 * include/bits/stl_set.h: Likewise.
95 * include/bits/stl_stack.h: Likewise.
96 * include/bits/stl_tempbuf.h: Likewise.
97 * include/bits/stl_tree.h: Likewise.
98 * include/bits/stl_vector.h: Likewise.
100 * include/bits/stl_alloc.h: Use our own multiple inclusion guards.
101 Doxygenate more comments. Correct historical artifacts in comments.
102 (alloc, single_alloc): Uglify non-standard names.
103 (__default_alloc_template::_NFREELISTS): Calculate from other
105 (__default_alloc_template::_S_free_list): Remove SunPro workaround.
106 (__default_alloc_template::_Lock): Mark as "unused".
107 * include/backward/alloc.h: Update.
108 * include/bits/stl_bvector.h: Likewise.
109 * include/ext/ropeimpl.h: Likewise.
110 * include/ext/stl_hashtable.h: Likewise.
112 2001-12-05 Benjamin Kosnik <bkoz@redhat.com>
115 * include/bits/locale_facets.tcc (num_put::_M_widen_float): Add
116 grouping to floating point types.
117 * testsuite/27_io/ostream_inserter_arith.cc (test02): Add test.
119 2001-12-04 Paolo Carlini <pcarlini@unitus.it>
122 * testsuite/27_io/ostream_inserter_arith.cc (test02): Add testcase
124 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
125 Deal properly with long ios_base::fixed floats.
126 (num_put::_M_widen_float): use
127 __len in __builtin_alloca call.
129 2001-12-04 Benjamin Kosnik <bkoz@redhat.com>
131 * src/Makefile.am (sources): Add ext-inst.cc.
132 * src/Makefile.in: Regenerate.
133 * src/ext-inst.cc: New file.
134 * include/bits/stl_threads.h: Format.
135 * src/globals.cc: Add instantiation for _S_swap_lock.
137 * testsuite/18_support/numeric_limits.cc: Add numeric_limits<B>
140 2001-12-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
142 * testsuite/22_locale/numpunct_members_wchar_t.cc: Only compile
143 and execute test01 if _GLIBCPP_USE_WCHAR_T is defined.
144 * testsuite/26_numerics/complex_inserters_extractors.cc: Provide
145 for explicit instantiation of class std::basic_string<char,
146 gnu_char_traits, std::allocator<char> >.
148 2001-12-03 Benjamin Kosnik <bkoz@redhat.com>
150 * testsuite/22_locale/collate.cc: Compile-only.
151 * testsuite/22_locale/time_get.cc: Same.
152 * testsuite/22_locale/time_put.cc: Same.
153 * testsuite/22_locale/numpunct.cc: Same.
154 * testsuite/22_locale/num_put.cc: Same.
155 * testsuite/22_locale/num_get.cc: Same.
156 * testsuite/22_locale/moneypunct.cc: Same.
157 * testsuite/22_locale/money_get.cc: Same.
158 * testsuite/22_locale/messages.cc: Same.
159 * testsuite/22_locale/ctype.cc: Same.
161 2001-12-03 Benjamin Kosnik <bkoz@redhat.com>
163 * src/string-inst.cc (string::_Rep::_S_terminal): Add static data
164 member instantiations.
166 2001-12-03 Steve Ellcey <sje@cup.hp.com>
168 * libstdc++-v3/configure.in: Add support for hpux cross compiles,
169 combine common linux/hpux/generic cross compile support to reduce
171 * libstdc++-v3/configure: Regenerate.
173 2001-12-03 Loren J. Rittle <ljrittle@acm.org>
175 * docs/html/ext/howto.html: Update commentary.
176 * include/bits/c++config: Update threading configuration comment.
177 (__STL_GTHREADS): Remove macro definition.
178 (__STL_THREADS): Likewise.
179 * include/bits/stl_threads.h: Leave only the configuration
180 path which had been guarded by __STL_GTHREADS. Remove all
181 guards related to __STL_GTHREADS, __STL_SGI_THREADS,
182 __STL_PTHREADS, __STL_UITHREADS and __STL_WIN32THREADS.
183 * include/bits/stl_alloc.h: Leave only the configuration path
184 which had been guarded by __STL_THREADS. Remove configuration
185 path and guards for __STL_SGI_THREADS.
186 (__NODE_ALLOCATOR_THREADS): Remove macro definition. Unroll its use.
187 (__NODE_ALLOCATOR_LOCK): Likewise.
188 (__NODE_ALLOCATOR_UNLOCK): Likewise.
189 (_NOTHREADS): Remove guards related to macro.
190 * include/ext/stl_rope.h: Remove configuration path and guards
191 for __STL_SGI_THREADS.
192 * src/stl-inst.cc: Remove use of __NODE_ALLOCATOR_THREADS.
194 2001-12-02 Phil Edwards <pme@gcc.gnu.org>
196 * docs/html/ext/howto.html: Update list of implemented DRs.
197 * docs/html/ext/lwg-active.html: Import R20 from upstream.
198 * docs/html/ext/lwg-defects.html: Import R20 from upstream.
200 2001-11-30 Benjamin Kosnik <bkoz@redhat.com>
204 * libsupc++/exception (bad_exception::~bad_exception()): Remove
206 * libsupc++/new (bad_alloc::~bad_alloc()): Remove.
207 * libsupc++/typeinfo (bad_cast::~bad_cast()): Remove.
208 (bad_typeid::~bad_typeid()): Remove.
209 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Remove definition.
210 (bad_typeid::~bad_typeid()): Same.
211 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
212 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()): Same.
214 * include/bits/std_iomanip.h: Tweak.
216 2001-11-29 Paolo Carlini <pcarlini@unitus.it>
219 * include/bits/locale_facets.tcc (__pad): Add bool parameter to
220 correctly pad internal-adjusted const char*-type objects.
221 * include/bits/locale_facts.tcc (num_put::_M_insert): Update call.
222 * include/bits/ostream.tcc (operator<<(_CharT , char, const
223 _CharT*, const char*, const basic_string&): Update calls.
224 * src/locale-inst.tcc: Update declarations.
225 * testsuite/27_io/ostream_inserter_arith.cc (test04): Add test.
227 2001-11-29 Phil Edwards <pme@gcc.gnu.org>
229 * docs/html/ext/howto.html: Finish allocator notes (inst and 3.0).
231 2001-11-29 Benjamin Kosnik <bkoz@redhat.com>
233 * include/bits/locale_facets.tcc (num_get::do_get(long double)):
234 Fix __traits_type typo.
236 2001-11-28 Paolo Carlini <pcarlini@unitus.it>
238 * include/bits/locale_facets.tcc (__pad): Correctly pad
239 internal-adjusted hex numbers.
240 * testsuite/27_io/ostream_inserter_arith.cc: Add testcase.
242 2001-11-28 Paolo Carlini <pcarlini@unitus.it>
243 Loren J. Rittle <ljrittle@acm.org>
245 * include/bits/basic_string.h
246 (basic_string::_Rep::__default_excess, _S_excess_slop):
248 * include/bits/basic_string.tcc: Remove dead code.
249 * include/bits/c++config: Remove comment.
251 2001-11-28 Benjamin Kosnik <bkoz@redhat.com>
252 Jakub Jelinek <jakub@redhat.com>
254 * config/locale/moneypunct_members_gnu.cc
255 (moneypunct<wchar_t>::_M_initialize_moneypunct): Correctly cast
257 * config/locale/numpunct_members_gnu.cc
258 (numpunct<wchar_t>::_M_initialize_numpunct): Same.
260 2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
262 * include/bits/locale_facets.tcc: Formatting tweaks.
264 * testsuite/23_containers/map_operators.cc: Don't xfail.
265 * testsuite/23_containers/set_operators.cc: Same.
266 * testsuite/backward/header_iterator_h.cc: Pass in -Wno-deprecated.
267 * testsuite/backward/header_deque_h.cc: Same.
269 2001-11-27 Loren J. Rittle <ljrittle@acm.org>
270 Paolo Carlini <pcarlini@unitus.it>
272 * include/bits/basic_string.tcc (basic_string::_Rep::_S_create):
273 Enforce allocation size blocking policy to reduce
274 fragmentation and enhance performance with common malloc
277 2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
279 Numeric facets cleanup.
280 * include/bits/locale_facets.h (__num_base::_S_atoms): Add, remove
282 (__num_base::_M_zero): Add
283 (__num_base::_M_e): Add.
284 (__num_base::_M_E): Add.
285 * include/bits/locale_facets.tcc (num_get::_M_extract): Remove.
286 (num_get::_M_extract_float): New.
287 (num_get::_M_extract_int): New.
288 * src/locale.cc (num_get::_M_extract): Remove.
290 * include/bits/locale_facets.tcc (num_put::_M_insert_float):
291 Simplify, use _M_insert.
292 (num_put::do_put(bool)): Simplify, remove __pad.
294 (__pad_output): Change to __pad.
295 * include/bits/ostream.tcc: And here.
296 * src/locale-inst: Remove instantiations.
298 * include/bits/locale_facets.h: Move helper functions in to class
300 (num_put::_M_insert_float): Same, for __output_integer.
301 (num_put::_M_insert_int): Same, for __output_float.
302 (num_put::_M_insert): New.
304 (__num_base::_S_format_float): Move
305 __build_float_format into class __num_base.
306 (__num_base::_S_format_int): Move __build_int_format into class
308 * include/bits/locale_facets.tcc (__group_digits): Change to
309 (__add_grouping): This.
310 * src/locale-inst.cc: And here. Tweak instantiations.
311 * src/misc-inst.cc: Remove instantiations.
313 * include/bits/ostream.tcc (__pad_char): Rename, adjust inserters
314 for new calling conventions, move to...
315 * include/bits/locale_facets.tcc (__pad_output): Here. Adjust
316 signature to make it useful for both ostream and num_put.
317 (__pad_numeric): Remove.
318 * src/misc-inst.cc: Remove instantiations.
319 * src/locale-inst.cc: Same.
321 * include/bits/locale_facets.h (_Numeric_get): Remove.
322 (_Numeric_put): Remove.
323 (num_get::get(short)): Remove.
324 (num_get::get(int)): Remove.
325 (num_get::do_get(short)): Remove.
326 (num_get::do_get(int)): Remove.
327 * include/bits/istream.tcc (istream::operator>>(short)): Fix as
329 (istream::operator>>(int)): Same.
331 * include/bits/locale_facets.h (_Format_cache): Remove.
332 * include/bits/locale_facets.tcc: Same.
333 * src/locale.cc: Same.
334 * src/locale-inst.cc: Same.
335 * include/bits/ostream.tcc: Same.
336 * src/ios.cc (ios_base::imbue): Remove here as well.
338 * testsuite/22_locale/num_get.cc: New file.
339 * testsuite/22_locale/num_get_members_char.cc: New file.
340 * testsuite/22_locale/num_get_members_wchar_t.cc: New.
341 * testsuite/22_locale/numpunct_members_wchar_t.cc: New file.
342 * testsuite/22_locale/num_put.cc: New file.
343 * testsuite/22_locale/num_put_members_char.cc: New file.
344 * testsuite/22_locale/num_put_members_wchar_t.cc: New file.
345 * testsuite/27_io/ostream_inserter_arith.cc: Fix.
346 * testsuite/27_io/istream_extractor_arith.cc: Fix.
348 2001-11-27 Phil Edwards <pme@gcc.gnu.org>
350 * docs/html/explanations.html: New section, empty for now.
351 * docs/html/17_intro/howto.html: Cleanup. Move unrelated link...
352 * docs/html/23_containers/howto.html: ...to here. Break up and
353 rewrap threading discussion to emphasize warning. Move malloc text...
354 * docs/html/ext/howto.html: ...to here. New section. Describe
355 allocators and __USE_MALLOC effects.
356 * docs/html/ext/sgiexts.html: Mention their code.
358 2001-11-24 Joseph S. Myers <jsm28@cam.ac.uk>
360 * docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
361 docs/html/27_io/binary_iostreams_kuehl.txt: Revert previous
364 2001-11-23 Phil Edwards <pme@gcc.gnu.org>
366 * Makefile.am (doxygen-maint): The script isn't executable in CVS.
367 * Makefile.in: Regenerated.
368 * docs/doxygen/TODO: New file listing doxygen work to be done.
369 * docs/doxygen/run_doxygen: Fix up man pages.
370 * docs/doxygen/user.cfg.in: Insert maint-only toggles.
371 * docs/doxygen/maint.cfg.in: Copy from user.cfg and turn toggles on.
372 * include/bits/stl_construct.h: Use new hooks for internal functions.
374 * docs/html/17_intro/TODO: Small updates.
375 * docs/html/faq/index.html: Likewise.
376 * docs/html/faq/index.txt: Regenerated.
378 * include/bits/stl_alloc.h: Doxygenate, reindent comments, remove
379 SGI-isms and wrappers.
380 (simple_alloc, debug_alloc): Uglify class names.
381 (__default_alloc_template): Uglify "threads" template parameter and
382 update corresponding macros.
383 * include/backward/alloc.h: Bring up to date.
385 2001-11-23 Jason Merrill <jason@redhat.com>
387 * src/vterminate.cc (__verbose_terminate_handler): Add leading
390 2001-11-23 Joseph S. Myers <jsm28@cam.ac.uk>
392 * ChangeLog, docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
393 docs/doxygen/doxygroups.cc, docs/doxygen/Intro.3,
394 docs/html/17_intro/BUGS, docs/html/17_intro/C++STYLE,
395 docs/html/17_intro/CHECKLIST, docs/html/17_intro/DESIGN,
396 docs/html/17_intro/howto.html, docs/html/17_intro/porting.html,
397 docs/html/17_intro/porting.texi, docs/html/18_support/howto.html,
398 docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
399 docs/html/21_strings/howto.html,
400 docs/html/23_containers/howto.html,
401 docs/html/26_numerics/howto.html, docs/html/27_io/howto.html,
402 docs/html/27_io/binary_iostreams_kuehl.txt,
403 docs/html/ext/sgiexts.html, docs/html/faq/index.html,
404 docs/html/faq/index.txt, testsuite/24_iterators/iterator.cc,
405 include/bits/basic_file.h, include/bits/locale_facets.h,
406 include/bits/locale_facets.tcc, include/bits/std_sstream.h,
407 include/ext/ropeimpl.h, include/ext/stl_rope.h,
408 libsupc++/tinfo.cc, libsupc++/cxxabi.h, libsupc++/typeinfo,
409 libsupc++/eh_throw.cc, acinclude.m4, aclocal.m4, configure,
410 configure.target, ChangeLog-2000: Fix spelling errors.
412 * config/locale/moneypunct_members_gnu.cc,
413 include/bits/locale_facets.h: Fix spelling errors.
415 2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
417 * testsuite/23_containers/list_capacity.cc: New file.
418 * testsuite/23_containers/list_ctor.cc: New file.
419 * testsuite/23_containers/list_modifiers.cc: New file.
420 * testsuite/23_containers/list_operators.cc: New file.
422 2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
424 * include/bits/stl_list.h: Reformatted according to C++STYLE rules.
425 (size): Replaced nonstandard distance() call with the standard one.
426 (transfer): Uglified to _M_transfer.
428 2001-11-21 Paolo Carlini <pcarlini@unitus.it>
431 * include/bits/basic_string.tcc (basic_string::reserve): Never shrink
432 below the current size.
433 * testsuite/21_strings/capacity.cc (test02): Add test.
435 2001-11-19 Phil Edwards <pme@gcc.gnu.org>
437 * docs/doxygen/Intro.3: More notes.
438 * docs/doxygen/style.css: Update to default style from Doxygen 1.2.10.
439 * include/bits/stl_algobase.h: Add doxygen hooks for functions.
440 * include/ext/hash_map: Add @file hook.
441 * include/ext/hash_set: Likewise.
442 * include/ext/rope: Likewise.
443 * include/ext/ropeimpl.h: Likewise.
444 * include/ext/slist: Likewise.
445 * include/ext/stl_hash_fun.h: Likewise.
446 * include/ext/stl_hashtable.h: Likewise.
447 * include/ext/stl_rope.h: Likewise.
449 * docs/html/17_intro/license.html: Remove "experimental" sentence.
450 * docs/html/19_diagnostics/howto.html: Document new verbose
452 * testsuite/27_io/filebuf.cc: Fix comment, move tweakable parameter
453 to more visible (closer to description) position.
455 * libsupc++/eh_type.cc: Formatting tweak.
456 * libsupc++/exception: Likewise.
457 * src/vterminate.cc: Likewise.
459 * docs/html/17_intro/porting.html: Regenerate.
460 * docs/html/faq/index.txt: Regenerate.
462 2001-11-18 Jason Merrill <jason@redhat.com>
464 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Take void*.
465 * libsupc++/eh_catch.cc (__cxa_begin_catch): Likewise.
466 * libsupc++/unwind-cxx.h: Adjust.
467 * src/Makefile.am (strstream.o): Pass -Wno-deprecated.
469 * libsupc++/eh_type.cc (__cxa_current_exception_type): New file.
470 * libsupc++/cxxabi.h: Declare it.
471 * libsupc++/Makefile.am (sources): Add it.
472 * src/vterminate.cc (verbose_terminate_handler): New file.
473 * libsupc++/exception: Declare it.
474 * src/Makefile.am (sources): Add it.
476 * src/Makefile.am (VPATH): Check the src directory before the top one.
478 2001-11-16 Paolo Carlini <pcarlini@unitus.it>
480 * include/bits/stl_deque.h (deque::erase()): Fix memory leak.
482 2001-11-16 Loren J. Rittle <ljrittle@acm.org>
484 * docs/html/17_intro/howto.html (Thread-safety): Rename
485 section to ``The Standard C++ library and multithreading'' and
486 update information based on recent mailing list traffic. Move
487 all discussion of __USE_MALLOC to...
488 * docs/html/23_containers/howto.html (Containers and multithreading):
489 ...here and rework it based on recent mailing list traffic.
491 2001-11-15 Loren J. Rittle <ljrittle@acm.org>
493 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Clarify
496 2001-11-15 <bjornw@planetarion.com>
497 Loren J. Rittle <ljrittle@acm.org>
500 * include/bits/stl_alloc.h (alloc): Update to use __mem_interface.
501 (single_client_alloc): Likewise.
503 2001-11-08 Danny Smith <dannysmith@users.sourceforge.net>
505 * configure.target: Add os_include_dir for mingw32* target.
506 * docs/html/17_intro/porting.texi: Mention mingw32 as target benefiting
507 from _GLIBCPP_AVOID_FSEEK.
508 * config/os/mingw32/bits/ctype_base.h: New file.
509 * config/os/mingw32/bits/ctype_inline.h: New file.
510 * config/os/mingw32/bits/ctype_noninline.h: New file.
511 * config/os/mingw32/bits/os_defines.h: New file.
513 2001-11-07 Nathan Myers <ncm@cantrip.org>
515 * docs/html/faq/index.html (5.8): New entry on ABIs.
516 * docs/html/faq/index.txt: Regenerate.
518 2001-11-07 Phil Edwards <pme@gcc.gnu.org>
520 * docs/html/faq/index.html: Explain libsupc++, mention 'long long'
522 * docs/html/faq/index.txt: Regenerate.
524 2001-11-06 Phil Edwards <pme@gcc.gnu.org>
526 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Run the test in
528 * aclocal.m4: Regenerate.
529 * configure: Regenerate.
531 2001-11-05 Phil Edwards <pme@gcc.gnu.org>
533 * porting.texi: Move...
534 * docs/html/17_intro/porting.texi: ...to here.
535 * docs/html/Makefile: Add rule to rebuild...
536 * docs/html/17_intro/porting.html: ...this. New file.
538 2001-11-05 Felix Natter <fnatter@gmx.net>
540 * docs/html/17_intro/porting-howto.xml: check in v0.9.4
541 * docs/html/17_intro/porting-howto.html: regenerate
543 2001-11-02 Loren J. Rittle <ljrittle@acm.org>
545 * include/bits/stl_threads.h (_Atomic_swap): Only enable path
546 when platform supports __GTHREAD_MUTEX_INIT.
548 2001-11-02 Phil Edwards <pme@gcc.gnu.org>
550 * acconfig.h: Update comments.
551 * acinclude.m4 (GLIBCPP_ENABLE_C99): Move strtoll, strtoull tests...
552 (GLIBCPP_ENABLE_LONG_LONG): ...to here. Don't check enable_c99.
553 * aclocal.m4: Regenerate.
554 * config.h.in: Regenerate.
555 * configure: Regenerate.
557 * include/bits/boost_concept_check.h: Unconditionally compile uses
558 of 'long long' which require only compiler support, not C lib support.
559 * include/bits/cpp_type_traits.h: Likewise.
560 * include/bits/std_limits.h: Likewise.
561 * include/bits/type_traits.h: Likewise.
562 * src/concept-inst.cc: Likewise.
563 * src/limits.cc: Likewise.
564 * include/c_shadow/stdlib.h: Compile conditionally on _GLIBCPP_USE_C99
565 instead of _GLIBCPP_USE_LONG_LONG.
566 * include/c_shadow/bits/std_cstdlib.h: Likewise.
568 2001-11-02 Phil Edwards <pme@gcc.gnu.org>
570 * config/io/c_io_stdio.h: Correct grammar in comments.
571 * docs/doxygen/Intro.3: Expand "top-level" man page.
572 * docs/doxygen/doxygroups.cc: New module definitions (comments).
573 * docs/doxygen/mainpage.doxy: Tweaks.
574 * docs/doxygen/run_doxygen: Update Doxygen version, massage man pages.
576 Add @file hooks so that headers are considered to be documented.
577 * include/bits/basic_ios.h, include/bits/basic_file.h,
578 include/bits/basic_string.h, include/bits/boost_concept_check.h,
579 include/bits/char_traits.h, include/bits/codecvt.h,
580 include/bits/concept_check.h, include/bits/cpp_type_traits.h,
581 include/bits/fpos.h, include/bits/gslice.h, include/bits/gslice_array.h,
582 include/bits/indirect_array.h, include/bits/ios_base.h,
583 include/bits/locale_facets.h, include/bits/localefwd.h,
584 include/bits/mask_array.h, include/bits/pthread_allocimpl.h,
585 include/bits/slice.h, include/bits/slice_array.h,
586 include/bits/std_algorithm.h, include/bits/std_bitset.h,
587 include/bits/std_complex.h, include/bits/std_deque.h,
588 include/bits/std_fstream.h, include/bits/std_functional.h,
589 include/bits/std_iomanip.h, include/bits/std_ios.h,
590 include/bits/std_iosfwd.h, include/bits/std_iostream.h,
591 include/bits/std_istream.h, include/bits/std_iterator.h,
592 include/bits/std_limits.h, include/bits/std_list.h,
593 include/bits/std_locale.h, include/bits/std_map.h,
594 include/bits/std_memory.h, include/bits/std_numeric.h,
595 include/bits/std_ostream.h, include/bits/std_queue.h,
596 include/bits/std_set.h, include/bits/std_sstream.h,
597 include/bits/std_stack.h, include/bits/std_streambuf.h,
598 include/bits/std_string.h, include/bits/std_utility.h,
599 include/bits/std_valarray.h, include/bits/std_vector.h,
600 include/bits/stl_algo.h, include/bits/stl_alloc.h,
601 include/bits/stl_bvector.h, include/bits/stl_construct.h,
602 include/bits/stl_deque.h, include/bits/stl_heap.h,
603 include/bits/stl_iterator.h, include/bits/stl_iterator_base_funcs.h,
604 include/bits/stl_iterator_base_types.h, include/bits/stl_list.h,
605 include/bits/stl_map.h, include/bits/stl_multimap.h,
606 include/bits/stl_multiset.h, include/bits/stl_numeric.h,
607 include/bits/stl_pair.h, include/bits/stl_pthread_alloc.h,
608 include/bits/stl_queue.h, include/bits/stl_raw_storage_iter.h,
609 include/bits/stl_relops.h, include/bits/stl_set.h,
610 include/bits/stl_stack.h, include/bits/stl_tempbuf.h,
611 include/bits/stl_threads.h, include/bits/stl_tree.h,
612 include/bits/stl_uninitialized.h, include/bits/stl_vector.h,
613 include/bits/stream_iterator.h, include/bits/streambuf_iterator.h,
614 include/bits/stringfwd.h, include/bits/type_traits.h,
615 include/bits/valarray_array.h, include/bits/valarray_meta.h:
616 Add hooks, tweak comments only.
618 * include/bits/stl_algobase.h (swap, min, iter_swap): Also
619 document these functions.
620 * include/bits/stl_function.h: Tweak link comments.
622 2001-11-01 Paolo Carlini <pcarlini@unitus.it>
623 Benjamin Kosnik <bkoz@redhat.com>
625 * testsuite/27_io/ios_manip_fmtflags.cc: Fix for non-interactive
627 * include/bits/locale_facets.tcc (num_put::do_put(bool)): Fix.
629 2001-11-01 Egor Duda <deo@logos-m.ru>
631 * config/os/newlib/bits/ctype_noninline.h
632 (ctype<char>::do_toupper(char __c)): Check for proper character class.
633 (ctype<char>::do_tolower(char __c)): Ditto.
635 2001-11-01 Phil Edwards <pme@gcc.gnu.org>
637 * acinclude.m4: Fix spacing.
638 (GLIBCPP_ENABLE_CONCEPT_CHECKS): New macro.
639 * configure.in: Call here.
640 * acconfig.h: Add _GLIBCPP_CONCEPT_CHECKS.
641 * include/bits/boost_concept_check.h: Fix headers.
642 (__function_requires): Make inline.
643 * include/bits/c++config (_GLIBCPP_CONCEPT_CHECKS): Remove.
644 * aclocal.m4: Regenerate.
645 * config.h.in: Regenerate.
646 * configure: Regenerate.
648 Move trailing ';' inside macro, PR libstdc++/3666.
649 * include/bits/concept_check.h: Add semicolon.
650 * include/bits/stl_algo.h: Remove semicolon.
651 * include/bits/stl_algobase.h: Likewise.
652 * include/bits/stl_deque.h: Likewise.
653 * include/bits/stl_heap.h: Likewise.
654 * include/bits/stl_iterator_base_funcs.h: Likewise.
655 * include/bits/stl_list.h: Likewise.
656 * include/bits/stl_map.h: Likewise.
657 * include/bits/stl_multimap.h: Likewise.
658 * include/bits/stl_multiset.h: Likewise.
659 * include/bits/stl_numeric.h: Likewise.
660 * include/bits/stl_queue.h: Likewise.
661 * include/bits/stl_set.h: Likewise.
662 * include/bits/stl_stack.h: Likewise.
663 * include/bits/stl_vector.h: Likewise.
664 * include/ext/hash_map: Likewise.
665 * include/ext/hash_set: Likewise.
666 * include/ext/slist: Likewise.
668 * src/concept-inst.cc: New file with explicit instantiations.
669 * src/Makefile.am (sources): Add here, with special build rules.
670 * src/Makefile.in: Regenerate.
672 2001-11-01 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
674 * include/bits/std_complex.h (_Norm_helper): New class template.
676 (abs): Tweak. Fix Thinko.
678 2001-10-31 Benjamin Kosnik <bkoz@redhat.com>
681 * include/bits/codecvt.h: Add virtual member function declarations.
682 * src/codecvt.cc: Tweaks.
683 * testsuite/22_locale/codecvt.cc: Test compilation only,
684 non-required facets not required to have linkage.
686 2001-10-31 Edward E. Meyer <edward.e.meyer@boeing.com>
689 * include/bits/std_complex.h (complex::operator/=): Correct sign.
691 2001-10-30 Paolo Carlini <pcarlini@unitus.it>
692 Benjamin Kosnik <bkoz@redhat.com>
695 * include/bits/basic_string.h: Tweaks.
696 * include/bits/basic_string.tcc (string::_M_replace(iterator,
697 iterator, _ForwardIter, _ForwardIter, forward_iterator_tag): Fix.
698 * src/string-inst.cc: Tweaks, add instantiation.
699 * testsuite/21_strings/replace.cc (test02): Add test.
700 * testsuite/21_strings/assign.cc (test01): New file.
702 2001-10-30 Jakub Jelinek <jakub@redhat.com>
704 * include/bits/stl_deque.h (_M_new_elements_at_front): Use
705 __throw_exception_again.
706 (_M_new_elements_at_back): Likewise.
708 2001-10-29 Benjamin Kosnik <bkoz@redhat.com>
711 * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
712 * testsuite/27_io/filebuf.cc (test07): New test.
713 (test03): Modify showmanyc test.
715 2001-10-26 Benjamin Kosnik <bkoz@redhat.com>
718 * config/locale/codecvt_specializations_ieee_1003.1-200x.h
719 (__enc_traits::~__enc_traits): Fix.
720 (__enc_traits::_M_init): Add error checking.
722 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
725 * include/bits/locale_facets.tcc (time_get::_M_extract_name): Fix.
727 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
730 * include/bits/ostream.tcc (ostream::operator<<(streambuf*)): Fix
732 * include/bits/istream.tcc (istream::operator>>(streambuf*): Make
733 consistent, where possible.
734 * include/bits/streambuf.tcc: Tweak.
736 2001-10-25 Brendan Kehoe <brendan@zen.org>
739 * bits/ostream.tcc (seekp): Scope use as ios_base::failbit.
740 * bits/istream.tcc (seekg): Likewise.
742 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
743 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
744 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
746 * config/os/gnu-linux/bits/os_defines.h: Set to 64 bit longs with
748 * include/bits/std_limits.h: Fix wchar_t issues.
749 * config/os/aix/bits/os_defines.h: Fix.
751 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
753 * include/bits/locale_facets.tcc (collate::do_transform): Fix.
755 2001-10-25 Phil Edwards <pme@gcc.gnu.org>
757 * docs/html/documentation.html: Fix typo.
759 2001-10-23 Benjamin Kosnik <bkoz@redhat.com>
761 Make -fno-exceptions work.
762 * config/locale/c_locale_gnu.cc: Use functexcept.
763 * include/bits/c++config (__stl_assert): Remove.
764 (__STL_USE_EXCEPTIONS): Same.
766 (__STL_CATCH_ALL): Same.
768 (__STL_RETHROW): Same.
769 (__STL_NOTHROW): Same.
770 (__STL_UNWIND): Same.
771 * include/bits/pthread_allocimpl.h: Fix.
772 * include/bits/std_bitset.h: Same.
773 * include/bits/std_list.h: Same.
774 * include/bits/std_memory.h: Same.
775 * include/bits/std_queue.h: Same.
776 * include/bits/stl_alloc.h: Same.
777 * include/bits/stl_deque.h: Same.
778 * include/bits/stl_list.h: Same.
779 * include/bits/stl_queue.h: Same.
780 * include/bits/stl_tempbuf.h: Same.
781 * include/bits/stl_tree.h: Same.
782 * include/bits/stl_uninitialized.h: Same.
783 * include/bits/stl_vector.h: Same.
784 * include/ext/ropeimpl.h: Same.
785 * include/ext/slist: Same.
786 * include/ext/stl_hashtable.h: Same.
787 * include/ext/stl_rope.h: Same.
788 * libsupc++/new_op.cc: Include cstdlib.
789 * libsupc++/eh_personality.cc: Add exception_defines include. Use
790 __throw_exception_again, tweak.
791 * libsupc++/eh_aux_runtime.cc: Include stdlib for abort.
792 * libsupc++/vec.cc: Tweak.
793 * src/functexcept.cc: Remove unused arguments.
794 * testsuite/23_containers/bitset_members.cc: Tweak.
796 2001-10-22 Benjamin Kosnik <bkoz@redhat.com>
798 * config/cpu/i386/bits/limits.h: Move to...
799 * config/cpu/i386/bits/cpu_limits.h: ...here.
800 * config/cpu/cris/bits/cpu_limits.h: Same.
801 * config/cpu/powerpc/bits/cpu_limits.h: Same.
802 * config/cpu/x86-64/bits/cpu_limits.h: Same.
803 * config/cpu/alpha/bits/cpu_limits.h: New.
804 * config/cpu/m68k/bits/cpu_limits.h: New.
805 * config/cpu/s390/bits/cpu_limits.h: New.
806 * config/os/aix/bits/os_defines.h: Tweaks.
807 * config/os/bsd/freebsd/bits/os_defines.h: Same.
808 * config/os/bsd/netbsd/bits/os_defines.h: Same.
809 * config/os/djgpp/bits/os_defines.h: Same.
810 * config/os/generic/bits/os_defines.h: Same.
811 * config/os/gnu-linux/bits/os_defines.h: Same.
812 * config/os/hpux/bits/os_defines.h: Same.
813 * config/os/irix/irix5.2/bits/os_defines.h: Same.
814 * config/os/irix/irix6.5/bits/os_defines.h: Same.
815 * config/os/newlib/bits/os_defines.h: Same.
816 * config/os/solaris/solaris2.5/bits/os_defines.h: Same.
817 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
818 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
820 * include/bits/c++config: Remove include.
821 * include/bits/limits_generic.h: Remove.
822 * include/bits/std_limits.h: Include cpu_limits.h.
823 * include/Makefile.am: Fixup.
824 * src/limits.cc: Tweak.
825 * src/limits_generic.cc: Remove.
826 * src/gen-num-limits.cc: Remove.
827 * mknumeric_limits: Remove.
829 2001-10-20 Brendan Kehoe <brendan@zen.org>
831 * bits/type_traits.h (_Bool): Removed this type.
832 (__true_type, __false_type): Change to be plain structs.
833 * src/string-inst.cc (__destroy_aux): Change third parm to be
834 __false_type instead of _Bool<false>.
835 * src/misc-inst.cc (__uninitialized_fill_n_aux,
836 __uninitialized_copy_aux): Likewise.
838 2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
840 * mkcheck.in (static_fail): Remove older memory limit functionality.
841 Disable E_TIME due to formatting issues.
845 2001-10-19 Brendan Kehoe <brendan@zen.org>
847 * include/bits/std_complex.h: Default initialize second argument
848 of polar to 0, as specified in Library DR #79
850 2001-10-19 Brendan Kehoe <brendan@zen.org>
852 * include/bits/stl_raw_storage_iter.h (operator=): Fix to call
853 _Construct instead of construct.
855 2001-10-19 Brendan Kehoe <brendan@zen.org>
857 * include/bits/basic_string.tcc (find_first_not_of): Take out check for
858 __n being non-zero, since the standard does not mandate that.
859 e.g., a search for "" in "" should yield position 0, not npos.
860 (find_last_not_of): Likewise.
862 2001-10-19 Brendan Kehoe <brendan@zen.org>
864 * include/bits/stl_bvector.h (vector<bool>::_M_range_check): Fix
865 to throw out_of_range, not range_error, thus sayeth $23.1.1.13.
867 2001-10-19 Brendan Kehoe <brendan@zen.org>
869 * include/bits/stl_iterator.h (reverse_iterator::current): Rename
870 member from _M_current, and change all uses; thus sayeth $24.4.1.1.
872 2001-10-19 Brendan Kehoe <brendan@zen.org>
874 * include/bits/stl_algo.h (partial_sort): Add missing `>' on the
875 template parameter _ValueType.
877 2001-10-19 Brendan Kehoe <brendan@zen.org>
879 * include/bits/std_limits.h: Clean up extra semicolons.
880 * include/bits/locale_facets.h: Likewise.
881 * include/bits/type_traits.h: Likewise.
883 2001-10-19 Brendan Kehoe <brendan@zen.org>
885 * include/bits/localefwd.h (locale::combine): Add const for lib DR 14.
886 * include/bits/locale_facets.tcc (locale::combine): Likewise.
888 2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
890 * include/bits/locale_facets.h (__timepunct::_M_put_helper):
891 Declare specializations for char, wchar_t.
893 2001-10-19 Andreas Jaeger <aj@suse.de>
895 * config/cpu/x86-64/bits/limits.h: New file.
896 * config/cpu/x86-64/bits/atomicity.h: New file.
897 * configure.target: Add x86-64.
899 2001-10-17 Phil Edwards <pme@gcc.gnu.org>
901 * docs/html/17_intro/howto.html: Remove 1999 links (and explain
902 why). Add link to recent message.
903 * docs/html/faq/index.html (5.6): Reformat text only; fixup <pre>
905 * docs/html/faq/index.txt: Regenerate.
907 2001-10-12 Loren J. Rittle <ljrittle@acm.org>
909 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Update
910 based on Nathan's review. Use Nathan's words.
912 2001-10-11 Matt Kraai <kraai@alumni.carnegiemellon.edu>
914 * docs/html/configopts.html: Quote StyleSheet attribute values.
915 * docs/html/documentation.html: Likewise.
916 * docs/html/explanations.html: Likewise.
917 * docs/html/install.html: Likewise.
918 * docs/html/17_intro/howto.html: Likewise.
919 * docs/html/17_intro/license.html: Likewise.
920 * docs/html/18_support/howto.html: Likewise.
921 * docs/html/19_diagnostics/howto.html: Likewise.
922 * docs/html/20_util/howto.html: Likewise.
923 * docs/html/21_strings/howto.html: Likewise.
924 * docs/html/22_locale/howto.html: Likewise.
925 * docs/html/23_containers/howto.html: Likewise.
926 * docs/html/24_iterators/howto.html: Likewise.
927 * docs/html/25_algorithms/howto.html: Likewise.
928 * docs/html/26_numerics/howto.html: Likewise.
929 * docs/html/27_io/howto.html: Likewise.
930 * docs/html/ext/howto.html: Likewise.
931 * docs/html/ext/sgiexts.html: Likewise.
932 * docs/html/faq/index.html: Likewise.
934 2001-10-11 Loren J. Rittle <ljrittle@acm.org>
936 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Rewrite.
937 * docs/html/23_containers/howto.html (Containers and multithreading):
940 2001-10-09 Phil Edwards <pme@gcc.gnu.org>
942 * docs/html/17_intro/howto.html: Tweak markup and value type.
943 * docs/html/27_io/howto.html: Tweak markup, describe setbuf() for
944 nonzero arguments, add new note on threading.
945 * docs/html/faq/index.html: Update.
946 * docs/html/faq/index.txt: Regenerate.
948 2001-10-09 Phil Edwards <pme@gcc.gnu.org>
950 * docs/html/configopts.html: More HTML->XHTML and lowercasing of tags.
951 * docs/html/documentation.html: Likewise.
952 * docs/html/explanations.html: Likewise.
953 * docs/html/install.html: Likewise.
954 * docs/html/17_intro/howto.html: Likewise.
955 * docs/html/17_intro/license.html: Likewise. Tighten up language.
956 * docs/html/18_support/howto.html: Likewise.
957 * docs/html/19_diagnostics/howto.html: Likewise.
958 * docs/html/20_util/howto.html: Likewise.
959 * docs/html/21_strings/howto.html: Likewise.
960 * docs/html/22_locale/howto.html: Likewise.
961 * docs/html/23_containers/howto.html: Likewise.
962 * docs/html/24_iterators/howto.html: Likewise.
963 * docs/html/25_algorithms/howto.html: Likewise.
964 * docs/html/26_numerics/howto.html: Likewise.
965 * docs/html/27_io/howto.html: Likewise.
966 * docs/html/ext/howto.html: Likewise.
967 * docs/html/ext/sgiexts.html: Likewise.
968 * docs/html/faq/index.html: Likewise. Not so many absolute links.
969 * docs/html/faq/index.txt: Regenerate.
971 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
973 * docs/html/22_locale/locale.html, docs/html/faq/index.html: Fix
974 spelling errors of "separate" as "seperate", and corresponding
975 spelling errors of related words.
976 * docs/html/faq/index.txt: Regenerate.
978 2001-10-05 Phil Edwards <pme@gcc.gnu.org>
980 * config/cpu/alpha/bits/atomicity.h (__compare_and_swap): Remove
982 * config/cpu/arm/bits/atomicity.h: Likewise.
983 * config/cpu/generic/bits/atomicity.h: Likewise.
984 * config/cpu/i486/bits/atomicity.h: Likewise.
985 * config/cpu/ia64/bits/atomicity.h: Likewise.
986 * config/cpu/mips/bits/atomicity.h: Likewise.
987 * config/cpu/powerpc/bits/atomicity.h: Likewise.
988 * config/cpu/sparc/sparc32/bits/atomicity.h: Likewise.
989 * config/cpu/sparc/sparc64/bits/atomicity.h: Likewise.
991 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
993 * docs/html/faq/index.html: Describe DR #22, and a workaround.
994 * docs/html/faq/index.txt: Regenerate.
996 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
998 * docs/html/17_intro/COPYING.DOC: New file, GFDL v1.1 from the FSF.
999 * docs/html/17_intro/license.html: New file. Explain the licenses
1002 * docs/html/configopts.html: Link to license.html.
1003 * docs/html/documentation.html: Likewise.
1004 * docs/html/explanations.html: Likewise.
1005 * docs/html/install.html: Likewise.
1006 * docs/html/17_intro/howto.html: Likewise.
1007 * docs/html/18_support/howto.html: Likewise.
1008 * docs/html/19_diagnostics/howto.html: Likewise.
1009 * docs/html/20_util/howto.html: Likewise.
1010 * docs/html/21_strings/howto.html: Likewise.
1011 * docs/html/22_locale/howto.html: Likewise.
1012 * docs/html/23_containers/howto.html: Likewise.
1013 * docs/html/24_iterators/howto.html: Likewise.
1014 * docs/html/25_algorithms/howto.html: Likewise.
1015 * docs/html/26_numerics/howto.html: Likewise.
1016 * docs/html/27_io/howto.html: Likewise.
1017 * docs/html/ext/howto.html: Likewise.
1018 * docs/html/ext/sgiexts.html: Likewise.
1019 * docs/html/faq/index.html: Likewise. New question, linking to
1020 the new license.html.
1022 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
1024 * docs/html/17_intro/howto.html: Fix mis-sed in header from 20010917.
1025 * docs/html/18_support/howto.html: Likewise.
1026 * docs/html/19_diagnostics/howto.html: Likewise.
1027 * docs/html/20_util/howto.html: Likewise.
1028 * docs/html/21_strings/howto.html: Likewise.
1029 * docs/html/22_locale/howto.html: Likewise.
1030 * docs/html/23_containers/howto.html: Likewise.
1031 * docs/html/24_iterators/howto.html: Likewise.
1032 * docs/html/25_algorithms/howto.html: Likewise.
1033 * docs/html/26_numerics/howto.html: Likewise.
1034 * docs/html/27_io/howto.html: Likewise.
1035 * docs/html/ext/howto.html: Likewise.
1036 * docs/html/faq/index.html: Likewise. Spacing fix.
1038 2001-10-03 Dimitris Vyzovitis <vyzo@media.mit.edu>
1040 * include/bits/stl_threads.h (_Atomic_swap): New function.
1041 (_Swap_lock_struct<__dummy>::_S_swap_lock): New data.
1042 * testsuite/ext/rope.cc: New file.
1044 2001-10-02 Benjamin Kosnik <bkoz@redhat.com>
1046 * config/locale/time_members_gnu.h: Remove.
1047 * config/locale/time_members_generic.h: Remove.
1048 * config/locale/time_members_gnu.cc (__timepunct::_M_put_helper): Add.
1049 * config/locale/time_members_generic.cc: Same.
1050 * include/bits/locale_facets.h: Add data members.
1051 (__timepunct::_M_put_helper): Change signature.
1052 (__timepunct::_M_date_formats): Same.
1053 (__timepunct::_M_time_formats): Same.
1054 (__timepunct::_M_ampm): Add.
1055 (__timepunct::_M_date_time_formats): Add.
1056 (time_get::_M_extract_via_format): Add.
1057 (time_get::_M_extract_time): Change to...
1058 (time_get::_M_extract_num): ... this, modify signature.
1059 * include/bits/locale_facets.tcc (time_get::do_get_year): Fix.
1060 (time_get::do_get_time): Fix.
1061 (time_get::do_get_date): Fix.
1063 * acinclude.m4: Remove CTIME_H.
1064 * aclocal.m4: Regenerate.
1065 * include/Makefile.am: Same.
1066 * include/Makefile.in: Regenerate.
1067 * configure: Regenerate.
1069 * testsuite/22_locale/time_get_members_char.cc: Fix.
1070 * testsuite/22_locale/time_get_members_wchar_t.cc: Add.
1071 * testsuite/22_locale/time_put_members_wchar_t.cc: Add.
1073 2001-10-01 Hans-Peter Nilsson <hp@axis.com>
1075 * config/cpu/cris/bits/atomicity.h: Correct file header.
1077 2001-09-29 Hans-Peter Nilsson <hp@axis.com>
1079 * configure.target (LIMITSH): Set for cris.
1080 (cpu_include_dir): Set for cris-*-*.
1081 * config/cpu/cris/bits/atomicity.h: New file.
1082 * config/cpu/cris/bits/limits.h: New file.
1084 2001-09-28 Benjamin Kosnik <bkoz@redhat.com>
1086 * config/locale/time_members_gnu.h (__timepunct::_M_get_helper): Add.
1087 (__timepunct::_M_put_helper): Add.
1088 * config/locale/time_members_generic.h: Same.
1089 * include/bits/locale_facets.h (__match_parallel): Remove. Format.
1090 (__timepunct): Add data members.
1091 (__timepunct::_M_days): Add.
1092 (__timepunct::_M_days_abbreviated): Add.
1093 (__timepunct::_M_months): Add.
1094 (__timepunct::_M_months_abbreviated): Add.
1095 (__timepunct::_M_initialize_timepunct): Add.
1096 * include/bits/locale_facets.tcc: Same.
1097 * src/locale-inst.cc: Remove instantiations for __match_parallel.
1098 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_CC.
1099 * aclocal.m4: Regenerate.
1100 * configure: Regenerate.
1101 * testsuite/22_locale/time_put_members_char.cc: Mark XFAIL.
1102 * testsuite/22_locale/time_put_members_char.cc (test01): New file.
1103 * testsuite/22_locale/time_get.cc: New file.
1105 2001-09-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1107 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
1108 correct multilib builddir.
1109 Properly locate libgcc_s.
1111 2001-09-27 Phil Edwards <pme@gcc.gnu.org>
1113 * include/std/*: Add Doxygen hooks.
1114 * docs/doxygen/Intro.3: New file, general intro to the man pages.
1115 * docs/doxygen/mainpage.doxy: Formatting tweaks. List our own links
1116 rather than using a generated index.
1117 * docs/doxygen/user.cfg.in: Disable the index, enable man pages.
1118 * docs/doxygen/run_doxygen: Massage the generated man pages, using...
1119 * docs/doxygen/stdheader.cc: ...this new file.
1121 2001-09-26 Stan Shebs <shebs@apple.com>
1123 * include/Makefile.am: Remove RCS Id strings.
1124 * src/Makefile.am: Ditto.
1125 * docs/doxygen/run_doxygen: Ditto.
1126 * docs/html/configopts.html: Ditto.
1127 * docs/html/documentation.html: Ditto.
1128 * docs/html/explanations.html: Ditto.
1129 * docs/html/install.html: Ditto.
1130 * docs/html/17_intro/howto.html: Ditto.
1131 * docs/html/18_support/howto.html: Ditto.
1132 * docs/html/19_diagnostics/howto.html: Ditto.
1133 * docs/html/20_util/howto.html: Ditto.
1134 * docs/html/21_strings/howto.html: Ditto.
1135 * docs/html/22_locale/howto.html: Ditto.
1136 * docs/html/23_containers/howto.html: Ditto.
1137 * docs/html/24_iterators/howto.html: Ditto.
1138 * docs/html/25_algorithms/howto.html: Ditto.
1139 * docs/html/26_numerics/howto.html: Ditto.
1140 * docs/html/27_io/howto.html: Ditto.
1141 * docs/html/ext/howto.html: Ditto.
1142 * docs/html/ext/sgiexts.html: Ditto.
1143 * docs/html/faq/index.html: Ditto.
1144 * docs/html/faq/index.txt: Ditto.
1146 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
1148 * testsuite/21_strings/c_strings.cc (test01, test02): Increase
1151 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
1153 * docs/html/20_util/howto.html: Add anchor name.
1154 * docs/html/23_containers/howto.html: Line wrapping, another link.
1155 * docs/html/25_algorithms/howto.html: Another note.
1157 * docs/html/ext/howto.html: Link to SGI extensions. List DRs and
1159 * docs/html/ext/lwg-active.html: ...in this new file (from R19),
1160 * docs/html/ext/lwg-defects.html: and this new file (from R19).
1161 * docs/html/ext/sgiexts.html: New file. Mention SGI extensions
1162 carried over to libstdc++-v3.
1163 * docs/html/faq/index.html: Link to SGI extensions. Mention the
1164 "missing .." pseudobug.
1165 * docs/html/faq/index.txt: Regenerate.
1167 * include/bits/ios_base.h: DR-related comment cleanup.
1168 * include/bits/istream.tcc: Likewise.
1169 * include/bits/locale_facets.h: Likewise.
1170 * include/bits/locale_facets.tcc: Likewise.
1171 * include/bits/ostream.tcc: Likewise.
1172 * include/bits/std_bitset.h: Likewise.
1173 * include/bits/std_iosfwd.h: Likewise.
1174 * include/bits/std_istream.h: Likewise.
1175 * include/bits/std_ostream.h: Likewise.
1176 * include/bits/std_streambuf.h: Likewise.
1177 * include/bits/stl_pair.h: Likewise.
1178 * include/bits/streambuf_iterator.h: Likewise.
1180 * include/bits/std_map.h: Remove unused header inclusion guard
1181 _CPP_BITS_STL_TREE_H from around bits/stl_tree.h.
1182 * include/bits/std_set.h: Likewise.
1184 * include/bits/stl_function.h: Doxygen markup.
1185 * docs/doxygen/doxygroups.cc: New file, specifying module grouping.
1186 * libsupc++/typeinfo: Doxygen markup tweak.
1188 2001-09-20 Scott Johnston <scott@accom.com>
1189 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1191 * include/backward/alloc.h: Conditionally define malloc_alloc
1192 * testsuite/backward/header_deque_h.cc: New file.
1194 2001-09-20 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
1196 * libstdc++-v3/include/bits/locale_facets.tcc (money_put::do_put):
1197 change variable name so that it works with -fno-for-scope.
1199 2001-09-20 Benjamin Kosnik <bkoz@redhat.com>
1201 * testsuite/22_locale/numpunct_members_char.cc (test01): Remove
1202 redundant sanity checks.
1203 * testsuite/22_locale/money_put_members_wchar_t.cc (test01): Same.
1205 * testsuite/22_locale/money_put_members_char.cc (test01): Same.
1207 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test01): Same.
1208 * testsuite/22_locale/moneypunct_members_char.cc (test01): Same.
1209 * testsuite/22_locale/money_get_members_wchar_t.cc (test01): Same.
1211 * testsuite/22_locale/money_get_members_char.cc (test01): Same.
1214 2001-09-19 Benjamin Kosnik <bkoz@redhat.com>
1216 Implement std::time_put.
1217 * include/bits/locale_facets.h: Include time_members.h.
1219 (time_put): Implement.
1220 * include/bits/locale_facets.tcc (do_put): Put generic versions here.
1221 * include/bits/localefwd.h: Bump number of facets.
1222 * config/locale/time_members_generic.h: New file.
1223 * config/locale/time_members_gnu.h: New file.
1224 * config/locale/c_locale_generic.h: Include clocale.
1225 * src/locale-inst.cc: Add use_facet instantiations for __timepunct.
1226 * src/locale.cc: Add __timepunct initializations.
1227 * src/localename.cc (locale::_Impl::_Impl(string, size_t)): Same.
1228 * include/Makefile.am (stamp-target): Add time_members.h.
1229 * include/Makefile.in: Regenerate.
1230 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_H.
1231 * aclocal.m4: Regenerate.
1232 * configure: Regenerate.
1233 * testsuite/22_locale/time_put.cc: New file.
1234 * testsuite/22_locale/time_put_members_char.cc: New file.
1236 * docs/html/22_locale/locale.html: Add note.
1238 2001-09-17 Phil Edwards <pme@gcc.gnu.org>
1240 * docs/html/configopts.html: HTML to XHTML change. Lowercase tags.
1241 * docs/html/documentation.html: Likewise.
1242 * docs/html/explanations.html: Likewise.
1243 * docs/html/install.html: Likewise.
1244 * docs/html/17_intro/howto.html: Likewise.
1245 * docs/html/18_support/howto.html: Likewise.
1246 * docs/html/19_diagnostics/howto.html: Likewise.
1247 * docs/html/20_util/howto.html: Likewise.
1248 * docs/html/21_strings/howto.html: Likewise.
1249 * docs/html/22_locale/codecvt.html: Likewise.
1250 * docs/html/22_locale/ctype.html: Likewise.
1251 * docs/html/22_locale/howto.html: Likewise.
1252 * docs/html/22_locale/locale.html: Likewise.
1253 * docs/html/22_locale/messages.html: Likewise.
1254 * docs/html/23_containers/howto.html: Likewise.
1255 * docs/html/24_iterators/howto.html: Likewise.
1256 * docs/html/25_algorithms/howto.html: Likewise.
1257 * docs/html/26_numerics/howto.html: Likewise.
1258 * docs/html/27_io/howto.html: Likewise.
1259 * docs/html/ext/howto.html: Likewise.
1260 * docs/html/faq/index.html: Likewise.
1261 * docs/html/faq/index.txt: Regenerated.
1263 2001-09-14 Phil Edwards <pme@sources.redhat.com>
1265 * docs/html/17_intro/headers_cc.txt: "Sync"/copy real file over.
1266 * docs/html/17_intro/howto.html: Spacing and HTML markup fixes.
1267 * docs/html/18_support/howto.html: It won't compile; it's not code.
1268 * docs/html/19_diagnostics/howto.html: Point diagram seekers to
1270 * docs/html/22_locale/howto.html: Comment for future work.
1271 * docs/html/23_containers/howto.html: More comments.
1272 * docs/html/25_algorithms/howto.html: It's a comment, not a
1273 blunt command to the reader. (English grammar.)
1275 2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
1277 * config/locale/moneypunct_members_gnu.cc: Fix initialization of
1279 * testsuite/22_locale/money_get_members_wchar_t.cc (test02): New file.
1280 * testsuite/22_locale/money_put_members_wchar_t.cc (test02): Fix.
1282 2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
1284 * include/bits/locale_facets.tcc: Conditionalize use of strtold.
1286 2001-09-13 Alexandre Petit-Bianco <apbianco@redhat.com>
1288 * testsuite/22_locale/money_get_members_char.cc: Fixed typo in comment.
1289 * testsuite/22_locale/money_put_members_char.cc: Likewise.
1290 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
1292 2001-09-13 Benjamin Kosnik <bkoz@redhat.com>
1294 Implement std::money_get.
1295 * include/bits/locale_facets.tcc (money_get::do_get): Implement.
1296 * include/bits/locale_facets.h (money_get): Correct signatures.
1297 * testsuite/22_locale/money_get.cc: New file.
1298 * testsuite/22_locale/money_get_members_char.cc: New file.
1300 * include/bits/locale_facets.tcc (__verify_grouping): New
1301 function. Consolidate num_get and money_get group checking into
1303 (money_get): Use it.
1304 * src/locale.cc (num_get::_M_extract): Use it.
1305 * src/locale-inst.cc: Add instantiation.
1307 2001-09-12 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1309 * include/bits/std_limits.h (numeric_limits<float>::radix,
1310 numeric_limits<float>::epsilon: Fix thinko.
1312 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
1314 * configure.in: Fix cross compiling math routines. Correct
1315 comments for cross compiling and limits. Add floating point math
1316 routines found in newlib.
1317 * configure: Regenerate.
1318 * acconfig.h: Add macros.
1319 * config.h.in: Regenerate.
1321 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
1323 * config/locale/moneypunct_members_generic.cc
1324 (money_base::_S_construct_pattern): Remove unused parameters.
1326 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
1328 * include/Makefile.am (stamp-target): Remove link to self.
1329 * inclulde/Makefile.in: Regenerate.
1331 2001-09-09 Benjamin Kosnik <bkoz@redhat.com>
1333 Implement std::money_put.
1334 * include/bits/locale_facets.h
1335 (moneypunct::_M_initialize_moneypunct): Split up specializations
1336 to account for _Intl. More grody hacking to get around the
1337 ill-considered use of const bool as a template parameter.
1338 * config/locale/moneypunct_members_gnu.cc: And here.
1339 * config/locale/moneypunct_members_generic.cc: And here.
1340 * testsuite/22_locale/moneypunct_members_char.cc: Add tests.
1341 * testsuite/22_locale/moneypunct.cc: Add tests.
1342 * testsuite/22_locale/money_put_members_wchar_t.cc: New file.
1343 * testsuite/22_locale/moneypunct_members_wchar_t.cc: New file.
1345 * src/locale.cc (money_base::_S_construct_pattern): Move into
1347 * config/locale/moneypunct_members_gnu.cc: Add here.
1348 * config/locale/moneypunct_members_generic.cc: Add generic version
1351 * include/bits/locale_facets.tcc (money_put::do_put): Move member
1352 function definitions here.
1353 * include/bits/locale_facets.h (money_put): Implement.
1354 * src/locale-inst.cc: Add use_facet instantiations for moneypunct.
1355 Correct money_get, money_put instantiations.
1356 * src/locale.cc (money_base::_S_construct_pattern): Handle case
1358 * testsuite/22_locale/money_put_members_char.cc: Add tests.
1360 2001-09-05 Phil Edwards <pme@sources.redhat.com>
1362 * testsuite_flags.in: No longer need to search testsuite builddir.
1363 * src/stl-inst.cc (__sink_unused_warning): Unused, remove.
1364 * Makefile.am: The testsuite directory never needs to be made here.
1365 * Makefile.in: Regenerate.
1366 * include/Makefile.in: Regenerate.
1367 * libio/Makefile.in: Regenerate.
1368 * libmath/Makefile.in: Regenerate.
1369 * libsupc++/Makefile.in: Regenerate.
1370 * po/Makefile.in: Regenerate.
1371 * src/Makefile.in: Regenerate.
1372 * testsuite/Makefile.in: Regenerate.
1374 2001-09-04 Scott Johnston <scott@accom.com>
1375 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1377 * include/backward/iterator.h: Include <bits/std_iterator.h>,
1378 remove reverse_bidirectional_iterator.
1379 * testsuite/backward: New directory.
1380 * testsuite/backward/header_iterator_h.cc: New file.
1382 2001-09-04 Benjamin Kosnik <bkoz@redhat.com>
1384 * include/c_std/bits/std_c*.h: Don't use include_next.
1386 2001-09-03 Richard Sandiford <rsandifo@redhat.com>
1388 * libsupc++/eh_personality.cc (parse_lsda_header): Change type of
1389 tmp from _Unwind_Ptr to _Unwind_Word.
1391 2001-08-31 Jason Merrill <jason_merrill@redhat.com>
1393 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Simplify
1396 2001-08-28 Loren J. Rittle <ljrittle@acm.org>
1398 * include/Makefile.am: Use toplevel_srcdir to refer to src files
1399 outside this component.
1400 * include/Makefile.in: Regenerate.
1402 2001-08-27 Benjamin Kosnik <bkoz@redhat.com>
1404 * config/locale/c_locale_gnu.cc: Move facet info to separate files...
1405 * config/locale/c_locale_generic.cc: Same.
1406 * config/locale/moneypunct_members_gnu.cc: New file.
1407 * config/locale/moneypunct_members_generic.cc: New file.
1408 * config/locale/numpunct_members_gnu.cc: New file.
1409 * config/locale/numpunct_members_generic.cc: New file.
1410 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add moneypunct, numpunct
1412 * aclocal.m4: Regenerate.
1413 * configure: Regenerate.
1414 * src/Makefile.am (sources): And here.
1415 * src/Makefile.in: Regenerate.
1417 Rename for consistency with rest of testsuite.
1418 * testsuite/22_locale/codecvt.cc: New file.
1419 * testsuite/22_locale/money_put.cc: New file.
1420 * testsuite/22_locale/money_put_members_char.cc: New file.
1422 2001-08-27 Phil Edwards <pme@sources.redhat.com>
1425 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Handle enable/disable
1426 correctly for version-specific-runtime-libs.
1427 * aclocal.m4: Regenerate.
1428 * configure: Regenerate.
1430 2001-08-24 Loren J. Rittle <ljrittle@acm.org>
1432 * config/cpu/i386/bits/limits.h (__glibcpp_long_double_bits): Only
1433 define if not already provided by per-OS file.
1434 * config/os/bsd/freebsd/bits/os_defines.h (__glibcpp_long_double_bits):
1437 2001-08-24 Jan van Male <jan.vanmale@fenk.wau.nl>
1439 * docs/html/17_intro/C++STYLE: Fix typo.
1441 2001-08-24 Phil Edwards <pme@sources.redhat.com>
1443 * docs/html/23_containers/howto.html: Describe implementation of
1444 insertion with hints.
1446 2001-08-24 Kenny Simpson <kenny.simpson@gs.com>
1449 * include/bits/std_sstream.h (basic_ostringstream): Fix ctor.
1451 2001-08-24 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
1452 Phil Edwards <pme@sources.redhat.com>
1455 * include/bits/stl_tree.h (insert_unique): Revert last change.
1456 Values inserted at begin() must be less, not greater, than *begin()'s.
1457 * testsuite/23_containers/map_insert.cc: New file.
1459 2001-08-23 Benjamin Kosnik <bkoz@redhat.com>
1461 * config/locale/c_locale_gnu.cc: Minor tweaks.
1462 (moneypunct<wchar_t>): Implement.
1463 * include/bits/locale_facets.h: Same.
1464 * testsuite/22_locale/moneypunct.cc: New file.
1465 * testsuite/22_locale/moneypunct_byname.cc: New file.
1466 * testsuite/22_locale/moneypunct_char_members.cc: New file.
1468 2001-08-23 David Edelsohn <edelsohn@gnu.org>
1470 * config/os/gnu-linux/bits/os_defines.h: Correct __s390__ definitions.
1471 Set __powerpc__ long double definition based on __LONG_DOUBLE_128__.
1473 2001-08-23 Jason Merrill <jason_merrill@redhat.com>
1475 * testsuite_flags.in (build-includes): Re-add backward.
1477 2001-08-22 Benjamin Kosnik <bkoz@redhat.com>
1479 * testsuite/22_locale/collate_wchar_t_members.cc: Guard
1480 with _GLIBCPP_USE_WCHAR_T.
1482 2001-08-21 Benjamin Kosnik <bkoz@redhat.com>
1484 * testsuite/22_locale/collate_byname.cc (test01): Fix.
1486 2001-08-18 Vladimir A Merzliakov <wanderer@rsu.ru>
1488 * include/bits/locale_facets.tcc (collate::do_transform): Add typename.
1490 2001-08-18 Benjamin Kosnik <bkoz@redhat.com>
1492 * testsuite/22_locale/operators.cc: Add test.
1494 2001-08-17 Benjamin Kosnik <bkoz@redhat.com>
1496 Implement std::collate.
1497 * config/locale/collate_specializations_gnu.cc: Add here, implement in
1499 * config/locale/collate_specializations_generic.cc: Add here, but
1500 in a less sophisticated manner.
1501 * include/bits/locale_facets.tcc (collate): Add generic definition.
1502 * include/bits/locale_facets.h (~collate): Mark virtual.
1503 (collate::_M_compare_helper): New.
1504 (collate::_M_transform_helper): New.
1505 * src/locale.cc: Remove unnecessary specializations.
1506 * src/string-inst.cc: Tweak instantiation of ctors.
1508 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Do configury for collate.
1509 * aclocal.m4: Regenerate.
1510 * configure: Regenerate.
1511 * src/Makefile.am (sources): Add collate.cc.
1512 * src/Makefile.in: Regenerate.
1514 * testsuite/22_locale/collate_byname.cc: New.
1515 * testsuite/22_locale/collate.cc: New file.
1516 * testsuite/22_locale/collate_char_members.cc: New file.
1517 * testsuite/22_locale/collate_wchar_t_members.cc: New file.
1519 2001-08-16 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1521 * configure.target: Set LIMITSH for powerpc-*-*.
1522 * config/cpu/powerpc/bits/limits.h: New file.
1524 2001-08-16 Marc Espie <espie@openbsd.org>
1526 * configure.in: Check for <sys/types.h>.
1527 * configure: Rebuild.
1528 * config.h.in: Rebuild.
1529 * libmath/mathconf.h: Include <sys/types.h> prior to
1530 <machine/endian.h> if available.
1532 2001-08-15 Andreas Schwab <schwab@suse.de>
1534 * configure.target (cpu_include_dir): Set to `config/cpu/m68k' for
1535 m68k and m680[246]0.
1536 * config/cpu/m68k/bits/atomicity.h: New file.
1538 * include/bits/std_limits.h [__glibcpp_long_double_bits == 96]:
1539 Define appropriate long double limits for m68k extended floating
1541 (__glibcpp_f32_digits10): Corrected, off by one.
1542 (__glibcpp_f80_digits10): Likewise.
1543 (__glibcpp_f128_digits10): Likewise.
1544 * config/os/gnu-linux/bits/os_defines.h
1545 (__glibcpp_long_double_bits) [__mc68000__]: Define to 96.
1547 2001-08-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1549 * testsuite/18_support/numeric_limits.cc: Add more tests.
1550 * include/bits/std_limits.h (numeric_limits<char>::max): Fix
1553 2001-08-14 Ulrich Weigand <uweigand@de.ibm.com>
1555 * configure.target (cpu_include_dir): Set to `config/cpu/s390'
1558 * config/cpu/s390/bits/atomicity.h: New.
1560 2001-08-14 Gabriel Dos Reis <gdr@codesourcery.com>
1562 * include/bits/std_limits.h: Fix thinko.
1564 2001-08-14 Benjamin Kosnik <bkoz@redhat.com>
1566 * include/Makefile.am: Consolidate target rules. Don't clean stamp
1567 files. Tweak target build directory stamp.
1568 * include/Makefile.in: Regenerate.
1570 2001-08-14 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1572 * libstdc++-v3/libmath/stubs.c: Fix PR/3988, replace
1573 _GBLICPP_HAVE_LOGL with HAVE_LOGL
1575 2001-08-13 Benjamin Kosnik <bkoz@redhat.com>
1577 * configure.in (libtool_VERSION): Add.
1578 (VERSION): Change to
1579 (release_VERSION): This.
1580 * configure: Regenerate.
1581 * src/Makefile.am (libstdc___la_LDFLAGS): Use -version-info with
1583 * src/Makefile.in: Regenerate.
1585 * intl/Makefile.am: Remove.
1586 * intl/Makefile.in: Remove.
1588 * Makefile.am (SUBDIRS): Remove intl.
1589 * po/Makefile.am (DISTFILES): Add string_literals.cc
1591 * po/string_literals.cc: Add.
1592 * po/POTFILES.in: Fix path.
1593 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't call AM_GNU_GETTEXT.
1594 * aclocal.m4: Regenerate.
1595 * configure.in: Remove AC_OUTPUT of intl/Makefile.
1597 * include/backward/backward_warning.h: Clarify message.
1599 * testsuite_flags.in (--cxxflags): Use same debug flags for
1600 library and testsuite.
1602 * include/Makefile.am (c_compatibility): Remove.
1603 * include/Makefile.in: Regenerate.
1605 2001-08-13 Mark Mitchell <mark@codesourcery.com>
1607 * configure.in (LIMITS_INC_SRCDIR): New variable.
1608 * configure.target (LIMITSH): New variable.
1609 * porting.texi: Discuss numeric limits.
1610 * config/cpu/generic/bits/limits.h: New file.
1611 * config/cpu/i386/bits/limits.h: New file.
1612 * include/Makefile.am: Install bits/limits.h.
1613 * include/bits/c++config: Include bits/limits.h.
1615 2001-08-13 H.J. Lu (hjl@gnu.org)
1617 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-copy-files):
1619 (libstdc++-v3-init ): Use it.
1621 2001-08-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1623 * include/bits/ostream.tcc (__pad_char): Change toplevel '__fmt'
1624 to '__adjust' to avoid shadowing in nested scope.
1626 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1628 * include/bits/std_limits.h(__glibcpp_char_is_signed): Use
1631 * config/os/gnu-linux/bits/os_defines.h(__glibcpp_char_is_signed):
1633 * config/os/aix/bits/os_defines.h(__glibcpp_plain_char_is_signed):
1636 2001-08-10 Loren J. Rittle <ljrittle@acm.org>
1638 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Add
1639 dummy default argument to the non-limit implementation.
1642 * include/Makefile.am: Use relative file path in rule to allow
1644 * include/Makefile.in: Rebuilt.
1646 2001-08-10 Gunter Winkler <gunter.winkler@mathematik.tu-chemnitz.de>
1648 * include/bits/std_complex.h (complex<long double>::operator*=,
1649 complex<long double>::operator/=): Fix thinko.
1651 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1653 * include/bits/std_limits.h: New file.
1654 * include/Makefile.am (bits_headers): Add std_limits.h
1655 (all-local): std_limits.h is no longer built.
1656 (${target_builddir}/std_limits.h): Remove.
1657 * include/Makefile.in: Regenerate.
1658 * src/limits.cc: New file.
1659 * src/Makefile.am (sources): Add limits.cc in replacement of
1661 * src/Makefile.in: Regenerate.
1663 2001-08-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1665 * src/gen-num-limits.cc (digits10): Fix thinko.
1667 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
1669 * po/Makefile.am (check-no): Add.
1671 * po/Makefile.in: Regenerate.
1673 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
1675 * acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
1676 * config.h.in: Regenerate.
1677 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT): Check for setrlimit
1679 * aclocal.m4: Regenerate.
1680 * configure.in: Remove duplicate AM_CONFIG_HEADER.
1681 (AM_CONFIG_HEADER): Remove testsuite/testsuite_hooks.h.
1682 Only call GLIBCPP_CHECK_SETRLIMIT for native compiles.
1683 * configure: Regenerate.
1684 * testsuite_hooks.h.in: Move to...
1685 * testsuite_hooks.h: Here, include c++config.h. Use it.
1687 * Makefile.am (SUBDIRS): Move testsuite to last directory.
1688 * Makefile.in: Regenerate.
1689 * po/Makefile.am (stamp-po): Add.
1691 2001-08-09 David Edelsohn <edelsohn@gnu.org>
1693 * config/os/aix/bits/os_defines.h: Define std_limits.h macros.
1694 * config/os/generic/bits/os_defines.h: Likewise.
1695 * config/os/gnu-linux/bits/os_defines.h: Likewise.
1696 * config/os/hpux/bits/os_defines.h: Likewise.
1697 * config/os/irix/irix6.5/bits/os_defines.h: Likewise.
1698 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
1700 2001-08-08 Benjamin Kosnik <bkoz@redhat.com>
1702 * src/Makefile.am (libstdc___la_LDFLAGS): Use -release instead of
1703 -version-info, use substituted VERSION info.
1704 * src/Makefile.in: Regenerate.
1706 2001-08-07 Benjamin Kosnik <bkoz@redhat.com>
1708 Implement std::messages.
1709 Make config a fully-nested directory.
1710 * config/locale: New directory.
1711 * config/c_locale_generic.cc: Move into locale subdirectory.
1712 * config/c_locale_generic.h: Same.
1713 * config/c_locale_gnu.cc: Same.
1714 * config/c_locale_gnu.h: Same.
1715 * config/c_locale_ieee_1003.1-200x.cc: Same.
1716 * config/c_locale_ieee_1003.1-200x_.h: Same.
1717 * config/codecvt_specializations_generic.h: Same.
1718 * config/codecvt_specializations_ieee_1003.1-200x.h: Same.
1719 * config/messages_members_gnu.h: Same.
1720 * config/messaages_members_gnu.cc: Same.
1721 * config/messages_members_generic.h: Same.
1722 * config/messaages_members_generic.cc: Same.
1723 * config/messages_members_ieee_1003.1-200x.h: Same.
1724 * config/messaages_members_ieee_1003.1-200x.cc: Same.
1725 * config/io: New directory.
1726 * config/basic_file_libio.h: Move into io subdirectory.
1727 * config/basic_file_libio.cc: Same.
1728 * config/c_io_libio.h: Same.
1729 * config/c_io_libio_codecvt.c: Same.
1730 * config/basic_file_stdio.h: Same.
1731 * config/basic_file_stdio.cc: Same.
1732 * config/c_io_stdio.h: Same.
1734 * po: New directory.
1735 * po/POTFILES.in: New file.
1736 * po/Makefile.am: New file.
1737 * po/Makefile.in: New file.
1738 * po/libstdc++.pot: Generic translation file.
1739 * po/fr.po: Preliminary French translation.
1740 * po/de.po: Preliminary German translation.
1741 * intl: New directory.
1742 * intl/Makefile.am: New file.
1743 * intl/Makefile.in: New file.
1744 * intl/string_literals.cc: New file.
1745 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump VERSION to 3.1.0. Add
1746 requisite setup for gettext. Re-arrange.
1747 * aclocal.m4: Regenerate.
1748 * configure.in: Don't call GLIBCPP_CHECK_COMPILER_VERSION.
1749 Output Makefile bits for po and intl.
1750 * configure: Regenerate.
1751 * Makefile.am (SUBDIRS): Add intl, po. Add rule for dist.
1752 * Makefile.in: Regenerate.
1753 * acconfig.h: Add ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY.
1754 * config.h.in: Regenerate.
1756 * acinclude.m4 (AC_REPLACE_STRINGFUNCS): Remove.
1758 * include/Makefile.am (install-data-local): Don't install Makefile.
1759 * include/Makefile.in: Regenerate.
1761 * include/bits/locale_facet.h (locale::facet::_S_clone_c_locale):
1763 * config/locale/c_locale_gnu.cc (_S_clone_c_locale): Add definition.
1764 * config/locale/c_locale_generic.cc: Same.
1765 * config/locale/c_locale_ieee_1003.1-200x.cc: Same.
1767 * include/bits/codecvt.h: Excise non-standard, non-required
1768 bits. This includes __enc_traits, and partial specializations of
1769 codecvt for __enc_traits.
1770 * src/codecvt.cc (__enc_traits::_S_max_size): Guard
1771 * config/codecvt_partials_ieee_1003.1-200x.h: New file.
1772 * config/codecvt_partials_generic.h: New file.
1773 * include/Makefile.am (allstamps): Add stamp-codecvt_model.
1774 (stamp-codecvt_model): Add.
1775 * include/Makefile.in: Regenerate.
1776 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in codecvt configury.
1777 * aclocal.m4: Regenerate.
1778 * configure: Regenerate.
1779 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Use macro guard.
1780 * testsuite/22_locale/codecvt_unicode_char.cc: Same.
1781 * testsuite/22_locale/ctor_copy_dtor.cc: And here.
1783 * include/bits/localefwd.h (class locale::facet): Add __enc_traits
1784 as a friend for _S_*_c_locale functions.
1785 * include/bits/codecvt.h (__enc_traits::__enc_traits): Add locale
1786 argument to default constructor so that CODESET information can be
1788 * include/bits/locale_facets.h (messages_byname):
1789 Re-implement. Remove specializations.
1790 * src/locale.cc (messages_byname<char>): Remove specialization.
1791 (messages_byname<wchar_t>): Same.
1792 * config/locale/c_locale_ieee_1003.1-200x.cc: New file.
1793 * config/locale/c_locale_ieee_1003.1-200x.h: New file.
1794 * config/locale/messages_members_ieee_1003.1-200x.cc: New file.
1795 * config/locale/messages_members_ieee_1003.1-200x.h: New file.
1796 * config/locale/messages_members_gnu.cc: New file.
1797 * config/locale/messages_members_gnu.h: New file.
1798 * config/locale/messages_members_generic.cc: New file.
1799 * config/locale/messages_members_generic.h: New file.
1801 * docs/html/configopts.html: Add documentation for new locale
1802 model, ieee_1003.1. Adjust other flags for current defaults.
1803 * docs/html/22_locale/locale.html: Update.
1804 * docs/html/22_locale/howto.html: Add link to messages.html. Organize.
1805 * docs/html/22_locale/messages.html: New.
1807 * src/Makefile.am (sources): Add messages_virtuals.cc.
1808 * src/Makefile.in: Regenerate.
1809 * include/Makefile.am (allstamps): Add stamp-messages_model.
1810 (stamp-messages_model): Add.
1811 * include/Makefile.in: Regenerate.
1812 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in messages configury.
1813 * aclocal.m4: Regenerate.
1814 * configure: Regenerate.
1816 * testsuite_flags.in (--cxxflags): Add LOCALEDIR.
1817 * testsuite/lib/libstdc++-v3-dg.exp: Remove broken LD_LIBRARY_PATH
1819 * acinclude (GLIBCPP_ENABLE_CLOCALE): Set glibcpp_localedir to the
1820 build directories message catalog base directory, and export.
1821 Eventually this should probably be made to deal with build and
1822 install directories. For now, punt on this as the library itself
1823 doesn't use message catalogs (yet).
1824 * testsuite/22_locale/messages.cc: New file.
1825 * testsuite/22_locale/messages_char_members.cc: New file.
1826 * testsuite/22_locale/messages_byname.cc: New file.
1828 2001-08-06 Phil Edwards <pme@sources.redhat.com>
1830 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls...
1831 (GLIBCPP_CHECK_SETRLIMIT): ...this new macro, which also uses...
1832 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): ...this new macro.
1833 * configure.in (AM_CONFIG_HEADER): Also generate testsuite_hooks.h.
1834 Call GLIBCPP_CONFIGURE_TESTSUITE.
1835 * aclocal.m4: Regenerate.
1836 * config.h.in: Regenerate.
1837 * configure: Regenerate.
1839 * testsuite/lib/libstdc++-v3-dg.exp: Download new header instead
1842 * testsuite_flags.in: Add build dir's testsuite to INCLUDES.
1843 * testsuite/debug_assert.h: Removed; contents merged into...
1844 * testsuite/testsuite_hooks.h.in: ...here. New file.
1845 * testsuite/17_intro/header_ciso646.cc: No longer include
1846 debug_assert.h, include testsuite_hooks.h instead.
1847 * testsuite/17_intro/header_fstream.cc: Likewise.
1848 * testsuite/17_intro/header_iomanip.cc: Likewise.
1849 * testsuite/17_intro/header_ios.cc: Likewise.
1850 * testsuite/17_intro/header_iosfwd.cc: Likewise.
1851 * testsuite/17_intro/header_iostream.cc: Likewise.
1852 * testsuite/17_intro/header_istream.cc: Likewise.
1853 * testsuite/17_intro/header_ostream.cc: Likewise.
1854 * testsuite/17_intro/header_sstream.cc: Likewise.
1855 * testsuite/17_intro/header_streambuf.cc: Likewise.
1856 * testsuite/18_support/numeric_limits.cc: Likewise.
1857 * testsuite/19_diagnostics/stdexceptions.cc: Likewise.
1858 * testsuite/20_util/allocator_members.cc: Likewise.
1859 * testsuite/20_util/auto_ptr.cc: Likewise.
1860 * testsuite/20_util/pairs.cc: Likewise.
1861 * testsuite/21_strings/append.cc: Likewise.
1862 * testsuite/21_strings/capacity.cc: Likewise.
1863 * testsuite/21_strings/char_traits_requirements.cc: Likewise.
1864 * testsuite/21_strings/compare.cc: Likewise.
1865 * testsuite/21_strings/ctor_copy_dtor.cc: Likewise. Also set up
1866 call to (disabled) __set_testsuite_memlimit() wrapper.
1867 * testsuite/21_strings/element_access.cc: Likewise.
1868 * testsuite/21_strings/find.cc: Likewise.
1869 * testsuite/21_strings/insert.cc: Likewise. Also set up call to
1870 (disabled) __set_testsuite_memlimit() wrapper.
1871 * testsuite/21_strings/inserters_extractors.cc: Likewise.
1872 * testsuite/21_strings/invariants.cc: Likewise.
1873 * testsuite/21_strings/nonmember.cc: Likewise.
1874 * testsuite/21_strings/operations.cc: Likewise.
1875 * testsuite/21_strings/replace.cc: Likewise.
1876 * testsuite/21_strings/rfind.cc: Likewise.
1877 * testsuite/21_strings/substr.cc: Likewise.
1878 * testsuite/22_locale/codecvt_char_char.cc: Likewise.
1879 * testsuite/22_locale/codecvt_unicode_char.cc: Likewise.
1880 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Likewise.
1881 * testsuite/22_locale/codecvt_wchar_t_char.cc: Likewise.
1882 * testsuite/22_locale/ctor_copy_dtor.cc: Likewise.
1883 * testsuite/22_locale/ctype_char_members.cc: Likewise.
1884 * testsuite/22_locale/ctype_wchar_t_members.cc: Likewise.
1885 * testsuite/22_locale/facet.cc: Likewise.
1886 * testsuite/22_locale/global_templates.cc: Likewise.
1887 * testsuite/22_locale/members.cc: Likewise.
1888 * testsuite/22_locale/numpunct_byname.cc: Likewise.
1889 * testsuite/22_locale/numpunct_char_members.cc: Likewise.
1890 * testsuite/22_locale/operators.cc: Likewise.
1891 * testsuite/22_locale/static_members.cc: Likewise.
1892 * testsuite/23_containers/bitset_ctor.cc: Likewise.
1893 * testsuite/23_containers/bitset_members.cc: Likewise.
1894 * testsuite/23_containers/bitset_shift.cc: Likewise.
1895 * testsuite/23_containers/vector_capacity.cc: Likewise.
1896 * testsuite/23_containers/vector_ctor.cc: Likewise.
1897 * testsuite/23_containers/vector_element_access.cc: Likewise.
1898 * testsuite/23_containers/vector_modifiers.cc: Likewise.
1899 * testsuite/24_iterators/istreambuf_iterator.cc: Likewise.
1900 * testsuite/24_iterators/iterator.cc: Likewise.
1901 * testsuite/24_iterators/ostreambuf_iterator.cc: Likewise.
1902 * testsuite/25_algorithms/binary_search.cc: Likewise.
1903 * testsuite/25_algorithms/copy.cc: Likewise.
1904 * testsuite/25_algorithms/heap.cc: Likewise.
1905 * testsuite/25_algorithms/lower_bound.cc: Likewise.
1906 * testsuite/25_algorithms/min_max.cc: Likewise.
1907 * testsuite/25_algorithms/partition.cc: Likewise.
1908 * testsuite/25_algorithms/rotate.cc: Likewise.
1909 * testsuite/25_algorithms/sort.cc: Likewise.
1910 * testsuite/26_numerics/c_math.cc: Likewise.
1911 * testsuite/26_numerics/complex_inserters_extractors.cc: Likewise.
1912 * testsuite/26_numerics/complex_value.cc: Likewise.
1913 * testsuite/27_io/filebuf.cc: Likewise.
1914 * testsuite/27_io/filebuf_members.cc: Likewise.
1915 * testsuite/27_io/filebuf_virtuals.cc: Likewise.
1916 * testsuite/27_io/fpos.cc: Likewise.
1917 * testsuite/27_io/fstream_members.cc: Likewise.
1918 * testsuite/27_io/ifstream_members.cc: Likewise.
1919 * testsuite/27_io/ios_base_callbacks.cc: Likewise.
1920 * testsuite/27_io/ios_base_members_static.cc: Likewise.
1921 * testsuite/27_io/ios_base_storage.cc: Likewise.
1922 * testsuite/27_io/ios_ctor.cc: Likewise.
1923 * testsuite/27_io/ios_init.cc: Likewise.
1924 * testsuite/27_io/ios_manip_basefield.cc: Likewise.
1925 * testsuite/27_io/ios_manip_fmtflags.cc: Likewise.
1926 * testsuite/27_io/ios_members.cc: Likewise.
1927 * testsuite/27_io/istream_extractor_arith.cc: Likewise.
1928 * testsuite/27_io/istream_extractor_char.cc: Likewise.
1929 * testsuite/27_io/istream_extractor_other.cc: Likewise.
1930 * testsuite/27_io/istream_manip.cc: Likewise.
1931 * testsuite/27_io/istream_seeks.cc: Likewise.
1932 * testsuite/27_io/istream_sentry.cc: Likewise.
1933 * testsuite/27_io/istream_unformatted.cc: Likewise.
1934 * testsuite/27_io/istringstream_members.cc: Likewise.
1935 * testsuite/27_io/narrow_stream_objects.cc: Likewise.
1936 * testsuite/27_io/ofstream_members.cc: Likewise.
1937 * testsuite/27_io/ostream_inserter_arith.cc: Likewise.
1938 * testsuite/27_io/ostream_inserter_char.cc: Likewise.
1939 * testsuite/27_io/ostream_inserter_other.cc: Likewise.
1940 * testsuite/27_io/ostream_manip.cc: Likewise.
1941 * testsuite/27_io/ostream_seeks.cc: Likewise.
1942 * testsuite/27_io/ostream_unformatted.cc: Likewise.
1943 * testsuite/27_io/ostringstream_members.cc: Likewise.
1944 * testsuite/27_io/streambuf.cc: Likewise.
1945 * testsuite/27_io/stringbuf.cc: Likewise.
1946 * testsuite/27_io/stringbuf_virtuals.cc: Likewise.
1947 * testsuite/27_io/stringstream.cc: Likewise.
1948 * testsuite/27_io/stringstream_members.cc: Likewise.
1949 * testsuite/27_io/wide_stream_objects.cc: Likewise.
1951 2001-07-31 Loren J. Rittle <ljrittle@acm.org>
1953 * src/gen-num-limits.cc: Use __LONG_LONG_MAX__.
1955 2001-07-30 Benjamin Kosnik <bkoz@redhat.com>
1957 * configure.target: Remove mips from cpu table.
1958 * config/cpu/mips/bits/atomicity.h: Remove generic
1959 versions. Comment sgidefs include.
1961 2001-07-25 H.J. Lu <hjl@gnu.org>
1963 * configure.target (cpu_include_dir): Set to `config/cpu/mips'
1966 * config/cpu/mips/bits/atomicity.h: New.
1968 2001-07-25 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1970 * acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf,
1971 hypotl, atan2f, atan2l. Remove from REPLACE_MATHFUNCS list.
1972 * aclocal.m4: Regenerate.
1973 * config.h.in: Likewise.
1974 * configure: Likewise.
1975 * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove hypotl.c
1976 (EXTRA_DIST): Remove hypot.c hypotf.c.
1977 * libmath/Makefile.am: Regenerate.
1978 * libmath/hypotf.c: Remove.
1979 * libmath/hypot.c: Likewise.
1980 * libmath/hypotl.c: Likewise.
1981 * libmath/stubs.c: The macros seen here are HAVE_xxx, not
1982 _GLIBCPP_HAVE_xxx. Add long double versions.
1984 2001-07-23 David Edelsohn <edelsohn@gnu.org>
1986 * include/bits/limits_generic.h (int): Set digits and digits10
1987 appropriately for word size.
1988 (unsigned int,long,unsigned long): Likewise.
1990 2001-07-19 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1992 * include/bits/stl_algo.h : Fix typos.
1993 * testsuite/25_algorithms/unique.cc: New file.
1995 2001-07-19 Phil Edwards <pme@sources.redhat.com>
1996 Mark Mitchell <mark@codesourcery.com>
1998 Merge from cp-parser-branch.
1999 * include/bits/basic_string.h: Qualify symbols with 'template'.
2000 * include/bits/basic_string.tcc: Likewise.
2001 * include/bits/fstream.tcc: Likewise.
2002 * include/bits/istream.tcc: Likewise.
2003 * include/bits/sstream.tcc: Likewise.
2004 * include/bits/std_istream.h: Likewise.
2005 * include/bits/stl_iterator.h: Likewise.
2006 * include/bits/streambuf.tcc: Likewise.
2007 * src/gen-num-limits.cc: Add 'template<>' to specializations.
2008 * src/locale.cc: Likewise.
2010 2001-07-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2011 Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
2013 * src/gen-num-limits.cc (set_signals_handler): New function.
2014 Factor out signals setting. Set signal handler for SIGILL.
2016 2001-07-18 Phil Edwards <pme@sources.redhat.com>
2018 * docs/html/27_io/howto.html: Fix typo.
2019 * docs/html/faq/index.html: Minor updates for 3.0 all around.
2020 * docs/html/faq/index.txt: Regenerated.
2022 2001-07-18 Stephen M. Webb <stephen@bregmasoft..com>
2023 Roman Sulzhyk <roman_sulzhyk@yahoo.com>
2026 * include/bits/ostream.tcc (ostream::put): Fixed error condition check.
2027 * testsuite/27_io/streambuf.cc (test07): Added new regression test.
2029 2001-07-17 Stephen M. Webb <stephen@bregmasoft.com>r
2031 All occurrences of the __value_type() and __distance_type()
2032 functions, which were required to support the HP STL, have been
2033 removed along with all the auxiliary forwarding functions that
2034 were required to support their use.
2036 The __iterator_category() function was pretty much left alone
2037 because there was no benefit to removing it and its use made code
2038 just a little more readable.
2040 Incidences of distance() with nonstandard argument list were
2041 replaced by calls to the standard function (only in the files
2042 affected by the removal of the other HP functions).
2044 The signature of the rotate() algorithm was changed to match the
2047 Headers were reformatted under C++STYLE guidelines (indentation,
2048 linebreaks, typename keyword).
2050 * include/bits/stl_algo.h: replaced __value_type() and
2051 __distance_type() with iterator_traits, eliminated auxiliary
2052 support functions required to support said function usage.
2053 Changed nonstandard distance() call to standard call.
2055 * include/bits/stl_algobase.h: Same.
2056 * include/bits/stl_heap.h: Same.
2057 * include/bits/stl_numeric.h: Same.
2058 * include/bits/stl_uninitialized.h: Same.
2059 * include/bits/stl_iterator_base_types.h (__value_type()):
2061 (__distance_type()): Removed.
2062 (value_type()): Gone.
2063 (distance_type()): Done in.
2064 (iterator_category()): Hasta la vista, baby.
2066 * include/bits/stl_iterator_base_funcs.h (iterator_category()):
2067 Replaced with __iterator_category().
2068 * include/backward/iterator.h: moved definition of value_type(),
2069 distance_type(), and iterator_category() out of std:: and into
2071 * testsuite/23_containers/vector_ctor.cc (test03): New testcases.
2072 * testsuite/23_containers/vector_modifiers.cc (test03): New testcases.
2073 * testsuite/25_algorithms/rotate.cc: New testcase.
2074 * testsuite/25_algorithms/copy.cc: New testcase.
2075 * testsuite/25_algorithms/sort.cc: Same.
2076 * testsuite/25_algorithms/heap.cc: Same.
2077 * testsuite/25_algorithms/partition.cc: Same.
2078 * testsuite/25_algorithms/binary_search.cc: Same.
2079 * testsuite/26_numerics/sum_diff.cc: Ditto.
2081 001-07-17 Benjamin Kosnik <bkoz@redhat.com>
2083 * testsuite/README: Add notes on naming test cases.
2084 * testsuite/22_locale/members.cc: Mark as xfail.
2085 * testsuite/22_locale/numpunct_char_members.cc: Same.
2087 2001-07-16 Stephen M. Webb <stephen@bregmasoft.com>
2089 * acinclude.m4 (GLIBCPP_ENABLE_CHEADERS): Use glibcpp_srcdir when
2090 setting C_INCLUDE_DIR.
2091 * configure.in: Revert yesterday's LN_S change.
2092 * aclocal.m4: Regenerate.
2093 * configure: Regenerate.
2095 2001-07-15 Phil Edwards <pme@sources.redhat.com>
2097 * configure.in: Temporarily force LN_S to copy instead of symlink.
2098 * configure: Regenerate.
2100 2001-07-13 Phil Edwards <pme@sources.redhat.com>
2102 * include/bits/std_sstream.h (basic_stringbuf::basic_stringbuf(string):
2103 Initialize _M_string with pointer-and-size constructor, not just
2104 pointer. Fix some comments.
2105 * testsuite/21_strings/ctor_copy_dtor.cc (test03): New test.
2106 * testsuite/27_io/stringbuf.cc (test02): Remove unused variable.
2107 (test03): Add embedded-NUL tests.
2109 * mkcheck.in: When printing totals, match the order of the tests.
2110 * include/bits/stringfwd.h: Use same declaration keywords.
2111 * include/bits/std_iosfwd.h: Cosmetic spacing.
2113 2001-07-13 Stephen M. Webb <stephen@bregmasoft.com>
2114 Loren J. Rittle <ljrittle@acm.org>
2115 Phil Edwards <pme@sources.redhat.com>
2117 * include/Makefile.am: New file encapsulating header generation rules.
2118 * Makefile.am (SUBDIRS): Prepend 'include' directory.
2119 * acinclude.m4: Moved/removed rules for building various headers.
2120 * configure.in (AC_OUTPUT): Add include/Makefile.
2121 * mkc++config: Removed.
2123 * testsuite_flags.in: Changed build-includes to match new scheme.
2124 * mknumeric_limits: Likewise.
2125 * libio/Makefile.am: Changed INCLUDES to maatch new header scheme.
2126 * libmath/Makefile.am: Likewise.
2127 * libsupc++/Makefile.am: Likewise.
2128 * src/Makefile.am: Likewise; removed rules to build headers.
2129 * libmath/mathconf.h: Changed #include'd header names to match.
2130 * libmath/stubs.c: Likewise.
2131 * src/gen-num-limits.cc: Likewise.
2133 * configure: Regenerated.
2134 * config.h.in: Regenerated.
2135 * aclocal.m4: Regenerated.
2136 * Makefile.in: Regenerated.
2137 * include/Makefile.in: Regenerated.
2138 * libio/Makefile.in: Regenerated.
2139 * libmath/Makefile.in: Regenerated.
2140 * libsupc++/Makefile.in: Regenerated.
2141 * src/Makefile.in: Regenerated.
2142 * testsuite/Makefile.in: Regenerated.
2144 2001-07-11 Felix Natter <fnatter@gmx.net>
2146 * docs/html/17_intro/porting-howto.xml: Initial checkin of
2148 * docs/html/17_intro/porting-howto.html: check in v0.9.3
2150 2001-07-11 Phil Edwards <pme@sources.redhat.com>
2152 * docs/doxygen/run_doxygen: Don't keep output from previous run.
2153 * docs/doxygen/user.cfg.in: Tweaks.
2154 * include/bits/c++config: Documentation comments for Doxygen.
2155 * include/bits/char_traits.h: Likewise.
2156 * include/bits/limits_generic.h: Likewise.
2157 * include/bits/std_stdexcept.h: Likewise.
2158 * include/bits/stl_pair.h: Likewise.
2159 * libsupc++/exception: Likewise.
2160 * libsupc++/new: Likewise.
2161 * libsupc++/typeinfo: Likewise.
2162 * libmath/Makefile.am: Update and correct copyright.
2164 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2166 * acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
2167 * aclocal.m4: Regenerate.
2170 2001-07-09 Phil Edwards <pme@sources.redhat.com>
2172 * docs/html/configopts.html: Fix thinko.
2173 * docs/html/27_io/howto.html: Fix thinko and HTML markup.
2174 * include/bits/stl_iterator.h: Fix typo.
2176 2001-07-09 Phil Edwards <pme@sources.redhat.com>
2178 * docs/html/explanations.html: New file.
2179 * docs/html/configopts.html: Link to it to provide more notes
2180 on cstdio. Minor markup and spacing fixes.
2181 * docs/html/27_io/howto.html: Talk about sync_with_stdio.
2183 2001-07-09 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
2185 * include/bits/valarray_meta.h (_Expr::operator+): Use qualified id
2186 for _Expr template template argument.
2187 (_Expr::operator-): Likewise.
2188 (_Expr::operator~): Likewise.
2189 (_Expr::operator!): Likewise.
2190 (_DEFINE_EXPR_UNARY_OPERATOR): Likewise.
2192 2001-07-06 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2194 * libmath/Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.c
2195 * libmath/Makefile.in: Regenerate.
2196 * libmath/expf.c: Remove.
2197 * libmath/atan2f.c: Likewise.
2199 2001-07-06 Daniel Jacobowitz <drow@mvista.com>
2201 * configure.in: Remove NATIVE, NULL_TARGET.
2202 Set CANADIAN only for Canadian crosses. Set xcompiling
2203 for both Canadian crosses and host-x-host crosses.
2204 * configure: Regenerated.
2206 2001-07-06 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2208 * include/bits/stl_vector.h (vector::_M_initialize_aux): Fix typo.
2210 2001-07-05 Jason Merrill <jason_merrill@redhat.com>
2212 * testsuite_flags.in (--build-includes): backward, not backwards.
2214 2001-07-04 Jeffrey Oldham <oldham@codesourcery.com>
2216 * include/ext/ropeimpl.h (_Rope_RopeRep::_M_free_c_string):
2217 Replace destroy by _Destroy.
2218 (_Rope_RopeRep::_S_free_string): Likewise.
2219 (rope::c_str()): Likewise.
2220 * include/ext/slist (_Slist_base::_M_erase_after>): Likewise.
2221 (_Slist_base::_M_erase_after): Likewise.
2222 (slist::_M_create_node): Replace construct by _Construct.
2223 (slist::pop_front): Replace destroy by _Destroy.
2224 * include/ext/stl_hashtable.h (hashtable::_M_new_node): Replace
2225 construct by _Construct.
2226 (hashtable::_M_delete_node): Replace destroy by _Destroy.
2227 * include/ext/stl_rope.h (rope::rope): Replace construct by
2229 (rope::copy): Replace destroy by _Destroy.
2231 2001-07-03 Benjamin Kosnik <bkoz@redhat.com>
2233 * include/bits/localefwd.h: Format.
2234 * include/bits/locale_facts.tcc (locale::combine): Adjust.
2235 * src/locale.cc (locale::locale::(_Impl)): Don't call
2237 (locale::facet::_M_remove_reference): Simplify.
2238 * src/globals.cc (locale_impl_c): New. Format.
2240 * src/ios.cc (ios_base::Init::Init): Increment _S_ios_base_init last.
2242 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
2244 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
2245 expansion (thanks to Alexandre Oliva).
2246 * aclocal.m4: Regenerate.
2247 * configure: Regenerate.
2249 2001-07-02 Benjamin Kosnik <bkoz@redhat.com>
2251 * src/locale.cc (locale::locale(const char*)): Make sure global
2252 locales are initialized.
2253 * include/bits/locale_facets.tcc (locale::combine): Refcout should
2254 be zero, not one as it's return-by-value.
2255 * testsuite/27_io/ios_base_callbacks.cc (test01): Don't check for
2257 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Instead, check
2260 * libsupc++/eh_alloc.cc: Use climits, not limits.h.
2262 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
2265 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
2266 * aclocal.m4: Regenerate.
2267 * configure: Regenerate.
2269 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
2272 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to
2273 staged/installed area to support -I-. Document.
2274 * aclocal.m4: Regenerate.
2275 * configure: Regenerate.
2277 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
2280 * src/ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to
2281 __out_bufsize. Add __in_bufsize, document it and use it.
2283 2001-07-01 Stephen M. Webb <stephen@bregmasoft.com>
2285 * include/bits/stl_construct.h (construct): Remove.
2287 (__destroy): Replaced by use of iterator_traits.
2288 * include/bits/stl_deque.h: replaced HP iterator functions with
2290 (construct): changed to _Construct.
2291 (destroy): changed to _Destroy.
2292 * include/bits/stl_tempbuf.h: Same.
2293 * include/bits/stl_tree.h: Same.
2294 * include/bits/stl_vector.h: Same.
2295 * include/backward/iterator.h (construct): moved definition to here.
2298 2001-06-29 Benjamin Kosnik <bkoz@redhat.com>
2300 * include/bits/locale_facets.tcc (locale::combine): Clone _Impl.
2301 before replacing facet.
2302 * include/bits/localefwd.h (locale::_Impl::_M_remove_reference):
2304 * src/localename.cc (locale::_Impl): Correct ctor initialization
2305 lists. Initialize ref count with one. Simplify.
2306 * src/locale.cc: Add comment.
2307 * testsuite/22_locale/numpunct.cc (test01): Add derivation test.
2308 * testsuite/22_locale/numpunct_char_members.cc (test01): Add tests.
2309 * testsuite/22_locale/members.cc (test02): Fix.
2311 2001-06-27 Phil Edwards <pme@sources.redhat.com>
2313 * include/backward/algo.h: Add "GPL plus runtime exception" comment
2314 block, this time for real.
2315 * include/backward/algobase.h: Likewise.
2316 * include/backward/alloc.h: Likewise.
2317 * include/backward/bvector.h: Likewise.
2318 * include/backward/defalloc.h: Likewise.
2319 * include/backward/deque.h: Likewise.
2320 * include/backward/function.h: Likewise.
2321 * include/backward/hash_map.h: Likewise.
2322 * include/backward/hash_set.h: Likewise.
2323 * include/backward/hashtable.h: Likewise.
2324 * include/backward/heap.h: Likewise.
2325 * include/backward/iterator.h: Likewise.
2326 * include/backward/list.h: Likewise.
2327 * include/backward/map.h: Likewise.
2328 * include/backward/multimap.h: Likewise.
2329 * include/backward/multiset.h: Likewise.
2330 * include/backward/pair.h: Likewise.
2331 * include/backward/rope.h: Likewise.
2332 * include/backward/set.h: Likewise.
2333 * include/backward/slist.h: Likewise.
2334 * include/backward/stack.h: Likewise.
2335 * include/backward/strstream: Likewise.
2336 * include/backward/tempbuf.h: Likewise.
2337 * include/backward/tree.h: Likewise.
2338 * include/backward/vector.h: Likewise.
2339 * include/bits/pthread_allocimpl.h: Likewise.
2340 * include/bits/std_algorithm.h: Likewise.
2341 * include/bits/std_bitset.h: Likewise.
2342 * include/bits/std_deque.h: Likewise.
2343 * include/bits/std_functional.h: Likewise.
2344 * include/bits/std_iterator.h: Likewise.
2345 * include/bits/std_list.h: Likewise.
2346 * include/bits/std_map.h: Likewise.
2347 * include/bits/std_memory.h: Likewise.
2348 * include/bits/std_numeric.h: Likewise.
2349 * include/bits/std_queue.h: Likewise.
2350 * include/bits/std_set.h: Likewise.
2351 * include/bits/std_stack.h: Likewise.
2352 * include/bits/std_utility.h: Likewise.
2353 * include/bits/std_vector.h: Likewise.
2354 * include/bits/stl_algo.h: Likewise.
2355 * include/bits/stl_algobase.h: Likewise.
2356 * include/bits/stl_alloc.h: Likewise.
2357 * include/bits/stl_bvector.h: Likewise.
2358 * include/bits/stl_construct.h: Likewise.
2359 * include/bits/stl_deque.h: Likewise.
2360 * include/bits/stl_function.h: Likewise.
2361 * include/bits/stl_heap.h: Likewise.
2362 * include/bits/stl_iterator.h: Likewise.
2363 * include/bits/stl_iterator_base_funcs.h: Likewise.
2364 * include/bits/stl_iterator_base_types.h: Likewise.
2365 * include/bits/stl_list.h: Likewise.
2366 * include/bits/stl_map.h: Likewise.
2367 * include/bits/stl_multimap.h: Likewise.
2368 * include/bits/stl_multiset.h: Likewise.
2369 * include/bits/stl_numeric.h: Likewise.
2370 * include/bits/stl_pair.h: Likewise.
2371 * include/bits/stl_pthread_alloc.h: Likewise.
2372 * include/bits/stl_queue.h: Likewise.
2373 * include/bits/stl_raw_storage_iter.h: Likewise.
2374 * include/bits/stl_relops.h: Likewise.
2375 * include/bits/stl_set.h: Likewise.
2376 * include/bits/stl_stack.h: Likewise.
2377 * include/bits/stl_tempbuf.h: Likewise.
2378 * include/bits/stl_threads.h: Likewise.
2379 * include/bits/stl_tree.h: Likewise.
2380 * include/bits/stl_uninitialized.h: Likewise.
2381 * include/bits/stl_vector.h: Likewise.
2382 * include/bits/type_traits.h: Likewise.
2383 * include/ext/hash_map: Likewise.
2384 * include/ext/hash_set: Likewise.
2385 * include/ext/rope: Likewise.
2386 * include/ext/ropeimpl.h: Likewise.
2387 * include/ext/slist: Likewise.
2388 * include/ext/stl_hash_fun.h: Likewise.
2389 * include/ext/stl_hashtable.h: Likewise.
2390 * include/ext/stl_rope.h: Likewise.
2391 * src/bitset.cc: Likewise.
2392 * src/strstream.cc: Likewise.
2394 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2395 <vakatov@ncbi.nlm.nih.gov>
2398 * include/bits/streambuf.tcc (__copy_streambufs): Don't set eofbit.
2399 * testsuite/27_io/ostream_inserter_other.cc (test04): Add test.
2400 * testsuite/27_io/istream_extractor_other.cc: Fix.
2402 2001-06-26 Zoltan Hidvegi <hzoli@austin.ibm.com>
2404 * acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
2405 * aclocal.m4: Regenerate.
2406 * configure: Regenerate.
2408 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2410 * include/bits/stream_iterator.h (istream_iterator): Add copy ctor.
2411 (ostream_iterator): Same.
2412 * include/bits/stl_iterator.h (front_insert_iterator::operator=):
2413 Change argument to const_reference.
2414 (back_insert_iterator): Same.
2416 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2418 * include/bits/sbuf_iter.h: Change to..
2419 * include/bits/streambuf_iterator.h: This.
2420 * include/bits/stl_iterator.h: Take out of here...
2421 * include/bits/stream_iterator.h: Add.
2422 * src/Makefile.am (base_headers): Add streambuf_iterator,
2424 * src/Makefile.in: Regenerate.
2425 * include/bits/std_string.h: Adjust includes.
2426 * include/bits/basic_ios.h: Same.
2427 * include/bits/locale_facets.tcc: Same.
2428 * include/bits/std_iosfwd.h: Same.
2430 * include/bits/std_iterator.h: Add istream, ostream includes.
2431 * include/bits/stl_iterator.h: Tweak.
2432 * testsuite/24_iterators/ostream_iterator.cc: Add test.
2433 * testsuite/24_iterators/istream_iterator.cc: Same.
2434 * testsuite/23_containers/multiset.cc: Add iterator include.
2436 2001-06-26 Phil Edwards <pme@sources.redhat.com>
2438 * acinclude.m4: Clean extraneous tabs, rewrap 'test' lines.
2439 * aclocal.m4: Regenerate.
2440 * configure: Regenerate.
2442 2001-06-26 Felix Natter <f.natter@ndh.net>
2444 * docs/html/17_intro/porting-howto.html: Fixed some errors.
2446 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2448 * include/bits/stl_iterator.h (istream_iterator::operator->): Fix
2450 (istream_iterator::operator*): Same.
2452 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2453 Alexandre Petit-Bianco <apbianco@redhat.com>
2455 * testsuite/21_strings/element_access.cc (test01): Chill Out Cafe
2456 is on 41st, not 14th.
2458 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2460 * include/bits/std_iterator.h: Include sbuf_iter.h via std_ios.h.
2462 * include/bits/stl_iterator.h (istream_iterator): Inherit from
2464 (ostream_iterator): Same.
2465 * testsuite/24_iterators/istream_iterator.cc: New file.
2466 * testsuite/24_iterators/ostream_iterator.cc: New file.
2468 * include/bits/sbuf_iter.h: Remove self typedef.
2469 * testsuite/24_iterators/ostreambuf_iterator.cc: Add test.
2470 * testsuite/24_iterators/istreambuf_iterator.cc: Add test.
2472 * include/bits/stl_iterator.h (reverse_iterator): Remove
2473 extraneous typedefs. Add typename.
2474 (__normal_iterator): Remove typedefs referring to self. Add typename.
2475 (reverse_bidiretional_iterator): Remove, not longer required.
2477 2001-06-26 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2479 * include/bits/stl_iterator.h (__normal_iterator<>): Qualify
2480 dependent names with `typename'. Bring in various required
2481 iterator_traits members. Can't imagine why that used to work.
2483 2001-06-25 Phil Edwards <pme@sources.redhat.com>
2484 Kurt Garloff <garloff@suse.de>
2487 * src/cmath.cc: New [version of an old] file; instantiate
2488 __cmath_power to start with.
2489 * src/Makefile.am (sources): Add cmath.cc (and alphabetize).
2490 * Makefile.in: Regenerate.
2491 * libio/Makefile.in: Regenerate.
2492 * libmath/Makefile.in: Regenerate.
2493 * libsupc++/Makefile.in: Regenerate.
2494 * src/Makefile.in: Regenerate.
2495 * testsuite/Makefile.in: Regenerate.
2497 2001-06-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2499 * libmath/stubs.c: Fix thinko.
2501 2001-06-24 David Edelsohn <dje@watson.ibm.com>
2503 * libmath/stubs.c (sqrtf): Define.
2504 (tanf): Correct typo.
2506 2001-06-22 Benjamin Kosnik <bkoz@redhat.com>
2508 * include/bits/stl_iterator.h (reverse_iterator): Inherit from
2510 (back_insert_iterator): Same.
2511 (front_insert_iterator): Same.
2512 (insert_iterator): Same.
2514 * testsuite/20_util/raw_storage_iterator.cc: Modify.
2515 * testsuite/24_iterators/reverse_iterator.cc: New file.
2516 * testsuite/24_iterators/back_insert_iterator.cc: New file.
2517 * testsuite/24_iterators/front_insert_iterator.cc: New file.
2518 * testsuite/24_iterators/insert_iterator.cc: New file.
2520 2001-06-22 Phil Edwards <pme@sources.redhat.com>
2522 * include/*: Revert comment/license change from yesterday for all
2523 except libsupc++/unwind-cxx.h.
2524 * src/bitset.cc: Likewise.
2525 * src/strstream.cc: Likewise.
2527 2001-06-22 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2529 * libmath/stubs.c: New file.
2533 * libmath/Makefile.am (libmath_la_SOURCES): Add.
2534 * libmath/Makefile.in. Regenerate.
2536 2001-06-21 Phil Edwards <pme@sources.redhat.com>
2538 * include/backward/algo.h: Add "GPL plus runtime exception" comment.
2539 * include/backward/algobase.h: Likewise.
2540 * include/backward/alloc.h: Likewise.
2541 * include/backward/bvector.h: Likewise.
2542 * include/backward/defalloc.h: Likewise.
2543 * include/backward/deque.h: Likewise.
2544 * include/backward/function.h: Likewise.
2545 * include/backward/hash_map.h: Likewise.
2546 * include/backward/hash_set.h: Likewise.
2547 * include/backward/hashtable.h: Likewise.
2548 * include/backward/heap.h: Likewise.
2549 * include/backward/iterator.h: Likewise.
2550 * include/backward/list.h: Likewise.
2551 * include/backward/map.h: Likewise.
2552 * include/backward/multimap.h: Likewise.
2553 * include/backward/multiset.h: Likewise.
2554 * include/backward/pair.h: Likewise.
2555 * include/backward/rope.h: Likewise.
2556 * include/backward/set.h: Likewise.
2557 * include/backward/slist.h: Likewise.
2558 * include/backward/stack.h: Likewise.
2559 * include/backward/strstream: Likewise.
2560 * include/backward/tempbuf.h: Likewise.
2561 * include/backward/tree.h: Likewise.
2562 * include/backward/vector.h: Likewise.
2563 * include/bits/pthread_allocimpl.h: Likewise.
2564 * include/bits/std_algorithm.h: Likewise.
2565 * include/bits/std_bitset.h: Likewise.
2566 * include/bits/std_deque.h: Likewise.
2567 * include/bits/std_functional.h: Likewise.
2568 * include/bits/std_iterator.h: Likewise.
2569 * include/bits/std_list.h: Likewise.
2570 * include/bits/std_map.h: Likewise.
2571 * include/bits/std_memory.h: Likewise.
2572 * include/bits/std_numeric.h: Likewise.
2573 * include/bits/std_queue.h: Likewise.
2574 * include/bits/std_set.h: Likewise.
2575 * include/bits/std_stack.h: Likewise.
2576 * include/bits/std_utility.h: Likewise.
2577 * include/bits/std_vector.h: Likewise.
2578 * include/bits/stl_algo.h: Likewise.
2579 * include/bits/stl_algobase.h: Likewise.
2580 * include/bits/stl_alloc.h: Likewise.
2581 * include/bits/stl_bvector.h: Likewise.
2582 * include/bits/stl_construct.h: Likewise.
2583 * include/bits/stl_deque.h: Likewise.
2584 * include/bits/stl_function.h: Likewise.
2585 * include/bits/stl_heap.h: Likewise.
2586 * include/bits/stl_iterator.h: Likewise.
2587 * include/bits/stl_iterator_base_funcs.h: Likewise.
2588 * include/bits/stl_iterator_base_types.h: Likewise.
2589 * include/bits/stl_list.h: Likewise.
2590 * include/bits/stl_map.h: Likewise.
2591 * include/bits/stl_multimap.h: Likewise.
2592 * include/bits/stl_multiset.h: Likewise.
2593 * include/bits/stl_numeric.h: Likewise.
2594 * include/bits/stl_pair.h: Likewise.
2595 * include/bits/stl_pthread_alloc.h: Likewise.
2596 * include/bits/stl_queue.h: Likewise.
2597 * include/bits/stl_raw_storage_iter.h: Likewise.
2598 * include/bits/stl_relops.h: Likewise.
2599 * include/bits/stl_set.h: Likewise.
2600 * include/bits/stl_stack.h: Likewise.
2601 * include/bits/stl_tempbuf.h: Likewise.
2602 * include/bits/stl_threads.h: Likewise.
2603 * include/bits/stl_tree.h: Likewise.
2604 * include/bits/stl_uninitialized.h: Likewise.
2605 * include/bits/stl_vector.h: Likewise.
2606 * include/bits/type_traits.h: Likewise.
2607 * include/ext/hash_map: Likewise.
2608 * include/ext/hash_set: Likewise.
2609 * include/ext/rope: Likewise.
2610 * include/ext/ropeimpl.h: Likewise.
2611 * include/ext/slist: Likewise.
2612 * include/ext/stl_hash_fun.h: Likewise.
2613 * include/ext/stl_hashtable.h: Likewise.
2614 * include/ext/stl_rope.h: Likewise.
2615 * libsupc++/unwind-cxx.h: Likewise.
2616 * src/bitset.cc: Likewise.
2617 * src/strstream.cc: Likewise.
2619 2001-06-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2621 * include/bits/indirect_array.h (indirect_array<>::operator=):
2622 Make copy and assignment operator public. Implement. Format.
2624 * include/bits/valarray_array.h (__valarray_copy): Add overloads
2625 for copy between index arrays. Format.
2627 2001-06-19 Benjamin Kosnik <bkoz@redhat.com>
2629 * mknumeric_limits: Add static definitions, format.
2630 * testsuite/18_support/numeric_limits.cc (test02): Add test.
2632 * include/c_std/bits/std_cwchar.h: Include ctime.
2633 * testsuite/17_intro/header_cwchar.cc : Check.
2635 * include/c_std/bits/std_cwctype.h: Inject wctype.
2636 * testsuite/17_intro/header_cwctype.cc: Update.
2638 2001-06-18 Benjamin Kosnik <bkoz@redhat.com>
2640 * include/bits/stl_raw_storage_iter.h: Format. Correct derivation.
2641 * testsuite/20_util/raw_storage_iterator.cc: Same.
2643 * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to
2645 (__mem_interface): New typedef for switching between malloc and new.
2646 * testsuite/20_util/allocator_members.cc: New file.
2648 * testsuite/20_util/comparisons.cc: New file.
2649 * testsuite/20_util/pairs.cc: New file.
2651 2001-06-15 Phil Edwards <pme@sources.redhat.com>
2653 * docs/html/documentation.html: Point to new doxygen'ed collection.
2655 2001-06-14 Nathan Sidwell <nathan@codesourcery.com>
2657 * configure.in (auxdir): Replace by ...
2658 (toprel): ... new variable.
2659 (toplevel_srcdir): Construct from $toprel.
2660 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
2661 rather than .. to locate gcc source directory.
2662 (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
2663 * aclocal.m4, configure: Rebuilt.
2665 2001-06-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
2667 (Approved by Mark and Benjamin. Applied by Loren.)
2669 * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
2670 _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
2671 and _GLIBCPP_mutex_address.
2672 * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
2673 once-only runtime initialization of _M_lock mutex when
2674 __GTHREAD_MUTEX_INIT_FUNCTION is defined.
2675 (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
2676 for __GTHREAD_MUTEX_INIT_FUNCTION case.
2678 2001-06-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2680 * testsuite/26_numerics/slice_array_assignment.cc (main): New test.
2682 * include/bits/slice_array.h (slice_array<>::operator=): Make
2683 public and implement.
2684 (slice_array<>::slice_array): Make copy-constructor public.
2686 * include/bits/valarray_array.h (__valarray_copy): Add another
2687 overload to copy between strided arrays.
2689 2001-06-13 Benjamin Kosnik <bkoz@redhat.com>
2691 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
2692 * aclocal.m4: Regenerate.
2693 * configure: Regenerate.
2694 * include/bits/c++config (__GLIBCPP__): Update date.
2696 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
2698 * include/bits/fpos.h (fpos::operator-): Don't return reference,
2699 return original, non-modified version.
2700 (fpos::operator+): Same.
2701 * testsuite/27_io/fpos.cc: Add test.
2703 2001-06-12 Loren J. Rittle <ljrittle@acm.org>
2706 * porting.texi: Add documentation about libstdc++-v3-specific
2707 macros that are currently included in os_defines.h files.
2709 * config/basic_file_stdio.h (sys_getc): New method.
2710 (sys_ungetc): New method.
2711 * include/bits/basic_file.h: (sys_getc): New method signature.
2712 (sys_ungetc): New method signature.
2714 * include/bits/fstream.tcc (underflow): Add conditional code
2715 paths which avoid using short seeks on streams (especially
2716 useful when the stream might be interactive or a pipe). At
2717 the moment, this alternate path only avoids seeking when the
2718 ``buffer size'' of underflow() is 1 since the C standard only
2719 guarantees buffer space for one ungetc (this technique could
2720 be extended since *-*-solaris* supports buffering for 4 calls
2721 to ungetc and *-*-*bsd* supports buffering limited only by
2722 memory resources). Also, _GLIBCPP_AVOID_FSEEK must be defined
2723 in a port's os_defines.h file for this alternate path to even
2724 be considered. As a bonus, the idiom of using getc/ungetc
2725 requires no system calls whereas fseek maps to one or two
2726 system call(s) on many platforms.
2728 * config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
2730 * config/os/solaris/solaris2.5/bits/os_defines.h
2731 (_GLIBCPP_AVOID_FSEEK): Likewise.
2732 * config/os/solaris/solaris2.6/bits/os_defines.h
2733 (_GLIBCPP_AVOID_FSEEK): Likewise.
2734 * config/os/solaris/solaris2.7/bits/os_defines.h
2735 (_GLIBCPP_AVOID_FSEEK): Likewise.
2737 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
2739 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change to
2740 AC_TRY_COMPILE, so that the built compiler is checked, and
2741 bootstraps or cross compiles with an older compile still work.
2742 * aclocal.m4: Regenerate.
2743 * configure: Regenerate.
2745 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
2748 * include/bits/std_sstream.h: Add allocator_type, as per DR 251.
2751 * include/bits/istream.tcc (getline, get): Fix as per DR 243.
2754 * include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
2757 * include/bits/limits_generic.h: Fix as per DR 184.
2759 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
2762 * include/bits/basic_string.h (string::compare): Adjust signatures
2764 * include/bits/basic_string.tcc: And here.
2767 * config/c_io_stdio.h: Remove whitespace.
2768 * testsuite/27_io/istream_seeks.cc (test03): Add regression.
2769 (test02): Add regression.
2770 * testsuite/27_io/istream_seeks-3.tst: New file.
2772 2001-06-11 Phil Edwards <pme@sources.redhat.com>
2774 * README: Update to reflect reality.
2775 * acinclude.m4: Update descriptions, fix typos. Comment changes only.
2776 * configure.in: Make certain target_alias is set and subst'd for 2.50.
2777 * aclocal.m4: Regenerate.
2778 * configure: Regenerate (with 2.13).
2780 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
2783 * include/bits/ostream.tcc (ostream::seekp): Add error checking as
2785 * include/bits/istream.tcc (istream::seekg): Same.
2786 * testsuite/27_io/istream_seeks.cc: Fix.
2789 * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
2791 * include/bits/std_queue.h: Add c++config.h.
2792 * testsuite/20_util/binders.cc: New test.
2794 2001-06-11 Matthias Klose <doko@debian.org>
2795 Phil Edwards <pme@sources.redhat.com>
2797 * docs/doxygen/run_doxygen (find_doxygen): Tweak version check.
2798 (main script): Echo more information.
2800 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
2802 * include/c_std/bits/std_cwchar.h: Alphabetize.
2803 * include/bits/char_traits.h: Tweak.
2804 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
2805 everything used by std_cwchar.h.
2806 * aclocal.m4: Regenerate.
2807 * configure.in: Regenerate.
2808 * config.h.in: Regenerate.
2810 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
2812 * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
2813 Add checking for strtof, _Exit in stdlib.h
2814 * aclocal.m4: Regenerate.
2815 * configure.in: Regenerate.
2816 * include/c_std/bits/std_cstdio.h: Alphabetize lists.
2817 (snprintf): Put C99 functions into __gnu_cxx namespace.
2822 * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
2823 for C99 functions within _GLIBCPP_USE_C99 guard.
2827 * include/bits/locale_facets.tcc: Check if C99 is enabled.
2828 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
2830 * include/c_std/bits/cmath.tcc: Formatting tweak.
2831 * include/c_std/bits/std_cmath.h: Same.
2833 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
2835 * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
2837 2001-06-09 Alexandre Oliva <aoliva@redhat.com>
2838 Stephen L Moshier <moshier@mediaone.net>
2840 * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
2841 nothing, as in autoconf 2.50.
2842 * configure: Rebuilt.
2844 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
2846 * include/c_std/bits/std_cwchar.h: Remove size_t injection,
2847 include std_cstddef.
2848 * include/c_std/bits/std_ctime.h: Same.
2849 * include/c_std/bits/std_cstring.h: Same.
2850 * include/c_std/bits/std_cstdlib.h: Same.
2852 * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
2853 * include/c_std/bits/std_cctype.h: Remove isblank.
2855 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
2857 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
2859 * aclocal.m4: Regenerate.
2860 * configure: Regenerate.
2861 * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
2862 injection, guard fgetwc, fgetws.
2863 * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
2864 * include/c_std/bits/std_clocale.h: And here.
2865 * include/c_std/bits/std_cctype.h: And here.
2866 * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
2868 * config/basic_file_stdio.h: Don't include unistd.h.
2869 * config/c_io_stdio.h: Don't use compatibility headers.
2870 * libsupc++/eh_terminate.cc: Qualify abort.
2871 (__terminate): And here.
2872 * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
2874 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
2876 * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
2878 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
2883 * include/std/*: Add copyright notice.
2884 * include/c_std/bits/*: Use using statements instead of extern "C".
2885 * include/c_std/bits/std_cmath.h: Don't overload double versions
2886 of math functions with __buitin versions, use global version to
2887 prevent ambiguities. Remove define hacks.
2888 * include/c_std/bits/std_cwchar.h: Using declarations for "C"
2889 functions that have changed signatures and std::
2890 declarations. Remove define hacks.
2891 * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
2892 __builtins in std::. Remove define hacks.
2893 * testsuite/17_intro/headers_c.cc: Add tests.
2894 * testsuite/17_intro/headers_c++.cc: Add test.
2896 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
2897 John David Anglin <dave@hiauly1.hia.nrc.ca>
2900 * libsupc++/eh_alloc.cc: Ensure that required macros are
2901 defined before including gthr.h. Ensure that we get the
2902 version of gthr.h for which we know how to provide a
2904 * libsupc++/eh_globals.cc: Likewise. And, bring the threading
2905 code path into line with the current EH model. Use std, where
2908 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
2909 John David Anglin <dave@hiauly1.hia.nrc.ca>
2911 * config/threads-no.h: Remove file.
2912 * config/threads-posix.h: Remove file.
2914 * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
2915 (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
2916 (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
2917 * config.h.in: Regenerate.
2919 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
2920 setup and use gthr*.h files. In particular, make gthr.h files
2921 namespace-clean in the staging area (they don't have to be for
2923 * aclocal.m4: Regenerate.
2924 * configure: Regenerate.
2926 * src/Makefile.am (build_headers): Remove bits/c++threads.h
2927 and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
2928 * src/Makefile.in: Regenerate.
2930 * include/bits/c++config: Cleanup threading configuration macros.
2931 In particular, define __STL_GTHREADS macro which controls...
2932 * include/bits/stl_threads.h: ...a brand new gthr.h-based
2935 * config/c_io_stdio.h: Include staged gthr.h instead of local
2936 thread configuration file. Always use __gthread_mutex_t
2937 instead of __mutext_type (or int).
2938 * include/bits/std_fstream.h: Likewise.
2940 * docs/html/17_intro/howto.html: Remove placeholder comment in
2941 case this configuration patch didn't make it. Add advice that
2942 section only applies if configured with --enable-threads.
2943 * docs/html/23_containers/howto.html: Reword to make clear
2944 that _PTHREADS is no longer required for any port to be
2945 correctly using STL with threads. Add advice that section
2946 only applies if configured with --enable-threads.
2948 2001-06-06 Benjamin Kosnik <bkoz@redhat.com>
2950 * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
2952 2001-06-05 Benjamin Kosnik <bkoz@redhat.com>
2955 * include/bits/basic_ios.tcc: Formatting tweaks.
2956 * include/bits/ios_base.h: Formatting tweaks.
2957 * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
2958 (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
2959 * src/globals.cc: Allocate filebufs for standard streams here.
2960 (buf_cout, buf_cin, buf_cerr): Like so.
2961 (buf_wcout, buf_wcin, buf_wcerr): And so.
2962 * testsuite/27_io/ios_init.cc: Add.
2964 2001-06-04 Brendan Kehoe <brendan@zen.org>
2965 Benjamin Kosnik <bkoz@redhat.com>
2968 * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
2969 for generic ctype virtuals.
2970 * src/locale.cc: Minor tweaks, naming consistency.
2971 * testsuite/22_locale/ctype.cc: Add test.
2973 2001-06-04 Kenny Simpson <theonetruekenny@yahoo.com>
2974 Phil Edwards <pme@sources.redhat.com>
2976 PR libstdc++/3035 and PR libstdc++/3036
2977 * include/bits/stl_pair.h: Fix pair ctor and make_pair according
2978 to LWG DR 181 and 265.
2980 2001-06-04 Phil Edwards <pme@sources.redhat.com>
2983 * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
2984 equal_range): Add const overloads as per LWG DR 214.
2985 * include/bits/stl_set.h: Likewise.
2987 2001-06-04 Brendan Kehoe <brendan@zen.org>
2988 Phil Edwards <pme@sources.redhat.com>
2991 * include/bits/std_bitset.h (bitset::test): Fix __pos >= _Nb
2992 comparison; all positions must be < _Nb.
2993 * testsuite/23_containers/bitset_members.cc: New file.
2995 2001-06-04 Brendan Kehoe <brendan@zen.org>
2998 * include/bits/stl_queue.h (classes queue, priority_queue): Fix
2999 ctors to match the standard.
3001 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
3003 * include/bits/char_traits.h (move): Reverse qualification of
3005 (copy): Reverse qualification of memcpy with std::.
3007 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
3009 * include/bits/char_traits.h (move): Qualify memmove with std::.
3010 (copy): Qualify memcpy with std::.
3011 * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
3014 * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
3016 2001-06-04 Hans-Peter Nilsson <hp@axis.com>
3018 * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
3019 uninstall-glibcppinstallHEADERS): Have explicit rules catering to
3020 SUN make VPATH peculiarities.
3021 * libsupc++/Makefile.in: Regenerate.
3023 2001-06-01 Hans-Peter Nilsson <hp@axis.com>
3025 * src/Makefile.am (VPATH): Delimit with ":", not space.
3026 * src/Makefile.in: Regenerate.
3028 * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
3030 * configure: Regenerate.
3032 2001-05-31 scott snyder <snyder@fnal.gov>
3035 * include/bits/istream.tcc: Include std_ostream.h.
3037 2001-05-31 Benjamin Kosnik <bkoz@redhat.com>
3040 * src/bitset.cc: Qualify size_t with std::.
3042 2001-05-30 Benjamin Kosnik <bkoz@redhat.com>
3044 * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
3045 (_GLIBCPP_BUGGY_COMPLEX): Remove.
3046 * config.h.in: Regenerate.
3047 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
3048 * aclocal.m4: Regenerate.
3049 * configure.in: Don't call it.
3050 * configure: Regenerate.
3053 * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
3054 * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
3058 * include/bits/std_complex.h: Include sstream. Put definitions for
3059 complex inserters and extractors here, and remove them from...
3060 * src/complex_io.cc: ...here.
3061 * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
3063 (basic_ios::__numget_type): Same.
3064 * include/bits/std_istream.h: Same.
3065 * include/bits/std_ostream.h: Same.
3066 * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
3067 class iterator template arguments.
3068 * src/locale-inst.cc: Add explicit has_facet instantiations.
3069 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
3070 (_M_get_fnumput): Remove.
3071 (_M_get_fnumget): Remove.
3072 (basic_ios::_M_check_facet): New function.
3073 (basic_ios::_M_cache_facets): New function.
3074 * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
3075 (basic_ios::imbue): Call _M_cache_facets.
3076 (basic_ios::init): Same.
3077 * include/bits/istream.tcc: Format, use _M_check_facet.
3078 * include/bits/ostream.tcc: Same.
3079 * include/bits/locale_facets.tcc (__output_float): Change
3080 signature, add _Traits.
3081 * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
3084 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
3086 * include/bits/c++config (__USE_MALLOC): Do not define it.
3087 Document why not and give pointers to more information.
3089 * docs/html/23_containers/howto.html: Update documentation
3090 to reflect recent understanding of problem.
3091 * docs/html/17_intro/howto.html: Likewise.
3093 2001-05-30 Phil Edwards <pme@sources.redhat.com>
3095 * docs/doxygen/user.cfg.in: Minor addition.
3096 * docs/html/documentation.html: Reorganize. Put most-looked-at
3098 * docs/html/install.html: Update for 3.0. HTML fixups.
3099 * docs/html/17_intro/howto.html: Likewise.
3100 * docs/html/18_support/howto.html: Likewise.
3101 * docs/html/19_diagnostics/howto.html: Likewise.
3102 * docs/html/20_util/howto.html: Likewise.
3103 * docs/html/23_containers/howto.html: Likewise.
3104 * docs/html/24_iterators/howto.html: Likewise. More notes.
3105 * docs/html/25_algorithms/howto.html: Likewise.
3106 * docs/html/26_numerics/howto.html: Likewise. More notes.
3107 * docs/html/27_io/howto.html: Likewise.
3108 * docs/html/ext/howto.html: Likewise.
3109 * docs/html/faq/index.html: Likewise.
3110 * docs/html/faq/index.txt: Regenerate.
3111 * docs/html/27_io/iostreams_hierarchy.pdf: Remove in favor of
3112 Doxygen-created documentation.
3114 2001-05-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3116 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
3117 get_multilibs to find gcc.
3119 2001-05-30 Phil Edwards <pme@sources.redhat.com>
3121 * acinclude.m4 (GLIBCPP_ENABLE_C99): Reorder output messages.
3122 * aclocal.m4: Regenerate.
3123 * configure: Regenerate.
3125 2001-05-29 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3127 * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
3128 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
3130 2001-05-27 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3132 * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
3133 * include/c_std/bits/std_cstdlib.h: Same.
3134 * include/c_std/bits/std_cwchar.h: Same.
3136 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
3138 * docs/html/17_intro/howto.html: Update link.
3139 * docs/html/23_containers/howto.html: Likewise. Add new link.
3141 2001-05-26 Gabriel Dos Reis <gdr@codesourcery.com>
3143 * include/c_std/bits/std_cmath.h (sqrt): #undef.
3145 2001-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3147 * mknumeric_limits: Stop if gen-num-limits dies.
3149 2001-05-25 Benjamin Kosnik <bkoz@redhat.com>
3152 * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
3153 * aclocal.m4: Regenerate.
3156 2001-05-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3157 Phil Edwards <pme@sources.redhat.com>
3158 Alexandre Oliva <aoliva@redhat.com>
3160 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
3161 in an amd-safe manner. Revert glibcpp_prefixdir.
3163 2001-05-25 Gabriel Dos Reis <gdr@codesourcery.com>
3165 * include/c_std/bits/std_cmath.h: Tweak. #define away abs, cos,
3166 fabs, sin, sqrt. They are now implemented in terms of __builtin_
3169 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
3172 * testsuite/21_strings/inserters_extractors.cc (test09): New test.
3173 * include/bits/ostream.tcc: Format to match istream.tcc.
3174 (operator<<(basic_ostream __out, const basic_string __s)): Fix.
3176 2001-05-24 Phil Edwards <pme@sources.redhat.com>
3178 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Qualify
3180 (__cxa_free_exception): Likewise with free.
3182 2001-05-24 Mark Mitchell <mark@codesourcery.com>
3184 * include/c_std/bin/std_cstring.h: #define away all global
3185 functions we will redeclare in namespace `std'.
3186 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
3187 std::memset, instead of memset.
3188 * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
3190 * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
3193 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
3196 * include/bits/basic_ios.tcc: Small tweak.
3197 * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
3198 ctors and dtors, and rdbuf settings.
3201 * include/bits/std_sstream.h: Same, but for stringstream classes.
3202 * testsuite/27_io/ostringstream_members.cc: New.
3203 * testsuite/27_io/stringstream_members.cc: New.
3204 * testsuite/27_io/fstream_members.cc: New.
3205 * testsuite/27_io/ifstream_members.cc: Add test.
3206 * testsuite/27_io/istringstream_members.cc: Add test.
3207 * testsuite/27_io/ofstream_members.cc: Add test.
3209 2001-05-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3211 * include/bits/c++config(__NO_MATH_INLINES): Move to...
3212 * config/os/gnu-linux/bits/os_defines.h: ...here.
3214 2001-05-24 Gabriel Dos Reis <gdr@codesourcery.com>
3216 * include/bits/c++config (__NO_MATH_INLINES): New macro.
3217 * testsuite/26_numerics/fabs_inline.cc (main): New test.
3219 2001-05-22 Benjamin Kosnik <bkoz@redhat.com>
3222 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
3224 (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
3225 (libstdc++-v3-finish): Remove.
3226 (libstdc++-v3_exit): Remove.
3228 2001-05-22 Phil Edwards <pme@sources.redhat.com>
3230 * docs/html/documentation.html: Point to doxygen output.
3232 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
3234 * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
3236 * include/bits/std_sstream.h (stringbuf::setbuf): Require both
3237 arguments to be non-null.
3238 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
3239 try allocations if allocated size is greater than zero.
3240 (filebuf::_M_filebuf_init): Change to
3241 (filebuf::_M_allocate_file): Which is what it does now.
3242 (filebuf::_M_allocate_bufers): Change to
3243 (filebuf::_M_allocate_internal_buffer): This, and create
3244 (filebuf::_M_allocate_pback_buffer): New.
3245 (filebuf::_M_destroy_internal_buffer): New.
3246 (filebuf::_M_buf_allocated): New data member.
3247 (filebuf::setbuf): Use new logic, allow use of external buffer.
3248 * testsuite/27_io/stringbuf_virtuals.cc: New file.
3249 * testsuite/27_io/filebuf_virtuals.cc: New file.
3251 2001-05-21 Stephen M. Webb <stephen@bregmasoft.com>
3253 * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
3255 (strchr): Same, but to __glibcpp_strchr.
3259 * include/c_std/bits/std_cwchar.h (wcschr): Same.
3265 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
3267 * testsuite/21_strings/c_strings.cc (main): Fix.
3269 2001-05-19 Phil Edwards <pme@sources.redhat.com>
3271 * acinclude.m4: Fix --help spacing, correct comments.
3272 * aclocal.m4: Regenerate.
3273 * configure: Regenerate.
3274 * mkcheck.in: Add usage comments.
3275 * docs/html/documentation.html: Point to doxygen'd tarball.
3277 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
3279 * testsuite/README: Add notes.
3281 * src/Makefile.am (libstdc++.INC): Remove.
3282 * src/Makefile.in: Regenerate.
3284 Phil Edwards <pedwards@disaster.jaj.com>
3285 * mkcheck.in: Add missing '#'.
3287 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
3289 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
3290 appropriately for remote testing and testing installed files without
3293 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
3295 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
3296 amd glibcpp_prefixdir with absolute paths.
3298 * include/bits/c++config (__GLIBCPP__): Bump.
3299 * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
3301 2001-05-18 Gabriel Dos Reis <gdr@codesourcery.com>
3303 * include/bits/std_valarray.h (valarray<>::operator[] const):
3304 Return a const reference.
3305 * testsuite/26_numerics/valarray_const_bracket.cc: New test.
3307 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
3309 * configure.target (ATOMICITYH): Actually use AIX-specific code on
3310 earlier versions of AIX 4.*.
3312 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
3314 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set
3315 output_file based on the name of the testcase.
3317 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
3319 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Build
3320 gluefile and use it if needs_status_wrapper is set.
3322 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
3324 * configure.target (ATOMICITYH): Use cpu/generic code on earlier
3327 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
3329 * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
3330 on earlier versions of AIX.
3332 2001-05-15 Benjamin Kosnik <bkoz@redhat.com>
3334 * testsuite_flags.in (query): Add backwards, ext directories.
3336 2001-05-15 Mark Mitchell <mark@codesourcery.com>
3338 * porting.texi: Correct documentation about handling
3339 _LARRGEFILE_SOURCE and its ilk.
3340 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
3341 definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
3343 * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
3344 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
3346 2001-05-15 Zack Weinberg <zackw@stanford.edu>
3348 * testsuite/21_strings/inserters_extractors.cc,
3349 testsuite/27_io/istream_unformatted.cc,
3350 testsuite/27_io/stringstream.cc:
3351 Replace multi-line string constants with C89-style
3352 concatenated string constants.
3354 2001-05-14 Richard Henderson <rth@redhat.com>
3356 * mknumeric_limits: Build with -fno-exceptions.
3358 2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
3360 Switch over to new harness.
3361 * testsuite_flags.in: Tweaks via Gaby.
3362 * testsuite/Makefile.am: Change tool to libstdc++-v3.
3363 (EXPECT): Quote directly.
3365 * configure.in: Output testsuite_flags.
3366 * acinclude.m4: Substitute src, bld, and prefix dirs.
3367 Remove glibcpp_expect, glibcpp_runtestflags.
3368 * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
3369 * mkcheck.in: Port to new interface.
3371 * aclocal.m4: Regerate.
3372 * configure: Regnerate.
3373 * Makefile.in: Regnerate.
3374 * */Makefile.in: Regenerate.
3376 * tests_flags.in: Remove.
3377 * testsuite/lib/libstdc++.exp: Remove.
3378 * testsuite/libstdc++.tests/tests.exp: Remove.
3380 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
3382 * configure.target: Remove detection of AIX pthread multilib, now
3383 obtained from `gcc -v'.
3385 2001-05-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
3387 * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
3388 size. Add hpux case for HP size.
3390 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
3392 * testsuite_flags.in: New, simplified interface.
3393 * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
3394 * testsuite/libstdc++-v3.dg: Add.
3395 * testsuite/libstdc++-v3.dg/dg.exp: Add.
3397 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
3399 * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
3400 * testsuite/config/default.exp: Update bugs email address.
3402 2001-05-11 Richard Henderson <rth@redhat.com>
3404 * libsupc++/eh_personality.cc: Include unwind-pe.h. Remove
3405 all pointer encoding logic.
3406 (struct lsda_header_info): Add ttype_base.
3407 (get_ttype_entry): Use it instead of a context.
3408 (check_exception_spec): Likewise.
3409 (PERSONALITY_FUNCTION): Initialize ttype_base. Store it in
3410 the c++ exception header for __cxa_call_unexpected.
3411 (__cxa_call_unexpected): Use it.
3413 2001-05-09 Benjamin Kosnik <bkoz@redhat.com>
3415 * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
3416 libgloss_link_flags to find crt0.o for targets that use libgloss
3418 Change LDFLAGS to LIBS.
3419 Consistently name procedures libstdc++-XXX.
3420 * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
3422 2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
3424 * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
3429 * include/c_std/bits/std_cwchar.h (wcschr): Same.
3434 * testsuite/21_strings/c_strings.cc: Add tests.
3436 2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
3439 * include/bits/std_fstream.h (basic_filebuf): Change signature.
3440 * include/bits/fstream.tcc (basic_filebuf): Change bool argument
3441 to int_type, pass in buffer size info.
3442 * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
3443 unbuffered situation.
3444 (underflow): Remove codecvt bits for the time being.
3445 * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
3446 * include/bits/locale_facets.tcc (_M_extract): Cache dereference
3447 values from iterators, clean.
3448 * src/locale.cc: Ditto.
3449 * include/bits/sbuf_iter.h: Format.
3450 * src/ios.cc: Explicitly pass in buffer sizes at creation time.
3451 * testsuite/27_io/narrow_stream_objects.cc: Add tests.
3452 * testsuite/27_io/filebuf.cc: Tweaks.
3453 * testsuite/27_io/filebuf_members.cc: Tweaks.
3455 2001-05-07 Mark Mitchell <mark@codesourcery.com>
3457 * config/os/solaris/solaris2.7/bits/os_defines.h
3458 (_LARGEFILE_SOURCE): Define it.
3460 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
3462 * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
3463 -prefer-non-pic depending on whether libtool has shared libraries
3464 enabled or disabled.
3465 * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
3466 $(LIBSUPCXX_PICFLAGS).
3467 * configure, */Makefile.in: Rebuilt.
3469 2001-05-01 Benjamin Kosnik <bkoz@redhat.com>
3471 * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
3472 * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
3474 * include/bits/std_sstream.h (stringbuf): Leak
3476 * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
3478 2001-05-01 Tom Browder <tbrowder@home.com>
3480 * docs/html/ext/howto.html: Fix typo.
3482 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
3484 * testsuite/libstdc++.tests/tests.exp: Add comment.
3486 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
3488 * testsuite/libstdc++.tests/tests.exp: Set ulimits.
3490 2001-04-30 Mark Mitchell <mark@codesourcery.com>
3492 * porting.texi: Use the GFDL.
3494 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
3497 * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
3498 * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
3501 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
3504 * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
3506 2001-04-28 Phil Edwards <pme@sources.redhat.com>
3508 * docs/doxygen/run_doxygen: Minor tweaks.
3509 * docs/doxygen/style.css: New file.
3510 * docs/doxygen/user.cfg.in: Update using "doxygen -u" to get the
3511 latest parameters available. Use style.css.
3513 2001-04-27 Benjamin Kosnik <bkoz@redhat.com>
3515 * docs/doxygen/mainpage.doxy: New.
3516 * docs/doxygen/user.cfg.in: Change default configuration. Single
3517 frame, other tweaks.
3519 2001-04-26 Mark Mitchell <mark@codesourcery.com>
3521 * docs/html/17_intro/BADNAMES: Remove EGCS reference.
3522 Indicate obsolete nature of thelist for G++ 3.0.
3524 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
3526 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
3527 target_thread_file with `gcc -v'.
3528 * aclocal.m4, configure: Rebuilt.
3530 2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
3532 * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
3533 * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
3534 * include/c_std/bits/std_cwchar.h (std): Same.
3535 * acconfig.h (std): Remove c99 injection into std.
3536 * config.h.in: Regenerate.
3538 * testsuite/README: Fix typo.
3540 * include/bits/codecvt.h: Remove warnings.
3542 2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3544 * include/ext/slist: Include required header files.
3546 2001-04-23 Loren J. Rittle <ljrittle@acm.org>
3548 * include/c_std/bits/std_cerrno.h (errno): Define macro from
3549 identifier declared with external linkage, if needed.
3550 * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
3551 * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
3553 2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
3555 * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
3556 re-configures find the build compiler.
3557 (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
3559 * aclocal.m4: Regenerate.
3560 * configure: Regenerate.
3562 2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
3564 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
3565 support is enabled correctly before long long is activated.
3566 * aclocal.m4: Regenerate.
3567 * configure: Regenerate.
3569 * include/backward/backward_warning.h: Format correctly.
3571 * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
3572 * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
3573 * testsuite/26_numerics/c99_macros.cc: Remove.
3575 2001-04-20 Phil Edwards <pme@sources.redhat.com>
3577 * include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
3578 __iterator_category.
3580 2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
3582 * acconfig.h (_GLIBCPP_USE_C99): Add.
3583 * config.h.in: Regenerate.
3584 * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
3586 * aclocal.m4: Regenerate.
3587 * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
3588 * configure: Regenerate.
3589 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
3590 * configure: Regenerate.
3591 * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
3593 * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
3595 * include/c_std/bits/std_cstdlib.h: Same.
3596 * docs/html/configopts.html: Update.
3597 * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
3599 (test_c99_classify): Add.
3600 * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
3601 (_ISOC99_SOURCE): Remove.
3603 * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
3604 * include/bits/c++config (__STL_ASSERTIONS): Simplify.
3605 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
3606 * aclocal.m4: Regenerate.
3607 * configure: Regenerate.
3609 2001-04-19 Phil Edwards <pme@sources.redhat.com>
3611 * Makefile.am (doxygen): Assume script is missing execute perms.
3612 * Makefile.in: Regenerated.
3613 * docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
3615 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
3617 * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
3619 2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
3621 * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
3622 * testsuite/23_containers/set_operators.cc: Same.
3624 * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
3626 (__GLIBCPP__): Bump from value of last release.
3627 * include/bits/concept_check.h: Default to off, edit comments.
3628 * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
3629 * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
3630 * src/Makefile.in: Regenerate.
3632 2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE>
3634 * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
3635 Properly uglify member.
3637 2001-04-13 Phil Edwards <pme@sources.redhat.com>
3639 * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead
3643 2001-04-13 Phil Edwards <pme@sources.redhat.com>
3645 * include/bits/boost_concept_check.h: Uglify, fork from Boost.
3646 * include/bits/concept_check.h: Uglify.
3647 * include/bits/stl_algo.h: Likewise.
3648 * include/bits/stl_algobase.h: Likewise.
3649 * include/bits/stl_deque.h: Likewise.
3650 * include/bits/stl_heap.h: Likewise.
3651 * include/bits/stl_iterator_base_funcs.h: Likewise.
3652 * include/bits/stl_list.h: Likewise.
3653 * include/bits/stl_map.h: Likewise.
3654 * include/bits/stl_multimap.h: Likewise.
3655 * include/bits/stl_multiset.h: Likewise.
3656 * include/bits/stl_numeric.h: Likewise.
3657 * include/bits/stl_queue.h: Likewise.
3658 * include/bits/stl_set.h: Likewise.
3659 * include/bits/stl_stack.h: Likewise.
3660 * include/bits/stl_vector.h: Likewise.
3661 * include/ext/hash_map: Likewise.
3662 * include/ext/hash_set: Likewise.
3663 * include/ext/slist: Likewise.
3665 2001-04-13 Gabriel Dos Reis <gdr@codesourcery.com>
3667 * testsuite/23_containers/set_operators.cc: Just try to compile.
3669 * testsuite/23_containers/map_operators.cc: Same.
3671 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
3673 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
3675 (dg-test): Revert rth's change.
3677 2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
3679 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
3680 terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
3682 2001-04-12 Gabriel Dos Reis <gdr@codesourcery.com>
3684 * testsuite/README: Add DejaGnu specific documentation.
3686 2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
3688 * acinclude.m4: AC_CHECK_TOOL for expect.
3689 * aclocal.m4: Regenerate.
3690 * configure: Regenerate.
3691 * testsuite/Makefile.am (RUNTEST): Use substituted.
3694 * configure.in: Remove xcompiling substitution.
3695 * tests_flags.in (CROSS_LIB_PATH): Remove.
3696 (xcompiling): Remove.
3697 (CXX): Use substituted CXX.
3699 2001-04-11 Richard Henderson <rth@redhat.com>
3701 * testsuite/lib/libstdc++.exp: Specify path for output_file.
3703 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
3705 * include/bits/std_valarray.h(valarray<>::operator[]): Make
3708 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
3710 * testsuite/25_algorithms/equal.cc: New test.
3712 2001-04-06 Joe Buck <jbuck@welsh-buck.org>
3714 * stl_algobase.h (std::equal): avoid use of possibly-undefined
3715 operator != (one line patch).
3717 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
3719 * include/backward/backward_warning.h: Re-enable.
3721 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
3722 Alexandre Oliva <aoliva@redhat.com>
3724 * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
3726 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
3728 * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
3729 * testsuite/26_numerics/c99_macros.cc: Add test.
3731 2001-04-06 Phil Edwards <pme@sources.redhat.com>
3733 * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES.
3734 * docs/html/faq/index.txt: Regenerated.
3736 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
3738 * include/backward/backward_warning.h: Temporarily disable until
3739 g++ testsuite changes go in.
3740 * tests_flags.in (CROSS_LIB_PATH): Add.
3742 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
3744 Warn when using backward headers.
3745 * include/backward/algo.h: Include warning file.
3746 * include/backward/vector.h: Same.
3747 * include/backward/tree.h: Same.
3748 * include/backward/tempbuf.h: Same.
3749 * include/backward/strstream: Same.
3750 * include/backward/streambuf.h: Same.
3751 * include/backward/stream.h: Same.
3752 * include/backward/stack.h: Same.
3753 * include/backward/slist.h: Same.
3754 * include/backward/set.h: Same.
3755 * include/backward/rope.h:
3756 * include/backward/queue.h: Same.
3757 * include/backward/pair.h: Same.
3758 * include/backward/ostream.h: Same.
3759 * include/backward/new.h: Same.
3760 * include/backward/multiset.h: Same.
3761 * include/backward/multimap.h: Same.
3762 * include/backward/map.h: Same.
3763 * include/backward/list.h: Same.
3764 * include/backward/iterator.h: Same.
3765 * include/backward/istream.h: Same.
3766 * include/backward/iostream.h:
3767 * include/backward/iomanip.h:
3768 * include/backward/heap.h: Same.
3769 * include/backward/hashtable.h:
3770 * include/backward/hash_set.h:
3771 * include/backward/hash_map.h:
3772 * include/backward/function.h:
3773 * include/backward/fstream.h:
3774 * include/backward/deque.h:
3775 * include/backward/defalloc.h: Same.
3776 * include/backward/complex.h: Same.
3777 * include/backward/bvector.h:
3778 * include/backward/alloc.h:
3779 * include/backward/algobase.h: Same.
3781 * include/backward/backward_warning.h: New file.
3782 * src/Makefile.am (backward_headers): Add backward_warning.h
3783 * src/Makefile.in: Regenerate.
3785 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
3787 * src/Makefile.am (myinstalldirs): Make sure backward directory is
3789 (myinstallheaders): Install backward headers in backward directory.
3790 * src/Makefile.in: Regenerate.
3792 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
3794 Prepare for libstdc++-2.92.
3795 * docs/html/17_intro/RELEASE-NOTES (New): Update.
3796 * docs/html/configopts.html: Fix formatting.
3797 * README (file): Updates.
3798 * include/bits/c++config (__GLIBCPP__): Update.
3800 2001-04-05 Phil Edwards <pme@sources.redhat.com>
3802 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
3804 2001-04-04 Phil Edwards <pme@sources.redhat.com>
3806 * docs/doxygen/user.cfg.in: Extract all non-private members;
3807 reduce confusing documentation output.
3809 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
3811 * include/backward/fstream.h: Add missing semicolons.
3813 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
3815 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
3816 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
3817 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
3818 (ios_base::Init::_S_ios_create): New.
3819 (ios_base::Init::_S_ios_destroy): New.
3820 * include/bits/std_fstream.h: Change ctor args.
3821 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
3822 (ios_base::Init::~Init): Use _S_ios_destroy.
3823 (ios_base::sync_with_stdio): Use new members.
3824 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
3827 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3829 * include/backward/fstream.h: Expose streampos to global
3832 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3834 * include/bits/stl_iterator_base_types.h: Fix typo
3836 2001-04-03 Andreas Schwab <schwab@suse.de>
3838 * include/backward/fstream.h: Define filebuf and wfilebuf.
3840 2001-04-02 Phil Edwards <pme@sources.redhat.com>
3842 New concept checking implementation.
3843 * docs/html/19_diagnostics/howto.html: Document.
3844 * docs/html/17_intro/concept_check.diff: New file, for reference.
3845 * include/bits/boost_concept_check.h: New file from Boost.
3846 * include/bits/c++config: Update comments.
3848 * include/bits/concept_check.h: New file.
3849 * include/bits/concept_checks.h: Removed.
3850 * include/bits/container_concepts.h: Removed.
3851 * include/bits/sequence_concepts.h: Removed.
3852 * include/bits/stl_iterator_base.h: Removed; split into...
3853 * include/bits/stl_iterator_base_funcs.h: ...this new file...
3854 * include/bits/stl_iterator_base_types.h: ...and this new file.
3856 * include/bits/sbuf_iter.h: Update to use new implementation.
3857 * include/bits/std_iterator.h: Likewise.
3858 * include/bits/std_memory.h: Likewise.
3859 * include/bits/stl_algo.h: Likewise.
3860 * include/bits/stl_algobase.h: Likewise.
3861 * include/bits/stl_construct.h: Likewise.
3862 * include/bits/stl_deque.h: Likewise.
3863 * include/bits/stl_heap.h: Likewise.
3864 * include/bits/stl_list.h: Likewise.
3865 * include/bits/stl_map.h: Likewise.
3866 * include/bits/stl_multimap.h: Likewise.
3867 * include/bits/stl_multiset.h: Likewise.
3868 * include/bits/stl_numeric.h: Likewise.
3869 * include/bits/stl_queue.h: Likewise.
3870 * include/bits/stl_set.h: Likewise.
3871 * include/bits/stl_stack.h: Likewise.
3872 * include/bits/stl_uninitialized.h: Likewise.
3873 * include/bits/stl_vector.h: Likewise.
3874 * include/ext/hash_map: Likewise.
3875 * include/ext/hash_set: Likewise.
3876 * include/ext/slist: Likewise.
3877 * include/ext/stl_hashtable.h: Likewise.
3879 * src/Makefile.am (base_headers): Update list of headers.
3880 * Makefile.in: Regenerated.
3881 * src/Makefile.in: Regenerated.
3882 * libio/Makefile.in: Regenerated.
3883 * libmath/Makefile.in: Regenerated.
3884 * libsupc++/Makefile.in: Regenerated.
3885 * testsuite/Makefile.in: Regenerated.
3887 * docs/html/install.html: Update contact information.
3888 * docs/html/17_intro/howto.html: Ditto.
3889 * docs/html/18_support/howto.html: Ditto.
3890 * docs/html/20_util/howto.html: Ditto.
3891 * docs/html/21_strings/howto.html: Ditto.
3892 * docs/html/22_locale/howto.html: Ditto.
3893 * docs/html/23_containers/howto.html: Ditto.
3894 * docs/html/24_iterators/howto.html: Ditto.
3895 * docs/html/25_algorithms/howto.html: Ditto.
3896 * docs/html/26_numerics/howto.html: Ditto.
3897 * docs/html/27_io/howto.html: Ditto.
3898 * docs/html/faq/index.html: Ditto, plus info on new checking code.
3899 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
3900 * docs/html/faq/index.txt: Regenerated.
3902 2001-04-02 Zack Weinberg <zackw@stanford.edu>
3904 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
3905 messages with $which_library as well as $tool_flags and
3906 ${dg-extra-tool-flags}. Factor out annotation text into
3909 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
3911 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
3912 * include/c_std/bits/std_cwchar.h: Same.
3913 * testsuite/21_strings/c_strings.cc: Add.
3915 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
3917 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
3919 2001-04-01 Zack Weinberg <zackw@stanford.edu>
3921 * tests_flags.in: Use test a = b, not test a == b which is not
3924 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
3926 * configure.target: Remove duplicate aix entry.
3928 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
3930 * include/ext/stl_bvector.h: Move to...
3931 * include/bits/stl_vector.h: ...here.
3932 * include/ext/bvector: Move to...
3933 * include/backward/bvector.h: ...here.
3934 * include/bits/std_vector.h: Change stl_bvector include.
3935 * include/bits/std_queue.h: Remove bvector include.
3936 * include/ext/tree: Insert using rb_tree, move to...
3937 * include/backward/tree.h: ...here.
3938 * include/backward/hash_map.h: Include ext/hash_map.
3939 * include/backward/hash_set.h: Include ext/hash_set.
3940 * include/backward/queue.h: New file.
3941 * include/backward/stack.h: Edit.
3942 * include/backward/algo.h: Same.
3943 * include/backward/algobase.h: Same.
3944 * include/backward/alloc.h: Same.
3945 * include/backward/function.h: Same.
3946 * include/backward/iomanip.h: Same.
3947 * include/backward/istream.h: Same.
3948 * include/backward/iterator.h: Same.
3949 * include/backward/list.h: Same.
3950 * include/backward/map.h: Same.
3951 * include/backward/multimap.h: Same.
3952 * include/backward/multiset.h: Same.
3953 * include/backward/ostream.h: Same.
3954 * include/backward/pair.h: Same
3955 * include/backward/rope.h: Same.
3956 * include/backward/set.h: Same.
3957 * include/backward/stream.h: Same.
3958 * include/backward/strstream.h: Same.
3959 * include/backward/tempbuf.h: Same.
3960 * src/Makefile.am (ext_headers): Edit.
3961 * src/Makefile.in: Regenerate.
3962 * testsuite/ext/headers.cc (main): Fix.
3965 2001-03-30 Phil Edwards <pme@sources.redhat.com>
3967 * tests_flags.in (LIBS): Pass correct path for installed testing.
3969 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
3971 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
3972 * tests_flags.in (CXX): Construct here.
3973 (static_fail): Don't remove compile.out. Format with spaces.
3974 (INCLUDES): Deal with xcompiling.
3975 * configure.in (xcompiling): Substitute.
3976 * testsuite/Makefile.am: Snake libjava configury.
3977 * testsuite/Makefile.in: Regenerate.
3978 * testsuite/23_containers/map_operators.cc: Tweaks.
3979 * testsuite/23_containers/set_operators.cc: Tweaks.
3981 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3983 Enable dejagnu testing framework.
3984 * configure.in: Generate testsuite/Makefile.
3985 * configure: Regenerate.
3986 * Makefile.am (check-install): Change rule from this...
3987 (check-script-install): ...to this.
3988 (check): Change rule from this...
3989 (check-script):...to this.
3990 * Makefile.in: Regenerate.
3992 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
3994 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
3996 (LIBTOOL): Let automake take care of its definition.
3997 * libsupc++/Makefile.in: Rebuilt.
3999 2001-03-28 Richard Henderson <rth@redhat.com>
4001 IA-64 ABI Exception Handling:
4002 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
4003 * configure.in: Use it.
4004 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
4005 * libsupc++/Makefile.am (sources): Update files list.
4006 * libsupc++/Makefile.in: Regenerate.
4007 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
4008 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
4009 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
4010 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
4011 * libsupc++/exception_support.cc: Remove.
4012 * libsupc++/exception_support.h: Remove.
4013 * libsupc++/pure.cc: Use std::terminate.
4014 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
4015 (__is_pointer): Remove.
4016 * libsupc++/unwind-cxx.h: New file.
4017 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
4019 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
4021 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
4023 * src/Makefile.am (CXXLINK): Likewise.
4024 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
4026 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
4028 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
4030 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4032 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
4035 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
4037 * include/bits/basic_file.h (get_fileno): Remove.
4038 (_M_fileno): Remove.
4039 (_M_cfile_created): Add.
4040 (basic_file::basic_file(__c_file_type*, openmode): Add.
4041 (basic_file::basic_file(int, const char*, openmode): Remove.
4042 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
4043 const char*, ios_base::openmode): Don't allocate
4044 internal buffers. Turn off internal buffers.
4045 (basic_filebuf::overflow): Remove test for null buffer.
4046 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
4047 * include/bits/streambuf.cc: Tweak.
4048 * include/bits/std_ostream.h: Tweak.
4049 * config/basic_file_libio.h: Same.
4050 * config/basic_file_stdio.h: Same.
4051 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
4052 * testsuite/27_io/filebuf_members.cc: Tweaks.
4053 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
4055 2001-03-24 Phil Edwards <pme@sources.redhat.com>
4057 * Makefile.am: New targets, doxygen and doxygen-maint.
4058 * Makefile.in: Regenerated.
4059 * docs/doxygen/run_doxygen: Finally implemented.
4060 * docs/doxygen/maint.cfg.in: New file.
4061 * docs/doxygen/user.cfg.in: New file.
4063 2001-03-24 Phil Edwards <pme@sources.redhat.com>
4065 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
4066 * src/Makefile.am: Replace leading spaces with tabs on continuation
4068 * aclocal.m4: Regenerated.
4070 * Makefile.in: Ditto.
4071 * src/Makefile.in: Ditto.
4072 * libio/Makefile.in: Ditto.
4073 * libmath/Makefile.in: Ditto.
4074 * libsupc++/Makefile.in: Ditto.
4076 2001-03-24 Phil Edwards <pme@sources.redhat.com>
4078 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
4079 concept-checking code and current status of same.
4080 * docs/html/ext/howto.html: Ditto.
4081 * docs/html/faq/index.html: Ditto.
4082 * docs/html/faq/index.txt: Regenerated.
4084 2001-03-24 Phil Edwards <pme@sources.redhat.com>
4086 * include/bits/std_bitset.h: Include ostream and istream headers
4087 instead of iostream.
4089 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
4091 * include/bits/ostream.tcc: Use __builtin_alloca.
4093 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
4095 * src/misc-inst.cc (__sink_unused_warning): Move to...
4096 * src/locale-inst.cc (__sink_unused_warning): Move to...
4097 * src/stl-inst.cc: Here.
4098 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
4101 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
4103 * intclude/bits/basic_file.h: Fix typos in comments.
4105 2001-03-20 Richard Henderson <rth@redhat.com>
4107 * src/gen-num-limits.cc: Instantiate for wchar_t.
4108 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
4110 2001-03-20 Jason Merrill <jason@redhat.com>
4112 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
4113 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
4114 * libsupc++/cxxabi.h: Declare it.
4116 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
4118 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
4119 signal_func with an unspecified argument list.
4121 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
4123 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
4125 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4127 * include/bits/basic_string.tcc (operator+): Fix thinko.
4129 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
4132 * include/bits/std_streambuf.h: Remove cached locale facets.
4133 (basic_streambuf::_M_buf_fctype): Remove.
4134 (basic_streambuf::~basic_streambuf): Remove here.
4135 (basic_streambuf::basic_streambuf): Same.
4136 (basic_streambuf::imbue): Same.
4137 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
4138 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
4139 (basic_filebuf::~basic_filebuf()): Remove here.
4140 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
4141 (basic_filebuf::imbue): Same.
4142 * include/bits/localefwd.h (_Count_ones): Remove.
4143 (locale::_S_num_categories): Just use 6, since this doesn't
4144 actually change, ever.
4145 * include/bits/locale_facets.tcc (has_facet): Simplify.
4147 * testsuite/27_io/filebuf.cc (test06): Add tests.
4149 2001-03-13 Steve Ellcey <sje@cup.hp.com>
4151 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
4152 match HP-UX ctype.h header file.
4154 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
4156 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
4157 duplicate definitions of __dj_ctype_*
4159 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
4161 * libsupc++/new: Remove pragma interface.
4162 * libsupc++/typeinfo: Same.
4163 * libsupc++/exception: Same.
4164 * libsupc++/new_handler.cc: Remove pragma implementation.
4165 (bad_alloc::~bad_alloc()): Add.
4166 * libsupc++/exception_support.cc: Same.
4167 (exception::~exception): Add.
4168 (bad_exception::~bad_exception): Add.
4169 * libsupc++/tinfo.cc: Same.
4170 (bad_cast::~bad_cast): Add.
4171 (bad_typeid::~bad_typeid): Add.
4173 2001-03-13 Phil Edwards <pme@sources.redhat.com>
4175 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
4177 2001-03-12 Felix Lee <flee@redhat.com>
4179 * mkcheck.in: workaround for bash 2.01 IFS bug.
4181 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
4183 Fixups for -fno-for-scope
4184 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
4185 * src/valarray-inst.cc (__gslice_to_index): Same.
4187 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
4189 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
4190 prior to trapping signal (UnixWare 7 workaround).
4192 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
4194 * include/backward/hashtable.h: Same.
4195 * include/backward/rope.h: Fix include.
4197 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
4199 * include/backward/vector.h: Include std_vector.h.
4201 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
4202 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
4205 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4207 * include/ext/stl_hashtable.h: Change type of __n to size_t
4208 * include/backward/bvector.h: Include <ext/stl_bvector.h>
4210 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4212 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
4213 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
4214 Use streamsize, not int_type.
4216 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
4218 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
4221 2001-03-08 Andreas Schwab <schwab@suse.de>
4223 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
4225 * aclocal.m4, configure: Regenerated.
4227 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
4229 * include/bits/std_iosfwd.h: Remove string forward decls here.
4230 * include/bits/stringfwd.h: Add forward decls for char_traits
4232 * config/c_io_libio.h (wstreamoff): Delete.
4233 * config/c_io_stdio.h (wstreamoff): Same.
4234 * include/bits/char_traits.h: Use streamoff not wstreamoff for
4235 char_traits<wchar_t>::off_type.
4236 Remove duplicate typedefs.
4237 * include/bits/fpos.h: Define streampos/wstreampos here.
4238 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
4241 Changeup output files.
4242 * testsuite/27_io/istream_unformatted.cc: Change output files.
4243 * testsuite/27_io/istream_seeks-1.txt: Add.
4244 * testsuite/27_io/istream_seeks-2.tst: Add.
4245 * testsuite/27_io/istream_seeks-1.tst: Add.
4246 * testsuite/27_io/istream_unformatted-2.tst: Delete.
4247 * testsuite/27_io/istream_unformatted-3.tst: Delete.
4248 * testsuite/27_io/istream_unformatted-3.txt: Delete.
4250 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
4252 Add Irix 5.2, 6.3 support.
4253 * config/os/irix/bits: Renamed to...
4254 * config/os/irix/irix6.5/bits: this.
4255 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
4256 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
4257 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
4258 * config/os/irix/irix5.2/bits/ctype_noninline.h
4259 (ctype<char>::ctype): Initialize _M_table with __ctype.
4260 * configure.target: Adjust.
4262 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
4265 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
4266 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
4268 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
4269 (*__pf)(__ios_type&)): Same.
4270 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
4271 (*__pf)(ios_base&))): Same.
4272 * testsuite/27_io/istream_extractor_other.cc: Add tests.
4273 * testsuite/27_io/istream_manip.cc (test01): Fix.
4275 2001-03-06 Nathan Myers <ncm@cantrip.org>
4276 Benjamin Kosnik <bkoz@redhat.com>
4278 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
4279 * testsuite/17_intro/header_cerrno.cc (test01): New file.
4280 * testsuite/17_intro/header_cassert.cc (test01): New file.
4281 * testsuite/17_intro/header_cstddef.cc (test01): New file.
4282 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
4283 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
4285 2001-03-05 scott snyder <snyder@fnal.gov>
4288 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
4290 * include/c_std/bits/std_cstdlib.h: ... to here.
4291 * testsuite/17_intro/header_cstdlib.cc: Add test.
4293 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
4295 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
4297 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
4299 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
4300 definition. Replace enum with static const variables.
4302 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
4303 throw specification, fix typos, use <static_cast>.
4304 (ctype<char>::scan_is): remove throw specification.
4305 (ctype<char>::scan_not): likewise.
4307 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
4308 (ctype<char>::do_toupper(char)): use <static_cast>.
4309 (ctype<char>::do_toupper(char *, const char *)): likewise.
4310 (ctype<char>::do_tolower(char)): likewise.
4311 (ctype<char>::do_tolower(char *, const char *)): likewise.
4313 2001-03-04 Phil Edwards <pme@sources.redhat.com>
4315 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
4316 * include/backward/algo.h: Use std not __STD. Remove unneeded
4317 macros and "never happens" code. Adjust to C++STYLE guidelines.
4318 * include/backward/algobase.h: Likewise.
4319 * include/backward/alloc.h: Likewise.
4320 * include/backward/bvector.h: Likewise.
4321 * include/backward/deque.h: Likewise.
4322 * include/backward/function.h: Likewise.
4323 * include/backward/hash_map.h: Likewise.
4324 * include/backward/hash_set.h: Likewise.
4325 * include/backward/hashtable.h: Likewise.
4326 * include/backward/heap.h: Likewise.
4327 * include/backward/iterator.h: Likewise.
4328 * include/backward/list.h: Likewise.
4329 * include/backward/map.h: Likewise.
4330 * include/backward/multimap.h: Likewise.
4331 * include/backward/multiset.h: Likewise.
4332 * include/backward/pair.h: Likewise.
4333 * include/backward/rope.h: Likewise.
4334 * include/backward/set.h: Likewise.
4335 * include/backward/slist.h: Likewise.
4336 * include/backward/stack.h: Likewise.
4337 * include/backward/strstream: Likewise.
4338 * include/backward/tempbuf.h: Likewise.
4339 * include/backward/tree.h: Likewise.
4340 * include/backward/vector.h: Likewise.
4341 * include/bits/basic_ios.h: Likewise.
4342 * include/bits/basic_ios.tcc: Likewise.
4343 * include/bits/basic_string.h: Likewise.
4344 * include/bits/c++config: Likewise.
4345 * include/bits/concept_checks.h: Likewise.
4346 * include/bits/fpos.h: Likewise.
4347 * include/bits/fstream.tcc: Likewise.
4348 * include/bits/functexcept.h: Likewise.
4349 * include/bits/ios_base.h: Likewise.
4350 * include/bits/istream.tcc: Likewise.
4351 * include/bits/mask_array.h: Likewise.
4352 * include/bits/ostream.tcc: Likewise.
4353 * include/bits/pthread_allocimpl.h: Likewise.
4354 * include/bits/sbuf_iter.h: Likewise.
4355 * include/bits/slice.h: Likewise.
4356 * include/bits/slice_array.h: Likewise.
4357 * include/bits/sstream.tcc: Likewise.
4358 * include/bits/std_bitset.h: Likewise.
4359 * include/bits/std_fstream.h: Likewise.
4360 * include/bits/std_iomanip.h: Likewise.
4361 * include/bits/std_ios.h: Likewise.
4362 * include/bits/std_istream.h: Likewise.
4363 * include/bits/std_iterator.h: Likewise.
4364 * include/bits/std_memory.h: Likewise.
4365 * include/bits/std_ostream.h: Likewise.
4366 * include/bits/std_sstream.h: Likewise.
4367 * include/bits/std_streambuf.h: Likewise.
4368 * include/bits/std_string.h: Likewise.
4369 * include/bits/std_valarray.h: Likewise.
4370 * include/bits/stl_algo.h: Likewise.
4371 * include/bits/stl_algobase.h: Likewise.
4372 * include/bits/stl_alloc.h: Likewise.
4373 * include/bits/stl_construct.h: Likewise.
4374 * include/bits/stl_deque.h: Likewise.
4375 * include/bits/stl_function.h: Likewise.
4376 * include/bits/stl_heap.h: Likewise.
4377 * include/bits/stl_iterator.h: Likewise.
4378 * include/bits/stl_iterator_base.h: Likewise.
4379 * include/bits/stl_list.h: Likewise.
4380 * include/bits/stl_map.h: Likewise.
4381 * include/bits/stl_multimap.h: Likewise.
4382 * include/bits/stl_multiset.h: Likewise.
4383 * include/bits/stl_numeric.h: Likewise.
4384 * include/bits/stl_pair.h: Likewise.
4385 * include/bits/stl_pthread_alloc.h: Likewise.
4386 * include/bits/stl_queue.h: Likewise.
4387 * include/bits/stl_raw_storage_iter.h: Likewise.
4388 * include/bits/stl_relops.h: Likewise.
4389 * include/bits/stl_set.h: Likewise.
4390 * include/bits/stl_stack.h: Likewise.
4391 * include/bits/stl_tempbuf.h: Likewise.
4392 * include/bits/stl_threads.h: Likewise.
4393 * include/bits/stl_tree.h: Likewise.
4394 * include/bits/stl_uninitialized.h: Likewise.
4395 * include/bits/stl_vector.h: Likewise.
4396 * include/bits/streambuf.tcc: Likewise.
4397 * include/bits/type_traits.h: Likewise.
4398 * include/bits/valarray_meta.h: Likewise.
4399 * include/ext/bvector: Likewise.
4400 * include/ext/hash_map: Likewise.
4401 * include/ext/hash_set: Likewise.
4402 * include/ext/ropeimpl.h: Likewise.
4403 * include/ext/slist: Likewise.
4404 * include/ext/stl_bvector.h: Likewise.
4405 * include/ext/stl_hash_fun.h: Likewise.
4406 * include/ext/stl_hashtable.h: Likewise.
4407 * include/ext/stl_rope.h: Likewise.
4408 * src/complex_io.cc: Likewise.
4409 * src/ios.cc: Likewise.
4410 * src/locale-inst.cc: Likewise.
4411 * src/locale.cc: Likewise.
4412 * src/localename.cc: Likewise.
4413 * src/misc-inst.cc: Likewise.
4414 * src/stdexcept.cc: Likewise.
4415 * src/stl-inst.cc: Likewise.
4416 * src/strstream.cc: Likewise.
4417 * src/valarray-inst.cc: Likewise.
4419 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
4421 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
4423 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4425 * include/bits/istream.tcc: change type of __extracted to __size_type
4427 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
4429 * src/wstring-inst.cc: New file.
4430 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
4431 (libinst_wstring_la_SOURCES): Remove.
4432 (libstdc___la_LIBADD): Remove libinst_wstring_la.
4433 (sources): Add wstring-inst.cc
4434 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
4437 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4439 * src/locale.cc: initialise __ret with zero
4440 * src/strstream.cc:cast gptr to int_type
4442 2001-03-01 Phil Edwards <pme@sources.redhat.com>
4444 * docs/html/faq/index.html: Update broken links.
4445 * docs/html/faq/index.txt: Regenerated.
4447 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
4450 * configure.target: Change irix* to irix6.5* in target_os table.
4452 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
4455 * include/bits/c++config (__GLIBCPP__): Bump number in
4456 anticipation of 2.92.
4458 * include/bits/codecvt.h: Fix typo.
4459 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
4461 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
4462 instantiations for stdio model.
4464 2001-02-28 Phil Edwards <pme@sources.redhat.com>
4466 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
4467 and GLIBCPP_CXXFLAGS as unused variables.
4468 * configure.host: Likewise.
4469 * configure.target: Likewise.
4470 * aclocal.m4: Regenerated.
4471 * configure: Regenerated.
4472 * Makefile.in: Regenerated.
4473 * libio/Makefile.in: Regenerated.
4474 * libmath/Makefile.in: Regenerated.
4475 * libsupc++/Makefile.in: Regenerated.
4476 * src/Makefile.in: Regenerated.
4478 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
4481 * include/bits/basic_file.h: Include basic_file_model.h.
4482 * config/c_io_libio.cc: Move to...
4483 * config/basic_file_libio.cc: Here.
4484 * config/basic_file_libio.h: New file.
4485 * config/c_io_stdio.cc: Move to...
4486 * config/basic_file_stdio.cc: Here.
4487 * config/basic_file_stdio.h: New file.
4488 * config/c_io_libio.h: Tweak.
4489 * config/c_io_stdio.h: Tweak.
4490 * src/Makefile.am (build_headers): Add basic_file_model.h.
4491 (sources): Add basic_file.cc, remove c++io.cc.
4492 * src/Makefile.in: Regenerate.
4493 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
4494 basic_file_model.h and basic_file.cc.
4495 * aclocal.m4: Regenerate.
4496 * configure: Regenerate.
4497 * testsuite/27_io/filebuf.cc (test05): Add regression.
4499 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
4502 * config/cpu/alpha/bits/atomicity.h: Change.
4503 * config/cpu/arm/bits/atomicit3y.h
4504 * config/cpu/generic/bits/atomicity.h
4505 * config/cpu/i386/bits/atomicity.h
4506 * config/cpu/i486/bits/atomicity.h
4507 * config/cpu/ia64/bits/atomicity.h
4508 * config/cpu/powerpc/bits/atomicity.h
4509 * config/cpu/sparc/sparc32/bits/atomicity.h
4510 * config/cpu/sparc/sparc64/bits/atomicity.h
4511 * config/os/aix/bits/atomicity.h
4512 * config/os/irix/bits/atomicity.h
4514 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
4516 * include/bits/std_stdexcept.h (runtime_error): Make string
4518 (logic_error): Same.
4519 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
4522 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
4526 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
4527 string object, not reference.
4528 (runtime_error::runtime_error): Same.
4529 * testsuite/19_diagnostics/stdexceptions.cc: New file.
4531 2001-02-26 Phil Edwards <pme@sources.redhat.com>
4533 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
4534 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
4535 diagnostics. Remove WFMT_FLAGS.
4536 * configure.in: Replace WFMT_FLAGS with diagnostics options.
4537 * libsupc++/Makefile.am: Likewise.
4538 * src/Makefile.am: Likewise.
4539 * aclocal.m4: Regenerated.
4540 * configure: Regenerated.
4541 * Makefile.in: Regenerated.
4542 * libio/Makefile.in: Regenerated.
4543 * libmath/Makefile.in: Regenerated.
4544 * libsupc++/Makefile.in: Regenerated.
4545 * src/Makefile.in: Regenerated.
4547 2001-02-26 Phil Edwards <pme@sources.redhat.com>
4549 Fixes libstdc++/2079
4550 * include/backward/iomanip.h: Expose <ios> manipulators to global
4552 * include/backward/iostream.h: Also expose std::ws.
4554 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
4556 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
4558 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
4560 * include/bits/codecvt.h: Use __builtin_alloca.
4561 * include/bits/ostream.tcc: Same.
4562 * include/bits/fstream.tcc: Same.
4564 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
4566 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
4568 2001-02-23 David Edelsohn <dje@watson.ibm.com>
4570 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
4572 2001-02-23 Phil Edwards <pme@sources.redhat.com>
4575 * include/backward/iostream.h: Expose std::flush in old headers.
4577 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4579 * mknumeric_limits: Remove special-casing on target. Use gcc
4580 instead of g++ to build gen-num-limits.cc
4582 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
4584 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
4586 * include/bits/codecvt.h: Use alloca instead of __extension__ for
4588 * include/bits/ostream.tcc: Same.
4589 * include/bits/std_ostream.h: Same.
4590 * include/bits/fstream.tcc: Same.
4591 * include/bits/locale_facets.tcc: Add typename.
4592 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
4594 2001-02-21 Phil Edwards <pme@sources.redhat.com>
4596 * tests_flags.in: Remove -n flag from call to echo.
4598 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
4600 * config/c_locale_gnu.h: Add clocale include.
4602 2001-02-20 Phil Edwards <pme@sources.redhat.com>
4604 * include/bits/stl_config.h: Remove file.
4605 * src/Makefile.am (base_headers): Remove from list.
4606 * configure: Regenerate.
4607 * Makefile.in: Ditto.
4608 * libio/Makefile.in: Ditto.
4609 * libmath/Makefile.in: Ditto.
4610 * libsupc++/Makefile.in: Ditto.
4611 * src/Makefile.in: Ditto.
4613 * include/bits/c++config: Move relevant macros to here.
4614 * include/backward/alloc.h: Include c++config.h instead.
4615 * include/backward/function.h: Ditto.
4616 * include/backward/heap.h: Ditto.
4617 * include/backward/pair.h: Ditto.
4618 * include/bits/pthread_allocimpl.h: Ditto.
4619 * include/bits/std_functional.h: Ditto.
4620 * include/bits/std_iterator.h: Ditto.
4621 * include/bits/std_numeric.h: Ditto.
4622 * include/bits/std_utility.h: Ditto.
4623 * include/bits/stl_algobase.h: Ditto.
4624 * include/bits/type_traits.h: Ditto.
4625 * src/stl-inst.cc: Ditto.
4627 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4629 * include/bits/basic_file.h: Add #pragma system_header
4630 * include/bits/basic_ios.h: Ditto.
4631 * include/bits/basic_string.h: Ditto.
4632 * include/bits/char_traits.h: Ditto.
4633 * include/bits/codecvt.h: Ditto.
4634 * include/bits/cpp_type_traits.h: Ditto.
4635 * include/bits/fpos.h: Ditto.
4636 * include/bits/gslice.h: Ditto.
4637 * include/bits/gslice_array.h: Ditto.
4638 * include/bits/indirect_array.h: Ditto.
4639 * include/bits/ios_base.h: Ditto.
4640 * include/bits/limits_generic.h: Ditto.
4641 * include/bits/locale_facets.h: Ditto.
4642 * include/bits/localefwd.h: Ditto.
4643 * include/bits/mask_array.h: Ditto.
4644 * include/bits/sbuf_iter.h: Ditto.
4645 * include/bits/sequence_concepts.h: Ditto.
4646 * include/bits/slice.h: Ditto.
4647 * include/bits/slice_array.h: Ditto.
4648 * include/bits/std_algorithm.h: Likewise.
4649 * include/bits/std_bitset.h: Likewise.
4650 * include/bits/std_complex.h: Likewise.
4651 * include/bits/std_deque.h: Likewise.
4652 * include/bits/std_fstream.h: Likewise.
4653 * include/bits/std_functional.h: Likewise.
4654 * include/bits/std_iomanip.h: Likewise.
4655 * include/bits/std_ios.h: Likewise.
4656 * include/bits/std_iosfwd.h: Likewise.
4657 * include/bits/std_iostream.h: Likewise.
4658 * include/bits/std_istream.h: Likewise.
4659 * include/bits/std_iterator.h: Likewise.
4660 * include/bits/std_list.h: Likewise.
4661 * include/bits/std_locale.h: Likewise.
4662 * include/bits/std_map.h: Likewise.
4663 * include/bits/std_memory.h: Likewise.
4664 * include/bits/std_numeric.h: Likewise.
4665 * include/bits/std_ostream.h: Likewise.
4666 * include/bits/std_queue.h: Likewise.
4667 * include/bits/std_set.h: Likewise.
4668 * include/bits/std_sstream.h: Likewise.
4669 * include/bits/std_stack.h: Likewise.
4670 * include/bits/std_stdexcept.h: Likewise.
4671 * include/bits/std_streambuf.h: Likewise.
4672 * include/bits/std_string.h: Likewise.
4673 * include/bits/std_utility.h: Likewise.
4674 * include/bits/std_valarray.h: Likewise.
4675 * include/bits/std_vector.h: Likewise.
4676 * include/bits/stringfwd.h: Likewise.
4677 * include/bits/type_traits.h: Likewise.
4678 * include/bits/valarray_array.h: Likewise.
4679 * include/bits/valarray_meta.h: Likewise.
4681 2001-02-19 Andreas Jaeger <aj@suse.de>
4683 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
4686 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
4689 * include/bits/std_ostream.h: Replaced usage of
4690 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
4691 * include/bits/char_traits.h: Removed non-standard
4692 methods that cannot be used elsewhere.
4695 * include/bits/basic_ios.h: Uncommented #include of
4699 * include/bits/codecvt.h: See next...
4700 * include/bits/fstream.tcc: See next...
4701 * include/bits/ostream.tcc: Add __extension__
4702 to variable-length arrays.
4705 * include/bits/localefwd.h: Changed int counter type to size_t.
4708 * include/bits/std_fstream.h: Added typedef for __ctype_type.
4710 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
4712 * testsuite/21_strings/char_traits.cc: Move to ...
4713 * testsuite/21_strings/char_traits_requirements.cc: ..here.
4714 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
4715 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
4717 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
4719 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
4722 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
4724 * include/bits/c++config: Revert.
4726 2001-02-15 Mark Mitchell <mark@codesourcery.com>
4728 * include/bits/istream.tcc: Use ios_base::iostate in place of
4729 iostate throughout. Insert `typename' keyword where necessary.
4730 * include/bits/ostream.tcc: Insert `typename' keyword where
4733 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
4735 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
4736 Define so library is compliant.
4738 2001-02-15 Anthony Green <green@redhat.com>
4740 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
4742 * aclocal.m4: Regenerate.
4743 * configure: Regenerate.
4745 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
4747 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
4748 Include ieeefp.h for fpclass on UnixWare{2,7}.
4749 * aclocal.m4: Regenerate.
4750 * configure: Regenerate.
4751 * mkcheck.in (size_command): Do without GNU-grep when using
4754 2001-02-15 Mark Mitchell <mark@codesourcery.com>
4756 Remove old ABI support from libsupc++.
4757 * libsupc++/cxxabi.h: Remove conditionally compiled code.
4758 * libsupc++/exception_support.cc: Likewise.
4759 * libsupc++/pure.cc: Likewise.
4760 * libsupc++/tinfo.cc: Likewise.
4761 * libsupc++/tinfo.h: Likewise.
4762 * libsupc++/tinfo2.cc: Likewise.
4763 * libsupc++/typeinfo: Likewise.
4764 * libsupc++/vec.cc: Likewise.
4766 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
4768 Add support for -fno-exceptions.
4769 * include/bits/exception_support.h: Remove.
4770 * include/bits/basic_string.h: Remove exception_support.
4771 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
4773 (string::substr): Same.
4774 * include/bits/basic_string.tcc (string::reserve): Replace
4775 __LENGTHERROR with __throw_length_error.
4776 (string::_S_create): Same.
4777 (string::resize): Same.
4778 (string::_M_replace): Same.
4779 (string::replace): Same.
4780 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
4781 (string::compare): Same.
4782 * include/bits/stl_vector.h: Remove exception_support.
4783 * src/Makefile.am (base_headers): Remove here.
4784 * src/Makefile.in: Regenerate.
4786 * include/bits/stl_range_errors.h: Remove.
4787 * include/bits/stl_deque.h: Use __throw_range_error.
4788 * include/bits/std_deque.h: Include functexcept.h.
4789 * include/bits/std_vector.h: Same.
4790 * src/Makefile.am (base_headers): Remove here.
4791 * src/Makefile.in: Regenerate.
4792 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
4793 * include/ext/bvector: Remove stl_range_errors.h
4795 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
4797 * include/bits/functexcept.h: New file.
4798 * src/functexcept.cc: New file. Definitions for function-based
4800 * src/Makefile.am (sources): Add functexcept.cc.
4801 * src/Makefile.in: Regenerate.
4803 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
4806 * include/bits/localefwd.h: Include functexcept.h.
4807 * include/bits/std_iosfwd.h: Same.
4809 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
4810 throw basic_ios::failure.
4811 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
4812 Use __throw_exception_again.
4813 (filebuf::_M_filebuf_init): Same.
4814 * include/bits/streambuf.tcc (__copy_streambufs): Same.
4815 * include/bits/ostream.tcc (ostream::operator<<): Same.
4816 * include/bits/istream.tcc (istream::operator>>): Same.
4817 * include/bits/basic_string.tcc (string::_M_mutate): Same.
4818 (string::_S_construct): Same.
4819 (string::_M_clone): Same.
4820 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
4822 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
4823 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
4824 __throw_exception_again.
4825 (locale::_Imp::_Imp(string, size_t): Same.
4826 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
4827 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
4828 (locale::locale(const char*)): Use __throw_runtime_error.
4829 (locale::classic): Use __throw_exception_again.
4830 (locale::_S_normalize_category): Use __throw_runtime_error.
4832 * src/stdexcept.cc: Remove cruft.
4834 * libsupc++/exception_defines.h: New file.
4835 * libsupc++/new_opnt.cc: Include exception_defines.h.
4836 * libsupc++/vec.cc: Same.
4837 (__cxa_vec_new2): Use __throw_exception_again.
4838 (__cxa_vec_new3): Same.
4839 (__cxa_vec_ctor): Same.
4840 (__cxa_vec_delete3): Same.
4841 (__cxa_vec_cctor): Same.
4842 (__cxa_vec_delete2): Same.
4843 (__cxa_vec_dtor): Same.
4844 * libsupc++/exception_support.cc: Include exception_defines.h. Only
4845 compile exception-handling bits if __EXCEPTIONS is defined.
4846 Remove old ABI support.
4847 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
4848 std::__throw_bad_alloc() instead of throw bad_alloc.
4849 * libsupc++/Makefile.am: Add exception_defines.h.
4850 * libsupc++/Makefile.in: Reformat.
4851 * libsupc++/*: Format.
4853 2001-02-15 Phil Edwards <pme@sources.redhat.com>
4855 * docs/html/configopts.html: Minor updates and typo fixes.
4856 * docs/html/faq/index.html: Updates of the "not really bugs" list.
4857 * docs/html/faq/index.txt: Regenerated.
4859 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
4861 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
4862 dejagnu/dg.exp. Adapt to log options used to run testcases.
4864 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4866 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
4869 2001-02-13 Dirk Mueller <dmuell@gmx.net>
4870 Phil Edwards <pme@sources.redhat.com>
4872 * include/backward/function.h: Do not use rel_ops for older
4874 * include/backward/pair.h: Likewise.
4876 2001-02-12 Mark Mitchell <mark@codesourcery.com>
4878 * src/locale.cc: Remove bogus locale::id definitions.
4880 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4882 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
4883 not _DEFINE_VALARRAY_OPERATOR which is not existent.
4885 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
4886 thinko in member initialisation.
4888 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
4890 * include/bits/std_valarray.h(valarray<>::shift): Avoid
4891 comparaison between signed and unsigned integer types.
4892 (valarray<>::cshift): Reformat.
4894 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
4896 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
4897 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
4898 * configure.in: Test for sigsetjmp.
4899 * configure, config.h.in: Rebuilt.
4901 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
4903 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
4904 lengths and strides.
4905 (__gslice_to_index): Document.
4907 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
4909 * include/bits/char_traits.h char_traits<char>::int_type: Change
4910 to `int' to match 21.1.3.1/2.
4912 * testsuite/21_strings/char_traits-int_type.C: New test.
4914 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
4916 * testsuite/Makefile.am: New file.
4918 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
4920 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
4922 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
4924 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
4926 2001-02-08 David Edelsohn <edelsohn@gnu.org>
4928 * configure.target (aix4*): Remove extra set of brackets.
4930 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
4933 * include/bits/stringfwd.h: New file.
4934 * include/bits/stl_string_fwd.h: Remove.
4935 * include/bits/localefwd.h: Remove declaration for allocator.
4936 * include/bits/std_iosfwd: Same.
4937 * include/bits/std_string.h: Include it.
4938 * include/bits/std_ios.h: Remove include.
4939 * include/bits/basic_string.h: Tweak.
4940 * libsupc++/new: Format.
4941 * src/Makefile.am (base_headers): Add stringfwd.h, remove
4943 * src/Makefile.in: Regenerate.
4944 * include/bits/std_stdexcept.h: Rewrite.
4945 * src/stdexcept.cc: Same.
4947 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
4949 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
4950 install locations too.
4951 * aclocal.m4: Regenerate.
4952 * configure.in: Remove USE_LIBDIR.
4953 * configure: Regenerate.
4954 * src/Makefile.am (toolexecdir): Simplify, use
4955 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
4956 * src/Makefile.in: Regenerate.
4957 * libsupc++/Makefile.am: Same.
4958 * libsupc++/Makefile.in: Regenerate.
4960 * src/Makefile.am: Just remove special rules for locale-inst.cc and
4961 misc-inst.cc as no longer necessary.
4963 Follow C++STYLE for naming non-static functions.
4964 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
4966 * include/bits/streambuf.tcc: Same.
4967 * include/bits/ostream.tcc: Same.
4968 * include/bits/istream.tcc: Same.
4969 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
4970 (_S_output_float): To __output_float.
4971 * include/bits/std_streambuf.h (_S_copy_streambufs): To
4973 * include/bits/locale_facets.tcc (_S_build_float_format): To
4974 __build_float_format.
4975 (_S_format): To __output_integer.
4976 (_S_fill): To __pad.
4977 * src/locale.cc: Same.
4978 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
4980 * include/bits/locale_facets.tcc (_S_group_digits): To
4982 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
4983 for collate, numpunct.
4985 2001-02-06 Phil Edwards <pme@sources.redhat.com>
4987 * docs/html/configopts.html: Fix HTML markup.
4988 * docs/html/install.html: Bring up to date.
4989 * docs/html/17_intro/C++STYLE: Add global variable conventions.
4990 * docs/html/21_strings/howto.html: More notes.
4991 * docs/html/22_locale/howto.html: Fix HTML markup.
4992 * docs/html/27_io/howto.html: More notes.
4993 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
4994 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
4996 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
4998 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
4999 to match header files.
5000 (_S_output_float): Likewise.
5001 (_S_copy_streambufs): Likewise.
5003 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
5004 Phil Edwards <pme@sources.redhat.com>
5006 * include/bits/std_istream.h (op>> signed,unsigned char): Must
5007 use reinterpret_cast, not static_cast.
5009 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
5011 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
5012 * aclocal.m4: Regenerate.
5013 * configure: Regenerate.
5015 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
5017 * include/bits/locale_facets.h (class moneypunct): Fix typos.
5018 * libsupc++/pure.cc: Revert.
5020 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
5022 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
5023 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
5024 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
5025 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
5026 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
5027 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
5028 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
5029 * aclocal.m4: Regenerate.
5030 * configure: Regenerate.
5032 2001-02-05 Mark Mitchell <mark@codesourcery.com>
5034 * include/bits/locale_facets.tcc: Remove `static' keyword on
5035 function definitions.
5036 * include/bits/std_streambuf.h: Likewise.
5037 * src/Makefile.am: Remove use of -fimplicit-templates.
5038 * src/Makefile.in: Regenerated.
5039 * src/locale-inst.cc: Explicitly instantiate more functions.
5040 * src/misc-inst.cc: Likewise.
5041 * src/string-inst.cc: Likewise.
5043 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
5045 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
5046 macro. Consolidate all the bits to do with where includes might be
5048 * aclocal.m4: Regenerate.
5049 * configure.in: Use it.
5050 * configure: Regenerate.
5051 * src/Makefile.am (targetincludep): Use simplified rules.
5052 (targetincludep): Rename gxx_target_include_dir.
5053 (myincludep): Rename gxx_include_dir.
5054 * src/Makefile.in: Regenerate.
5055 * libsupc++/Makefile.am: Use simplified rules.
5056 * libsupc++/Makefile.in: Regenerate.
5058 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
5060 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
5061 * include/c_std/bits/std_cctype.h: Same.
5062 * include/c_std/bits/std_cassert.h: Same.
5063 * include/c_std/bits/std_cstdarg.h: Same.
5064 * include/c_std/bits/std_cstddef.h: Same.
5066 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
5068 * include/c_std/bits/std_ctime.h: Same.
5069 * include/c_std/bits/std_clocale.h: Same.
5070 * include/c_std/bits/std_cmath.h: Same.
5071 * include/c_std/bits/std_csetjmp.h: Same.
5072 * include/c_std/bits/std_csignal.h: Same.
5073 * include/c_std/bits/std_cstring.h: Same.
5074 * include/c_std/bits/std_cstdlib.h: Same.
5075 * include/c_std/bits/std_cwchar.h: Same.
5077 2001-02-05 Phil Edwards <pme@sources.redhat.com>
5079 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
5081 2001-02-05 Mark Mitchell <mark@codesourcery.com>
5083 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
5084 (string::_S_construct): Likewise.
5086 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
5088 * testsuite/config/default.exp: New file.
5089 * testsuite/config: New directory.
5091 2001-02-04 Mark Mitchell <mark@codesourcery.com>
5093 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
5094 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
5095 whenever !__GXX_MERGED_TYPEINFO_NAMES.
5096 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
5098 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
5099 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
5101 * Makefile.am (mkinstalldirs): Set.
5102 * src/Makefile.am (mkinstalldirs): Set.
5103 * libmath/Makefile.am (mkinstalldirs): Set.
5104 * libsup++/Makefile.am (mkinstalldirs): Set.
5105 * libio/Makefile.am (mkinstalldirs): Set.
5106 * */Makefile.in: Regenerate.
5108 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
5110 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
5111 * include/bits/localefwd.h: More initialization cleanups.
5113 2001-02-03 Jeffrey A Law <law@cygnus.com>
5115 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
5116 correctly targets with 16bit ints.
5117 (_S_ios_openmode_end): Similarly.
5118 (_S_ios_iostate_end): Similarly.
5119 (_S_ios_Seekdir_end): Similarly.
5121 2001-02-02 Phil Edwards <pme@sources.redhat.com>
5123 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
5125 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
5127 * configure.in (toplevel_srcdir, auxdir): Set.
5128 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
5129 * aclocal.m4, configure, Makefile.in: Rebuilt.
5130 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
5131 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
5132 * libsupc++-v3/Makefile.in: Rebuilt.
5133 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
5134 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
5136 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
5138 * config/c_locale_generic.cc: Remove langinfo include.
5140 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
5142 Preliminary named locales.
5143 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
5144 * aclocal.m4: Regenerate.
5145 * configure.in: Use it.
5146 * configure: Regerate.
5147 * src/Makefile.am (sources): Add c++locale.cc.
5148 (build_headers): Add c++locale.h.
5149 * src/Makefile.in: Regenerate.
5150 * config/c_locale_gnu.h: New file.
5151 * config/c_locale_gnu.cc: New file. Non-inline member functions
5152 for named locales, gnu-specific.
5153 * config/c_locale_generic.h: New file.
5154 * config/c_locale_generic.cc: New file. Non-inline member
5155 functions for named locales, generic version.
5156 * docs/html/configopts.html: Add documentation on new options.
5158 * include/bits/locale_facets.h (class _Messages): Remove.
5159 (class _Moneypunct): Remove.
5160 * src/locale-inst.cc: Remove.
5162 * include/bits/locale_facets.h (class _Collate): Remove.
5163 * src/locale-inst.cc (std): Remove.
5164 * src/locale.cc: And here.
5166 * include/bits/localefwd.h (locale::_M_coalesce): New
5167 function. Correctly put together multi-name locales.
5168 (_Impl(const _Impl&, category, size_t)): Remove.
5170 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
5172 (_M_normalize_category_names): Remove.
5173 (_M_replace_categories): Fix.
5175 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
5176 (locale::_Impl::_M_construct_ctype): Remove.
5177 (locale::_Impl::_M_construct_monetary): Remove.
5178 (locale::_Impl::_M_construct_numeric): Remove.
5179 (locale::_Impl::_M_construct_time): Remove.
5180 (locale::_Impl::_M_construct_messages): Remove.
5182 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
5183 (_Use_facet_failure_handle): Remove.
5184 * src/locale.cc: Remove definitions.
5185 * src/locale-inst.cc: And here.
5187 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
5189 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
5190 create and error-check underlying locale object.
5191 (locale::facet::_S_destroy_c_locale): Add, take care of properly
5192 tearing down underlying locale object.
5193 * include/bits/localefwd.h (locale::facet): Declare.
5194 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
5195 correctness, as glibc apparently has incorrect info in it. Test
5196 with it when it works again.....
5198 * include/bits/localefwd.h (locale::_Impl::__vec_string):
5199 Remove. Number of categories is fixed at six, so just simplify and
5200 make this an array of strings.
5201 (locale::_Impl::_M_has_name): Remove.
5202 (locale::_Impl::_M_name): Remove.
5203 (locale::_Impl::_M_category_names): Turns into...
5204 (locale::_Impl::_M_names): ...this.
5205 (locale::_Impl::_M_has_same_name()): New function.
5206 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
5207 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
5209 * src/locale.cc (locale::name()): Construct mangled name
5210 accurately reflecting combined locale categories.
5212 * src/locale.cc (locale::classic()): Don't initialize here.
5213 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
5214 __refs, bool __has_name, string __str): Do it here.
5216 * include/bits/localefwd.h: _S_categories_num to
5217 _S_num_categories. _S_facets_num to _S_num_facets.
5218 (locale::id::id()): Explicitly set _M_index to zero.
5219 * src/locale.cc: Same.
5221 * src/locale.cc: (locale::locale(const char*)): Construct named
5224 * src/locale.cc: Remove numpunct_byname ctors.
5225 * testsuite/22_locale/numpunct_byname.cc: New file.
5226 * testsuite/22_locale/numpunct.cc: New file.
5228 * include/bits/localefwd.h (class locale): Change data members to
5229 protected, from private.
5230 (_Impl::_M_get_c_locale): Add member function.
5231 (locale::facet::_M_get_global_impl()): Add member function.
5232 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
5233 a __c_locale pointer.
5234 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
5236 * testsuite/22_locale/members.cc: New file, test name and combine.
5238 * include/bits/locale_facets.h (class numpunct): Remove class
5239 _Punct and _Numpunct. Rewrite class numpunct to be correct for
5241 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
5242 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
5243 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
5244 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
5245 * testsuite/22_locale/numpunct_char_members.cc: New file.
5247 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
5249 * testsuite/README: Add more comment.
5250 * testsuite/lib/libstdc++.exp: Tweak comment.
5252 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
5254 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
5256 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
5258 * testsuite/21_strings/inserters_extractors.cc: Remove
5259 explicit reference to 'testsuite/'.
5261 2001-01-25 Richard Henderson <rth@redhat.com>
5263 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
5264 bits. Fixes Tru64 build issues.
5266 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
5268 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
5269 (use ${MAKE-make}, not ${MAKE:-make}).
5270 * aclocal.m4, configure: Regenerate.
5272 2001-01-25 Mark Mitchell <mark@codesourcery.com>
5274 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
5277 * src/Makefile.am (sources): Add globals.cc.
5278 * src/Makefile.in: Regenerated.
5279 * src/globals.cc: New file.
5280 * src/ios.cc (cin): Don't define here, just declare extern.
5289 2001-01-25 Phil Edwards <pme@sources.redhat.com>
5291 * include/bits/std_iterator.h: Do not include stl_relops.h.
5292 * include/bits/std_numeric.h: Ditto.
5293 * include/bits/stl_algobase.h: Ditto.
5294 * include/bits/stl_relops.h: Add comment warning about problems.
5296 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
5298 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
5299 in testcases. Prepare for the DejaGnu based framework.
5300 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
5301 directory -- it is now mkcheck working directory.
5302 * tests_flags.in: Remove reference to $(top_srcdir). Use
5304 * Makefile.am (check, check-install): Change mkcheck invocation
5306 * Makefile.in: Regenerate.
5308 2001-01-24 Mark Mitchell <mark@codesourcery.com>
5310 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
5311 (__always_swap): Likewise.
5313 2001-01-23 Chris Demetriou <cgd@broadcom.com>
5315 * libsupc++/exception_support.cc (__terminate_func): Remove
5317 (__terminate_func_ptr): New typedef.
5318 (__terminate, __terminate_set_func): New extern function
5320 (std::terminate): Use __terminate function.
5321 (std::set_terminate): Use __terminate_set_func function.
5323 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
5325 * configure.target: Just use os_include_dir always.
5326 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
5327 Link atomicity files and ctype files here.
5328 * configure: Regenerate.
5329 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
5330 (GLIBCPP_ENABLE_ATOMICITY): Remove.
5331 * aclocal.m4: Regenerate.
5333 2001-01-23 Chris Demetriou <cgd@broadcom.com>
5335 * configure.in: Place definition of MULTISUBDIR in
5336 libsupc++/Makefile as is done for src/Makefile.
5337 * configure: Regenerate.
5339 2001-01-23 Phil Edwards <pme@sources.redhat.com>
5341 * acinclude.m4: Cosmetic changes only.
5342 * aclocal.m4: Regenerated.
5343 * configure: Regenerated.
5344 * configure.target: Update documented list of changed variables.
5345 * docs/html/install.html: Fix typo.
5346 * docs/html/20_util/howto.html: More notes on auto_ptr.
5347 * docs/html/27_io/howto.html: More notes on streabufs.
5348 * docs/html/faq/index.html: Add rel_ops problem and mention the
5349 DEC as(1) .subsection difficulty.
5350 * docs/html/faq/index.txt: Regenerated.
5352 2001-01-23 Mark Mitchell <mark@codesourcery.com>
5354 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
5355 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
5356 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
5357 its already provided in config.target.
5358 * aclocal.m4: Regenerated.
5359 * configure: Likewise.
5360 * configure.target: Set ctype_include_dir for lots of systems.
5361 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
5362 * libsupc++/Makefile.in: Regenerated.
5364 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
5366 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
5369 * testsuite/README: Add comment.
5371 2001-01-21 Phil Edwards <pme@sources.redhat.com>
5373 * docs/html/configopts.html: Update for current status. Fix HTML.
5374 * docs/html/install.html: Update for current status.
5376 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5378 * testsuite/libstdc++.tests/tests.exp: New file.
5379 * testsuite/lib/libstdc++.exp: Itou.
5380 * testsuite/README: Itou.
5382 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
5384 * tests_flags.in: Just output the bare minimum to run tests.
5385 Let's the caller do its own arrangement.
5387 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
5390 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
5392 * testsuite/17_intro: Prepare testcases for new style DejaGnu
5395 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
5397 * testsuite/libstdc++.tests, testsuite/lib: New directories.
5399 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
5401 * mkcheck.in: Construct file names that match $objdir structure.
5402 * testsuite/27_io/filebuf_members-1.txt: New file.
5403 * testsuite/27_io/ifstream_members-1.txt: New file.
5404 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
5406 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
5407 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
5409 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5411 * testsuite/27_io/istream_sentry.cc (test02): Fix.
5413 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
5416 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
5417 * src/ios.cc (ios_base::failure): Make definitions match.
5418 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
5419 (class bad_cast): Same.
5420 * libsupc++/exception (class exception): Add throw specs.
5421 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
5422 (set_unexpected): Same.
5423 (uncaught_exception): Same.
5426 * docs/html/17_intro/C++STYLE (classname): Fix.
5428 2001-01-16 Mark Mitchell <mark@codesourcery.com>
5430 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
5431 Use it do explicitly instantiate predicate<T> and value<T> for
5434 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
5436 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
5437 uninitialized thinko in last change.
5439 2001-01-16 Mark Mitchell <mark@codesourcery.com>
5441 * libsupc++/exception_support.cc (__cp_pop_exception): Change
5444 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
5446 * docs/html/17_intro/C++STYLE (classname): Add more existing
5447 and stylish patterns.
5450 * include/bits/istream.tcc (istream::sentry::sentry()): Set
5451 failbit if the state of the stream is not good.
5452 * testsuite/27_io/istream_sentry.cc (test02): Add test.
5453 * testsuite/27_io/istream_manip.cc (test01): Modify.
5456 reported by Paolo Carlini <pcarlini@unitus.it>
5457 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
5458 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
5461 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
5462 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
5463 (xsgetn): Same. Simplify.
5464 * testsuite/27_io/streambuf.cc (test04): Add testcases.
5466 reported by Larry Evans <jcampbell3@prodigy.net>
5467 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
5468 equality with eof on returned value from overflow.
5470 2001-01-14 Andreas Jaeger <aj@suse.de>
5472 * libio/libio.h: Add test for glibc 2.0.
5474 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
5476 * config/os/djgpp/bits/*: Fix dates.
5478 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
5479 _CharT* __end, _CharT __c): Remove.
5480 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
5481 * include/bits/char_traits.h: Tweak.
5483 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
5485 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
5486 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
5488 * aclocal.m4: regenerated.
5489 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
5490 * configure: regenerated.
5491 * config/os/djgpp, config/os/djgpp/bits: new directories.
5492 * config/os/djgpp/bits/ctype_base.h,
5493 config/os/djgpp/bits/ctype_inline.h,
5494 config/os/djgpp/bits/ctype_noninline.h,
5495 config/os/djgpp/bits/os_defines.h: new files.
5497 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
5499 * include/c_std/bits/std_cstdio.h: Undef printf.
5501 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
5503 * src/ios.cc: Fix typo: change cout->wcout.
5505 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
5506 * src/Makefile.in: Regenerate.
5508 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5510 * include/bits/std_complex.h: Fix a typo.
5512 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
5515 Fixes for libstdc++/1576
5516 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
5517 file, move contents into....
5518 * src/ios.cc: ...Here. Put defines for iostreams objects and
5519 initialization routines into one file to simplify DSO interaction.
5520 * include/bits/std_iostream.h: Touch.
5521 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
5522 * src/Makefile.am (sources): Remove stdstreams.cc.
5523 * src/Makefile.in: Regenerate.
5525 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5527 * tests_flags.in (check_directory): Fix typo.
5529 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5531 * include/bits/std_complex.h: Fix a typo.
5533 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
5535 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
5536 code path:) Remove magic constants and restructure to handle
5537 ctype.h bit mask layout changes more gracefully. (Make fast
5538 code path:) Use __maskrune (), if available.
5539 (is): Remove special case for digit and xdigit masks.
5541 2001-01-09 Robert Lipe <robertlipe@usa.net>
5543 * include/c_std/bits/std_ctime.h: Undefine difftime.
5545 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
5547 * src/gen-num-limits.cc (signal_adapter): New template function.
5548 (signal_handler): Use it, instead of signal.
5549 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
5550 require both tests to trap to set trap_flag.
5552 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
5554 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
5555 initialize mbstate_t member, name offset data members *off, not pos.
5556 * include/bits/fstream.tcc (filebuf::filebuf): Same.
5558 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
5560 reported by Chris G. Demetriou <cgd@sibyte.com>
5561 * configure.in: Change -linux-* to -linux*.
5562 * configure: Regenerate.
5564 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
5566 Fix 27_io/filebuf_members.cc
5567 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
5568 const string& __name, category __cat, size_t __refs): Set
5569 _M_has_name with _M_name.
5570 * include/bits/localefwd.h (locale::operator!=): Protect member
5571 function call with this->.
5572 * src/locale.cc (locale::operator==): Make fast checks first.
5573 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
5575 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
5577 * src/ios.cc (ios_base::Init::Init): Initialize here.
5578 (ios_base::sync_with_stdio): Set here.
5580 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
5582 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
5583 systems that support it, call dup() before fdopen().
5585 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
5587 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
5588 * testsuite/17_intro/header_cwctype.cc (main): New file.
5590 * src/Makefile.am (base_headers): Change.
5591 * include/bits/std_string.h: And here.
5592 * include/bits/string.tcc: Tweaks, move to...
5593 * include/bits/basic_string.tcc: ...Here.
5594 * src/string-inst.cc: Simplify, just instantiate the whole class,
5595 not member-by-member.
5597 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
5599 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
5600 * aclocal.m4: Regenerate.
5601 * configure: Regenerate.
5603 * include/bits/c++config (__GLIBCPP__): Bump version number.
5605 * ChangeLog: Start new log for year 2001
5606 * ChangeLog-2000: New file.
5608 * docs/html/configopts.html: Make sure default values are current,
5611 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
5613 * include/c_std/bits/std_cwchar.h: Same.
5614 * testsuite/17_intro/header_cwchar.cc: Same.
5615 * include/c_std/bits/std_ctime.h: Same.
5616 * testsuite/17_intro/header_ctime.cc: Same.
5617 * include/c_std/bits/std_cstdlib.h: Same.
5618 Clean up undefs, make consistent with cwchar and cmath, etc.
5619 * testsuite/17_intro/header_cstdlib.cc: Same.
5620 * include/c_std/bits/std_cstdio.h: Same here.
5621 * testsuite/17_intro/header_cstring.cc: Same.
5622 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
5623 * testsuite/17_intro/header_cstring.cc: New file. Check for
5624 size_t in namespace std.
5626 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
5627 * acconfig.h (HAVE_MBSTATE_T): Add.
5628 * config.h.in: Regenerate.
5629 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
5631 * aclocal.m4: Regenerate.
5632 * configure: Regenerate.
5633 * testsuite/17_intro/headers_c++.cc: New file.
5634 * testsuite/17_intro/headers_c.cc: Small changes.
5636 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
5638 * tests_flags.in: Fix typo in usage.
5640 * tests_flags.in: Set target specific LIBS for cygwin.