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