std_valarray.h (valarray<>::operator[]): Make inline.
[gcc.git] / libstdc++-v3 / ChangeLog
1 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
2
3 * include/bits/std_valarray.h(valarray<>::operator[]): Make
4 inline.
5
6 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
7
8 * testsuite/25_algorithms/equal.cc: New test.
9
10 2001-04-06 Joe Buck <jbuck@welsh-buck.org>
11
12 * stl_algobase.h (std::equal): avoid use of possibly-undefined
13 operator != (one line patch).
14
15 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
16
17 * include/backward/backward_warning.h: Re-enable.
18
19 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
20 Alexandre Oliva <aoliva@redhat.com>
21
22 * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
23
24 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
25
26 * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
27 * testsuite/26_numerics/c99_macros.cc: Add test.
28
29 2001-04-06 Phil Edwards <pme@sources.redhat.com>
30
31 * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES.
32 * docs/html/faq/index.txt: Regenerated.
33
34 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
35
36 * include/backward/backward_warning.h: Temporarily disable until
37 g++ testsuite changes go in.
38 * tests_flags.in (CROSS_LIB_PATH): Add.
39
40 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
41
42 Warn when using backward headers.
43 * include/backward/algo.h: Include warning file.
44 * include/backward/vector.h: Same.
45 * include/backward/tree.h: Same.
46 * include/backward/tempbuf.h: Same.
47 * include/backward/strstream: Same.
48 * include/backward/streambuf.h: Same.
49 * include/backward/stream.h: Same.
50 * include/backward/stack.h: Same.
51 * include/backward/slist.h: Same.
52 * include/backward/set.h: Same.
53 * include/backward/rope.h:
54 * include/backward/queue.h: Same.
55 * include/backward/pair.h: Same.
56 * include/backward/ostream.h: Same.
57 * include/backward/new.h: Same.
58 * include/backward/multiset.h: Same.
59 * include/backward/multimap.h: Same.
60 * include/backward/map.h: Same.
61 * include/backward/list.h: Same.
62 * include/backward/iterator.h: Same.
63 * include/backward/istream.h: Same.
64 * include/backward/iostream.h:
65 * include/backward/iomanip.h:
66 * include/backward/heap.h: Same.
67 * include/backward/hashtable.h:
68 * include/backward/hash_set.h:
69 * include/backward/hash_map.h:
70 * include/backward/function.h:
71 * include/backward/fstream.h:
72 * include/backward/deque.h:
73 * include/backward/defalloc.h: Same.
74 * include/backward/complex.h: Same.
75 * include/backward/bvector.h:
76 * include/backward/alloc.h:
77 * include/backward/algobase.h: Same.
78
79 * include/backward/backward_warning.h: New file.
80 * src/Makefile.am (backward_headers): Add backward_warning.h
81 * src/Makefile.in: Regenerate.
82
83 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
84
85 * src/Makefile.am (myinstalldirs): Make sure backward directory is
86 created.
87 (myinstallheaders): Install backward headers in backward directory.
88 * src/Makefile.in: Regenerate.
89
90 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
91
92 Prepare for libstdc++-2.92.
93 * docs/html/17_intro/RELEASE-NOTES (New): Update.
94 * docs/html/configopts.html: Fix formatting.
95 * README (file): Updates.
96 * include/bits/c++config (__GLIBCPP__): Update.
97
98 2001-04-05 Phil Edwards <pme@sources.redhat.com>
99
100 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
101
102 2001-04-04 Phil Edwards <pme@sources.redhat.com>
103
104 * docs/doxygen/user.cfg.in: Extract all non-private members;
105 reduce confusing documentation output.
106
107 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
108
109 * include/backward/fstream.h: Add missing semicolons.
110
111 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
112
113 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
114 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
115 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
116 (ios_base::Init::_S_ios_create): New.
117 (ios_base::Init::_S_ios_destroy): New.
118 * include/bits/std_fstream.h: Change ctor args.
119 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
120 (ios_base::Init::~Init): Use _S_ios_destroy.
121 (ios_base::sync_with_stdio): Use new members.
122 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
123 filebuf ctor.
124
125 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
126
127 * include/backward/fstream.h: Expose streampos to global
128 namespace.
129
130 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
131
132 * include/bits/stl_iterator_base_types.h: Fix typo
133
134 2001-04-03 Andreas Schwab <schwab@suse.de>
135
136 * include/backward/fstream.h: Define filebuf and wfilebuf.
137
138 2001-04-02 Phil Edwards <pme@sources.redhat.com>
139
140 New concept checking implementation.
141 * docs/html/19_diagnostics/howto.html: Document.
142 * docs/html/17_intro/concept_check.diff: New file, for reference.
143 * include/bits/boost_concept_check.h: New file from Boost.
144 * include/bits/c++config: Update comments.
145
146 * include/bits/concept_check.h: New file.
147 * include/bits/concept_checks.h: Removed.
148 * include/bits/container_concepts.h: Removed.
149 * include/bits/sequence_concepts.h: Removed.
150 * include/bits/stl_iterator_base.h: Removed; split into...
151 * include/bits/stl_iterator_base_funcs.h: ...this new file...
152 * include/bits/stl_iterator_base_types.h: ...and this new file.
153
154 * include/bits/sbuf_iter.h: Update to use new implementation.
155 * include/bits/std_iterator.h: Likewise.
156 * include/bits/std_memory.h: Likewise.
157 * include/bits/stl_algo.h: Likewise.
158 * include/bits/stl_algobase.h: Likewise.
159 * include/bits/stl_construct.h: Likewise.
160 * include/bits/stl_deque.h: Likewise.
161 * include/bits/stl_heap.h: Likewise.
162 * include/bits/stl_list.h: Likewise.
163 * include/bits/stl_map.h: Likewise.
164 * include/bits/stl_multimap.h: Likewise.
165 * include/bits/stl_multiset.h: Likewise.
166 * include/bits/stl_numeric.h: Likewise.
167 * include/bits/stl_queue.h: Likewise.
168 * include/bits/stl_set.h: Likewise.
169 * include/bits/stl_stack.h: Likewise.
170 * include/bits/stl_uninitialized.h: Likewise.
171 * include/bits/stl_vector.h: Likewise.
172 * include/ext/hash_map: Likewise.
173 * include/ext/hash_set: Likewise.
174 * include/ext/slist: Likewise.
175 * include/ext/stl_hashtable.h: Likewise.
176
177 * src/Makefile.am (base_headers): Update list of headers.
178 * Makefile.in: Regenerated.
179 * src/Makefile.in: Regenerated.
180 * libio/Makefile.in: Regenerated.
181 * libmath/Makefile.in: Regenerated.
182 * libsupc++/Makefile.in: Regenerated.
183 * testsuite/Makefile.in: Regenerated.
184
185 * docs/html/install.html: Update contact information.
186 * docs/html/17_intro/howto.html: Ditto.
187 * docs/html/18_support/howto.html: Ditto.
188 * docs/html/20_util/howto.html: Ditto.
189 * docs/html/21_strings/howto.html: Ditto.
190 * docs/html/22_locale/howto.html: Ditto.
191 * docs/html/23_containers/howto.html: Ditto.
192 * docs/html/24_iterators/howto.html: Ditto.
193 * docs/html/25_algorithms/howto.html: Ditto.
194 * docs/html/26_numerics/howto.html: Ditto.
195 * docs/html/27_io/howto.html: Ditto.
196 * docs/html/faq/index.html: Ditto, plus info on new checking code.
197 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
198 * docs/html/faq/index.txt: Regenerated.
199
200 2001-04-02 Zack Weinberg <zackw@stanford.edu>
201
202 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
203 messages with $which_library as well as $tool_flags and
204 ${dg-extra-tool-flags}. Factor out annotation text into
205 a single variable.
206
207 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
208
209 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
210 * include/c_std/bits/std_cwchar.h: Same.
211 * testsuite/21_strings/c_strings.cc: Add.
212
213 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
214
215 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
216
217 2001-04-01 Zack Weinberg <zackw@stanford.edu>
218
219 * tests_flags.in: Use test a = b, not test a == b which is not
220 portable.
221
222 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
223
224 * configure.target: Remove duplicate aix entry.
225
226 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
227
228 * include/ext/stl_bvector.h: Move to...
229 * include/bits/stl_vector.h: ...here.
230 * include/ext/bvector: Move to...
231 * include/backward/bvector.h: ...here.
232 * include/bits/std_vector.h: Change stl_bvector include.
233 * include/bits/std_queue.h: Remove bvector include.
234 * include/ext/tree: Insert using rb_tree, move to...
235 * include/backward/tree.h: ...here.
236 * include/backward/hash_map.h: Include ext/hash_map.
237 * include/backward/hash_set.h: Include ext/hash_set.
238 * include/backward/queue.h: New file.
239 * include/backward/stack.h: Edit.
240 * include/backward/algo.h: Same.
241 * include/backward/algobase.h: Same.
242 * include/backward/alloc.h: Same.
243 * include/backward/function.h: Same.
244 * include/backward/iomanip.h: Same.
245 * include/backward/istream.h: Same.
246 * include/backward/iterator.h: Same.
247 * include/backward/list.h: Same.
248 * include/backward/map.h: Same.
249 * include/backward/multimap.h: Same.
250 * include/backward/multiset.h: Same.
251 * include/backward/ostream.h: Same.
252 * include/backward/pair.h: Same
253 * include/backward/rope.h: Same.
254 * include/backward/set.h: Same.
255 * include/backward/stream.h: Same.
256 * include/backward/strstream.h: Same.
257 * include/backward/tempbuf.h: Same.
258 * src/Makefile.am (ext_headers): Edit.
259 * src/Makefile.in: Regenerate.
260 * testsuite/ext/headers.cc (main): Fix.
261 * mkcheck.in: Fix.
262
263 2001-03-30 Phil Edwards <pme@sources.redhat.com>
264
265 * tests_flags.in (LIBS): Pass correct path for installed testing.
266
267 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
268
269 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
270 * tests_flags.in (CXX): Construct here.
271 (static_fail): Don't remove compile.out. Format with spaces.
272 (INCLUDES): Deal with xcompiling.
273 * configure.in (xcompiling): Substitute.
274 * testsuite/Makefile.am: Snake libjava configury.
275 * testsuite/Makefile.in: Regenerate.
276 * testsuite/23_containers/map_operators.cc: Tweaks.
277 * testsuite/23_containers/set_operators.cc: Tweaks.
278
279 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
280
281 Enable dejagnu testing framework.
282 * configure.in: Generate testsuite/Makefile.
283 * configure: Regenerate.
284 * Makefile.am (check-install): Change rule from this...
285 (check-script-install): ...to this.
286 (check): Change rule from this...
287 (check-script):...to this.
288 * Makefile.in: Regenerate.
289
290 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
291
292 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
293 --tag CXX.
294 (LIBTOOL): Let automake take care of its definition.
295 * libsupc++/Makefile.in: Rebuilt.
296
297 2001-03-28 Richard Henderson <rth@redhat.com>
298
299 IA-64 ABI Exception Handling:
300 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
301 * configure.in: Use it.
302 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
303 * libsupc++/Makefile.am (sources): Update files list.
304 * libsupc++/Makefile.in: Regenerate.
305 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
306 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
307 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
308 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
309 * libsupc++/exception_support.cc: Remove.
310 * libsupc++/exception_support.h: Remove.
311 * libsupc++/pure.cc: Use std::terminate.
312 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
313 (__is_pointer): Remove.
314 * libsupc++/unwind-cxx.h: New file.
315 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
316
317 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
318
319 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
320 CXX tag explicitly.
321 * src/Makefile.am (CXXLINK): Likewise.
322 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
323
324 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
325
326 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
327
328 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
329
330 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
331 and libc
332
333 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
334
335 * include/bits/basic_file.h (get_fileno): Remove.
336 (_M_fileno): Remove.
337 (_M_cfile_created): Add.
338 (basic_file::basic_file(__c_file_type*, openmode): Add.
339 (basic_file::basic_file(int, const char*, openmode): Remove.
340 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
341 const char*, ios_base::openmode): Don't allocate
342 internal buffers. Turn off internal buffers.
343 (basic_filebuf::overflow): Remove test for null buffer.
344 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
345 * include/bits/streambuf.cc: Tweak.
346 * include/bits/std_ostream.h: Tweak.
347 * config/basic_file_libio.h: Same.
348 * config/basic_file_stdio.h: Same.
349 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
350 * testsuite/27_io/filebuf_members.cc: Tweaks.
351 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
352
353 2001-03-24 Phil Edwards <pme@sources.redhat.com>
354
355 * Makefile.am: New targets, doxygen and doxygen-maint.
356 * Makefile.in: Regenerated.
357 * docs/doxygen/run_doxygen: Finally implemented.
358 * docs/doxygen/maint.cfg.in: New file.
359 * docs/doxygen/user.cfg.in: New file.
360
361 2001-03-24 Phil Edwards <pme@sources.redhat.com>
362
363 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
364 * src/Makefile.am: Replace leading spaces with tabs on continuation
365 lines.
366 * aclocal.m4: Regenerated.
367 * configure: Ditto.
368 * Makefile.in: Ditto.
369 * src/Makefile.in: Ditto.
370 * libio/Makefile.in: Ditto.
371 * libmath/Makefile.in: Ditto.
372 * libsupc++/Makefile.in: Ditto.
373
374 2001-03-24 Phil Edwards <pme@sources.redhat.com>
375
376 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
377 concept-checking code and current status of same.
378 * docs/html/ext/howto.html: Ditto.
379 * docs/html/faq/index.html: Ditto.
380 * docs/html/faq/index.txt: Regenerated.
381
382 2001-03-24 Phil Edwards <pme@sources.redhat.com>
383
384 * include/bits/std_bitset.h: Include ostream and istream headers
385 instead of iostream.
386
387 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
388
389 * include/bits/ostream.tcc: Use __builtin_alloca.
390
391 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
392
393 * src/misc-inst.cc (__sink_unused_warning): Move to...
394 * src/locale-inst.cc (__sink_unused_warning): Move to...
395 * src/stl-inst.cc: Here.
396 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
397 commented it out.
398
399 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
400
401 * intclude/bits/basic_file.h: Fix typos in comments.
402
403 2001-03-20 Richard Henderson <rth@redhat.com>
404
405 * src/gen-num-limits.cc: Instantiate for wchar_t.
406 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
407
408 2001-03-20 Jason Merrill <jason@redhat.com>
409
410 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
411 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
412 * libsupc++/cxxabi.h: Declare it.
413
414 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
415
416 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
417 signal_func with an unspecified argument list.
418
419 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
420
421 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
422
423 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
424
425 * include/bits/basic_string.tcc (operator+): Fix thinko.
426
427 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
428
429 libstdc++/2020
430 * include/bits/std_streambuf.h: Remove cached locale facets.
431 (basic_streambuf::_M_buf_fctype): Remove.
432 (basic_streambuf::~basic_streambuf): Remove here.
433 (basic_streambuf::basic_streambuf): Same.
434 (basic_streambuf::imbue): Same.
435 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
436 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
437 (basic_filebuf::~basic_filebuf()): Remove here.
438 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
439 (basic_filebuf::imbue): Same.
440 * include/bits/localefwd.h (_Count_ones): Remove.
441 (locale::_S_num_categories): Just use 6, since this doesn't
442 actually change, ever.
443 * include/bits/locale_facets.tcc (has_facet): Simplify.
444 (use_facet): Same.
445 * testsuite/27_io/filebuf.cc (test06): Add tests.
446
447 2001-03-13 Steve Ellcey <sje@cup.hp.com>
448
449 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
450 match HP-UX ctype.h header file.
451
452 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
453
454 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
455 duplicate definitions of __dj_ctype_*
456
457 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
458
459 * libsupc++/new: Remove pragma interface.
460 * libsupc++/typeinfo: Same.
461 * libsupc++/exception: Same.
462 * libsupc++/new_handler.cc: Remove pragma implementation.
463 (bad_alloc::~bad_alloc()): Add.
464 * libsupc++/exception_support.cc: Same.
465 (exception::~exception): Add.
466 (bad_exception::~bad_exception): Add.
467 * libsupc++/tinfo.cc: Same.
468 (bad_cast::~bad_cast): Add.
469 (bad_typeid::~bad_typeid): Add.
470
471 2001-03-13 Phil Edwards <pme@sources.redhat.com>
472
473 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
474
475 2001-03-12 Felix Lee <flee@redhat.com>
476
477 * mkcheck.in: workaround for bash 2.01 IFS bug.
478
479 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
480
481 Fixups for -fno-for-scope
482 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
483 * src/valarray-inst.cc (__gslice_to_index): Same.
484
485 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
486
487 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
488 prior to trapping signal (UnixWare 7 workaround).
489
490 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
491
492 * include/backward/hashtable.h: Same.
493 * include/backward/rope.h: Fix include.
494
495 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
496
497 * include/backward/vector.h: Include std_vector.h.
498
499 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
500 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
501 Fix typo.
502
503 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
504
505 * include/ext/stl_hashtable.h: Change type of __n to size_t
506 * include/backward/bvector.h: Include <ext/stl_bvector.h>
507
508 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
509
510 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
511 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
512 Use streamsize, not int_type.
513
514 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
515
516 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
517 moment.
518
519 2001-03-08 Andreas Schwab <schwab@suse.de>
520
521 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
522 command.
523 * aclocal.m4, configure: Regenerated.
524
525 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
526
527 * include/bits/std_iosfwd.h: Remove string forward decls here.
528 * include/bits/stringfwd.h: Add forward decls for char_traits
529 specializations.
530 * config/c_io_libio.h (wstreamoff): Delete.
531 * config/c_io_stdio.h (wstreamoff): Same.
532 * include/bits/char_traits.h: Use streamoff not wstreamoff for
533 char_traits<wchar_t>::off_type.
534 Remove duplicate typedefs.
535 * include/bits/fpos.h: Define streampos/wstreampos here.
536 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
537 values to off_type.
538 (test05): Same.
539 Changeup output files.
540 * testsuite/27_io/istream_unformatted.cc: Change output files.
541 * testsuite/27_io/istream_seeks-1.txt: Add.
542 * testsuite/27_io/istream_seeks-2.tst: Add.
543 * testsuite/27_io/istream_seeks-1.tst: Add.
544 * testsuite/27_io/istream_unformatted-2.tst: Delete.
545 * testsuite/27_io/istream_unformatted-3.tst: Delete.
546 * testsuite/27_io/istream_unformatted-3.txt: Delete.
547
548 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
549
550 Add Irix 5.2, 6.3 support.
551 * config/os/irix/bits: Renamed to...
552 * config/os/irix/irix6.5/bits: this.
553 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
554 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
555 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
556 * config/os/irix/irix5.2/bits/ctype_noninline.h
557 (ctype<char>::ctype): Initialize _M_table with __ctype.
558 * configure.target: Adjust.
559
560 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
561
562 libstdc++/2181
563 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
564 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
565 sentry.
566 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
567 (*__pf)(__ios_type&)): Same.
568 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
569 (*__pf)(ios_base&))): Same.
570 * testsuite/27_io/istream_extractor_other.cc: Add tests.
571 * testsuite/27_io/istream_manip.cc (test01): Fix.
572
573 2001-03-06 Nathan Myers <ncm@cantrip.org>
574 Benjamin Kosnik <bkoz@redhat.com>
575
576 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
577 * testsuite/17_intro/header_cerrno.cc (test01): New file.
578 * testsuite/17_intro/header_cassert.cc (test01): New file.
579 * testsuite/17_intro/header_cstddef.cc (test01): New file.
580 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
581 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
582
583 2001-03-05 scott snyder <snyder@fnal.gov>
584
585 libstdc++/2190
586 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
587 from here...
588 * include/c_std/bits/std_cstdlib.h: ... to here.
589 * testsuite/17_intro/header_cstdlib.cc: Add test.
590
591 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
592
593 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
594
595 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
596
597 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
598 definition. Replace enum with static const variables.
599
600 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
601 throw specification, fix typos, use <static_cast>.
602 (ctype<char>::scan_is): remove throw specification.
603 (ctype<char>::scan_not): likewise.
604
605 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
606 (ctype<char>::do_toupper(char)): use <static_cast>.
607 (ctype<char>::do_toupper(char *, const char *)): likewise.
608 (ctype<char>::do_tolower(char)): likewise.
609 (ctype<char>::do_tolower(char *, const char *)): likewise.
610
611 2001-03-04 Phil Edwards <pme@sources.redhat.com>
612
613 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
614 * include/backward/algo.h: Use std not __STD. Remove unneeded
615 macros and "never happens" code. Adjust to C++STYLE guidelines.
616 * include/backward/algobase.h: Likewise.
617 * include/backward/alloc.h: Likewise.
618 * include/backward/bvector.h: Likewise.
619 * include/backward/deque.h: Likewise.
620 * include/backward/function.h: Likewise.
621 * include/backward/hash_map.h: Likewise.
622 * include/backward/hash_set.h: Likewise.
623 * include/backward/hashtable.h: Likewise.
624 * include/backward/heap.h: Likewise.
625 * include/backward/iterator.h: Likewise.
626 * include/backward/list.h: Likewise.
627 * include/backward/map.h: Likewise.
628 * include/backward/multimap.h: Likewise.
629 * include/backward/multiset.h: Likewise.
630 * include/backward/pair.h: Likewise.
631 * include/backward/rope.h: Likewise.
632 * include/backward/set.h: Likewise.
633 * include/backward/slist.h: Likewise.
634 * include/backward/stack.h: Likewise.
635 * include/backward/strstream: Likewise.
636 * include/backward/tempbuf.h: Likewise.
637 * include/backward/tree.h: Likewise.
638 * include/backward/vector.h: Likewise.
639 * include/bits/basic_ios.h: Likewise.
640 * include/bits/basic_ios.tcc: Likewise.
641 * include/bits/basic_string.h: Likewise.
642 * include/bits/c++config: Likewise.
643 * include/bits/concept_checks.h: Likewise.
644 * include/bits/fpos.h: Likewise.
645 * include/bits/fstream.tcc: Likewise.
646 * include/bits/functexcept.h: Likewise.
647 * include/bits/ios_base.h: Likewise.
648 * include/bits/istream.tcc: Likewise.
649 * include/bits/mask_array.h: Likewise.
650 * include/bits/ostream.tcc: Likewise.
651 * include/bits/pthread_allocimpl.h: Likewise.
652 * include/bits/sbuf_iter.h: Likewise.
653 * include/bits/slice.h: Likewise.
654 * include/bits/slice_array.h: Likewise.
655 * include/bits/sstream.tcc: Likewise.
656 * include/bits/std_bitset.h: Likewise.
657 * include/bits/std_fstream.h: Likewise.
658 * include/bits/std_iomanip.h: Likewise.
659 * include/bits/std_ios.h: Likewise.
660 * include/bits/std_istream.h: Likewise.
661 * include/bits/std_iterator.h: Likewise.
662 * include/bits/std_memory.h: Likewise.
663 * include/bits/std_ostream.h: Likewise.
664 * include/bits/std_sstream.h: Likewise.
665 * include/bits/std_streambuf.h: Likewise.
666 * include/bits/std_string.h: Likewise.
667 * include/bits/std_valarray.h: Likewise.
668 * include/bits/stl_algo.h: Likewise.
669 * include/bits/stl_algobase.h: Likewise.
670 * include/bits/stl_alloc.h: Likewise.
671 * include/bits/stl_construct.h: Likewise.
672 * include/bits/stl_deque.h: Likewise.
673 * include/bits/stl_function.h: Likewise.
674 * include/bits/stl_heap.h: Likewise.
675 * include/bits/stl_iterator.h: Likewise.
676 * include/bits/stl_iterator_base.h: Likewise.
677 * include/bits/stl_list.h: Likewise.
678 * include/bits/stl_map.h: Likewise.
679 * include/bits/stl_multimap.h: Likewise.
680 * include/bits/stl_multiset.h: Likewise.
681 * include/bits/stl_numeric.h: Likewise.
682 * include/bits/stl_pair.h: Likewise.
683 * include/bits/stl_pthread_alloc.h: Likewise.
684 * include/bits/stl_queue.h: Likewise.
685 * include/bits/stl_raw_storage_iter.h: Likewise.
686 * include/bits/stl_relops.h: Likewise.
687 * include/bits/stl_set.h: Likewise.
688 * include/bits/stl_stack.h: Likewise.
689 * include/bits/stl_tempbuf.h: Likewise.
690 * include/bits/stl_threads.h: Likewise.
691 * include/bits/stl_tree.h: Likewise.
692 * include/bits/stl_uninitialized.h: Likewise.
693 * include/bits/stl_vector.h: Likewise.
694 * include/bits/streambuf.tcc: Likewise.
695 * include/bits/type_traits.h: Likewise.
696 * include/bits/valarray_meta.h: Likewise.
697 * include/ext/bvector: Likewise.
698 * include/ext/hash_map: Likewise.
699 * include/ext/hash_set: Likewise.
700 * include/ext/ropeimpl.h: Likewise.
701 * include/ext/slist: Likewise.
702 * include/ext/stl_bvector.h: Likewise.
703 * include/ext/stl_hash_fun.h: Likewise.
704 * include/ext/stl_hashtable.h: Likewise.
705 * include/ext/stl_rope.h: Likewise.
706 * src/complex_io.cc: Likewise.
707 * src/ios.cc: Likewise.
708 * src/locale-inst.cc: Likewise.
709 * src/locale.cc: Likewise.
710 * src/localename.cc: Likewise.
711 * src/misc-inst.cc: Likewise.
712 * src/stdexcept.cc: Likewise.
713 * src/stl-inst.cc: Likewise.
714 * src/strstream.cc: Likewise.
715 * src/valarray-inst.cc: Likewise.
716
717 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
718
719 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
720
721 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
722
723 * include/bits/istream.tcc: change type of __extracted to __size_type
724
725 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
726
727 * src/wstring-inst.cc: New file.
728 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
729 (libinst_wstring_la_SOURCES): Remove.
730 (libstdc___la_LIBADD): Remove libinst_wstring_la.
731 (sources): Add wstring-inst.cc
732 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
733 libinst_wstring_la.
734
735 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
736
737 * src/locale.cc: initialise __ret with zero
738 * src/strstream.cc:cast gptr to int_type
739
740 2001-03-01 Phil Edwards <pme@sources.redhat.com>
741
742 * docs/html/faq/index.html: Update broken links.
743 * docs/html/faq/index.txt: Regenerated.
744
745 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
746
747 libstdc++/2064
748 * configure.target: Change irix* to irix6.5* in target_os table.
749
750 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
751
752 libstdc++/2103
753 * include/bits/c++config (__GLIBCPP__): Bump number in
754 anticipation of 2.92.
755
756 * include/bits/codecvt.h: Fix typo.
757 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
758 stdio model.
759 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
760 instantiations for stdio model.
761
762 2001-02-28 Phil Edwards <pme@sources.redhat.com>
763
764 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
765 and GLIBCPP_CXXFLAGS as unused variables.
766 * configure.host: Likewise.
767 * configure.target: Likewise.
768 * aclocal.m4: Regenerated.
769 * configure: Regenerated.
770 * Makefile.in: Regenerated.
771 * libio/Makefile.in: Regenerated.
772 * libmath/Makefile.in: Regenerated.
773 * libsupc++/Makefile.in: Regenerated.
774 * src/Makefile.in: Regenerated.
775
776 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
777
778 libstdc++/1886
779 * include/bits/basic_file.h: Include basic_file_model.h.
780 * config/c_io_libio.cc: Move to...
781 * config/basic_file_libio.cc: Here.
782 * config/basic_file_libio.h: New file.
783 * config/c_io_stdio.cc: Move to...
784 * config/basic_file_stdio.cc: Here.
785 * config/basic_file_stdio.h: New file.
786 * config/c_io_libio.h: Tweak.
787 * config/c_io_stdio.h: Tweak.
788 * src/Makefile.am (build_headers): Add basic_file_model.h.
789 (sources): Add basic_file.cc, remove c++io.cc.
790 * src/Makefile.in: Regenerate.
791 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
792 basic_file_model.h and basic_file.cc.
793 * aclocal.m4: Regenerate.
794 * configure: Regenerate.
795 * testsuite/27_io/filebuf.cc (test05): Add regression.
796
797 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
798
799 Correct license.
800 * config/cpu/alpha/bits/atomicity.h: Change.
801 * config/cpu/arm/bits/atomicit3y.h
802 * config/cpu/generic/bits/atomicity.h
803 * config/cpu/i386/bits/atomicity.h
804 * config/cpu/i486/bits/atomicity.h
805 * config/cpu/ia64/bits/atomicity.h
806 * config/cpu/powerpc/bits/atomicity.h
807 * config/cpu/sparc/sparc32/bits/atomicity.h
808 * config/cpu/sparc/sparc64/bits/atomicity.h
809 * config/os/aix/bits/atomicity.h
810 * config/os/irix/bits/atomicity.h
811
812 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
813
814 * include/bits/std_stdexcept.h (runtime_error): Make string
815 member non-const.
816 (logic_error): Same.
817 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
818 (test03): Fix.
819
820 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
821
822 libstdc++/1972
823 libstdc++/2089
824 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
825 string object, not reference.
826 (runtime_error::runtime_error): Same.
827 * testsuite/19_diagnostics/stdexceptions.cc: New file.
828
829 2001-02-26 Phil Edwards <pme@sources.redhat.com>
830
831 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
832 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
833 diagnostics. Remove WFMT_FLAGS.
834 * configure.in: Replace WFMT_FLAGS with diagnostics options.
835 * libsupc++/Makefile.am: Likewise.
836 * src/Makefile.am: Likewise.
837 * aclocal.m4: Regenerated.
838 * configure: Regenerated.
839 * Makefile.in: Regenerated.
840 * libio/Makefile.in: Regenerated.
841 * libmath/Makefile.in: Regenerated.
842 * libsupc++/Makefile.in: Regenerated.
843 * src/Makefile.in: Regenerated.
844
845 2001-02-26 Phil Edwards <pme@sources.redhat.com>
846
847 Fixes libstdc++/2079
848 * include/backward/iomanip.h: Expose <ios> manipulators to global
849 namespace.
850 * include/backward/iostream.h: Also expose std::ws.
851
852 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
853
854 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
855
856 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
857
858 * include/bits/codecvt.h: Use __builtin_alloca.
859 * include/bits/ostream.tcc: Same.
860 * include/bits/fstream.tcc: Same.
861
862 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
863
864 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
865
866 2001-02-23 David Edelsohn <dje@watson.ibm.com>
867
868 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
869
870 2001-02-23 Phil Edwards <pme@sources.redhat.com>
871
872 c++/2052
873 * include/backward/iostream.h: Expose std::flush in old headers.
874
875 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
876
877 * mknumeric_limits: Remove special-casing on target. Use gcc
878 instead of g++ to build gen-num-limits.cc
879
880 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
881
882 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
883
884 * include/bits/codecvt.h: Use alloca instead of __extension__ for
885 the time being.
886 * include/bits/ostream.tcc: Same.
887 * include/bits/std_ostream.h: Same.
888 * include/bits/fstream.tcc: Same.
889 * include/bits/locale_facets.tcc: Add typename.
890 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
891
892 2001-02-21 Phil Edwards <pme@sources.redhat.com>
893
894 * tests_flags.in: Remove -n flag from call to echo.
895
896 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
897
898 * config/c_locale_gnu.h: Add clocale include.
899
900 2001-02-20 Phil Edwards <pme@sources.redhat.com>
901
902 * include/bits/stl_config.h: Remove file.
903 * src/Makefile.am (base_headers): Remove from list.
904 * configure: Regenerate.
905 * Makefile.in: Ditto.
906 * libio/Makefile.in: Ditto.
907 * libmath/Makefile.in: Ditto.
908 * libsupc++/Makefile.in: Ditto.
909 * src/Makefile.in: Ditto.
910
911 * include/bits/c++config: Move relevant macros to here.
912 * include/backward/alloc.h: Include c++config.h instead.
913 * include/backward/function.h: Ditto.
914 * include/backward/heap.h: Ditto.
915 * include/backward/pair.h: Ditto.
916 * include/bits/pthread_allocimpl.h: Ditto.
917 * include/bits/std_functional.h: Ditto.
918 * include/bits/std_iterator.h: Ditto.
919 * include/bits/std_numeric.h: Ditto.
920 * include/bits/std_utility.h: Ditto.
921 * include/bits/stl_algobase.h: Ditto.
922 * include/bits/type_traits.h: Ditto.
923 * src/stl-inst.cc: Ditto.
924
925 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
926
927 * include/bits/basic_file.h: Add #pragma system_header
928 * include/bits/basic_ios.h: Ditto.
929 * include/bits/basic_string.h: Ditto.
930 * include/bits/char_traits.h: Ditto.
931 * include/bits/codecvt.h: Ditto.
932 * include/bits/cpp_type_traits.h: Ditto.
933 * include/bits/fpos.h: Ditto.
934 * include/bits/gslice.h: Ditto.
935 * include/bits/gslice_array.h: Ditto.
936 * include/bits/indirect_array.h: Ditto.
937 * include/bits/ios_base.h: Ditto.
938 * include/bits/limits_generic.h: Ditto.
939 * include/bits/locale_facets.h: Ditto.
940 * include/bits/localefwd.h: Ditto.
941 * include/bits/mask_array.h: Ditto.
942 * include/bits/sbuf_iter.h: Ditto.
943 * include/bits/sequence_concepts.h: Ditto.
944 * include/bits/slice.h: Ditto.
945 * include/bits/slice_array.h: Ditto.
946 * include/bits/std_algorithm.h: Likewise.
947 * include/bits/std_bitset.h: Likewise.
948 * include/bits/std_complex.h: Likewise.
949 * include/bits/std_deque.h: Likewise.
950 * include/bits/std_fstream.h: Likewise.
951 * include/bits/std_functional.h: Likewise.
952 * include/bits/std_iomanip.h: Likewise.
953 * include/bits/std_ios.h: Likewise.
954 * include/bits/std_iosfwd.h: Likewise.
955 * include/bits/std_iostream.h: Likewise.
956 * include/bits/std_istream.h: Likewise.
957 * include/bits/std_iterator.h: Likewise.
958 * include/bits/std_list.h: Likewise.
959 * include/bits/std_locale.h: Likewise.
960 * include/bits/std_map.h: Likewise.
961 * include/bits/std_memory.h: Likewise.
962 * include/bits/std_numeric.h: Likewise.
963 * include/bits/std_ostream.h: Likewise.
964 * include/bits/std_queue.h: Likewise.
965 * include/bits/std_set.h: Likewise.
966 * include/bits/std_sstream.h: Likewise.
967 * include/bits/std_stack.h: Likewise.
968 * include/bits/std_stdexcept.h: Likewise.
969 * include/bits/std_streambuf.h: Likewise.
970 * include/bits/std_string.h: Likewise.
971 * include/bits/std_utility.h: Likewise.
972 * include/bits/std_valarray.h: Likewise.
973 * include/bits/std_vector.h: Likewise.
974 * include/bits/stringfwd.h: Likewise.
975 * include/bits/type_traits.h: Likewise.
976 * include/bits/valarray_array.h: Likewise.
977 * include/bits/valarray_meta.h: Likewise.
978
979 2001-02-19 Andreas Jaeger <aj@suse.de>
980
981 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
982 Fix typo.
983
984 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
985
986 libstdc++/1734
987 * include/bits/std_ostream.h: Replaced usage of
988 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
989 * include/bits/char_traits.h: Removed non-standard
990 methods that cannot be used elsewhere.
991
992 libstdc++/1885
993 * include/bits/basic_ios.h: Uncommented #include of
994 bits/basic_ios.tcc
995
996 libstdc++/1897
997 * include/bits/codecvt.h: See next...
998 * include/bits/fstream.tcc: See next...
999 * include/bits/ostream.tcc: Add __extension__
1000 to variable-length arrays.
1001
1002 libstdc++/1967
1003 * include/bits/localefwd.h: Changed int counter type to size_t.
1004
1005 libstdc++/1968
1006 * include/bits/std_fstream.h: Added typedef for __ctype_type.
1007
1008 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
1009
1010 * testsuite/21_strings/char_traits.cc: Move to ...
1011 * testsuite/21_strings/char_traits_requirements.cc: ..here.
1012 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
1013 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
1014
1015 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
1016
1017 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
1018 definitions.
1019
1020 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
1021
1022 * include/bits/c++config: Revert.
1023
1024 2001-02-15 Mark Mitchell <mark@codesourcery.com>
1025
1026 * include/bits/istream.tcc: Use ios_base::iostate in place of
1027 iostate throughout. Insert `typename' keyword where necessary.
1028 * include/bits/ostream.tcc: Insert `typename' keyword where
1029 necessary.
1030
1031 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
1032
1033 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
1034 Define so library is compliant.
1035
1036 2001-02-15 Anthony Green <green@redhat.com>
1037
1038 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
1039 compilation.
1040 * aclocal.m4: Regenerate.
1041 * configure: Regenerate.
1042
1043 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
1044
1045 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
1046 Include ieeefp.h for fpclass on UnixWare{2,7}.
1047 * aclocal.m4: Regenerate.
1048 * configure: Regenerate.
1049 * mkcheck.in (size_command): Do without GNU-grep when using
1050 size from binutils.
1051
1052 2001-02-15 Mark Mitchell <mark@codesourcery.com>
1053
1054 Remove old ABI support from libsupc++.
1055 * libsupc++/cxxabi.h: Remove conditionally compiled code.
1056 * libsupc++/exception_support.cc: Likewise.
1057 * libsupc++/pure.cc: Likewise.
1058 * libsupc++/tinfo.cc: Likewise.
1059 * libsupc++/tinfo.h: Likewise.
1060 * libsupc++/tinfo2.cc: Likewise.
1061 * libsupc++/typeinfo: Likewise.
1062 * libsupc++/vec.cc: Likewise.
1063
1064 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
1065
1066 Add support for -fno-exceptions.
1067 * include/bits/exception_support.h: Remove.
1068 * include/bits/basic_string.h: Remove exception_support.
1069 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
1070 (string::at): Same.
1071 (string::substr): Same.
1072 * include/bits/basic_string.tcc (string::reserve): Replace
1073 __LENGTHERROR with __throw_length_error.
1074 (string::_S_create): Same.
1075 (string::resize): Same.
1076 (string::_M_replace): Same.
1077 (string::replace): Same.
1078 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
1079 (string::compare): Same.
1080 * include/bits/stl_vector.h: Remove exception_support.
1081 * src/Makefile.am (base_headers): Remove here.
1082 * src/Makefile.in: Regenerate.
1083
1084 * include/bits/stl_range_errors.h: Remove.
1085 * include/bits/stl_deque.h: Use __throw_range_error.
1086 * include/bits/std_deque.h: Include functexcept.h.
1087 * include/bits/std_vector.h: Same.
1088 * src/Makefile.am (base_headers): Remove here.
1089 * src/Makefile.in: Regenerate.
1090 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
1091 * include/ext/bvector: Remove stl_range_errors.h
1092
1093 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
1094
1095 * include/bits/functexcept.h: New file.
1096 * src/functexcept.cc: New file. Definitions for function-based
1097 exception routines.
1098 * src/Makefile.am (sources): Add functexcept.cc.
1099 * src/Makefile.in: Regenerate.
1100
1101 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
1102 __EXCEPTIONS.
1103
1104 * include/bits/localefwd.h: Include functexcept.h.
1105 * include/bits/std_iosfwd.h: Same.
1106
1107 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
1108 throw basic_ios::failure.
1109 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
1110 Use __throw_exception_again.
1111 (filebuf::_M_filebuf_init): Same.
1112 * include/bits/streambuf.tcc (__copy_streambufs): Same.
1113 * include/bits/ostream.tcc (ostream::operator<<): Same.
1114 * include/bits/istream.tcc (istream::operator>>): Same.
1115 * include/bits/basic_string.tcc (string::_M_mutate): Same.
1116 (string::_S_construct): Same.
1117 (string::_M_clone): Same.
1118 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
1119 __throw_bad_cast.
1120 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
1121 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
1122 __throw_exception_again.
1123 (locale::_Imp::_Imp(string, size_t): Same.
1124 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
1125 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
1126 (locale::locale(const char*)): Use __throw_runtime_error.
1127 (locale::classic): Use __throw_exception_again.
1128 (locale::_S_normalize_category): Use __throw_runtime_error.
1129
1130 * src/stdexcept.cc: Remove cruft.
1131
1132 * libsupc++/exception_defines.h: New file.
1133 * libsupc++/new_opnt.cc: Include exception_defines.h.
1134 * libsupc++/vec.cc: Same.
1135 (__cxa_vec_new2): Use __throw_exception_again.
1136 (__cxa_vec_new3): Same.
1137 (__cxa_vec_ctor): Same.
1138 (__cxa_vec_delete3): Same.
1139 (__cxa_vec_cctor): Same.
1140 (__cxa_vec_delete2): Same.
1141 (__cxa_vec_dtor): Same.
1142 * libsupc++/exception_support.cc: Include exception_defines.h. Only
1143 compile exception-handling bits if __EXCEPTIONS is defined.
1144 Remove old ABI support.
1145 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
1146 std::__throw_bad_alloc() instead of throw bad_alloc.
1147 * libsupc++/Makefile.am: Add exception_defines.h.
1148 * libsupc++/Makefile.in: Reformat.
1149 * libsupc++/*: Format.
1150
1151 2001-02-15 Phil Edwards <pme@sources.redhat.com>
1152
1153 * docs/html/configopts.html: Minor updates and typo fixes.
1154 * docs/html/faq/index.html: Updates of the "not really bugs" list.
1155 * docs/html/faq/index.txt: Regenerated.
1156
1157 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
1158
1159 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
1160 dejagnu/dg.exp. Adapt to log options used to run testcases.
1161
1162 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1163
1164 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
1165 dejagnu/dg.exp.
1166
1167 2001-02-13 Dirk Mueller <dmuell@gmx.net>
1168 Phil Edwards <pme@sources.redhat.com>
1169
1170 * include/backward/function.h: Do not use rel_ops for older
1171 headers either.
1172 * include/backward/pair.h: Likewise.
1173
1174 2001-02-12 Mark Mitchell <mark@codesourcery.com>
1175
1176 * src/locale.cc: Remove bogus locale::id definitions.
1177
1178 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1179
1180 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
1181 not _DEFINE_VALARRAY_OPERATOR which is not existent.
1182
1183 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
1184 thinko in member initialisation.
1185
1186 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
1187
1188 * include/bits/std_valarray.h(valarray<>::shift): Avoid
1189 comparaison between signed and unsigned integer types.
1190 (valarray<>::cshift): Reformat.
1191
1192 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
1193
1194 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
1195 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
1196 * configure.in: Test for sigsetjmp.
1197 * configure, config.h.in: Rebuilt.
1198
1199 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
1200
1201 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
1202 lengths and strides.
1203 (__gslice_to_index): Document.
1204
1205 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
1206
1207 * include/bits/char_traits.h char_traits<char>::int_type: Change
1208 to `int' to match 21.1.3.1/2.
1209
1210 * testsuite/21_strings/char_traits-int_type.C: New test.
1211
1212 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
1213
1214 * testsuite/Makefile.am: New file.
1215
1216 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
1217
1218 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
1219
1220 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
1221
1222 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
1223
1224 2001-02-08 David Edelsohn <edelsohn@gnu.org>
1225
1226 * configure.target (aix4*): Remove extra set of brackets.
1227
1228 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
1229
1230 Clean up stdexcept.
1231 * include/bits/stringfwd.h: New file.
1232 * include/bits/stl_string_fwd.h: Remove.
1233 * include/bits/localefwd.h: Remove declaration for allocator.
1234 * include/bits/std_iosfwd: Same.
1235 * include/bits/std_string.h: Include it.
1236 * include/bits/std_ios.h: Remove include.
1237 * include/bits/basic_string.h: Tweak.
1238 * libsupc++/new: Format.
1239 * src/Makefile.am (base_headers): Add stringfwd.h, remove
1240 stl_string_fwd.h
1241 * src/Makefile.in: Regenerate.
1242 * include/bits/std_stdexcept.h: Rewrite.
1243 * src/stdexcept.cc: Same.
1244
1245 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
1246
1247 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
1248 install locations too.
1249 * aclocal.m4: Regenerate.
1250 * configure.in: Remove USE_LIBDIR.
1251 * configure: Regenerate.
1252 * src/Makefile.am (toolexecdir): Simplify, use
1253 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
1254 * src/Makefile.in: Regenerate.
1255 * libsupc++/Makefile.am: Same.
1256 * libsupc++/Makefile.in: Regenerate.
1257
1258 * src/Makefile.am: Just remove special rules for locale-inst.cc and
1259 misc-inst.cc as no longer necessary.
1260
1261 Follow C++STYLE for naming non-static functions.
1262 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
1263 __pad_char.
1264 * include/bits/streambuf.tcc: Same.
1265 * include/bits/ostream.tcc: Same.
1266 * include/bits/istream.tcc: Same.
1267 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
1268 (_S_output_float): To __output_float.
1269 * include/bits/std_streambuf.h (_S_copy_streambufs): To
1270 __copy_streambufs.
1271 * include/bits/locale_facets.tcc (_S_build_float_format): To
1272 __build_float_format.
1273 (_S_format): To __output_integer.
1274 (_S_fill): To __pad.
1275 * src/locale.cc: Same.
1276 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
1277 names.
1278 * include/bits/locale_facets.tcc (_S_group_digits): To
1279 __group_digits.
1280 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
1281 for collate, numpunct.
1282
1283 2001-02-06 Phil Edwards <pme@sources.redhat.com>
1284
1285 * docs/html/configopts.html: Fix HTML markup.
1286 * docs/html/install.html: Bring up to date.
1287 * docs/html/17_intro/C++STYLE: Add global variable conventions.
1288 * docs/html/21_strings/howto.html: More notes.
1289 * docs/html/22_locale/howto.html: Fix HTML markup.
1290 * docs/html/27_io/howto.html: More notes.
1291 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
1292 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
1293
1294 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
1295
1296 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
1297 to match header files.
1298 (_S_output_float): Likewise.
1299 (_S_copy_streambufs): Likewise.
1300
1301 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
1302 Phil Edwards <pme@sources.redhat.com>
1303
1304 * include/bits/std_istream.h (op>> signed,unsigned char): Must
1305 use reinterpret_cast, not static_cast.
1306
1307 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
1308
1309 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
1310 * aclocal.m4: Regenerate.
1311 * configure: Regenerate.
1312
1313 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
1314
1315 * include/bits/locale_facets.h (class moneypunct): Fix typos.
1316 * libsupc++/pure.cc: Revert.
1317
1318 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
1319
1320 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
1321 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
1322 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
1323 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
1324 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
1325 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
1326 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
1327 * aclocal.m4: Regenerate.
1328 * configure: Regenerate.
1329
1330 2001-02-05 Mark Mitchell <mark@codesourcery.com>
1331
1332 * include/bits/locale_facets.tcc: Remove `static' keyword on
1333 function definitions.
1334 * include/bits/std_streambuf.h: Likewise.
1335 * src/Makefile.am: Remove use of -fimplicit-templates.
1336 * src/Makefile.in: Regenerated.
1337 * src/locale-inst.cc: Explicitly instantiate more functions.
1338 * src/misc-inst.cc: Likewise.
1339 * src/string-inst.cc: Likewise.
1340
1341 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
1342
1343 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
1344 macro. Consolidate all the bits to do with where includes might be
1345 installed.
1346 * aclocal.m4: Regenerate.
1347 * configure.in: Use it.
1348 * configure: Regenerate.
1349 * src/Makefile.am (targetincludep): Use simplified rules.
1350 (targetincludep): Rename gxx_target_include_dir.
1351 (myincludep): Rename gxx_include_dir.
1352 * src/Makefile.in: Regenerate.
1353 * libsupc++/Makefile.am: Use simplified rules.
1354 * libsupc++/Makefile.in: Regenerate.
1355
1356 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
1357
1358 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
1359 * include/c_std/bits/std_cctype.h: Same.
1360 * include/c_std/bits/std_cassert.h: Same.
1361 * include/c_std/bits/std_cstdarg.h: Same.
1362 * include/c_std/bits/std_cstddef.h: Same.
1363
1364 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
1365 namespace std.
1366 * include/c_std/bits/std_ctime.h: Same.
1367 * include/c_std/bits/std_clocale.h: Same.
1368 * include/c_std/bits/std_cmath.h: Same.
1369 * include/c_std/bits/std_csetjmp.h: Same.
1370 * include/c_std/bits/std_csignal.h: Same.
1371 * include/c_std/bits/std_cstring.h: Same.
1372 * include/c_std/bits/std_cstdlib.h: Same.
1373 * include/c_std/bits/std_cwchar.h: Same.
1374
1375 2001-02-05 Phil Edwards <pme@sources.redhat.com>
1376
1377 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
1378
1379 2001-02-05 Mark Mitchell <mark@codesourcery.com>
1380
1381 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
1382 (string::_S_construct): Likewise.
1383
1384 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
1385
1386 * testsuite/config/default.exp: New file.
1387 * testsuite/config: New directory.
1388
1389 2001-02-04 Mark Mitchell <mark@codesourcery.com>
1390
1391 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
1392 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
1393 whenever !__GXX_MERGED_TYPEINFO_NAMES.
1394 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
1395
1396 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
1397 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1398
1399 * Makefile.am (mkinstalldirs): Set.
1400 * src/Makefile.am (mkinstalldirs): Set.
1401 * libmath/Makefile.am (mkinstalldirs): Set.
1402 * libsup++/Makefile.am (mkinstalldirs): Set.
1403 * libio/Makefile.am (mkinstalldirs): Set.
1404 * */Makefile.in: Regenerate.
1405
1406 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
1407
1408 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
1409 * include/bits/localefwd.h: More initialization cleanups.
1410
1411 2001-02-03 Jeffrey A Law <law@cygnus.com>
1412
1413 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
1414 correctly targets with 16bit ints.
1415 (_S_ios_openmode_end): Similarly.
1416 (_S_ios_iostate_end): Similarly.
1417 (_S_ios_Seekdir_end): Similarly.
1418
1419 2001-02-02 Phil Edwards <pme@sources.redhat.com>
1420
1421 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
1422
1423 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
1424
1425 * configure.in (toplevel_srcdir, auxdir): Set.
1426 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
1427 * aclocal.m4, configure, Makefile.in: Rebuilt.
1428 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
1429 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
1430 * libsupc++-v3/Makefile.in: Rebuilt.
1431 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
1432 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
1433
1434 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
1435
1436 * config/c_locale_generic.cc: Remove langinfo include.
1437
1438 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
1439
1440 Preliminary named locales.
1441 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
1442 * aclocal.m4: Regenerate.
1443 * configure.in: Use it.
1444 * configure: Regerate.
1445 * src/Makefile.am (sources): Add c++locale.cc.
1446 (build_headers): Add c++locale.h.
1447 * src/Makefile.in: Regenerate.
1448 * config/c_locale_gnu.h: New file.
1449 * config/c_locale_gnu.cc: New file. Non-inline member functions
1450 for named locales, gnu-specific.
1451 * config/c_locale_generic.h: New file.
1452 * config/c_locale_generic.cc: New file. Non-inline member
1453 functions for named locales, generic version.
1454 * docs/html/configopts.html: Add documentation on new options.
1455
1456 * include/bits/locale_facets.h (class _Messages): Remove.
1457 (class _Moneypunct): Remove.
1458 * src/locale-inst.cc: Remove.
1459
1460 * include/bits/locale_facets.h (class _Collate): Remove.
1461 * src/locale-inst.cc (std): Remove.
1462 * src/locale.cc: And here.
1463
1464 * include/bits/localefwd.h (locale::_M_coalesce): New
1465 function. Correctly put together multi-name locales.
1466 (_Impl(const _Impl&, category, size_t)): Remove.
1467
1468 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
1469 member functions.
1470 (_M_normalize_category_names): Remove.
1471 (_M_replace_categories): Fix.
1472
1473 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
1474 (locale::_Impl::_M_construct_ctype): Remove.
1475 (locale::_Impl::_M_construct_monetary): Remove.
1476 (locale::_Impl::_M_construct_numeric): Remove.
1477 (locale::_Impl::_M_construct_time): Remove.
1478 (locale::_Impl::_M_construct_messages): Remove.
1479
1480 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
1481 (_Use_facet_failure_handle): Remove.
1482 * src/locale.cc: Remove definitions.
1483 * src/locale-inst.cc: And here.
1484
1485 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
1486
1487 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
1488 create and error-check underlying locale object.
1489 (locale::facet::_S_destroy_c_locale): Add, take care of properly
1490 tearing down underlying locale object.
1491 * include/bits/localefwd.h (locale::facet): Declare.
1492 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
1493 correctness, as glibc apparently has incorrect info in it. Test
1494 with it when it works again.....
1495
1496 * include/bits/localefwd.h (locale::_Impl::__vec_string):
1497 Remove. Number of categories is fixed at six, so just simplify and
1498 make this an array of strings.
1499 (locale::_Impl::_M_has_name): Remove.
1500 (locale::_Impl::_M_name): Remove.
1501 (locale::_Impl::_M_category_names): Turns into...
1502 (locale::_Impl::_M_names): ...this.
1503 (locale::_Impl::_M_has_same_name()): New function.
1504 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
1505 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
1506 signature.
1507 * src/locale.cc (locale::name()): Construct mangled name
1508 accurately reflecting combined locale categories.
1509
1510 * src/locale.cc (locale::classic()): Don't initialize here.
1511 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
1512 __refs, bool __has_name, string __str): Do it here.
1513
1514 * include/bits/localefwd.h: _S_categories_num to
1515 _S_num_categories. _S_facets_num to _S_num_facets.
1516 (locale::id::id()): Explicitly set _M_index to zero.
1517 * src/locale.cc: Same.
1518
1519 * src/locale.cc: (locale::locale(const char*)): Construct named
1520 locales uniquely.
1521
1522 * src/locale.cc: Remove numpunct_byname ctors.
1523 * testsuite/22_locale/numpunct_byname.cc: New file.
1524 * testsuite/22_locale/numpunct.cc: New file.
1525
1526 * include/bits/localefwd.h (class locale): Change data members to
1527 protected, from private.
1528 (_Impl::_M_get_c_locale): Add member function.
1529 (locale::facet::_M_get_global_impl()): Add member function.
1530 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
1531 a __c_locale pointer.
1532 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
1533 named locales.
1534 * testsuite/22_locale/members.cc: New file, test name and combine.
1535
1536 * include/bits/locale_facets.h (class numpunct): Remove class
1537 _Punct and _Numpunct. Rewrite class numpunct to be correct for
1538 named locales.
1539 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
1540 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
1541 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
1542 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
1543 * testsuite/22_locale/numpunct_char_members.cc: New file.
1544
1545 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
1546
1547 * testsuite/README: Add more comment.
1548 * testsuite/lib/libstdc++.exp: Tweak comment.
1549
1550 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
1551
1552 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
1553
1554 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
1555
1556 * testsuite/21_strings/inserters_extractors.cc: Remove
1557 explicit reference to 'testsuite/'.
1558
1559 2001-01-25 Richard Henderson <rth@redhat.com>
1560
1561 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
1562 bits. Fixes Tru64 build issues.
1563
1564 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1565
1566 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
1567 (use ${MAKE-make}, not ${MAKE:-make}).
1568 * aclocal.m4, configure: Regenerate.
1569
1570 2001-01-25 Mark Mitchell <mark@codesourcery.com>
1571
1572 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
1573 checkin.
1574
1575 * src/Makefile.am (sources): Add globals.cc.
1576 * src/Makefile.in: Regenerated.
1577 * src/globals.cc: New file.
1578 * src/ios.cc (cin): Don't define here, just declare extern.
1579 (cout): Likewise.
1580 (cerr): Likewise.
1581 (clog): Likewise.
1582 (wcin): Likewise.
1583 (wcout): Likewise.
1584 (wcerr): Likewise.
1585 (wclog): Likewise.
1586
1587 2001-01-25 Phil Edwards <pme@sources.redhat.com>
1588
1589 * include/bits/std_iterator.h: Do not include stl_relops.h.
1590 * include/bits/std_numeric.h: Ditto.
1591 * include/bits/stl_algobase.h: Ditto.
1592 * include/bits/stl_relops.h: Add comment warning about problems.
1593
1594 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
1595
1596 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
1597 in testcases. Prepare for the DejaGnu based framework.
1598 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
1599 directory -- it is now mkcheck working directory.
1600 * tests_flags.in: Remove reference to $(top_srcdir). Use
1601 ${SRC_DIR} instead.
1602 * Makefile.am (check, check-install): Change mkcheck invocation
1603 logic.
1604 * Makefile.in: Regenerate.
1605
1606 2001-01-24 Mark Mitchell <mark@codesourcery.com>
1607
1608 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
1609 (__always_swap): Likewise.
1610
1611 2001-01-23 Chris Demetriou <cgd@broadcom.com>
1612
1613 * libsupc++/exception_support.cc (__terminate_func): Remove
1614 declaration.
1615 (__terminate_func_ptr): New typedef.
1616 (__terminate, __terminate_set_func): New extern function
1617 prototypes.
1618 (std::terminate): Use __terminate function.
1619 (std::set_terminate): Use __terminate_set_func function.
1620
1621 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
1622
1623 * configure.target: Just use os_include_dir always.
1624 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
1625 Link atomicity files and ctype files here.
1626 * configure: Regenerate.
1627 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
1628 (GLIBCPP_ENABLE_ATOMICITY): Remove.
1629 * aclocal.m4: Regenerate.
1630
1631 2001-01-23 Chris Demetriou <cgd@broadcom.com>
1632
1633 * configure.in: Place definition of MULTISUBDIR in
1634 libsupc++/Makefile as is done for src/Makefile.
1635 * configure: Regenerate.
1636
1637 2001-01-23 Phil Edwards <pme@sources.redhat.com>
1638
1639 * acinclude.m4: Cosmetic changes only.
1640 * aclocal.m4: Regenerated.
1641 * configure: Regenerated.
1642 * configure.target: Update documented list of changed variables.
1643 * docs/html/install.html: Fix typo.
1644 * docs/html/20_util/howto.html: More notes on auto_ptr.
1645 * docs/html/27_io/howto.html: More notes on streabufs.
1646 * docs/html/faq/index.html: Add rel_ops problem and mention the
1647 DEC as(1) .subsection difficulty.
1648 * docs/html/faq/index.txt: Regenerated.
1649
1650 2001-01-23 Mark Mitchell <mark@codesourcery.com>
1651
1652 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
1653 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
1654 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
1655 its already provided in config.target.
1656 * aclocal.m4: Regenerated.
1657 * configure: Likewise.
1658 * configure.target: Set ctype_include_dir for lots of systems.
1659 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
1660 * libsupc++/Makefile.in: Regenerated.
1661
1662 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
1663
1664 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
1665 keyword capability.
1666
1667 * testsuite/README: Add comment.
1668
1669 2001-01-21 Phil Edwards <pme@sources.redhat.com>
1670
1671 * docs/html/configopts.html: Update for current status. Fix HTML.
1672 * docs/html/install.html: Update for current status.
1673
1674 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1675
1676 * testsuite/libstdc++.tests/tests.exp: New file.
1677 * testsuite/lib/libstdc++.exp: Itou.
1678 * testsuite/README: Itou.
1679
1680 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
1681
1682 * tests_flags.in: Just output the bare minimum to run tests.
1683 Let's the caller do its own arrangement.
1684
1685 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
1686 computations.
1687
1688 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
1689
1690 * testsuite/17_intro: Prepare testcases for new style DejaGnu
1691 framework.
1692
1693 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
1694
1695 * testsuite/libstdc++.tests, testsuite/lib: New directories.
1696
1697 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
1698
1699 * mkcheck.in: Construct file names that match $objdir structure.
1700 * testsuite/27_io/filebuf_members-1.txt: New file.
1701 * testsuite/27_io/ifstream_members-1.txt: New file.
1702 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
1703
1704 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
1705 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
1706
1707 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1708
1709 * testsuite/27_io/istream_sentry.cc (test02): Fix.
1710
1711 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
1712
1713 libstdc++/1605
1714 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
1715 * src/ios.cc (ios_base::failure): Make definitions match.
1716 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
1717 (class bad_cast): Same.
1718 * libsupc++/exception (class exception): Add throw specs.
1719 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
1720 (set_unexpected): Same.
1721 (uncaught_exception): Same.
1722 (what): Same.
1723
1724 * docs/html/17_intro/C++STYLE (classname): Fix.
1725
1726 2001-01-16 Mark Mitchell <mark@codesourcery.com>
1727
1728 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
1729 Use it do explicitly instantiate predicate<T> and value<T> for
1730 all the builtin Ts.
1731
1732 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
1733
1734 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
1735 uninitialized thinko in last change.
1736
1737 2001-01-16 Mark Mitchell <mark@codesourcery.com>
1738
1739 * libsupc++/exception_support.cc (__cp_pop_exception): Change
1740 prototype.
1741
1742 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
1743
1744 * docs/html/17_intro/C++STYLE (classname): Add more existing
1745 and stylish patterns.
1746
1747 libstdc++/944
1748 * include/bits/istream.tcc (istream::sentry::sentry()): Set
1749 failbit if the state of the stream is not good.
1750 * testsuite/27_io/istream_sentry.cc (test02): Add test.
1751 * testsuite/27_io/istream_manip.cc (test01): Modify.
1752
1753 libstdc++/1019
1754 reported by Paolo Carlini <pcarlini@unitus.it>
1755 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
1756 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
1757
1758 libstdc++/1057
1759 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
1760 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
1761 (xsgetn): Same. Simplify.
1762 * testsuite/27_io/streambuf.cc (test04): Add testcases.
1763
1764 reported by Larry Evans <jcampbell3@prodigy.net>
1765 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
1766 equality with eof on returned value from overflow.
1767
1768 2001-01-14 Andreas Jaeger <aj@suse.de>
1769
1770 * libio/libio.h: Add test for glibc 2.0.
1771
1772 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
1773
1774 * config/os/djgpp/bits/*: Fix dates.
1775
1776 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
1777 _CharT* __end, _CharT __c): Remove.
1778 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
1779 * include/bits/char_traits.h: Tweak.
1780
1781 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
1782
1783 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
1784 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
1785 bash bug.
1786 * aclocal.m4: regenerated.
1787 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
1788 * configure: regenerated.
1789 * config/os/djgpp, config/os/djgpp/bits: new directories.
1790 * config/os/djgpp/bits/ctype_base.h,
1791 config/os/djgpp/bits/ctype_inline.h,
1792 config/os/djgpp/bits/ctype_noninline.h,
1793 config/os/djgpp/bits/os_defines.h: new files.
1794
1795 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
1796
1797 * include/c_std/bits/std_cstdio.h: Undef printf.
1798
1799 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
1800
1801 * src/ios.cc: Fix typo: change cout->wcout.
1802
1803 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
1804 * src/Makefile.in: Regenerate.
1805
1806 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1807
1808 * include/bits/std_complex.h: Fix a typo.
1809
1810 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
1811 <kainz@ilm.com>
1812
1813 Fixes for libstdc++/1576
1814 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
1815 file, move contents into....
1816 * src/ios.cc: ...Here. Put defines for iostreams objects and
1817 initialization routines into one file to simplify DSO interaction.
1818 * include/bits/std_iostream.h: Touch.
1819 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
1820 * src/Makefile.am (sources): Remove stdstreams.cc.
1821 * src/Makefile.in: Regenerate.
1822
1823 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1824
1825 * tests_flags.in (check_directory): Fix typo.
1826
1827 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1828
1829 * include/bits/std_complex.h: Fix a typo.
1830
1831 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
1832
1833 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
1834 code path:) Remove magic constants and restructure to handle
1835 ctype.h bit mask layout changes more gracefully. (Make fast
1836 code path:) Use __maskrune (), if available.
1837 (is): Remove special case for digit and xdigit masks.
1838
1839 2001-01-09 Robert Lipe <robertlipe@usa.net>
1840
1841 * include/c_std/bits/std_ctime.h: Undefine difftime.
1842
1843 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
1844
1845 * src/gen-num-limits.cc (signal_adapter): New template function.
1846 (signal_handler): Use it, instead of signal.
1847 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
1848 require both tests to trap to set trap_flag.
1849
1850 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
1851
1852 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
1853 initialize mbstate_t member, name offset data members *off, not pos.
1854 * include/bits/fstream.tcc (filebuf::filebuf): Same.
1855
1856 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
1857
1858 reported by Chris G. Demetriou <cgd@sibyte.com>
1859 * configure.in: Change -linux-* to -linux*.
1860 * configure: Regenerate.
1861
1862 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
1863
1864 Fix 27_io/filebuf_members.cc
1865 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
1866 const string& __name, category __cat, size_t __refs): Set
1867 _M_has_name with _M_name.
1868 * include/bits/localefwd.h (locale::operator!=): Protect member
1869 function call with this->.
1870 * src/locale.cc (locale::operator==): Make fast checks first.
1871 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
1872
1873 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
1874 to ios_base::Init.
1875 * src/ios.cc (ios_base::Init::Init): Initialize here.
1876 (ios_base::sync_with_stdio): Set here.
1877
1878 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
1879
1880 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
1881 systems that support it, call dup() before fdopen().
1882
1883 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
1884
1885 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
1886 * testsuite/17_intro/header_cwctype.cc (main): New file.
1887
1888 * src/Makefile.am (base_headers): Change.
1889 * include/bits/std_string.h: And here.
1890 * include/bits/string.tcc: Tweaks, move to...
1891 * include/bits/basic_string.tcc: ...Here.
1892 * src/string-inst.cc: Simplify, just instantiate the whole class,
1893 not member-by-member.
1894
1895 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
1896
1897 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
1898 * aclocal.m4: Regenerate.
1899 * configure: Regenerate.
1900
1901 * include/bits/c++config (__GLIBCPP__): Bump version number.
1902
1903 * ChangeLog: Start new log for year 2001
1904 * ChangeLog-2000: New file.
1905
1906 * docs/html/configopts.html: Make sure default values are current,
1907 add commentary.
1908
1909 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
1910
1911 * include/c_std/bits/std_cwchar.h: Same.
1912 * testsuite/17_intro/header_cwchar.cc: Same.
1913 * include/c_std/bits/std_ctime.h: Same.
1914 * testsuite/17_intro/header_ctime.cc: Same.
1915 * include/c_std/bits/std_cstdlib.h: Same.
1916 Clean up undefs, make consistent with cwchar and cmath, etc.
1917 * testsuite/17_intro/header_cstdlib.cc: Same.
1918 * include/c_std/bits/std_cstdio.h: Same here.
1919 * testsuite/17_intro/header_cstring.cc: Same.
1920 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
1921 * testsuite/17_intro/header_cstring.cc: New file. Check for
1922 size_t in namespace std.
1923
1924 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
1925 * acconfig.h (HAVE_MBSTATE_T): Add.
1926 * config.h.in: Regenerate.
1927 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
1928 mbstate_t.
1929 * aclocal.m4: Regenerate.
1930 * configure: Regenerate.
1931 * testsuite/17_intro/headers_c++.cc: New file.
1932 * testsuite/17_intro/headers_c.cc: Small changes.
1933
1934 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
1935
1936 * tests_flags.in: Fix typo in usage.
1937
1938 * tests_flags.in: Set target specific LIBS for cygwin.