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