1 2001-07-25 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3 * acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf,
4 hypotl, atan2f, atan2l. Remove from REPLACE_MATHFUNCS list.
5 * aclocal.m4: Regenerate.
6 * config.h.in: Likewise.
8 * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove hypotl.c
9 (EXTRA_DIST): Remove hypot.c hypotf.c.
10 * libmath/Makefile.am: Regenerate.
11 * libmath/hypotf.c: Remove.
12 * libmath/hypot.c: Likewise.
13 * libmath/hypotl.c: Likewise.
14 * libmath/stubs.c: The macros seen here are HAVE_xxx, not
15 _GLIBCPP_HAVE_xxx. Add long double versions.
17 2001-07-23 David Edelsohn <edelsohn@gnu.org>
19 * include/bits/limits_generic.h (int): Set digits and digits10
20 appropriately for word size.
21 (unsigned int,long,unsigned long): Likewise.
23 2001-07-19 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
25 * include/bits/stl_algo.h : Fix typos.
26 * testsuite/25_algorithms/unique.cc: New file.
28 2001-07-19 Phil Edwards <pme@sources.redhat.com>
29 Mark Mitchell <mark@codesourcery.com>
31 Merge from cp-parser-branch.
32 * include/bits/basic_string.h: Qualify symbols with 'template'.
33 * include/bits/basic_string.tcc: Likewise.
34 * include/bits/fstream.tcc: Likewise.
35 * include/bits/istream.tcc: Likewise.
36 * include/bits/sstream.tcc: Likewise.
37 * include/bits/std_istream.h: Likewise.
38 * include/bits/stl_iterator.h: Likewise.
39 * include/bits/streambuf.tcc: Likewise.
40 * src/gen-num-limits.cc: Add 'template<>' to specializations.
41 * src/locale.cc: Likewise.
43 2001-07-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
44 Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
46 * src/gen-num-limits.cc (set_signals_handler): New function.
47 Factor out signals setting. Set signal handler for SIGILL.
49 2001-07-18 Phil Edwards <pme@sources.redhat.com>
51 * docs/html/27_io/howto.html: Fix typo.
52 * docs/html/faq/index.html: Minor updates for 3.0 all around.
53 * docs/html/faq/index.txt: Regenerated.
55 2001-07-18 Stephen M. Webb <stephen@bregmasoft..com>
56 Roman Sulzhyk <roman_sulzhyk@yahoo.com>
59 * include/bits/ostream.tcc (ostream::put): Fixed error condition check.
60 * testsuite/27_io/streambuf.cc (test07): Added new regression test.
62 2001-07-17 Stephen M. Webb <stephen@bregmasoft.com>r
64 All occurrences of the __value_type() and __distance_type()
65 functions, which were required to support the HP STL, have been
66 removed along with all the auxiliary forwarding functions that
67 were required to support their use.
69 The __iterator_category() function was pretty much left alone
70 because there was no benefit to removing it and its use made code
71 just a little more readable.
73 Incidences of distance() with nonstandard argument list were
74 replaced by calls to the standard function (only in the files
75 affected by the removal of the other HP functions).
77 The signature of the rotate() algorithm was changed to match the
80 Headers were reformatted under C++STYLE guidelines (indentation,
81 linebreaks, typename keyword).
83 * include/bits/stl_algo.h: replaced __value_type() and
84 __distance_type() with iterator_traits, eliminated auxiliary
85 support functions required to support said function usage.
86 Changed nonstandard distance() call to standard call.
88 * include/bits/stl_algobase.h: Same.
89 * include/bits/stl_heap.h: Same.
90 * include/bits/stl_numeric.h: Same.
91 * include/bits/stl_uninitialized.h: Same.
92 * include/bits/stl_iterator_base_types.h (__value_type()):
94 (__distance_type()): Removed.
96 (distance_type()): Done in.
97 (iterator_category()): Hasta la vista, baby.
99 * include/bits/stl_iterator_base_funcs.h (iterator_category()):
100 Replaced with __iterator_category().
101 * include/backward/iterator.h: moved definition of value_type(),
102 distance_type(), and iterator_category() out of std:: and into
104 * testsuite/23_containers/vector_ctor.cc (test03): New testcases.
105 * testsuite/23_containers/vector_modifiers.cc (test03): New testcases.
106 * testsuite/25_algorithms/rotate.cc: New testcase.
107 * testsuite/25_algorithms/copy.cc: New testcase.
108 * testsuite/25_algorithms/sort.cc: Same.
109 * testsuite/25_algorithms/heap.cc: Same.
110 * testsuite/25_algorithms/partition.cc: Same.
111 * testsuite/25_algorithms/binary_search.cc: Same.
112 * testsuite/26_numerics/sum_diff.cc: Ditto.
114 001-07-17 Benjamin Kosnik <bkoz@redhat.com>
116 * testsuite/README: Add notes on naming test cases.
117 * testsuite/22_locale/members.cc: Mark as xfail.
118 * testsuite/22_locale/numpunct_char_members.cc: Same.
120 2001-07-16 Stephen M. Webb <stephen@bregmasoft.com>
122 * acinclude.m4 (GLIBCPP_ENABLE_CHEADERS): Use glibcpp_srcdir when
123 setting C_INCLUDE_DIR.
124 * configure.in: Revert yesterday's LN_S change.
125 * aclocal.m4: Regenerate.
126 * configure: Regenerate.
128 2001-07-15 Phil Edwards <pme@sources.redhat.com>
130 * configure.in: Temporarily force LN_S to copy instead of symlink.
131 * configure: Regenerate.
133 2001-07-13 Phil Edwards <pme@sources.redhat.com>
135 * include/bits/std_sstream.h (basic_stringbuf::basic_stringbuf(string):
136 Initialize _M_string with pointer-and-size constructor, not just
137 pointer. Fix some comments.
138 * testsuite/21_strings/ctor_copy_dtor.cc (test03): New test.
139 * testsuite/27_io/stringbuf.cc (test02): Remove unused variable.
140 (test03): Add embedded-NUL tests.
142 * mkcheck.in: When printing totals, match the order of the tests.
143 * include/bits/stringfwd.h: Use same declaration keywords.
144 * include/bits/std_iosfwd.h: Cosmetic spacing.
146 2001-07-13 Stephen M. Webb <stephen@bregmasoft.com>
147 Loren J. Rittle <ljrittle@acm.org>
148 Phil Edwards <pme@sources.redhat.com>
150 * include/Makefile.am: New file encapsulating header generation rules.
151 * Makefile.am (SUBDIRS): Prepend 'include' directory.
152 * acinclude.m4: Moved/removed rules for building various headers.
153 * configure.in (AC_OUTPUT): Add include/Makefile.
154 * mkc++config: Removed.
156 * testsuite_flags.in: Changed build-includes to match new scheme.
157 * mknumeric_limits: Likewise.
158 * libio/Makefile.am: Changed INCLUDES to maatch new header scheme.
159 * libmath/Makefile.am: Likewise.
160 * libsupc++/Makefile.am: Likewise.
161 * src/Makefile.am: Likewise; removed rules to build headers.
162 * libmath/mathconf.h: Changed #include'd header names to match.
163 * libmath/stubs.c: Likewise.
164 * src/gen-num-limits.cc: Likewise.
166 * configure: Regenerated.
167 * config.h.in: Regenerated.
168 * aclocal.m4: Regenerated.
169 * Makefile.in: Regenerated.
170 * include/Makefile.in: Regenerated.
171 * libio/Makefile.in: Regenerated.
172 * libmath/Makefile.in: Regenerated.
173 * libsupc++/Makefile.in: Regenerated.
174 * src/Makefile.in: Regenerated.
175 * testsuite/Makefile.in: Regenerated.
177 2001-07-11 Felix Natter <fnatter@gmx.net>
179 * docs/html/17_intro/porting-howto.xml: Initial checkin of
181 * docs/html/17_intro/porting-howto.html: check in v0.9.3
183 2001-07-11 Phil Edwards <pme@sources.redhat.com>
185 * docs/doxygen/run_doxygen: Don't keep output from previous run.
186 * docs/doxygen/user.cfg.in: Tweaks.
187 * include/bits/c++config: Documentation comments for Doxygen.
188 * include/bits/char_traits.h: Likewise.
189 * include/bits/limits_generic.h: Likewise.
190 * include/bits/std_stdexcept.h: Likewise.
191 * include/bits/stl_pair.h: Likewise.
192 * libsupc++/exception: Likewise.
193 * libsupc++/new: Likewise.
194 * libsupc++/typeinfo: Likewise.
195 * libmath/Makefile.am: Update and correct copyright.
197 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
199 * acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
200 * aclocal.m4: Regenerate.
203 2001-07-09 Phil Edwards <pme@sources.redhat.com>
205 * docs/html/configopts.html: Fix thinko.
206 * docs/html/27_io/howto.html: Fix thinko and HTML markup.
207 * include/bits/stl_iterator.h: Fix typo.
209 2001-07-09 Phil Edwards <pme@sources.redhat.com>
211 * docs/html/explanations.html: New file.
212 * docs/html/configopts.html: Link to it to provide more notes
213 on cstdio. Minor markup and spacing fixes.
214 * docs/html/27_io/howto.html: Talk about sync_with_stdio.
216 2001-07-09 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
218 * include/bits/valarray_meta.h (_Expr::operator+): Use qualified id
219 for _Expr template template argument.
220 (_Expr::operator-): Likewise.
221 (_Expr::operator~): Likewise.
222 (_Expr::operator!): Likewise.
223 (_DEFINE_EXPR_UNARY_OPERATOR): Likewise.
225 2001-07-06 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
227 * libmath/Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.c
228 * libmath/Makefile.in: Regenerate.
229 * libmath/expf.c: Remove.
230 * libmath/atan2f.c: Likewise.
232 2001-07-06 Daniel Jacobowitz <drow@mvista.com>
234 * configure.in: Remove NATIVE, NULL_TARGET.
235 Set CANADIAN only for Canadian crosses. Set xcompiling
236 for both Canadian crosses and host-x-host crosses.
237 * configure: Regenerated.
239 2001-07-06 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
241 * include/bits/stl_vector.h (vector::_M_initialize_aux): Fix typo.
243 2001-07-05 Jason Merrill <jason_merrill@redhat.com>
245 * testsuite_flags.in (--build-includes): backward, not backwards.
247 2001-07-04 Jeffrey Oldham <oldham@codesourcery.com>
249 * include/ext/ropeimpl.h (_Rope_RopeRep::_M_free_c_string):
250 Replace destroy by _Destroy.
251 (_Rope_RopeRep::_S_free_string): Likewise.
252 (rope::c_str()): Likewise.
253 * include/ext/slist (_Slist_base::_M_erase_after>): Likewise.
254 (_Slist_base::_M_erase_after): Likewise.
255 (slist::_M_create_node): Replace construct by _Construct.
256 (slist::pop_front): Replace destroy by _Destroy.
257 * include/ext/stl_hashtable.h (hashtable::_M_new_node): Replace
258 construct by _Construct.
259 (hashtable::_M_delete_node): Replace destroy by _Destroy.
260 * include/ext/stl_rope.h (rope::rope): Replace construct by
262 (rope::copy): Replace destroy by _Destroy.
264 2001-07-03 Benjamin Kosnik <bkoz@redhat.com>
266 * include/bits/localefwd.h: Format.
267 * include/bits/locale_facts.tcc (locale::combine): Adjust.
268 * src/locale.cc (locale::locale::(_Impl)): Don't call
270 (locale::facet::_M_remove_reference): Simplify.
271 * src/globals.cc (locale_impl_c): New. Format.
273 * src/ios.cc (ios_base::Init::Init): Increment _S_ios_base_init last.
275 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
277 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
278 expansion (thanks to Alexandre Oliva).
279 * aclocal.m4: Regenerate.
280 * configure: Regenerate.
282 2001-07-02 Benjamin Kosnik <bkoz@redhat.com>
284 * src/locale.cc (locale::locale(const char*)): Make sure global
285 locales are initialized.
286 * include/bits/locale_facets.tcc (locale::combine): Refcout should
287 be zero, not one as it's return-by-value.
288 * testsuite/27_io/ios_base_callbacks.cc (test01): Don't check for
290 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Instead, check
293 * libsupc++/eh_alloc.cc: Use climits, not limits.h.
295 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
298 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
299 * aclocal.m4: Regenerate.
300 * configure: Regenerate.
302 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
305 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to
306 staged/installed area to support -I-. Document.
307 * aclocal.m4: Regenerate.
308 * configure: Regenerate.
310 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
313 * src/ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to
314 __out_bufsize. Add __in_bufsize, document it and use it.
316 2001-07-01 Stephen M. Webb <stephen@bregmasoft.com>
318 * include/bits/stl_construct.h (construct): Remove.
320 (__destroy): Replaced by use of iterator_traits.
321 * include/bits/stl_deque.h: replaced HP iterator functions with
323 (construct): changed to _Construct.
324 (destroy): changed to _Destroy.
325 * include/bits/stl_tempbuf.h: Same.
326 * include/bits/stl_tree.h: Same.
327 * include/bits/stl_vector.h: Same.
328 * include/backward/iterator.h (construct): moved definition to here.
331 2001-06-29 Benjamin Kosnik <bkoz@redhat.com>
333 * include/bits/locale_facets.tcc (locale::combine): Clone _Impl.
334 before replacing facet.
335 * include/bits/localefwd.h (locale::_Impl::_M_remove_reference):
337 * src/localename.cc (locale::_Impl): Correct ctor initialization
338 lists. Initialize ref count with one. Simplify.
339 * src/locale.cc: Add comment.
340 * testsuite/22_locale/numpunct.cc (test01): Add derivation test.
341 * testsuite/22_locale/numpunct_char_members.cc (test01): Add tests.
342 * testsuite/22_locale/members.cc (test02): Fix.
344 2001-06-27 Phil Edwards <pme@sources.redhat.com>
346 * include/backward/algo.h: Add "GPL plus runtime exception" comment
347 block, this time for real.
348 * include/backward/algobase.h: Likewise.
349 * include/backward/alloc.h: Likewise.
350 * include/backward/bvector.h: Likewise.
351 * include/backward/defalloc.h: Likewise.
352 * include/backward/deque.h: Likewise.
353 * include/backward/function.h: Likewise.
354 * include/backward/hash_map.h: Likewise.
355 * include/backward/hash_set.h: Likewise.
356 * include/backward/hashtable.h: Likewise.
357 * include/backward/heap.h: Likewise.
358 * include/backward/iterator.h: Likewise.
359 * include/backward/list.h: Likewise.
360 * include/backward/map.h: Likewise.
361 * include/backward/multimap.h: Likewise.
362 * include/backward/multiset.h: Likewise.
363 * include/backward/pair.h: Likewise.
364 * include/backward/rope.h: Likewise.
365 * include/backward/set.h: Likewise.
366 * include/backward/slist.h: Likewise.
367 * include/backward/stack.h: Likewise.
368 * include/backward/strstream: Likewise.
369 * include/backward/tempbuf.h: Likewise.
370 * include/backward/tree.h: Likewise.
371 * include/backward/vector.h: Likewise.
372 * include/bits/pthread_allocimpl.h: Likewise.
373 * include/bits/std_algorithm.h: Likewise.
374 * include/bits/std_bitset.h: Likewise.
375 * include/bits/std_deque.h: Likewise.
376 * include/bits/std_functional.h: Likewise.
377 * include/bits/std_iterator.h: Likewise.
378 * include/bits/std_list.h: Likewise.
379 * include/bits/std_map.h: Likewise.
380 * include/bits/std_memory.h: Likewise.
381 * include/bits/std_numeric.h: Likewise.
382 * include/bits/std_queue.h: Likewise.
383 * include/bits/std_set.h: Likewise.
384 * include/bits/std_stack.h: Likewise.
385 * include/bits/std_utility.h: Likewise.
386 * include/bits/std_vector.h: Likewise.
387 * include/bits/stl_algo.h: Likewise.
388 * include/bits/stl_algobase.h: Likewise.
389 * include/bits/stl_alloc.h: Likewise.
390 * include/bits/stl_bvector.h: Likewise.
391 * include/bits/stl_construct.h: Likewise.
392 * include/bits/stl_deque.h: Likewise.
393 * include/bits/stl_function.h: Likewise.
394 * include/bits/stl_heap.h: Likewise.
395 * include/bits/stl_iterator.h: Likewise.
396 * include/bits/stl_iterator_base_funcs.h: Likewise.
397 * include/bits/stl_iterator_base_types.h: Likewise.
398 * include/bits/stl_list.h: Likewise.
399 * include/bits/stl_map.h: Likewise.
400 * include/bits/stl_multimap.h: Likewise.
401 * include/bits/stl_multiset.h: Likewise.
402 * include/bits/stl_numeric.h: Likewise.
403 * include/bits/stl_pair.h: Likewise.
404 * include/bits/stl_pthread_alloc.h: Likewise.
405 * include/bits/stl_queue.h: Likewise.
406 * include/bits/stl_raw_storage_iter.h: Likewise.
407 * include/bits/stl_relops.h: Likewise.
408 * include/bits/stl_set.h: Likewise.
409 * include/bits/stl_stack.h: Likewise.
410 * include/bits/stl_tempbuf.h: Likewise.
411 * include/bits/stl_threads.h: Likewise.
412 * include/bits/stl_tree.h: Likewise.
413 * include/bits/stl_uninitialized.h: Likewise.
414 * include/bits/stl_vector.h: Likewise.
415 * include/bits/type_traits.h: Likewise.
416 * include/ext/hash_map: Likewise.
417 * include/ext/hash_set: Likewise.
418 * include/ext/rope: Likewise.
419 * include/ext/ropeimpl.h: Likewise.
420 * include/ext/slist: Likewise.
421 * include/ext/stl_hash_fun.h: Likewise.
422 * include/ext/stl_hashtable.h: Likewise.
423 * include/ext/stl_rope.h: Likewise.
424 * src/bitset.cc: Likewise.
425 * src/strstream.cc: Likewise.
427 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
428 <vakatov@ncbi.nlm.nih.gov>
431 * include/bits/streambuf.tcc (__copy_streambufs): Don't set eofbit.
432 * testsuite/27_io/ostream_inserter_other.cc (test04): Add test.
433 * testsuite/27_io/istream_extractor_other.cc: Fix.
435 2001-06-26 Zoltan Hidvegi <hzoli@austin.ibm.com>
437 * acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
438 * aclocal.m4: Regenerate.
439 * configure: Regenerate.
441 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
443 * include/bits/stream_iterator.h (istream_iterator): Add copy ctor.
444 (ostream_iterator): Same.
445 * include/bits/stl_iterator.h (front_insert_iterator::operator=):
446 Change argument to const_reference.
447 (back_insert_iterator): Same.
449 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
451 * include/bits/sbuf_iter.h: Change to..
452 * include/bits/streambuf_iterator.h: This.
453 * include/bits/stl_iterator.h: Take out of here...
454 * include/bits/stream_iterator.h: Add.
455 * src/Makefile.am (base_headers): Add streambuf_iterator,
457 * src/Makefile.in: Regenerate.
458 * include/bits/std_string.h: Adjust includes.
459 * include/bits/basic_ios.h: Same.
460 * include/bits/locale_facets.tcc: Same.
461 * include/bits/std_iosfwd.h: Same.
463 * include/bits/std_iterator.h: Add istream, ostream includes.
464 * include/bits/stl_iterator.h: Tweak.
465 * testsuite/24_iterators/ostream_iterator.cc: Add test.
466 * testsuite/24_iterators/istream_iterator.cc: Same.
467 * testsuite/23_containers/multiset.cc: Add iterator include.
469 2001-06-26 Phil Edwards <pme@sources.redhat.com>
471 * acinclude.m4: Clean extraneous tabs, rewrap 'test' lines.
472 * aclocal.m4: Regenerate.
473 * configure: Regenerate.
475 2001-06-26 Felix Natter <f.natter@ndh.net>
477 * docs/html/17_intro/porting-howto.html: Fixed some errors.
479 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
481 * include/bits/stl_iterator.h (istream_iterator::operator->): Fix
483 (istream_iterator::operator*): Same.
485 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
486 Alexandre Petit-Bianco <apbianco@redhat.com>
488 * testsuite/21_strings/element_access.cc (test01): Chill Out Cafe
489 is on 41st, not 14th.
491 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
493 * include/bits/std_iterator.h: Include sbuf_iter.h via std_ios.h.
495 * include/bits/stl_iterator.h (istream_iterator): Inherit from
497 (ostream_iterator): Same.
498 * testsuite/24_iterators/istream_iterator.cc: New file.
499 * testsuite/24_iterators/ostream_iterator.cc: New file.
501 * include/bits/sbuf_iter.h: Remove self typedef.
502 * testsuite/24_iterators/ostreambuf_iterator.cc: Add test.
503 * testsuite/24_iterators/istreambuf_iterator.cc: Add test.
505 * include/bits/stl_iterator.h (reverse_iterator): Remove
506 extraneous typedefs. Add typename.
507 (__normal_iterator): Remove typedefs referring to self. Add typename.
508 (reverse_bidiretional_iterator): Remove, not longer required.
510 2001-06-26 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
512 * include/bits/stl_iterator.h (__normal_iterator<>): Qualify
513 dependent names with `typename'. Bring in various required
514 iterator_traits members. Can't imagine why that used to work.
516 2001-06-25 Phil Edwards <pme@sources.redhat.com>
517 Kurt Garloff <garloff@suse.de>
520 * src/cmath.cc: New [version of an old] file; instantiate
521 __cmath_power to start with.
522 * src/Makefile.am (sources): Add cmath.cc (and alphabetize).
523 * Makefile.in: Regenerate.
524 * libio/Makefile.in: Regenerate.
525 * libmath/Makefile.in: Regenerate.
526 * libsupc++/Makefile.in: Regenerate.
527 * src/Makefile.in: Regenerate.
528 * testsuite/Makefile.in: Regenerate.
530 2001-06-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
532 * libmath/stubs.c: Fix thinko.
534 2001-06-24 David Edelsohn <dje@watson.ibm.com>
536 * libmath/stubs.c (sqrtf): Define.
537 (tanf): Correct typo.
539 2001-06-22 Benjamin Kosnik <bkoz@redhat.com>
541 * include/bits/stl_iterator.h (reverse_iterator): Inherit from
543 (back_insert_iterator): Same.
544 (front_insert_iterator): Same.
545 (insert_iterator): Same.
547 * testsuite/20_util/raw_storage_iterator.cc: Modify.
548 * testsuite/24_iterators/reverse_iterator.cc: New file.
549 * testsuite/24_iterators/back_insert_iterator.cc: New file.
550 * testsuite/24_iterators/front_insert_iterator.cc: New file.
551 * testsuite/24_iterators/insert_iterator.cc: New file.
553 2001-06-22 Phil Edwards <pme@sources.redhat.com>
555 * include/*: Revert comment/license change from yesterday for all
556 except libsupc++/unwind-cxx.h.
557 * src/bitset.cc: Likewise.
558 * src/strstream.cc: Likewise.
560 2001-06-22 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
562 * libmath/stubs.c: New file.
566 * libmath/Makefile.am (libmath_la_SOURCES): Add.
567 * libmath/Makefile.in. Regenerate.
569 2001-06-21 Phil Edwards <pme@sources.redhat.com>
571 * include/backward/algo.h: Add "GPL plus runtime exception" comment.
572 * include/backward/algobase.h: Likewise.
573 * include/backward/alloc.h: Likewise.
574 * include/backward/bvector.h: Likewise.
575 * include/backward/defalloc.h: Likewise.
576 * include/backward/deque.h: Likewise.
577 * include/backward/function.h: Likewise.
578 * include/backward/hash_map.h: Likewise.
579 * include/backward/hash_set.h: Likewise.
580 * include/backward/hashtable.h: Likewise.
581 * include/backward/heap.h: Likewise.
582 * include/backward/iterator.h: Likewise.
583 * include/backward/list.h: Likewise.
584 * include/backward/map.h: Likewise.
585 * include/backward/multimap.h: Likewise.
586 * include/backward/multiset.h: Likewise.
587 * include/backward/pair.h: Likewise.
588 * include/backward/rope.h: Likewise.
589 * include/backward/set.h: Likewise.
590 * include/backward/slist.h: Likewise.
591 * include/backward/stack.h: Likewise.
592 * include/backward/strstream: Likewise.
593 * include/backward/tempbuf.h: Likewise.
594 * include/backward/tree.h: Likewise.
595 * include/backward/vector.h: Likewise.
596 * include/bits/pthread_allocimpl.h: Likewise.
597 * include/bits/std_algorithm.h: Likewise.
598 * include/bits/std_bitset.h: Likewise.
599 * include/bits/std_deque.h: Likewise.
600 * include/bits/std_functional.h: Likewise.
601 * include/bits/std_iterator.h: Likewise.
602 * include/bits/std_list.h: Likewise.
603 * include/bits/std_map.h: Likewise.
604 * include/bits/std_memory.h: Likewise.
605 * include/bits/std_numeric.h: Likewise.
606 * include/bits/std_queue.h: Likewise.
607 * include/bits/std_set.h: Likewise.
608 * include/bits/std_stack.h: Likewise.
609 * include/bits/std_utility.h: Likewise.
610 * include/bits/std_vector.h: Likewise.
611 * include/bits/stl_algo.h: Likewise.
612 * include/bits/stl_algobase.h: Likewise.
613 * include/bits/stl_alloc.h: Likewise.
614 * include/bits/stl_bvector.h: Likewise.
615 * include/bits/stl_construct.h: Likewise.
616 * include/bits/stl_deque.h: Likewise.
617 * include/bits/stl_function.h: Likewise.
618 * include/bits/stl_heap.h: Likewise.
619 * include/bits/stl_iterator.h: Likewise.
620 * include/bits/stl_iterator_base_funcs.h: Likewise.
621 * include/bits/stl_iterator_base_types.h: Likewise.
622 * include/bits/stl_list.h: Likewise.
623 * include/bits/stl_map.h: Likewise.
624 * include/bits/stl_multimap.h: Likewise.
625 * include/bits/stl_multiset.h: Likewise.
626 * include/bits/stl_numeric.h: Likewise.
627 * include/bits/stl_pair.h: Likewise.
628 * include/bits/stl_pthread_alloc.h: Likewise.
629 * include/bits/stl_queue.h: Likewise.
630 * include/bits/stl_raw_storage_iter.h: Likewise.
631 * include/bits/stl_relops.h: Likewise.
632 * include/bits/stl_set.h: Likewise.
633 * include/bits/stl_stack.h: Likewise.
634 * include/bits/stl_tempbuf.h: Likewise.
635 * include/bits/stl_threads.h: Likewise.
636 * include/bits/stl_tree.h: Likewise.
637 * include/bits/stl_uninitialized.h: Likewise.
638 * include/bits/stl_vector.h: Likewise.
639 * include/bits/type_traits.h: Likewise.
640 * include/ext/hash_map: Likewise.
641 * include/ext/hash_set: Likewise.
642 * include/ext/rope: Likewise.
643 * include/ext/ropeimpl.h: Likewise.
644 * include/ext/slist: Likewise.
645 * include/ext/stl_hash_fun.h: Likewise.
646 * include/ext/stl_hashtable.h: Likewise.
647 * include/ext/stl_rope.h: Likewise.
648 * libsupc++/unwind-cxx.h: Likewise.
649 * src/bitset.cc: Likewise.
650 * src/strstream.cc: Likewise.
652 2001-06-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
654 * include/bits/indirect_array.h (indirect_array<>::operator=):
655 Make copy and assignment operator public. Implement. Format.
657 * include/bits/valarray_array.h (__valarray_copy): Add overloads
658 for copy between index arrays. Format.
660 2001-06-19 Benjamin Kosnik <bkoz@redhat.com>
662 * mknumeric_limits: Add static definitions, format.
663 * testsuite/18_support/numeric_limits.cc (test02): Add test.
665 * include/c_std/bits/std_cwchar.h: Include ctime.
666 * testsuite/17_intro/header_cwchar.cc : Check.
668 * include/c_std/bits/std_cwctype.h: Inject wctype.
669 * testsuite/17_intro/header_cwctype.cc: Update.
671 2001-06-18 Benjamin Kosnik <bkoz@redhat.com>
673 * include/bits/stl_raw_storage_iter.h: Format. Correct derivation.
674 * testsuite/20_util/raw_storage_iterator.cc: Same.
676 * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to
678 (__mem_interface): New typedef for switching between malloc and new.
679 * testsuite/20_util/allocator_members.cc: New file.
681 * testsuite/20_util/comparisons.cc: New file.
682 * testsuite/20_util/pairs.cc: New file.
684 2001-06-15 Phil Edwards <pme@sources.redhat.com>
686 * docs/html/documentation.html: Point to new doxygen'ed collection.
688 2001-06-14 Nathan Sidwell <nathan@codesourcery.com>
690 * configure.in (auxdir): Replace by ...
691 (toprel): ... new variable.
692 (toplevel_srcdir): Construct from $toprel.
693 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
694 rather than .. to locate gcc source directory.
695 (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
696 * aclocal.m4, configure: Rebuilt.
698 2001-06-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
700 (Approved by Mark and Benjamin. Applied by Loren.)
702 * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
703 _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
704 and _GLIBCPP_mutex_address.
705 * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
706 once-only runtime initialization of _M_lock mutex when
707 __GTHREAD_MUTEX_INIT_FUNCTION is defined.
708 (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
709 for __GTHREAD_MUTEX_INIT_FUNCTION case.
711 2001-06-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
713 * testsuite/26_numerics/slice_array_assignment.cc (main): New test.
715 * include/bits/slice_array.h (slice_array<>::operator=): Make
716 public and implement.
717 (slice_array<>::slice_array): Make copy-constructor public.
719 * include/bits/valarray_array.h (__valarray_copy): Add another
720 overload to copy between strided arrays.
722 2001-06-13 Benjamin Kosnik <bkoz@redhat.com>
724 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
725 * aclocal.m4: Regenerate.
726 * configure: Regenerate.
727 * include/bits/c++config (__GLIBCPP__): Update date.
729 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
731 * include/bits/fpos.h (fpos::operator-): Don't return reference,
732 return original, non-modified version.
733 (fpos::operator+): Same.
734 * testsuite/27_io/fpos.cc: Add test.
736 2001-06-12 Loren J. Rittle <ljrittle@acm.org>
739 * porting.texi: Add documentation about libstdc++-v3-specific
740 macros that are currently included in os_defines.h files.
742 * config/basic_file_stdio.h (sys_getc): New method.
743 (sys_ungetc): New method.
744 * include/bits/basic_file.h: (sys_getc): New method signature.
745 (sys_ungetc): New method signature.
747 * include/bits/fstream.tcc (underflow): Add conditional code
748 paths which avoid using short seeks on streams (especially
749 useful when the stream might be interactive or a pipe). At
750 the moment, this alternate path only avoids seeking when the
751 ``buffer size'' of underflow() is 1 since the C standard only
752 guarantees buffer space for one ungetc (this technique could
753 be extended since *-*-solaris* supports buffering for 4 calls
754 to ungetc and *-*-*bsd* supports buffering limited only by
755 memory resources). Also, _GLIBCPP_AVOID_FSEEK must be defined
756 in a port's os_defines.h file for this alternate path to even
757 be considered. As a bonus, the idiom of using getc/ungetc
758 requires no system calls whereas fseek maps to one or two
759 system call(s) on many platforms.
761 * config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
763 * config/os/solaris/solaris2.5/bits/os_defines.h
764 (_GLIBCPP_AVOID_FSEEK): Likewise.
765 * config/os/solaris/solaris2.6/bits/os_defines.h
766 (_GLIBCPP_AVOID_FSEEK): Likewise.
767 * config/os/solaris/solaris2.7/bits/os_defines.h
768 (_GLIBCPP_AVOID_FSEEK): Likewise.
770 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
772 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change to
773 AC_TRY_COMPILE, so that the built compiler is checked, and
774 bootstraps or cross compiles with an older compile still work.
775 * aclocal.m4: Regenerate.
776 * configure: Regenerate.
778 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
781 * include/bits/std_sstream.h: Add allocator_type, as per DR 251.
784 * include/bits/istream.tcc (getline, get): Fix as per DR 243.
787 * include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
790 * include/bits/limits_generic.h: Fix as per DR 184.
792 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
795 * include/bits/basic_string.h (string::compare): Adjust signatures
797 * include/bits/basic_string.tcc: And here.
800 * config/c_io_stdio.h: Remove whitespace.
801 * testsuite/27_io/istream_seeks.cc (test03): Add regression.
802 (test02): Add regression.
803 * testsuite/27_io/istream_seeks-3.tst: New file.
805 2001-06-11 Phil Edwards <pme@sources.redhat.com>
807 * README: Update to reflect reality.
808 * acinclude.m4: Update descriptions, fix typos. Comment changes only.
809 * configure.in: Make certain target_alias is set and subst'd for 2.50.
810 * aclocal.m4: Regenerate.
811 * configure: Regenerate (with 2.13).
813 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
816 * include/bits/ostream.tcc (ostream::seekp): Add error checking as
818 * include/bits/istream.tcc (istream::seekg): Same.
819 * testsuite/27_io/istream_seeks.cc: Fix.
822 * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
824 * include/bits/std_queue.h: Add c++config.h.
825 * testsuite/20_util/binders.cc: New test.
827 2001-06-11 Matthias Klose <doko@debian.org>
828 Phil Edwards <pme@sources.redhat.com>
830 * docs/doxygen/run_doxygen (find_doxygen): Tweak version check.
831 (main script): Echo more information.
833 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
835 * include/c_std/bits/std_cwchar.h: Alphabetize.
836 * include/bits/char_traits.h: Tweak.
837 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
838 everything used by std_cwchar.h.
839 * aclocal.m4: Regenerate.
840 * configure.in: Regenerate.
841 * config.h.in: Regenerate.
843 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
845 * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
846 Add checking for strtof, _Exit in stdlib.h
847 * aclocal.m4: Regenerate.
848 * configure.in: Regenerate.
849 * include/c_std/bits/std_cstdio.h: Alphabetize lists.
850 (snprintf): Put C99 functions into __gnu_cxx namespace.
855 * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
856 for C99 functions within _GLIBCPP_USE_C99 guard.
860 * include/bits/locale_facets.tcc: Check if C99 is enabled.
861 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
863 * include/c_std/bits/cmath.tcc: Formatting tweak.
864 * include/c_std/bits/std_cmath.h: Same.
866 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
868 * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
870 2001-06-09 Alexandre Oliva <aoliva@redhat.com>
871 Stephen L Moshier <moshier@mediaone.net>
873 * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
874 nothing, as in autoconf 2.50.
875 * configure: Rebuilt.
877 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
879 * include/c_std/bits/std_cwchar.h: Remove size_t injection,
881 * include/c_std/bits/std_ctime.h: Same.
882 * include/c_std/bits/std_cstring.h: Same.
883 * include/c_std/bits/std_cstdlib.h: Same.
885 * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
886 * include/c_std/bits/std_cctype.h: Remove isblank.
888 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
890 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
892 * aclocal.m4: Regenerate.
893 * configure: Regenerate.
894 * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
895 injection, guard fgetwc, fgetws.
896 * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
897 * include/c_std/bits/std_clocale.h: And here.
898 * include/c_std/bits/std_cctype.h: And here.
899 * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
901 * config/basic_file_stdio.h: Don't include unistd.h.
902 * config/c_io_stdio.h: Don't use compatibility headers.
903 * libsupc++/eh_terminate.cc: Qualify abort.
904 (__terminate): And here.
905 * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
907 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
909 * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
911 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
916 * include/std/*: Add copyright notice.
917 * include/c_std/bits/*: Use using statements instead of extern "C".
918 * include/c_std/bits/std_cmath.h: Don't overload double versions
919 of math functions with __buitin versions, use global version to
920 prevent ambiguities. Remove define hacks.
921 * include/c_std/bits/std_cwchar.h: Using declarations for "C"
922 functions that have changed signatures and std::
923 declarations. Remove define hacks.
924 * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
925 __builtins in std::. Remove define hacks.
926 * testsuite/17_intro/headers_c.cc: Add tests.
927 * testsuite/17_intro/headers_c++.cc: Add test.
929 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
930 John David Anglin <dave@hiauly1.hia.nrc.ca>
933 * libsupc++/eh_alloc.cc: Ensure that required macros are
934 defined before including gthr.h. Ensure that we get the
935 version of gthr.h for which we know how to provide a
937 * libsupc++/eh_globals.cc: Likewise. And, bring the threading
938 code path into line with the current EH model. Use std, where
941 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
942 John David Anglin <dave@hiauly1.hia.nrc.ca>
944 * config/threads-no.h: Remove file.
945 * config/threads-posix.h: Remove file.
947 * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
948 (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
949 (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
950 * config.h.in: Regenerate.
952 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
953 setup and use gthr*.h files. In particular, make gthr.h files
954 namespace-clean in the staging area (they don't have to be for
956 * aclocal.m4: Regenerate.
957 * configure: Regenerate.
959 * src/Makefile.am (build_headers): Remove bits/c++threads.h
960 and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
961 * src/Makefile.in: Regenerate.
963 * include/bits/c++config: Cleanup threading configuration macros.
964 In particular, define __STL_GTHREADS macro which controls...
965 * include/bits/stl_threads.h: ...a brand new gthr.h-based
968 * config/c_io_stdio.h: Include staged gthr.h instead of local
969 thread configuration file. Always use __gthread_mutex_t
970 instead of __mutext_type (or int).
971 * include/bits/std_fstream.h: Likewise.
973 * docs/html/17_intro/howto.html: Remove placeholder comment in
974 case this configuration patch didn't make it. Add advice that
975 section only applies if configured with --enable-threads.
976 * docs/html/23_containers/howto.html: Reword to make clear
977 that _PTHREADS is no longer required for any port to be
978 correctly using STL with threads. Add advice that section
979 only applies if configured with --enable-threads.
981 2001-06-06 Benjamin Kosnik <bkoz@redhat.com>
983 * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
985 2001-06-05 Benjamin Kosnik <bkoz@redhat.com>
988 * include/bits/basic_ios.tcc: Formatting tweaks.
989 * include/bits/ios_base.h: Formatting tweaks.
990 * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
991 (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
992 * src/globals.cc: Allocate filebufs for standard streams here.
993 (buf_cout, buf_cin, buf_cerr): Like so.
994 (buf_wcout, buf_wcin, buf_wcerr): And so.
995 * testsuite/27_io/ios_init.cc: Add.
997 2001-06-04 Brendan Kehoe <brendan@zen.org>
998 Benjamin Kosnik <bkoz@redhat.com>
1001 * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
1002 for generic ctype virtuals.
1003 * src/locale.cc: Minor tweaks, naming consistency.
1004 * testsuite/22_locale/ctype.cc: Add test.
1006 2001-06-04 Kenny Simpson <theonetruekenny@yahoo.com>
1007 Phil Edwards <pme@sources.redhat.com>
1009 PR libstdc++/3035 and PR libstdc++/3036
1010 * include/bits/stl_pair.h: Fix pair ctor and make_pair according
1011 to LWG DR 181 and 265.
1013 2001-06-04 Phil Edwards <pme@sources.redhat.com>
1016 * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
1017 equal_range): Add const overloads as per LWG DR 214.
1018 * include/bits/stl_set.h: Likewise.
1020 2001-06-04 Brendan Kehoe <brendan@zen.org>
1021 Phil Edwards <pme@sources.redhat.com>
1024 * include/bits/std_bitset.h (bitset::test): Fix __pos >= _Nb
1025 comparison; all positions must be < _Nb.
1026 * testsuite/23_containers/bitset_members.cc: New file.
1028 2001-06-04 Brendan Kehoe <brendan@zen.org>
1031 * include/bits/stl_queue.h (classes queue, priority_queue): Fix
1032 ctors to match the standard.
1034 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
1036 * include/bits/char_traits.h (move): Reverse qualification of
1038 (copy): Reverse qualification of memcpy with std::.
1040 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
1042 * include/bits/char_traits.h (move): Qualify memmove with std::.
1043 (copy): Qualify memcpy with std::.
1044 * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
1047 * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
1049 2001-06-04 Hans-Peter Nilsson <hp@axis.com>
1051 * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
1052 uninstall-glibcppinstallHEADERS): Have explicit rules catering to
1053 SUN make VPATH peculiarities.
1054 * libsupc++/Makefile.in: Regenerate.
1056 2001-06-01 Hans-Peter Nilsson <hp@axis.com>
1058 * src/Makefile.am (VPATH): Delimit with ":", not space.
1059 * src/Makefile.in: Regenerate.
1061 * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
1063 * configure: Regenerate.
1065 2001-05-31 scott snyder <snyder@fnal.gov>
1068 * include/bits/istream.tcc: Include std_ostream.h.
1070 2001-05-31 Benjamin Kosnik <bkoz@redhat.com>
1073 * src/bitset.cc: Qualify size_t with std::.
1075 2001-05-30 Benjamin Kosnik <bkoz@redhat.com>
1077 * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
1078 (_GLIBCPP_BUGGY_COMPLEX): Remove.
1079 * config.h.in: Regenerate.
1080 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
1081 * aclocal.m4: Regenerate.
1082 * configure.in: Don't call it.
1083 * configure: Regenerate.
1086 * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
1087 * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
1091 * include/bits/std_complex.h: Include sstream. Put definitions for
1092 complex inserters and extractors here, and remove them from...
1093 * src/complex_io.cc: ...here.
1094 * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
1096 (basic_ios::__numget_type): Same.
1097 * include/bits/std_istream.h: Same.
1098 * include/bits/std_ostream.h: Same.
1099 * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
1100 class iterator template arguments.
1101 * src/locale-inst.cc: Add explicit has_facet instantiations.
1102 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
1103 (_M_get_fnumput): Remove.
1104 (_M_get_fnumget): Remove.
1105 (basic_ios::_M_check_facet): New function.
1106 (basic_ios::_M_cache_facets): New function.
1107 * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
1108 (basic_ios::imbue): Call _M_cache_facets.
1109 (basic_ios::init): Same.
1110 * include/bits/istream.tcc: Format, use _M_check_facet.
1111 * include/bits/ostream.tcc: Same.
1112 * include/bits/locale_facets.tcc (__output_float): Change
1113 signature, add _Traits.
1114 * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
1117 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
1119 * include/bits/c++config (__USE_MALLOC): Do not define it.
1120 Document why not and give pointers to more information.
1122 * docs/html/23_containers/howto.html: Update documentation
1123 to reflect recent understanding of problem.
1124 * docs/html/17_intro/howto.html: Likewise.
1126 2001-05-30 Phil Edwards <pme@sources.redhat.com>
1128 * docs/doxygen/user.cfg.in: Minor addition.
1129 * docs/html/documentation.html: Reorganize. Put most-looked-at
1131 * docs/html/install.html: Update for 3.0. HTML fixups.
1132 * docs/html/17_intro/howto.html: Likewise.
1133 * docs/html/18_support/howto.html: Likewise.
1134 * docs/html/19_diagnostics/howto.html: Likewise.
1135 * docs/html/20_util/howto.html: Likewise.
1136 * docs/html/23_containers/howto.html: Likewise.
1137 * docs/html/24_iterators/howto.html: Likewise. More notes.
1138 * docs/html/25_algorithms/howto.html: Likewise.
1139 * docs/html/26_numerics/howto.html: Likewise. More notes.
1140 * docs/html/27_io/howto.html: Likewise.
1141 * docs/html/ext/howto.html: Likewise.
1142 * docs/html/faq/index.html: Likewise.
1143 * docs/html/faq/index.txt: Regenerate.
1144 * docs/html/27_io/iostreams_hierarchy.pdf: Remove in favor of
1145 Doxygen-created documentation.
1147 2001-05-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1149 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
1150 get_multilibs to find gcc.
1152 2001-05-30 Phil Edwards <pme@sources.redhat.com>
1154 * acinclude.m4 (GLIBCPP_ENABLE_C99): Reorder output messages.
1155 * aclocal.m4: Regenerate.
1156 * configure: Regenerate.
1158 2001-05-29 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1160 * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
1161 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
1163 2001-05-27 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1165 * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
1166 * include/c_std/bits/std_cstdlib.h: Same.
1167 * include/c_std/bits/std_cwchar.h: Same.
1169 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
1171 * docs/html/17_intro/howto.html: Update link.
1172 * docs/html/23_containers/howto.html: Likewise. Add new link.
1174 2001-05-26 Gabriel Dos Reis <gdr@codesourcery.com>
1176 * include/c_std/bits/std_cmath.h (sqrt): #undef.
1178 2001-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1180 * mknumeric_limits: Stop if gen-num-limits dies.
1182 2001-05-25 Benjamin Kosnik <bkoz@redhat.com>
1185 * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
1186 * aclocal.m4: Regenerate.
1189 2001-05-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1190 Phil Edwards <pme@sources.redhat.com>
1191 Alexandre Oliva <aoliva@redhat.com>
1193 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
1194 in an amd-safe manner. Revert glibcpp_prefixdir.
1196 2001-05-25 Gabriel Dos Reis <gdr@codesourcery.com>
1198 * include/c_std/bits/std_cmath.h: Tweak. #define away abs, cos,
1199 fabs, sin, sqrt. They are now implemented in terms of __builtin_
1202 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
1205 * testsuite/21_strings/inserters_extractors.cc (test09): New test.
1206 * include/bits/ostream.tcc: Format to match istream.tcc.
1207 (operator<<(basic_ostream __out, const basic_string __s)): Fix.
1209 2001-05-24 Phil Edwards <pme@sources.redhat.com>
1211 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Qualify
1213 (__cxa_free_exception): Likewise with free.
1215 2001-05-24 Mark Mitchell <mark@codesourcery.com>
1217 * include/c_std/bin/std_cstring.h: #define away all global
1218 functions we will redeclare in namespace `std'.
1219 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
1220 std::memset, instead of memset.
1221 * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
1223 * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
1226 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
1229 * include/bits/basic_ios.tcc: Small tweak.
1230 * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
1231 ctors and dtors, and rdbuf settings.
1234 * include/bits/std_sstream.h: Same, but for stringstream classes.
1235 * testsuite/27_io/ostringstream_members.cc: New.
1236 * testsuite/27_io/stringstream_members.cc: New.
1237 * testsuite/27_io/fstream_members.cc: New.
1238 * testsuite/27_io/ifstream_members.cc: Add test.
1239 * testsuite/27_io/istringstream_members.cc: Add test.
1240 * testsuite/27_io/ofstream_members.cc: Add test.
1242 2001-05-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1244 * include/bits/c++config(__NO_MATH_INLINES): Move to...
1245 * config/os/gnu-linux/bits/os_defines.h: ...here.
1247 2001-05-24 Gabriel Dos Reis <gdr@codesourcery.com>
1249 * include/bits/c++config (__NO_MATH_INLINES): New macro.
1250 * testsuite/26_numerics/fabs_inline.cc (main): New test.
1252 2001-05-22 Benjamin Kosnik <bkoz@redhat.com>
1255 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
1257 (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
1258 (libstdc++-v3-finish): Remove.
1259 (libstdc++-v3_exit): Remove.
1261 2001-05-22 Phil Edwards <pme@sources.redhat.com>
1263 * docs/html/documentation.html: Point to doxygen output.
1265 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
1267 * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
1269 * include/bits/std_sstream.h (stringbuf::setbuf): Require both
1270 arguments to be non-null.
1271 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
1272 try allocations if allocated size is greater than zero.
1273 (filebuf::_M_filebuf_init): Change to
1274 (filebuf::_M_allocate_file): Which is what it does now.
1275 (filebuf::_M_allocate_bufers): Change to
1276 (filebuf::_M_allocate_internal_buffer): This, and create
1277 (filebuf::_M_allocate_pback_buffer): New.
1278 (filebuf::_M_destroy_internal_buffer): New.
1279 (filebuf::_M_buf_allocated): New data member.
1280 (filebuf::setbuf): Use new logic, allow use of external buffer.
1281 * testsuite/27_io/stringbuf_virtuals.cc: New file.
1282 * testsuite/27_io/filebuf_virtuals.cc: New file.
1284 2001-05-21 Stephen M. Webb <stephen@bregmasoft.com>
1286 * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
1288 (strchr): Same, but to __glibcpp_strchr.
1292 * include/c_std/bits/std_cwchar.h (wcschr): Same.
1298 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
1300 * testsuite/21_strings/c_strings.cc (main): Fix.
1302 2001-05-19 Phil Edwards <pme@sources.redhat.com>
1304 * acinclude.m4: Fix --help spacing, correct comments.
1305 * aclocal.m4: Regenerate.
1306 * configure: Regenerate.
1307 * mkcheck.in: Add usage comments.
1308 * docs/html/documentation.html: Point to doxygen'd tarball.
1310 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
1312 * testsuite/README: Add notes.
1314 * src/Makefile.am (libstdc++.INC): Remove.
1315 * src/Makefile.in: Regenerate.
1317 Phil Edwards <pedwards@disaster.jaj.com>
1318 * mkcheck.in: Add missing '#'.
1320 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
1322 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
1323 appropriately for remote testing and testing installed files without
1326 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
1328 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
1329 amd glibcpp_prefixdir with absolute paths.
1331 * include/bits/c++config (__GLIBCPP__): Bump.
1332 * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
1334 2001-05-18 Gabriel Dos Reis <gdr@codesourcery.com>
1336 * include/bits/std_valarray.h (valarray<>::operator[] const):
1337 Return a const reference.
1338 * testsuite/26_numerics/valarray_const_bracket.cc: New test.
1340 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
1342 * configure.target (ATOMICITYH): Actually use AIX-specific code on
1343 earlier versions of AIX 4.*.
1345 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
1347 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set
1348 output_file based on the name of the testcase.
1350 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
1352 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Build
1353 gluefile and use it if needs_status_wrapper is set.
1355 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
1357 * configure.target (ATOMICITYH): Use cpu/generic code on earlier
1360 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
1362 * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
1363 on earlier versions of AIX.
1365 2001-05-15 Benjamin Kosnik <bkoz@redhat.com>
1367 * testsuite_flags.in (query): Add backwards, ext directories.
1369 2001-05-15 Mark Mitchell <mark@codesourcery.com>
1371 * porting.texi: Correct documentation about handling
1372 _LARRGEFILE_SOURCE and its ilk.
1373 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
1374 definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
1376 * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
1377 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
1379 2001-05-15 Zack Weinberg <zackw@stanford.edu>
1381 * testsuite/21_strings/inserters_extractors.cc,
1382 testsuite/27_io/istream_unformatted.cc,
1383 testsuite/27_io/stringstream.cc:
1384 Replace multi-line string constants with C89-style
1385 concatenated string constants.
1387 2001-05-14 Richard Henderson <rth@redhat.com>
1389 * mknumeric_limits: Build with -fno-exceptions.
1391 2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
1393 Switch over to new harness.
1394 * testsuite_flags.in: Tweaks via Gaby.
1395 * testsuite/Makefile.am: Change tool to libstdc++-v3.
1396 (EXPECT): Quote directly.
1398 * configure.in: Output testsuite_flags.
1399 * acinclude.m4: Substitute src, bld, and prefix dirs.
1400 Remove glibcpp_expect, glibcpp_runtestflags.
1401 * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
1402 * mkcheck.in: Port to new interface.
1404 * aclocal.m4: Regerate.
1405 * configure: Regnerate.
1406 * Makefile.in: Regnerate.
1407 * */Makefile.in: Regenerate.
1409 * tests_flags.in: Remove.
1410 * testsuite/lib/libstdc++.exp: Remove.
1411 * testsuite/libstdc++.tests/tests.exp: Remove.
1413 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
1415 * configure.target: Remove detection of AIX pthread multilib, now
1416 obtained from `gcc -v'.
1418 2001-05-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
1420 * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
1421 size. Add hpux case for HP size.
1423 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
1425 * testsuite_flags.in: New, simplified interface.
1426 * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
1427 * testsuite/libstdc++-v3.dg: Add.
1428 * testsuite/libstdc++-v3.dg/dg.exp: Add.
1430 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
1432 * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
1433 * testsuite/config/default.exp: Update bugs email address.
1435 2001-05-11 Richard Henderson <rth@redhat.com>
1437 * libsupc++/eh_personality.cc: Include unwind-pe.h. Remove
1438 all pointer encoding logic.
1439 (struct lsda_header_info): Add ttype_base.
1440 (get_ttype_entry): Use it instead of a context.
1441 (check_exception_spec): Likewise.
1442 (PERSONALITY_FUNCTION): Initialize ttype_base. Store it in
1443 the c++ exception header for __cxa_call_unexpected.
1444 (__cxa_call_unexpected): Use it.
1446 2001-05-09 Benjamin Kosnik <bkoz@redhat.com>
1448 * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
1449 libgloss_link_flags to find crt0.o for targets that use libgloss
1451 Change LDFLAGS to LIBS.
1452 Consistently name procedures libstdc++-XXX.
1453 * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
1455 2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
1457 * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
1462 * include/c_std/bits/std_cwchar.h (wcschr): Same.
1467 * testsuite/21_strings/c_strings.cc: Add tests.
1469 2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
1472 * include/bits/std_fstream.h (basic_filebuf): Change signature.
1473 * include/bits/fstream.tcc (basic_filebuf): Change bool argument
1474 to int_type, pass in buffer size info.
1475 * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
1476 unbuffered situation.
1477 (underflow): Remove codecvt bits for the time being.
1478 * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
1479 * include/bits/locale_facets.tcc (_M_extract): Cache dereference
1480 values from iterators, clean.
1481 * src/locale.cc: Ditto.
1482 * include/bits/sbuf_iter.h: Format.
1483 * src/ios.cc: Explicitly pass in buffer sizes at creation time.
1484 * testsuite/27_io/narrow_stream_objects.cc: Add tests.
1485 * testsuite/27_io/filebuf.cc: Tweaks.
1486 * testsuite/27_io/filebuf_members.cc: Tweaks.
1488 2001-05-07 Mark Mitchell <mark@codesourcery.com>
1490 * config/os/solaris/solaris2.7/bits/os_defines.h
1491 (_LARGEFILE_SOURCE): Define it.
1493 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
1495 * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
1496 -prefer-non-pic depending on whether libtool has shared libraries
1497 enabled or disabled.
1498 * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
1499 $(LIBSUPCXX_PICFLAGS).
1500 * configure, */Makefile.in: Rebuilt.
1502 2001-05-01 Benjamin Kosnik <bkoz@redhat.com>
1504 * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
1505 * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
1507 * include/bits/std_sstream.h (stringbuf): Leak
1509 * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
1511 2001-05-01 Tom Browder <tbrowder@home.com>
1513 * docs/html/ext/howto.html: Fix typo.
1515 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
1517 * testsuite/libstdc++.tests/tests.exp: Add comment.
1519 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
1521 * testsuite/libstdc++.tests/tests.exp: Set ulimits.
1523 2001-04-30 Mark Mitchell <mark@codesourcery.com>
1525 * porting.texi: Use the GFDL.
1527 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
1530 * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
1531 * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
1534 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
1537 * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
1539 2001-04-28 Phil Edwards <pme@sources.redhat.com>
1541 * docs/doxygen/run_doxygen: Minor tweaks.
1542 * docs/doxygen/style.css: New file.
1543 * docs/doxygen/user.cfg.in: Update using "doxygen -u" to get the
1544 latest parameters available. Use style.css.
1546 2001-04-27 Benjamin Kosnik <bkoz@redhat.com>
1548 * docs/doxygen/mainpage.doxy: New.
1549 * docs/doxygen/user.cfg.in: Change default configuration. Single
1550 frame, other tweaks.
1552 2001-04-26 Mark Mitchell <mark@codesourcery.com>
1554 * docs/html/17_intro/BADNAMES: Remove EGCS reference.
1555 Indicate obsolete nature of thelist for G++ 3.0.
1557 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
1559 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
1560 target_thread_file with `gcc -v'.
1561 * aclocal.m4, configure: Rebuilt.
1563 2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
1565 * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
1566 * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
1567 * include/c_std/bits/std_cwchar.h (std): Same.
1568 * acconfig.h (std): Remove c99 injection into std.
1569 * config.h.in: Regenerate.
1571 * testsuite/README: Fix typo.
1573 * include/bits/codecvt.h: Remove warnings.
1575 2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1577 * include/ext/slist: Include required header files.
1579 2001-04-23 Loren J. Rittle <ljrittle@acm.org>
1581 * include/c_std/bits/std_cerrno.h (errno): Define macro from
1582 identifier declared with external linkage, if needed.
1583 * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
1584 * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
1586 2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
1588 * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
1589 re-configures find the build compiler.
1590 (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
1592 * aclocal.m4: Regenerate.
1593 * configure: Regenerate.
1595 2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
1597 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
1598 support is enabled correctly before long long is activated.
1599 * aclocal.m4: Regenerate.
1600 * configure: Regenerate.
1602 * include/backward/backward_warning.h: Format correctly.
1604 * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
1605 * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
1606 * testsuite/26_numerics/c99_macros.cc: Remove.
1608 2001-04-20 Phil Edwards <pme@sources.redhat.com>
1610 * include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
1611 __iterator_category.
1613 2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
1615 * acconfig.h (_GLIBCPP_USE_C99): Add.
1616 * config.h.in: Regenerate.
1617 * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
1619 * aclocal.m4: Regenerate.
1620 * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
1621 * configure: Regenerate.
1622 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
1623 * configure: Regenerate.
1624 * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
1626 * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
1628 * include/c_std/bits/std_cstdlib.h: Same.
1629 * docs/html/configopts.html: Update.
1630 * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
1632 (test_c99_classify): Add.
1633 * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
1634 (_ISOC99_SOURCE): Remove.
1636 * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
1637 * include/bits/c++config (__STL_ASSERTIONS): Simplify.
1638 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
1639 * aclocal.m4: Regenerate.
1640 * configure: Regenerate.
1642 2001-04-19 Phil Edwards <pme@sources.redhat.com>
1644 * Makefile.am (doxygen): Assume script is missing execute perms.
1645 * Makefile.in: Regenerated.
1646 * docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
1648 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
1650 * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
1652 2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
1654 * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
1655 * testsuite/23_containers/set_operators.cc: Same.
1657 * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
1659 (__GLIBCPP__): Bump from value of last release.
1660 * include/bits/concept_check.h: Default to off, edit comments.
1661 * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
1662 * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
1663 * src/Makefile.in: Regenerate.
1665 2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE>
1667 * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
1668 Properly uglify member.
1670 2001-04-13 Phil Edwards <pme@sources.redhat.com>
1672 * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead
1676 2001-04-13 Phil Edwards <pme@sources.redhat.com>
1678 * include/bits/boost_concept_check.h: Uglify, fork from Boost.
1679 * include/bits/concept_check.h: Uglify.
1680 * include/bits/stl_algo.h: Likewise.
1681 * include/bits/stl_algobase.h: Likewise.
1682 * include/bits/stl_deque.h: Likewise.
1683 * include/bits/stl_heap.h: Likewise.
1684 * include/bits/stl_iterator_base_funcs.h: Likewise.
1685 * include/bits/stl_list.h: Likewise.
1686 * include/bits/stl_map.h: Likewise.
1687 * include/bits/stl_multimap.h: Likewise.
1688 * include/bits/stl_multiset.h: Likewise.
1689 * include/bits/stl_numeric.h: Likewise.
1690 * include/bits/stl_queue.h: Likewise.
1691 * include/bits/stl_set.h: Likewise.
1692 * include/bits/stl_stack.h: Likewise.
1693 * include/bits/stl_vector.h: Likewise.
1694 * include/ext/hash_map: Likewise.
1695 * include/ext/hash_set: Likewise.
1696 * include/ext/slist: Likewise.
1698 2001-04-13 Gabriel Dos Reis <gdr@codesourcery.com>
1700 * testsuite/23_containers/set_operators.cc: Just try to compile.
1702 * testsuite/23_containers/map_operators.cc: Same.
1704 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
1706 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
1708 (dg-test): Revert rth's change.
1710 2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
1712 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
1713 terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
1715 2001-04-12 Gabriel Dos Reis <gdr@codesourcery.com>
1717 * testsuite/README: Add DejaGnu specific documentation.
1719 2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
1721 * acinclude.m4: AC_CHECK_TOOL for expect.
1722 * aclocal.m4: Regenerate.
1723 * configure: Regenerate.
1724 * testsuite/Makefile.am (RUNTEST): Use substituted.
1727 * configure.in: Remove xcompiling substitution.
1728 * tests_flags.in (CROSS_LIB_PATH): Remove.
1729 (xcompiling): Remove.
1730 (CXX): Use substituted CXX.
1732 2001-04-11 Richard Henderson <rth@redhat.com>
1734 * testsuite/lib/libstdc++.exp: Specify path for output_file.
1736 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
1738 * include/bits/std_valarray.h(valarray<>::operator[]): Make
1741 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
1743 * testsuite/25_algorithms/equal.cc: New test.
1745 2001-04-06 Joe Buck <jbuck@welsh-buck.org>
1747 * stl_algobase.h (std::equal): avoid use of possibly-undefined
1748 operator != (one line patch).
1750 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
1752 * include/backward/backward_warning.h: Re-enable.
1754 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
1755 Alexandre Oliva <aoliva@redhat.com>
1757 * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
1759 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
1761 * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
1762 * testsuite/26_numerics/c99_macros.cc: Add test.
1764 2001-04-06 Phil Edwards <pme@sources.redhat.com>
1766 * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES.
1767 * docs/html/faq/index.txt: Regenerated.
1769 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
1771 * include/backward/backward_warning.h: Temporarily disable until
1772 g++ testsuite changes go in.
1773 * tests_flags.in (CROSS_LIB_PATH): Add.
1775 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
1777 Warn when using backward headers.
1778 * include/backward/algo.h: Include warning file.
1779 * include/backward/vector.h: Same.
1780 * include/backward/tree.h: Same.
1781 * include/backward/tempbuf.h: Same.
1782 * include/backward/strstream: Same.
1783 * include/backward/streambuf.h: Same.
1784 * include/backward/stream.h: Same.
1785 * include/backward/stack.h: Same.
1786 * include/backward/slist.h: Same.
1787 * include/backward/set.h: Same.
1788 * include/backward/rope.h:
1789 * include/backward/queue.h: Same.
1790 * include/backward/pair.h: Same.
1791 * include/backward/ostream.h: Same.
1792 * include/backward/new.h: Same.
1793 * include/backward/multiset.h: Same.
1794 * include/backward/multimap.h: Same.
1795 * include/backward/map.h: Same.
1796 * include/backward/list.h: Same.
1797 * include/backward/iterator.h: Same.
1798 * include/backward/istream.h: Same.
1799 * include/backward/iostream.h:
1800 * include/backward/iomanip.h:
1801 * include/backward/heap.h: Same.
1802 * include/backward/hashtable.h:
1803 * include/backward/hash_set.h:
1804 * include/backward/hash_map.h:
1805 * include/backward/function.h:
1806 * include/backward/fstream.h:
1807 * include/backward/deque.h:
1808 * include/backward/defalloc.h: Same.
1809 * include/backward/complex.h: Same.
1810 * include/backward/bvector.h:
1811 * include/backward/alloc.h:
1812 * include/backward/algobase.h: Same.
1814 * include/backward/backward_warning.h: New file.
1815 * src/Makefile.am (backward_headers): Add backward_warning.h
1816 * src/Makefile.in: Regenerate.
1818 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
1820 * src/Makefile.am (myinstalldirs): Make sure backward directory is
1822 (myinstallheaders): Install backward headers in backward directory.
1823 * src/Makefile.in: Regenerate.
1825 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
1827 Prepare for libstdc++-2.92.
1828 * docs/html/17_intro/RELEASE-NOTES (New): Update.
1829 * docs/html/configopts.html: Fix formatting.
1830 * README (file): Updates.
1831 * include/bits/c++config (__GLIBCPP__): Update.
1833 2001-04-05 Phil Edwards <pme@sources.redhat.com>
1835 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
1837 2001-04-04 Phil Edwards <pme@sources.redhat.com>
1839 * docs/doxygen/user.cfg.in: Extract all non-private members;
1840 reduce confusing documentation output.
1842 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
1844 * include/backward/fstream.h: Add missing semicolons.
1846 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
1848 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
1849 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
1850 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
1851 (ios_base::Init::_S_ios_create): New.
1852 (ios_base::Init::_S_ios_destroy): New.
1853 * include/bits/std_fstream.h: Change ctor args.
1854 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
1855 (ios_base::Init::~Init): Use _S_ios_destroy.
1856 (ios_base::sync_with_stdio): Use new members.
1857 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
1860 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1862 * include/backward/fstream.h: Expose streampos to global
1865 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1867 * include/bits/stl_iterator_base_types.h: Fix typo
1869 2001-04-03 Andreas Schwab <schwab@suse.de>
1871 * include/backward/fstream.h: Define filebuf and wfilebuf.
1873 2001-04-02 Phil Edwards <pme@sources.redhat.com>
1875 New concept checking implementation.
1876 * docs/html/19_diagnostics/howto.html: Document.
1877 * docs/html/17_intro/concept_check.diff: New file, for reference.
1878 * include/bits/boost_concept_check.h: New file from Boost.
1879 * include/bits/c++config: Update comments.
1881 * include/bits/concept_check.h: New file.
1882 * include/bits/concept_checks.h: Removed.
1883 * include/bits/container_concepts.h: Removed.
1884 * include/bits/sequence_concepts.h: Removed.
1885 * include/bits/stl_iterator_base.h: Removed; split into...
1886 * include/bits/stl_iterator_base_funcs.h: ...this new file...
1887 * include/bits/stl_iterator_base_types.h: ...and this new file.
1889 * include/bits/sbuf_iter.h: Update to use new implementation.
1890 * include/bits/std_iterator.h: Likewise.
1891 * include/bits/std_memory.h: Likewise.
1892 * include/bits/stl_algo.h: Likewise.
1893 * include/bits/stl_algobase.h: Likewise.
1894 * include/bits/stl_construct.h: Likewise.
1895 * include/bits/stl_deque.h: Likewise.
1896 * include/bits/stl_heap.h: Likewise.
1897 * include/bits/stl_list.h: Likewise.
1898 * include/bits/stl_map.h: Likewise.
1899 * include/bits/stl_multimap.h: Likewise.
1900 * include/bits/stl_multiset.h: Likewise.
1901 * include/bits/stl_numeric.h: Likewise.
1902 * include/bits/stl_queue.h: Likewise.
1903 * include/bits/stl_set.h: Likewise.
1904 * include/bits/stl_stack.h: Likewise.
1905 * include/bits/stl_uninitialized.h: Likewise.
1906 * include/bits/stl_vector.h: Likewise.
1907 * include/ext/hash_map: Likewise.
1908 * include/ext/hash_set: Likewise.
1909 * include/ext/slist: Likewise.
1910 * include/ext/stl_hashtable.h: Likewise.
1912 * src/Makefile.am (base_headers): Update list of headers.
1913 * Makefile.in: Regenerated.
1914 * src/Makefile.in: Regenerated.
1915 * libio/Makefile.in: Regenerated.
1916 * libmath/Makefile.in: Regenerated.
1917 * libsupc++/Makefile.in: Regenerated.
1918 * testsuite/Makefile.in: Regenerated.
1920 * docs/html/install.html: Update contact information.
1921 * docs/html/17_intro/howto.html: Ditto.
1922 * docs/html/18_support/howto.html: Ditto.
1923 * docs/html/20_util/howto.html: Ditto.
1924 * docs/html/21_strings/howto.html: Ditto.
1925 * docs/html/22_locale/howto.html: Ditto.
1926 * docs/html/23_containers/howto.html: Ditto.
1927 * docs/html/24_iterators/howto.html: Ditto.
1928 * docs/html/25_algorithms/howto.html: Ditto.
1929 * docs/html/26_numerics/howto.html: Ditto.
1930 * docs/html/27_io/howto.html: Ditto.
1931 * docs/html/faq/index.html: Ditto, plus info on new checking code.
1932 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
1933 * docs/html/faq/index.txt: Regenerated.
1935 2001-04-02 Zack Weinberg <zackw@stanford.edu>
1937 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
1938 messages with $which_library as well as $tool_flags and
1939 ${dg-extra-tool-flags}. Factor out annotation text into
1942 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
1944 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
1945 * include/c_std/bits/std_cwchar.h: Same.
1946 * testsuite/21_strings/c_strings.cc: Add.
1948 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
1950 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
1952 2001-04-01 Zack Weinberg <zackw@stanford.edu>
1954 * tests_flags.in: Use test a = b, not test a == b which is not
1957 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
1959 * configure.target: Remove duplicate aix entry.
1961 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
1963 * include/ext/stl_bvector.h: Move to...
1964 * include/bits/stl_vector.h: ...here.
1965 * include/ext/bvector: Move to...
1966 * include/backward/bvector.h: ...here.
1967 * include/bits/std_vector.h: Change stl_bvector include.
1968 * include/bits/std_queue.h: Remove bvector include.
1969 * include/ext/tree: Insert using rb_tree, move to...
1970 * include/backward/tree.h: ...here.
1971 * include/backward/hash_map.h: Include ext/hash_map.
1972 * include/backward/hash_set.h: Include ext/hash_set.
1973 * include/backward/queue.h: New file.
1974 * include/backward/stack.h: Edit.
1975 * include/backward/algo.h: Same.
1976 * include/backward/algobase.h: Same.
1977 * include/backward/alloc.h: Same.
1978 * include/backward/function.h: Same.
1979 * include/backward/iomanip.h: Same.
1980 * include/backward/istream.h: Same.
1981 * include/backward/iterator.h: Same.
1982 * include/backward/list.h: Same.
1983 * include/backward/map.h: Same.
1984 * include/backward/multimap.h: Same.
1985 * include/backward/multiset.h: Same.
1986 * include/backward/ostream.h: Same.
1987 * include/backward/pair.h: Same
1988 * include/backward/rope.h: Same.
1989 * include/backward/set.h: Same.
1990 * include/backward/stream.h: Same.
1991 * include/backward/strstream.h: Same.
1992 * include/backward/tempbuf.h: Same.
1993 * src/Makefile.am (ext_headers): Edit.
1994 * src/Makefile.in: Regenerate.
1995 * testsuite/ext/headers.cc (main): Fix.
1998 2001-03-30 Phil Edwards <pme@sources.redhat.com>
2000 * tests_flags.in (LIBS): Pass correct path for installed testing.
2002 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
2004 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
2005 * tests_flags.in (CXX): Construct here.
2006 (static_fail): Don't remove compile.out. Format with spaces.
2007 (INCLUDES): Deal with xcompiling.
2008 * configure.in (xcompiling): Substitute.
2009 * testsuite/Makefile.am: Snake libjava configury.
2010 * testsuite/Makefile.in: Regenerate.
2011 * testsuite/23_containers/map_operators.cc: Tweaks.
2012 * testsuite/23_containers/set_operators.cc: Tweaks.
2014 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2016 Enable dejagnu testing framework.
2017 * configure.in: Generate testsuite/Makefile.
2018 * configure: Regenerate.
2019 * Makefile.am (check-install): Change rule from this...
2020 (check-script-install): ...to this.
2021 (check): Change rule from this...
2022 (check-script):...to this.
2023 * Makefile.in: Regenerate.
2025 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
2027 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
2029 (LIBTOOL): Let automake take care of its definition.
2030 * libsupc++/Makefile.in: Rebuilt.
2032 2001-03-28 Richard Henderson <rth@redhat.com>
2034 IA-64 ABI Exception Handling:
2035 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
2036 * configure.in: Use it.
2037 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
2038 * libsupc++/Makefile.am (sources): Update files list.
2039 * libsupc++/Makefile.in: Regenerate.
2040 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
2041 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
2042 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
2043 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
2044 * libsupc++/exception_support.cc: Remove.
2045 * libsupc++/exception_support.h: Remove.
2046 * libsupc++/pure.cc: Use std::terminate.
2047 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
2048 (__is_pointer): Remove.
2049 * libsupc++/unwind-cxx.h: New file.
2050 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
2052 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
2054 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
2056 * src/Makefile.am (CXXLINK): Likewise.
2057 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
2059 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
2061 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
2063 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2065 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
2068 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
2070 * include/bits/basic_file.h (get_fileno): Remove.
2071 (_M_fileno): Remove.
2072 (_M_cfile_created): Add.
2073 (basic_file::basic_file(__c_file_type*, openmode): Add.
2074 (basic_file::basic_file(int, const char*, openmode): Remove.
2075 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
2076 const char*, ios_base::openmode): Don't allocate
2077 internal buffers. Turn off internal buffers.
2078 (basic_filebuf::overflow): Remove test for null buffer.
2079 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
2080 * include/bits/streambuf.cc: Tweak.
2081 * include/bits/std_ostream.h: Tweak.
2082 * config/basic_file_libio.h: Same.
2083 * config/basic_file_stdio.h: Same.
2084 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
2085 * testsuite/27_io/filebuf_members.cc: Tweaks.
2086 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
2088 2001-03-24 Phil Edwards <pme@sources.redhat.com>
2090 * Makefile.am: New targets, doxygen and doxygen-maint.
2091 * Makefile.in: Regenerated.
2092 * docs/doxygen/run_doxygen: Finally implemented.
2093 * docs/doxygen/maint.cfg.in: New file.
2094 * docs/doxygen/user.cfg.in: New file.
2096 2001-03-24 Phil Edwards <pme@sources.redhat.com>
2098 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
2099 * src/Makefile.am: Replace leading spaces with tabs on continuation
2101 * aclocal.m4: Regenerated.
2103 * Makefile.in: Ditto.
2104 * src/Makefile.in: Ditto.
2105 * libio/Makefile.in: Ditto.
2106 * libmath/Makefile.in: Ditto.
2107 * libsupc++/Makefile.in: Ditto.
2109 2001-03-24 Phil Edwards <pme@sources.redhat.com>
2111 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
2112 concept-checking code and current status of same.
2113 * docs/html/ext/howto.html: Ditto.
2114 * docs/html/faq/index.html: Ditto.
2115 * docs/html/faq/index.txt: Regenerated.
2117 2001-03-24 Phil Edwards <pme@sources.redhat.com>
2119 * include/bits/std_bitset.h: Include ostream and istream headers
2120 instead of iostream.
2122 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
2124 * include/bits/ostream.tcc: Use __builtin_alloca.
2126 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
2128 * src/misc-inst.cc (__sink_unused_warning): Move to...
2129 * src/locale-inst.cc (__sink_unused_warning): Move to...
2130 * src/stl-inst.cc: Here.
2131 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
2134 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
2136 * intclude/bits/basic_file.h: Fix typos in comments.
2138 2001-03-20 Richard Henderson <rth@redhat.com>
2140 * src/gen-num-limits.cc: Instantiate for wchar_t.
2141 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
2143 2001-03-20 Jason Merrill <jason@redhat.com>
2145 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
2146 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
2147 * libsupc++/cxxabi.h: Declare it.
2149 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
2151 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
2152 signal_func with an unspecified argument list.
2154 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
2156 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
2158 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2160 * include/bits/basic_string.tcc (operator+): Fix thinko.
2162 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
2165 * include/bits/std_streambuf.h: Remove cached locale facets.
2166 (basic_streambuf::_M_buf_fctype): Remove.
2167 (basic_streambuf::~basic_streambuf): Remove here.
2168 (basic_streambuf::basic_streambuf): Same.
2169 (basic_streambuf::imbue): Same.
2170 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
2171 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
2172 (basic_filebuf::~basic_filebuf()): Remove here.
2173 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
2174 (basic_filebuf::imbue): Same.
2175 * include/bits/localefwd.h (_Count_ones): Remove.
2176 (locale::_S_num_categories): Just use 6, since this doesn't
2177 actually change, ever.
2178 * include/bits/locale_facets.tcc (has_facet): Simplify.
2180 * testsuite/27_io/filebuf.cc (test06): Add tests.
2182 2001-03-13 Steve Ellcey <sje@cup.hp.com>
2184 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
2185 match HP-UX ctype.h header file.
2187 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
2189 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
2190 duplicate definitions of __dj_ctype_*
2192 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
2194 * libsupc++/new: Remove pragma interface.
2195 * libsupc++/typeinfo: Same.
2196 * libsupc++/exception: Same.
2197 * libsupc++/new_handler.cc: Remove pragma implementation.
2198 (bad_alloc::~bad_alloc()): Add.
2199 * libsupc++/exception_support.cc: Same.
2200 (exception::~exception): Add.
2201 (bad_exception::~bad_exception): Add.
2202 * libsupc++/tinfo.cc: Same.
2203 (bad_cast::~bad_cast): Add.
2204 (bad_typeid::~bad_typeid): Add.
2206 2001-03-13 Phil Edwards <pme@sources.redhat.com>
2208 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
2210 2001-03-12 Felix Lee <flee@redhat.com>
2212 * mkcheck.in: workaround for bash 2.01 IFS bug.
2214 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
2216 Fixups for -fno-for-scope
2217 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
2218 * src/valarray-inst.cc (__gslice_to_index): Same.
2220 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
2222 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
2223 prior to trapping signal (UnixWare 7 workaround).
2225 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
2227 * include/backward/hashtable.h: Same.
2228 * include/backward/rope.h: Fix include.
2230 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
2232 * include/backward/vector.h: Include std_vector.h.
2234 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
2235 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
2238 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2240 * include/ext/stl_hashtable.h: Change type of __n to size_t
2241 * include/backward/bvector.h: Include <ext/stl_bvector.h>
2243 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2245 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
2246 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
2247 Use streamsize, not int_type.
2249 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
2251 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
2254 2001-03-08 Andreas Schwab <schwab@suse.de>
2256 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
2258 * aclocal.m4, configure: Regenerated.
2260 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
2262 * include/bits/std_iosfwd.h: Remove string forward decls here.
2263 * include/bits/stringfwd.h: Add forward decls for char_traits
2265 * config/c_io_libio.h (wstreamoff): Delete.
2266 * config/c_io_stdio.h (wstreamoff): Same.
2267 * include/bits/char_traits.h: Use streamoff not wstreamoff for
2268 char_traits<wchar_t>::off_type.
2269 Remove duplicate typedefs.
2270 * include/bits/fpos.h: Define streampos/wstreampos here.
2271 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
2274 Changeup output files.
2275 * testsuite/27_io/istream_unformatted.cc: Change output files.
2276 * testsuite/27_io/istream_seeks-1.txt: Add.
2277 * testsuite/27_io/istream_seeks-2.tst: Add.
2278 * testsuite/27_io/istream_seeks-1.tst: Add.
2279 * testsuite/27_io/istream_unformatted-2.tst: Delete.
2280 * testsuite/27_io/istream_unformatted-3.tst: Delete.
2281 * testsuite/27_io/istream_unformatted-3.txt: Delete.
2283 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
2285 Add Irix 5.2, 6.3 support.
2286 * config/os/irix/bits: Renamed to...
2287 * config/os/irix/irix6.5/bits: this.
2288 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
2289 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
2290 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
2291 * config/os/irix/irix5.2/bits/ctype_noninline.h
2292 (ctype<char>::ctype): Initialize _M_table with __ctype.
2293 * configure.target: Adjust.
2295 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
2298 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
2299 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
2301 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
2302 (*__pf)(__ios_type&)): Same.
2303 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
2304 (*__pf)(ios_base&))): Same.
2305 * testsuite/27_io/istream_extractor_other.cc: Add tests.
2306 * testsuite/27_io/istream_manip.cc (test01): Fix.
2308 2001-03-06 Nathan Myers <ncm@cantrip.org>
2309 Benjamin Kosnik <bkoz@redhat.com>
2311 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
2312 * testsuite/17_intro/header_cerrno.cc (test01): New file.
2313 * testsuite/17_intro/header_cassert.cc (test01): New file.
2314 * testsuite/17_intro/header_cstddef.cc (test01): New file.
2315 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
2316 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
2318 2001-03-05 scott snyder <snyder@fnal.gov>
2321 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
2323 * include/c_std/bits/std_cstdlib.h: ... to here.
2324 * testsuite/17_intro/header_cstdlib.cc: Add test.
2326 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
2328 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
2330 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
2332 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
2333 definition. Replace enum with static const variables.
2335 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
2336 throw specification, fix typos, use <static_cast>.
2337 (ctype<char>::scan_is): remove throw specification.
2338 (ctype<char>::scan_not): likewise.
2340 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
2341 (ctype<char>::do_toupper(char)): use <static_cast>.
2342 (ctype<char>::do_toupper(char *, const char *)): likewise.
2343 (ctype<char>::do_tolower(char)): likewise.
2344 (ctype<char>::do_tolower(char *, const char *)): likewise.
2346 2001-03-04 Phil Edwards <pme@sources.redhat.com>
2348 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
2349 * include/backward/algo.h: Use std not __STD. Remove unneeded
2350 macros and "never happens" code. Adjust to C++STYLE guidelines.
2351 * include/backward/algobase.h: Likewise.
2352 * include/backward/alloc.h: Likewise.
2353 * include/backward/bvector.h: Likewise.
2354 * include/backward/deque.h: Likewise.
2355 * include/backward/function.h: Likewise.
2356 * include/backward/hash_map.h: Likewise.
2357 * include/backward/hash_set.h: Likewise.
2358 * include/backward/hashtable.h: Likewise.
2359 * include/backward/heap.h: Likewise.
2360 * include/backward/iterator.h: Likewise.
2361 * include/backward/list.h: Likewise.
2362 * include/backward/map.h: Likewise.
2363 * include/backward/multimap.h: Likewise.
2364 * include/backward/multiset.h: Likewise.
2365 * include/backward/pair.h: Likewise.
2366 * include/backward/rope.h: Likewise.
2367 * include/backward/set.h: Likewise.
2368 * include/backward/slist.h: Likewise.
2369 * include/backward/stack.h: Likewise.
2370 * include/backward/strstream: Likewise.
2371 * include/backward/tempbuf.h: Likewise.
2372 * include/backward/tree.h: Likewise.
2373 * include/backward/vector.h: Likewise.
2374 * include/bits/basic_ios.h: Likewise.
2375 * include/bits/basic_ios.tcc: Likewise.
2376 * include/bits/basic_string.h: Likewise.
2377 * include/bits/c++config: Likewise.
2378 * include/bits/concept_checks.h: Likewise.
2379 * include/bits/fpos.h: Likewise.
2380 * include/bits/fstream.tcc: Likewise.
2381 * include/bits/functexcept.h: Likewise.
2382 * include/bits/ios_base.h: Likewise.
2383 * include/bits/istream.tcc: Likewise.
2384 * include/bits/mask_array.h: Likewise.
2385 * include/bits/ostream.tcc: Likewise.
2386 * include/bits/pthread_allocimpl.h: Likewise.
2387 * include/bits/sbuf_iter.h: Likewise.
2388 * include/bits/slice.h: Likewise.
2389 * include/bits/slice_array.h: Likewise.
2390 * include/bits/sstream.tcc: Likewise.
2391 * include/bits/std_bitset.h: Likewise.
2392 * include/bits/std_fstream.h: Likewise.
2393 * include/bits/std_iomanip.h: Likewise.
2394 * include/bits/std_ios.h: Likewise.
2395 * include/bits/std_istream.h: Likewise.
2396 * include/bits/std_iterator.h: Likewise.
2397 * include/bits/std_memory.h: Likewise.
2398 * include/bits/std_ostream.h: Likewise.
2399 * include/bits/std_sstream.h: Likewise.
2400 * include/bits/std_streambuf.h: Likewise.
2401 * include/bits/std_string.h: Likewise.
2402 * include/bits/std_valarray.h: Likewise.
2403 * include/bits/stl_algo.h: Likewise.
2404 * include/bits/stl_algobase.h: Likewise.
2405 * include/bits/stl_alloc.h: Likewise.
2406 * include/bits/stl_construct.h: Likewise.
2407 * include/bits/stl_deque.h: Likewise.
2408 * include/bits/stl_function.h: Likewise.
2409 * include/bits/stl_heap.h: Likewise.
2410 * include/bits/stl_iterator.h: Likewise.
2411 * include/bits/stl_iterator_base.h: Likewise.
2412 * include/bits/stl_list.h: Likewise.
2413 * include/bits/stl_map.h: Likewise.
2414 * include/bits/stl_multimap.h: Likewise.
2415 * include/bits/stl_multiset.h: Likewise.
2416 * include/bits/stl_numeric.h: Likewise.
2417 * include/bits/stl_pair.h: Likewise.
2418 * include/bits/stl_pthread_alloc.h: Likewise.
2419 * include/bits/stl_queue.h: Likewise.
2420 * include/bits/stl_raw_storage_iter.h: Likewise.
2421 * include/bits/stl_relops.h: Likewise.
2422 * include/bits/stl_set.h: Likewise.
2423 * include/bits/stl_stack.h: Likewise.
2424 * include/bits/stl_tempbuf.h: Likewise.
2425 * include/bits/stl_threads.h: Likewise.
2426 * include/bits/stl_tree.h: Likewise.
2427 * include/bits/stl_uninitialized.h: Likewise.
2428 * include/bits/stl_vector.h: Likewise.
2429 * include/bits/streambuf.tcc: Likewise.
2430 * include/bits/type_traits.h: Likewise.
2431 * include/bits/valarray_meta.h: Likewise.
2432 * include/ext/bvector: Likewise.
2433 * include/ext/hash_map: Likewise.
2434 * include/ext/hash_set: Likewise.
2435 * include/ext/ropeimpl.h: Likewise.
2436 * include/ext/slist: Likewise.
2437 * include/ext/stl_bvector.h: Likewise.
2438 * include/ext/stl_hash_fun.h: Likewise.
2439 * include/ext/stl_hashtable.h: Likewise.
2440 * include/ext/stl_rope.h: Likewise.
2441 * src/complex_io.cc: Likewise.
2442 * src/ios.cc: Likewise.
2443 * src/locale-inst.cc: Likewise.
2444 * src/locale.cc: Likewise.
2445 * src/localename.cc: Likewise.
2446 * src/misc-inst.cc: Likewise.
2447 * src/stdexcept.cc: Likewise.
2448 * src/stl-inst.cc: Likewise.
2449 * src/strstream.cc: Likewise.
2450 * src/valarray-inst.cc: Likewise.
2452 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
2454 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
2456 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2458 * include/bits/istream.tcc: change type of __extracted to __size_type
2460 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
2462 * src/wstring-inst.cc: New file.
2463 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
2464 (libinst_wstring_la_SOURCES): Remove.
2465 (libstdc___la_LIBADD): Remove libinst_wstring_la.
2466 (sources): Add wstring-inst.cc
2467 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
2470 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2472 * src/locale.cc: initialise __ret with zero
2473 * src/strstream.cc:cast gptr to int_type
2475 2001-03-01 Phil Edwards <pme@sources.redhat.com>
2477 * docs/html/faq/index.html: Update broken links.
2478 * docs/html/faq/index.txt: Regenerated.
2480 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
2483 * configure.target: Change irix* to irix6.5* in target_os table.
2485 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
2488 * include/bits/c++config (__GLIBCPP__): Bump number in
2489 anticipation of 2.92.
2491 * include/bits/codecvt.h: Fix typo.
2492 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
2494 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
2495 instantiations for stdio model.
2497 2001-02-28 Phil Edwards <pme@sources.redhat.com>
2499 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
2500 and GLIBCPP_CXXFLAGS as unused variables.
2501 * configure.host: Likewise.
2502 * configure.target: Likewise.
2503 * aclocal.m4: Regenerated.
2504 * configure: Regenerated.
2505 * Makefile.in: Regenerated.
2506 * libio/Makefile.in: Regenerated.
2507 * libmath/Makefile.in: Regenerated.
2508 * libsupc++/Makefile.in: Regenerated.
2509 * src/Makefile.in: Regenerated.
2511 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
2514 * include/bits/basic_file.h: Include basic_file_model.h.
2515 * config/c_io_libio.cc: Move to...
2516 * config/basic_file_libio.cc: Here.
2517 * config/basic_file_libio.h: New file.
2518 * config/c_io_stdio.cc: Move to...
2519 * config/basic_file_stdio.cc: Here.
2520 * config/basic_file_stdio.h: New file.
2521 * config/c_io_libio.h: Tweak.
2522 * config/c_io_stdio.h: Tweak.
2523 * src/Makefile.am (build_headers): Add basic_file_model.h.
2524 (sources): Add basic_file.cc, remove c++io.cc.
2525 * src/Makefile.in: Regenerate.
2526 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
2527 basic_file_model.h and basic_file.cc.
2528 * aclocal.m4: Regenerate.
2529 * configure: Regenerate.
2530 * testsuite/27_io/filebuf.cc (test05): Add regression.
2532 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
2535 * config/cpu/alpha/bits/atomicity.h: Change.
2536 * config/cpu/arm/bits/atomicit3y.h
2537 * config/cpu/generic/bits/atomicity.h
2538 * config/cpu/i386/bits/atomicity.h
2539 * config/cpu/i486/bits/atomicity.h
2540 * config/cpu/ia64/bits/atomicity.h
2541 * config/cpu/powerpc/bits/atomicity.h
2542 * config/cpu/sparc/sparc32/bits/atomicity.h
2543 * config/cpu/sparc/sparc64/bits/atomicity.h
2544 * config/os/aix/bits/atomicity.h
2545 * config/os/irix/bits/atomicity.h
2547 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
2549 * include/bits/std_stdexcept.h (runtime_error): Make string
2551 (logic_error): Same.
2552 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
2555 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
2559 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
2560 string object, not reference.
2561 (runtime_error::runtime_error): Same.
2562 * testsuite/19_diagnostics/stdexceptions.cc: New file.
2564 2001-02-26 Phil Edwards <pme@sources.redhat.com>
2566 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
2567 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
2568 diagnostics. Remove WFMT_FLAGS.
2569 * configure.in: Replace WFMT_FLAGS with diagnostics options.
2570 * libsupc++/Makefile.am: Likewise.
2571 * src/Makefile.am: Likewise.
2572 * aclocal.m4: Regenerated.
2573 * configure: Regenerated.
2574 * Makefile.in: Regenerated.
2575 * libio/Makefile.in: Regenerated.
2576 * libmath/Makefile.in: Regenerated.
2577 * libsupc++/Makefile.in: Regenerated.
2578 * src/Makefile.in: Regenerated.
2580 2001-02-26 Phil Edwards <pme@sources.redhat.com>
2582 Fixes libstdc++/2079
2583 * include/backward/iomanip.h: Expose <ios> manipulators to global
2585 * include/backward/iostream.h: Also expose std::ws.
2587 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
2589 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
2591 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
2593 * include/bits/codecvt.h: Use __builtin_alloca.
2594 * include/bits/ostream.tcc: Same.
2595 * include/bits/fstream.tcc: Same.
2597 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
2599 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
2601 2001-02-23 David Edelsohn <dje@watson.ibm.com>
2603 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
2605 2001-02-23 Phil Edwards <pme@sources.redhat.com>
2608 * include/backward/iostream.h: Expose std::flush in old headers.
2610 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2612 * mknumeric_limits: Remove special-casing on target. Use gcc
2613 instead of g++ to build gen-num-limits.cc
2615 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
2617 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
2619 * include/bits/codecvt.h: Use alloca instead of __extension__ for
2621 * include/bits/ostream.tcc: Same.
2622 * include/bits/std_ostream.h: Same.
2623 * include/bits/fstream.tcc: Same.
2624 * include/bits/locale_facets.tcc: Add typename.
2625 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
2627 2001-02-21 Phil Edwards <pme@sources.redhat.com>
2629 * tests_flags.in: Remove -n flag from call to echo.
2631 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
2633 * config/c_locale_gnu.h: Add clocale include.
2635 2001-02-20 Phil Edwards <pme@sources.redhat.com>
2637 * include/bits/stl_config.h: Remove file.
2638 * src/Makefile.am (base_headers): Remove from list.
2639 * configure: Regenerate.
2640 * Makefile.in: Ditto.
2641 * libio/Makefile.in: Ditto.
2642 * libmath/Makefile.in: Ditto.
2643 * libsupc++/Makefile.in: Ditto.
2644 * src/Makefile.in: Ditto.
2646 * include/bits/c++config: Move relevant macros to here.
2647 * include/backward/alloc.h: Include c++config.h instead.
2648 * include/backward/function.h: Ditto.
2649 * include/backward/heap.h: Ditto.
2650 * include/backward/pair.h: Ditto.
2651 * include/bits/pthread_allocimpl.h: Ditto.
2652 * include/bits/std_functional.h: Ditto.
2653 * include/bits/std_iterator.h: Ditto.
2654 * include/bits/std_numeric.h: Ditto.
2655 * include/bits/std_utility.h: Ditto.
2656 * include/bits/stl_algobase.h: Ditto.
2657 * include/bits/type_traits.h: Ditto.
2658 * src/stl-inst.cc: Ditto.
2660 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2662 * include/bits/basic_file.h: Add #pragma system_header
2663 * include/bits/basic_ios.h: Ditto.
2664 * include/bits/basic_string.h: Ditto.
2665 * include/bits/char_traits.h: Ditto.
2666 * include/bits/codecvt.h: Ditto.
2667 * include/bits/cpp_type_traits.h: Ditto.
2668 * include/bits/fpos.h: Ditto.
2669 * include/bits/gslice.h: Ditto.
2670 * include/bits/gslice_array.h: Ditto.
2671 * include/bits/indirect_array.h: Ditto.
2672 * include/bits/ios_base.h: Ditto.
2673 * include/bits/limits_generic.h: Ditto.
2674 * include/bits/locale_facets.h: Ditto.
2675 * include/bits/localefwd.h: Ditto.
2676 * include/bits/mask_array.h: Ditto.
2677 * include/bits/sbuf_iter.h: Ditto.
2678 * include/bits/sequence_concepts.h: Ditto.
2679 * include/bits/slice.h: Ditto.
2680 * include/bits/slice_array.h: Ditto.
2681 * include/bits/std_algorithm.h: Likewise.
2682 * include/bits/std_bitset.h: Likewise.
2683 * include/bits/std_complex.h: Likewise.
2684 * include/bits/std_deque.h: Likewise.
2685 * include/bits/std_fstream.h: Likewise.
2686 * include/bits/std_functional.h: Likewise.
2687 * include/bits/std_iomanip.h: Likewise.
2688 * include/bits/std_ios.h: Likewise.
2689 * include/bits/std_iosfwd.h: Likewise.
2690 * include/bits/std_iostream.h: Likewise.
2691 * include/bits/std_istream.h: Likewise.
2692 * include/bits/std_iterator.h: Likewise.
2693 * include/bits/std_list.h: Likewise.
2694 * include/bits/std_locale.h: Likewise.
2695 * include/bits/std_map.h: Likewise.
2696 * include/bits/std_memory.h: Likewise.
2697 * include/bits/std_numeric.h: Likewise.
2698 * include/bits/std_ostream.h: Likewise.
2699 * include/bits/std_queue.h: Likewise.
2700 * include/bits/std_set.h: Likewise.
2701 * include/bits/std_sstream.h: Likewise.
2702 * include/bits/std_stack.h: Likewise.
2703 * include/bits/std_stdexcept.h: Likewise.
2704 * include/bits/std_streambuf.h: Likewise.
2705 * include/bits/std_string.h: Likewise.
2706 * include/bits/std_utility.h: Likewise.
2707 * include/bits/std_valarray.h: Likewise.
2708 * include/bits/std_vector.h: Likewise.
2709 * include/bits/stringfwd.h: Likewise.
2710 * include/bits/type_traits.h: Likewise.
2711 * include/bits/valarray_array.h: Likewise.
2712 * include/bits/valarray_meta.h: Likewise.
2714 2001-02-19 Andreas Jaeger <aj@suse.de>
2716 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
2719 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
2722 * include/bits/std_ostream.h: Replaced usage of
2723 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
2724 * include/bits/char_traits.h: Removed non-standard
2725 methods that cannot be used elsewhere.
2728 * include/bits/basic_ios.h: Uncommented #include of
2732 * include/bits/codecvt.h: See next...
2733 * include/bits/fstream.tcc: See next...
2734 * include/bits/ostream.tcc: Add __extension__
2735 to variable-length arrays.
2738 * include/bits/localefwd.h: Changed int counter type to size_t.
2741 * include/bits/std_fstream.h: Added typedef for __ctype_type.
2743 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
2745 * testsuite/21_strings/char_traits.cc: Move to ...
2746 * testsuite/21_strings/char_traits_requirements.cc: ..here.
2747 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
2748 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
2750 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
2752 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
2755 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
2757 * include/bits/c++config: Revert.
2759 2001-02-15 Mark Mitchell <mark@codesourcery.com>
2761 * include/bits/istream.tcc: Use ios_base::iostate in place of
2762 iostate throughout. Insert `typename' keyword where necessary.
2763 * include/bits/ostream.tcc: Insert `typename' keyword where
2766 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
2768 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
2769 Define so library is compliant.
2771 2001-02-15 Anthony Green <green@redhat.com>
2773 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
2775 * aclocal.m4: Regenerate.
2776 * configure: Regenerate.
2778 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
2780 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
2781 Include ieeefp.h for fpclass on UnixWare{2,7}.
2782 * aclocal.m4: Regenerate.
2783 * configure: Regenerate.
2784 * mkcheck.in (size_command): Do without GNU-grep when using
2787 2001-02-15 Mark Mitchell <mark@codesourcery.com>
2789 Remove old ABI support from libsupc++.
2790 * libsupc++/cxxabi.h: Remove conditionally compiled code.
2791 * libsupc++/exception_support.cc: Likewise.
2792 * libsupc++/pure.cc: Likewise.
2793 * libsupc++/tinfo.cc: Likewise.
2794 * libsupc++/tinfo.h: Likewise.
2795 * libsupc++/tinfo2.cc: Likewise.
2796 * libsupc++/typeinfo: Likewise.
2797 * libsupc++/vec.cc: Likewise.
2799 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
2801 Add support for -fno-exceptions.
2802 * include/bits/exception_support.h: Remove.
2803 * include/bits/basic_string.h: Remove exception_support.
2804 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
2806 (string::substr): Same.
2807 * include/bits/basic_string.tcc (string::reserve): Replace
2808 __LENGTHERROR with __throw_length_error.
2809 (string::_S_create): Same.
2810 (string::resize): Same.
2811 (string::_M_replace): Same.
2812 (string::replace): Same.
2813 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
2814 (string::compare): Same.
2815 * include/bits/stl_vector.h: Remove exception_support.
2816 * src/Makefile.am (base_headers): Remove here.
2817 * src/Makefile.in: Regenerate.
2819 * include/bits/stl_range_errors.h: Remove.
2820 * include/bits/stl_deque.h: Use __throw_range_error.
2821 * include/bits/std_deque.h: Include functexcept.h.
2822 * include/bits/std_vector.h: Same.
2823 * src/Makefile.am (base_headers): Remove here.
2824 * src/Makefile.in: Regenerate.
2825 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
2826 * include/ext/bvector: Remove stl_range_errors.h
2828 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
2830 * include/bits/functexcept.h: New file.
2831 * src/functexcept.cc: New file. Definitions for function-based
2833 * src/Makefile.am (sources): Add functexcept.cc.
2834 * src/Makefile.in: Regenerate.
2836 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
2839 * include/bits/localefwd.h: Include functexcept.h.
2840 * include/bits/std_iosfwd.h: Same.
2842 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
2843 throw basic_ios::failure.
2844 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
2845 Use __throw_exception_again.
2846 (filebuf::_M_filebuf_init): Same.
2847 * include/bits/streambuf.tcc (__copy_streambufs): Same.
2848 * include/bits/ostream.tcc (ostream::operator<<): Same.
2849 * include/bits/istream.tcc (istream::operator>>): Same.
2850 * include/bits/basic_string.tcc (string::_M_mutate): Same.
2851 (string::_S_construct): Same.
2852 (string::_M_clone): Same.
2853 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
2855 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
2856 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
2857 __throw_exception_again.
2858 (locale::_Imp::_Imp(string, size_t): Same.
2859 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
2860 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
2861 (locale::locale(const char*)): Use __throw_runtime_error.
2862 (locale::classic): Use __throw_exception_again.
2863 (locale::_S_normalize_category): Use __throw_runtime_error.
2865 * src/stdexcept.cc: Remove cruft.
2867 * libsupc++/exception_defines.h: New file.
2868 * libsupc++/new_opnt.cc: Include exception_defines.h.
2869 * libsupc++/vec.cc: Same.
2870 (__cxa_vec_new2): Use __throw_exception_again.
2871 (__cxa_vec_new3): Same.
2872 (__cxa_vec_ctor): Same.
2873 (__cxa_vec_delete3): Same.
2874 (__cxa_vec_cctor): Same.
2875 (__cxa_vec_delete2): Same.
2876 (__cxa_vec_dtor): Same.
2877 * libsupc++/exception_support.cc: Include exception_defines.h. Only
2878 compile exception-handling bits if __EXCEPTIONS is defined.
2879 Remove old ABI support.
2880 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
2881 std::__throw_bad_alloc() instead of throw bad_alloc.
2882 * libsupc++/Makefile.am: Add exception_defines.h.
2883 * libsupc++/Makefile.in: Reformat.
2884 * libsupc++/*: Format.
2886 2001-02-15 Phil Edwards <pme@sources.redhat.com>
2888 * docs/html/configopts.html: Minor updates and typo fixes.
2889 * docs/html/faq/index.html: Updates of the "not really bugs" list.
2890 * docs/html/faq/index.txt: Regenerated.
2892 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
2894 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
2895 dejagnu/dg.exp. Adapt to log options used to run testcases.
2897 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2899 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
2902 2001-02-13 Dirk Mueller <dmuell@gmx.net>
2903 Phil Edwards <pme@sources.redhat.com>
2905 * include/backward/function.h: Do not use rel_ops for older
2907 * include/backward/pair.h: Likewise.
2909 2001-02-12 Mark Mitchell <mark@codesourcery.com>
2911 * src/locale.cc: Remove bogus locale::id definitions.
2913 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2915 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
2916 not _DEFINE_VALARRAY_OPERATOR which is not existent.
2918 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
2919 thinko in member initialisation.
2921 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
2923 * include/bits/std_valarray.h(valarray<>::shift): Avoid
2924 comparaison between signed and unsigned integer types.
2925 (valarray<>::cshift): Reformat.
2927 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
2929 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
2930 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
2931 * configure.in: Test for sigsetjmp.
2932 * configure, config.h.in: Rebuilt.
2934 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
2936 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
2937 lengths and strides.
2938 (__gslice_to_index): Document.
2940 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
2942 * include/bits/char_traits.h char_traits<char>::int_type: Change
2943 to `int' to match 21.1.3.1/2.
2945 * testsuite/21_strings/char_traits-int_type.C: New test.
2947 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
2949 * testsuite/Makefile.am: New file.
2951 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
2953 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
2955 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
2957 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
2959 2001-02-08 David Edelsohn <edelsohn@gnu.org>
2961 * configure.target (aix4*): Remove extra set of brackets.
2963 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
2966 * include/bits/stringfwd.h: New file.
2967 * include/bits/stl_string_fwd.h: Remove.
2968 * include/bits/localefwd.h: Remove declaration for allocator.
2969 * include/bits/std_iosfwd: Same.
2970 * include/bits/std_string.h: Include it.
2971 * include/bits/std_ios.h: Remove include.
2972 * include/bits/basic_string.h: Tweak.
2973 * libsupc++/new: Format.
2974 * src/Makefile.am (base_headers): Add stringfwd.h, remove
2976 * src/Makefile.in: Regenerate.
2977 * include/bits/std_stdexcept.h: Rewrite.
2978 * src/stdexcept.cc: Same.
2980 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
2982 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
2983 install locations too.
2984 * aclocal.m4: Regenerate.
2985 * configure.in: Remove USE_LIBDIR.
2986 * configure: Regenerate.
2987 * src/Makefile.am (toolexecdir): Simplify, use
2988 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
2989 * src/Makefile.in: Regenerate.
2990 * libsupc++/Makefile.am: Same.
2991 * libsupc++/Makefile.in: Regenerate.
2993 * src/Makefile.am: Just remove special rules for locale-inst.cc and
2994 misc-inst.cc as no longer necessary.
2996 Follow C++STYLE for naming non-static functions.
2997 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
2999 * include/bits/streambuf.tcc: Same.
3000 * include/bits/ostream.tcc: Same.
3001 * include/bits/istream.tcc: Same.
3002 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
3003 (_S_output_float): To __output_float.
3004 * include/bits/std_streambuf.h (_S_copy_streambufs): To
3006 * include/bits/locale_facets.tcc (_S_build_float_format): To
3007 __build_float_format.
3008 (_S_format): To __output_integer.
3009 (_S_fill): To __pad.
3010 * src/locale.cc: Same.
3011 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
3013 * include/bits/locale_facets.tcc (_S_group_digits): To
3015 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
3016 for collate, numpunct.
3018 2001-02-06 Phil Edwards <pme@sources.redhat.com>
3020 * docs/html/configopts.html: Fix HTML markup.
3021 * docs/html/install.html: Bring up to date.
3022 * docs/html/17_intro/C++STYLE: Add global variable conventions.
3023 * docs/html/21_strings/howto.html: More notes.
3024 * docs/html/22_locale/howto.html: Fix HTML markup.
3025 * docs/html/27_io/howto.html: More notes.
3026 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
3027 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
3029 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
3031 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
3032 to match header files.
3033 (_S_output_float): Likewise.
3034 (_S_copy_streambufs): Likewise.
3036 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
3037 Phil Edwards <pme@sources.redhat.com>
3039 * include/bits/std_istream.h (op>> signed,unsigned char): Must
3040 use reinterpret_cast, not static_cast.
3042 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
3044 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
3045 * aclocal.m4: Regenerate.
3046 * configure: Regenerate.
3048 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
3050 * include/bits/locale_facets.h (class moneypunct): Fix typos.
3051 * libsupc++/pure.cc: Revert.
3053 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
3055 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
3056 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
3057 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
3058 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
3059 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
3060 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
3061 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
3062 * aclocal.m4: Regenerate.
3063 * configure: Regenerate.
3065 2001-02-05 Mark Mitchell <mark@codesourcery.com>
3067 * include/bits/locale_facets.tcc: Remove `static' keyword on
3068 function definitions.
3069 * include/bits/std_streambuf.h: Likewise.
3070 * src/Makefile.am: Remove use of -fimplicit-templates.
3071 * src/Makefile.in: Regenerated.
3072 * src/locale-inst.cc: Explicitly instantiate more functions.
3073 * src/misc-inst.cc: Likewise.
3074 * src/string-inst.cc: Likewise.
3076 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
3078 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
3079 macro. Consolidate all the bits to do with where includes might be
3081 * aclocal.m4: Regenerate.
3082 * configure.in: Use it.
3083 * configure: Regenerate.
3084 * src/Makefile.am (targetincludep): Use simplified rules.
3085 (targetincludep): Rename gxx_target_include_dir.
3086 (myincludep): Rename gxx_include_dir.
3087 * src/Makefile.in: Regenerate.
3088 * libsupc++/Makefile.am: Use simplified rules.
3089 * libsupc++/Makefile.in: Regenerate.
3091 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
3093 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
3094 * include/c_std/bits/std_cctype.h: Same.
3095 * include/c_std/bits/std_cassert.h: Same.
3096 * include/c_std/bits/std_cstdarg.h: Same.
3097 * include/c_std/bits/std_cstddef.h: Same.
3099 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
3101 * include/c_std/bits/std_ctime.h: Same.
3102 * include/c_std/bits/std_clocale.h: Same.
3103 * include/c_std/bits/std_cmath.h: Same.
3104 * include/c_std/bits/std_csetjmp.h: Same.
3105 * include/c_std/bits/std_csignal.h: Same.
3106 * include/c_std/bits/std_cstring.h: Same.
3107 * include/c_std/bits/std_cstdlib.h: Same.
3108 * include/c_std/bits/std_cwchar.h: Same.
3110 2001-02-05 Phil Edwards <pme@sources.redhat.com>
3112 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
3114 2001-02-05 Mark Mitchell <mark@codesourcery.com>
3116 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
3117 (string::_S_construct): Likewise.
3119 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
3121 * testsuite/config/default.exp: New file.
3122 * testsuite/config: New directory.
3124 2001-02-04 Mark Mitchell <mark@codesourcery.com>
3126 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
3127 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
3128 whenever !__GXX_MERGED_TYPEINFO_NAMES.
3129 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
3131 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
3132 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
3134 * Makefile.am (mkinstalldirs): Set.
3135 * src/Makefile.am (mkinstalldirs): Set.
3136 * libmath/Makefile.am (mkinstalldirs): Set.
3137 * libsup++/Makefile.am (mkinstalldirs): Set.
3138 * libio/Makefile.am (mkinstalldirs): Set.
3139 * */Makefile.in: Regenerate.
3141 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
3143 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
3144 * include/bits/localefwd.h: More initialization cleanups.
3146 2001-02-03 Jeffrey A Law <law@cygnus.com>
3148 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
3149 correctly targets with 16bit ints.
3150 (_S_ios_openmode_end): Similarly.
3151 (_S_ios_iostate_end): Similarly.
3152 (_S_ios_Seekdir_end): Similarly.
3154 2001-02-02 Phil Edwards <pme@sources.redhat.com>
3156 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
3158 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
3160 * configure.in (toplevel_srcdir, auxdir): Set.
3161 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
3162 * aclocal.m4, configure, Makefile.in: Rebuilt.
3163 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
3164 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
3165 * libsupc++-v3/Makefile.in: Rebuilt.
3166 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
3167 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
3169 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
3171 * config/c_locale_generic.cc: Remove langinfo include.
3173 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
3175 Preliminary named locales.
3176 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
3177 * aclocal.m4: Regenerate.
3178 * configure.in: Use it.
3179 * configure: Regerate.
3180 * src/Makefile.am (sources): Add c++locale.cc.
3181 (build_headers): Add c++locale.h.
3182 * src/Makefile.in: Regenerate.
3183 * config/c_locale_gnu.h: New file.
3184 * config/c_locale_gnu.cc: New file. Non-inline member functions
3185 for named locales, gnu-specific.
3186 * config/c_locale_generic.h: New file.
3187 * config/c_locale_generic.cc: New file. Non-inline member
3188 functions for named locales, generic version.
3189 * docs/html/configopts.html: Add documentation on new options.
3191 * include/bits/locale_facets.h (class _Messages): Remove.
3192 (class _Moneypunct): Remove.
3193 * src/locale-inst.cc: Remove.
3195 * include/bits/locale_facets.h (class _Collate): Remove.
3196 * src/locale-inst.cc (std): Remove.
3197 * src/locale.cc: And here.
3199 * include/bits/localefwd.h (locale::_M_coalesce): New
3200 function. Correctly put together multi-name locales.
3201 (_Impl(const _Impl&, category, size_t)): Remove.
3203 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
3205 (_M_normalize_category_names): Remove.
3206 (_M_replace_categories): Fix.
3208 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
3209 (locale::_Impl::_M_construct_ctype): Remove.
3210 (locale::_Impl::_M_construct_monetary): Remove.
3211 (locale::_Impl::_M_construct_numeric): Remove.
3212 (locale::_Impl::_M_construct_time): Remove.
3213 (locale::_Impl::_M_construct_messages): Remove.
3215 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
3216 (_Use_facet_failure_handle): Remove.
3217 * src/locale.cc: Remove definitions.
3218 * src/locale-inst.cc: And here.
3220 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
3222 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
3223 create and error-check underlying locale object.
3224 (locale::facet::_S_destroy_c_locale): Add, take care of properly
3225 tearing down underlying locale object.
3226 * include/bits/localefwd.h (locale::facet): Declare.
3227 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
3228 correctness, as glibc apparently has incorrect info in it. Test
3229 with it when it works again.....
3231 * include/bits/localefwd.h (locale::_Impl::__vec_string):
3232 Remove. Number of categories is fixed at six, so just simplify and
3233 make this an array of strings.
3234 (locale::_Impl::_M_has_name): Remove.
3235 (locale::_Impl::_M_name): Remove.
3236 (locale::_Impl::_M_category_names): Turns into...
3237 (locale::_Impl::_M_names): ...this.
3238 (locale::_Impl::_M_has_same_name()): New function.
3239 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
3240 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
3242 * src/locale.cc (locale::name()): Construct mangled name
3243 accurately reflecting combined locale categories.
3245 * src/locale.cc (locale::classic()): Don't initialize here.
3246 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
3247 __refs, bool __has_name, string __str): Do it here.
3249 * include/bits/localefwd.h: _S_categories_num to
3250 _S_num_categories. _S_facets_num to _S_num_facets.
3251 (locale::id::id()): Explicitly set _M_index to zero.
3252 * src/locale.cc: Same.
3254 * src/locale.cc: (locale::locale(const char*)): Construct named
3257 * src/locale.cc: Remove numpunct_byname ctors.
3258 * testsuite/22_locale/numpunct_byname.cc: New file.
3259 * testsuite/22_locale/numpunct.cc: New file.
3261 * include/bits/localefwd.h (class locale): Change data members to
3262 protected, from private.
3263 (_Impl::_M_get_c_locale): Add member function.
3264 (locale::facet::_M_get_global_impl()): Add member function.
3265 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
3266 a __c_locale pointer.
3267 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
3269 * testsuite/22_locale/members.cc: New file, test name and combine.
3271 * include/bits/locale_facets.h (class numpunct): Remove class
3272 _Punct and _Numpunct. Rewrite class numpunct to be correct for
3274 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
3275 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
3276 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
3277 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
3278 * testsuite/22_locale/numpunct_char_members.cc: New file.
3280 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
3282 * testsuite/README: Add more comment.
3283 * testsuite/lib/libstdc++.exp: Tweak comment.
3285 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
3287 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
3289 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
3291 * testsuite/21_strings/inserters_extractors.cc: Remove
3292 explicit reference to 'testsuite/'.
3294 2001-01-25 Richard Henderson <rth@redhat.com>
3296 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
3297 bits. Fixes Tru64 build issues.
3299 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3301 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
3302 (use ${MAKE-make}, not ${MAKE:-make}).
3303 * aclocal.m4, configure: Regenerate.
3305 2001-01-25 Mark Mitchell <mark@codesourcery.com>
3307 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
3310 * src/Makefile.am (sources): Add globals.cc.
3311 * src/Makefile.in: Regenerated.
3312 * src/globals.cc: New file.
3313 * src/ios.cc (cin): Don't define here, just declare extern.
3322 2001-01-25 Phil Edwards <pme@sources.redhat.com>
3324 * include/bits/std_iterator.h: Do not include stl_relops.h.
3325 * include/bits/std_numeric.h: Ditto.
3326 * include/bits/stl_algobase.h: Ditto.
3327 * include/bits/stl_relops.h: Add comment warning about problems.
3329 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
3331 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
3332 in testcases. Prepare for the DejaGnu based framework.
3333 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
3334 directory -- it is now mkcheck working directory.
3335 * tests_flags.in: Remove reference to $(top_srcdir). Use
3337 * Makefile.am (check, check-install): Change mkcheck invocation
3339 * Makefile.in: Regenerate.
3341 2001-01-24 Mark Mitchell <mark@codesourcery.com>
3343 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
3344 (__always_swap): Likewise.
3346 2001-01-23 Chris Demetriou <cgd@broadcom.com>
3348 * libsupc++/exception_support.cc (__terminate_func): Remove
3350 (__terminate_func_ptr): New typedef.
3351 (__terminate, __terminate_set_func): New extern function
3353 (std::terminate): Use __terminate function.
3354 (std::set_terminate): Use __terminate_set_func function.
3356 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
3358 * configure.target: Just use os_include_dir always.
3359 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
3360 Link atomicity files and ctype files here.
3361 * configure: Regenerate.
3362 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
3363 (GLIBCPP_ENABLE_ATOMICITY): Remove.
3364 * aclocal.m4: Regenerate.
3366 2001-01-23 Chris Demetriou <cgd@broadcom.com>
3368 * configure.in: Place definition of MULTISUBDIR in
3369 libsupc++/Makefile as is done for src/Makefile.
3370 * configure: Regenerate.
3372 2001-01-23 Phil Edwards <pme@sources.redhat.com>
3374 * acinclude.m4: Cosmetic changes only.
3375 * aclocal.m4: Regenerated.
3376 * configure: Regenerated.
3377 * configure.target: Update documented list of changed variables.
3378 * docs/html/install.html: Fix typo.
3379 * docs/html/20_util/howto.html: More notes on auto_ptr.
3380 * docs/html/27_io/howto.html: More notes on streabufs.
3381 * docs/html/faq/index.html: Add rel_ops problem and mention the
3382 DEC as(1) .subsection difficulty.
3383 * docs/html/faq/index.txt: Regenerated.
3385 2001-01-23 Mark Mitchell <mark@codesourcery.com>
3387 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
3388 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
3389 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
3390 its already provided in config.target.
3391 * aclocal.m4: Regenerated.
3392 * configure: Likewise.
3393 * configure.target: Set ctype_include_dir for lots of systems.
3394 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
3395 * libsupc++/Makefile.in: Regenerated.
3397 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
3399 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
3402 * testsuite/README: Add comment.
3404 2001-01-21 Phil Edwards <pme@sources.redhat.com>
3406 * docs/html/configopts.html: Update for current status. Fix HTML.
3407 * docs/html/install.html: Update for current status.
3409 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3411 * testsuite/libstdc++.tests/tests.exp: New file.
3412 * testsuite/lib/libstdc++.exp: Itou.
3413 * testsuite/README: Itou.
3415 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
3417 * tests_flags.in: Just output the bare minimum to run tests.
3418 Let's the caller do its own arrangement.
3420 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
3423 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
3425 * testsuite/17_intro: Prepare testcases for new style DejaGnu
3428 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
3430 * testsuite/libstdc++.tests, testsuite/lib: New directories.
3432 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
3434 * mkcheck.in: Construct file names that match $objdir structure.
3435 * testsuite/27_io/filebuf_members-1.txt: New file.
3436 * testsuite/27_io/ifstream_members-1.txt: New file.
3437 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
3439 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
3440 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
3442 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3444 * testsuite/27_io/istream_sentry.cc (test02): Fix.
3446 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
3449 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
3450 * src/ios.cc (ios_base::failure): Make definitions match.
3451 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
3452 (class bad_cast): Same.
3453 * libsupc++/exception (class exception): Add throw specs.
3454 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
3455 (set_unexpected): Same.
3456 (uncaught_exception): Same.
3459 * docs/html/17_intro/C++STYLE (classname): Fix.
3461 2001-01-16 Mark Mitchell <mark@codesourcery.com>
3463 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
3464 Use it do explicitly instantiate predicate<T> and value<T> for
3467 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
3469 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
3470 uninitialized thinko in last change.
3472 2001-01-16 Mark Mitchell <mark@codesourcery.com>
3474 * libsupc++/exception_support.cc (__cp_pop_exception): Change
3477 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
3479 * docs/html/17_intro/C++STYLE (classname): Add more existing
3480 and stylish patterns.
3483 * include/bits/istream.tcc (istream::sentry::sentry()): Set
3484 failbit if the state of the stream is not good.
3485 * testsuite/27_io/istream_sentry.cc (test02): Add test.
3486 * testsuite/27_io/istream_manip.cc (test01): Modify.
3489 reported by Paolo Carlini <pcarlini@unitus.it>
3490 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
3491 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
3494 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
3495 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
3496 (xsgetn): Same. Simplify.
3497 * testsuite/27_io/streambuf.cc (test04): Add testcases.
3499 reported by Larry Evans <jcampbell3@prodigy.net>
3500 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
3501 equality with eof on returned value from overflow.
3503 2001-01-14 Andreas Jaeger <aj@suse.de>
3505 * libio/libio.h: Add test for glibc 2.0.
3507 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
3509 * config/os/djgpp/bits/*: Fix dates.
3511 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
3512 _CharT* __end, _CharT __c): Remove.
3513 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
3514 * include/bits/char_traits.h: Tweak.
3516 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
3518 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
3519 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
3521 * aclocal.m4: regenerated.
3522 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
3523 * configure: regenerated.
3524 * config/os/djgpp, config/os/djgpp/bits: new directories.
3525 * config/os/djgpp/bits/ctype_base.h,
3526 config/os/djgpp/bits/ctype_inline.h,
3527 config/os/djgpp/bits/ctype_noninline.h,
3528 config/os/djgpp/bits/os_defines.h: new files.
3530 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
3532 * include/c_std/bits/std_cstdio.h: Undef printf.
3534 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
3536 * src/ios.cc: Fix typo: change cout->wcout.
3538 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
3539 * src/Makefile.in: Regenerate.
3541 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3543 * include/bits/std_complex.h: Fix a typo.
3545 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
3548 Fixes for libstdc++/1576
3549 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
3550 file, move contents into....
3551 * src/ios.cc: ...Here. Put defines for iostreams objects and
3552 initialization routines into one file to simplify DSO interaction.
3553 * include/bits/std_iostream.h: Touch.
3554 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
3555 * src/Makefile.am (sources): Remove stdstreams.cc.
3556 * src/Makefile.in: Regenerate.
3558 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3560 * tests_flags.in (check_directory): Fix typo.
3562 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3564 * include/bits/std_complex.h: Fix a typo.
3566 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
3568 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
3569 code path:) Remove magic constants and restructure to handle
3570 ctype.h bit mask layout changes more gracefully. (Make fast
3571 code path:) Use __maskrune (), if available.
3572 (is): Remove special case for digit and xdigit masks.
3574 2001-01-09 Robert Lipe <robertlipe@usa.net>
3576 * include/c_std/bits/std_ctime.h: Undefine difftime.
3578 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
3580 * src/gen-num-limits.cc (signal_adapter): New template function.
3581 (signal_handler): Use it, instead of signal.
3582 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
3583 require both tests to trap to set trap_flag.
3585 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
3587 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
3588 initialize mbstate_t member, name offset data members *off, not pos.
3589 * include/bits/fstream.tcc (filebuf::filebuf): Same.
3591 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
3593 reported by Chris G. Demetriou <cgd@sibyte.com>
3594 * configure.in: Change -linux-* to -linux*.
3595 * configure: Regenerate.
3597 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
3599 Fix 27_io/filebuf_members.cc
3600 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
3601 const string& __name, category __cat, size_t __refs): Set
3602 _M_has_name with _M_name.
3603 * include/bits/localefwd.h (locale::operator!=): Protect member
3604 function call with this->.
3605 * src/locale.cc (locale::operator==): Make fast checks first.
3606 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
3608 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
3610 * src/ios.cc (ios_base::Init::Init): Initialize here.
3611 (ios_base::sync_with_stdio): Set here.
3613 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
3615 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
3616 systems that support it, call dup() before fdopen().
3618 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
3620 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
3621 * testsuite/17_intro/header_cwctype.cc (main): New file.
3623 * src/Makefile.am (base_headers): Change.
3624 * include/bits/std_string.h: And here.
3625 * include/bits/string.tcc: Tweaks, move to...
3626 * include/bits/basic_string.tcc: ...Here.
3627 * src/string-inst.cc: Simplify, just instantiate the whole class,
3628 not member-by-member.
3630 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
3632 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
3633 * aclocal.m4: Regenerate.
3634 * configure: Regenerate.
3636 * include/bits/c++config (__GLIBCPP__): Bump version number.
3638 * ChangeLog: Start new log for year 2001
3639 * ChangeLog-2000: New file.
3641 * docs/html/configopts.html: Make sure default values are current,
3644 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
3646 * include/c_std/bits/std_cwchar.h: Same.
3647 * testsuite/17_intro/header_cwchar.cc: Same.
3648 * include/c_std/bits/std_ctime.h: Same.
3649 * testsuite/17_intro/header_ctime.cc: Same.
3650 * include/c_std/bits/std_cstdlib.h: Same.
3651 Clean up undefs, make consistent with cwchar and cmath, etc.
3652 * testsuite/17_intro/header_cstdlib.cc: Same.
3653 * include/c_std/bits/std_cstdio.h: Same here.
3654 * testsuite/17_intro/header_cstring.cc: Same.
3655 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
3656 * testsuite/17_intro/header_cstring.cc: New file. Check for
3657 size_t in namespace std.
3659 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
3660 * acconfig.h (HAVE_MBSTATE_T): Add.
3661 * config.h.in: Regenerate.
3662 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
3664 * aclocal.m4: Regenerate.
3665 * configure: Regenerate.
3666 * testsuite/17_intro/headers_c++.cc: New file.
3667 * testsuite/17_intro/headers_c.cc: Small changes.
3669 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
3671 * tests_flags.in: Fix typo in usage.
3673 * tests_flags.in: Set target specific LIBS for cygwin.