1 2001-08-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3 * include/bits/ostream.tcc (__pad_char): Change toplevel '__fmt'
4 to '__adjust' to avoid shadowing in nested scope.
6 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
8 * include/bits/std_limits.h(__glibcpp_char_is_signed): Use
11 * config/os/gnu-linux/bits/os_defines.h(__glibcpp_char_is_signed):
13 * config/os/aix/bits/os_defines.h(__glibcpp_plain_char_is_signed):
16 2001-08-10 Loren J. Rittle <ljrittle@acm.org>
18 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Add
19 dummy default argument to the non-limit implementation.
22 * include/Makefile.am: Use relative file path in rule to allow
24 * include/Makefile.in: Rebuilt.
26 2001-08-10 Gunter Winkler <gunter.winkler@mathematik.tu-chemnitz.de>
28 * include/bits/std_complex.h (complex<long double>::operator*=,
29 complex<long double>::operator/=): Fix thinko.
31 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
33 * include/bits/std_limits.h: New file.
34 * include/Makefile.am (bits_headers): Add std_limits.h
35 (all-local): std_limits.h is no longer built.
36 (${target_builddir}/std_limits.h): Remove.
37 * include/Makefile.in: Regenerate.
38 * src/limits.cc: New file.
39 * src/Makefile.am (sources): Add limits.cc in replacement of
41 * src/Makefile.in: Regenerate.
44 2001-08-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
46 * src/gen-num-limits.cc (digits10): Fix thinko.
48 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
50 * po/Makefile.am (check-no): Add.
52 * po/Makefile.in: Regenerate.
54 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
56 * acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
57 * config.h.in: Regenerate.
58 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT): Check for setrlimit
60 * aclocal.m4: Regenerate.
61 * configure.in: Remove duplicate AM_CONFIG_HEADER.
62 (AM_CONFIG_HEADER): Remove testsuite/testsuite_hooks.h.
63 Only call GLIBCPP_CHECK_SETRLIMIT for native compiles.
64 * configure: Regenerate.
65 * testsuite_hooks.h.in: Move to...
66 * testsuite_hooks.h: Here, include c++config.h. Use it.
68 * Makefile.am (SUBDIRS): Move testsuite to last directory.
69 * Makefile.in: Regenerate.
70 * po/Makefile.am (stamp-po): Add.
72 2001-08-09 David Edelsohn <edelsohn@gnu.org>
74 * config/os/aix/bits/os_defines.h: Define std_limits.h macros.
75 * config/os/generic/bits/os_defines.h: Likewise.
76 * config/os/gnu-linux/bits/os_defines.h: Likewise.
77 * config/os/hpux/bits/os_defines.h: Likewise.
78 * config/os/irix/irix6.5/bits/os_defines.h: Likewise.
79 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
81 2001-08-08 Benjamin Kosnik <bkoz@redhat.com>
83 * src/Makefile.am (libstdc___la_LDFLAGS): Use -release instead of
84 -version-info, use substituted VERSION info.
85 * src/Makefile.in: Regenerate.
87 2001-08-07 Benjamin Kosnik <bkoz@redhat.com>
89 Implement std::messages.
90 Make config a fully-nested directory.
91 * config/locale: New directory.
92 * config/c_locale_generic.cc: Move into locale subdirectory.
93 * config/c_locale_generic.h: Same.
94 * config/c_locale_gnu.cc: Same.
95 * config/c_locale_gnu.h: Same.
96 * config/c_locale_ieee_1003.1-200x.cc: Same.
97 * config/c_locale_ieee_1003.1-200x_.h: Same.
98 * config/codecvt_specializations_generic.h: Same.
99 * config/codecvt_specializations_ieee_1003.1-200x.h: Same.
100 * config/messages_members_gnu.h: Same.
101 * config/messaages_members_gnu.cc: Same.
102 * config/messages_members_generic.h: Same.
103 * config/messaages_members_generic.cc: Same.
104 * config/messages_members_ieee_1003.1-200x.h: Same.
105 * config/messaages_members_ieee_1003.1-200x.cc: Same.
106 * config/io: New directory.
107 * config/basic_file_libio.h: Move into io subdirectory.
108 * config/basic_file_libio.cc: Same.
109 * config/c_io_libio.h: Same.
110 * config/c_io_libio_codecvt.c: Same.
111 * config/basic_file_stdio.h: Same.
112 * config/basic_file_stdio.cc: Same.
113 * config/c_io_stdio.h: Same.
116 * po/POTFILES.in: New file.
117 * po/Makefile.am: New file.
118 * po/Makefile.in: New file.
119 * po/libstdc++.pot: Generic translation file.
120 * po/fr.po: Preliminary French translation.
121 * po/de.po: Preliminary German translation.
122 * intl: New directory.
123 * intl/Makefile.am: New file.
124 * intl/Makefile.in: New file.
125 * intl/string_literals.cc: New file.
126 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump VERSION to 3.1.0. Add
127 requisite setup for gettext. Re-arrange.
128 * aclocal.m4: Regenerate.
129 * configure.in: Don't call GLIBCPP_CHECK_COMPILER_VERSION.
130 Output Makefile bits for po and intl.
131 * configure: Regenerate.
132 * Makefile.am (SUBDIRS): Add intl, po. Add rule for dist.
133 * Makefile.in: Regenerate.
134 * acconfig.h: Add ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY.
135 * config.h.in: Regenerate.
137 * acinclude.m4 (AC_REPLACE_STRINGFUNCS): Remove.
139 * include/Makefile.am (install-data-local): Don't install Makefile.
140 * include/Makefile.in: Regenerate.
142 * include/bits/locale_facet.h (locale::facet::_S_clone_c_locale):
144 * config/locale/c_locale_gnu.cc (_S_clone_c_locale): Add definition.
145 * config/locale/c_locale_generic.cc: Same.
146 * config/locale/c_locale_ieee_1003.1-200x.cc: Same.
148 * include/bits/codecvt.h: Excise non-standard, non-required
149 bits. This includes __enc_traits, and partial specializations of
150 codecvt for __enc_traits.
151 * src/codecvt.cc (__enc_traits::_S_max_size): Guard
152 * config/codecvt_partials_ieee_1003.1-200x.h: New file.
153 * config/codecvt_partials_generic.h: New file.
154 * include/Makefile.am (allstamps): Add stamp-codecvt_model.
155 (stamp-codecvt_model): Add.
156 * include/Makefile.in: Regenerate.
157 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in codecvt configury.
158 * aclocal.m4: Regenerate.
159 * configure: Regenerate.
160 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Use macro guard.
161 * testsuite/22_locale/codecvt_unicode_char.cc: Same.
162 * testsuite/22_locale/ctor_copy_dtor.cc: And here.
164 * include/bits/localefwd.h (class locale::facet): Add __enc_traits
165 as a friend for _S_*_c_locale functions.
166 * include/bits/codecvt.h (__enc_traits::__enc_traits): Add locale
167 argument to default constructor so that CODESET information can be
169 * include/bits/locale_facets.h (messages_byname):
170 Re-implement. Remove specializations.
171 * src/locale.cc (messages_byname<char>): Remove specialization.
172 (messages_byname<wchar_t>): Same.
173 * config/locale/c_locale_ieee_1003.1-200x.cc: New file.
174 * config/locale/c_locale_ieee_1003.1-200x.h: New file.
175 * config/locale/messages_members_ieee_1003.1-200x.cc: New file.
176 * config/locale/messages_members_ieee_1003.1-200x.h: New file.
177 * config/locale/messages_members_gnu.cc: New file.
178 * config/locale/messages_members_gnu.h: New file.
179 * config/locale/messages_members_generic.cc: New file.
180 * config/locale/messages_members_generic.h: New file.
182 * docs/html/configopts.html: Add documentation for new locale
183 model, ieee_1003.1. Adjust other flags for current defaults.
184 * docs/html/22_locale/locale.html: Update.
185 * docs/html/22_locale/howto.html: Add link to messages.html. Organize.
186 * docs/html/22_locale/messages.html: New.
188 * src/Makefile.am (sources): Add messages_virtuals.cc.
189 * src/Makefile.in: Regenerate.
190 * include/Makefile.am (allstamps): Add stamp-messages_model.
191 (stamp-messages_model): Add.
192 * include/Makefile.in: Regenerate.
193 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in messages configury.
194 * aclocal.m4: Regenerate.
195 * configure: Regenerate.
197 * testsuite_flags.in (--cxxflags): Add LOCALEDIR.
198 * testsuite/lib/libstdc++-v3-dg.exp: Remove broken LD_LIBRARY_PATH
200 * acinclude (GLIBCPP_ENABLE_CLOCALE): Set glibcpp_localedir to the
201 build directories message catalog base directory, and export.
202 Eventually this should probably be made to deal with build and
203 install directories. For now, punt on this as the library itself
204 doesn't use message catalogs (yet).
205 * testsuite/22_locale/messages.cc: New file.
206 * testsuite/22_locale/messages_char_members.cc: New file.
207 * testsuite/22_locale/messages_byname.cc: New file.
209 2001-08-06 Phil Edwards <pme@sources.redhat.com>
211 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls...
212 (GLIBCPP_CHECK_SETRLIMIT): ...this new macro, which also uses...
213 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): ...this new macro.
214 * configure.in (AM_CONFIG_HEADER): Also generate testsuite_hooks.h.
215 Call GLIBCPP_CONFIGURE_TESTSUITE.
216 * aclocal.m4: Regenerate.
217 * config.h.in: Regenerate.
218 * configure: Regenerate.
220 * testsuite/lib/libstdc++-v3-dg.exp: Download new header instead
223 * testsuite_flags.in: Add build dir's testsuite to INCLUDES.
224 * testsuite/debug_assert.h: Removed; contents merged into...
225 * testsuite/testsuite_hooks.h.in: ...here. New file.
226 * testsuite/17_intro/header_ciso646.cc: No longer include
227 debug_assert.h, include testsuite_hooks.h instead.
228 * testsuite/17_intro/header_fstream.cc: Likewise.
229 * testsuite/17_intro/header_iomanip.cc: Likewise.
230 * testsuite/17_intro/header_ios.cc: Likewise.
231 * testsuite/17_intro/header_iosfwd.cc: Likewise.
232 * testsuite/17_intro/header_iostream.cc: Likewise.
233 * testsuite/17_intro/header_istream.cc: Likewise.
234 * testsuite/17_intro/header_ostream.cc: Likewise.
235 * testsuite/17_intro/header_sstream.cc: Likewise.
236 * testsuite/17_intro/header_streambuf.cc: Likewise.
237 * testsuite/18_support/numeric_limits.cc: Likewise.
238 * testsuite/19_diagnostics/stdexceptions.cc: Likewise.
239 * testsuite/20_util/allocator_members.cc: Likewise.
240 * testsuite/20_util/auto_ptr.cc: Likewise.
241 * testsuite/20_util/pairs.cc: Likewise.
242 * testsuite/21_strings/append.cc: Likewise.
243 * testsuite/21_strings/capacity.cc: Likewise.
244 * testsuite/21_strings/char_traits_requirements.cc: Likewise.
245 * testsuite/21_strings/compare.cc: Likewise.
246 * testsuite/21_strings/ctor_copy_dtor.cc: Likewise. Also set up
247 call to (disabled) __set_testsuite_memlimit() wrapper.
248 * testsuite/21_strings/element_access.cc: Likewise.
249 * testsuite/21_strings/find.cc: Likewise.
250 * testsuite/21_strings/insert.cc: Likewise. Also set up call to
251 (disabled) __set_testsuite_memlimit() wrapper.
252 * testsuite/21_strings/inserters_extractors.cc: Likewise.
253 * testsuite/21_strings/invariants.cc: Likewise.
254 * testsuite/21_strings/nonmember.cc: Likewise.
255 * testsuite/21_strings/operations.cc: Likewise.
256 * testsuite/21_strings/replace.cc: Likewise.
257 * testsuite/21_strings/rfind.cc: Likewise.
258 * testsuite/21_strings/substr.cc: Likewise.
259 * testsuite/22_locale/codecvt_char_char.cc: Likewise.
260 * testsuite/22_locale/codecvt_unicode_char.cc: Likewise.
261 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Likewise.
262 * testsuite/22_locale/codecvt_wchar_t_char.cc: Likewise.
263 * testsuite/22_locale/ctor_copy_dtor.cc: Likewise.
264 * testsuite/22_locale/ctype_char_members.cc: Likewise.
265 * testsuite/22_locale/ctype_wchar_t_members.cc: Likewise.
266 * testsuite/22_locale/facet.cc: Likewise.
267 * testsuite/22_locale/global_templates.cc: Likewise.
268 * testsuite/22_locale/members.cc: Likewise.
269 * testsuite/22_locale/numpunct_byname.cc: Likewise.
270 * testsuite/22_locale/numpunct_char_members.cc: Likewise.
271 * testsuite/22_locale/operators.cc: Likewise.
272 * testsuite/22_locale/static_members.cc: Likewise.
273 * testsuite/23_containers/bitset_ctor.cc: Likewise.
274 * testsuite/23_containers/bitset_members.cc: Likewise.
275 * testsuite/23_containers/bitset_shift.cc: Likewise.
276 * testsuite/23_containers/vector_capacity.cc: Likewise.
277 * testsuite/23_containers/vector_ctor.cc: Likewise.
278 * testsuite/23_containers/vector_element_access.cc: Likewise.
279 * testsuite/23_containers/vector_modifiers.cc: Likewise.
280 * testsuite/24_iterators/istreambuf_iterator.cc: Likewise.
281 * testsuite/24_iterators/iterator.cc: Likewise.
282 * testsuite/24_iterators/ostreambuf_iterator.cc: Likewise.
283 * testsuite/25_algorithms/binary_search.cc: Likewise.
284 * testsuite/25_algorithms/copy.cc: Likewise.
285 * testsuite/25_algorithms/heap.cc: Likewise.
286 * testsuite/25_algorithms/lower_bound.cc: Likewise.
287 * testsuite/25_algorithms/min_max.cc: Likewise.
288 * testsuite/25_algorithms/partition.cc: Likewise.
289 * testsuite/25_algorithms/rotate.cc: Likewise.
290 * testsuite/25_algorithms/sort.cc: Likewise.
291 * testsuite/26_numerics/c_math.cc: Likewise.
292 * testsuite/26_numerics/complex_inserters_extractors.cc: Likewise.
293 * testsuite/26_numerics/complex_value.cc: Likewise.
294 * testsuite/27_io/filebuf.cc: Likewise.
295 * testsuite/27_io/filebuf_members.cc: Likewise.
296 * testsuite/27_io/filebuf_virtuals.cc: Likewise.
297 * testsuite/27_io/fpos.cc: Likewise.
298 * testsuite/27_io/fstream_members.cc: Likewise.
299 * testsuite/27_io/ifstream_members.cc: Likewise.
300 * testsuite/27_io/ios_base_callbacks.cc: Likewise.
301 * testsuite/27_io/ios_base_members_static.cc: Likewise.
302 * testsuite/27_io/ios_base_storage.cc: Likewise.
303 * testsuite/27_io/ios_ctor.cc: Likewise.
304 * testsuite/27_io/ios_init.cc: Likewise.
305 * testsuite/27_io/ios_manip_basefield.cc: Likewise.
306 * testsuite/27_io/ios_manip_fmtflags.cc: Likewise.
307 * testsuite/27_io/ios_members.cc: Likewise.
308 * testsuite/27_io/istream_extractor_arith.cc: Likewise.
309 * testsuite/27_io/istream_extractor_char.cc: Likewise.
310 * testsuite/27_io/istream_extractor_other.cc: Likewise.
311 * testsuite/27_io/istream_manip.cc: Likewise.
312 * testsuite/27_io/istream_seeks.cc: Likewise.
313 * testsuite/27_io/istream_sentry.cc: Likewise.
314 * testsuite/27_io/istream_unformatted.cc: Likewise.
315 * testsuite/27_io/istringstream_members.cc: Likewise.
316 * testsuite/27_io/narrow_stream_objects.cc: Likewise.
317 * testsuite/27_io/ofstream_members.cc: Likewise.
318 * testsuite/27_io/ostream_inserter_arith.cc: Likewise.
319 * testsuite/27_io/ostream_inserter_char.cc: Likewise.
320 * testsuite/27_io/ostream_inserter_other.cc: Likewise.
321 * testsuite/27_io/ostream_manip.cc: Likewise.
322 * testsuite/27_io/ostream_seeks.cc: Likewise.
323 * testsuite/27_io/ostream_unformatted.cc: Likewise.
324 * testsuite/27_io/ostringstream_members.cc: Likewise.
325 * testsuite/27_io/streambuf.cc: Likewise.
326 * testsuite/27_io/stringbuf.cc: Likewise.
327 * testsuite/27_io/stringbuf_virtuals.cc: Likewise.
328 * testsuite/27_io/stringstream.cc: Likewise.
329 * testsuite/27_io/stringstream_members.cc: Likewise.
330 * testsuite/27_io/wide_stream_objects.cc: Likewise.
332 2001-07-31 Loren J. Rittle <ljrittle@acm.org>
334 * src/gen-num-limits.cc: Use __LONG_LONG_MAX__.
336 2001-07-30 Benjamin Kosnik <bkoz@redhat.com>
338 * configure.target: Remove mips from cpu table.
339 * config/cpu/mips/bits/atomicity.h: Remove generic
340 versions. Comment sgidefs include.
342 2001-07-25 H.J. Lu <hjl@gnu.org>
344 * configure.target (cpu_include_dir): Set to `config/cpu/mips'
347 * config/cpu/mips/bits/atomicity.h: New.
349 2001-07-25 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
351 * acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf,
352 hypotl, atan2f, atan2l. Remove from REPLACE_MATHFUNCS list.
353 * aclocal.m4: Regenerate.
354 * config.h.in: Likewise.
355 * configure: Likewise.
356 * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove hypotl.c
357 (EXTRA_DIST): Remove hypot.c hypotf.c.
358 * libmath/Makefile.am: Regenerate.
359 * libmath/hypotf.c: Remove.
360 * libmath/hypot.c: Likewise.
361 * libmath/hypotl.c: Likewise.
362 * libmath/stubs.c: The macros seen here are HAVE_xxx, not
363 _GLIBCPP_HAVE_xxx. Add long double versions.
365 2001-07-23 David Edelsohn <edelsohn@gnu.org>
367 * include/bits/limits_generic.h (int): Set digits and digits10
368 appropriately for word size.
369 (unsigned int,long,unsigned long): Likewise.
371 2001-07-19 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
373 * include/bits/stl_algo.h : Fix typos.
374 * testsuite/25_algorithms/unique.cc: New file.
376 2001-07-19 Phil Edwards <pme@sources.redhat.com>
377 Mark Mitchell <mark@codesourcery.com>
379 Merge from cp-parser-branch.
380 * include/bits/basic_string.h: Qualify symbols with 'template'.
381 * include/bits/basic_string.tcc: Likewise.
382 * include/bits/fstream.tcc: Likewise.
383 * include/bits/istream.tcc: Likewise.
384 * include/bits/sstream.tcc: Likewise.
385 * include/bits/std_istream.h: Likewise.
386 * include/bits/stl_iterator.h: Likewise.
387 * include/bits/streambuf.tcc: Likewise.
388 * src/gen-num-limits.cc: Add 'template<>' to specializations.
389 * src/locale.cc: Likewise.
391 2001-07-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
392 Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
394 * src/gen-num-limits.cc (set_signals_handler): New function.
395 Factor out signals setting. Set signal handler for SIGILL.
397 2001-07-18 Phil Edwards <pme@sources.redhat.com>
399 * docs/html/27_io/howto.html: Fix typo.
400 * docs/html/faq/index.html: Minor updates for 3.0 all around.
401 * docs/html/faq/index.txt: Regenerated.
403 2001-07-18 Stephen M. Webb <stephen@bregmasoft..com>
404 Roman Sulzhyk <roman_sulzhyk@yahoo.com>
407 * include/bits/ostream.tcc (ostream::put): Fixed error condition check.
408 * testsuite/27_io/streambuf.cc (test07): Added new regression test.
410 2001-07-17 Stephen M. Webb <stephen@bregmasoft.com>r
412 All occurrences of the __value_type() and __distance_type()
413 functions, which were required to support the HP STL, have been
414 removed along with all the auxiliary forwarding functions that
415 were required to support their use.
417 The __iterator_category() function was pretty much left alone
418 because there was no benefit to removing it and its use made code
419 just a little more readable.
421 Incidences of distance() with nonstandard argument list were
422 replaced by calls to the standard function (only in the files
423 affected by the removal of the other HP functions).
425 The signature of the rotate() algorithm was changed to match the
428 Headers were reformatted under C++STYLE guidelines (indentation,
429 linebreaks, typename keyword).
431 * include/bits/stl_algo.h: replaced __value_type() and
432 __distance_type() with iterator_traits, eliminated auxiliary
433 support functions required to support said function usage.
434 Changed nonstandard distance() call to standard call.
436 * include/bits/stl_algobase.h: Same.
437 * include/bits/stl_heap.h: Same.
438 * include/bits/stl_numeric.h: Same.
439 * include/bits/stl_uninitialized.h: Same.
440 * include/bits/stl_iterator_base_types.h (__value_type()):
442 (__distance_type()): Removed.
443 (value_type()): Gone.
444 (distance_type()): Done in.
445 (iterator_category()): Hasta la vista, baby.
447 * include/bits/stl_iterator_base_funcs.h (iterator_category()):
448 Replaced with __iterator_category().
449 * include/backward/iterator.h: moved definition of value_type(),
450 distance_type(), and iterator_category() out of std:: and into
452 * testsuite/23_containers/vector_ctor.cc (test03): New testcases.
453 * testsuite/23_containers/vector_modifiers.cc (test03): New testcases.
454 * testsuite/25_algorithms/rotate.cc: New testcase.
455 * testsuite/25_algorithms/copy.cc: New testcase.
456 * testsuite/25_algorithms/sort.cc: Same.
457 * testsuite/25_algorithms/heap.cc: Same.
458 * testsuite/25_algorithms/partition.cc: Same.
459 * testsuite/25_algorithms/binary_search.cc: Same.
460 * testsuite/26_numerics/sum_diff.cc: Ditto.
462 001-07-17 Benjamin Kosnik <bkoz@redhat.com>
464 * testsuite/README: Add notes on naming test cases.
465 * testsuite/22_locale/members.cc: Mark as xfail.
466 * testsuite/22_locale/numpunct_char_members.cc: Same.
468 2001-07-16 Stephen M. Webb <stephen@bregmasoft.com>
470 * acinclude.m4 (GLIBCPP_ENABLE_CHEADERS): Use glibcpp_srcdir when
471 setting C_INCLUDE_DIR.
472 * configure.in: Revert yesterday's LN_S change.
473 * aclocal.m4: Regenerate.
474 * configure: Regenerate.
476 2001-07-15 Phil Edwards <pme@sources.redhat.com>
478 * configure.in: Temporarily force LN_S to copy instead of symlink.
479 * configure: Regenerate.
481 2001-07-13 Phil Edwards <pme@sources.redhat.com>
483 * include/bits/std_sstream.h (basic_stringbuf::basic_stringbuf(string):
484 Initialize _M_string with pointer-and-size constructor, not just
485 pointer. Fix some comments.
486 * testsuite/21_strings/ctor_copy_dtor.cc (test03): New test.
487 * testsuite/27_io/stringbuf.cc (test02): Remove unused variable.
488 (test03): Add embedded-NUL tests.
490 * mkcheck.in: When printing totals, match the order of the tests.
491 * include/bits/stringfwd.h: Use same declaration keywords.
492 * include/bits/std_iosfwd.h: Cosmetic spacing.
494 2001-07-13 Stephen M. Webb <stephen@bregmasoft.com>
495 Loren J. Rittle <ljrittle@acm.org>
496 Phil Edwards <pme@sources.redhat.com>
498 * include/Makefile.am: New file encapsulating header generation rules.
499 * Makefile.am (SUBDIRS): Prepend 'include' directory.
500 * acinclude.m4: Moved/removed rules for building various headers.
501 * configure.in (AC_OUTPUT): Add include/Makefile.
502 * mkc++config: Removed.
504 * testsuite_flags.in: Changed build-includes to match new scheme.
505 * mknumeric_limits: Likewise.
506 * libio/Makefile.am: Changed INCLUDES to maatch new header scheme.
507 * libmath/Makefile.am: Likewise.
508 * libsupc++/Makefile.am: Likewise.
509 * src/Makefile.am: Likewise; removed rules to build headers.
510 * libmath/mathconf.h: Changed #include'd header names to match.
511 * libmath/stubs.c: Likewise.
512 * src/gen-num-limits.cc: Likewise.
514 * configure: Regenerated.
515 * config.h.in: Regenerated.
516 * aclocal.m4: Regenerated.
517 * Makefile.in: Regenerated.
518 * include/Makefile.in: Regenerated.
519 * libio/Makefile.in: Regenerated.
520 * libmath/Makefile.in: Regenerated.
521 * libsupc++/Makefile.in: Regenerated.
522 * src/Makefile.in: Regenerated.
523 * testsuite/Makefile.in: Regenerated.
525 2001-07-11 Felix Natter <fnatter@gmx.net>
527 * docs/html/17_intro/porting-howto.xml: Initial checkin of
529 * docs/html/17_intro/porting-howto.html: check in v0.9.3
531 2001-07-11 Phil Edwards <pme@sources.redhat.com>
533 * docs/doxygen/run_doxygen: Don't keep output from previous run.
534 * docs/doxygen/user.cfg.in: Tweaks.
535 * include/bits/c++config: Documentation comments for Doxygen.
536 * include/bits/char_traits.h: Likewise.
537 * include/bits/limits_generic.h: Likewise.
538 * include/bits/std_stdexcept.h: Likewise.
539 * include/bits/stl_pair.h: Likewise.
540 * libsupc++/exception: Likewise.
541 * libsupc++/new: Likewise.
542 * libsupc++/typeinfo: Likewise.
543 * libmath/Makefile.am: Update and correct copyright.
545 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
547 * acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
548 * aclocal.m4: Regenerate.
551 2001-07-09 Phil Edwards <pme@sources.redhat.com>
553 * docs/html/configopts.html: Fix thinko.
554 * docs/html/27_io/howto.html: Fix thinko and HTML markup.
555 * include/bits/stl_iterator.h: Fix typo.
557 2001-07-09 Phil Edwards <pme@sources.redhat.com>
559 * docs/html/explanations.html: New file.
560 * docs/html/configopts.html: Link to it to provide more notes
561 on cstdio. Minor markup and spacing fixes.
562 * docs/html/27_io/howto.html: Talk about sync_with_stdio.
564 2001-07-09 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
566 * include/bits/valarray_meta.h (_Expr::operator+): Use qualified id
567 for _Expr template template argument.
568 (_Expr::operator-): Likewise.
569 (_Expr::operator~): Likewise.
570 (_Expr::operator!): Likewise.
571 (_DEFINE_EXPR_UNARY_OPERATOR): Likewise.
573 2001-07-06 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
575 * libmath/Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.c
576 * libmath/Makefile.in: Regenerate.
577 * libmath/expf.c: Remove.
578 * libmath/atan2f.c: Likewise.
580 2001-07-06 Daniel Jacobowitz <drow@mvista.com>
582 * configure.in: Remove NATIVE, NULL_TARGET.
583 Set CANADIAN only for Canadian crosses. Set xcompiling
584 for both Canadian crosses and host-x-host crosses.
585 * configure: Regenerated.
587 2001-07-06 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
589 * include/bits/stl_vector.h (vector::_M_initialize_aux): Fix typo.
591 2001-07-05 Jason Merrill <jason_merrill@redhat.com>
593 * testsuite_flags.in (--build-includes): backward, not backwards.
595 2001-07-04 Jeffrey Oldham <oldham@codesourcery.com>
597 * include/ext/ropeimpl.h (_Rope_RopeRep::_M_free_c_string):
598 Replace destroy by _Destroy.
599 (_Rope_RopeRep::_S_free_string): Likewise.
600 (rope::c_str()): Likewise.
601 * include/ext/slist (_Slist_base::_M_erase_after>): Likewise.
602 (_Slist_base::_M_erase_after): Likewise.
603 (slist::_M_create_node): Replace construct by _Construct.
604 (slist::pop_front): Replace destroy by _Destroy.
605 * include/ext/stl_hashtable.h (hashtable::_M_new_node): Replace
606 construct by _Construct.
607 (hashtable::_M_delete_node): Replace destroy by _Destroy.
608 * include/ext/stl_rope.h (rope::rope): Replace construct by
610 (rope::copy): Replace destroy by _Destroy.
612 2001-07-03 Benjamin Kosnik <bkoz@redhat.com>
614 * include/bits/localefwd.h: Format.
615 * include/bits/locale_facts.tcc (locale::combine): Adjust.
616 * src/locale.cc (locale::locale::(_Impl)): Don't call
618 (locale::facet::_M_remove_reference): Simplify.
619 * src/globals.cc (locale_impl_c): New. Format.
621 * src/ios.cc (ios_base::Init::Init): Increment _S_ios_base_init last.
623 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
625 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
626 expansion (thanks to Alexandre Oliva).
627 * aclocal.m4: Regenerate.
628 * configure: Regenerate.
630 2001-07-02 Benjamin Kosnik <bkoz@redhat.com>
632 * src/locale.cc (locale::locale(const char*)): Make sure global
633 locales are initialized.
634 * include/bits/locale_facets.tcc (locale::combine): Refcout should
635 be zero, not one as it's return-by-value.
636 * testsuite/27_io/ios_base_callbacks.cc (test01): Don't check for
638 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Instead, check
641 * libsupc++/eh_alloc.cc: Use climits, not limits.h.
643 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
646 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
647 * aclocal.m4: Regenerate.
648 * configure: Regenerate.
650 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
653 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to
654 staged/installed area to support -I-. Document.
655 * aclocal.m4: Regenerate.
656 * configure: Regenerate.
658 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
661 * src/ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to
662 __out_bufsize. Add __in_bufsize, document it and use it.
664 2001-07-01 Stephen M. Webb <stephen@bregmasoft.com>
666 * include/bits/stl_construct.h (construct): Remove.
668 (__destroy): Replaced by use of iterator_traits.
669 * include/bits/stl_deque.h: replaced HP iterator functions with
671 (construct): changed to _Construct.
672 (destroy): changed to _Destroy.
673 * include/bits/stl_tempbuf.h: Same.
674 * include/bits/stl_tree.h: Same.
675 * include/bits/stl_vector.h: Same.
676 * include/backward/iterator.h (construct): moved definition to here.
679 2001-06-29 Benjamin Kosnik <bkoz@redhat.com>
681 * include/bits/locale_facets.tcc (locale::combine): Clone _Impl.
682 before replacing facet.
683 * include/bits/localefwd.h (locale::_Impl::_M_remove_reference):
685 * src/localename.cc (locale::_Impl): Correct ctor initialization
686 lists. Initialize ref count with one. Simplify.
687 * src/locale.cc: Add comment.
688 * testsuite/22_locale/numpunct.cc (test01): Add derivation test.
689 * testsuite/22_locale/numpunct_char_members.cc (test01): Add tests.
690 * testsuite/22_locale/members.cc (test02): Fix.
692 2001-06-27 Phil Edwards <pme@sources.redhat.com>
694 * include/backward/algo.h: Add "GPL plus runtime exception" comment
695 block, this time for real.
696 * include/backward/algobase.h: Likewise.
697 * include/backward/alloc.h: Likewise.
698 * include/backward/bvector.h: Likewise.
699 * include/backward/defalloc.h: Likewise.
700 * include/backward/deque.h: Likewise.
701 * include/backward/function.h: Likewise.
702 * include/backward/hash_map.h: Likewise.
703 * include/backward/hash_set.h: Likewise.
704 * include/backward/hashtable.h: Likewise.
705 * include/backward/heap.h: Likewise.
706 * include/backward/iterator.h: Likewise.
707 * include/backward/list.h: Likewise.
708 * include/backward/map.h: Likewise.
709 * include/backward/multimap.h: Likewise.
710 * include/backward/multiset.h: Likewise.
711 * include/backward/pair.h: Likewise.
712 * include/backward/rope.h: Likewise.
713 * include/backward/set.h: Likewise.
714 * include/backward/slist.h: Likewise.
715 * include/backward/stack.h: Likewise.
716 * include/backward/strstream: Likewise.
717 * include/backward/tempbuf.h: Likewise.
718 * include/backward/tree.h: Likewise.
719 * include/backward/vector.h: Likewise.
720 * include/bits/pthread_allocimpl.h: Likewise.
721 * include/bits/std_algorithm.h: Likewise.
722 * include/bits/std_bitset.h: Likewise.
723 * include/bits/std_deque.h: Likewise.
724 * include/bits/std_functional.h: Likewise.
725 * include/bits/std_iterator.h: Likewise.
726 * include/bits/std_list.h: Likewise.
727 * include/bits/std_map.h: Likewise.
728 * include/bits/std_memory.h: Likewise.
729 * include/bits/std_numeric.h: Likewise.
730 * include/bits/std_queue.h: Likewise.
731 * include/bits/std_set.h: Likewise.
732 * include/bits/std_stack.h: Likewise.
733 * include/bits/std_utility.h: Likewise.
734 * include/bits/std_vector.h: Likewise.
735 * include/bits/stl_algo.h: Likewise.
736 * include/bits/stl_algobase.h: Likewise.
737 * include/bits/stl_alloc.h: Likewise.
738 * include/bits/stl_bvector.h: Likewise.
739 * include/bits/stl_construct.h: Likewise.
740 * include/bits/stl_deque.h: Likewise.
741 * include/bits/stl_function.h: Likewise.
742 * include/bits/stl_heap.h: Likewise.
743 * include/bits/stl_iterator.h: Likewise.
744 * include/bits/stl_iterator_base_funcs.h: Likewise.
745 * include/bits/stl_iterator_base_types.h: Likewise.
746 * include/bits/stl_list.h: Likewise.
747 * include/bits/stl_map.h: Likewise.
748 * include/bits/stl_multimap.h: Likewise.
749 * include/bits/stl_multiset.h: Likewise.
750 * include/bits/stl_numeric.h: Likewise.
751 * include/bits/stl_pair.h: Likewise.
752 * include/bits/stl_pthread_alloc.h: Likewise.
753 * include/bits/stl_queue.h: Likewise.
754 * include/bits/stl_raw_storage_iter.h: Likewise.
755 * include/bits/stl_relops.h: Likewise.
756 * include/bits/stl_set.h: Likewise.
757 * include/bits/stl_stack.h: Likewise.
758 * include/bits/stl_tempbuf.h: Likewise.
759 * include/bits/stl_threads.h: Likewise.
760 * include/bits/stl_tree.h: Likewise.
761 * include/bits/stl_uninitialized.h: Likewise.
762 * include/bits/stl_vector.h: Likewise.
763 * include/bits/type_traits.h: Likewise.
764 * include/ext/hash_map: Likewise.
765 * include/ext/hash_set: Likewise.
766 * include/ext/rope: Likewise.
767 * include/ext/ropeimpl.h: Likewise.
768 * include/ext/slist: Likewise.
769 * include/ext/stl_hash_fun.h: Likewise.
770 * include/ext/stl_hashtable.h: Likewise.
771 * include/ext/stl_rope.h: Likewise.
772 * src/bitset.cc: Likewise.
773 * src/strstream.cc: Likewise.
775 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
776 <vakatov@ncbi.nlm.nih.gov>
779 * include/bits/streambuf.tcc (__copy_streambufs): Don't set eofbit.
780 * testsuite/27_io/ostream_inserter_other.cc (test04): Add test.
781 * testsuite/27_io/istream_extractor_other.cc: Fix.
783 2001-06-26 Zoltan Hidvegi <hzoli@austin.ibm.com>
785 * acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
786 * aclocal.m4: Regenerate.
787 * configure: Regenerate.
789 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
791 * include/bits/stream_iterator.h (istream_iterator): Add copy ctor.
792 (ostream_iterator): Same.
793 * include/bits/stl_iterator.h (front_insert_iterator::operator=):
794 Change argument to const_reference.
795 (back_insert_iterator): Same.
797 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
799 * include/bits/sbuf_iter.h: Change to..
800 * include/bits/streambuf_iterator.h: This.
801 * include/bits/stl_iterator.h: Take out of here...
802 * include/bits/stream_iterator.h: Add.
803 * src/Makefile.am (base_headers): Add streambuf_iterator,
805 * src/Makefile.in: Regenerate.
806 * include/bits/std_string.h: Adjust includes.
807 * include/bits/basic_ios.h: Same.
808 * include/bits/locale_facets.tcc: Same.
809 * include/bits/std_iosfwd.h: Same.
811 * include/bits/std_iterator.h: Add istream, ostream includes.
812 * include/bits/stl_iterator.h: Tweak.
813 * testsuite/24_iterators/ostream_iterator.cc: Add test.
814 * testsuite/24_iterators/istream_iterator.cc: Same.
815 * testsuite/23_containers/multiset.cc: Add iterator include.
817 2001-06-26 Phil Edwards <pme@sources.redhat.com>
819 * acinclude.m4: Clean extraneous tabs, rewrap 'test' lines.
820 * aclocal.m4: Regenerate.
821 * configure: Regenerate.
823 2001-06-26 Felix Natter <f.natter@ndh.net>
825 * docs/html/17_intro/porting-howto.html: Fixed some errors.
827 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
829 * include/bits/stl_iterator.h (istream_iterator::operator->): Fix
831 (istream_iterator::operator*): Same.
833 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
834 Alexandre Petit-Bianco <apbianco@redhat.com>
836 * testsuite/21_strings/element_access.cc (test01): Chill Out Cafe
837 is on 41st, not 14th.
839 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
841 * include/bits/std_iterator.h: Include sbuf_iter.h via std_ios.h.
843 * include/bits/stl_iterator.h (istream_iterator): Inherit from
845 (ostream_iterator): Same.
846 * testsuite/24_iterators/istream_iterator.cc: New file.
847 * testsuite/24_iterators/ostream_iterator.cc: New file.
849 * include/bits/sbuf_iter.h: Remove self typedef.
850 * testsuite/24_iterators/ostreambuf_iterator.cc: Add test.
851 * testsuite/24_iterators/istreambuf_iterator.cc: Add test.
853 * include/bits/stl_iterator.h (reverse_iterator): Remove
854 extraneous typedefs. Add typename.
855 (__normal_iterator): Remove typedefs referring to self. Add typename.
856 (reverse_bidiretional_iterator): Remove, not longer required.
858 2001-06-26 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
860 * include/bits/stl_iterator.h (__normal_iterator<>): Qualify
861 dependent names with `typename'. Bring in various required
862 iterator_traits members. Can't imagine why that used to work.
864 2001-06-25 Phil Edwards <pme@sources.redhat.com>
865 Kurt Garloff <garloff@suse.de>
868 * src/cmath.cc: New [version of an old] file; instantiate
869 __cmath_power to start with.
870 * src/Makefile.am (sources): Add cmath.cc (and alphabetize).
871 * Makefile.in: Regenerate.
872 * libio/Makefile.in: Regenerate.
873 * libmath/Makefile.in: Regenerate.
874 * libsupc++/Makefile.in: Regenerate.
875 * src/Makefile.in: Regenerate.
876 * testsuite/Makefile.in: Regenerate.
878 2001-06-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
880 * libmath/stubs.c: Fix thinko.
882 2001-06-24 David Edelsohn <dje@watson.ibm.com>
884 * libmath/stubs.c (sqrtf): Define.
885 (tanf): Correct typo.
887 2001-06-22 Benjamin Kosnik <bkoz@redhat.com>
889 * include/bits/stl_iterator.h (reverse_iterator): Inherit from
891 (back_insert_iterator): Same.
892 (front_insert_iterator): Same.
893 (insert_iterator): Same.
895 * testsuite/20_util/raw_storage_iterator.cc: Modify.
896 * testsuite/24_iterators/reverse_iterator.cc: New file.
897 * testsuite/24_iterators/back_insert_iterator.cc: New file.
898 * testsuite/24_iterators/front_insert_iterator.cc: New file.
899 * testsuite/24_iterators/insert_iterator.cc: New file.
901 2001-06-22 Phil Edwards <pme@sources.redhat.com>
903 * include/*: Revert comment/license change from yesterday for all
904 except libsupc++/unwind-cxx.h.
905 * src/bitset.cc: Likewise.
906 * src/strstream.cc: Likewise.
908 2001-06-22 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
910 * libmath/stubs.c: New file.
914 * libmath/Makefile.am (libmath_la_SOURCES): Add.
915 * libmath/Makefile.in. Regenerate.
917 2001-06-21 Phil Edwards <pme@sources.redhat.com>
919 * include/backward/algo.h: Add "GPL plus runtime exception" comment.
920 * include/backward/algobase.h: Likewise.
921 * include/backward/alloc.h: Likewise.
922 * include/backward/bvector.h: Likewise.
923 * include/backward/defalloc.h: Likewise.
924 * include/backward/deque.h: Likewise.
925 * include/backward/function.h: Likewise.
926 * include/backward/hash_map.h: Likewise.
927 * include/backward/hash_set.h: Likewise.
928 * include/backward/hashtable.h: Likewise.
929 * include/backward/heap.h: Likewise.
930 * include/backward/iterator.h: Likewise.
931 * include/backward/list.h: Likewise.
932 * include/backward/map.h: Likewise.
933 * include/backward/multimap.h: Likewise.
934 * include/backward/multiset.h: Likewise.
935 * include/backward/pair.h: Likewise.
936 * include/backward/rope.h: Likewise.
937 * include/backward/set.h: Likewise.
938 * include/backward/slist.h: Likewise.
939 * include/backward/stack.h: Likewise.
940 * include/backward/strstream: Likewise.
941 * include/backward/tempbuf.h: Likewise.
942 * include/backward/tree.h: Likewise.
943 * include/backward/vector.h: Likewise.
944 * include/bits/pthread_allocimpl.h: Likewise.
945 * include/bits/std_algorithm.h: Likewise.
946 * include/bits/std_bitset.h: Likewise.
947 * include/bits/std_deque.h: Likewise.
948 * include/bits/std_functional.h: Likewise.
949 * include/bits/std_iterator.h: Likewise.
950 * include/bits/std_list.h: Likewise.
951 * include/bits/std_map.h: Likewise.
952 * include/bits/std_memory.h: Likewise.
953 * include/bits/std_numeric.h: Likewise.
954 * include/bits/std_queue.h: Likewise.
955 * include/bits/std_set.h: Likewise.
956 * include/bits/std_stack.h: Likewise.
957 * include/bits/std_utility.h: Likewise.
958 * include/bits/std_vector.h: Likewise.
959 * include/bits/stl_algo.h: Likewise.
960 * include/bits/stl_algobase.h: Likewise.
961 * include/bits/stl_alloc.h: Likewise.
962 * include/bits/stl_bvector.h: Likewise.
963 * include/bits/stl_construct.h: Likewise.
964 * include/bits/stl_deque.h: Likewise.
965 * include/bits/stl_function.h: Likewise.
966 * include/bits/stl_heap.h: Likewise.
967 * include/bits/stl_iterator.h: Likewise.
968 * include/bits/stl_iterator_base_funcs.h: Likewise.
969 * include/bits/stl_iterator_base_types.h: Likewise.
970 * include/bits/stl_list.h: Likewise.
971 * include/bits/stl_map.h: Likewise.
972 * include/bits/stl_multimap.h: Likewise.
973 * include/bits/stl_multiset.h: Likewise.
974 * include/bits/stl_numeric.h: Likewise.
975 * include/bits/stl_pair.h: Likewise.
976 * include/bits/stl_pthread_alloc.h: Likewise.
977 * include/bits/stl_queue.h: Likewise.
978 * include/bits/stl_raw_storage_iter.h: Likewise.
979 * include/bits/stl_relops.h: Likewise.
980 * include/bits/stl_set.h: Likewise.
981 * include/bits/stl_stack.h: Likewise.
982 * include/bits/stl_tempbuf.h: Likewise.
983 * include/bits/stl_threads.h: Likewise.
984 * include/bits/stl_tree.h: Likewise.
985 * include/bits/stl_uninitialized.h: Likewise.
986 * include/bits/stl_vector.h: Likewise.
987 * include/bits/type_traits.h: Likewise.
988 * include/ext/hash_map: Likewise.
989 * include/ext/hash_set: Likewise.
990 * include/ext/rope: Likewise.
991 * include/ext/ropeimpl.h: Likewise.
992 * include/ext/slist: Likewise.
993 * include/ext/stl_hash_fun.h: Likewise.
994 * include/ext/stl_hashtable.h: Likewise.
995 * include/ext/stl_rope.h: Likewise.
996 * libsupc++/unwind-cxx.h: Likewise.
997 * src/bitset.cc: Likewise.
998 * src/strstream.cc: Likewise.
1000 2001-06-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1002 * include/bits/indirect_array.h (indirect_array<>::operator=):
1003 Make copy and assignment operator public. Implement. Format.
1005 * include/bits/valarray_array.h (__valarray_copy): Add overloads
1006 for copy between index arrays. Format.
1008 2001-06-19 Benjamin Kosnik <bkoz@redhat.com>
1010 * mknumeric_limits: Add static definitions, format.
1011 * testsuite/18_support/numeric_limits.cc (test02): Add test.
1013 * include/c_std/bits/std_cwchar.h: Include ctime.
1014 * testsuite/17_intro/header_cwchar.cc : Check.
1016 * include/c_std/bits/std_cwctype.h: Inject wctype.
1017 * testsuite/17_intro/header_cwctype.cc: Update.
1019 2001-06-18 Benjamin Kosnik <bkoz@redhat.com>
1021 * include/bits/stl_raw_storage_iter.h: Format. Correct derivation.
1022 * testsuite/20_util/raw_storage_iterator.cc: Same.
1024 * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to
1026 (__mem_interface): New typedef for switching between malloc and new.
1027 * testsuite/20_util/allocator_members.cc: New file.
1029 * testsuite/20_util/comparisons.cc: New file.
1030 * testsuite/20_util/pairs.cc: New file.
1032 2001-06-15 Phil Edwards <pme@sources.redhat.com>
1034 * docs/html/documentation.html: Point to new doxygen'ed collection.
1036 2001-06-14 Nathan Sidwell <nathan@codesourcery.com>
1038 * configure.in (auxdir): Replace by ...
1039 (toprel): ... new variable.
1040 (toplevel_srcdir): Construct from $toprel.
1041 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
1042 rather than .. to locate gcc source directory.
1043 (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
1044 * aclocal.m4, configure: Rebuilt.
1046 2001-06-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
1048 (Approved by Mark and Benjamin. Applied by Loren.)
1050 * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
1051 _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
1052 and _GLIBCPP_mutex_address.
1053 * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
1054 once-only runtime initialization of _M_lock mutex when
1055 __GTHREAD_MUTEX_INIT_FUNCTION is defined.
1056 (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
1057 for __GTHREAD_MUTEX_INIT_FUNCTION case.
1059 2001-06-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1061 * testsuite/26_numerics/slice_array_assignment.cc (main): New test.
1063 * include/bits/slice_array.h (slice_array<>::operator=): Make
1064 public and implement.
1065 (slice_array<>::slice_array): Make copy-constructor public.
1067 * include/bits/valarray_array.h (__valarray_copy): Add another
1068 overload to copy between strided arrays.
1070 2001-06-13 Benjamin Kosnik <bkoz@redhat.com>
1072 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
1073 * aclocal.m4: Regenerate.
1074 * configure: Regenerate.
1075 * include/bits/c++config (__GLIBCPP__): Update date.
1077 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
1079 * include/bits/fpos.h (fpos::operator-): Don't return reference,
1080 return original, non-modified version.
1081 (fpos::operator+): Same.
1082 * testsuite/27_io/fpos.cc: Add test.
1084 2001-06-12 Loren J. Rittle <ljrittle@acm.org>
1087 * porting.texi: Add documentation about libstdc++-v3-specific
1088 macros that are currently included in os_defines.h files.
1090 * config/basic_file_stdio.h (sys_getc): New method.
1091 (sys_ungetc): New method.
1092 * include/bits/basic_file.h: (sys_getc): New method signature.
1093 (sys_ungetc): New method signature.
1095 * include/bits/fstream.tcc (underflow): Add conditional code
1096 paths which avoid using short seeks on streams (especially
1097 useful when the stream might be interactive or a pipe). At
1098 the moment, this alternate path only avoids seeking when the
1099 ``buffer size'' of underflow() is 1 since the C standard only
1100 guarantees buffer space for one ungetc (this technique could
1101 be extended since *-*-solaris* supports buffering for 4 calls
1102 to ungetc and *-*-*bsd* supports buffering limited only by
1103 memory resources). Also, _GLIBCPP_AVOID_FSEEK must be defined
1104 in a port's os_defines.h file for this alternate path to even
1105 be considered. As a bonus, the idiom of using getc/ungetc
1106 requires no system calls whereas fseek maps to one or two
1107 system call(s) on many platforms.
1109 * config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
1111 * config/os/solaris/solaris2.5/bits/os_defines.h
1112 (_GLIBCPP_AVOID_FSEEK): Likewise.
1113 * config/os/solaris/solaris2.6/bits/os_defines.h
1114 (_GLIBCPP_AVOID_FSEEK): Likewise.
1115 * config/os/solaris/solaris2.7/bits/os_defines.h
1116 (_GLIBCPP_AVOID_FSEEK): Likewise.
1118 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
1120 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change to
1121 AC_TRY_COMPILE, so that the built compiler is checked, and
1122 bootstraps or cross compiles with an older compile still work.
1123 * aclocal.m4: Regenerate.
1124 * configure: Regenerate.
1126 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
1129 * include/bits/std_sstream.h: Add allocator_type, as per DR 251.
1132 * include/bits/istream.tcc (getline, get): Fix as per DR 243.
1135 * include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
1138 * include/bits/limits_generic.h: Fix as per DR 184.
1140 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
1143 * include/bits/basic_string.h (string::compare): Adjust signatures
1145 * include/bits/basic_string.tcc: And here.
1148 * config/c_io_stdio.h: Remove whitespace.
1149 * testsuite/27_io/istream_seeks.cc (test03): Add regression.
1150 (test02): Add regression.
1151 * testsuite/27_io/istream_seeks-3.tst: New file.
1153 2001-06-11 Phil Edwards <pme@sources.redhat.com>
1155 * README: Update to reflect reality.
1156 * acinclude.m4: Update descriptions, fix typos. Comment changes only.
1157 * configure.in: Make certain target_alias is set and subst'd for 2.50.
1158 * aclocal.m4: Regenerate.
1159 * configure: Regenerate (with 2.13).
1161 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
1164 * include/bits/ostream.tcc (ostream::seekp): Add error checking as
1166 * include/bits/istream.tcc (istream::seekg): Same.
1167 * testsuite/27_io/istream_seeks.cc: Fix.
1170 * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
1172 * include/bits/std_queue.h: Add c++config.h.
1173 * testsuite/20_util/binders.cc: New test.
1175 2001-06-11 Matthias Klose <doko@debian.org>
1176 Phil Edwards <pme@sources.redhat.com>
1178 * docs/doxygen/run_doxygen (find_doxygen): Tweak version check.
1179 (main script): Echo more information.
1181 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
1183 * include/c_std/bits/std_cwchar.h: Alphabetize.
1184 * include/bits/char_traits.h: Tweak.
1185 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
1186 everything used by std_cwchar.h.
1187 * aclocal.m4: Regenerate.
1188 * configure.in: Regenerate.
1189 * config.h.in: Regenerate.
1191 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
1193 * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
1194 Add checking for strtof, _Exit in stdlib.h
1195 * aclocal.m4: Regenerate.
1196 * configure.in: Regenerate.
1197 * include/c_std/bits/std_cstdio.h: Alphabetize lists.
1198 (snprintf): Put C99 functions into __gnu_cxx namespace.
1203 * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
1204 for C99 functions within _GLIBCPP_USE_C99 guard.
1208 * include/bits/locale_facets.tcc: Check if C99 is enabled.
1209 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
1211 * include/c_std/bits/cmath.tcc: Formatting tweak.
1212 * include/c_std/bits/std_cmath.h: Same.
1214 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
1216 * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
1218 2001-06-09 Alexandre Oliva <aoliva@redhat.com>
1219 Stephen L Moshier <moshier@mediaone.net>
1221 * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
1222 nothing, as in autoconf 2.50.
1223 * configure: Rebuilt.
1225 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
1227 * include/c_std/bits/std_cwchar.h: Remove size_t injection,
1228 include std_cstddef.
1229 * include/c_std/bits/std_ctime.h: Same.
1230 * include/c_std/bits/std_cstring.h: Same.
1231 * include/c_std/bits/std_cstdlib.h: Same.
1233 * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
1234 * include/c_std/bits/std_cctype.h: Remove isblank.
1236 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
1238 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
1240 * aclocal.m4: Regenerate.
1241 * configure: Regenerate.
1242 * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
1243 injection, guard fgetwc, fgetws.
1244 * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
1245 * include/c_std/bits/std_clocale.h: And here.
1246 * include/c_std/bits/std_cctype.h: And here.
1247 * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
1249 * config/basic_file_stdio.h: Don't include unistd.h.
1250 * config/c_io_stdio.h: Don't use compatibility headers.
1251 * libsupc++/eh_terminate.cc: Qualify abort.
1252 (__terminate): And here.
1253 * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
1255 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
1257 * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
1259 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
1264 * include/std/*: Add copyright notice.
1265 * include/c_std/bits/*: Use using statements instead of extern "C".
1266 * include/c_std/bits/std_cmath.h: Don't overload double versions
1267 of math functions with __buitin versions, use global version to
1268 prevent ambiguities. Remove define hacks.
1269 * include/c_std/bits/std_cwchar.h: Using declarations for "C"
1270 functions that have changed signatures and std::
1271 declarations. Remove define hacks.
1272 * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
1273 __builtins in std::. Remove define hacks.
1274 * testsuite/17_intro/headers_c.cc: Add tests.
1275 * testsuite/17_intro/headers_c++.cc: Add test.
1277 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
1278 John David Anglin <dave@hiauly1.hia.nrc.ca>
1281 * libsupc++/eh_alloc.cc: Ensure that required macros are
1282 defined before including gthr.h. Ensure that we get the
1283 version of gthr.h for which we know how to provide a
1285 * libsupc++/eh_globals.cc: Likewise. And, bring the threading
1286 code path into line with the current EH model. Use std, where
1289 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
1290 John David Anglin <dave@hiauly1.hia.nrc.ca>
1292 * config/threads-no.h: Remove file.
1293 * config/threads-posix.h: Remove file.
1295 * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
1296 (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
1297 (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
1298 * config.h.in: Regenerate.
1300 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
1301 setup and use gthr*.h files. In particular, make gthr.h files
1302 namespace-clean in the staging area (they don't have to be for
1304 * aclocal.m4: Regenerate.
1305 * configure: Regenerate.
1307 * src/Makefile.am (build_headers): Remove bits/c++threads.h
1308 and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
1309 * src/Makefile.in: Regenerate.
1311 * include/bits/c++config: Cleanup threading configuration macros.
1312 In particular, define __STL_GTHREADS macro which controls...
1313 * include/bits/stl_threads.h: ...a brand new gthr.h-based
1316 * config/c_io_stdio.h: Include staged gthr.h instead of local
1317 thread configuration file. Always use __gthread_mutex_t
1318 instead of __mutext_type (or int).
1319 * include/bits/std_fstream.h: Likewise.
1321 * docs/html/17_intro/howto.html: Remove placeholder comment in
1322 case this configuration patch didn't make it. Add advice that
1323 section only applies if configured with --enable-threads.
1324 * docs/html/23_containers/howto.html: Reword to make clear
1325 that _PTHREADS is no longer required for any port to be
1326 correctly using STL with threads. Add advice that section
1327 only applies if configured with --enable-threads.
1329 2001-06-06 Benjamin Kosnik <bkoz@redhat.com>
1331 * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
1333 2001-06-05 Benjamin Kosnik <bkoz@redhat.com>
1336 * include/bits/basic_ios.tcc: Formatting tweaks.
1337 * include/bits/ios_base.h: Formatting tweaks.
1338 * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
1339 (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
1340 * src/globals.cc: Allocate filebufs for standard streams here.
1341 (buf_cout, buf_cin, buf_cerr): Like so.
1342 (buf_wcout, buf_wcin, buf_wcerr): And so.
1343 * testsuite/27_io/ios_init.cc: Add.
1345 2001-06-04 Brendan Kehoe <brendan@zen.org>
1346 Benjamin Kosnik <bkoz@redhat.com>
1349 * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
1350 for generic ctype virtuals.
1351 * src/locale.cc: Minor tweaks, naming consistency.
1352 * testsuite/22_locale/ctype.cc: Add test.
1354 2001-06-04 Kenny Simpson <theonetruekenny@yahoo.com>
1355 Phil Edwards <pme@sources.redhat.com>
1357 PR libstdc++/3035 and PR libstdc++/3036
1358 * include/bits/stl_pair.h: Fix pair ctor and make_pair according
1359 to LWG DR 181 and 265.
1361 2001-06-04 Phil Edwards <pme@sources.redhat.com>
1364 * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
1365 equal_range): Add const overloads as per LWG DR 214.
1366 * include/bits/stl_set.h: Likewise.
1368 2001-06-04 Brendan Kehoe <brendan@zen.org>
1369 Phil Edwards <pme@sources.redhat.com>
1372 * include/bits/std_bitset.h (bitset::test): Fix __pos >= _Nb
1373 comparison; all positions must be < _Nb.
1374 * testsuite/23_containers/bitset_members.cc: New file.
1376 2001-06-04 Brendan Kehoe <brendan@zen.org>
1379 * include/bits/stl_queue.h (classes queue, priority_queue): Fix
1380 ctors to match the standard.
1382 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
1384 * include/bits/char_traits.h (move): Reverse qualification of
1386 (copy): Reverse qualification of memcpy with std::.
1388 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
1390 * include/bits/char_traits.h (move): Qualify memmove with std::.
1391 (copy): Qualify memcpy with std::.
1392 * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
1395 * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
1397 2001-06-04 Hans-Peter Nilsson <hp@axis.com>
1399 * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
1400 uninstall-glibcppinstallHEADERS): Have explicit rules catering to
1401 SUN make VPATH peculiarities.
1402 * libsupc++/Makefile.in: Regenerate.
1404 2001-06-01 Hans-Peter Nilsson <hp@axis.com>
1406 * src/Makefile.am (VPATH): Delimit with ":", not space.
1407 * src/Makefile.in: Regenerate.
1409 * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
1411 * configure: Regenerate.
1413 2001-05-31 scott snyder <snyder@fnal.gov>
1416 * include/bits/istream.tcc: Include std_ostream.h.
1418 2001-05-31 Benjamin Kosnik <bkoz@redhat.com>
1421 * src/bitset.cc: Qualify size_t with std::.
1423 2001-05-30 Benjamin Kosnik <bkoz@redhat.com>
1425 * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
1426 (_GLIBCPP_BUGGY_COMPLEX): Remove.
1427 * config.h.in: Regenerate.
1428 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
1429 * aclocal.m4: Regenerate.
1430 * configure.in: Don't call it.
1431 * configure: Regenerate.
1434 * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
1435 * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
1439 * include/bits/std_complex.h: Include sstream. Put definitions for
1440 complex inserters and extractors here, and remove them from...
1441 * src/complex_io.cc: ...here.
1442 * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
1444 (basic_ios::__numget_type): Same.
1445 * include/bits/std_istream.h: Same.
1446 * include/bits/std_ostream.h: Same.
1447 * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
1448 class iterator template arguments.
1449 * src/locale-inst.cc: Add explicit has_facet instantiations.
1450 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
1451 (_M_get_fnumput): Remove.
1452 (_M_get_fnumget): Remove.
1453 (basic_ios::_M_check_facet): New function.
1454 (basic_ios::_M_cache_facets): New function.
1455 * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
1456 (basic_ios::imbue): Call _M_cache_facets.
1457 (basic_ios::init): Same.
1458 * include/bits/istream.tcc: Format, use _M_check_facet.
1459 * include/bits/ostream.tcc: Same.
1460 * include/bits/locale_facets.tcc (__output_float): Change
1461 signature, add _Traits.
1462 * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
1465 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
1467 * include/bits/c++config (__USE_MALLOC): Do not define it.
1468 Document why not and give pointers to more information.
1470 * docs/html/23_containers/howto.html: Update documentation
1471 to reflect recent understanding of problem.
1472 * docs/html/17_intro/howto.html: Likewise.
1474 2001-05-30 Phil Edwards <pme@sources.redhat.com>
1476 * docs/doxygen/user.cfg.in: Minor addition.
1477 * docs/html/documentation.html: Reorganize. Put most-looked-at
1479 * docs/html/install.html: Update for 3.0. HTML fixups.
1480 * docs/html/17_intro/howto.html: Likewise.
1481 * docs/html/18_support/howto.html: Likewise.
1482 * docs/html/19_diagnostics/howto.html: Likewise.
1483 * docs/html/20_util/howto.html: Likewise.
1484 * docs/html/23_containers/howto.html: Likewise.
1485 * docs/html/24_iterators/howto.html: Likewise. More notes.
1486 * docs/html/25_algorithms/howto.html: Likewise.
1487 * docs/html/26_numerics/howto.html: Likewise. More notes.
1488 * docs/html/27_io/howto.html: Likewise.
1489 * docs/html/ext/howto.html: Likewise.
1490 * docs/html/faq/index.html: Likewise.
1491 * docs/html/faq/index.txt: Regenerate.
1492 * docs/html/27_io/iostreams_hierarchy.pdf: Remove in favor of
1493 Doxygen-created documentation.
1495 2001-05-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1497 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
1498 get_multilibs to find gcc.
1500 2001-05-30 Phil Edwards <pme@sources.redhat.com>
1502 * acinclude.m4 (GLIBCPP_ENABLE_C99): Reorder output messages.
1503 * aclocal.m4: Regenerate.
1504 * configure: Regenerate.
1506 2001-05-29 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1508 * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
1509 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
1511 2001-05-27 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1513 * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
1514 * include/c_std/bits/std_cstdlib.h: Same.
1515 * include/c_std/bits/std_cwchar.h: Same.
1517 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
1519 * docs/html/17_intro/howto.html: Update link.
1520 * docs/html/23_containers/howto.html: Likewise. Add new link.
1522 2001-05-26 Gabriel Dos Reis <gdr@codesourcery.com>
1524 * include/c_std/bits/std_cmath.h (sqrt): #undef.
1526 2001-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1528 * mknumeric_limits: Stop if gen-num-limits dies.
1530 2001-05-25 Benjamin Kosnik <bkoz@redhat.com>
1533 * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
1534 * aclocal.m4: Regenerate.
1537 2001-05-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1538 Phil Edwards <pme@sources.redhat.com>
1539 Alexandre Oliva <aoliva@redhat.com>
1541 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
1542 in an amd-safe manner. Revert glibcpp_prefixdir.
1544 2001-05-25 Gabriel Dos Reis <gdr@codesourcery.com>
1546 * include/c_std/bits/std_cmath.h: Tweak. #define away abs, cos,
1547 fabs, sin, sqrt. They are now implemented in terms of __builtin_
1550 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
1553 * testsuite/21_strings/inserters_extractors.cc (test09): New test.
1554 * include/bits/ostream.tcc: Format to match istream.tcc.
1555 (operator<<(basic_ostream __out, const basic_string __s)): Fix.
1557 2001-05-24 Phil Edwards <pme@sources.redhat.com>
1559 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Qualify
1561 (__cxa_free_exception): Likewise with free.
1563 2001-05-24 Mark Mitchell <mark@codesourcery.com>
1565 * include/c_std/bin/std_cstring.h: #define away all global
1566 functions we will redeclare in namespace `std'.
1567 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
1568 std::memset, instead of memset.
1569 * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
1571 * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
1574 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
1577 * include/bits/basic_ios.tcc: Small tweak.
1578 * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
1579 ctors and dtors, and rdbuf settings.
1582 * include/bits/std_sstream.h: Same, but for stringstream classes.
1583 * testsuite/27_io/ostringstream_members.cc: New.
1584 * testsuite/27_io/stringstream_members.cc: New.
1585 * testsuite/27_io/fstream_members.cc: New.
1586 * testsuite/27_io/ifstream_members.cc: Add test.
1587 * testsuite/27_io/istringstream_members.cc: Add test.
1588 * testsuite/27_io/ofstream_members.cc: Add test.
1590 2001-05-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1592 * include/bits/c++config(__NO_MATH_INLINES): Move to...
1593 * config/os/gnu-linux/bits/os_defines.h: ...here.
1595 2001-05-24 Gabriel Dos Reis <gdr@codesourcery.com>
1597 * include/bits/c++config (__NO_MATH_INLINES): New macro.
1598 * testsuite/26_numerics/fabs_inline.cc (main): New test.
1600 2001-05-22 Benjamin Kosnik <bkoz@redhat.com>
1603 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
1605 (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
1606 (libstdc++-v3-finish): Remove.
1607 (libstdc++-v3_exit): Remove.
1609 2001-05-22 Phil Edwards <pme@sources.redhat.com>
1611 * docs/html/documentation.html: Point to doxygen output.
1613 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
1615 * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
1617 * include/bits/std_sstream.h (stringbuf::setbuf): Require both
1618 arguments to be non-null.
1619 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
1620 try allocations if allocated size is greater than zero.
1621 (filebuf::_M_filebuf_init): Change to
1622 (filebuf::_M_allocate_file): Which is what it does now.
1623 (filebuf::_M_allocate_bufers): Change to
1624 (filebuf::_M_allocate_internal_buffer): This, and create
1625 (filebuf::_M_allocate_pback_buffer): New.
1626 (filebuf::_M_destroy_internal_buffer): New.
1627 (filebuf::_M_buf_allocated): New data member.
1628 (filebuf::setbuf): Use new logic, allow use of external buffer.
1629 * testsuite/27_io/stringbuf_virtuals.cc: New file.
1630 * testsuite/27_io/filebuf_virtuals.cc: New file.
1632 2001-05-21 Stephen M. Webb <stephen@bregmasoft.com>
1634 * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
1636 (strchr): Same, but to __glibcpp_strchr.
1640 * include/c_std/bits/std_cwchar.h (wcschr): Same.
1646 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
1648 * testsuite/21_strings/c_strings.cc (main): Fix.
1650 2001-05-19 Phil Edwards <pme@sources.redhat.com>
1652 * acinclude.m4: Fix --help spacing, correct comments.
1653 * aclocal.m4: Regenerate.
1654 * configure: Regenerate.
1655 * mkcheck.in: Add usage comments.
1656 * docs/html/documentation.html: Point to doxygen'd tarball.
1658 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
1660 * testsuite/README: Add notes.
1662 * src/Makefile.am (libstdc++.INC): Remove.
1663 * src/Makefile.in: Regenerate.
1665 Phil Edwards <pedwards@disaster.jaj.com>
1666 * mkcheck.in: Add missing '#'.
1668 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
1670 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
1671 appropriately for remote testing and testing installed files without
1674 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
1676 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
1677 amd glibcpp_prefixdir with absolute paths.
1679 * include/bits/c++config (__GLIBCPP__): Bump.
1680 * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
1682 2001-05-18 Gabriel Dos Reis <gdr@codesourcery.com>
1684 * include/bits/std_valarray.h (valarray<>::operator[] const):
1685 Return a const reference.
1686 * testsuite/26_numerics/valarray_const_bracket.cc: New test.
1688 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
1690 * configure.target (ATOMICITYH): Actually use AIX-specific code on
1691 earlier versions of AIX 4.*.
1693 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
1695 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set
1696 output_file based on the name of the testcase.
1698 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
1700 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Build
1701 gluefile and use it if needs_status_wrapper is set.
1703 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
1705 * configure.target (ATOMICITYH): Use cpu/generic code on earlier
1708 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
1710 * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
1711 on earlier versions of AIX.
1713 2001-05-15 Benjamin Kosnik <bkoz@redhat.com>
1715 * testsuite_flags.in (query): Add backwards, ext directories.
1717 2001-05-15 Mark Mitchell <mark@codesourcery.com>
1719 * porting.texi: Correct documentation about handling
1720 _LARRGEFILE_SOURCE and its ilk.
1721 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
1722 definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
1724 * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
1725 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
1727 2001-05-15 Zack Weinberg <zackw@stanford.edu>
1729 * testsuite/21_strings/inserters_extractors.cc,
1730 testsuite/27_io/istream_unformatted.cc,
1731 testsuite/27_io/stringstream.cc:
1732 Replace multi-line string constants with C89-style
1733 concatenated string constants.
1735 2001-05-14 Richard Henderson <rth@redhat.com>
1737 * mknumeric_limits: Build with -fno-exceptions.
1739 2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
1741 Switch over to new harness.
1742 * testsuite_flags.in: Tweaks via Gaby.
1743 * testsuite/Makefile.am: Change tool to libstdc++-v3.
1744 (EXPECT): Quote directly.
1746 * configure.in: Output testsuite_flags.
1747 * acinclude.m4: Substitute src, bld, and prefix dirs.
1748 Remove glibcpp_expect, glibcpp_runtestflags.
1749 * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
1750 * mkcheck.in: Port to new interface.
1752 * aclocal.m4: Regerate.
1753 * configure: Regnerate.
1754 * Makefile.in: Regnerate.
1755 * */Makefile.in: Regenerate.
1757 * tests_flags.in: Remove.
1758 * testsuite/lib/libstdc++.exp: Remove.
1759 * testsuite/libstdc++.tests/tests.exp: Remove.
1761 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
1763 * configure.target: Remove detection of AIX pthread multilib, now
1764 obtained from `gcc -v'.
1766 2001-05-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
1768 * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
1769 size. Add hpux case for HP size.
1771 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
1773 * testsuite_flags.in: New, simplified interface.
1774 * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
1775 * testsuite/libstdc++-v3.dg: Add.
1776 * testsuite/libstdc++-v3.dg/dg.exp: Add.
1778 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
1780 * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
1781 * testsuite/config/default.exp: Update bugs email address.
1783 2001-05-11 Richard Henderson <rth@redhat.com>
1785 * libsupc++/eh_personality.cc: Include unwind-pe.h. Remove
1786 all pointer encoding logic.
1787 (struct lsda_header_info): Add ttype_base.
1788 (get_ttype_entry): Use it instead of a context.
1789 (check_exception_spec): Likewise.
1790 (PERSONALITY_FUNCTION): Initialize ttype_base. Store it in
1791 the c++ exception header for __cxa_call_unexpected.
1792 (__cxa_call_unexpected): Use it.
1794 2001-05-09 Benjamin Kosnik <bkoz@redhat.com>
1796 * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
1797 libgloss_link_flags to find crt0.o for targets that use libgloss
1799 Change LDFLAGS to LIBS.
1800 Consistently name procedures libstdc++-XXX.
1801 * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
1803 2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
1805 * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
1810 * include/c_std/bits/std_cwchar.h (wcschr): Same.
1815 * testsuite/21_strings/c_strings.cc: Add tests.
1817 2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
1820 * include/bits/std_fstream.h (basic_filebuf): Change signature.
1821 * include/bits/fstream.tcc (basic_filebuf): Change bool argument
1822 to int_type, pass in buffer size info.
1823 * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
1824 unbuffered situation.
1825 (underflow): Remove codecvt bits for the time being.
1826 * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
1827 * include/bits/locale_facets.tcc (_M_extract): Cache dereference
1828 values from iterators, clean.
1829 * src/locale.cc: Ditto.
1830 * include/bits/sbuf_iter.h: Format.
1831 * src/ios.cc: Explicitly pass in buffer sizes at creation time.
1832 * testsuite/27_io/narrow_stream_objects.cc: Add tests.
1833 * testsuite/27_io/filebuf.cc: Tweaks.
1834 * testsuite/27_io/filebuf_members.cc: Tweaks.
1836 2001-05-07 Mark Mitchell <mark@codesourcery.com>
1838 * config/os/solaris/solaris2.7/bits/os_defines.h
1839 (_LARGEFILE_SOURCE): Define it.
1841 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
1843 * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
1844 -prefer-non-pic depending on whether libtool has shared libraries
1845 enabled or disabled.
1846 * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
1847 $(LIBSUPCXX_PICFLAGS).
1848 * configure, */Makefile.in: Rebuilt.
1850 2001-05-01 Benjamin Kosnik <bkoz@redhat.com>
1852 * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
1853 * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
1855 * include/bits/std_sstream.h (stringbuf): Leak
1857 * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
1859 2001-05-01 Tom Browder <tbrowder@home.com>
1861 * docs/html/ext/howto.html: Fix typo.
1863 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
1865 * testsuite/libstdc++.tests/tests.exp: Add comment.
1867 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
1869 * testsuite/libstdc++.tests/tests.exp: Set ulimits.
1871 2001-04-30 Mark Mitchell <mark@codesourcery.com>
1873 * porting.texi: Use the GFDL.
1875 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
1878 * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
1879 * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
1882 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
1885 * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
1887 2001-04-28 Phil Edwards <pme@sources.redhat.com>
1889 * docs/doxygen/run_doxygen: Minor tweaks.
1890 * docs/doxygen/style.css: New file.
1891 * docs/doxygen/user.cfg.in: Update using "doxygen -u" to get the
1892 latest parameters available. Use style.css.
1894 2001-04-27 Benjamin Kosnik <bkoz@redhat.com>
1896 * docs/doxygen/mainpage.doxy: New.
1897 * docs/doxygen/user.cfg.in: Change default configuration. Single
1898 frame, other tweaks.
1900 2001-04-26 Mark Mitchell <mark@codesourcery.com>
1902 * docs/html/17_intro/BADNAMES: Remove EGCS reference.
1903 Indicate obsolete nature of thelist for G++ 3.0.
1905 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
1907 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
1908 target_thread_file with `gcc -v'.
1909 * aclocal.m4, configure: Rebuilt.
1911 2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
1913 * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
1914 * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
1915 * include/c_std/bits/std_cwchar.h (std): Same.
1916 * acconfig.h (std): Remove c99 injection into std.
1917 * config.h.in: Regenerate.
1919 * testsuite/README: Fix typo.
1921 * include/bits/codecvt.h: Remove warnings.
1923 2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1925 * include/ext/slist: Include required header files.
1927 2001-04-23 Loren J. Rittle <ljrittle@acm.org>
1929 * include/c_std/bits/std_cerrno.h (errno): Define macro from
1930 identifier declared with external linkage, if needed.
1931 * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
1932 * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
1934 2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
1936 * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
1937 re-configures find the build compiler.
1938 (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
1940 * aclocal.m4: Regenerate.
1941 * configure: Regenerate.
1943 2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
1945 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
1946 support is enabled correctly before long long is activated.
1947 * aclocal.m4: Regenerate.
1948 * configure: Regenerate.
1950 * include/backward/backward_warning.h: Format correctly.
1952 * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
1953 * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
1954 * testsuite/26_numerics/c99_macros.cc: Remove.
1956 2001-04-20 Phil Edwards <pme@sources.redhat.com>
1958 * include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
1959 __iterator_category.
1961 2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
1963 * acconfig.h (_GLIBCPP_USE_C99): Add.
1964 * config.h.in: Regenerate.
1965 * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
1967 * aclocal.m4: Regenerate.
1968 * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
1969 * configure: Regenerate.
1970 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
1971 * configure: Regenerate.
1972 * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
1974 * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
1976 * include/c_std/bits/std_cstdlib.h: Same.
1977 * docs/html/configopts.html: Update.
1978 * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
1980 (test_c99_classify): Add.
1981 * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
1982 (_ISOC99_SOURCE): Remove.
1984 * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
1985 * include/bits/c++config (__STL_ASSERTIONS): Simplify.
1986 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
1987 * aclocal.m4: Regenerate.
1988 * configure: Regenerate.
1990 2001-04-19 Phil Edwards <pme@sources.redhat.com>
1992 * Makefile.am (doxygen): Assume script is missing execute perms.
1993 * Makefile.in: Regenerated.
1994 * docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
1996 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
1998 * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
2000 2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
2002 * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
2003 * testsuite/23_containers/set_operators.cc: Same.
2005 * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
2007 (__GLIBCPP__): Bump from value of last release.
2008 * include/bits/concept_check.h: Default to off, edit comments.
2009 * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
2010 * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
2011 * src/Makefile.in: Regenerate.
2013 2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE>
2015 * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
2016 Properly uglify member.
2018 2001-04-13 Phil Edwards <pme@sources.redhat.com>
2020 * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead
2024 2001-04-13 Phil Edwards <pme@sources.redhat.com>
2026 * include/bits/boost_concept_check.h: Uglify, fork from Boost.
2027 * include/bits/concept_check.h: Uglify.
2028 * include/bits/stl_algo.h: Likewise.
2029 * include/bits/stl_algobase.h: Likewise.
2030 * include/bits/stl_deque.h: Likewise.
2031 * include/bits/stl_heap.h: Likewise.
2032 * include/bits/stl_iterator_base_funcs.h: Likewise.
2033 * include/bits/stl_list.h: Likewise.
2034 * include/bits/stl_map.h: Likewise.
2035 * include/bits/stl_multimap.h: Likewise.
2036 * include/bits/stl_multiset.h: Likewise.
2037 * include/bits/stl_numeric.h: Likewise.
2038 * include/bits/stl_queue.h: Likewise.
2039 * include/bits/stl_set.h: Likewise.
2040 * include/bits/stl_stack.h: Likewise.
2041 * include/bits/stl_vector.h: Likewise.
2042 * include/ext/hash_map: Likewise.
2043 * include/ext/hash_set: Likewise.
2044 * include/ext/slist: Likewise.
2046 2001-04-13 Gabriel Dos Reis <gdr@codesourcery.com>
2048 * testsuite/23_containers/set_operators.cc: Just try to compile.
2050 * testsuite/23_containers/map_operators.cc: Same.
2052 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
2054 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
2056 (dg-test): Revert rth's change.
2058 2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
2060 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
2061 terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
2063 2001-04-12 Gabriel Dos Reis <gdr@codesourcery.com>
2065 * testsuite/README: Add DejaGnu specific documentation.
2067 2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
2069 * acinclude.m4: AC_CHECK_TOOL for expect.
2070 * aclocal.m4: Regenerate.
2071 * configure: Regenerate.
2072 * testsuite/Makefile.am (RUNTEST): Use substituted.
2075 * configure.in: Remove xcompiling substitution.
2076 * tests_flags.in (CROSS_LIB_PATH): Remove.
2077 (xcompiling): Remove.
2078 (CXX): Use substituted CXX.
2080 2001-04-11 Richard Henderson <rth@redhat.com>
2082 * testsuite/lib/libstdc++.exp: Specify path for output_file.
2084 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
2086 * include/bits/std_valarray.h(valarray<>::operator[]): Make
2089 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
2091 * testsuite/25_algorithms/equal.cc: New test.
2093 2001-04-06 Joe Buck <jbuck@welsh-buck.org>
2095 * stl_algobase.h (std::equal): avoid use of possibly-undefined
2096 operator != (one line patch).
2098 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
2100 * include/backward/backward_warning.h: Re-enable.
2102 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
2103 Alexandre Oliva <aoliva@redhat.com>
2105 * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
2107 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
2109 * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
2110 * testsuite/26_numerics/c99_macros.cc: Add test.
2112 2001-04-06 Phil Edwards <pme@sources.redhat.com>
2114 * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES.
2115 * docs/html/faq/index.txt: Regenerated.
2117 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
2119 * include/backward/backward_warning.h: Temporarily disable until
2120 g++ testsuite changes go in.
2121 * tests_flags.in (CROSS_LIB_PATH): Add.
2123 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
2125 Warn when using backward headers.
2126 * include/backward/algo.h: Include warning file.
2127 * include/backward/vector.h: Same.
2128 * include/backward/tree.h: Same.
2129 * include/backward/tempbuf.h: Same.
2130 * include/backward/strstream: Same.
2131 * include/backward/streambuf.h: Same.
2132 * include/backward/stream.h: Same.
2133 * include/backward/stack.h: Same.
2134 * include/backward/slist.h: Same.
2135 * include/backward/set.h: Same.
2136 * include/backward/rope.h:
2137 * include/backward/queue.h: Same.
2138 * include/backward/pair.h: Same.
2139 * include/backward/ostream.h: Same.
2140 * include/backward/new.h: Same.
2141 * include/backward/multiset.h: Same.
2142 * include/backward/multimap.h: Same.
2143 * include/backward/map.h: Same.
2144 * include/backward/list.h: Same.
2145 * include/backward/iterator.h: Same.
2146 * include/backward/istream.h: Same.
2147 * include/backward/iostream.h:
2148 * include/backward/iomanip.h:
2149 * include/backward/heap.h: Same.
2150 * include/backward/hashtable.h:
2151 * include/backward/hash_set.h:
2152 * include/backward/hash_map.h:
2153 * include/backward/function.h:
2154 * include/backward/fstream.h:
2155 * include/backward/deque.h:
2156 * include/backward/defalloc.h: Same.
2157 * include/backward/complex.h: Same.
2158 * include/backward/bvector.h:
2159 * include/backward/alloc.h:
2160 * include/backward/algobase.h: Same.
2162 * include/backward/backward_warning.h: New file.
2163 * src/Makefile.am (backward_headers): Add backward_warning.h
2164 * src/Makefile.in: Regenerate.
2166 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
2168 * src/Makefile.am (myinstalldirs): Make sure backward directory is
2170 (myinstallheaders): Install backward headers in backward directory.
2171 * src/Makefile.in: Regenerate.
2173 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
2175 Prepare for libstdc++-2.92.
2176 * docs/html/17_intro/RELEASE-NOTES (New): Update.
2177 * docs/html/configopts.html: Fix formatting.
2178 * README (file): Updates.
2179 * include/bits/c++config (__GLIBCPP__): Update.
2181 2001-04-05 Phil Edwards <pme@sources.redhat.com>
2183 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
2185 2001-04-04 Phil Edwards <pme@sources.redhat.com>
2187 * docs/doxygen/user.cfg.in: Extract all non-private members;
2188 reduce confusing documentation output.
2190 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
2192 * include/backward/fstream.h: Add missing semicolons.
2194 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
2196 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
2197 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
2198 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
2199 (ios_base::Init::_S_ios_create): New.
2200 (ios_base::Init::_S_ios_destroy): New.
2201 * include/bits/std_fstream.h: Change ctor args.
2202 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
2203 (ios_base::Init::~Init): Use _S_ios_destroy.
2204 (ios_base::sync_with_stdio): Use new members.
2205 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
2208 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2210 * include/backward/fstream.h: Expose streampos to global
2213 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2215 * include/bits/stl_iterator_base_types.h: Fix typo
2217 2001-04-03 Andreas Schwab <schwab@suse.de>
2219 * include/backward/fstream.h: Define filebuf and wfilebuf.
2221 2001-04-02 Phil Edwards <pme@sources.redhat.com>
2223 New concept checking implementation.
2224 * docs/html/19_diagnostics/howto.html: Document.
2225 * docs/html/17_intro/concept_check.diff: New file, for reference.
2226 * include/bits/boost_concept_check.h: New file from Boost.
2227 * include/bits/c++config: Update comments.
2229 * include/bits/concept_check.h: New file.
2230 * include/bits/concept_checks.h: Removed.
2231 * include/bits/container_concepts.h: Removed.
2232 * include/bits/sequence_concepts.h: Removed.
2233 * include/bits/stl_iterator_base.h: Removed; split into...
2234 * include/bits/stl_iterator_base_funcs.h: ...this new file...
2235 * include/bits/stl_iterator_base_types.h: ...and this new file.
2237 * include/bits/sbuf_iter.h: Update to use new implementation.
2238 * include/bits/std_iterator.h: Likewise.
2239 * include/bits/std_memory.h: Likewise.
2240 * include/bits/stl_algo.h: Likewise.
2241 * include/bits/stl_algobase.h: Likewise.
2242 * include/bits/stl_construct.h: Likewise.
2243 * include/bits/stl_deque.h: Likewise.
2244 * include/bits/stl_heap.h: Likewise.
2245 * include/bits/stl_list.h: Likewise.
2246 * include/bits/stl_map.h: Likewise.
2247 * include/bits/stl_multimap.h: Likewise.
2248 * include/bits/stl_multiset.h: Likewise.
2249 * include/bits/stl_numeric.h: Likewise.
2250 * include/bits/stl_queue.h: Likewise.
2251 * include/bits/stl_set.h: Likewise.
2252 * include/bits/stl_stack.h: Likewise.
2253 * include/bits/stl_uninitialized.h: Likewise.
2254 * include/bits/stl_vector.h: Likewise.
2255 * include/ext/hash_map: Likewise.
2256 * include/ext/hash_set: Likewise.
2257 * include/ext/slist: Likewise.
2258 * include/ext/stl_hashtable.h: Likewise.
2260 * src/Makefile.am (base_headers): Update list of headers.
2261 * Makefile.in: Regenerated.
2262 * src/Makefile.in: Regenerated.
2263 * libio/Makefile.in: Regenerated.
2264 * libmath/Makefile.in: Regenerated.
2265 * libsupc++/Makefile.in: Regenerated.
2266 * testsuite/Makefile.in: Regenerated.
2268 * docs/html/install.html: Update contact information.
2269 * docs/html/17_intro/howto.html: Ditto.
2270 * docs/html/18_support/howto.html: Ditto.
2271 * docs/html/20_util/howto.html: Ditto.
2272 * docs/html/21_strings/howto.html: Ditto.
2273 * docs/html/22_locale/howto.html: Ditto.
2274 * docs/html/23_containers/howto.html: Ditto.
2275 * docs/html/24_iterators/howto.html: Ditto.
2276 * docs/html/25_algorithms/howto.html: Ditto.
2277 * docs/html/26_numerics/howto.html: Ditto.
2278 * docs/html/27_io/howto.html: Ditto.
2279 * docs/html/faq/index.html: Ditto, plus info on new checking code.
2280 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
2281 * docs/html/faq/index.txt: Regenerated.
2283 2001-04-02 Zack Weinberg <zackw@stanford.edu>
2285 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
2286 messages with $which_library as well as $tool_flags and
2287 ${dg-extra-tool-flags}. Factor out annotation text into
2290 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
2292 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
2293 * include/c_std/bits/std_cwchar.h: Same.
2294 * testsuite/21_strings/c_strings.cc: Add.
2296 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
2298 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
2300 2001-04-01 Zack Weinberg <zackw@stanford.edu>
2302 * tests_flags.in: Use test a = b, not test a == b which is not
2305 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
2307 * configure.target: Remove duplicate aix entry.
2309 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
2311 * include/ext/stl_bvector.h: Move to...
2312 * include/bits/stl_vector.h: ...here.
2313 * include/ext/bvector: Move to...
2314 * include/backward/bvector.h: ...here.
2315 * include/bits/std_vector.h: Change stl_bvector include.
2316 * include/bits/std_queue.h: Remove bvector include.
2317 * include/ext/tree: Insert using rb_tree, move to...
2318 * include/backward/tree.h: ...here.
2319 * include/backward/hash_map.h: Include ext/hash_map.
2320 * include/backward/hash_set.h: Include ext/hash_set.
2321 * include/backward/queue.h: New file.
2322 * include/backward/stack.h: Edit.
2323 * include/backward/algo.h: Same.
2324 * include/backward/algobase.h: Same.
2325 * include/backward/alloc.h: Same.
2326 * include/backward/function.h: Same.
2327 * include/backward/iomanip.h: Same.
2328 * include/backward/istream.h: Same.
2329 * include/backward/iterator.h: Same.
2330 * include/backward/list.h: Same.
2331 * include/backward/map.h: Same.
2332 * include/backward/multimap.h: Same.
2333 * include/backward/multiset.h: Same.
2334 * include/backward/ostream.h: Same.
2335 * include/backward/pair.h: Same
2336 * include/backward/rope.h: Same.
2337 * include/backward/set.h: Same.
2338 * include/backward/stream.h: Same.
2339 * include/backward/strstream.h: Same.
2340 * include/backward/tempbuf.h: Same.
2341 * src/Makefile.am (ext_headers): Edit.
2342 * src/Makefile.in: Regenerate.
2343 * testsuite/ext/headers.cc (main): Fix.
2346 2001-03-30 Phil Edwards <pme@sources.redhat.com>
2348 * tests_flags.in (LIBS): Pass correct path for installed testing.
2350 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
2352 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
2353 * tests_flags.in (CXX): Construct here.
2354 (static_fail): Don't remove compile.out. Format with spaces.
2355 (INCLUDES): Deal with xcompiling.
2356 * configure.in (xcompiling): Substitute.
2357 * testsuite/Makefile.am: Snake libjava configury.
2358 * testsuite/Makefile.in: Regenerate.
2359 * testsuite/23_containers/map_operators.cc: Tweaks.
2360 * testsuite/23_containers/set_operators.cc: Tweaks.
2362 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2364 Enable dejagnu testing framework.
2365 * configure.in: Generate testsuite/Makefile.
2366 * configure: Regenerate.
2367 * Makefile.am (check-install): Change rule from this...
2368 (check-script-install): ...to this.
2369 (check): Change rule from this...
2370 (check-script):...to this.
2371 * Makefile.in: Regenerate.
2373 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
2375 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
2377 (LIBTOOL): Let automake take care of its definition.
2378 * libsupc++/Makefile.in: Rebuilt.
2380 2001-03-28 Richard Henderson <rth@redhat.com>
2382 IA-64 ABI Exception Handling:
2383 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
2384 * configure.in: Use it.
2385 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
2386 * libsupc++/Makefile.am (sources): Update files list.
2387 * libsupc++/Makefile.in: Regenerate.
2388 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
2389 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
2390 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
2391 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
2392 * libsupc++/exception_support.cc: Remove.
2393 * libsupc++/exception_support.h: Remove.
2394 * libsupc++/pure.cc: Use std::terminate.
2395 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
2396 (__is_pointer): Remove.
2397 * libsupc++/unwind-cxx.h: New file.
2398 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
2400 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
2402 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
2404 * src/Makefile.am (CXXLINK): Likewise.
2405 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
2407 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
2409 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
2411 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2413 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
2416 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
2418 * include/bits/basic_file.h (get_fileno): Remove.
2419 (_M_fileno): Remove.
2420 (_M_cfile_created): Add.
2421 (basic_file::basic_file(__c_file_type*, openmode): Add.
2422 (basic_file::basic_file(int, const char*, openmode): Remove.
2423 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
2424 const char*, ios_base::openmode): Don't allocate
2425 internal buffers. Turn off internal buffers.
2426 (basic_filebuf::overflow): Remove test for null buffer.
2427 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
2428 * include/bits/streambuf.cc: Tweak.
2429 * include/bits/std_ostream.h: Tweak.
2430 * config/basic_file_libio.h: Same.
2431 * config/basic_file_stdio.h: Same.
2432 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
2433 * testsuite/27_io/filebuf_members.cc: Tweaks.
2434 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
2436 2001-03-24 Phil Edwards <pme@sources.redhat.com>
2438 * Makefile.am: New targets, doxygen and doxygen-maint.
2439 * Makefile.in: Regenerated.
2440 * docs/doxygen/run_doxygen: Finally implemented.
2441 * docs/doxygen/maint.cfg.in: New file.
2442 * docs/doxygen/user.cfg.in: New file.
2444 2001-03-24 Phil Edwards <pme@sources.redhat.com>
2446 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
2447 * src/Makefile.am: Replace leading spaces with tabs on continuation
2449 * aclocal.m4: Regenerated.
2451 * Makefile.in: Ditto.
2452 * src/Makefile.in: Ditto.
2453 * libio/Makefile.in: Ditto.
2454 * libmath/Makefile.in: Ditto.
2455 * libsupc++/Makefile.in: Ditto.
2457 2001-03-24 Phil Edwards <pme@sources.redhat.com>
2459 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
2460 concept-checking code and current status of same.
2461 * docs/html/ext/howto.html: Ditto.
2462 * docs/html/faq/index.html: Ditto.
2463 * docs/html/faq/index.txt: Regenerated.
2465 2001-03-24 Phil Edwards <pme@sources.redhat.com>
2467 * include/bits/std_bitset.h: Include ostream and istream headers
2468 instead of iostream.
2470 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
2472 * include/bits/ostream.tcc: Use __builtin_alloca.
2474 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
2476 * src/misc-inst.cc (__sink_unused_warning): Move to...
2477 * src/locale-inst.cc (__sink_unused_warning): Move to...
2478 * src/stl-inst.cc: Here.
2479 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
2482 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
2484 * intclude/bits/basic_file.h: Fix typos in comments.
2486 2001-03-20 Richard Henderson <rth@redhat.com>
2488 * src/gen-num-limits.cc: Instantiate for wchar_t.
2489 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
2491 2001-03-20 Jason Merrill <jason@redhat.com>
2493 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
2494 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
2495 * libsupc++/cxxabi.h: Declare it.
2497 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
2499 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
2500 signal_func with an unspecified argument list.
2502 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
2504 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
2506 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2508 * include/bits/basic_string.tcc (operator+): Fix thinko.
2510 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
2513 * include/bits/std_streambuf.h: Remove cached locale facets.
2514 (basic_streambuf::_M_buf_fctype): Remove.
2515 (basic_streambuf::~basic_streambuf): Remove here.
2516 (basic_streambuf::basic_streambuf): Same.
2517 (basic_streambuf::imbue): Same.
2518 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
2519 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
2520 (basic_filebuf::~basic_filebuf()): Remove here.
2521 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
2522 (basic_filebuf::imbue): Same.
2523 * include/bits/localefwd.h (_Count_ones): Remove.
2524 (locale::_S_num_categories): Just use 6, since this doesn't
2525 actually change, ever.
2526 * include/bits/locale_facets.tcc (has_facet): Simplify.
2528 * testsuite/27_io/filebuf.cc (test06): Add tests.
2530 2001-03-13 Steve Ellcey <sje@cup.hp.com>
2532 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
2533 match HP-UX ctype.h header file.
2535 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
2537 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
2538 duplicate definitions of __dj_ctype_*
2540 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
2542 * libsupc++/new: Remove pragma interface.
2543 * libsupc++/typeinfo: Same.
2544 * libsupc++/exception: Same.
2545 * libsupc++/new_handler.cc: Remove pragma implementation.
2546 (bad_alloc::~bad_alloc()): Add.
2547 * libsupc++/exception_support.cc: Same.
2548 (exception::~exception): Add.
2549 (bad_exception::~bad_exception): Add.
2550 * libsupc++/tinfo.cc: Same.
2551 (bad_cast::~bad_cast): Add.
2552 (bad_typeid::~bad_typeid): Add.
2554 2001-03-13 Phil Edwards <pme@sources.redhat.com>
2556 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
2558 2001-03-12 Felix Lee <flee@redhat.com>
2560 * mkcheck.in: workaround for bash 2.01 IFS bug.
2562 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
2564 Fixups for -fno-for-scope
2565 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
2566 * src/valarray-inst.cc (__gslice_to_index): Same.
2568 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
2570 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
2571 prior to trapping signal (UnixWare 7 workaround).
2573 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
2575 * include/backward/hashtable.h: Same.
2576 * include/backward/rope.h: Fix include.
2578 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
2580 * include/backward/vector.h: Include std_vector.h.
2582 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
2583 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
2586 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2588 * include/ext/stl_hashtable.h: Change type of __n to size_t
2589 * include/backward/bvector.h: Include <ext/stl_bvector.h>
2591 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2593 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
2594 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
2595 Use streamsize, not int_type.
2597 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
2599 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
2602 2001-03-08 Andreas Schwab <schwab@suse.de>
2604 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
2606 * aclocal.m4, configure: Regenerated.
2608 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
2610 * include/bits/std_iosfwd.h: Remove string forward decls here.
2611 * include/bits/stringfwd.h: Add forward decls for char_traits
2613 * config/c_io_libio.h (wstreamoff): Delete.
2614 * config/c_io_stdio.h (wstreamoff): Same.
2615 * include/bits/char_traits.h: Use streamoff not wstreamoff for
2616 char_traits<wchar_t>::off_type.
2617 Remove duplicate typedefs.
2618 * include/bits/fpos.h: Define streampos/wstreampos here.
2619 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
2622 Changeup output files.
2623 * testsuite/27_io/istream_unformatted.cc: Change output files.
2624 * testsuite/27_io/istream_seeks-1.txt: Add.
2625 * testsuite/27_io/istream_seeks-2.tst: Add.
2626 * testsuite/27_io/istream_seeks-1.tst: Add.
2627 * testsuite/27_io/istream_unformatted-2.tst: Delete.
2628 * testsuite/27_io/istream_unformatted-3.tst: Delete.
2629 * testsuite/27_io/istream_unformatted-3.txt: Delete.
2631 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
2633 Add Irix 5.2, 6.3 support.
2634 * config/os/irix/bits: Renamed to...
2635 * config/os/irix/irix6.5/bits: this.
2636 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
2637 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
2638 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
2639 * config/os/irix/irix5.2/bits/ctype_noninline.h
2640 (ctype<char>::ctype): Initialize _M_table with __ctype.
2641 * configure.target: Adjust.
2643 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
2646 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
2647 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
2649 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
2650 (*__pf)(__ios_type&)): Same.
2651 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
2652 (*__pf)(ios_base&))): Same.
2653 * testsuite/27_io/istream_extractor_other.cc: Add tests.
2654 * testsuite/27_io/istream_manip.cc (test01): Fix.
2656 2001-03-06 Nathan Myers <ncm@cantrip.org>
2657 Benjamin Kosnik <bkoz@redhat.com>
2659 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
2660 * testsuite/17_intro/header_cerrno.cc (test01): New file.
2661 * testsuite/17_intro/header_cassert.cc (test01): New file.
2662 * testsuite/17_intro/header_cstddef.cc (test01): New file.
2663 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
2664 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
2666 2001-03-05 scott snyder <snyder@fnal.gov>
2669 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
2671 * include/c_std/bits/std_cstdlib.h: ... to here.
2672 * testsuite/17_intro/header_cstdlib.cc: Add test.
2674 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
2676 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
2678 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
2680 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
2681 definition. Replace enum with static const variables.
2683 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
2684 throw specification, fix typos, use <static_cast>.
2685 (ctype<char>::scan_is): remove throw specification.
2686 (ctype<char>::scan_not): likewise.
2688 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
2689 (ctype<char>::do_toupper(char)): use <static_cast>.
2690 (ctype<char>::do_toupper(char *, const char *)): likewise.
2691 (ctype<char>::do_tolower(char)): likewise.
2692 (ctype<char>::do_tolower(char *, const char *)): likewise.
2694 2001-03-04 Phil Edwards <pme@sources.redhat.com>
2696 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
2697 * include/backward/algo.h: Use std not __STD. Remove unneeded
2698 macros and "never happens" code. Adjust to C++STYLE guidelines.
2699 * include/backward/algobase.h: Likewise.
2700 * include/backward/alloc.h: Likewise.
2701 * include/backward/bvector.h: Likewise.
2702 * include/backward/deque.h: Likewise.
2703 * include/backward/function.h: Likewise.
2704 * include/backward/hash_map.h: Likewise.
2705 * include/backward/hash_set.h: Likewise.
2706 * include/backward/hashtable.h: Likewise.
2707 * include/backward/heap.h: Likewise.
2708 * include/backward/iterator.h: Likewise.
2709 * include/backward/list.h: Likewise.
2710 * include/backward/map.h: Likewise.
2711 * include/backward/multimap.h: Likewise.
2712 * include/backward/multiset.h: Likewise.
2713 * include/backward/pair.h: Likewise.
2714 * include/backward/rope.h: Likewise.
2715 * include/backward/set.h: Likewise.
2716 * include/backward/slist.h: Likewise.
2717 * include/backward/stack.h: Likewise.
2718 * include/backward/strstream: Likewise.
2719 * include/backward/tempbuf.h: Likewise.
2720 * include/backward/tree.h: Likewise.
2721 * include/backward/vector.h: Likewise.
2722 * include/bits/basic_ios.h: Likewise.
2723 * include/bits/basic_ios.tcc: Likewise.
2724 * include/bits/basic_string.h: Likewise.
2725 * include/bits/c++config: Likewise.
2726 * include/bits/concept_checks.h: Likewise.
2727 * include/bits/fpos.h: Likewise.
2728 * include/bits/fstream.tcc: Likewise.
2729 * include/bits/functexcept.h: Likewise.
2730 * include/bits/ios_base.h: Likewise.
2731 * include/bits/istream.tcc: Likewise.
2732 * include/bits/mask_array.h: Likewise.
2733 * include/bits/ostream.tcc: Likewise.
2734 * include/bits/pthread_allocimpl.h: Likewise.
2735 * include/bits/sbuf_iter.h: Likewise.
2736 * include/bits/slice.h: Likewise.
2737 * include/bits/slice_array.h: Likewise.
2738 * include/bits/sstream.tcc: Likewise.
2739 * include/bits/std_bitset.h: Likewise.
2740 * include/bits/std_fstream.h: Likewise.
2741 * include/bits/std_iomanip.h: Likewise.
2742 * include/bits/std_ios.h: Likewise.
2743 * include/bits/std_istream.h: Likewise.
2744 * include/bits/std_iterator.h: Likewise.
2745 * include/bits/std_memory.h: Likewise.
2746 * include/bits/std_ostream.h: Likewise.
2747 * include/bits/std_sstream.h: Likewise.
2748 * include/bits/std_streambuf.h: Likewise.
2749 * include/bits/std_string.h: Likewise.
2750 * include/bits/std_valarray.h: Likewise.
2751 * include/bits/stl_algo.h: Likewise.
2752 * include/bits/stl_algobase.h: Likewise.
2753 * include/bits/stl_alloc.h: Likewise.
2754 * include/bits/stl_construct.h: Likewise.
2755 * include/bits/stl_deque.h: Likewise.
2756 * include/bits/stl_function.h: Likewise.
2757 * include/bits/stl_heap.h: Likewise.
2758 * include/bits/stl_iterator.h: Likewise.
2759 * include/bits/stl_iterator_base.h: Likewise.
2760 * include/bits/stl_list.h: Likewise.
2761 * include/bits/stl_map.h: Likewise.
2762 * include/bits/stl_multimap.h: Likewise.
2763 * include/bits/stl_multiset.h: Likewise.
2764 * include/bits/stl_numeric.h: Likewise.
2765 * include/bits/stl_pair.h: Likewise.
2766 * include/bits/stl_pthread_alloc.h: Likewise.
2767 * include/bits/stl_queue.h: Likewise.
2768 * include/bits/stl_raw_storage_iter.h: Likewise.
2769 * include/bits/stl_relops.h: Likewise.
2770 * include/bits/stl_set.h: Likewise.
2771 * include/bits/stl_stack.h: Likewise.
2772 * include/bits/stl_tempbuf.h: Likewise.
2773 * include/bits/stl_threads.h: Likewise.
2774 * include/bits/stl_tree.h: Likewise.
2775 * include/bits/stl_uninitialized.h: Likewise.
2776 * include/bits/stl_vector.h: Likewise.
2777 * include/bits/streambuf.tcc: Likewise.
2778 * include/bits/type_traits.h: Likewise.
2779 * include/bits/valarray_meta.h: Likewise.
2780 * include/ext/bvector: Likewise.
2781 * include/ext/hash_map: Likewise.
2782 * include/ext/hash_set: Likewise.
2783 * include/ext/ropeimpl.h: Likewise.
2784 * include/ext/slist: Likewise.
2785 * include/ext/stl_bvector.h: Likewise.
2786 * include/ext/stl_hash_fun.h: Likewise.
2787 * include/ext/stl_hashtable.h: Likewise.
2788 * include/ext/stl_rope.h: Likewise.
2789 * src/complex_io.cc: Likewise.
2790 * src/ios.cc: Likewise.
2791 * src/locale-inst.cc: Likewise.
2792 * src/locale.cc: Likewise.
2793 * src/localename.cc: Likewise.
2794 * src/misc-inst.cc: Likewise.
2795 * src/stdexcept.cc: Likewise.
2796 * src/stl-inst.cc: Likewise.
2797 * src/strstream.cc: Likewise.
2798 * src/valarray-inst.cc: Likewise.
2800 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
2802 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
2804 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2806 * include/bits/istream.tcc: change type of __extracted to __size_type
2808 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
2810 * src/wstring-inst.cc: New file.
2811 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
2812 (libinst_wstring_la_SOURCES): Remove.
2813 (libstdc___la_LIBADD): Remove libinst_wstring_la.
2814 (sources): Add wstring-inst.cc
2815 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
2818 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2820 * src/locale.cc: initialise __ret with zero
2821 * src/strstream.cc:cast gptr to int_type
2823 2001-03-01 Phil Edwards <pme@sources.redhat.com>
2825 * docs/html/faq/index.html: Update broken links.
2826 * docs/html/faq/index.txt: Regenerated.
2828 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
2831 * configure.target: Change irix* to irix6.5* in target_os table.
2833 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
2836 * include/bits/c++config (__GLIBCPP__): Bump number in
2837 anticipation of 2.92.
2839 * include/bits/codecvt.h: Fix typo.
2840 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
2842 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
2843 instantiations for stdio model.
2845 2001-02-28 Phil Edwards <pme@sources.redhat.com>
2847 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
2848 and GLIBCPP_CXXFLAGS as unused variables.
2849 * configure.host: Likewise.
2850 * configure.target: Likewise.
2851 * aclocal.m4: Regenerated.
2852 * configure: Regenerated.
2853 * Makefile.in: Regenerated.
2854 * libio/Makefile.in: Regenerated.
2855 * libmath/Makefile.in: Regenerated.
2856 * libsupc++/Makefile.in: Regenerated.
2857 * src/Makefile.in: Regenerated.
2859 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
2862 * include/bits/basic_file.h: Include basic_file_model.h.
2863 * config/c_io_libio.cc: Move to...
2864 * config/basic_file_libio.cc: Here.
2865 * config/basic_file_libio.h: New file.
2866 * config/c_io_stdio.cc: Move to...
2867 * config/basic_file_stdio.cc: Here.
2868 * config/basic_file_stdio.h: New file.
2869 * config/c_io_libio.h: Tweak.
2870 * config/c_io_stdio.h: Tweak.
2871 * src/Makefile.am (build_headers): Add basic_file_model.h.
2872 (sources): Add basic_file.cc, remove c++io.cc.
2873 * src/Makefile.in: Regenerate.
2874 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
2875 basic_file_model.h and basic_file.cc.
2876 * aclocal.m4: Regenerate.
2877 * configure: Regenerate.
2878 * testsuite/27_io/filebuf.cc (test05): Add regression.
2880 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
2883 * config/cpu/alpha/bits/atomicity.h: Change.
2884 * config/cpu/arm/bits/atomicit3y.h
2885 * config/cpu/generic/bits/atomicity.h
2886 * config/cpu/i386/bits/atomicity.h
2887 * config/cpu/i486/bits/atomicity.h
2888 * config/cpu/ia64/bits/atomicity.h
2889 * config/cpu/powerpc/bits/atomicity.h
2890 * config/cpu/sparc/sparc32/bits/atomicity.h
2891 * config/cpu/sparc/sparc64/bits/atomicity.h
2892 * config/os/aix/bits/atomicity.h
2893 * config/os/irix/bits/atomicity.h
2895 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
2897 * include/bits/std_stdexcept.h (runtime_error): Make string
2899 (logic_error): Same.
2900 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
2903 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
2907 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
2908 string object, not reference.
2909 (runtime_error::runtime_error): Same.
2910 * testsuite/19_diagnostics/stdexceptions.cc: New file.
2912 2001-02-26 Phil Edwards <pme@sources.redhat.com>
2914 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
2915 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
2916 diagnostics. Remove WFMT_FLAGS.
2917 * configure.in: Replace WFMT_FLAGS with diagnostics options.
2918 * libsupc++/Makefile.am: Likewise.
2919 * src/Makefile.am: Likewise.
2920 * aclocal.m4: Regenerated.
2921 * configure: Regenerated.
2922 * Makefile.in: Regenerated.
2923 * libio/Makefile.in: Regenerated.
2924 * libmath/Makefile.in: Regenerated.
2925 * libsupc++/Makefile.in: Regenerated.
2926 * src/Makefile.in: Regenerated.
2928 2001-02-26 Phil Edwards <pme@sources.redhat.com>
2930 Fixes libstdc++/2079
2931 * include/backward/iomanip.h: Expose <ios> manipulators to global
2933 * include/backward/iostream.h: Also expose std::ws.
2935 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
2937 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
2939 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
2941 * include/bits/codecvt.h: Use __builtin_alloca.
2942 * include/bits/ostream.tcc: Same.
2943 * include/bits/fstream.tcc: Same.
2945 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
2947 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
2949 2001-02-23 David Edelsohn <dje@watson.ibm.com>
2951 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
2953 2001-02-23 Phil Edwards <pme@sources.redhat.com>
2956 * include/backward/iostream.h: Expose std::flush in old headers.
2958 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2960 * mknumeric_limits: Remove special-casing on target. Use gcc
2961 instead of g++ to build gen-num-limits.cc
2963 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
2965 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
2967 * include/bits/codecvt.h: Use alloca instead of __extension__ for
2969 * include/bits/ostream.tcc: Same.
2970 * include/bits/std_ostream.h: Same.
2971 * include/bits/fstream.tcc: Same.
2972 * include/bits/locale_facets.tcc: Add typename.
2973 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
2975 2001-02-21 Phil Edwards <pme@sources.redhat.com>
2977 * tests_flags.in: Remove -n flag from call to echo.
2979 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
2981 * config/c_locale_gnu.h: Add clocale include.
2983 2001-02-20 Phil Edwards <pme@sources.redhat.com>
2985 * include/bits/stl_config.h: Remove file.
2986 * src/Makefile.am (base_headers): Remove from list.
2987 * configure: Regenerate.
2988 * Makefile.in: Ditto.
2989 * libio/Makefile.in: Ditto.
2990 * libmath/Makefile.in: Ditto.
2991 * libsupc++/Makefile.in: Ditto.
2992 * src/Makefile.in: Ditto.
2994 * include/bits/c++config: Move relevant macros to here.
2995 * include/backward/alloc.h: Include c++config.h instead.
2996 * include/backward/function.h: Ditto.
2997 * include/backward/heap.h: Ditto.
2998 * include/backward/pair.h: Ditto.
2999 * include/bits/pthread_allocimpl.h: Ditto.
3000 * include/bits/std_functional.h: Ditto.
3001 * include/bits/std_iterator.h: Ditto.
3002 * include/bits/std_numeric.h: Ditto.
3003 * include/bits/std_utility.h: Ditto.
3004 * include/bits/stl_algobase.h: Ditto.
3005 * include/bits/type_traits.h: Ditto.
3006 * src/stl-inst.cc: Ditto.
3008 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3010 * include/bits/basic_file.h: Add #pragma system_header
3011 * include/bits/basic_ios.h: Ditto.
3012 * include/bits/basic_string.h: Ditto.
3013 * include/bits/char_traits.h: Ditto.
3014 * include/bits/codecvt.h: Ditto.
3015 * include/bits/cpp_type_traits.h: Ditto.
3016 * include/bits/fpos.h: Ditto.
3017 * include/bits/gslice.h: Ditto.
3018 * include/bits/gslice_array.h: Ditto.
3019 * include/bits/indirect_array.h: Ditto.
3020 * include/bits/ios_base.h: Ditto.
3021 * include/bits/limits_generic.h: Ditto.
3022 * include/bits/locale_facets.h: Ditto.
3023 * include/bits/localefwd.h: Ditto.
3024 * include/bits/mask_array.h: Ditto.
3025 * include/bits/sbuf_iter.h: Ditto.
3026 * include/bits/sequence_concepts.h: Ditto.
3027 * include/bits/slice.h: Ditto.
3028 * include/bits/slice_array.h: Ditto.
3029 * include/bits/std_algorithm.h: Likewise.
3030 * include/bits/std_bitset.h: Likewise.
3031 * include/bits/std_complex.h: Likewise.
3032 * include/bits/std_deque.h: Likewise.
3033 * include/bits/std_fstream.h: Likewise.
3034 * include/bits/std_functional.h: Likewise.
3035 * include/bits/std_iomanip.h: Likewise.
3036 * include/bits/std_ios.h: Likewise.
3037 * include/bits/std_iosfwd.h: Likewise.
3038 * include/bits/std_iostream.h: Likewise.
3039 * include/bits/std_istream.h: Likewise.
3040 * include/bits/std_iterator.h: Likewise.
3041 * include/bits/std_list.h: Likewise.
3042 * include/bits/std_locale.h: Likewise.
3043 * include/bits/std_map.h: Likewise.
3044 * include/bits/std_memory.h: Likewise.
3045 * include/bits/std_numeric.h: Likewise.
3046 * include/bits/std_ostream.h: Likewise.
3047 * include/bits/std_queue.h: Likewise.
3048 * include/bits/std_set.h: Likewise.
3049 * include/bits/std_sstream.h: Likewise.
3050 * include/bits/std_stack.h: Likewise.
3051 * include/bits/std_stdexcept.h: Likewise.
3052 * include/bits/std_streambuf.h: Likewise.
3053 * include/bits/std_string.h: Likewise.
3054 * include/bits/std_utility.h: Likewise.
3055 * include/bits/std_valarray.h: Likewise.
3056 * include/bits/std_vector.h: Likewise.
3057 * include/bits/stringfwd.h: Likewise.
3058 * include/bits/type_traits.h: Likewise.
3059 * include/bits/valarray_array.h: Likewise.
3060 * include/bits/valarray_meta.h: Likewise.
3062 2001-02-19 Andreas Jaeger <aj@suse.de>
3064 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
3067 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
3070 * include/bits/std_ostream.h: Replaced usage of
3071 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
3072 * include/bits/char_traits.h: Removed non-standard
3073 methods that cannot be used elsewhere.
3076 * include/bits/basic_ios.h: Uncommented #include of
3080 * include/bits/codecvt.h: See next...
3081 * include/bits/fstream.tcc: See next...
3082 * include/bits/ostream.tcc: Add __extension__
3083 to variable-length arrays.
3086 * include/bits/localefwd.h: Changed int counter type to size_t.
3089 * include/bits/std_fstream.h: Added typedef for __ctype_type.
3091 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
3093 * testsuite/21_strings/char_traits.cc: Move to ...
3094 * testsuite/21_strings/char_traits_requirements.cc: ..here.
3095 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
3096 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
3098 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
3100 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
3103 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
3105 * include/bits/c++config: Revert.
3107 2001-02-15 Mark Mitchell <mark@codesourcery.com>
3109 * include/bits/istream.tcc: Use ios_base::iostate in place of
3110 iostate throughout. Insert `typename' keyword where necessary.
3111 * include/bits/ostream.tcc: Insert `typename' keyword where
3114 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
3116 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
3117 Define so library is compliant.
3119 2001-02-15 Anthony Green <green@redhat.com>
3121 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
3123 * aclocal.m4: Regenerate.
3124 * configure: Regenerate.
3126 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
3128 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
3129 Include ieeefp.h for fpclass on UnixWare{2,7}.
3130 * aclocal.m4: Regenerate.
3131 * configure: Regenerate.
3132 * mkcheck.in (size_command): Do without GNU-grep when using
3135 2001-02-15 Mark Mitchell <mark@codesourcery.com>
3137 Remove old ABI support from libsupc++.
3138 * libsupc++/cxxabi.h: Remove conditionally compiled code.
3139 * libsupc++/exception_support.cc: Likewise.
3140 * libsupc++/pure.cc: Likewise.
3141 * libsupc++/tinfo.cc: Likewise.
3142 * libsupc++/tinfo.h: Likewise.
3143 * libsupc++/tinfo2.cc: Likewise.
3144 * libsupc++/typeinfo: Likewise.
3145 * libsupc++/vec.cc: Likewise.
3147 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
3149 Add support for -fno-exceptions.
3150 * include/bits/exception_support.h: Remove.
3151 * include/bits/basic_string.h: Remove exception_support.
3152 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
3154 (string::substr): Same.
3155 * include/bits/basic_string.tcc (string::reserve): Replace
3156 __LENGTHERROR with __throw_length_error.
3157 (string::_S_create): Same.
3158 (string::resize): Same.
3159 (string::_M_replace): Same.
3160 (string::replace): Same.
3161 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
3162 (string::compare): Same.
3163 * include/bits/stl_vector.h: Remove exception_support.
3164 * src/Makefile.am (base_headers): Remove here.
3165 * src/Makefile.in: Regenerate.
3167 * include/bits/stl_range_errors.h: Remove.
3168 * include/bits/stl_deque.h: Use __throw_range_error.
3169 * include/bits/std_deque.h: Include functexcept.h.
3170 * include/bits/std_vector.h: Same.
3171 * src/Makefile.am (base_headers): Remove here.
3172 * src/Makefile.in: Regenerate.
3173 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
3174 * include/ext/bvector: Remove stl_range_errors.h
3176 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
3178 * include/bits/functexcept.h: New file.
3179 * src/functexcept.cc: New file. Definitions for function-based
3181 * src/Makefile.am (sources): Add functexcept.cc.
3182 * src/Makefile.in: Regenerate.
3184 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
3187 * include/bits/localefwd.h: Include functexcept.h.
3188 * include/bits/std_iosfwd.h: Same.
3190 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
3191 throw basic_ios::failure.
3192 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
3193 Use __throw_exception_again.
3194 (filebuf::_M_filebuf_init): Same.
3195 * include/bits/streambuf.tcc (__copy_streambufs): Same.
3196 * include/bits/ostream.tcc (ostream::operator<<): Same.
3197 * include/bits/istream.tcc (istream::operator>>): Same.
3198 * include/bits/basic_string.tcc (string::_M_mutate): Same.
3199 (string::_S_construct): Same.
3200 (string::_M_clone): Same.
3201 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
3203 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
3204 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
3205 __throw_exception_again.
3206 (locale::_Imp::_Imp(string, size_t): Same.
3207 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
3208 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
3209 (locale::locale(const char*)): Use __throw_runtime_error.
3210 (locale::classic): Use __throw_exception_again.
3211 (locale::_S_normalize_category): Use __throw_runtime_error.
3213 * src/stdexcept.cc: Remove cruft.
3215 * libsupc++/exception_defines.h: New file.
3216 * libsupc++/new_opnt.cc: Include exception_defines.h.
3217 * libsupc++/vec.cc: Same.
3218 (__cxa_vec_new2): Use __throw_exception_again.
3219 (__cxa_vec_new3): Same.
3220 (__cxa_vec_ctor): Same.
3221 (__cxa_vec_delete3): Same.
3222 (__cxa_vec_cctor): Same.
3223 (__cxa_vec_delete2): Same.
3224 (__cxa_vec_dtor): Same.
3225 * libsupc++/exception_support.cc: Include exception_defines.h. Only
3226 compile exception-handling bits if __EXCEPTIONS is defined.
3227 Remove old ABI support.
3228 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
3229 std::__throw_bad_alloc() instead of throw bad_alloc.
3230 * libsupc++/Makefile.am: Add exception_defines.h.
3231 * libsupc++/Makefile.in: Reformat.
3232 * libsupc++/*: Format.
3234 2001-02-15 Phil Edwards <pme@sources.redhat.com>
3236 * docs/html/configopts.html: Minor updates and typo fixes.
3237 * docs/html/faq/index.html: Updates of the "not really bugs" list.
3238 * docs/html/faq/index.txt: Regenerated.
3240 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
3242 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
3243 dejagnu/dg.exp. Adapt to log options used to run testcases.
3245 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3247 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
3250 2001-02-13 Dirk Mueller <dmuell@gmx.net>
3251 Phil Edwards <pme@sources.redhat.com>
3253 * include/backward/function.h: Do not use rel_ops for older
3255 * include/backward/pair.h: Likewise.
3257 2001-02-12 Mark Mitchell <mark@codesourcery.com>
3259 * src/locale.cc: Remove bogus locale::id definitions.
3261 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3263 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
3264 not _DEFINE_VALARRAY_OPERATOR which is not existent.
3266 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
3267 thinko in member initialisation.
3269 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
3271 * include/bits/std_valarray.h(valarray<>::shift): Avoid
3272 comparaison between signed and unsigned integer types.
3273 (valarray<>::cshift): Reformat.
3275 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
3277 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
3278 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
3279 * configure.in: Test for sigsetjmp.
3280 * configure, config.h.in: Rebuilt.
3282 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
3284 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
3285 lengths and strides.
3286 (__gslice_to_index): Document.
3288 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
3290 * include/bits/char_traits.h char_traits<char>::int_type: Change
3291 to `int' to match 21.1.3.1/2.
3293 * testsuite/21_strings/char_traits-int_type.C: New test.
3295 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
3297 * testsuite/Makefile.am: New file.
3299 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
3301 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
3303 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
3305 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
3307 2001-02-08 David Edelsohn <edelsohn@gnu.org>
3309 * configure.target (aix4*): Remove extra set of brackets.
3311 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
3314 * include/bits/stringfwd.h: New file.
3315 * include/bits/stl_string_fwd.h: Remove.
3316 * include/bits/localefwd.h: Remove declaration for allocator.
3317 * include/bits/std_iosfwd: Same.
3318 * include/bits/std_string.h: Include it.
3319 * include/bits/std_ios.h: Remove include.
3320 * include/bits/basic_string.h: Tweak.
3321 * libsupc++/new: Format.
3322 * src/Makefile.am (base_headers): Add stringfwd.h, remove
3324 * src/Makefile.in: Regenerate.
3325 * include/bits/std_stdexcept.h: Rewrite.
3326 * src/stdexcept.cc: Same.
3328 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
3330 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
3331 install locations too.
3332 * aclocal.m4: Regenerate.
3333 * configure.in: Remove USE_LIBDIR.
3334 * configure: Regenerate.
3335 * src/Makefile.am (toolexecdir): Simplify, use
3336 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
3337 * src/Makefile.in: Regenerate.
3338 * libsupc++/Makefile.am: Same.
3339 * libsupc++/Makefile.in: Regenerate.
3341 * src/Makefile.am: Just remove special rules for locale-inst.cc and
3342 misc-inst.cc as no longer necessary.
3344 Follow C++STYLE for naming non-static functions.
3345 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
3347 * include/bits/streambuf.tcc: Same.
3348 * include/bits/ostream.tcc: Same.
3349 * include/bits/istream.tcc: Same.
3350 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
3351 (_S_output_float): To __output_float.
3352 * include/bits/std_streambuf.h (_S_copy_streambufs): To
3354 * include/bits/locale_facets.tcc (_S_build_float_format): To
3355 __build_float_format.
3356 (_S_format): To __output_integer.
3357 (_S_fill): To __pad.
3358 * src/locale.cc: Same.
3359 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
3361 * include/bits/locale_facets.tcc (_S_group_digits): To
3363 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
3364 for collate, numpunct.
3366 2001-02-06 Phil Edwards <pme@sources.redhat.com>
3368 * docs/html/configopts.html: Fix HTML markup.
3369 * docs/html/install.html: Bring up to date.
3370 * docs/html/17_intro/C++STYLE: Add global variable conventions.
3371 * docs/html/21_strings/howto.html: More notes.
3372 * docs/html/22_locale/howto.html: Fix HTML markup.
3373 * docs/html/27_io/howto.html: More notes.
3374 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
3375 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
3377 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
3379 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
3380 to match header files.
3381 (_S_output_float): Likewise.
3382 (_S_copy_streambufs): Likewise.
3384 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
3385 Phil Edwards <pme@sources.redhat.com>
3387 * include/bits/std_istream.h (op>> signed,unsigned char): Must
3388 use reinterpret_cast, not static_cast.
3390 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
3392 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
3393 * aclocal.m4: Regenerate.
3394 * configure: Regenerate.
3396 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
3398 * include/bits/locale_facets.h (class moneypunct): Fix typos.
3399 * libsupc++/pure.cc: Revert.
3401 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
3403 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
3404 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
3405 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
3406 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
3407 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
3408 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
3409 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
3410 * aclocal.m4: Regenerate.
3411 * configure: Regenerate.
3413 2001-02-05 Mark Mitchell <mark@codesourcery.com>
3415 * include/bits/locale_facets.tcc: Remove `static' keyword on
3416 function definitions.
3417 * include/bits/std_streambuf.h: Likewise.
3418 * src/Makefile.am: Remove use of -fimplicit-templates.
3419 * src/Makefile.in: Regenerated.
3420 * src/locale-inst.cc: Explicitly instantiate more functions.
3421 * src/misc-inst.cc: Likewise.
3422 * src/string-inst.cc: Likewise.
3424 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
3426 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
3427 macro. Consolidate all the bits to do with where includes might be
3429 * aclocal.m4: Regenerate.
3430 * configure.in: Use it.
3431 * configure: Regenerate.
3432 * src/Makefile.am (targetincludep): Use simplified rules.
3433 (targetincludep): Rename gxx_target_include_dir.
3434 (myincludep): Rename gxx_include_dir.
3435 * src/Makefile.in: Regenerate.
3436 * libsupc++/Makefile.am: Use simplified rules.
3437 * libsupc++/Makefile.in: Regenerate.
3439 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
3441 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
3442 * include/c_std/bits/std_cctype.h: Same.
3443 * include/c_std/bits/std_cassert.h: Same.
3444 * include/c_std/bits/std_cstdarg.h: Same.
3445 * include/c_std/bits/std_cstddef.h: Same.
3447 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
3449 * include/c_std/bits/std_ctime.h: Same.
3450 * include/c_std/bits/std_clocale.h: Same.
3451 * include/c_std/bits/std_cmath.h: Same.
3452 * include/c_std/bits/std_csetjmp.h: Same.
3453 * include/c_std/bits/std_csignal.h: Same.
3454 * include/c_std/bits/std_cstring.h: Same.
3455 * include/c_std/bits/std_cstdlib.h: Same.
3456 * include/c_std/bits/std_cwchar.h: Same.
3458 2001-02-05 Phil Edwards <pme@sources.redhat.com>
3460 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
3462 2001-02-05 Mark Mitchell <mark@codesourcery.com>
3464 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
3465 (string::_S_construct): Likewise.
3467 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
3469 * testsuite/config/default.exp: New file.
3470 * testsuite/config: New directory.
3472 2001-02-04 Mark Mitchell <mark@codesourcery.com>
3474 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
3475 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
3476 whenever !__GXX_MERGED_TYPEINFO_NAMES.
3477 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
3479 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
3480 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
3482 * Makefile.am (mkinstalldirs): Set.
3483 * src/Makefile.am (mkinstalldirs): Set.
3484 * libmath/Makefile.am (mkinstalldirs): Set.
3485 * libsup++/Makefile.am (mkinstalldirs): Set.
3486 * libio/Makefile.am (mkinstalldirs): Set.
3487 * */Makefile.in: Regenerate.
3489 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
3491 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
3492 * include/bits/localefwd.h: More initialization cleanups.
3494 2001-02-03 Jeffrey A Law <law@cygnus.com>
3496 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
3497 correctly targets with 16bit ints.
3498 (_S_ios_openmode_end): Similarly.
3499 (_S_ios_iostate_end): Similarly.
3500 (_S_ios_Seekdir_end): Similarly.
3502 2001-02-02 Phil Edwards <pme@sources.redhat.com>
3504 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
3506 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
3508 * configure.in (toplevel_srcdir, auxdir): Set.
3509 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
3510 * aclocal.m4, configure, Makefile.in: Rebuilt.
3511 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
3512 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
3513 * libsupc++-v3/Makefile.in: Rebuilt.
3514 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
3515 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
3517 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
3519 * config/c_locale_generic.cc: Remove langinfo include.
3521 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
3523 Preliminary named locales.
3524 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
3525 * aclocal.m4: Regenerate.
3526 * configure.in: Use it.
3527 * configure: Regerate.
3528 * src/Makefile.am (sources): Add c++locale.cc.
3529 (build_headers): Add c++locale.h.
3530 * src/Makefile.in: Regenerate.
3531 * config/c_locale_gnu.h: New file.
3532 * config/c_locale_gnu.cc: New file. Non-inline member functions
3533 for named locales, gnu-specific.
3534 * config/c_locale_generic.h: New file.
3535 * config/c_locale_generic.cc: New file. Non-inline member
3536 functions for named locales, generic version.
3537 * docs/html/configopts.html: Add documentation on new options.
3539 * include/bits/locale_facets.h (class _Messages): Remove.
3540 (class _Moneypunct): Remove.
3541 * src/locale-inst.cc: Remove.
3543 * include/bits/locale_facets.h (class _Collate): Remove.
3544 * src/locale-inst.cc (std): Remove.
3545 * src/locale.cc: And here.
3547 * include/bits/localefwd.h (locale::_M_coalesce): New
3548 function. Correctly put together multi-name locales.
3549 (_Impl(const _Impl&, category, size_t)): Remove.
3551 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
3553 (_M_normalize_category_names): Remove.
3554 (_M_replace_categories): Fix.
3556 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
3557 (locale::_Impl::_M_construct_ctype): Remove.
3558 (locale::_Impl::_M_construct_monetary): Remove.
3559 (locale::_Impl::_M_construct_numeric): Remove.
3560 (locale::_Impl::_M_construct_time): Remove.
3561 (locale::_Impl::_M_construct_messages): Remove.
3563 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
3564 (_Use_facet_failure_handle): Remove.
3565 * src/locale.cc: Remove definitions.
3566 * src/locale-inst.cc: And here.
3568 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
3570 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
3571 create and error-check underlying locale object.
3572 (locale::facet::_S_destroy_c_locale): Add, take care of properly
3573 tearing down underlying locale object.
3574 * include/bits/localefwd.h (locale::facet): Declare.
3575 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
3576 correctness, as glibc apparently has incorrect info in it. Test
3577 with it when it works again.....
3579 * include/bits/localefwd.h (locale::_Impl::__vec_string):
3580 Remove. Number of categories is fixed at six, so just simplify and
3581 make this an array of strings.
3582 (locale::_Impl::_M_has_name): Remove.
3583 (locale::_Impl::_M_name): Remove.
3584 (locale::_Impl::_M_category_names): Turns into...
3585 (locale::_Impl::_M_names): ...this.
3586 (locale::_Impl::_M_has_same_name()): New function.
3587 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
3588 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
3590 * src/locale.cc (locale::name()): Construct mangled name
3591 accurately reflecting combined locale categories.
3593 * src/locale.cc (locale::classic()): Don't initialize here.
3594 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
3595 __refs, bool __has_name, string __str): Do it here.
3597 * include/bits/localefwd.h: _S_categories_num to
3598 _S_num_categories. _S_facets_num to _S_num_facets.
3599 (locale::id::id()): Explicitly set _M_index to zero.
3600 * src/locale.cc: Same.
3602 * src/locale.cc: (locale::locale(const char*)): Construct named
3605 * src/locale.cc: Remove numpunct_byname ctors.
3606 * testsuite/22_locale/numpunct_byname.cc: New file.
3607 * testsuite/22_locale/numpunct.cc: New file.
3609 * include/bits/localefwd.h (class locale): Change data members to
3610 protected, from private.
3611 (_Impl::_M_get_c_locale): Add member function.
3612 (locale::facet::_M_get_global_impl()): Add member function.
3613 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
3614 a __c_locale pointer.
3615 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
3617 * testsuite/22_locale/members.cc: New file, test name and combine.
3619 * include/bits/locale_facets.h (class numpunct): Remove class
3620 _Punct and _Numpunct. Rewrite class numpunct to be correct for
3622 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
3623 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
3624 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
3625 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
3626 * testsuite/22_locale/numpunct_char_members.cc: New file.
3628 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
3630 * testsuite/README: Add more comment.
3631 * testsuite/lib/libstdc++.exp: Tweak comment.
3633 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
3635 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
3637 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
3639 * testsuite/21_strings/inserters_extractors.cc: Remove
3640 explicit reference to 'testsuite/'.
3642 2001-01-25 Richard Henderson <rth@redhat.com>
3644 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
3645 bits. Fixes Tru64 build issues.
3647 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3649 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
3650 (use ${MAKE-make}, not ${MAKE:-make}).
3651 * aclocal.m4, configure: Regenerate.
3653 2001-01-25 Mark Mitchell <mark@codesourcery.com>
3655 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
3658 * src/Makefile.am (sources): Add globals.cc.
3659 * src/Makefile.in: Regenerated.
3660 * src/globals.cc: New file.
3661 * src/ios.cc (cin): Don't define here, just declare extern.
3670 2001-01-25 Phil Edwards <pme@sources.redhat.com>
3672 * include/bits/std_iterator.h: Do not include stl_relops.h.
3673 * include/bits/std_numeric.h: Ditto.
3674 * include/bits/stl_algobase.h: Ditto.
3675 * include/bits/stl_relops.h: Add comment warning about problems.
3677 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
3679 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
3680 in testcases. Prepare for the DejaGnu based framework.
3681 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
3682 directory -- it is now mkcheck working directory.
3683 * tests_flags.in: Remove reference to $(top_srcdir). Use
3685 * Makefile.am (check, check-install): Change mkcheck invocation
3687 * Makefile.in: Regenerate.
3689 2001-01-24 Mark Mitchell <mark@codesourcery.com>
3691 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
3692 (__always_swap): Likewise.
3694 2001-01-23 Chris Demetriou <cgd@broadcom.com>
3696 * libsupc++/exception_support.cc (__terminate_func): Remove
3698 (__terminate_func_ptr): New typedef.
3699 (__terminate, __terminate_set_func): New extern function
3701 (std::terminate): Use __terminate function.
3702 (std::set_terminate): Use __terminate_set_func function.
3704 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
3706 * configure.target: Just use os_include_dir always.
3707 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
3708 Link atomicity files and ctype files here.
3709 * configure: Regenerate.
3710 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
3711 (GLIBCPP_ENABLE_ATOMICITY): Remove.
3712 * aclocal.m4: Regenerate.
3714 2001-01-23 Chris Demetriou <cgd@broadcom.com>
3716 * configure.in: Place definition of MULTISUBDIR in
3717 libsupc++/Makefile as is done for src/Makefile.
3718 * configure: Regenerate.
3720 2001-01-23 Phil Edwards <pme@sources.redhat.com>
3722 * acinclude.m4: Cosmetic changes only.
3723 * aclocal.m4: Regenerated.
3724 * configure: Regenerated.
3725 * configure.target: Update documented list of changed variables.
3726 * docs/html/install.html: Fix typo.
3727 * docs/html/20_util/howto.html: More notes on auto_ptr.
3728 * docs/html/27_io/howto.html: More notes on streabufs.
3729 * docs/html/faq/index.html: Add rel_ops problem and mention the
3730 DEC as(1) .subsection difficulty.
3731 * docs/html/faq/index.txt: Regenerated.
3733 2001-01-23 Mark Mitchell <mark@codesourcery.com>
3735 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
3736 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
3737 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
3738 its already provided in config.target.
3739 * aclocal.m4: Regenerated.
3740 * configure: Likewise.
3741 * configure.target: Set ctype_include_dir for lots of systems.
3742 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
3743 * libsupc++/Makefile.in: Regenerated.
3745 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
3747 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
3750 * testsuite/README: Add comment.
3752 2001-01-21 Phil Edwards <pme@sources.redhat.com>
3754 * docs/html/configopts.html: Update for current status. Fix HTML.
3755 * docs/html/install.html: Update for current status.
3757 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3759 * testsuite/libstdc++.tests/tests.exp: New file.
3760 * testsuite/lib/libstdc++.exp: Itou.
3761 * testsuite/README: Itou.
3763 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
3765 * tests_flags.in: Just output the bare minimum to run tests.
3766 Let's the caller do its own arrangement.
3768 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
3771 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
3773 * testsuite/17_intro: Prepare testcases for new style DejaGnu
3776 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
3778 * testsuite/libstdc++.tests, testsuite/lib: New directories.
3780 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
3782 * mkcheck.in: Construct file names that match $objdir structure.
3783 * testsuite/27_io/filebuf_members-1.txt: New file.
3784 * testsuite/27_io/ifstream_members-1.txt: New file.
3785 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
3787 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
3788 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
3790 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3792 * testsuite/27_io/istream_sentry.cc (test02): Fix.
3794 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
3797 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
3798 * src/ios.cc (ios_base::failure): Make definitions match.
3799 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
3800 (class bad_cast): Same.
3801 * libsupc++/exception (class exception): Add throw specs.
3802 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
3803 (set_unexpected): Same.
3804 (uncaught_exception): Same.
3807 * docs/html/17_intro/C++STYLE (classname): Fix.
3809 2001-01-16 Mark Mitchell <mark@codesourcery.com>
3811 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
3812 Use it do explicitly instantiate predicate<T> and value<T> for
3815 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
3817 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
3818 uninitialized thinko in last change.
3820 2001-01-16 Mark Mitchell <mark@codesourcery.com>
3822 * libsupc++/exception_support.cc (__cp_pop_exception): Change
3825 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
3827 * docs/html/17_intro/C++STYLE (classname): Add more existing
3828 and stylish patterns.
3831 * include/bits/istream.tcc (istream::sentry::sentry()): Set
3832 failbit if the state of the stream is not good.
3833 * testsuite/27_io/istream_sentry.cc (test02): Add test.
3834 * testsuite/27_io/istream_manip.cc (test01): Modify.
3837 reported by Paolo Carlini <pcarlini@unitus.it>
3838 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
3839 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
3842 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
3843 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
3844 (xsgetn): Same. Simplify.
3845 * testsuite/27_io/streambuf.cc (test04): Add testcases.
3847 reported by Larry Evans <jcampbell3@prodigy.net>
3848 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
3849 equality with eof on returned value from overflow.
3851 2001-01-14 Andreas Jaeger <aj@suse.de>
3853 * libio/libio.h: Add test for glibc 2.0.
3855 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
3857 * config/os/djgpp/bits/*: Fix dates.
3859 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
3860 _CharT* __end, _CharT __c): Remove.
3861 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
3862 * include/bits/char_traits.h: Tweak.
3864 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
3866 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
3867 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
3869 * aclocal.m4: regenerated.
3870 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
3871 * configure: regenerated.
3872 * config/os/djgpp, config/os/djgpp/bits: new directories.
3873 * config/os/djgpp/bits/ctype_base.h,
3874 config/os/djgpp/bits/ctype_inline.h,
3875 config/os/djgpp/bits/ctype_noninline.h,
3876 config/os/djgpp/bits/os_defines.h: new files.
3878 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
3880 * include/c_std/bits/std_cstdio.h: Undef printf.
3882 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
3884 * src/ios.cc: Fix typo: change cout->wcout.
3886 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
3887 * src/Makefile.in: Regenerate.
3889 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3891 * include/bits/std_complex.h: Fix a typo.
3893 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
3896 Fixes for libstdc++/1576
3897 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
3898 file, move contents into....
3899 * src/ios.cc: ...Here. Put defines for iostreams objects and
3900 initialization routines into one file to simplify DSO interaction.
3901 * include/bits/std_iostream.h: Touch.
3902 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
3903 * src/Makefile.am (sources): Remove stdstreams.cc.
3904 * src/Makefile.in: Regenerate.
3906 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3908 * tests_flags.in (check_directory): Fix typo.
3910 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3912 * include/bits/std_complex.h: Fix a typo.
3914 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
3916 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
3917 code path:) Remove magic constants and restructure to handle
3918 ctype.h bit mask layout changes more gracefully. (Make fast
3919 code path:) Use __maskrune (), if available.
3920 (is): Remove special case for digit and xdigit masks.
3922 2001-01-09 Robert Lipe <robertlipe@usa.net>
3924 * include/c_std/bits/std_ctime.h: Undefine difftime.
3926 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
3928 * src/gen-num-limits.cc (signal_adapter): New template function.
3929 (signal_handler): Use it, instead of signal.
3930 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
3931 require both tests to trap to set trap_flag.
3933 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
3935 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
3936 initialize mbstate_t member, name offset data members *off, not pos.
3937 * include/bits/fstream.tcc (filebuf::filebuf): Same.
3939 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
3941 reported by Chris G. Demetriou <cgd@sibyte.com>
3942 * configure.in: Change -linux-* to -linux*.
3943 * configure: Regenerate.
3945 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
3947 Fix 27_io/filebuf_members.cc
3948 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
3949 const string& __name, category __cat, size_t __refs): Set
3950 _M_has_name with _M_name.
3951 * include/bits/localefwd.h (locale::operator!=): Protect member
3952 function call with this->.
3953 * src/locale.cc (locale::operator==): Make fast checks first.
3954 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
3956 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
3958 * src/ios.cc (ios_base::Init::Init): Initialize here.
3959 (ios_base::sync_with_stdio): Set here.
3961 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
3963 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
3964 systems that support it, call dup() before fdopen().
3966 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
3968 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
3969 * testsuite/17_intro/header_cwctype.cc (main): New file.
3971 * src/Makefile.am (base_headers): Change.
3972 * include/bits/std_string.h: And here.
3973 * include/bits/string.tcc: Tweaks, move to...
3974 * include/bits/basic_string.tcc: ...Here.
3975 * src/string-inst.cc: Simplify, just instantiate the whole class,
3976 not member-by-member.
3978 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
3980 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
3981 * aclocal.m4: Regenerate.
3982 * configure: Regenerate.
3984 * include/bits/c++config (__GLIBCPP__): Bump version number.
3986 * ChangeLog: Start new log for year 2001
3987 * ChangeLog-2000: New file.
3989 * docs/html/configopts.html: Make sure default values are current,
3992 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
3994 * include/c_std/bits/std_cwchar.h: Same.
3995 * testsuite/17_intro/header_cwchar.cc: Same.
3996 * include/c_std/bits/std_ctime.h: Same.
3997 * testsuite/17_intro/header_ctime.cc: Same.
3998 * include/c_std/bits/std_cstdlib.h: Same.
3999 Clean up undefs, make consistent with cwchar and cmath, etc.
4000 * testsuite/17_intro/header_cstdlib.cc: Same.
4001 * include/c_std/bits/std_cstdio.h: Same here.
4002 * testsuite/17_intro/header_cstring.cc: Same.
4003 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
4004 * testsuite/17_intro/header_cstring.cc: New file. Check for
4005 size_t in namespace std.
4007 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
4008 * acconfig.h (HAVE_MBSTATE_T): Add.
4009 * config.h.in: Regenerate.
4010 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
4012 * aclocal.m4: Regenerate.
4013 * configure: Regenerate.
4014 * testsuite/17_intro/headers_c++.cc: New file.
4015 * testsuite/17_intro/headers_c.cc: Small changes.
4017 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
4019 * tests_flags.in: Fix typo in usage.
4021 * tests_flags.in: Set target specific LIBS for cygwin.