1 2001-07-18 Phil Edwards <pme@sources.redhat.com>
3 * docs/html/27_io/howto.html: Fix typo.
4 * docs/html/faq/index.html: Minor updates for 3.0 all around.
5 * docs/html/faq/index.txt: Regenerated.
7 2001-07-18 Stephen M. Webb <stephen@bregmasoft..com>
8 Roman Sulzhyk <roman_sulzhyk@yahoo.com>
11 * include/bits/ostream.tcc (ostream::put): Fixed error condition check.
12 * testsuite/27_io/streambuf.cc (test07): Added new regression test.
14 2001-07-17 Stephen M. Webb <stephen@bregmasoft.com>r
16 All occurrences of the __value_type() and __distance_type()
17 functions, which were required to support the HP STL, have been
18 removed along with all the auxiliary forwarding functions that
19 were required to support their use.
21 The __iterator_category() function was pretty much left alone
22 because there was no benefit to removing it and its use made code
23 just a little more readable.
25 Incidences of distance() with nonstandard argument list were
26 replaced by calls to the standard function (only in the files
27 affected by the removal of the other HP functions).
29 The signature of the rotate() algorithm was changed to match the
32 Headers were reformatted under C++STYLE guidelines (indentation,
33 linebreaks, typename keyword).
35 * include/bits/stl_algo.h: replaced __value_type() and
36 __distance_type() with iterator_traits, eliminated auxiliary
37 support functions required to support said function usage.
38 Changed nonstandard distance() call to standard call.
40 * include/bits/stl_algobase.h: Same.
41 * include/bits/stl_heap.h: Same.
42 * include/bits/stl_numeric.h: Same.
43 * include/bits/stl_uninitialized.h: Same.
44 * include/bits/stl_iterator_base_types.h (__value_type()):
46 (__distance_type()): Removed.
48 (distance_type()): Done in.
49 (iterator_category()): Hasta la vista, baby.
51 * include/bits/stl_iterator_base_funcs.h (iterator_category()):
52 Replaced with __iterator_category().
53 * include/backward/iterator.h: moved definition of value_type(),
54 distance_type(), and iterator_category() out of std:: and into
56 * testsuite/23_containers/vector_ctor.cc (test03): New testcases.
57 * testsuite/23_containers/vector_modifiers.cc (test03): New testcases.
58 * testsuite/25_algorithms/rotate.cc: New testcase.
59 * testsuite/25_algorithms/copy.cc: New testcase.
60 * testsuite/25_algorithms/sort.cc: Same.
61 * testsuite/25_algorithms/heap.cc: Same.
62 * testsuite/25_algorithms/partition.cc: Same.
63 * testsuite/25_algorithms/binary_search.cc: Same.
64 * testsuite/26_numerics/sum_diff.cc: Ditto.
66 001-07-17 Benjamin Kosnik <bkoz@redhat.com>
68 * testsuite/README: Add notes on naming test cases.
69 * testsuite/22_locale/members.cc: Mark as xfail.
70 * testsuite/22_locale/numpunct_char_members.cc: Same.
72 2001-07-16 Stephen M. Webb <stephen@bregmasoft.com>
74 * acinclude.m4 (GLIBCPP_ENABLE_CHEADERS): Use glibcpp_srcdir when
75 setting C_INCLUDE_DIR.
76 * configure.in: Revert yesterday's LN_S change.
77 * aclocal.m4: Regenerate.
78 * configure: Regenerate.
80 2001-07-15 Phil Edwards <pme@sources.redhat.com>
82 * configure.in: Temporarily force LN_S to copy instead of symlink.
83 * configure: Regenerate.
85 2001-07-13 Phil Edwards <pme@sources.redhat.com>
87 * include/bits/std_sstream.h (basic_stringbuf::basic_stringbuf(string):
88 Initialize _M_string with pointer-and-size constructor, not just
89 pointer. Fix some comments.
90 * testsuite/21_strings/ctor_copy_dtor.cc (test03): New test.
91 * testsuite/27_io/stringbuf.cc (test02): Remove unused variable.
92 (test03): Add embedded-NUL tests.
94 * mkcheck.in: When printing totals, match the order of the tests.
95 * include/bits/stringfwd.h: Use same declaration keywords.
96 * include/bits/std_iosfwd.h: Cosmetic spacing.
98 2001-07-13 Stephen M. Webb <stephen@bregmasoft.com>
99 Loren J. Rittle <ljrittle@acm.org>
100 Phil Edwards <pme@sources.redhat.com>
102 * include/Makefile.am: New file encapsulating header generation rules.
103 * Makefile.am (SUBDIRS): Prepend 'include' directory.
104 * acinclude.m4: Moved/removed rules for building various headers.
105 * configure.in (AC_OUTPUT): Add include/Makefile.
106 * mkc++config: Removed.
108 * testsuite_flags.in: Changed build-includes to match new scheme.
109 * mknumeric_limits: Likewise.
110 * libio/Makefile.am: Changed INCLUDES to maatch new header scheme.
111 * libmath/Makefile.am: Likewise.
112 * libsupc++/Makefile.am: Likewise.
113 * src/Makefile.am: Likewise; removed rules to build headers.
114 * libmath/mathconf.h: Changed #include'd header names to match.
115 * libmath/stubs.c: Likewise.
116 * src/gen-num-limits.cc: Likewise.
118 * configure: Regenerated.
119 * config.h.in: Regenerated.
120 * aclocal.m4: Regenerated.
121 * Makefile.in: Regenerated.
122 * include/Makefile.in: Regenerated.
123 * libio/Makefile.in: Regenerated.
124 * libmath/Makefile.in: Regenerated.
125 * libsupc++/Makefile.in: Regenerated.
126 * src/Makefile.in: Regenerated.
127 * testsuite/Makefile.in: Regenerated.
129 2001-07-11 Felix Natter <fnatter@gmx.net>
131 * docs/html/17_intro/porting-howto.xml: Initial checkin of
133 * docs/html/17_intro/porting-howto.html: check in v0.9.3
135 2001-07-11 Phil Edwards <pme@sources.redhat.com>
137 * docs/doxygen/run_doxygen: Don't keep output from previous run.
138 * docs/doxygen/user.cfg.in: Tweaks.
139 * include/bits/c++config: Documentation comments for Doxygen.
140 * include/bits/char_traits.h: Likewise.
141 * include/bits/limits_generic.h: Likewise.
142 * include/bits/std_stdexcept.h: Likewise.
143 * include/bits/stl_pair.h: Likewise.
144 * libsupc++/exception: Likewise.
145 * libsupc++/new: Likewise.
146 * libsupc++/typeinfo: Likewise.
147 * libmath/Makefile.am: Update and correct copyright.
149 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
151 * acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
152 * aclocal.m4: Regenerate.
155 2001-07-09 Phil Edwards <pme@sources.redhat.com>
157 * docs/html/configopts.html: Fix thinko.
158 * docs/html/27_io/howto.html: Fix thinko and HTML markup.
159 * include/bits/stl_iterator.h: Fix typo.
161 2001-07-09 Phil Edwards <pme@sources.redhat.com>
163 * docs/html/explanations.html: New file.
164 * docs/html/configopts.html: Link to it to provide more notes
165 on cstdio. Minor markup and spacing fixes.
166 * docs/html/27_io/howto.html: Talk about sync_with_stdio.
168 2001-07-09 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
170 * include/bits/valarray_meta.h (_Expr::operator+): Use qualified id
171 for _Expr template template argument.
172 (_Expr::operator-): Likewise.
173 (_Expr::operator~): Likewise.
174 (_Expr::operator!): Likewise.
175 (_DEFINE_EXPR_UNARY_OPERATOR): Likewise.
177 2001-07-06 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
179 * libmath/Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.c
180 * libmath/Makefile.in: Regenerate.
181 * libmath/expf.c: Remove.
182 * libmath/atan2f.c: Likewise.
184 2001-07-06 Daniel Jacobowitz <drow@mvista.com>
186 * configure.in: Remove NATIVE, NULL_TARGET.
187 Set CANADIAN only for Canadian crosses. Set xcompiling
188 for both Canadian crosses and host-x-host crosses.
189 * configure: Regenerated.
191 2001-07-06 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
193 * include/bits/stl_vector.h (vector::_M_initialize_aux): Fix typo.
195 2001-07-05 Jason Merrill <jason_merrill@redhat.com>
197 * testsuite_flags.in (--build-includes): backward, not backwards.
199 2001-07-04 Jeffrey Oldham <oldham@codesourcery.com>
201 * include/ext/ropeimpl.h (_Rope_RopeRep::_M_free_c_string):
202 Replace destroy by _Destroy.
203 (_Rope_RopeRep::_S_free_string): Likewise.
204 (rope::c_str()): Likewise.
205 * include/ext/slist (_Slist_base::_M_erase_after>): Likewise.
206 (_Slist_base::_M_erase_after): Likewise.
207 (slist::_M_create_node): Replace construct by _Construct.
208 (slist::pop_front): Replace destroy by _Destroy.
209 * include/ext/stl_hashtable.h (hashtable::_M_new_node): Replace
210 construct by _Construct.
211 (hashtable::_M_delete_node): Replace destroy by _Destroy.
212 * include/ext/stl_rope.h (rope::rope): Replace construct by
214 (rope::copy): Replace destroy by _Destroy.
216 2001-07-03 Benjamin Kosnik <bkoz@redhat.com>
218 * include/bits/localefwd.h: Format.
219 * include/bits/locale_facts.tcc (locale::combine): Adjust.
220 * src/locale.cc (locale::locale::(_Impl)): Don't call
222 (locale::facet::_M_remove_reference): Simplify.
223 * src/globals.cc (locale_impl_c): New. Format.
225 * src/ios.cc (ios_base::Init::Init): Increment _S_ios_base_init last.
227 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
229 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
230 expansion (thanks to Alexandre Oliva).
231 * aclocal.m4: Regenerate.
232 * configure: Regenerate.
234 2001-07-02 Benjamin Kosnik <bkoz@redhat.com>
236 * src/locale.cc (locale::locale(const char*)): Make sure global
237 locales are initialized.
238 * include/bits/locale_facets.tcc (locale::combine): Refcout should
239 be zero, not one as it's return-by-value.
240 * testsuite/27_io/ios_base_callbacks.cc (test01): Don't check for
242 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Instead, check
245 * libsupc++/eh_alloc.cc: Use climits, not limits.h.
247 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
250 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
251 * aclocal.m4: Regenerate.
252 * configure: Regenerate.
254 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
257 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to
258 staged/installed area to support -I-. Document.
259 * aclocal.m4: Regenerate.
260 * configure: Regenerate.
262 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
265 * src/ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to
266 __out_bufsize. Add __in_bufsize, document it and use it.
268 2001-07-01 Stephen M. Webb <stephen@bregmasoft.com>
270 * include/bits/stl_construct.h (construct): Remove.
272 (__destroy): Replaced by use of iterator_traits.
273 * include/bits/stl_deque.h: replaced HP iterator functions with
275 (construct): changed to _Construct.
276 (destroy): changed to _Destroy.
277 * include/bits/stl_tempbuf.h: Same.
278 * include/bits/stl_tree.h: Same.
279 * include/bits/stl_vector.h: Same.
280 * include/backward/iterator.h (construct): moved definition to here.
283 2001-06-29 Benjamin Kosnik <bkoz@redhat.com>
285 * include/bits/locale_facets.tcc (locale::combine): Clone _Impl.
286 before replacing facet.
287 * include/bits/localefwd.h (locale::_Impl::_M_remove_reference):
289 * src/localename.cc (locale::_Impl): Correct ctor initialization
290 lists. Initialize ref count with one. Simplify.
291 * src/locale.cc: Add comment.
292 * testsuite/22_locale/numpunct.cc (test01): Add derivation test.
293 * testsuite/22_locale/numpunct_char_members.cc (test01): Add tests.
294 * testsuite/22_locale/members.cc (test02): Fix.
296 2001-06-27 Phil Edwards <pme@sources.redhat.com>
298 * include/backward/algo.h: Add "GPL plus runtime exception" comment
299 block, this time for real.
300 * include/backward/algobase.h: Likewise.
301 * include/backward/alloc.h: Likewise.
302 * include/backward/bvector.h: Likewise.
303 * include/backward/defalloc.h: Likewise.
304 * include/backward/deque.h: Likewise.
305 * include/backward/function.h: Likewise.
306 * include/backward/hash_map.h: Likewise.
307 * include/backward/hash_set.h: Likewise.
308 * include/backward/hashtable.h: Likewise.
309 * include/backward/heap.h: Likewise.
310 * include/backward/iterator.h: Likewise.
311 * include/backward/list.h: Likewise.
312 * include/backward/map.h: Likewise.
313 * include/backward/multimap.h: Likewise.
314 * include/backward/multiset.h: Likewise.
315 * include/backward/pair.h: Likewise.
316 * include/backward/rope.h: Likewise.
317 * include/backward/set.h: Likewise.
318 * include/backward/slist.h: Likewise.
319 * include/backward/stack.h: Likewise.
320 * include/backward/strstream: Likewise.
321 * include/backward/tempbuf.h: Likewise.
322 * include/backward/tree.h: Likewise.
323 * include/backward/vector.h: Likewise.
324 * include/bits/pthread_allocimpl.h: Likewise.
325 * include/bits/std_algorithm.h: Likewise.
326 * include/bits/std_bitset.h: Likewise.
327 * include/bits/std_deque.h: Likewise.
328 * include/bits/std_functional.h: Likewise.
329 * include/bits/std_iterator.h: Likewise.
330 * include/bits/std_list.h: Likewise.
331 * include/bits/std_map.h: Likewise.
332 * include/bits/std_memory.h: Likewise.
333 * include/bits/std_numeric.h: Likewise.
334 * include/bits/std_queue.h: Likewise.
335 * include/bits/std_set.h: Likewise.
336 * include/bits/std_stack.h: Likewise.
337 * include/bits/std_utility.h: Likewise.
338 * include/bits/std_vector.h: Likewise.
339 * include/bits/stl_algo.h: Likewise.
340 * include/bits/stl_algobase.h: Likewise.
341 * include/bits/stl_alloc.h: Likewise.
342 * include/bits/stl_bvector.h: Likewise.
343 * include/bits/stl_construct.h: Likewise.
344 * include/bits/stl_deque.h: Likewise.
345 * include/bits/stl_function.h: Likewise.
346 * include/bits/stl_heap.h: Likewise.
347 * include/bits/stl_iterator.h: Likewise.
348 * include/bits/stl_iterator_base_funcs.h: Likewise.
349 * include/bits/stl_iterator_base_types.h: Likewise.
350 * include/bits/stl_list.h: Likewise.
351 * include/bits/stl_map.h: Likewise.
352 * include/bits/stl_multimap.h: Likewise.
353 * include/bits/stl_multiset.h: Likewise.
354 * include/bits/stl_numeric.h: Likewise.
355 * include/bits/stl_pair.h: Likewise.
356 * include/bits/stl_pthread_alloc.h: Likewise.
357 * include/bits/stl_queue.h: Likewise.
358 * include/bits/stl_raw_storage_iter.h: Likewise.
359 * include/bits/stl_relops.h: Likewise.
360 * include/bits/stl_set.h: Likewise.
361 * include/bits/stl_stack.h: Likewise.
362 * include/bits/stl_tempbuf.h: Likewise.
363 * include/bits/stl_threads.h: Likewise.
364 * include/bits/stl_tree.h: Likewise.
365 * include/bits/stl_uninitialized.h: Likewise.
366 * include/bits/stl_vector.h: Likewise.
367 * include/bits/type_traits.h: Likewise.
368 * include/ext/hash_map: Likewise.
369 * include/ext/hash_set: Likewise.
370 * include/ext/rope: Likewise.
371 * include/ext/ropeimpl.h: Likewise.
372 * include/ext/slist: Likewise.
373 * include/ext/stl_hash_fun.h: Likewise.
374 * include/ext/stl_hashtable.h: Likewise.
375 * include/ext/stl_rope.h: Likewise.
376 * src/bitset.cc: Likewise.
377 * src/strstream.cc: Likewise.
379 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
380 <vakatov@ncbi.nlm.nih.gov>
383 * include/bits/streambuf.tcc (__copy_streambufs): Don't set eofbit.
384 * testsuite/27_io/ostream_inserter_other.cc (test04): Add test.
385 * testsuite/27_io/istream_extractor_other.cc: Fix.
387 2001-06-26 Zoltan Hidvegi <hzoli@austin.ibm.com>
389 * acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
390 * aclocal.m4: Regenerate.
391 * configure: Regenerate.
393 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
395 * include/bits/stream_iterator.h (istream_iterator): Add copy ctor.
396 (ostream_iterator): Same.
397 * include/bits/stl_iterator.h (front_insert_iterator::operator=):
398 Change argument to const_reference.
399 (back_insert_iterator): Same.
401 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
403 * include/bits/sbuf_iter.h: Change to..
404 * include/bits/streambuf_iterator.h: This.
405 * include/bits/stl_iterator.h: Take out of here...
406 * include/bits/stream_iterator.h: Add.
407 * src/Makefile.am (base_headers): Add streambuf_iterator,
409 * src/Makefile.in: Regenerate.
410 * include/bits/std_string.h: Adjust includes.
411 * include/bits/basic_ios.h: Same.
412 * include/bits/locale_facets.tcc: Same.
413 * include/bits/std_iosfwd.h: Same.
415 * include/bits/std_iterator.h: Add istream, ostream includes.
416 * include/bits/stl_iterator.h: Tweak.
417 * testsuite/24_iterators/ostream_iterator.cc: Add test.
418 * testsuite/24_iterators/istream_iterator.cc: Same.
419 * testsuite/23_containers/multiset.cc: Add iterator include.
421 2001-06-26 Phil Edwards <pme@sources.redhat.com>
423 * acinclude.m4: Clean extraneous tabs, rewrap 'test' lines.
424 * aclocal.m4: Regenerate.
425 * configure: Regenerate.
427 2001-06-26 Felix Natter <f.natter@ndh.net>
429 * docs/html/17_intro/porting-howto.html: Fixed some errors.
431 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
433 * include/bits/stl_iterator.h (istream_iterator::operator->): Fix
435 (istream_iterator::operator*): Same.
437 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
438 Alexandre Petit-Bianco <apbianco@redhat.com>
440 * testsuite/21_strings/element_access.cc (test01): Chill Out Cafe
441 is on 41st, not 14th.
443 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
445 * include/bits/std_iterator.h: Include sbuf_iter.h via std_ios.h.
447 * include/bits/stl_iterator.h (istream_iterator): Inherit from
449 (ostream_iterator): Same.
450 * testsuite/24_iterators/istream_iterator.cc: New file.
451 * testsuite/24_iterators/ostream_iterator.cc: New file.
453 * include/bits/sbuf_iter.h: Remove self typedef.
454 * testsuite/24_iterators/ostreambuf_iterator.cc: Add test.
455 * testsuite/24_iterators/istreambuf_iterator.cc: Add test.
457 * include/bits/stl_iterator.h (reverse_iterator): Remove
458 extraneous typedefs. Add typename.
459 (__normal_iterator): Remove typedefs referring to self. Add typename.
460 (reverse_bidiretional_iterator): Remove, not longer required.
462 2001-06-26 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
464 * include/bits/stl_iterator.h (__normal_iterator<>): Qualify
465 dependent names with `typename'. Bring in various required
466 iterator_traits members. Can't imagine why that used to work.
468 2001-06-25 Phil Edwards <pme@sources.redhat.com>
469 Kurt Garloff <garloff@suse.de>
472 * src/cmath.cc: New [version of an old] file; instantiate
473 __cmath_power to start with.
474 * src/Makefile.am (sources): Add cmath.cc (and alphabetize).
475 * Makefile.in: Regenerate.
476 * libio/Makefile.in: Regenerate.
477 * libmath/Makefile.in: Regenerate.
478 * libsupc++/Makefile.in: Regenerate.
479 * src/Makefile.in: Regenerate.
480 * testsuite/Makefile.in: Regenerate.
482 2001-06-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
484 * libmath/stubs.c: Fix thinko.
486 2001-06-24 David Edelsohn <dje@watson.ibm.com>
488 * libmath/stubs.c (sqrtf): Define.
489 (tanf): Correct typo.
491 2001-06-22 Benjamin Kosnik <bkoz@redhat.com>
493 * include/bits/stl_iterator.h (reverse_iterator): Inherit from
495 (back_insert_iterator): Same.
496 (front_insert_iterator): Same.
497 (insert_iterator): Same.
499 * testsuite/20_util/raw_storage_iterator.cc: Modify.
500 * testsuite/24_iterators/reverse_iterator.cc: New file.
501 * testsuite/24_iterators/back_insert_iterator.cc: New file.
502 * testsuite/24_iterators/front_insert_iterator.cc: New file.
503 * testsuite/24_iterators/insert_iterator.cc: New file.
505 2001-06-22 Phil Edwards <pme@sources.redhat.com>
507 * include/*: Revert comment/license change from yesterday for all
508 except libsupc++/unwind-cxx.h.
509 * src/bitset.cc: Likewise.
510 * src/strstream.cc: Likewise.
512 2001-06-22 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
514 * libmath/stubs.c: New file.
518 * libmath/Makefile.am (libmath_la_SOURCES): Add.
519 * libmath/Makefile.in. Regenerate.
521 2001-06-21 Phil Edwards <pme@sources.redhat.com>
523 * include/backward/algo.h: Add "GPL plus runtime exception" comment.
524 * include/backward/algobase.h: Likewise.
525 * include/backward/alloc.h: Likewise.
526 * include/backward/bvector.h: Likewise.
527 * include/backward/defalloc.h: Likewise.
528 * include/backward/deque.h: Likewise.
529 * include/backward/function.h: Likewise.
530 * include/backward/hash_map.h: Likewise.
531 * include/backward/hash_set.h: Likewise.
532 * include/backward/hashtable.h: Likewise.
533 * include/backward/heap.h: Likewise.
534 * include/backward/iterator.h: Likewise.
535 * include/backward/list.h: Likewise.
536 * include/backward/map.h: Likewise.
537 * include/backward/multimap.h: Likewise.
538 * include/backward/multiset.h: Likewise.
539 * include/backward/pair.h: Likewise.
540 * include/backward/rope.h: Likewise.
541 * include/backward/set.h: Likewise.
542 * include/backward/slist.h: Likewise.
543 * include/backward/stack.h: Likewise.
544 * include/backward/strstream: Likewise.
545 * include/backward/tempbuf.h: Likewise.
546 * include/backward/tree.h: Likewise.
547 * include/backward/vector.h: Likewise.
548 * include/bits/pthread_allocimpl.h: Likewise.
549 * include/bits/std_algorithm.h: Likewise.
550 * include/bits/std_bitset.h: Likewise.
551 * include/bits/std_deque.h: Likewise.
552 * include/bits/std_functional.h: Likewise.
553 * include/bits/std_iterator.h: Likewise.
554 * include/bits/std_list.h: Likewise.
555 * include/bits/std_map.h: Likewise.
556 * include/bits/std_memory.h: Likewise.
557 * include/bits/std_numeric.h: Likewise.
558 * include/bits/std_queue.h: Likewise.
559 * include/bits/std_set.h: Likewise.
560 * include/bits/std_stack.h: Likewise.
561 * include/bits/std_utility.h: Likewise.
562 * include/bits/std_vector.h: Likewise.
563 * include/bits/stl_algo.h: Likewise.
564 * include/bits/stl_algobase.h: Likewise.
565 * include/bits/stl_alloc.h: Likewise.
566 * include/bits/stl_bvector.h: Likewise.
567 * include/bits/stl_construct.h: Likewise.
568 * include/bits/stl_deque.h: Likewise.
569 * include/bits/stl_function.h: Likewise.
570 * include/bits/stl_heap.h: Likewise.
571 * include/bits/stl_iterator.h: Likewise.
572 * include/bits/stl_iterator_base_funcs.h: Likewise.
573 * include/bits/stl_iterator_base_types.h: Likewise.
574 * include/bits/stl_list.h: Likewise.
575 * include/bits/stl_map.h: Likewise.
576 * include/bits/stl_multimap.h: Likewise.
577 * include/bits/stl_multiset.h: Likewise.
578 * include/bits/stl_numeric.h: Likewise.
579 * include/bits/stl_pair.h: Likewise.
580 * include/bits/stl_pthread_alloc.h: Likewise.
581 * include/bits/stl_queue.h: Likewise.
582 * include/bits/stl_raw_storage_iter.h: Likewise.
583 * include/bits/stl_relops.h: Likewise.
584 * include/bits/stl_set.h: Likewise.
585 * include/bits/stl_stack.h: Likewise.
586 * include/bits/stl_tempbuf.h: Likewise.
587 * include/bits/stl_threads.h: Likewise.
588 * include/bits/stl_tree.h: Likewise.
589 * include/bits/stl_uninitialized.h: Likewise.
590 * include/bits/stl_vector.h: Likewise.
591 * include/bits/type_traits.h: Likewise.
592 * include/ext/hash_map: Likewise.
593 * include/ext/hash_set: Likewise.
594 * include/ext/rope: Likewise.
595 * include/ext/ropeimpl.h: Likewise.
596 * include/ext/slist: Likewise.
597 * include/ext/stl_hash_fun.h: Likewise.
598 * include/ext/stl_hashtable.h: Likewise.
599 * include/ext/stl_rope.h: Likewise.
600 * libsupc++/unwind-cxx.h: Likewise.
601 * src/bitset.cc: Likewise.
602 * src/strstream.cc: Likewise.
604 2001-06-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
606 * include/bits/indirect_array.h (indirect_array<>::operator=):
607 Make copy and assignment operator public. Implement. Format.
609 * include/bits/valarray_array.h (__valarray_copy): Add overloads
610 for copy between index arrays. Format.
612 2001-06-19 Benjamin Kosnik <bkoz@redhat.com>
614 * mknumeric_limits: Add static definitions, format.
615 * testsuite/18_support/numeric_limits.cc (test02): Add test.
617 * include/c_std/bits/std_cwchar.h: Include ctime.
618 * testsuite/17_intro/header_cwchar.cc : Check.
620 * include/c_std/bits/std_cwctype.h: Inject wctype.
621 * testsuite/17_intro/header_cwctype.cc: Update.
623 2001-06-18 Benjamin Kosnik <bkoz@redhat.com>
625 * include/bits/stl_raw_storage_iter.h: Format. Correct derivation.
626 * testsuite/20_util/raw_storage_iterator.cc: Same.
628 * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to
630 (__mem_interface): New typedef for switching between malloc and new.
631 * testsuite/20_util/allocator_members.cc: New file.
633 * testsuite/20_util/comparisons.cc: New file.
634 * testsuite/20_util/pairs.cc: New file.
636 2001-06-15 Phil Edwards <pme@sources.redhat.com>
638 * docs/html/documentation.html: Point to new doxygen'ed collection.
640 2001-06-14 Nathan Sidwell <nathan@codesourcery.com>
642 * configure.in (auxdir): Replace by ...
643 (toprel): ... new variable.
644 (toplevel_srcdir): Construct from $toprel.
645 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
646 rather than .. to locate gcc source directory.
647 (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
648 * aclocal.m4, configure: Rebuilt.
650 2001-06-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
652 (Approved by Mark and Benjamin. Applied by Loren.)
654 * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
655 _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
656 and _GLIBCPP_mutex_address.
657 * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
658 once-only runtime initialization of _M_lock mutex when
659 __GTHREAD_MUTEX_INIT_FUNCTION is defined.
660 (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
661 for __GTHREAD_MUTEX_INIT_FUNCTION case.
663 2001-06-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
665 * testsuite/26_numerics/slice_array_assignment.cc (main): New test.
667 * include/bits/slice_array.h (slice_array<>::operator=): Make
668 public and implement.
669 (slice_array<>::slice_array): Make copy-constructor public.
671 * include/bits/valarray_array.h (__valarray_copy): Add another
672 overload to copy between strided arrays.
674 2001-06-13 Benjamin Kosnik <bkoz@redhat.com>
676 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
677 * aclocal.m4: Regenerate.
678 * configure: Regenerate.
679 * include/bits/c++config (__GLIBCPP__): Update date.
681 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
683 * include/bits/fpos.h (fpos::operator-): Don't return reference,
684 return original, non-modified version.
685 (fpos::operator+): Same.
686 * testsuite/27_io/fpos.cc: Add test.
688 2001-06-12 Loren J. Rittle <ljrittle@acm.org>
691 * porting.texi: Add documentation about libstdc++-v3-specific
692 macros that are currently included in os_defines.h files.
694 * config/basic_file_stdio.h (sys_getc): New method.
695 (sys_ungetc): New method.
696 * include/bits/basic_file.h: (sys_getc): New method signature.
697 (sys_ungetc): New method signature.
699 * include/bits/fstream.tcc (underflow): Add conditional code
700 paths which avoid using short seeks on streams (especially
701 useful when the stream might be interactive or a pipe). At
702 the moment, this alternate path only avoids seeking when the
703 ``buffer size'' of underflow() is 1 since the C standard only
704 guarantees buffer space for one ungetc (this technique could
705 be extended since *-*-solaris* supports buffering for 4 calls
706 to ungetc and *-*-*bsd* supports buffering limited only by
707 memory resources). Also, _GLIBCPP_AVOID_FSEEK must be defined
708 in a port's os_defines.h file for this alternate path to even
709 be considered. As a bonus, the idiom of using getc/ungetc
710 requires no system calls whereas fseek maps to one or two
711 system call(s) on many platforms.
713 * config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
715 * config/os/solaris/solaris2.5/bits/os_defines.h
716 (_GLIBCPP_AVOID_FSEEK): Likewise.
717 * config/os/solaris/solaris2.6/bits/os_defines.h
718 (_GLIBCPP_AVOID_FSEEK): Likewise.
719 * config/os/solaris/solaris2.7/bits/os_defines.h
720 (_GLIBCPP_AVOID_FSEEK): Likewise.
722 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
724 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change to
725 AC_TRY_COMPILE, so that the built compiler is checked, and
726 bootstraps or cross compiles with an older compile still work.
727 * aclocal.m4: Regenerate.
728 * configure: Regenerate.
730 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
733 * include/bits/std_sstream.h: Add allocator_type, as per DR 251.
736 * include/bits/istream.tcc (getline, get): Fix as per DR 243.
739 * include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
742 * include/bits/limits_generic.h: Fix as per DR 184.
744 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
747 * include/bits/basic_string.h (string::compare): Adjust signatures
749 * include/bits/basic_string.tcc: And here.
752 * config/c_io_stdio.h: Remove whitespace.
753 * testsuite/27_io/istream_seeks.cc (test03): Add regression.
754 (test02): Add regression.
755 * testsuite/27_io/istream_seeks-3.tst: New file.
757 2001-06-11 Phil Edwards <pme@sources.redhat.com>
759 * README: Update to reflect reality.
760 * acinclude.m4: Update descriptions, fix typos. Comment changes only.
761 * configure.in: Make certain target_alias is set and subst'd for 2.50.
762 * aclocal.m4: Regenerate.
763 * configure: Regenerate (with 2.13).
765 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
768 * include/bits/ostream.tcc (ostream::seekp): Add error checking as
770 * include/bits/istream.tcc (istream::seekg): Same.
771 * testsuite/27_io/istream_seeks.cc: Fix.
774 * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
776 * include/bits/std_queue.h: Add c++config.h.
777 * testsuite/20_util/binders.cc: New test.
779 2001-06-11 Matthias Klose <doko@debian.org>
780 Phil Edwards <pme@sources.redhat.com>
782 * docs/doxygen/run_doxygen (find_doxygen): Tweak version check.
783 (main script): Echo more information.
785 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
787 * include/c_std/bits/std_cwchar.h: Alphabetize.
788 * include/bits/char_traits.h: Tweak.
789 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
790 everything used by std_cwchar.h.
791 * aclocal.m4: Regenerate.
792 * configure.in: Regenerate.
793 * config.h.in: Regenerate.
795 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
797 * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
798 Add checking for strtof, _Exit in stdlib.h
799 * aclocal.m4: Regenerate.
800 * configure.in: Regenerate.
801 * include/c_std/bits/std_cstdio.h: Alphabetize lists.
802 (snprintf): Put C99 functions into __gnu_cxx namespace.
807 * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
808 for C99 functions within _GLIBCPP_USE_C99 guard.
812 * include/bits/locale_facets.tcc: Check if C99 is enabled.
813 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
815 * include/c_std/bits/cmath.tcc: Formatting tweak.
816 * include/c_std/bits/std_cmath.h: Same.
818 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
820 * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
822 2001-06-09 Alexandre Oliva <aoliva@redhat.com>
823 Stephen L Moshier <moshier@mediaone.net>
825 * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
826 nothing, as in autoconf 2.50.
827 * configure: Rebuilt.
829 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
831 * include/c_std/bits/std_cwchar.h: Remove size_t injection,
833 * include/c_std/bits/std_ctime.h: Same.
834 * include/c_std/bits/std_cstring.h: Same.
835 * include/c_std/bits/std_cstdlib.h: Same.
837 * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
838 * include/c_std/bits/std_cctype.h: Remove isblank.
840 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
842 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
844 * aclocal.m4: Regenerate.
845 * configure: Regenerate.
846 * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
847 injection, guard fgetwc, fgetws.
848 * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
849 * include/c_std/bits/std_clocale.h: And here.
850 * include/c_std/bits/std_cctype.h: And here.
851 * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
853 * config/basic_file_stdio.h: Don't include unistd.h.
854 * config/c_io_stdio.h: Don't use compatibility headers.
855 * libsupc++/eh_terminate.cc: Qualify abort.
856 (__terminate): And here.
857 * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
859 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
861 * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
863 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
868 * include/std/*: Add copyright notice.
869 * include/c_std/bits/*: Use using statements instead of extern "C".
870 * include/c_std/bits/std_cmath.h: Don't overload double versions
871 of math functions with __buitin versions, use global version to
872 prevent ambiguities. Remove define hacks.
873 * include/c_std/bits/std_cwchar.h: Using declarations for "C"
874 functions that have changed signatures and std::
875 declarations. Remove define hacks.
876 * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
877 __builtins in std::. Remove define hacks.
878 * testsuite/17_intro/headers_c.cc: Add tests.
879 * testsuite/17_intro/headers_c++.cc: Add test.
881 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
882 John David Anglin <dave@hiauly1.hia.nrc.ca>
885 * libsupc++/eh_alloc.cc: Ensure that required macros are
886 defined before including gthr.h. Ensure that we get the
887 version of gthr.h for which we know how to provide a
889 * libsupc++/eh_globals.cc: Likewise. And, bring the threading
890 code path into line with the current EH model. Use std, where
893 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
894 John David Anglin <dave@hiauly1.hia.nrc.ca>
896 * config/threads-no.h: Remove file.
897 * config/threads-posix.h: Remove file.
899 * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
900 (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
901 (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
902 * config.h.in: Regenerate.
904 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
905 setup and use gthr*.h files. In particular, make gthr.h files
906 namespace-clean in the staging area (they don't have to be for
908 * aclocal.m4: Regenerate.
909 * configure: Regenerate.
911 * src/Makefile.am (build_headers): Remove bits/c++threads.h
912 and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
913 * src/Makefile.in: Regenerate.
915 * include/bits/c++config: Cleanup threading configuration macros.
916 In particular, define __STL_GTHREADS macro which controls...
917 * include/bits/stl_threads.h: ...a brand new gthr.h-based
920 * config/c_io_stdio.h: Include staged gthr.h instead of local
921 thread configuration file. Always use __gthread_mutex_t
922 instead of __mutext_type (or int).
923 * include/bits/std_fstream.h: Likewise.
925 * docs/html/17_intro/howto.html: Remove placeholder comment in
926 case this configuration patch didn't make it. Add advice that
927 section only applies if configured with --enable-threads.
928 * docs/html/23_containers/howto.html: Reword to make clear
929 that _PTHREADS is no longer required for any port to be
930 correctly using STL with threads. Add advice that section
931 only applies if configured with --enable-threads.
933 2001-06-06 Benjamin Kosnik <bkoz@redhat.com>
935 * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
937 2001-06-05 Benjamin Kosnik <bkoz@redhat.com>
940 * include/bits/basic_ios.tcc: Formatting tweaks.
941 * include/bits/ios_base.h: Formatting tweaks.
942 * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
943 (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
944 * src/globals.cc: Allocate filebufs for standard streams here.
945 (buf_cout, buf_cin, buf_cerr): Like so.
946 (buf_wcout, buf_wcin, buf_wcerr): And so.
947 * testsuite/27_io/ios_init.cc: Add.
949 2001-06-04 Brendan Kehoe <brendan@zen.org>
950 Benjamin Kosnik <bkoz@redhat.com>
953 * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
954 for generic ctype virtuals.
955 * src/locale.cc: Minor tweaks, naming consistency.
956 * testsuite/22_locale/ctype.cc: Add test.
958 2001-06-04 Kenny Simpson <theonetruekenny@yahoo.com>
959 Phil Edwards <pme@sources.redhat.com>
961 PR libstdc++/3035 and PR libstdc++/3036
962 * include/bits/stl_pair.h: Fix pair ctor and make_pair according
963 to LWG DR 181 and 265.
965 2001-06-04 Phil Edwards <pme@sources.redhat.com>
968 * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
969 equal_range): Add const overloads as per LWG DR 214.
970 * include/bits/stl_set.h: Likewise.
972 2001-06-04 Brendan Kehoe <brendan@zen.org>
973 Phil Edwards <pme@sources.redhat.com>
976 * include/bits/std_bitset.h (bitset::test): Fix __pos >= _Nb
977 comparison; all positions must be < _Nb.
978 * testsuite/23_containers/bitset_members.cc: New file.
980 2001-06-04 Brendan Kehoe <brendan@zen.org>
983 * include/bits/stl_queue.h (classes queue, priority_queue): Fix
984 ctors to match the standard.
986 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
988 * include/bits/char_traits.h (move): Reverse qualification of
990 (copy): Reverse qualification of memcpy with std::.
992 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
994 * include/bits/char_traits.h (move): Qualify memmove with std::.
995 (copy): Qualify memcpy with std::.
996 * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
999 * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
1001 2001-06-04 Hans-Peter Nilsson <hp@axis.com>
1003 * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
1004 uninstall-glibcppinstallHEADERS): Have explicit rules catering to
1005 SUN make VPATH peculiarities.
1006 * libsupc++/Makefile.in: Regenerate.
1008 2001-06-01 Hans-Peter Nilsson <hp@axis.com>
1010 * src/Makefile.am (VPATH): Delimit with ":", not space.
1011 * src/Makefile.in: Regenerate.
1013 * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
1015 * configure: Regenerate.
1017 2001-05-31 scott snyder <snyder@fnal.gov>
1020 * include/bits/istream.tcc: Include std_ostream.h.
1022 2001-05-31 Benjamin Kosnik <bkoz@redhat.com>
1025 * src/bitset.cc: Qualify size_t with std::.
1027 2001-05-30 Benjamin Kosnik <bkoz@redhat.com>
1029 * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
1030 (_GLIBCPP_BUGGY_COMPLEX): Remove.
1031 * config.h.in: Regenerate.
1032 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
1033 * aclocal.m4: Regenerate.
1034 * configure.in: Don't call it.
1035 * configure: Regenerate.
1038 * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
1039 * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
1043 * include/bits/std_complex.h: Include sstream. Put definitions for
1044 complex inserters and extractors here, and remove them from...
1045 * src/complex_io.cc: ...here.
1046 * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
1048 (basic_ios::__numget_type): Same.
1049 * include/bits/std_istream.h: Same.
1050 * include/bits/std_ostream.h: Same.
1051 * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
1052 class iterator template arguments.
1053 * src/locale-inst.cc: Add explicit has_facet instantiations.
1054 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
1055 (_M_get_fnumput): Remove.
1056 (_M_get_fnumget): Remove.
1057 (basic_ios::_M_check_facet): New function.
1058 (basic_ios::_M_cache_facets): New function.
1059 * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
1060 (basic_ios::imbue): Call _M_cache_facets.
1061 (basic_ios::init): Same.
1062 * include/bits/istream.tcc: Format, use _M_check_facet.
1063 * include/bits/ostream.tcc: Same.
1064 * include/bits/locale_facets.tcc (__output_float): Change
1065 signature, add _Traits.
1066 * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
1069 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
1071 * include/bits/c++config (__USE_MALLOC): Do not define it.
1072 Document why not and give pointers to more information.
1074 * docs/html/23_containers/howto.html: Update documentation
1075 to reflect recent understanding of problem.
1076 * docs/html/17_intro/howto.html: Likewise.
1078 2001-05-30 Phil Edwards <pme@sources.redhat.com>
1080 * docs/doxygen/user.cfg.in: Minor addition.
1081 * docs/html/documentation.html: Reorganize. Put most-looked-at
1083 * docs/html/install.html: Update for 3.0. HTML fixups.
1084 * docs/html/17_intro/howto.html: Likewise.
1085 * docs/html/18_support/howto.html: Likewise.
1086 * docs/html/19_diagnostics/howto.html: Likewise.
1087 * docs/html/20_util/howto.html: Likewise.
1088 * docs/html/23_containers/howto.html: Likewise.
1089 * docs/html/24_iterators/howto.html: Likewise. More notes.
1090 * docs/html/25_algorithms/howto.html: Likewise.
1091 * docs/html/26_numerics/howto.html: Likewise. More notes.
1092 * docs/html/27_io/howto.html: Likewise.
1093 * docs/html/ext/howto.html: Likewise.
1094 * docs/html/faq/index.html: Likewise.
1095 * docs/html/faq/index.txt: Regenerate.
1096 * docs/html/27_io/iostreams_hierarchy.pdf: Remove in favor of
1097 Doxygen-created documentation.
1099 2001-05-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1101 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
1102 get_multilibs to find gcc.
1104 2001-05-30 Phil Edwards <pme@sources.redhat.com>
1106 * acinclude.m4 (GLIBCPP_ENABLE_C99): Reorder output messages.
1107 * aclocal.m4: Regenerate.
1108 * configure: Regenerate.
1110 2001-05-29 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1112 * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
1113 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
1115 2001-05-27 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1117 * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
1118 * include/c_std/bits/std_cstdlib.h: Same.
1119 * include/c_std/bits/std_cwchar.h: Same.
1121 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
1123 * docs/html/17_intro/howto.html: Update link.
1124 * docs/html/23_containers/howto.html: Likewise. Add new link.
1126 2001-05-26 Gabriel Dos Reis <gdr@codesourcery.com>
1128 * include/c_std/bits/std_cmath.h (sqrt): #undef.
1130 2001-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1132 * mknumeric_limits: Stop if gen-num-limits dies.
1134 2001-05-25 Benjamin Kosnik <bkoz@redhat.com>
1137 * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
1138 * aclocal.m4: Regenerate.
1141 2001-05-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1142 Phil Edwards <pme@sources.redhat.com>
1143 Alexandre Oliva <aoliva@redhat.com>
1145 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
1146 in an amd-safe manner. Revert glibcpp_prefixdir.
1148 2001-05-25 Gabriel Dos Reis <gdr@codesourcery.com>
1150 * include/c_std/bits/std_cmath.h: Tweak. #define away abs, cos,
1151 fabs, sin, sqrt. They are now implemented in terms of __builtin_
1154 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
1157 * testsuite/21_strings/inserters_extractors.cc (test09): New test.
1158 * include/bits/ostream.tcc: Format to match istream.tcc.
1159 (operator<<(basic_ostream __out, const basic_string __s)): Fix.
1161 2001-05-24 Phil Edwards <pme@sources.redhat.com>
1163 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Qualify
1165 (__cxa_free_exception): Likewise with free.
1167 2001-05-24 Mark Mitchell <mark@codesourcery.com>
1169 * include/c_std/bin/std_cstring.h: #define away all global
1170 functions we will redeclare in namespace `std'.
1171 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
1172 std::memset, instead of memset.
1173 * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
1175 * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
1178 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
1181 * include/bits/basic_ios.tcc: Small tweak.
1182 * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
1183 ctors and dtors, and rdbuf settings.
1186 * include/bits/std_sstream.h: Same, but for stringstream classes.
1187 * testsuite/27_io/ostringstream_members.cc: New.
1188 * testsuite/27_io/stringstream_members.cc: New.
1189 * testsuite/27_io/fstream_members.cc: New.
1190 * testsuite/27_io/ifstream_members.cc: Add test.
1191 * testsuite/27_io/istringstream_members.cc: Add test.
1192 * testsuite/27_io/ofstream_members.cc: Add test.
1194 2001-05-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1196 * include/bits/c++config(__NO_MATH_INLINES): Move to...
1197 * config/os/gnu-linux/bits/os_defines.h: ...here.
1199 2001-05-24 Gabriel Dos Reis <gdr@codesourcery.com>
1201 * include/bits/c++config (__NO_MATH_INLINES): New macro.
1202 * testsuite/26_numerics/fabs_inline.cc (main): New test.
1204 2001-05-22 Benjamin Kosnik <bkoz@redhat.com>
1207 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
1209 (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
1210 (libstdc++-v3-finish): Remove.
1211 (libstdc++-v3_exit): Remove.
1213 2001-05-22 Phil Edwards <pme@sources.redhat.com>
1215 * docs/html/documentation.html: Point to doxygen output.
1217 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
1219 * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
1221 * include/bits/std_sstream.h (stringbuf::setbuf): Require both
1222 arguments to be non-null.
1223 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
1224 try allocations if allocated size is greater than zero.
1225 (filebuf::_M_filebuf_init): Change to
1226 (filebuf::_M_allocate_file): Which is what it does now.
1227 (filebuf::_M_allocate_bufers): Change to
1228 (filebuf::_M_allocate_internal_buffer): This, and create
1229 (filebuf::_M_allocate_pback_buffer): New.
1230 (filebuf::_M_destroy_internal_buffer): New.
1231 (filebuf::_M_buf_allocated): New data member.
1232 (filebuf::setbuf): Use new logic, allow use of external buffer.
1233 * testsuite/27_io/stringbuf_virtuals.cc: New file.
1234 * testsuite/27_io/filebuf_virtuals.cc: New file.
1236 2001-05-21 Stephen M. Webb <stephen@bregmasoft.com>
1238 * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
1240 (strchr): Same, but to __glibcpp_strchr.
1244 * include/c_std/bits/std_cwchar.h (wcschr): Same.
1250 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
1252 * testsuite/21_strings/c_strings.cc (main): Fix.
1254 2001-05-19 Phil Edwards <pme@sources.redhat.com>
1256 * acinclude.m4: Fix --help spacing, correct comments.
1257 * aclocal.m4: Regenerate.
1258 * configure: Regenerate.
1259 * mkcheck.in: Add usage comments.
1260 * docs/html/documentation.html: Point to doxygen'd tarball.
1262 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
1264 * testsuite/README: Add notes.
1266 * src/Makefile.am (libstdc++.INC): Remove.
1267 * src/Makefile.in: Regenerate.
1269 Phil Edwards <pedwards@disaster.jaj.com>
1270 * mkcheck.in: Add missing '#'.
1272 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
1274 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
1275 appropriately for remote testing and testing installed files without
1278 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
1280 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
1281 amd glibcpp_prefixdir with absolute paths.
1283 * include/bits/c++config (__GLIBCPP__): Bump.
1284 * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
1286 2001-05-18 Gabriel Dos Reis <gdr@codesourcery.com>
1288 * include/bits/std_valarray.h (valarray<>::operator[] const):
1289 Return a const reference.
1290 * testsuite/26_numerics/valarray_const_bracket.cc: New test.
1292 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
1294 * configure.target (ATOMICITYH): Actually use AIX-specific code on
1295 earlier versions of AIX 4.*.
1297 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
1299 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set
1300 output_file based on the name of the testcase.
1302 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
1304 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Build
1305 gluefile and use it if needs_status_wrapper is set.
1307 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
1309 * configure.target (ATOMICITYH): Use cpu/generic code on earlier
1312 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
1314 * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
1315 on earlier versions of AIX.
1317 2001-05-15 Benjamin Kosnik <bkoz@redhat.com>
1319 * testsuite_flags.in (query): Add backwards, ext directories.
1321 2001-05-15 Mark Mitchell <mark@codesourcery.com>
1323 * porting.texi: Correct documentation about handling
1324 _LARRGEFILE_SOURCE and its ilk.
1325 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
1326 definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
1328 * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
1329 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
1331 2001-05-15 Zack Weinberg <zackw@stanford.edu>
1333 * testsuite/21_strings/inserters_extractors.cc,
1334 testsuite/27_io/istream_unformatted.cc,
1335 testsuite/27_io/stringstream.cc:
1336 Replace multi-line string constants with C89-style
1337 concatenated string constants.
1339 2001-05-14 Richard Henderson <rth@redhat.com>
1341 * mknumeric_limits: Build with -fno-exceptions.
1343 2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
1345 Switch over to new harness.
1346 * testsuite_flags.in: Tweaks via Gaby.
1347 * testsuite/Makefile.am: Change tool to libstdc++-v3.
1348 (EXPECT): Quote directly.
1350 * configure.in: Output testsuite_flags.
1351 * acinclude.m4: Substitute src, bld, and prefix dirs.
1352 Remove glibcpp_expect, glibcpp_runtestflags.
1353 * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
1354 * mkcheck.in: Port to new interface.
1356 * aclocal.m4: Regerate.
1357 * configure: Regnerate.
1358 * Makefile.in: Regnerate.
1359 * */Makefile.in: Regenerate.
1361 * tests_flags.in: Remove.
1362 * testsuite/lib/libstdc++.exp: Remove.
1363 * testsuite/libstdc++.tests/tests.exp: Remove.
1365 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
1367 * configure.target: Remove detection of AIX pthread multilib, now
1368 obtained from `gcc -v'.
1370 2001-05-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
1372 * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
1373 size. Add hpux case for HP size.
1375 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
1377 * testsuite_flags.in: New, simplified interface.
1378 * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
1379 * testsuite/libstdc++-v3.dg: Add.
1380 * testsuite/libstdc++-v3.dg/dg.exp: Add.
1382 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
1384 * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
1385 * testsuite/config/default.exp: Update bugs email address.
1387 2001-05-11 Richard Henderson <rth@redhat.com>
1389 * libsupc++/eh_personality.cc: Include unwind-pe.h. Remove
1390 all pointer encoding logic.
1391 (struct lsda_header_info): Add ttype_base.
1392 (get_ttype_entry): Use it instead of a context.
1393 (check_exception_spec): Likewise.
1394 (PERSONALITY_FUNCTION): Initialize ttype_base. Store it in
1395 the c++ exception header for __cxa_call_unexpected.
1396 (__cxa_call_unexpected): Use it.
1398 2001-05-09 Benjamin Kosnik <bkoz@redhat.com>
1400 * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
1401 libgloss_link_flags to find crt0.o for targets that use libgloss
1403 Change LDFLAGS to LIBS.
1404 Consistently name procedures libstdc++-XXX.
1405 * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
1407 2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
1409 * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
1414 * include/c_std/bits/std_cwchar.h (wcschr): Same.
1419 * testsuite/21_strings/c_strings.cc: Add tests.
1421 2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
1424 * include/bits/std_fstream.h (basic_filebuf): Change signature.
1425 * include/bits/fstream.tcc (basic_filebuf): Change bool argument
1426 to int_type, pass in buffer size info.
1427 * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
1428 unbuffered situation.
1429 (underflow): Remove codecvt bits for the time being.
1430 * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
1431 * include/bits/locale_facets.tcc (_M_extract): Cache dereference
1432 values from iterators, clean.
1433 * src/locale.cc: Ditto.
1434 * include/bits/sbuf_iter.h: Format.
1435 * src/ios.cc: Explicitly pass in buffer sizes at creation time.
1436 * testsuite/27_io/narrow_stream_objects.cc: Add tests.
1437 * testsuite/27_io/filebuf.cc: Tweaks.
1438 * testsuite/27_io/filebuf_members.cc: Tweaks.
1440 2001-05-07 Mark Mitchell <mark@codesourcery.com>
1442 * config/os/solaris/solaris2.7/bits/os_defines.h
1443 (_LARGEFILE_SOURCE): Define it.
1445 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
1447 * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
1448 -prefer-non-pic depending on whether libtool has shared libraries
1449 enabled or disabled.
1450 * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
1451 $(LIBSUPCXX_PICFLAGS).
1452 * configure, */Makefile.in: Rebuilt.
1454 2001-05-01 Benjamin Kosnik <bkoz@redhat.com>
1456 * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
1457 * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
1459 * include/bits/std_sstream.h (stringbuf): Leak
1461 * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
1463 2001-05-01 Tom Browder <tbrowder@home.com>
1465 * docs/html/ext/howto.html: Fix typo.
1467 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
1469 * testsuite/libstdc++.tests/tests.exp: Add comment.
1471 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
1473 * testsuite/libstdc++.tests/tests.exp: Set ulimits.
1475 2001-04-30 Mark Mitchell <mark@codesourcery.com>
1477 * porting.texi: Use the GFDL.
1479 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
1482 * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
1483 * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
1486 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
1489 * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
1491 2001-04-28 Phil Edwards <pme@sources.redhat.com>
1493 * docs/doxygen/run_doxygen: Minor tweaks.
1494 * docs/doxygen/style.css: New file.
1495 * docs/doxygen/user.cfg.in: Update using "doxygen -u" to get the
1496 latest parameters available. Use style.css.
1498 2001-04-27 Benjamin Kosnik <bkoz@redhat.com>
1500 * docs/doxygen/mainpage.doxy: New.
1501 * docs/doxygen/user.cfg.in: Change default configuration. Single
1502 frame, other tweaks.
1504 2001-04-26 Mark Mitchell <mark@codesourcery.com>
1506 * docs/html/17_intro/BADNAMES: Remove EGCS reference.
1507 Indicate obsolete nature of thelist for G++ 3.0.
1509 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
1511 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
1512 target_thread_file with `gcc -v'.
1513 * aclocal.m4, configure: Rebuilt.
1515 2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
1517 * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
1518 * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
1519 * include/c_std/bits/std_cwchar.h (std): Same.
1520 * acconfig.h (std): Remove c99 injection into std.
1521 * config.h.in: Regenerate.
1523 * testsuite/README: Fix typo.
1525 * include/bits/codecvt.h: Remove warnings.
1527 2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1529 * include/ext/slist: Include required header files.
1531 2001-04-23 Loren J. Rittle <ljrittle@acm.org>
1533 * include/c_std/bits/std_cerrno.h (errno): Define macro from
1534 identifier declared with external linkage, if needed.
1535 * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
1536 * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
1538 2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
1540 * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
1541 re-configures find the build compiler.
1542 (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
1544 * aclocal.m4: Regenerate.
1545 * configure: Regenerate.
1547 2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
1549 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
1550 support is enabled correctly before long long is activated.
1551 * aclocal.m4: Regenerate.
1552 * configure: Regenerate.
1554 * include/backward/backward_warning.h: Format correctly.
1556 * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
1557 * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
1558 * testsuite/26_numerics/c99_macros.cc: Remove.
1560 2001-04-20 Phil Edwards <pme@sources.redhat.com>
1562 * include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
1563 __iterator_category.
1565 2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
1567 * acconfig.h (_GLIBCPP_USE_C99): Add.
1568 * config.h.in: Regenerate.
1569 * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
1571 * aclocal.m4: Regenerate.
1572 * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
1573 * configure: Regenerate.
1574 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
1575 * configure: Regenerate.
1576 * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
1578 * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
1580 * include/c_std/bits/std_cstdlib.h: Same.
1581 * docs/html/configopts.html: Update.
1582 * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
1584 (test_c99_classify): Add.
1585 * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
1586 (_ISOC99_SOURCE): Remove.
1588 * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
1589 * include/bits/c++config (__STL_ASSERTIONS): Simplify.
1590 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
1591 * aclocal.m4: Regenerate.
1592 * configure: Regenerate.
1594 2001-04-19 Phil Edwards <pme@sources.redhat.com>
1596 * Makefile.am (doxygen): Assume script is missing execute perms.
1597 * Makefile.in: Regenerated.
1598 * docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
1600 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
1602 * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
1604 2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
1606 * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
1607 * testsuite/23_containers/set_operators.cc: Same.
1609 * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
1611 (__GLIBCPP__): Bump from value of last release.
1612 * include/bits/concept_check.h: Default to off, edit comments.
1613 * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
1614 * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
1615 * src/Makefile.in: Regenerate.
1617 2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE>
1619 * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
1620 Properly uglify member.
1622 2001-04-13 Phil Edwards <pme@sources.redhat.com>
1624 * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead
1628 2001-04-13 Phil Edwards <pme@sources.redhat.com>
1630 * include/bits/boost_concept_check.h: Uglify, fork from Boost.
1631 * include/bits/concept_check.h: Uglify.
1632 * include/bits/stl_algo.h: Likewise.
1633 * include/bits/stl_algobase.h: Likewise.
1634 * include/bits/stl_deque.h: Likewise.
1635 * include/bits/stl_heap.h: Likewise.
1636 * include/bits/stl_iterator_base_funcs.h: Likewise.
1637 * include/bits/stl_list.h: Likewise.
1638 * include/bits/stl_map.h: Likewise.
1639 * include/bits/stl_multimap.h: Likewise.
1640 * include/bits/stl_multiset.h: Likewise.
1641 * include/bits/stl_numeric.h: Likewise.
1642 * include/bits/stl_queue.h: Likewise.
1643 * include/bits/stl_set.h: Likewise.
1644 * include/bits/stl_stack.h: Likewise.
1645 * include/bits/stl_vector.h: Likewise.
1646 * include/ext/hash_map: Likewise.
1647 * include/ext/hash_set: Likewise.
1648 * include/ext/slist: Likewise.
1650 2001-04-13 Gabriel Dos Reis <gdr@codesourcery.com>
1652 * testsuite/23_containers/set_operators.cc: Just try to compile.
1654 * testsuite/23_containers/map_operators.cc: Same.
1656 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
1658 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
1660 (dg-test): Revert rth's change.
1662 2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
1664 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
1665 terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
1667 2001-04-12 Gabriel Dos Reis <gdr@codesourcery.com>
1669 * testsuite/README: Add DejaGnu specific documentation.
1671 2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
1673 * acinclude.m4: AC_CHECK_TOOL for expect.
1674 * aclocal.m4: Regenerate.
1675 * configure: Regenerate.
1676 * testsuite/Makefile.am (RUNTEST): Use substituted.
1679 * configure.in: Remove xcompiling substitution.
1680 * tests_flags.in (CROSS_LIB_PATH): Remove.
1681 (xcompiling): Remove.
1682 (CXX): Use substituted CXX.
1684 2001-04-11 Richard Henderson <rth@redhat.com>
1686 * testsuite/lib/libstdc++.exp: Specify path for output_file.
1688 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
1690 * include/bits/std_valarray.h(valarray<>::operator[]): Make
1693 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
1695 * testsuite/25_algorithms/equal.cc: New test.
1697 2001-04-06 Joe Buck <jbuck@welsh-buck.org>
1699 * stl_algobase.h (std::equal): avoid use of possibly-undefined
1700 operator != (one line patch).
1702 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
1704 * include/backward/backward_warning.h: Re-enable.
1706 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
1707 Alexandre Oliva <aoliva@redhat.com>
1709 * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
1711 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
1713 * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
1714 * testsuite/26_numerics/c99_macros.cc: Add test.
1716 2001-04-06 Phil Edwards <pme@sources.redhat.com>
1718 * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES.
1719 * docs/html/faq/index.txt: Regenerated.
1721 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
1723 * include/backward/backward_warning.h: Temporarily disable until
1724 g++ testsuite changes go in.
1725 * tests_flags.in (CROSS_LIB_PATH): Add.
1727 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
1729 Warn when using backward headers.
1730 * include/backward/algo.h: Include warning file.
1731 * include/backward/vector.h: Same.
1732 * include/backward/tree.h: Same.
1733 * include/backward/tempbuf.h: Same.
1734 * include/backward/strstream: Same.
1735 * include/backward/streambuf.h: Same.
1736 * include/backward/stream.h: Same.
1737 * include/backward/stack.h: Same.
1738 * include/backward/slist.h: Same.
1739 * include/backward/set.h: Same.
1740 * include/backward/rope.h:
1741 * include/backward/queue.h: Same.
1742 * include/backward/pair.h: Same.
1743 * include/backward/ostream.h: Same.
1744 * include/backward/new.h: Same.
1745 * include/backward/multiset.h: Same.
1746 * include/backward/multimap.h: Same.
1747 * include/backward/map.h: Same.
1748 * include/backward/list.h: Same.
1749 * include/backward/iterator.h: Same.
1750 * include/backward/istream.h: Same.
1751 * include/backward/iostream.h:
1752 * include/backward/iomanip.h:
1753 * include/backward/heap.h: Same.
1754 * include/backward/hashtable.h:
1755 * include/backward/hash_set.h:
1756 * include/backward/hash_map.h:
1757 * include/backward/function.h:
1758 * include/backward/fstream.h:
1759 * include/backward/deque.h:
1760 * include/backward/defalloc.h: Same.
1761 * include/backward/complex.h: Same.
1762 * include/backward/bvector.h:
1763 * include/backward/alloc.h:
1764 * include/backward/algobase.h: Same.
1766 * include/backward/backward_warning.h: New file.
1767 * src/Makefile.am (backward_headers): Add backward_warning.h
1768 * src/Makefile.in: Regenerate.
1770 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
1772 * src/Makefile.am (myinstalldirs): Make sure backward directory is
1774 (myinstallheaders): Install backward headers in backward directory.
1775 * src/Makefile.in: Regenerate.
1777 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
1779 Prepare for libstdc++-2.92.
1780 * docs/html/17_intro/RELEASE-NOTES (New): Update.
1781 * docs/html/configopts.html: Fix formatting.
1782 * README (file): Updates.
1783 * include/bits/c++config (__GLIBCPP__): Update.
1785 2001-04-05 Phil Edwards <pme@sources.redhat.com>
1787 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
1789 2001-04-04 Phil Edwards <pme@sources.redhat.com>
1791 * docs/doxygen/user.cfg.in: Extract all non-private members;
1792 reduce confusing documentation output.
1794 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
1796 * include/backward/fstream.h: Add missing semicolons.
1798 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
1800 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
1801 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
1802 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
1803 (ios_base::Init::_S_ios_create): New.
1804 (ios_base::Init::_S_ios_destroy): New.
1805 * include/bits/std_fstream.h: Change ctor args.
1806 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
1807 (ios_base::Init::~Init): Use _S_ios_destroy.
1808 (ios_base::sync_with_stdio): Use new members.
1809 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
1812 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1814 * include/backward/fstream.h: Expose streampos to global
1817 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1819 * include/bits/stl_iterator_base_types.h: Fix typo
1821 2001-04-03 Andreas Schwab <schwab@suse.de>
1823 * include/backward/fstream.h: Define filebuf and wfilebuf.
1825 2001-04-02 Phil Edwards <pme@sources.redhat.com>
1827 New concept checking implementation.
1828 * docs/html/19_diagnostics/howto.html: Document.
1829 * docs/html/17_intro/concept_check.diff: New file, for reference.
1830 * include/bits/boost_concept_check.h: New file from Boost.
1831 * include/bits/c++config: Update comments.
1833 * include/bits/concept_check.h: New file.
1834 * include/bits/concept_checks.h: Removed.
1835 * include/bits/container_concepts.h: Removed.
1836 * include/bits/sequence_concepts.h: Removed.
1837 * include/bits/stl_iterator_base.h: Removed; split into...
1838 * include/bits/stl_iterator_base_funcs.h: ...this new file...
1839 * include/bits/stl_iterator_base_types.h: ...and this new file.
1841 * include/bits/sbuf_iter.h: Update to use new implementation.
1842 * include/bits/std_iterator.h: Likewise.
1843 * include/bits/std_memory.h: Likewise.
1844 * include/bits/stl_algo.h: Likewise.
1845 * include/bits/stl_algobase.h: Likewise.
1846 * include/bits/stl_construct.h: Likewise.
1847 * include/bits/stl_deque.h: Likewise.
1848 * include/bits/stl_heap.h: Likewise.
1849 * include/bits/stl_list.h: Likewise.
1850 * include/bits/stl_map.h: Likewise.
1851 * include/bits/stl_multimap.h: Likewise.
1852 * include/bits/stl_multiset.h: Likewise.
1853 * include/bits/stl_numeric.h: Likewise.
1854 * include/bits/stl_queue.h: Likewise.
1855 * include/bits/stl_set.h: Likewise.
1856 * include/bits/stl_stack.h: Likewise.
1857 * include/bits/stl_uninitialized.h: Likewise.
1858 * include/bits/stl_vector.h: Likewise.
1859 * include/ext/hash_map: Likewise.
1860 * include/ext/hash_set: Likewise.
1861 * include/ext/slist: Likewise.
1862 * include/ext/stl_hashtable.h: Likewise.
1864 * src/Makefile.am (base_headers): Update list of headers.
1865 * Makefile.in: Regenerated.
1866 * src/Makefile.in: Regenerated.
1867 * libio/Makefile.in: Regenerated.
1868 * libmath/Makefile.in: Regenerated.
1869 * libsupc++/Makefile.in: Regenerated.
1870 * testsuite/Makefile.in: Regenerated.
1872 * docs/html/install.html: Update contact information.
1873 * docs/html/17_intro/howto.html: Ditto.
1874 * docs/html/18_support/howto.html: Ditto.
1875 * docs/html/20_util/howto.html: Ditto.
1876 * docs/html/21_strings/howto.html: Ditto.
1877 * docs/html/22_locale/howto.html: Ditto.
1878 * docs/html/23_containers/howto.html: Ditto.
1879 * docs/html/24_iterators/howto.html: Ditto.
1880 * docs/html/25_algorithms/howto.html: Ditto.
1881 * docs/html/26_numerics/howto.html: Ditto.
1882 * docs/html/27_io/howto.html: Ditto.
1883 * docs/html/faq/index.html: Ditto, plus info on new checking code.
1884 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
1885 * docs/html/faq/index.txt: Regenerated.
1887 2001-04-02 Zack Weinberg <zackw@stanford.edu>
1889 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
1890 messages with $which_library as well as $tool_flags and
1891 ${dg-extra-tool-flags}. Factor out annotation text into
1894 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
1896 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
1897 * include/c_std/bits/std_cwchar.h: Same.
1898 * testsuite/21_strings/c_strings.cc: Add.
1900 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
1902 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
1904 2001-04-01 Zack Weinberg <zackw@stanford.edu>
1906 * tests_flags.in: Use test a = b, not test a == b which is not
1909 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
1911 * configure.target: Remove duplicate aix entry.
1913 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
1915 * include/ext/stl_bvector.h: Move to...
1916 * include/bits/stl_vector.h: ...here.
1917 * include/ext/bvector: Move to...
1918 * include/backward/bvector.h: ...here.
1919 * include/bits/std_vector.h: Change stl_bvector include.
1920 * include/bits/std_queue.h: Remove bvector include.
1921 * include/ext/tree: Insert using rb_tree, move to...
1922 * include/backward/tree.h: ...here.
1923 * include/backward/hash_map.h: Include ext/hash_map.
1924 * include/backward/hash_set.h: Include ext/hash_set.
1925 * include/backward/queue.h: New file.
1926 * include/backward/stack.h: Edit.
1927 * include/backward/algo.h: Same.
1928 * include/backward/algobase.h: Same.
1929 * include/backward/alloc.h: Same.
1930 * include/backward/function.h: Same.
1931 * include/backward/iomanip.h: Same.
1932 * include/backward/istream.h: Same.
1933 * include/backward/iterator.h: Same.
1934 * include/backward/list.h: Same.
1935 * include/backward/map.h: Same.
1936 * include/backward/multimap.h: Same.
1937 * include/backward/multiset.h: Same.
1938 * include/backward/ostream.h: Same.
1939 * include/backward/pair.h: Same
1940 * include/backward/rope.h: Same.
1941 * include/backward/set.h: Same.
1942 * include/backward/stream.h: Same.
1943 * include/backward/strstream.h: Same.
1944 * include/backward/tempbuf.h: Same.
1945 * src/Makefile.am (ext_headers): Edit.
1946 * src/Makefile.in: Regenerate.
1947 * testsuite/ext/headers.cc (main): Fix.
1950 2001-03-30 Phil Edwards <pme@sources.redhat.com>
1952 * tests_flags.in (LIBS): Pass correct path for installed testing.
1954 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
1956 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
1957 * tests_flags.in (CXX): Construct here.
1958 (static_fail): Don't remove compile.out. Format with spaces.
1959 (INCLUDES): Deal with xcompiling.
1960 * configure.in (xcompiling): Substitute.
1961 * testsuite/Makefile.am: Snake libjava configury.
1962 * testsuite/Makefile.in: Regenerate.
1963 * testsuite/23_containers/map_operators.cc: Tweaks.
1964 * testsuite/23_containers/set_operators.cc: Tweaks.
1966 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1968 Enable dejagnu testing framework.
1969 * configure.in: Generate testsuite/Makefile.
1970 * configure: Regenerate.
1971 * Makefile.am (check-install): Change rule from this...
1972 (check-script-install): ...to this.
1973 (check): Change rule from this...
1974 (check-script):...to this.
1975 * Makefile.in: Regenerate.
1977 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
1979 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
1981 (LIBTOOL): Let automake take care of its definition.
1982 * libsupc++/Makefile.in: Rebuilt.
1984 2001-03-28 Richard Henderson <rth@redhat.com>
1986 IA-64 ABI Exception Handling:
1987 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
1988 * configure.in: Use it.
1989 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
1990 * libsupc++/Makefile.am (sources): Update files list.
1991 * libsupc++/Makefile.in: Regenerate.
1992 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
1993 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
1994 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
1995 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
1996 * libsupc++/exception_support.cc: Remove.
1997 * libsupc++/exception_support.h: Remove.
1998 * libsupc++/pure.cc: Use std::terminate.
1999 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
2000 (__is_pointer): Remove.
2001 * libsupc++/unwind-cxx.h: New file.
2002 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
2004 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
2006 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
2008 * src/Makefile.am (CXXLINK): Likewise.
2009 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
2011 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
2013 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
2015 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2017 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
2020 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
2022 * include/bits/basic_file.h (get_fileno): Remove.
2023 (_M_fileno): Remove.
2024 (_M_cfile_created): Add.
2025 (basic_file::basic_file(__c_file_type*, openmode): Add.
2026 (basic_file::basic_file(int, const char*, openmode): Remove.
2027 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
2028 const char*, ios_base::openmode): Don't allocate
2029 internal buffers. Turn off internal buffers.
2030 (basic_filebuf::overflow): Remove test for null buffer.
2031 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
2032 * include/bits/streambuf.cc: Tweak.
2033 * include/bits/std_ostream.h: Tweak.
2034 * config/basic_file_libio.h: Same.
2035 * config/basic_file_stdio.h: Same.
2036 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
2037 * testsuite/27_io/filebuf_members.cc: Tweaks.
2038 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
2040 2001-03-24 Phil Edwards <pme@sources.redhat.com>
2042 * Makefile.am: New targets, doxygen and doxygen-maint.
2043 * Makefile.in: Regenerated.
2044 * docs/doxygen/run_doxygen: Finally implemented.
2045 * docs/doxygen/maint.cfg.in: New file.
2046 * docs/doxygen/user.cfg.in: New file.
2048 2001-03-24 Phil Edwards <pme@sources.redhat.com>
2050 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
2051 * src/Makefile.am: Replace leading spaces with tabs on continuation
2053 * aclocal.m4: Regenerated.
2055 * Makefile.in: Ditto.
2056 * src/Makefile.in: Ditto.
2057 * libio/Makefile.in: Ditto.
2058 * libmath/Makefile.in: Ditto.
2059 * libsupc++/Makefile.in: Ditto.
2061 2001-03-24 Phil Edwards <pme@sources.redhat.com>
2063 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
2064 concept-checking code and current status of same.
2065 * docs/html/ext/howto.html: Ditto.
2066 * docs/html/faq/index.html: Ditto.
2067 * docs/html/faq/index.txt: Regenerated.
2069 2001-03-24 Phil Edwards <pme@sources.redhat.com>
2071 * include/bits/std_bitset.h: Include ostream and istream headers
2072 instead of iostream.
2074 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
2076 * include/bits/ostream.tcc: Use __builtin_alloca.
2078 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
2080 * src/misc-inst.cc (__sink_unused_warning): Move to...
2081 * src/locale-inst.cc (__sink_unused_warning): Move to...
2082 * src/stl-inst.cc: Here.
2083 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
2086 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
2088 * intclude/bits/basic_file.h: Fix typos in comments.
2090 2001-03-20 Richard Henderson <rth@redhat.com>
2092 * src/gen-num-limits.cc: Instantiate for wchar_t.
2093 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
2095 2001-03-20 Jason Merrill <jason@redhat.com>
2097 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
2098 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
2099 * libsupc++/cxxabi.h: Declare it.
2101 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
2103 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
2104 signal_func with an unspecified argument list.
2106 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
2108 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
2110 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2112 * include/bits/basic_string.tcc (operator+): Fix thinko.
2114 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
2117 * include/bits/std_streambuf.h: Remove cached locale facets.
2118 (basic_streambuf::_M_buf_fctype): Remove.
2119 (basic_streambuf::~basic_streambuf): Remove here.
2120 (basic_streambuf::basic_streambuf): Same.
2121 (basic_streambuf::imbue): Same.
2122 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
2123 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
2124 (basic_filebuf::~basic_filebuf()): Remove here.
2125 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
2126 (basic_filebuf::imbue): Same.
2127 * include/bits/localefwd.h (_Count_ones): Remove.
2128 (locale::_S_num_categories): Just use 6, since this doesn't
2129 actually change, ever.
2130 * include/bits/locale_facets.tcc (has_facet): Simplify.
2132 * testsuite/27_io/filebuf.cc (test06): Add tests.
2134 2001-03-13 Steve Ellcey <sje@cup.hp.com>
2136 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
2137 match HP-UX ctype.h header file.
2139 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
2141 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
2142 duplicate definitions of __dj_ctype_*
2144 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
2146 * libsupc++/new: Remove pragma interface.
2147 * libsupc++/typeinfo: Same.
2148 * libsupc++/exception: Same.
2149 * libsupc++/new_handler.cc: Remove pragma implementation.
2150 (bad_alloc::~bad_alloc()): Add.
2151 * libsupc++/exception_support.cc: Same.
2152 (exception::~exception): Add.
2153 (bad_exception::~bad_exception): Add.
2154 * libsupc++/tinfo.cc: Same.
2155 (bad_cast::~bad_cast): Add.
2156 (bad_typeid::~bad_typeid): Add.
2158 2001-03-13 Phil Edwards <pme@sources.redhat.com>
2160 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
2162 2001-03-12 Felix Lee <flee@redhat.com>
2164 * mkcheck.in: workaround for bash 2.01 IFS bug.
2166 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
2168 Fixups for -fno-for-scope
2169 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
2170 * src/valarray-inst.cc (__gslice_to_index): Same.
2172 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
2174 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
2175 prior to trapping signal (UnixWare 7 workaround).
2177 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
2179 * include/backward/hashtable.h: Same.
2180 * include/backward/rope.h: Fix include.
2182 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
2184 * include/backward/vector.h: Include std_vector.h.
2186 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
2187 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
2190 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2192 * include/ext/stl_hashtable.h: Change type of __n to size_t
2193 * include/backward/bvector.h: Include <ext/stl_bvector.h>
2195 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2197 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
2198 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
2199 Use streamsize, not int_type.
2201 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
2203 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
2206 2001-03-08 Andreas Schwab <schwab@suse.de>
2208 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
2210 * aclocal.m4, configure: Regenerated.
2212 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
2214 * include/bits/std_iosfwd.h: Remove string forward decls here.
2215 * include/bits/stringfwd.h: Add forward decls for char_traits
2217 * config/c_io_libio.h (wstreamoff): Delete.
2218 * config/c_io_stdio.h (wstreamoff): Same.
2219 * include/bits/char_traits.h: Use streamoff not wstreamoff for
2220 char_traits<wchar_t>::off_type.
2221 Remove duplicate typedefs.
2222 * include/bits/fpos.h: Define streampos/wstreampos here.
2223 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
2226 Changeup output files.
2227 * testsuite/27_io/istream_unformatted.cc: Change output files.
2228 * testsuite/27_io/istream_seeks-1.txt: Add.
2229 * testsuite/27_io/istream_seeks-2.tst: Add.
2230 * testsuite/27_io/istream_seeks-1.tst: Add.
2231 * testsuite/27_io/istream_unformatted-2.tst: Delete.
2232 * testsuite/27_io/istream_unformatted-3.tst: Delete.
2233 * testsuite/27_io/istream_unformatted-3.txt: Delete.
2235 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
2237 Add Irix 5.2, 6.3 support.
2238 * config/os/irix/bits: Renamed to...
2239 * config/os/irix/irix6.5/bits: this.
2240 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
2241 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
2242 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
2243 * config/os/irix/irix5.2/bits/ctype_noninline.h
2244 (ctype<char>::ctype): Initialize _M_table with __ctype.
2245 * configure.target: Adjust.
2247 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
2250 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
2251 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
2253 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
2254 (*__pf)(__ios_type&)): Same.
2255 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
2256 (*__pf)(ios_base&))): Same.
2257 * testsuite/27_io/istream_extractor_other.cc: Add tests.
2258 * testsuite/27_io/istream_manip.cc (test01): Fix.
2260 2001-03-06 Nathan Myers <ncm@cantrip.org>
2261 Benjamin Kosnik <bkoz@redhat.com>
2263 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
2264 * testsuite/17_intro/header_cerrno.cc (test01): New file.
2265 * testsuite/17_intro/header_cassert.cc (test01): New file.
2266 * testsuite/17_intro/header_cstddef.cc (test01): New file.
2267 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
2268 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
2270 2001-03-05 scott snyder <snyder@fnal.gov>
2273 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
2275 * include/c_std/bits/std_cstdlib.h: ... to here.
2276 * testsuite/17_intro/header_cstdlib.cc: Add test.
2278 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
2280 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
2282 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
2284 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
2285 definition. Replace enum with static const variables.
2287 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
2288 throw specification, fix typos, use <static_cast>.
2289 (ctype<char>::scan_is): remove throw specification.
2290 (ctype<char>::scan_not): likewise.
2292 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
2293 (ctype<char>::do_toupper(char)): use <static_cast>.
2294 (ctype<char>::do_toupper(char *, const char *)): likewise.
2295 (ctype<char>::do_tolower(char)): likewise.
2296 (ctype<char>::do_tolower(char *, const char *)): likewise.
2298 2001-03-04 Phil Edwards <pme@sources.redhat.com>
2300 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
2301 * include/backward/algo.h: Use std not __STD. Remove unneeded
2302 macros and "never happens" code. Adjust to C++STYLE guidelines.
2303 * include/backward/algobase.h: Likewise.
2304 * include/backward/alloc.h: Likewise.
2305 * include/backward/bvector.h: Likewise.
2306 * include/backward/deque.h: Likewise.
2307 * include/backward/function.h: Likewise.
2308 * include/backward/hash_map.h: Likewise.
2309 * include/backward/hash_set.h: Likewise.
2310 * include/backward/hashtable.h: Likewise.
2311 * include/backward/heap.h: Likewise.
2312 * include/backward/iterator.h: Likewise.
2313 * include/backward/list.h: Likewise.
2314 * include/backward/map.h: Likewise.
2315 * include/backward/multimap.h: Likewise.
2316 * include/backward/multiset.h: Likewise.
2317 * include/backward/pair.h: Likewise.
2318 * include/backward/rope.h: Likewise.
2319 * include/backward/set.h: Likewise.
2320 * include/backward/slist.h: Likewise.
2321 * include/backward/stack.h: Likewise.
2322 * include/backward/strstream: Likewise.
2323 * include/backward/tempbuf.h: Likewise.
2324 * include/backward/tree.h: Likewise.
2325 * include/backward/vector.h: Likewise.
2326 * include/bits/basic_ios.h: Likewise.
2327 * include/bits/basic_ios.tcc: Likewise.
2328 * include/bits/basic_string.h: Likewise.
2329 * include/bits/c++config: Likewise.
2330 * include/bits/concept_checks.h: Likewise.
2331 * include/bits/fpos.h: Likewise.
2332 * include/bits/fstream.tcc: Likewise.
2333 * include/bits/functexcept.h: Likewise.
2334 * include/bits/ios_base.h: Likewise.
2335 * include/bits/istream.tcc: Likewise.
2336 * include/bits/mask_array.h: Likewise.
2337 * include/bits/ostream.tcc: Likewise.
2338 * include/bits/pthread_allocimpl.h: Likewise.
2339 * include/bits/sbuf_iter.h: Likewise.
2340 * include/bits/slice.h: Likewise.
2341 * include/bits/slice_array.h: Likewise.
2342 * include/bits/sstream.tcc: Likewise.
2343 * include/bits/std_bitset.h: Likewise.
2344 * include/bits/std_fstream.h: Likewise.
2345 * include/bits/std_iomanip.h: Likewise.
2346 * include/bits/std_ios.h: Likewise.
2347 * include/bits/std_istream.h: Likewise.
2348 * include/bits/std_iterator.h: Likewise.
2349 * include/bits/std_memory.h: Likewise.
2350 * include/bits/std_ostream.h: Likewise.
2351 * include/bits/std_sstream.h: Likewise.
2352 * include/bits/std_streambuf.h: Likewise.
2353 * include/bits/std_string.h: Likewise.
2354 * include/bits/std_valarray.h: Likewise.
2355 * include/bits/stl_algo.h: Likewise.
2356 * include/bits/stl_algobase.h: Likewise.
2357 * include/bits/stl_alloc.h: Likewise.
2358 * include/bits/stl_construct.h: Likewise.
2359 * include/bits/stl_deque.h: Likewise.
2360 * include/bits/stl_function.h: Likewise.
2361 * include/bits/stl_heap.h: Likewise.
2362 * include/bits/stl_iterator.h: Likewise.
2363 * include/bits/stl_iterator_base.h: Likewise.
2364 * include/bits/stl_list.h: Likewise.
2365 * include/bits/stl_map.h: Likewise.
2366 * include/bits/stl_multimap.h: Likewise.
2367 * include/bits/stl_multiset.h: Likewise.
2368 * include/bits/stl_numeric.h: Likewise.
2369 * include/bits/stl_pair.h: Likewise.
2370 * include/bits/stl_pthread_alloc.h: Likewise.
2371 * include/bits/stl_queue.h: Likewise.
2372 * include/bits/stl_raw_storage_iter.h: Likewise.
2373 * include/bits/stl_relops.h: Likewise.
2374 * include/bits/stl_set.h: Likewise.
2375 * include/bits/stl_stack.h: Likewise.
2376 * include/bits/stl_tempbuf.h: Likewise.
2377 * include/bits/stl_threads.h: Likewise.
2378 * include/bits/stl_tree.h: Likewise.
2379 * include/bits/stl_uninitialized.h: Likewise.
2380 * include/bits/stl_vector.h: Likewise.
2381 * include/bits/streambuf.tcc: Likewise.
2382 * include/bits/type_traits.h: Likewise.
2383 * include/bits/valarray_meta.h: Likewise.
2384 * include/ext/bvector: Likewise.
2385 * include/ext/hash_map: Likewise.
2386 * include/ext/hash_set: Likewise.
2387 * include/ext/ropeimpl.h: Likewise.
2388 * include/ext/slist: Likewise.
2389 * include/ext/stl_bvector.h: Likewise.
2390 * include/ext/stl_hash_fun.h: Likewise.
2391 * include/ext/stl_hashtable.h: Likewise.
2392 * include/ext/stl_rope.h: Likewise.
2393 * src/complex_io.cc: Likewise.
2394 * src/ios.cc: Likewise.
2395 * src/locale-inst.cc: Likewise.
2396 * src/locale.cc: Likewise.
2397 * src/localename.cc: Likewise.
2398 * src/misc-inst.cc: Likewise.
2399 * src/stdexcept.cc: Likewise.
2400 * src/stl-inst.cc: Likewise.
2401 * src/strstream.cc: Likewise.
2402 * src/valarray-inst.cc: Likewise.
2404 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
2406 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
2408 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2410 * include/bits/istream.tcc: change type of __extracted to __size_type
2412 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
2414 * src/wstring-inst.cc: New file.
2415 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
2416 (libinst_wstring_la_SOURCES): Remove.
2417 (libstdc___la_LIBADD): Remove libinst_wstring_la.
2418 (sources): Add wstring-inst.cc
2419 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
2422 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2424 * src/locale.cc: initialise __ret with zero
2425 * src/strstream.cc:cast gptr to int_type
2427 2001-03-01 Phil Edwards <pme@sources.redhat.com>
2429 * docs/html/faq/index.html: Update broken links.
2430 * docs/html/faq/index.txt: Regenerated.
2432 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
2435 * configure.target: Change irix* to irix6.5* in target_os table.
2437 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
2440 * include/bits/c++config (__GLIBCPP__): Bump number in
2441 anticipation of 2.92.
2443 * include/bits/codecvt.h: Fix typo.
2444 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
2446 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
2447 instantiations for stdio model.
2449 2001-02-28 Phil Edwards <pme@sources.redhat.com>
2451 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
2452 and GLIBCPP_CXXFLAGS as unused variables.
2453 * configure.host: Likewise.
2454 * configure.target: Likewise.
2455 * aclocal.m4: Regenerated.
2456 * configure: Regenerated.
2457 * Makefile.in: Regenerated.
2458 * libio/Makefile.in: Regenerated.
2459 * libmath/Makefile.in: Regenerated.
2460 * libsupc++/Makefile.in: Regenerated.
2461 * src/Makefile.in: Regenerated.
2463 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
2466 * include/bits/basic_file.h: Include basic_file_model.h.
2467 * config/c_io_libio.cc: Move to...
2468 * config/basic_file_libio.cc: Here.
2469 * config/basic_file_libio.h: New file.
2470 * config/c_io_stdio.cc: Move to...
2471 * config/basic_file_stdio.cc: Here.
2472 * config/basic_file_stdio.h: New file.
2473 * config/c_io_libio.h: Tweak.
2474 * config/c_io_stdio.h: Tweak.
2475 * src/Makefile.am (build_headers): Add basic_file_model.h.
2476 (sources): Add basic_file.cc, remove c++io.cc.
2477 * src/Makefile.in: Regenerate.
2478 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
2479 basic_file_model.h and basic_file.cc.
2480 * aclocal.m4: Regenerate.
2481 * configure: Regenerate.
2482 * testsuite/27_io/filebuf.cc (test05): Add regression.
2484 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
2487 * config/cpu/alpha/bits/atomicity.h: Change.
2488 * config/cpu/arm/bits/atomicit3y.h
2489 * config/cpu/generic/bits/atomicity.h
2490 * config/cpu/i386/bits/atomicity.h
2491 * config/cpu/i486/bits/atomicity.h
2492 * config/cpu/ia64/bits/atomicity.h
2493 * config/cpu/powerpc/bits/atomicity.h
2494 * config/cpu/sparc/sparc32/bits/atomicity.h
2495 * config/cpu/sparc/sparc64/bits/atomicity.h
2496 * config/os/aix/bits/atomicity.h
2497 * config/os/irix/bits/atomicity.h
2499 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
2501 * include/bits/std_stdexcept.h (runtime_error): Make string
2503 (logic_error): Same.
2504 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
2507 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
2511 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
2512 string object, not reference.
2513 (runtime_error::runtime_error): Same.
2514 * testsuite/19_diagnostics/stdexceptions.cc: New file.
2516 2001-02-26 Phil Edwards <pme@sources.redhat.com>
2518 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
2519 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
2520 diagnostics. Remove WFMT_FLAGS.
2521 * configure.in: Replace WFMT_FLAGS with diagnostics options.
2522 * libsupc++/Makefile.am: Likewise.
2523 * src/Makefile.am: Likewise.
2524 * aclocal.m4: Regenerated.
2525 * configure: Regenerated.
2526 * Makefile.in: Regenerated.
2527 * libio/Makefile.in: Regenerated.
2528 * libmath/Makefile.in: Regenerated.
2529 * libsupc++/Makefile.in: Regenerated.
2530 * src/Makefile.in: Regenerated.
2532 2001-02-26 Phil Edwards <pme@sources.redhat.com>
2534 Fixes libstdc++/2079
2535 * include/backward/iomanip.h: Expose <ios> manipulators to global
2537 * include/backward/iostream.h: Also expose std::ws.
2539 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
2541 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
2543 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
2545 * include/bits/codecvt.h: Use __builtin_alloca.
2546 * include/bits/ostream.tcc: Same.
2547 * include/bits/fstream.tcc: Same.
2549 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
2551 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
2553 2001-02-23 David Edelsohn <dje@watson.ibm.com>
2555 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
2557 2001-02-23 Phil Edwards <pme@sources.redhat.com>
2560 * include/backward/iostream.h: Expose std::flush in old headers.
2562 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2564 * mknumeric_limits: Remove special-casing on target. Use gcc
2565 instead of g++ to build gen-num-limits.cc
2567 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
2569 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
2571 * include/bits/codecvt.h: Use alloca instead of __extension__ for
2573 * include/bits/ostream.tcc: Same.
2574 * include/bits/std_ostream.h: Same.
2575 * include/bits/fstream.tcc: Same.
2576 * include/bits/locale_facets.tcc: Add typename.
2577 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
2579 2001-02-21 Phil Edwards <pme@sources.redhat.com>
2581 * tests_flags.in: Remove -n flag from call to echo.
2583 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
2585 * config/c_locale_gnu.h: Add clocale include.
2587 2001-02-20 Phil Edwards <pme@sources.redhat.com>
2589 * include/bits/stl_config.h: Remove file.
2590 * src/Makefile.am (base_headers): Remove from list.
2591 * configure: Regenerate.
2592 * Makefile.in: Ditto.
2593 * libio/Makefile.in: Ditto.
2594 * libmath/Makefile.in: Ditto.
2595 * libsupc++/Makefile.in: Ditto.
2596 * src/Makefile.in: Ditto.
2598 * include/bits/c++config: Move relevant macros to here.
2599 * include/backward/alloc.h: Include c++config.h instead.
2600 * include/backward/function.h: Ditto.
2601 * include/backward/heap.h: Ditto.
2602 * include/backward/pair.h: Ditto.
2603 * include/bits/pthread_allocimpl.h: Ditto.
2604 * include/bits/std_functional.h: Ditto.
2605 * include/bits/std_iterator.h: Ditto.
2606 * include/bits/std_numeric.h: Ditto.
2607 * include/bits/std_utility.h: Ditto.
2608 * include/bits/stl_algobase.h: Ditto.
2609 * include/bits/type_traits.h: Ditto.
2610 * src/stl-inst.cc: Ditto.
2612 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2614 * include/bits/basic_file.h: Add #pragma system_header
2615 * include/bits/basic_ios.h: Ditto.
2616 * include/bits/basic_string.h: Ditto.
2617 * include/bits/char_traits.h: Ditto.
2618 * include/bits/codecvt.h: Ditto.
2619 * include/bits/cpp_type_traits.h: Ditto.
2620 * include/bits/fpos.h: Ditto.
2621 * include/bits/gslice.h: Ditto.
2622 * include/bits/gslice_array.h: Ditto.
2623 * include/bits/indirect_array.h: Ditto.
2624 * include/bits/ios_base.h: Ditto.
2625 * include/bits/limits_generic.h: Ditto.
2626 * include/bits/locale_facets.h: Ditto.
2627 * include/bits/localefwd.h: Ditto.
2628 * include/bits/mask_array.h: Ditto.
2629 * include/bits/sbuf_iter.h: Ditto.
2630 * include/bits/sequence_concepts.h: Ditto.
2631 * include/bits/slice.h: Ditto.
2632 * include/bits/slice_array.h: Ditto.
2633 * include/bits/std_algorithm.h: Likewise.
2634 * include/bits/std_bitset.h: Likewise.
2635 * include/bits/std_complex.h: Likewise.
2636 * include/bits/std_deque.h: Likewise.
2637 * include/bits/std_fstream.h: Likewise.
2638 * include/bits/std_functional.h: Likewise.
2639 * include/bits/std_iomanip.h: Likewise.
2640 * include/bits/std_ios.h: Likewise.
2641 * include/bits/std_iosfwd.h: Likewise.
2642 * include/bits/std_iostream.h: Likewise.
2643 * include/bits/std_istream.h: Likewise.
2644 * include/bits/std_iterator.h: Likewise.
2645 * include/bits/std_list.h: Likewise.
2646 * include/bits/std_locale.h: Likewise.
2647 * include/bits/std_map.h: Likewise.
2648 * include/bits/std_memory.h: Likewise.
2649 * include/bits/std_numeric.h: Likewise.
2650 * include/bits/std_ostream.h: Likewise.
2651 * include/bits/std_queue.h: Likewise.
2652 * include/bits/std_set.h: Likewise.
2653 * include/bits/std_sstream.h: Likewise.
2654 * include/bits/std_stack.h: Likewise.
2655 * include/bits/std_stdexcept.h: Likewise.
2656 * include/bits/std_streambuf.h: Likewise.
2657 * include/bits/std_string.h: Likewise.
2658 * include/bits/std_utility.h: Likewise.
2659 * include/bits/std_valarray.h: Likewise.
2660 * include/bits/std_vector.h: Likewise.
2661 * include/bits/stringfwd.h: Likewise.
2662 * include/bits/type_traits.h: Likewise.
2663 * include/bits/valarray_array.h: Likewise.
2664 * include/bits/valarray_meta.h: Likewise.
2666 2001-02-19 Andreas Jaeger <aj@suse.de>
2668 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
2671 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
2674 * include/bits/std_ostream.h: Replaced usage of
2675 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
2676 * include/bits/char_traits.h: Removed non-standard
2677 methods that cannot be used elsewhere.
2680 * include/bits/basic_ios.h: Uncommented #include of
2684 * include/bits/codecvt.h: See next...
2685 * include/bits/fstream.tcc: See next...
2686 * include/bits/ostream.tcc: Add __extension__
2687 to variable-length arrays.
2690 * include/bits/localefwd.h: Changed int counter type to size_t.
2693 * include/bits/std_fstream.h: Added typedef for __ctype_type.
2695 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
2697 * testsuite/21_strings/char_traits.cc: Move to ...
2698 * testsuite/21_strings/char_traits_requirements.cc: ..here.
2699 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
2700 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
2702 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
2704 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
2707 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
2709 * include/bits/c++config: Revert.
2711 2001-02-15 Mark Mitchell <mark@codesourcery.com>
2713 * include/bits/istream.tcc: Use ios_base::iostate in place of
2714 iostate throughout. Insert `typename' keyword where necessary.
2715 * include/bits/ostream.tcc: Insert `typename' keyword where
2718 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
2720 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
2721 Define so library is compliant.
2723 2001-02-15 Anthony Green <green@redhat.com>
2725 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
2727 * aclocal.m4: Regenerate.
2728 * configure: Regenerate.
2730 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
2732 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
2733 Include ieeefp.h for fpclass on UnixWare{2,7}.
2734 * aclocal.m4: Regenerate.
2735 * configure: Regenerate.
2736 * mkcheck.in (size_command): Do without GNU-grep when using
2739 2001-02-15 Mark Mitchell <mark@codesourcery.com>
2741 Remove old ABI support from libsupc++.
2742 * libsupc++/cxxabi.h: Remove conditionally compiled code.
2743 * libsupc++/exception_support.cc: Likewise.
2744 * libsupc++/pure.cc: Likewise.
2745 * libsupc++/tinfo.cc: Likewise.
2746 * libsupc++/tinfo.h: Likewise.
2747 * libsupc++/tinfo2.cc: Likewise.
2748 * libsupc++/typeinfo: Likewise.
2749 * libsupc++/vec.cc: Likewise.
2751 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
2753 Add support for -fno-exceptions.
2754 * include/bits/exception_support.h: Remove.
2755 * include/bits/basic_string.h: Remove exception_support.
2756 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
2758 (string::substr): Same.
2759 * include/bits/basic_string.tcc (string::reserve): Replace
2760 __LENGTHERROR with __throw_length_error.
2761 (string::_S_create): Same.
2762 (string::resize): Same.
2763 (string::_M_replace): Same.
2764 (string::replace): Same.
2765 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
2766 (string::compare): Same.
2767 * include/bits/stl_vector.h: Remove exception_support.
2768 * src/Makefile.am (base_headers): Remove here.
2769 * src/Makefile.in: Regenerate.
2771 * include/bits/stl_range_errors.h: Remove.
2772 * include/bits/stl_deque.h: Use __throw_range_error.
2773 * include/bits/std_deque.h: Include functexcept.h.
2774 * include/bits/std_vector.h: Same.
2775 * src/Makefile.am (base_headers): Remove here.
2776 * src/Makefile.in: Regenerate.
2777 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
2778 * include/ext/bvector: Remove stl_range_errors.h
2780 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
2782 * include/bits/functexcept.h: New file.
2783 * src/functexcept.cc: New file. Definitions for function-based
2785 * src/Makefile.am (sources): Add functexcept.cc.
2786 * src/Makefile.in: Regenerate.
2788 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
2791 * include/bits/localefwd.h: Include functexcept.h.
2792 * include/bits/std_iosfwd.h: Same.
2794 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
2795 throw basic_ios::failure.
2796 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
2797 Use __throw_exception_again.
2798 (filebuf::_M_filebuf_init): Same.
2799 * include/bits/streambuf.tcc (__copy_streambufs): Same.
2800 * include/bits/ostream.tcc (ostream::operator<<): Same.
2801 * include/bits/istream.tcc (istream::operator>>): Same.
2802 * include/bits/basic_string.tcc (string::_M_mutate): Same.
2803 (string::_S_construct): Same.
2804 (string::_M_clone): Same.
2805 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
2807 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
2808 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
2809 __throw_exception_again.
2810 (locale::_Imp::_Imp(string, size_t): Same.
2811 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
2812 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
2813 (locale::locale(const char*)): Use __throw_runtime_error.
2814 (locale::classic): Use __throw_exception_again.
2815 (locale::_S_normalize_category): Use __throw_runtime_error.
2817 * src/stdexcept.cc: Remove cruft.
2819 * libsupc++/exception_defines.h: New file.
2820 * libsupc++/new_opnt.cc: Include exception_defines.h.
2821 * libsupc++/vec.cc: Same.
2822 (__cxa_vec_new2): Use __throw_exception_again.
2823 (__cxa_vec_new3): Same.
2824 (__cxa_vec_ctor): Same.
2825 (__cxa_vec_delete3): Same.
2826 (__cxa_vec_cctor): Same.
2827 (__cxa_vec_delete2): Same.
2828 (__cxa_vec_dtor): Same.
2829 * libsupc++/exception_support.cc: Include exception_defines.h. Only
2830 compile exception-handling bits if __EXCEPTIONS is defined.
2831 Remove old ABI support.
2832 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
2833 std::__throw_bad_alloc() instead of throw bad_alloc.
2834 * libsupc++/Makefile.am: Add exception_defines.h.
2835 * libsupc++/Makefile.in: Reformat.
2836 * libsupc++/*: Format.
2838 2001-02-15 Phil Edwards <pme@sources.redhat.com>
2840 * docs/html/configopts.html: Minor updates and typo fixes.
2841 * docs/html/faq/index.html: Updates of the "not really bugs" list.
2842 * docs/html/faq/index.txt: Regenerated.
2844 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
2846 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
2847 dejagnu/dg.exp. Adapt to log options used to run testcases.
2849 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2851 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
2854 2001-02-13 Dirk Mueller <dmuell@gmx.net>
2855 Phil Edwards <pme@sources.redhat.com>
2857 * include/backward/function.h: Do not use rel_ops for older
2859 * include/backward/pair.h: Likewise.
2861 2001-02-12 Mark Mitchell <mark@codesourcery.com>
2863 * src/locale.cc: Remove bogus locale::id definitions.
2865 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2867 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
2868 not _DEFINE_VALARRAY_OPERATOR which is not existent.
2870 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
2871 thinko in member initialisation.
2873 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
2875 * include/bits/std_valarray.h(valarray<>::shift): Avoid
2876 comparaison between signed and unsigned integer types.
2877 (valarray<>::cshift): Reformat.
2879 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
2881 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
2882 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
2883 * configure.in: Test for sigsetjmp.
2884 * configure, config.h.in: Rebuilt.
2886 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
2888 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
2889 lengths and strides.
2890 (__gslice_to_index): Document.
2892 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
2894 * include/bits/char_traits.h char_traits<char>::int_type: Change
2895 to `int' to match 21.1.3.1/2.
2897 * testsuite/21_strings/char_traits-int_type.C: New test.
2899 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
2901 * testsuite/Makefile.am: New file.
2903 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
2905 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
2907 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
2909 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
2911 2001-02-08 David Edelsohn <edelsohn@gnu.org>
2913 * configure.target (aix4*): Remove extra set of brackets.
2915 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
2918 * include/bits/stringfwd.h: New file.
2919 * include/bits/stl_string_fwd.h: Remove.
2920 * include/bits/localefwd.h: Remove declaration for allocator.
2921 * include/bits/std_iosfwd: Same.
2922 * include/bits/std_string.h: Include it.
2923 * include/bits/std_ios.h: Remove include.
2924 * include/bits/basic_string.h: Tweak.
2925 * libsupc++/new: Format.
2926 * src/Makefile.am (base_headers): Add stringfwd.h, remove
2928 * src/Makefile.in: Regenerate.
2929 * include/bits/std_stdexcept.h: Rewrite.
2930 * src/stdexcept.cc: Same.
2932 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
2934 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
2935 install locations too.
2936 * aclocal.m4: Regenerate.
2937 * configure.in: Remove USE_LIBDIR.
2938 * configure: Regenerate.
2939 * src/Makefile.am (toolexecdir): Simplify, use
2940 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
2941 * src/Makefile.in: Regenerate.
2942 * libsupc++/Makefile.am: Same.
2943 * libsupc++/Makefile.in: Regenerate.
2945 * src/Makefile.am: Just remove special rules for locale-inst.cc and
2946 misc-inst.cc as no longer necessary.
2948 Follow C++STYLE for naming non-static functions.
2949 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
2951 * include/bits/streambuf.tcc: Same.
2952 * include/bits/ostream.tcc: Same.
2953 * include/bits/istream.tcc: Same.
2954 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
2955 (_S_output_float): To __output_float.
2956 * include/bits/std_streambuf.h (_S_copy_streambufs): To
2958 * include/bits/locale_facets.tcc (_S_build_float_format): To
2959 __build_float_format.
2960 (_S_format): To __output_integer.
2961 (_S_fill): To __pad.
2962 * src/locale.cc: Same.
2963 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
2965 * include/bits/locale_facets.tcc (_S_group_digits): To
2967 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
2968 for collate, numpunct.
2970 2001-02-06 Phil Edwards <pme@sources.redhat.com>
2972 * docs/html/configopts.html: Fix HTML markup.
2973 * docs/html/install.html: Bring up to date.
2974 * docs/html/17_intro/C++STYLE: Add global variable conventions.
2975 * docs/html/21_strings/howto.html: More notes.
2976 * docs/html/22_locale/howto.html: Fix HTML markup.
2977 * docs/html/27_io/howto.html: More notes.
2978 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
2979 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
2981 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
2983 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
2984 to match header files.
2985 (_S_output_float): Likewise.
2986 (_S_copy_streambufs): Likewise.
2988 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
2989 Phil Edwards <pme@sources.redhat.com>
2991 * include/bits/std_istream.h (op>> signed,unsigned char): Must
2992 use reinterpret_cast, not static_cast.
2994 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
2996 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
2997 * aclocal.m4: Regenerate.
2998 * configure: Regenerate.
3000 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
3002 * include/bits/locale_facets.h (class moneypunct): Fix typos.
3003 * libsupc++/pure.cc: Revert.
3005 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
3007 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
3008 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
3009 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
3010 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
3011 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
3012 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
3013 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
3014 * aclocal.m4: Regenerate.
3015 * configure: Regenerate.
3017 2001-02-05 Mark Mitchell <mark@codesourcery.com>
3019 * include/bits/locale_facets.tcc: Remove `static' keyword on
3020 function definitions.
3021 * include/bits/std_streambuf.h: Likewise.
3022 * src/Makefile.am: Remove use of -fimplicit-templates.
3023 * src/Makefile.in: Regenerated.
3024 * src/locale-inst.cc: Explicitly instantiate more functions.
3025 * src/misc-inst.cc: Likewise.
3026 * src/string-inst.cc: Likewise.
3028 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
3030 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
3031 macro. Consolidate all the bits to do with where includes might be
3033 * aclocal.m4: Regenerate.
3034 * configure.in: Use it.
3035 * configure: Regenerate.
3036 * src/Makefile.am (targetincludep): Use simplified rules.
3037 (targetincludep): Rename gxx_target_include_dir.
3038 (myincludep): Rename gxx_include_dir.
3039 * src/Makefile.in: Regenerate.
3040 * libsupc++/Makefile.am: Use simplified rules.
3041 * libsupc++/Makefile.in: Regenerate.
3043 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
3045 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
3046 * include/c_std/bits/std_cctype.h: Same.
3047 * include/c_std/bits/std_cassert.h: Same.
3048 * include/c_std/bits/std_cstdarg.h: Same.
3049 * include/c_std/bits/std_cstddef.h: Same.
3051 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
3053 * include/c_std/bits/std_ctime.h: Same.
3054 * include/c_std/bits/std_clocale.h: Same.
3055 * include/c_std/bits/std_cmath.h: Same.
3056 * include/c_std/bits/std_csetjmp.h: Same.
3057 * include/c_std/bits/std_csignal.h: Same.
3058 * include/c_std/bits/std_cstring.h: Same.
3059 * include/c_std/bits/std_cstdlib.h: Same.
3060 * include/c_std/bits/std_cwchar.h: Same.
3062 2001-02-05 Phil Edwards <pme@sources.redhat.com>
3064 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
3066 2001-02-05 Mark Mitchell <mark@codesourcery.com>
3068 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
3069 (string::_S_construct): Likewise.
3071 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
3073 * testsuite/config/default.exp: New file.
3074 * testsuite/config: New directory.
3076 2001-02-04 Mark Mitchell <mark@codesourcery.com>
3078 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
3079 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
3080 whenever !__GXX_MERGED_TYPEINFO_NAMES.
3081 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
3083 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
3084 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
3086 * Makefile.am (mkinstalldirs): Set.
3087 * src/Makefile.am (mkinstalldirs): Set.
3088 * libmath/Makefile.am (mkinstalldirs): Set.
3089 * libsup++/Makefile.am (mkinstalldirs): Set.
3090 * libio/Makefile.am (mkinstalldirs): Set.
3091 * */Makefile.in: Regenerate.
3093 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
3095 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
3096 * include/bits/localefwd.h: More initialization cleanups.
3098 2001-02-03 Jeffrey A Law <law@cygnus.com>
3100 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
3101 correctly targets with 16bit ints.
3102 (_S_ios_openmode_end): Similarly.
3103 (_S_ios_iostate_end): Similarly.
3104 (_S_ios_Seekdir_end): Similarly.
3106 2001-02-02 Phil Edwards <pme@sources.redhat.com>
3108 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
3110 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
3112 * configure.in (toplevel_srcdir, auxdir): Set.
3113 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
3114 * aclocal.m4, configure, Makefile.in: Rebuilt.
3115 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
3116 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
3117 * libsupc++-v3/Makefile.in: Rebuilt.
3118 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
3119 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
3121 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
3123 * config/c_locale_generic.cc: Remove langinfo include.
3125 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
3127 Preliminary named locales.
3128 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
3129 * aclocal.m4: Regenerate.
3130 * configure.in: Use it.
3131 * configure: Regerate.
3132 * src/Makefile.am (sources): Add c++locale.cc.
3133 (build_headers): Add c++locale.h.
3134 * src/Makefile.in: Regenerate.
3135 * config/c_locale_gnu.h: New file.
3136 * config/c_locale_gnu.cc: New file. Non-inline member functions
3137 for named locales, gnu-specific.
3138 * config/c_locale_generic.h: New file.
3139 * config/c_locale_generic.cc: New file. Non-inline member
3140 functions for named locales, generic version.
3141 * docs/html/configopts.html: Add documentation on new options.
3143 * include/bits/locale_facets.h (class _Messages): Remove.
3144 (class _Moneypunct): Remove.
3145 * src/locale-inst.cc: Remove.
3147 * include/bits/locale_facets.h (class _Collate): Remove.
3148 * src/locale-inst.cc (std): Remove.
3149 * src/locale.cc: And here.
3151 * include/bits/localefwd.h (locale::_M_coalesce): New
3152 function. Correctly put together multi-name locales.
3153 (_Impl(const _Impl&, category, size_t)): Remove.
3155 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
3157 (_M_normalize_category_names): Remove.
3158 (_M_replace_categories): Fix.
3160 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
3161 (locale::_Impl::_M_construct_ctype): Remove.
3162 (locale::_Impl::_M_construct_monetary): Remove.
3163 (locale::_Impl::_M_construct_numeric): Remove.
3164 (locale::_Impl::_M_construct_time): Remove.
3165 (locale::_Impl::_M_construct_messages): Remove.
3167 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
3168 (_Use_facet_failure_handle): Remove.
3169 * src/locale.cc: Remove definitions.
3170 * src/locale-inst.cc: And here.
3172 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
3174 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
3175 create and error-check underlying locale object.
3176 (locale::facet::_S_destroy_c_locale): Add, take care of properly
3177 tearing down underlying locale object.
3178 * include/bits/localefwd.h (locale::facet): Declare.
3179 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
3180 correctness, as glibc apparently has incorrect info in it. Test
3181 with it when it works again.....
3183 * include/bits/localefwd.h (locale::_Impl::__vec_string):
3184 Remove. Number of categories is fixed at six, so just simplify and
3185 make this an array of strings.
3186 (locale::_Impl::_M_has_name): Remove.
3187 (locale::_Impl::_M_name): Remove.
3188 (locale::_Impl::_M_category_names): Turns into...
3189 (locale::_Impl::_M_names): ...this.
3190 (locale::_Impl::_M_has_same_name()): New function.
3191 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
3192 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
3194 * src/locale.cc (locale::name()): Construct mangled name
3195 accurately reflecting combined locale categories.
3197 * src/locale.cc (locale::classic()): Don't initialize here.
3198 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
3199 __refs, bool __has_name, string __str): Do it here.
3201 * include/bits/localefwd.h: _S_categories_num to
3202 _S_num_categories. _S_facets_num to _S_num_facets.
3203 (locale::id::id()): Explicitly set _M_index to zero.
3204 * src/locale.cc: Same.
3206 * src/locale.cc: (locale::locale(const char*)): Construct named
3209 * src/locale.cc: Remove numpunct_byname ctors.
3210 * testsuite/22_locale/numpunct_byname.cc: New file.
3211 * testsuite/22_locale/numpunct.cc: New file.
3213 * include/bits/localefwd.h (class locale): Change data members to
3214 protected, from private.
3215 (_Impl::_M_get_c_locale): Add member function.
3216 (locale::facet::_M_get_global_impl()): Add member function.
3217 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
3218 a __c_locale pointer.
3219 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
3221 * testsuite/22_locale/members.cc: New file, test name and combine.
3223 * include/bits/locale_facets.h (class numpunct): Remove class
3224 _Punct and _Numpunct. Rewrite class numpunct to be correct for
3226 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
3227 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
3228 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
3229 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
3230 * testsuite/22_locale/numpunct_char_members.cc: New file.
3232 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
3234 * testsuite/README: Add more comment.
3235 * testsuite/lib/libstdc++.exp: Tweak comment.
3237 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
3239 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
3241 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
3243 * testsuite/21_strings/inserters_extractors.cc: Remove
3244 explicit reference to 'testsuite/'.
3246 2001-01-25 Richard Henderson <rth@redhat.com>
3248 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
3249 bits. Fixes Tru64 build issues.
3251 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3253 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
3254 (use ${MAKE-make}, not ${MAKE:-make}).
3255 * aclocal.m4, configure: Regenerate.
3257 2001-01-25 Mark Mitchell <mark@codesourcery.com>
3259 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
3262 * src/Makefile.am (sources): Add globals.cc.
3263 * src/Makefile.in: Regenerated.
3264 * src/globals.cc: New file.
3265 * src/ios.cc (cin): Don't define here, just declare extern.
3274 2001-01-25 Phil Edwards <pme@sources.redhat.com>
3276 * include/bits/std_iterator.h: Do not include stl_relops.h.
3277 * include/bits/std_numeric.h: Ditto.
3278 * include/bits/stl_algobase.h: Ditto.
3279 * include/bits/stl_relops.h: Add comment warning about problems.
3281 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
3283 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
3284 in testcases. Prepare for the DejaGnu based framework.
3285 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
3286 directory -- it is now mkcheck working directory.
3287 * tests_flags.in: Remove reference to $(top_srcdir). Use
3289 * Makefile.am (check, check-install): Change mkcheck invocation
3291 * Makefile.in: Regenerate.
3293 2001-01-24 Mark Mitchell <mark@codesourcery.com>
3295 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
3296 (__always_swap): Likewise.
3298 2001-01-23 Chris Demetriou <cgd@broadcom.com>
3300 * libsupc++/exception_support.cc (__terminate_func): Remove
3302 (__terminate_func_ptr): New typedef.
3303 (__terminate, __terminate_set_func): New extern function
3305 (std::terminate): Use __terminate function.
3306 (std::set_terminate): Use __terminate_set_func function.
3308 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
3310 * configure.target: Just use os_include_dir always.
3311 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
3312 Link atomicity files and ctype files here.
3313 * configure: Regenerate.
3314 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
3315 (GLIBCPP_ENABLE_ATOMICITY): Remove.
3316 * aclocal.m4: Regenerate.
3318 2001-01-23 Chris Demetriou <cgd@broadcom.com>
3320 * configure.in: Place definition of MULTISUBDIR in
3321 libsupc++/Makefile as is done for src/Makefile.
3322 * configure: Regenerate.
3324 2001-01-23 Phil Edwards <pme@sources.redhat.com>
3326 * acinclude.m4: Cosmetic changes only.
3327 * aclocal.m4: Regenerated.
3328 * configure: Regenerated.
3329 * configure.target: Update documented list of changed variables.
3330 * docs/html/install.html: Fix typo.
3331 * docs/html/20_util/howto.html: More notes on auto_ptr.
3332 * docs/html/27_io/howto.html: More notes on streabufs.
3333 * docs/html/faq/index.html: Add rel_ops problem and mention the
3334 DEC as(1) .subsection difficulty.
3335 * docs/html/faq/index.txt: Regenerated.
3337 2001-01-23 Mark Mitchell <mark@codesourcery.com>
3339 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
3340 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
3341 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
3342 its already provided in config.target.
3343 * aclocal.m4: Regenerated.
3344 * configure: Likewise.
3345 * configure.target: Set ctype_include_dir for lots of systems.
3346 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
3347 * libsupc++/Makefile.in: Regenerated.
3349 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
3351 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
3354 * testsuite/README: Add comment.
3356 2001-01-21 Phil Edwards <pme@sources.redhat.com>
3358 * docs/html/configopts.html: Update for current status. Fix HTML.
3359 * docs/html/install.html: Update for current status.
3361 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3363 * testsuite/libstdc++.tests/tests.exp: New file.
3364 * testsuite/lib/libstdc++.exp: Itou.
3365 * testsuite/README: Itou.
3367 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
3369 * tests_flags.in: Just output the bare minimum to run tests.
3370 Let's the caller do its own arrangement.
3372 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
3375 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
3377 * testsuite/17_intro: Prepare testcases for new style DejaGnu
3380 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
3382 * testsuite/libstdc++.tests, testsuite/lib: New directories.
3384 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
3386 * mkcheck.in: Construct file names that match $objdir structure.
3387 * testsuite/27_io/filebuf_members-1.txt: New file.
3388 * testsuite/27_io/ifstream_members-1.txt: New file.
3389 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
3391 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
3392 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
3394 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3396 * testsuite/27_io/istream_sentry.cc (test02): Fix.
3398 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
3401 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
3402 * src/ios.cc (ios_base::failure): Make definitions match.
3403 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
3404 (class bad_cast): Same.
3405 * libsupc++/exception (class exception): Add throw specs.
3406 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
3407 (set_unexpected): Same.
3408 (uncaught_exception): Same.
3411 * docs/html/17_intro/C++STYLE (classname): Fix.
3413 2001-01-16 Mark Mitchell <mark@codesourcery.com>
3415 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
3416 Use it do explicitly instantiate predicate<T> and value<T> for
3419 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
3421 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
3422 uninitialized thinko in last change.
3424 2001-01-16 Mark Mitchell <mark@codesourcery.com>
3426 * libsupc++/exception_support.cc (__cp_pop_exception): Change
3429 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
3431 * docs/html/17_intro/C++STYLE (classname): Add more existing
3432 and stylish patterns.
3435 * include/bits/istream.tcc (istream::sentry::sentry()): Set
3436 failbit if the state of the stream is not good.
3437 * testsuite/27_io/istream_sentry.cc (test02): Add test.
3438 * testsuite/27_io/istream_manip.cc (test01): Modify.
3441 reported by Paolo Carlini <pcarlini@unitus.it>
3442 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
3443 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
3446 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
3447 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
3448 (xsgetn): Same. Simplify.
3449 * testsuite/27_io/streambuf.cc (test04): Add testcases.
3451 reported by Larry Evans <jcampbell3@prodigy.net>
3452 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
3453 equality with eof on returned value from overflow.
3455 2001-01-14 Andreas Jaeger <aj@suse.de>
3457 * libio/libio.h: Add test for glibc 2.0.
3459 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
3461 * config/os/djgpp/bits/*: Fix dates.
3463 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
3464 _CharT* __end, _CharT __c): Remove.
3465 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
3466 * include/bits/char_traits.h: Tweak.
3468 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
3470 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
3471 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
3473 * aclocal.m4: regenerated.
3474 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
3475 * configure: regenerated.
3476 * config/os/djgpp, config/os/djgpp/bits: new directories.
3477 * config/os/djgpp/bits/ctype_base.h,
3478 config/os/djgpp/bits/ctype_inline.h,
3479 config/os/djgpp/bits/ctype_noninline.h,
3480 config/os/djgpp/bits/os_defines.h: new files.
3482 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
3484 * include/c_std/bits/std_cstdio.h: Undef printf.
3486 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
3488 * src/ios.cc: Fix typo: change cout->wcout.
3490 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
3491 * src/Makefile.in: Regenerate.
3493 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3495 * include/bits/std_complex.h: Fix a typo.
3497 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
3500 Fixes for libstdc++/1576
3501 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
3502 file, move contents into....
3503 * src/ios.cc: ...Here. Put defines for iostreams objects and
3504 initialization routines into one file to simplify DSO interaction.
3505 * include/bits/std_iostream.h: Touch.
3506 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
3507 * src/Makefile.am (sources): Remove stdstreams.cc.
3508 * src/Makefile.in: Regenerate.
3510 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3512 * tests_flags.in (check_directory): Fix typo.
3514 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3516 * include/bits/std_complex.h: Fix a typo.
3518 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
3520 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
3521 code path:) Remove magic constants and restructure to handle
3522 ctype.h bit mask layout changes more gracefully. (Make fast
3523 code path:) Use __maskrune (), if available.
3524 (is): Remove special case for digit and xdigit masks.
3526 2001-01-09 Robert Lipe <robertlipe@usa.net>
3528 * include/c_std/bits/std_ctime.h: Undefine difftime.
3530 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
3532 * src/gen-num-limits.cc (signal_adapter): New template function.
3533 (signal_handler): Use it, instead of signal.
3534 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
3535 require both tests to trap to set trap_flag.
3537 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
3539 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
3540 initialize mbstate_t member, name offset data members *off, not pos.
3541 * include/bits/fstream.tcc (filebuf::filebuf): Same.
3543 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
3545 reported by Chris G. Demetriou <cgd@sibyte.com>
3546 * configure.in: Change -linux-* to -linux*.
3547 * configure: Regenerate.
3549 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
3551 Fix 27_io/filebuf_members.cc
3552 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
3553 const string& __name, category __cat, size_t __refs): Set
3554 _M_has_name with _M_name.
3555 * include/bits/localefwd.h (locale::operator!=): Protect member
3556 function call with this->.
3557 * src/locale.cc (locale::operator==): Make fast checks first.
3558 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
3560 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
3562 * src/ios.cc (ios_base::Init::Init): Initialize here.
3563 (ios_base::sync_with_stdio): Set here.
3565 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
3567 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
3568 systems that support it, call dup() before fdopen().
3570 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
3572 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
3573 * testsuite/17_intro/header_cwctype.cc (main): New file.
3575 * src/Makefile.am (base_headers): Change.
3576 * include/bits/std_string.h: And here.
3577 * include/bits/string.tcc: Tweaks, move to...
3578 * include/bits/basic_string.tcc: ...Here.
3579 * src/string-inst.cc: Simplify, just instantiate the whole class,
3580 not member-by-member.
3582 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
3584 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
3585 * aclocal.m4: Regenerate.
3586 * configure: Regenerate.
3588 * include/bits/c++config (__GLIBCPP__): Bump version number.
3590 * ChangeLog: Start new log for year 2001
3591 * ChangeLog-2000: New file.
3593 * docs/html/configopts.html: Make sure default values are current,
3596 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
3598 * include/c_std/bits/std_cwchar.h: Same.
3599 * testsuite/17_intro/header_cwchar.cc: Same.
3600 * include/c_std/bits/std_ctime.h: Same.
3601 * testsuite/17_intro/header_ctime.cc: Same.
3602 * include/c_std/bits/std_cstdlib.h: Same.
3603 Clean up undefs, make consistent with cwchar and cmath, etc.
3604 * testsuite/17_intro/header_cstdlib.cc: Same.
3605 * include/c_std/bits/std_cstdio.h: Same here.
3606 * testsuite/17_intro/header_cstring.cc: Same.
3607 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
3608 * testsuite/17_intro/header_cstring.cc: New file. Check for
3609 size_t in namespace std.
3611 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
3612 * acconfig.h (HAVE_MBSTATE_T): Add.
3613 * config.h.in: Regenerate.
3614 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
3616 * aclocal.m4: Regenerate.
3617 * configure: Regenerate.
3618 * testsuite/17_intro/headers_c++.cc: New file.
3619 * testsuite/17_intro/headers_c.cc: Small changes.
3621 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
3623 * tests_flags.in: Fix typo in usage.
3625 * tests_flags.in: Set target specific LIBS for cygwin.