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