1 2001-08-07 Benjamin Kosnik <bkoz@redhat.com>
3 Implement std::messages.
4 Make config a fully-nested directory.
5 * config/locale: New directory.
6 * config/c_locale_generic.cc: Move into locale subdirectory.
7 * config/c_locale_generic.h: Same.
8 * config/c_locale_gnu.cc: Same.
9 * config/c_locale_gnu.h: Same.
10 * config/c_locale_ieee_1003.1-200x.cc: Same.
11 * config/c_locale_ieee_1003.1-200x_.h: Same.
12 * config/codecvt_specializations_generic.h: Same.
13 * config/codecvt_specializations_ieee_1003.1-200x.h: Same.
14 * config/messages_members_gnu.h: Same.
15 * config/messaages_members_gnu.cc: Same.
16 * config/messages_members_generic.h: Same.
17 * config/messaages_members_generic.cc: Same.
18 * config/messages_members_ieee_1003.1-200x.h: Same.
19 * config/messaages_members_ieee_1003.1-200x.cc: Same.
20 * config/io: New directory.
21 * config/basic_file_libio.h: Move into io subdirectory.
22 * config/basic_file_libio.cc: Same.
23 * config/c_io_libio.h: Same.
24 * config/c_io_libio_codecvt.c: Same.
25 * config/basic_file_stdio.h: Same.
26 * config/basic_file_stdio.cc: Same.
27 * config/c_io_stdio.h: Same.
30 * po/POTFILES.in: New file.
31 * po/Makefile.am: New file.
32 * po/Makefile.in: New file.
33 * po/libstdc++.pot: Generic translation file.
34 * po/fr.po: Preliminary French translation.
35 * po/de.po: Preliminary German translation.
36 * intl: New directory.
37 * intl/Makefile.am: New file.
38 * intl/Makefile.in: New file.
39 * intl/string_literals.cc: New file.
40 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump VERSION to 3.1.0. Add
41 requisite setup for gettext. Re-arrange.
42 * aclocal.m4: Regenerate.
43 * configure.in: Don't call GLIBCPP_CHECK_COMPILER_VERSION.
44 Output Makefile bits for po and intl.
45 * configure: Regenerate.
46 * Makefile.am (SUBDIRS): Add intl, po. Add rule for dist.
47 * Makefile.in: Regenerate.
48 * acconfig.h: Add ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY.
49 * config.h.in: Regenerate.
51 * acinclude.m4 (AC_REPLACE_STRINGFUNCS): Remove.
53 * include/Makefile.am (install-data-local): Don't install Makefile.
54 * include/Makefile.in: Regenerate.
56 * include/bits/locale_facet.h (locale::facet::_S_clone_c_locale):
58 * config/locale/c_locale_gnu.cc (_S_clone_c_locale): Add definition.
59 * config/locale/c_locale_generic.cc: Same.
60 * config/locale/c_locale_ieee_1003.1-200x.cc: Same.
62 * include/bits/codecvt.h: Excise non-standard, non-required
63 bits. This includes __enc_traits, and partial specializations of
64 codecvt for __enc_traits.
65 * src/codecvt.cc (__enc_traits::_S_max_size): Guard
66 * config/codecvt_partials_ieee_1003.1-200x.h: New file.
67 * config/codecvt_partials_generic.h: New file.
68 * include/Makefile.am (allstamps): Add stamp-codecvt_model.
69 (stamp-codecvt_model): Add.
70 * include/Makefile.in: Regenerate.
71 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in codecvt configury.
72 * aclocal.m4: Regenerate.
73 * configure: Regenerate.
74 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Use macro guard.
75 * testsuite/22_locale/codecvt_unicode_char.cc: Same.
76 * testsuite/22_locale/ctor_copy_dtor.cc: And here.
78 * include/bits/localefwd.h (class locale::facet): Add __enc_traits
79 as a friend for _S_*_c_locale functions.
80 * include/bits/codecvt.h (__enc_traits::__enc_traits): Add locale
81 argument to default constructor so that CODESET information can be
83 * include/bits/locale_facets.h (messages_byname):
84 Re-implement. Remove specializations.
85 * src/locale.cc (messages_byname<char>): Remove specialization.
86 (messages_byname<wchar_t>): Same.
87 * config/locale/c_locale_ieee_1003.1-200x.cc: New file.
88 * config/locale/c_locale_ieee_1003.1-200x.h: New file.
89 * config/locale/messages_members_ieee_1003.1-200x.cc: New file.
90 * config/locale/messages_members_ieee_1003.1-200x.h: New file.
91 * config/locale/messages_members_gnu.cc: New file.
92 * config/locale/messages_members_gnu.h: New file.
93 * config/locale/messages_members_generic.cc: New file.
94 * config/locale/messages_members_generic.h: New file.
96 * docs/html/configopts.html: Add documentation for new locale
97 model, ieee_1003.1. Adjust other flags for current defaults.
98 * docs/html/22_locale/locale.html: Update.
99 * docs/html/22_locale/howto.html: Add link to messages.html. Organize.
100 * docs/html/22_locale/messages.html: New.
102 * src/Makefile.am (sources): Add messages_virtuals.cc.
103 * src/Makefile.in: Regenerate.
104 * include/Makefile.am (allstamps): Add stamp-messages_model.
105 (stamp-messages_model): Add.
106 * include/Makefile.in: Regenerate.
107 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in messages configury.
108 * aclocal.m4: Regenerate.
109 * configure: Regenerate.
111 * testsuite_flags.in (--cxxflags): Add LOCALEDIR.
112 * testsuite/lib/libstdc++-v3-dg.exp: Remove broken LD_LIBRARY_PATH
114 * acinclude (GLIBCPP_ENABLE_CLOCALE): Set glibcpp_localedir to the
115 build directories message catalog base directory, and export.
116 Eventually this should probably be made to deal with build and
117 install directories. For now, punt on this as the library itself
118 doesn't use message catalogs (yet).
119 * testsuite/22_locale/messages.cc: New file.
120 * testsuite/22_locale/messages_char_members.cc: New file.
121 * testsuite/22_locale/messages_byname.cc: New file.
123 2001-08-06 Phil Edwards <pme@sources.redhat.com>
125 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls...
126 (GLIBCPP_CHECK_SETRLIMIT): ...this new macro, which also uses...
127 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): ...this new macro.
128 * configure.in (AM_CONFIG_HEADER): Also generate testsuite_hooks.h.
129 Call GLIBCPP_CONFIGURE_TESTSUITE.
130 * aclocal.m4: Regenerate.
131 * config.h.in: Regenerate.
132 * configure: Regenerate.
134 * testsuite/lib/libstdc++-v3-dg.exp: Download new header instead
137 * testsuite_flags.in: Add build dir's testsuite to INCLUDES.
138 * testsuite/debug_assert.h: Removed; contents merged into...
139 * testsuite/testsuite_hooks.h.in: ...here. New file.
140 * testsuite/17_intro/header_ciso646.cc: No longer include
141 debug_assert.h, include testsuite_hooks.h instead.
142 * testsuite/17_intro/header_fstream.cc: Likewise.
143 * testsuite/17_intro/header_iomanip.cc: Likewise.
144 * testsuite/17_intro/header_ios.cc: Likewise.
145 * testsuite/17_intro/header_iosfwd.cc: Likewise.
146 * testsuite/17_intro/header_iostream.cc: Likewise.
147 * testsuite/17_intro/header_istream.cc: Likewise.
148 * testsuite/17_intro/header_ostream.cc: Likewise.
149 * testsuite/17_intro/header_sstream.cc: Likewise.
150 * testsuite/17_intro/header_streambuf.cc: Likewise.
151 * testsuite/18_support/numeric_limits.cc: Likewise.
152 * testsuite/19_diagnostics/stdexceptions.cc: Likewise.
153 * testsuite/20_util/allocator_members.cc: Likewise.
154 * testsuite/20_util/auto_ptr.cc: Likewise.
155 * testsuite/20_util/pairs.cc: Likewise.
156 * testsuite/21_strings/append.cc: Likewise.
157 * testsuite/21_strings/capacity.cc: Likewise.
158 * testsuite/21_strings/char_traits_requirements.cc: Likewise.
159 * testsuite/21_strings/compare.cc: Likewise.
160 * testsuite/21_strings/ctor_copy_dtor.cc: Likewise. Also set up
161 call to (disabled) __set_testsuite_memlimit() wrapper.
162 * testsuite/21_strings/element_access.cc: Likewise.
163 * testsuite/21_strings/find.cc: Likewise.
164 * testsuite/21_strings/insert.cc: Likewise. Also set up call to
165 (disabled) __set_testsuite_memlimit() wrapper.
166 * testsuite/21_strings/inserters_extractors.cc: Likewise.
167 * testsuite/21_strings/invariants.cc: Likewise.
168 * testsuite/21_strings/nonmember.cc: Likewise.
169 * testsuite/21_strings/operations.cc: Likewise.
170 * testsuite/21_strings/replace.cc: Likewise.
171 * testsuite/21_strings/rfind.cc: Likewise.
172 * testsuite/21_strings/substr.cc: Likewise.
173 * testsuite/22_locale/codecvt_char_char.cc: Likewise.
174 * testsuite/22_locale/codecvt_unicode_char.cc: Likewise.
175 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Likewise.
176 * testsuite/22_locale/codecvt_wchar_t_char.cc: Likewise.
177 * testsuite/22_locale/ctor_copy_dtor.cc: Likewise.
178 * testsuite/22_locale/ctype_char_members.cc: Likewise.
179 * testsuite/22_locale/ctype_wchar_t_members.cc: Likewise.
180 * testsuite/22_locale/facet.cc: Likewise.
181 * testsuite/22_locale/global_templates.cc: Likewise.
182 * testsuite/22_locale/members.cc: Likewise.
183 * testsuite/22_locale/numpunct_byname.cc: Likewise.
184 * testsuite/22_locale/numpunct_char_members.cc: Likewise.
185 * testsuite/22_locale/operators.cc: Likewise.
186 * testsuite/22_locale/static_members.cc: Likewise.
187 * testsuite/23_containers/bitset_ctor.cc: Likewise.
188 * testsuite/23_containers/bitset_members.cc: Likewise.
189 * testsuite/23_containers/bitset_shift.cc: Likewise.
190 * testsuite/23_containers/vector_capacity.cc: Likewise.
191 * testsuite/23_containers/vector_ctor.cc: Likewise.
192 * testsuite/23_containers/vector_element_access.cc: Likewise.
193 * testsuite/23_containers/vector_modifiers.cc: Likewise.
194 * testsuite/24_iterators/istreambuf_iterator.cc: Likewise.
195 * testsuite/24_iterators/iterator.cc: Likewise.
196 * testsuite/24_iterators/ostreambuf_iterator.cc: Likewise.
197 * testsuite/25_algorithms/binary_search.cc: Likewise.
198 * testsuite/25_algorithms/copy.cc: Likewise.
199 * testsuite/25_algorithms/heap.cc: Likewise.
200 * testsuite/25_algorithms/lower_bound.cc: Likewise.
201 * testsuite/25_algorithms/min_max.cc: Likewise.
202 * testsuite/25_algorithms/partition.cc: Likewise.
203 * testsuite/25_algorithms/rotate.cc: Likewise.
204 * testsuite/25_algorithms/sort.cc: Likewise.
205 * testsuite/26_numerics/c_math.cc: Likewise.
206 * testsuite/26_numerics/complex_inserters_extractors.cc: Likewise.
207 * testsuite/26_numerics/complex_value.cc: Likewise.
208 * testsuite/27_io/filebuf.cc: Likewise.
209 * testsuite/27_io/filebuf_members.cc: Likewise.
210 * testsuite/27_io/filebuf_virtuals.cc: Likewise.
211 * testsuite/27_io/fpos.cc: Likewise.
212 * testsuite/27_io/fstream_members.cc: Likewise.
213 * testsuite/27_io/ifstream_members.cc: Likewise.
214 * testsuite/27_io/ios_base_callbacks.cc: Likewise.
215 * testsuite/27_io/ios_base_members_static.cc: Likewise.
216 * testsuite/27_io/ios_base_storage.cc: Likewise.
217 * testsuite/27_io/ios_ctor.cc: Likewise.
218 * testsuite/27_io/ios_init.cc: Likewise.
219 * testsuite/27_io/ios_manip_basefield.cc: Likewise.
220 * testsuite/27_io/ios_manip_fmtflags.cc: Likewise.
221 * testsuite/27_io/ios_members.cc: Likewise.
222 * testsuite/27_io/istream_extractor_arith.cc: Likewise.
223 * testsuite/27_io/istream_extractor_char.cc: Likewise.
224 * testsuite/27_io/istream_extractor_other.cc: Likewise.
225 * testsuite/27_io/istream_manip.cc: Likewise.
226 * testsuite/27_io/istream_seeks.cc: Likewise.
227 * testsuite/27_io/istream_sentry.cc: Likewise.
228 * testsuite/27_io/istream_unformatted.cc: Likewise.
229 * testsuite/27_io/istringstream_members.cc: Likewise.
230 * testsuite/27_io/narrow_stream_objects.cc: Likewise.
231 * testsuite/27_io/ofstream_members.cc: Likewise.
232 * testsuite/27_io/ostream_inserter_arith.cc: Likewise.
233 * testsuite/27_io/ostream_inserter_char.cc: Likewise.
234 * testsuite/27_io/ostream_inserter_other.cc: Likewise.
235 * testsuite/27_io/ostream_manip.cc: Likewise.
236 * testsuite/27_io/ostream_seeks.cc: Likewise.
237 * testsuite/27_io/ostream_unformatted.cc: Likewise.
238 * testsuite/27_io/ostringstream_members.cc: Likewise.
239 * testsuite/27_io/streambuf.cc: Likewise.
240 * testsuite/27_io/stringbuf.cc: Likewise.
241 * testsuite/27_io/stringbuf_virtuals.cc: Likewise.
242 * testsuite/27_io/stringstream.cc: Likewise.
243 * testsuite/27_io/stringstream_members.cc: Likewise.
244 * testsuite/27_io/wide_stream_objects.cc: Likewise.
246 2001-07-31 Loren J. Rittle <ljrittle@acm.org>
248 * src/gen-num-limits.cc: Use __LONG_LONG_MAX__.
250 2001-07-30 Benjamin Kosnik <bkoz@redhat.com>
252 * configure.target: Remove mips from cpu table.
253 * config/cpu/mips/bits/atomicity.h: Remove generic
254 versions. Comment sgidefs include.
256 2001-07-25 H.J. Lu <hjl@gnu.org>
258 * configure.target (cpu_include_dir): Set to `config/cpu/mips'
261 * config/cpu/mips/bits/atomicity.h: New.
263 2001-07-25 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
265 * acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf,
266 hypotl, atan2f, atan2l. Remove from REPLACE_MATHFUNCS list.
267 * aclocal.m4: Regenerate.
268 * config.h.in: Likewise.
269 * configure: Likewise.
270 * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove hypotl.c
271 (EXTRA_DIST): Remove hypot.c hypotf.c.
272 * libmath/Makefile.am: Regenerate.
273 * libmath/hypotf.c: Remove.
274 * libmath/hypot.c: Likewise.
275 * libmath/hypotl.c: Likewise.
276 * libmath/stubs.c: The macros seen here are HAVE_xxx, not
277 _GLIBCPP_HAVE_xxx. Add long double versions.
279 2001-07-23 David Edelsohn <edelsohn@gnu.org>
281 * include/bits/limits_generic.h (int): Set digits and digits10
282 appropriately for word size.
283 (unsigned int,long,unsigned long): Likewise.
285 2001-07-19 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
287 * include/bits/stl_algo.h : Fix typos.
288 * testsuite/25_algorithms/unique.cc: New file.
290 2001-07-19 Phil Edwards <pme@sources.redhat.com>
291 Mark Mitchell <mark@codesourcery.com>
293 Merge from cp-parser-branch.
294 * include/bits/basic_string.h: Qualify symbols with 'template'.
295 * include/bits/basic_string.tcc: Likewise.
296 * include/bits/fstream.tcc: Likewise.
297 * include/bits/istream.tcc: Likewise.
298 * include/bits/sstream.tcc: Likewise.
299 * include/bits/std_istream.h: Likewise.
300 * include/bits/stl_iterator.h: Likewise.
301 * include/bits/streambuf.tcc: Likewise.
302 * src/gen-num-limits.cc: Add 'template<>' to specializations.
303 * src/locale.cc: Likewise.
305 2001-07-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
306 Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
308 * src/gen-num-limits.cc (set_signals_handler): New function.
309 Factor out signals setting. Set signal handler for SIGILL.
311 2001-07-18 Phil Edwards <pme@sources.redhat.com>
313 * docs/html/27_io/howto.html: Fix typo.
314 * docs/html/faq/index.html: Minor updates for 3.0 all around.
315 * docs/html/faq/index.txt: Regenerated.
317 2001-07-18 Stephen M. Webb <stephen@bregmasoft..com>
318 Roman Sulzhyk <roman_sulzhyk@yahoo.com>
321 * include/bits/ostream.tcc (ostream::put): Fixed error condition check.
322 * testsuite/27_io/streambuf.cc (test07): Added new regression test.
324 2001-07-17 Stephen M. Webb <stephen@bregmasoft.com>r
326 All occurrences of the __value_type() and __distance_type()
327 functions, which were required to support the HP STL, have been
328 removed along with all the auxiliary forwarding functions that
329 were required to support their use.
331 The __iterator_category() function was pretty much left alone
332 because there was no benefit to removing it and its use made code
333 just a little more readable.
335 Incidences of distance() with nonstandard argument list were
336 replaced by calls to the standard function (only in the files
337 affected by the removal of the other HP functions).
339 The signature of the rotate() algorithm was changed to match the
342 Headers were reformatted under C++STYLE guidelines (indentation,
343 linebreaks, typename keyword).
345 * include/bits/stl_algo.h: replaced __value_type() and
346 __distance_type() with iterator_traits, eliminated auxiliary
347 support functions required to support said function usage.
348 Changed nonstandard distance() call to standard call.
350 * include/bits/stl_algobase.h: Same.
351 * include/bits/stl_heap.h: Same.
352 * include/bits/stl_numeric.h: Same.
353 * include/bits/stl_uninitialized.h: Same.
354 * include/bits/stl_iterator_base_types.h (__value_type()):
356 (__distance_type()): Removed.
357 (value_type()): Gone.
358 (distance_type()): Done in.
359 (iterator_category()): Hasta la vista, baby.
361 * include/bits/stl_iterator_base_funcs.h (iterator_category()):
362 Replaced with __iterator_category().
363 * include/backward/iterator.h: moved definition of value_type(),
364 distance_type(), and iterator_category() out of std:: and into
366 * testsuite/23_containers/vector_ctor.cc (test03): New testcases.
367 * testsuite/23_containers/vector_modifiers.cc (test03): New testcases.
368 * testsuite/25_algorithms/rotate.cc: New testcase.
369 * testsuite/25_algorithms/copy.cc: New testcase.
370 * testsuite/25_algorithms/sort.cc: Same.
371 * testsuite/25_algorithms/heap.cc: Same.
372 * testsuite/25_algorithms/partition.cc: Same.
373 * testsuite/25_algorithms/binary_search.cc: Same.
374 * testsuite/26_numerics/sum_diff.cc: Ditto.
376 001-07-17 Benjamin Kosnik <bkoz@redhat.com>
378 * testsuite/README: Add notes on naming test cases.
379 * testsuite/22_locale/members.cc: Mark as xfail.
380 * testsuite/22_locale/numpunct_char_members.cc: Same.
382 2001-07-16 Stephen M. Webb <stephen@bregmasoft.com>
384 * acinclude.m4 (GLIBCPP_ENABLE_CHEADERS): Use glibcpp_srcdir when
385 setting C_INCLUDE_DIR.
386 * configure.in: Revert yesterday's LN_S change.
387 * aclocal.m4: Regenerate.
388 * configure: Regenerate.
390 2001-07-15 Phil Edwards <pme@sources.redhat.com>
392 * configure.in: Temporarily force LN_S to copy instead of symlink.
393 * configure: Regenerate.
395 2001-07-13 Phil Edwards <pme@sources.redhat.com>
397 * include/bits/std_sstream.h (basic_stringbuf::basic_stringbuf(string):
398 Initialize _M_string with pointer-and-size constructor, not just
399 pointer. Fix some comments.
400 * testsuite/21_strings/ctor_copy_dtor.cc (test03): New test.
401 * testsuite/27_io/stringbuf.cc (test02): Remove unused variable.
402 (test03): Add embedded-NUL tests.
404 * mkcheck.in: When printing totals, match the order of the tests.
405 * include/bits/stringfwd.h: Use same declaration keywords.
406 * include/bits/std_iosfwd.h: Cosmetic spacing.
408 2001-07-13 Stephen M. Webb <stephen@bregmasoft.com>
409 Loren J. Rittle <ljrittle@acm.org>
410 Phil Edwards <pme@sources.redhat.com>
412 * include/Makefile.am: New file encapsulating header generation rules.
413 * Makefile.am (SUBDIRS): Prepend 'include' directory.
414 * acinclude.m4: Moved/removed rules for building various headers.
415 * configure.in (AC_OUTPUT): Add include/Makefile.
416 * mkc++config: Removed.
418 * testsuite_flags.in: Changed build-includes to match new scheme.
419 * mknumeric_limits: Likewise.
420 * libio/Makefile.am: Changed INCLUDES to maatch new header scheme.
421 * libmath/Makefile.am: Likewise.
422 * libsupc++/Makefile.am: Likewise.
423 * src/Makefile.am: Likewise; removed rules to build headers.
424 * libmath/mathconf.h: Changed #include'd header names to match.
425 * libmath/stubs.c: Likewise.
426 * src/gen-num-limits.cc: Likewise.
428 * configure: Regenerated.
429 * config.h.in: Regenerated.
430 * aclocal.m4: Regenerated.
431 * Makefile.in: Regenerated.
432 * include/Makefile.in: Regenerated.
433 * libio/Makefile.in: Regenerated.
434 * libmath/Makefile.in: Regenerated.
435 * libsupc++/Makefile.in: Regenerated.
436 * src/Makefile.in: Regenerated.
437 * testsuite/Makefile.in: Regenerated.
439 2001-07-11 Felix Natter <fnatter@gmx.net>
441 * docs/html/17_intro/porting-howto.xml: Initial checkin of
443 * docs/html/17_intro/porting-howto.html: check in v0.9.3
445 2001-07-11 Phil Edwards <pme@sources.redhat.com>
447 * docs/doxygen/run_doxygen: Don't keep output from previous run.
448 * docs/doxygen/user.cfg.in: Tweaks.
449 * include/bits/c++config: Documentation comments for Doxygen.
450 * include/bits/char_traits.h: Likewise.
451 * include/bits/limits_generic.h: Likewise.
452 * include/bits/std_stdexcept.h: Likewise.
453 * include/bits/stl_pair.h: Likewise.
454 * libsupc++/exception: Likewise.
455 * libsupc++/new: Likewise.
456 * libsupc++/typeinfo: Likewise.
457 * libmath/Makefile.am: Update and correct copyright.
459 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
461 * acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
462 * aclocal.m4: Regenerate.
465 2001-07-09 Phil Edwards <pme@sources.redhat.com>
467 * docs/html/configopts.html: Fix thinko.
468 * docs/html/27_io/howto.html: Fix thinko and HTML markup.
469 * include/bits/stl_iterator.h: Fix typo.
471 2001-07-09 Phil Edwards <pme@sources.redhat.com>
473 * docs/html/explanations.html: New file.
474 * docs/html/configopts.html: Link to it to provide more notes
475 on cstdio. Minor markup and spacing fixes.
476 * docs/html/27_io/howto.html: Talk about sync_with_stdio.
478 2001-07-09 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
480 * include/bits/valarray_meta.h (_Expr::operator+): Use qualified id
481 for _Expr template template argument.
482 (_Expr::operator-): Likewise.
483 (_Expr::operator~): Likewise.
484 (_Expr::operator!): Likewise.
485 (_DEFINE_EXPR_UNARY_OPERATOR): Likewise.
487 2001-07-06 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
489 * libmath/Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.c
490 * libmath/Makefile.in: Regenerate.
491 * libmath/expf.c: Remove.
492 * libmath/atan2f.c: Likewise.
494 2001-07-06 Daniel Jacobowitz <drow@mvista.com>
496 * configure.in: Remove NATIVE, NULL_TARGET.
497 Set CANADIAN only for Canadian crosses. Set xcompiling
498 for both Canadian crosses and host-x-host crosses.
499 * configure: Regenerated.
501 2001-07-06 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
503 * include/bits/stl_vector.h (vector::_M_initialize_aux): Fix typo.
505 2001-07-05 Jason Merrill <jason_merrill@redhat.com>
507 * testsuite_flags.in (--build-includes): backward, not backwards.
509 2001-07-04 Jeffrey Oldham <oldham@codesourcery.com>
511 * include/ext/ropeimpl.h (_Rope_RopeRep::_M_free_c_string):
512 Replace destroy by _Destroy.
513 (_Rope_RopeRep::_S_free_string): Likewise.
514 (rope::c_str()): Likewise.
515 * include/ext/slist (_Slist_base::_M_erase_after>): Likewise.
516 (_Slist_base::_M_erase_after): Likewise.
517 (slist::_M_create_node): Replace construct by _Construct.
518 (slist::pop_front): Replace destroy by _Destroy.
519 * include/ext/stl_hashtable.h (hashtable::_M_new_node): Replace
520 construct by _Construct.
521 (hashtable::_M_delete_node): Replace destroy by _Destroy.
522 * include/ext/stl_rope.h (rope::rope): Replace construct by
524 (rope::copy): Replace destroy by _Destroy.
526 2001-07-03 Benjamin Kosnik <bkoz@redhat.com>
528 * include/bits/localefwd.h: Format.
529 * include/bits/locale_facts.tcc (locale::combine): Adjust.
530 * src/locale.cc (locale::locale::(_Impl)): Don't call
532 (locale::facet::_M_remove_reference): Simplify.
533 * src/globals.cc (locale_impl_c): New. Format.
535 * src/ios.cc (ios_base::Init::Init): Increment _S_ios_base_init last.
537 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
539 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
540 expansion (thanks to Alexandre Oliva).
541 * aclocal.m4: Regenerate.
542 * configure: Regenerate.
544 2001-07-02 Benjamin Kosnik <bkoz@redhat.com>
546 * src/locale.cc (locale::locale(const char*)): Make sure global
547 locales are initialized.
548 * include/bits/locale_facets.tcc (locale::combine): Refcout should
549 be zero, not one as it's return-by-value.
550 * testsuite/27_io/ios_base_callbacks.cc (test01): Don't check for
552 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Instead, check
555 * libsupc++/eh_alloc.cc: Use climits, not limits.h.
557 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
560 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
561 * aclocal.m4: Regenerate.
562 * configure: Regenerate.
564 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
567 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to
568 staged/installed area to support -I-. Document.
569 * aclocal.m4: Regenerate.
570 * configure: Regenerate.
572 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
575 * src/ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to
576 __out_bufsize. Add __in_bufsize, document it and use it.
578 2001-07-01 Stephen M. Webb <stephen@bregmasoft.com>
580 * include/bits/stl_construct.h (construct): Remove.
582 (__destroy): Replaced by use of iterator_traits.
583 * include/bits/stl_deque.h: replaced HP iterator functions with
585 (construct): changed to _Construct.
586 (destroy): changed to _Destroy.
587 * include/bits/stl_tempbuf.h: Same.
588 * include/bits/stl_tree.h: Same.
589 * include/bits/stl_vector.h: Same.
590 * include/backward/iterator.h (construct): moved definition to here.
593 2001-06-29 Benjamin Kosnik <bkoz@redhat.com>
595 * include/bits/locale_facets.tcc (locale::combine): Clone _Impl.
596 before replacing facet.
597 * include/bits/localefwd.h (locale::_Impl::_M_remove_reference):
599 * src/localename.cc (locale::_Impl): Correct ctor initialization
600 lists. Initialize ref count with one. Simplify.
601 * src/locale.cc: Add comment.
602 * testsuite/22_locale/numpunct.cc (test01): Add derivation test.
603 * testsuite/22_locale/numpunct_char_members.cc (test01): Add tests.
604 * testsuite/22_locale/members.cc (test02): Fix.
606 2001-06-27 Phil Edwards <pme@sources.redhat.com>
608 * include/backward/algo.h: Add "GPL plus runtime exception" comment
609 block, this time for real.
610 * include/backward/algobase.h: Likewise.
611 * include/backward/alloc.h: Likewise.
612 * include/backward/bvector.h: Likewise.
613 * include/backward/defalloc.h: Likewise.
614 * include/backward/deque.h: Likewise.
615 * include/backward/function.h: Likewise.
616 * include/backward/hash_map.h: Likewise.
617 * include/backward/hash_set.h: Likewise.
618 * include/backward/hashtable.h: Likewise.
619 * include/backward/heap.h: Likewise.
620 * include/backward/iterator.h: Likewise.
621 * include/backward/list.h: Likewise.
622 * include/backward/map.h: Likewise.
623 * include/backward/multimap.h: Likewise.
624 * include/backward/multiset.h: Likewise.
625 * include/backward/pair.h: Likewise.
626 * include/backward/rope.h: Likewise.
627 * include/backward/set.h: Likewise.
628 * include/backward/slist.h: Likewise.
629 * include/backward/stack.h: Likewise.
630 * include/backward/strstream: Likewise.
631 * include/backward/tempbuf.h: Likewise.
632 * include/backward/tree.h: Likewise.
633 * include/backward/vector.h: Likewise.
634 * include/bits/pthread_allocimpl.h: Likewise.
635 * include/bits/std_algorithm.h: Likewise.
636 * include/bits/std_bitset.h: Likewise.
637 * include/bits/std_deque.h: Likewise.
638 * include/bits/std_functional.h: Likewise.
639 * include/bits/std_iterator.h: Likewise.
640 * include/bits/std_list.h: Likewise.
641 * include/bits/std_map.h: Likewise.
642 * include/bits/std_memory.h: Likewise.
643 * include/bits/std_numeric.h: Likewise.
644 * include/bits/std_queue.h: Likewise.
645 * include/bits/std_set.h: Likewise.
646 * include/bits/std_stack.h: Likewise.
647 * include/bits/std_utility.h: Likewise.
648 * include/bits/std_vector.h: Likewise.
649 * include/bits/stl_algo.h: Likewise.
650 * include/bits/stl_algobase.h: Likewise.
651 * include/bits/stl_alloc.h: Likewise.
652 * include/bits/stl_bvector.h: Likewise.
653 * include/bits/stl_construct.h: Likewise.
654 * include/bits/stl_deque.h: Likewise.
655 * include/bits/stl_function.h: Likewise.
656 * include/bits/stl_heap.h: Likewise.
657 * include/bits/stl_iterator.h: Likewise.
658 * include/bits/stl_iterator_base_funcs.h: Likewise.
659 * include/bits/stl_iterator_base_types.h: Likewise.
660 * include/bits/stl_list.h: Likewise.
661 * include/bits/stl_map.h: Likewise.
662 * include/bits/stl_multimap.h: Likewise.
663 * include/bits/stl_multiset.h: Likewise.
664 * include/bits/stl_numeric.h: Likewise.
665 * include/bits/stl_pair.h: Likewise.
666 * include/bits/stl_pthread_alloc.h: Likewise.
667 * include/bits/stl_queue.h: Likewise.
668 * include/bits/stl_raw_storage_iter.h: Likewise.
669 * include/bits/stl_relops.h: Likewise.
670 * include/bits/stl_set.h: Likewise.
671 * include/bits/stl_stack.h: Likewise.
672 * include/bits/stl_tempbuf.h: Likewise.
673 * include/bits/stl_threads.h: Likewise.
674 * include/bits/stl_tree.h: Likewise.
675 * include/bits/stl_uninitialized.h: Likewise.
676 * include/bits/stl_vector.h: Likewise.
677 * include/bits/type_traits.h: Likewise.
678 * include/ext/hash_map: Likewise.
679 * include/ext/hash_set: Likewise.
680 * include/ext/rope: Likewise.
681 * include/ext/ropeimpl.h: Likewise.
682 * include/ext/slist: Likewise.
683 * include/ext/stl_hash_fun.h: Likewise.
684 * include/ext/stl_hashtable.h: Likewise.
685 * include/ext/stl_rope.h: Likewise.
686 * src/bitset.cc: Likewise.
687 * src/strstream.cc: Likewise.
689 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
690 <vakatov@ncbi.nlm.nih.gov>
693 * include/bits/streambuf.tcc (__copy_streambufs): Don't set eofbit.
694 * testsuite/27_io/ostream_inserter_other.cc (test04): Add test.
695 * testsuite/27_io/istream_extractor_other.cc: Fix.
697 2001-06-26 Zoltan Hidvegi <hzoli@austin.ibm.com>
699 * acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
700 * aclocal.m4: Regenerate.
701 * configure: Regenerate.
703 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
705 * include/bits/stream_iterator.h (istream_iterator): Add copy ctor.
706 (ostream_iterator): Same.
707 * include/bits/stl_iterator.h (front_insert_iterator::operator=):
708 Change argument to const_reference.
709 (back_insert_iterator): Same.
711 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
713 * include/bits/sbuf_iter.h: Change to..
714 * include/bits/streambuf_iterator.h: This.
715 * include/bits/stl_iterator.h: Take out of here...
716 * include/bits/stream_iterator.h: Add.
717 * src/Makefile.am (base_headers): Add streambuf_iterator,
719 * src/Makefile.in: Regenerate.
720 * include/bits/std_string.h: Adjust includes.
721 * include/bits/basic_ios.h: Same.
722 * include/bits/locale_facets.tcc: Same.
723 * include/bits/std_iosfwd.h: Same.
725 * include/bits/std_iterator.h: Add istream, ostream includes.
726 * include/bits/stl_iterator.h: Tweak.
727 * testsuite/24_iterators/ostream_iterator.cc: Add test.
728 * testsuite/24_iterators/istream_iterator.cc: Same.
729 * testsuite/23_containers/multiset.cc: Add iterator include.
731 2001-06-26 Phil Edwards <pme@sources.redhat.com>
733 * acinclude.m4: Clean extraneous tabs, rewrap 'test' lines.
734 * aclocal.m4: Regenerate.
735 * configure: Regenerate.
737 2001-06-26 Felix Natter <f.natter@ndh.net>
739 * docs/html/17_intro/porting-howto.html: Fixed some errors.
741 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
743 * include/bits/stl_iterator.h (istream_iterator::operator->): Fix
745 (istream_iterator::operator*): Same.
747 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
748 Alexandre Petit-Bianco <apbianco@redhat.com>
750 * testsuite/21_strings/element_access.cc (test01): Chill Out Cafe
751 is on 41st, not 14th.
753 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
755 * include/bits/std_iterator.h: Include sbuf_iter.h via std_ios.h.
757 * include/bits/stl_iterator.h (istream_iterator): Inherit from
759 (ostream_iterator): Same.
760 * testsuite/24_iterators/istream_iterator.cc: New file.
761 * testsuite/24_iterators/ostream_iterator.cc: New file.
763 * include/bits/sbuf_iter.h: Remove self typedef.
764 * testsuite/24_iterators/ostreambuf_iterator.cc: Add test.
765 * testsuite/24_iterators/istreambuf_iterator.cc: Add test.
767 * include/bits/stl_iterator.h (reverse_iterator): Remove
768 extraneous typedefs. Add typename.
769 (__normal_iterator): Remove typedefs referring to self. Add typename.
770 (reverse_bidiretional_iterator): Remove, not longer required.
772 2001-06-26 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
774 * include/bits/stl_iterator.h (__normal_iterator<>): Qualify
775 dependent names with `typename'. Bring in various required
776 iterator_traits members. Can't imagine why that used to work.
778 2001-06-25 Phil Edwards <pme@sources.redhat.com>
779 Kurt Garloff <garloff@suse.de>
782 * src/cmath.cc: New [version of an old] file; instantiate
783 __cmath_power to start with.
784 * src/Makefile.am (sources): Add cmath.cc (and alphabetize).
785 * Makefile.in: Regenerate.
786 * libio/Makefile.in: Regenerate.
787 * libmath/Makefile.in: Regenerate.
788 * libsupc++/Makefile.in: Regenerate.
789 * src/Makefile.in: Regenerate.
790 * testsuite/Makefile.in: Regenerate.
792 2001-06-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
794 * libmath/stubs.c: Fix thinko.
796 2001-06-24 David Edelsohn <dje@watson.ibm.com>
798 * libmath/stubs.c (sqrtf): Define.
799 (tanf): Correct typo.
801 2001-06-22 Benjamin Kosnik <bkoz@redhat.com>
803 * include/bits/stl_iterator.h (reverse_iterator): Inherit from
805 (back_insert_iterator): Same.
806 (front_insert_iterator): Same.
807 (insert_iterator): Same.
809 * testsuite/20_util/raw_storage_iterator.cc: Modify.
810 * testsuite/24_iterators/reverse_iterator.cc: New file.
811 * testsuite/24_iterators/back_insert_iterator.cc: New file.
812 * testsuite/24_iterators/front_insert_iterator.cc: New file.
813 * testsuite/24_iterators/insert_iterator.cc: New file.
815 2001-06-22 Phil Edwards <pme@sources.redhat.com>
817 * include/*: Revert comment/license change from yesterday for all
818 except libsupc++/unwind-cxx.h.
819 * src/bitset.cc: Likewise.
820 * src/strstream.cc: Likewise.
822 2001-06-22 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
824 * libmath/stubs.c: New file.
828 * libmath/Makefile.am (libmath_la_SOURCES): Add.
829 * libmath/Makefile.in. Regenerate.
831 2001-06-21 Phil Edwards <pme@sources.redhat.com>
833 * include/backward/algo.h: Add "GPL plus runtime exception" comment.
834 * include/backward/algobase.h: Likewise.
835 * include/backward/alloc.h: Likewise.
836 * include/backward/bvector.h: Likewise.
837 * include/backward/defalloc.h: Likewise.
838 * include/backward/deque.h: Likewise.
839 * include/backward/function.h: Likewise.
840 * include/backward/hash_map.h: Likewise.
841 * include/backward/hash_set.h: Likewise.
842 * include/backward/hashtable.h: Likewise.
843 * include/backward/heap.h: Likewise.
844 * include/backward/iterator.h: Likewise.
845 * include/backward/list.h: Likewise.
846 * include/backward/map.h: Likewise.
847 * include/backward/multimap.h: Likewise.
848 * include/backward/multiset.h: Likewise.
849 * include/backward/pair.h: Likewise.
850 * include/backward/rope.h: Likewise.
851 * include/backward/set.h: Likewise.
852 * include/backward/slist.h: Likewise.
853 * include/backward/stack.h: Likewise.
854 * include/backward/strstream: Likewise.
855 * include/backward/tempbuf.h: Likewise.
856 * include/backward/tree.h: Likewise.
857 * include/backward/vector.h: Likewise.
858 * include/bits/pthread_allocimpl.h: Likewise.
859 * include/bits/std_algorithm.h: Likewise.
860 * include/bits/std_bitset.h: Likewise.
861 * include/bits/std_deque.h: Likewise.
862 * include/bits/std_functional.h: Likewise.
863 * include/bits/std_iterator.h: Likewise.
864 * include/bits/std_list.h: Likewise.
865 * include/bits/std_map.h: Likewise.
866 * include/bits/std_memory.h: Likewise.
867 * include/bits/std_numeric.h: Likewise.
868 * include/bits/std_queue.h: Likewise.
869 * include/bits/std_set.h: Likewise.
870 * include/bits/std_stack.h: Likewise.
871 * include/bits/std_utility.h: Likewise.
872 * include/bits/std_vector.h: Likewise.
873 * include/bits/stl_algo.h: Likewise.
874 * include/bits/stl_algobase.h: Likewise.
875 * include/bits/stl_alloc.h: Likewise.
876 * include/bits/stl_bvector.h: Likewise.
877 * include/bits/stl_construct.h: Likewise.
878 * include/bits/stl_deque.h: Likewise.
879 * include/bits/stl_function.h: Likewise.
880 * include/bits/stl_heap.h: Likewise.
881 * include/bits/stl_iterator.h: Likewise.
882 * include/bits/stl_iterator_base_funcs.h: Likewise.
883 * include/bits/stl_iterator_base_types.h: Likewise.
884 * include/bits/stl_list.h: Likewise.
885 * include/bits/stl_map.h: Likewise.
886 * include/bits/stl_multimap.h: Likewise.
887 * include/bits/stl_multiset.h: Likewise.
888 * include/bits/stl_numeric.h: Likewise.
889 * include/bits/stl_pair.h: Likewise.
890 * include/bits/stl_pthread_alloc.h: Likewise.
891 * include/bits/stl_queue.h: Likewise.
892 * include/bits/stl_raw_storage_iter.h: Likewise.
893 * include/bits/stl_relops.h: Likewise.
894 * include/bits/stl_set.h: Likewise.
895 * include/bits/stl_stack.h: Likewise.
896 * include/bits/stl_tempbuf.h: Likewise.
897 * include/bits/stl_threads.h: Likewise.
898 * include/bits/stl_tree.h: Likewise.
899 * include/bits/stl_uninitialized.h: Likewise.
900 * include/bits/stl_vector.h: Likewise.
901 * include/bits/type_traits.h: Likewise.
902 * include/ext/hash_map: Likewise.
903 * include/ext/hash_set: Likewise.
904 * include/ext/rope: Likewise.
905 * include/ext/ropeimpl.h: Likewise.
906 * include/ext/slist: Likewise.
907 * include/ext/stl_hash_fun.h: Likewise.
908 * include/ext/stl_hashtable.h: Likewise.
909 * include/ext/stl_rope.h: Likewise.
910 * libsupc++/unwind-cxx.h: Likewise.
911 * src/bitset.cc: Likewise.
912 * src/strstream.cc: Likewise.
914 2001-06-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
916 * include/bits/indirect_array.h (indirect_array<>::operator=):
917 Make copy and assignment operator public. Implement. Format.
919 * include/bits/valarray_array.h (__valarray_copy): Add overloads
920 for copy between index arrays. Format.
922 2001-06-19 Benjamin Kosnik <bkoz@redhat.com>
924 * mknumeric_limits: Add static definitions, format.
925 * testsuite/18_support/numeric_limits.cc (test02): Add test.
927 * include/c_std/bits/std_cwchar.h: Include ctime.
928 * testsuite/17_intro/header_cwchar.cc : Check.
930 * include/c_std/bits/std_cwctype.h: Inject wctype.
931 * testsuite/17_intro/header_cwctype.cc: Update.
933 2001-06-18 Benjamin Kosnik <bkoz@redhat.com>
935 * include/bits/stl_raw_storage_iter.h: Format. Correct derivation.
936 * testsuite/20_util/raw_storage_iterator.cc: Same.
938 * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to
940 (__mem_interface): New typedef for switching between malloc and new.
941 * testsuite/20_util/allocator_members.cc: New file.
943 * testsuite/20_util/comparisons.cc: New file.
944 * testsuite/20_util/pairs.cc: New file.
946 2001-06-15 Phil Edwards <pme@sources.redhat.com>
948 * docs/html/documentation.html: Point to new doxygen'ed collection.
950 2001-06-14 Nathan Sidwell <nathan@codesourcery.com>
952 * configure.in (auxdir): Replace by ...
953 (toprel): ... new variable.
954 (toplevel_srcdir): Construct from $toprel.
955 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
956 rather than .. to locate gcc source directory.
957 (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
958 * aclocal.m4, configure: Rebuilt.
960 2001-06-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
962 (Approved by Mark and Benjamin. Applied by Loren.)
964 * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
965 _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
966 and _GLIBCPP_mutex_address.
967 * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
968 once-only runtime initialization of _M_lock mutex when
969 __GTHREAD_MUTEX_INIT_FUNCTION is defined.
970 (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
971 for __GTHREAD_MUTEX_INIT_FUNCTION case.
973 2001-06-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
975 * testsuite/26_numerics/slice_array_assignment.cc (main): New test.
977 * include/bits/slice_array.h (slice_array<>::operator=): Make
978 public and implement.
979 (slice_array<>::slice_array): Make copy-constructor public.
981 * include/bits/valarray_array.h (__valarray_copy): Add another
982 overload to copy between strided arrays.
984 2001-06-13 Benjamin Kosnik <bkoz@redhat.com>
986 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
987 * aclocal.m4: Regenerate.
988 * configure: Regenerate.
989 * include/bits/c++config (__GLIBCPP__): Update date.
991 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
993 * include/bits/fpos.h (fpos::operator-): Don't return reference,
994 return original, non-modified version.
995 (fpos::operator+): Same.
996 * testsuite/27_io/fpos.cc: Add test.
998 2001-06-12 Loren J. Rittle <ljrittle@acm.org>
1001 * porting.texi: Add documentation about libstdc++-v3-specific
1002 macros that are currently included in os_defines.h files.
1004 * config/basic_file_stdio.h (sys_getc): New method.
1005 (sys_ungetc): New method.
1006 * include/bits/basic_file.h: (sys_getc): New method signature.
1007 (sys_ungetc): New method signature.
1009 * include/bits/fstream.tcc (underflow): Add conditional code
1010 paths which avoid using short seeks on streams (especially
1011 useful when the stream might be interactive or a pipe). At
1012 the moment, this alternate path only avoids seeking when the
1013 ``buffer size'' of underflow() is 1 since the C standard only
1014 guarantees buffer space for one ungetc (this technique could
1015 be extended since *-*-solaris* supports buffering for 4 calls
1016 to ungetc and *-*-*bsd* supports buffering limited only by
1017 memory resources). Also, _GLIBCPP_AVOID_FSEEK must be defined
1018 in a port's os_defines.h file for this alternate path to even
1019 be considered. As a bonus, the idiom of using getc/ungetc
1020 requires no system calls whereas fseek maps to one or two
1021 system call(s) on many platforms.
1023 * config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
1025 * config/os/solaris/solaris2.5/bits/os_defines.h
1026 (_GLIBCPP_AVOID_FSEEK): Likewise.
1027 * config/os/solaris/solaris2.6/bits/os_defines.h
1028 (_GLIBCPP_AVOID_FSEEK): Likewise.
1029 * config/os/solaris/solaris2.7/bits/os_defines.h
1030 (_GLIBCPP_AVOID_FSEEK): Likewise.
1032 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
1034 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change to
1035 AC_TRY_COMPILE, so that the built compiler is checked, and
1036 bootstraps or cross compiles with an older compile still work.
1037 * aclocal.m4: Regenerate.
1038 * configure: Regenerate.
1040 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
1043 * include/bits/std_sstream.h: Add allocator_type, as per DR 251.
1046 * include/bits/istream.tcc (getline, get): Fix as per DR 243.
1049 * include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
1052 * include/bits/limits_generic.h: Fix as per DR 184.
1054 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
1057 * include/bits/basic_string.h (string::compare): Adjust signatures
1059 * include/bits/basic_string.tcc: And here.
1062 * config/c_io_stdio.h: Remove whitespace.
1063 * testsuite/27_io/istream_seeks.cc (test03): Add regression.
1064 (test02): Add regression.
1065 * testsuite/27_io/istream_seeks-3.tst: New file.
1067 2001-06-11 Phil Edwards <pme@sources.redhat.com>
1069 * README: Update to reflect reality.
1070 * acinclude.m4: Update descriptions, fix typos. Comment changes only.
1071 * configure.in: Make certain target_alias is set and subst'd for 2.50.
1072 * aclocal.m4: Regenerate.
1073 * configure: Regenerate (with 2.13).
1075 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
1078 * include/bits/ostream.tcc (ostream::seekp): Add error checking as
1080 * include/bits/istream.tcc (istream::seekg): Same.
1081 * testsuite/27_io/istream_seeks.cc: Fix.
1084 * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
1086 * include/bits/std_queue.h: Add c++config.h.
1087 * testsuite/20_util/binders.cc: New test.
1089 2001-06-11 Matthias Klose <doko@debian.org>
1090 Phil Edwards <pme@sources.redhat.com>
1092 * docs/doxygen/run_doxygen (find_doxygen): Tweak version check.
1093 (main script): Echo more information.
1095 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
1097 * include/c_std/bits/std_cwchar.h: Alphabetize.
1098 * include/bits/char_traits.h: Tweak.
1099 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
1100 everything used by std_cwchar.h.
1101 * aclocal.m4: Regenerate.
1102 * configure.in: Regenerate.
1103 * config.h.in: Regenerate.
1105 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
1107 * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
1108 Add checking for strtof, _Exit in stdlib.h
1109 * aclocal.m4: Regenerate.
1110 * configure.in: Regenerate.
1111 * include/c_std/bits/std_cstdio.h: Alphabetize lists.
1112 (snprintf): Put C99 functions into __gnu_cxx namespace.
1117 * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
1118 for C99 functions within _GLIBCPP_USE_C99 guard.
1122 * include/bits/locale_facets.tcc: Check if C99 is enabled.
1123 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
1125 * include/c_std/bits/cmath.tcc: Formatting tweak.
1126 * include/c_std/bits/std_cmath.h: Same.
1128 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
1130 * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
1132 2001-06-09 Alexandre Oliva <aoliva@redhat.com>
1133 Stephen L Moshier <moshier@mediaone.net>
1135 * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
1136 nothing, as in autoconf 2.50.
1137 * configure: Rebuilt.
1139 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
1141 * include/c_std/bits/std_cwchar.h: Remove size_t injection,
1142 include std_cstddef.
1143 * include/c_std/bits/std_ctime.h: Same.
1144 * include/c_std/bits/std_cstring.h: Same.
1145 * include/c_std/bits/std_cstdlib.h: Same.
1147 * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
1148 * include/c_std/bits/std_cctype.h: Remove isblank.
1150 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
1152 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
1154 * aclocal.m4: Regenerate.
1155 * configure: Regenerate.
1156 * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
1157 injection, guard fgetwc, fgetws.
1158 * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
1159 * include/c_std/bits/std_clocale.h: And here.
1160 * include/c_std/bits/std_cctype.h: And here.
1161 * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
1163 * config/basic_file_stdio.h: Don't include unistd.h.
1164 * config/c_io_stdio.h: Don't use compatibility headers.
1165 * libsupc++/eh_terminate.cc: Qualify abort.
1166 (__terminate): And here.
1167 * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
1169 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
1171 * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
1173 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
1178 * include/std/*: Add copyright notice.
1179 * include/c_std/bits/*: Use using statements instead of extern "C".
1180 * include/c_std/bits/std_cmath.h: Don't overload double versions
1181 of math functions with __buitin versions, use global version to
1182 prevent ambiguities. Remove define hacks.
1183 * include/c_std/bits/std_cwchar.h: Using declarations for "C"
1184 functions that have changed signatures and std::
1185 declarations. Remove define hacks.
1186 * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
1187 __builtins in std::. Remove define hacks.
1188 * testsuite/17_intro/headers_c.cc: Add tests.
1189 * testsuite/17_intro/headers_c++.cc: Add test.
1191 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
1192 John David Anglin <dave@hiauly1.hia.nrc.ca>
1195 * libsupc++/eh_alloc.cc: Ensure that required macros are
1196 defined before including gthr.h. Ensure that we get the
1197 version of gthr.h for which we know how to provide a
1199 * libsupc++/eh_globals.cc: Likewise. And, bring the threading
1200 code path into line with the current EH model. Use std, where
1203 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
1204 John David Anglin <dave@hiauly1.hia.nrc.ca>
1206 * config/threads-no.h: Remove file.
1207 * config/threads-posix.h: Remove file.
1209 * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
1210 (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
1211 (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
1212 * config.h.in: Regenerate.
1214 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
1215 setup and use gthr*.h files. In particular, make gthr.h files
1216 namespace-clean in the staging area (they don't have to be for
1218 * aclocal.m4: Regenerate.
1219 * configure: Regenerate.
1221 * src/Makefile.am (build_headers): Remove bits/c++threads.h
1222 and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
1223 * src/Makefile.in: Regenerate.
1225 * include/bits/c++config: Cleanup threading configuration macros.
1226 In particular, define __STL_GTHREADS macro which controls...
1227 * include/bits/stl_threads.h: ...a brand new gthr.h-based
1230 * config/c_io_stdio.h: Include staged gthr.h instead of local
1231 thread configuration file. Always use __gthread_mutex_t
1232 instead of __mutext_type (or int).
1233 * include/bits/std_fstream.h: Likewise.
1235 * docs/html/17_intro/howto.html: Remove placeholder comment in
1236 case this configuration patch didn't make it. Add advice that
1237 section only applies if configured with --enable-threads.
1238 * docs/html/23_containers/howto.html: Reword to make clear
1239 that _PTHREADS is no longer required for any port to be
1240 correctly using STL with threads. Add advice that section
1241 only applies if configured with --enable-threads.
1243 2001-06-06 Benjamin Kosnik <bkoz@redhat.com>
1245 * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
1247 2001-06-05 Benjamin Kosnik <bkoz@redhat.com>
1250 * include/bits/basic_ios.tcc: Formatting tweaks.
1251 * include/bits/ios_base.h: Formatting tweaks.
1252 * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
1253 (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
1254 * src/globals.cc: Allocate filebufs for standard streams here.
1255 (buf_cout, buf_cin, buf_cerr): Like so.
1256 (buf_wcout, buf_wcin, buf_wcerr): And so.
1257 * testsuite/27_io/ios_init.cc: Add.
1259 2001-06-04 Brendan Kehoe <brendan@zen.org>
1260 Benjamin Kosnik <bkoz@redhat.com>
1263 * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
1264 for generic ctype virtuals.
1265 * src/locale.cc: Minor tweaks, naming consistency.
1266 * testsuite/22_locale/ctype.cc: Add test.
1268 2001-06-04 Kenny Simpson <theonetruekenny@yahoo.com>
1269 Phil Edwards <pme@sources.redhat.com>
1271 PR libstdc++/3035 and PR libstdc++/3036
1272 * include/bits/stl_pair.h: Fix pair ctor and make_pair according
1273 to LWG DR 181 and 265.
1275 2001-06-04 Phil Edwards <pme@sources.redhat.com>
1278 * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
1279 equal_range): Add const overloads as per LWG DR 214.
1280 * include/bits/stl_set.h: Likewise.
1282 2001-06-04 Brendan Kehoe <brendan@zen.org>
1283 Phil Edwards <pme@sources.redhat.com>
1286 * include/bits/std_bitset.h (bitset::test): Fix __pos >= _Nb
1287 comparison; all positions must be < _Nb.
1288 * testsuite/23_containers/bitset_members.cc: New file.
1290 2001-06-04 Brendan Kehoe <brendan@zen.org>
1293 * include/bits/stl_queue.h (classes queue, priority_queue): Fix
1294 ctors to match the standard.
1296 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
1298 * include/bits/char_traits.h (move): Reverse qualification of
1300 (copy): Reverse qualification of memcpy with std::.
1302 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
1304 * include/bits/char_traits.h (move): Qualify memmove with std::.
1305 (copy): Qualify memcpy with std::.
1306 * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
1309 * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
1311 2001-06-04 Hans-Peter Nilsson <hp@axis.com>
1313 * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
1314 uninstall-glibcppinstallHEADERS): Have explicit rules catering to
1315 SUN make VPATH peculiarities.
1316 * libsupc++/Makefile.in: Regenerate.
1318 2001-06-01 Hans-Peter Nilsson <hp@axis.com>
1320 * src/Makefile.am (VPATH): Delimit with ":", not space.
1321 * src/Makefile.in: Regenerate.
1323 * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
1325 * configure: Regenerate.
1327 2001-05-31 scott snyder <snyder@fnal.gov>
1330 * include/bits/istream.tcc: Include std_ostream.h.
1332 2001-05-31 Benjamin Kosnik <bkoz@redhat.com>
1335 * src/bitset.cc: Qualify size_t with std::.
1337 2001-05-30 Benjamin Kosnik <bkoz@redhat.com>
1339 * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
1340 (_GLIBCPP_BUGGY_COMPLEX): Remove.
1341 * config.h.in: Regenerate.
1342 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
1343 * aclocal.m4: Regenerate.
1344 * configure.in: Don't call it.
1345 * configure: Regenerate.
1348 * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
1349 * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
1353 * include/bits/std_complex.h: Include sstream. Put definitions for
1354 complex inserters and extractors here, and remove them from...
1355 * src/complex_io.cc: ...here.
1356 * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
1358 (basic_ios::__numget_type): Same.
1359 * include/bits/std_istream.h: Same.
1360 * include/bits/std_ostream.h: Same.
1361 * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
1362 class iterator template arguments.
1363 * src/locale-inst.cc: Add explicit has_facet instantiations.
1364 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
1365 (_M_get_fnumput): Remove.
1366 (_M_get_fnumget): Remove.
1367 (basic_ios::_M_check_facet): New function.
1368 (basic_ios::_M_cache_facets): New function.
1369 * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
1370 (basic_ios::imbue): Call _M_cache_facets.
1371 (basic_ios::init): Same.
1372 * include/bits/istream.tcc: Format, use _M_check_facet.
1373 * include/bits/ostream.tcc: Same.
1374 * include/bits/locale_facets.tcc (__output_float): Change
1375 signature, add _Traits.
1376 * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
1379 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
1381 * include/bits/c++config (__USE_MALLOC): Do not define it.
1382 Document why not and give pointers to more information.
1384 * docs/html/23_containers/howto.html: Update documentation
1385 to reflect recent understanding of problem.
1386 * docs/html/17_intro/howto.html: Likewise.
1388 2001-05-30 Phil Edwards <pme@sources.redhat.com>
1390 * docs/doxygen/user.cfg.in: Minor addition.
1391 * docs/html/documentation.html: Reorganize. Put most-looked-at
1393 * docs/html/install.html: Update for 3.0. HTML fixups.
1394 * docs/html/17_intro/howto.html: Likewise.
1395 * docs/html/18_support/howto.html: Likewise.
1396 * docs/html/19_diagnostics/howto.html: Likewise.
1397 * docs/html/20_util/howto.html: Likewise.
1398 * docs/html/23_containers/howto.html: Likewise.
1399 * docs/html/24_iterators/howto.html: Likewise. More notes.
1400 * docs/html/25_algorithms/howto.html: Likewise.
1401 * docs/html/26_numerics/howto.html: Likewise. More notes.
1402 * docs/html/27_io/howto.html: Likewise.
1403 * docs/html/ext/howto.html: Likewise.
1404 * docs/html/faq/index.html: Likewise.
1405 * docs/html/faq/index.txt: Regenerate.
1406 * docs/html/27_io/iostreams_hierarchy.pdf: Remove in favor of
1407 Doxygen-created documentation.
1409 2001-05-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1411 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
1412 get_multilibs to find gcc.
1414 2001-05-30 Phil Edwards <pme@sources.redhat.com>
1416 * acinclude.m4 (GLIBCPP_ENABLE_C99): Reorder output messages.
1417 * aclocal.m4: Regenerate.
1418 * configure: Regenerate.
1420 2001-05-29 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1422 * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
1423 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
1425 2001-05-27 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1427 * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
1428 * include/c_std/bits/std_cstdlib.h: Same.
1429 * include/c_std/bits/std_cwchar.h: Same.
1431 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
1433 * docs/html/17_intro/howto.html: Update link.
1434 * docs/html/23_containers/howto.html: Likewise. Add new link.
1436 2001-05-26 Gabriel Dos Reis <gdr@codesourcery.com>
1438 * include/c_std/bits/std_cmath.h (sqrt): #undef.
1440 2001-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1442 * mknumeric_limits: Stop if gen-num-limits dies.
1444 2001-05-25 Benjamin Kosnik <bkoz@redhat.com>
1447 * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
1448 * aclocal.m4: Regenerate.
1451 2001-05-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1452 Phil Edwards <pme@sources.redhat.com>
1453 Alexandre Oliva <aoliva@redhat.com>
1455 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
1456 in an amd-safe manner. Revert glibcpp_prefixdir.
1458 2001-05-25 Gabriel Dos Reis <gdr@codesourcery.com>
1460 * include/c_std/bits/std_cmath.h: Tweak. #define away abs, cos,
1461 fabs, sin, sqrt. They are now implemented in terms of __builtin_
1464 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
1467 * testsuite/21_strings/inserters_extractors.cc (test09): New test.
1468 * include/bits/ostream.tcc: Format to match istream.tcc.
1469 (operator<<(basic_ostream __out, const basic_string __s)): Fix.
1471 2001-05-24 Phil Edwards <pme@sources.redhat.com>
1473 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Qualify
1475 (__cxa_free_exception): Likewise with free.
1477 2001-05-24 Mark Mitchell <mark@codesourcery.com>
1479 * include/c_std/bin/std_cstring.h: #define away all global
1480 functions we will redeclare in namespace `std'.
1481 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
1482 std::memset, instead of memset.
1483 * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
1485 * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
1488 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
1491 * include/bits/basic_ios.tcc: Small tweak.
1492 * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
1493 ctors and dtors, and rdbuf settings.
1496 * include/bits/std_sstream.h: Same, but for stringstream classes.
1497 * testsuite/27_io/ostringstream_members.cc: New.
1498 * testsuite/27_io/stringstream_members.cc: New.
1499 * testsuite/27_io/fstream_members.cc: New.
1500 * testsuite/27_io/ifstream_members.cc: Add test.
1501 * testsuite/27_io/istringstream_members.cc: Add test.
1502 * testsuite/27_io/ofstream_members.cc: Add test.
1504 2001-05-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1506 * include/bits/c++config(__NO_MATH_INLINES): Move to...
1507 * config/os/gnu-linux/bits/os_defines.h: ...here.
1509 2001-05-24 Gabriel Dos Reis <gdr@codesourcery.com>
1511 * include/bits/c++config (__NO_MATH_INLINES): New macro.
1512 * testsuite/26_numerics/fabs_inline.cc (main): New test.
1514 2001-05-22 Benjamin Kosnik <bkoz@redhat.com>
1517 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
1519 (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
1520 (libstdc++-v3-finish): Remove.
1521 (libstdc++-v3_exit): Remove.
1523 2001-05-22 Phil Edwards <pme@sources.redhat.com>
1525 * docs/html/documentation.html: Point to doxygen output.
1527 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
1529 * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
1531 * include/bits/std_sstream.h (stringbuf::setbuf): Require both
1532 arguments to be non-null.
1533 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
1534 try allocations if allocated size is greater than zero.
1535 (filebuf::_M_filebuf_init): Change to
1536 (filebuf::_M_allocate_file): Which is what it does now.
1537 (filebuf::_M_allocate_bufers): Change to
1538 (filebuf::_M_allocate_internal_buffer): This, and create
1539 (filebuf::_M_allocate_pback_buffer): New.
1540 (filebuf::_M_destroy_internal_buffer): New.
1541 (filebuf::_M_buf_allocated): New data member.
1542 (filebuf::setbuf): Use new logic, allow use of external buffer.
1543 * testsuite/27_io/stringbuf_virtuals.cc: New file.
1544 * testsuite/27_io/filebuf_virtuals.cc: New file.
1546 2001-05-21 Stephen M. Webb <stephen@bregmasoft.com>
1548 * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
1550 (strchr): Same, but to __glibcpp_strchr.
1554 * include/c_std/bits/std_cwchar.h (wcschr): Same.
1560 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
1562 * testsuite/21_strings/c_strings.cc (main): Fix.
1564 2001-05-19 Phil Edwards <pme@sources.redhat.com>
1566 * acinclude.m4: Fix --help spacing, correct comments.
1567 * aclocal.m4: Regenerate.
1568 * configure: Regenerate.
1569 * mkcheck.in: Add usage comments.
1570 * docs/html/documentation.html: Point to doxygen'd tarball.
1572 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
1574 * testsuite/README: Add notes.
1576 * src/Makefile.am (libstdc++.INC): Remove.
1577 * src/Makefile.in: Regenerate.
1579 Phil Edwards <pedwards@disaster.jaj.com>
1580 * mkcheck.in: Add missing '#'.
1582 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
1584 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
1585 appropriately for remote testing and testing installed files without
1588 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
1590 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
1591 amd glibcpp_prefixdir with absolute paths.
1593 * include/bits/c++config (__GLIBCPP__): Bump.
1594 * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
1596 2001-05-18 Gabriel Dos Reis <gdr@codesourcery.com>
1598 * include/bits/std_valarray.h (valarray<>::operator[] const):
1599 Return a const reference.
1600 * testsuite/26_numerics/valarray_const_bracket.cc: New test.
1602 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
1604 * configure.target (ATOMICITYH): Actually use AIX-specific code on
1605 earlier versions of AIX 4.*.
1607 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
1609 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set
1610 output_file based on the name of the testcase.
1612 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
1614 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Build
1615 gluefile and use it if needs_status_wrapper is set.
1617 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
1619 * configure.target (ATOMICITYH): Use cpu/generic code on earlier
1622 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
1624 * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
1625 on earlier versions of AIX.
1627 2001-05-15 Benjamin Kosnik <bkoz@redhat.com>
1629 * testsuite_flags.in (query): Add backwards, ext directories.
1631 2001-05-15 Mark Mitchell <mark@codesourcery.com>
1633 * porting.texi: Correct documentation about handling
1634 _LARRGEFILE_SOURCE and its ilk.
1635 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
1636 definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
1638 * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
1639 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
1641 2001-05-15 Zack Weinberg <zackw@stanford.edu>
1643 * testsuite/21_strings/inserters_extractors.cc,
1644 testsuite/27_io/istream_unformatted.cc,
1645 testsuite/27_io/stringstream.cc:
1646 Replace multi-line string constants with C89-style
1647 concatenated string constants.
1649 2001-05-14 Richard Henderson <rth@redhat.com>
1651 * mknumeric_limits: Build with -fno-exceptions.
1653 2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
1655 Switch over to new harness.
1656 * testsuite_flags.in: Tweaks via Gaby.
1657 * testsuite/Makefile.am: Change tool to libstdc++-v3.
1658 (EXPECT): Quote directly.
1660 * configure.in: Output testsuite_flags.
1661 * acinclude.m4: Substitute src, bld, and prefix dirs.
1662 Remove glibcpp_expect, glibcpp_runtestflags.
1663 * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
1664 * mkcheck.in: Port to new interface.
1666 * aclocal.m4: Regerate.
1667 * configure: Regnerate.
1668 * Makefile.in: Regnerate.
1669 * */Makefile.in: Regenerate.
1671 * tests_flags.in: Remove.
1672 * testsuite/lib/libstdc++.exp: Remove.
1673 * testsuite/libstdc++.tests/tests.exp: Remove.
1675 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
1677 * configure.target: Remove detection of AIX pthread multilib, now
1678 obtained from `gcc -v'.
1680 2001-05-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
1682 * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
1683 size. Add hpux case for HP size.
1685 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
1687 * testsuite_flags.in: New, simplified interface.
1688 * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
1689 * testsuite/libstdc++-v3.dg: Add.
1690 * testsuite/libstdc++-v3.dg/dg.exp: Add.
1692 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
1694 * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
1695 * testsuite/config/default.exp: Update bugs email address.
1697 2001-05-11 Richard Henderson <rth@redhat.com>
1699 * libsupc++/eh_personality.cc: Include unwind-pe.h. Remove
1700 all pointer encoding logic.
1701 (struct lsda_header_info): Add ttype_base.
1702 (get_ttype_entry): Use it instead of a context.
1703 (check_exception_spec): Likewise.
1704 (PERSONALITY_FUNCTION): Initialize ttype_base. Store it in
1705 the c++ exception header for __cxa_call_unexpected.
1706 (__cxa_call_unexpected): Use it.
1708 2001-05-09 Benjamin Kosnik <bkoz@redhat.com>
1710 * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
1711 libgloss_link_flags to find crt0.o for targets that use libgloss
1713 Change LDFLAGS to LIBS.
1714 Consistently name procedures libstdc++-XXX.
1715 * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
1717 2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
1719 * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
1724 * include/c_std/bits/std_cwchar.h (wcschr): Same.
1729 * testsuite/21_strings/c_strings.cc: Add tests.
1731 2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
1734 * include/bits/std_fstream.h (basic_filebuf): Change signature.
1735 * include/bits/fstream.tcc (basic_filebuf): Change bool argument
1736 to int_type, pass in buffer size info.
1737 * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
1738 unbuffered situation.
1739 (underflow): Remove codecvt bits for the time being.
1740 * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
1741 * include/bits/locale_facets.tcc (_M_extract): Cache dereference
1742 values from iterators, clean.
1743 * src/locale.cc: Ditto.
1744 * include/bits/sbuf_iter.h: Format.
1745 * src/ios.cc: Explicitly pass in buffer sizes at creation time.
1746 * testsuite/27_io/narrow_stream_objects.cc: Add tests.
1747 * testsuite/27_io/filebuf.cc: Tweaks.
1748 * testsuite/27_io/filebuf_members.cc: Tweaks.
1750 2001-05-07 Mark Mitchell <mark@codesourcery.com>
1752 * config/os/solaris/solaris2.7/bits/os_defines.h
1753 (_LARGEFILE_SOURCE): Define it.
1755 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
1757 * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
1758 -prefer-non-pic depending on whether libtool has shared libraries
1759 enabled or disabled.
1760 * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
1761 $(LIBSUPCXX_PICFLAGS).
1762 * configure, */Makefile.in: Rebuilt.
1764 2001-05-01 Benjamin Kosnik <bkoz@redhat.com>
1766 * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
1767 * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
1769 * include/bits/std_sstream.h (stringbuf): Leak
1771 * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
1773 2001-05-01 Tom Browder <tbrowder@home.com>
1775 * docs/html/ext/howto.html: Fix typo.
1777 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
1779 * testsuite/libstdc++.tests/tests.exp: Add comment.
1781 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
1783 * testsuite/libstdc++.tests/tests.exp: Set ulimits.
1785 2001-04-30 Mark Mitchell <mark@codesourcery.com>
1787 * porting.texi: Use the GFDL.
1789 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
1792 * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
1793 * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
1796 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
1799 * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
1801 2001-04-28 Phil Edwards <pme@sources.redhat.com>
1803 * docs/doxygen/run_doxygen: Minor tweaks.
1804 * docs/doxygen/style.css: New file.
1805 * docs/doxygen/user.cfg.in: Update using "doxygen -u" to get the
1806 latest parameters available. Use style.css.
1808 2001-04-27 Benjamin Kosnik <bkoz@redhat.com>
1810 * docs/doxygen/mainpage.doxy: New.
1811 * docs/doxygen/user.cfg.in: Change default configuration. Single
1812 frame, other tweaks.
1814 2001-04-26 Mark Mitchell <mark@codesourcery.com>
1816 * docs/html/17_intro/BADNAMES: Remove EGCS reference.
1817 Indicate obsolete nature of thelist for G++ 3.0.
1819 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
1821 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
1822 target_thread_file with `gcc -v'.
1823 * aclocal.m4, configure: Rebuilt.
1825 2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
1827 * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
1828 * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
1829 * include/c_std/bits/std_cwchar.h (std): Same.
1830 * acconfig.h (std): Remove c99 injection into std.
1831 * config.h.in: Regenerate.
1833 * testsuite/README: Fix typo.
1835 * include/bits/codecvt.h: Remove warnings.
1837 2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1839 * include/ext/slist: Include required header files.
1841 2001-04-23 Loren J. Rittle <ljrittle@acm.org>
1843 * include/c_std/bits/std_cerrno.h (errno): Define macro from
1844 identifier declared with external linkage, if needed.
1845 * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
1846 * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
1848 2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
1850 * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
1851 re-configures find the build compiler.
1852 (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
1854 * aclocal.m4: Regenerate.
1855 * configure: Regenerate.
1857 2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
1859 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
1860 support is enabled correctly before long long is activated.
1861 * aclocal.m4: Regenerate.
1862 * configure: Regenerate.
1864 * include/backward/backward_warning.h: Format correctly.
1866 * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
1867 * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
1868 * testsuite/26_numerics/c99_macros.cc: Remove.
1870 2001-04-20 Phil Edwards <pme@sources.redhat.com>
1872 * include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
1873 __iterator_category.
1875 2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
1877 * acconfig.h (_GLIBCPP_USE_C99): Add.
1878 * config.h.in: Regenerate.
1879 * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
1881 * aclocal.m4: Regenerate.
1882 * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
1883 * configure: Regenerate.
1884 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
1885 * configure: Regenerate.
1886 * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
1888 * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
1890 * include/c_std/bits/std_cstdlib.h: Same.
1891 * docs/html/configopts.html: Update.
1892 * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
1894 (test_c99_classify): Add.
1895 * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
1896 (_ISOC99_SOURCE): Remove.
1898 * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
1899 * include/bits/c++config (__STL_ASSERTIONS): Simplify.
1900 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
1901 * aclocal.m4: Regenerate.
1902 * configure: Regenerate.
1904 2001-04-19 Phil Edwards <pme@sources.redhat.com>
1906 * Makefile.am (doxygen): Assume script is missing execute perms.
1907 * Makefile.in: Regenerated.
1908 * docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
1910 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
1912 * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
1914 2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
1916 * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
1917 * testsuite/23_containers/set_operators.cc: Same.
1919 * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
1921 (__GLIBCPP__): Bump from value of last release.
1922 * include/bits/concept_check.h: Default to off, edit comments.
1923 * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
1924 * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
1925 * src/Makefile.in: Regenerate.
1927 2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE>
1929 * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
1930 Properly uglify member.
1932 2001-04-13 Phil Edwards <pme@sources.redhat.com>
1934 * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead
1938 2001-04-13 Phil Edwards <pme@sources.redhat.com>
1940 * include/bits/boost_concept_check.h: Uglify, fork from Boost.
1941 * include/bits/concept_check.h: Uglify.
1942 * include/bits/stl_algo.h: Likewise.
1943 * include/bits/stl_algobase.h: Likewise.
1944 * include/bits/stl_deque.h: Likewise.
1945 * include/bits/stl_heap.h: Likewise.
1946 * include/bits/stl_iterator_base_funcs.h: Likewise.
1947 * include/bits/stl_list.h: Likewise.
1948 * include/bits/stl_map.h: Likewise.
1949 * include/bits/stl_multimap.h: Likewise.
1950 * include/bits/stl_multiset.h: Likewise.
1951 * include/bits/stl_numeric.h: Likewise.
1952 * include/bits/stl_queue.h: Likewise.
1953 * include/bits/stl_set.h: Likewise.
1954 * include/bits/stl_stack.h: Likewise.
1955 * include/bits/stl_vector.h: Likewise.
1956 * include/ext/hash_map: Likewise.
1957 * include/ext/hash_set: Likewise.
1958 * include/ext/slist: Likewise.
1960 2001-04-13 Gabriel Dos Reis <gdr@codesourcery.com>
1962 * testsuite/23_containers/set_operators.cc: Just try to compile.
1964 * testsuite/23_containers/map_operators.cc: Same.
1966 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
1968 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
1970 (dg-test): Revert rth's change.
1972 2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
1974 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
1975 terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
1977 2001-04-12 Gabriel Dos Reis <gdr@codesourcery.com>
1979 * testsuite/README: Add DejaGnu specific documentation.
1981 2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
1983 * acinclude.m4: AC_CHECK_TOOL for expect.
1984 * aclocal.m4: Regenerate.
1985 * configure: Regenerate.
1986 * testsuite/Makefile.am (RUNTEST): Use substituted.
1989 * configure.in: Remove xcompiling substitution.
1990 * tests_flags.in (CROSS_LIB_PATH): Remove.
1991 (xcompiling): Remove.
1992 (CXX): Use substituted CXX.
1994 2001-04-11 Richard Henderson <rth@redhat.com>
1996 * testsuite/lib/libstdc++.exp: Specify path for output_file.
1998 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
2000 * include/bits/std_valarray.h(valarray<>::operator[]): Make
2003 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
2005 * testsuite/25_algorithms/equal.cc: New test.
2007 2001-04-06 Joe Buck <jbuck@welsh-buck.org>
2009 * stl_algobase.h (std::equal): avoid use of possibly-undefined
2010 operator != (one line patch).
2012 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
2014 * include/backward/backward_warning.h: Re-enable.
2016 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
2017 Alexandre Oliva <aoliva@redhat.com>
2019 * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
2021 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
2023 * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
2024 * testsuite/26_numerics/c99_macros.cc: Add test.
2026 2001-04-06 Phil Edwards <pme@sources.redhat.com>
2028 * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES.
2029 * docs/html/faq/index.txt: Regenerated.
2031 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
2033 * include/backward/backward_warning.h: Temporarily disable until
2034 g++ testsuite changes go in.
2035 * tests_flags.in (CROSS_LIB_PATH): Add.
2037 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
2039 Warn when using backward headers.
2040 * include/backward/algo.h: Include warning file.
2041 * include/backward/vector.h: Same.
2042 * include/backward/tree.h: Same.
2043 * include/backward/tempbuf.h: Same.
2044 * include/backward/strstream: Same.
2045 * include/backward/streambuf.h: Same.
2046 * include/backward/stream.h: Same.
2047 * include/backward/stack.h: Same.
2048 * include/backward/slist.h: Same.
2049 * include/backward/set.h: Same.
2050 * include/backward/rope.h:
2051 * include/backward/queue.h: Same.
2052 * include/backward/pair.h: Same.
2053 * include/backward/ostream.h: Same.
2054 * include/backward/new.h: Same.
2055 * include/backward/multiset.h: Same.
2056 * include/backward/multimap.h: Same.
2057 * include/backward/map.h: Same.
2058 * include/backward/list.h: Same.
2059 * include/backward/iterator.h: Same.
2060 * include/backward/istream.h: Same.
2061 * include/backward/iostream.h:
2062 * include/backward/iomanip.h:
2063 * include/backward/heap.h: Same.
2064 * include/backward/hashtable.h:
2065 * include/backward/hash_set.h:
2066 * include/backward/hash_map.h:
2067 * include/backward/function.h:
2068 * include/backward/fstream.h:
2069 * include/backward/deque.h:
2070 * include/backward/defalloc.h: Same.
2071 * include/backward/complex.h: Same.
2072 * include/backward/bvector.h:
2073 * include/backward/alloc.h:
2074 * include/backward/algobase.h: Same.
2076 * include/backward/backward_warning.h: New file.
2077 * src/Makefile.am (backward_headers): Add backward_warning.h
2078 * src/Makefile.in: Regenerate.
2080 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
2082 * src/Makefile.am (myinstalldirs): Make sure backward directory is
2084 (myinstallheaders): Install backward headers in backward directory.
2085 * src/Makefile.in: Regenerate.
2087 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
2089 Prepare for libstdc++-2.92.
2090 * docs/html/17_intro/RELEASE-NOTES (New): Update.
2091 * docs/html/configopts.html: Fix formatting.
2092 * README (file): Updates.
2093 * include/bits/c++config (__GLIBCPP__): Update.
2095 2001-04-05 Phil Edwards <pme@sources.redhat.com>
2097 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
2099 2001-04-04 Phil Edwards <pme@sources.redhat.com>
2101 * docs/doxygen/user.cfg.in: Extract all non-private members;
2102 reduce confusing documentation output.
2104 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
2106 * include/backward/fstream.h: Add missing semicolons.
2108 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
2110 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
2111 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
2112 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
2113 (ios_base::Init::_S_ios_create): New.
2114 (ios_base::Init::_S_ios_destroy): New.
2115 * include/bits/std_fstream.h: Change ctor args.
2116 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
2117 (ios_base::Init::~Init): Use _S_ios_destroy.
2118 (ios_base::sync_with_stdio): Use new members.
2119 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
2122 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2124 * include/backward/fstream.h: Expose streampos to global
2127 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2129 * include/bits/stl_iterator_base_types.h: Fix typo
2131 2001-04-03 Andreas Schwab <schwab@suse.de>
2133 * include/backward/fstream.h: Define filebuf and wfilebuf.
2135 2001-04-02 Phil Edwards <pme@sources.redhat.com>
2137 New concept checking implementation.
2138 * docs/html/19_diagnostics/howto.html: Document.
2139 * docs/html/17_intro/concept_check.diff: New file, for reference.
2140 * include/bits/boost_concept_check.h: New file from Boost.
2141 * include/bits/c++config: Update comments.
2143 * include/bits/concept_check.h: New file.
2144 * include/bits/concept_checks.h: Removed.
2145 * include/bits/container_concepts.h: Removed.
2146 * include/bits/sequence_concepts.h: Removed.
2147 * include/bits/stl_iterator_base.h: Removed; split into...
2148 * include/bits/stl_iterator_base_funcs.h: ...this new file...
2149 * include/bits/stl_iterator_base_types.h: ...and this new file.
2151 * include/bits/sbuf_iter.h: Update to use new implementation.
2152 * include/bits/std_iterator.h: Likewise.
2153 * include/bits/std_memory.h: Likewise.
2154 * include/bits/stl_algo.h: Likewise.
2155 * include/bits/stl_algobase.h: Likewise.
2156 * include/bits/stl_construct.h: Likewise.
2157 * include/bits/stl_deque.h: Likewise.
2158 * include/bits/stl_heap.h: Likewise.
2159 * include/bits/stl_list.h: Likewise.
2160 * include/bits/stl_map.h: Likewise.
2161 * include/bits/stl_multimap.h: Likewise.
2162 * include/bits/stl_multiset.h: Likewise.
2163 * include/bits/stl_numeric.h: Likewise.
2164 * include/bits/stl_queue.h: Likewise.
2165 * include/bits/stl_set.h: Likewise.
2166 * include/bits/stl_stack.h: Likewise.
2167 * include/bits/stl_uninitialized.h: Likewise.
2168 * include/bits/stl_vector.h: Likewise.
2169 * include/ext/hash_map: Likewise.
2170 * include/ext/hash_set: Likewise.
2171 * include/ext/slist: Likewise.
2172 * include/ext/stl_hashtable.h: Likewise.
2174 * src/Makefile.am (base_headers): Update list of headers.
2175 * Makefile.in: Regenerated.
2176 * src/Makefile.in: Regenerated.
2177 * libio/Makefile.in: Regenerated.
2178 * libmath/Makefile.in: Regenerated.
2179 * libsupc++/Makefile.in: Regenerated.
2180 * testsuite/Makefile.in: Regenerated.
2182 * docs/html/install.html: Update contact information.
2183 * docs/html/17_intro/howto.html: Ditto.
2184 * docs/html/18_support/howto.html: Ditto.
2185 * docs/html/20_util/howto.html: Ditto.
2186 * docs/html/21_strings/howto.html: Ditto.
2187 * docs/html/22_locale/howto.html: Ditto.
2188 * docs/html/23_containers/howto.html: Ditto.
2189 * docs/html/24_iterators/howto.html: Ditto.
2190 * docs/html/25_algorithms/howto.html: Ditto.
2191 * docs/html/26_numerics/howto.html: Ditto.
2192 * docs/html/27_io/howto.html: Ditto.
2193 * docs/html/faq/index.html: Ditto, plus info on new checking code.
2194 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
2195 * docs/html/faq/index.txt: Regenerated.
2197 2001-04-02 Zack Weinberg <zackw@stanford.edu>
2199 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
2200 messages with $which_library as well as $tool_flags and
2201 ${dg-extra-tool-flags}. Factor out annotation text into
2204 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
2206 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
2207 * include/c_std/bits/std_cwchar.h: Same.
2208 * testsuite/21_strings/c_strings.cc: Add.
2210 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
2212 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
2214 2001-04-01 Zack Weinberg <zackw@stanford.edu>
2216 * tests_flags.in: Use test a = b, not test a == b which is not
2219 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
2221 * configure.target: Remove duplicate aix entry.
2223 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
2225 * include/ext/stl_bvector.h: Move to...
2226 * include/bits/stl_vector.h: ...here.
2227 * include/ext/bvector: Move to...
2228 * include/backward/bvector.h: ...here.
2229 * include/bits/std_vector.h: Change stl_bvector include.
2230 * include/bits/std_queue.h: Remove bvector include.
2231 * include/ext/tree: Insert using rb_tree, move to...
2232 * include/backward/tree.h: ...here.
2233 * include/backward/hash_map.h: Include ext/hash_map.
2234 * include/backward/hash_set.h: Include ext/hash_set.
2235 * include/backward/queue.h: New file.
2236 * include/backward/stack.h: Edit.
2237 * include/backward/algo.h: Same.
2238 * include/backward/algobase.h: Same.
2239 * include/backward/alloc.h: Same.
2240 * include/backward/function.h: Same.
2241 * include/backward/iomanip.h: Same.
2242 * include/backward/istream.h: Same.
2243 * include/backward/iterator.h: Same.
2244 * include/backward/list.h: Same.
2245 * include/backward/map.h: Same.
2246 * include/backward/multimap.h: Same.
2247 * include/backward/multiset.h: Same.
2248 * include/backward/ostream.h: Same.
2249 * include/backward/pair.h: Same
2250 * include/backward/rope.h: Same.
2251 * include/backward/set.h: Same.
2252 * include/backward/stream.h: Same.
2253 * include/backward/strstream.h: Same.
2254 * include/backward/tempbuf.h: Same.
2255 * src/Makefile.am (ext_headers): Edit.
2256 * src/Makefile.in: Regenerate.
2257 * testsuite/ext/headers.cc (main): Fix.
2260 2001-03-30 Phil Edwards <pme@sources.redhat.com>
2262 * tests_flags.in (LIBS): Pass correct path for installed testing.
2264 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
2266 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
2267 * tests_flags.in (CXX): Construct here.
2268 (static_fail): Don't remove compile.out. Format with spaces.
2269 (INCLUDES): Deal with xcompiling.
2270 * configure.in (xcompiling): Substitute.
2271 * testsuite/Makefile.am: Snake libjava configury.
2272 * testsuite/Makefile.in: Regenerate.
2273 * testsuite/23_containers/map_operators.cc: Tweaks.
2274 * testsuite/23_containers/set_operators.cc: Tweaks.
2276 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2278 Enable dejagnu testing framework.
2279 * configure.in: Generate testsuite/Makefile.
2280 * configure: Regenerate.
2281 * Makefile.am (check-install): Change rule from this...
2282 (check-script-install): ...to this.
2283 (check): Change rule from this...
2284 (check-script):...to this.
2285 * Makefile.in: Regenerate.
2287 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
2289 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
2291 (LIBTOOL): Let automake take care of its definition.
2292 * libsupc++/Makefile.in: Rebuilt.
2294 2001-03-28 Richard Henderson <rth@redhat.com>
2296 IA-64 ABI Exception Handling:
2297 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
2298 * configure.in: Use it.
2299 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
2300 * libsupc++/Makefile.am (sources): Update files list.
2301 * libsupc++/Makefile.in: Regenerate.
2302 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
2303 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
2304 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
2305 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
2306 * libsupc++/exception_support.cc: Remove.
2307 * libsupc++/exception_support.h: Remove.
2308 * libsupc++/pure.cc: Use std::terminate.
2309 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
2310 (__is_pointer): Remove.
2311 * libsupc++/unwind-cxx.h: New file.
2312 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
2314 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
2316 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
2318 * src/Makefile.am (CXXLINK): Likewise.
2319 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
2321 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
2323 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
2325 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2327 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
2330 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
2332 * include/bits/basic_file.h (get_fileno): Remove.
2333 (_M_fileno): Remove.
2334 (_M_cfile_created): Add.
2335 (basic_file::basic_file(__c_file_type*, openmode): Add.
2336 (basic_file::basic_file(int, const char*, openmode): Remove.
2337 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
2338 const char*, ios_base::openmode): Don't allocate
2339 internal buffers. Turn off internal buffers.
2340 (basic_filebuf::overflow): Remove test for null buffer.
2341 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
2342 * include/bits/streambuf.cc: Tweak.
2343 * include/bits/std_ostream.h: Tweak.
2344 * config/basic_file_libio.h: Same.
2345 * config/basic_file_stdio.h: Same.
2346 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
2347 * testsuite/27_io/filebuf_members.cc: Tweaks.
2348 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
2350 2001-03-24 Phil Edwards <pme@sources.redhat.com>
2352 * Makefile.am: New targets, doxygen and doxygen-maint.
2353 * Makefile.in: Regenerated.
2354 * docs/doxygen/run_doxygen: Finally implemented.
2355 * docs/doxygen/maint.cfg.in: New file.
2356 * docs/doxygen/user.cfg.in: New file.
2358 2001-03-24 Phil Edwards <pme@sources.redhat.com>
2360 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
2361 * src/Makefile.am: Replace leading spaces with tabs on continuation
2363 * aclocal.m4: Regenerated.
2365 * Makefile.in: Ditto.
2366 * src/Makefile.in: Ditto.
2367 * libio/Makefile.in: Ditto.
2368 * libmath/Makefile.in: Ditto.
2369 * libsupc++/Makefile.in: Ditto.
2371 2001-03-24 Phil Edwards <pme@sources.redhat.com>
2373 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
2374 concept-checking code and current status of same.
2375 * docs/html/ext/howto.html: Ditto.
2376 * docs/html/faq/index.html: Ditto.
2377 * docs/html/faq/index.txt: Regenerated.
2379 2001-03-24 Phil Edwards <pme@sources.redhat.com>
2381 * include/bits/std_bitset.h: Include ostream and istream headers
2382 instead of iostream.
2384 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
2386 * include/bits/ostream.tcc: Use __builtin_alloca.
2388 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
2390 * src/misc-inst.cc (__sink_unused_warning): Move to...
2391 * src/locale-inst.cc (__sink_unused_warning): Move to...
2392 * src/stl-inst.cc: Here.
2393 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
2396 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
2398 * intclude/bits/basic_file.h: Fix typos in comments.
2400 2001-03-20 Richard Henderson <rth@redhat.com>
2402 * src/gen-num-limits.cc: Instantiate for wchar_t.
2403 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
2405 2001-03-20 Jason Merrill <jason@redhat.com>
2407 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
2408 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
2409 * libsupc++/cxxabi.h: Declare it.
2411 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
2413 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
2414 signal_func with an unspecified argument list.
2416 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
2418 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
2420 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2422 * include/bits/basic_string.tcc (operator+): Fix thinko.
2424 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
2427 * include/bits/std_streambuf.h: Remove cached locale facets.
2428 (basic_streambuf::_M_buf_fctype): Remove.
2429 (basic_streambuf::~basic_streambuf): Remove here.
2430 (basic_streambuf::basic_streambuf): Same.
2431 (basic_streambuf::imbue): Same.
2432 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
2433 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
2434 (basic_filebuf::~basic_filebuf()): Remove here.
2435 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
2436 (basic_filebuf::imbue): Same.
2437 * include/bits/localefwd.h (_Count_ones): Remove.
2438 (locale::_S_num_categories): Just use 6, since this doesn't
2439 actually change, ever.
2440 * include/bits/locale_facets.tcc (has_facet): Simplify.
2442 * testsuite/27_io/filebuf.cc (test06): Add tests.
2444 2001-03-13 Steve Ellcey <sje@cup.hp.com>
2446 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
2447 match HP-UX ctype.h header file.
2449 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
2451 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
2452 duplicate definitions of __dj_ctype_*
2454 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
2456 * libsupc++/new: Remove pragma interface.
2457 * libsupc++/typeinfo: Same.
2458 * libsupc++/exception: Same.
2459 * libsupc++/new_handler.cc: Remove pragma implementation.
2460 (bad_alloc::~bad_alloc()): Add.
2461 * libsupc++/exception_support.cc: Same.
2462 (exception::~exception): Add.
2463 (bad_exception::~bad_exception): Add.
2464 * libsupc++/tinfo.cc: Same.
2465 (bad_cast::~bad_cast): Add.
2466 (bad_typeid::~bad_typeid): Add.
2468 2001-03-13 Phil Edwards <pme@sources.redhat.com>
2470 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
2472 2001-03-12 Felix Lee <flee@redhat.com>
2474 * mkcheck.in: workaround for bash 2.01 IFS bug.
2476 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
2478 Fixups for -fno-for-scope
2479 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
2480 * src/valarray-inst.cc (__gslice_to_index): Same.
2482 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
2484 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
2485 prior to trapping signal (UnixWare 7 workaround).
2487 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
2489 * include/backward/hashtable.h: Same.
2490 * include/backward/rope.h: Fix include.
2492 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
2494 * include/backward/vector.h: Include std_vector.h.
2496 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
2497 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
2500 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2502 * include/ext/stl_hashtable.h: Change type of __n to size_t
2503 * include/backward/bvector.h: Include <ext/stl_bvector.h>
2505 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2507 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
2508 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
2509 Use streamsize, not int_type.
2511 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
2513 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
2516 2001-03-08 Andreas Schwab <schwab@suse.de>
2518 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
2520 * aclocal.m4, configure: Regenerated.
2522 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
2524 * include/bits/std_iosfwd.h: Remove string forward decls here.
2525 * include/bits/stringfwd.h: Add forward decls for char_traits
2527 * config/c_io_libio.h (wstreamoff): Delete.
2528 * config/c_io_stdio.h (wstreamoff): Same.
2529 * include/bits/char_traits.h: Use streamoff not wstreamoff for
2530 char_traits<wchar_t>::off_type.
2531 Remove duplicate typedefs.
2532 * include/bits/fpos.h: Define streampos/wstreampos here.
2533 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
2536 Changeup output files.
2537 * testsuite/27_io/istream_unformatted.cc: Change output files.
2538 * testsuite/27_io/istream_seeks-1.txt: Add.
2539 * testsuite/27_io/istream_seeks-2.tst: Add.
2540 * testsuite/27_io/istream_seeks-1.tst: Add.
2541 * testsuite/27_io/istream_unformatted-2.tst: Delete.
2542 * testsuite/27_io/istream_unformatted-3.tst: Delete.
2543 * testsuite/27_io/istream_unformatted-3.txt: Delete.
2545 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
2547 Add Irix 5.2, 6.3 support.
2548 * config/os/irix/bits: Renamed to...
2549 * config/os/irix/irix6.5/bits: this.
2550 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
2551 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
2552 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
2553 * config/os/irix/irix5.2/bits/ctype_noninline.h
2554 (ctype<char>::ctype): Initialize _M_table with __ctype.
2555 * configure.target: Adjust.
2557 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
2560 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
2561 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
2563 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
2564 (*__pf)(__ios_type&)): Same.
2565 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
2566 (*__pf)(ios_base&))): Same.
2567 * testsuite/27_io/istream_extractor_other.cc: Add tests.
2568 * testsuite/27_io/istream_manip.cc (test01): Fix.
2570 2001-03-06 Nathan Myers <ncm@cantrip.org>
2571 Benjamin Kosnik <bkoz@redhat.com>
2573 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
2574 * testsuite/17_intro/header_cerrno.cc (test01): New file.
2575 * testsuite/17_intro/header_cassert.cc (test01): New file.
2576 * testsuite/17_intro/header_cstddef.cc (test01): New file.
2577 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
2578 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
2580 2001-03-05 scott snyder <snyder@fnal.gov>
2583 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
2585 * include/c_std/bits/std_cstdlib.h: ... to here.
2586 * testsuite/17_intro/header_cstdlib.cc: Add test.
2588 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
2590 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
2592 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
2594 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
2595 definition. Replace enum with static const variables.
2597 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
2598 throw specification, fix typos, use <static_cast>.
2599 (ctype<char>::scan_is): remove throw specification.
2600 (ctype<char>::scan_not): likewise.
2602 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
2603 (ctype<char>::do_toupper(char)): use <static_cast>.
2604 (ctype<char>::do_toupper(char *, const char *)): likewise.
2605 (ctype<char>::do_tolower(char)): likewise.
2606 (ctype<char>::do_tolower(char *, const char *)): likewise.
2608 2001-03-04 Phil Edwards <pme@sources.redhat.com>
2610 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
2611 * include/backward/algo.h: Use std not __STD. Remove unneeded
2612 macros and "never happens" code. Adjust to C++STYLE guidelines.
2613 * include/backward/algobase.h: Likewise.
2614 * include/backward/alloc.h: Likewise.
2615 * include/backward/bvector.h: Likewise.
2616 * include/backward/deque.h: Likewise.
2617 * include/backward/function.h: Likewise.
2618 * include/backward/hash_map.h: Likewise.
2619 * include/backward/hash_set.h: Likewise.
2620 * include/backward/hashtable.h: Likewise.
2621 * include/backward/heap.h: Likewise.
2622 * include/backward/iterator.h: Likewise.
2623 * include/backward/list.h: Likewise.
2624 * include/backward/map.h: Likewise.
2625 * include/backward/multimap.h: Likewise.
2626 * include/backward/multiset.h: Likewise.
2627 * include/backward/pair.h: Likewise.
2628 * include/backward/rope.h: Likewise.
2629 * include/backward/set.h: Likewise.
2630 * include/backward/slist.h: Likewise.
2631 * include/backward/stack.h: Likewise.
2632 * include/backward/strstream: Likewise.
2633 * include/backward/tempbuf.h: Likewise.
2634 * include/backward/tree.h: Likewise.
2635 * include/backward/vector.h: Likewise.
2636 * include/bits/basic_ios.h: Likewise.
2637 * include/bits/basic_ios.tcc: Likewise.
2638 * include/bits/basic_string.h: Likewise.
2639 * include/bits/c++config: Likewise.
2640 * include/bits/concept_checks.h: Likewise.
2641 * include/bits/fpos.h: Likewise.
2642 * include/bits/fstream.tcc: Likewise.
2643 * include/bits/functexcept.h: Likewise.
2644 * include/bits/ios_base.h: Likewise.
2645 * include/bits/istream.tcc: Likewise.
2646 * include/bits/mask_array.h: Likewise.
2647 * include/bits/ostream.tcc: Likewise.
2648 * include/bits/pthread_allocimpl.h: Likewise.
2649 * include/bits/sbuf_iter.h: Likewise.
2650 * include/bits/slice.h: Likewise.
2651 * include/bits/slice_array.h: Likewise.
2652 * include/bits/sstream.tcc: Likewise.
2653 * include/bits/std_bitset.h: Likewise.
2654 * include/bits/std_fstream.h: Likewise.
2655 * include/bits/std_iomanip.h: Likewise.
2656 * include/bits/std_ios.h: Likewise.
2657 * include/bits/std_istream.h: Likewise.
2658 * include/bits/std_iterator.h: Likewise.
2659 * include/bits/std_memory.h: Likewise.
2660 * include/bits/std_ostream.h: Likewise.
2661 * include/bits/std_sstream.h: Likewise.
2662 * include/bits/std_streambuf.h: Likewise.
2663 * include/bits/std_string.h: Likewise.
2664 * include/bits/std_valarray.h: Likewise.
2665 * include/bits/stl_algo.h: Likewise.
2666 * include/bits/stl_algobase.h: Likewise.
2667 * include/bits/stl_alloc.h: Likewise.
2668 * include/bits/stl_construct.h: Likewise.
2669 * include/bits/stl_deque.h: Likewise.
2670 * include/bits/stl_function.h: Likewise.
2671 * include/bits/stl_heap.h: Likewise.
2672 * include/bits/stl_iterator.h: Likewise.
2673 * include/bits/stl_iterator_base.h: Likewise.
2674 * include/bits/stl_list.h: Likewise.
2675 * include/bits/stl_map.h: Likewise.
2676 * include/bits/stl_multimap.h: Likewise.
2677 * include/bits/stl_multiset.h: Likewise.
2678 * include/bits/stl_numeric.h: Likewise.
2679 * include/bits/stl_pair.h: Likewise.
2680 * include/bits/stl_pthread_alloc.h: Likewise.
2681 * include/bits/stl_queue.h: Likewise.
2682 * include/bits/stl_raw_storage_iter.h: Likewise.
2683 * include/bits/stl_relops.h: Likewise.
2684 * include/bits/stl_set.h: Likewise.
2685 * include/bits/stl_stack.h: Likewise.
2686 * include/bits/stl_tempbuf.h: Likewise.
2687 * include/bits/stl_threads.h: Likewise.
2688 * include/bits/stl_tree.h: Likewise.
2689 * include/bits/stl_uninitialized.h: Likewise.
2690 * include/bits/stl_vector.h: Likewise.
2691 * include/bits/streambuf.tcc: Likewise.
2692 * include/bits/type_traits.h: Likewise.
2693 * include/bits/valarray_meta.h: Likewise.
2694 * include/ext/bvector: Likewise.
2695 * include/ext/hash_map: Likewise.
2696 * include/ext/hash_set: Likewise.
2697 * include/ext/ropeimpl.h: Likewise.
2698 * include/ext/slist: Likewise.
2699 * include/ext/stl_bvector.h: Likewise.
2700 * include/ext/stl_hash_fun.h: Likewise.
2701 * include/ext/stl_hashtable.h: Likewise.
2702 * include/ext/stl_rope.h: Likewise.
2703 * src/complex_io.cc: Likewise.
2704 * src/ios.cc: Likewise.
2705 * src/locale-inst.cc: Likewise.
2706 * src/locale.cc: Likewise.
2707 * src/localename.cc: Likewise.
2708 * src/misc-inst.cc: Likewise.
2709 * src/stdexcept.cc: Likewise.
2710 * src/stl-inst.cc: Likewise.
2711 * src/strstream.cc: Likewise.
2712 * src/valarray-inst.cc: Likewise.
2714 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
2716 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
2718 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2720 * include/bits/istream.tcc: change type of __extracted to __size_type
2722 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
2724 * src/wstring-inst.cc: New file.
2725 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
2726 (libinst_wstring_la_SOURCES): Remove.
2727 (libstdc___la_LIBADD): Remove libinst_wstring_la.
2728 (sources): Add wstring-inst.cc
2729 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
2732 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2734 * src/locale.cc: initialise __ret with zero
2735 * src/strstream.cc:cast gptr to int_type
2737 2001-03-01 Phil Edwards <pme@sources.redhat.com>
2739 * docs/html/faq/index.html: Update broken links.
2740 * docs/html/faq/index.txt: Regenerated.
2742 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
2745 * configure.target: Change irix* to irix6.5* in target_os table.
2747 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
2750 * include/bits/c++config (__GLIBCPP__): Bump number in
2751 anticipation of 2.92.
2753 * include/bits/codecvt.h: Fix typo.
2754 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
2756 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
2757 instantiations for stdio model.
2759 2001-02-28 Phil Edwards <pme@sources.redhat.com>
2761 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
2762 and GLIBCPP_CXXFLAGS as unused variables.
2763 * configure.host: Likewise.
2764 * configure.target: Likewise.
2765 * aclocal.m4: Regenerated.
2766 * configure: Regenerated.
2767 * Makefile.in: Regenerated.
2768 * libio/Makefile.in: Regenerated.
2769 * libmath/Makefile.in: Regenerated.
2770 * libsupc++/Makefile.in: Regenerated.
2771 * src/Makefile.in: Regenerated.
2773 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
2776 * include/bits/basic_file.h: Include basic_file_model.h.
2777 * config/c_io_libio.cc: Move to...
2778 * config/basic_file_libio.cc: Here.
2779 * config/basic_file_libio.h: New file.
2780 * config/c_io_stdio.cc: Move to...
2781 * config/basic_file_stdio.cc: Here.
2782 * config/basic_file_stdio.h: New file.
2783 * config/c_io_libio.h: Tweak.
2784 * config/c_io_stdio.h: Tweak.
2785 * src/Makefile.am (build_headers): Add basic_file_model.h.
2786 (sources): Add basic_file.cc, remove c++io.cc.
2787 * src/Makefile.in: Regenerate.
2788 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
2789 basic_file_model.h and basic_file.cc.
2790 * aclocal.m4: Regenerate.
2791 * configure: Regenerate.
2792 * testsuite/27_io/filebuf.cc (test05): Add regression.
2794 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
2797 * config/cpu/alpha/bits/atomicity.h: Change.
2798 * config/cpu/arm/bits/atomicit3y.h
2799 * config/cpu/generic/bits/atomicity.h
2800 * config/cpu/i386/bits/atomicity.h
2801 * config/cpu/i486/bits/atomicity.h
2802 * config/cpu/ia64/bits/atomicity.h
2803 * config/cpu/powerpc/bits/atomicity.h
2804 * config/cpu/sparc/sparc32/bits/atomicity.h
2805 * config/cpu/sparc/sparc64/bits/atomicity.h
2806 * config/os/aix/bits/atomicity.h
2807 * config/os/irix/bits/atomicity.h
2809 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
2811 * include/bits/std_stdexcept.h (runtime_error): Make string
2813 (logic_error): Same.
2814 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
2817 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
2821 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
2822 string object, not reference.
2823 (runtime_error::runtime_error): Same.
2824 * testsuite/19_diagnostics/stdexceptions.cc: New file.
2826 2001-02-26 Phil Edwards <pme@sources.redhat.com>
2828 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
2829 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
2830 diagnostics. Remove WFMT_FLAGS.
2831 * configure.in: Replace WFMT_FLAGS with diagnostics options.
2832 * libsupc++/Makefile.am: Likewise.
2833 * src/Makefile.am: Likewise.
2834 * aclocal.m4: Regenerated.
2835 * configure: Regenerated.
2836 * Makefile.in: Regenerated.
2837 * libio/Makefile.in: Regenerated.
2838 * libmath/Makefile.in: Regenerated.
2839 * libsupc++/Makefile.in: Regenerated.
2840 * src/Makefile.in: Regenerated.
2842 2001-02-26 Phil Edwards <pme@sources.redhat.com>
2844 Fixes libstdc++/2079
2845 * include/backward/iomanip.h: Expose <ios> manipulators to global
2847 * include/backward/iostream.h: Also expose std::ws.
2849 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
2851 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
2853 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
2855 * include/bits/codecvt.h: Use __builtin_alloca.
2856 * include/bits/ostream.tcc: Same.
2857 * include/bits/fstream.tcc: Same.
2859 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
2861 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
2863 2001-02-23 David Edelsohn <dje@watson.ibm.com>
2865 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
2867 2001-02-23 Phil Edwards <pme@sources.redhat.com>
2870 * include/backward/iostream.h: Expose std::flush in old headers.
2872 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2874 * mknumeric_limits: Remove special-casing on target. Use gcc
2875 instead of g++ to build gen-num-limits.cc
2877 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
2879 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
2881 * include/bits/codecvt.h: Use alloca instead of __extension__ for
2883 * include/bits/ostream.tcc: Same.
2884 * include/bits/std_ostream.h: Same.
2885 * include/bits/fstream.tcc: Same.
2886 * include/bits/locale_facets.tcc: Add typename.
2887 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
2889 2001-02-21 Phil Edwards <pme@sources.redhat.com>
2891 * tests_flags.in: Remove -n flag from call to echo.
2893 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
2895 * config/c_locale_gnu.h: Add clocale include.
2897 2001-02-20 Phil Edwards <pme@sources.redhat.com>
2899 * include/bits/stl_config.h: Remove file.
2900 * src/Makefile.am (base_headers): Remove from list.
2901 * configure: Regenerate.
2902 * Makefile.in: Ditto.
2903 * libio/Makefile.in: Ditto.
2904 * libmath/Makefile.in: Ditto.
2905 * libsupc++/Makefile.in: Ditto.
2906 * src/Makefile.in: Ditto.
2908 * include/bits/c++config: Move relevant macros to here.
2909 * include/backward/alloc.h: Include c++config.h instead.
2910 * include/backward/function.h: Ditto.
2911 * include/backward/heap.h: Ditto.
2912 * include/backward/pair.h: Ditto.
2913 * include/bits/pthread_allocimpl.h: Ditto.
2914 * include/bits/std_functional.h: Ditto.
2915 * include/bits/std_iterator.h: Ditto.
2916 * include/bits/std_numeric.h: Ditto.
2917 * include/bits/std_utility.h: Ditto.
2918 * include/bits/stl_algobase.h: Ditto.
2919 * include/bits/type_traits.h: Ditto.
2920 * src/stl-inst.cc: Ditto.
2922 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2924 * include/bits/basic_file.h: Add #pragma system_header
2925 * include/bits/basic_ios.h: Ditto.
2926 * include/bits/basic_string.h: Ditto.
2927 * include/bits/char_traits.h: Ditto.
2928 * include/bits/codecvt.h: Ditto.
2929 * include/bits/cpp_type_traits.h: Ditto.
2930 * include/bits/fpos.h: Ditto.
2931 * include/bits/gslice.h: Ditto.
2932 * include/bits/gslice_array.h: Ditto.
2933 * include/bits/indirect_array.h: Ditto.
2934 * include/bits/ios_base.h: Ditto.
2935 * include/bits/limits_generic.h: Ditto.
2936 * include/bits/locale_facets.h: Ditto.
2937 * include/bits/localefwd.h: Ditto.
2938 * include/bits/mask_array.h: Ditto.
2939 * include/bits/sbuf_iter.h: Ditto.
2940 * include/bits/sequence_concepts.h: Ditto.
2941 * include/bits/slice.h: Ditto.
2942 * include/bits/slice_array.h: Ditto.
2943 * include/bits/std_algorithm.h: Likewise.
2944 * include/bits/std_bitset.h: Likewise.
2945 * include/bits/std_complex.h: Likewise.
2946 * include/bits/std_deque.h: Likewise.
2947 * include/bits/std_fstream.h: Likewise.
2948 * include/bits/std_functional.h: Likewise.
2949 * include/bits/std_iomanip.h: Likewise.
2950 * include/bits/std_ios.h: Likewise.
2951 * include/bits/std_iosfwd.h: Likewise.
2952 * include/bits/std_iostream.h: Likewise.
2953 * include/bits/std_istream.h: Likewise.
2954 * include/bits/std_iterator.h: Likewise.
2955 * include/bits/std_list.h: Likewise.
2956 * include/bits/std_locale.h: Likewise.
2957 * include/bits/std_map.h: Likewise.
2958 * include/bits/std_memory.h: Likewise.
2959 * include/bits/std_numeric.h: Likewise.
2960 * include/bits/std_ostream.h: Likewise.
2961 * include/bits/std_queue.h: Likewise.
2962 * include/bits/std_set.h: Likewise.
2963 * include/bits/std_sstream.h: Likewise.
2964 * include/bits/std_stack.h: Likewise.
2965 * include/bits/std_stdexcept.h: Likewise.
2966 * include/bits/std_streambuf.h: Likewise.
2967 * include/bits/std_string.h: Likewise.
2968 * include/bits/std_utility.h: Likewise.
2969 * include/bits/std_valarray.h: Likewise.
2970 * include/bits/std_vector.h: Likewise.
2971 * include/bits/stringfwd.h: Likewise.
2972 * include/bits/type_traits.h: Likewise.
2973 * include/bits/valarray_array.h: Likewise.
2974 * include/bits/valarray_meta.h: Likewise.
2976 2001-02-19 Andreas Jaeger <aj@suse.de>
2978 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
2981 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
2984 * include/bits/std_ostream.h: Replaced usage of
2985 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
2986 * include/bits/char_traits.h: Removed non-standard
2987 methods that cannot be used elsewhere.
2990 * include/bits/basic_ios.h: Uncommented #include of
2994 * include/bits/codecvt.h: See next...
2995 * include/bits/fstream.tcc: See next...
2996 * include/bits/ostream.tcc: Add __extension__
2997 to variable-length arrays.
3000 * include/bits/localefwd.h: Changed int counter type to size_t.
3003 * include/bits/std_fstream.h: Added typedef for __ctype_type.
3005 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
3007 * testsuite/21_strings/char_traits.cc: Move to ...
3008 * testsuite/21_strings/char_traits_requirements.cc: ..here.
3009 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
3010 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
3012 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
3014 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
3017 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
3019 * include/bits/c++config: Revert.
3021 2001-02-15 Mark Mitchell <mark@codesourcery.com>
3023 * include/bits/istream.tcc: Use ios_base::iostate in place of
3024 iostate throughout. Insert `typename' keyword where necessary.
3025 * include/bits/ostream.tcc: Insert `typename' keyword where
3028 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
3030 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
3031 Define so library is compliant.
3033 2001-02-15 Anthony Green <green@redhat.com>
3035 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
3037 * aclocal.m4: Regenerate.
3038 * configure: Regenerate.
3040 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
3042 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
3043 Include ieeefp.h for fpclass on UnixWare{2,7}.
3044 * aclocal.m4: Regenerate.
3045 * configure: Regenerate.
3046 * mkcheck.in (size_command): Do without GNU-grep when using
3049 2001-02-15 Mark Mitchell <mark@codesourcery.com>
3051 Remove old ABI support from libsupc++.
3052 * libsupc++/cxxabi.h: Remove conditionally compiled code.
3053 * libsupc++/exception_support.cc: Likewise.
3054 * libsupc++/pure.cc: Likewise.
3055 * libsupc++/tinfo.cc: Likewise.
3056 * libsupc++/tinfo.h: Likewise.
3057 * libsupc++/tinfo2.cc: Likewise.
3058 * libsupc++/typeinfo: Likewise.
3059 * libsupc++/vec.cc: Likewise.
3061 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
3063 Add support for -fno-exceptions.
3064 * include/bits/exception_support.h: Remove.
3065 * include/bits/basic_string.h: Remove exception_support.
3066 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
3068 (string::substr): Same.
3069 * include/bits/basic_string.tcc (string::reserve): Replace
3070 __LENGTHERROR with __throw_length_error.
3071 (string::_S_create): Same.
3072 (string::resize): Same.
3073 (string::_M_replace): Same.
3074 (string::replace): Same.
3075 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
3076 (string::compare): Same.
3077 * include/bits/stl_vector.h: Remove exception_support.
3078 * src/Makefile.am (base_headers): Remove here.
3079 * src/Makefile.in: Regenerate.
3081 * include/bits/stl_range_errors.h: Remove.
3082 * include/bits/stl_deque.h: Use __throw_range_error.
3083 * include/bits/std_deque.h: Include functexcept.h.
3084 * include/bits/std_vector.h: Same.
3085 * src/Makefile.am (base_headers): Remove here.
3086 * src/Makefile.in: Regenerate.
3087 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
3088 * include/ext/bvector: Remove stl_range_errors.h
3090 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
3092 * include/bits/functexcept.h: New file.
3093 * src/functexcept.cc: New file. Definitions for function-based
3095 * src/Makefile.am (sources): Add functexcept.cc.
3096 * src/Makefile.in: Regenerate.
3098 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
3101 * include/bits/localefwd.h: Include functexcept.h.
3102 * include/bits/std_iosfwd.h: Same.
3104 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
3105 throw basic_ios::failure.
3106 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
3107 Use __throw_exception_again.
3108 (filebuf::_M_filebuf_init): Same.
3109 * include/bits/streambuf.tcc (__copy_streambufs): Same.
3110 * include/bits/ostream.tcc (ostream::operator<<): Same.
3111 * include/bits/istream.tcc (istream::operator>>): Same.
3112 * include/bits/basic_string.tcc (string::_M_mutate): Same.
3113 (string::_S_construct): Same.
3114 (string::_M_clone): Same.
3115 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
3117 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
3118 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
3119 __throw_exception_again.
3120 (locale::_Imp::_Imp(string, size_t): Same.
3121 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
3122 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
3123 (locale::locale(const char*)): Use __throw_runtime_error.
3124 (locale::classic): Use __throw_exception_again.
3125 (locale::_S_normalize_category): Use __throw_runtime_error.
3127 * src/stdexcept.cc: Remove cruft.
3129 * libsupc++/exception_defines.h: New file.
3130 * libsupc++/new_opnt.cc: Include exception_defines.h.
3131 * libsupc++/vec.cc: Same.
3132 (__cxa_vec_new2): Use __throw_exception_again.
3133 (__cxa_vec_new3): Same.
3134 (__cxa_vec_ctor): Same.
3135 (__cxa_vec_delete3): Same.
3136 (__cxa_vec_cctor): Same.
3137 (__cxa_vec_delete2): Same.
3138 (__cxa_vec_dtor): Same.
3139 * libsupc++/exception_support.cc: Include exception_defines.h. Only
3140 compile exception-handling bits if __EXCEPTIONS is defined.
3141 Remove old ABI support.
3142 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
3143 std::__throw_bad_alloc() instead of throw bad_alloc.
3144 * libsupc++/Makefile.am: Add exception_defines.h.
3145 * libsupc++/Makefile.in: Reformat.
3146 * libsupc++/*: Format.
3148 2001-02-15 Phil Edwards <pme@sources.redhat.com>
3150 * docs/html/configopts.html: Minor updates and typo fixes.
3151 * docs/html/faq/index.html: Updates of the "not really bugs" list.
3152 * docs/html/faq/index.txt: Regenerated.
3154 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
3156 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
3157 dejagnu/dg.exp. Adapt to log options used to run testcases.
3159 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3161 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
3164 2001-02-13 Dirk Mueller <dmuell@gmx.net>
3165 Phil Edwards <pme@sources.redhat.com>
3167 * include/backward/function.h: Do not use rel_ops for older
3169 * include/backward/pair.h: Likewise.
3171 2001-02-12 Mark Mitchell <mark@codesourcery.com>
3173 * src/locale.cc: Remove bogus locale::id definitions.
3175 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3177 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
3178 not _DEFINE_VALARRAY_OPERATOR which is not existent.
3180 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
3181 thinko in member initialisation.
3183 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
3185 * include/bits/std_valarray.h(valarray<>::shift): Avoid
3186 comparaison between signed and unsigned integer types.
3187 (valarray<>::cshift): Reformat.
3189 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
3191 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
3192 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
3193 * configure.in: Test for sigsetjmp.
3194 * configure, config.h.in: Rebuilt.
3196 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
3198 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
3199 lengths and strides.
3200 (__gslice_to_index): Document.
3202 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
3204 * include/bits/char_traits.h char_traits<char>::int_type: Change
3205 to `int' to match 21.1.3.1/2.
3207 * testsuite/21_strings/char_traits-int_type.C: New test.
3209 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
3211 * testsuite/Makefile.am: New file.
3213 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
3215 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
3217 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
3219 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
3221 2001-02-08 David Edelsohn <edelsohn@gnu.org>
3223 * configure.target (aix4*): Remove extra set of brackets.
3225 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
3228 * include/bits/stringfwd.h: New file.
3229 * include/bits/stl_string_fwd.h: Remove.
3230 * include/bits/localefwd.h: Remove declaration for allocator.
3231 * include/bits/std_iosfwd: Same.
3232 * include/bits/std_string.h: Include it.
3233 * include/bits/std_ios.h: Remove include.
3234 * include/bits/basic_string.h: Tweak.
3235 * libsupc++/new: Format.
3236 * src/Makefile.am (base_headers): Add stringfwd.h, remove
3238 * src/Makefile.in: Regenerate.
3239 * include/bits/std_stdexcept.h: Rewrite.
3240 * src/stdexcept.cc: Same.
3242 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
3244 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
3245 install locations too.
3246 * aclocal.m4: Regenerate.
3247 * configure.in: Remove USE_LIBDIR.
3248 * configure: Regenerate.
3249 * src/Makefile.am (toolexecdir): Simplify, use
3250 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
3251 * src/Makefile.in: Regenerate.
3252 * libsupc++/Makefile.am: Same.
3253 * libsupc++/Makefile.in: Regenerate.
3255 * src/Makefile.am: Just remove special rules for locale-inst.cc and
3256 misc-inst.cc as no longer necessary.
3258 Follow C++STYLE for naming non-static functions.
3259 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
3261 * include/bits/streambuf.tcc: Same.
3262 * include/bits/ostream.tcc: Same.
3263 * include/bits/istream.tcc: Same.
3264 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
3265 (_S_output_float): To __output_float.
3266 * include/bits/std_streambuf.h (_S_copy_streambufs): To
3268 * include/bits/locale_facets.tcc (_S_build_float_format): To
3269 __build_float_format.
3270 (_S_format): To __output_integer.
3271 (_S_fill): To __pad.
3272 * src/locale.cc: Same.
3273 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
3275 * include/bits/locale_facets.tcc (_S_group_digits): To
3277 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
3278 for collate, numpunct.
3280 2001-02-06 Phil Edwards <pme@sources.redhat.com>
3282 * docs/html/configopts.html: Fix HTML markup.
3283 * docs/html/install.html: Bring up to date.
3284 * docs/html/17_intro/C++STYLE: Add global variable conventions.
3285 * docs/html/21_strings/howto.html: More notes.
3286 * docs/html/22_locale/howto.html: Fix HTML markup.
3287 * docs/html/27_io/howto.html: More notes.
3288 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
3289 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
3291 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
3293 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
3294 to match header files.
3295 (_S_output_float): Likewise.
3296 (_S_copy_streambufs): Likewise.
3298 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
3299 Phil Edwards <pme@sources.redhat.com>
3301 * include/bits/std_istream.h (op>> signed,unsigned char): Must
3302 use reinterpret_cast, not static_cast.
3304 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
3306 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
3307 * aclocal.m4: Regenerate.
3308 * configure: Regenerate.
3310 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
3312 * include/bits/locale_facets.h (class moneypunct): Fix typos.
3313 * libsupc++/pure.cc: Revert.
3315 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
3317 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
3318 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
3319 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
3320 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
3321 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
3322 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
3323 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
3324 * aclocal.m4: Regenerate.
3325 * configure: Regenerate.
3327 2001-02-05 Mark Mitchell <mark@codesourcery.com>
3329 * include/bits/locale_facets.tcc: Remove `static' keyword on
3330 function definitions.
3331 * include/bits/std_streambuf.h: Likewise.
3332 * src/Makefile.am: Remove use of -fimplicit-templates.
3333 * src/Makefile.in: Regenerated.
3334 * src/locale-inst.cc: Explicitly instantiate more functions.
3335 * src/misc-inst.cc: Likewise.
3336 * src/string-inst.cc: Likewise.
3338 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
3340 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
3341 macro. Consolidate all the bits to do with where includes might be
3343 * aclocal.m4: Regenerate.
3344 * configure.in: Use it.
3345 * configure: Regenerate.
3346 * src/Makefile.am (targetincludep): Use simplified rules.
3347 (targetincludep): Rename gxx_target_include_dir.
3348 (myincludep): Rename gxx_include_dir.
3349 * src/Makefile.in: Regenerate.
3350 * libsupc++/Makefile.am: Use simplified rules.
3351 * libsupc++/Makefile.in: Regenerate.
3353 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
3355 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
3356 * include/c_std/bits/std_cctype.h: Same.
3357 * include/c_std/bits/std_cassert.h: Same.
3358 * include/c_std/bits/std_cstdarg.h: Same.
3359 * include/c_std/bits/std_cstddef.h: Same.
3361 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
3363 * include/c_std/bits/std_ctime.h: Same.
3364 * include/c_std/bits/std_clocale.h: Same.
3365 * include/c_std/bits/std_cmath.h: Same.
3366 * include/c_std/bits/std_csetjmp.h: Same.
3367 * include/c_std/bits/std_csignal.h: Same.
3368 * include/c_std/bits/std_cstring.h: Same.
3369 * include/c_std/bits/std_cstdlib.h: Same.
3370 * include/c_std/bits/std_cwchar.h: Same.
3372 2001-02-05 Phil Edwards <pme@sources.redhat.com>
3374 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
3376 2001-02-05 Mark Mitchell <mark@codesourcery.com>
3378 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
3379 (string::_S_construct): Likewise.
3381 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
3383 * testsuite/config/default.exp: New file.
3384 * testsuite/config: New directory.
3386 2001-02-04 Mark Mitchell <mark@codesourcery.com>
3388 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
3389 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
3390 whenever !__GXX_MERGED_TYPEINFO_NAMES.
3391 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
3393 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
3394 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
3396 * Makefile.am (mkinstalldirs): Set.
3397 * src/Makefile.am (mkinstalldirs): Set.
3398 * libmath/Makefile.am (mkinstalldirs): Set.
3399 * libsup++/Makefile.am (mkinstalldirs): Set.
3400 * libio/Makefile.am (mkinstalldirs): Set.
3401 * */Makefile.in: Regenerate.
3403 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
3405 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
3406 * include/bits/localefwd.h: More initialization cleanups.
3408 2001-02-03 Jeffrey A Law <law@cygnus.com>
3410 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
3411 correctly targets with 16bit ints.
3412 (_S_ios_openmode_end): Similarly.
3413 (_S_ios_iostate_end): Similarly.
3414 (_S_ios_Seekdir_end): Similarly.
3416 2001-02-02 Phil Edwards <pme@sources.redhat.com>
3418 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
3420 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
3422 * configure.in (toplevel_srcdir, auxdir): Set.
3423 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
3424 * aclocal.m4, configure, Makefile.in: Rebuilt.
3425 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
3426 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
3427 * libsupc++-v3/Makefile.in: Rebuilt.
3428 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
3429 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
3431 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
3433 * config/c_locale_generic.cc: Remove langinfo include.
3435 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
3437 Preliminary named locales.
3438 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
3439 * aclocal.m4: Regenerate.
3440 * configure.in: Use it.
3441 * configure: Regerate.
3442 * src/Makefile.am (sources): Add c++locale.cc.
3443 (build_headers): Add c++locale.h.
3444 * src/Makefile.in: Regenerate.
3445 * config/c_locale_gnu.h: New file.
3446 * config/c_locale_gnu.cc: New file. Non-inline member functions
3447 for named locales, gnu-specific.
3448 * config/c_locale_generic.h: New file.
3449 * config/c_locale_generic.cc: New file. Non-inline member
3450 functions for named locales, generic version.
3451 * docs/html/configopts.html: Add documentation on new options.
3453 * include/bits/locale_facets.h (class _Messages): Remove.
3454 (class _Moneypunct): Remove.
3455 * src/locale-inst.cc: Remove.
3457 * include/bits/locale_facets.h (class _Collate): Remove.
3458 * src/locale-inst.cc (std): Remove.
3459 * src/locale.cc: And here.
3461 * include/bits/localefwd.h (locale::_M_coalesce): New
3462 function. Correctly put together multi-name locales.
3463 (_Impl(const _Impl&, category, size_t)): Remove.
3465 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
3467 (_M_normalize_category_names): Remove.
3468 (_M_replace_categories): Fix.
3470 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
3471 (locale::_Impl::_M_construct_ctype): Remove.
3472 (locale::_Impl::_M_construct_monetary): Remove.
3473 (locale::_Impl::_M_construct_numeric): Remove.
3474 (locale::_Impl::_M_construct_time): Remove.
3475 (locale::_Impl::_M_construct_messages): Remove.
3477 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
3478 (_Use_facet_failure_handle): Remove.
3479 * src/locale.cc: Remove definitions.
3480 * src/locale-inst.cc: And here.
3482 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
3484 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
3485 create and error-check underlying locale object.
3486 (locale::facet::_S_destroy_c_locale): Add, take care of properly
3487 tearing down underlying locale object.
3488 * include/bits/localefwd.h (locale::facet): Declare.
3489 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
3490 correctness, as glibc apparently has incorrect info in it. Test
3491 with it when it works again.....
3493 * include/bits/localefwd.h (locale::_Impl::__vec_string):
3494 Remove. Number of categories is fixed at six, so just simplify and
3495 make this an array of strings.
3496 (locale::_Impl::_M_has_name): Remove.
3497 (locale::_Impl::_M_name): Remove.
3498 (locale::_Impl::_M_category_names): Turns into...
3499 (locale::_Impl::_M_names): ...this.
3500 (locale::_Impl::_M_has_same_name()): New function.
3501 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
3502 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
3504 * src/locale.cc (locale::name()): Construct mangled name
3505 accurately reflecting combined locale categories.
3507 * src/locale.cc (locale::classic()): Don't initialize here.
3508 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
3509 __refs, bool __has_name, string __str): Do it here.
3511 * include/bits/localefwd.h: _S_categories_num to
3512 _S_num_categories. _S_facets_num to _S_num_facets.
3513 (locale::id::id()): Explicitly set _M_index to zero.
3514 * src/locale.cc: Same.
3516 * src/locale.cc: (locale::locale(const char*)): Construct named
3519 * src/locale.cc: Remove numpunct_byname ctors.
3520 * testsuite/22_locale/numpunct_byname.cc: New file.
3521 * testsuite/22_locale/numpunct.cc: New file.
3523 * include/bits/localefwd.h (class locale): Change data members to
3524 protected, from private.
3525 (_Impl::_M_get_c_locale): Add member function.
3526 (locale::facet::_M_get_global_impl()): Add member function.
3527 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
3528 a __c_locale pointer.
3529 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
3531 * testsuite/22_locale/members.cc: New file, test name and combine.
3533 * include/bits/locale_facets.h (class numpunct): Remove class
3534 _Punct and _Numpunct. Rewrite class numpunct to be correct for
3536 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
3537 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
3538 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
3539 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
3540 * testsuite/22_locale/numpunct_char_members.cc: New file.
3542 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
3544 * testsuite/README: Add more comment.
3545 * testsuite/lib/libstdc++.exp: Tweak comment.
3547 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
3549 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
3551 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
3553 * testsuite/21_strings/inserters_extractors.cc: Remove
3554 explicit reference to 'testsuite/'.
3556 2001-01-25 Richard Henderson <rth@redhat.com>
3558 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
3559 bits. Fixes Tru64 build issues.
3561 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3563 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
3564 (use ${MAKE-make}, not ${MAKE:-make}).
3565 * aclocal.m4, configure: Regenerate.
3567 2001-01-25 Mark Mitchell <mark@codesourcery.com>
3569 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
3572 * src/Makefile.am (sources): Add globals.cc.
3573 * src/Makefile.in: Regenerated.
3574 * src/globals.cc: New file.
3575 * src/ios.cc (cin): Don't define here, just declare extern.
3584 2001-01-25 Phil Edwards <pme@sources.redhat.com>
3586 * include/bits/std_iterator.h: Do not include stl_relops.h.
3587 * include/bits/std_numeric.h: Ditto.
3588 * include/bits/stl_algobase.h: Ditto.
3589 * include/bits/stl_relops.h: Add comment warning about problems.
3591 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
3593 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
3594 in testcases. Prepare for the DejaGnu based framework.
3595 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
3596 directory -- it is now mkcheck working directory.
3597 * tests_flags.in: Remove reference to $(top_srcdir). Use
3599 * Makefile.am (check, check-install): Change mkcheck invocation
3601 * Makefile.in: Regenerate.
3603 2001-01-24 Mark Mitchell <mark@codesourcery.com>
3605 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
3606 (__always_swap): Likewise.
3608 2001-01-23 Chris Demetriou <cgd@broadcom.com>
3610 * libsupc++/exception_support.cc (__terminate_func): Remove
3612 (__terminate_func_ptr): New typedef.
3613 (__terminate, __terminate_set_func): New extern function
3615 (std::terminate): Use __terminate function.
3616 (std::set_terminate): Use __terminate_set_func function.
3618 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
3620 * configure.target: Just use os_include_dir always.
3621 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
3622 Link atomicity files and ctype files here.
3623 * configure: Regenerate.
3624 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
3625 (GLIBCPP_ENABLE_ATOMICITY): Remove.
3626 * aclocal.m4: Regenerate.
3628 2001-01-23 Chris Demetriou <cgd@broadcom.com>
3630 * configure.in: Place definition of MULTISUBDIR in
3631 libsupc++/Makefile as is done for src/Makefile.
3632 * configure: Regenerate.
3634 2001-01-23 Phil Edwards <pme@sources.redhat.com>
3636 * acinclude.m4: Cosmetic changes only.
3637 * aclocal.m4: Regenerated.
3638 * configure: Regenerated.
3639 * configure.target: Update documented list of changed variables.
3640 * docs/html/install.html: Fix typo.
3641 * docs/html/20_util/howto.html: More notes on auto_ptr.
3642 * docs/html/27_io/howto.html: More notes on streabufs.
3643 * docs/html/faq/index.html: Add rel_ops problem and mention the
3644 DEC as(1) .subsection difficulty.
3645 * docs/html/faq/index.txt: Regenerated.
3647 2001-01-23 Mark Mitchell <mark@codesourcery.com>
3649 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
3650 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
3651 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
3652 its already provided in config.target.
3653 * aclocal.m4: Regenerated.
3654 * configure: Likewise.
3655 * configure.target: Set ctype_include_dir for lots of systems.
3656 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
3657 * libsupc++/Makefile.in: Regenerated.
3659 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
3661 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
3664 * testsuite/README: Add comment.
3666 2001-01-21 Phil Edwards <pme@sources.redhat.com>
3668 * docs/html/configopts.html: Update for current status. Fix HTML.
3669 * docs/html/install.html: Update for current status.
3671 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3673 * testsuite/libstdc++.tests/tests.exp: New file.
3674 * testsuite/lib/libstdc++.exp: Itou.
3675 * testsuite/README: Itou.
3677 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
3679 * tests_flags.in: Just output the bare minimum to run tests.
3680 Let's the caller do its own arrangement.
3682 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
3685 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
3687 * testsuite/17_intro: Prepare testcases for new style DejaGnu
3690 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
3692 * testsuite/libstdc++.tests, testsuite/lib: New directories.
3694 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
3696 * mkcheck.in: Construct file names that match $objdir structure.
3697 * testsuite/27_io/filebuf_members-1.txt: New file.
3698 * testsuite/27_io/ifstream_members-1.txt: New file.
3699 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
3701 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
3702 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
3704 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3706 * testsuite/27_io/istream_sentry.cc (test02): Fix.
3708 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
3711 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
3712 * src/ios.cc (ios_base::failure): Make definitions match.
3713 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
3714 (class bad_cast): Same.
3715 * libsupc++/exception (class exception): Add throw specs.
3716 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
3717 (set_unexpected): Same.
3718 (uncaught_exception): Same.
3721 * docs/html/17_intro/C++STYLE (classname): Fix.
3723 2001-01-16 Mark Mitchell <mark@codesourcery.com>
3725 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
3726 Use it do explicitly instantiate predicate<T> and value<T> for
3729 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
3731 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
3732 uninitialized thinko in last change.
3734 2001-01-16 Mark Mitchell <mark@codesourcery.com>
3736 * libsupc++/exception_support.cc (__cp_pop_exception): Change
3739 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
3741 * docs/html/17_intro/C++STYLE (classname): Add more existing
3742 and stylish patterns.
3745 * include/bits/istream.tcc (istream::sentry::sentry()): Set
3746 failbit if the state of the stream is not good.
3747 * testsuite/27_io/istream_sentry.cc (test02): Add test.
3748 * testsuite/27_io/istream_manip.cc (test01): Modify.
3751 reported by Paolo Carlini <pcarlini@unitus.it>
3752 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
3753 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
3756 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
3757 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
3758 (xsgetn): Same. Simplify.
3759 * testsuite/27_io/streambuf.cc (test04): Add testcases.
3761 reported by Larry Evans <jcampbell3@prodigy.net>
3762 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
3763 equality with eof on returned value from overflow.
3765 2001-01-14 Andreas Jaeger <aj@suse.de>
3767 * libio/libio.h: Add test for glibc 2.0.
3769 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
3771 * config/os/djgpp/bits/*: Fix dates.
3773 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
3774 _CharT* __end, _CharT __c): Remove.
3775 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
3776 * include/bits/char_traits.h: Tweak.
3778 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
3780 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
3781 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
3783 * aclocal.m4: regenerated.
3784 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
3785 * configure: regenerated.
3786 * config/os/djgpp, config/os/djgpp/bits: new directories.
3787 * config/os/djgpp/bits/ctype_base.h,
3788 config/os/djgpp/bits/ctype_inline.h,
3789 config/os/djgpp/bits/ctype_noninline.h,
3790 config/os/djgpp/bits/os_defines.h: new files.
3792 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
3794 * include/c_std/bits/std_cstdio.h: Undef printf.
3796 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
3798 * src/ios.cc: Fix typo: change cout->wcout.
3800 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
3801 * src/Makefile.in: Regenerate.
3803 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3805 * include/bits/std_complex.h: Fix a typo.
3807 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
3810 Fixes for libstdc++/1576
3811 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
3812 file, move contents into....
3813 * src/ios.cc: ...Here. Put defines for iostreams objects and
3814 initialization routines into one file to simplify DSO interaction.
3815 * include/bits/std_iostream.h: Touch.
3816 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
3817 * src/Makefile.am (sources): Remove stdstreams.cc.
3818 * src/Makefile.in: Regenerate.
3820 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3822 * tests_flags.in (check_directory): Fix typo.
3824 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3826 * include/bits/std_complex.h: Fix a typo.
3828 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
3830 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
3831 code path:) Remove magic constants and restructure to handle
3832 ctype.h bit mask layout changes more gracefully. (Make fast
3833 code path:) Use __maskrune (), if available.
3834 (is): Remove special case for digit and xdigit masks.
3836 2001-01-09 Robert Lipe <robertlipe@usa.net>
3838 * include/c_std/bits/std_ctime.h: Undefine difftime.
3840 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
3842 * src/gen-num-limits.cc (signal_adapter): New template function.
3843 (signal_handler): Use it, instead of signal.
3844 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
3845 require both tests to trap to set trap_flag.
3847 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
3849 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
3850 initialize mbstate_t member, name offset data members *off, not pos.
3851 * include/bits/fstream.tcc (filebuf::filebuf): Same.
3853 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
3855 reported by Chris G. Demetriou <cgd@sibyte.com>
3856 * configure.in: Change -linux-* to -linux*.
3857 * configure: Regenerate.
3859 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
3861 Fix 27_io/filebuf_members.cc
3862 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
3863 const string& __name, category __cat, size_t __refs): Set
3864 _M_has_name with _M_name.
3865 * include/bits/localefwd.h (locale::operator!=): Protect member
3866 function call with this->.
3867 * src/locale.cc (locale::operator==): Make fast checks first.
3868 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
3870 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
3872 * src/ios.cc (ios_base::Init::Init): Initialize here.
3873 (ios_base::sync_with_stdio): Set here.
3875 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
3877 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
3878 systems that support it, call dup() before fdopen().
3880 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
3882 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
3883 * testsuite/17_intro/header_cwctype.cc (main): New file.
3885 * src/Makefile.am (base_headers): Change.
3886 * include/bits/std_string.h: And here.
3887 * include/bits/string.tcc: Tweaks, move to...
3888 * include/bits/basic_string.tcc: ...Here.
3889 * src/string-inst.cc: Simplify, just instantiate the whole class,
3890 not member-by-member.
3892 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
3894 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
3895 * aclocal.m4: Regenerate.
3896 * configure: Regenerate.
3898 * include/bits/c++config (__GLIBCPP__): Bump version number.
3900 * ChangeLog: Start new log for year 2001
3901 * ChangeLog-2000: New file.
3903 * docs/html/configopts.html: Make sure default values are current,
3906 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
3908 * include/c_std/bits/std_cwchar.h: Same.
3909 * testsuite/17_intro/header_cwchar.cc: Same.
3910 * include/c_std/bits/std_ctime.h: Same.
3911 * testsuite/17_intro/header_ctime.cc: Same.
3912 * include/c_std/bits/std_cstdlib.h: Same.
3913 Clean up undefs, make consistent with cwchar and cmath, etc.
3914 * testsuite/17_intro/header_cstdlib.cc: Same.
3915 * include/c_std/bits/std_cstdio.h: Same here.
3916 * testsuite/17_intro/header_cstring.cc: Same.
3917 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
3918 * testsuite/17_intro/header_cstring.cc: New file. Check for
3919 size_t in namespace std.
3921 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
3922 * acconfig.h (HAVE_MBSTATE_T): Add.
3923 * config.h.in: Regenerate.
3924 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
3926 * aclocal.m4: Regenerate.
3927 * configure: Regenerate.
3928 * testsuite/17_intro/headers_c++.cc: New file.
3929 * testsuite/17_intro/headers_c.cc: Small changes.
3931 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
3933 * tests_flags.in: Fix typo in usage.
3935 * tests_flags.in: Set target specific LIBS for cygwin.