]> gcc.gnu.org Git - gcc.git/blame - libstdc++-v3/ChangeLog
c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Define so library is compliant.
[gcc.git] / libstdc++-v3 / ChangeLog
CommitLineData
e6ec3b2a 12001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
e4df3e48
JO
2
3 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
4 Define so library is compliant.
5
729338bb
AG
62001-02-15 Anthony Green <green@redhat.com>
7
8 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
9 compilation.
10 * aclocal.m4: Regenerate.
11 * configure: Regenerate.
12
01a49191
RB
132001-02-15 Rodney Brown <RodneyBrown@mynd.com>
14
15 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
16 Include ieeefp.h for fpclass on UnixWare{2,7}.
17 * aclocal.m4: Regenerate.
18 * configure: Regenerate.
19 * mkcheck.in (size_command): Do without GNU-grep when using
20 size from binutils.
21
94083e5d
MM
222001-02-15 Mark Mitchell <mark@codesourcery.com>
23
24 Remove old ABI support from libsupc++.
25 * libsupc++/cxxabi.h: Remove conditionally compiled code.
26 * libsupc++/exception_support.cc: Likewise.
27 * libsupc++/pure.cc: Likewise.
28 * libsupc++/tinfo.cc: Likewise.
29 * libsupc++/tinfo.h: Likewise.
30 * libsupc++/tinfo2.cc: Likewise.
31 * libsupc++/typeinfo: Likewise.
32 * libsupc++/vec.cc: Likewise.
33
e2c09482
BK
342001-02-15 Benjamin Kosnik <bkoz@redhat.com>
35
36 Add support for -fno-exceptions.
37 * include/bits/exception_support.h: Remove.
38 * include/bits/basic_string.h: Remove exception_support.
39 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
40 (string::at): Same.
41 (string::substr): Same.
42 * include/bits/basic_string.tcc (string::reserve): Replace
43 __LENGTHERROR with __throw_length_error.
44 (string::_S_create): Same.
45 (string::resize): Same.
46 (string::_M_replace): Same.
47 (string::replace): Same.
48 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
49 (string::compare): Same.
50 * include/bits/stl_vector.h: Remove exception_support.
51 * src/Makefile.am (base_headers): Remove here.
52 * src/Makefile.in: Regenerate.
53
54 * include/bits/stl_range_errors.h: Remove.
55 * include/bits/stl_deque.h: Use __throw_range_error.
56 * include/bits/std_deque.h: Include functexcept.h.
57 * include/bits/std_vector.h: Same.
58 * src/Makefile.am (base_headers): Remove here.
59 * src/Makefile.in: Regenerate.
60 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
61 * include/ext/bvector: Remove stl_range_errors.h
62
63 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
64
65 * include/bits/functexcept.h: New file.
66 * src/functexcept.cc: New file. Definitions for function-based
67 exception routines.
68 * src/Makefile.am (sources): Add functexcept.cc.
69 * src/Makefile.in: Regenerate.
70
71 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
72 __EXCEPTIONS.
73
74 * include/bits/localefwd.h: Include functexcept.h.
75 * include/bits/std_iosfwd.h: Same.
76
77 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
78 throw basic_ios::failure.
79 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
80 Use __throw_exception_again.
81 (filebuf::_M_filebuf_init): Same.
82 * include/bits/streambuf.tcc (__copy_streambufs): Same.
83 * include/bits/ostream.tcc (ostream::operator<<): Same.
84 * include/bits/istream.tcc (istream::operator>>): Same.
85 * include/bits/basic_string.tcc (string::_M_mutate): Same.
86 (string::_S_construct): Same.
87 (string::_M_clone): Same.
88 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
89 __throw_bad_cast.
90 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
91 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
92 __throw_exception_again.
93 (locale::_Imp::_Imp(string, size_t): Same.
94 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
95 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
96 (locale::locale(const char*)): Use __throw_runtime_error.
97 (locale::classic): Use __throw_exception_again.
98 (locale::_S_normalize_category): Use __throw_runtime_error.
99
100 * src/stdexcept.cc: Remove cruft.
101
102 * libsupc++/exception_defines.h: New file.
103 * libsupc++/new_opnt.cc: Include exception_defines.h.
104 * libsupc++/vec.cc: Same.
105 (__cxa_vec_new2): Use __throw_exception_again.
106 (__cxa_vec_new3): Same.
107 (__cxa_vec_ctor): Same.
108 (__cxa_vec_delete3): Same.
109 (__cxa_vec_cctor): Same.
110 (__cxa_vec_delete2): Same.
111 (__cxa_vec_dtor): Same.
112 * libsupc++/exception_support.cc: Include exception_defines.h. Only
113 compile exception-handling bits if __EXCEPTIONS is defined.
114 Remove old ABI support.
115 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
116 std::__throw_bad_alloc() instead of throw bad_alloc.
117 * libsupc++/Makefile.am: Add exception_defines.h.
118 * libsupc++/Makefile.in: Reformat.
119 * libsupc++/*: Format.
120
777c9517
PE
1212001-02-15 Phil Edwards <pme@sources.redhat.com>
122
123 * docs/html/configopts.html: Minor updates and typo fixes.
124 * docs/html/faq/index.html: Updates of the "not really bugs" list.
125 * docs/html/faq/index.txt: Regenerated.
126
78e3e6ac
GDR
1272001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
128
129 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
130 dejagnu/dg.exp. Adapt to log options used to run testcases.
131
1322001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
133
134 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
135 dejagnu/dg.exp.
136
f4483e85
DM
1372001-02-13 Dirk Mueller <dmuell@gmx.net>
138 Phil Edwards <pme@sources.redhat.com>
139
140 * include/backward/function.h: Do not use rel_ops for older
141 headers either.
142 * include/backward/pair.h: Likewise.
143
11662aaa
MM
1442001-02-12 Mark Mitchell <mark@codesourcery.com>
145
146 * src/locale.cc: Remove bogus locale::id definitions.
147
169ef01c
GDR
1482001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
149
1c7c97cc
GDR
150 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
151 not _DEFINE_VALARRAY_OPERATOR which is not existent.
152
169ef01c
GDR
153 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
154 thinko in member initialisation.
155
d2155bfe
GDR
1562001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
157
158 * include/bits/std_valarray.h(valarray<>::shift): Avoid
159 comparaison between signed and unsigned integer types.
160 (valarray<>::cshift): Reformat.
161
48dbafe4
AO
1622001-02-11 Alexandre Oliva <aoliva@redhat.com>
163
164 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
165 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
166 * configure.in: Test for sigsetjmp.
167 * configure, config.h.in: Rebuilt.
168
8db47d74
GDR
1692001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
170
171 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
172 lengths and strides.
173 (__gslice_to_index): Document.
174
b80253d7
GDR
1752001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
176
177 * include/bits/char_traits.h char_traits<char>::int_type: Change
178 to `int' to match 21.1.3.1/2.
179
180 * testsuite/21_strings/char_traits-int_type.C: New test.
181
7f98c6bc
GDR
1822001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
183
184 * testsuite/Makefile.am: New file.
185
929408ba
NS
1862001-02-09 Nathan Sidwell <nathan@codesourcery.com>
187
188 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
189
ab7a43d8
BK
1902001-02-08 Loren J. Rittle <ljrittle@acm.org>
191
192 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
193
1942001-02-08 David Edelsohn <edelsohn@gnu.org>
527b03ed
DE
195
196 * configure.target (aix4*): Remove extra set of brackets.
197
0c952af3
BK
1982001-02-07 Benjamin Kosnik <bkoz@redhat.com>
199
200 Clean up stdexcept.
201 * include/bits/stringfwd.h: New file.
202 * include/bits/stl_string_fwd.h: Remove.
203 * include/bits/localefwd.h: Remove declaration for allocator.
204 * include/bits/std_iosfwd: Same.
205 * include/bits/std_string.h: Include it.
206 * include/bits/std_ios.h: Remove include.
207 * include/bits/basic_string.h: Tweak.
208 * libsupc++/new: Format.
209 * src/Makefile.am (base_headers): Add stringfwd.h, remove
210 stl_string_fwd.h
211 * src/Makefile.in: Regenerate.
212 * include/bits/std_stdexcept.h: Rewrite.
213 * src/stdexcept.cc: Same.
214
64c8ea24 2152001-02-06 Benjamin Kosnik <bkoz@redhat.com>
72ed2836
BK
216
217 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
218 install locations too.
64c8ea24 219 * aclocal.m4: Regenerate.
72ed2836
BK
220 * configure.in: Remove USE_LIBDIR.
221 * configure: Regenerate.
222 * src/Makefile.am (toolexecdir): Simplify, use
223 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
224 * src/Makefile.in: Regenerate.
225 * libsupc++/Makefile.am: Same.
226 * libsupc++/Makefile.in: Regenerate.
227
228 * src/Makefile.am: Just remove special rules for locale-inst.cc and
229 misc-inst.cc as no longer necessary.
230
231 Follow C++STYLE for naming non-static functions.
232 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
233 __pad_char.
234 * include/bits/streambuf.tcc: Same.
235 * include/bits/ostream.tcc: Same.
236 * include/bits/istream.tcc: Same.
237 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
238 (_S_output_float): To __output_float.
239 * include/bits/std_streambuf.h (_S_copy_streambufs): To
240 __copy_streambufs.
241 * include/bits/locale_facets.tcc (_S_build_float_format): To
242 __build_float_format.
243 (_S_format): To __output_integer.
244 (_S_fill): To __pad.
245 * src/locale.cc: Same.
246 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
247 names.
248 * include/bits/locale_facets.tcc (_S_group_digits): To
249 __group_digits.
250 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
251 for collate, numpunct.
252
222bb619
PE
2532001-02-06 Phil Edwards <pme@sources.redhat.com>
254
255 * docs/html/configopts.html: Fix HTML markup.
256 * docs/html/install.html: Bring up to date.
257 * docs/html/17_intro/C++STYLE: Add global variable conventions.
258 * docs/html/21_strings/howto.html: More notes.
259 * docs/html/22_locale/howto.html: Fix HTML markup.
260 * docs/html/27_io/howto.html: More notes.
261 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
262 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
263
9fbbdc9f
JO
2642001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
265
266 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
267 to match header files.
268 (_S_output_float): Likewise.
269 (_S_copy_streambufs): Likewise.
270
3f0d0909
HR
2712001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
272 Phil Edwards <pme@sources.redhat.com>
0cc21532
HR
273
274 * include/bits/std_istream.h (op>> signed,unsigned char): Must
275 use reinterpret_cast, not static_cast.
276
e9a393e6
BK
2772001-02-06 Benjamin Kosnik <bkoz@redhat.com>
278
279 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
280 * aclocal.m4: Regenerate.
281 * configure: Regenerate.
282
2832001-02-05 Benjamin Kosnik <bkoz@redhat.com>
0a1cceea
BK
284
285 * include/bits/locale_facets.h (class moneypunct): Fix typos.
f84e0dd3 286 * libsupc++/pure.cc: Revert.
0a1cceea 287
e9a393e6 2882001-02-05 Benjamin Kosnik <bkoz@redhat.com>
f8db4f20
BK
289
290 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
291 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
292 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
293 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
294 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
295 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
296 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
297 * aclocal.m4: Regenerate.
298 * configure: Regenerate.
299
bf6adbe2
MM
3002001-02-05 Mark Mitchell <mark@codesourcery.com>
301
302 * include/bits/locale_facets.tcc: Remove `static' keyword on
303 function definitions.
304 * include/bits/std_streambuf.h: Likewise.
305 * src/Makefile.am: Remove use of -fimplicit-templates.
306 * src/Makefile.in: Regenerated.
307 * src/locale-inst.cc: Explicitly instantiate more functions.
72ed2836 308 * src/misc-inst.cc: Likewise.
bf6adbe2 309 * src/string-inst.cc: Likewise.
f8db4f20 310
43ba4a58
BK
3112001-02-05 Benjamin Kosnik <bkoz@redhat.com>
312
313 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
314 macro. Consolidate all the bits to do with where includes might be
315 installed.
316 * aclocal.m4: Regenerate.
317 * configure.in: Use it.
318 * configure: Regenerate.
319 * src/Makefile.am (targetincludep): Use simplified rules.
320 (targetincludep): Rename gxx_target_include_dir.
321 (myincludep): Rename gxx_include_dir.
322 * src/Makefile.in: Regenerate.
323 * libsupc++/Makefile.am: Use simplified rules.
324 * libsupc++/Makefile.in: Regenerate.
325
8089616e
BK
3262001-02-05 Benjamin Kosnik <bkoz@redhat.com>
327
328 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
329 * include/c_std/bits/std_cctype.h: Same.
330 * include/c_std/bits/std_cassert.h: Same.
331 * include/c_std/bits/std_cstdarg.h: Same.
332 * include/c_std/bits/std_cstddef.h: Same.
333
334 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
335 namespace std.
336 * include/c_std/bits/std_ctime.h: Same.
337 * include/c_std/bits/std_clocale.h: Same.
338 * include/c_std/bits/std_cmath.h: Same.
339 * include/c_std/bits/std_csetjmp.h: Same.
340 * include/c_std/bits/std_csignal.h: Same.
341 * include/c_std/bits/std_cstring.h: Same.
342 * include/c_std/bits/std_cstdlib.h: Same.
343 * include/c_std/bits/std_cwchar.h: Same.
344
58f60b5c
PE
3452001-02-05 Phil Edwards <pme@sources.redhat.com>
346
347 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
348
9b30b506
MM
3492001-02-05 Mark Mitchell <mark@codesourcery.com>
350
351 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
352 (string::_S_construct): Likewise.
353
0ba434e0
GDR
3542001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
355
356 * testsuite/config/default.exp: New file.
357 * testsuite/config: New directory.
358
0f0b2faf
MM
3592001-02-04 Mark Mitchell <mark@codesourcery.com>
360
361 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
362 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
363 whenever !__GXX_MERGED_TYPEINFO_NAMES.
364 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
365
ae9dc931
BK
3662001-02-03 Alexandre Oliva <aoliva@redhat.com>
367 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
368
369 * Makefile.am (mkinstalldirs): Set.
370 * src/Makefile.am (mkinstalldirs): Set.
371 * libmath/Makefile.am (mkinstalldirs): Set.
372 * libsup++/Makefile.am (mkinstalldirs): Set.
373 * libio/Makefile.am (mkinstalldirs): Set.
374 * */Makefile.in: Regenerate.
375
be76a59f
BK
3762001-02-03 Benjamin Kosnik <bkoz@redhat.com>
377
378 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
379 * include/bits/localefwd.h: More initialization cleanups.
380
3812001-02-03 Jeffrey A Law <law@cygnus.com>
07319722
JL
382
383 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
384 correctly targets with 16bit ints.
385 (_S_ios_openmode_end): Similarly.
386 (_S_ios_iostate_end): Similarly.
387 (_S_ios_Seekdir_end): Similarly.
388
2bf9b27d
PE
3892001-02-02 Phil Edwards <pme@sources.redhat.com>
390
391 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
392
e2c20fae
AO
3932001-02-01 Alexandre Oliva <aoliva@redhat.com>
394
395 * configure.in (toplevel_srcdir, auxdir): Set.
396 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
397 * aclocal.m4, configure, Makefile.in: Rebuilt.
398 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
399 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
400 * libsupc++-v3/Makefile.in: Rebuilt.
401 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
402 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
403
1f63887a
BK
4042001-01-30 Benjamin Kosnik <bkoz@redhat.com>
405
406 * config/c_locale_generic.cc: Remove langinfo include.
407
0214010c
BK
4082001-01-29 Benjamin Kosnik <bkoz@redhat.com>
409
410 Preliminary named locales.
411 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
412 * aclocal.m4: Regenerate.
413 * configure.in: Use it.
414 * configure: Regerate.
415 * src/Makefile.am (sources): Add c++locale.cc.
416 (build_headers): Add c++locale.h.
417 * src/Makefile.in: Regenerate.
418 * config/c_locale_gnu.h: New file.
419 * config/c_locale_gnu.cc: New file. Non-inline member functions
420 for named locales, gnu-specific.
421 * config/c_locale_generic.h: New file.
422 * config/c_locale_generic.cc: New file. Non-inline member
423 functions for named locales, generic version.
424 * docs/html/configopts.html: Add documentation on new options.
425
426 * include/bits/locale_facets.h (class _Messages): Remove.
427 (class _Moneypunct): Remove.
428 * src/locale-inst.cc: Remove.
429
430 * include/bits/locale_facets.h (class _Collate): Remove.
431 * src/locale-inst.cc (std): Remove.
432 * src/locale.cc: And here.
433
434 * include/bits/localefwd.h (locale::_M_coalesce): New
435 function. Correctly put together multi-name locales.
436 (_Impl(const _Impl&, category, size_t)): Remove.
437
438 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
439 member functions.
440 (_M_normalize_category_names): Remove.
441 (_M_replace_categories): Fix.
442
443 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
444 (locale::_Impl::_M_construct_ctype): Remove.
445 (locale::_Impl::_M_construct_monetary): Remove.
446 (locale::_Impl::_M_construct_numeric): Remove.
447 (locale::_Impl::_M_construct_time): Remove.
448 (locale::_Impl::_M_construct_messages): Remove.
449
450 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
451 (_Use_facet_failure_handle): Remove.
452 * src/locale.cc: Remove definitions.
453 * src/locale-inst.cc: And here.
454
455 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
456
457 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
458 create and error-check underlying locale object.
459 (locale::facet::_S_destroy_c_locale): Add, take care of properly
460 tearing down underlying locale object.
461 * include/bits/localefwd.h (locale::facet): Declare.
462 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
463 correctness, as glibc apparently has incorrect info in it. Test
464 with it when it works again.....
465
466 * include/bits/localefwd.h (locale::_Impl::__vec_string):
467 Remove. Number of categories is fixed at six, so just simplify and
468 make this an array of strings.
469 (locale::_Impl::_M_has_name): Remove.
470 (locale::_Impl::_M_name): Remove.
471 (locale::_Impl::_M_category_names): Turns into...
472 (locale::_Impl::_M_names): ...this.
473 (locale::_Impl::_M_has_same_name()): New function.
474 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
475 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
476 signature.
477 * src/locale.cc (locale::name()): Construct mangled name
478 accurately reflecting combined locale categories.
479
480 * src/locale.cc (locale::classic()): Don't initialize here.
481 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
482 __refs, bool __has_name, string __str): Do it here.
483
484 * include/bits/localefwd.h: _S_categories_num to
485 _S_num_categories. _S_facets_num to _S_num_facets.
486 (locale::id::id()): Explicitly set _M_index to zero.
487 * src/locale.cc: Same.
488
489 * src/locale.cc: (locale::locale(const char*)): Construct named
490 locales uniquely.
491
492 * src/locale.cc: Remove numpunct_byname ctors.
493 * testsuite/22_locale/numpunct_byname.cc: New file.
494 * testsuite/22_locale/numpunct.cc: New file.
495
496 * include/bits/localefwd.h (class locale): Change data members to
497 protected, from private.
498 (_Impl::_M_get_c_locale): Add member function.
499 (locale::facet::_M_get_global_impl()): Add member function.
500 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
501 a __c_locale pointer.
502 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
503 named locales.
504 * testsuite/22_locale/members.cc: New file, test name and combine.
505
506 * include/bits/locale_facets.h (class numpunct): Remove class
507 _Punct and _Numpunct. Rewrite class numpunct to be correct for
508 named locales.
509 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
510 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
511 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
512 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
513 * testsuite/22_locale/numpunct_char_members.cc: New file.
514
4870f472
GDR
5152001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
516
517 * testsuite/README: Add more comment.
518 * testsuite/lib/libstdc++.exp: Tweak comment.
519
58245fb1
BK
5202001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
521
522 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
523
31e1e0a6
LR
5242001-01-25 Loren J. Rittle <ljrittle@acm.org>
525
526 * testsuite/21_strings/inserters_extractors.cc: Remove
527 explicit reference to 'testsuite/'.
528
d9de4b22
RH
5292001-01-25 Richard Henderson <rth@redhat.com>
530
531 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
532 bits. Fixes Tru64 build issues.
533
57d278be
MS
5342001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
535
536 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
537 (use ${MAKE-make}, not ${MAKE:-make}).
538 * aclocal.m4, configure: Regenerate.
539
bfd7f4ec
MM
5402001-01-25 Mark Mitchell <mark@codesourcery.com>
541
71456ba3
MM
542 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
543 checkin.
544
bfd7f4ec
MM
545 * src/Makefile.am (sources): Add globals.cc.
546 * src/Makefile.in: Regenerated.
547 * src/globals.cc: New file.
548 * src/ios.cc (cin): Don't define here, just declare extern.
549 (cout): Likewise.
550 (cerr): Likewise.
551 (clog): Likewise.
552 (wcin): Likewise.
553 (wcout): Likewise.
554 (wcerr): Likewise.
555 (wclog): Likewise.
556
69d211dd
PE
5572001-01-25 Phil Edwards <pme@sources.redhat.com>
558
559 * include/bits/std_iterator.h: Do not include stl_relops.h.
560 * include/bits/std_numeric.h: Ditto.
561 * include/bits/stl_algobase.h: Ditto.
562 * include/bits/stl_relops.h: Add comment warning about problems.
563
db353c2c
GDR
5642001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
565
566 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
567 in testcases. Prepare for the DejaGnu based framework.
568 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
569 directory -- it is now mkcheck working directory.
570 * tests_flags.in: Remove reference to $(top_srcdir). Use
571 ${SRC_DIR} instead.
572 * Makefile.am (check, check-install): Change mkcheck invocation
573 logic.
574 * Makefile.in: Regenerate.
575
c347e892
MM
5762001-01-24 Mark Mitchell <mark@codesourcery.com>
577
578 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
579 (__always_swap): Likewise.
580
17fd8a87
CD
5812001-01-23 Chris Demetriou <cgd@broadcom.com>
582
583 * libsupc++/exception_support.cc (__terminate_func): Remove
584 declaration.
585 (__terminate_func_ptr): New typedef.
586 (__terminate, __terminate_set_func): New extern function
587 prototypes.
588 (std::terminate): Use __terminate function.
589 (std::set_terminate): Use __terminate_set_func function.
590
3637cfac
BK
5912001-01-23 Benjamin Kosnik <bkoz@redhat.com>
592
593 * configure.target: Just use os_include_dir always.
594 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
595 Link atomicity files and ctype files here.
596 * configure: Regenerate.
597 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
598 (GLIBCPP_ENABLE_ATOMICITY): Remove.
599 * aclocal.m4: Regenerate.
600
c8f33f22
CD
6012001-01-23 Chris Demetriou <cgd@broadcom.com>
602
603 * configure.in: Place definition of MULTISUBDIR in
604 libsupc++/Makefile as is done for src/Makefile.
605 * configure: Regenerate.
606
9b8fd32c
PE
6072001-01-23 Phil Edwards <pme@sources.redhat.com>
608
609 * acinclude.m4: Cosmetic changes only.
610 * aclocal.m4: Regenerated.
611 * configure: Regenerated.
612 * configure.target: Update documented list of changed variables.
613 * docs/html/install.html: Fix typo.
614 * docs/html/20_util/howto.html: More notes on auto_ptr.
615 * docs/html/27_io/howto.html: More notes on streabufs.
616 * docs/html/faq/index.html: Add rel_ops problem and mention the
617 DEC as(1) .subsection difficulty.
618 * docs/html/faq/index.txt: Regenerated.
619
6202001-01-23 Mark Mitchell <mark@codesourcery.com>
621
622 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
623 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
624 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
625 its already provided in config.target.
626 * aclocal.m4: Regenerated.
627 * configure: Likewise.
628 * configure.target: Set ctype_include_dir for lots of systems.
629 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
630 * libsupc++/Makefile.in: Regenerated.
631
15235317
GDR
6322001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
633
634 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
635 keyword capability.
636
637 * testsuite/README: Add comment.
638
0505b046
PE
6392001-01-21 Phil Edwards <pme@sources.redhat.com>
640
641 * docs/html/configopts.html: Update for current status. Fix HTML.
642 * docs/html/install.html: Update for current status.
643
0109cb75
GDR
6442001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
645
646 * testsuite/libstdc++.tests/tests.exp: New file.
647 * testsuite/lib/libstdc++.exp: Itou.
648 * testsuite/README: Itou.
649
1af7d6cf
GDR
6502001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
651
652 * tests_flags.in: Just output the bare minimum to run tests.
653 Let's the caller do its own arrangement.
654
655 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
656 computations.
657
db4a7a8a
GDR
6582001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
659
660 * testsuite/17_intro: Prepare testcases for new style DejaGnu
661 framework.
662
9ca4a2fd
GDR
6632001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
664
665 * testsuite/libstdc++.tests, testsuite/lib: New directories.
666
824a9109
BK
6672001-01-17 Loren J. Rittle <ljrittle@acm.org>
668
669 * mkcheck.in: Construct file names that match $objdir structure.
670 * testsuite/27_io/filebuf_members-1.txt: New file.
671 * testsuite/27_io/ifstream_members-1.txt: New file.
672 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
673
674 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
675 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
676
86b4d211
PS
6772001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
678
679 * testsuite/27_io/istream_sentry.cc (test02): Fix.
680
824a9109 6812001-01-17 Benjamin Kosnik <bkoz@redhat.com>
d34786e3
BK
682
683 libstdc++/1605
684 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
685 * src/ios.cc (ios_base::failure): Make definitions match.
686 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
687 (class bad_cast): Same.
688 * libsupc++/exception (class exception): Add throw specs.
689 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
690 (set_unexpected): Same.
691 (uncaught_exception): Same.
692 (what): Same.
693
694 * docs/html/17_intro/C++STYLE (classname): Fix.
695
5fdfba85
MM
6962001-01-16 Mark Mitchell <mark@codesourcery.com>
697
698 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
699 Use it do explicitly instantiate predicate<T> and value<T> for
700 all the builtin Ts.
701
96070989
NS
7022001-01-16 Nathan Sidwell <nathan@codesourcery.com>
703
704 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
705 uninitialized thinko in last change.
706
40acfbea
MM
7072001-01-16 Mark Mitchell <mark@codesourcery.com>
708
709 * libsupc++/exception_support.cc (__cp_pop_exception): Change
710 prototype.
711
13187a45
BK
7122001-01-16 Benjamin Kosnik <bkoz@redhat.com>
713
714 * docs/html/17_intro/C++STYLE (classname): Add more existing
715 and stylish patterns.
716
717 libstdc++/944
718 * include/bits/istream.tcc (istream::sentry::sentry()): Set
9f12c2a6 719 failbit if the state of the stream is not good.
13187a45
BK
720 * testsuite/27_io/istream_sentry.cc (test02): Add test.
721 * testsuite/27_io/istream_manip.cc (test01): Modify.
722
723 libstdc++/1019
724 reported by Paolo Carlini <pcarlini@unitus.it>
725 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
726 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
727
728 libstdc++/1057
729 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
730 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
731 (xsgetn): Same. Simplify.
732 * testsuite/27_io/streambuf.cc (test04): Add testcases.
733
734 reported by Larry Evans <jcampbell3@prodigy.net>
735 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
736 equality with eof on returned value from overflow.
737
3e29b81b
AJ
7382001-01-14 Andreas Jaeger <aj@suse.de>
739
740 * libio/libio.h: Add test for glibc 2.0.
741
97644827
BK
7422001-01-12 Benjamin Kosnik <bkoz@redhat.com>
743
051d74bf 744 * config/os/djgpp/bits/*: Fix dates.
3e29b81b 745
97644827
BK
746 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
747 _CharT* __end, _CharT __c): Remove.
748 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
749 * include/bits/char_traits.h: Tweak.
750
6f87af20
LB
7512001-01-12 Laurynas Biveinis <lauras@softhome.net>
752
753 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
754 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
755 bash bug.
756 * aclocal.m4: regenerated.
757 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
758 * configure: regenerated.
759 * config/os/djgpp, config/os/djgpp/bits: new directories.
3e29b81b
AJ
760 * config/os/djgpp/bits/ctype_base.h,
761 config/os/djgpp/bits/ctype_inline.h,
6f87af20
LB
762 config/os/djgpp/bits/ctype_noninline.h,
763 config/os/djgpp/bits/os_defines.h: new files.
764
57043d91
JM
7652001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
766
767 * include/c_std/bits/std_cstdio.h: Undef printf.
768
752808fb
BK
7692001-01-10 Benjamin Kosnik <bkoz@redhat.com>
770
771 * src/ios.cc: Fix typo: change cout->wcout.
772
773 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
774 * src/Makefile.in: Regenerate.
775
90e420bd
PS
7762001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
777
778 * include/bits/std_complex.h: Fix a typo.
779
469550eb
BK
7802001-01-09 Benjamin Kosnik <bkoz@redhat.com>
781 <kainz@ilm.com>
782
783 Fixes for libstdc++/1576
784 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
785 file, move contents into....
786 * src/ios.cc: ...Here. Put defines for iostreams objects and
787 initialization routines into one file to simplify DSO interaction.
788 * include/bits/std_iostream.h: Touch.
789 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
790 * src/Makefile.am (sources): Remove stdstreams.cc.
791 * src/Makefile.in: Regenerate.
792
b2fb4914
GDR
7932001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
794
795 * tests_flags.in (check_directory): Fix typo.
796
7972001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
469550eb 798
fa44a936
PS
799 * include/bits/std_complex.h: Fix a typo.
800
469550eb 8012001-01-09 Loren J. Rittle <ljrittle@acm.org>
04658553
LR
802
803 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
804 code path:) Remove magic constants and restructure to handle
805 ctype.h bit mask layout changes more gracefully. (Make fast
806 code path:) Use __maskrune (), if available.
807 (is): Remove special case for digit and xdigit masks.
e7eceef2
RL
808
8092001-01-09 Robert Lipe <robertlipe@usa.net>
810
811 * include/c_std/bits/std_ctime.h: Undefine difftime.
812
4a70b13a
AO
8132001-01-09 Alexandre Oliva <aoliva@redhat.com>
814
815 * src/gen-num-limits.cc (signal_adapter): New template function.
816 (signal_handler): Use it, instead of signal.
817 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
818 require both tests to trap to set trap_flag.
819
5a259aec
BK
8202001-01-08 Benjamin Kosnik <bkoz@redhat.com>
821
822 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
823 initialize mbstate_t member, name offset data members *off, not pos.
824 * include/bits/fstream.tcc (filebuf::filebuf): Same.
3e29b81b 825
1d8939ef
BK
8262001-01-08 Benjamin Kosnik <bkoz@redhat.com>
827
828 reported by Chris G. Demetriou <cgd@sibyte.com>
829 * configure.in: Change -linux-* to -linux*.
830 * configure: Regenerate.
3e29b81b 831
d358ecd0
BK
8322001-01-05 Benjamin Kosnik <bkoz@redhat.com>
833
834 Fix 27_io/filebuf_members.cc
835 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
836 const string& __name, category __cat, size_t __refs): Set
837 _M_has_name with _M_name.
838 * include/bits/localefwd.h (locale::operator!=): Protect member
839 function call with this->.
840 * src/locale.cc (locale::operator==): Make fast checks first.
841 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
842
843 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
844 to ios_base::Init.
845 * src/ios.cc (ios_base::Init::Init): Initialize here.
846 (ios_base::sync_with_stdio): Set here.
3e29b81b 847
d358ecd0
BK
8482001-01-04 Loren J. Rittle <ljrittle@acm.org>
849
850 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
851 systems that support it, call dup() before fdopen().
852
e61c3e8c
BK
8532001-01-03 Benjamin Kosnik <bkoz@redhat.com>
854
855 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
856 * testsuite/17_intro/header_cwctype.cc (main): New file.
857
858 * src/Makefile.am (base_headers): Change.
859 * include/bits/std_string.h: And here.
860 * include/bits/string.tcc: Tweaks, move to...
861 * include/bits/basic_string.tcc: ...Here.
862 * src/string-inst.cc: Simplify, just instantiate the whole class,
863 not member-by-member.
864
36e40658
BK
8652001-01-02 Benjamin Kosnik <bkoz@redhat.com>
866
867 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
868 * aclocal.m4: Regenerate.
869 * configure: Regenerate.
3e29b81b 870
36e40658
BK
871 * include/bits/c++config (__GLIBCPP__): Bump version number.
872
873 * ChangeLog: Start new log for year 2001
874 * ChangeLog-2000: New file.
875
876 * docs/html/configopts.html: Make sure default values are current,
877 add commentary.
878
7b331228 8792001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
3e29b81b 880
7b331228
BK
881 * include/c_std/bits/std_cwchar.h: Same.
882 * testsuite/17_intro/header_cwchar.cc: Same.
883 * include/c_std/bits/std_ctime.h: Same.
884 * testsuite/17_intro/header_ctime.cc: Same.
885 * include/c_std/bits/std_cstdlib.h: Same.
886 Clean up undefs, make consistent with cwchar and cmath, etc.
887 * testsuite/17_intro/header_cstdlib.cc: Same.
888 * include/c_std/bits/std_cstdio.h: Same here.
889 * testsuite/17_intro/header_cstring.cc: Same.
890 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
891 * testsuite/17_intro/header_cstring.cc: New file. Check for
892 size_t in namespace std.
893
894 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
895 * acconfig.h (HAVE_MBSTATE_T): Add.
896 * config.h.in: Regenerate.
897 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
898 mbstate_t.
899 * aclocal.m4: Regenerate.
900 * configure: Regenerate.
901 * testsuite/17_intro/headers_c++.cc: New file.
902 * testsuite/17_intro/headers_c.cc: Small changes.
903
fb34ebc5
DB
9042001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
905
906 * tests_flags.in: Fix typo in usage.
907
908 * tests_flags.in: Set target specific LIBS for cygwin.
This page took 0.158976 seconds and 5 git commands to generate.