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