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