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